# sh4-nx：Silent Hill 4 的 Nintendo Switch 重编译移植

> sh4-nx 将《Silent Hill 4: The Room》的 GOG Windows 可执行文件静态转换为 C，并编译至 Nintendo Switch ARM64。项目改造已有的 Windows API 运行时，补齐游戏使用的导入函数并调整宽屏画面；作者报告已在 Switch 和 Linux 测试构建中运行。

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

## 使用条件与局限

- **前提条件：**需要自有的 GOG PC 版《Silent Hill 4: The Room》和可运行自制程序的 Nintendo Switch。
- **前提条件：**从原程序重新构建需要安装 Capstone 的 Python 及 devkitPro 容器。
- **局限：**当前会跳过过场影片播放。
- **许可：**项目许可证未注明。

## 一手来源

1. <https://github.com/72ak/sh4-nx/blob/f58c3f9e64612ab193920c1d12c85305ef231d9e/README.md>

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

- [Shadow of the Colossus：运行至翻帧循环的 PS3 静态重编译项目](https://awesomerea.org/zh/resources/shadow-of-the-colossus-ps3-recomp-case/index.md) · 案例
- [Shadow the Hedgehog：PS2 静态重编译进展](https://awesomerea.org/zh/resources/shadow-the-hedgehog-ps2-recomp-case/index.md) · 案例
- [Shantae Recomp：Game Boy Color 游戏静态重编译](https://awesomerea.org/zh/resources/shantae-recomp-case/index.md) · 案例
- [Shining Force III Recomp：Sega Saturn 游戏的 PC 静态重编译](https://awesomerea.org/zh/resources/shining-force-iii-recomp-case/index.md) · 案例
- [Silent Hill 3：原生 Nintendo Switch 移植](https://awesomerea.org/zh/resources/sh3-nx/index.md) · 案例
- [SimCity 4 Deluxe：基于 Steam 可执行文件的静态重编译](https://awesomerea.org/zh/resources/simcity-4-static-recompilation-case/index.md) · 案例

## 关于此条目

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