Experimental Xbox Series X|S emulation research for Apple Silicon.
--- 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](https://github.com/catminou4), [@Swastickc](https://github.com/Swastickc), [@katherinebytes](https://github.com/katherinebytes), [@zachdoxsee](https://github.com/zachdoxsee), [@jelly013](https://github.com/jelly013) and all our [contributors](https://github.com/ranveersoni98/Xenora/graphs/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](docs/legal.md). ## 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](docs/runtime/xaudio2.md) | | 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](CHANGELOG.md) 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. ```sh 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: ```sh 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](docs/runtime/xaudio2.md) for supported formats and interfaces. Run a persistent synthetic session from the terminal: ```sh cargo run --locked -p xenora --bin xenora-session -- left right left ``` To replay a sequence against an [authored PE guest](docs/runtime/authored-pe-session.md), 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. ```sh 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 ```sh scripts/bootstrap.sh cargo build --locked -p xenora cargo test --locked --workspace scripts/test-gpu.sh ``` See [Contributing](CONTRIBUTING.md) for toolchain requirements and verification, and [Interface contracts](docs/interfaces.md) for technical details. ## Contributors [](https://github.com/ranveersoni98/Xenora/graphs/contributors) ## Repo Stats  ## License Licensed under [GPL-3.0-or-later](LICENSE). See [third-party notices](THIRD_PARTY_NOTICES.md). Xenora is independent and is not affiliated with Microsoft, Xbox, Apple or any game publisher.