[Android] Dungeon Gems (.pak)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Irastris
Posts: 25
Joined: Wed Sep 16, 2015 1:50 am

[Android] Dungeon Gems (.pak)

Post by Irastris »

Hello, I'm trying to extract the .pak files from the Android game Dungeon Gems.

I have included a zip below, the meshes .pak and the textures .pak for the Dungeon map. Please ask if you need more .pak archives.

I noticed there are QuickBMS scripts for the Gameloft .gla archives, and Dungeon Gems are a Gameloft game, so maybe the archives are similar? Just an uneducated guess.

Huge thanks to anyone that can help.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Dungeon Gems (.pak)

Post by aluigi »

It's a zip archive with obfuscated information, except the last one (PK 05 06).
Luckily all the content is not obfuscated and so you can extract it with offzip -z -15 -a
Irastris
Posts: 25
Joined: Wed Sep 16, 2015 1:50 am

Re: [Android] Dungeon Gems (.pak)

Post by Irastris »

aluigi wrote:Luckily all the content is not obfuscated and so you can extract it with offzip -z -15 -a


I'm sorry, can you tell me the exact command? I tried

Code: Select all

offzip -z -15 -a meshes_dungeon.pak
and I get an error message saying:

Code: Select all

- open input file: -15

Error: No such file or directory
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Dungeon Gems (.pak)

Post by aluigi »

You have to add the output folder (use . for the current one) and the starting offset of the scanning (0), I have added also -q just to limit the possible warning messages:

Code: Select all

offzip -z -15 -a -q meshes_dungeon.pak c:\output_folder 0
Irastris
Posts: 25
Joined: Wed Sep 16, 2015 1:50 am

Re: [Android] Dungeon Gems (.pak)

Post by Irastris »

aluigi wrote:You have to add the output folder (use . for the current one) and the starting offset of the scanning (0), I have added also -q just to limit the possible warning messages:

Code: Select all

offzip -z -15 -a -q meshes_dungeon.pak c:\output_folder 0


Thanks a ton! Sorry for the trouble, I'm just a noob in this so I wasn't sure how to use offzip.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Android] Dungeon Gems (.pak)

Post by aluigi »

Don't worry, the usage of offzip is not simple :)