Find your next open-source project

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

ubiquitarianism/leonida

Games

A 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.

185
46
Python
GPL-3.0
new today

Project overview

Leonida is a static recompilation effort for the Xbox Series version of Grand Theft Auto VI. Because the Xbox Series CPU is x86-64 like a PC, the approach loads and runs the game's original code natively while reimplementing the console system software. Console RDNA2 GPU programs are translated to SPIR-V for Vulkan, and models, textures and audio are read from the user's own package.

This repository continues the original Leonida project with its full commit history, after the original author stepped away. It does not ship the game, keys, or an executable, and does not explain how to acquire them; users must own a readable copy, version 1.0.2.1. As of the README, the project is early: the game does not boot yet. Asset extraction, shader translation and much of the runtime plumbing exist.

Quick start

The straightforward path is on Windows, and the build happens entirely on your PC from your own game files:

  1. Install Python 3.12+, the .NET 8 SDK, the Vulkan SDK, an LLVM with the AMDGPU target for llvm-mc, Visual Studio 2022 with Desktop C++ and Windows SDK 10.0.26100+, and optionally ffmpeg. About 400 GiB of free work space is needed for the full build.
  2. Clone with submodules so third_party/rpf9-explorer is present: git clone --recursive https://github.com/ubiquitarianism/leonida.
  3. Run Build.bat. It searches common locations for your game package (the folder with MicrosoftGame.Config and the .rpf archives), asks you to pick or paste a path if none is found, checks prerequisites, and writes output to Documents\Leonida.

For more control, use the terminal entry point, for example:

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"

The check stage always runs first; shaders, assets and runtime are the other main stages. A lighter run can use --stages check,shaders,runtime (about 30 GB) and skip the large asset export. The build can resume after interruption. Expect no playable result yet: validation is still underway against a stand-in executable.

Platforms and requirements

The build tooling and runtime target Windows primarily. On Linux, the shader translator, asset tools and Vulkan test tools build natively; the Windows runtime cross-compiles with clang-cl/xwin and can run under Wine or Proton. On Apple Silicon macOS, the Python and Vulkan test tools run via MoltenVK, and the runtime likewise runs under Wine, with known gaps in geometry and mesh shader support. AMD RDNA1 cards are an explicit target because they resemble the console's RDNA2 and support native wave64 shaders. GPUs with 32-wide subgroups (NVIDIA, Intel) need wave64 emulation for compute and mesh shaders, controlled by --wave64-emulate.

Limitations

Nothing is playable on any platform yet; booting and story mode are not implemented. The shader translator has passed validation across all 26,503 shaders on Linux, but its output against the real game executable and driver pipeline creation is still being checked. The D3D12-to-Vulkan layer and ray-tracing/BVH work are in progress, and several fallback flags exist for hardware lacking fragment barycentrics, maintenance8 texel offsets, or mesh shaders. The project is GPLv3 and is not affiliated with or endorsed by the game's trademark owners.

HotRepo's take

This repository was recorded once on the HotRepo new-project list on 2026-11-24, gaining 135 stars and 26 forks in roughly the first two hours after creation—a burst that reflects curiosity about a GTA VI PC port rather than a working build. The README's own status table is unusually candid: the game does not boot, and tooling is validated against a stand-in executable rather than the real game. That makes the project worth following for its shader-translation and asset-extraction work, but it is not a usable game port today.

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. 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
  3. 0marContreras/gta6recompAn experimental runtime shader and streaming optimization pack claimed for the PC version of GTA VI.618
  4. andrewnakas/gtav-recompRecompile your own Xbox 360 GTA V copy into a native PC, Mac or phone build using ReXGlue.C++319
  5. 4lwayz/portwatch-viA live tracker that scores community attempts to recompile, emulate or port GTA VI to PC, refreshed every three hours.JavaScript119