feat(psml): declare scePsmlMfsrCreateContext1300 and scePsmlMfsrGetDispatchMfsrPacket1300 #2888

Merged
CnRJay merged 1 commit from upstream-pr/2888 into main 2026-10-10 18:40:19 +00:00
CnRJay commented 2026-10-10 17:42:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-10T17:42:58Z.


What

PPSA28416 (STAR WARS: Galactic Racer) imports two PSSR (MFSR) functions from libScePsml that no built library exported, so the loader stopped at kLF7WtQ1-Dg:

NID Name
kLF7WtQ1-Dg scePsmlMfsrCreateContext1300
DDVUyPyYHTA scePsmlMfsrGetDispatchMfsrPacket1300

Neither name is in the aerolib NID list. I found them by hashing versioned variants of the existing scePsmlMfsrCreateContext1100 / scePsmlMfsrGetDispatchMfsrPacket1100 names with tools/nid_names.py's compute_nid, and both match the imported NIDs exactly. The title imports them right next to scePsmlMfsrGetContextBufferRequirement1100 and the other unversioned MFSR exports (PLT order: Init, GetSharedResourcesInitRequirement, CreateSharedResources, ReleaseSharedResources, GetContextBufferRequirement1100, CreateContext1300, ReleaseContext, GetDispatchMfsrPacketSizeInDwords, GetDispatchMfsrPacket1300).

The signatures are unknown. Both are declared without parameters and call NotImplemented_nid_no_patch, like the other unversioned MFSR exports, and the TechnicalDebt entry records this.

Tested

Windows 11, WinLibs GCC 15.2.0 r7, Release. libScePsml.prx and libScePsml_debug.prx build, and their NIDs patch (OK). PPSA28416, converted with relinker --windows, now gets past loading. It initializes Vulkan and renders until a separate AGC DCC metadata limitation stops it. Neither function is called before that point.

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 in TechnicalDebt
  • 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
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4813213210 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2888). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-10T17:42:58Z. --- ### What PPSA28416 (STAR WARS: Galactic Racer) imports two PSSR (MFSR) functions from `libScePsml` that no built library exported, so the loader stopped at `kLF7WtQ1-Dg`: | NID | Name | |-----|------| | `kLF7WtQ1-Dg` | `scePsmlMfsrCreateContext1300` | | `DDVUyPyYHTA` | `scePsmlMfsrGetDispatchMfsrPacket1300` | Neither name is in the aerolib NID list. I found them by hashing versioned variants of the existing `scePsmlMfsrCreateContext1100` / `scePsmlMfsrGetDispatchMfsrPacket1100` names with `tools/nid_names.py`'s `compute_nid`, and both match the imported NIDs exactly. The title imports them right next to `scePsmlMfsrGetContextBufferRequirement1100` and the other unversioned MFSR exports (PLT order: Init, GetSharedResourcesInitRequirement, CreateSharedResources, ReleaseSharedResources, GetContextBufferRequirement1100, CreateContext1300, ReleaseContext, GetDispatchMfsrPacketSizeInDwords, GetDispatchMfsrPacket1300). The signatures are unknown. Both are declared without parameters and call `NotImplemented_nid_no_patch`, like the other unversioned MFSR exports, and the TechnicalDebt entry records this. ### Tested Windows 11, WinLibs GCC 15.2.0 r7, Release. `libScePsml.prx` and `libScePsml_debug.prx` build, and their NIDs patch (`OK`). PPSA28416, converted with `relinker --windows`, now gets past loading. It initializes Vulkan and renders until a separate AGC DCC metadata limitation stops it. Neither function is called before that point. ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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] AI-assisted: yes
github-actions[bot] commented 2026-10-10 17:43:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T17:43:20Z.


Progress report (57f96fd → beba4ce)

📉 System libraries: 84.47% (-0.05%, +2 declared functions)

🆕 2 declared as stubs
Library Name
libScePsml_debug scePsmlMfsrCreateContext1300
libScePsml_debug scePsmlMfsrGetDispatchMfsrPacket1300
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100386230 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2888#issuecomment-6100386230). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T17:43:20Z. --- <!-- progress-report --> ### Progress report (57f96fd → beba4ce) 📉 **System libraries**: 84.47% (-0.05%, +2 declared functions) <details> <summary>🆕 2 declared as stubs</summary> | Library | Name | | - | - | | libScePsml_debug | `scePsmlMfsrCreateContext1300` | | libScePsml_debug | `scePsmlMfsrGetDispatchMfsrPacket1300` | </details>
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!2888
No description provided.