Manhunt 2, IMA ADPCM by braun at 12:59 PM EST on February 24, 2010
I'mma trying to rip the PC version of Manhunt 2, and using fsbext I got 14-channel 30 kHz IMA ADPCM files, but I don't know where to go from there to make them listenable.
Ok, so I got it, there's something really odd going on. There seems to be some blocking mechanism with 0x1c byte frames, starting with FF FF 01 00, and then the following 17 start with 00 00 00 00. The next 4 bytes in each 'packet' may be ADPCM setup. In any case, it's not just IMA. Is there are chance you could post the original .fsb?
OrangeC, have you tried it with the .fsb in Manhunt 2 like this guy is using?
Anyway, I figured it out, it's a modified MS IMA, for some reason packed as I described above. The modification is to have all the stream histories together, followed by all the step indexes (instead of the normal way where they're interleaved. The samples are interleaved in 2 byte blocks instead of 4. This file has 12 channels. If you put up the original .fsb I can write a converter that will export this as usable normal MS IMA.
You may want to try towav anyway to see if OC is correct. Apparently Manhunt 2 has been ripped, so...
edited 8:22 PM EST February 24, 2010
Aha! Suddenly it all makes sense. There are actually 14 channels, and they are standard MS IMA, however they are interleaved 2 bytes at a time (as was done with GC DSP and probably other stuff). So it seems likely that if there's a flag that indicates this interleaving then towav might support it properly.
edited 11:07 PM EST February 24, 2010
Here's something to try: fsb_ima_reinterleave 0.0, will reinterleave that .wav (modifying the original file!) so it can be decoded normally. Now audacity may still not handle it (mine didn't), but vgmstream handles it fine, so decode it with test.exe and then open the resulting PCM wav in audacity.
As for Manhunt 2 being ripped already... haven't seen it anywhere, and it's not in Manako's database, so... dunno what to say. I have previously ripped the PS2 version for myself, and now I'm trying the PC version because it appears to be higher quality audio, and in stereo (the PS2 music is in mono, wtf ~_~).
See what you can do with that sucker, and then please kindly give it back when you're done with it. I get lonely without all of my files.