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

Livelock · handler “Livelock”

Version 1

Release notes

First Release

Released
Size
1.1 KB
Downloads
40
Check
Unverified
SHA-256
f3c0e79f98bae57344a3c757e285a49f85fffeccd219d6796e2ebeb413619926
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.2 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Mar 08 2020 05:32:10 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", "VideoSettings.xml", "SaveGame.sav"];
Game.GameName = "Livelock";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
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.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.SetWindowHook = true;
Game.HookFocus = true;
Game.BlockRawInput = false;
Game.KeepSymLinkOnExit = true;
Game.Description =
  "Only working with one player using a gamepad and the other the keyboard and mouse, in the keyboard instance go to the game settings and disable all the gamepad mappings by right clicking them, in-game alt-tab to the keyboard instance if the cursor does not work correctly in the keyboard instance.";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\VideoSettings.xml");
  var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "VideoSettings.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  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);
};