feat(tools): prepare game test directories with bundled modules #450
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/450"
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 Wessamdevil on 2026-10-03T10:51:45Z.
What
Preparing a relinked title currently requires manually assembling resources, host PRX libraries, MinGW runtime DLLs and bundled ELF modules. Extra startup dependencies outside
sce_module/also need staging beside the main executable before conversion.Add a Python standard-library preparation tool that creates a separate test directory, checks input ELF and host-library headers, records the relinker command and failure log, and copies resources and runtime libraries after successful conversion. Repeatable
--module [NAME=]ELFarguments stage additional modules under their imported filenames without changing the inputs. Existing output directories, unsafe module filenames and filename collisions are rejected. Add 14 integration cases, CTest registration and usage documentation.Tested
15.2.0posix-14.0.0-ucrt-r7), CMake 3.31.10 and Ninja. Full build and thelibstarget succeed;ANYPS5_ENABLE_SPIRV_TOOLS=ON.agc_shader_memoryfails SPIR-V validation (OpSelectvector sizes differ), andagc_driver_flipcrashes on invalid flip submissions. Both reproduce after the final tool changes.PPSA09477, version01.003.000): main executable and four bundled ELF modules convert. SupplyingParty.prx=<decrypted prx/party.prx>andlibPlayFabMultiplayer.prxclears the initial missingParty.prxstartup failure. All startup libraries then load; execution stops at unresolved NIDgbMKV+8Enuo(sceNgs2PanGetVolumeMatrix). No menu or gameplay verified. No bypass flags or API stubs were introduced.Checklist
main; no other open PR implements this preparation toolPull request closed