Save files

Save File Location
As of Patch 0.2.1.10, the save files are located on this directory: %localappdata%\Local\FactoryGame\Saved\SaveGames\

Experimental Patch 0.1.5 documents the save file location as the following, but they resolve to the same location in default windows installations, so either can be used: %localappdata%\FactoryGame\Saved\SaveGames\

Photo mode
Pressing will bring up the photo mode, which removes the HUD elements, allows changing the field of view, and toggling of a Hi-Res mode.

Screenshots can be found in  or.

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.

Starting with Save Version 21, the body of the file is compressed in chunks. See Compressed Save File Format below.

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.

The length of the string is determined by the previous Int32. A negative length means that the String is encoded in UTF16.

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.

Compressed Save File Format
This section is a work in progress.

After reading the save file header and checking the save version is at least 21, the body is composed of a certain amount of compressed chunks. Each chunk have a 48 bytes header followed by a zlib compressed body.