How do I update native Linux games?

I’m rather new to the Linux ecosystem on my private desktop and with the new update for Stardew Valley, I installed the native version of the game via the provided .sh script. However, as bugfixes are already announced, I’m considering what to do when these updates hit the store.

For the Windows version, there are multiple patch installers. Linux only gets the newest .sh file.

So my question is: When such a game has an update, how do I install this update? Do I just execute the new .sh file and install in the same location? Or do I need to remove my existing installation and do it fresh from groundup?

marv99, (edited )

As save-games and configs of my GOG Linux games are normally(!) outside of the installation folders (found them in my home-folder, under .local or .config), I simply install such new version .sh file into the same locations (overwriting the existing installation). But I do not know for sure, if this is the best solution in all cases.

Anyway you can easily try it by yourself after backing up your game-folder (simply zip it). This way you will not lose anything if overwriting game files will mess something up.

EDIT: maybe it is worth finding the save-game/config folder and back it up, too. Just in case the new version messes with config files.

Jenztsch,

I considered just installing the new .sh file in the same location, but wasn’t sure whether that breaks my saves in the worst case. So it’s reassuring to hear that others had success with this method. I’ll try it when I get an update for one of my Linux native games. Thank you :)

oblomov,
@oblomov@sociale.network avatar

@marv99 @Jenztsch I've also noticed that some games have patch .sh files too

dinckelman,

If I were you, I would get something like Heroic to manage your games instead

Jenztsch,

I’ve dabbled with Lutris and Heroic. But Lutris only showed me the Windows patches during its update (which obviously don’t work).

Heroic on the other hand doesn’t work as well as I’d hoped. All operations take a really long time and some of my GOG games don’t show at all (in Lutris they’re appearing). I’m using the current version 2.13.0.

And even if it works, I’d be interested how Heroic implements its update mechanism for Linux native games since it should have the same issue regarding available data :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • gog@lemmy.world
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines