{
  "api_version": "1.0.0",
  "slug": "shadow-of-the-colossus-matching-decomp",
  "url": "https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp",
  "markdown_url": "https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp.md",
  "json_url": "https://reversedwithai.com/p/shadow-of-the-colossus-matching-decomp.json",
  "title": "Started a matching decompilation of Shadow of the Colossus with Claude Code and Codex",
  "tagline": "A PS2 classic partly rebuilt from matching C.",
  "summary": "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.",
  "target": {
    "name": "Shadow of the Colossus (PS2, NTSC-U)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "PlayStation 2",
  "models": [
    "Claude",
    "Codex"
  ],
  "tools": [
    "Claude Code",
    "Codex",
    "splat",
    "decomp.me"
  ],
  "outcome": "partial",
  "outcome_label": "Partial",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "TheRealestNwah",
    "url": "https://github.com/TheRealestNwah"
  },
  "sources": {
    "repository": "https://github.com/TheRealestNwah/sotc-decomp",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/TheRealestNwah/sotc-decomp"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/shadow-of-the-colossus-matching-decomp.webp",
    "credit": "Image: GitHub (TheRealestNwah/sotc-decomp)"
  },
  "commit_history": {
    "commits": 1825,
    "ai_commits": 956,
    "ai_days": 31,
    "first_ai_commit": "2026-10-12",
    "last_ai_commit": "2026-11-16",
    "credited_models": [
      {
        "name": "Claude Opus 5.5",
        "commits": 534
      },
      {
        "name": "Claude Sonnet 5.5",
        "commits": 415
      },
      {
        "name": "Claude (version not given)",
        "commits": 7
      },
      {
        "name": "Claude Haiku 5.5",
        "commits": 3
      }
    ]
  },
  "added_at": "2026-10-15T04:13:19.169653+00:00",
  "updated_at": "2026-10-15T04:13:19.169653+00:00",
  "sources_reviewed_at": "2026-10-15T04:13:19.169653+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "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.\n\n## Splitting and matching\n\nThe 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.\n\n## Progress\n\nThe 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.\n\nYou 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.\n\nSources:\n- https://github.com/TheRealestNwah/sotc-decomp",
  "ai_use_excerpts": null
}
