feat(Party): export the Party module's functions #15945
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15945"
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 ItsJustChrisE on 2026-11-05T02:08:58Z.
What
Adds a
Partylibrary that exports the 26 functions titles import from thePartymodule. Their names and signatures are unknown (nosceParty*orsceNpParty*candidate name hashes to any of them), so each one is a literal NID alias that throws throughNotImplemented_nid_no_patch. The NIDs are listed indocs/dev/debt/Party.md.Without this library a Windows build stops before the entry point with
Failed to load module: libs\Party.prx(GetLastError 126), because each Windows import is bound to the library it names. 16 of these NIDs are already exported by libkernel assceKernelUnknown03–sceKernelUnknown19, but those copies cannot satisfy imports that nameParty. I left libkernel unchanged.Tested
Windows 11 Pro 10.0.26300, Ryzen 7 7700X, RTX 3080 (
Selected GPU name=NVIDIA GeForce RTX 3080), WinLibs GCC 15.2.0 r7, Release. Street Fighter 6, PPSA02632, content version 01.000.000, dumped from my own copy.mainc21eb9a4d0without this change, the converted title exits at start-up withFailed to load module: ...\libs\Party.prx, GetLastError 126.acac7c8541),tools/audit_dump.py --windowsexits 0 with no absent imports and no missing libraries. The title then ran for the full 300 s cap with no crash.[present]went from 27–79 presents per 10 s while loading to a steady 115 per 10 s at the end. Empty shader caches;APS5_PROFILE_DRAW=1,APS5_LOG_TIMESTAMPS=1,ANYPS5_HOST_REPORT=1,ANYPS5_GPU=RTX 3080; no input sent. I did not check what was on screen.Partyexport was called during the run: the log has nonot implementedline.tools/check_conventions.py --base origin/mainpassed;tools/pr_overlap.pyfound no overlap.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-05T11:51:28Z.
Review: APPROVED
Head
f0d461044bmerged onto currentmaine772fb25cc(clean merge, local only): code read, build and export check on Windows. I don't have the title, so the start-up fix itself isn't reproduced here.Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (
x86_64-ucrt-posix-seh, r3), Release,BUILD_TESTING=ON.core/libs/libs/unpatched/Party.prxand the patchedcore/libs/libs/Party.prx. A reconfigure is needed becauseprx/*is collected byfile(GLOB …); a fresh CI configure isn't affected.objdump -pon the patchedParty.prxlists 52 names:docs/dev/debt/Party.md, each once;PartyUnknown_*_nid_no_patchhost symbols, the same pattern other modules show, for examplelibSceMbus.APS5_EXPORTNIDs, the 26 functions and the 26 declarations ininclude/InventoryExports.hppare the same sets. Each body callsNotImplemented_nid_no_patch(__func__). 16 of the NIDs are also exported by libkernel, as the description says.ctest -R '(nid|export|inventory|public_headers$|audit|debt|duplicate|registration|unbuilt)'selects 86 tests. The result is the same onmainand on the merge: 85 pass, andtest_registrationfails on this machine for the unrelated symbolic-link privilege gap that #15652 fixes.public_headerspasses on the merge, andcheck_conventions.py --base mainpasses.Read through the change:
add_library(Party SHARED EXCLUDE_FROM_ALL Export.cpp)follows the same pattern as the other prx libraries (148 of them useEXCLUDE_FROM_ALL). The literal-NID aliases that throw are what CONTRIBUTING asks for when names and signatures are unknown, and the debt entry lists all 26 NIDs. I found nothing to change.AI-assisted: yes (Claude Code)