repowiserepowise

itsnotrexed / leonida Architecture and code health

Leonida is a native PC recompilation of the Xbox version of Grand Theft Auto 6

PythonGPL-3.0
No longer available on GitHub.Map your own repo, free

github.com/itsnotrexed/leonidaIndexed Refreshes on every push

What is leonida?

leonida is a static recompilation project that runs Grand Theft Auto VI for Xbox Series natively on Windows, built on your PC from your own copy of the game. It loads the game's x86-64 code directly, reimplements the console's system software, and translates the RDNA2 GPU programs to SPIR-V for Vulkan. The game does not boot yet, but the tools that translate its shaders, models, textures and audio are in place, and the main language is Python with C++ and Rust components. Its code health is 5.9 out of 10 (Fair), ranked #233 of 279 ranked repos. The last commit to leonida was on Nov 23, 2026, and 629 people have contributed.

As of commit 2d53a80, indexed Nov 23, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsleonida.md

Repo facts: type, license, health, rank, contributors
leonida facts
LicenseGPL-3.0
Code health5.9 / 10 (Fair)
Health rank#233 of 279 ranked repos
Last commitNov 23, 2026
Contributors629
Bus factor27
Size1,819 files, 590,514 lines

Ask about leonida

Answers come from leonida's README and source, with the files they cite. Two free answers a day without an account.

Getting started with leonida

  1. Clone the leonida repository.
    git clone https://github.com/itsnotrexed/leonida.git
  2. Move into the leonida folder.
    cd leonida
  3. Check your copy of the game without building anything.
    python -I make_game.py --check
  4. Build the port from a terminal, choosing your game folder, an output folder and a work folder.
    python -I make_game.py --game "D:\path\to\your\package" --out "D:\Games\Leonida" --work "E:\leonida-work"

Commands copied from the README

Get this map for your own codebase

  • A dependency graph, git history, docs and decisions
  • Your coding agent asks it directly instead of grepping around
  • In Claude Code: answers 47% faster, 51.2% fewer output tokens
Index your repo free

Ask about this code in your agent

This connects Repowise to leonida's code. It does not install leonida. To install leonida, use the install steps.

Useful if you want to change or fork leonida: your agent can ask how it is put together and get answers that cite its files.

Explore leonida

Code health

5.9out of 10Fair

Hotspots average 4.2, the place fixes pay off most.

6.1 to 5.9 over the last 12 indexes

On the leaderboards:#65 of 76 Python repos

itsnotrexed/leonida FAQ

What is leonida?

leonida is a static recompilation project that runs Grand Theft Auto VI for Xbox Series natively on Windows. It works from your own copy of the game, and the port is built on your PC. The game does not boot yet, but the translation tools are in place.

How does leonida work?

leonida loads the game's x86-64 code directly and reimplements the console's system software. Its RDNA2 GPU programs are translated to SPIR-V for Vulkan, and the game's models, textures and audio are read from your package.

How do I install leonida?

leonida is built on your PC rather than downloaded ready-made. Install the listed prerequisites, then run python -I make_game.py from a terminal, pointing it at your game folder, an output folder and a work folder. See the install steps

What language is leonida written in?

leonida is written mainly in Python, with C++ and Rust components. Its runtime is built with CMake, and its Python tests use pytest.

How is the leonida code organized?

The build driver make_game.py sits at the top level, and runtime holds the native code that maps Direct3D 12 calls to Vulkan. The tools directory holds standalone translation and check scripts, and viewer serves the scene viewer to a local browser.

What license does leonida use?

leonida is licensed under GPL-3.0. The license identifier is GPL-3.0 as recorded for the repository.

About this page

Get a page like this for your own codebase

Repowise built this map of itsnotrexed/leonida from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

Key features of leonida

  • It builds the Windows port on your PC from your own copy of the Xbox Series package, so the port is not downloaded ready-made.
  • It loads the game's x86-64 code natively and reimplements the console's system software.
  • It translates the console's precompiled RDNA2 GPU programs to SPIR-V for Vulkan.
  • It reads the game's models, textures and audio from your package and keeps all generated files on your PC.

How itsnotrexed/leonida works

The input is your own copy of the Xbox Series package, which make_game.py reads from disk to build the port. make_game.py runs the build in stages named check, shaders, assets and runtime, and a stopped build continues where it left off. The directory tools holds standalone Python scripts that translate and check shader, texture, archive and conformance data. The runtime directory contains the native part: runtime/src/main.cpp is its entry point, and runtime/shims maps the game's Direct3D 12 and DXGI calls onto a Vulkan device, forwarding command lists and descriptors along the way. The viewer directory serves the scene viewer's pages and world files to a browser on the local machine.

The codebase has 1,819 files and 46,657 symbols in 7 modules, led by Python, C++ and Rust. Code health is 5.9 out of 10, rated fair.

Repowise maps public repos from their source. Not affiliated with itsnotrexed. What is Repowise?