Skip to content

Rust library to parse the `mod-settings.dat` and `level-init.dat` file format used in the game Factorio.

License

Notifications You must be signed in to change notification settings

circlesabound/factorio-file-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

factorio-file-parser

Rust library to parse various file formats used in the game Factorio:

  • Mod settings from the mod-settings.dat file
  • Save header from level-init.dat file from inside a save zip

The logic for parsing mod settings is taken from the information provided in the Factorio wiki, with inspiration from the sample code provided by Factorio dev Rseding91 on the forums.

The save header structure is based on the logic implemented by OpenFactorioServerManager which in turn is based on the work of Factorio forum user mickael9 in this forum thread.

About

Rust library to parse the `mod-settings.dat` and `level-init.dat` file format used in the game Factorio.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages