What it does
MacBox GDK is a clean-room compatibility layer for user-supplied Xbox Series X|S (GDK) executables on Apple Silicon macOS and Windows. It combines a PE32+ loader, console runtime libraries (xgameruntime, d3d12_xs, dstorage, GameInput, XMem, XAudio2/XMA), an RDNA2-to-DXIL shader recompiler, and a native Apple Metal backend selected with MACBOX_GPU=metal README.
The repository ships no game files, keys, screenshots, title-specific patches, or DRM bypasses; it only works with unencrypted executables you provide. It targets people who want to run their own GDK titles on a Mac and contributors comfortable with Wine, shader translation, and Metal debugging.
Quick start (macOS Apple Silicon)
Prerequisites: an Apple Silicon Mac on macOS 15+, Rosetta 2 (softwareupdate --install-rosetta), Xcode Command Line Tools, Homebrew, and Apple's Game Porting Toolkit, which supplies D3DMetal.framework and libmetalirconverter.dylib README.
- Build the runtime and toolchain. Point the setup script at the Game Porting Toolkit disk image:
GPTK_DMG=/path/to/Game_Porting_Toolkit.dmg ./setup.sh
This installs the Rust target, builds a patched x86_64 CrossOver Wine, extracts the D3DMetal framework and Metal IR converter, compiles the Metal bridge, and builds gdk-run.exe README.
- Run a title through the launcher, not
gdk-run.exedirectly:
tools/macos/run.sh run --execute /path/to/your/title/executable.exe
The script sets the verified Apple Silicon environment (Metal GPU, MSync, Series S profile, MetalFX upscaling, compute compatibility switches, write-watch tracking, DirectStorage workers) and converts POSIX paths to Wine Z:\ paths README. Add --console series-x after the executable path to report Series X instead of the default Series S profile.
The first launch compiles shaders and fills the DXIL and Metal binary caches, so frame times settle once the cache is warm. See the macOS backend docs for all switches and keyboard/controller mappings docs.
Tuning and diagnostics
Environment variables can redirect caches and saves and change runtime behavior, for example MACBOX_CACHE_DIR, MACBOX_DATA_DIR, MACBOX_METAL_CACHE, MACBOX_WINDOW_MAX=1280x720, MACBOX_FIDELITYFX_METALFX=spatial, and MACBOX_LOG=info MACBOX_METAL_STATS=1 for per-frame GPU/CPU/memory stats README.
Testing
cargo test --workspace # host unit tests
cargo xtask policy # clean-room asset and compliance checks
tools/macos/test-metal.sh # synthetic Metal GPU tests under Wine
The changelog reports the Metal test suite passing at 65/65 on the latest entries README.
Constraints
The runtime rejects title packages, caches, and save data placed inside the source tree, so keep them in external directories. Launching gdk-run.exe manually without the launcher's switches often causes visual artifacts, missing UI overlays, or poor frame pacing. Only unencrypted, user-supplied executables are supported; the project declares GPL-3.0-or-later and includes provenance documentation for its clean-room policy LICENSE, provenance.
HotRepo's take
MacBox GDK appeared on HotRepo's new-project list for 2026-12-02 with 101 stars and 22 forks, all gained within a window of roughly 14 hours after creation. That is a fast start for a niche compatibility-layer project with no GitHub daily rank recorded, and the README's own changelog shows a steady stream of Metal fixes and test counts in the same period. The activity is promising, but the project is days old at this snapshot: expect an immature toolchain and rely on the documented test suites rather than assuming broad title compatibility.
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
- LakshanSivakumar/Native-Victory-macOSRust-based native macOS port of an Xbox Series emulator, letting Apple Silicon Macs run GTA VI with a user-supplied game copy.
- 0xjohnnydev/VIctory-macOS-halfwave50Run the Xbox Series build of GTA VI on Apple Silicon Macs via Wine, with an optional native Metal backend fork.
- Freminet/ScarlettXAn experimental high-level emulator that runs legally obtained Xbox Series X|S GDK titles on Windows x64.
- zortos293/XSEmuRun Xbox Series X|S GDK titles on Windows x64 via API and shader translation, aimed at emulator researchers and compatibility-layer developers.
- rorodev6/victory-nvidia-megaforkExperimental Windows compatibility layer that runs user-supplied Xbox Series X|S titles on NVIDIA GPUs.