Good morning! I spent a little time in the wiki, and tried to work along with a random file off of disc 1, Cloud.lzs, in order to figure out how exactly the compression works.
Step 1: Starts with 4 byte unsigned int that says how long the file is.
Raw: 82 04 01 00
which i think translates into this
00010482
which is decimal for 66000.
Windows says that the file is 66kb long. which means either
1. the whole thing is already decomressed, in which case i'm overcomplicating things and can get to understanding raw data.
2. the difference between KB= 1000 (natural thinking) and KB=1024 means it's compressed a whole 24*66 (1576 bytes) with the compression algorithm. I need to learn more about how to decompress them.
3. I'm too far seperated from my Computer Org class and forgot how to read hex. >_<
Since all of the data is, to my meager understanding, compressed, I'd like to learn to decompress them myself, creating a simple .c program to do so for my own study. Then I can play with the raw data and learn more about the inner workings.
So, can anyone help point me in the right direction, please?