fix(exports): export the calls PPSA07411 imports #3773
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3773"
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-11T16:39:27Z.
What
Resident Evil 4 (PPSA07411) fails to load because 12 imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:
libSceSsl(6)sceSslCreateConnection,sceSslDeleteConnection,sceSslEnableVerifyOption,sceSslConnect,sceSslRead,sceSslWritelibSceJson2(4)sce::Json::Value::setElementAccessFailureHandler,setSpecialFloatHandler,setTypeMismatchHandler,operator boollibSceConvertKeycode(1)sceConvertKeycodeGetCharacterlibSceNpSessionSignaling(1)sceNpSessionSignalingGetGroupFromSessionIdNames come from the aerolib NID list (
tools/nid_names.py). The title's other missing imports are not in this PR:sce::Json::InitParameter2::setSpecialFloatFormatTypeis added by #3737 (and #3575), and the PS VR2 calls are split between #3537 and the follow-up #4044. #3537 addssceHmd2GazeGetResult,sceHmd2Reprojection{Disable,Enable}Mirroring,...GetMirroring{DisplayBufferSizeAlign,WorkMemorySizeAlign},...SetMirroringOption,...SetParam,...SetTiming,...Terminate,scePadVrControllerGetTriggerEffectState,...SetTriggerEffect(s),sceVrTracker2Finalize,...GetPlayAreaOrientedBoundingBoxand...LocateCoordinateSystem; #4044 declares the six RE4 imports that #3537 does not have. An earlier version of this description said #3537 contains all of them; that was wrong.Tested
main(a11c8f7f7):ctest -R "guest_ppsa07411_exports|guest_ssl|guest_json"passes;tools/check_conventions.py --base upstream/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-11T16:39:51Z.
Progress report (
a11c8f7→f854e52)📉 System libraries: 85.51% (-0.3%, +12 declared functions)
🆕 12 declared as stubs
sceConvertKeycodeGetCharacter_ZN3sce4Json5Value22setSpecialFloatHandlerEPFKS1_NS0_12FunctionTypeEdPS2_PvPbES5__ZN3sce4Json5Value22setTypeMismatchHandlerEPFRKS1_NS0_9ValueTypeEPS2_S5_PvES6__ZN3sce4Json5Value30setElementAccessFailureHandlerEPFviPKNS0_6StringEPKmPKS1_S8_PvES9__ZNK3sce4Json5ValuecvbEvsceNpSessionSignalingGetGroupFromSessionIdsceSslConnectsceSslCreateConnectionsceSslDeleteConnectionsceSslEnableVerifyOptionsceSslReadsceSslWriteImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T16:53:43Z.
Update: removed
GuestPPSA07411Exports.cppand its CMake entry, since CONTRIBUTING asks for no tests that only check that a symbol is exported. The description's mention of the test no longer applies; the TechnicalDebt entry stays. The four libraries (libSceSsl,libSceJson2,libSceConvertKeycode,libSceNpSessionSignaling) build, andcheck_conventions.pypasses.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:59:46Z.
Checked the 12 names against the aerolib NID list, no overlap with open PRs on these exports, scoped build and ctest (22/22) on current main, conventions check green; merging.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T22:08:29Z.
Correction to this description: it said the PS VR2 imports of Resident Evil 4 are already added by #3537. That was wrong. #3537 adds only part of that family (
sceHmd2GazeGetResult, thesceHmd2Reprojection*mirroring/param/timing/terminate calls,scePadVrControllerGetTriggerEffectState,scePadVrControllerSetTriggerEffect(s),sceVrTracker2Finalize,GetPlayAreaOrientedBoundingBox,LocateCoordinateSystem). Six imports of the title stay unexported with #3537 alone:sceHmd2GetDeviceInformationByHandle,sceHmd2Terminate,scePadVrControllerSetVibration,scePadVrControllerSetVibrationMode,scePadVrControllerReadCombinedStateandsceVrTracker2ResetLocalCoordinate. They are declared in the follow-up #4044. I found it by running the title's import audit on a stack of main with #3537, #3737, #3791, #3517, #3604 and #3707. The description above is updated.AI-assisted (Claude Code).