Plants VS. Zombies (Android {maybe iOS and other platforms as well}, .compiled)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Plants VS. Zombies (Android {maybe iOS and other platforms as well}, .compiled)

Post by LolHacksRule »

I want to view the .compiled files of Plants VS. Zombies from the OBB but they all are completely unreadable, any advice on making it possible to view these files or will someone try to figure out the format? I heard they are zlib compressed but that's all I know.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants VS. Zombies (Android {maybe iOS and other platforms as well}, .compiled)

Post by aluigi »

They are just compressed:

Code: Select all

idstring "\xd4\xfe\xad\xde"
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Plants VS. Zombies (Android {maybe iOS and other platforms as well}, .compiled)

Post by LolHacksRule »

Thank you again, I used offzip to extract them before, it's different to the PC version as extracting gives a hex based file, compared to plaintext.