{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/docs/getting_started.md",
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/docs/dependencies.md",
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/docs/github_actions.md",
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/configure.py",
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/tools/download_tool.py",
    "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/LICENSE"
  ],
  "category": "game-analysis",
  "description_en": "Project template for starting GameCube and Wii matching-decompilation repositories around decomp-toolkit. Its configure.py generates a ninja build that analyzes and splits the game's DOL and REL files from per-version config.yml, symbols.txt and splits.txt files, compiles the decompiled C/C++ with period Metrowerks compilers, relinks the result and checks it against recorded SHA-1 hashes. It also wires in objdiff for per-object diffing, progress reporting for decomp.dev and an example GitHub Actions workflow.",
  "description_zh": "用于围绕 decomp-toolkit 创建 GameCube 和 Wii 匹配反编译仓库的项目模板。其 configure.py 生成 ninja 构建：依据各版本的 config.yml、symbols.txt 和 splits.txt 分析并拆分游戏的 DOL 和 REL 文件，用当年的 Metrowerks 编译器编译反编译出的 C/C++ 代码，重新链接后与记录的 SHA-1 哈希核对。模板还集成了用于逐目标文件比对的 objdiff、面向 decomp.dev 的进度报告，以及一个 GitHub Actions 工作流示例。",
  "entry_url": "https://awesomerea.org/resources/dtk-template/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/dtk-template/",
  "evidence_url": "https://github.com/encounter/dtk-template/blob/95a941f755919ebe50c1725a4ce73524470e7a02/README.md",
  "group": "tools",
  "id": "dtk-template",
  "json_url": "https://awesomerea.org/resources/dtk-template/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/dtk-template/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/dtk-template/index.md",
  "name": "dtk-template",
  "name_zh": "dtk-template GameCube/Wii 反编译项目模板",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "A scaffold rather than a finished project: users rename the GAMEID placeholders, write each version's configuration and refine symbols and splits after the initial analysis. The README says nearly all active GameCube and Wii decompilation projects use this structure. There are no releases or tags; the reviewed commit (2026-04-26) pins decomp-toolkit v1.8.3, objdiff v3.6.1, binutils 2.42-2 and the 20251118 compilers package.",
    "Users place their own disc image or extracted game files in the ignored orig/[GAMEID] directory, and no game assets are committed. The CI guide has the game files needed for a build stored in a separate build-container repository and warns that it must stay private to avoid exposing the game's assets.",
    "Needs Python and ninja on Windows, macOS or Linux; outside Windows a downloaded wibo wrapper runs the 32-bit Windows compilers, or a user-supplied Wine. configure.py downloads pinned decomp-toolkit, GameCube/Wii binutils, objdiff, sjiswrap and wibo releases plus a Metrowerks CodeWarrior compiler archive hosted by decomp.dev rather than by this repository.",
    "Verification happens per project: the build compares the rebuilt DOL and REL files with the hashes in build.sha1, and objdiff and decomp.dev report per-object matching progress. The template ships no game configuration.",
    "Released under CC0-1.0, which the README suggests replacing with the project's own license; downloaded tools keep their own licenses, and the CodeWarrior compilers are proprietary."
  ],
  "requirements_zh": [
    "这是脚手架而非成品项目：使用者需替换 GAMEID 占位名称、为每个版本编写配置，并在初步分析后不断修正符号和拆分点。README 称几乎所有活跃的 GameCube 和 Wii 反编译项目都采用这一结构。项目没有发布版本或标签；所审阅的提交（2026-04-26）固定了 decomp-toolkit v1.8.3、objdiff v3.6.1、binutils 2.42-2 以及 20251118 版编译器包。",
    "使用者需将自己的光盘镜像或已提取的游戏文件放入被忽略的 orig/[GAMEID] 目录，仓库不提交任何游戏资产。CI 指南要求把构建所需的游戏文件存放在单独的构建容器仓库中，并提醒该仓库必须保持私有，以免泄露游戏资产。",
    "在 Windows、macOS 或 Linux 上需要 Python 和 ninja；在 Windows 以外的平台上，由自动下载的 wibo 包装器或使用者自备的 Wine 运行 32 位 Windows 编译器。configure.py 会下载固定版本的 decomp-toolkit、GameCube/Wii binutils、objdiff、sjiswrap 和 wibo，以及由 decomp.dev 而非本仓库托管的 Metrowerks CodeWarrior 编译器压缩包。",
    "验证由各项目自行完成：构建会将重新生成的 DOL 和 REL 文件与 build.sha1 中的哈希比对，objdiff 和 decomp.dev 则报告逐目标文件的匹配进度。模板本身不附带任何游戏配置。",
    "以 CC0-1.0 发布，README 建议各项目换成自己的许可证；下载的工具保留各自的许可，CodeWarrior 编译器属于专有软件。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/encounter/dtk-template",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
