Using Comet with Valve's Steam Deck (running SteamOS) is possible in both Desktop and Game Mode. Comet will only function with games that do support GOG Galaxy's achievement system or any other online related functionality like Leaderboards. If your game does not work out of the box, check Known Issues below.
Using comet_shortcut.sh
will simplify the process of launching GOG games from Heroic or Lutris with Comet in the background. That script works in both Modes.
This instruction also applies for desktop users. If you don't use any launcher see the project README for manual credentials management.
- Make sure you are logged into GOG on your launcher of choice.
- Download the latest release of Comet from the latest release labelled
steam-deck.zip
. - Extract the downloaded archive to a desired place.
It is recommended to have the
comet
binary put into the~/Documents
directory. Otherwise: choose any directory where your app of choice has access to.
Ensure that the file is Executable in Properties > Permissions - Open the
comet_shortcut.sh
file with Kate (right click on the file > Open with Kate), and edit the following values:gog_username
Change the
username
value after=
to your GOG username. If your name includes any special characters make sure to quote the username accordinglypath_to_comet
Change the
path_to_comet
value after=
(while keeping the'
characters in tact) to the full file path of thecomet
binary.
- Start any game that has the shortcut script included (see instructions for Heroic or Lutris) to play the game with achievement support!
Note
On the startup comet downloads GalaxyPeer
libraries (~100 MiB) into $XDG_DATA_HOME/comet/redist/peer
.
The download is triggered if there is an update available or if the files aren't downloaded already.
On Mac, both native and windows libraries are being downloaded
Note
Starting with Heroic 2.15.0, comet will be setup automatically for every GOG game by Heroic itself.
- Install Comet and its shortcut script. (See the installation steps above.)
- In Heroic Games Launcher, set the
comet_shortcut.sh
as a script that is going to be ran before the game (Game Settings > Advanced > Scripts) - Launch the game through either Desktop or Game Mode!
- Directly exiting the game through Steam will not sync your GOG playtime via Heroic! Make sure to always exit the game via in-game menu.
Tip
Use Heroic's Add to Steam feature for the best experience in accessing your games from the Gaming Mode
If you want to use the same script with Lutris, modify it to include --from-lutris
instead of --from-heroic
. You need to be logged in the GOG runner in Lutris.
Steps to add a script to Lutris game
- Install Comet and its shortcut script. (See the installation steps above.)
- Right click on the game and click Configure
- Head over to
System options
and enableAdvanced
mode (next to save button) - Scroll down into
Game execution
section and set the path tocomet_shortcut.sh
as Command prefix or Pre-launch script. - Launch the game normally!
Tip
Setting the script as Command prefix will allow Lutris to wait for both comet and game process. Thus it's a recommended way
-
Not all GOG games are supported out of the box - some games (e.g. Cuphead) do not support the way Comet works on its own, due to some checks performed by SDK used for GOG Galaxy features.
To solve it: you will need to install the
GalaxyCommunications
dummy application. (The necessary files (the.bat
script and the dummy.exe
) have been included in the archive together with comet binary.)- Keep the
comet
Linux artifact items in a directory Heroic has access to, such as~/Documents
or~/Desktop
. - Go to Heroic Games Launcher, to the malfunctioning game's settings screen..
- Scroll down the WINE tab of the game's settings screen until you see
RUN EXE ON PREFIX
. - Drag and drop the
install-dummy-service.bat
ontoRUN EXE ON PREFIX
to install the dummy service for the game to detect. - Play the game as you would expect. It should now function with Comet's features!
- Keep the
-
Currently there is no visible feedback on when the achievement has been unlocked, there is a decky-loader plugin planned
Comet should be able to register achievements and statistics while offline just fine and report them to the server next time you play the game online.
Please make sure to report issues if you encounter any.