XenoraOSS/Xenora
GamesAn experimental clean-room Xbox Series X|S compatibility research framework that runs synthetic x86-64 guests and translates RDNA 2 shaders to Metal on Apple Silicon.
What Xenora is
Xenora is an experimental, clean-room research project for running Xbox Series X|S–style code natively on Apple Silicon Macs. It is written mainly in Rust and combines a bounded x86-64 guest interpreter, loading of original PE32+ test executables, translation of AMD RDNA 2 (gfx1030) shaders into Metal Shading Language, and a native Apple Metal compute/rendering backend—without Wine, CrossOver, Rosetta or a Vulkan runtime (README).
The current verified scope is deliberately narrow: the projects runs and checks independently authored synthetic programs, shaders and fixtures only. Authentic Xbox executables, console system services and commercial games are not supported, and no commercial Xbox title has been shown to execute (current limitations).
The translated graphics path already covers vertex and pixel shader stages, offscreen RGBA8 rendering, colour write masks and blending (39 validated passes), indexed triangle draws with 16- or 32-bit indices and signed base vertices (16 passes), and depth testing through an optional Depth32Float attachment (30 passes) (blend, indexed draws, depth). Texture upload/readback and BC1/BC4/BC5/BC7 handling exist, but translated texture-sampling instructions are not implemented (texture support).
Quick start
Requirements: an Apple Silicon Mac running native ARM64 macOS, a Rust toolchain with aarch64-apple-darwin, Xcode with Metal tools, Python 3.11+, and (for shader-fixture assembly) LLVM with AMDGPU support (building section).
git clone https://github.com/ranveersoni98/Xenora.git
cd Xenora
scripts/bootstrap.sh
cargo build --locked -p xenora
Run the standard check set:
cargo fmt --all -- --check
cargo clippy --locked --workspace --all-targets -- -D warnings
cargo test --locked --workspace
On a Metal-capable Mac, run the native GPU suite, which enables Metal API and shader validation:
scripts/test-gpu.sh
The guest-execution tests add the Metal feature and an x86-64 test target, and further fixture scripts appear under tests/compat_fixtures/ (README build and test section). Expect test output rather than a playable application; the project has no working game front-end yet.
Architecture and verification approach
The guest path interprets a bounded subset of x86-64 inside an ARM64 host, loads fixed-base PE32+ programs, and dispatches named imports to host services. RDNA 2 shader bytes are decoded into a checked intermediate representation and emitted as Metal Shading Language, then run on the GPU with readback compared against independently calculated CPU references. Outputs are checked per pixel, so passing fixtures demonstrate correctness for those fixtures only—not general RDNA 2 or Xbox compatibility. Execution and resource boundaries are documented in the interface contracts.
Constraints
- macOS on Apple Silicon only; there is no general-purpose x86-64 dynamic recompiler or complete Xbox OS implementation.
- Shader coverage is a bounded gfx1030 subset: wide control flow, Wave64, cross-lane operations and mesh/geometry stages are still planned.
- Xbox-specific texture layouts, translated sampling, general relocations, TLS, DLL initialization and runtime APIs remain incomplete (current limitations).
- Roadmap items X10–X25 are proposals, not finished features; completing one milestone does not guarantee a specific game will run (milestones).
- The repository is GPL-3.0-or-later (LICENSE); the project states it is unaffiliated with Microsoft, Xbox, Rockstar Games or Apple.
HotRepo's take
Xenora appeared on HotRepo's Rust new-project list on 2026-11-25 with 132 stars and 25 forks, after gaining 2 stars in the recorded one-hour window. There is no GitHub all-language daily rank on record yet. That is a small signal base; the more useful read is that the repository is upfront about being research infrastructure: verified work covers synthetic fixtures and isolated Metal passes, and the README draws a clear line between demonstrated behavior and the long-term goal of running games. Readers looking for an emulator they can use should look elsewhere; readers interested in clean-room CPU/GPU compatibility work will find a curated, test-driven starting point rather than a finished product.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- ranveersoni98/XenoraExperimental Xbox Series X|S research framework that translates RDNA 2 shaders to Metal on Apple Silicon for synthetic test programs.
- sammwyy/xvalkyrieExperimental translation layer that runs Xbox One and Series X|S executables natively on 64-bit Windows, aimed at researchers and homebrew developers.
- ZigZagBoi1/ScarlettPortA work-in-progress port layer that runs an Xbox Series X|S game's own code natively on PC using your game files.
- xcl-dev/xclRun Xbox Series X|S GDK games you own on Windows through native x64 execution and RDNA2-to-DXIL shader translation.
- jhaizhou-ops/S2ArmPorts your own 64-bit Switch games to run natively on iPhone, iPad and Apple silicon Mac.