NGP Music ripper by Ivan ( & Thor)
Syntax:
musicdump <romfile> <output_prefix> <b|h>
b : binary dump (for asm)
h : C include file (to use with lib in "music.c", should work with Ivan's C
framework, NeoTracker part)
It generates one file/group.
visit http://www.geocities.com/rtb7 and download "puzzle gems" sources for a
sample.
It looks like this :
SL_SoundInit(); // init sound : driver & z80 setup
SL_LoadGroup(magical0,sizeof(magical0)); // load group containing tunes & sfx
SL_PlayTune(0); // play tune (often 0)
SL_PlaySFX(1); // Play SFX (doesn't stop tune)
| |