Find your next open-source project

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

xcl-dev/xcl

Games

Run Xbox Series X|S GDK games you own on Windows through native x64 execution and RDNA2-to-DXIL shader translation.

7,631
984
Rust
GPL-2.0
4 days old

What XCL does

XCL is a Wine/Proton-style compatibility layer that lets Xbox Series X|S GDK titles you already own run on a Windows PC. It does not emulate a CPU: the game's x64 code executes natively, while XCL supplies its own independent implementations of the console system libraries missing on PC, such as kernelx.dll, XGameRuntime and d3d12_xs.dll. Console GPU code (RDNA2 machine code) is recompiled into PC shaders — RDNA2 to HLSL to DXIL — and replayed through D3D12 pipelines.

It is aimed at people who have unpacked their own console game files and want to run them on a Windows machine, plus developers interested in the loader, shader recompiler and GDK thunk work.

Quick start

Build prerequisites are Windows 10/11 x64, a stable x86_64-pc-windows-msvc Rust toolchain, the Windows SDK with DXC (dxcompiler.dll, dxil.dll), a D3D12 GPU with Shader Model 6.6 and mesh shaders, and the system XGameRuntime from Windows/Gaming Services. On Windows 10 an Agility SDK D3D12Core.dll must be placed next to xcl.exe, under a D3D12\ folder, in %LOCALAPPDATA%\XCL\D3D12\, or located via %XCL_D3D12_DIR%. DXC 1.8+ is recommended and can be pointed to with XCL_DXC_DIR.

cargo build --release --workspace          # target\release\xcl.exe
xcl run D:\Game [-- game arguments]        # run an unpacked game folder

xcl inspect D:\Game\game.exe lists the game's imports and what XCL provides for them. Without arguments, xcl.exe opened from Explorer shows a menu to choose a game executable or MicrosoftGame.config, or rerun the last title. Runs write report.json and logs under %LOCALAPPDATA%\XCL\<title>\.

Controls and configuration

A gamepad is recommended: any controller Windows sees through XInput becomes the game's gamepad. Keyboard and mouse can also be mapped as a gamepad (WASD, mouse, A/Enter, B/Escape and so on), controlled by keyboard_mouse and mouse_sensitivity in the title's xcl.toml. See the controls documentation for the full mapping.

Constraints

XCL works only on unpacked game files you own; it does not download, decrypt or unpack XVC/MSIXVC packages and contains nothing for circumventing DRM. The game folder is never modified because writes go to an overlay in %LOCALAPPDATA%. GPU support is uneven: geometry and NGG programs require mesh shaders, and on NVIDIA's 32-lane-wave hardware console wave64 programs run as two 32-lane halves, which is slower and can differ for shaders reading lanes 32–63. Test results on other GPUs are tracked in issue #42. Real-game tests depend on user-supplied data via environment variables; no game data is included in the repository. The project is GPL-2.0-only.

Status by title

The README's compatibility table reports fully playable states for Minecraft Preview and Unicorn Overlord, and screen-level working state for Fortnite and XDefiant (the latter offline). A newer retail title starts, holds 30 fps and reaches settings menus but has not reached gameplay. These are project-reported observations tied to specific package versions, not general guarantees.

HotRepo's take

XCL entered HotRepo's new-project list on 2026-11-24 with 150 stars added in the recorded one-hour growth window and 22 forks, around 7,469 total stars. No all-language daily ranking has been recorded for it yet. What stands out in the technical material is the breadth of verification behind the claims: 26,698 of 26,698 shaders in one retail pack translating, 909/912 textures byte-exact, and a 370+ test suite including per-instruction GPU checks. The caveat sits in the GPU support matrix and the single-title gameplay status, so evaluate it against the hardware and game you actually plan to use.

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. ivall/xclRuns Xbox Series X|S game files natively on Windows by reimplementing console libraries and recompiling RDNA2 shaders to DXIL.Rust1,613
  2. 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
  3. R0Y00/Xbox2WindowsResearch toolkit that statically recompiles Xbox Series X|S code and shaders to x64 Windows, with GTA VI as the case study.Python1,299
  4. Freminet/ScarlettXAn experimental high-level emulator that runs legally obtained Xbox Series X|S GDK titles on Windows x64.C++105
  5. LooperSalty/AnyXboxXA prototype Xbox Series X high-level emulator that boots GDK executables on Windows and targets one GTA VI build.Python121