Hi ~ aluigi.
The game's resource compression format is PAK, I do not know what BMS script can extract these files, can you help me? Thank you~!
The Mythical Realm 2(*.pak)
-
- Posts: 165
- Joined: Wed Aug 13, 2014 10:00 am
-
- Posts: 48
- Joined: Tue Jul 26, 2016 10:54 am
Re: The Mythical Realm 2(*.pak)
MerlinSVK wrote:http://aluigi.altervista.org/bms/phone_game.bms
Thank you very much, my friend, the perfect job.
-
- Posts: 48
- Joined: Tue Jul 26, 2016 10:54 am
Re: The Mythical Realm 2(*.pak)
I try to use script to extract the files, but an error has occurred, the script on the part of the file work is normal, but most files an error occurred, can you help me take a look at where the problem is?Thank you ~
Sample:https://share.weiyun.com/7b2b3161ad681ea70a80fb1812686066
Sample:https://share.weiyun.com/7b2b3161ad681ea70a80fb1812686066
-
- Posts: 165
- Joined: Wed Aug 13, 2014 10:00 am
Re: The Mythical Realm 2(*.pak)
That .pak contains uncompressed files, that's why was there an error. Try this script.
Code: Select all
# Phone Game (script 0.2)
# script for QuickBMS http://quickbms.aluigi.org
idstring "kcap"
get VER long
get DUMMY long
get FILES short
get ARCHIVE_SIZE long
getdstring ZEROES 0x12
math BASE_OFF = 0x44002
for i = 0 < FILES
get DUMMY longlong
get SIZE long
get OFFSET long
get TYPE byte
math OFFSET + BASE_OFF
savepos TMP
goto OFFSET
get NAMESZ byte
get ZSIZE long
get SIZE long
getdstring NAME NAMESZ
savepos OFFSET
if SIZE == ZSIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
goto TMP
next i
-
- Posts: 48
- Joined: Tue Jul 26, 2016 10:54 am
Re: The Mythical Realm 2(*.pak)
Wow Oh ~! Perfect work ~! Thank you! MerlinSVK.