Compressed .pak from 新英雄神鹰
-
- Posts: 74
- Joined: Wed Mar 06, 2019 12:53 pm
Compressed .pak from 新英雄神鹰
Hello! I'm trying to unpack this .pak file. I were able to decompress it partially, I got .pvr .lua .xml and .dat files, seems that these .dat files contain some meshes and textures.
Hope someone can take a look at this, thanks for your time !
https://www.mediafire.com/file/ltzonkyx ... k.pak/file
Hope someone can take a look at this, thanks for your time !
https://www.mediafire.com/file/ltzonkyx ... k.pak/file
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compressed .pak from 新英雄神鹰
Code: Select all
# 新英雄神鹰 PAK
get INFO_OFF long
get DUMMY long # 20000
goto INFO_OFF
for i = 0
getdstring NAME 0x40
if NAME == ""
break
endif
get OFFSET long
get SIZE long
get ZSIZE long
get FLAGS long # last file is 0x100 while other are 0x101, 0x100 is probably for compression
clog NAME OFFSET ZSIZE SIZE
next i
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Compressed .pak from 新英雄神鹰
Code: Select all
# 新英雄神鹰 (PAK) format
# script for QuickBMS http://quickbms.aluigi.org
goto 0x48
get MAX_OFFSET asize
for
getdstring NAME 64
get OFFSET long
get SIZE long
get ZSIZE long
get FLAGS long
if OFFSET == MAX_OFFSET
cleanexit
endif
if ZSIZE == SIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Compressed .pak from 新英雄神鹰
Oh dammit, Luigi was faster than me
-
- Posts: 74
- Joined: Wed Mar 06, 2019 12:53 pm
Re: Compressed .pak from 新英雄神鹰
Thanks alot! aluigi, Ekey!
-
- Posts: 74
- Joined: Wed Mar 06, 2019 12:53 pm
Re: Compressed .pak from 新英雄神鹰
This game have others .pak files with a size around 400mb, the script works but it reach at one point that thrown this error , what could be the issue? . Thanks!
*update*, using the -p command fixed that problem!
*update*, using the -p command fixed that problem!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compressed .pak from 新英雄神鹰
Is it possible to upload the first file generated by the script http://aluigi.org/bms/filecutter.bms on the PAK that gave you that error?
-
- Posts: 74
- Joined: Wed Mar 06, 2019 12:53 pm
Re: Compressed .pak from 新英雄神鹰
aluigi wrote:error
Hello aluigi, here are the two .pak that throwed that error.
https://www.mediafire.com/file/2zagas0f ... S.zip/file
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Compressed .pak from 新英雄神鹰
Ok now I understand, in short it reserves space for 20000 files and leave these unused entries blank.
I updated the script for avoiding the error:
http://aluigi.org/bms/new_heroes_pak.bms
You already extracted the files so no need to re-use it.
I updated the script for avoiding the error:
http://aluigi.org/bms/new_heroes_pak.bms
You already extracted the files so no need to re-use it.
-
- Posts: 74
- Joined: Wed Mar 06, 2019 12:53 pm
Re: Compressed .pak from 新英雄神鹰
Thanks alot for all your effort