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

Dead Rising 2: Off the Record · handler “DeadRising2OtR”

Version 3

Release notes

FWS for custom resolutions.

Released
Size
1.4 KB
Downloads
493
Check
Verified
SHA-256
64eb58793ccdd9855c466928f7225b34da0f8b9e82b43fe3dfadc56f38d94430
Download v3 (.nc)All versions

Files 1

PathSize
handler.js3.5 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Tue Mar 10 2020 07:23:58 GMT+0000 (UTC).
Hub.Handler.Id = "gzXTknCXWEQ7drKeM";
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 = "deadrising2otr.exe";
Game.SteamID = "45770";
Game.GUID = "Dead Rising 2 Off The Record";
Game.GameName = "Dead Rising 2: Off The Record";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Dead Rising 2: Off The Record";
Game.HasDynamicWindowTitle = true;
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.PreventWindowDeactivation = true;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\45770\\remote";
//Game.FlawlessWidescreen = "DeadRising2OTR";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  /*       var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\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 = 2560",
		fileHeight + "|RenderHeight = 1080"
	]);*/

  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",
    "STEAMUGC_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 = ["45773=Chef", "45774=Cosplay", "45775=Cyborg", "45776=Fireman"];

  Context.WriteTextFile(autoExec, lines);
};