{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "cod4map reconstructs the BSP compiler shipped with the 2007 Call of Duty 4 mod tools from its executable. Its C and C++ source builds a 32-bit Windows cod4map.exe; the project uses x87-oriented compiler flags because SSE2 floating-point generation changes BSP output bytes.",
  "description_zh": "cod4map 根据 2007 年随 Call of Duty 4 模组工具发布的可执行文件重建 BSP 编译器。其 C/C++ 源码构建 32 位 Windows 版 cod4map.exe；项目采用面向 x87 的编译参数，因为 SSE2 浮点代码会改变 BSP 输出字节。",
  "entry_url": "https://awesomerea.org/resources/cod4map-reconstruction-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/cod4map-reconstruction-case/",
  "evidence_url": "https://github.com/prd0nja/cod4map/blob/fc4226bc2c980b52ff690cd47b23e43c89cd889b/README.md",
  "group": "cases",
  "id": "cod4map-reconstruction-case",
  "json_url": "https://awesomerea.org/resources/cod4map-reconstruction-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/cod4map-reconstruction-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/cod4map-reconstruction-case/index.md",
  "name": "cod4map: reconstructing the Call of Duty 4 BSP compiler",
  "name_zh": "cod4map：重建 Call of Duty 4 的 BSP 编译器",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "license"
  ],
  "requirements": [
    "Use Visual Studio 2019 or later with the x86 C++ toolset and CMake 3.21 or later.",
    "Run the resulting program from the Call of Duty 4 mod tools directory.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "需使用带 x86 C++ 工具集的 Visual Studio 2019 或更新版本，以及 CMake 3.21 或更新版本。",
    "生成的程序需从 Call of Duty 4 模组工具目录运行。",
    "仓库中没有许可证文件。"
  ],
  "targets": [
    "binary"
  ],
  "url": "https://github.com/prd0nja/cod4map",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
