DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to decompile your own N64 game with an AI agent with Decomp WTF

Point your agent at a ROM you own and get C functions that compile to the same bytes.

Authorization notice. Decomp WTF is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Reverse engineering. 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.

Who it is forA 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.

The problemReading 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.

The outcomeA 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.

What you need first

  • 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

Steps

  1. Run curl -fsSL https://decomp.wtf/install.sh | bash on Linux, or irm https://decomp.wtf/install.ps1 | iex in PowerShell on Windows.
  2. Run decomp connect to give your agent Decomp WTF's tools.
  3. Ask your agent in the terminal: decompile my game at ~/roms/game.z64 (use your own file path).
  4. Open the live view that the agent launches and watch functions move from attempts to matches.
  5. Export the rebuildable project once enough functions match, and keep the source to your own use.

Prompt for your agent

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.

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.

Share: X LinkedIn Hacker News Email Copy link

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 [email protected] and we will look at it promptly. Full disclaimer page