Tuxnida picks up Leonida, the native PC recompilation of the Xbox Series version of Grand Theft Auto VI, after the original repo went offline. The goal is a build that feels at home on Linux, running on Vulkan from start to finish.
The original Leonida repository by NotRexed is gone. Tuxnida keeps the code alive as a community fork, keeps the tests passing, and puts Linux first instead of treating it as an extra.
The full history and tooling live on in the fork, with ongoing test and maintenance work.
The translator, the asset tools and the GPU tests already run natively on Linux. The rest is the roadmap.
No game files, no keys, no executables. You bring your own copy, and everything stays on your machine.
This is a static recompilation, not an emulator. The Xbox Series CPU is x86-64, so the game's own code can run directly on a PC. The work is in reimplementing the console's system software and translating its graphics.
The game code runs directly. A PE loader and shims stand in for the console's system libraries.
Every RDNA2 shader is translated to SPIR-V for Vulkan, with wave64 emulation for NVIDIA and Intel.
The console's D3D12 calls are mapped onto Vulkan, and ray tracing goes through an XDXR BVH4 builder.
Models, textures and audio are exported from your own package. Audio is exported as Ogg, with XMA2 handled by ffmpeg.
Large parts of the pipeline work end to end. The runtime is the big missing piece, so the game does not boot yet.
| Done | Copy check for the Xbox Series 1.0.2.1 package |
| Done | Shader translation: 2,236 vertex, 12,101 pixel, 2,689 compute, 9,282 mesh and 195 geometry shaders (23,841 are wave64) |
| Done | Texture export to DDS, including a BCPack decoder |
| Done | Audio export: Opus to Ogg, XMA2 through ffmpeg, plus 1,589 music config records |
| In progress | PE loader and shims, with gta6rt --run and GameInput on SDL3 |
| In progress | D3D12 to Vulkan: mesh draws, indirect draw state and stream output are still missing |
| In progress | Ray tracing through the XDXR BVH4 builder |
| Goal | A native Linux runtime that does not need Wine or Proton |
Most of the toolchain is already native. The runtime is still Windows code, so for now it runs under Wine or Proton, with its D3D12 layer on native Vulkan.
make_game.pyvk_pipeline_check, built with CMake--runtime-buildgta6rt.sh starts the runtime with Wine, or with Proton through WINELEONIDA_D3D12=vulkanA full build needs about 400 GB of free space. If you only run the check, shaders and runtime stages, about 30 GB is enough.
You need Python 3.12 or newer, .NET 8, the Vulkan SDK or headers, CMake 3.24 or newer, a C++20 compiler, and LLVM 21 or newer with the AMDGPU target. On Linux, having llvm-mc on your PATH is enough. ffmpeg is optional and handles XMA2 audio.
git clone --recursive https://github.com/Tuxnida/Tuxnida.git cd Tuxnida
cmake -S runtime -B runtime/build/linux cmake --build runtime/build/linux --parallel
The available stages are check, shaders, assets, runtime and pipelines.
python3 -I make_game.py --find
python3 -I make_game.py --game /path/to/your/package --out ~/tuxnida/out --work ~/tuxnida/work
or a lighter run:
python3 -I make_game.py --game /path/to/your/package --stages check,shaders,runtimeLEONIDA_D3D12=vulkan ~/tuxnida/out/gta6rt.sh WINE=/path/to/proton/files/bin/wine LEONIDA_D3D12=vulkan ~/tuxnida/out/gta6rt.sh