-
Notifications
You must be signed in to change notification settings - Fork 10
Known Workarounds
Ash edited this page Mar 23, 2023
·
13 revisions
Known workarounds for various games that may have trouble running in a snap environment
Factorio 1
Factorio will try to write to your home directory to save game data, but this isn't allowed for Snaps. Follow these steps to fix this:
- Open
~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config-path.cfg
- Change
use-system-read-write-data-directories=true
touse-system-read-write-data-directories=false
- Change
config-path=__PATH__system-write-data__/config
toconfig-path=__PATH__executable__/../../config
This will cause Factorio to use the config file at ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config/config.ini
, so, let's create the config.ini
file:
- Ensure the
config
directory exists, e.g.mkdir -p ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config
- Create the file
~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config/config.ini
and open it up - Add this content verbatim:
[path] read-data=__PATH__executable__/../../data write-data=__PATH__executable__/../../writedata
You should be able to start Factorio now! If Factorio asks to reset the config file, select "yes" (it will keep the custom paths we put in).