Repository navigation
Releases
v1.0.0 — decompilation complete
Byte-exact matching decompilation of Vandal Hearts (Japan, SLPM-86007).
All 88 translation units are decompiled to C. A clean build reproduces the retail executable
bit-for-bit:
53849277b08184863bd45f10925995a6 SLPM_860.07
53849277b08184863bd45f10925995a6 build/SLPM_860.07
The only assembly remaining in the two program blocks is the statically linked Sony PsyQ SDK
(149 library functions). make check is the sole correctness signal.
What you need
Nothing copyrighted or proprietary is distributed here. Three inputs come from your own copy and
your own toolchain fetch — see What you must supply:
| input | notes |
|---|---|
SLPM_860.07 |
the base executable from your own legally-owned disc |
| Sony PsyQ SDK headers | into include/PsyQ/ |
| toolchain | old-gcc cc1 (v2.6.3 + v2.5.7) and maspsx |
Everything disc-derived is regenerated locally from the binary you supply: assets/*.bin are carved
by splat, assets/*.inc by tools/gen_assets_inc.py.
Relationship to the North American decompilation
This is an independent project. HalmyLyseas/VandalHearts-PcPort
was used as a reference corpus while the work was done — it informed naming and structure, and every
translation unit was then re-proven against SLPM_860.07 by md5 — but none of it is carried over:
no US sources, symbol maps, binaries or comparison tooling. To compare the two releases, clone that
project separately and diff against this one.
Notable Japanese-release findings
Objf584ships as an empty stub in the US build; the Japanese build keeps a 1342-instruction
debug scene selector (paged event / world-map / town jump menus).states/debug_menuimplements the state handlers the US build deleted (854 vs 473 instructions).- The recurring theme throughout: the Japanese build omits defensive null-checks and redundant
initializers, which is what most of the code differences reduce to.