JMTK / SunshineGameFinder

Searches your computer for various common game install paths
https://jmtk.co
13 stars 4 forks source link

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

Open JMTK opened 1 year ago

JMTK commented 1 year ago

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

BigBrainAFK commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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