ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Aug 24, 2019 9:51 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jan 24, 2019 2:12 am 

Joined: Thu Aug 30, 2018 10:18 pm
Posts: 6
I've been messing with the files to Unjust Sin, and I've been trying to rip the character portraits from the game. Unfortunately, I haven't had a lot of luck after trying a few things (I also think I posted in the wrong subsection, which is my bad!). If anybody could manage to give me a hand, I'd really appreciate that.

Example .pck file


Top
   
PostPosted: Mon Feb 04, 2019 1:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10568
It's one of those few boring formats used by Nintendo that mix compressed and non-compressed files without giving any information to know if the file is or isn't compressed, additionally it's also a recursive format which means that you should use the script on the extracted files too.

I'm sure I already have a script on my collection but I don't remember what is may be, the following is the "basic" script:
Code:
comtype lz77wii
get FILES long
get NAMESZ long
get ZERO long
get ZERO long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    getdstring NAME NAMESZ
    log NAME OFFSET SIZE
next i

Regarding your sample, the first file extracted from the extracted 000_Meliodas_00 is compressed ("CTPK") while the second isn't. ("IANM").


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