Repository navigation
Releases
v0.2.0
- Ahead-of-time HuC6280 sound CPU (
tools/h6280/): Gun Ball's entire HuC6280 sound program (4,271 instructions across Bank 0 and Bank 6, compiled into 191 native C functions) now runs ahead-of-time as native compiled C with zero CPU interpreters linked intogunballorgb_headless. Verified cycle-for-cycle with 0 differences against MAME 0.289 (51,899 YM2151 writes, 637 OKI M6295 writes), across all 5 stages / 5 bosses / Bonus Slot / Ending (20,000 frames, 616,876 YM2151 writes, 10,180 OKI writes), and across deterministic save-state round-trips.
How to update
If you already have v0.1.0, the game offers this update right from the in-game menu (UPDATE TO V0.2.0): it downloads, verifies, and restarts automatically while keeping your settings, high scores, save states, replays, and ROM set.
New players:
- Windows: download
GunBall-0.2.0-win64.zipbelow, unzip it somewhere you can write to, and rungunball.exe. - Linux: download
GunBall-0.2.0-linux-x86_64.tar.gzbelow, unpack it somewhere you can write to, and run./gunballfrom its folder. For recording MP4 videos, installffmpegfrom your system's packages.
On the first run, drag MAME's gunball.zip and nitrobal.zip onto the window that asks for them. No game data is included.
v0.1.0
First release of Gun Ball Recomp — a native PC port of Data East's 1992 arcade game Gun Ball (Japanese Nitro Ball, MAME gunball), with its entire 68000 program decompiled ahead of time into 27 readable C modules (100% of functions and work RAM named, 0 gotos) running on a cycle-accurate model of the DE-0358-3 board.
Highlights
- Verified 1:1 fidelity against MAME 0.289: 68000 main CPU, DECO 146 protection & I/O, dual DECO16IC tilemaps (
pf1,pf2,pf3+pf48 bpp, rowscroll), dual sprite chips with 50% alpha blending on chip 2, 2048-colour palette DMA, and the complete HuC6280 + YM2151 + dual banked OKI M6295 sound board (verified frame for frame, pixel for pixel, and cycle for cycle against MAME 0.289). - Board mode (
jn-00.17lpriority PROM): switchableMAME 1:1vsBOARDaccuracy mode, driving sprite/playfield priority and 50% alpha blending directly from the physicaljn-00.17lbipolar PROM. - Native SDL2 window & side HUD: upright 240×320 (ROT270) display, 3:4 or square-pixel aspect, sharp/smooth scaling, TATE vertical CRT presets (
SCANLINES,ARCADE,PVM), and side panels rendered in Gun Ball's own 8×8 ROM font (P1/P2/P3 stats, hi-score, credits, centered 2× speedrun timer, input display, slowdown graph, hotkeys, and menu help). - 3-player controls & DIP switches: keyboard and up to 3 gamepads, full remapping in menu or
gunball.ini, and all 10 arcade DIP switches. - Save states, practice, replays, high scores & recording: 8 deterministic save-state slots (
F5/F6/F7), Practice Stage Select for all 5 stages (custom lives and balls), frame-exact replay capture/playback, persistent high scores (gunball.hi), andF12video recording (1080p/1440p H.264+AAC MP4 or losslessBOARD AVI). - ROM drag-and-drop & self-updater: drop
gunball.zipandnitrobal.ziponto the first-run window (CRC-32 verified, built-in DECO 56 / DECO 74 decryption) and automatic GitHub Releases updates.
How to play
- Windows: download
GunBall-0.1.0-win64.zipbelow, unzip it somewhere you can write to, and rungunball.exe. - Linux: download
GunBall-0.1.0-linux-x86_64.tar.gzbelow, unpack it somewhere you can write to, and run./gunballfrom its folder. For recording MP4 videos, installffmpegfrom your system's packages.
On the first run, drag MAME's gunball.zip and nitrobal.zip onto the window that asks for them. No game data is included.