feat(libs): provide the exports PPSA01289 imports that no library has #2074

Merged
jdmagic merged 1 commit from upstream-pr/2074 into main 2026-10-09 09:42:23 +00:00
jdmagic commented 2026-10-09 06:54:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jdmagic on 2026-10-09T06:54:07Z.


What

Sackboy: A Big Adventure (PPSA01289) fails eager binding on nine imports that no library exports. No open pull request adds them. Same approach as #1158.

Library Export Change
libSceVoiceChat sceVoiceChatRequestLeaveVoiceChatGroup, sceVoiceChatRequestDeleteVoiceChatGroup VOICECHAT_OFFLINE_REQUEST, like the other sceVoiceChatRequest* calls: arguments ignored, SIGNED_OUT returned
libSceNpSessionSignaling sceNpSessionSignalingGetConnectionFromPeerAddress throwing stub (NotImplemented_nid_no_patch); the signature is unknown
libSceCdlgG2P (new) sceG2PDialogInitialize, Terminate, Open, GetStatus, UpdateStatus, GetResult throwing stubs declared without parameters

Names come from the aerolib NID list (tools/nid_names.py). TechnicalDebt adds the two voice chat requests to the existing assumed-signature entry and records the unknown signatures.

Tested

Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), on main f1451396.

  • Full build, --target libs, full ctest: 488/488 passed (this branch merged with the other two main-based PR branches, which touch unrelated files)
  • PPSA01289 (own dump, converted with the relinker): the import audit (--registry + audit) reports no absent imports, and the loader no longer stops on these nine. The title runs to its loading screen; getting there also needs changes outside this PR. None of the nine functions is called on that path.

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 in TechnicalDebt
  • 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
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4797131797 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2074). Originally posted by [jdmagic](https://github.com/jdmagic) on 2026-10-09T06:54:07Z. --- ### What Sackboy: A Big Adventure (PPSA01289) fails eager binding on nine imports that no library exports. No open pull request adds them. Same approach as #1158. | Library | Export | Change | |---|---|---| | libSceVoiceChat | `sceVoiceChatRequestLeaveVoiceChatGroup`, `sceVoiceChatRequestDeleteVoiceChatGroup` | `VOICECHAT_OFFLINE_REQUEST`, like the other `sceVoiceChatRequest*` calls: arguments ignored, `SIGNED_OUT` returned | | libSceNpSessionSignaling | `sceNpSessionSignalingGetConnectionFromPeerAddress` | throwing stub (`NotImplemented_nid_no_patch`); the signature is unknown | | libSceCdlgG2P (new) | `sceG2PDialogInitialize`, `Terminate`, `Open`, `GetStatus`, `UpdateStatus`, `GetResult` | throwing stubs declared without parameters | Names come from the aerolib NID list (`tools/nid_names.py`). TechnicalDebt adds the two voice chat requests to the existing assumed-signature entry and records the unknown signatures. ### Tested Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), on main f1451396. - Full build, `--target libs`, full `ctest`: 488/488 passed (this branch merged with the other two main-based PR branches, which touch unrelated files) - PPSA01289 (own dump, converted with the relinker): the import audit (`--registry` + audit) reports no absent imports, and the loader no longer stops on these nine. The title runs to its loading screen; getting there also needs changes outside this PR. None of the nine functions is called on that path. ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-09 08:55:55 +00:00 (Migrated from github.com)

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


Progress report (f145139 → 9d2e418)

📉 System libraries: 84.56% (-0.2%, +7 declared functions)

🆕 7 declared as stubs
Library Name
libSceCdlgG2P sceG2PDialogGetResult
libSceCdlgG2P sceG2PDialogGetStatus
libSceCdlgG2P sceG2PDialogInitialize
libSceCdlgG2P sceG2PDialogOpen
libSceCdlgG2P sceG2PDialogTerminate
libSceCdlgG2P sceG2PDialogUpdateStatus
libSceNpSessionSignaling sceNpSessionSignalingGetConnectionFromPeerAddress
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077722401 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2074#issuecomment-6077722401). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T08:55:55Z. --- <!-- progress-report --> ### Progress report (f145139 → 9d2e418) 📉 **System libraries**: 84.56% (-0.2%, +7 declared functions) <details> <summary>🆕 7 declared as stubs</summary> | Library | Name | | - | - | | libSceCdlgG2P | `sceG2PDialogGetResult` | | libSceCdlgG2P | `sceG2PDialogGetStatus` | | libSceCdlgG2P | `sceG2PDialogInitialize` | | libSceCdlgG2P | `sceG2PDialogOpen` | | libSceCdlgG2P | `sceG2PDialogTerminate` | | libSceCdlgG2P | `sceG2PDialogUpdateStatus` | | libSceNpSessionSignaling | `sceNpSessionSignalingGetConnectionFromPeerAddress` | </details>
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!2074
No description provided.