Re: Xara File Format Compression
There are two ways you can go here...
The more technical thing here is that in Xara essentially calls inflateInit2 (&stream, -MAX_WBITS) instead of inflateInit (&stream). Essentially this tells zlib that it shouldn't expect to see any zlib header information in the compressed stream, which is probably the error message that you're getting.
On a less technical front, if you get ExpandXara from http://support.xara.com/index.php?_m...temid=10&nav=0
and run it, it will create an uncompressed file for you to parse. If you do this, you'll notice a few records in the file with tag 9999. This is a bogus tag that expandxar inserts into the file in place of the records that turn on and off compression, since some of the records back-reference other records in the file. It also replaces the original creator information in TAG_FILEHEADER with information about itself, which may or may bother you.
Coincidentally I was fighting with this very problem just last week!
This signature would be seven words long if it was six words shorter.
Bookmarks