JMTK / JMTK/SunshineGameFinder

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

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
46
Forks
12
PR merge metrics
No merged PRs in 30d

Description

# 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

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the launcher handles gamelaunchhelper.exe and compare that with launching a Game Pass executable directly. Reproduce the detached and direct-launch cases, including the "No video received from host" result. Done means identifying a reliable launch path that lets the game close when streaming ends while still producing video.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.