Page 1 of 1

Devil Hunters (*.PAK)

Posted: Sun Feb 22, 2015 4:57 pm
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

Re: Devil Hunters (*.PAK)

Posted: Thu Feb 26, 2015 7:02 pm
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, here is a sample file https://mega.co.nz/#!iNBHkI4Z!bbcMquqc6 ... fKQX81nivs thanks again

Re: Devil Hunters (*.PAK)

Posted: Thu Feb 26, 2015 8:21 pm
by Szkaradek123
Hi
Here is an importer for rigged models and animations from this game.
It requires Blender version 249b and Python 2.6.6.
How to use:
1.from game cache folder copy material.cache (~19mb ) to folder, where is Blender249.blend.
2.run Blender249.blend
3.in Blender Text Window press alt+p and select:
- *.mesh file for import textured models (if material.cache exists in Blender249.blend folder). Use mesh files from an original location.
- *.skeleton file for unpacking animations to new folder "..._animfiles" and for import skeleton. Sometimes must to scale meshes to fit to skeleton.
- anim files - for import animation

Re: Devil Hunters (*.PAK)

Posted: Thu Feb 26, 2015 9:01 pm
by raykingnihong
Hi Ekey My friend The problem has been solved, thank you very much for your help
Once again, thank you very much for the great work Ekey and Szkaradek123. Scripting tool runs perfectly, thanks again.