R0Y00/Xbox2Windows

GITHUB中文整理

主语言 Python · 1,961 星 · MIT · 创建于 2026-11-21

静态重编译Xbox图形翻译Windows研究实验
打开 GitHub 仓库

一个用 Python 编写的实验性研究仓库,探索把 Xbox Series X|S 软件静态重编译到 x64 Windows,并验证 CPU 代码、着色器、纹理与运行时行为。

Stars 1,961 累计 star,越多说明被认可得越广
Watching 8 订阅该仓库变动的人数
Forks 232 被派生出去的仓库数
Issues 36 当前开放的 Issue 数
语言 Python GitHub 自动判定的主语言
许可证 MIT 开源协议,用之前先确认能不能商用
24h 增长 — 数据积累中
7 日增长 +0 6 天前 1,961 星
30 日增长 — 数据积累中

仓库健康度

5 个维度
只看客观信号,不构成安全性结论
维护活跃度 数据完整
2026-11-26 18:17 最近推送

最近推送 2026-11-26 18:17(7 天前),属于活跃维护

社区响应 数据完整
36 开放 Issue

开放 Issue 36 个 · Fork 232 个

增长趋势 部分数据
+0 7 日新增

24 小时 积累中 · 7 日 +0 · 30 日 积累中

项目规范 数据完整
MIT 许可证

许可证 MIT · 7 个 topics · 开了 Wiki

版本发布 证据不足
— 发布次数

这一项暂无数据,不代表项目没有发布

「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。

Star 趋势

12 天记录
最近 90 天站内记录的星数
1,961当前 Star +871首尾差值 2026-11-22最早记录 2026-12-03最近记录

横轴 2026-11-22 → 2026-12-03,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。

它解决什么问题

据 README 归纳
没有它会怎样

Xbox Series X|S 软件无法直接在 Windows 上运行,若想把原有机器码和资源迁移到 PC,需要先验证指令、跨模块调用、着色器和纹理等环节能否正确翻译。没有这类研究,就缺少可复现的验证样例来判断重编译路线是否可行。

核心能力

7 条
归纳自 README,不是功能列表照抄
  1. 1将源构建的 x64 函数从 PE 机器码经 C++ 翻译为 Windows DLL
  2. 2验证直接调用以及按名称、按序号进行的跨 DLL 导入
  3. 3将选定的 gfx1013 像素着色器经 HLSL 翻译为桌面 DXIL
  4. 4用 D3D12 回读结果并与 CPU 参考输出比对
  5. 5渲染恢复出的纹理 mip 层级并测试缺失高分辨率层时的回退
  6. 6读取脚本状态数据并复现前后摄像头限制
  7. 7在硬件与 WARP 上运行运行时和 GPU 检查

项目画像

6 个角度
决定要不要用之前,先看这六条

项目定位

一个用 Python 编写的实验性研究仓库,探索把 Xbox Series X|S 软件静态重编译到 x64 Windows,并验证 CPU 代码、着色器、纹理与运行时行为。

适合谁

适合对 Xbox 软件重编译、Windows 底层运行时、图形着色器翻译感兴趣的研究者和开发者,也适合想按公开样例复现实验结果的贡献者。

典型场景

{'场景': '研究者复现 CPU 翻译检查,比较叶子函数、直接调用和跨 DLL 导入在 Windows 上的行为是否与原始样例一致。'};{'场景': '开发者运行 GPU 检查包,在本地硬件或 WARP 上生成报告,并提交到硬件覆盖讨论中。'};{'场景': '图形方向贡献者验证像素着色器翻译和 BC7 纹理 mip 回退,确认 D3D12 回读结果与 CPU 参考结果匹配。'}

部署难度

GPU 检查只需下载 Windows x64 包、校验并解压后在 PowerShell 运行;脚本、着色器和纹理套件需从源码构建,具体前置依赖资料未完整说明,需按仓库说明确认。

风险限制

资料明确说明标题 CPU 代码执行、整游戏启动和帧率均未验证;脚本、着色器和纹理开发套件需要从源码构建,GPU 检查包无需编译器、主机或游戏文件。

最近维护

最近一次推送是 2026-11-26 18:17。 实现方式:仓库自带测试样例,从源构建后用 Windows 上的原生检查来对比翻译前后的行为,包括函数调用、导入绑定、着色器输出、纹理采样和脚本状态回放,再与参考结果核对。

README 原文细节

1 个板块
项目自己写的功能与用法,原文照录

其它说明README 里剩下的内容

Current results and open work

The public suite builds its own fixtures. A contributor can reproduce the checks below on a PC without a game installation. The standalone release packages the GPU check. To run the script, shader and texture development suite, build from source.

  • FidelityFX upscaler — The recompiled provider creates 11 resources at 720p → 1080p and a twelfth with the debug flag. On RTX 4060 Laptop and WARP, both the per-resource indices and the returned loader
  • x64 context callbacks — The recompiled FidelityFX loader destroy function calls the bound provider and preserves its 32-bit result across both cleanup paths on Windows. The upscaler slot was identifie
  • CPU translation — A leaf function, a direct call and cross-DLL imports by name and by ordinal match the original fixtures on Windows. The import fixtures and a relocated variant also run from an image
  • Shader translation — Supported pixel programs sample a texture, read constants and export color. D3D12 readback is checked against a CPU reference. Translation and bindings — Supply a source-built ins
  • BC7 textures — A translated shader samples recovered mip levels on hardware and WARP. Requests for missing high-resolution levels use the first resident level. Mip fallback tests — Match a variable BC
  • Script states — A native x64 probe follows state-tree links and reproduces distinct camera limits for front and rear selections. The replay supplies the selection requests. State replay — Identify an
  • Windows runtime and GPU — Source-built checks cover PE imports, heap operations, root signatures, compute and ray tracing. Five Radeon GPUs passed the native wave64 BVH test. Hardware coverage · Exper

Hardware coverage

On CachyOS, an RTX 3060 completed 408 comparisons through Proton and vkd3d-proton with NVIDIA driver 620.70.06. The adapter reported a 32-lane maximum and skipped forced wave64. Linux translation-layer report

The eight community reports cover seven GPU models at commit def386a. Each Radeon completed all 38 forced-wave64 groups with zero mismatches. The RX 9070 XT, RTX 3070 and RTX 5070 driver retest reported zero D3D12 debug warnings and errors in their passing checks.

Maintainers link independent results to the original report and record the adapter, driver, commit and outcome. Names or handles are added on request. The hardware-report and independent-build milestones are complete. The remaining community milestone is a fix verified by the contributor who reported the problem.

  • NVIDIA GeForce RTX 2060 — 32 — Skipped — 408 queries passed — Maintainer baseline
  • NVIDIA GeForce RTX 3070 (driver 32.0.16.1088) — 32 — Skipped, lane range 32–32 — 408 queries passed — RTX 3070 report · 32.0.16.2101 report
  • NVIDIA GeForce RTX 4060 Laptop GPU — 32 — Skipped — 408 queries passed — Second maintainer workstation · Independent Windows run, driver 32.0.16.2124 · 32.0.16.1742 report
  • NVIDIA GeForce RTX 5070 — 32 on both drivers — Skipped on both, lane range 32–32 — 408 queries passed per run — 32.0.16.1692, debug layer unavailable · 32.0.16.2135 retest, debug layer enabled
  • AMD Radeon RX 6600 (driver 32.0.21045.16010) — 32 — Passed, 64 lanes — 408 queries passed — RX 6600 report · 32.0.11037.4004 retest · 32.0.21045.29003 report
  • AMD Radeon RX 6750 XT (driver 32.0.21045.29003) — 32 — Passed, 64 lanes — 408 queries passed — RX 6750 XT report
  • AMD Radeon RX 6800 XT (driver 32.0.21043.5001) — 32 — Passed, 64 lanes — 408 queries passed — RX 6800 XT report
  • AMD Radeon RX 9070 (driver 32.0.22042.14002) — 64 — Passed, 64 lanes — 408 queries passed — RX 9070 report
  • AMD Radeon RX 9070 XT (driver 32.0.32015.16001) — 64 — Passed, 64 lanes — 408 queries passed — RX 9070 XT report · 32.0.32029.2010 retest, D3D12 warning 989 · 32.0.32015.16001 report
  • NVIDIA GeForce RTX 4060 Ti (driver 32.0.16.1742) — 32 — Skipped, lane range 32–32 — 408 queries passed — Hardware report
  • AMD Radeon RX 7900 GRE (driver 32.0.32015.7029) — 32 — Passed, 64 lanes — 408 queries passed — Hardware report
  • NVIDIA GeForce RTX 4070 Ti SUPER (driver 32.0.16.1088) — 32 — Skipped, lane range 32–32 — 408 queries passed — Hardware report
  • NVIDIA GeForce RTX 5080 (driver 32.0.16.2124) — 32 — Skipped, lane range 32–32 — 408 queries passed — Hardware report
  • AMD Radeon RX 9060 XT (driver 32.0.32029.2010) — 64 — Passed, 64 lanes — 408 queries passed — Hardware report

Choose an experiment

  • Static CPU recompilation — Compare leaf, chained-range and cross-function translations with their source-built originals and negative controls. — ctest --preset dev --no-tests=error -R '^cpu' -V
  • Script states — Reproduce a parent/child lookup, an ambiguous selection or a damaged sibling link with a synthetic tree. — `ctest --preset dev --no-tests=error -R '^script(stateliterals\ — pathlinks)$
  • Texture recovery — Check a packed mip tail, a first refill byte, or a resident mip drawn on the software adapter. — `ctest --preset dev --no-tests=error -R '^(bcpackprefixandmiptail\ — bc7drawwarp)$'
  • Static shader recompilation — Translate the single-texture pixel shader fixtures to desktop DXIL and check every output channel. Supported instructions and bindings — ctest --preset dev -R '^pixelaot'
  • D3D12 and ray tracing — Compare the CPU reference, custom BVH shader and DXR on another adapter. Record the driver and native wave width. — `ctest --preset dev -R '^bvh(differential\ — wave64)hardware
  • Windows runtime — Add a source-built allocation case with a measurable Windows result. — `ctest --preset dev -R 'eraheap\ — desktopmemoryquery'`
  • PE tooling — Reproduce an import-resolution edge case with a DLL or EXE built from source. — `ctest --preset dev -R 'staticexeintake\ — conditionalimportpaths'`
  • Build and documentation — Try the first build from a clean clone. Identify the first missing prerequisite or unclear instruction. — Use the three-test command above.

关于 Xbox2Windows 的常见问题

6 个问题
答案来自 README 归纳与 GitHub 实时数据
Xbox2Windows 是做什么的?

一个用 Python 编写的实验性研究仓库,探索把 Xbox Series X|S 软件静态重编译到 x64 Windows,并验证 CPU 代码、着色器、纹理与运行时行为。 Xbox Series X|S 软件无法直接在 Windows 上运行,若想把原有机器码和资源迁移到 PC,需要先验证指令、跨模块调用、着色器和纹理等环节能否正确翻译。没有这类研究,就缺少可复现的验证样例来判断重编译路线是否可行。

Xbox2Windows 有哪些功能?

核心能力:将源构建的 x64 函数从 PE 机器码经 C++ 翻译为 Windows DLL;验证直接调用以及按名称、按序号进行的跨 DLL 导入;将选定的 gfx1013 像素着色器经 HLSL 翻译为桌面 DXIL;用 D3D12 回读结果并与 CPU 参考输出比对;渲染恢复出的纹理 mip 层级并测试缺失高分辨率层时的回退;读取脚本状态数据并复现前后摄像头限制;在硬件与 WARP 上运行运行时和 GPU 检查。

Xbox2Windows 适合谁用?

适合对 Xbox 软件重编译、Windows 底层运行时、图形着色器翻译感兴趣的研究者和开发者,也适合想按公开样例复现实验结果的贡献者。

Xbox2Windows 是怎么工作的?

仓库自带测试样例,从源构建后用 Windows 上的原生检查来对比翻译前后的行为,包括函数调用、导入绑定、着色器输出、纹理采样和脚本状态回放,再与参考结果核对。

用 Xbox2Windows 有什么门槛或限制?

资料明确说明标题 CPU 代码执行、整游戏启动和帧率均未验证;脚本、着色器和纹理开发套件需要从源码构建,GPU 检查包无需编译器、主机或游戏文件。

Xbox2Windows 现在还在维护吗?数据怎么样?

目前 1,961 星,232 个 Fork,主语言 Python,创建于 2026-11-21,最近一次推送 2026-11-26 18:17,许可证 MIT。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。

这些内容来自哪

读法说明
中文整理据 README 归纳,数据取自 GitHub
中文说明据项目 README 归纳只写 README 能确认的内容,不替作者补功能与数字
关键数据与 GitHub 页面一致星数、Fork、语言与时间都不做二次加工
数据日期2026-11-22 00:30星数与介绍这份数据是哪一天的

项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-11-22 00:30。