HGL
rare-sapphire
I would like to launch a Heroic installed GOG game from Emulation Station.
I have an emulation Station setup with an existing Windows, DOS, and Linux sections. These games are usually launched from XDG Style Desktop Shortcuts I would like to know if Heroic can generate its own Desktop shortcuts that allow for immediate execution of a given game without the launcher.
10 Replies
modern-teal•2w ago
There’s an add shortcut option that creates the desktop shortcut
Check the resulting desktop shortcut to see if that works for your use case
rare-sapphireOP•2w ago
Do they launch the game or the heroic launcher?
modern-teal•2w ago
It’s launching the game through heroic
rare-sapphireOP•2w ago
You misunderstand.
I need to create a shortcut that launches the game in the fashion the Heroic launcher would from the command line without the launcher being involved.
modern-teal•2w ago
you mentioned that Emulation Station launches XDG style, which is what is provided in the desktop shortcut that Heroic generates, e.g.,
xdg-open heroic://launch?appName=Crow&runner=legendary
if you're using a flatpak, the Steam shortcut launches a little more opaquely by hiding the Heroic GUI, e.g., flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch?appName=Crow&runner=legendary"
rare-sapphireOP•2w ago
I see now.
modern-teal•2w ago
this would be from the log:
Launch Command: HEROIC_APP_NAME=Crow HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/var/mnt/second/games/epic/DeadIsland2 LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/outphase/.var/app/com.heroicgameslauncher.hgl/.steam/steam WINEPREFIX="/home/outphase/Games/Heroic/Prefixes/Dead Island 2" STEAM_COMPAT_DATA_PATH="/home/outphase/Games/Heroic/Prefixes/Dead Island 2" PROTONPATH=/var/home/outphase/.local/share/Steam/compatibilitytools.d/GE-Proton-latest WINE_FULLSCREEN_FSR=0 PROTON_DISABLE_NVAPI=1 PROTON_EAC_RUNTIME=/home/outphase/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/outphase/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-DeadIsland2 PROTON_LOG_DIR=/home/outphase/.var/app/com.heroicgameslauncher.hgl /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch Crow --no-wine --wrapper "/usr/lib/extensions/vulkan/MangoHud/bin/mangohud --dlsym /app/bin/gamemoderun "/home/outphase/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/runtimes/umu/umu_run.py"" --language en
you won't be able to do this externally if you're using the flatpak Heroic, nor is this usage going to be provided any supportrare-sapphireOP•2w ago
This is from an RPM.
modern-teal•2w ago
then you might be able to use that logged launch command, but I do not recommend it
rare-sapphireOP•2w ago
Launching Monster Boy and the Cursed Kingdom: HEROIC_APP_NAME=1953564736 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/home/masterz/Games/Heroic/Monster Boy and the Cursed Kingdom" LD_PRELOAD= WINEPREFIX="/home/masterz/Games/Heroic/Prefixes/default/Monster Boy and the Cursed Kingdom" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 PROTON_EAC_RUNTIME=/home/masterz/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/masterz/.config/heroic/tools/runtimes/battleye_runtime ORIG_LD_LIBRARY_PATH=/home/masterz/.local/lib GOGDL_CONFIG_PATH=/home/masterz/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/masterz/.config/heroic/gog_store/auth.json launch "/home/masterz/Games/Heroic/Monster Boy and the Cursed Kingdom" 1953564736 --wine /usr/bin/wine --platform windows
Your method works, however Heroic persists.