opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Xbox Series X|S games running natively on Windows, no CPU emulation
GitHub RepoViews35

Project Description

View on GitHub

Running Xbox Series X|S Games on Your PC Without Emulating the CPU

You've probably seen the headlines about Xbox emulation and assumed it means translating every instruction of a console's CPU into something a PC can chew on — the slow, lossy approach that keeps most emulators stuck in the past. XCL takes a different route entirely: your PC's processor runs the game's x64 code natively, and the project fills in only the console-specific libraries that Windows doesn't ship. It's a compatibility layer in the Wine and Proton tradition, aimed at Xbox Series X|S GDK titles.

What It Does

XCL is a compatibility layer that runs Xbox Series X|S game files on a Windows PC without CPU emulation. The game's x64 code executes directly on your hardware, while XCL stands in for the console libraries the PC lacks — kernelx.dll, XGameRuntime, d3d12_xs.dll, and others. The GPU side gets more involved: the console's RDNA2 machine code is recompiled into PC shaders by way of HLSL and DXIL.

The project is tested against real retail data rather than synthetic samples — shader packs, texture archives, movies, and the console DLLs that games actually ship. A design spec and a handoff document with measurements and next steps live in the repository alongside the code.

Why It's Cool

  • The shader translation is complete, not approximate. One retail game's entire shader pack — 26,698 RDNA2 programs across 26,503 records — translates to HLSL, and random samples compile to DXIL with zero errors. That's the kind of number that tells you the pipeline isn't a prototype.

  • The game's own console DLLs run on your PC. The Bink 2 video codec decodes the game's movies, the ray-tracing BVH builder builds acceleration structures on a PC GPU, and the AMD FSR 4 console upscaler runs a whole frame on a PC GPU. Rather than reimplementing everything from scratch, XCL lets the shipped binaries do their jobs.

  • Texture decoding is byte-exact. The GFX10 tiling and mip layout reproduce 909 of 912 textures from a retail texture archive byte for byte, volume textures included. Those three misses are worth knowing about, but the precision here is the point.

  • The architecture is honest about what it replaces. The PE loader handles relocations, imports by name, ordinal, and delay-load, TLS callbacks, exception tables, and data-driven import routing between HLE, Windows, and stubs. The file system maps console paths (GAME:, G:, D:) to the game folder, routes writes to an overlay so the game folder is never modified, and answers free-disk-space queries for console paths. Memory is shared between CPU and GPU without copies, up to 16 GB in 4 GiB windows.

  • 370+ automated tests, including GPU tests that compare translated shaders against expected results instruction by instruction. That's the difference between "it booted" and "it works."

The games table is refreshingly blunt. Minecraft Preview and Unicorn Overlord are fully playable. Fortnite and XDefiant "work fully, as far as the game allows without its online services" — which for XDefiant means its servers are gone, and for Fortnite means it's online-only by design. A newer retail game starts in about four seconds, holds a steady 30 fps, and reaches its settings menu before hitting a wall at gameplay, with its minimap mesh pipelines refused. That's a project telling you exactly where it stands.

How to Try It

The README doesn't include install commands, so start at the source:

  1. Head to the repository and read the README in full.
  2. Check HANDOFF.md for details, measurements, and next steps, and the design spec under docs/specs/ for how the layer is put together.
  3. Join the Discord — it's the obvious place to ask about setup, since the README points there directly.

You'll need a Windows PC and legitimate game files; the README's game table lists the exact package names and versions that have been tested, which is the right place to start if you want a known-good target.

Final Thoughts

XCL is early but unusually rigorous for a project at this stage — the test counts, the byte-exact texture results, and the willingness to publish a "gameplay not reached yet" row all suggest someone building carefully rather than chasing a demo. It's aimed at people who enjoy compatibility-layer work and want to see how far native execution plus library shimming can go for a modern console. If that's you, the Discord and the handoff doc are where the real conversation is happening.

Back to Projects
Project ID: xclLast updated: November 24, 2026 at 02:50 AM