TOXIKK · handler “TOXIKK”
Version 1
Release notes
first release.
- Released
- Size
- 1.7 KB
- Downloads
- 229
- Check
- Verified
- SHA-256
- 056b802ef9d40563cb13240ec07d19a426268983dcd6931416febfeabf30168b
Files 1
| Path | Size |
|---|---|
| handler.js | 4.4 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Aug 18 2020 22:32:03 GMT+0000 (UTC).
Hub.Handler.Id = "LDbSmML8fAXaEGaCf";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "Yes"];
Game.AddOption("Will you use more than 4 xinput gamepads?", "Only select yes if you have and will use more than 4 xinput gamepads.", "Reroute", answers1);
Game.ExecutableContext = ["ApexFrameworkCHECKED_x86.dll"];
Game.DirSymlinkExclusions = ["Binaries\\Win32", "Binaries\\Win64", "TOXIKKServers\\TOXIKKServerLauncher\\Script", "UDKGame\\Config"];
Game.FileSymlinkCopyInstead = [
"ToxikkLauncher.exe",
"UE3ShaderCompileWorker.exe",
"steam_appid.txt",
"Launch Toxikk DedicatedServer1.bat",
"Launch Toxikk DedicatedServer2.bat",
"Launch Toxikk Simple Internet DedicatedServer.bat",
"Launch Toxikk Simple Lan DedicatedServer.bat",
"TOXIKKServerLauncher.bat",
"UDKSystemSettings.ini",
"UDKEngine.ini"
];
Game.GameName = "TOXIKK";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "TOXIKK.exe";
Game.SteamID = "324810";
Game.GUID = "TOXIKK";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.BinariesFolder = "Binaries\\Win32";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = false;
Game.LauncherTitle = "";
Game.LauncherExe = "Binaries\\ToxikkLauncher.exe";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "TOXIKK (32-bit, DX9)";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = true;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.UseDirectX9Wrapper = true;
Game.HookFocus = true;
Game.Description =
"Create a LAN server in one instance and join using the server browser in the others, select LAN in the server browser too. When the first instance opens click it with the cursor. Use the mouse cursor to select the menus as the game lacks gamepad support in menus, gamepads will work in-game, alt-tab between instances to use the mouse cursor. Needs steam open to play and the full game upgrade.";
Game.PauseBetweenStarts = 50;
Game.SupportsMultipleKeyboardsAndMice = false;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = true;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = true;
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 = false;
Game.HookReRegisterRawInputMouse = false;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
if (Player.IsKeyboardPlayer) {
Context.StartArguments = " ?FullscreenLaunch -Fullscreen -AlwaysFocus -nosplash -nomoviestartup";
} else {
Context.StartArguments = " ?FullscreenLaunch -Fullscreen -AlwaysFocus -nosplash -nomoviestartup";
}
var savePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\UDKGame\\Config\\UDKSystemSettings.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("SystemSettings", "Fullscreen", true),
new Nucleus.IniSaveInfo("SystemSettings", "ResX", Context.Width),
new Nucleus.IniSaveInfo("SystemSettings", "ResY", Context.Height)
]);
var savePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\UDKGame\\Config\\UDKEngine.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Engine.Engine", "bPauseOnLossOfFocus", false),
new Nucleus.IniSaveInfo("Engine.GameEngine", "bPauseOnLossOfFocus", false)
]);
var reroute = Context.Options["Reroute"];
if (reroute == "No") {
//You can use only ONE XboxOne controller and you can't use the keyboard at the same time. You must click/alt+tab on the corresponding instance to make it work.
Game.Hook.XInputReroute = false;
}
if (reroute == "Yes") {
Game.Hook.CustomDllEnabled = true;
Game.Hook.UseAlpha8CustomDll = true;
}
};