nickworonekin / puyotools

Puyo Tools is a collection of tools and libraries used to access the contents of various game files. Although it was initially built to handle files used in Puyo Puyo games, it can handle files used in other games as well.
MIT License
100 stars 24 forks source link

Recompress files #45

Open user18081972 opened 1 year ago

user18081972 commented 1 year ago

Hi,

Version 1.1 can decompress files for the Madou Monogatari for Sega Saturn game (made by Compile like PuyoPuyo). But it cant recompress the files.

Is there a way to make re-compression possible?

nickworonekin commented 12 months ago

Hi there,

Support for compressing via CNX compression exists in the latest dev builds of 3.0/most recent commits.

user18081972 commented 11 months ago

Last we checked, version 3.0 broke the decompression for Saturn game Madou Monogatari. 1.1 was the only version that seemed to work to decompress the files.

user18081972 commented 10 months ago

Some files, when decompressed and immediately recompressed with 3.0 don't create an exact duplicate of the original file. For example "DG9901.SEQ" on Madou Monogatari for Sega Saturn. (despite the file extension being SEQ, The file has a CNXbin header at the start of the file).

Other files like "COMMON.SEQ" do decompress and compress into an identical file as the original.