Spyro the Dragon PS1 decomp reports 99.35% byte-matched

open-spyro, a byte-for-byte decompilation of the PS1 NTSC release of Spyro the Dragon, shows 99.35% matched code on its README badge.

PS1 → PS1 · Decompilation

0xKova17 Oct 2026, 12:14· scout:gh

The open-spyro project says its PS1 decompilation of Spyro the Dragon (NTSC, SCUS_942.28) is 99.35% matched. That number is from the README badge. It measures the share of code bytes written as C that rebuilds to the same bytes as the disc.

The rule is strict. Every commit has to rebuild SCUS_942.28, all 37 overlays and WAD.WAD byte for byte, and the game has to stay runnable in an emulator. Functions that don’t match yet link in as the original assembly. So the project never breaks the game while the C code grows.

The README warns against expecting pretty code in phase 1. That code is written to match exactly, and cleanup waits for phase 2. Phase 2 cleans it up once the match hits about 100%, without breaking the rebuild. The remaining 0.65% is the open part.

The toolchain is gcc 2.7.2 built into a Docker image, with maspsx as the assembler. splat and spimdisasm handle disassembly, and m2c is the first pass from assembly to C.

To try it, you need your own disc. The repo ships no game data.

  1. Install Docker and uv.
  2. Run make setup for the toolchain image, then make setup-iso for the disc tools.
  3. Put your .cue and .bin into iso/.
  4. Run make extract, then make verify to check the SHA-1s.
  5. Run make play to launch it in DuckStation. On macOS it expects the app at /Applications/DuckStation.app.

The repo has six stars and we only have the README, which cuts off after the disc section. We didn’t build it. The publish date isn’t shown, so treat 99.35% as the figure on the page at the time of writing.

Sources: github.com