Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

[Bug] Games launch twice from Steam (Desktop & Deck Game Mode UI) #81

Closed
redromnon opened this issue Jun 12, 2022 · 9 comments
Closed
Labels
bug Something isn't working question Further information is requested

Comments

@redromnon
Copy link
Owner

redromnon commented Jun 12, 2022

Before posting this issue, make sure you've read the Issues section in the Readme and the Flatpak/Steam-Deck guide.

Describe the bug
Some users are complaning about games added by Bash Launcher launching for a second time when closed. This is only happening when launching games from Steam Desktop and Steam Deck Game Mode UI.
Moreover, the game log under GameFiles/logs/ maybe corrupted and will fail to open using a text editor.
Lastly, I'm not sure of this issue only occurs with the Deck.

To Reproduce
Steps to reproduce the behavior:

  1. Open Steam Desktop/ Deck GameMode UI
  2. Select a game
  3. Click on Play
  4. Wait for game to launch and attempt to exit the game
  5. See second instance of game

Expected behavior
The second instance of the game shoudn't be created.

Screenshots
None

Details

  • Platform: Any
  • OS: Any
  • Heroic Version: v2.3.4
  • Bash Launcher Version: v2.7.2

Additional context
User reports indicate this issue mostly occurs with GOG games. Please check for Epic games too.

@redromnon redromnon added bug Something isn't working question Further information is requested steam deck and removed steam deck labels Jun 12, 2022
@redromnon redromnon closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2022
@Ishindri
Copy link

Reopening this per discussion on Discord. I'm seeing this issue with the GOG version of Pathfinder: Wrath of the Righteous, running on Steam Deck. When launching from the Game Mode UI, after quitting it starts back up again. Quitting the second instance gives me the 'failed to launch' dialog.

  • Platform: Steam Deck
  • OS: SteamOS
  • Heroic Version: v2.3.10
  • Bash Launcher Version: v2.8.1

This is a fresh log, generated from a single test of hitting Play and quitting all the resulting instances.

PathfinderWrathoftheRighteous_Heroic.log

Let me know if I can gather additional info or do tests!

@redromnon redromnon reopened this Jul 24, 2022
@redromnon
Copy link
Owner Author

I can confirm the game is launching twice - online and offline mode - based on the script. Usually, the script uses the offline mode if a game fails to start in the online mode if internet connectivity is required.

Can I assume that the game is well playable on both instances? Like it doesn't quit abruptly?
Also, do you face such issues with other GOG games (Linux native included) and Epic games if installed any?

@Ishindri
Copy link

Ishindri commented Jul 24, 2022 via email

@redromnon
Copy link
Owner Author

Can you test this build? - https://github.com/redromnon/HeroicBashLauncher/actions/runs/2753975197
Just download the executable and replace it with the current one.

@Ishindri
Copy link

Tested with the new executable - I can confirm that the game is only launching once now. Oddly, upon quitting, I'm still getting an error popup saying that the game couldn't be launched. Latest logs attached.

PathfinderWrathoftheRighteous_Heroic.log

@redromnon
Copy link
Owner Author

Technically, the error popup gets displayed if the launch command fails. So maybe when you quit the game, it is resulting in a "False" state and executing that error popup.
How are you quitting the game - using the in-game option or via Deck's overlay?

@Ishindri
Copy link

Just tested - the popup occurs in the same fashion regardless of whether I quit via the exit option ingame or the Deck overlay.

@redromnon
Copy link
Owner Author

Is this issue still present while using the latest v2.9.1? As an alternative, you can use Heroic's add-to-steam feature for that particular game.

@redromnon
Copy link
Owner Author

Issue should be fixed in v3.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants