Hello there! I can't figure out the TPAK format from this game... Can anybody give me a hint or even write a little script? Would be wonderful! Here's a sample: http://rcepyzc6yx.1fichier.com/ Thanks for all your work!
The format is "similar" to the one used by some games developed by the same people. Armageddon Riders Clutch, Insane 2 and possibly other Targem games: http://aluigi.org/papers/bms/clutch.bms
But it's not fully compatible. In the other games the compressed data was zlib with the first 2 bytes modified. Here I have tried to add, replace and "mix" the 2 missing bytes without luck using offzip. I even tried to use the compression scanner over it, nothing.
Ah ok. Just to be sure: It means that it's some standard compression like zlib but the deliberately changed bits to make the files harder to access - right?
Yes. The other games do something like this: zlib_data[0] = random_number; zlib_data[1] = random_number; That's why in my script I set them to 0x78 and 0x9c.
Here's an example from Battle vs. Chess: Dark Desert: http://www37.zippyshare.com/v/J0dt3lC8/file.html Here, the clutch.bms doesn't work either. Is this a similar problem or can this be solved with a simple update?
I think that both the names and the toc are encrypted or obfuscated. In the meantime I have updated the script to version 0.3.1 simply for handling the endianess (big endian here) and for a particular 32bit that is used only here, but it can't work without the toc.