From ddac4c60a8315403443ecc81a9bf0041ad710fd8 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 28 Sep 2022 16:25:17 +0200 Subject: [PATCH] steam: sync game saves with syncthing --- wiki/games/dolphin.md | 2 +- wiki/games/ppsspp.md | 2 +- wiki/games/steam.md | 34 ++++++++++++++++++++++++++++------ wiki/syncthing.md | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 8 deletions(-) diff --git a/wiki/games/dolphin.md b/wiki/games/dolphin.md index 535b952..1e27f25 100644 --- a/wiki/games/dolphin.md +++ b/wiki/games/dolphin.md @@ -15,7 +15,7 @@ package is called `org.DolphinEmu.dolphin-emu`. The following sections describe specific issues relating to the configuration of Dolphin. -### [Steam Deck](./steam_deck.md) specific settings +### Steam Deck specific settings The following settings are especially useful when emulating games on the [Steam Deck](./steam_deck.md) as pointed out by diff --git a/wiki/games/ppsspp.md b/wiki/games/ppsspp.md index 336a5a5..9f087d4 100644 --- a/wiki/games/ppsspp.md +++ b/wiki/games/ppsspp.md @@ -15,7 +15,7 @@ package is called `org.ppsspp.PPSSPP`. The following sections describe specific issues relating to the configuration of PPSSPP. -### [Steam Deck](./steam_deck.md) specific settings +### Steam Deck specific settings The following settings are especially useful when emulating PSP games on the [Steam Deck](./steam_deck.md) as pointed out by diff --git a/wiki/games/steam.md b/wiki/games/steam.md index a518e79..70e4843 100644 --- a/wiki/games/steam.md +++ b/wiki/games/steam.md @@ -9,8 +9,8 @@ destribution. The last ressort for fixing problems that are related to the wine prefix of a game is to delete the Wine prefix. -For this the id of the steam game first has to be known. -This is done by navigating to the steam website or the community page of the +For this the id of the Steam game first has to be known. +This is done by navigating to the Steam website or the community page of the specific game. The URLs will have one of the following forms where the game id can be read: @@ -19,7 +19,7 @@ http://steamcommunity.com/app// http://store.steampowered.com/app// ``` -After that navigate to the place your steam games are stored. +After that navigate to the place your Steam games are stored. You can remove `/steamapps/compatdata/` to reset the Wine prefix completely. It is recommended to keep a backup of the folder containing the old Wine prefix @@ -31,7 +31,7 @@ Games that are not in the Steam store can be added to the Steam application. This is done by opening (the desktop mode) of Steam and selecting `Add a Non-Steam Game to My Library` under the `Games` tab in the top left corner. -A dialog window will open to select the software to add to steam. +A dialog window will open to select the software to add to Steam. Check the box or boxes of the software to add to Steam and tap `Add Selected Programs`. @@ -42,6 +42,9 @@ of a system to go directly into the game. Often this is done by simply appending the path of the specified game to the command but this can also differ depending on the launcher. +Websites can be added by setting `xdg-open ""` as the `Launch Option`. +This will open the website with the Steam browser. + ## Setting Icons and Banners for Games Images for games can be changed by downloading them and applying them manually. @@ -51,14 +54,33 @@ To use it, you first need to install it. It is available in the [flatpak package manager](../linux/flatpak.md). After that navigate to the [SteamGridDB website](https://www.steamgriddb.com/boop) and log in with your -steam account. +Steam account. Follow the remaining steps as described on the website. Following this different images, banners and icons can be found on [the website](https://www.steamgriddb.com/). When hovering over an asset a little blue button will appear. On the press of the button a game can be chosen that will use the asset in the -steam application. +Steam application. Make sure the game is a Steam game or [added to Steam as a non-Steam game](#adding-non-steam-games). After the installation of the game, the system may need to restart to correctly work with [SGDBoop](https://www.steamgriddb.com/boop) for the game. + +## Steam Cloud + +The [Steam Cloud](https://partner.steamgames.com/doc/features/cloud) allows +games and the platform to utilize cloud storage hosted by Steam. +Games can use this to store data including game settings and saves. + +### Synchronize games saves without non-Steam-Cloud + +By using [Syncthing](../syncthing.md) game saves can be synchronized without +the Steam Cloud. +First set up Syncthing as described in the +[Syncthing entry](../syncthing.md#setup). +If the [Steam Deck](./steam_deck.md) or another system with only user access is +used the +[user space configuration](../syncthing.md#user-space-configuration-for-linux) +is recommended. +Afterwards move the game saves to the directory set up by Syncthing and create +symbolic links to link them back to the original place. diff --git a/wiki/syncthing.md b/wiki/syncthing.md index 11bbceb..66c989b 100644 --- a/wiki/syncthing.md +++ b/wiki/syncthing.md @@ -8,3 +8,39 @@ The Software synchronizes files between multiple devices directly. The software can be setup via Docker with the [linuxserver image](./docker-images/linuxserver_-_syncthing.md). + +Additionally the software can be installed by visiting the +[official website](https://syncthing.net/downloads/) and download it from +there. + +### Initial configuration + +Syncthing can be configured in root and in user space. + +#### Root space configuration + +For root space configuration you can use the Docker image for easy setup. +Afterwards navigate to the set IP with your browser and set up the directories +to sync. + +#### User space configuration for Linux + +The user space configuration is a bit more difficult than the root space +configuration. +The following steps are adapted from a +[reddit post by tmplshdw](https://www.reddit.com/r/SteamDeck/comments/uhf8lw/comment/i77ojke/). + +- Download synthing from their website as described in the + [setup section][#setup]. +- Extract the downloaded `.tar.gz` file +- Copy the file named `syncthing` to your home directory +- In the downloaded folder copy the file + `etc/linux-systemd/user/syncthing.service` to `~/.config/systemd/user/` +- In the file `~/.config/systemd/user/` change the line starting with + `ExecStart=`. + Put the absolute path to your home directory after the equal sign +- Run `systemctl --user enable syncthing.service` and + `systemctl --user start syncthing.service` to start the Syncthing service now + and at each following start of the system + +After this Syncthing can be found at `http://127.0.0.1:8384`