From 13559a11cb84633f857a4278f9f6b06917c41d98 Mon Sep 17 00:00:00 2001 From: Iwan Timmer Date: Sat, 16 Aug 2014 12:33:53 +0200 Subject: [PATCH] Can now disable sops --- src/com/limelight/Limelight.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/limelight/Limelight.java b/src/com/limelight/Limelight.java index 7b7d708..4b100df 100644 --- a/src/com/limelight/Limelight.java +++ b/src/com/limelight/Limelight.java @@ -161,6 +161,7 @@ public class Limelight implements NvConnectionListener { boolean parse = true; boolean fake = false; boolean tests = true; + boolean sops = true; String mapping = null; String audio = "sysdefault"; String video = null; @@ -254,6 +255,8 @@ public class Limelight implements NvConnectionListener { } } else if (args[i].equals("-notest")) { tests = false; + } else if (args[i].equals("-nosops")) { + sops = false; } else if (args[i].equals("-v")) { debug = Level.WARNING; } else if (args[i].equals("-vv")) { @@ -283,6 +286,7 @@ public class Limelight implements NvConnectionListener { System.out.println("\t-30fps\t\tUse 30fps"); System.out.println("\t-60fps\t\tUse 60fps [default]"); System.out.println("\t-bitrate \t\tSpecify the bitrate in Kbps"); + System.out.println("\t-nosops\t\t\tDon't allow GFE to modify game settings"); System.out.println("\t-input \tUse as input. Can be used multiple times"); System.out.println("\t\t\t[default uses all devices in /dev/input]"); System.out.println("\t-mapping \tUse as gamepad mapping configuration file"); @@ -293,7 +297,7 @@ public class Limelight implements NvConnectionListener { System.exit(5); } - StreamConfiguration streamConfig = new StreamConfiguration("Steam", width, height, refresh, bitrate); + StreamConfiguration streamConfig = new StreamConfiguration("Steam", width, height, refresh, bitrate, sops); Limelight limelight = new Limelight(host);