![]() wing file in a temporary location, open the file using its default application (Wings3D hopefully) and then -once the user clicks save (rather than save-as for which I don't know what file name/location they may enter), have the calling application re-read the updated file back in (keeping an eye on when the file becomes updated or the newly created process being closed). Just to give a reason for why this is of interest, what I would like to do is to use the Wings3D application as an external CAD program so that my application can write the data it currently has to a. I've run into the same question and was wondering if there is any more direct information than to read through the code (in a language I'm not familiar with). Hi there and sorry for jumping on an old thread. With the erlang file specification ( ) I will now try to reverse engineer that file. But the output data is 5808 Bytes long which exactly matches the big endian integer from the erlang header, so everything seems fine. I still get an error from gzip "unexpected end of file" though. 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: Therefore "\032 = #26 = 1A".Īlso 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: I'm not an expert in erlang, but I guess "\032" refers to one byte, which means that this is octal notation (3 digits). I first wondered if I made a typo, but I didn't.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |