# Pinyon Shift：以 ShiftGlue 将 Forza Horizon 静态重编译到 PC

> 使用作者对 ReXGlue 的分支 ShiftGlue，将 Xbox 360 版 Forza Horizon 的 PowerPC 可执行文件提前转换为 C++，并依玩家自有光盘在其电脑上编译，构建原生移植版。专为该游戏编写的渲染器在 Vulkan 上执行其 GPU 命令；部分转换后的库代码（如 FMOD Ex 的 DSP 单元）由独立编写、并与转换后原版对照检查的原生代码替代。README 称其为可游玩的预览版，仍有渲染错误和卡顿。

- 类型：案例
- 目标：游戏
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-10-19
- 收录于：2026-10-28
- 原始资源：<https://github.com/arcanite24/pinyon-shift>
- 一手来源：<https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/pinyon-shift-forza-horizon-recomp-case/>
- 记录 JSON：<https://awesomerea.org/resources/pinyon-shift-forza-horizon-recomp-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/pinyon-shift-forza-horizon-recomp-case/index.md)

## 使用条件与局限

- 审阅的是 2026-10-17 的最新提交，即 v0.6.0 标签；仓库创建于 2026-08-25。仓库包含启动器、构建工具、宿主代码和配置，README 称其中不含游戏、素材、生成的转换代码或预构建可执行文件；v0.6.0 的 Windows 启动器压缩包也只有启动器和一份源码压缩包。这是带原生替换的静态重编译，并非恢复原作者编写的源码。
- 需从使用者自己的美版零售光盘（序列号 MS-2505，标题 ID 4D5309C9）转储的 ISO，或从中解出且未经修改的文件夹；安装程序会依据 config/supported-dumps.json 核对其确切大小和 SHA-256，并拒绝未知转储。自有的 DLC 包须经验证后才能导入，Rally 与 1000 Club 扩展需要可选的第 4 版游戏更新构建。
- 玩家需使用 Windows 10／11 x64、包括 SteamOS 在内的 x86-64 Linux，或 Apple 芯片上的 macOS 13+，并配备支持 Vulkan 1.3 的 GPU；NVIDIA 已测试，AMD 与 Intel 尚未通过验证。启动器会安装固定版本的构建工具并在本机构建游戏，首次需 20–60 分钟和约 30 GB 空间；Windows 源码构建路径需 Visual Studio 2022 C++ Build Tools 17.1+。Android 13+ arm64 版为开发者预览，在 PC 上交叉编译。
- CI 检查仓库边界，运行发布工具测试与宿主测试，构建各启动器并交叉构建 Android 运行时，全程不使用游戏。脚本化渲染测试路线、黄金帧回放以及 README 中的性能数据（如在 RTX 4080 上 1x 分辨率中位数 119 fps）均来自项目的本地运行。
- BSD-3-Clause 仅适用于独立编写的内容。docs/LEGAL.md 称该许可不授予对 Forza Horizon、Xbox 软件、ReXGlue 或使用者自备内容的任何权利，并禁止提交生成的转换代码、依据反汇编或反编译器输出手工翻译的代码，以及从可执行文件复制的数据。README 声明与 Microsoft、Xbox、Turn 10 Studios 或 Playground Games 均无关联。CLAUDE.md 与 AGENTS.md 中的智能体说明禁止在提交中注明 AI 署名。

## 一手来源

1. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/README.md>
2. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/docs/LEGAL.md>
3. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/docs/BUILDING.md>
4. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/config/supported-dumps.json>
5. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/.gitmodules>
6. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/.github/workflows/ci.yml>
7. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/docs/PERFORMANCE.md>
8. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/src/guest_native/fmod_dsp.cpp>
9. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/docs/releases/0.6.0.md>
10. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/CLAUDE.md>
11. <https://github.com/arcanite24/pinyon-shift/blob/9331e453e9850d0fcc1c1606dee95db834a9d317/LICENSE>
12. <https://github.com/arcanite24/shiftglue-sdk/tree/79d3e6fae4b79e00def48a595c80f0eaa47fd2b6>
13. <https://github.com/arcanite24/pinyon-shift/releases/tag/v0.6.0>

## 同分区更多条目：游戏

- [Project Arwing (2)：由一致性反汇编重编译的 Star Fox 2](https://awesomerea.org/zh/resources/project-arwing-2-star-fox-2-recomp-case/index.md) · 案例
- [Project Arwing：由一致性反汇编重编译的 Star Fox](https://awesomerea.org/zh/resources/project-arwing-star-fox-recomp-case/index.md) · 案例
- [RaceWave46：AI 辅助的《Wave Race 64》Windows 重编译](https://awesomerea.org/zh/resources/racewave46-wave-race-64-recomp-case/index.md) · 案例
- [Saints Reborn：基于 ReXGlue 的 Saints Row 静态重编译](https://awesomerea.org/zh/resources/saints-reborn-recomp-case/index.md) · 案例
- [Savage Wind Recomp：《塞尔达传说：旷野之息》静态重编译](https://awesomerea.org/zh/resources/savagewindrecomp/index.md) · 案例
- [SF2Recomp：将《Shadow Fight 2》静态重编译到原生平台](https://awesomerea.org/zh/resources/sf2recomp-case/index.md) · 案例

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
