Depending on your installation method and OS, you will have one or two directories that contain Factorio assets, and one that contains user data, such as saves and mods.
User data directory
The user data directory is where personal files are stored:
- Save files
- Script-output, e.g. from /screenshot
- Local scenarios
- Local settings
- log files
- Crash dump files
Search your computer for the directory location, or type the path into your file manager address bar.
%appdata%shorthand translates to your local version of
When using Steam on Windows, the config.ini, achievements.dat, modded-achievements.dat and player-data.json can also be found in
C:\Program Files (x86)\Steam\userdata\[user number]\427520\remote
The application directory stores three things:
- Factorio executables
- Data for vanilla Factorio
- API documentation
C:\Program Files (x86)\Steam\steamapps\common\Factorio C:\Program Files\Factorio
~/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents /Applications/factorio.app/Contents
Changing the user data directory
You can create a file
config-path.cfg to configure Factorio to any directory.
In order to change the user data directory, user must edit the location of the "write-data" entry in the file
(Game install directory)/config/config.ini. This affects the location of mods, scenario and temp.
factorio.app/config-path.cfg with the following contents:
[path] read-data=__PATH__executable__/../data write-data=__PATH__executable__/..
Please see this discussion (for older versions of macOS, but may work on any other OS).
[path] read-data=__PATH__executable__/../../data write-data=.local/share/factorio
You could set the
write-data value to
.factorio if you prefer.
Once you have done this, you can remove write permissions to the entire game installation directory except for
config/config.ini, which must be writable by all people who wish to play the game.
Note that if someone changes any options, in-game, those option changes will apply to everyone who plays on the same computer.
Installation from Zip File
The unzipped Factorio directory.
A list of all things found here:
- Save games (as zip files)
- User-installed/created Mods.
- User-installed/created scenarios.
- User configuration and settings storage
- Log file (factorio-*.log)
- Player data (player-data.json)
Note: Deleting the configuration file will result in a default replacement being generated upon the next Factorio launch.
It is recommended to create backups from this directory (of saves, config, etc) before installing a new version.