Save files

Save File Location
As of patch 0.102, the save file is located here: Experimental patch 0.1.5 lists this location as the following, but they resolve to the same location in default windows installations:

Save File Format
This page is a work in progress.

This page describes the save file format. These values and structures were determined by opening save files using a hex editor such as HxD.

If the length is specified as 🡅 that means it is the length of previous Int32. A description of 🡇 means 'see below.'

For example, the below table states, "The string that represents the world type is prefaced by an Int32 (4 bytes long). The length of the string is the value stored in the Int32."

Multiple times throughout the file you will see templates like {1} used, that means it uses the value of that field for its size or other math.

Note that all strings are null-terminated, so you almost always want to read all strings of their length - 1.

World Object Data
Here is a generic property type format, each property then has a descendant with extras.

Property
This generic property type is used for primitive types like integers, floats, strings, booleans, etc.