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

Borderlands: Game of the Year Enhanced · handler “Borderlands GOTYE”

Version 3

Release notes

added setwindow hook

Released
Size
995 B
Downloads
42
Check
Unverified
SHA-256
c319fe612174be79d8dd2c431ccd7bfb00943068dc302e55a4e2349ff934abd4
Download v3 (.nc)All versions

Files 1

PathSize
handler.js2.0 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Sun Mar 15 2020 05:00:57 GMT+0000 (UTC).
Hub.Handler.Id = "yuMHLZGPtNNarNCSt";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_appid.txt"];
Game.KillMutex = ["UnrealEngine3_1002"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.KeyboardPlayerFirst = true;
Game.ExecutableName = "borderlandsgoty.exe";
Game.SteamID = "729040";
Game.GUID = "Borderlands GOTY Enhanced";
Game.GameName = "Borderlands GOTY Enhanced";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "Binaries\\Win64";
Game.LauncherTitle = "";
Game.ForceFinishOnPlay = true;
Game.SupportsPositioning = true;
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Borderlands® Game of the Year Edition";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = false;
Game.SetWindowHookStart = true;
Game.Description = "The first instance will always be the keyboard player if you select one instance with keyboard, alt-tab or click on it to control it. ";
Game.PauseBetweenStarts = 40;

Game.Play = function() {
  if (Player.IsKeyboardPlayer) {
    var Args = (Context.Args = " -windowed " + " -nosplash " + " -ResX= " + Context.Width + " -ResY= " + Context.Height);

    Context.StartArguments = Args;
  } else {
    var Args = (Context.Args = " -windowed " + " -nosplash " + " -NoMouse " + " -ResX= " + Context.Width + " -ResY= " + Context.Height);

    Context.StartArguments = Args;
  }
};