• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
1 2 3 4 Next »
Wings file format specification

 
  • 0 Vote(s) - 0 Average
Wings file format specification

scindix
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Sep 2014
#4
09-09-2014, 03:46 PM (This post was last modified: 09-09-2014, 03:53 PM by scindix.)
Quote:\032 = #32 = 20 (??)
I first wondered if I made a typo, but I didn't. I think "1A" is correct.
I'm not an expert in erlang, but I guess "\032" refers to one byte, which means that this is octal notation (3 digits). Therefore "\032 = #26 = 1A".

Also I found out that I got the erlang documentation wrong: the "real" encoded data section starts after the second header which also includes 4 bytes of data size:

wings header
#!WINGS-1.0 0D 0A 1A 04 [4 bytes (compressed size + erlang header (but without wing3d header))]
erlang header
83 50 [4 bytes (uncompressed size)]

[the "real" data section starts here !]

Now if I replace the wings header and the erlang header with a gzip header and decode it I can get a way more readable format as you can see here:

https://plus.google.com/photos/+CedricWe...6377178597

I still get an error from gzip "unexpected end of file" though. I guess I've forgotten a footer. But the output data is 5808 Bytes long which exactly matches the big endian integer from the erlang header, so everything seems fine.

Thanks for your your link. This will defenitively help me. With the erlang file specification (http://www.erlang.org/doc/apps/erts/erl_ext_dist.html ) I will now try to reverse engineer that file. Shouldn't be too hard (I hope). If I succeed I will post it here.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Wings file format specification - by scindix - 09-08-2014, 09:46 PM
RE: Wings file format specification - by ggaliens - 09-09-2014, 01:52 AM
RE: Wings file format specification - by micheus - 09-09-2014, 01:06 PM
RE: Wings file format specification - by scindix - 09-09-2014, 03:46 PM
RE: Wings file format specification - by dgud - 09-12-2014, 12:42 PM
RE: Wings file format specification - by bigben - 06-26-2018, 10:34 PM
RE: Wings file format specification - by dgud - 06-28-2018, 07:43 AM
RE: Wings file format specification - by micheus - 06-28-2018, 02:17 PM
RE: Wings file format specification - by bigben - 06-29-2018, 03:49 PM
RE: Wings file format specification - by dgud - 07-03-2018, 11:18 AM
RE: Wings file format specification - by PERECil - 08-15-2018, 12:05 PM
RE: Wings file format specification - by bigben - 10-18-2018, 02:54 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode