# The Simpsons Wrestling Recompiled：基于 psxrecomp 的 PlayStation 静态重编译

> 借助固定版本的 psxrecomp 分支，将这款 PlayStation 游戏的 MIPS 代码转换为 C，并基于其模拟硬件行为的运行时构建 Windows 与 Linux 程序，另附启动器和专用插件。插件在不修补游戏代码的前提下，实现比赛中的 16:9 画面、通过提高模拟 CPU 频率并修正移动量达到 60 FPS、跳过片头及全部解锁。需使用者自备 NTSC-U 光盘镜像；测量结果为作者报告。

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

## 使用条件与局限

- **前提条件：**使用者需自备 The Simpsons Wrestling（PlayStation 北美版，SLUS-01227）的 .cue 及对应 .bin 文件。game.toml 记录了数据轨道的预期大小和哈希；启动器在游玩前检查光盘，并直接读取原位置的镜像。构建同样需要该光盘来生成 C 代码。README 称仓库不含游戏代码，下载包也不含游戏文件。
- **前提条件：**运行需 64 位 Windows 10／11，或 glibc 2.38 的 64 位 Linux，以及 OpenGL 3.3。Windows 构建使用 Visual Studio 2022 生成工具、CMake、Ninja 和随附的 clang-cl，并启用 ThinLTO 及仓库中提交的 PGO 配置文件；Linux 构建使用 gcc 及 X11、Wayland、GL、ALSA、PulseAudio、udev 开发包。启动器是来自 TRG Launcher 子模块的独立 SDL2 程序，运行时则使用 SDL3。
- **范围：**所审阅的 master 分支（VERSION 1.0.0，与 v1.0.0 发布一致）是静态重编译，而非反编译：psxrecomp 借助来自 Ghidra 的函数种子，将 SLUS_012.27 的 R3000A 代码转换到本地 generated/ 目录。psxrecomp 以子模块形式固定在 TekRantGaming 对 RetroPortingToolKit/psxrecomp 的分支上，其 README 描述了硬件精确的运行时，并默认使用随附的 OpenBIOS，因此通常无需零售版 BIOS。已知问题包括宽屏暂停画面的 HUD 元素错位，以及实验性 120 FPS 下画面不够均匀。
- **测试证据：**TECHNICAL.md 报告在一台 Ryzen 7 7800X3D／RTX 4070 Ti PC 上，两个场馆的演示比赛以 1.00 倍速度稳定运行在 60 FPS，并给出与原版计时相比的跳跃高度和行走距离。Linux 仅在 WSL2 下检查过；AppImage 尚未在原生 Linux 或 Steam Deck 上测试。这些是作者测量结果。
- **许可：**GitHub 未检测到许可，所审阅的源码树中也没有 LICENSE 文件，因此项目自身代码的再使用条款未予说明；固定版本的 psxrecomp 分支采用 PolyForm Noncommercial 1.0.0 许可。游戏及其商标仍归 Fox Interactive、Activision 及其他列明的权利人所有。README 披露该移植几乎完全借助 Claude Code 完成，由仓库所有者指导。

## 一手来源

1. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/README.md>
2. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/docs/TECHNICAL.md>
3. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/game.toml>
4. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/.gitmodules>
5. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/framework_pins.txt>
6. <https://github.com/TekRantGaming/simpsons-wrestling-recompiled/blob/1aaee1a999f4dcc60dbf965a9ed9944373528469/mods/preloaded/README.md>
7. <https://github.com/TekRantGaming/psxrecomp/blob/03d383fe855c25edc52aabdee750ffc12f3d8bdd/README.md>
8. <https://github.com/TekRantGaming/psxrecomp/blob/03d383fe855c25edc52aabdee750ffc12f3d8bdd/LICENSE>

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

- [The Two Towers Recompiled：初代 Xbox 静态重编译移植](https://awesomerea.org/zh/resources/two-towers-recompiled-case/index.md) · 案例
- [Unleashed Recompiled：转换 Xbox 360 游戏代码与着色器](https://awesomerea.org/zh/resources/unleashed-recompiled-case/index.md) · 案例
- [Weeping of the Empire：将《塞尔达传说 王国之泪》静态重编译至 Windows](https://awesomerea.org/zh/resources/weeping-of-the-empire-case/index.md) · 案例
- [Wind Waker HD Recomp：通过静态重编译实现的 Wii U 游戏原生移植](https://awesomerea.org/zh/resources/wind-waker-hd-recomp-case/index.md) · 案例
- [Zelda 64: Recompiled：无需完整源码反编译的《姆吉拉的假面》原生移植](https://awesomerea.org/zh/resources/zelda64recomp-case/index.md) · 案例
- [2 Ship 2 Harkinian：基于反编译的《姆吉拉的假面》原生移植](https://awesomerea.org/zh/resources/2ship2harkinian-mm-port-case/index.md) · 案例

## 关于此条目

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