Game Shortcut Not Working
Closed this issue · 7 comments
I ran setup.sh in the Flatpack version but when I try to run the game's sh file, I get a "Failed to launch games" error. The logs are as follows:
Gtk-Message: 08:48:42.212: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:48:42.212: Failed to load module "appmenu-gtk-module"
Gtk-Message: 08:48:42.246: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:48:42.246: Failed to load module "canberra-gtk-module"
3.32.0
sh: line 3: /usr/bin/gamemoderun: No such file or directory
---CANNOT CONNECT TO NETWORK. RUNNING IN OFFLINE MODE---
sh: line 3: /usr/bin/gamemoderun: No such file or directory
Gtk-Message: 08:48:42.255: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:48:42.255: Failed to load module "appmenu-gtk-module"
Gtk-Message: 08:48:42.297: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:48:42.297: Failed to load module "canberra-gtk-module"
Using Bash Launcher 2.4.2
Checking if Zenity is installed:
Launch command:
STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xxxx/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xxxx/Games/Heroic/Prefixes/HITMAN-3' /usr/bin/gamemoderun /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch Eider --no-wine --wrapper "'/home/xxxx/.steam/steam/steamapps/common/Proton - Experimental/proton' run"
I've also confirmed that:
- The Game does launch from Heroic Games Launcher
- Steam is not running when I try to execute the game's sh file
How can I overcome this problem?
Thanks in advance for any help!
The log says it cannot find gamemode, which means gamemode is most likely not installed. Can you confirm if you have the path /usr/bin/gamemoderun?
Oh okay. Mine is saved in /usr/bin/gamemoderun. Looks like it varies from user to user.
For now, I can only request you to play games with gamemode toggled off. I'll have to implement a check for the gamemoderun's location.
Sorry: How do I toggle off gamemode to overcome this problem?
And to just to confirm: gamemode is per-requisitefor for HeroicBashLauncher?
In Heroic, Select your Game -> Settings -> Other -> Uncheck "Use GameMode"
No, gamemode is not a pre-requisite. It's just an optional parameter in Heroic.
Got it. Thank you!
Issue fixed.
