fix(exports): export the calls PPSA30601 imports #3814
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3814"
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 xXPBSXx on 2026-10-11T17:02:48Z.
What
Resonance: A Plague Tale Legacy (PPSA30601) fails to load because nine imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:
libSceJson2(6)sce::Json::Object::Pair::Pair(String const&, Value const&),Object::Pair::~Pair,Object::insert(Pair const&),Array::iterator::operator++(int),Array::iterator::operator=,Array::iterator::iterator()libSceAmprsceAmprAmmGetUsageStatsDatalibSceMousesceMouseResetAbsolutePositionlibSceSaveData.nativesceSaveDataDirNameSearch2Names come from the aerolib NID list (
tools/nid_names.py). No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. The title's other three missing imports aresceAcmBatchJobPriority(#3799),sceConvertKeycodeGetCharacter(#3773) and thesce::Json::Arraycopy constructor (#3570).Tested
main(a11c8f7f7): the four libraries build;tools/check_conventions.py --base upstream/mainpasses. I searched the open PRs for these names (titles, and the diffs of the PRs that touch these libraries) and none declares them.--module-dir, and with all 12 imports present I have not run it.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-11T17:03:09Z.
Progress report (
bab7b32→35a6df8)📉 System libraries: 86.25% (-0.22%, +9 declared functions)
🆕 9 declared as stubs
sceAmprAmmGetUsageStatsData_ZN3sce4Json5Array8iteratorC1Ev_ZN3sce4Json5Array8iteratoraSERKS2__ZN3sce4Json5Array8iteratorppEi_ZN3sce4Json6Object4PairC1ERKNS0_6StringERKNS0_5ValueE_ZN3sce4Json6Object4PairD1Ev_ZN3sce4Json6Object6insertERKNS1_4PairEsceMouseResetAbsolutePositionsceSaveDataDirNameSearch2Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:17:30Z.
Conflicts with main in
core/libs/prx/libSceJson2/Export.cpp(after #3570) anddocs/dev/TechnicalDebt.md; please rebase.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T00:34:42Z.
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)core/libs/prx/libSceSaveData.native/Export.cppL805-806core/libs/prx/libSceSaveData.native/Export.cppL805core/libs/prx/libSceMouse/Export.cppL24core/libs/prx/libSceSaveData.native/Export.cppL805Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-12T03:24:57Z.
Second title behind this export, which may help it land: Trails in the Sky 2nd Chapter (PPSA35169, 01.003.000) also imports
KqiWXLgCVe0=sceAmprAmmGetUsageStatsDatafromlibSceAmpr.prx, and it stops on that NID once thelibkernelpair in #4214 is recorded — measured on the relinked title, not inferred: #4214 (comment). With the set of imports that title is missing present — this one among them — it clears that wall and reaches its Vulkan device, swapchain, save data and 16 game threads (same run).One disclosure, so nobody reviews the same symbol three times: I opened #4251 with a copy of this stub before seeing this PR, and #4220 carries the same export as well. I have narrowed #4251 to the one export of that set no other PR carries (
touqMEt6qXQ=sceAmprAmmSetPageTablePoolOccupancyNotificationThreshold), sosceAmprAmmGetUsageStatsDatastays with this PR, #4207 and #4220.Written with AI assistance.