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

7 Days to Die · handler “7 Days to Die”

Version 3

Release notes

multikeyboard support added

Released
Size
1.4 KB
Downloads
293
Check
Unverified
SHA-256
b8762bd8a9e285153edb537aa5948e9b5d3a6d926a7463b034c3228b9d7f3eee
Download v3 (.nc)All versions

Files 1

PathSize
handler.js3.5 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Sat Mar 21 2020 03:10:27 GMT+0000 (UTC).
Hub.Handler.Id = "RkbcpmL5dNbrDcfjL";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["7DaysToDie_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "7DaysToDie_EAC.exe", "7dLauncher.exe"];
Game.DirExclusions = ["EasyAntiCheat"];
Game.GameName = "7 Days to Die";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "7daystodie.exe";
Game.SteamID = "251570";
Game.GUID = "7 Days to Die";
Game.HideTaskbar = true;
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.ForceFinishOnPlay = true;
Game.Hook.ForceFocusWindowName = "7 Days To Die";
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", "xinput9_1_0.dll"];
Game.PauseBetweenStarts = 30;
Game.FakeFocus = true;
Game.PromptBetweenInstances = true;
Game.ResetWindows = true;
Game.SetForegroundWindowElsewhere = true;
Game.Description =
  "Join in the server before starting the next instance. You can use the mouse in the main menu. Sometimes, you need a second try for join in the server. Press the END key to lock the input for all instances to have their own cursor. Press the END key again to unlock the input. You can also use CTR+Q to close Nucleus and all its instances.";

Game.SupportsMultipleKeyboardsAndMice = true;

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 = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "Fullscreen_h2248877754", 0, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\The Fun Pimps\\7 Days To Die", "currentresolutuion_h2338577015", Context.Width + "x" + Context.Height, Nucleus.RegType.Binary);
};