Skip to content

Instantly share code, notes, and snippets.

@leovoel
Created April 30, 2020 03:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# 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