# memory of alessa：进行中的 Silent Hill 3 PS2 匹配反编译

> 将 Silent Hill 3（《寂静岭 3》，NTSC-U v1.02）的 PS2 可执行文件及 40 个覆盖模块反编译为面向 Metrowerks CodeWarrior 的 C，同时反编译 Silent Hill 2 引擎，借助 2001 年原型版的调试符号为共享代码提供原始命名。构建时尚未匹配的函数仍使用生成的汇编，链接结果以 SHA-256 对照仓库中提交的哈希。README 称项目尚处早期；decomp.dev 报告所列提交时 Silent Hill 3 约 9%、Silent Hill 2 约 58% 的函数已匹配。

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

## 使用条件与局限

- 目标为 Silent Hill 3 北美 v1.02（SLUS_206.22）及来自 0.10 VW047-U1 原型版的 Silent Hill 2 引擎。未匹配函数用汇编链接；项目分别报告 718/8,002 和 2,530/4,371 个函数匹配。
- 需自备 Silent Hill 3 的 SLUS_206.22 可执行文件和 B0.MFA 归档；可选的 Silent Hill 2 构建需要原型版 SLUS_202.28 及其覆盖模块。
- 主机为 x86-64 Linux、Apple Silicon macOS 或通过 WSL 的 Windows，需 Python 3、wget 和构建工具。make 下载 Silent Hill 3 所用 CodeWarrior PS2 3.0.3 或 Silent Hill 2 所用 2.4、wibo、PS2 binutils v0.10 和 objdiff，并使用 mwccgap 子模块。
- diff.sh 用 SHA-256 核对重建的可执行文件和覆盖模块；CI 之外不匹配不会使 make 失败。CI 使用私有容器镜像。
- 项目代码采用 MIT；游戏和素材另有权利约束。十五个文件带有 Sony 保密声明，vsm 目录包含反汇编的 VU 微码。项目从 2026-09-26 起禁止 LLM 参与贡献。

## 一手来源

1. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/README.md>
2. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/docs/development.md>
3. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/docs/llm-policy.md>
4. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/Makefile>
5. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/silent-hill-3/Makefile>
6. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/silent-hill-2/Makefile>
7. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/tools/scripts/diff.sh>
8. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/silent-hill-3/config/SLUS_206.22/checksum.sha>
9. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/.github/workflows/build.yaml>
10. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/.gitmodules>
11. <https://github.com/dreamingmoths/memory-of-alessa/tree/28cb323c31d94518e475924302e14cd87d6963a8/include/sce>
12. <https://github.com/dreamingmoths/memory-of-alessa/tree/28cb323c31d94518e475924302e14cd87d6963a8/vsm>
13. <https://github.com/dreamingmoths/memory-of-alessa/blob/28cb323c31d94518e475924302e14cd87d6963a8/LICENSE>
14. <https://decomp.dev/dreamingmoths/memory-of-alessa>

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

- [meteor-decomp：《FINAL FANTASY XIV》1.23b 客户端与网络反编译](https://awesomerea.org/zh/resources/meteor-ffxiv-decomp-case/index.md) · 案例
- [Metroid II：逐字节匹配的 Game Boy 反汇编](https://awesomerea.org/zh/resources/metroid-ii-disasm/index.md) · 案例
- [《密特罗德 Prime》：PrimeDecomp 的 GameCube 版一致性反编译](https://awesomerea.org/zh/resources/primedecomp-metroid-prime-decomp-case/index.md) · 案例
- [Metroid：逐字节匹配的 NES 反汇编](https://awesomerea.org/zh/resources/metroid-nes-disasm/index.md) · 案例
- [mgs_reversing：《Metal Gear Solid Integral》匹配反编译](https://awesomerea.org/zh/resources/mgs-reversing-case/index.md) · 案例
- [mh4u-decomp：《怪物猎人 4 究极版》匹配反编译进度](https://awesomerea.org/zh/resources/mh4u-progress/index.md) · 案例

## 关于此条目

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