<!-- Canonical page: https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp -->
Canonical page: https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp

# Started a matching decompilation of Shadow of the Colossus with Claude Code and Codex

> A PS2 classic partly rebuilt from matching C.

TheRealestNwah splits the PS2 game and its custom .XFF modules with splat, then uses Claude Code and Codex to match functions. The loader rebuilds byte for byte and thousands of module functions match.

## Key facts

- Target: Shadow of the Colossus (PS2, NTSC-U)
- Category: Games and mods
- Platform: PlayStation 2
- Models: Claude, Codex
- Tools: Claude Code, Codex, splat, decomp.me
- Outcome: Partial
- Checks: Source available: yes; Repro steps: yes; Real hardware: not reported; Verified by others: not reported
- Author: [TheRealestNwah](https://github.com/TheRealestNwah)
- Added: 2026-10-15
- Updated: 2026-10-15
- Sources reviewed: 2026-10-15 (editor)

## What was done

TheRealestNwah is decompiling Shadow of the Colossus (PS2, NTSC-U) with the goal of C source that rebuilds the original program byte for byte and later a native PC port. The README states the project is developed with Claude Code and OpenAI Codex, which contribute code, tests and documentation under the maintainer's direction; the maintainer decides what to do, tests and makes the release decisions. The repository holds no game binaries or assets.

## Splitting and matching

The loader executable splits with splat into 1,038 functions and rebuilds exactly. The game code lives in .XFF modules in a custom format that the project reverse engineered, then split into assembly that reassembles with every section and about 70,000 relocations matching. The compiler was identified as Sony ee-gcc 2.96 at -O2. Functions are then matched one at a time, with C in the source tree compiled and spliced into the modules while the full build still matches.

## Progress

The README table (generated by tools/progress.py, refreshed periodically, no date given) reports 6,241 of 7,867 game-module functions as matching C (79 percent, 79%): 3,196 of 3,930 in GAMECORE, 2,131 of 2,867 in MANAGER and 914 of 1,070 in KERNEL. The loader has 114 of 124 game-code functions matched (92 percent). The loader and all three .XFF modules rebuild byte for byte from assembly. The native PC port has not started, and the README says a playable build needs all three progress bars full.

You need your own PS2 disc dump of Shadow of the Colossus (NTSC-U, SCUS-97472); copy the loader SCUS_974.72 into iso/. Setup is documented for Windows: Python 3.11 or newer, the PS2DEV EE toolchain on PATH and a 32-bit libzstd.dll. Then run tools/check_baserom.py, configure.py and ninja check.

Sources:
- https://github.com/TheRealestNwah/sotc-decomp

## What the commit history shows

956 of 1,825 commits in the public repository credit an AI, over 31 days between 2026-10-12 and 2026-11-16. Credited: Claude Opus 5.5 (534), Claude Sonnet 5.5 (415), Claude (version not given) (7), Claude Haiku 5.5 (3).

Measured by this site from public git history.

## Questions about Shadow of the Colossus (PS2, NTSC-U)

### What is the Shadow of the Colossus (PS2, NTSC-U) project?

TheRealestNwah splits the PS2 game and its custom .XFF modules with splat, then uses Claude Code and Codex to match functions. The loader rebuilds byte for byte and thousands of module functions match. It is listed under Games and mods for PlayStation 2.

### Which AI model was used on Shadow of the Colossus (PS2, NTSC-U)?

The entry names Claude and Codex. The tools named alongside are Claude Code, Codex, splat and decomp.me.

### Did the AI reverse engineering of Shadow of the Colossus (PS2, NTSC-U) work?

Its author reports that it partly works. Checks recorded: source available yes, repro steps yes.

### Is the source code for Shadow of the Colossus (PS2, NTSC-U) available?

Yes. The code, patches or tooling are public: https://github.com/TheRealestNwah/sotc-decomp. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/TheRealestNwah/sotc-decomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: TheRealestNwah (2026). Started a matching decompilation of Shadow of the Colossus with Claude Code and Codex. Reversed with AI. https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp
