Running BAT script upon connecting from Moonlight #64
Unanswered
judsonjames
asked this question in
Sunshine
Replies: 0 comments 15 replies
-
Are you the same person that was asking about this yesterday in the discord server? Without seeing your bat file, I am just guessing that bat is not set to use a specific working directory, and then it fails to find the executable file. |
Beta Was this translation helpful? Give feedback.
13 replies
-
@ReenigneArcher i got this working using a batch file but wasn't able to do so with the script you specified. regardless, working fine with the batch file. question, though: how might i go about having sunshine detect when gamestream_launchpad.exe exits and end the stream? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've setup and am very satisfied with using Sunshine + Moonlight to stream games from my desktop to other places in my home. However, my main desktop is running a Samsung Odyssey G9 Neo as my only monitor, a 32:9 1440p screen. I've gone through the process and fixed my Nvidia control panel to allow my screen to run at 2560x1440p if I want.
Now, I have found success using GameStream LaunchPad when running the BAT scripts needed to adjust my screen to the correct resolution/aspect ratio to comfortably stream my games at 16:9 resolutions from a 32:9 screen. However, I'm having issues getting this BAT script to run under the
Applications
section of Sunshine's UI. I have a path specified for where the script is located, and can confirm that the script starts when I supply the path to theCommand
field, but for whatever reason this starts the game display of my choice and then immediately crashes Sunshine. I don't have error codes to report since I don't know where to pull the logs. However, I then tried to follow the build-in example for Steam Big Picture Mode (BPM) and run the custom BAT as a detached command, but then it can't locate the base gamestream_launchpad.exe that's needed.So, my question to the people of Sunshine is if anyone has a working configuration using GameStream LaunchPad or another screen size changing solution?
Beta Was this translation helpful? Give feedback.
All reactions