最近推送 2026-11-29 21:56(4 天前),属于活跃维护
zortos293/XSEmu
GITHUB中文整理主语言 Rust · 1,266 星 · GPL-3.0 · 创建于 2026-11-23
一个面向 Windows 的实验性运行工具,用来尝试执行 Xbox Series X|S(GDK)游戏,建立在 XCL 翻译层之上。
仓库健康度
5 个维度开放 Issue 28 个 · Fork 103 个
24 小时 积累中 · 7 日 +474 · 30 日 积累中
许可证 GPL-3.0 · 12 个 topics
这一项暂无数据,不代表项目没有发布
「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。
Star 趋势
7 天记录横轴 2026-11-27 → 2026-12-03,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。
它解决什么问题
据 README 归纳Xbox Series X|S 的 GDK 游戏与 Windows 平台存在图形接口和着色器格式差异,无法直接在电脑上运行。缺少这类翻译工具,就只能依赖官方兼容方案或无法启动。
核心能力
4 条- 1将 D3D12.X 接口翻译为 D3D12
- 2把 RDNA2 着色器转换为 DXIL
- 3基于 XCL 翻译层承载 Xbox 图形调用
- 4在 Windows 上尝试运行 GDK 标题
项目画像
6 个角度项目定位
一个面向 Windows 的实验性运行工具,用来尝试执行 Xbox Series X|S(GDK)游戏,建立在 XCL 翻译层之上。
适合谁
面向想在 Windows 上尝试运行 Xbox Series X|S 游戏的技术用户和模拟器研究者,适合愿意自行排查兼容性的场景。
典型场景
用于在 Windows 环境下尝试启动 Xbox Series X|S 的 GDK 游戏;用于观察 D3D12.X 到 D3D12 以及 RDNA2 着色器到 DXIL 的翻译是否正常;用于给相关翻译层研究提供实验环境。
部署难度
资料未说明部署步骤,需要按仓库说明自行摸索
风险限制
资料未说明具体要求,需要按仓库说明自行确认
最近维护
最近一次推送是 2026-11-29 21:56。 实现方式:通过 XCL 翻译层承接 Xbox 一侧的图形调用,把 D3D12.X 映射到 Windows 的 D3D12,并把 RDNA2 着色器转换成 DXIL 后交给系统图形栈执行。
README 原文细节
5 个板块怎么用最典型的用法与示例
Usage
For the desktop app, see Get started. The commands below use XSEmu Core directly. Releases include it as XSEmu.exe; a Cargo build produces xcl.exe. Run it with --help for the full command list.
warm-up refuses to start while another XSEmu.exe (or an older xcl.exe) is running. Run one XCL process tree at a time.
- shaders --precompile — Translates every VS, PS, MS and CS program in a shader package and compiles it into the DXIL cache, so a title does not wait for DXC on first use. Cached programs are skipped. -
- warm-up — Rebuilds the pipelines in the manifest, so the driver compiles less while a title loads. It stops after 20 minutes (XCLWARMUPBUDGETS), leaves out programs over 1 MB of DXIL, and leaves out p
- warm-up --full — Builds everything, with no time limit, and resumes where an earlier --full pass stopped.
- warm-up --mesh-only — Builds only the missing driver blobs for mesh pipelines.
- warm-up --giants-only --floor-mb N — Builds the large compute programs one at a time and keeps N MB of RAM free (N must be 1024 or more).
XSEmu run <game folder | game.exe> [-- game arguments] # run a title
XSEmu inspect <file.exe | file.dll> [--json] # imports and how XCL resolves each
XSEmu disasm <file> [--hex] [--fssm FILE] # disassemble RDNA2 and console shader containers
XSEmu shaders <file | folder | package.rpf> [--top N] [--recomp] [--compile N]
XSEmu shaders <file | folder | package.rpf> --precompile [--pipelines]
XSEmu rpf <package.rpf> [--find NAME] [--extract NAME --out DIR]
XSEmu warm-u
环境与依赖跑它之前要准备什么
Requirements
XSEmu Launcher runs on Windows 10 or 11, x64. The bundled XSEmu Core needs:
- title's geometry and NGG programs are not drawn. On Windows 10, the inbox
- DXC (dxcompiler.dll and dxil.dll) from the Windows SDK. XCL looks in
- Windows Kits\10\bin\\x64, next to XSEmu.exe, and in
- %XCLDXCDIR%. Version 1.8 or newer is recommended.
- Gaming Services, which provides System32\xgameruntime.dll. Without it,
- dialogs, text entry, invites and game streaming are missing.
- To build: the Rust MSVC toolchain (stable-x8664-pc-windows-msvc; CI uses
- 1.99.0) and the Visual Studio C++ build tools.
- An unpacked copy of a title that you own. See Legal.
实现原理它内部是怎么做的
How it works
XSEmu Core's run command maps the title's executable and DLLs into its own process and runs them on the host CPU. Each import goes to an XCL replacement, the title's own DLL, the Windows DLL of the same name, or a logged stub. Graphics calls go through a D3D12.X layer that creates real PC D3D12 objects.
- PE loader and runtime shims. The loader handles relocations, imports,
- delay-loads, TLS callbacks and exception tables. Console libraries such as
- kernelx, XGameRuntime, GameInput and XAudio2 are implemented in
- crates/xcl/src/hle. Functions that behave the same as on Windows go to the
- real Windows export.
- D3D12 objects. Console-only device slots, descriptor heaps, command lists and
- PresentX are translated to PC D3D12. GFX10 tiled textures are converted to
- PC layouts.
- DirectStorage. The console's xcrdapi.dll reads files through the VFS and
- decompresses zlib and BCPack data into title memory. BCPack needs a table file
- that is not part of this repository.
- Virtual file system. Console paths map to the game folder. The game folder
- is only read: writes, saves and logs go to a per-title data folder.
配置项能调整哪些参数
Title data and configuration
Each title gets a data folder at %LOCALAPPDATA%\XCL\\ (or %XCLDATAROOT%\\). It holds xcl.toml, the write overlay, saves, the title's S:\ and T:\ storage, caches, logs\xcl.log and logs\report.json. The report lists called stubs, unknown D3D12.X slots, shader statistics and the crash, if there was one.
In xcl.toml, devicetype = "lockhart" makes the title see a Series S; the default, "anaconda", is a Series X.
The code reads many more XCL variables for tracing and diagnostics. See the source for those.
- XCLDATAROOT — Root folder for per-title data, instead of %LOCALAPPDATA%\XCL.
- XCLDXCDIR — Folder that holds dxcompiler.dll and dxil.dll.
- XCLD3D12DIR — Folder that holds the D3D12 Agility SDK.
- XCLADAPTER — GPU to use, by index (1) or by name (radeon).
- XCLSHADERBACKEND — hlsl (default) compiles with DXC. dxil uses the direct DXIL backend, with DXC as the fallback.
- XCLDXILCACHE — Folder of the DXIL cache, instead of %LOCALAPPDATA%\xcl\dxil.
- XCLTRANSLATEDCACHE=0 — Turns off the disk cache of translated shaders.
- XCLPSODISKCACHE=0 — Turns off the driver blob cache.
- XCLPSOMANIFEST=0 — Stops recording pipelines in the manifest.
- XCLASYNCPSO=0 — Builds every pipeline inside the create call, with no stand-in.
- XCLWARMUPBUDGETS — Time limit in seconds for XSEmu warm-up without --full.
- XCLNETWORK=0 — Runs the title with no network, as on a console that is offline. Loopback still works.
- XCLSTORE=offline-error — Every store query fails with the GDK store network error. No licence is granted.
- XCLBCPACKTABLES — Path to the BCPack table file. The file is not part of this repository; without it, BCPack requests fail.
其它说明README 里剩下的内容
Get started
- Download and extract XSEmuLauncher-windows.zip from
- Open XSEmuLauncher/bin/XSEmuLauncher.exe. The bundle already contains
- bin/core/XSEmu.exe, so you don't need to download Core separately.
- Add a folder with an unpacked game you own, then launch it from Library.
- Use Runners to see other available builds.
Contents
- Get started
- How it works
- Shader pipeline
- Requirements
- Build and test
- Repository layout
- Upstream and licence
Shader pipeline
Console shaders ship as RDNA2 machine code with no usable DXIL. The recompiler translates each program (vertex, pixel, compute, geometry and mesh/NGG stages) to HLSL, and a compiler turns that HLSL into DXIL. Three disk caches keep the work between runs, and a manifest records every pipeline the title made so that XSEmu warm-up can rebuild them before the next run.
- The translated cache holds the DXIL of each console program, keyed by the
- program's bytes, its stage, a hash of the translator sources and the DXC
- toolchain. The DXIL cache is keyed by the HLSL, the XCL version, the
- compiler identity and the shader profile. A change to the translator or to the
- DXC DLLs gives new keys, so stale entries are not used.
- XCLTRANSLATEDCACHE=0 turns off the translated cache.
- The direct DXIL backend compiles only the HLSL dialect that the recompiler
- emits. Anything outside it goes to DXC. DXC and the direct backend never share
- a cache entry.
- The driver blob cache lives in \driver\ and is keyed by
- the DXIL hash and flags. A blob is kept when its driver compile took 250 ms
- or more. The driver refuses a blob from another driver, adapter or root
- signature, and XCL then compiles the program again. XCLPSODISKCACHE=0 turns it off.
- The pipeline manifest lives in \pipelines\. It keeps the console shaders
关于 XSEmu 的常见问题
6 个问题XSEmu 是做什么的?
一个面向 Windows 的实验性运行工具,用来尝试执行 Xbox Series X|S(GDK)游戏,建立在 XCL 翻译层之上。 Xbox Series X|S 的 GDK 游戏与 Windows 平台存在图形接口和着色器格式差异,无法直接在电脑上运行。缺少这类翻译工具,就只能依赖官方兼容方案或无法启动。
XSEmu 有哪些功能?
核心能力:将 D3D12.X 接口翻译为 D3D12;把 RDNA2 着色器转换为 DXIL;基于 XCL 翻译层承载 Xbox 图形调用;在 Windows 上尝试运行 GDK 标题。
XSEmu 适合谁用?
面向想在 Windows 上尝试运行 Xbox Series X|S 游戏的技术用户和模拟器研究者,适合愿意自行排查兼容性的场景。
XSEmu 是怎么工作的?
通过 XCL 翻译层承接 Xbox 一侧的图形调用,把 D3D12.X 映射到 Windows 的 D3D12,并把 RDNA2 着色器转换成 DXIL 后交给系统图形栈执行。
用 XSEmu 有什么门槛或限制?
资料未说明具体要求,需要按仓库说明自行确认
XSEmu 现在还在维护吗?数据怎么样?
目前 1,266 星,103 个 Fork,主语言 Rust,创建于 2026-11-23,最近一次推送 2026-11-29 21:56,许可证 GPL-3.0。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。
这些内容来自哪
读法说明项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-11-29 11:43。