[SOLVED] Pajama Sam (Android) - unknown compression

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

[SOLVED] Pajama Sam (Android) - unknown compression

Post by AlphaTwentyThree »

Hi there,

I can't find a viable compression for the files in the obb archive of said game. I'm not sure where the compressed data starts and comtype_scan crashed several times on me actually when I tried to give it truncated samples.
I've attached some samples which are unbelievably compressable I just noticed.
The uncompressed size is saved in a header of unknown length.
Thanks for your help!
Last edited by AlphaTwentyThree on Fri Jan 21, 2022 8:50 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pajama Sam (Android) - unknown compression

Post by aluigi »

Not sure if it may help but DTRZ is already covered by a script and it's the format of the Marmalade Derbh compress tool:
http://aluigi.org/bms/vector.bms
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Pajama Sam (Android) - unknown compression

Post by AlphaTwentyThree »

Well... that's basically what I needed, lol. Yeah, thanks. ;)
Looking at the script, there's no way I'd have actually gotten that at all...