# Silent Hill：可执行文件与覆盖模块的 PlayStation 一致性反编译

> 将 Silent Hill 的 PlayStation 代码（主可执行文件及其引擎、界面和地图覆盖模块）重建为 C，可依据使用者自备的北美 1.1 版光盘镜像构建出逐字节一致的二进制文件。项目专注于匹配与命名。decomp.dev 报告所列提交的全部函数均已匹配，数据迁移、可重定位构建和文档工作仍待完成。

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

## 使用条件与局限

- 目标为北美 1.1 版（SLUS-00707）；配置也涵盖欧版 1.0 和三个日版。产物是 PlayStation 可执行文件和覆盖模块；代码库尚不适合移植。
- 需将自备的北美 1.1 版光盘转储作为单个 .BIN 文件放在 rom/image 下，SHA-1 须符合安装指南。仓库包含部分 Sony PsyQ 4.3／4.4 库目标文件，以及预编译的编译器和 ISO 工具。
- Make 构建需要 Linux 或 WSL2、git、build-essential、MIPS binutils 与 cpp、Python 3、bchunk、7z 和递归子模块。项目报告 Windows 原生 Ninja 构建会出现不匹配。
- 构建会核对可执行文件和覆盖模块的 SHA-256；项目报告 6,527 个函数全部匹配，数据匹配率为 36.99%。
- 项目代码采用 GPLv3；游戏数据和 Sony SDK 目标文件各有权利约束。

## 一手来源

1. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/README.md>
2. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/LICENSE>
3. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/lib/versions.txt>
4. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/configs/USA/checksum.sha>
5. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/.github/workflows/check.yml>
6. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/.gitmodules>
7. <https://github.com/shdecompilations/silent-hill-decomp/blob/73a9f176fa04a0268c5dc0263ba35b1fe23498b8/Makefile>
8. <https://github.com/shdecompilations/silent-hill-decomp/actions/runs/39120072732>
9. <https://github.com/shdecompilations/silent-hill-decomp/wiki/Setup/8e17f29b6e88a5fc0dfaa5be427211fae2f76ddf>
10. <https://decomp.dev/shdecompilations/silent-hill-decomp>

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

- [Skies of Arcadia Legends：GameCube 匹配式反编译](https://awesomerea.org/zh/resources/skies-of-arcadia-legends-decomp-case/index.md) · 案例
- [SkiesOfArcadiaLegends-Decomp：ogdanimal 的 Skies of Arcadia Legends GameCube 反编译](https://awesomerea.org/zh/resources/skies-of-arcadia-legends-decomp-ogdanimal-case/index.md) · 案例
- [《天空之剑》：以哈希校验重新链接的 Wii 版反编译](https://awesomerea.org/zh/resources/skyward-sword-decomp-case/index.md) · 案例
- [Sly 2: Band of Thieves：与原版匹配的 PS2 游戏反编译](https://awesomerea.org/zh/resources/sly-2-matching-decomp-case/index.md) · 案例
- [Sly Cooper and the Thievius Raccoonus：PlayStation 2 一致性反编译](https://awesomerea.org/zh/resources/sly1-matching-decomp-case/index.md) · 案例
- [SMW NES Disassembly：FC 版 Super Mario World 移植游戏反汇编](https://awesomerea.org/zh/resources/smw-nes-disassembly-case/index.md) · 案例

## 关于此条目

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