Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

zortos293/XSEmu

Games

Run Xbox Series X|S GDK titles on Windows x64 via API and shader translation, aimed at emulator researchers and compatibility-layer developers.

341
24
Rust
GPL-2.0
3 days old

What it is

XSEmu is an experimental compatibility layer that runs Xbox Series X|S titles built against the GDK on Windows x64. It is not a full console emulator: the title's x64 code executes natively on the host CPU, and the XCL layer substitutes for console libraries Windows does not provide, similar to Wine. It is derived from ivall's XCL at a fixed upstream commit.

The project handles the PE loader and runtime shims for kernelx, XGameRuntime, GameInput and XAudio2, a virtual file system that maps console paths (G:, GAME:, S:, T:) with a read-only game folder and per-title write overlay, DirectStorage with zlib and BCPack decoding, and a D3D12.X layer that creates real PC D3D12 objects. Console RDNA2 shaders are recompiled to HLSL and then to DXIL, with three disk caches and a pipeline manifest for warm-up runs.

It is intended for research and emulator development, not as a finished way to play retail games.

Build and run

Prerequisites are Windows 10 or 11 x64, a D3D12 GPU with Shader Model 6.6 and mesh shader support, DXC from the Windows SDK, Gaming Services (for xgameruntime.dll), the Rust MSVC toolchain and Visual Studio C++ build tools. You also need an unpacked copy of a title you own.

Build from the repository root:

cargo build --release --locked --workspace

The output is target\release\xcl.exe. Then run a title:

xcl run <game folder | game.exe> [-- game arguments]

Opening xcl.exe from Explorer also shows a menu asking for the game exe or MicrosoftGame.config. Before the first run, you can precompile shaders with xcl shaders <path> --precompile and rebuild pipeline state with xcl warm-up; the README documents each command's options in the usage section.

Constraints

  • The project is explicitly experimental: expect crashes, missing features and rendering errors, and it makes no per-title compatibility claims. Upstream XCL results are recorded separately and are not XSEmu results status section.
  • Without mesh shaders, geometry and NGG programs are not drawn. Windows 10's inbox D3D12Core.dll stops at SM 6.5, so the D3D12 Agility SDK must be placed next to xcl.exe, under %LOCALAPPDATA%\XCL\D3D12\, or in %XCL_D3D12_DIR% requirements.
  • BCPack decompression needs a table file that is not in the repository; without XCL_BCPACK_TABLES, BCPack requests fail.
  • Only one XCL process tree may run at a time; warm-up refuses to start while another xcl.exe is running.
  • The virtual file system is not a security sandbox, and title code runs natively on the PC, so only trusted titles should be run legal notes.
  • The repository ships no game files, firmware, SDK headers, keys or dumps, does not decrypt packages and does not bypass DRM. It is licensed GPL-2.0-only.

HotRepo's take

HotRepo recorded XSEmu on its new-project list on 2026-11-26, with 207 stars gained over roughly 1.5 hours of observation and 339 stars at the end of that window. That is a short burst around a freshly created repository rather than an established compatibility record, and the README itself makes no title-level promises. The interesting technical substance is the RDNA2-to-HLSL recompiler and the cache/warm-up pipeline for shader-heavy titles; the project is worth following for people interested in Xbox GDK translation, but the status notes set expectations firmly at research-software level.

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

  1. xcl-dev/xclRun Xbox Series X|S GDK games you own on Windows through native x64 execution and RDNA2-to-DXIL shader translation.Rust7,470
  2. ivall/xclRuns unpacked Xbox Series X|S games you own natively on Windows by reimplementing console system libraries and recompiling RDNA2 shaders to DXIL.Rust7,815
  3. ZigZagBoi1/ScarlettPortA work-in-progress port layer that runs an Xbox Series X|S game's own code natively on PC using your game files.Rust102
  4. PastiiJay/klbf-labRun an Xbox Series build of a GDK game on Windows from your own files, with AMD-focused rendering fixes.Rust62
  5. uiliannn/VItoriaBrRuns one Xbox Series X|S title on Windows via a native runtime and D3D12/DXIL shader translation, for users who own the game files.Rust103