XCL XboxPlayer Guide

Before you start

Windows 10 or 11, 64-bit; about 12 MB of source once extracted, plus a few GB for the Rust build tree; and a GPU with Shader Model 6.6 and mesh shaders. If that last line fails, stop here — the build still succeeds, and the game still draws nothing.

01

Get the source from GitHub

The source is GPL-2.0 and free. There is no release or installer: clone the upstream repo or download its zip, then enter the xcl folder.

PowerShell, in the parent folder of the source
git clone https://github.com/xcl-dev/xcl.git
02

What is inside the zip

If you cloned the repo, enter the xcl folder. If you use the optional packaged copy, expand it here. The folder has no prebuilt xcl.exe and no game data — you build the binary yourself.

PowerShell, in the parent folder of the source
cd xcl
xcl\
README.mdThe full upstream reference, in English: build requirements, every environment variable, log fields
README.zh-CN.mdThe same walkthrough in Chinese — a shorter guide, not a full translation
Cargo.tomlThe workspace definition — the build command has to run in the folder that holds it
crates\xcl\The layer itself: loader, HLE, GPU, shader translation. xcl.exe is built from here
tests\testtitle\A fake console title shipped in the repo, so the build can be verified without a game
tests\testgamedll\The fake game-shipped middleware DLL that testtitle loads; built alongside it
scripts\test.ps1Builds the workspace and runs every test; anything the GPU cannot run prints SKIPPED
scripts\smoke.ps1Runs a real game for a fixed time and prints a regression block to paste into a report
docs\Topic notes, such as wave64 compute running on 32-lane GPUs
HANDOFF.mdThe development handover document, for when a failure needs detail
LICENSEGPL-2.0-only, covering the whole bundle

The walkthrough only touches Cargo.toml, the crates/xcl folder and scripts. Work in a plain ASCII path with no spaces (for example C:\xcl) so build errors stay readable.

Build steps

03

Install Rust and build tools

Choose stable-x86_64-pc-windows-msvc when installing Rust, and install Visual Studio Build Tools plus the Windows SDK.

Check current toolchain
rustup show
What this step looks like when it fails

If cargo build stops at once with link.exe not found or LINK : fatal error LNK1181, you installed Rust without the C++ workload of Visual Studio Build Tools. If it complains about Windows Kits or missing headers, the Windows SDK components are incomplete. Install the missing components, then re-run rustup show and confirm the default host triple is x86_64-pc-windows-msvc.

04

Get DXC (1.8 or newer recommended)

The SDK copy of DXC may be old and slow for PSO compilation. Download the standalone build and point bin\x64 to an environment variable.

PowerShell
$env:XCL_DXC_DIR = "C:\DXC\bin\x64"

Download: DirectXShaderCompiler Releases

What this step looks like when it fails

Translation failing instantly with no dxcompiler.dll or dxil.dll in the log is this step. XCL looks in Windows Kits\10\bin\<version>\x64, next to xcl.exe, then %XCL_DXC_DIR%. The same 10.0.26100.0 folder can hold DXC 1.7.2308 or 1.8.2502 depending on the SDK revision — the DXC version xcl run prints at startup tells you which one actually loaded.

05

Build inside the xcl\ folder

PowerShell
cd xcl
cargo build --release --workspace

Unpack, enter the xcl folder, and build there — Cargo.toml sits at that level. The binary always lands in target\release\xcl.exe; put that folder on PATH to call xcl from anywhere.

What this step looks like when it fails

A build that dies halfway is usually disk space, RAM, or a crate that wants a newer MSVC toolchain; a failure at the link stage means the Windows SDK components are still incomplete. The binary lands in target\release\xcl.exe, not target\debug\ — dropping --release changes the path and makes every shader compile slower.

06

Run the tests that ship with the folder

No game needed yet: this proves the source you just built is sound. scripts\test.ps1 builds the whole workspace, then runs an end-to-end test with the bundled tests\testtitle; anything this machine cannot run (no GPU, no DXC) prints SKIPPED with a reason instead of failing.

Run from the xcl\ folder
.\scripts\test.ps1

All green, or only SKIPPED left, means the build is fine. A real game comes next.

If the build fails

Each step above prints what its own failure looks like, so match the message before changing anything. If nothing matches, read the error groups by symptom, or hand compile-stage errors to diagnostics.

Built it?
Go to First run to learn how to launch a game.

Optional: packaged source & build support

The source is free on GitHub under GPL-2.0. This 4.90 USD bundle is the reviewed zip plus notes — you do not need it to build XCL.

$4.90one-time

XCL source bundle (zip)

The source is GPL-2.0 and free. There is no release or installer: clone the upstream repo or download its zip, then enter the xcl folder.

  • Upstream XCL source at commit 06c9f550 — 341 files
  • Docs in both languages: README.md and README.zh-CN.md
  • The original GPL-2.0 licence, unmodified

Stripe handles the payment; this site never sees your card details. Buying means you accept XCL's GPL-2.0 licence.

EN