avivetech/Leonida
GamesA static recompilation of GTA VI for Xbox Series that builds and runs natively on Windows from your own game copy.
What it is
Leonida is a static recompilation project that aims to run the Xbox Series version of Grand Theft Auto VI natively on Windows. Because the Xbox Series CPU is x86-64, the game code is loaded and run as-is, 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.
The repository contains the tooling, not the game. It does not ship the game, keys or an executable, and it does not explain how to obtain them; you must already have a readable copy of the Xbox Series package, version 1.0.2.1 README.
Project status
This is early work and the game does not boot yet. What is already in place: package discovery and version checking; carving and disassembly of all 26,503 native shaders; RDNA2-to-SPIR-V translation of the full set, with spirv-val passing on all of them in the core runs; model, texture and audio export tooling; a PE loader with GDK and D3D12 shims; and an in-progress Xbox D3D12-to-Vulkan layer. Ray-tracing acceleration-structure building is also being worked on. The README's status table labels booting, story mode and anything playable as not working project status.
How to build
The intended path is Windows: install the prerequisites, clone with submodules, and run Build.bat, which locates the game copy, checks the environment and writes the build output to Documents\Leonida. Prerequisites include Python 3.12+, .NET 8 SDK, the Vulkan SDK, LLVM 21+ with the AMDGPU target for llvm-mc, Visual Studio 2022 with the Windows SDK, and a readable copy of game version 1.0.2.1. The full build needs roughly 400 GiB of free work space.
From a terminal, the equivalent entry points are:
git clone --recursive https://github.com/ItsNotRexed/Leonida
cd Leonida
python -I make_game.py --find
python -I make_game.py --game "D:\path\to\your\package" --out "D:\Games\Leonida" --work "E:\leonida-work"
--find lists detected copies; --check validates a copy without building. The build stages are check, shaders, assets and runtime, with an optional pipelines stage that creates the translated shaders on your GPU driver. A Linux path exists for the shader and asset tools and for cross-building the Windows runtime under Wine/Proton, using xwin and clang-cl Linux/Wine instructions.
Constraints
- No playable result yet: by the project's own status table, nothing boots or runs as a game.
- Own game copy required: the build works only from the Xbox Series 1.0.2.1 package; the repository does not decrypt or bypass any protection.
- Large disk and toolchain requirements: about 400 GiB for a full build, and a specific set of SDKs and LLVM builds with the AMDGPU target; the official Windows LLVM build lacks that target, so a custom build or conda package is needed.
- GPU differences: wave64 shaders are approximate on 32-wide subgroup hardware, so NVIDIA and Intel GPUs rely on emulation; Apple Silicon has no geometry stage or mesh-shader extension testing notes.
- Platform split: only the Windows side runs the full runtime; Linux and macOS run the tools and the runtime under Wine/Proton.
- License: GPLv3 or later; third-party components keep their own licenses.
HotRepo's take
This continues a project whose upstream repository went offline, and the archive was recorded on the HotRepo new-project list on 2026-11-24 with 103 stars and 22 forks in its first observed growth window. There is no GitHub daily-rank record, so the available HotRepo data says little beyond that first-day pickup. The useful signal is in the repository itself: the status table is unusually specific about what works (full shader translation and validation, asset export, package checking) and what does not (booting, D3D12-to-Vulkan tail, real-executable testing), which makes the project's stage of maturity verifiable rather than claimed.
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
- ubiquitarianism/leonidaA static recompilation project aiming to run the Xbox Series version of GTA VI natively on Windows PCs, built locally from a user's own game copy.
- ItsNotRexed/LeonidaStatic recompilation project that aims to run GTA VI's Xbox Series code natively on Windows using your own game copy.
- ProjectLeonida/LeonidaA 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.
- Vyzerythe/LeonidaBuild a native Windows port of GTA VI from your own Xbox Series copy, starting with shader and asset extraction.
- LeonidaReforge/LeonidaExperimental static-recompilation project that translates Xbox Series GTA VI shaders and assets on your own PC.