   anyone has tutorial of  "zlib1"?
  hi,everyboby!i am trying to compress data using zlib1,but i'am totally lost.does anyone has tutorial or example of how to use zlib1?please help me!email:jin_yang_@126.comthanks!   
  Check the front page of gamedev, the most recent article is about exactly this.http://www.gamedev.net/reference/articles/article2279.aspAlan   ;  Take a look at my post here for a great little wrapper that uses ZLIB. You can download that and go though it to see how it works. I used that to write my own little library using ZLib. If you want to take a look at that, Simple Archive. It comes with examples and comments as well as wraps a whole bunch of functionality using Zlib: compress/decompress buffers, entire files, archive/unarchive files, and much more. You can look though that source as well to see how to do certain things. Good luck!   ;  thank you so much!   ;  You might find it easier to just use the ZIP format - it's really not very difficult. The file spec is available here. The only catch is you have to call inflateInit2(strm, -15). I don't know what the -15 does (the documentation says the value has to be in the range 8 to 15 but positive values don't work).   