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

Raft · handler “RaftMP”

Version 3

Release notes

Updated everything. New Registry codes and resizing fixes.

Released
Size
1.7 KB
Downloads
1,262
Check
Verified
SHA-256
241126eb7b4c34043de3a78cbc80c1d5844efe8bc1454afe078250437dbecbac
Download v3 (.nc)All versions

Files 1

PathSize
handler.js3.8 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Wed May 05 2021 02:30:18 GMT+0000 (UTC).
Hub.Handler.Id = "f4Rddj3FbebKF4whb";
Hub.Maintainer.Name = "The Shnazberry";
Hub.Maintainer.Id = "sBteBrsSMrrE7gMjj";

Game.ExecutableContext = ["Raft_Data"];
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 = 4;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Raft";
Game.FakeFocus = true;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.RefreshWindowAfterStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = false;
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\LocalLow\\Redbeet Interactive\\Raft\\User";
Game.Description =
  "On first run set each instance to windowed and in the custom resolution you want (or to 640x480) in the game settings for the instances to resize correctly. After all the instances have launched, resized and positioned correctly, 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 whe you finish playing. You can also use CTRL+Q to close Nucleus and all its instances. Create/Start a world in one instance, then to join, the other players press left Shift+Tab to open the overlay, right click the host player and click 'Join'. If the overlay does not show make sure you disable any external overlay apps that could be interfering (e.g. MSI Afterburner). Load times are drastically increased, reduce in-game graphic setings to improve performance. Add custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them. Multiple keyboards and mice only as the game lacks native gamepad support.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 35;

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() {
  var Args = (Context.Args = "-windowed" + " -screen-width " + Context.Width + " -screen-height " + Context.Height);

  Context.StartArguments = Args;

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Redbeet Interactive\\Raft", "Screenmanager Fullscreen mode_h3630240806", 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);

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