Gran Turismo 4 (PC port experiment) · Research · Source available

Began an experimental native PC port of Gran Turismo 4 from its matching decompilation

Can I play it?
Research
Original game
PC
Runs on
Windows, Linux, macOS
You need
Your own copy of the game. I never link game files.
What it is
Matching decompilation
View JSON
Gran Turismo 4 (PC port experiment): Experimental, not playable.
Image: GitHub (gustavocanepa/gt4-native)

Who did what

8 of 147 commits credit an AI: 8 Claude Sonnet 5.5. They were made on 2 separate days between 17 Oct 2026 and 18 Oct 2026.

Counted from the public git history on 16 Nov 2026. How

What was done

GT4 Native is an early experiment to build a PC version from reconstructed source. It is not playable, and its commits show Claude as co-author.

GT4 Native is an experimental attempt by Gustavo Canepa to build a native PC version of Gran Turismo 4 from the source reconstructed in his GT4 decompilation, instead of using emulation. It is not a playable port; the README calls it an early bootstrap and says the product will contain no PS2 emulation and no translated game code. Commits list Claude as co-author, and some pull requests come from Codex branches. The README does not say what the AI did.

Matching PS2 code does not run on a modern PC by itself, so the repository builds the groundwork: checked models of PS2 memory and pointers (checked guest memory access), virtual call handling, a MIPS ELF parser, and a pipeline that imports a pinned revision of the gt4-decomp decompilation and tests which files compile and link on a host compiler. Fifteen original GT4 functions are selected, and thirteen run over checked PS2-format memory. There are sixteen CTest targets, including three integration tests on original GT4 code. A successful import, compile or link does not mean a function is integrated, ABI-compatible or verified.

The repository has CI on Linux, Windows and macOS. You need CMake 3.21 or newer and a C++20 compiler; the repository ships no game data and users must supply their own where required. Configure, build and run ctest as the README shows, then run gt4_native with --object-demo, a demo that uses a synthetic object and needs no game files.

Sources:

  • https://github.com/gustavocanepa/gt4-native

Questions about Gran Turismo 4 (PC port experiment)

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 17 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week