{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/acklavidian/decomp_wots2/blob/9b6545e3cfabd047e1d19855c790fe406aea4d3a/lib/sol/README.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Way of the Samurai 2 runs the PS2 game's hand-decompiled MIPS functions as native C++ with OpenGL and SDL2 host layers. It loads data from the user's NTSC-U disc and includes a reconstructed Sol script compiler and VM; the author reports play through to the ending with visual and timing limits.",
  "description_zh": "Way of the Samurai 2 将 PS2 游戏的 MIPS 函数手工反编译为原生 C++，并用 OpenGL 和 SDL2 实现宿主平台层。它从用户自备的美版光盘读取数据，包含重建的 Sol 脚本编译器和虚拟机；作者报告可游玩至结局，但画面和时序仍有限制。",
  "entry_url": "https://awesomerea.org/resources/way-of-the-samurai-2-native-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/way-of-the-samurai-2-native-case/",
  "evidence_class": 1,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/acklavidian/decomp_wots2/blob/9b6545e3cfabd047e1d19855c790fe406aea4d3a/README.md",
  "group": "cases",
  "id": "way-of-the-samurai-2-native-case",
  "json_url": "https://awesomerea.org/resources/way-of-the-samurai-2-native-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/way-of-the-samurai-2-native-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/way-of-the-samurai-2-native-case/index.md",
  "name": "Way of the Samurai 2: a native port from hand-decompiled PS2 code",
  "name_zh": "Way of the Samurai 2：基于手工反编译 PS2 代码的原生移植",
  "preview_kind": "image",
  "preview_url": "https://awesomerea.org/previews/way-of-the-samurai-2-native-case.png",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "testing",
    "license"
  ],
  "requirements": [
    "A personal NTSC-U disc image SLUS-208.93 is required.",
    "The documented Linux build needs CMake, Ninja, SDL2, OpenGL, libarchive and FFmpeg for movies.",
    "The author reports about 2,000 of roughly 4,600 functions decompiled; rendering is an approximation.",
    "Windows builds were tested under Wine, while macOS support is unfinished.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "需要自备美版光盘镜像 SLUS-208.93。",
    "文档所述 Linux 构建需要 CMake、Ninja、SDL2、OpenGL、libarchive；播放影片还需 FFmpeg。",
    "作者报告约 4,600 个函数中已有约 2,000 个完成反编译；渲染属于近似实现。",
    "Windows 构建曾在 Wine 下测试；macOS 支持尚未完成。",
    "仓库中没有许可证文件。"
  ],
  "scope": "partial",
  "targets": [
    "game"
  ],
  "url": "https://github.com/acklavidian/decomp_wots2",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
