feat(libSceNpCommerce): implement sceNpCommerceDialogOpen2 #1983
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1983"
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 overlordxrz-source on 2026-10-09T03:42:11Z.
What
sceNpCommerceDialogOpen2is the last throwing export inlibSceNpCommerce. It is imported by NHL 27 (PPSA34063), Call of Duty: Black Ops (PPSA34501) and Lucky's Tale (PPSA34823), as their KytyPS5 logs show, and TechnicalDebt also names PPSA23566.It now takes the dialog parameter and behaves like
sceNpCommerceDialogOpen:NOT_INITIALIZEDbeforeInitialize,ARG_NULLfor a null parameter, and otherwise the dialog finishes at once with the user-cancelled result. The(const void*)signature is assumed fromOpen.The library had no
CMakeLists.txt, so this adds one along with aGuestNpCommercetest.Log
I don't own these titles, so I can't paste a stop line from
main. The evidence is the KytyPS5 import logs for the titles above.Tested
aarch64 Debian 13 host. The full project can't be built here because it needs x86-64.
core/libs/tests/GuestNpCommerce.cppcovers the not-initialized, null-argument, open, update, status and result paths, and passes natively.-Wall -Wextra(Zig 0.17 clang).python3 tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T03:42:34Z.
Progress report (
f145139→555a995)📈 System libraries: 84.79% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceNpCommerceDialogOpen2Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T04:09:12Z.
The implementation delegates to
sceNpCommerceDialogOpen, which is internally consistent, and CI passes. The remaining contribution-rule gap is evidence: the PR cites imports but no current-main log showing a title reachesOpen2or fails there, and says no title was run. CONTRIBUTING.md specifically says an import list alone does not establish that. Could you add a reproduced call/failure or explain a concrete project need and its evidence limits before review? The behavior and signature are still partly assumed.Imported from boykopovar/AnyPS5. Originally posted by overlordxrz-source on 2026-10-09T04:54:59Z.
Thanks. Rechecking the KytyPS5 logs I cited, they only show
IXmfUaze9Soimported (unresolved PLT import patched to stub), never called. NHL 27 (PPSA34063, KytyPS5#1101) logs threeUnresolved import stub calledlines, all for other NIDs. AndOpen2is a store dialog that only opens when the player asks for it, the same reasoning as in #946. So I have no reproduced call or concrete need, and the(const void*)signature is assumed. I'm converting this to draft until a title stops at it on main.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:55:50Z.
Closing as you said above; please reopen when a title stops at
sceNpCommerceDialogOpen2on main.Pull request closed