{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/LICENSE",
    "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/pyproject.toml",
    "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/plugins/decomp-wtf/skills/decompile/SKILL.md",
    "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/plugins/decomp-wtf/.mcp.json",
    "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/site/tools/build_sim.py"
  ],
  "category": "agent-workflows",
  "description_en": "A discontinued local app and MCP server that hands AI coding agents one function of a user-owned console game at a time, compiles each C attempt with the game’s period compiler and accepts it only when the linked result matches the original bytes. It can start a project from a ROM or disc image, or work inside forks of public decompilation projects listed on decomp.dev, where objdiff judges the result. Its final commit, dated 15 October 2026, marks it discontinued in response to opposition in the decompilation community; the code stays under MIT without further fixes or releases.",
  "description_zh": "一款已停止开发的本地应用与 MCP 服务，把用户自有主机游戏的函数逐个交给 AI 编程智能体，用该游戏当年的编译器编译每次提交的 C 代码，只有链接后的结果与原始字节一致才算通过。它可从 ROM 或光盘镜像新建项目，也可在 decomp.dev 所列公开反编译项目的分叉中工作，由 objdiff 判定结果。其 2026 年 10 月 15 日的最后一次提交宣布停止开发，理由是反编译社区的反对；代码仍以 MIT 许可保留，但不再修复或发布新版本。",
  "entry_url": "https://awesomerea.org/resources/decomp-wtf-agent-decompilation/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/decomp-wtf-agent-decompilation/",
  "evidence_url": "https://github.com/i12bp8/decomp.wtf/blob/575b4a30ed481ff5497dfb9ce4f599368a95a04a/README.md",
  "group": "agents",
  "id": "decomp-wtf-agent-decompilation",
  "json_url": "https://awesomerea.org/resources/decomp-wtf-agent-decompilation/record.json",
  "kind": "integration",
  "markdown_url": "https://awesomerea.org/resources/decomp-wtf-agent-decompilation/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/decomp-wtf-agent-decompilation/index.md",
  "name": "decomp.wtf",
  "name_zh": "decomp.wtf 智能体反编译工具",
  "record_type": "resource",
  "relationship": "independent-agent-integration",
  "requirements": [
    "The reviewed pin is the discontinuation commit of the archived repository, at package version 0.10.6, which the README names as the last installable release. The author will not fix issues, review pull requests or publish releases; existing installs keep working without updates. It runs on Linux and, marked unstable, on Windows inside its own WSL 2 distribution; macOS is unsupported. It needs Python 3.12 or later, and its installer sets up uv, the app, pinned checksum-verified period compilers and the m2c draft decompiler.",
    "Agents connect through the local decomp mcp server or a Claude Code plugin that adds a decompile skill. README lists Claude Code, Codex CLI, Antigravity CLI, opencode, other MCP clients and a built-in loop for OpenAI-compatible APIs, including local models. Agents receive only decomp.wtf’s tools, without a shell. Users pay their own model provider; the author reports about 8 cents for a small function with Claude Code and warns that large functions take many more attempts.",
    "Users supply their own ROM, disc image or program file. The tool contains no game code or ROMs apart from a bundled demo N64 ROM built from public-domain code and zlib. Proprietary period compilers such as IDO and CodeWarrior are installed only after the user agrees. Continuing a public decomp clones that project locally and runs its build scripts, so the README advises forking only trusted projects.",
    "README lists GameCube, Wii and N64 as recommended and PlayStation, PlayStation 2, Game Boy Advance and DS as beta, tested mostly on homemade games. It reports imports tested on named commercial titles and exports that rebuild the input byte for byte, with GameCube and Wii files linked and checksum-checked in dtk-template projects. These remain author statements: the repository has a pytest suite but no CI workflow at the pin, publishes no game results.",
    "The repository is MIT-licensed. Its README asks users to work only on games they own, not to circumvent copy protection, not to publish decompiled code of games whose rights they do not hold, and to follow each public project’s contribution rules, noting that many community decomps reject AI-written contributions. Nothing is sent upstream automatically. The project disclaims affiliation with the tools it builds on."
  ],
  "requirements_zh": [
    "所审阅的固定版本是已归档仓库中宣布停止开发的提交，对应包版本 0.10.6，README 称这是最后一个可安装的版本。作者不再修复问题、审阅拉取请求或发布新版本；已安装的副本仍可使用，但不会更新。它可在 Linux 上运行，也可在 Windows 上通过自带的 WSL 2 发行版运行（标注为不稳定）；不支持 macOS。需要 Python 3.12 或更高版本，安装脚本会配置 uv、应用本身、固定版本且经过校验的旧版编译器，以及 m2c 初稿反编译器。",
    "智能体通过本地 decomp mcp 服务，或添加 decompile 技能的 Claude Code 插件接入。README 列出 Claude Code、Codex CLI、Antigravity CLI、opencode、其他 MCP 客户端，以及适用于 OpenAI 兼容 API（含本地模型）的内置循环。智能体只获得 decomp.wtf 自身的工具，没有 shell。模型费用由用户自付；作者报告用 Claude Code 处理一个小函数约需 8 美分，并提醒大型函数需要多得多的尝试。",
    "用户需自备 ROM、光盘镜像或程序文件。除一个由公有领域代码和 zlib 构建的 N64 演示 ROM 外，工具不含游戏代码或 ROM。IDO、CodeWarrior 等专有旧版编译器仅在用户同意后才会安装。继续公开反编译项目时会在本地克隆该项目并运行其构建脚本，因此 README 建议只分叉可信的项目。",
    "README 将 GameCube、Wii 与 N64 列为推荐平台，PlayStation、PlayStation 2、Game Boy Advance 与 DS 列为测试版，后者主要用自制游戏测试。它报告已在若干具名商业游戏上测试导入，导出的项目能逐字节重建输入，GameCube 与 Wii 文件会在 dtk-template 项目中链接并通过校验和检查。这些仍是作者陈述：仓库有 pytest 测试套件，但固定版本中没有 CI 工作流，也未公布任何游戏的结果。",
    "仓库采用 MIT 许可。README 要求用户只处理自己拥有的游戏、不得规避复制保护、不得发布自己不享有权利的游戏的反编译代码，并遵守各公开项目的贡献规则，同时指出许多社区反编译项目拒绝 AI 编写的贡献。工具不会自动向上游提交任何内容。项目声明与其所依赖的工具均无关联。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/i12bp8/decomp.wtf",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
