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

Raft · handler “RaftMP”

Version 2

Release notes

Cursors are more on point, resizing works better now.

Released
Size
1.3 KB
Downloads
2,850
Check
Verified
SHA-256
0b95e7134c4ef927724fdd7d94bd719f3d6900ea6df70b737948bd973ca4cf24
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 Sun Apr 19 2020 23:31:16 GMT+0000 (UTC).
Hub.Handler.Id = "f4Rddj3FbebKF4whb";
Hub.Maintainer.Name = "The Shnazberry";
Hub.Maintainer.Id = "sBteBrsSMrrE7gMjj";

Game.DirSymlinkExclusions = ["Raft_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_api64.dll", "steam_appid.txt"];
Game.GameName = "Raft";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.ExecutableName = "Raft.exe";
Game.SteamID = "648800";
Game.GUID = "Raft";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 2;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.LauncherTitle = "";
Game.FakeFocus = true;
Game.HookFocus = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Raft";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = false;
Game.Hook.CustomDllEnabled = false;
Game.PromptBetweenInstances = true;
Game.ResetWindows = true;
Game.Description =
  "Use the END to unlock input and stop splitscreen when you finish playing. You can also use CTR+Q to stop all nucleus instances. To join the other player, Shift+Tab to open the overlay, then right click the player to join and click 'Join'. Load times are drastically increased. 2 Players to 1 monitor, otherwise the HUD is out of bounds. Best played with 1 monitor per player.";
Game.SetForegroundWindowElsewhere = true;
Game.PauseBetweenStarts = 25;

Game.SupportsMultipleKeyboardsAndMice = true;

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 = 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;

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Redbeet Interactive\\Raft", "Screenmanager Fullscreen mode_h3981298716", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Redbeet Interactive\\Raft", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Redbeet Interactive\\Raft", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
};