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

Why do Xbox Game Pass exe's have to run as detached? #7

Open
JMTK opened this issue Mar 25, 2023 · 3 comments
Open

Why do Xbox Game Pass exe's have to run as detached? #7

JMTK opened this issue Mar 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@JMTK
Copy link
Owner

JMTK commented Mar 25, 2023

Problem

I think it's related to one of the existing Sunshine issues with administrative mode on Windows. If I had to guess it's more of an issue with the jankiness of Xbox Game Pass exes in general, but obviously running as detached can be annoying because the app won't close when the stream ends/is quit

Solution

Unsure

Workaround

  • Run Game Pass games as detached
  • Instead of launching gamelaunchhelper.exe, can we try to directly find the exe?
    • No, when I did this I got a "No video received from host error" but it DID launch the game on my host
@JMTK JMTK added the bug Something isn't working label Mar 25, 2023
@BigBrainAFK
Copy link

BigBrainAFK commented Mar 28, 2023

They use a launch wrapper thats why. Sunshine does not capture all subprocess/children of the cmd process and thus if you launch the XBox game and the launch wrapper ends after it spawned the actual game process the stream ends.

This is a general issue for MMOs and such as well

@JMTK
Copy link
Owner Author

JMTK commented Mar 28, 2023

I even tried launching the EXE directly of the game, but I would get some weird error in Moonlight about making sure my UDP ports were open, but it would only happen for Xbox games.

@BigBrainAFK
Copy link

I even tried launching the EXE directly of the game, but I would get some weird error in Moonlight about making sure my UDP ports were open, but it would only happen for Xbox games.

As far as I know it always uses the launch wrapper even when trying to launch the game directly it will use the launch wrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants