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

Rum & Gun · handler “Rum&Gun”

Version 1

Release notes

First Release

Released
Size
1.3 KB
Downloads
143
Check
Verified
SHA-256
f75c7f7af47a1ee3df3ff6b72a71175029027504c3e1b1e321d401a932dbb585
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.9 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Apr 04 2021 04:52:04 GMT+0000 (UTC).
Hub.Handler.Id = "Nt25atMhupr5ErtCr";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["resources\\app"];
Game.FileSymlinkExclusions = ["steam_appid.txt"];
Game.FileSymlinkCopyInstead = ["config.json"];
Game.NeedsSteamEmulation = false;
Game.CreateSteamAppIdByExe = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "Rum and Gun.exe";
Game.SteamID = "1210800";
Game.GUID = "Rum and Gun";
Game.GameName = "Rum and Gun";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Rum and Gun";
Game.HookFocus = true;
Game.ResetWindows = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.Hook.CustomDllEnabled = false;
Game.Description =
  "IMPORTANT: Set your main game to windowed in the game options before running this. Set an instance to windowed in the game options if it doesn't set to windowed after the loading screen. Start a game in one instance, go to the network settings and select share a game, then join in the other instance in the same network option by writing localhost in the IP field then clicking join. Map the gamepads right stick up and down directions in the game options if they are not mapped. Enable the multikeyboards and mice line in the script if you want to test multiple keyboards and mice.";
Game.KeepSymLinkOnExit = true;
Game.PauseBetweenProcessGrab = 17;
Game.PauseBetweenStarts = 30;

Game.SupportsMultipleKeyboardsAndMice = false;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = false;
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.DrawFakeMouseCursor = true;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  /*var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\resources\\app\\config.json";
       var dict = [
       '1|"windowed":false,|"windowed":true,'];
   
       Context.ReplacePartialLinesInTextFile(txtPath, dict);*/

  if (Context.HasKeyboardPlayer !== true) {
    Game.SupportsMultipleKeyboardsAndMice = false;
  }
};