Leonida

Leonida

Grand Theft Auto VI, recompiled to run natively on your PC.Built from your own copy.

The game doesn’t boot yet.See where it stands

  • The GTA 6 PC port
  • Static recompilation
  • Native x86-64
  • 26,503 shaders to SPIR-V
  • Vulkan
  • Built from your own copy
  • Never a download
  • GPLv3
  • Open source

It doesn’t boot. Yet.

Everything that can be built without the game’s executable is already in place. The shaders are translated, the assets export, and the loader runs a stand-in program end to end.

From the project’s README, checked 22 November 2026.

26,503
GPU programs translated to Vulkan
30+
GPU and driver setups tested
317
contributors

Works

6
  • Finding and checking your copy

    Finds the Xbox Series package (version 1.0.2.1) on your PC and checks every file.

  • Shaders: carve, unpack and disassemble

    All 26,503 of the game’s native RDNA2 GPU programs are carved, unpacked and disassembled.

  • Shaders: RDNA2 to SPIR-V translation

    All 26,503 translated to SPIR-V for Vulkan, and all pass spirv-val.

  • Models

    Exported as OBJ with real names, UVs and material references.

  • Textures

    Texture dictionaries and world texture pools export as DDS.

  • Audio banks

    Opus streams repackaged losslessly as Ogg Opus; XMA2 decoded with ffmpeg.

In progress

4
  • Shader translator checked on real GPUs

    Hand-written GPU tests pass on more than 30 GPU and driver combinations.

  • Music and radio config

    1,589 audio-config records measured, with exact durations.

  • PE loader and import shims

    Runs a stand-in executable end to end. Untested against the real one.

  • Xbox D3D12 to Vulkan

    Devices, queues, command lists, resources and copies run on Vulkan. Pipelines and draws are next.

Not yet

1
  • Booting, story mode, anything playable

    Nothing boots yet. Work on booting starts as soon as a developer has the game’s executable.

Full status, with every note

Not an emulator

Leonida is a static recompilation. Nothing is emulated instruction by instruction, so the result is closer to a native PC port than to an emulator.

  1. gta6rt --run stand-in.exe

    CRT startup

    statics, heap, files, threads

    GDK imports, through the shims

    exit code, back to Windows

    The code runs native

    The Xbox Series has an x86-64 processor like a PC, so the game’s own code is loaded and run as it is. Only what can’t run on a desktop gets patched.

    • d3d12_xs.dllbecomesVulkan
    • GameInputbecomesSDL3
    • XGameRuntimebecomesoffline shim
    • xmem.dllbecomeshost memory
    • registry, files, threadsbecomesWindows

    The console, rebuilt

    Everything the game asks of the console’s system software goes to a shim that does the same job on Windows, down to controllers and the graphics driver.

  2. 26,503 shaders

    RDNA2SPIR-Vspirv-val

    • Pixel 12,101
    • Mesh 9,282
    • Compute 2,689
    • Vertex 2,236
    • Geometry 195

    Every shader, translated

    All of the console’s GPU programs are translated from RDNA2 machine code to SPIR-V for Vulkan, and every one passes validation.

How the recompilation works, layer by layer

Under the hood

What’s already built, before the game has booted once. Each one is in the repository today.

  • GameInput

    Any controller SDL knows

    Controllers go through a GameInput shim on SDL3, with rumble, DualSense trigger effects and the lightbar.

  • --wave64-emulate

    Exact on every GPU vendor

    Shaders written 64 lanes wide run natively on AMD, and through wave64 emulation on NVIDIA and Intel. The build picks the mode for your card.

  • pipelines

    No compile stutter on first boot

    The last build stage creates every translated shader on your own driver and saves a pipeline cache ahead of time.

  • assets

    Assets, out of the archives

    Models export as OBJ with real names, textures as DDS, and audio banks repackaged losslessly as Ogg Opus.

  • make_game.py

    Finds your copy by itself

    It searches the usual folders, recognises the version from a few file sizes, and a stopped build picks up where it left off.

  • gta6rt.sh

    Linux too, under Wine or Proton

    The build script runs on Linux, and every change to the runtime is tested under Wine automatically.

Five stages, one script

make_game.py takes your copy to a PC build in five stages, in this order. A stopped build picks up where it left off, and the result goes to Documents\Leonida.

  1. check

    Check your copy

  2. shaders

    Translate the shaders

  3. assets

    Export the assets

  4. runtime

    Build the runtime

  5. pipelines

    Warm the pipelines

git clone --recursive https://github.com/ItsNotRexed/Leonida

cd Leonida

Build.bat

Or copy the first one, then double-click Build.bat in the folder it makes.

git clone --recursive https://github.com/ItsNotRexed/Leonida

The full build guide

Never a download

There’s no installer, no ready-made exe and no “GTA VI for PC” file from this project, now or later. Leonida is built on your own PC, from the source code and your own copy of the game.

A site or video offering a Leonida download, a cracked copy of the game or an “emulator” installer isn’t us. Don’t run what it gives you. The only official places are the GitHub repository, its Discord and this website.

Help build it

Leonida is built in the open by a few hundred contributors. The quickest way in is to run the GPU tests on your own card and post the results. These are the biggest pieces still open.

  • The shader translator on hardware

    Compute, mesh and geometry shaders translate. Still open: the vertex-shader input layout, and wave64 cross-half code in vertex, pixel and geometry shaders on 32-wide subgroups.

    Read the translator contract
  • Xbox D3D12 to Vulkan

    The d3d12_xs command list and descriptor heap model. Issue #313 tracks the critical path, who builds what, and which D3D12 methods are still open.

    Open the D3D12 board
  • Model layouts

    Some model layouts are still rejected by the decoder. Each one decoded is more of the world exported correctly.

    Read the model notes

Take it apart

Four commands contributors use most, from the README and CONTRIBUTING.md.

  • Run the translator’s GPU tests on your card

    python -I scripts/run_gpu_tests.py
  • Create every translated shader on your driver

    vk_pipeline_check <spirv dir>
  • Log every D3D12 call and its outcome

    gta6rt --trace-d3d12
  • Run the wave64 checks on a 32-wide GPU

    LEONIDA_W64_EMULATE=1

Built on good work

Leonida is free software under the GPLv3, and it stands on other open projects. Each keeps its own licence.

  • rpf9-explorerbreadbbbbRPF9 model, texture-pool and AWC decoders
  • MesaMITGFX10 descriptor layout and ACO/RADV reference rules
  • libHttpClientMicrosoft, MITXTaskQueue and XAsync for the offline runtime shim
  • LLVMLLVM projectThe AMDGPU disassembler
  • SPIRV-ToolsKhronosSPIR-V assembly and validation

Read the licence

Questions

Straight answers, from the project’s own README.

What is Leonida?

Leonida is the official open-source project porting Grand Theft Auto VI (GTA 6) to PC. It’s a static recompilation of the game’s Xbox Series version: the game’s own code runs natively on Windows, the console’s system software is rebuilt around it, and its graphics run on Vulkan. You build it yourself, from your own copy of the game. It’s in development, and the game doesn’t boot yet.

Is Leonida a GTA 6 emulator?

Not quite, though it’s often called a GTA 6 emulator. Leonida is a static recompilation project. The Xbox Series CPU is x86-64 like a PC, so the game’s own code is loaded and run natively, and the console’s system software is reimplemented around it.

The console’s precompiled RDNA2 GPU programs are translated to SPIR-V for Vulkan. Nothing is emulated instruction by instruction, so the result is closer to a native PC port.

Can I play GTA 6 on PC with Leonida today?

No. The game doesn’t boot yet. Everything that can be done without the game’s executable is in place: the shaders are translated, the assets export and the loader runs a stand-in program. Work on booting starts as soon as a developer has the executable.

Is there a Leonida or GTA 6 PC download?

You don’t. Leonida is never distributed ready-made. It’s built on your PC from the source code and your own copy of the game. Any site offering a Leonida download, a GTA VI PC executable or an “emulator” installer isn’t this project. Don’t run what it gives you.

Does the project include the game, keys or anything that decrypts it?

No. The repository doesn’t contain the game, keys or an executable, and it doesn’t explain how to get them. You need your own copy, with its files already readable on disk. Nothing in the project decrypts or works around any protection.

Everything the build creates comes from your game and stays on your PC. Never share those files.

What do I need to build it?

Your own copy of the Xbox Series package, version 1.0.2.1, a Windows 10 or 11 PC with about 350 GB free, and a toolchain: Python, the .NET 8 SDK, the Vulkan SDK, LLVM with the AMDGPU target and Visual Studio 2022. The build guide walks through each one.

Which graphics cards will it run on?

Leonida targets Vulkan. The translator’s GPU tests have run on more than 30 GPU and driver combinations from NVIDIA, AMD and Intel, plus Apple M1 and Mesa’s software renderer. Most of the game’s shaders are wave64 code, which is exact on AMD and emulated on NVIDIA and Intel.

Does it work on Linux?

The build script runs on Linux. The loader is a Windows program that runs under Wine or Proton, and every change to the runtime is tested under Wine automatically.

Is Leonida affiliated with Rockstar Games?

No. Grand Theft Auto and all related names are trademarks of their owners. This project is not affiliated with or endorsed by them.

What licence is it under?

GPLv3, or any later version. Third-party code keeps its own licence.