ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Nov 23, 2017 3:38 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Sep 13, 2017 1:24 pm 

Joined: Tue Jul 26, 2016 10:54 am
Posts: 46
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~! :P
Attachment:
hnb.7z [4.82 MiB]
Downloaded 11 times


Top
   
PostPosted: Wed Sep 13, 2017 1:43 pm 

Joined: Wed Aug 13, 2014 10:00 am
Posts: 117
http://aluigi.altervista.org/bms/phone_game.bms


Top
   
PostPosted: Thu Sep 14, 2017 3:12 am 

Joined: Tue Jul 26, 2016 10:54 am
Posts: 46
MerlinSVK wrote:
http://aluigi.altervista.org/bms/phone_game.bms

:P Thank you very much, my friend, the perfect job.


Top
   
PostPosted: Thu Sep 14, 2017 9:32 am 

Joined: Tue Jul 26, 2016 10:54 am
Posts: 46
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


Top
   
PostPosted: Thu Sep 14, 2017 11:20 am 

Joined: Wed Aug 13, 2014 10:00 am
Posts: 117
That .pak contains uncompressed files, that's why was there an error. Try this script.

Code:
# 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


Top
   
PostPosted: Thu Sep 14, 2017 1:31 pm 

Joined: Tue Jul 26, 2016 10:54 am
Posts: 46
Wow Oh ~! Perfect work ~! Thank you! MerlinSVK. :P


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited