Skip to content

Instantly share code, notes, and snippets.

@leovoel
Created April 30, 2020 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leovoel/a285316986fb71c19769fd0902239502 to your computer and use it in GitHub Desktop.
Save leovoel/a285316986fb71c19769fd0902239502 to your computer and use it in GitHub Desktop.
# MDK2 (WAVC)
# script for quickbms (http://aluigi.altervista.org/quickbms.htm)
# the output file of this script (.acm) should work with ffmpeg or vgmstream.
# if you haven't extracted the zip files containing these,
# aluigi's zip.bms should work (http://aluigi.altervista.org/bms/zip.bms)
idstring "WAVCV1.0"
get UNCOMPRESSED_SIZE long
get COMPRESSED_SIZE long
get OFFSET long
get CHANNELS short
get BITS_PER_SAMPLE short
get SAMPLE_RATE short
get UNKNOWN short
idstring "\x97\x28\x03\x01"
get NAME basename
string NAME + ".acm"
log NAME OFFSET COMPRESSED_SIZE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment