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

Livelock · handler “Livelock”

Version 2

Release notes

multikeyboard mice support and improvements.

Released
Size
1.3 KB
Downloads
191
Check
Verified
SHA-256
3b0bb5be45858cbaad60f965431c2e588450c9a1543fca073f8e598f89aa3e7d
Download v2 (.nc)All versions

Files 1

PathSize
handler.js3.0 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Wed Oct 28 2020 02:25:48 GMT+0000 (UTC).
Hub.Handler.Id = "spS2u8fRCsjxF7Eb9";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Livelock_Data\\Plugins", "SaveGame", "Livelock_Data\\Mono"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_api64.dll", "steam_appid.txt", "SaveGame.sav"];
Game.FileSymlinkCopyInstead = ["VideoSettings.xml"];
Game.GameName = "Livelock";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "livelock.exe";
Game.SteamID = "251230";
Game.GUID = "Livelock";
Game.MaxPlayers = 3;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Livelock";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.CreateSingleDeviceFile = false;
Game.SetWindowHook = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.BlockRawInput = true;
Game.StartHookInstances = "2,3,4";
Game.KeepSymLinkOnExit = true;
Game.Description =
  "IMPORTANT: Only working with one gamepad (cause of Unity horrid default controller input, connect only one gamepad) and multiple keyboards and mice. Press the END key to unlock the input and the main cursor when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances.";
Game.PauseBetweenStarts = 30;

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

Game.Play = function() {
  var Args = (Context.Args = " -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);

  Context.StartArguments = Args;

  var path = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\VideoSettings.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//ScreenmanagerIsFullscreenmode", "0");
  Context.ChangeXmlNodeInnerTextValue(path, "//ScreenmanagerResolutionWidth", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//ScreenmanagerResolutionHeight", Context.Height);
};