{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "sh2-nx is a native Nintendo Switch port of the PC version of Silent Hill 2, Director's Cut / Restless Dreams, with support for Silent Hill 2: Enhanced Edition packs. The game's x86 executable is statically recompiled to C and compiled for the Switch ARM64 CPU, and the Windows layer it expects is reimplemented with SDL2, OpenGL, and FFmpeg. The README also documents a Linux x86-64 build.",
  "description_zh": "sh2-nx 是 PC 版《寂静岭 2》（Director's Cut / Restless Dreams）的原生 Nintendo Switch 移植，并支持《寂静岭 2：增强版》资源包。游戏的 x86 可执行文件被静态重编译为 C，再为 Switch 的 ARM64 CPU 编译；它所依赖的 Windows 层用 SDL2、OpenGL 和 FFmpeg 重实现。README 也记录了 Linux x86-64 构建。",
  "entry_url": "https://awesomerea.org/resources/sh2-nx/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/sh2-nx/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/cutarev/sh2-nx/blob/95ae2f16efc09c82f405f04383a27d98c2fa804a/README.md",
  "group": "cases",
  "id": "sh2-nx",
  "json_url": "https://awesomerea.org/resources/sh2-nx/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/sh2-nx/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/sh2-nx/index.md",
  "name": "sh2-nx: Switch port of Silent Hill 2",
  "name_zh": "sh2-nx：《寂静岭 2》的 Switch 移植",
  "reconstruction_method": "static-recompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "license"
  ],
  "requirements": [
    "The user's own PC copy of Silent Hill 2 with the Enhanced Edition installed, including the Enhanced Executable, Essential Files, Image Enhancement Pack, and Audio Enhancement Pack. The port targets sh2pc.exe of 5,685,248 bytes with SHA-1 3201a5e1029f3ae3b77770255dcbe10360b3cd09.",
    "Switch builds need Python 3, CMake, Ninja, and either podman or a devkitPro install with devkitA64, libnx, switch-sdl2, switch-mesa, switch-ffmpeg, and switch-pkg-config. The Linux build needs SDL2 and FFmpeg.",
    "The repository has no license file."
  ],
  "requirements_zh": [
    "需要用户自己的 PC 版《寂静岭 2》，并安装增强版，至少包括增强可执行文件、必要文件、图像增强包和音频增强包。移植针对大小为 5,685,248 字节、SHA-1 为 3201a5e1029f3ae3b77770255dcbe10360b3cd09 的 sh2pc.exe。",
    "Switch 构建需要 Python 3、CMake、Ninja，以及 podman 或装有 devkitA64、libnx、switch-sdl2、switch-mesa、switch-ffmpeg 和 switch-pkg-config 的 devkitPro。Linux 构建需要 SDL2 和 FFmpeg。",
    "仓库没有许可证文件。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/cutarev/sh2-nx",
  "verification": "source-reviewed",
  "verified_at": "2026-11-07"
}
