{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/sushi-shi/homm1-decomp/blob/a3cead98e3b2ab6f5dff14165910b29da173d91a/docs/README.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "homm1-decomp reconstructs the Buka 2003 Heroes of Might and Magic game and scenario editor as C++ source using the original Visual C++ 6.0 SP5 toolchain under Wine. The author reports that HEROES.EXE and EDITOR.EXE rebuild byte-identically and that every targeted function matches. The repository also documents earlier Windows 95 versions, matching tools and compiler behavior.",
  "description_zh": "homm1-decomp 用 C++ 重建 Buka 2003 版《魔法门之英雄无敌》及其场景编辑器，并借助 Wine 运行原版 Visual C++ 6.0 SP5 工具链。作者报告 HEROES.EXE 和 EDITOR.EXE 均可逐字节重建，目标函数全部匹配；仓库还记录了早期 Windows 95 版本、匹配工具及编译器行为。",
  "entry_url": "https://awesomerea.org/resources/homm1-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/homm1-decomp-case/",
  "evidence_url": "https://github.com/sushi-shi/homm1-decomp/blob/a3cead98e3b2ab6f5dff14165910b29da173d91a/README.md",
  "group": "cases",
  "id": "homm1-decomp-case",
  "json_url": "https://awesomerea.org/resources/homm1-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/homm1-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/homm1-decomp-case/index.md",
  "name": "homm1-decomp: matching Heroes of Might and Magic and its editor",
  "name_zh": "homm1-decomp：匹配重建《魔法门之英雄无敌》及其编辑器",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "scope",
    "license"
  ],
  "requirements": [
    "Supply your own game executables and assets; use Nix flakes, the original toolchain and Wine for the documented build.",
    "Matching covers the in-`.text` reconstruction targets; generated and library code is excluded.",
    "Project-authored source and tooling use CC0 1.0."
  ],
  "requirements_zh": [
    "需自备游戏可执行文件和资源；文档中的构建使用 Nix flakes、原版工具链和 Wine。",
    "精确匹配数量由作者报告，覆盖 .text 中的重建目标；生成代码和库代码不计入。",
    "项目原创源码和工具采用 CC0 1.0。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/sushi-shi/homm1-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
