itsnotrexed / leonida Architecture and code health
Leonida is a native PC recompilation of the Xbox version of Grand Theft Auto 6
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
| License | GPL-3.0 |
|---|---|
| Code health | 5.9 / 10 (Fair) |
| Health rank | #233 of 279 ranked repos |
| Last commit | Nov 23, 2026 |
| Contributors | 629 |
| Bus factor | 27 |
| Size | 1,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
- Clone the leonida repository.
git clone https://github.com/itsnotrexed/leonida.git - Move into the leonida folder.
cd leonida - Check your copy of the game without building anything.
python -I make_game.py --check - 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
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
- DocumentationModule-by-module documentation, 1,041 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Code health
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.
Maintain itsnotrexed/leonida?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of itsnotrexed/leonida. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask leonida's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/itsnotrexed/leonida?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/itsnotrexed/leonida?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/itsnotrexed/leonida.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/itsnotrexed/leonida?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/itsnotrexed/leonida.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/itsnotrexed/leonida.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>Repowise maps public repos from their source. Not affiliated with itsnotrexed. What is Repowise?