<!-- Canonical page: https://reversedwithai.com/p/gran-turismo-4-native-pc-port-experiment -->
Canonical page: https://reversedwithai.com/p/gran-turismo-4-native-pc-port-experiment

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

> Experimental, not playable.

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.

## Key facts

- Target: Gran Turismo 4 (PC port experiment)
- Category: Games and mods
- Platform: PC (from PlayStation 2)
- Models: Claude, Codex
- Tools: CMake
- Outcome: Research
- License: MIT
- Checks: Source available: yes; Repro steps: yes; Real hardware: not reported; Verified by others: not reported
- Author: [Gustavo Canepa](https://github.com/gustavocanepa)
- Added: 2026-10-17
- Updated: 2026-10-17
- Sources reviewed: 2026-10-17 (editor)

## What was done

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

## What the commit history shows

8 of 147 commits in the public repository credit an AI, over 2 days between 2026-10-17 and 2026-10-18. Credited: Claude Sonnet 5.5 (8).

Measured by this site from public git history.

## Questions about Gran Turismo 4 (PC port experiment)

### What is the Gran Turismo 4 (PC port experiment) project?

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. It is listed under Games and mods for PC (from PlayStation 2).

### Which AI model was used on Gran Turismo 4 (PC port experiment)?

The entry names Claude and Codex. The tools named alongside are CMake.

### Did the AI reverse engineering of Gran Turismo 4 (PC port experiment) work?

It is a research result, not a finished tool. Checks recorded: source available yes, repro steps yes.

### Is the source code for Gran Turismo 4 (PC port experiment) available?

Yes. The code, patches or tooling are public: https://github.com/gustavocanepa/gt4-native. Licence: MIT. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/gustavocanepa/gt4-native)

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: Gustavo Canepa (2026). Began an experimental native PC port of Gran Turismo 4 from its matching decompilation. Reversed with AI. https://reversedwithai.com/p/gran-turismo-4-native-pc-port-experiment
