Leonida Is A Native PC Recompilation Of The Xbox Version Of Grand Theft Auto 6
★ 18,413⑂ 1,562👁 322⑃ 3,317● 136▤ 0
+0
日增长
18,413
stars
1,562
forks
322
watchers
3,317
prs
136
issues
0
releases
README
Leonida Grand Theft Auto VI (Xbox Series) running natively on Windows, built on your PC from your own copy. Other languages | Status | How to build | How it works | Want to help? | Credits | License | Discord Leonida is a static recompilation project. The Xbox Series CPU is x86-64 like a PC, so the game's code is loaded and run natively, and the console's system software is reimplemented. The console's precompiled RDNA2 GPU programs are translated to SPIR-V for Vulkan. The game's models, textures and audio are read from your package. All of this happens on your PC, from your own copy of the game. [!IMPORTANT] This repository does not contain the game, keys or an executable, and it does not explain how to get them. You need your own copy, with its files already readable on disk. Nothing here decrypts or works around any protection. Everything the build creates (the generated shaders, extracted assets, the runtime folder and your saves) comes from your game and stays on your PC. Never share those files. Discord: https://discord.gg/rexed Project status Early. The game does not boot yet. Everything that can be done without the game's executable is in place, so work on booting can start as soon as one is available to a developer. | What | Status | |---|---| | Booting, story mode, anything playable | ❌ No | | Finding and checking your copy (Xbox Series 1.0.2.1) | ✅ Works | | Shaders: carve, unpack native RDNA2 code, disassemble | ✅ All 26,503 | | Shaders: RDNA2 → SPIR-V translation | ✅ All 26,503 translated: 2,236 VS, 12,101 PS, 2,689 CS, 9,282 mesh, 195 geometry, with a per-shader metadata index for pipeline creation. All 26,503 passed spirv-val in the LLVM 23.1.5 Linux run at c432cdc. A full-corpus run at 43d4703 also validated all 26,503 after dcd8ecf fixed the SPIR-V ID bound; the intervening dedd75c run was 26,501. ⚠️ 21,545 are wave64: exact on 64-wide subgroups (AMD). On 32-wide subgroups (NVIDIA, Intel), compute and mesh shaders are exact with wave64 emulation (--wave64-emulate, on by default there); cross-half wave ops in vertex, pixel and geometry shaders are still approximate | | Shader translator checked on a real GPU | ⚠️ The hand-written GPU tests (vertex fetch, texture sampling, exports, ALU ops, partial-register ops, barycentrics, wave-uniform branches, compute LDS/barriers/buffer stores, wave64 masks) have been run on more than 30 GPU and driver combinations, with results in 166: NVIDIA Turing, Ampere, Ada and Blackwell (Windows and Linux); AMD GCN3, RDNA1, RDNA2, RDNA3 and RDNA4 (Windows driver and RADV); Intel Gen9 (ANV); Apple M1 (MoltenVK, no geometry or mesh stages); and Mesa llvmpipe. Wave64 tests need 64-wide subgroups (AMD) or LEONIDA_W64_EMULATE=1. These are small test shaders: the game's own shaders are checked by spirv-val and by driver pipeline creation (vk_pipeline_check), not by their output | | Models (OBJ with real names, UVs, material references) | ✅ Exported. Not all layouts are d
Top issues
#166GPU test results (one comment per GPU and driver)368 comments · 2026-11-21#313D3D12 → Vulkan layer: critical path, who builds what, open methods137 comments · 2026-11-21#3381Coordinating who works on what (17)90 comments · 2026-11-22#884RTX 4080 / NVIDIA 621.01: the corpus's two largest compute pipelines fail to compile (NVVM), a few take 8-16 GB and up to 26 min, and --jobs 14 crashed the driver20 comments · 2026-11-22#857AMD Windows driver crashes creating lds_fuzz wave64 programs translated with --wave64-emulate17 comments · 2026-11-22#1540AMD Radeon 8060S (Windows): vk_overlapping_occlusion triggers GPU TDR and d3d12_r9g9b9e5_uav fails on RENDER_TARGET support12 comments · 2026-11-22#1652You have no clue of what you're doing9 comments · 2026-11-22#1203valu_fuzz f16: f16 multiply gives +0 instead of -0 on Apple A18 Pro (MoltenVK)9 comments · 2026-11-22