I got bored and played with ADPCM.DAT a bit more today. It actually has 2,236 files inside it. But there's no indexing (the index is probably ADPCM.IDX but I couldn't figure out it's format in the 3 mins it had my attention).
I came up with another idea and used WinHex to generate an offset list of occurances of "FORM" since the first four letters of each file in it were form. Then I wrote myself a little PHP script:
$fd = fopen ("WinHex.pos", "rb");
$point = 20;
fseek ($fd, $point, SEEK_SET);
for ($i=0; $i<2236; $i++) {
$pointer = fread ($fd, 38);
$offset[$i] = hexdec(bin2hex(strrev(substr ($pointer, 0, 8))));
$point = $point + 38;
fseek ($fd, $point, SEEK_SET);
}
$offset[2236] = "116277248";
fclose ($fd);
$fd = fopen ("ADPCM.DAT", "rb");
for ($i=0; $i<(count($offset)-1); $i++) {
fseek ($fd, $offset[$i], SEEK_SET);
$output = fread ($fd, ($offset[$i+1]-$offset[$i]));
$fo = fopen(("C:\\Inetpub\\wwwroot\\gulliver\\ADPCM_" . str_pad($i, 4, "0", STR_PAD_LEFT) . ".PCM"), "w");
fputs($fo, $output);
fclose($fo);
//echo (dechex($offset[$i]) . "
");
}
fclose ($fd);
Long story short I now have all 2236 files. I was trying ot play them in Soundforge using the RAW input and found things sounded closes when opened as 8,000Hz, 8-bit Sign-Bit Mono audio but there's a LOT of noise int he background and the volume seems wonky. But you can definitly hear what's being said.
I'm gonna grab CoolEdit in a few mins and try what you suggested quite a while ago. Maybe it will have something closer.
BTW for anyone who cares I think Dracula X: Noctourne in the Moonlight used DVI ADPCM so someone could probably rip the soundtrack for it. It would be neat to get MP3's of the music fromt he two new wings of the castle.