EE-modders / SSA-tool

Library and tools for working with Empire Earth SSA archive files
6 stars 0 forks source link

Issue with files data in the SSA archive #2

Closed GioMetal closed 2 years ago

GioMetal commented 2 years ago

Every file seems to start with PK01, and writing the data starting from the specified absolute position in the file entry is useless image

zocker-160 commented 2 years ago

Yes because the data is DCL compressed.

SSA tool includes a DCL decompressor for that reason, just make sure you select the decompression option when being asked.

GioMetal commented 2 years ago

@zocker-160 I was reading the documentation, i didn't see anything about compression, and since i'm noob in this field, i made this post to ask for help. soon later i found the source code and saw that you ckeck for magic to see if a file is compressed or not, so at this point is clear why PK01 is there and what i should do. Thank you for your amazing work.

zocker-160 commented 2 years ago

@GioMetal yes the documentation is lacking this information, sorry about that.

I do actually have an updated version of it, which I haven't pushed to this repo for whatever reason. ._.