feat(libSceNpManager): implement sceNpGetUserIdByAccountId #1536
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1536"
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 AcelezXYZ on 2026-10-08T11:36:01Z.
What
Implements
sceNpGetUserIdByAccountId(accountId, userId*)in libSceNpManager (PPSA14632 imports it).userIdreturnsSCE_NP_ERROR_INVALID_ARGUMENT(0x80550003).SCE_NP_ERROR_SIGNED_OUT(0x80550006) and leaves*userIduntouched, as PSN is not emulated and no account is ever signed in (same model assceNpGetAccountIdAandsceNpGetNpId).Signature and argument errors follow the shadPS4 reimplementation of the PS4 library (pinned commit linked in TechnicalDebt; with its network service disabled it returns
SIGNED_OUTthe same way), not confirmed on a PS5 title.Tested
ctest: 441/442 pass. The only failure isguest_sce_net(no IPv6 in my sandbox, also fails on unmodifiedmain); this PR does not touch libSceNet.GuestNpManagerextended: signed-out result with the user id untouched, account id 0 rejected, null user id rejected. A deliberately broken build (account id 0 accepted) makes the test fail.tools/check_conventions.py --base origin/mainpasses.Checklist
main(084aeeb6); no other open PR implements the same functions (all PR heads up to #1518 checked)NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T11:56:14Z.
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.
main)docs/dev/TechnicalDebt.mdL95Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T09:29:25Z.
Closing: PPSA14632 imports
sceNpGetUserIdByAccountId, but no title is shown stopping at it on main. Reopen when it's a title's next stop there, with the log line.Pull request closed