Find your next open-source project

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

Vyzerythe/Leonida

Games

Build a native Windows port of GTA VI from your own Xbox Series copy, starting with shader and asset extraction.

176
3,078
GPL-3.0
3 days old

What it is

Leonida is a static-recompilation research project that aims to run the Xbox Series version of Grand Theft Auto VI natively on Windows. The Xbox Series CPU is x86-64, so the project loads the game code and reimplements the console system software, translates the console's precompiled RDNA2 GPU programs to SPIR-V for Vulkan, and reads models, textures and audio from the user's own game package.

The repository does not ship the game, keys or an executable, and it does not explain how to obtain them. Nothing here decrypts or bypasses copy protection; all generated output comes from the user's own copy and stays on their PC.

Project status

The game does not boot yet. Finished or partially finished work includes:

  • Copy detection and version check for Xbox Series package 1.0.2.1.
  • Extraction and disassembly of all 26,503 shaders; 97.4% of vertex/pixel shaders translate to SPIR-V and pass spirv-val. Compute, mesh and geometry shaders are not yet translated.
  • Model export (OBJ), texture dictionary and world texture pool export (DDS), and whole audio bank export (AWC).
  • A PE loader and import shim skeleton, untested against the real executable.

The Xbox D3D12 to Vulkan layer has not been started, so there is no gameplay path yet.

How to build

The port is not downloaded ready-made; it is built from your own game copy. Per the README, the steps are:

  1. Prepare a self-owned Xbox Series package, version 1.0.2.1, with readable files on disk. The game folder is the one containing MicrosoftGame.Config and the .rpf archives.
  2. Install Python 3.11+, the .NET 8 SDK, the Vulkan SDK for spirv-as/spirv-val, LLVM 21+ with llvm-mc on PATH, and Visual Studio 2022 with Desktop development with C++. Windows 10/11 x64 and about 350 GB of free work space are required; --work can place work files on another drive.
  3. Clone recursively so that the third_party/rpf9-explorer submodule is included, then run Build.bat or use the CLI:
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"
python -I make_game.py --stages shaders,assets

Stages run in order: check, shaders, assets, runtime. Shader translation is the longest step and can take several hours on one core. The result goes to Documents\Leonida; an interrupted build resumes from where it stopped. Build.bat locates likely game folders automatically and can ask which copy to use.

The runtime contract and format notes are in docs/design.md. Contributors can start from CONTRIBUTING.md; do not attach game files, extracted assets or generated shaders to issues or pull requests.

Constraints

  • Windows 10/11 x64 is the stated build environment; the toolchain includes Python, .NET 8, Vulkan SDK, LLVM and MSVC.
  • An owned Xbox Series package is mandatory, and the current status is only for version 1.0.2.1.
  • The project is early-stage research. There is no bootable game, and the D3D12 to Vulkan layer and compute/mesh/geometry shader translation remain open.
  • Disk usage is substantial: roughly 350 GB of work files plus the output.
  • The repository is licensed GPLv3 or later; third-party components keep their own licenses.

HotRepo's take

There is no GitHub daily-ranking record for this repository yet. Its HotRepo new-list snapshot on 2026-11-24 shows 170 stars and a one-hour gain of 49, with 3,078 forks against only 170 stars: a very high fork-to-star ratio. The captured star total is too small to support a read on popularity, but the split suggests the project is being watched and copied rather than broadly adopted.

The technical work described in the README is concrete and measurable, including a shader pass rate and per-asset status, but the repository listing provides no source code and no releases. The README's build flow points to a differently named GitHub account for the clone. Readers should treat the project as an early, unverified research effort: the reported status does not establish a working port, and no part of the build has been shown to produce a bootable game.

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. 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.Python137
  2. ItsNotRexed/LeonidaStatic recompilation project that aims to run GTA VI's Xbox Series code natively on Windows using your own game copy.Python21,168
  3. 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.Python33,831
  4. 0marContreras/gta6recompAn experimental runtime shader and streaming optimization pack claimed for the PC version of GTA VI.618
  5. R0Y00/Xbox2WindowsResearch toolkit that statically recompiles Xbox Series X|S code and shaders to x64 Windows, with GTA VI as the case study.Python1,299