Page 1 of 1
A-MEN (ps3) .pak extracted
Posted: Thu Mar 13, 2014 6:47 am
by Kaltan
Help create a script pack BMS unpacking archive.
Compression applied to the archive zlib.
http://i33.fastpic.ru/big/2014/0313/a6/ ... b159a6.jpg
Re: A-MEN (ps3) .pak extracted
Posted: Thu Mar 13, 2014 12:06 pm
by Ekey
Code: Select all
# A-MEN (PS3) (PAK format)
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org
endian big
comtype unzip_dynamic
idstring "PAK"
goto 0xC
get FILES long
for i = 0 < FILES
get NSIZE long
getdstring NAME NSIZE
get FLAG byte
get OFFSET long
get ZSIZE long
get SIZE long
if ZSIZE == SIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next i
Re: A-MEN (ps3) .pak extracted
Posted: Thu Mar 13, 2014 1:51 pm
by Kaltan
Ekey wrote:Code: Select all
# A-MEN (PS3) (PAK format)
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org
endian big
comtype unzip_dynamic
idstring "PAK"
goto 0xC
get FILES long
for i = 0 < FILES
get NSIZE long
getdstring NAME NSIZE
get FLAG byte
get OFFSET long
get ZSIZE long
get SIZE long
if SIZE == ZSIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET SIZE ZSIZE
endif
next i
Thank you. Everything works.
Good job.
