cd /news/artificial-intelligence/sonic-adventure-japanese-release-hdr… · home › topics › artificial-intelligence › article
[ARTICLE · art-164521] src=reversedwithai.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Sonic Adventure (Japanese release, HDR-0001, version 1.007): Japanese Sonic Adventure: Claude/Codex-assisted Dreamcast matching decompilation and GCC port

A project called sonic-adventure has produced a 100% byte-matching decompilation of the Japanese Dreamcast release of Sonic Adventure (HDR-0001, version 1.007), with roughly 1 million lines of C written using Claude Code and Codex, according to the project's README. The matching build verifies every binary against the original disc files using Hitachi's SHC 5.0 compiler run via wibo on Linux, and the project adds a GCC 16.2 port incorporating Falco Girgis's sh4zam SH-4 math library that enables 16:9 widescreen, 60 fps, a frame counter, and movie and cutscene skips. The GCC port gives the game an alternative build path on modern toolchains, with builds run via 'make' or 'make gcc' on x86-64 Linux with GNU make 4.3 and Python 3.8.

by read1 min views10 publishedNov 1, 2026
Sonic Adventure (Japanese release, HDR-0001, version 1.007): Japanese Sonic Adventure: Claude/Codex-assisted Dreamcast matching decompilation and GCC port
Image: Reversedwithai (auto-discovered)

Evidence at a glance #

source evidence…

What was done #

The project provides a 100% byte-matching decompilation of the Japanese Dreamcast release of Sonic Adventure. It includes a port to GCC 16.2, enabling features like 16:9 aspect ratio and 60 fps, developed using Claude Code and Codex.

The project sonic-adventure is a complete matching decompilation of the Japanese retail release of Sonic Adventure (HDR-0001, version 1.007). The author reports that 100% of the game's code builds from source, byte for byte, matching the original binaries. The codebase consists of approximately 1 million lines of C, which the author states were written using Claude Code and Codex. The build process requires the original disc data and utilizes Hitachi's SHC 5.0 compiler, run via wibo on Linux. Additionally, the project includes a port to GCC 16.2, which allows the game to compile under a modern toolchain. This GCC port incorporates the sh4zam library by Falco Girgis for hand-optimized SH-4 math routines and introduces features such as 16:9 widescreen support, 60 fps, a frame counter, and skips for movies and cutscenes. The matching build process verifies every binary against the original disc files, while the GCC port provides an alternative build path for modern systems.

From the source #

Reproduce it #

Ensure the Japanese release of Sonic Adventure (HDR-0001, version 1.007) is available. Place the disc files (1ST_READ.BIN, .BIN, and SONICADV/) in the orig/ directory. Run 'make' to perform the matching build or 'make gcc' to build the GCC port on an x86-64 Linux system with GNU make 4.3 and Python 3.8 installed.

Community #

Ask a question, share what worked, or follow the next milestone.

Your library

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @sonic adventure 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/sonic-adventure-japa…] indexed:0 read:1min 2026-11-01 · —