Borderlands 3 · handler “Borderlands 3”
Version 8
Release notes
minor edits.
- Released
- Size
- 1.9 KB
- Downloads
- 1,879
- Check
- Verified
- SHA-256
- 233ea8f628a160977ee1974fabc0f947acdd85239f3d7e0f3c1a80f51dcfef1e
Files 1
| Path | Size |
|---|---|
| handler.js | 4.9 KB |
handler.js
Plain textHub.Handler.Version = 8; // Released at https://hub.splitscreen.me/ on Fri Feb 19 2021 21:53:10 GMT+0000 (UTC).
Hub.Handler.Id = "NkdddxaAdx6BKfdnt";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["OakGame\\Binaries\\Win64", "Engine\\Binaries\\ThirdParty\\steamworks\\steamv147\\win64"];
Game.FileSymlinkExclusions = ["steam_appid.txt", "xinput1_3.dll"];
Game.GameName = "Borderlands 3";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "Borderlands3.exe";
Game.SteamID = "397540";
Game.GUID = "Borderlands 3";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "OakGame\\Binaries\\Win64";
Game.UseNucleusEnvironment = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = false;
Game.CreateSteamAppIdByExe = true;
Game.LauncherTitle = "splashscreen";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Borderlands® 3";
Game.PreventWindowDeactivation = true;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.SetForegroundWindowElsewhere = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
//Game.PlayerSteamIDs = [ "76561198089222861"];
Game.UserProfileConfigPath = "Documents\\My Games\\Borderlands 3\\Saved\\Config\\WindowsNoEditor";
Game.UserProfileSavePath = "Documents\\My Games\\Borderlands 3\\Saved\\SaveGames";
Game.Description =
"Steam version only. Go to network options, network mode and select LAN in each instance. Limit the fps for better performance, you can also alt-tab to the Nucleus app window or press windows key+b to unfocus all instances and even out fps, the game windows will still remain on top.";
Game.PauseBetweenStarts = 50;
Game.SupportsMultipleKeyboardsAndMice = false;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;
Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameUserSettings.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("/Script/OakGame.OakGameUserSettings", "FullscreenMode", "2"),
new Nucleus.IniSaveInfo("/Script/OakGame.OakGameUserSettings", "ResolutionSizeX", Context.Width),
new Nucleus.IniSaveInfo("/Script/OakGame.OakGameUserSettings", "ResolutionSizeY", Context.Height)
]);
if (Context.IsKeyboardPlayer) {
Context.StartArguments = "-windowed -AlwaysFocus -nosplash -NoController";
} else {
Context.StartArguments = "-windowed -AlwaysFocus -nosplash";
}
var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\steamworks\\steamv147\\win64\\steam_settings");
System.IO.Directory.CreateDirectory(filePath);
var dlc = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\steamworks\\steamv147\\win64\\steam_settings\\DLC.txt";
var lines = [
"1396474=Borderlands 3: Season Pass 2",
"1396473=Borderlands 3: FL4K Final Form Pack",
"1396472=Borderlands 3: Moze Final Form Pack",
"1396471=Borderlands 3: Zane Final Form Pack",
"1396470=Borderlands 3: Amara Final Form Pack",
"1361830=Borderlands 3: Designer's Cut",
"1256890=Borderlands 3: Digital Deluxe Extras",
"1233062=Borderlands 3: Season Pass",
"1233061=Borderlands 3: Psycho Krieg and the Fantastic Fustercluck",
"1233060=Borderlands 3: Bounty of Blood",
"1232257=Borderlands 3: Guns, Love, and Tentacles",
"1232256=Borderlands 3: Moxxi's Heist of the Handsome Jackpot",
"1232255=Borderlands 3: Toy Box Weapons Pack",
"1232254=Borderlands 3: Retro Cosmetic Pack",
"1232253=Borderlands 3: Neon Cosmetic Pack",
"1232252=Borderlands 3: Gold Weapons Skins Pack",
"1232251=Borderlands 3: Gearbox Cosmetic Pack",
"1232250=Borderlands 3: Butt Stallion Pack",
"1232240=Borderlands 3: Booster Pack"
];
Context.WriteTextFile(dlc, lines);
};