Is there a public execution of LZSS compression in C # or can it be used in C #?

I am looking for LZSS to decode some packets from the game engine. If someone could point me to the library, I would be very pleased. Thanks!

+2


a source to share


2 answers


You can call the Allegro Library (an open source C library designed for game development). It contains LZSS decoding and can be called from C #.



Or you can also look at: LZSS.c and port it to C # or compile to a core C library and then call it from C #.

+1


a source


Here is an example of a class that compresses / decompresses LZSS in the format used by 3DS: http://3dsexplorer.googlecode.com/svn-history/r8/trunk/3DSExplorer/LZSS.cs



Another implementation, just unpack (needs to know the output size): http://pastebin.com/gNSc7iSi

0


a source







All Articles