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

Cave Story · handler “Cave Story Multiplayer”

Version 1

Release notes

First Release

Released
Size
1.1 KB
Downloads
308
Check
Verified
SHA-256
ad3dec722ade4b89743fed3ec3de9d4d92d2cca29d3e62053c5ac5f85d3923b7
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.1 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Dec 30 2021 00:10:01 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "j6dAApkQTNWZTT8TA";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.ExecutableContext = ["SDL2_net.dll"];
Game.FileSymlinkExclusions = ["xinput1_4.dll"];
Game.FileSymlinkCopyInstead = ["Doukutsu.ini"];
Game.GameName = "Cave Story Multiplayer";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "Doukutsu.exe";
Game.SteamID = "200900";
Game.GUID = "Cave Story Multiplayer";
Game.MaxPlayers = 5;
Game.MaxPlayersOneMonitor = 5;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Cave Story Multiplayer ~ Doukutsu Monogatari";
Game.PreventWindowDeactivation = true;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.DontRemoveBorders = true;
Game.ResetWindows = true;
Game.SetWindowHookStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.Hook.CustomDllEnabled = false;
Game.SupportsKeyboard = true;
Game.Description =
  "IMPORTANT: Run your main game, change and save some options before launching this, start a new game too. Host a netplay game in one instance and the others can join via add server. Script for the latest unstable Cave Story Multiplayer windows version.";
Game.KeepSymLinkOnExit = true;
Game.PauseBetweenStarts = 25;

Game.Play = function() {
  var videoconfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Doukutsu.ini");
  Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("#OPTIONSMODE__JOYSTICK", "JoystickBind_SELECT", "7"),
    new Nucleus.IniSaveInfo("#OPTIONSMODE__DISPLAY", "DisplayMode", "0"),
    new Nucleus.IniSaveInfo("#OPTIONSMODE__SERVER", "ServerName", "NucleusCo-op"),
    new Nucleus.IniSaveInfo("#OPTIONSMODE__GAMEPLAY", "NetName", Context.Nickname)
  ]);
};