# 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 11:02 am, edited 2 times in total.
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
You do not have the required permissions to view the files attached to this post.
Last edited by raykingnihong on Thu Feb 26, 2015 8:42 pm, edited 1 time in total.
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
You do not have the required permissions to view the files attached to this post.
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.
You do not have the required permissions to view the files attached to this post.