# XPortPC takes an AI-assisted crack at running Xbox Series X|S code on Windows

> XPortPC builds on Xbox2Windows to translate Xbox Series X|S shaders and system libraries for Windows PCs, though full games do not boot yet.

- Published: 2026-11-24T07:50:47Z
- Score: 7/10
- Tags: pc, xbox, tool, bc250
- Port / platforms: Xbox Series -> PC (Windows) (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/xportpc-xbox-series-recompiler-windows/
- Sources: https://github.com/Its3rr0rsWRLD/XPortPC

A new GitHub repository called XPortPC aims to run Xbox Series X|S (Scarlett) programs on Windows PCs. Developed by Its3rr0rsWRLD as a fork of Xbox2Windows, it loads native x64 game code and replaces console-specific components with Windows equivalents.

Scarlett titles are already x64 code, so XPortPC loads them natively and translates only the CPU code that needs patching. Its launcher (`x2w_launch.exe`) maps the executable with `pe_map`, resolves imports from a shim directory, a DLL beside the program, Windows, or a generated stub, and runs missing Zen 2 instructions (such as SHA-NI or CLZERO) in a `#UD` handler. The shader converter translates gfx1013 (RDNA) shader programs into HLSL and desktop DXIL for DirectX 12, checking each draw bit-for-bit against an independent CPU reference on hardware and WARP.

The author states XPortPC exists so their AI subagents can work together on one codebase directly, with useful changes meant to flow back upstream to Xbox2Windows. Shader stores, LDS, image stores, command streams, and a full title start are not working yet; buffer and global loads are in progress.

To compile and run the self-contained test suite on x64 Windows, you need:
1. Visual Studio with Desktop development with C++, x64 MSVC, CMake with Ninja, and Windows SDK 10.0.26100 with DXC.
2. Python 3.11 or newer for fixture tests, running `cmake --preset dev` and `ctest --preset dev`.
