{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/janroz/ugh-port/blob/73221a389385a0883423b74df7d5f3e92cfc305d/CLAUDE.md"
  ],
  "category": "community-case-studies",
  "class": "game",
  "description_en": "UGH! ports the 1992 DOS game routine by routine from analysis of UGH.EXE into C++23 and SDL 3. It reads graphics, levels and sound from the user's executable, models VGA Mode X behavior and ports the AdLib driver. Project guidance records use of a REA plugin with Ghidra during analysis.",
  "description_zh": "UGH! 根据对 UGH.EXE 的分析，将这款 1992 年 DOS 游戏逐函数移植到 C++23 和 SDL 3。程序从用户的可执行文件读取图像、关卡与声音，模拟 VGA Mode X 行为并移植 AdLib 驱动；项目说明记载了结合 Ghidra 使用 REA 插件的分析流程。",
  "entry_url": "https://awesomerea.org/resources/ugh-port-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/ugh-port-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/janroz/ugh-port/blob/73221a389385a0883423b74df7d5f3e92cfc305d/README.md",
  "group": "rea",
  "id": "ugh-port-case",
  "json_url": "https://awesomerea.org/resources/ugh-port-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/ugh-port-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/ugh-port-case/index.md",
  "name": "UGH!: a C++ port of the 1992 DOS game",
  "name_zh": "UGH!：1992 年 DOS 游戏的 C++ 移植",
  "reconstruction_method": "port",
  "record_type": "resource",
  "relationship": "community-reported-mixed-workflow",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Requires the specified DOS UGH.EXE build with the documented SHA-256 hash.",
    "Building requires a C++23 compiler, CMake 3.28+, Ninja and SDL 3.2+; first configuration fetches Nuked-OPL3.",
    "Joysticks are not ported; Windows is untested.",
    "MIT licence for the port source."
  ],
  "requirements_zh": [
    "需要指定的 DOS 版 UGH.EXE，其 SHA-256 哈希见项目文档。",
    "构建需要 C++23 编译器、CMake 3.28 以上、Ninja 和 SDL 3.2 以上；首次配置会获取 Nuked-OPL3。",
    "摇杆尚未移植；Windows 版本尚未测试。",
    "移植版源码采用 MIT 许可证。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/janroz/ugh-port",
  "verification": "source-reviewed",
  "verified_at": "2026-11-09"
}
