Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

GTFO · handler “GTFO CO-OP”

Version 3

Release notes

updated to work in latest legit steam version.

Released
Size
1.8 MB
Downloads
109
Check
Unverified
SHA-256
20a331f68852919b7ee288b3918143bea409f17ed7af136305330dcf2d9fcbff
Download v3 (.nc)All versions

Files 3

PathSize
GTFO/mono-2.0-bdwgc.dll199 KB
GTFO/mono-2.0-bdwgc_of.dll4.7 MB
handler.js3.4 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Wed Jun 24 2020 22:27:46 GMT+0000 (UTC).
Hub.Handler.Id = "oaJFWFvNvPG6kfgqc";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["GTFO_Data\\Plugins", "MonoBleedingEdge\\EmbedRuntime"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "mono-2.0-bdwgc.dll", "mono-2.0-bdwgc_of.dll", "XInput1_3.dll"];
Game.GameName = "GTFO";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "GTFO.exe";
Game.SteamID = "493520";
Game.GUID = "GTFO";
Game.HideTaskbar = false;
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "GTFO";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.FakeFocus = true;
Game.SetForegroundWindowElsewhere = true;
Game.SetWindowHook = true;
Game.UserProfileConfigPath = "AppData\\LocalLow\\10 Chambers Collective\\GTFO";
Game.Description =
  "CLOSE Steam before running this. To connect the instances host a lobby in one instance and select the copy lobby to clipboard option then the other instances can join by selecting the clipboard lobby option that will appear in red in the level selection menu. Set your main game to windowed if instances open in fullscreen.";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var Args = (Context.Args = " -windowed " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);

  Context.StartArguments = Args;

  var username = System.Environment.UserName;
  var txtPath = "C:\\Users\\" + username + "\\AppData\\LocalLow\\10 Chambers Collective\\GTFO\\GTFO_Settings.txt";
  var dict = ['55|        "x": ' + Context.Width + ".0,", '56|        "y": ' + Context.Height + ".0", '60|      "Value": 3'];
  Context.ReplaceLinesInTextFile(txtPath, dict);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\10 Chambers Collective\\GTFO", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\10 Chambers Collective\\GTFO", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\10 Chambers Collective\\GTFO", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\10 Chambers Collective\\GTFO", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\MonoBleedingEdge\\EmbedRuntime\\mono-2.0-bdwgc.dll");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "mono-2.0-bdwgc.dll");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\MonoBleedingEdge\\EmbedRuntime\\mono-2.0-bdwgc_of.dll");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "mono-2.0-bdwgc_of.dll");
  System.IO.File.Copy(savePkgOrigin, savePath, true);
};