feat(libs): declare the exports PPSA23566 imports that no library provides #992
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/992"
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 CnRJay on 2026-10-06T22:15:00Z.
What
UFC 6 (PPSA23566) fails eager binding on imports that no library exports. This declares the 31 of them that no open pull request adds, plus the two modules its
DT_NEEDEDnames that do not exist yet (libSceNpPartner001,libSceProprietaryVoiceChatHelperPrx), as throwing stubs that callNotImplemented_nid_no_patch, like #734:sceAudioOut2UserGetSupportedAttributessceConvertKeycodeGetCharacterFromKeyboardDatasceHttpSetCookieRecvCallback,sceHttpSetRedirectCallback,sceHttpsGetSslError,sceHttpsSetSslVersionsce::Json::MemAllocator::notifyError,sce::Json::Value::clearsceNetResolverAbortsceNpCommerceDialogOpen2sceNpEntitlementAccessGetPftFlag7CxI50-xlCk,pMxXhNozUX8(unknown names,APS5_EXPORT)sceProprietaryVoiceChatHelper{Initialize,Terminate,SetVoiceChatState,GetVoiceChatUsageState}APS5_EXPORT); 7 imported by the eboot, 2 by itsEngine.Render.Core2.PlatformPs5.prxsceVoiceGetResourceInfo,sceVoiceResetPort,sceVoiceEnableChat,sceVoiceDisableChatsleep: implemented (sleeps the given seconds, returns 0)The names come from shadPS4's aerolib NID list (
src/core/aerolib/aerolib.inl); each was checked to hash to its NID withtools/nid_names.py. The pinned zecoxao list the tool downloads has none of them. All stubs exceptsleeptake no parameters; recorded under "Unknown function info" in TechnicalDebt. The module of each import was taken from its#lib#modsuffix and theDT_SCE_IMPORT_MODULEtable.The title's 5 other missing imports are added by open pull requests and are not repeated: #407/#545 (
cRILAEvn+9M), #518 (5tRaBjtdTzY,T4ucGB8CsnM), #734 (VgYczPGB5ss,O7dIZQrwVFY).Tested
edf90b16: full build,libstarget, 365/365 CTest.sceAudioOut2UserGetSupportedAttributes, after content mounting (with the equeue timer fix from #807 applied locally).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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T22:15:26Z.
Progress report (
c1241ad→df98b88)📉 System libraries: 86.34% (-0.91%, +1 implemented, +30 declared functions)
✅ 1 implemented
sleep_nid_postfix🆕 30 declared as stubs
sceAudioOut2UserGetSupportedAttributessceConvertKeycodeGetCharacterFromKeyboardDatasceHttpSetCookieRecvCallbacksceHttpSetRedirectCallbacksceHttpsGetSslErrorsceHttpsSetSslVersion_ZN3sce4Json12MemAllocator11notifyErrorEimPv_ZN3sce4Json5Value5clearEvsceNetResolverAbortsceNpCommerceDialogOpen2sceNpEntitlementAccessGetPftFlagsceNpPartnerUnknown_7CxI50_MxlCksceNpPartnerUnknown_pMxXhNozUX8sceProprietaryVoiceChatHelperGetVoiceChatUsageStatesceProprietaryVoiceChatHelperInitializesceProprietaryVoiceChatHelperSetVoiceChatStatesceProprietaryVoiceChatHelperTerminatescePsmlMfsr2Unknown_0GAw7SmkwIIscePsmlMfsr2Unknown_1ic5q_MkdOscscePsmlMfsr2Unknown_5z2gBlqxJ_P0scePsmlMfsr2Unknown_Kyy1baXgaVUscePsmlMfsr2Unknown_ZLL31lzzxr4scePsmlMfsr2Unknown_gMduXCLYrNgscePsmlMfsr2Unknown_lrJwpLjKXRcscePsmlMfsr2Unknown_m9JLPc3wOQwscePsmlMfsr2Unknown_o_PNM86gEwFEsceVoiceDisableChatsceVoiceEnableChatsceVoiceGetResourceInfosceVoiceResetPortImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T22:40:39Z.
Thanks for naming the 20 from the aerolib list, and for keeping every stub throwing; the single TechnicalDebt line reads much better too.
One question before I merge: are
libSceNpPartner001andlibSceProprietaryVoiceChatHelperPrxsystem modules, or does PPSA23566 ship them in itssce_modulefolder? If the title ships them, they should be loaded from there rather than added here (CONTRIBUTING: don't replace modules a title ships itself). If they're system modules, nothing else needs to change.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T22:43:39Z.
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.mdL33Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-06T22:46:36Z.
Both are system modules. PPSA23566 ships only
libc.prxandlibSceNpCppWebApi.prxinsce_module/(plusfakelib/with Agc, AgcDriver, Ampr and Psml, which the relinker doesn't use); neitherlibSceNpPartner001norlibSceProprietaryVoiceChatHelperPrxis anywhere in the package. The eboot names both only inDT_NEEDED, and it loads NpPartner001 at run time withsceSysmoduleLoadModule(0x11a), which is alreadylibSceNpPartner001inModuleTable.hpp.🤖 Addressed by Claude Code