feat(prx): declare 27 PS5 JSON and AudioOut exports #9541

Closed
xdCloudy wants to merge 2 commits from upstream-pr/9541 into main
xdCloudy commented 2026-10-22 00:54:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T00:54:54Z.


Update (2026-10-25)

The branch is based on current upstream main at f26434afa3. Corrected the 25 JSON APS5_EXPORT registration literals; the two AudioOut NIDs were already valid. All JSON registration NIDs match the technical-debt records. Local conventions and diff-check pass. This remains a draft while the documented overlap/dependency work is outstanding; refreshed hosted checks are running.

What

Adds 27 pending PS5 3.20 import declarations: 25 libSceJson exports and 2 libSceAudioOut controls. Every declaration calls NotImplemented_nid_no_patch; signatures and behavior are unverified, so these are import-resolution declarations only. The technical-debt files document them.

Tested

  • Rebased the PR branch on current upstream main at f26434afa36e58778a9ff4b948aea52dff19eb0c. The checks listed below were run on an earlier head and have not yet been repeated after this rebase.
  • All 27 NIDs were independently recomputed. The two AudioOut exports are distinct from the changes in #8525, #8652 and #9027. #9653 is closed without merging; it does not add these declarations to main.
  • The overlap review found a shared JSON placeholder/debt-file conflict with #9470, which must land before this PR. #8525's author agreed that it should land first; #9027's author also agreed to land #9027 first. #8652 remains open and conflicting with its base; its author has not confirmed the proposed order. The shared AudioOut debt hunk in #5021 was manually reviewed as a separate entry.
  • python -I tools/check_conventions.py --base upstream/main --head HEAD and git diff --check upstream/main...HEAD passed on the previously tested head.
  • Windows MinGW targets libSceJson and libSceAudioOut compiled and linked on the preceding tested head. The latest WSL reconfigure stalled in a linker probe; no current WSL pass is claimed.
  • Hosted product/platform build jobs are skipped for drafts; no full CI pass is claimed.

Checklist

  • Rebased on current main; the PR remains a draft while overlapping JSON declarations and the open #8652 dependency are reconciled
  • 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 (not applicable)
  • Generic behaviour, not specific to one title
  • Depends on: #9470, #8525, #8652, #9027
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4960409911 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T00:54:54Z. --- ### Update (2026-10-25) The branch is based on current upstream main at f26434afa36e58778a9ff4b948aea52dff19eb0c. Corrected the 25 JSON APS5_EXPORT registration literals; the two AudioOut NIDs were already valid. All JSON registration NIDs match the technical-debt records. Local conventions and diff-check pass. This remains a draft while the documented overlap/dependency work is outstanding; refreshed hosted checks are running. ### What Adds 27 pending PS5 3.20 import declarations: 25 `libSceJson` exports and 2 `libSceAudioOut` controls. Every declaration calls `NotImplemented_nid_no_patch`; signatures and behavior are unverified, so these are import-resolution declarations only. The technical-debt files document them. ### Tested - Rebased the PR branch on current upstream `main` at `f26434afa36e58778a9ff4b948aea52dff19eb0c`. The checks listed below were run on an earlier head and have not yet been repeated after this rebase. - All 27 NIDs were independently recomputed. The two AudioOut exports are distinct from the changes in #8525, #8652 and #9027. #9653 is closed without merging; it does not add these declarations to `main`. - The overlap review found a shared JSON placeholder/debt-file conflict with #9470, which must land before this PR. #8525's author agreed that it should land first; #9027's author also agreed to land #9027 first. #8652 remains open and conflicting with its base; its author has not confirmed the proposed order. The shared AudioOut debt hunk in #5021 was manually reviewed as a separate entry. - `python -I tools/check_conventions.py --base upstream/main --head HEAD` and `git diff --check upstream/main...HEAD` passed on the previously tested head. - Windows MinGW targets `libSceJson` and `libSceAudioOut` compiled and linked on the preceding tested head. The latest WSL reconfigure stalled in a linker probe; no current WSL pass is claimed. - Hosted product/platform build jobs are skipped for drafts; no full CI pass is claimed. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Rebased on current `main`; the PR remains a draft while overlapping JSON declarations and the open #8652 dependency are reconciled - [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 (not applicable) - [x] Generic behaviour, not specific to one title - [x] Depends on: #9470, #8525, #8652, #9027 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-22 00:58:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:58:08Z.

Review: CHANGES_REQUESTED


I independently recomputed all 25 JSON export NIDs from their mangled names and both AudioOut NIDs from the exported names with tools/nid_names.py; all 27 match the declarations. The current eligibility, conventions, intake, labels and report checks pass. The PR reports successful Windows and WSL target builds; product CI jobs are skipped, and I did not run a local build.

The contribution rule requires author coordination and a Depends on entry when the overlap report identifies shared lines/files that need ordering. I ran the branch-mode overlap scan using the proposed prefilter and checked its affected diffs:

  • #9470 also adds JSON exports at the libSceJson/Export.cpp placeholder and creates docs/dev/debt/libSceJson.md; the pairwise merge conflicts in both files. Please agree with its author on landing order and list the prerequisite in Depends on.
  • The scanner cannot compare old-base overlaps for #8525, #8652 and #9027. Their diffs touch libSceAudioOut/src/Unimplemented.cpp and/or the same AudioOut debt file; pairwise merge attempts also report affected-file conflicts. Please coordinate their landing order with those authors and list any prerequisites.
  • #5021 is another debt-file comparison the scanner cannot complete because its branch conflicts with main; manually confirm whether its changed debt lines need ordering and record the result.

Please update the checklist with the agreed order and rerun the overlap and conventions checks. I’m requesting changes for the missing coordination record; I found no duplicate NIDs in this PR’s 27 declarations.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608031365 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#pullrequestreview-5608031365). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T00:58:08Z. **Review:** CHANGES_REQUESTED --- I independently recomputed all 25 JSON export NIDs from their mangled names and both AudioOut NIDs from the exported names with `tools/nid_names.py`; all 27 match the declarations. The current eligibility, conventions, intake, labels and report checks pass. The PR reports successful Windows and WSL target builds; product CI jobs are skipped, and I did not run a local build. The contribution rule requires author coordination and a `Depends on` entry when the overlap report identifies shared lines/files that need ordering. I ran the branch-mode overlap scan using the proposed prefilter and checked its affected diffs: - #9470 also adds JSON exports at the `libSceJson/Export.cpp` placeholder and creates `docs/dev/debt/libSceJson.md`; the pairwise merge conflicts in both files. Please agree with its author on landing order and list the prerequisite in `Depends on`. - The scanner cannot compare old-base overlaps for #8525, #8652 and #9027. Their diffs touch `libSceAudioOut/src/Unimplemented.cpp` and/or the same AudioOut debt file; pairwise merge attempts also report affected-file conflicts. Please coordinate their landing order with those authors and list any prerequisites. - #5021 is another debt-file comparison the scanner cannot complete because its branch conflicts with `main`; manually confirm whether its changed debt lines need ordering and record the result. Please update the checklist with the agreed order and rerun the overlap and conventions checks. I’m requesting changes for the missing coordination record; I found no duplicate NIDs in this PR’s 27 declarations.
xdCloudy commented 2026-10-22 01:08:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:08:47Z.


Thanks for the independent NID check. I updated the PR description and checklist with the landing order: #9470, #8525, #8652, and #9027 are listed as prerequisites, and I asked the authors of #8525, #8652, and #9027 to confirm the order on their PRs.

I manually checked #5021's AudioOut debt hunk: it adds a separate paragraph after the existing context, so it does not overlap these entries and needs no ordering dependency. The local comparison against 1,134 cached PR heads found the shared-file cases documented above and no duplicate export NIDs. I reran the conventions check and git diff --check; both pass. The Windows and WSL target builds passed earlier. Hosted checks currently show 5 successful and 6 skipped, so I am not claiming full CI.

I’m leaving this as a draft until the landing-order coordination is confirmed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330195982 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#issuecomment-6330195982). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T01:08:47Z. --- Thanks for the independent NID check. I updated the PR description and checklist with the landing order: #9470, #8525, #8652, and #9027 are listed as prerequisites, and I asked the authors of #8525, #8652, and #9027 to confirm the order on their PRs. I manually checked #5021's AudioOut debt hunk: it adds a separate paragraph after the existing context, so it does not overlap these entries and needs no ordering dependency. The local comparison against 1,134 cached PR heads found the shared-file cases documented above and no duplicate export NIDs. I reran the conventions check and `git diff --check`; both pass. The Windows and WSL target builds passed earlier. Hosted checks currently show 5 successful and 6 skipped, so I am not claiming full CI. I’m leaving this as a draft until the landing-order coordination is confirmed.
xdCloudy commented 2026-10-22 01:13:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:13:39Z.


Follow-up with the refreshed overlap evidence: GitHub currently shows 1,139 open PRs. I refreshed the local refs for the newest open PRs and for every PR that touches one of this batch’s four changed files, then reran the local pr_overlap.py merge-tree/export comparison on those candidates. It reports #9470’s real JSON placeholder/debt-file conflict; #8525, #8652 and #9027 remain old-base comparisons that the scanner cannot complete, and I manually confirmed their changed AudioOut functions are distinct from these exports; #5021’s old-base debt-file hunk is also separate. The remaining shared-file candidates have no overlapping hunks, added files, or duplicate exports. The independent exact library/NID audit remains clear, including the newest PRs, which do not touch these target libraries. The conventions check and git diff --check pass. I’ve asked the three AudioOut PR authors to confirm landing order; none has replied yet, so this stays a draft.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330260455 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#issuecomment-6330260455). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T01:13:39Z. --- Follow-up with the refreshed overlap evidence: GitHub currently shows 1,139 open PRs. I refreshed the local refs for the newest open PRs and for every PR that touches one of this batch’s four changed files, then reran the local `pr_overlap.py` merge-tree/export comparison on those candidates. It reports #9470’s real JSON placeholder/debt-file conflict; #8525, #8652 and #9027 remain old-base comparisons that the scanner cannot complete, and I manually confirmed their changed AudioOut functions are distinct from these exports; #5021’s old-base debt-file hunk is also separate. The remaining shared-file candidates have no overlapping hunks, added files, or duplicate exports. The independent exact library/NID audit remains clear, including the newest PRs, which do not touch these target libraries. The conventions check and `git diff --check` pass. I’ve asked the three AudioOut PR authors to confirm landing order; none has replied yet, so this stays a draft.
xdCloudy commented 2026-10-22 02:17:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:17:21Z.


@MarcZX10 — I addressed the coordination points from your review: #9470, #8525, #8652, and #9027 are listed as prerequisites; I manually checked #5021’s separate AudioOut debt hunk. The author of #9027 confirmed its landing order, and I’ve asked the authors of #8525 and #8652 to confirm theirs. I’ll keep this PR in draft while those replies are pending. The refreshed overlap evidence still shows no duplicate NIDs.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331083378 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#issuecomment-6331083378). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:17:21Z. --- @MarcZX10 — I addressed the coordination points from your review: #9470, #8525, #8652, and #9027 are listed as prerequisites; I manually checked #5021’s separate AudioOut debt hunk. The author of #9027 confirmed its landing order, and I’ve asked the authors of #8525 and #8652 to confirm theirs. I’ll keep this PR in draft while those replies are pending. The refreshed overlap evidence still shows no duplicate NIDs.
xdCloudy commented 2026-10-22 03:03:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T03:03:04Z.


Coordination update for the requested landing order: #9027’s author agreed that #9027 should land first and #9541 should be rebased on top. I asked the authors of #8525 and #8652 to confirm that those PRs should also land before #9541; neither has replied yet. Both remain open and DIRTY against current main, so I’m keeping #9541 in draft until their landing order is confirmed. I reran the current hosted checks: conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331642650 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#issuecomment-6331642650). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T03:03:04Z. --- Coordination update for the requested landing order: #9027’s author agreed that #9027 should land first and #9541 should be rebased on top. I asked the authors of #8525 and #8652 to confirm that those PRs should also land before #9541; neither has replied yet. Both remain open and DIRTY against current main, so I’m keeping #9541 in draft until their landing order is confirmed. I reran the current hosted checks: conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped.
xdCloudy commented 2026-10-22 06:26:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:26:55Z.


Fresh overlap review after rebasing #9541 onto current main found a duplicate the bot could not compare: #9653 declares the same AudioOut exports and NIDs, sceAudioDeviceControlGet (tKumjQSzhys) and sceAudioDeviceControlSet (5ChfcHOf3SM). #9541 was opened at 00:54 UTC; #9653 was opened at 06:15 UTC. I am retaining the earlier declarations in #9541. To avoid duplicate NIDs if both changes land, the two entries should be removed from the later #9653 or the maintainers should coordinate the order. I updated this PR body with the exact overlap and manual review. The rebased JSON and AudioOut targets build and link on Windows and WSL; conventions, exact NID checks and hosted eligibility/conventions/intake/labels/report checks pass. Product/platform jobs are skipped.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6334302277 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9541#issuecomment-6334302277). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T06:26:55Z. --- Fresh overlap review after rebasing #9541 onto current `main` found a duplicate the bot could not compare: #9653 declares the same AudioOut exports and NIDs, `sceAudioDeviceControlGet` (`tKumjQSzhys`) and `sceAudioDeviceControlSet` (`5ChfcHOf3SM`). #9541 was opened at 00:54 UTC; #9653 was opened at 06:15 UTC. I am retaining the earlier declarations in #9541. To avoid duplicate NIDs if both changes land, the two entries should be removed from the later #9653 or the maintainers should coordinate the order. I updated this PR body with the exact overlap and manual review. The rebased JSON and AudioOut targets build and link on Windows and WSL; conventions, exact NID checks and hosted eligibility/conventions/intake/labels/report checks pass. Product/platform jobs are skipped.

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!9541
No description provided.