Rifts: Promise of Power - resource.tkmf

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Rifts: Promise of Power - resource.tkmf

Post by AlphaTwentyThree »

Now for something different: I'd like to take a look at a Nokia N-Gage game and this is making trouble: http://www21.zippyshare.com/v/g4Y0w4gG/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rifts: Promise of Power - resource.tkmf

Post by aluigi »

In my opinion there is also an index file because 1/4th of the file is just a sequence of zlib with only the uncompressed size specified (where is the compressed one?!) and then it changes format from 0x45960e and then again the compressed data.
With offzip -a you should cover a good amount of the archive.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rifts: Promise of Power - resource.tkmf

Post by AlphaTwentyThree »

I can't find any index file. These are the residual files from the same folder: http://www11.zippyshare.com/v/9pW0f7y7/file.html Nothing to be of any use I guess. :\
Where does the compressed data start again after 0x45960e? Can you identify that audio file type?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rifts: Promise of Power - resource.tkmf

Post by aluigi »

The data at 0x45960e is not compressed, it's just one of the few non compressed spots there.
It looks like a known codec because that sequence of www reminds me of some codec but you know that stuff better than me :)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Rifts: Promise of Power - resource.tkmf

Post by AlphaTwentyThree »

I know that it's IMA ADPCM but I don't know the header. I hate the format and will leave this be. ;)