{
  "api_version": "1.0.0",
  "slug": "metal-slug-5-neo-geo-recomp-claude",
  "url": "https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude",
  "markdown_url": "https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude.md",
  "json_url": "https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude.json",
  "title": "Recompiled Metal Slug 5 (Neo Geo) into a native Windows port, with Claude Code",
  "tagline": "Arcade-exact Metal Slug 5 as native code, checked against MAME frame by frame.",
  "summary": "AlmazProud rebuilds the Neo Geo run and gun from its 68000 program as C on a reimplemented arcade board, verified frame by frame against MAME. The release needs no game files; source builds do.",
  "target": {
    "name": "Metal Slug 5 (Neo Geo MVS)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "Neo Geo (68000/Z80) to Windows",
  "models": [
    "Claude Opus 5.5"
  ],
  "tools": [
    "Claude Code",
    "CMake",
    "SDL3",
    "MAME",
    "Ghidra"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": "MIT",
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "AlmazProud",
    "url": "https://github.com/AlmazProud"
  },
  "sources": {
    "repository": "https://github.com/AlmazProud/metal-slug-5-recomp",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/AlmazProud/metal-slug-5-recomp"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/metal-slug-5-neo-geo-recomp-claude.webp",
    "credit": "Image: GitHub (AlmazProud/metal-slug-5-recomp)"
  },
  "commit_history": {
    "commits": 71,
    "ai_commits": 71,
    "ai_days": 3,
    "first_ai_commit": "2026-10-17",
    "last_ai_commit": "2026-10-19",
    "credited_models": [
      {
        "name": "Claude Opus 5.5",
        "commits": 71
      }
    ]
  },
  "added_at": "2026-10-19T07:52:39.351572+00:00",
  "updated_at": "2026-10-19T07:52:39.351572+00:00",
  "sources_reviewed_at": "2026-10-19T07:52:39.351572+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "AlmazProud ports Metal Slug 5 (Neo Geo MVS, 2003) to native Windows by statically recompiling the 68000 program to C and reimplementing the hardware around it. It follows the author's Metal Slug 3 and Metal Slug X ports and shares their runtime and frontend. A CLAUDE.md file and the docs describe every phase of the project for Claude Code; the README does not say what the AI did. The AI commit census counts all 71 commits as Claude Opus 5.5.\n\n## How it was built\n\nThe 68000 program was mapped with a recursive disassembler and 1.4 billion traced instructions from MAME, then every instruction was translated to C with exact cycle counts and interrupt timing. The runtime reimplements the NEO-PVC banking chip, the LSPC video chip, the real-time clock, the Z80 sound CPU and the YM2610. The MAME set for this game is encrypted, so the loader decrypts it with a compact description of the NEO-PVC, CMC50 and PCM2 schemes learned from MAME as a black box with synthetic patterns, and no MAME code was read or copied.\n\n## Accuracy\n\nThe README describes a native Windows port with arcade-exact game logic, and gives no date or version. It was compared against MAME 0.289 with a differential harness: attract mode with 10,007 frames, bot games, a hand-played 13.4 minute run, scripted missions and boss sections were compared frame image and RAM at every vertical blank, with only a few stack and timing-order differences listed and checked byte by byte. Save states, autosave, three game modes, video filters, boss rush, run-ahead, slowdown removal, cheats and the hidden developer menu are included. Audio is close but not sample exact, and Mission 5 middle bosses are missing from Boss Rush.\n\n## Running it\n\nNothing from the game ships. The released executable runs the game's 68000 program through a cycle-exact interpreter reading your own MAME dump, because it cannot contain the recompiled code; a source build with your copy also gets the recompiled program. You need the arcade board dump from MAME's mslug5 set (mslug5.zip) and neogeo.zip with the MVS BIOS. Unzip a release, put the files in game\\ and run mslug5.exe; the files are recognised by hash.\n\nSources:\n- https://github.com/AlmazProud/metal-slug-5-recomp",
  "ai_use_excerpts": null
}
