feat(libs): declare 20 PS VR2 exports by their hash-verified names #5118

Closed
parl0v wants to merge 1 commit from upstream-pr/5118 into main
parl0v commented 2026-10-13 12:15:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by parl0v on 2026-10-13T12:15:00Z.


What

Declares 20 exports by name: PS VR2 headset (gaze, LED detector, trace) and tracker (play area, coordinate systems, controller LEDs, relocalizer) exports. Each is a throwing stub (NotImplemented_nid_no_patch) declared without parameters, with an Unknown function info entry in its library's technical debt file.

Library NID Name zecoxao/sce_symbols
libSceHmd2 638Tmg5y6U4 sceHmd2GazeGetEnabledEye #23
libSceHmd2 6qWtdTHQsTk sceHmd2InternalLedDetectorReadData #23
libSceHmd2 Bf87AL6zWxU sceHmd2InternalGenDataReadData #23
libSceHmd2 Ijl+flgyR7Q sceHmd2GazeStopTrace #23
libSceHmd2 J44idh9izZM sceHmd2InternalLedDetectorSetConfig #23
libSceHmd2 NpZHgvSYgEA sceHmd2InternalVrTraceSetConfig #23
libSceHmd2 UbHtTtGRplE sceHmd2GazeStartTrace #23
libSceHmd2 Y5s22M-qUDA sceHmd2InternalSlamTraceReadData #23
libSceHmd2 kozvHBNyxf0 sceHmd2GazeGetUserCalibrationId #23
libSceHmd2 mPPGgjyJrCI sceHmd2GazeInsertRawData #23
libSceVrTracker2 -HFx+dnDSOI sceVrTracker2GetResultForPlayAreaEx #22 (merged)
libSceVrTracker2 -dDyvzd2jf0 sceVrTracker2GetCurrentPlayAreaId #23
libSceVrTracker2 1m6DD9BBmSE sceVrTracker2LocateCoordinateSystemEx #22 (merged)
libSceVrTracker2 4+B+TcHEHks sceVrTracker2VrTraceSetData #23
libSceVrTracker2 80IxOn8swIA sceVrTracker2GetVrTraceResult #23
libSceVrTracker2 B2vw+s-0Dfo sceVrTracker2GetMapQualityEx #22 (merged)
libSceVrTracker2 B7hPwvvg79E sceVrTracker2GetPlayAreaOrientedBoundingBoxEx #22 (merged)
libSceVrTracker2 H2Mnx7gz4ac sceVrTracker2VrTraceGetStatus #23
libSceVrTracker2 XknY0IDcOwU sceVrTracker2GetRelocalizerDebugResult #23
libSceVrTracker2 qnCmEbUGqWY sceVrTracker2GetControllerLedInfo #23

The names come from the shared NID database, where I added them (zecoxao/sce_symbols #22 and #23). Each name hashes to its NID with tools/nid_names.py compute_nid, and the library is the module that exports the NID in the 10.01 system modules.

No title I know of imports these yet, so nothing calls them today. With them declared, a title that does import one resolves it by name and stops with that name in the NotImplemented message instead of an unresolved NID at load. Implementations can then replace the stubs one by one.

Tested

  • Windows 10 19045, MinGW-w64 GCC 15.2: the libs target builds; tools/check_conventions.py --base origin/main passes.
  • Every name re-hashed against its NID before the commit.

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
  • Unblocks: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4843058778 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5118). Originally posted by [parl0v](https://github.com/parl0v) on 2026-10-13T12:15:00Z. --- ### What Declares 20 exports by name: PS VR2 headset (gaze, LED detector, trace) and tracker (play area, coordinate systems, controller LEDs, relocalizer) exports. Each is a throwing stub (`NotImplemented_nid_no_patch`) declared without parameters, with an Unknown function info entry in its library's technical debt file. | Library | NID | Name | zecoxao/sce_symbols | |---|---|---|---| | libSceHmd2 | `638Tmg5y6U4` | `sceHmd2GazeGetEnabledEye` | #23 | | libSceHmd2 | `6qWtdTHQsTk` | `sceHmd2InternalLedDetectorReadData` | #23 | | libSceHmd2 | `Bf87AL6zWxU` | `sceHmd2InternalGenDataReadData` | #23 | | libSceHmd2 | `Ijl+flgyR7Q` | `sceHmd2GazeStopTrace` | #23 | | libSceHmd2 | `J44idh9izZM` | `sceHmd2InternalLedDetectorSetConfig` | #23 | | libSceHmd2 | `NpZHgvSYgEA` | `sceHmd2InternalVrTraceSetConfig` | #23 | | libSceHmd2 | `UbHtTtGRplE` | `sceHmd2GazeStartTrace` | #23 | | libSceHmd2 | `Y5s22M-qUDA` | `sceHmd2InternalSlamTraceReadData` | #23 | | libSceHmd2 | `kozvHBNyxf0` | `sceHmd2GazeGetUserCalibrationId` | #23 | | libSceHmd2 | `mPPGgjyJrCI` | `sceHmd2GazeInsertRawData` | #23 | | libSceVrTracker2 | `-HFx+dnDSOI` | `sceVrTracker2GetResultForPlayAreaEx` | #22 (merged) | | libSceVrTracker2 | `-dDyvzd2jf0` | `sceVrTracker2GetCurrentPlayAreaId` | #23 | | libSceVrTracker2 | `1m6DD9BBmSE` | `sceVrTracker2LocateCoordinateSystemEx` | #22 (merged) | | libSceVrTracker2 | `4+B+TcHEHks` | `sceVrTracker2VrTraceSetData` | #23 | | libSceVrTracker2 | `80IxOn8swIA` | `sceVrTracker2GetVrTraceResult` | #23 | | libSceVrTracker2 | `B2vw+s-0Dfo` | `sceVrTracker2GetMapQualityEx` | #22 (merged) | | libSceVrTracker2 | `B7hPwvvg79E` | `sceVrTracker2GetPlayAreaOrientedBoundingBoxEx` | #22 (merged) | | libSceVrTracker2 | `H2Mnx7gz4ac` | `sceVrTracker2VrTraceGetStatus` | #23 | | libSceVrTracker2 | `XknY0IDcOwU` | `sceVrTracker2GetRelocalizerDebugResult` | #23 | | libSceVrTracker2 | `qnCmEbUGqWY` | `sceVrTracker2GetControllerLedInfo` | #23 | The names come from the shared NID database, where I added them (zecoxao/sce_symbols #22 and #23). Each name hashes to its NID with `tools/nid_names.py compute_nid`, and the library is the module that exports the NID in the 10.01 system modules. No title I know of imports these yet, so nothing calls them today. With them declared, a title that does import one resolves it by name and stops with that name in the `NotImplemented` message instead of an unresolved NID at load. Implementations can then replace the stubs one by one. ### Tested - Windows 10 19045, MinGW-w64 GCC 15.2: the `libs` target builds; `tools/check_conventions.py --base origin/main` passes. - Every name re-hashed against its NID before the commit. ### 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] Unblocks: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-13 12:22:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T12:22:09Z.


Progress report (a2a3a3a → e9a73d2)

📉 System libraries: 87.36% (-0.48%, +20 declared functions)

🆕 20 declared as stubs
Library Name
libSceHmd2 sceHmd2GazeGetEnabledEye
libSceHmd2 sceHmd2GazeGetUserCalibrationId
libSceHmd2 sceHmd2GazeInsertRawData
libSceHmd2 sceHmd2GazeStartTrace
libSceHmd2 sceHmd2GazeStopTrace
libSceHmd2 sceHmd2InternalGenDataReadData
libSceHmd2 sceHmd2InternalLedDetectorReadData
libSceHmd2 sceHmd2InternalLedDetectorSetConfig
libSceHmd2 sceHmd2InternalSlamTraceReadData
libSceHmd2 sceHmd2InternalVrTraceSetConfig
libSceVrTracker2 sceVrTracker2GetControllerLedInfo
libSceVrTracker2 sceVrTracker2GetCurrentPlayAreaId
libSceVrTracker2 sceVrTracker2GetMapQualityEx
libSceVrTracker2 sceVrTracker2GetPlayAreaOrientedBoundingBoxEx
libSceVrTracker2 sceVrTracker2GetRelocalizerDebugResult
libSceVrTracker2 sceVrTracker2GetResultForPlayAreaEx
libSceVrTracker2 sceVrTracker2GetVrTraceResult
libSceVrTracker2 sceVrTracker2LocateCoordinateSystemEx
libSceVrTracker2 sceVrTracker2VrTraceGetStatus
libSceVrTracker2 sceVrTracker2VrTraceSetData
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6145434262 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5118#issuecomment-6145434262). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T12:22:09Z. --- <!-- progress-report --> ### Progress report (a2a3a3a → e9a73d2) 📉 **System libraries**: 87.36% (-0.48%, +20 declared functions) <details> <summary>🆕 20 declared as stubs</summary> | Library | Name | | - | - | | libSceHmd2 | `sceHmd2GazeGetEnabledEye` | | libSceHmd2 | `sceHmd2GazeGetUserCalibrationId` | | libSceHmd2 | `sceHmd2GazeInsertRawData` | | libSceHmd2 | `sceHmd2GazeStartTrace` | | libSceHmd2 | `sceHmd2GazeStopTrace` | | libSceHmd2 | `sceHmd2InternalGenDataReadData` | | libSceHmd2 | `sceHmd2InternalLedDetectorReadData` | | libSceHmd2 | `sceHmd2InternalLedDetectorSetConfig` | | libSceHmd2 | `sceHmd2InternalSlamTraceReadData` | | libSceHmd2 | `sceHmd2InternalVrTraceSetConfig` | | libSceVrTracker2 | `sceVrTracker2GetControllerLedInfo` | | libSceVrTracker2 | `sceVrTracker2GetCurrentPlayAreaId` | | libSceVrTracker2 | `sceVrTracker2GetMapQualityEx` | | libSceVrTracker2 | `sceVrTracker2GetPlayAreaOrientedBoundingBoxEx` | | libSceVrTracker2 | `sceVrTracker2GetRelocalizerDebugResult` | | libSceVrTracker2 | `sceVrTracker2GetResultForPlayAreaEx` | | libSceVrTracker2 | `sceVrTracker2GetVrTraceResult` | | libSceVrTracker2 | `sceVrTracker2LocateCoordinateSystemEx` | | libSceVrTracker2 | `sceVrTracker2VrTraceGetStatus` | | libSceVrTracker2 | `sceVrTracker2VrTraceSetData` | </details>
CnRJay commented 2026-10-14 01:35:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T01:35:37Z.

Review: COMMENTED


Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (Unblocks: none is allowed), and it contained no code review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5512054467 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5118#pullrequestreview-5512054467). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-14T01:35:37Z. **Review:** COMMENTED --- Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (`Unblocks: none` is allowed), and it contained no code review.
oneandonlydean commented 2026-10-14 02:33:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:33:07Z.


Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6159589729 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5118#issuecomment-6159589729). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T02:33:07Z. --- Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

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