Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Leonida Is A Native PC Recompilation Of The Xbox Version Of Grand Theft Auto 6
This repo is no longer on GitHub. We found it gone 3 h ago: it was deleted, made private, or its owner's account was removed. This is the last copy we read, so its links and downloads may not work. Don't install files from copies of it you find elsewhere unless you trust who made them.
Saved setup from 22 h ago
Will it work on Windows?
Nothing is playable on any platform yet (see Project status). What runs where today:
| Platform | Today |
|---|---|
| Windows | Everything: make_game.py, the tools, and the runtime (gta6rt and the D3D12 → Vulkan layer) with its tests. |
| Linux | The translator, the asset tools and the Vulkan GPU test tools build and run natively (tested on RADV and NVIDIA). The runtime is Windows code: it cross-compiles with clang-cl and xwin, and its tests run under Wine or Proton (The Windows runtime on Linux, under Wine or Proton below). The game is meant to run the same way, under Wine or Proton with the D3D12 layer on native Vulkan (#217). |
| macOS (Apple Silicon) | The Python tools and the Vulkan test tools run natively, on MoltenVK (Homebrew) or KosmicKrisp. The runtime is Windows code and runs as on Linux, under Wine: CrossOver, arm64 with FEX or x86-64 under Rosetta (#1706, #1707, #1924; #3119 fixes the last loader tests there). Known gaps: no geometry stage and no VK_EXT_mesh_shader (those tests are skipped), 32-wide subgroups (wave64 shaders run emulated), and MoltenVK's float handling (PerVertexKHR, NaN compares, -0, the cost of NoContraction); docs/testing.md lists each (#2947). |
| AMD RDNA1 (RX 5000) | A supported target: close to the console's RDNA2, and its 64-wide subgroups run the wave64 shaders natively. RX 5700 XT results pass the GPU test suite (#146); on RADV, pixel shaders without fragment barycentrics have a known difference (Known problems in docs/testing.md) (#330). |
GPU results from every platform are collected in #166; how to run the tests is in docs/testing.md.
The loader is a Windows program and runs under Wine or Proton; CI runs its tests under Wine on every push to
main that changes runtime/, and on demand from the Actions tab (the wine job of the Runtime workflow). On Linux the runtime stage cross-builds it into
runtime/build/windows with clang-cl and lld-link (LLVM 19+, but not 22.1.7 or 22.1.8, see docs/testing.md; plain names, or all five LLVM tools with one version
suffix such as clang-cl-21) against the MSVC CRT and Windows SDK that
xwin lays out, in XWIN_DIR or ~/.local/share/xwin-sdk
(docs/testing.md has the one-time xwin
command). Without them the stage is left out of the default stages, and asking for it lists what is missing before
any work starts. A Windows build made elsewhere works too, such as the runtime-windows artifact of that workflow's
windows job, unzipped:
python3 -I make_game.py --runtime-build ~/Downloads/runtime-windows
Either way it copies gta6rt.exe and gta6rt_tls_host.dll into --out and writes gta6rt.sh next to them, which
starts gta6rt.exe with wine, or with the Wine named by WINE (for Proton, its files/bin/wine). The same option
skips the build on Windows.
On Linux, run <out>/gta6rt.sh --dry-run to inspect the packaged title's imports, then
<out>/gta6rt.sh --init to check TLS callbacks and DLL initialization. Use <out>/gta6rt.sh --run for startup.
These commands use the package in game_path.txt, the port's overlay for writes, and Vulkan by default.
When the Vulkan backend is selected with LEONIDA_D3D12=vulkan, the packaged runtime finds the translated shaders
in <work>/shaders/spirv using shader_path.txt beside gta6rt.exe. Set LEONIDA_SHADERS to use another directory.
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Compare yours with the README's “Platforms” list above before installing anything.
Needs Git: winget install Git.Git. The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/ProjectLeonida/Leonida.git cd Leonida
Python 3
winget install Python.Python.3.12
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
python3 -I make_game.py --runtime-build ~/Downloads/runtime-windows
No reports for Windows yet.
GitManual AI Agent reads the 9 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.