Skip to content

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

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:

  1. Open ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config-path.cfg
  2. Change use-system-read-write-data-directories=true to use-system-read-write-data-directories=false
  3. Change config-path=__PATH__system-write-data__/config to config-path=__PATH__system-write-data__/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:

  1. Create the file ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config/config.ini and open it up
  2. Add this content:
    [path]
    read-data=__PATH__executable__/../../data
    write-data=__PATH__executable__/../../writedata
    

Source

Clone this wiki locally