Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » xy modification after game has started
Re: xy modification after game has started Mon, 07 July 2014 14:37 Go to previous messageGo to previous message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
raptor wrote on Mon, 07 July 2014 17:25
A side-effect of this is that any description of a stars block that has one-byte-or-smaller pieces may be incorrect. For instance, alignment of the FileHeaderBlock here:

http://wiki.starsautohost.org/wiki/FileHeaderBlock

probably has bytes 16 and 17 switched. This also clarifies instances where there is weirdly packed data, such as in places like the block header shown here:

http://wiki.starsautohost.org/wiki/Technical_Information#Gen eral_File_Structure

Who knows with the Jeffs and their binary shenanigans. Confused


Quote:
I'm thinking that the file byte stream should be read in swapped to begin with - but this may change paradigms a little. It will definitely reduce deserialization code.

"Swapped" for Java, perhaps, but "natural" for Wintel C/C++. Twisted Evil



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NSA Helping to Decompile Stars!?
Next Topic: Utility to clean .m files
Goto Forum:
  


Current Time: Sat Apr 27 19:36:25 EDT 2024