Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

ProjectLeonida/Leonida

Games

A static recompilation effort that turns an Xbox Series copy of GTA VI into native Windows code, built locally from the user's own game files.

33,831
3,073
Python
GPL-3.0
3 days old

What it is

Leonida is a static recompilation project for the Xbox Series version of Grand Theft Auto VI. The console CPU is x86-64, so the game code can be loaded and run natively on a PC while the console system software is reimplemented. Precompiled RDNA2 GPU programs are translated to SPIR-V for Vulkan, and models, textures and audio are read from the user's own game package. Nothing in the repository ships the game, keys or a playable executable, and the README states that nothing there decrypts or bypasses protections.

Project status

The port is early: the game does not boot yet. What exists is the tooling and groundwork that does not require the game executable. The build can locate and check a supported package (Xbox Series 1.0.2.1), carve and disassemble all 26,503 shaders, translate them to SPIR-V, and export models, textures and audio from the package. The runtime has a PE loader and import shims that run a stand-in executable, and an Xbox D3D12-to-Vulkan layer that is in progress. Ray tracing BVH work is also in progress.

Build and run

The project is built locally from the user's own copy; there is no ready-made download of the port. On Windows, prerequisites include Windows 10/11 x64, your own game package at version 1.0.2.1, about 400 GiB of free work space (an assets export alone measured about 337 GB), Python 3.12+, .NET 8 SDK, the Vulkan SDK, LLVM 21+ with the AMDGPU target, Visual Studio 2022 C++ tools with Windows SDK 10.0.26100 or newer, and optional ffmpeg for XMA2 audio.

The easy path is to clone with submodules and double-click Build.bat:

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

Build.bat searches common locations for the game package, asks which copy to use if several are found, checks prerequisites and free space, and writes output to Documents\Leonida. A stopped build resumes where it left off.

From a terminal, the same workflow offers more control:

python -I make_game.py --find
python -I make_game.py --check
python -I make_game.py --game "D:\path\to\your\package" --out "D:\Games\Leonida" --work "E:\leonida-work"

Stages can be selected individually, for example --stages check,shaders,runtime needs about 30 GB instead of the full ~400 GB. On Linux, make_game.py also runs; the runtime is Windows code and is cross-compiled with clang-cl and xwin, then run under Wine or Proton. gta6rt.sh --dry-run, --init and --run inspect and start the packaged title.

Constraints

  • The game does not boot and nothing is playable on any platform.
  • A supported Xbox Series package version 1.0.2.1 is required; the repository does not explain how to obtain it and does not contain game files, keys or an executable.
  • The full build is disk-heavy at roughly 400 GiB; selected stages can run in about 30 GB.
  • Generated shaders, extracted assets, runtime folders and saves must stay local and should never be shared.
  • Platform coverage differs: on macOS the Python and Vulkan test tools run, but the runtime requires Wine, with known gaps in geometry and mesh shader stages, subgroup width and MoltenVK float handling.
  • The project is GPLv3 or later; third-party code keeps its own license.

HotRepo's take

On the HotRepo new-project board for 2026-11-23, Leonida recorded a single new-project snapshot with 1,231 stars gained in a window of roughly one hour, reaching 33,804 stars and 3,068 forks. That is a strong attention spike, but the project itself reports that the game does not boot and that the shader, asset and D3D12-to-Vulkan pieces are the only parts with substantial progress. The gap between the star response and the playable state is the most important context for anyone evaluating it: the useful value today is in the research tooling, the shader translation and the format documentation, not in running GTA VI.

Project source and documentation

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. ItsNotRexed/LeonidaStatic recompilation project that aims to run GTA VI's Xbox Series code natively on Windows using your own game copy.Python21,168
  2. andrewnakas/gtav-recompRecompiles the Xbox 360 version of GTA V (TU27) into native code so owners of the original discs can play it on PC and phones.C++289
  3. Spark198rus/black-pcRun the original Xbox version of BLACK natively on Windows using your own game disc, without an emulator.C++331
  4. 4lwayz/portwatch-viA live tracker that scores community attempts to recompile, emulate or port GTA VI to PC, refreshed every three hours.JavaScript119
  5. SerenityG4K/SpaceAnimalsRecompBuild a native Windows version of your own Star Fox Switch 2 copy via static ARM64-to-C++ recompilation.C++121