feat(libSceCustomMusicSysCallWrapper): declare 101 callable exports #13181

Merged
kyon-eth merged 4 commits from upstream-pr/13181 into main 2026-11-02 17:28:11 +00:00
kyon-eth commented 2026-10-30 05:35:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T05:35:54Z.


What

Declare 101 additional libSceCustomMusicSysCallWrapper callable exports. Each is a throwing placeholder; signatures and behavior are unverified. The selected NIDs occur in both version-labelled images but are not listed in the pinned public 3.20 catalogue for this library. Image labels do not independently authenticate firmware provenance. No game unblock is claimed.

Tested

  • macOS x86-64: compiled and linked standalone baseline and changed test images. All 101 selected NIDs appear in the patched dynamic export table and existing source-file exports remain present. This uses an aborting placeholder shim and dynamic lookup; it does not exercise runtime behavior or constitute a full production-library build.
  • Checked conventions, whitespace, current-main provider collisions and open PR overlap. The scanner could not compare a documentation file against #12104 because that PR conflicts with current main; a manual merge preview shows the shared documentation file merges cleanly. #12104's separate libSceAudiodec conflict remains.
  • No Linux, Windows, console or game run was performed.

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:5079985819 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13181). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T05:35:54Z. --- ### What Declare 101 additional `libSceCustomMusicSysCallWrapper` callable exports. Each is a throwing placeholder; signatures and behavior are unverified. The selected NIDs occur in both version-labelled images but are not listed in the pinned public 3.20 catalogue for this library. Image labels do not independently authenticate firmware provenance. No game unblock is claimed. ### Tested - macOS x86-64: compiled and linked standalone baseline and changed test images. All 101 selected NIDs appear in the patched dynamic export table and existing source-file exports remain present. This uses an aborting placeholder shim and dynamic lookup; it does not exercise runtime behavior or constitute a full production-library build. - Checked conventions, whitespace, current-main provider collisions and open PR overlap. The scanner could not compare a documentation file against #12104 because that PR conflicts with current main; a manual merge preview shows the shared documentation file merges cleanly. #12104's separate `libSceAudiodec` conflict remains. - No Linux, Windows, console or game run was performed. ### 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] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
CnRJay commented 2026-11-01 19:58:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:58:17Z.

Review: COMMENTED


Correction (2026-11-01): this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows Unblocks: none. The technical points below are unaffected.

1. No title reaches this. The description says "Unblocks: none" and "No game unblock is claimed", and there is no title ID with a log line showing a title on main importing any of the 101 libSceCustomMusicSysCallWrapper exports. Without that, nothing shows these declarations are needed. Please add the title ID and the log line (for example the unresolved-import line on main for one of these NIDs), or say plainly that none of them is imported by a title yet.

2. Export kind and identity. None of the 101 NIDs is in the pinned public catalogue for this library. The build and NID-patcher check on macOS show that our aliases were emitted, not what the source image exports. Please link per-symbol evidence (defined/exported status, symbol type, module and library identity) for each added NID, or drop the ones where function versus data is not established. Every definition is int APS5_VABI name() { NotImplemented_nid_no_patch(__func__); } with no parameters, so a data export declared as a function would resolve to code where a title expects data.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729951300 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13181#pullrequestreview-5729951300). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:58:17Z. **Review:** COMMENTED --- **Correction (2026-11-01):** this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows `Unblocks: none`. The technical points below are unaffected. **1. No title reaches this.** The description says "Unblocks: none" and "No game unblock is claimed", and there is no title ID with a log line showing a title on main importing any of the 101 libSceCustomMusicSysCallWrapper exports. Without that, nothing shows these declarations are needed. Please add the title ID and the log line (for example the unresolved-import line on main for one of these NIDs), or say plainly that none of them is imported by a title yet. **2. Export kind and identity.** None of the 101 NIDs is in the pinned public catalogue for this library. The build and NID-patcher check on macOS show that our aliases were emitted, not what the source image exports. Please link per-symbol evidence (defined/exported status, symbol type, module and library identity) for each added NID, or drop the ones where function versus data is not established. Every definition is `int APS5_VABI name() { NotImplemented_nid_no_patch(__func__); }` with no parameters, so a data export declared as a function would resolve to code where a title expects data.
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!13181
No description provided.