Register sysmodule ID 0x110 as libSceNpTrophy2 #2542
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by maoxin1234 on 2026-10-10T02:55:50Z.
Description
libSceSysmoduledoes not currently register module ID0x00000110(libSceNpTrophy2). When a title requests this module throughsceSysmoduleLoadModuleInternal, the lookup treats the ID as unknown instead of tracking it through the existing load and reference-count logic.Expected behavior
Module ID
0x00000110should resolve tolibSceNpTrophy2, and load,sceSysmoduleIsLoaded, and unload should follow the existing sysmodule reference-count behavior.Evidence
Hades requests ID
0x00000110; the mapping and regression test were prepared in PR #2541, which was automatically closed while PR intake is paused. The Windowsguest_sysmoduletest passed (1/1) with the mapping and nested load/unload coverage.This report is limited to the missing module registration. It does not claim that this is the cause of Hades' incomplete main menu.
Imported from boykopovar/AnyPS5. Originally posted by spiicez21 on 2026-10-10T03:44:13Z.
I checked the current
mainbranch (c963432d) and noticed thatModuleTable.hppis missing the entry for0x110. The table jumps from0x10dto0x112.I cross-checked the mapping against [astrelsky/libNidResolver](https://github.com/astrelsky/libNidResolver/blob/master/source/sysmodules.c), which lists
0x110aslibSceNpTrophy2. The neighbouring IDs also match our table.This could cause issues for titles that request this module. Both
sceSysmoduleLoadModuleInternalandsceSysmoduleUnloadModuleInternalthrow an exception when given an unknown module ID, potentially interrupting execution. In contrast,sceSysmoduleLoadModuleandsceSysmoduleIsLoadedonly log the unknown ID.It looks like adding the missing
0x110mapping could prevent this issue for titles that depend onlibSceNpTrophy2.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T09:28:43Z.
#2541 adds the 0x110 entry.
Imported from boykopovar/AnyPS5. Originally posted by sktharunbalaji13-cmd on 2026-10-10T10:56:20Z.
Independent runtime corroboration from a second title: Dreaming Sarah (PPSA02929) on Windows.
The game's startup log records this immediately after
Initializing Achievements:ID
272(0x110) corresponds tolibSceNpTrophy2. The game continues into gameplay and exits normally with code0, so this is a non-fatal compatibility gap in this title rather than a startup crash.To keep this scoped to the observation: it confirms the missing mapping is encountered by a second title; it does not establish which specific trophy functionality Dreaming Sarah loses as a result.
Reproduced in two consecutive runs using the AnyPS5 Windows release runtime. This provides a second independent title confirming the same missing mapping, alongside Hades reported in PR #2541.
Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-10T15:55:40Z.
Validated the mapping from PR #2541 on real hardware: RTX 4050 laptop, Windows, MinGW 15.2 build, guest_sysmodule passes 1/1 with the nested load/unload coverage for ID 0x110. The branch is here if a collaborator wants to carry it: danzaio/AnyPS5 fix/sysmodule-trophy2-id. AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:25:31Z.
Closing: fixed by #2541.