-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
As the current format is not backwards and future compatible, adding new properties to objects needs a new save version, there is a proposition of a new format of it. It will use a new extension, because .ldmap is a little too long. Before, header was packed together with map data in GZip stream which may be too CPU expensive to read just it. So header will be unpacked in the new format. Instead of beeing just values that are read sequentially, it will be read as a JSON String, new content will be added to help map sharing.
Header contents:
- raw int as save version
- JSON saved as raw UTF-8 string:
name: stringdescription: stringauthors: stringwidth: intheight: intcreationDate: longmodificationDate: longobjects: longentities: longstates: longtickrate: intthumbnail: BASE64 string
Right after the header there will be a map stored in GZipped Data(Input/Output)Stream.
-
Two integers describing map size
-
State data:
Total number of states (including free ones): intNumber of free states: intSequentially saved free state numbers: intSequentially saved state data: int
-
Object mapping:
- "UTF-8 String and int pair saved sequentially"
-
Objects:
Number of objects: long- Sequentially saved objects:
object type: intx: inty: intproperties: string (or byte) to object map
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels