Known Workarounds - canonical/steam-snap GitHub Wiki

Known workarounds for various games that may have trouble running in a snap environment

Source: https://github.com/canonical/steam-snap/issues/78#issuecomment-1334686442

This "game" is actually a mod over Deus Ex, you must have the base Deus Ex GOTY game installed as well as Deus Ex: Revision for it to work.

Factorio

Source: https://wiki.factorio.com/Application_directory1
Factorio will try to write to ~/.factorio 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__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:

  1. Ensure the config directory exists, e.g. mkdir -p ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config
  2. Create the file ~/snap/steam/common/.steam/steam/steamapps/common/Factorio/config/config.ini and open it up
  3. 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).

Note: you may lose out on Steam's cloud sync functionality by changing the save directories like this. To work around that, you can pretty easily just copy the files in ~/snap/steam/common/.local/share/Steam/steamapps/common/Factorio/writedata to any other computer.

⚠️ **GitHub.com Fallback** ⚠️