I am wondering how people are managing their Windows GOG games on Linux. Obviously the base game works fine on Steam Proton, but I run into trouble when I try to install DLC. If I add the addons to Steam, they can’t see the base game, as they are a separate instance/container.

Is there some way I can get around this, and run the DLC installers in the same Proton instance as the base game? Is there another solution for managing Proton that isn’t Steam, which allows this? A whole third option I haven’t thought of?

Thank you.


In the interest of providing solutions for future travelers, a solution was posted here https://lemmy.dbzer0.com/post/59375112/23092038

Please stop suggesting Heroic; I saw it the first 10 times.

  • shadow@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    24
    ·
    3 days ago

    Use a simple script to run the installers in the same container as the base game:

    #!/bin/bash
    
    export STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.local/share/Steam"
    export STEAM_COMPAT_DATA_PATH="/$HOME/.local/share/Steam/steamapps/compatdata/*prefix number*/"
    
    "$HOME/.local/share/Steam/steamapps/common/Proton 10.0/proton" run "$HOME/Downloads/StellarisExp1.exe"
    

    Just change the relevant parts to run the other installers, e.g. the installer name and location and the prefix number to match what Steam has generated

    • drkt@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      23
      ·
      edit-2
      2 days ago

      It was really that simple! Thank you so much, I had no idea proton could just be run like this.

      Full tutorial for potential future readers:

      First add the base game installer as a non-steam game and run it, then close the installer when it is done.

      Go to the shortcut settings for the non-steam game (the installer) and set TARGET to "C:\GOG Games\Stellaris\stellaris.exe" and START IN to "C:\GOG Games\Stellaris"

      Run the game to confirm it works. Close the game, then adjust and run the script. Start the game and confirm the DLC were added. It should just work.

      I have also uploaded this script here https://drkt.eu/files/scripts/install-stellaris-gog-dlc-on-proton.sh

      #!/bin/bash
      
      # PROTON="$HOME/.steam/steam/steamapps/common/Proton 10/proton"
      PROTON="/mnt/450G/SteamLibrary/steamapps/common/Proton 10.0/proton"
      PREFIX="$HOME/.steam/steam/steamapps/compatdata/3543916168"
      
      DLC_DIR="$HOME/Downloads/stellaris_4.2.3_(86961)_win_gog/DLC"
      
      export STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam/steam"
      export STEAM_COMPAT_DATA_PATH="$PREFIX"
      
      INSTALLERS=$(find "$DLC_DIR" -maxdepth 1 -type f -iname "setup_stellaris*.exe")
      
      if [ -z "$INSTALLERS" ]; then
          echo "No DLC installers found."
          exit 1
      fi
      
      echo "Running Stellaris DLC installers in silent mode under Proton..."
      echo
      
      for inst in $INSTALLERS; do
          echo "Installing: $(basename "$inst")"
          # /silent or /VERYSILENT
          "$PROTON" run "$inst" /silent
          echo
      done
      
      echo "Done. DLC should now be installed inside the Proton prefix."
      
  • Cevilia (she/they/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Heroic is what I use, but in the interest of adding alternatives, another GUI way to do this is to use Bottles. Create a bottle for the game, and in that bottle click Run Executable, then run the base game installer, then repeat for each DLC. It’ll even give you a shortcut.

  • BlueSquid0741@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    Install Heroic.

    Log into your gog account in Heroic.

    In the Heroic wine manager, check that GE-proton is installed.

    Install Stellaris. By default it should install any DLC you have too.

  • Whale_Visual@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Also vote for Heroic. First install the main game as usual. Then in Heroic game settings use the “Run in prefix”, select the DLC exe. Done.

      • _cryptagion [he/him]@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        2 days ago

        Heroic does a lot more than this one thing. How do you plan on keeping the game updated? Are you going to go through the process of installing the DLCs again any time they are updated? Or are you planning on just never updating?

        • drkt@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          2 days ago

          How would I keep an offline installer updated? I don’t think you understand what the usecase is, here. I don’t legally own Stellaris on GOG. If I did, I’d just play the linux native version they provide.

            • drkt@lemmy.dbzer0.comOP
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              2 days ago

              They are not up to date on any sources I trust downloading from.

              I appreciate your input. A different, more suitable solution has been found.

  • shadow@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    You can use a simple script to run anything inside the same container as the base game:

    #!/bin/bash

    export STEAM_COMPAT_CLIENT_INSTALL_PATH=“$HOME/.local/share/Steam” export STEAM_COMPAT_DATA_PATH=“Location of the prefix

    “$HOME/.local/share/Steam/steamapps/common/Proton 10.0/proton” run “/$HOME/Downloads/StellarisExp1.exe”

    Just change the parts you need to e.g. the version of proton you want to use, the name of the installer and so on.