redromnon / HeroicBashLauncher

Directly launch any Epic Games Store and GOG game from anywhere without Heroic on Linux.
GNU General Public License v3.0
353 stars 17 forks source link

[Bug] Games Will not run from Lutris or .Desktop Shortcuts (GOG and Epic) #106

Open malcolmturnbull opened 2 years ago

malcolmturnbull commented 2 years ago

I have read the guides and had a scroll through reports. Appears similar to #90, but the troubleshooting went over my head. I assume something is misconfigured, by my fault but have no idea how to fix!

Describe the bug I can not get games to launch through Lutris, or from .desktop shortcuts. When using Lutris, logs will either say incorrectly that it isn't in ~/Games/Heroic/ when it is, or else return the following, if I set my working directory to ~/Games/Heroic/HeroicBashLauncher it will return:

Started initial process 128086 from /home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh
Start monitoring process.
/home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh: line 4: logs/HITMAN3_Heroic.log: No such file or directory
zenity: symbol lookup error: /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_component_scroll_to
ERROR:root:Zenity not installed. Please consider doing so and try again.
Using Bash Launcher v2.9.2
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

flatpak: symbol lookup error: /lib/x86_64-linux-gnu/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

To Reproduce Using HGL - Flatpack, Flatseal looks like this: image

Lutris is installed as a .deb.

  1. Install game.
  2. Use HBL - Test .sh script in terminal - The scripts will work when executed from the directory by double-clicking them
  3. Add .sh file to Lutris using the instructions provided.
  4. Attempt to launch game - will not load.

    • Platform: Pop! OS w/ Xanmod Kernel Stable - Laptop AMD Ryzen / RTX 3080m.
    • Heroic Version: Latest, Flatpak
    • Bash Launcher Version: Latest Zip from releases section - no explicit Flatpak version is there, so I used HeroicBashLauncher-2.9.2.zip

Chasing the Logs a bit

flatpak: symbol lookup error: /lib/x86_64-linux-gnu/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0 Monitored process exited. Initial process has exited (return code: 32512) All processes have quit Exit with return code 32512

redromnon commented 2 years ago

Have you created any symlink that points to this directory?

malcolmturnbull commented 2 years ago

None that I'm aware of other than via Flatseal

redromnon commented 2 years ago

Just tested with Heroic Flatpak 2.4.3 and Lutris 0.5.10.1. The game launches perfectly with no issues.

I just clicked on the "+" symbol on the top left corner -> Add locally installed game -> Filled the name and selected Runner as Linux Finally, under Game Options -> Executable - I just selected the gamename.sh file. I didn't configure anything else.

malcolmturnbull commented 2 years ago

When I do that, then attempt to launch, the game does not run at all. The logs appear as above. Sorry to be a pain, but can you suggest any troubleshooting steps?

I also have the same issue when trying to use a .desktop shortcut to the .sh file, so it is does not appear to be a Lutris issue.

Would definitely expect it to be a symlink or something else I have configured and not aware of, or PopOs! config - so any tips would be really welcome.


From: Rishabh Moharir @.> Sent: Tuesday, September 27, 2022 10:59:55 PM To: redromnon/HeroicBashLauncher @.> Cc: malcolmturnbull @.>; Author @.> Subject: Re: [redromnon/HeroicBashLauncher] [Bug] Games Will not run from Lutris or .Desktop Shortcuts (GOG and Epic) (Issue #106)

Just tested with Heroic Flatpak 2.4.3 and Lutris 0.5.10.1. The game launches perfectly with no issues.

I just clicked on the "+" symbol on the top left corner -> Add locally installed game -> Filled the name and selected Runner as Linux Finally, under Game Options -> Executable - I just selected the gamename.sh file. I didn't configure anything else.

— Reply to this email directly, view it on GitHubhttps://github.com/redromnon/HeroicBashLauncher/issues/106#issuecomment-1259471051, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAQBCIJAWESVQKRVVG3TW3WALVUXANCNFSM6AAAAAAQWKLTJU. You are receiving this because you authored the thread.Message ID: @.***>

redromnon commented 2 years ago

Can you check if Lutris Runtime is enabled for the added game under System Options? If yes, disable it and try again.

malcolmturnbull commented 2 years ago

That did the trick for HITMAN 3! I can now create a .desktop for my applications menu via Lutris and everything works.

So, the solution was to ensure Lutris Runtime is disabled for the launcher, if it is enabled by default.

Still having issues with Cyberpunk - even with Heroic Games Launcher open, the logs will spit out something like:

Started initial process 152867 from /home/user/Games/Heroic/HeroicBashLauncher/GameFiles/Cyberpunk2077_Heroic.sh
Start monitoring process.
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

The .sh file does seem to work.

redromnon commented 2 years ago

This is out of my scope since I can discuss only HBL-related issues here. Moreover, none of this was the HBL's issue in the first place since the .sh game scripts are working just fine.

Maybe it has something to do with Lutris config again. I'm not sure.