PDA

View Full Version : Compressing .wire file


Neph
25-04-2024, 08:19
Hi!

I am trying to compress further .wire files, they are 3D geometry files of Alias StudioTools. I am especially interested in finding synergy between multiple revisions of the same project. Game File Scanner shows me the file has a lot of zlib level 9 data. I've tried precomp, pzlib and ztool and neither was able to precompress it. I guess it's due to zlib fine tune in data format. How to handle it?

ozerune
25-04-2024, 12:10
Try using xtool 2020 with reflate

Masquerade
25-04-2024, 15:15
Please upload a sample.

Neph
26-04-2024, 11:04
Hi, samples attached, .obj is for comparison, contains the same model.
There is also intentional synergy - the 3d is duplicated, both files have grown by ~100% thanks to that. However, .obj can be compressed to the same size as without duplication, but .wire can not.

Shegorat
27-04-2024, 13:50
Hi, samples attached, .obj is for comparison, contains the same model.
There is also intentional synergy - the 3d is duplicated, both files have grown by ~100% thanks to that. However, .obj can be compressed to the same size as without duplication, but .wire can not.

l9_obj is a simple text file, and ppmd will work fine there. l9_wire - a mix of text header and compressed data, but it’s not deflate, most likely something from the LZ family