{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/Voicedrew11/kfiv-decomp/blob/09adc15974b2936b09943d2a55cc29fa472a79b2/CONTRIBUTING.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "kfiv-decomp reconstructs King's Field: The Ancient City's USA PlayStation 2 executable as matching C and assembly. Its build extracts a user-supplied disc, splits the executable with splat, and checks the linked ROM SHA-1; the author reports a byte-identical result while much game code remains assembly.",
  "description_zh": "kfiv-decomp 将《King's Field: The Ancient City》美版 PS2 可执行文件重建为匹配的 C 代码与汇编。构建流程从用户提供的光盘提取程序，用 splat 拆分，并检查链接后 ROM 的 SHA-1；作者报告字节完全一致，但大量游戏代码仍是汇编。",
  "entry_url": "https://awesomerea.org/resources/kfiv-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/kfiv-decomp-case/",
  "evidence_url": "https://github.com/Voicedrew11/kfiv-decomp/blob/09adc15974b2936b09943d2a55cc29fa472a79b2/README.md",
  "group": "cases",
  "id": "kfiv-decomp-case",
  "json_url": "https://awesomerea.org/resources/kfiv-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/kfiv-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/kfiv-decomp-case/index.md",
  "name": "kfiv-decomp: matching decompilation of King's Field IV",
  "name_zh": "kfiv-decomp：《King's Field IV》逐字节匹配反编译",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Own USA SLUS-20318 disc image.",
    "64-bit Linux with 32-bit glibc, gcc -m32 support, flex, bison, curl, git and Python 3.",
    "The game code remains partly in splat-disassembled assembly; VU1 microprograms are not wired in.",
    "MIT license."
  ],
  "requirements_zh": [
    "需要自备美版 SLUS-20318 光盘镜像。",
    "需要具备 32 位 glibc、支持 -m32 的 gcc、flex、bison、curl、git 和 Python 3 的 64 位 Linux。",
    "游戏代码仍有部分采用 splat 生成的汇编；VU1 微程序尚未接入。",
    "采用 MIT 许可证。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/Voicedrew11/kfiv-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
