Thanks a lot, you saved my life. Another question. I also want to get In game dialogue text from extracted data. I use file command to detect file type and find that all files marked as text/plain has no data at all. They are consist of the following looped hex data:
Do you know how to find In game dialogue text data? Thank you for your help.
Thanks for your reply. I tried your script and it extracted a lot of files. I find all audio files which are all .wav files via another script by magic code. However, the extracted .wav files cannot played by VLC player and cannot be recognized by ffmpeg which tells they are using a kind of unknown codec. Here is a example header of these extracted .wav files:
52 49 46 46 BF 73 00 00 57 41 56 45 66 6D 74 20 24 00 00 00 41 30 01 00 80 BB 00 00 F5 12 00 00
00 00 00 00
from which we can see that the code 41 30 01 00 which means the codec of this .wav file is not standard. So we cannot play it in VLC. Do you know how to convert them into standard .wav files or is there a player can play these .wav files?
This game is developed with newer messiah engine. I dumped into the resource files which are .mpk files. However, it seems that these files are using version 3 which are no compatible with previous ways. Also, mpkinfo files are deprecated for some data. Anyone knows how to handle these files?