ranveersoni98/Xenora
GamesExperimental Xbox Series X|S research framework that translates RDNA 2 shaders to Metal on Apple Silicon for synthetic test programs.
What Xenora is
Xenora is an experimental, open-source research framework for studying Xbox Series X|S recompilation on Apple Silicon Macs. It runs natively on ARM64 macOS and builds three connected pieces: a bounded x86-64 guest interpreter, loading of original fixed-base PE32+ test executables, and a translation path that decodes original AMD gfx1030 (RDNA 2) shaders into Metal Shading Language for the Apple GPU. There is no Wine, CrossOver, Rosetta, or Vulkan runtime involved.
The project is explicit that it is not a working commercial-game emulator. All verification to date covers independently authored synthetic programs and shaders; authentic Xbox executable loading, system services, and commercial game execution remain unsupported current limitations. It is aimed at emulation and graphics-translation researchers who want a testable CPU/GPU pipeline on Metal, not at players expecting to boot games.
Graphics translation pipeline
Shaders flow through an RDNA 2 ISA decoder into a validated intermediate representation, then generated MSL and a native Metal pipeline, with GPU readback compared against independent CPU reference results. Currently verified: translated gfx1030 vertex and pixel stages, a blend pass, indexed triangle draws, and a depth pass. Texture upload, readback, and BC compressed formats are implemented, but translated texture-sampling instructions are still planned Texture support. The rendering checks are deliberately narrow: original fixtures, one triangle per draw, and controlled inputs and outputs Blend and indexed draws.
Persistent GPU resources are handled through generation-checked guest handles, with creation, update, reuse, and destruction services exercised by original PE fixtures. Async GPU work in flight during resource release, persistent Metal texture residency, and general asynchronous execution are not yet implemented.
Build and run
Requirements: an Apple Silicon Mac running native ARM64 macOS, a Rust toolchain with aarch64-apple-darwin, Xcode and Metal tools, Python 3.11 or newer, and LLVM with AMDGPU support for shader-fixture assembly. The recorded environment used Rust 1.100.0 and Xcode 27.2.
git clone https://github.com/ranveersoni98/Xenora.git
cd Xenora
scripts/bootstrap.sh
cargo build --locked -p xenora
cargo fmt --all -- --check
cargo clippy --locked --workspace --all-targets -- -D warnings
cargo test --locked --workspace
The native Metal passes require a Metal-capable Apple Silicon Mac:
scripts/test-gpu.sh
Guest execution can be verified with the x1 experiment suite and the resource checks:
cargo test --locked --manifest-path experiments/x1/Cargo.toml --target aarch64-apple-darwin --features metal
tests/compat_fixtures/verify-resources.sh
Some verification paths need extra tools; the README warns that a missing dependency is not the same as a test failure. The interface document describes the execution and resource boundaries Interface Contracts.
Constraints and scope
The framework is an engineering research project. The guest CPU has limited x86-64 instruction coverage, no general dynamic recompiler, and no multithreading. The loader lacks general relocations, TLS, DLL initialization, and authentic Xbox startup. The shader side lacks general control flow, broader instructions, Wave64, cross-lane operations, and mesh stages. No commercial Xbox title has been demonstrated to run. Progress is measured by reproducible tests rather than estimated game compatibility percentages. Those limits are spelled out in the project's current limitations table, and proposed milestones are labeled as plans, not completed work roadmap. The code is under GPL-3.0 license.
HotRepo's take
On the site's 新项目 榜 snapshot for 2026-11-24, Xenora stood at 109 stars, gaining 8 within the day. The repository was created in late November 2026, so there is not yet a long trend to read; the interesting signal is that a research project published with explicit listed non-goals and measured test results drew attention within hours of appearing. The README's insistence that compiling a shader does not prove its GPU output is correct is a useful framing for anyone evaluating such framework claims, and the documented Apple M5 blend, index, and depth verification campaigns give the project concrete checkpoints beyond a roadmap. That said, none of this is evidence of commercial-game compatibility, which the project itself says is unsupported.
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
- 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.
- ivall/xclRuns Xbox Series X|S game files natively on Windows by reimplementing console libraries and recompiling RDNA2 shaders to DXIL.