09-08-2014, 09:46 PM
Hi,
I hope I've chosen the right forum for this issue.
I want to add support for the *.wing file format in my c++ program. So I'd like to know how to do that.
I already found out that they begin with the header "#!WINGS-1.0 0D 0A 1A 04 [4 bytes that are probably matching the file size] 83 50"
The last two bytes could be the header of zlib compressed data.
My first attempt was simply trying to uncompress it with gzip -dc (with prepended gzip header). But it returns with "invalid compressed data--format violated". Also a simple php script gave me " zlib_decode() [function.zlib-decode]: data error". So am I wrong with this assumption?
Is there a complete documentation for this file type anywhere? I assume the file type is based on some specific erlang "stuff". Generally i'd like to avoid any extra dependency on a library or any other type of interface, but if there is really no other way I would accept that.
Thanks in advance for your help.
I hope I've chosen the right forum for this issue.
I want to add support for the *.wing file format in my c++ program. So I'd like to know how to do that.
I already found out that they begin with the header "#!WINGS-1.0 0D 0A 1A 04 [4 bytes that are probably matching the file size] 83 50"
The last two bytes could be the header of zlib compressed data.
My first attempt was simply trying to uncompress it with gzip -dc (with prepended gzip header). But it returns with "invalid compressed data--format violated". Also a simple php script gave me " zlib_decode() [function.zlib-decode]: data error". So am I wrong with this assumption?
Is there a complete documentation for this file type anywhere? I assume the file type is based on some specific erlang "stuff". Generally i'd like to avoid any extra dependency on a library or any other type of interface, but if there is really no other way I would accept that.
Thanks in advance for your help.