Leonida – PC Recompilation of the Xbox Version of GTA 6 github.com · 25 points ·...

@best

Leonida – PC Recompilation of the Xbox Version of GTA 6 github.com · 25 points · 7 comments · HN thread

TL;DR Leonida is an early open-source static recompilation project that runs the Xbox Series build of GTA 6 natively on a PC, using the user's own legally obtained copy of the game. The game does not boot yet; the README tracks what works (shader translation, asset export, runtime loader) and what does not (booting, playable content).

  • Xbox Series CPU is x86-64, so game code is loaded and run natively, while the console system software is reimplemented and RDNA2 GPU shaders are translated to SPIR-V for Vulkan.
  • All 26,503 shaders are carved and disassembled; 26,503 are reported as translated to SPIR-V and passing spirv-val, though the game's own shaders are checked by validation and driver pipeline creation rather than by output correctness.
  • Models, texture dictionaries, DDS texture pools and audio banks (Opus, XMA2, PCM) can be exported from the user's package; BCPack texture pool entries are still skipped.
  • The project does not include the game, keys or an executable and states that it does not work around any protection; everything is built locally from the user's copy of version 1.0.2.1.
  • Status: the PE loader and import shims are untested against the real executable, and booting, story mode and anything playable are listed as not working.
  • Licensed GPLv3 (or later); the project states it is not affiliated with Rockstar or Take-Two.

Discussion The thread is small and mostly speculative. Commenters noted the project's crowdsourced development model, with contributors claiming work through GitHub issues, and joked about the game's delayed PC release. The conversation drifted toward whether Rockstar or Microsoft would act against the project, and whether it is a piracy vector. The mood is curious and a little cynical, with light humour and no technical debate about the code itself.

  • Piracy concern: the project is likely a vector for illegal copies (some): Commenters suggest Rockstar's lawyers or Microsoft could push for takedowns of piracy-related content hosted on GitHub. They tie the project to the wider piracy picture and to the non-illegal side of things.
  • The project will simply move if taken down (a few): One commenter argues GitHub is only a convenience, so the project could easily relocate to another host if removed.
  • Rockstar may be reconsidering the delayed PC release (a few): A joking take that the existence of this project might push Rockstar to rethink postponing the PC version.
  • Console exclusivity deals likely drive the PC delay (a few): One commenter suggests the PC release timing depends on how valuable the console exclusivity deals were.
  • Interest in the crowdsourced agent-style development approach (a few): One commenter finds it interesting that work is coordinated through GitHub issues where people claim features, which they describe as a crowdsourced agent swarm.

Links from the comments

#GTA6 #reverseEngineering #gameEmulation #staticRecompilation #Vulkan #opensource