Version string format: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Technical]]
[[Category:Technical]]


Factorio uses a common encoding method to serialize the version string in binary data that's present in multiple places. It consists of four consecutive 2-byte unsigned [https://en.wikipedia.org/wiki/Endianness#Little-endian little-endian] values. We'll use version 0.14.21 as an example:
Factorio uses a common encoding method to serialize the version string in binary data that's present in multiple places, such as the map exchange string and save game file format. It consists of four consecutive 2-byte unsigned [https://en.wikipedia.org/wiki/Endianness#Little-endian little-endian] values. We'll use version 0.14.21 as an example:


{| class="wikitable"
{| class="wikitable"

Revision as of 05:59, 29 January 2017


Factorio uses a common encoding method to serialize the version string in binary data that's present in multiple places, such as the map exchange string and save game file format. It consists of four consecutive 2-byte unsigned little-endian values. We'll use version 0.14.21 as an example:

short Factorio's major version number (e.g. 0)
short Factorio's minor version number (e.g. 14)
short Factorio's patch version number (e.g. 21)
short Unknown - seems to be 0.