feat(prx): declare 27 PS5 JSON and AudioOut exports #9541
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9541"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
libSceJsonexports and 2libSceAudioOutcontrols. Every declaration callsNotImplemented_nid_no_patch; signatures and behavior are unverified, so these are import-resolution declarations only. The technical-debt files document them.Tested
mainatf26434afa36e58778a9ff4b948aea52dff19eb0c. The checks listed below were run on an earlier head and have not yet been repeated after this rebase.main.python -I tools/check_conventions.py --base upstream/main --head HEADandgit diff --check upstream/main...HEADpassed on the previously tested head.libSceJsonandlibSceAudioOutcompiled and linked on the preceding tested head. The latest WSL reconfigure stalled in a linker probe; no current WSL pass is claimed.Checklist
main; the PR remains a draft while overlapping JSON declarations and the open #8652 dependency are reconciledNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)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 onentry 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:libSceJson/Export.cppplaceholder and createsdocs/dev/debt/libSceJson.md; the pairwise merge conflicts in both files. Please agree with its author on landing order and list the prerequisite inDepends on.libSceAudioOut/src/Unimplemented.cppand/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.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.
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.
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.pymerge-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 andgit diff --checkpass. I’ve asked the three AudioOut PR authors to confirm landing order; none has replied yet, so this stays a draft.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.
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.
Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:26:55Z.
Fresh overlap review after rebasing #9541 onto current
mainfound a duplicate the bot could not compare: #9653 declares the same AudioOut exports and NIDs,sceAudioDeviceControlGet(tKumjQSzhys) andsceAudioDeviceControlSet(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