Tool
PS2Recomp
Experimental static recompiler that translates MIPS R5900 code from PlayStation 2 ELF executables into C++ and links it with a bundled runtime. ps2xAnalyzer or a Ghidra export script produces a per-game TOML of functions, stubs, skips and instruction patches; ps2xRecomp emits a literal instruction-by-instruction translation; ps2xRuntime and ps2xIOP supply guest memory, syscall dispatch, IOP module execution with HLE fallbacks and partial, largely stubbed GS/VU hardware. Getting a game to run remains per-game porting work.
- Targets
- Binary · Game
- Category
- Game analysis tools
- Relationship
- Foundation tool
- Sources reviewed
- Evidence level
- L2 reproduction without a usable environment
- Stars
- 4.0k
- Last commit
- 2026-11-24
- Language
- C++
- License (GitHub)
- GPL-3.0
GitHub data as of 2026-12-05
Evidence
- Observed
- Code and documentation observed; no download method or demo found.
- Checked
- 2026-11-07
Requirements & limits
- Building needs CMake 3.20+ and a C++20 compiler; the README says it is tested mainly with MSVC, and some vector paths need SSE4/AVX host support. CMake fetches ELFIO, toml11, fmt, libdwarf and raylib at configure time, plus Dear ImGui when the debug UI is enabled. GitHub lists five source-only prereleases, v0.0 to v0.4 (the latest from 2026-04-05), with no binaries attached; the reviewed main commit (2026-10-14) is 36 commits after v0.4.
- The user supplies the game ELF; the project ships no game code, and its project-description guidance names the original release as one the user must own. The preferred workflow exports functions from Ghidra with the bundled ExportPS2Functions.java script, while ps2_analyzer suits ELFs with debug symbols. Stub address bindings and game overrides target one exact ELF build and are not portable across games, regions or builds.
- The README lists very poor VU and GS performance and partial, often stubbed hardware emulation as limitations. The tree also holds Android and PS Vita build directories and a ps2xStudio front end.
- GPL-3.0; fetched dependencies keep their own licenses, and the README cites PCSX2 as a runtime reference.
Cite
BibTeX
@misc{ps2recomp,
title = {{PS2Recomp}},
howpublished = {\url{https://github.com/ran-j/PS2Recomp}},
url = {https://github.com/ran-j/PS2Recomp},
urldate = {2026-10-18},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/ps2recomp/}}
}Plain text
PS2Recomp. https://github.com/ran-j/PS2Recomp (accessed 2026-10-18). Awesome REA entry: https://awesomerea.org/resources/ps2recomp/
Useful? Star Awesome REA on GitHub4.0k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · ran-j/PS2Recomp · Revision eb8688b
- LICENSE GitHub · ran-j/PS2Recomp · Revision eb8688b
- ps2xRecomp/CMakeLists.txt GitHub · ran-j/PS2Recomp · Revision eb8688b
- ps2xRuntime/CMakeLists.txt GitHub · ran-j/PS2Recomp · Revision eb8688b
- ps2xRecomp/tools/ghidra/ExportPS2Functions.java GitHub · ran-j/PS2Recomp · Revision eb8688b
- https://github.com/ran-j/PS2Recomp/releases/tag/v0.4
- https://github.com/ran-j/PS2Recomp/compare/v0.4...eb8688b2fd191129f103a39543002c005b33409c
More in Games
- Xenosaga I Decomp Compatibility Kit · Tool
- GB Recompiled · Tool
- dtk-template · Tool
- N64ModernRuntime · Tool
- REDscript · Tool
- Spice86 · Tool