Resonance: A Plague Tale Legacy (PPSA30601): start-up stops in order and the PRs that pass them #4067

Closed
opened 2026-10-11 22:34:37 +00:00 by xXPBSXx · 10 comments
xXPBSXx commented 2026-10-11 22:34:37 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T22:34:37Z.


Resonance: A Plague Tale Legacy (PPSA30601) on Windows, main plus open PRs, 120 s runs. What stops it, in order:

  1. Modules. lib_json.prx and libXPlatCppPS5.prx sit next to eboot.bin; the relinker has to be given the (reconstructed) ELF of each, otherwise the run ends with Failed to load module ... lib_json.prx (126). With the modules present: relinker 97 s, audit lists 12 imports with no export.
  2. Missing exports (12): sceAcmBatchJobPriority (#3799), sceConvertKeycodeGetCharacter (#3773), the sce::Json::Array copy constructor (#3570), six sce::Json::Object::Pair/insert/Array::iterator members, sceAmprAmmGetUsageStatsData, sceMouseResetAbsolutePosition and sceSaveDataDirNameSearch2 (these nine are in #3814). All are throwing stubs: no signature is known for any of them.
  3. With all of them present the title starts and then stops at sceKernelGetPageTableStats not implemented (std::runtime_error, abort). libkernel/DirectMemory/Export.cpp declares it as int sceKernelGetPageTableStats(int* cpu_total, int* cpu_available, int* gpu_total, int* gpu_available) and throws. The four-int* signature matches OpenOrbis' libkernel.h and SharpProspero (KernelMemoryQuery.cs: "how many page-table entries the module was given for each side and how many are left"); I found no source for the values the console reports, so I have not written an implementation.

Not known: what the title does with the four numbers, and whether anything follows the call.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5805875581 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T22:34:37Z. --- Resonance: A Plague Tale Legacy (PPSA30601) on Windows, `main` plus open PRs, 120 s runs. What stops it, in order: 1. **Modules.** `lib_json.prx` and `libXPlatCppPS5.prx` sit next to `eboot.bin`; the relinker has to be given the (reconstructed) ELF of each, otherwise the run ends with `Failed to load module ... lib_json.prx (126)`. With the modules present: relinker 97 s, audit lists 12 imports with no export. 2. **Missing exports (12):** `sceAcmBatchJobPriority` (#3799), `sceConvertKeycodeGetCharacter` (#3773), the `sce::Json::Array` copy constructor (#3570), six `sce::Json::Object::Pair`/`insert`/`Array::iterator` members, `sceAmprAmmGetUsageStatsData`, `sceMouseResetAbsolutePosition` and `sceSaveDataDirNameSearch2` (these nine are in #3814). All are throwing stubs: no signature is known for any of them. 3. **With all of them present** the title starts and then stops at `sceKernelGetPageTableStats not implemented` (`std::runtime_error`, abort). `libkernel/DirectMemory/Export.cpp` declares it as `int sceKernelGetPageTableStats(int* cpu_total, int* cpu_available, int* gpu_total, int* gpu_available)` and throws. The four-`int*` signature matches OpenOrbis' `libkernel.h` and SharpProspero (`KernelMemoryQuery.cs`: "how many page-table entries the module was given for each side and how many are left"); I found no source for the values the console reports, so I have not written an implementation. Not known: what the title does with the four numbers, and whether anything follows the call. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 23:15:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T23:15:06Z.


The call is answered by #4101 (signature from OpenOrbis, the Orbital type database and SharpProspero; values from KytyPS5 without its used-entry accounting; none measured on a console). I could not run the title with it, since its other imports are in #3814, #3799 and #3773.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114987563 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6114987563). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T23:15:06Z. --- The call is answered by #4101 (signature from OpenOrbis, the Orbital type database and SharpProspero; values from KytyPS5 without its used-entry accounting; none measured on a console). I could not run the title with it, since its other imports are in #3814, #3799 and #3773. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 23:35:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T23:35:26Z.


Status, checked now: #3773 is merged; #3814 (mergeable) and #3799 (changes requested) are open; the Json2 call is answered by #4101 (open). Resonance cannot pass its start-up stops on plain main until #3814, #3799 and #4101 are in; I did not rerun the title for this comment.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115164817 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6115164817). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T23:35:26Z. --- Status, checked now: #3773 is merged; #3814 (mergeable) and #3799 (changes requested) are open; the Json2 call is answered by #4101 (open). Resonance cannot pass its start-up stops on plain `main` until #3814, #3799 and #4101 are in; I did not rerun the title for this comment. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 23:50:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T23:50:21Z.


Resonance (PPSA30601), Windows, 120 s, stack of main (bab7b3285) + #4021 + #4101 + #3814 + #3799 + #3570 (a stack, not each PR alone): the relinker audit lists 0 absent imports, the title gets through the loader and past sceKernelGetPageTableStats, and stops at the next throwing stub: sceAmprAmmGetUsageStatsData not implemented (std::runtime_error, abort; the stub is the one #3814 adds).

What is known about the call: drakmor/ampr_emu declares int64_t sceAmprAmmGetUsageStatsData(uint64_t* usageStatsData) and forwards it to the kernel's sceKernelMapperGetUsageStatsData(uint64_t*); the layout and size of the data the kernel writes are not in that code or in any other source I found, so I have not implemented it. Not known: what the title reads from the buffer.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115283959 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6115283959). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T23:50:21Z. --- Resonance (PPSA30601), Windows, 120 s, stack of `main` (`bab7b3285`) + #4021 + #4101 + #3814 + #3799 + #3570 (a stack, not each PR alone): the relinker audit lists 0 absent imports, the title gets through the loader and past `sceKernelGetPageTableStats`, and stops at the next throwing stub: `sceAmprAmmGetUsageStatsData not implemented` (`std::runtime_error`, abort; the stub is the one #3814 adds). What is known about the call: `drakmor/ampr_emu` declares `int64_t sceAmprAmmGetUsageStatsData(uint64_t* usageStatsData)` and forwards it to the kernel's `sceKernelMapperGetUsageStatsData(uint64_t*)`; the layout and size of the data the kernel writes are not in that code or in any other source I found, so I have not implemented it. Not known: what the title reads from the buffer. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 01:10:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:10:40Z.


Run of PPSA30601 (Resonance) with #4101 (sceKernelGetPageTableStats) on top of current main, plus the export branches #3814, #3799 and #3824 merged locally (not pushed) so that all imports resolve: 0 unresolved imports, 601 module imports.

Result: the title no longer stops in sceKernelGetPageTableStats. The next stop is sceAmprAmmGetUsageStatsData: unhandled exception 'St13runtime_error' ... sceAmprAmmGetUsageStatsData not implemented, then SIGABRT. This is the throwing stub from the export PR; the output structure of that call is not documented in any source I found, so I have not guessed a layout. A run is 60 s on Windows, no game data shared.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115979021 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6115979021). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T01:10:40Z. --- Run of PPSA30601 (Resonance) with #4101 (`sceKernelGetPageTableStats`) on top of current main, plus the export branches #3814, #3799 and #3824 merged locally (not pushed) so that all imports resolve: 0 unresolved imports, 601 module imports. Result: the title no longer stops in `sceKernelGetPageTableStats`. The next stop is `sceAmprAmmGetUsageStatsData`: `unhandled exception 'St13runtime_error' ... sceAmprAmmGetUsageStatsData not implemented`, then SIGABRT. This is the throwing stub from the export PR; the output structure of that call is not documented in any source I found, so I have not guessed a layout. A run is 60 s on Windows, no game data shared. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 01:24:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:24:24Z.


Next stop sceAmprAmmGetUsageStatsData: layout found in KytyPS5 (AmmUsageStatsData, 24 bytes) and iStark/PS5PCEM (likely derived from it); the values 512 / 0x7 are theirs and unmeasured. PR #4207 implements it (stacked on #3814, origin of every value in the PR text). Not re-run on the title yet.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6116097661 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6116097661). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T01:24:24Z. --- Next stop `sceAmprAmmGetUsageStatsData`: layout found in KytyPS5 (`AmmUsageStatsData`, 24 bytes) and iStark/PS5PCEM (likely derived from it); the values 512 / 0x7 are theirs and unmeasured. PR #4207 implements it (stacked on #3814, origin of every value in the PR text). Not re-run on the title yet. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 01:32:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:32:15Z.


Re-run of PPSA30601 with #4101 + #4207 (+#3814, #3799, #3824 merged locally, 0 unresolved imports): sceAmprAmmGetUsageStatsData is passed. Next stop: _ZN3sce4Json18InitParameterRtti216setAllocatorRttiEPNS0_14AllocParamRttiEPv (sce::Json::InitParameterRtti2::setAllocatorRtti(AllocParamRtti*, void*)) — an existing throwing stub in libSceJson2 (not implemented, SIGABRT). I will look for a source for its semantics before touching it.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6116166414 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6116166414). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T01:32:15Z. --- Re-run of PPSA30601 with #4101 + #4207 (+#3814, #3799, #3824 merged locally, 0 unresolved imports): `sceAmprAmmGetUsageStatsData` is passed. Next stop: `_ZN3sce4Json18InitParameterRtti216setAllocatorRttiEPNS0_14AllocParamRttiEPv` (`sce::Json::InitParameterRtti2::setAllocatorRtti(AllocParamRtti*, void*)`) — an existing throwing stub in libSceJson2 (`not implemented`, SIGABRT). I will look for a source for its semantics before touching it. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 01:35:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:35:46Z.


Re-run of PPSA30601 with #4101, #4207, #3737 (+#3814, #3799, #3824 merged locally, 0 unresolved imports): InitParameterRtti2::setAllocatorRtti is passed with #3737 (its author already implements it, so no separate PR from me). Next stop: sceSaveDataDirNameSearch2 not implemented (throwing stub from #3814, SIGABRT). Checking sources next.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6116197188 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6116197188). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T01:35:46Z. --- Re-run of PPSA30601 with #4101, #4207, #3737 (+#3814, #3799, #3824 merged locally, 0 unresolved imports): `InitParameterRtti2::setAllocatorRtti` is passed with #3737 (its author already implements it, so no separate PR from me). Next stop: `sceSaveDataDirNameSearch2 not implemented` (throwing stub from #3814, SIGABRT). Checking sources next. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 01:48:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:48:58Z.


Re-run of PPSA30601 with #4101, #4207, #3737 and #4220 (new, sceSaveDataDirNameSearch2; plus #3814, #3799, #3824 merged locally, 0 unresolved imports): sceSaveDataDirNameSearch2 is passed. Next stop: sceMouseResetAbsolutePosition not implemented (throwing stub from #3814).

Sources: I searched GitHub code for the name and found only symbol lists (claimore22/ps5rs stubs, a0zhar/PS4-SCE symbols), no implementation, header or documentation in shadPS4, SharpEmu, KytyPS5, OpenOrbis or SharpProspero, so there is no source for its signature or effect and I have not implemented it. A call with a guessed signature would be an invented no-op.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6116313496 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6116313496). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T01:48:58Z. --- Re-run of PPSA30601 with #4101, #4207, #3737 and #4220 (new, `sceSaveDataDirNameSearch2`; plus #3814, #3799, #3824 merged locally, 0 unresolved imports): `sceSaveDataDirNameSearch2` is passed. Next stop: `sceMouseResetAbsolutePosition not implemented` (throwing stub from #3814). Sources: I searched GitHub code for the name and found only symbol lists (claimore22/ps5rs stubs, a0zhar/PS4-SCE symbols), no implementation, header or documentation in shadPS4, SharpEmu, KytyPS5, OpenOrbis or SharpProspero, so there is no source for its signature or effect and I have not implemented it. A call with a guessed signature would be an invented no-op. AI-assisted (Claude Code).
oneandonlydean commented 2026-10-14 00:10:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T00:10:01Z.


All the PRs in the table are on main, and sceMouseResetAbsolutePosition still throws there. Could you move the stop table to a Game bring-up discussion for PPSA30601 and open an issue for the mouse call (title ID and log line)? Then this can close.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6157886395 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6157886395). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T00:10:01Z. --- All the PRs in the table are on main, and `sceMouseResetAbsolutePosition` still throws there. Could you move the stop table to a Game bring-up discussion for PPSA30601 and open an issue for the mouse call (title ID and log line)? Then this can close.
oneandonlydean commented 2026-10-17 22:23:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T22:23:37Z.


Closing this as planned: every PR in the stop table is on main, the mouse call has its own issue (#5922), and the last stop in the table is fixed by #5986. If PPSA30601 hits a new stop on current main, a Game bring-up discussion for the title is the best place for the running table, with separate issues for individual calls.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6242186195 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/4067#issuecomment-6242186195). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-17T22:23:37Z. --- Closing this as planned: every PR in the stop table is on main, the mouse call has its own issue (#5922), and the last stop in the table is fixed by #5986. If PPSA30601 hits a new stop on current main, a Game bring-up discussion for the title is the best place for the running table, with separate issues for individual calls.
Sign in to join this conversation.
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#4067
No description provided.