{
  "added_at": "2026-10-18",
  "additional_evidence_urls": [
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/configure.py",
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/tools/project.py",
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/config/GZLE01/build.sha1",
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/CONTRIBUTING.md",
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/LICENSE",
    "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/.github/workflows/build.yml",
    "https://github.com/zeldaret/tww/actions/runs/38619222013",
    "https://decomp.dev/zeldaret/tww",
    "https://web.archive.org/web/20261020041528/https://decomp.dev/zeldaret/tww/GZLE01/8b93b372dc8e841f12ddfb7e0215626f62b05417.json",
    "https://web.archive.org/web/20261020041536/https://decomp.dev/zeldaret/tww/GZLJ01/8b93b372dc8e841f12ddfb7e0215626f62b05417.json",
    "https://web.archive.org/web/20261020041545/https://decomp.dev/zeldaret/tww/GZLP01/8b93b372dc8e841f12ddfb7e0215626f62b05417.json",
    "https://web.archive.org/web/20261020041613/https://decomp.dev/zeldaret/tww/D44J01/8b93b372dc8e841f12ddfb7e0215626f62b05417.json"
  ],
  "category": "reconstruction-cases",
  "description_en": "Reconstructs source for The Wind Waker’s GameCube executable and REL modules across the USA/Korea, PAL and Japanese releases and a Japanese kiosk demo. Matched units are compiled from source and linked with objects split from the user’s disc, then checked against per-version SHA-1 hashes; the repository ships no assets or assembly and covers the GameCube game, not the HD remaster.",
  "description_zh": "为《塞尔达传说 风之杖》GameCube 版的可执行文件和 REL 模块重建源码，涵盖美版／韩版、PAL 版、日版及日本体验版。已匹配的单元由源码编译，再与从使用者光盘中拆分出的对象链接，并按各版本的 SHA-1 哈希校验；仓库不含素材或汇编，范围是 GameCube 版而非 HD 重制版。",
  "entry_url": "https://awesomerea.org/resources/wind-waker-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/wind-waker-decomp-case/",
  "evidence_url": "https://github.com/zeldaret/tww/blob/8b93b372dc8e841f12ddfb7e0215626f62b05417/README.md",
  "group": "cases",
  "id": "wind-waker-decomp-case",
  "json_url": "https://awesomerea.org/resources/wind-waker-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/wind-waker-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/wind-waker-decomp-case/index.md",
  "name": "The Wind Waker: a GameCube decompilation with hash-checked relinking",
  "name_zh": "《风之杖》：以哈希校验重新链接的 GameCube 版反编译",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "scope",
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "README describes a work-in-progress GameCube decompilation supporting every GameCube version: GZLE01 (USA Rev 0 and Korea Rev 48), GZLP01 (PAL), GZLJ01 (Japan) and the D44J01 Japanese kiosk demo. Output is the original executable and REL modules, not a port.",
    "Building needs the user’s own disc image of the chosen version in a supported format (ISO/GCM, RVZ, WIA, WBFS, CISO, NFS, GCZ or TGC), which can be deleted after the first build. The repository contains no game assets or assembly; decomp-toolkit splits the original locally.",
    "Builds run natively on Windows with Python and ninja, or on Linux/macOS with ninja and the automatically downloaded wibo wrapper. configure.py pins decomp-toolkit v1.8.3, objdiff v3.7.3, binutils 2.42-1 and a 20251118 compiler bundle; README also describes a shared Ghidra project as an aid whose output is not accurate enough to copy directly.",
    "The default build links source-built objects only for units marked complete, uses original extracted objects for the rest and checks the result against the version’s build.sha1 (415–417 entries per version). decomp.dev’s reports for the pinned commit list 79.58% of GZLE01 code (32,968 of 39,324 functions) matched, 78.38–78.65% for the other retail versions and 74.08% for the demo. CI runs in a private container holding game files.",
    "The repository carries CC0-1.0, which does not cover Nintendo’s game, disc content or the downloaded compilers. CONTRIBUTING.md rejects primarily AI-generated pull requests."
  ],
  "requirements_zh": [
    "README 将其描述为进行中的 GameCube 版反编译，支持全部 GameCube 版本：GZLE01（美版 Rev 0 与韩版 Rev 48）、GZLP01（PAL 版）、GZLJ01（日版）以及 D44J01 日本体验版。产物是原可执行文件和 REL 模块，不是移植。",
    "构建需要使用者自备所选版本的光盘镜像，格式可为 ISO／GCM、RVZ、WIA、WBFS、CISO、NFS、GCZ 或 TGC，首次构建后即可删除。仓库不含游戏素材或汇编；decomp-toolkit 在本地拆分原文件。",
    "在 Windows 上可直接用 Python 与 ninja 构建；Linux／macOS 需 ninja，并会自动下载 wibo 包装器。configure.py 固定 decomp-toolkit v1.8.3、objdiff v3.7.3、binutils 2.42-1 及 20251118 编译器包；README 还介绍了一个共享 Ghidra 项目作为辅助，但其输出不够准确，不能直接复制使用。",
    "默认构建只对标为完成的单元链接由源码编译的对象，其余单元使用从原文件提取的对象，再按该版本的 build.sha1 校验结果（每个版本 415–417 条记录）。decomp.dev 针对该固定提交的报告显示，GZLE01 有 79.58% 的代码（39,324 个函数中的 32,968 个）已匹配，其他零售版本为 78.38%–78.65%，体验版为 74.08%。CI 在存有游戏文件的私有容器中运行。",
    "仓库采用 CC0-1.0，不涵盖任天堂的游戏、光盘内容或下载的编译器。CONTRIBUTING.md 拒绝主要由 AI 生成的拉取请求。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/zeldaret/tww",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
