fix(libScePad): silent stub for scePadUnknown_n3kSX62fgNo #6283

Closed
mazen320 wants to merge 2 commits from upstream-pr/6283 into main
mazen320 commented 2026-10-15 08:57:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:57:52Z.


What

scePadUnknown_n3kSX62fgNo (NID n3kSX62fgNo) no longer calls NotImplemented_nid_no_patch. It returns 0.

PPSA01530 and PPSA13356 import it with an unknown signature and fail to load without the export. Debt moved into libScePad Silent stubs; the co-listed note in libSceNet now points here. New guest_pad_unknown_n3k covers the return.

Tested

Windows 11. python tools/check_conventions.py --base upstream/main passed. Full guest_pad_unknown_n3k run needs a configure that picks up the new CMake test target (not re-run here against the dirty main build tree).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA01530 / PPSA13356 load for this unknown pad NID
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4870752510 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:57:52Z. --- ### What `scePadUnknown_n3kSX62fgNo` (NID `n3kSX62fgNo`) no longer calls `NotImplemented_nid_no_patch`. It returns 0. PPSA01530 and PPSA13356 import it with an unknown signature and fail to load without the export. Debt moved into libScePad Silent stubs; the co-listed note in libSceNet now points here. New `guest_pad_unknown_n3k` covers the return. ### Tested Windows 11. `python tools/check_conventions.py --base upstream/main` passed. Full `guest_pad_unknown_n3k` run needs a configure that picks up the new CMake test target (not re-run here against the dirty main build tree). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA01530 / PPSA13356 load for this unknown pad NID - [x] GPUs tested: n/a - [x] AI-assisted: yes
mazen320 commented 2026-10-15 08:58:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:58:01Z.


Overlap (#6281)

Bot may flag docs/dev/debt/libScePad.md / CMakeLists.txt (Silent stubs section / guest_pad_* tests). Production change here is scePadUnknown_n3kSX62fgNo only. #6281 is scePadUnknown_zBsgF0q8DIM — rebase debt/CMake hunk if that PR lands first. Depends on: none.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188365069 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6188365069). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:58:01Z. --- ### Overlap (#6281) Bot may flag `docs/dev/debt/libScePad.md` / `CMakeLists.txt` (Silent stubs section / guest_pad_* tests). Production change here is `scePadUnknown_n3kSX62fgNo` only. #6281 is `scePadUnknown_zBsgF0q8DIM` — rebase debt/CMake hunk if that PR lands first. Depends on: none.
github-actions[bot] commented 2026-10-15 08:58:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T08:58:36Z.


Progress report (0afa6a6 → 3b9279f)

📈 System libraries: 88.74% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libScePad scePadUnknown_n3kSX62fgNo
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libScePad scePadUnknown_n3kSX62fgNo
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188375856 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6188375856). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T08:58:36Z. --- <!-- progress-report --> ### Progress report (0afa6a6 → 3b9279f) 📈 **System libraries**: 88.74% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libScePad | `scePadUnknown_n3kSX62fgNo` | </details> <details> <summary>⚪ 1 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libScePad | `scePadUnknown_n3kSX62fgNo` | </details>
github-actions[bot] commented 2026-10-15 09:27:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T09:27:04Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 5676 core/libs/prx/libScePad/Export.cpp L315-316
docs/dev/debt/libSceNet.md L5
PR 5928 docs/dev/debt/libSceNet.md L5

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5038 core/libs/prx/libScePad/Export.cpp
docs/dev/debt/libScePad.md
PR 6044 core/libs/prx/libScePad/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188883744 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6188883744). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T09:27:04Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 5676](https://www.github.com/boykopovar/AnyPS5/pull/5676) | `core/libs/prx/libScePad/Export.cpp` [L315-316](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/core/libs/prx/libScePad/Export.cpp#L315-L316)<br>`docs/dev/debt/libSceNet.md` [L5](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libSceNet.md#L5) | | | | [PR 5928](https://www.github.com/boykopovar/AnyPS5/pull/5928) | `docs/dev/debt/libSceNet.md` [L5](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libSceNet.md#L5) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5038](https://www.github.com/boykopovar/AnyPS5/pull/5038) | `core/libs/prx/libScePad/Export.cpp`<br>`docs/dev/debt/libScePad.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libScePad/CMakeLists.txt` |
mazen320 commented 2026-10-15 09:33:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:33:39Z.


Overlap

Bot flagged libScePad/Export.cpp / debt with #5676. This PR is a separate Pad unknown-NID silent stub (n3kSX62fgNo). Depends on: none.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188999381 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6188999381). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T09:33:39Z. --- ### Overlap Bot flagged `libScePad/Export.cpp` / debt with #5676. This PR is a separate Pad unknown-NID silent stub (`n3kSX62fgNo`). **Depends on: none.**
mazen320 commented 2026-10-15 15:35:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:35:15Z.


Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop.

This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195926737 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6195926737). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:35:15Z. --- Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop. This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.
mazen320 commented 2026-10-15 15:35:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:35:17Z.


Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195927360 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6283#issuecomment-6195927360). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:35:17Z. --- Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6283
No description provided.