h4m / HVQM4 audio by hcs at 2:47 AM EDT on July 21, 2010
Haven't seen any discussion on this for a while, someone asked me to have a look at a file from the Master Quest disc, which contained a .dol and .h4m video, with soundtrack. I've worked out how to play the audio, and I present h4m_audio_decode over here, which will decode to PCM wav.
Turns out to just be IMA after all, so I replaced the decoder with the more standard one from vgmstream, checked that they behave identically. I'm somewhat unhappy with the sound quality, but this may be due to poor encoding.
I've been trying to get this to work, but I haven't had any luck. When I type the following:
h4m_audio_decode.exe file.h4m output.wav
I get a line telling me this:
expected audio frame size to be 0x00000650, got 0x00000652
It gives me this message no matter what h4m file I use. I've extracted them from the Gamecube version of Mystic Heroes. I'm not sure if anyone's familiar with that, but... any information on what's going wrong?
EDIT: The value at 0x00000032 equals 652. I can modify it to equal 650 instead, and then I'm given a list of stats about the file, and then a different error:
unexpected frame id at 00000060
The 4-byte value of that address is 00000648. I don't really know what I'm doing hahaha, I just thought I'd goof around, and maybe this information will help someone understand my problem.