Generated coverPS2 static recompiler
PS2Recomp: Static recompiler and host runtime for PS2 ELFs
Category: Developer & security tools · Type: Reconstruction
Target: PlayStation 2 ELF static recomp and host runtime · C++
Open-source toolkit that statically recompiles PlayStation 2 ELF binaries into C++ and runs the generated code on a host runtime: the Emotion Engine’s MIPS R5900 (plus MMI/VU0 macros) is translated ahead of time, with a separate IOP (R3000A / IRX) path and HLE stubs. No game binaries, firmware or other Sony material are included—port authors supply legally obtained PS2 ELFs.
Relationship
Independent reimplementation
Evidence scope
Upstream README describes an experimental static recompiler with modules ps2xAnalyzer, ps2xRecomp, ps2xRuntime and ps2xIOP, a recommended Ghidra export workflow for retail or stripped ELFs, and documented limits (VU/GS performance and partial hardware emulation). The repository presents it as a tool for making native PC ports. No REA involvement is claimed.
Know before you try
The README describes VU and GS performance as very bad, and hardware emulation as partial with many paths stubbed. Build notes say it is tested mainly with MSVC and that some vector paths need SSE4/AVX. Playability of any given game port built on this toolkit is upstream’s claim. We have not independently tested it.
Status
Active (default branch main); README labels the project experimental
License
GPL-3.0
GPL-3.0 covers this project. Sony firmware, encryption keys and game data are not included; users must supply their own legally obtained PS2 ELF or game files. The README notes inspiration from N64Recomp and use of ELFIO, toml11, fmt and PCSX2 as a runtime reference; those components keep their own terms.
Source checked