{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/bImPatman/pea-shootin-pete-decomp/blob/c78f2fcfca2d4eab12bcc2823e7f638b839b7929/notes/compiler.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Pea Shootin' Pete reconstructs DOS PETE.EXE functions as C and assembly using Borland C++ 3.1. Its tools repair gaps in a Ghidra export, compile candidates in DOSBox X, and compare instruction shape and bytes while reporting address-field differences. The author reports 94 exact function matches among 454 targets.",
  "description_zh": "Pea Shootin' Pete 使用 Borland C++ 3.1，将 DOS 游戏 PETE.EXE 的函数重建为 C 与汇编。工具修补 Ghidra 导出中的缺口，在 DOSBox X 中编译候选代码，比较指令形态及屏蔽地址字段后的字节，并报告地址字段差异。作者报告 454 个目标函数中有 94 个达到项目定义的精确匹配。",
  "entry_url": "https://awesomerea.org/resources/pea-shootin-pete-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/pea-shootin-pete-decomp-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/bImPatman/pea-shootin-pete-decomp/blob/c78f2fcfca2d4eab12bcc2823e7f638b839b7929/README.md",
  "group": "cases",
  "id": "pea-shootin-pete-decomp-case",
  "json_url": "https://awesomerea.org/resources/pea-shootin-pete-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/pea-shootin-pete-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/pea-shootin-pete-decomp-case/index.md",
  "name": "Pea Shootin' Pete: matching reconstruction of PETE.EXE",
  "name_zh": "Pea Shootin' Pete：PETE.EXE 匹配重建",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Provide PETE.EXE and Borland C++ 3.1.",
    "The workflow uses Python 3.13 with capstone and DOSBox X; Ghidra 12.1.4 with Java 21 is needed to regenerate the export.",
    "The author reports 94 exact matches among 454 target functions.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "需提供 PETE.EXE 和 Borland C++ 3.1。",
    "流程需要 Python 3.13、capstone 与 DOSBox X；重新导出分析结果需 Ghidra 12.1.4 和 Java 21。",
    "作者报告 454 个目标函数中有 94 个精确匹配。",
    "仓库中没有许可证文件。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/bImPatman/pea-shootin-pete-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
