What is 0xjohnnydev/macbox-gdk?
MacBox GDK is a clean-room Xbox Series X|S (GDK) compatibility layer for Apple Silicon Macs and Windows, written in Rust with a native Apple Metal GPU backend. It combines a relocating PE32+ loader, standalone console runtime implementations, an RDNA2-to-DXIL shader recompiler, and a Wine bridge using Apple’s Metal Shader Converter.
A setup script configures the Rust target, builds a patched x86_64 CrossOver Wine with SDL2 controller support, installs D3DMetal.framework from Apple’s Game Porting Toolkit, and compiles the native Metal bridge. Users run their own unpacked GDK executables via a helper script that enables Series S defaults, Metal binary archive caching, and built-in hardware profiling counters.
The repository contains no game binaries, assets, keys, or DRM bypasses, and runtime checks refuse to read or write caches inside the source tree. Running on macOS requires an Apple Silicon Mac on macOS 15+ with Rosetta 2, Xcode Command Line Tools, Homebrew, and the Game Porting Toolkit disk image.
Before you startThe README says
- Runs on
- macOS 15+ on Apple Silicon Macs (also supports Windows)
- Needs
- Rosetta 2, Xcode Command Line Tools, Homebrew, Game Porting Toolkit .dmg, own unpacked GDK executable
- Accounts or paid services
- Apple Developer download access for Game Porting Toolkit .dmg
- How you get it
- Clone repository and run ./setup.sh
- Not yet
- Ships no game files or DRM bypass; offline XStore returns errors; first run compiles shaders slowly