Sharing games, installers and configurations on multiple computers

I am sure I’m not the only one with this problem. I have multiple Linux computers/laptops I play my games on. Mostly older DOS games, using DOXBox(with DBGL).
I have made habit of rsync’ing my games to/from a central server, in order to save configurations, games and game saves. This is easy and simple with Dosbox/DBGL.
I imagine that this is also possible with Lutris(flatpack), but using the same approach with the games and installer folder, does not work with my setup. Somehow the 2nd Lutris install will not read the game settings.
Does anyone else have any luck with this? Or how do you sync your game library and savegames across multiple systems?

I can transplant my Lutris user profile to another system with only minor issues, but that’s between debian-likes, using Git Lutris, and uid/gid membership the same on both.

Lutris config is just really files under these paths:
~/.cache/lutris, ~/.config/lutris, ~/.local/share/lutris
…which I can rsync or archive and extract later.

Edit2: According to settings.py in 3.18 .config/lutris is being deprecated. Mine will be having upgraded from an old version :slight_smile:

Edit1: clarification
My Games are not installed in the default path (because I’m always testing). /games/lutris is my default.

Drive capacity varies between systems, so I only rsync over the games I want. For WINE and Dosbox, that works fine as all the games and saves are stored in their respective directories. For any weird game using the mapped “Documents/My Games,” I need to include that as well.

Other games are “missing” but can be reconfigured, or, as the Lutris db file ~/.local/share/lutris/pga.db is sqllite3, a simple script can remove unwanted entries.

Whilst you can copy data between flatpak instances, you’ll want to check ~/.var/app/net.lutris.Lutris/data/lutris for what is actually there. I don’t know if it replicates local install exactly.

1 Like

Hi Asaftiifm!
Thank you for your feedback! Is there a way to tell Lutris to store all data(including the sql db) on at specific path? I’ve got a “Game hub” folder I rsync between systems.

Not without editing the Python :slight_smile:

You could script that modification to settings.py fairly easily though.

1 Like