i tried unpacking with some bms scripts online and it extracted alot of .dat files. I dont know what or how to open or mod them. please also mention the software names i can use to open the files.
this is the script i used to unpack the .npk files:
# NXPK (script 0.1.1)
# script for QuickBMS http://quickbms.aluigi.org
idstring "NXPK"
get FILES long
get OFFSET asize
xmath OFFSET "OFFSET - (FILES * 0x1c)"
goto OFFSET
for i = 0 < FILES
get NAME_CRC long
get OFFSET long
get ZSIZE long
get SIZE long
get ZCRC long
get CRC long
get FLAGS long
if FLAGS == 2
comtype lz4
else # 0
comtype zlib
endif
if SIZE == ZSIZE
log "" OFFSET SIZE
else
clog "" OFFSET ZSIZE SIZE
endif
next i
i tried unpacking with some bms scripts online and it extracted alot of .dat files. I dont know what or how to open or mod them. please also mention the software names i can use to open the files.
this is the script i used to unpack the .npk files:
# NXPK (script 0.1.1)
# script for QuickBMS http://quickbms.aluigi.org
idstring "NXPK"
get FILES long
get OFFSET asize
xmath OFFSET "OFFSET - (FILES * 0x1c)"
goto OFFSET
for i = 0 < FILES
get NAME_CRC long
get OFFSET long
get ZSIZE long
get SIZE long
get ZCRC long
get CRC long
get FLAGS long
if FLAGS == 2
comtype lz4
else # 0
comtype zlib
endif
if SIZE == ZSIZE
log "" OFFSET SIZE
else
clog "" OFFSET ZSIZE SIZE
endif
next i
what npk did you extracted? i think some of the .dat files are images and model files so you cant read it
some are just simple table/text files ? anyway, do you have any idea how to repack it(i success fully modded mine but donno how to repack it)?