Closed lbacud closed 6 years ago
Works on Galaxy 1.2.26.
/command=launch
still opens game page, /command=launchGame
does nothing.
There's no command to directly launch a game afaik.
Currently games are launched in a very hacky way (simulating click in button location). Maybe you have DPI scaling enabled and button is in different location?
My mistake. The command is "/command=runGame"
For example, the launch command I use for Witcher 3 is "C:\Program Files (x86)\GOG Galaxy\GalaxyClient.exe" /gameId=1495134320 /command=runGame /path="C:\GOG Games\The Witcher 3 Wild Hunt GOTY"
It works! Was this command added recently? I couldn't find it before.
It was mentioned in a bug report for the Playnite launcher. So all we need to do is find the path of the game itself.
GOG changed the command to launch games to /command=launchGame