<!-- Canonical page: https://reversedwithai.com/p/whirl-tour-ps2-5f705be7 -->
Canonical page: https://reversedwithai.com/p/whirl-tour-ps2-5f705be7

# Decompiled Whirl Tour (PS2) into C++ source code with Claude and Gemini

> A from-scratch C++ decompilation of the US PS2 release of Whirl Tour (SLUS_204.89).

This project aims to produce byte-identical C++ source code for the PS2 game Whirl Tour. It uses automated workflows with Claude and Gemini to match functions against the original binary, currently achieving 5.2% completion of the .text section.

## Key facts

- Target: Whirl Tour (PS2)
- Category: Games and mods
- Platform: PS2
- Models: Claude, Gemini
- Tools: ee-gcc 2.95.3, ps2eeas.exe, splat, m2c
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: ManoloEightBits
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project is a reverse-engineering effort to create clean C++ source code for the US PS2 release of Whirl Tour (SLUS_204.89). The goal is a byte-identical binary, verified against the original executable. The author reports that the target binary is an ELF32 MIPS R5900 executable, stripped of symbols but compiled with C++ RTTI enabled. The build environment uses SN Systems ProDG ee-gcc 2.95.3 with specific compiler flags including -O2, -G0, -fno-exceptions, and -ffast-math. The project utilizes a custom verification suite to ensure matches. The author documents the use of AI agents, specifically Claude Opus 5.5 and Gemini, to assist in matching functions. These agents operate through documented workflows, including m2c draft conversion and automated diff testing. As of late 2026, the project has matched approximately 5.2% of the .text section, including significant portions of the game logic, AI, and physics engine. The repository contains no proprietary assets; users must provide their own disc image. The project remains a work in progress, with many functions still requiring manual intervention or matching. [Whirl Tour (PS2) decompilation](https://raw.githubusercontent.com/manoloeightbits/whirl-tour-ps2-decomp/HEAD/README.md)

## Human work and limitations

The project uses a combination of manual reverse engineering and AI-assisted workflows. The author explicitly credits Claude Opus 5.5 in commit messages. The progress is tracked via automated scripts that generate a table in the README.

## Reproduce it

git config core.hooksPath .githooks; export WHIRL_COMPILERS=<dir with ee-gcc2.95.3-114 and ee-gcc2.95.2-273a>; export WHIRL_SLUS=<path to your extracted SLUS_204.89>; python3 tools/check_all.py

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/manoloeightbits/whirl-tour-ps2-decomp/commits.atom))

Excerpts checked against the source on 2026-11-26.

## Sources

- [Repository](https://github.com/ManoloEightBits/whirl-tour-ps2-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: ManoloEightBits (2026). Decompiled Whirl Tour (PS2) into C++ source code with Claude and Gemini. Reversed with AI. https://reversedwithai.com/p/whirl-tour-ps2-5f705be7
