Making an Uncompressor

Newbie Spellweaver
Joined
Dec 22, 2006
Messages
10
Reaction score
0
Hi all,
i want to learn how to make an Uncompressor, like the MPQ files in WoW, i was just wondering what kind of Language i would have to learn to do this, and if there were any guides out there to making an Uncompressor
Thanks
 
Hi all,
i want to learn how to make an Uncompressor, like the MPQ files in WoW, i was just wondering what kind of Language i would have to learn to do this, and if there were any guides out there to making an Uncompressor
Thanks

I suppose it is possible. But bear in mind that if you write a uncompressor for MPQ files that means you chose a already existing file type so its actually doing work twice.

If you want to make your own uncompressor for your own file type then you first have to write a compressor. Which it then would make easy to write the uncompressor.

My best bet on writing such thing is to make your program look for frequently returning text strings (at source level or perhaps binary? but that would be binary string then of course) and then replace those with a unique character or binary string and write a index of what the string represent.

p.s.
I believe the correct word is decompresser instead of uncompressor.
 
Back