ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Oct 24, 2021 12:06 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: YKCMP_V1 (de)compressor
PostPosted: Tue Oct 02, 2018 7:20 pm 

Joined: Fri Sep 07, 2018 1:37 pm
Posts: 11
What is this?
YKCMP_V1 is a compression format used in games developed by Nippon Ichi Software.
It was already possible to decompress YKCMP_V1s, but it didn't look like anybody implemented proper compression for it yet,
or at least it wasn't easily accessible. So, I wrote a simple tool to do both tasks.

Where?
GitHub

Basic usage
To decompress: ykcmp.exe input_file [output_file]
To compress: ykcmp.exe -c input_file [output_file]

The GitHub page has more info on the options (and the algorithm, for the curious)

P.S.: Also, what's the status on adding YKCMP to quickbms?
While writing this post I noticed it seems to be upcoming in the next version, but it's just the "fake" version of compression where it doesn't really compress anything, isn't it?
Maybe it'd be possible to have proper compression as an alternative for modding purposes, since otherwise the files become up to several times larger. Though I'm sorry the code is not in pure C :?


Top
   
PostPosted: Wed Oct 03, 2018 10:50 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12549
The decompression algorithm will be available in the upcoming new quickbms (already implemented in my beta from https://github.com/Xkeeper0/disgaea-pc- ... andler.php) while the compression will be a fake compressor, so it can be used only with reimport2.bat


Top
   
PostPosted: Thu Oct 07, 2021 4:59 pm 

Joined: Thu Oct 07, 2021 4:58 pm
Posts: 3
Is there a way to use this decompressor https://github.com/iltrof/ykcmp to unpack disgaea 6 for switch models.dat?


Top
   
PostPosted: Fri Oct 08, 2021 7:46 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12549
There is a script for quickbms using that algorithm:
http://aluigi.altervista.org/bms/ykcmp.bms


Top
   
PostPosted: Sat Oct 09, 2021 2:23 pm 

Joined: Thu Oct 07, 2021 4:58 pm
Posts: 3
I have this error extracting the models.dat of the game. Is it possible that they have changed the method?

Edit: I used the fafullfs script and it worked. Damn, you are really skilled, thankyou!


Attachments:
File comment: Result of the program
screen.PNG [8.17 KiB]
Not downloaded yet
File comment: Files where i think that the models are
files.PNG [3.92 KiB]
Not downloaded yet
Top
   
PostPosted: Sat Oct 09, 2021 6:30 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12549
;)


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