Risk of Rain · handler “Risk of Rain”
Version 1
Release notes
Has native shared-screen coop, but with this script everyone can have their own screen and use multiple monitors. Read the script notes in the UI carefully. Authors and Contributors of this script: Zensuu from the Split Screen Dreams Discord.
- Released
- Size
- 1.4 KB
- Downloads
- 75
- Check
- Verified
- SHA-256
- cd049530d6b915ce4db3a71e029a65608b7f2918720f8248f4cb1d57a1e02ccb
Files 1
| Path | Size |
|---|---|
| handler.js | 3.0 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat Dec 26 2020 18:29:16 GMT+0000 (UTC).
Hub.Handler.Id = "w2fQxFg6GFDFAbPAZ";
Hub.Maintainer.Name = "Zensuu";
Hub.Maintainer.Id = "sshRgms8c4xET4sCy";
Game.FileSymlinkExclusions = ["steam_appid.txt"];
Game.FileSymlinkCopyInstead = ["Save.ini", "Prefs.ini"];
Game.NeedsSteamEmulation = false;
Game.CreateSteamAppIdByExe = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.KeepSymLinkOnExit = true;
Game.GameName = "Risk Of Rain";
Game.SteamID = "248820";
Game.GUID = "RiskOfRain";
Game.ExecutableName = "Risk of Rain.exe";
Game.SupportsKeyboard = true;
Game.LauncherTitle = "";
Game.MaxPlayersOneMonitor = 4;
Game.MaxPlayers = 4;
Game.HideTaskbar = true;
Game.NotTopMost = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Risk of Rain";
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.RefreshWindowAfterStart = false;
Game.SetWindowHookStart = true; //Prevent games from resizing window on their own | Hooks upon game starting up (see Game.SetWindowHook for an alternative)
Game.BlockRawInput = false; //Disable raw input devices in game | default: false
Game.UseForceBindIP = false; //Set up game instances with ForceBindIP; each instance having their own IP
Game.ResetWindows = false;
Game.UserProfileSavePath = "";
Game.Description =
"Has native local coop, but this allows each player to have there own screen. Change video settings to your liking in each instance before hosting or joining a match, you may need to restart to get settings to apply properly the first time. Host an online game with the first instance before launching the second, launch and connect each instance to the server using the localhost ip (127.0.0.1) before launching the next. Sometimes they each have their own cursor but most of the time you will need to control the ui in all instances using the mouse. Select match options/characters and start the match before installing hooks. The keyboard player needs their instance in focus in order to control their character, alt tab to it or click on it after installing hooks. Non-standard resolutions will be stretched.";
Game.PauseBetweenStarts = 10;
Game.PromptBetweenInstances = false;
Game.Play = function() {
var savePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Prefs.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Video Options", "fullscreen", "0"), new Nucleus.IniSaveInfo("Joystick", "joystick_on", "1")]);
if (Context.IsKeyboardPlayer) {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Prefs.ini");
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Joystick", "joystick_on", "0")]);
}
};