Over the past week, Project Leonida—an open-source (GPLv3) static recompilation toolchain targeting the Xbox Series X/S build (1.0.2.1) of Grand Theft Auto VI—went from a brand-new GitHub repository to 25,000+ stars, an abrupt upstream takedown (ItsNotRexed/Leonida returning HTTP 404 on Nov 23–24, 2026), and an immediate wave of community continuations led by ubiquitarianism/leonida and ProjectLeonidaL/leonida.
Despite viral social clips claiming "60 FPS PC gameplay" or "75% completion," there is still no playable gameplay and no verified 3D world frame. Yet under the hood, the engineering progress is surprisingly concrete: the toolchain already carves, disassembles, translates, and validates all 26,503 console shaders into Vulkan SPIR-V.
Here is how the static recompilation pipeline actually works—and why translating every shader still leaves a long road before playable gameplay.
1. Why Static Recompilation Instead of Emulation?
Traditional console emulators translate foreign CPU instruction sets (PowerPC, MIPS, ARM) at runtime using a JIT compiler. Xbox Series X/S changes the equation:
- CPU: Custom AMD Zen 2 (x86-64), the same ISA as a Windows/Linux PC.
- GPU: Custom AMD RDNA2 architecture running Xbox-specific DirectX 12 (
d3d12_xs.dll) with console-only extensions. - OS / Runtime: Xbox Game Development Kit (GDK) system DLLs (
xmem.dll,d3d12_xs.dll, audio HAL, DirectStorage).
Because the CPU ISA already matches the host PC, Project Leonida does not emulate a CPU. Instead, it statically loads/maps the user's own readable Xbox Series executable natively on x86-64, reimplements the console's system DLLs as host shims, and translates the precompiled RDNA2 GPU programs offline into Vulkan SPIR-V.
2. Inside the 26,503-Shader Translation Pipeline
Every shader in the Xbox Series 1.0.2.1 package is precompiled to native RDNA2 ISA rather than portable DXIL. Project Leonida's Python + LLVM (AMDGPU target) pipeline processes the entire corpus in four stages:
- Archive & Cache Carving (
RPF9/ PSO Cache): Extracts embedded shaders, library shaders, FidelityFX shaders, BVH shaders, and the PSO cache (25,471graphics records +2,693compute records). - RDNA2 Disassembly: Uses LLVM's
AMDGPUbackend (llvm-objdump/llvm-mc, verified on LLVM 23.1.x) to unpack native RDNA2 machine code. - RDNA2 → SPIR-V Translation: Converts all 26,503 shaders into Vulkan SPIR-V along with a per-shader metadata index for pipeline creation:
- Vertex Shaders (VS): 2,236
- Pixel Shaders (PS): 12,101
- Compute Shaders (CS): 2,689
- Mesh Shaders: 9,282
- Geometry Shaders: 195
- SPIR-V Validation (
spirv-val): After fixing SPIR-V ID-bound issues (commitdcd8ecf), 26,503 / 26,503 shaders passspirv-val.
The Wave64 Problem on NVIDIA & Intel GPUs
One of the sharpest hardware hurdles in the shader corpus is subgroup width: 23,841 of the 26,503 shaders are Wave64 (64-wide subgroups, native to AMD RDNA2).
- On AMD GPUs (64-wide subgroups), Wave64 operations map cleanly.
- On NVIDIA and Intel GPUs (32-wide subgroups), compute and mesh shaders are exact using software Wave64 emulation (
--wave64-emulate), while cross-half wave operations in vertex, pixel, and geometry shaders remain approximate.
3. If All 26,503 Shaders Translate, Why Doesn't Gameplay Boot Yet?
Shader translation is only one layer of the stack. As of late November 2026, active forks (ubiquitarianism/leonida) can boot a user-supplied, already-readable Xbox Series 1.0.2.1 copy through the launch movie, first-run controller prompts, and story load into the world phase on Windows and Linux/Proton—but no 3D world frame has been verified yet.
Four major blockers remain:
- Xbox
d3d12_xs.dll→ Vulkan Runtime Translation: The console D3D12 ABI exposes a 116-slot export surface (83 standard GUIDs match the PC SDK, while console-specific extensions such as mesh-shader subobjects, console root-argument layouts, title-backed descriptor tables, andPresentXframe pacing must be reimplemented over Vulkan). - Physical Memory &
xmem.dllShims: The retail executable makes 23XMemVirtualAlloccalls with console attribute words and large physical-page requests (including a 6.1 GiB request that hits host commit limits without sparse backing). - Unimplemented Audio HAL & DirectStorage Imports: Roughly 22 audio coprocessor, texture layout, and DirectStorage imports still lack full shim implementations.
- Decrypted Game Files & Legal Boundary: Clean-room static recompilation repositories contain zero copyrighted assets, keys, or DRM bypasses. Users must supply their own legal, already-readable files on disk—and any site offering a pre-compiled
.exeinstaller or password-protected archive (such as passwordleonida) is malware.
Ongoing Technical Tracking
Because upstream forks and runtime milestones are moving daily, we maintain an independent, zero-piracy technical tracker—including live GPLv3 fork commit status, malware IOC alerts, Windows 11 build walkthroughs, and a browser-based local build readiness checker—at gtaleonida.net:
- Live Fork & Takedown Tracker: gtaleonida.net/project-leonida-github-status
- Step-by-Step Build Tutorial: gtaleonida.net/leonida-build-tutorial
- Free PC Build Readiness Checker: gtaleonida.net/can-i-run-leonida
- Open-Source Metadata Archive (GitHub): github.com/Lavande/project-leonida-status-archive
