Devil Hunters (*.PAK)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Devil Hunters (*.PAK)

Post by Ekey »

Official Site: here
Download: here

Code: Select all

# Devil Hunters (PAK format)
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

goto -0x8
get FILETABLE long
get STRTABLE long

goto FILETABLE
get FILES long
get DUMMY long
get DUMMY long
get DUMMY long
savepos TEMP

goto STRTABLE
get FLAG byte # some flag crypt/compress?

for i = 0 < FILES
    get NAME string
    putarray 0 i NAME
next i

goto TEMP

for i = 0 < FILES
    get SIZE long
    get ZSIZE long
    get OFFSET long
    get UNKN long
    get DUMMY long
    get DUMMY long
    get DUMMY long
    savepos ETEMP
   
    getarray NAME 0 i
    if SIZE == ZSIZE
        log NAME OFFSET SIZE
    else
        math OFFSET += 8
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
Last edited by Ekey on Sat Feb 28, 2015 10:02 am, edited 4 times in total.
raykingnihong
Posts: 71
Joined: Fri Oct 24, 2014 3:13 pm

Re: Devil Hunters (*.PAK)

Post by raykingnihong »

Hi Ekey My friend, thank you very much for the great work, the script runs very well, how to extract the cache folder material.cache , ask for help, thanks again
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Devil Hunters (*.PAK)

Post by Ekey »

Share files.
raykingnihong
Posts: 71
Joined: Fri Oct 24, 2014 3:13 pm

Re: Devil Hunters (*.PAK)

Post by raykingnihong »

Hi Ekey My friend, here is a sample file https://mega.co.nz/#!iNBHkI4Z!bbcMquqc6 ... fKQX81nivs The problem has been solved, once again thank you very much for your help