repowiserepowise

r0y00 / xbox2windows Architecture and code health

Static recompilation research for Xbox Series X|S software on x64 Windows, with source-built CPU and GPU tests. Full-game startup is unverified.

PythonMIT

github.com/r0y00/xbox2windowsIndexed Refreshes on every push

What is xbox2windows?

Xbox2Windows is a research project on static recompilation, aimed at researchers and contributors who test Xbox Series X|S software translations on x64 Windows. It translates selected x64 machine code from Xbox programs into C++ and selected gfx1013 shaders into desktop DXIL, the compiled shader format that Direct3D 12 reads on Windows. The project is written mainly in Python and C++ and is built with CMake. To install it, run git clone https://github.com/R0Y00/Xbox2Windows.git and follow the steps below. Its code health is 5.1 out of 10 (Needs_work), ranked #247 of 265 ranked repos. The last commit to xbox2windows was on Nov 24, 2026, and 104 people have contributed.

As of commit 2d42df7, indexed Nov 24, 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 agentsxbox2windows.md

Repo facts: type, license, health, rank, contributors
xbox2windows facts
LicenseMIT
Code health5.1 / 10 (Needs_work)
Health rank#247 of 265 ranked repos
Last commitNov 24, 2026
Contributors104
Bus factor7
Size904 files, 233,921 lines

Ask about xbox2windows

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

Install xbox2windows

Commands copied from the README

  1. 1Clone the repository.
    git clone https://github.com/R0Y00/Xbox2Windows.git
  2. 2Configure the build with the dev preset.
    cmake --preset dev
  3. 3Build the project with the dev preset.
    cmake --build --preset dev

Releases on GitHub (latest gpu-check-v0.1.0, Nov 20, 2026)

Full install notes on GitHub

Ask about this code in your agent

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

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

Explore xbox2windows

Code health

5.1out of 10Needs work

Hotspots average 2.9, the place fixes pay off most.

5.2 to 5.1 over the last 12 indexes

On the leaderboards:#69 of 73 Python repos

r0y00/xbox2windows FAQ

What is Xbox2Windows?

Xbox2Windows is a research project on static recompilation of Xbox Series X|S software for x64 Windows. It translates selected x64 machine code into C++ and selected gfx1013 shaders into desktop DXIL.

How does Xbox2Windows work?

Xbox2Windows translates selected x64 machine code and gfx1013 shaders, then tests the results on Windows. The src directory maps title memory onto desktop GPU allocations, and the tests directory compares native, mapped and recompiled builds.

How do I install Xbox2Windows?

Xbox2Windows is set up by cloning the repository, running the Windows development script from PowerShell, and then configuring and building with CMake using the dev preset. The build requires x64 Windows with Visual Studio's Desktop development with C++ workload. See the install steps

What language is Xbox2Windows written in?

Xbox2Windows is written mainly in Python and C++. Its build is defined with CMake.

How is the Xbox2Windows code organized?

Xbox2Windows has a src directory for the memory and GPU runtime, a tools directory of command-line programs for BC7 textures and Bink video descriptors, and a tests directory of comparison fixtures. CMakeLists.txt defines the build.

Who is Xbox2Windows for?

Xbox2Windows is for researchers and contributors who want to test static recompilation translations of Xbox Series X|S software on Windows. It does not require a game installation to run the public tests.

What license does Xbox2Windows use?

Xbox2Windows is released under the MIT license.

About this page

Get a page like this for your own codebase

Repowise built this map of r0y00/xbox2windows 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 xbox2windows

  • Translates selected x64 machine code from Xbox Series X|S programs into C++.
  • Translates selected gfx1013 shaders into desktop DXIL, the compiled shader format that Direct3D 12 reads on Windows.
  • Runs the public tests without a game installation.
  • Provides a standalone Windows GPU check that generates a report.
  • Compares native Windows, mapped PE and recompiled builds of test programs.

How r0y00/xbox2windows works

Inputs are selected x64 machine code from Xbox programs and gfx1013 shaders, which are translated into C++ and DXIL. The src directory holds the runtime side, where src/xmem_shim.cpp provides XMemAlloc, XMemFree and XMemVirtualQuery and maps title memory onto desktop GPU allocations. The src/startup_stubs directory contains the Direct3D 12 device and runtime stubs, such as src/startup_stubs/d3d12_xs_device.cpp. The tools directory holds command-line programs that decode and probe BC7 textures and Bink video descriptors and can write generated code. The tests directory is the largest, with fixtures that compare native Windows, mapped PE and recompiled builds of the same programs. CMakeLists.txt defines the build, and requirements-dev.txt lists the Python development dependencies.

The codebase has 930 files and 14,846 symbols in 3 modules, led by Python, C++ and Zig. Code health is 5.1 out of 10, rated needs work.

Featured answer

Read the answer

xbox2windows (r0y00/xbox2windows) is a static recompilation research project for testing Xbox Series X|S software translations on x64 Windows, written mainly in Python and C++ and built with CMake. It translates selected x64 machine code from Xbox programs into C++ and selected gfx1013 shaders into desktop DXIL, the compiled shader format that Direct3D 12 reads on Windows. The src directory holds the runtime, including src/xmem_shim.cpp, which maps title memory onto desktop GPU allocations, and src/startup_stubs, which contains Direct3D 12 device stubs such as src/startup_stubs/d3d12_xs_device.cpp. The tools directory has command-line programs that decode and probe BC7 textures and Bink video descriptors, and the tests directory compares native Windows, mapped PE and recompiled builds of the same programs. The layers by file count are Application with 93 files, Utility with 114, Config with 6, and Docs & Tooling with 7, out of 904 files total, and CMakeLists.txt defines the build. Start with the project description and CMakeLists.txt, then the tests directory, keeping in mind that full-game startup is unverified.

Files per layer in xbox2windows4 layers.

Basis: Inferred · knowledge graph· as of 2d42df7

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