{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "i12bp8-decomp-wtf--decompile-own-n64-game-with-agent",
 "repo": "i12bp8/decomp.wtf",
 "repo_url": "https://github.com/i12bp8/decomp.wtf",
 "repo_slug": "i12bp8-decomp-wtf",
 "title": "Decompile your own N64 game with an AI agent",
 "page_title": "How to decompile your own N64 game with an AI agent with Decomp WTF",
 "summary": "Point your agent at a ROM you own and get C functions that compile to the same bytes.",
 "who": "A retro game owner who wants to read the code of an N64 game they already bought, and who already uses Claude Code, Codex or another supported agent.",
 "problem": "Reading raw MIPS assembly for every function of a game by hand takes months, and a guessed C version is hard to check against the original.",
 "outcome": "A project of C source for the game, where each function that was attempted either matches the ROM byte for byte or scores zero and is not counted.",
 "steps": [
  "Run `curl -fsSL https://decomp.wtf/install.sh | bash` on Linux, or `irm https://decomp.wtf/install.ps1 | iex` in PowerShell on Windows.",
  "Run `decomp connect` to give your agent Decomp WTF's tools.",
  "Ask your agent in the terminal: decompile my game at ~/roms/game.z64 (use your own file path).",
  "Open the live view that the agent launches and watch functions move from attempts to matches.",
  "Export the rebuildable project once enough functions match, and keep the source to your own use."
 ],
 "agent_prompt": "Using the decomp.wtf repo (i12bp8/decomp.wtf), import the N64 ROM at <path-to-your-rom> that I own, then run the agents until the live view shows matched functions. Report the number of functions matched and the number still open. Verify that every reported match is byte for byte against the ROM, and that no target assembly or build script was edited.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The project is discontinued and archived, so the author will not fix issues or release updates, and the last version is 0.10.6.",
 "category": "Games and hobbies",
 "tags": [
  "Games and hobbies"
 ],
 "lang": "python",
 "requirements": [
  "A game you own, as a ROM, disc image or program file (the README says to use it only on games you own)",
  "Linux, or Windows with WSL 2 (Windows support is marked unstable); macOS is not supported",
  "An AI agent such as Claude Code, Codex, Antigravity CLI or opencode, or an API key for another model",
  "A terminal and basic familiarity with C and MIPS or PowerPC assembly"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "The output is decompiled C of a copyrighted game, so keep it to your own use and do not share the generated code, as the README asks."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/i12bp8-decomp-wtf/decompile-own-n64-game-with-agent/",
 "md": "https://dedupedai.com/use-cases/i12bp8-decomp-wtf/decompile-own-n64-game-with-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/i12bp8-decomp-wtf--decompile-own-n64-game-with-agent.json",
 "api_version": "v1"
}
