feat(libs): declare the PS VR2 exports PPSA15878 imports #3537
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3537"
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 hugodearaujo on 2026-10-11T12:39:57Z.
What
Propagation: Paradise Hotel (PPSA15878 01.000.000) does not load on
main:tools/import_audit.pylists 15 absent imports, all PS VR2. This PR declares them without parameters as throwing stubs, as #1347 did for PPSA01317, and adds them to TechnicalDebt next to the PPSA01317 entry. Names come from the aerolib NID list (tools/nid_names.py). The title also importsscePadVrControllerReadState, which #3110 already added.libSceHmd2(9)sceHmd2GazeGetResult;sceHmd2Reprojection{DisableMirroring, EnableMirroring, GetMirroringDisplayBufferSizeAlign, GetMirroringWorkMemorySizeAlign, SetMirroringOption, SetParam, SetTiming, Terminate}libSceVrTracker2(3)sceVrTracker2Finalize,sceVrTracker2GetPlayAreaOrientedBoundingBox,sceVrTracker2LocateCoordinateSystemlibScePad(3)scePadVrController{GetTriggerEffectState, SetTriggerEffect, SetTriggerEffects}With them the title loads, sees
sceHmd2Initializefail (Instance creation failed) and falls back from OpenXR. It never calls any of the 15. It then stops atsceSysmoduleUnloadModule: invalid id 0, which #3538 fixes.Tested
check_conventions.pyandcheck_test_registration.pypass.guest_kernel_sys,windows_exceptionsandguest_filesystemexit with0xc0000409the same way on currentmainin this VM.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-11T12:40:18Z.
Progress report (
a11c8f7→bdf67fc)📉 System libraries: 85.43% (-0.38%, +15 declared functions)
🆕 15 declared as stubs
sceHmd2GazeGetResultsceHmd2ReprojectionDisableMirroringsceHmd2ReprojectionEnableMirroringsceHmd2ReprojectionGetMirroringDisplayBufferSizeAlignsceHmd2ReprojectionGetMirroringWorkMemorySizeAlignsceHmd2ReprojectionSetMirroringOptionsceHmd2ReprojectionSetParamsceHmd2ReprojectionSetTimingsceHmd2ReprojectionTerminatescePadVrControllerGetTriggerEffectStatescePadVrControllerSetTriggerEffectscePadVrControllerSetTriggerEffectssceVrTracker2FinalizesceVrTracker2GetPlayAreaOrientedBoundingBoxsceVrTracker2LocateCoordinateSystemImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T12:50:23Z.
The current CI failures appear unrelated to this patch: the checks use base
1e8fff68c, where3rdparty/imguiis an orphan gitlink without a.gitmodulesURL.actions/checkoutfails during cleanup withfatal: No url found for submodule path ...before compilation or convention checking. The same failure reproduces on PR #3535 and was fixed on main in #3511; rebasing onto the fixed base and rerunning checks should distinguish this environmental failure from any patch issue.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:28:06Z.
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/libSceHmd2/Export.cppL23-26, L48-49, L53-54, L58-59, L93-98docs/dev/TechnicalDebt.mdL73-74Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:32:16Z.
Checked the 15 names against the aerolib NID list (all present, including
snYs7Nf-RKk), build and scoped ctest (libSceHmd2, libScePad, libs: 21/21), no NID aliases, TechnicalDebt line in "Unknown function info"; all stubs throw. Merging.Note: #3820 touches the same
libSceHmd2/Export.cppand TechnicalDebt regions (different exports), so whichever lands second needs a rebase.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T22:50:06Z.
Test from Resident Evil 4 (PPSA07411), Windows, MinGW GCC 15.2.0. The title's import audit (
tools/import_audit.py) onmainplus this PR lists none of the names this PR adds (sceHmd2GazeGetResult, thesceHmd2Reprojection*mirroring/param/timing/terminate calls,scePadVrControllerGetTriggerEffectState,scePadVrControllerSetTriggerEffect(s),sceVrTracker2Finalize,sceVrTracker2GetPlayAreaOrientedBoundingBox,sceVrTracker2LocateCoordinateSystem) as absent any more. Without them the title does not get past the loader.Six more PS VR2 imports of the same title are not in this PR:
sceHmd2GetDeviceInformationByHandle,sceHmd2GetFieldOfView,sceHmd2Terminate,scePadVrControllerSetVibration,scePadVrControllerSetVibrationMode,scePadVrControllerReadCombinedStateandsceVrTracker2ResetLocalCoordinate(seven; #4044). The loader stop on a stack with #3537 but without #4044 wasunresolved ELF import E+b+c1Idyew(sceHmd2GetFieldOfView). With all the PRs below applied, RE4 runs 120 s and stops in graphics (scan conversion mode is unsupported (register 0x292 = 0x00000003), known). Not tested: the title with this PR alone.AI-assisted (Claude Code).