# GT4Recomp
**Gran Turismo 4, recompiled to run natively on PC.**
No JIT, no emulator window, full speed.





[](https://ko-fi.com/moesuito)
[](https://discord.gg/kHfGk4qJt)


GT4Recomp is a static recompilation of **Gran Turismo 4 (NTSC-U, SCUS-97328)** for **Windows x86-64**. The game's own
code is translated ahead of time into C++ and compiled to native machine code; the PS2 hardware it talks to is
reproduced in software, and graphics run on **Vulkan**. Nothing generates code while the game runs.
> [!IMPORTANT]
> **You need your own original copy of the game.** GT4Recomp does not include or distribute Gran Turismo 4. We only
> distribute the launcher and the natively recompiled system that runs the game. To play, make a disc image of your own
> **Gran Turismo 4 (USA, v2.00, SCUS-97328)** disc as a plain `.iso`, and for the mod, your own **Spec II 1.10** image.
## Highlights
- **60 FPS at 100% game speed**, with all game code precompiled: the main CPU (EE) and every VU0 and VU1 microprogram
run as native code, with no interpreter on the normal path.
- **CoreGS 2.0, our own renderer, is the default from 1.3.0:** high internal resolutions, sharpening, custom texture
packs from the PCSX2 community and a Performance Mode for weaker PCs. **GSdx** (the PCSX2 GS, in its own process) stays
available as the fallback.
- **Two games:** Gran Turismo 4 v2.00 and **Gran Turismo 4 Spec II 1.10** (1.3.0), including images built on Spec II
1.10 such as translations and car packs.
- **Native ultrawide and any aspect ratio:** 21:9, 32:9, 16:10 or a phone shape; the 3D view widens, the HUD and the race
menus keep their 16:9 shape.
- **A launcher that sets everything up from your disc image:** installer or portable, save library, controller
remapping, update channels (Stable and Beta), English and Brazilian Portuguese.
- **Any controller through SDL3** (Xbox, DualShock 4, DualSense, Switch Pro...), configurable racing wheels, the full
trigger range for throttle and brake, a 360-degree chase camera and camera zoom in races.
- **Crash-safe memory card:** saves survive a crash or a forced close.
## Where we are
| Channel | Version | Renderer | |
|---|---|---|---|
| **Stable** | 1.2.5 | GSdx | The latest final release |
| **Beta** | 1.3.0-rc14 | **CoreGS 2.0** (default) · GSdx | Release candidate: Spec II, CoreGS 2.0, new launcher |
Choose the channel in the launcher (Settings > General > Channel). Every piece of work is a numbered task in
[TASKS.md](TASKS.md), tested in game before it is released.
## Known issues
- **Busy driving views on laptop processors (CoreGS 2.0):** the player's view with the HUD and the rear-view mirror can
drop below 60 FPS on mid-range laptops (the first license, some city tracks). The cause is known (palette changes split
the drawing into too many batches) and the fix is planned for the next release candidate.
- **Photo mode on slower graphics cards (CoreGS 2.0):** frame times can be uneven.
- **Some AMD Radeon RX 5000/6000 drivers closed the game while CoreGS 2.0 prepared its shaders.** 1.3.0-rc14 guards
against it; GSdx works on those PCs.
- **Some license demos and menu backgrounds do not play**; every license test is playable
([why](docs/LICENSE-DEMO-CIPHER.md)).
- **Spec II:** only images with Spec II 1.10's game code are supported; earlier Spec II releases are refused.
- Menus, movies and photo mode stay 16:9 (pillarboxed) at other aspect ratios.
- The installer is not code-signed: Windows SmartScreen may warn on the first start ("More info", "Run anyway").
- Most testing was on an AMD graphics card; NVIDIA and Intel cards have had less testing.
## Roadmap
| Phase | Release | Platform | Renderer | Status |
|---|---|---|---|---|
| **1** | 1.0.0 - 1.2.5 | Windows PC | GSdx (PCSX2 GS, separate process) | Done |
| **2** | 1.3.0 - 2.0.0 | Windows PC | **CoreGS 2.0** (our own) as the default · GSdx as the fallback | In progress (1.3.0 beta) |
| **3** | after 2.0.0 | Linux (native) | CoreGS 2.0 | Planned |
| **4** | after 2.0.0 | Android | CoreGS 2.0 (Vulkan) | Planned |
## How it works
The EE game code is translated ahead of time into C++ and compiled for x86-64. The VU1 microcode, stored encrypted
inside the executable, is recovered and compiled offline and verified against a reference interpreter; the VU0
microprograms are compiled the same way. IOP system services are native, and frames are paced by one high-resolution
clock. This is a **hybrid recompilation**: PS2 hardware is still modelled in software, so we do not claim zero emulation
or full PS2 fidelity. Details: [Architecture](docs/ARCHITECTURE.md).
## Requirements
- **Windows 10 or 11, 64-bit**, and a **processor with SSE4.1** (Intel Core i3/i5/i7, AMD FX or newer).
- **A graphics card with Vulkan 1.2** and current drivers for CoreGS 2.0 (GSdx can also use Direct3D 11 on older cards).
- **Your own disc image** of Gran Turismo 4 USA v2.00 (SCUS-97328), and of Spec II 1.10 for the mod, as a plain `.iso`.
The launcher reads the image where you keep it; it is not copied.
The launcher checks the processor and the graphics card before setup and before Play, and says what is missing.
## Install
1. Download the installer (**`GT4Recomp-Setup-