So I was digging through the files for Mahjong Fight Club, looking for the music files. They appear to all be packed in a file called
strbgm.bin. Fortunatly, this doesn't appear to be a compressed file, just a bunch of wave files concatenated together, and using a hex editor I can manually separate them. However, the resulting file is unplayable in any media player, and the file itself seems to have a strange header.
A normal wave header looks like:
Code:
52 49 46 46 22 27 00 00 57 41 56 45 66 6D 74 20 : RIFF"' WAVEfmt
10 00 00 00 01 00 01 00 11 2B 00 00 11 2B 00 00 : + +
01 00 08 00 64 61 74 61 FD 26 00 00 : dataý&
But all the files in MFC have this header:
Code:
52 49 46 46 C4 8B 00 00 57 41 56 45 66 6D 74 20 : RIFFÄ‹ WAVEfmt
20 00 00 00 70 02 02 00 44 AC 00 00 9A 40 00 00 : p D¬ š@
80 01 00 00 0E 00 01 00 00 10 00 00 00 00 00 00 : €
01 00 00 00 66 61 63 74 08 00 00 00 DF 6B 01 00 : fact ßk
00 04 00 00 64 61 74 61 80 8B 00 00 : data€‹
The most important part (I think) is the 6 bytes after WAVEfmt, which include the header size (4 bytes) and the audio format (2 bytes). Normal wave files have a header size of 16 bytes (0x10) and code 1 for PCM format.
However, a 32 byte header (0x20) and code 624 (0x0270, little endian) is completely foreign to me and google isn't helping.
Has anyone here run into this or other strange formats before and had success playing/converting them? Am I completely off base and/or retarded?
I can send a small sample file if requested, since I doubt very many people here have a copy of Mahjong Fight Club laying around.