<!-- Canonical page: https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude -->
Canonical page: https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude

# Recompiled Metal Slug 5 (Neo Geo) into a native Windows port, with Claude Code

> Arcade-exact Metal Slug 5 as native code, checked against MAME frame by frame.

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.

## Key facts

- Target: Metal Slug 5 (Neo Geo MVS)
- Category: Games and mods
- Platform: Neo Geo (68000/Z80) to Windows
- Models: Claude Opus 5.5
- Tools: Claude Code, CMake, SDL3, MAME, Ghidra
- Outcome: Works
- License: MIT
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [AlmazProud](https://github.com/AlmazProud)
- Added: 2026-10-19
- Updated: 2026-10-19
- Sources reviewed: 2026-10-19 (editor)

## What was done

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.

## How it was built

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

## Accuracy

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

## Running it

Nothing 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.

Sources:
- https://github.com/AlmazProud/metal-slug-5-recomp

## What the commit history shows

71 of 71 commits in the public repository credit an AI, over 3 days between 2026-10-17 and 2026-10-19. Credited: Claude Opus 5.5 (71).

Measured by this site from public git history.

## Questions about Metal Slug 5 (Neo Geo MVS)

### What is the Metal Slug 5 (Neo Geo MVS) project?

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. It is listed under Games and mods for Neo Geo (68000/Z80) to Windows.

### Which AI model was used on Metal Slug 5 (Neo Geo MVS)?

The entry names Claude Opus 5.5. The tools named alongside are Claude Code, CMake, SDL3, MAME and Ghidra.

### Did the AI reverse engineering of Metal Slug 5 (Neo Geo MVS) work?

Its author reports that it works.

### Is the source code for Metal Slug 5 (Neo Geo MVS) available?

The entry links a repository, https://github.com/AlmazProud/metal-slug-5-recomp, but does not record whether the code is public. Licence: MIT.

## Sources

- [Repository](https://github.com/AlmazProud/metal-slug-5-recomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: AlmazProud (2026). Recompiled Metal Slug 5 (Neo Geo) into a native Windows port, with Claude Code. Reversed with AI. https://reversedwithai.com/p/metal-slug-5-neo-geo-recomp-claude
