{
  "api_version": "1.0.0",
  "slug": "river-raid-unlimited-lives",
  "url": "https://reversedwithai.com/p/river-raid-unlimited-lives",
  "markdown_url": "https://reversedwithai.com/p/river-raid-unlimited-lives.md",
  "json_url": "https://reversedwithai.com/p/river-raid-unlimited-lives.json",
  "title": "Gave Atari River Raid unlimited lives with Claude driving Ghidra",
  "tagline": "One byte in an 8 kB Atari ROM, found by Claude driving Ghidra.",
  "summary": "Through GhidraMCP, Claude found the lives-decrement code in an 8 kB 6502 ROM and the byte to patch; the patched game kept its lives in an emulator.",
  "target": {
    "name": "River Raid (Atari 8-bit)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "Atari 8-bit",
  "models": [
    "Claude"
  ],
  "tools": [
    "Ghidra",
    "GhidraMCP"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": "no",
    "independently_verified": null
  },
  "author": {
    "name": "Rafał Strzaliński",
    "url": null
  },
  "sources": {
    "repository": null,
    "writeup": "https://quesma.com/blog/ghidra-mcp-unlimited-lives/",
    "discussions": [],
    "all": [
      "https://quesma.com/blog/ghidra-mcp-unlimited-lives/"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/river-raid-unlimited-lives.webp",
    "credit": "quesma.com"
  },
  "commit_history": null,
  "added_at": "2026-10-13T00:00:22+00:00",
  "updated_at": "2026-10-13T00:00:22+00:00",
  "sources_reviewed_at": "2026-10-13T00:00:22+00:00",
  "reviewed_by": "editor",
  "human_notes": "Claude spotted that the ROM was loaded at the wrong address but couldn't rebase it through the MCP tools, so the author did that and applied the patch by hand. Claude also guessed the game was Centipede.",
  "reproduce": null,
  "body_md": "Rafał Strzaliński used Claude with LaurieWired's GhidraMCP server to find the lives counter in River Raid for the Atari 8-bit, an 8 kB 6502 ROM. Claude located the code that decrements lives, and replacing one `DEY` instruction with a `NOP` gave the game unlimited lives in an emulator.\n\n### How it was done\n\nThe author renamed the binary to `a.rom` and imported it into Ghidra as plain 6502 code with no platform selected, so Claude had no hint about the game. Claude first asked for the file's MD5 hash to look up known ROMs, but the MCP tools could not compute one. Ghidra had loaded the ROM at `$0000` instead of `$A000`, which broke cross-references. Claude diagnosed this but could not rebase the program through the MCP tools, so the author rebased it by hand (a first attempt at `$8000` was also wrong).\n\nFrom the hardware register addresses, Claude worked out that the platform was the Atari 8-bit. It then found the load, decrement and store sequence for the lives counter. Because the MCP tools could not write the binary, the author applied the patch with `dd`, changing `$88` (`DEY`) to `$EA` (`NOP`) at offset `0x355`.\n\n### Results\n\nThe patch worked: in an emulator, crashing into a bridge left the lives counter at 3. Claude was weaker on wider context: it confidently guessed the game was Centipede, and struggled with tasks such as identifying sprite data. Some tool calls took around 30 seconds each, which the author found too slow for interactive work. Setting up the chain of Claude, MCP server, Ghidra extension and Ghidra also took manual effort.",
  "ai_use_excerpts": null
}
