feat(libSceUserService): export missing firmware user service interfaces #6584

Merged
ymatrix1 merged 2 commits from upstream-pr/6584 into main 2026-11-01 12:29:49 +00:00
ymatrix1 commented 2026-10-15 21:21:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ymatrix1 on 2026-10-15T21:21:08Z.


What

Exports 515 firmware libSceUserService interfaces that were not declared, in core/libs/prx/libSceUserService/Export.cpp. Each throws NotImplemented_nid_no_patch; signatures are unknown, so they are declared without parameters and listed under Unknown function info in docs/dev/debt/libSceUserService.md.

The list is the intersection of the export table of the console's libSceUserService.sprx (655 symbols), the verified NID name database and the functions not yet in the repo. All 515 names recompute to their NIDs with tools/nid_names.py. sceUserServiceGetAccessibilityKeyremapEnable and sceUserServiceGetAccessibilityZoom are left out because #5988 implements them. 102 firmware exports have no known name and are not covered. The new exports are declared in UserService.hpp (the public_headers audit passes). Twelve names that could not be traced to the pinned name database are left out.

Tested

python tools/check_conventions.py --base origin/main passes; Export.cpp compiles with g++ -std=c++20 -fsyntax-only (MinGW, Windows 11). Not run: full build, runtime tests, any title.

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 (none added)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none (#5988 edits the same debt file; no shared exports, whichever merges second rebases)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4880021236 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6584). Originally posted by [ymatrix1](https://github.com/ymatrix1) on 2026-10-15T21:21:08Z. --- ### What Exports 515 firmware `libSceUserService` interfaces that were not declared, in `core/libs/prx/libSceUserService/Export.cpp`. Each throws `NotImplemented_nid_no_patch`; signatures are unknown, so they are declared without parameters and listed under Unknown function info in `docs/dev/debt/libSceUserService.md`. The list is the intersection of the export table of the console's `libSceUserService.sprx` (655 symbols), the verified NID name database and the functions not yet in the repo. All 515 names recompute to their NIDs with `tools/nid_names.py`. `sceUserServiceGetAccessibilityKeyremapEnable` and `sceUserServiceGetAccessibilityZoom` are left out because #5988 implements them. 102 firmware exports have no known name and are not covered. The new exports are declared in `UserService.hpp` (the `public_headers` audit passes). Twelve names that could not be traced to the pinned name database are left out. ### Tested `python tools/check_conventions.py --base origin/main` passes; `Export.cpp` compiles with `g++ -std=c++20 -fsyntax-only` (MinGW, Windows 11). Not run: full build, runtime tests, any title. ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file (none added) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none (#5988 edits the same debt file; no shared exports, whichever merges second rebases) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
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!6584
No description provided.