ZenHAX
https://zenhax.com/

YKCMP_V1 (de)compressor
https://zenhax.com/viewtopic.php?f=17&t=8655
Page 1 of 1

Author:  iltrof [ Tue Oct 02, 2018 7:20 pm ]
Post subject:  YKCMP_V1 (de)compressor

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 :?

Author:  aluigi [ Wed Oct 03, 2018 10:50 am ]
Post subject:  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

Author:  yasim98 [ Thu Oct 07, 2021 4:59 pm ]
Post subject:  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?

Author:  aluigi [ Fri Oct 08, 2021 7:46 pm ]
Post subject:  Re: YKCMP_V1 (de)compressor

There is a script for quickbms using that algorithm:
http://aluigi.altervista.org/bms/ykcmp.bms

Author:  yasim98 [ Sat Oct 09, 2021 2:23 pm ]
Post subject:  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!

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

Author:  aluigi [ Sat Oct 09, 2021 6:30 pm ]
Post subject:  Re: YKCMP_V1 (de)compressor

;)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/