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

Dead Rising 2 · handler “DeadRising2”

Version 2

Release notes

updated to work on latest version

Released
Size
1.4 KB
Downloads
10
Check
Unverified
SHA-256
416625887c96a3de1f6b0cfb7f625c96c7e7402167e6aa494ffddabfb5a0625b
Download v2 (.nc)All versions

Files 1

PathSize
handler.js3.3 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Feb 11 2020 20:52:58 GMT+0000 (UTC).
Hub.Handler.Id = "hqwffgmFCJHmWEjPt";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "d3d9.dll"];
Game.KillMutex = ["DeadRising2", "ThreadPoolEvent0", "ThreadPoolEvent1", "ThreadPoolEvent2", "ThreadPoolEvent3"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.UseDirectX9Wrapper = true;
Game.HandlerInterval = 100;
Game.RenameNotKillMutex = true;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "deadrising2.exe";
Game.SteamID = "45740";
Game.GUID = "Dead Rising 2";
Game.GameName = "Dead Rising 2";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "DeadRising II";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.UseX360ce = false;
Game.XboxOneControllerFix = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\45740\\remote";
Game.PauseBetweenStarts = 20;

Game.Play = function() {
  /*        var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\Dead Rising 2\\rendersettings.ini";

	var fileWidth = Context.FindLineNumberInTextFile(savePath, "RenderWidth =", Nucleus.SearchType.StartsWith);
	var fileHeight = Context.FindLineNumberInTextFile(savePath, "RenderHeight =", Nucleus.SearchType.StartsWith);
	
	Context.ReplaceLinesInTextFile(savePath, [
		fileWidth + "|RenderWidth = " + Context.Width,
		fileHeight + "|RenderHeight = " + Context.Height
	]);*/

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings");
  System.IO.Directory.CreateDirectory(filePath);

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
  var lines = [
    "SteamClient015",
    "SteamGameServer012",
    "SteamGameServerStats001",
    "SteamUser017",
    "SteamFriends014",
    "SteamUtils007",
    "SteamMatchMaking009",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION011",
    "STEAMAPPS_INTERFACE_VERSION006",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION012",
    "STEAMSCREENSHOTS_INTERFACE_VERSION002",
    "STEAMHTTP_INTERFACE_VERSION002",
    "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001",
    "STEAMCONTROLLER_INTERFACE_VERSION",
    "STEAMUGC_INTERFACE_VERSION002",
    "STEAMAPPLIST_INTERFACE_VERSION001",
    "STEAMMUSIC_INTERFACE_VERSION001",
    "STEAMMUSICREMOTE_INTERFACE_VERSION001"
  ];

  Context.WriteTextFile(autoExec, lines);

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings\\DLC.txt";
  var lines = ["353053=Sports", "353052=Soldier", "353051=Psycho", "353050=Ninja"];

  Context.WriteTextFile(autoExec, lines);
};