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.
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:
- 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).
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.