Case study
The Phantom Menace: a PlayStation static recompilation and matching decompilation
The Phantom Menace project runs a static recompilation of the USA Rev 1 PlayStation game natively on desktop and M5Stack Tab5. Its recompiler translates MIPS code into C at build time and runs it with a PlayStation hardware runtime. A matching decompilation aims to replace the generated code function by function; the author reports native gameplay, while the initial handwritten C functions remain nonmatching.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 1
- Last commit
- 2026-10-27
- Language
- C
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a demo observed; no download method found.
- Checked
- 2026-11-09
Requirements & limits
- Prerequisites: A user-owned USA Rev 1 PlayStation disc image and SLUS_008.84 executable are required.
- Prerequisites: The matching build uses PSY-Q 4.3 GCC 2.8.1 and associated MIPS tooling.
- Limits: The author reports that the initial hand-written C functions remain nonmatching.
- License: MIT license.
Cite
BibTeX
@misc{phantom-menace-psx-recomp-case,
title = {{The Phantom Menace: a PlayStation static recompilation and matching decompilation}},
howpublished = {\url{https://github.com/esp-cpp/tpm-decomp}},
url = {https://github.com/esp-cpp/tpm-decomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/phantom-menace-psx-recomp-case/}}
}Plain text
The Phantom Menace: a PlayStation static recompilation and matching decompilation. https://github.com/esp-cpp/tpm-decomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/phantom-menace-psx-recomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · esp-cpp/tpm-decomp · Revision d51af21
- recomp/README.md GitHub · esp-cpp/tpm-decomp · Revision d51af21
More in Games
- The Simpsons Arcade Game: recompiling the PS3 arcade wrapper · Case study
- The Simpsons Arcade: an Xbox 360 static recompilation · Case study
- The Simpsons Game: an Xbox 360 static recompilation for Windows · Case study
- The Simpsons Wrestling Recompiled: a psxrecomp PlayStation static recompilation · Case study
- The Sims 2: statically recompiling the original Xbox game · Case study
- The Two Towers Recompiled: an original Xbox static-recompilation port · Case study