{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/second-impressions/caesar2-reconstruction/blob/f54946722859e22ad7b372dc5a1949fb45f05cf5/TODO.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Caesar II Reconstruction recovers C and assembly for the 1995 game and rebuilds its DOS PS.EXE with Watcom C. Its toolkit compares code and initialized data with the original, while a separate MSVC 4.0 workflow compares Windows functions against CAESAR2.EXE. The author reports a byte-exact DOS rebuild outside generated debug information.",
  "description_zh": "Caesar II Reconstruction 重建 1995 年游戏的 C 与汇编源码，使用 Watcom C 编译 DOS 版 PS.EXE，并比对代码和初始化数据。另一个流程使用 MSVC 4.0，将 Windows 版函数与 CAESAR2.EXE 逐一比对。作者报告称，除生成的调试信息外，DOS 重建结果逐字节一致。",
  "entry_url": "https://awesomerea.org/resources/caesar-ii-reconstruction-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/caesar-ii-reconstruction-case/",
  "evidence_url": "https://github.com/second-impressions/caesar2-reconstruction/blob/f54946722859e22ad7b372dc5a1949fb45f05cf5/README.md",
  "group": "cases",
  "id": "caesar-ii-reconstruction-case",
  "json_url": "https://awesomerea.org/resources/caesar-ii-reconstruction-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/caesar-ii-reconstruction-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/caesar-ii-reconstruction-case/index.md",
  "name": "Caesar II Reconstruction: byte-matched DOS source and Windows function comparisons",
  "name_zh": "Caesar II Reconstruction：DOS 源码逐字节重建与 Windows 函数比对",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Requires Nix with flakes and Podman for the Watcom container.",
    "Requires a local original PS.EXE matching the pinned hash; the runnable game also needs assets from a CD.",
    "A fresh clone currently needs a sibling reccmp checkout because the fork is not yet published.",
    "Licensed AGPL-3.0-or-later for project-owned code."
  ],
  "requirements_zh": [
    "需要支持 flakes 的 Nix，以及运行 Watcom 容器的 Podman。",
    "需要与固定哈希一致的本地原版 PS.EXE；运行游戏还需要 CD 中的素材。",
    "目前新克隆的仓库需要相邻的 reccmp 检出目录，因为该分支尚未发布。",
    "项目自有代码采用 AGPL-3.0-or-later 许可证。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/second-impressions/caesar2-reconstruction",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
