Sign in to follow this  
jor1980

Uncompress lzx using c#

Recommended Posts

jor1980    152
Hi i have two questions:
-How can i decompress lzx files with c#, What dll must i use?
-If i open a lzx compressed file with an hexaeditor whic are the flag bytes that shows that the files is lzx compressed?

Share this post


Link to post
Share on other sites
Nypyren    12074
I don't know of any .Net libraries off the top of my head which do LZX. You could port the C source of unlzx listed on the Wikipedia page, though. It's only 1300 lines of code and no external dependencies, so it should be pretty easy.

Share this post


Link to post
Share on other sites
Zahlman    1682
Where are you getting lzx files from? Why not just decompress them with a third-party utility and use the uncompressed stuff directly in your actual program (or convert to a more common compression format)?

(If your project is actually to make a decompression utility, then this goes in General Programming rather than Game Programming.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this