Recomp / Games / PlayStation 2

GT4 Decomp

AI-assisted matching decompilation of the Gran Turismo 4 engine for the PS2. Contains no game data.

Matching decomp AI-assisted wip · 93.04%

Get new releases by RSS

More like this: 3S Decomp · Ace Combat 5 static recompilation · Battle Stadium D.O.N PC port

Stars145+7 ★ this week
Commits, 30 days299
Latest release—
Last pushNov 28, 2026
Matched93.04%+3.98 pts in 30 days

GitHub figures as of 2026-11-28, refreshed daily.

About GT4 Decomp

GT4 Decomp is a matching decompilation of the Gran Turismo 4 engine for the PlayStation 2. The goal is C++ source that, built with the original Sony ee-gcc 2.96 compiler, produces exactly the same instructions as the game's main executable, CORE.GT4. Most of Gran Turismo 4's game logic sits in Adhoc scripts, which the separate OpenAdhoc project already recreates; this project covers the executable that runs those scripts. The maintainer is open about the method: AI agents (Claude) driving the project's tools did most of the matching, with each function checked by the compiler and a comparison step rather than by eye.

It is not something you can play. You need your own copy of the NTSC-U release (SCUS-97328, version 1.01) to extract the executable, plus Linux or WSL and Python to run the build, which then checks that it reproduces your executable byte for byte. No game data is included.

By the README's November 2026 figures, 30,245 of 30,875 functions match (98 percent), covering about 89.6 percent of the code bytes, and the full build reproduces the original executable, with unmatched parts assembled from a disassembly of your own copy. Around 29 percent of the initialised data is also rebuilt from source. The repository includes written notes on the engine's subsystems, its 509 classes and how C++ hooks into the script engine. There are no releases, and the few open issues are individual functions still to match or rename.

A long-term native port exists as a separate project, GT4 Native, which the README describes as experimental and not playable. A sister Tourist Trophy decompilation shares matched functions with this one. No other Gran Turismo 4 projects are listed on this site.

Written by Recomp from the project's README, releases and issue tracker, checked 2026-11-13.

Decomp progress

93%30k of 31k functions matched · via decomp.dev
0%25%50%75%100%Oct 9, 2026Nov 28, 2026
Matched code over time, 28 recorded changes, version SCUS-97328.

Linked (fully built from source): 92.87%. Figure from decomp.dev, measured Nov 28, 2026, checked 2026-11-28. This project opted into public progress tracking. How this works

Facts

Original
Gran Turismo 4 (2004)
Platform
PlayStation 2
Method
Matching decomp
Provenance
AI-assisted · CLAUDE.md in repo root what this means
Status
wip · 93.04% matched
Licence
MIT
Team
gustavocanepa
Started
2026-10
Needs the original
Yes: you supply your own legally obtained copy

How to get it legally

This project ships code only. Build or download it from the official repository, then supply data from a copy of Gran Turismo 4 you own. Recomp never links to ROMs, discs or game data.

This project was decompiled by gustavocanepa. Facts last checked 2026-10-14. Suggest a correction

Sources

Something wrong or out of date? Send a correction.

Recomp is free and ad-free. Support it with a shirt or stickers.

+1 ★ this week

PlayStation 2 · ★ 291

3S Decomp

Street Fighter III: 3rd Strike (PS2)

Decompilation of Street Fighter III: 3rd Strike for PlayStation 2, aiming to recreate source that could allow ports.

Decompilation Not stated
+9 ★ this week

PlayStation 2 · 2004 · ★ 161

Ace Combat 5 static recompilation

Ace Combat 5: The Unsung War

Windows port of Ace Combat 5 where a Python tool translates every function of the PS2 main executable to native code, with native rendering.

Static recomp Not stated
+2 ★ this week

PlayStation 2 · 2006 · ★ 25

Battle Stadium D.O.N PC port

Battle Stadium D.O.N

Native Linux and Windows port of the PS2 crossover fighter, translated with PS2Recomp and drawn through PCSX2's GS renderer. Releases carry the runtime and a Clang toolchain; the game code is generated and compiled on the player's machine from their own disc image.

Static recomp AI-assisted

PlayStation 2 · 2005 · ★ 0

Bokura no Kazoku decomp

Bokura no Kazoku

Matching decompilation of the Japanese PS2 family life sim Bokura no Kazoku, with C++ classes recovered from vtables and RTTI.

50%
Matching decomp Not stated

Nintendo 64 · 1998 · ★ 65

Bomberman Hero Decomp

Bomberman Hero (US)

Decompilation of the US release of Bomberman Hero.

Decompilation Not stated

J2ME phones · 2008 · ★ 54

Bounce Tales Decompilation

Bounce Tales

Decompilation of Rovio's 2008 J2ME game Bounce Tales; idle since 2023.

Decompilation Not stated