Shin Megami Tensei: Persona 4 Decompilation
DecompilationActive
Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
Based on Persona 4
Original game imageAbout
A work-in-progress matching decompilation of Shin Megami Tensei: Persona 4 for the PlayStation 2 (USA v1.00). The goal is readable C that compiles to the original machine code, with unfinished functions still using retail assembly so the build can reproduce the executable. It is not a PC port.
Getting started
It is a build project: you need your own USA disc image, Python, GNU MIPS binutils and the MWCCPS2 and ee-gcc compilers, then you run the setup, split and build steps to rebuild the executable and image and check their hashes.
Known issues & limitations
- This is not a PC port.
What you need to run it
Status & roadmap
- The last committed report lists 9,593 of 13,102 functions as byte-identical, and notes that a byte match does not mean the source is finished.
Additional notes
- Related
- Persona 3 FES shares engine code with it, and a Digital Devil Saga decompilation covers earlier games in the same engine family.
FAQ
- What is Shin Megami Tensei: Persona 4 Decompilation?
- Shin Megami Tensei: Persona 4 Decompilation is an open-source decompilation of Persona 4. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported. The original game ran on PlayStation 2.
- Do I need the original game files to run Shin Megami Tensei: Persona 4 Decompilation?
- Yes. The project does not include the original game's assets, so you need your own copy.
