Assets.pkg - Barking Lizards compression for n-gage

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Assets.pkg - Barking Lizards compression for n-gage

Post by lupus »

Hi, again N-Gage :roll:
Checking games by developer I'm find bms script for Snakes Subsonic (N-Gage 2.0) and try it for other mobile games by Barking Lizards.
Assets.pkg from X-Men Legends II (N-Gage) was perfectly unpacked, but it can't unpack assets.pkg from X-men Legends. Both files have same header

Code: Select all

pkg 0x00 0x00 x00 0x00
70 6B 67 00 00 00 00 00

aluigi, maybe you can fix it?
Thanks!
https://mega.nz/#!M9MlSDTA!ydiCNqLwOKWr ... LNsdeNWIPQ
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Assets.pkg - Barking Lizards compression for n-gage

Post by aluigi »

It's a format slightly different (names length 0x20 vs 0x18) than the one used in Snakes Subsonic.
I found a way to "guess" the names length, so I updated the script:
http://aluigi.org/bms/snakes_subsonic.bms
lupus
Posts: 36
Joined: Sun Dec 03, 2017 7:52 am

Re: Assets.pkg - Barking Lizards compression for n-gage

Post by lupus »

You are grandmaster!
Thanks.