Repository navigation
Releases
Samurai Shodown IV - native recompilation v0.1.0
Samurai Shodown IV — Amakusa's Revenge · native recompilation v0.1.0
A native Windows x64 and Steam Deck/Linux build of Samurai Shodown IV
(SNK, MVS/AES, MAME set samsho4) made with
NeoGeoRecomp v0.2.0.
The 68000 program is translated ahead of time into C and runs on a model of
the MVS board — real BIOS boot, LSPC video, Z80 + YM2610 audio, SDL2 input.
It is not an emulator wrapper. Musashi stays linked as the correctness oracle
and as the fallback for runtime-computed targets.
Verified results
- 42,838 recompiled entry points (42,815 static + 23 from one profile pass)
--verify: 22,255,974 blocks, 0 mismatches over a 24,000-frame soak- 100.000% native on that soak: 447,307,767 instructions, 0 interpreted,
0 uncovered entries - Native and interpreter frames byte-identical; Windows and Linux frame 400
byte-identical - Audio path: real Z80 driver + YM2610 (FM/SSG/ADPCM-A/B); a 12,000-frame
capture has no music-sized gaps
Assets
| File | Contents |
|---|---|
Samsho4-Windows-x64.zip |
Samsho4.exe, SDL2.dll, VC runtime, README, ROM layout, compatibility/testing docs, all licences. No ROMs or BIOS. |
Samsho4-SteamDeck-x86_64.AppImage |
Linux x86_64 player with bundled SDL2. Launches fullscreen, 4:3 pillarboxed at 1280×800. No ROMs or BIOS. |
SHA256SUMS.txt |
Hashes of the two assets above |
You must supply the ROMs
No game ROM, Neo Geo BIOS, generated C or entry-point list is included. Put
your legally obtained MAME dumps, unzipped, in one folder:
samsho4.zip -> 222-p1.p1 222-p2.sp2 222-s1.s1 222-m1.m1
222-v1.v1 222-v2.v2 222-v3.v3
222-c1.c1 ... 222-c8.c8
neogeo.zip -> sp-s2.sp1 sfix.sfix sm1.sm1 000-lo.lo
Windows: put them in roms\ beside Samsho4.exe, or pass
--rom-path "D:\path\to\roms".
Steam Deck: put roms/ beside the AppImage, or set --rom-path / the
roms folder in the usual EmulationStation locations. Sizes and hashes are
in ROM-LAYOUT.md (Windows package) / docs/rom-layout.md (source).
Controls
Arrows / left stick move · Z X C V or pad A B X Y = Neo Geo A B C D ·
5 / Back = coin · 1 / Start = start · 3 / left shoulder = select ·
F11 or Alt+Enter = fullscreen · Esc = quit.
On MVS, insert a coin before Start.
Build from source
See the repository README.md and docs/testing.md. You need the toolkit's
prerequisites (CMake 3.21+, clang-cl/MSVC on Windows or gcc on Linux,
libsdl2-dev) and your own ROMs; the recompiler runs locally at build time.
Licensing
- Original project code: PolyForm Noncommercial 1.0.0 (the requested
"polymaster" applied as PolyForm Noncommercial by project convention). Free
for noncommercial use; commercial use needs a separate licence. See
LICENSEandLICENSE-STATUS.md. - NeoGeoRecomp is MIT; Musashi and z80 are MIT; ymfm is BSD-3-Clause;
SDL2 is zlib. All notices are in the source and in each package. - The release binaries contain statically recompiled code produced from the
author's own dump. They grant no rights in SNK's game code and are provided
for use with ROMs the recipient is legally entitled to use. Samurai
Shodown, Neo Geo, MVS and AES are trademarks of SNK Corporation; this
project is not affiliated with or endorsed by SNK.
Known limitations
- Steam Deck hardware (Gaming Mode, Steam Input, LCD/OLED) was not available;
the AppImage was validated on Linux x86_64 under Xvfb at 1280×800. - No physical gamepad was available; the SDL mapping is verified with virtual
pads in the toolkit test. - Two-player versus, the test/service menu and memory cards are untested or
unsupported. - Audio was measured, not auditioned.
- Banks 1–3 of the cartridge would interpret by design; no measured execution
reached them, so 100% coverage applies to the tested sessions.