I wanted to extract WAVE files from packfile.pak inside RTL Ski Springen 2002 installation dir that contains almost all data used by this game. I tried using 49games.bms but it returns wrong signature exception (expected PACK, saw q...).
The thing is that some WAVE contents in this .pak have OK headers, but some not (or I can't understand them). Example of good header:
Code: Select all
52 49 46 46 - RIFF
7E 00 00 57 - chunk size (1459617918)
57 41 56 45 66 6D 74 20 - WAVEfmt
10 00 00 00 - subchunk1 size (16)
01 00 - audio format (1 pcm)
01 00 - num channels (1)
80 3E 00 00 - sample rate (16k)
00 7D 00 00 - byte rate (32k)
02 00 - block align (2)
10 00 - bits per sample (16)
64 61 74 61 - DATA
1E 7E 00 00 - subchunk 2 size (32286)
Second file has values like below which I do not understand
Code: Select all
52 49 46 46 - RIFF
DA FA 22 09 - chunk size (153287386)
57 41 56 45 66 6D 74 20 - WAVEfmt
10 23 C0 01 - subchunk1 size (29369104)
00 02 - audio format (2 - compression?)
80 3E - num channels (16000 - is it possible?)
23 01 7D 22 - sample rate (578617635)
C8 02 00 06 - byte rate (100664008)
64 61 74 61 - DATA (where's the block align and bits per sample?)
B6 FA 20 FF - subchunk2 size (4280351414)
I can upload part of this .pak file, but now I was wondering if it's possible for WAVE header to miss block align or bits per sample?
Thanks.