Page 1 of 1

need help with compression

Posted: Sat Jan 06, 2007 4:49 pm
by Rheini
I've attached 3 files from Settlers 2: 10th Anniversary. data.lua is the original file, data.lua.decrypt is the decrypted one and data.lua.decomp is the decompressed one.
Can someone help me identifying the compression algorithm? the structure of data.lua is

Code: Select all

struct header {
int uk; // header
int fcc; // header
int datacrc; // crc32 checksum of decompressed data
int pwcrc; // not sure about this
int datasize; // decompressed data size
};
after that crypted data

Posted: Sun Jan 07, 2007 9:13 pm
by Rheini
Noone can help? :(

Any hint would be appreciated.

Posted: Tue Jan 09, 2007 1:24 am
by Deniz Oezmen
Just as a public update, in case anyone else follows this: Rheini sent me a private message, suspecting an LZSS compression on these files, which was quite correct (though the parameters are somewhat unusual). The current work result is attached.