GTFO · handler “GTFO CO-OP”
Version 2
Release notes
Updated to work on todays update.
- Released
- Size
- 1.8 MB
- Downloads
- 18
- Check
- Unverified
- SHA-256
- d474370dda1dc117a96c7ee8f7144390e421910e8971a40e9ee0d46b8887c938
Files 3
| Path | Size |
|---|---|
| GTFO/mono-2.0-bdwgc.dll | 199 KB |
| GTFO/mono-2.0-bdwgc_of.dll | 4.7 MB |
| handler.js | 3.4 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Thu Jun 11 2020 21:04:16 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.";
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 = ['52| "x": ' + Context.Width + ".0,", '53| "y": ' + Context.Height + ".0", '57| "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);
};