feat: PS4 NpTrophy, save data v1, NpWebApi offline and Limbo's other imports #9433

Merged
Get-fix merged 1 commit from upstream-pr/9433 into main 2026-10-22 05:00:01 +00:00
Get-fix commented 2026-10-21 21:51:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Get-fix on 2026-10-21T21:51:06Z.


What

Part 5 of the PS4 Limbo stack, split out of #6977 (the whole stack is listed in #6978): the PS4 system-library calls Limbo (CUSA01664) makes outside the GPU.

  • NpTrophy (PS4, offline): the trophy count and icons come from the plaintext entries of the title's trophy00.trp; trophy names are encrypted, so the calls that return them throw. Unlocks are kept per user and service label.
  • Save data v1 (PS4): sceSaveDataInitialize, sceSaveDataMount, sceSaveDataUmount and the save data memory calls (sceSaveDataSetupSaveDataMemory, sceSaveDataGetSaveDataMemory, sceSaveDataSetSaveDataMemory) wrap the native v2/v3 implementation.
  • NpWebApi (offline): library contexts, handles and push event filters can be created and deleted; a service push event filter needs a signed-in PSN user and fails with SIGNED_IN_USER_NOT_FOUND. Ids and errors follow shadPS4 (debt entry in docs/dev/debt/libSceNpWebApi.md).
  • sceNpSetContentRestriction is left to #9225, which implements it; Limbo calls it at start, so the integration branch #6977 carries #9225 next to this PR.
  • libSceAjm is built from the libSceAjm.native sources for PS4 titles, through one add_sce_ajm_library helper shared by both.
  • Limbo's other imports (NpMatching2, NpScoreRanking, NpSignaling, NpUtility, NpCommon, two dialogs, a few libkernel calls, the synchronous PS4 TUS calls next to main's TUS library, and the Facebook dialog calls main does not have yet) are exported and throw NotImplemented, so the title loads and any call to them is reported. NpCommon's sceNpCmpNpId joins main's other pending NpCommon stubs in PendingExports.cpp, so this PR doesn't create the Export.cpp that #9037 and #9063 add.

Tested

Windows 11, WinLibs GCC 15.2, on main cecb540a6:

  • New guest tests: guest_np_web_api (ids, the three error paths, double deletes, terminate), guest_np_trophy (a synthetic trophy00.trp: count, icons, unlock state, missing package), and the v1 save data memory calls in guest_savedata_ps4.
  • The full suite of 1,865 tests: 1,843 pass and 17 skip (device features, and the VideoOut flip tests, which find no Vulkan display under SDL's offscreen driver here). The 5 that fail also fail without this work on this machine: agc_driver_sample_order and its --grid-reference and --recipe-depth-locations cases (also on main d34da5d69), prx_thread_local_destructors (also with #9430 alone, which touches neither libc nor libkernel), and agc_driver_image_array_window_past_layer_limit, which main doesn't compile with MinGW (alignas(65536) in the test).
  • On current main the save data memory calls return NOT_INITIALIZED until save data is initialized, so guest_savedata_ps4 now checks that for the v1 calls and initializes and terminates around them.
  • Limbo (CUSA01664) with the whole stack (#6978): sets up, reads and writes its save data memory through the v1 calls, creates its NpWebApi context, handle and filters, and plays in game with sound; none of the not-implemented exports is called in that run. With this version of the PR and #9225 it runs in game the same way, with no errors and no not-implemented calls in a 50 s scripted run.

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
  • Fixes: none
  • Unblocks: Limbo (CUSA01664) #6978, with #9225
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4958852857 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9433). Originally posted by [Get-fix](https://github.com/Get-fix) on 2026-10-21T21:51:06Z. --- ### What Part 5 of the PS4 Limbo stack, split out of #6977 (the whole stack is listed in #6978): the PS4 system-library calls Limbo (CUSA01664) makes outside the GPU. - **NpTrophy (PS4, offline):** the trophy count and icons come from the plaintext entries of the title's `trophy00.trp`; trophy names are encrypted, so the calls that return them throw. Unlocks are kept per user and service label. - **Save data v1 (PS4):** `sceSaveDataInitialize`, `sceSaveDataMount`, `sceSaveDataUmount` and the save data memory calls (`sceSaveDataSetupSaveDataMemory`, `sceSaveDataGetSaveDataMemory`, `sceSaveDataSetSaveDataMemory`) wrap the native v2/v3 implementation. - **NpWebApi (offline):** library contexts, handles and push event filters can be created and deleted; a service push event filter needs a signed-in PSN user and fails with `SIGNED_IN_USER_NOT_FOUND`. Ids and errors follow shadPS4 (debt entry in `docs/dev/debt/libSceNpWebApi.md`). - **`sceNpSetContentRestriction`** is left to #9225, which implements it; Limbo calls it at start, so the integration branch #6977 carries #9225 next to this PR. - **libSceAjm** is built from the `libSceAjm.native` sources for PS4 titles, through one `add_sce_ajm_library` helper shared by both. - Limbo's other imports (NpMatching2, NpScoreRanking, NpSignaling, NpUtility, NpCommon, two dialogs, a few libkernel calls, the synchronous PS4 TUS calls next to `main`'s TUS library, and the Facebook dialog calls `main` does not have yet) are exported and throw `NotImplemented`, so the title loads and any call to them is reported. NpCommon's `sceNpCmpNpId` joins `main`'s other pending NpCommon stubs in `PendingExports.cpp`, so this PR doesn't create the `Export.cpp` that #9037 and #9063 add. ### Tested Windows 11, WinLibs GCC 15.2, on `main` cecb540a6: - New guest tests: `guest_np_web_api` (ids, the three error paths, double deletes, terminate), `guest_np_trophy` (a synthetic `trophy00.trp`: count, icons, unlock state, missing package), and the v1 save data memory calls in `guest_savedata_ps4`. - The full suite of 1,865 tests: 1,843 pass and 17 skip (device features, and the VideoOut flip tests, which find no Vulkan display under SDL's offscreen driver here). The 5 that fail also fail without this work on this machine: `agc_driver_sample_order` and its `--grid-reference` and `--recipe-depth-locations` cases (also on `main` d34da5d69), `prx_thread_local_destructors` (also with #9430 alone, which touches neither libc nor libkernel), and `agc_driver_image_array_window_past_layer_limit`, which `main` doesn't compile with MinGW (`alignas(65536)` in the test). - On current `main` the save data memory calls return NOT_INITIALIZED until save data is initialized, so `guest_savedata_ps4` now checks that for the v1 calls and initializes and terminates around them. - Limbo (CUSA01664) with the whole stack (#6978): sets up, reads and writes its save data memory through the v1 calls, creates its NpWebApi context, handle and filters, and plays in game with sound; none of the not-implemented exports is called in that run. With this version of the PR and #9225 it runs in game the same way, with no errors and no not-implemented calls in a 50 s scripted run. ### 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] Fixes: none - [x] Unblocks: Limbo (CUSA01664) #6978, with #9225 - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-21 21:51:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T21:51:57Z.


Progress report (a6dcea9 → f04d16d)

📉 System libraries: 41.97% (-0.36%, +23 implemented, +126 declared functions)

✅ 23 implemented
Library Name
libSceNpTrophy sceNpTrophyCreateContext
libSceNpTrophy sceNpTrophyCreateHandle
libSceNpTrophy sceNpTrophyDestroyContext
libSceNpTrophy sceNpTrophyDestroyHandle
libSceNpTrophy sceNpTrophyGetGameIcon
libSceNpTrophy sceNpTrophyGetGroupIcon
libSceNpTrophy sceNpTrophyGetTrophyIcon
libSceNpTrophy sceNpTrophyGetTrophyUnlockState
libSceNpTrophy sceNpTrophyRegisterContext
libSceNpTrophy sceNpTrophyUnlockTrophy
libSceNpWebApi sceNpWebApiCreateHandle
libSceNpWebApi sceNpWebApiCreatePushEventFilter
libSceNpWebApi sceNpWebApiCreateServicePushEventFilter
libSceNpWebApi sceNpWebApiDeleteHandle
libSceNpWebApi sceNpWebApiDeletePushEventFilter
libSceNpWebApi sceNpWebApiDeleteServicePushEventFilter
libSceNpWebApi sceNpWebApiInitialize
libSceNpWebApi sceNpWebApiTerminate
libSceSaveData.native sceSaveDataGetSaveDataMemory
libSceSaveData.native sceSaveDataInitialize
libSceSaveData.native sceSaveDataSetSaveDataMemory
libSceSaveData.native sceSaveDataSetupSaveDataMemory
libSceSaveData.native sceSaveDataUmount
🆕 126 declared as stubs
Library Name
libSceAjm sceAjmBatchJobControlBufferRa
libSceAjm sceAjmBatchJobRunSplitBufferRa
libSceAjm sceAjmBatchStartBuffer
libSceGameCustomDataDialog sceGameCustomDataDialogGetResult
libSceGameCustomDataDialog sceGameCustomDataDialogInitialize
libSceGameCustomDataDialog sceGameCustomDataDialogOpen
libSceGameCustomDataDialog sceGameCustomDataDialogTerminate
libSceGameCustomDataDialog sceGameCustomDataDialogUpdateStatus
libSceInvitationDialog sceInvitationDialogGetResult
libSceInvitationDialog sceInvitationDialogInitialize
libSceInvitationDialog sceInvitationDialogOpen
libSceInvitationDialog sceInvitationDialogTerminate
libSceInvitationDialog sceInvitationDialogUpdateStatus
libSceNpCommon sceNpCmpNpId
libSceNpManager sceNpInGameMessageCreateHandle
libSceNpManager sceNpInGameMessageDeleteHandle
libSceNpManager sceNpInGameMessageInitialize
libSceNpManager sceNpInGameMessagePrepare
libSceNpManager sceNpInGameMessageSendData
libSceNpManager sceNpInGameMessageTerminate
libSceNpManager sceNpSnsFacebookCreateRequest
libSceNpManager sceNpSnsFacebookDeleteRequest
libSceNpManager sceNpSnsFacebookGetAccessToken
libSceNpMatching2 sceNpMatching2ContextStart
libSceNpMatching2 sceNpMatching2ContextStop
libSceNpMatching2 sceNpMatching2CreateContext
libSceNpMatching2 sceNpMatching2CreateJoinRoom
libSceNpMatching2 sceNpMatching2DestroyContext
libSceNpMatching2 sceNpMatching2GetRoomDataExternalList
libSceNpMatching2 sceNpMatching2GetRoomDataInternal
libSceNpMatching2 sceNpMatching2GetRoomMemberDataInternal
libSceNpMatching2 sceNpMatching2GetServerId
libSceNpMatching2 sceNpMatching2GetUserInfoList
libSceNpMatching2 sceNpMatching2GetWorldInfoList
libSceNpMatching2 sceNpMatching2Initialize
libSceNpMatching2 sceNpMatching2JoinRoom
libSceNpMatching2 sceNpMatching2KickoutRoomMember
libSceNpMatching2 sceNpMatching2LeaveRoom
libSceNpMatching2 sceNpMatching2RegisterContextCallback
libSceNpMatching2 sceNpMatching2RegisterRoomEventCallback
libSceNpMatching2 sceNpMatching2RegisterRoomMessageCallback
libSceNpMatching2 sceNpMatching2RegisterSignalingCallback
libSceNpMatching2 sceNpMatching2SearchRoom
libSceNpMatching2 sceNpMatching2SendRoomChatMessage
libSceNpMatching2 sceNpMatching2SendRoomMessage
libSceNpMatching2 sceNpMatching2SetDefaultRequestOptParam
libSceNpMatching2 sceNpMatching2SetRoomDataExternal
libSceNpMatching2 sceNpMatching2SetRoomDataInternal
libSceNpMatching2 sceNpMatching2SetRoomMemberDataInternal
libSceNpMatching2 sceNpMatching2SetUserInfo
libSceNpMatching2 sceNpMatching2SignalingGetConnectionInfo
libSceNpMatching2 sceNpMatching2Terminate
libSceNpScoreRanking sceNpScoreAbortRequest
libSceNpScoreRanking sceNpScoreCreateNpTitleCtx
libSceNpScoreRanking sceNpScoreCreateRequest
libSceNpScoreRanking sceNpScoreDeleteNpTitleCtx
libSceNpScoreRanking sceNpScoreDeleteRequest
libSceNpScoreRanking sceNpScoreGetBoardInfo
libSceNpScoreRanking sceNpScoreGetFriendsRanking
libSceNpScoreRanking sceNpScoreGetFriendsRankingAsync
libSceNpScoreRanking sceNpScoreGetRankingByNpId
libSceNpScoreRanking sceNpScoreGetRankingByNpIdAsync
libSceNpScoreRanking sceNpScoreGetRankingByRange
libSceNpScoreRanking sceNpScoreGetRankingByRangeAsync
libSceNpScoreRanking sceNpScorePollAsync
libSceNpScoreRanking sceNpScoreRecordScore
libSceNpScoreRanking sceNpScoreRecordScoreAsync
libSceNpSignaling sceNpSignalingActivateConnection
libSceNpSignaling sceNpSignalingCreateContext
libSceNpSignaling sceNpSignalingDeleteContext
libSceNpSignaling sceNpSignalingGetConnectionInfo
libSceNpSignaling sceNpSignalingInitialize
libSceNpSignaling sceNpSignalingSetContextOption
libSceNpSignaling sceNpSignalingTerminate
libSceNpSignaling sceNpSignalingTerminateConnection
libSceNpSnsFacebookDialog sceNpSnsFacebookDialogGetResult
libSceNpSnsFacebookDialog sceNpSnsFacebookDialogInitialize
libSceNpSnsFacebookDialog sceNpSnsFacebookDialogOpen
libSceNpSnsFacebookDialog sceNpSnsFacebookDialogTerminate
libSceNpSnsFacebookDialog sceNpSnsFacebookDialogUpdateStatus
libSceNpTrophy sceNpTrophyGetGameInfo
libSceNpTrophy sceNpTrophyGetGroupInfo
libSceNpTrophy sceNpTrophyGetTrophyInfo
libSceNpTus sceNpTssGetData
libSceNpTus sceNpTusCreateNpTitleCtx
libSceNpTus sceNpTusGetData
libSceNpTus sceNpTusGetDataVUser
libSceNpTus sceNpTusGetMultiSlotVariable
libSceNpTus sceNpTusGetMultiSlotVariableVUser
libSceNpTus sceNpTusSetData
libSceNpTus sceNpTusSetDataVUser
libSceNpTus sceNpTusSetMultiSlotVariable
libSceNpTus sceNpTusSetMultiSlotVariableVUser
libSceNpUtility sceNpBandwidthTestInitStart
libSceNpUtility sceNpLookupCreateRequest
libSceNpUtility sceNpLookupCreateTitleCtx
libSceNpUtility sceNpLookupDeleteRequest
libSceNpUtility sceNpLookupDeleteTitleCtx
libSceNpUtility sceNpLookupNpId
libSceNpUtility sceNpWordFilterAbortRequest
... 26 more
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6327356388 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9433#issuecomment-6327356388). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-21T21:51:57Z. --- <!-- progress-report --> ### Progress report (a6dcea9 → f04d16d) 📉 **System libraries**: 41.97% (-0.36%, +23 implemented, +126 declared functions) <details> <summary>✅ 23 implemented</summary> | Library | Name | | - | - | | libSceNpTrophy | `sceNpTrophyCreateContext` | | libSceNpTrophy | `sceNpTrophyCreateHandle` | | libSceNpTrophy | `sceNpTrophyDestroyContext` | | libSceNpTrophy | `sceNpTrophyDestroyHandle` | | libSceNpTrophy | `sceNpTrophyGetGameIcon` | | libSceNpTrophy | `sceNpTrophyGetGroupIcon` | | libSceNpTrophy | `sceNpTrophyGetTrophyIcon` | | libSceNpTrophy | `sceNpTrophyGetTrophyUnlockState` | | libSceNpTrophy | `sceNpTrophyRegisterContext` | | libSceNpTrophy | `sceNpTrophyUnlockTrophy` | | libSceNpWebApi | `sceNpWebApiCreateHandle` | | libSceNpWebApi | `sceNpWebApiCreatePushEventFilter` | | libSceNpWebApi | `sceNpWebApiCreateServicePushEventFilter` | | libSceNpWebApi | `sceNpWebApiDeleteHandle` | | libSceNpWebApi | `sceNpWebApiDeletePushEventFilter` | | libSceNpWebApi | `sceNpWebApiDeleteServicePushEventFilter` | | libSceNpWebApi | `sceNpWebApiInitialize` | | libSceNpWebApi | `sceNpWebApiTerminate` | | libSceSaveData.native | `sceSaveDataGetSaveDataMemory` | | libSceSaveData.native | `sceSaveDataInitialize` | | libSceSaveData.native | `sceSaveDataSetSaveDataMemory` | | libSceSaveData.native | `sceSaveDataSetupSaveDataMemory` | | libSceSaveData.native | `sceSaveDataUmount` | </details> <details> <summary>🆕 126 declared as stubs</summary> | Library | Name | | - | - | | libSceAjm | `sceAjmBatchJobControlBufferRa` | | libSceAjm | `sceAjmBatchJobRunSplitBufferRa` | | libSceAjm | `sceAjmBatchStartBuffer` | | libSceGameCustomDataDialog | `sceGameCustomDataDialogGetResult` | | libSceGameCustomDataDialog | `sceGameCustomDataDialogInitialize` | | libSceGameCustomDataDialog | `sceGameCustomDataDialogOpen` | | libSceGameCustomDataDialog | `sceGameCustomDataDialogTerminate` | | libSceGameCustomDataDialog | `sceGameCustomDataDialogUpdateStatus` | | libSceInvitationDialog | `sceInvitationDialogGetResult` | | libSceInvitationDialog | `sceInvitationDialogInitialize` | | libSceInvitationDialog | `sceInvitationDialogOpen` | | libSceInvitationDialog | `sceInvitationDialogTerminate` | | libSceInvitationDialog | `sceInvitationDialogUpdateStatus` | | libSceNpCommon | `sceNpCmpNpId` | | libSceNpManager | `sceNpInGameMessageCreateHandle` | | libSceNpManager | `sceNpInGameMessageDeleteHandle` | | libSceNpManager | `sceNpInGameMessageInitialize` | | libSceNpManager | `sceNpInGameMessagePrepare` | | libSceNpManager | `sceNpInGameMessageSendData` | | libSceNpManager | `sceNpInGameMessageTerminate` | | libSceNpManager | `sceNpSnsFacebookCreateRequest` | | libSceNpManager | `sceNpSnsFacebookDeleteRequest` | | libSceNpManager | `sceNpSnsFacebookGetAccessToken` | | libSceNpMatching2 | `sceNpMatching2ContextStart` | | libSceNpMatching2 | `sceNpMatching2ContextStop` | | libSceNpMatching2 | `sceNpMatching2CreateContext` | | libSceNpMatching2 | `sceNpMatching2CreateJoinRoom` | | libSceNpMatching2 | `sceNpMatching2DestroyContext` | | libSceNpMatching2 | `sceNpMatching2GetRoomDataExternalList` | | libSceNpMatching2 | `sceNpMatching2GetRoomDataInternal` | | libSceNpMatching2 | `sceNpMatching2GetRoomMemberDataInternal` | | libSceNpMatching2 | `sceNpMatching2GetServerId` | | libSceNpMatching2 | `sceNpMatching2GetUserInfoList` | | libSceNpMatching2 | `sceNpMatching2GetWorldInfoList` | | libSceNpMatching2 | `sceNpMatching2Initialize` | | libSceNpMatching2 | `sceNpMatching2JoinRoom` | | libSceNpMatching2 | `sceNpMatching2KickoutRoomMember` | | libSceNpMatching2 | `sceNpMatching2LeaveRoom` | | libSceNpMatching2 | `sceNpMatching2RegisterContextCallback` | | libSceNpMatching2 | `sceNpMatching2RegisterRoomEventCallback` | | libSceNpMatching2 | `sceNpMatching2RegisterRoomMessageCallback` | | libSceNpMatching2 | `sceNpMatching2RegisterSignalingCallback` | | libSceNpMatching2 | `sceNpMatching2SearchRoom` | | libSceNpMatching2 | `sceNpMatching2SendRoomChatMessage` | | libSceNpMatching2 | `sceNpMatching2SendRoomMessage` | | libSceNpMatching2 | `sceNpMatching2SetDefaultRequestOptParam` | | libSceNpMatching2 | `sceNpMatching2SetRoomDataExternal` | | libSceNpMatching2 | `sceNpMatching2SetRoomDataInternal` | | libSceNpMatching2 | `sceNpMatching2SetRoomMemberDataInternal` | | libSceNpMatching2 | `sceNpMatching2SetUserInfo` | | libSceNpMatching2 | `sceNpMatching2SignalingGetConnectionInfo` | | libSceNpMatching2 | `sceNpMatching2Terminate` | | libSceNpScoreRanking | `sceNpScoreAbortRequest` | | libSceNpScoreRanking | `sceNpScoreCreateNpTitleCtx` | | libSceNpScoreRanking | `sceNpScoreCreateRequest` | | libSceNpScoreRanking | `sceNpScoreDeleteNpTitleCtx` | | libSceNpScoreRanking | `sceNpScoreDeleteRequest` | | libSceNpScoreRanking | `sceNpScoreGetBoardInfo` | | libSceNpScoreRanking | `sceNpScoreGetFriendsRanking` | | libSceNpScoreRanking | `sceNpScoreGetFriendsRankingAsync` | | libSceNpScoreRanking | `sceNpScoreGetRankingByNpId` | | libSceNpScoreRanking | `sceNpScoreGetRankingByNpIdAsync` | | libSceNpScoreRanking | `sceNpScoreGetRankingByRange` | | libSceNpScoreRanking | `sceNpScoreGetRankingByRangeAsync` | | libSceNpScoreRanking | `sceNpScorePollAsync` | | libSceNpScoreRanking | `sceNpScoreRecordScore` | | libSceNpScoreRanking | `sceNpScoreRecordScoreAsync` | | libSceNpSignaling | `sceNpSignalingActivateConnection` | | libSceNpSignaling | `sceNpSignalingCreateContext` | | libSceNpSignaling | `sceNpSignalingDeleteContext` | | libSceNpSignaling | `sceNpSignalingGetConnectionInfo` | | libSceNpSignaling | `sceNpSignalingInitialize` | | libSceNpSignaling | `sceNpSignalingSetContextOption` | | libSceNpSignaling | `sceNpSignalingTerminate` | | libSceNpSignaling | `sceNpSignalingTerminateConnection` | | libSceNpSnsFacebookDialog | `sceNpSnsFacebookDialogGetResult` | | libSceNpSnsFacebookDialog | `sceNpSnsFacebookDialogInitialize` | | libSceNpSnsFacebookDialog | `sceNpSnsFacebookDialogOpen` | | libSceNpSnsFacebookDialog | `sceNpSnsFacebookDialogTerminate` | | libSceNpSnsFacebookDialog | `sceNpSnsFacebookDialogUpdateStatus` | | libSceNpTrophy | `sceNpTrophyGetGameInfo` | | libSceNpTrophy | `sceNpTrophyGetGroupInfo` | | libSceNpTrophy | `sceNpTrophyGetTrophyInfo` | | libSceNpTus | `sceNpTssGetData` | | libSceNpTus | `sceNpTusCreateNpTitleCtx` | | libSceNpTus | `sceNpTusGetData` | | libSceNpTus | `sceNpTusGetDataVUser` | | libSceNpTus | `sceNpTusGetMultiSlotVariable` | | libSceNpTus | `sceNpTusGetMultiSlotVariableVUser` | | libSceNpTus | `sceNpTusSetData` | | libSceNpTus | `sceNpTusSetDataVUser` | | libSceNpTus | `sceNpTusSetMultiSlotVariable` | | libSceNpTus | `sceNpTusSetMultiSlotVariableVUser` | | libSceNpUtility | `sceNpBandwidthTestInitStart` | | libSceNpUtility | `sceNpLookupCreateRequest` | | libSceNpUtility | `sceNpLookupCreateTitleCtx` | | libSceNpUtility | `sceNpLookupDeleteRequest` | | libSceNpUtility | `sceNpLookupDeleteTitleCtx` | | libSceNpUtility | `sceNpLookupNpId` | | libSceNpUtility | `sceNpWordFilterAbortRequest` | | ... | 26 more | </details>
github-actions[bot] commented 2026-10-21 22:39:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T22:39:19Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 9037 core/libs/prx/libSceNpCommon/PendingExports.cpp L117-142
PR 9063 core/libs/prx/libSceNpCommon/PendingExports.cpp L117-207

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 core/libs/prx/libSceAjm.native/CMakeLists.txt
core/libs/tests/GuestSaveDataPs4.cpp
PR 6879 core/libs/prx/libSceSaveData.native/Export.cpp
PR 6990 core/libs/prx/libSceNpManager/Export.cpp
PR 7412 core/libs/prx/libSceNpManager/Export.cpp
PR 8285 core/libs/prx/libSceSaveData.native/Export.cpp
core/libs/tests/GuestSaveDataPs4.cpp
PR 8472 core/libs/prx/libSceNpUtility/Export.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6328126918 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9433#issuecomment-6328126918). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-21T22:39:19Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 9037](https://www.github.com/boykopovar/AnyPS5/pull/9037) | `core/libs/prx/libSceNpCommon/PendingExports.cpp` [L117-142](https://github.com/boykopovar/AnyPS5/blob/6ef5a1c4c92272598b18adeb9b5414112f8d15ed/core/libs/prx/libSceNpCommon/PendingExports.cpp#L117-L142) | | | | [PR 9063](https://www.github.com/boykopovar/AnyPS5/pull/9063) | `core/libs/prx/libSceNpCommon/PendingExports.cpp` [L117-207](https://github.com/boykopovar/AnyPS5/blob/6ef5a1c4c92272598b18adeb9b5414112f8d15ed/core/libs/prx/libSceNpCommon/PendingExports.cpp#L117-L207) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAjm.native/CMakeLists.txt`<br>`core/libs/tests/GuestSaveDataPs4.cpp` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `core/libs/prx/libSceSaveData.native/Export.cpp` | | [PR 6990](https://www.github.com/boykopovar/AnyPS5/pull/6990) | `core/libs/prx/libSceNpManager/Export.cpp` | | [PR 7412](https://www.github.com/boykopovar/AnyPS5/pull/7412) | `core/libs/prx/libSceNpManager/Export.cpp` | | [PR 8285](https://www.github.com/boykopovar/AnyPS5/pull/8285) | `core/libs/prx/libSceSaveData.native/Export.cpp`<br>`core/libs/tests/GuestSaveDataPs4.cpp` | | [PR 8472](https://www.github.com/boykopovar/AnyPS5/pull/8472) | `core/libs/prx/libSceNpUtility/Export.cpp` |
MarcZX10 commented 2026-10-22 04:45:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:45:39Z.

Review: CHANGES_REQUESTED


I found a persistence isolation bug in the new trophy implementation, along with a few checklist/update items:

  1. sceNpTrophyRegisterContext builds the persisted unlock filename only from service label and user ID (_trophy/trophy%02u.%d). It does not include the running title identity. Service labels are not unique title IDs, so two games using the same label for the same user will read and write the same unlock set across launches. A trophy unlocked in one game can therefore appear unlocked in another. Please key this state by the current title's trophy identity as well as user/service label, and add a regression test that proves two titles sharing a service label remain isolated while each title still persists its own unlocks.

  2. This head is 534 commits behind the current main in the repository comparison. Please update it to current main and rerun the focused tests plus the convention, intake, and overlap checks; the checked-in test results are from cecb540a6 and do not validate the current merge base.

  3. The overlap report identifies open #9037 and #9063 in libSceNpCommon/PendingExports.cpp. The checklist currently says Depends on: none, but the repository rules require the authors to agree which overlapping change lands first and record that order. Please coordinate and update the checklist (or refresh the report if the overlap has been resolved).

The PR's hosted conventions, eligibility, intake, labels, and progress-report checks pass. Its Linux, Windows, relinker, ASAN, register-context, and write-watch jobs are skipped. I did not run the author-reported test suite locally: there is no matching checkout/build in this workspace, and the reusable /tmp build I found belongs to a different change. The reported Windows test and Limbo run remain author-provided evidence, not independent results from this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609371074 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9433#pullrequestreview-5609371074). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:45:39Z. **Review:** CHANGES_REQUESTED --- I found a persistence isolation bug in the new trophy implementation, along with a few checklist/update items: 1. `sceNpTrophyRegisterContext` builds the persisted unlock filename only from service label and user ID (`_trophy/trophy%02u.%d`). It does not include the running title identity. Service labels are not unique title IDs, so two games using the same label for the same user will read and write the same unlock set across launches. A trophy unlocked in one game can therefore appear unlocked in another. Please key this state by the current title's trophy identity as well as user/service label, and add a regression test that proves two titles sharing a service label remain isolated while each title still persists its own unlocks. 2. This head is 534 commits behind the current `main` in the repository comparison. Please update it to current `main` and rerun the focused tests plus the convention, intake, and overlap checks; the checked-in test results are from `cecb540a6` and do not validate the current merge base. 3. The overlap report identifies open #9037 and #9063 in `libSceNpCommon/PendingExports.cpp`. The checklist currently says `Depends on: none`, but the repository rules require the authors to agree which overlapping change lands first and record that order. Please coordinate and update the checklist (or refresh the report if the overlap has been resolved). The PR's hosted conventions, eligibility, intake, labels, and progress-report checks pass. Its Linux, Windows, relinker, ASAN, register-context, and write-watch jobs are skipped. I did not run the author-reported test suite locally: there is no matching checkout/build in this workspace, and the reusable `/tmp` build I found belongs to a different change. The reported Windows test and Limbo run remain author-provided evidence, not independent results from this review.
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!9433
No description provided.