Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam Integration Issue #461

Open
Sixdd6 opened this issue Jan 5, 2025 · 7 comments
Open

Steam Integration Issue #461

Sixdd6 opened this issue Jan 5, 2025 · 7 comments
Assignees
Labels
🪲 bug Something isn't working 💻 client There are things to do on the client

Comments

@Sixdd6
Copy link

Sixdd6 commented Jan 5, 2025

Describe the bug
When launching a game through Steam the game opens in the background.
Steam also doesn't recognize that the game is running so you can't use steam to stop the game either. I'm guessing that it has something to do with launching the games through a uri rather than linking to the executable but I'm no programmer so who knows.

To Reproduce
Steps to reproduce the behavior:

  1. Install a game in GameVault
  2. Restart steam to refresh games
  3. Launch your game though Steam (I tested with Cuphead and Bomb Rush Cyberfunk)
  4. Game will start but will be in the background

Expected behavior
Game should start focused in the foreground.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Brave (chromium)
  • GameVault Version: 1.14.0
@Sixdd6 Sixdd6 added 💻 client There are things to do on the client 🪲 bug Something isn't working labels Jan 5, 2025
@github-project-automation github-project-automation bot moved this to 📃 New Issues in GameVault: Public Roadmap Jan 5, 2025
@Sixdd6 Sixdd6 changed the title Steam big picture/in-home streaming, GV+ Steam Integration Issue Jan 5, 2025
@Sixdd6
Copy link
Author

Sixdd6 commented Jan 5, 2025

Did some further thesting, this is definitely related to launching through the gamevault uri. If you add the game executable to steam rather than the uri it launches properly and steam can recognize the process running.

Hopefully this info is helpful.

@Yelo420
Copy link
Contributor

Yelo420 commented Jan 6, 2025

Steam opens Gamevault via the URI protocol, that is correct. The reason for this is that Gamevault itself should perform the launch of the game, as other actions can be executed in addition to the actual launch of the game.

I have tested with my own games, but have not yet been able to reproduce the problem. I will try again with the games you mentioned.

“Game will start but will be in the background” what exactly does that mean in your case? Is there an app that pushes itself into the foreground? E.g. Steam or Gamevault itself?

@Sixdd6
Copy link
Author

Sixdd6 commented Jan 6, 2025

I went ahead and recorded a video showing what I'm seeing on my end. In the video I start by showing the steam shortcut to the link that gamevault created and launch it, then I show the shortcut I made directly to the exe and launch it. The difference is that the link gamevault creates causes steam to stay in the foreground but the one linking directly to the exe opens the game with steam in the background. This is also the behaviour I experience with all games added by gamevault, not just a few.

https://youtu.be/ADcKPkW_KNY

@Yelo420
Copy link
Contributor

Yelo420 commented Jan 6, 2025

Thanks for the video. Seems to be a known issue with Steam pushing itself to the foreground. Does this happen with all your games without exception? I'll take a closer look at this.

@Sixdd6
Copy link
Author

Sixdd6 commented Jan 6, 2025

It only happens to games from gamevault. Anything that I have added from steam rom manager are fine as well as native steam games themselves are fine.

EDIT1: Out of curiosity, are you on the Steam beta branch? I'm not and I wonder if that would fix the issue.
EDIT2: Tried the beta just now and no change.

@Yelo420
Copy link
Contributor

Yelo420 commented Jan 7, 2025

Do you have the same problem if you start the games directly via GameVault?

@Sixdd6
Copy link
Author

Sixdd6 commented Jan 7, 2025

Launching through Gamevault directly works as intended.

@Alfagun74 Alfagun74 moved this from 📃 New Issues to 🧑‍💻 In progress in GameVault: Public Roadmap Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working 💻 client There are things to do on the client
Projects
Status: 🧑‍💻 In progress
Development

No branches or pull requests

2 participants