i want to compress with a raw deflate stream with zlib but whenever I do it comes out with some weird header '2q..', I need the header to be 0xED like I normally see (complicated to explain). Im using zlib 1.2.8 and this version should do it.
I use this for deflate init:
Code: Select all
deflateInit2(&stream, 1, Z_DEFLATED, -15, 1, Z_FILTERED);
. Most deflate streams start with a 0xe*, so why isnt it giving me that? the stream is valid, i checked using offzip.
Basically, if anyone can find the exact options for zlib (ive tried many) and version of zlib on the want_unpack.dat to get the want.dat then thats what Im aiming for