R0Y00/Xbox2Windows: Static Recompilation of Xbox Series X Software
GitHub Open Source
Translate Xbox Series X/S software to run on x64 Windows with this static recompilation research project.
Repository snapshot
- Repository: R0Y00/Xbox2Windows
- Language: Python
- License: MIT
- Stars: 1 852
- Forks: 210
Daily open-source picks: GitHub Open Source on Telegram
What it is
Xbox2Windows is a research project focused on static recompilation, moving software designed for the Xbox Series X/S (Scarlett) architecture to x64 Windows. Rather than emulating the hardware at runtime, it attempts to translate the binary's x64 machine code into C++ and convert the console-specific gfx1013 shaders into desktop-compatible DXIL. It uses a shim-based approach to redirect D3D12 calls and memory allocations, allowing the recompiled code to interact with the Windows environment.
Why it matters
Bridging the gap between console-specific binaries and desktop execution is a significant challenge in reverse engineering and systems research. This project provides a transparent look at how one might map console-specific graphics pipelines and memory management to standard PC APIs. By providing tools to compare native, mapped, and recompiled builds, it allows developers to verify if the translation layer is producing identical results at the pixel and byte level.
Key features
- Machine Code Translation: Converts x64 machine code into C++ for native compilation.
- Shader Mapping: Translates gfx1013 shaders into standard desktop DXIL.
- Verification Suite: Includes tests that validate output against native Windows, mapped PE, and AOT builds to ensure pixel-perfect parity.
- D3D12 Compatibility: Implements shims for D3D12 root signatures, heap allocation, and software rendering.
- Offline Inspection: Provides tools to inspect PE package imports and export closures without needing to execute the binary.
Quick start
Ensure you have Python 3.11+ and the Visual Studio Desktop development with C++ workload installed. Then run:
git clone https://github.com/R0Y00/Xbox2Windows.git
cd Xbox2Windows
.\tools\dev.ps1
cmake --preset dev
cmake --build --preset devWho should try it
This project is for developers and researchers who want to study binary translation and shader architecture. If you are interested in how console-specific graphics calls can be shimmed to run on Windows, this provides a concrete, documented codebase to explore. It is not intended for end-users looking to run retail games, as full game startup and menu navigation are not yet supported.
Verdict
Xbox2Windows is a highly technical research sandbox. It is excellent for those who want to understand the mechanics of static recompilation and binary mapping. However, if you are looking for a functional emulator to play games, you should skip this project, as it is currently focused on low-level diagnostic and architectural research.
Continue exploring
Get the next pick in Telegram: Follow GitHub Open Source
Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.