A lightweight compatibility runner for the Xbox Series S|X version of a certain AAA game based in fictional Florida.
AME runs the game's own x86-64 code natively on x86-64 Linux and takes over what the console normally does, with no CPU emulation. Drop your copy of the game into the folder with the ame binary and run it. Shaders and pipelines are translated the first time they are used.
AME targets Linux first. It is built and tested on Linux, with Windows support in progress, while the other Xbox Series runtimes are Windows-only. It is self-contained: C++23 and CMake, every dependency shipped in-tree and built from source.
The GPU translation is validated by running each program on an actual RDNA2 GPU and on the Vulkan path, then comparing the results bit for bit. XMA2 audio and BCPack textures are clean-room reimplementations, with no vendor code coming along with AME. AME itself is released under the Unlicense, so no copyleft conditions apply to it or to what you run with it.
Loads in-game with major visual glitches (in particular when running on dGPU) and can progress through prologue at low frame rate. Very experimental.
All shaders translate successfully. See notes/shader-coverage.md for the shader and hardware coverage census.
Audio and input is fully implemented.
Minimum requirements:
- 16 GB of RAM, more if you use a discrete GPU. You may need a headroom (even another 16GB) for shader compilation, this is actively being worked on.
- a CPU with the x86-64-v3 instruction set (AVX2), the ISA level of the console's Zen 2 CPU. A weaker host prints a warning at startup and the game then mostly crashes
- a GPU with RDNA2 capabilities. NVIDIA works too, with each 64-lane wave emulated as two lanes per shader invocation
- as the original game relies on the unified memory model, a strong integrated GPU is currently recommended over discrete GPU.
Nothing else needs installing. AME bundles the rest.
Build it:
cmake --preset release
cmake --build --preset releaseThis produces build/release/ame. You supply the game files yourself. Put the game's files and sysroot folder next to the binary and run ./ame: AME finds the game and the DLLs it needs on its own.
It should look like this:
- data/
- pack/
- sysroot/ <- copy it from AME distribution
- game_scarlett_master.exe <- this usually ships separately so put it among other files
- ame(.exe) <- double click to run
- ... <- all *.rpf, *.dll files, etc., eg.:
- gameos.xvd
- microsoft_gameconfig.bin
- msvcp140.dll
- msvcp140_1.dll
The GPU translation is validated against real RDNA2 hardware. These runs need an RDNA2 GPU in the UMA model on a Linux machine: a Radeon 610M/660M/680M, a BC-250, a Steam Deck, or a PS5 running Linux. Discrete cards such as the Radeon RX 6xxx do not match the memory model of the console, so they are untested/unsupported and not used for validation.
Run the test suite with ctest --preset release.
The better-known Xbox Series runtimes are Windows-only projects with odd design choices:
- Host: Modern x86_64 hardware with focus on Linux, designed in a cross-platform way.
- GPU target: Vulkan, validated against real RDNA2 hardware using a custom minimal user-mode driver. This is an intentional choice, D3D12X despite the name has less to do with Desktop D3D12 than you would expect.
- Implementation: C++23, self-contained, avoiding anything GPL licensed.
We believe that intellectual property is bullshit. So AME is free and unencumbered software released into the public domain under either the WTFPL or Unlicense.
