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
YKCMP_V1 (de)compressor
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: YKCMP_V1 (de)compressor
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
-
- Posts: 3
- Joined: Thu Oct 07, 2021 4:58 pm
Re: YKCMP_V1 (de)compressor
Is there a way to use this decompressor https://github.com/iltrof/ykcmp to unpack disgaea 6 for switch models.dat?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: YKCMP_V1 (de)compressor
There is a script for quickbms using that algorithm:
http://aluigi.altervista.org/bms/ykcmp.bms
http://aluigi.altervista.org/bms/ykcmp.bms
-
- Posts: 3
- Joined: Thu Oct 07, 2021 4:58 pm
Re: YKCMP_V1 (de)compressor
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!
Edit: I used the fafullfs script and it worked. Damn, you are really skilled, thankyou!
-
- Posts: 3
- Joined: Thu Oct 28, 2021 3:27 am
Re: YKCMP_V1 (de)compressor
Is there a way to extract the 3d models from the .nmbm files?