feat(custommusicsyscallwrapper): add named inventory exports #13454

Merged
Celegans12 merged 1 commit from upstream-pr/13454 into main 2026-11-02 22:35:40 +00:00
Celegans12 commented 2026-10-30 15:33:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-30T15:33:44Z.


What

Adds five missing named exports to the existing libSceCustomMusicSysCallWrapper provider:

Export NID
sceCustomMusicNetInetNtop WetSU0gQJCY
sceCustomMusicNetShutdown Vk2oFP52lIg
sceCustomMusicNetSocketAbort gn3hLG4zMC4
sceCustomMusicPthreadAttrGet H0iVcuRK7+k
sceCustomMusicPthreadSelf OdD2zPCQo2A

The bindings come from the 13.60 catalogue. The physical-provider map assigns all five to libSceCustomMusicSysCallWrapper.sprx.

The parameterless int entries immediately throw through NotImplemented_nid_no_patch. Unknown signatures and behavior are recorded in technical debt; no networking, threading or music behavior is implemented.

#13181 adds other exports in the same provider; none of these five names appear in its current diff. #12104 also edits the debt file. The overlap bot could not compare those shared files, so they need reconciliation at landing.

Tested

Windows 11 / MinGW-w64 GCC 15.2.0, Release, -DBUILD_TESTING=ON, based on main b28bb77217. The rebased provider builds; conventions and whitespace pass. Its export patch matches the previously built head.

Earlier head: all five bindings matched independent NID recomputation, and each raw and patched PE export occurred once. The complete overlap scan at that time found no other reservations.

No CTest execution, Linux, hardware or title validation. The previous hosted Windows job stopped before building because GitHub could not fetch the PR head ref; after this push the PR head ref is available again; new hosted checks are pending.

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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5086880878 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13454). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-30T15:33:44Z. --- ### What Adds five missing named exports to the existing `libSceCustomMusicSysCallWrapper` provider: | Export | NID | | --- | --- | | `sceCustomMusicNetInetNtop` | `WetSU0gQJCY` | | `sceCustomMusicNetShutdown` | `Vk2oFP52lIg` | | `sceCustomMusicNetSocketAbort` | `gn3hLG4zMC4` | | `sceCustomMusicPthreadAttrGet` | `H0iVcuRK7+k` | | `sceCustomMusicPthreadSelf` | `OdD2zPCQo2A` | The bindings come from the [13.60 catalogue](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/3c2faac332f6f47fba416f55bf3faade9bcc1177/data/firmware-13.60/libscecustommusicsyscallwrapper-8ee0747c02.jsonl). The [physical-provider map](https://github.com/boykopovar/ps5-nid-map/blob/cc1d586fddab576a520f226da6b2632b031e6d09/data/Modules/libSceCustomMusicSysCallWrapper.inc) assigns all five to `libSceCustomMusicSysCallWrapper.sprx`. The parameterless `int` entries immediately throw through `NotImplemented_nid_no_patch`. Unknown signatures and behavior are recorded in technical debt; no networking, threading or music behavior is implemented. #13181 adds other exports in the same provider; none of these five names appear in its current diff. #12104 also edits the debt file. The overlap bot could not compare those shared files, so they need reconciliation at landing. ### Tested Windows 11 / MinGW-w64 GCC 15.2.0, Release, `-DBUILD_TESTING=ON`, based on `main` b28bb77217. The rebased provider builds; conventions and whitespace pass. Its export patch matches the previously built head. Earlier head: all five bindings matched independent NID recomputation, and each raw and patched PE export occurred once. The complete overlap scan at that time found no other reservations. No CTest execution, Linux, hardware or title validation. The previous hosted Windows job stopped before building because GitHub could not fetch the PR head ref; after this push the PR head ref is available again; new hosted checks are pending. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
BunnyFl commented 2026-11-02 01:54:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T01:54:56Z.

Review: APPROVED


Windows 11, WinLibs GCC 15.2.0 r7, Release. Merged into upstream/main 93dbd0f82a: the library builds, public_headers passes, and tools/check_conventions.py --base upstream/main --head <this head> passes. Head 88b4d32b17.

Provenance, checked independently:

  • All five names hash to the NIDs in the table.
  • All five NIDs are defined entries in the dynamic symbol table of firmware 13.42's libSceCustomMusicSysCallWrapper.sprx. Read with objdump -T; behaviour not run.
  • None is declared on main yet.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5731351720 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13454#pullrequestreview-5731351720). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-02T01:54:56Z. **Review:** APPROVED --- Windows 11, WinLibs GCC 15.2.0 r7, Release. Merged into upstream/main 93dbd0f82a: the library builds, `public_headers` passes, and `tools/check_conventions.py --base upstream/main --head <this head>` passes. Head 88b4d32b17. Provenance, checked independently: - All five names hash to the NIDs in the table. - All five NIDs are defined entries in the dynamic symbol table of firmware 13.42's `libSceCustomMusicSysCallWrapper.sprx`. Read with `objdump -T`; behaviour not run. - None is declared on main yet.
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!13454
No description provided.