Useful commands for sunshine automation.
You can download the latest release here.
--stream-on / --stream-off
This will create or delete a file (%APPDATA%\sunshine-status\status.txt
).
--set-resolution "WIDTH" "HEIGHT" "REFRESH_RATE"
:
This will set resolution from the primary monitor.
Useful for setting client resolution as do command:
cmd /c "C:\path\to\sunshine-toolbox.exe" --set-resolution %SUNSHINE_CLIENT_WIDTH% %SUNSHINE_CLIENT_HEIGHT% %SUNSHINE_CLIENT_FPS%
And to reset to default resolution as undo command:
cmd /c "C:\path\to\sunshine-toolbox.exe" --set-resolution 2560 1440 144
Be sure your monitor has support for your client resolution. If not, you can add them using external tools.
(AMD / Nvidia software, custom-resolution-utility, etc)
--close-bigpicture
This will just close Steam Big Picture if the window exist.
Useful to add as undo command for Steam Big Picture app.
--bigpicture-dummyload
This is meant to be used as main command for Steam Big Picture app.
This script will end when big picture window is closed.
I use this on my TV that has no option to quit app after a stream.
Just need to close Big Picture window to end the stream.
Use --help or -h to get documentation.