✨ This utility automatically switches between the WGC and DDX capture methods in Sunshine. When using WGC, it’s not possible to stream while on the lock screen, so this program will switch to DDX when the computer is locked, and switch back to WGC when the computer is unlocked. Works with both Sunshine and Apollo. Now includes an automatic UAC-handling system when in WGC mode.
Sunshine WGC Boot (Autologon and no-pw), triggered at logon, to handle boot scenarios where Autologon is enabled or no password is set.capture=wgc flag when WGC is to be used.Deactivate Tasks Trigger (also available as Activate Tasks Trigger to restore the original functionality). You can also launch Sunshine using the Sunshine DDX and Sunshine WGC shortcuts from the Start menu and desktop.config.ini.config.ini, Reswitch defines how the script behaves when UAC prompts:
0: Do nothing. Sunshine remains in WGC mode, and the WGC icon stays visible in the system tray.1: Switch to DDX and remain there (you’ll need to reconnect after switching).2: Temporarily switch to DDX, and return to WGC once the UAC window is closed (requires reconnecting twice from the client). After returning to WGC, the script remains active in the system tray and continues to monitor for future UAC prompts.-1: Launch Sunshine in WGC mode and then close the WGC script. (no WGC icon in the system tray).ProgToUse = Apollo in config.ini and the program is ready to use!Autologon is enabled or no password is set.Wait for Desktop (Autologon and no-pw).exe) which waits until the desktop has focus before launching Sunshine WGC. This is necessary because directly executingSunshine WGC during a traditional login (with a password) causes streaming to fail, as Sunshine WGC would start before the password prompt appears.Sunshine WGC.Autologon and have a password, you can disable this task by running Deactivate autologon and no-pw trigger.exe or Delete autologon and no-pw trigger.exe.Autologon is enabled or no password is set but you prefer not to use this task, you can deactivate or delete it first, then manually copy the Sunshine WGC.lnk shortcut to the shell:startup folder. However, this approach adds a delay before Sunshine WGC starts.Sunshine WGC Boot (Autologon and no-pw) task to run Sunshine WGC.exe directly.DdxPersistentIcon(andScript) to 0 in config.ini.[Icons] section in config.ini..\wgc.ico, just write wgc.ico.