feat(prx): declare exports for 3 inventory-covered NP libraries #9874

Merged
akkadbakkad89 merged 2 commits from upstream-pr/9874 into main 2026-10-27 05:22:13 +00:00
akkadbakkad89 commented 2026-10-22 20:13:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-22T20:13:55Z.


What

Declares the PS5 3.20 export-inventory names for three NP libraries so titles importing them resolve:

  • libSceNpTrophy — 83 exports (sceNpTrophyAbortHandle is intentionally left out; it is implemented with measured behavior in #9871)
  • libSceNpMatching2 — 40 exports
  • libSceNpScoreRanking — 36 exports

All 159 declarations follow the unknown-signature convention: parameterless stubs that throw through NotImplemented_nid_no_patch, so imports resolve without claiming behavior or ABI correctness. Names/NIDs come from the PS5 3.20 export inventory. Each library's debt entry records that prototypes are unverified.

Tested

  • tools/check_conventions.py --base upstream/main: clean
  • tools/pr_overlap.py: no same-scope exports after deduplicating against open PRs
  • cmake --build build --target libSceNpTrophy libSceNpMatching2 libSceNpScoreRanking: all three link
  • Inventory gap for the three libraries is closed except sceNpTrophyAbortHandle (covered by #9871)

AI-assisted: yes

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:4973502461 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9874). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-22T20:13:55Z. --- ### What Declares the PS5 3.20 export-inventory names for three NP libraries so titles importing them resolve: - `libSceNpTrophy` — 83 exports (`sceNpTrophyAbortHandle` is intentionally left out; it is implemented with measured behavior in #9871) - `libSceNpMatching2` — 40 exports - `libSceNpScoreRanking` — 36 exports All 159 declarations follow the unknown-signature convention: parameterless stubs that throw through `NotImplemented_nid_no_patch`, so imports resolve without claiming behavior or ABI correctness. Names/NIDs come from the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs). Each library's debt entry records that prototypes are unverified. ### Tested - `tools/check_conventions.py --base upstream/main`: clean - `tools/pr_overlap.py`: no same-scope exports after deduplicating against open PRs - `cmake --build build --target libSceNpTrophy libSceNpMatching2 libSceNpScoreRanking`: all three link - Inventory gap for the three libraries is closed except `sceNpTrophyAbortHandle` (covered by #9871) AI-assisted: yes ### 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 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-22 20:17:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T20:17:51Z.

Review: CHANGES_REQUESTED


The inventory scope is clearly bounded to 159 exports across three libraries, the existing trophy implementation sceNpTrophyAbortHandle is explicitly excluded, each added export throws through NotImplemented_nid_no_patch, and each library gets a debt entry explaining the unknown prototypes. Intake/eligibility/labels/report pass and the head is directly based on current main; the author reports the three library targets link.

The required Conventions check currently fails on this head: its log says the PR template's Checklist section is missing or empty. The PR body currently has What, Tested and AI-assisted text but no template checklist. Please copy the full current .github/pull_request_template.md, keep every line, fill all required fields, and rerun conventions. The hosted platform build jobs are skipped, so the local link report remains the only product build evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5620306853 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9874#pullrequestreview-5620306853). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T20:17:51Z. **Review:** CHANGES_REQUESTED --- The inventory scope is clearly bounded to 159 exports across three libraries, the existing trophy implementation `sceNpTrophyAbortHandle` is explicitly excluded, each added export throws through `NotImplemented_nid_no_patch`, and each library gets a debt entry explaining the unknown prototypes. Intake/eligibility/labels/report pass and the head is directly based on current `main`; the author reports the three library targets link. The required Conventions check currently fails on this head: its log says the PR template's `Checklist` section is missing or empty. The PR body currently has What, Tested and AI-assisted text but no template checklist. Please copy the full current `.github/pull_request_template.md`, keep every line, fill all required fields, and rerun conventions. The hosted platform build jobs are skipped, so the local link report remains the only product build evidence.
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!9874
No description provided.