Register sysmodule ID 0x110 as libSceNpTrophy2 #2542

Closed
opened 2026-10-10 02:55:50 +00:00 by maoxin1234 · 5 comments
maoxin1234 commented 2026-10-10 02:55:50 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by maoxin1234 on 2026-10-10T02:55:50Z.


Description

libSceSysmodule does not currently register module ID 0x00000110 (libSceNpTrophy2). When a title requests this module through sceSysmoduleLoadModuleInternal, the lookup treats the ID as unknown instead of tracking it through the existing load and reference-count logic.

Expected behavior

Module ID 0x00000110 should resolve to libSceNpTrophy2, 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 Windows guest_sysmodule test 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5787481025 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542). Originally posted by [maoxin1234](https://github.com/maoxin1234) on 2026-10-10T02:55:50Z. --- ## Description `libSceSysmodule` does not currently register module ID `0x00000110` (`libSceNpTrophy2`). When a title requests this module through `sceSysmoduleLoadModuleInternal`, the lookup treats the ID as unknown instead of tracking it through the existing load and reference-count logic. ## Expected behavior Module ID `0x00000110` should resolve to `libSceNpTrophy2`, 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](https://github.com/boykopovar/AnyPS5/pull/2541), which was automatically closed while PR intake is paused. The Windows `guest_sysmodule` test 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.
spiicez21 commented 2026-10-10 03:44:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by spiicez21 on 2026-10-10T03:44:13Z.


I checked the current main branch (c963432d) and noticed that ModuleTable.hpp is missing the entry for 0x110. The table jumps from 0x10d to 0x112.

I cross-checked the mapping against [astrelsky/libNidResolver](https://github.com/astrelsky/libNidResolver/blob/master/source/sysmodules.c), which lists 0x110 as libSceNpTrophy2. The neighbouring IDs also match our table.

This could cause issues for titles that request this module. Both sceSysmoduleLoadModuleInternal and sceSysmoduleUnloadModuleInternal throw an exception when given an unknown module ID, potentially interrupting execution. In contrast, sceSysmoduleLoadModule and sceSysmoduleIsLoaded only log the unknown ID.

It looks like adding the missing 0x110 mapping could prevent this issue for titles that depend on libSceNpTrophy2.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093425478 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542#issuecomment-6093425478). Originally posted by [spiicez21](https://github.com/spiicez21) on 2026-10-10T03:44:13Z. --- I checked the current `main` branch (`c963432d`) and noticed that `ModuleTable.hpp` is missing the entry for `0x110`. The table jumps from `0x10d` to `0x112`. I cross-checked the mapping against [[astrelsky/libNidResolver](https://github.com/astrelsky/libNidResolver/blob/master/source/sysmodules.c)](https://github.com/astrelsky/libNidResolver/blob/master/source/sysmodules.c), which lists `0x110` as `libSceNpTrophy2`. The neighbouring IDs also match our table. This could cause issues for titles that request this module. Both `sceSysmoduleLoadModuleInternal` and `sceSysmoduleUnloadModuleInternal` throw an exception when given an unknown module ID, potentially interrupting execution. In contrast, `sceSysmoduleLoadModule` and `sceSysmoduleIsLoaded` only log the unknown ID. It looks like adding the missing `0x110` mapping could prevent this issue for titles that depend on `libSceNpTrophy2`.
oneandonlydean commented 2026-10-10 09:28:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T09:28:43Z.


#2541 adds the 0x110 entry.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096127638 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542#issuecomment-6096127638). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T09:28:43Z. --- #2541 adds the 0x110 entry.
sktharunbalaji13-cmd commented 2026-10-10 10:56:20 +00:00 (Migrated from github.com)
Author
Contributor

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:

[libSceSysmodule/Export.cpp:125 sceSysmoduleLoadModule] unknown id: 272

ID 272 (0x110) corresponds to libSceNpTrophy2. The game continues into gameplay and exits normally with code 0, 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096768774 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542#issuecomment-6096768774). Originally posted by [sktharunbalaji13-cmd](https://github.com/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`: ``` [libSceSysmodule/Export.cpp:125 sceSysmoduleLoadModule] unknown id: 272 ``` ID `272` (`0x110`) corresponds to `libSceNpTrophy2`. The game continues into gameplay and exits normally with code `0`, 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.
danzaio commented 2026-10-10 15:55:40 +00:00 (Migrated from github.com)
Author
Contributor

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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6099375921 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542#issuecomment-6099375921). Originally posted by [danzaio](https://github.com/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.
oneandonlydean commented 2026-10-11 23:25:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:25:31Z.


Closing: fixed by #2541.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115085024 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2542#issuecomment-6115085024). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:25:31Z. --- Closing: fixed by #2541.
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#2542
No description provided.