Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Leonida – PC Recompilation of the Xbox Version of GTA 6

Leonida is a static recompilation project that runs the Xbox Series CPU, which is x86-64 like a PC. The game's code is loaded and executed natively on the PC, while the console's system software is reimplemented. Precompiled RDNA2 GPU programs are translated to SPIR-V for Vulkan. Models, textures, and audio from the game are read from the package on your PC, without any decryption or protection circumvention.

The project does not contain the game, keys, or an executable, and does not explain how to obtain them. Everything generated by the build, such as shaders, extracted assets, the runtime folder, and saves, comes from your game and stays on your PC. The game does not boot yet, but work on booting can commence as soon as a developer acquires an executable.

The port is built on your PC from your own copy of the game, which it locates automatically in common directories. It checks for necessary components and available space before starting and lists any missing components. The result is stored in Documents\Leonida. The build can continue from where it left off if stopped. The GPU emulation mode, --wave64-emulate, determines whether wave64 compute and mesh shaders are translated for any subgroup size.

NVIDIA and Intel GPUs require this translation. The default behavior checks GPU capabilities and activates emulation when necessary. The mode is saved alongside the translated shaders, and can be changed manually. Using the default auto mode, a work folder that previously used emulation will retain that setting for later translations, even if the current GPU can handle native wave64.

The build records which translator sources produced the shaders, so changes to those files trigger a retranslation using saved disassembly. The build goes through several stages: check, shaders, assets, runtime, and pipelines. The shader translation is the most time-consuming step, running on --jobs processes (defaulting to half the CPU threads). --wav is disabled by default because 16-bit PCM WAV files are significantly larger than Ogg Opus.

It decodes Ogg Opus streams to work\assets\audio\wav after the audio bank step, skipping existing WAV files during resumptions. With CMake 3.24+, a C++20 compiler, and Vulkan development headers and loader installed, the pipelines stage uses built vk_pipeline_check. The translator's runtime contract and format notes are documented in docs/design.md and docs/README.md, respectively.

The Xbox D3D12 plan is detailed in docs/d3d12_vulkan.md. Audio bank formats and export tools are covered in docs/audio.md. Prior projects and licensing information can be found in docs/related_projects.md and docs/CONTRIBUTING.md. Always avoid attaching game files, extracted assets, or generated shaders to issues or pull requests.

Grand Theft Auto and its related names are trademarks of their respective owners, and this project is not affiliated with or endorsed by them. The project is licensed under GPLv3 (or later versions), as specified in LICENSE. Third-party code retains its own license.

Rewritten by urgent.news; may contain errors — check the original.

Source: github.com

Read the original at github.com →

Report a problem with this story

More in Tech

GhostScript CVE 2026-125396: "Upload2Shell"

Here's the NVD page for the CVE with some additional useful context . Comments

  • Critical Ghostscript flaw CVE-2026-125396 allows arbitrary command execution.
  • "Upload2Shell" vulnerability stems from use-after-free bug in font loader.
  • Attackers can exploit crafted PostScript documents to compromise systems.

More from Sunday, 22 November 2026 →