Page 1 of 2
.pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 1:36 pm
by devilkkw
I've found on anandroid game a resource file .pak
i want to extract it with quickbms.
i've try a comtype scan and results are "scpack"
after reading a guide to make script,i'm unable to proceed,i need some example to understanding how make script.
Can anyone help me?
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 2:41 pm
by chrrox
You need to mention the game name.
Also most people will want a small sample to see if they can help you.
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 3:09 pm
by devilkkw
Is hard to say the game name,because is come on a japanese caracter. i think ar q-dragonball.
Also i've uploaded pack file,if is it necessary:
Code: Select all
https://www.dropbox.com/s/r4fb7qwwt67vu0w/game.pak
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 3:38 pm
by chrrox
Just link to the android store page.
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 4:18 pm
by devilkkw
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 6:51 pm
by Ekey
Direct link for download apk -
here
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 7:14 pm
by chrrox
extract the apk with 7 zip.
then run offzip on game.pak.
you will get ogg files and .pimg files
the pimg files look like a simple custom image header.
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 7:29 pm
by Ekey
See below
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 7:57 pm
by devilkkw
chrrox wrote:extract the apk with 7 zip.
then run offzip on game.pak.
you will get ogg files and .pimg files
the pimg files look like a simple custom image header.
Thank's a lot for explication.
im triyng offzip,but without results,is frist time i use it
i get error to try with option -z. then try it but not results

Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 7:58 pm
by chrrox
offzip.exe -a c:\game.pak c:\extracte_folder 0
is the command
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 8:09 pm
by devilkkw
still get no data found.
i running version 0.3.5 offzip.
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 8:22 pm
by chrrox
you need to show me your command line.
it works.
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 8:36 pm
by devilkkw
Code: Select all
offset -a c:\dragon.pak c:\dargon 0
there are my commandline
EDIT:
offffff.jpg
EDIT 2:
Solved,my pak file was corrupted,all works, thank yuo so much.
Now,how to fix pimg header?
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 9:14 pm
by Ekey
Well here script for unpack
Code: Select all
# Q-Dragonball (iOS) (PAK format)
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org
idstring "PACK"
get MINOR_VERSION short
get MAJOR_VERSION short
get FLAG long
get UNKNOWN short
get FILES short
for i = 0 < FILES
do
get HASH1 long
get HASH2 long
get HASH3 long
get DATAOFFSET long
savepos TEMP
while DATAOFFSET <= 0xFFFFFFFF
goto DATAOFFSET
get NSIZE short
getdstring NAME NSIZE
get COMPFLAG long
get SIZE long
get ZSIZE long
savepos OFFSET
if SIZE == ZSIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
goto TEMP
next i
Re: .pak with quicbms help.[ANDROID]
Posted: Sun Mar 23, 2014 9:31 pm
by devilkkw
wow, nice! thank you so much.
now i need help to open pim file.how to works with header?