{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/KudryavtsevDmitry/ht2-rev/blob/53627ed25560a0958b5c5a4525dde652bb2a8ed3/CONVERSION_LOG.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "ht2-rev reconstructs Hard Truck 2: King of the Road's king.exe as C++ source for a 32-bit Windows build. The work grew from a byte-matching disassembly and translates the helicopter step and trailer hitch solver from x87 instructions, with tests against the original machine code. It extracts resources from the user's executable at build time and runs with an installed game.",
  "description_zh": "ht2-rev 将《Hard Truck 2: King of the Road》的 king.exe 重建为面向 32 位 Windows 的 C++ 源码。项目起始于字节匹配的反汇编，并逐条转换直升机运算和拖车挂接求解器的 x87 指令，使用原版机器码进行对照测试；构建时从用户自己的可执行文件提取资源，运行时需要已安装的游戏。",
  "entry_url": "https://awesomerea.org/resources/hard-truck-2-king-exe-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/hard-truck-2-king-exe-case/",
  "evidence_url": "https://github.com/KudryavtsevDmitry/ht2-rev/blob/53627ed25560a0958b5c5a4525dde652bb2a8ed3/README.md",
  "group": "cases",
  "id": "hard-truck-2-king-exe-case",
  "json_url": "https://awesomerea.org/resources/hard-truck-2-king-exe-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/hard-truck-2-king-exe-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/hard-truck-2-king-exe-case/index.md",
  "name": "ht2-rev: reconstructing Hard Truck 2's king.exe in C++",
  "name_zh": "ht2-rev：以 C++ 重建《Hard Truck 2》的 king.exe",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Building requires the user's original king.exe for resources; running requires an installed game.",
    "Building requires VS 2022 Build Tools with the v142 x86 toolset, Windows 10 SDK, DirectX 7 SDK libraries, and Python with pefile.",
    "About 2,300 calls still use original labels and untyped call helpers.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "构建时需要用户自己的原版 king.exe 提取资源；运行时需要已安装的游戏。",
    "构建需要带 v142 x86 工具集的 VS 2022 Build Tools、Windows 10 SDK、DirectX 7 SDK 库，以及安装 pefile 的 Python。",
    "约 2,300 处调用仍使用原始标签和无类型调用辅助函数。",
    "仓库中没有许可证文件。"
  ],
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/KudryavtsevDmitry/ht2-rev",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
