Dead Rising 2 · handler “DeadRising2”
Version 1
Release notes
First release
- Released
- Size
- 1.3 KB
- Downloads
- 12
- Check
- Unverified
- SHA-256
- ec1a5b8d85f76d8b0fdf4131dfd0c8a011515cf61915b0029549736baa5f135b
Files 1
| Path | Size |
|---|---|
| handler.js | 3.2 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Dec 08 2019 04:04:26 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.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.HookInitDelay = false;
Game.KeepSymLinkOnExit = true;
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);
};