I’ve installed “Overcooked 2” and “Moving Out” through Heroic Games Launcher (flatpak) and then used the ad-hoc option to add it to steam (also installed as flatpak). If I try to launch the game from Heroic it works properly, and it works also if I try to launch it from the command line with the command it added to steam
flatpak run com.heroicgameslauncher.hgl --no-gui --no-sandbox "heroic://launch/legendary/8e29583ae4b44a21883038668f7e301e"
but if I click the PLAY button on steam, the game fails to launch and the following error is printed on terminal:
chdir "/var/home/lez"
Game Recording - would start recording game 12260096395435835392, but recording for this game is disabled
Adding process 532 for gameID 12260096395435835392
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/lez/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 534 != 532, skipping destruction (fork without exec?)
Game Recording - game stopped [gameid=12260096395435835392]
Removing process 532 for gameID 12260096395435835392
Anyone else faced this issue? If so how did you fixed it?
So that’s detailing a part of the problem, but as it says, there is no one sure fix because your directories could be setup any number of ways. It’s basically saying Heroic will be called via XDG helpers to try and launch games, but if it’s looking in the wrong directory, you need to point it to the right place.
From here you need to take the output logging and figure out where exactly it’s looking for the expected launcher, but honestly, I wouldn’t even go that far if Heroic can already launch everything you need. Personally, I would just add Heroic as a non-stean game and launch that to start games from Deck mode. Lot less frustration 😂