ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 17, 2019 11:38 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Sep 13, 2019 5:19 pm 

Joined: Thu Sep 13, 2018 6:38 pm
Posts: 74
Don't think anyone has looked into this yet.
https://cdn.discordapp.com/attachments/419711036837330956/622119037429874718/archive.zip
Here's all the .bin.cmp files from the "archive" directory of the mii maker nca.


Top
   
PostPosted: Fri Sep 13, 2019 8:41 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 275
I think you can open these in Switch Toolbox... They are compressed with ZCMP (zlib compression).


Top
   
PostPosted: Fri Sep 13, 2019 11:29 pm 

Joined: Sat Aug 09, 2014 2:34 pm
Posts: 820
A slightly modified script for decompress these files.

Code:
# Amiibo
# script for QuickBMS http://quickbms.aluigi.org

get NAME basename
getdstring SIGN 4
if SIGN u== "ZCMP"
    get DUMMY short
    idstring "\x34\x12"
    get VER long
    get ZERO long
    get SIZE long
    get ZSIZE asize
    math OFFSET = 0x80
    math ZSIZE - OFFSET
    clog NAME OFFSET ZSIZE SIZE
    set EXT extension NAME
    if EXT != "cbarc"
        cleanexit
    endif
    open "." NAME
    set NAME basename NAME
endif

string NAME + /
goto 0
idstring "CA01"
get FILES long
get BASE_OFF long
for i = 0 < FILES
    get OFFSET[i] long
next i
for i = 0 < FILES
    get SIZE long
    math OFFSET[i] + BASE_OFF
    log NAME OFFSET[i] SIZE
next i

print "Uuse http://aluigi.org/bms/splatoon_sarc.bms with the extracted SAR files"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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