{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/INSTALL.md",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/docs/DECOMP-NOTES.md",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/docs/progress/progress.json",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/heartgold.us/rom.sha1",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/CONTRIBUTING.md",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/tree/2fc93ea893b6976c0006c9a77a34c99b7995471b/files",
    "https://github.com/ctrl-cheeb-del/pokeheartgold/tree/2fc93ea893b6976c0006c9a77a34c99b7995471b/lib",
    "https://github.com/pret/pokeheartgold/blob/5bb4b3b4961cbf0f8a42360c58a3c045d8535069/CONTRIBUTING.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Continues pret’s HeartGold/SoulSilver disassembly in a separate fork that reports the US Nintendo DS releases fully decompiled to C and C++ with LLM agents, while both ROMs still rebuild byte-for-byte against their retail SHA-1s. A checked-in progress report counts about 99% of mapped code bytes as C or C++, and a batch-by-batch work log records each replaced assembly range and the hash checks that followed. README says pret does not accept AI-generated code and does not want to be associated with the fork.",
  "description_zh": "在另一个分叉中延续 pret 的《宝可梦 心金／魂银》反汇编项目，报告已借助大语言模型智能体将美版 Nintendo DS 游戏完全反编译为 C 和 C++，两个 ROM 仍可按零售版 SHA-1 逐字节重建。仓库中的进度报告将约 99% 的已映射代码字节计为 C 或 C++，逐批次的工作日志记录了每段被替换的汇编范围及其后的哈希校验。README 说明 pret 不接受 AI 生成的代码，也不希望与该分叉产生关联。",
  "entry_url": "https://awesomerea.org/resources/pokeheartgold-llm-agent-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/pokeheartgold-llm-agent-decomp-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/ctrl-cheeb-del/pokeheartgold/blob/2fc93ea893b6976c0006c9a77a34c99b7995471b/README.md",
  "group": "cases",
  "id": "pokeheartgold-llm-agent-decomp-case",
  "json_url": "https://awesomerea.org/resources/pokeheartgold-llm-agent-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/pokeheartgold-llm-agent-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/pokeheartgold-llm-agent-decomp-case/index.md",
  "name": "Pokémon HeartGold and SoulSilver: a fork reporting a complete LLM-agent decompilation",
  "name_zh": "《宝可梦 心金／魂银》：报告借助大语言模型智能体完成反编译的分叉",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "The fork reports HeartGold and SoulSilver builds matching the US retail ROM SHA-1 hashes. Its HeartGold progress snapshot counts 97.9% of mapped code bytes as C, 1.4% as C++ and 0.6% as original assembly; INSTALL.md defines this as a source-language measure.",
    "Builds require a legally obtained Metrowerks mwccarm 2.0/sp2p2 compiler and license file, plus tools/bin and linker templates from a Nitro SDK archive. Both proprietary inputs are supplied by the user. The repository includes DS filesystem assets under files/ and decompiled libraries under lib/.",
    "Linux requires binutils-arm-none-eabi, Wine, Python 3, libpng, pkg-config and pugixml. Windows uses devkitARM under Cygwin or MSYS2; macOS requires 10.15 or later and Rosetta 2 on Apple silicon. The build checks ARM binaries, filesystem and ROM hashes; the fork’s GitHub build workflow is disabled.",
    "The repository has no license file. Its README reports LLM-agent assistance and asks contributors to keep this fork’s code out of pret/pokeheartgold; pret prohibits LLM-generated contributions."
  ],
  "requirements_zh": [
    "该分叉报告《心金》《魂银》构建结果与美版零售 ROM 的 SHA-1 一致。心金进度快照把已映射代码字节的 97.9% 计为 C、1.4% 计为 C++、0.6% 计为原始汇编；INSTALL.md 将其定义为源码语言指标。",
    "构建需要使用者合法取得的 Metrowerks mwccarm 2.0/sp2p2 编译器及许可证文件，以及 Nitro SDK 归档中的 tools/bin 和链接模板。这两类专有输入均由使用者提供。仓库的 files/ 含 DS 文件系统素材，lib/ 含反编译库。",
    "Linux 需要 binutils-arm-none-eabi、Wine、Python 3、libpng、pkg-config 和 pugixml。Windows 在 Cygwin 或 MSYS2 下使用 devkitARM；macOS 需要 10.15 或更新版本，Apple 芯片还需 Rosetta 2。构建会校验 ARM 二进制、文件系统及 ROM 哈希；该分叉的 GitHub 构建工作流已停用。",
    "仓库没有许可证文件。README 报告使用大语言模型智能体，并要求不要把该分叉代码提交到 pret/pokeheartgold；pret 禁止大语言模型生成的贡献。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/ctrl-cheeb-del/pokeheartgold",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
