The Forum is up for sale: XeNTaX Forum looking for new owner

Search found 7 matches

by PowerBlade
Thu Jul 26, 2007 10:29 am
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

Some more info.. Processing the file with ZLIB 1.1.4 lets me extract the same amount of information as the .NET DeflateStream object. After digging into the source code, the problem lies in the distance bits. The distance bits is used to point back into the result for letters that are already extrac...
by PowerBlade
Wed Jul 25, 2007 5:57 pm
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

I found a trial version of the Xceed library which can extract Deflate64 encoded data. I receive exactly the same result as with the normal deflate function (I tried both using the library) So i guess its not Deflate64 encoded. 1 thing i noticed is, i can only decompress the data if i choose NOT to ...
by PowerBlade
Wed Jul 25, 2007 7:37 am
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

I also tried that. I've spent hours looking through the 7-zip source code to figure out how it works. It's so big and confusing. I figured out the handling is done in DeflateDecoder.cpp, where there is a CCoder object in the namespace NCompress::NDeflate::NDecoder. You have to feed it by an object d...
by PowerBlade
Wed Jul 25, 2007 6:45 am
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

I tried 7-zip, but it packs the file with a zip header.
Im looking into a way to decompress the raw bytestring
by PowerBlade
Wed Jul 25, 2007 5:06 am
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

Do you know of any Deflate64 libraries?
A search on Google didn't yield any interesting stuff for me..
by PowerBlade
Tue Jul 24, 2007 4:33 pm
Forum: Compressed files and methods
Topic: ZLIB RFC 1951 problems..
Replies: 9
Views: 3907

ZLIB RFC 1951 problems..

Hey I have the following file which I'm 100% sure is compressed using ZLIB, but its lacking the headers and footers and checksum, and thus is a RFC 1951 compressed file. I tried to decompress it using the ZLIB library, but to no help. Even when setting the windowbits to -MAX_WBITS, I only get the fi...
by PowerBlade
Wed Jul 18, 2007 9:08 pm
Forum: Compressed files and methods
Topic: Compression used in NWN2 protocol
Replies: 0
Views: 1524

Compression used in NWN2 protocol

I have a very strange problem with Never Winter Nights 2. I'm looking at the game protocol, and discovered a lot of packets but 1 sequence is annoying me. I found out the game uses ZLIB compression and in the zlib.bin, there is an example of a packet using zlib. (The 0x78 0xda) 0000 4d d7 4a 00 01 0...