Skip to content
ranveersoni98Public

About

An experimental Xbox Series X|S recompilation framework for Apple Silicon, targeting native ARM64 execution and RDNA-to-Metal graphics translation through XenoMetal.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

199 stars

Watchers

1 watching

Forks

Xenora

Experimental Xbox Series X|S emulation research for Apple Silicon.

CI Apple Silicon Metal GPL-3.0-or-later

Getting started · Status · Contributing · Changelog


Xenora is an independent, open-source compatibility research project built primarily in Rust. It combines x86-64 guest execution, PE32+ loading and RDNA 2 shader translation with a native ARM64 and Metal backend.

No Wine. No CrossOver. No Rosetta. No Vulkan.

Special thanks to @catminou4, @Swastickc, @katherinebytes, @zachdoxsee, @jelly013 and all our contributors for their dedication, research, and countless hours of development. Xenora would not be where it is today without you.

Caution

Xenora strictly opposes piracy. We do not distribute copyrighted game files or support unauthorized content, leaked materials or DRM circumvention. Use only legally obtained software. See our legal policy.

Project status

Subsystem Current support
Guest CPU Bounded x86-64 execution and partial ARM64 recompilation
PE loader Synthetic PE execution and static inspection
Runtime Partial imports, memory, threading and system services
Audio Guest XAudio2 and WASAPI PCM rendering, with opt-in CoreAudio
GPU Partial RDNA 2 → Metal shader translation
Graphics Offscreen rendering, blending, depth and indexed draws
Textures Block-compressed texture upload, readback and partial decoding
Integration Persistent synthetic applications and native macOS app

The next major goals are broader CPU and GPU coverage, authentic Xbox startup compatibility and reproducible application execution. See the changelog for ongoing development.

Getting started

Requirements: Apple Silicon, macOS 14+, native Rust 1.100+, and Xcode or its Command Line Tools with Swift 6+ and a macOS SDK. Developer tools may require a newer macOS release.

git clone https://github.com/ranveersoni98/Xenora.git
cd Xenora
scripts/build-app.sh
open build/Xenora.app

Select Run trusted fixture to verify the guest display using an original test program.

Play the original combined XAudio2 and WASAPI audio fixture on the default macOS output device:

XENORA_AUDIO_OUTPUT=coreaudio cargo run --locked -p xenora -- \
    run --experimental --pe fixtures/pe/audio-stream/audio-stream.exe --max-steps 2000000

The guest audio pipeline uses headless PCM capture by default. See the guest audio contract for supported formats and interfaces.

Run a persistent synthetic session from the terminal:

cargo run --locked -p xenora --bin xenora-session -- left right left

To replay a sequence against an authored PE guest, save up to 64 unsigned 32-bit decimal inputs, each ending with LF or CRLF. The launcher reads the inputs from this file instead of standard input, validates them all before starting the guest, and uses a deterministic guest clock. An empty file finishes at the initial input boundary.

printf '10\n21\n10\n' > inputs.txt
cargo run --locked -p xenora --bin xenora-pe-session -- \
    --experimental --pe authored-session.exe --replay inputs.txt

Development

scripts/bootstrap.sh
cargo build --locked -p xenora
cargo test --locked --workspace
scripts/test-gpu.sh

See Contributing for toolchain requirements and verification, and Interface contracts for technical details.

Contributors

Contributors

Repo Stats

Alt

License

Licensed under GPL-3.0-or-later. See third-party notices.

Xenora is independent and is not affiliated with Microsoft, Xbox, Apple or any game publisher.

About

An experimental Xbox Series X|S recompilation framework for Apple Silicon, targeting native ARM64 execution and RDNA-to-Metal graphics translation through XenoMetal.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

199 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages