Resident Evil 5 · handler “Resident Evil 5”
Version 1
Release notes
First Release
- Released
- Size
- 1.3 KB
- Downloads
- 68
- Check
- Unverified
- SHA-256
- fb58a16ab6edcef9a8dddf5deaf9a149149440ad8ef3320519c7d2dbb1679da7
Files 1
| Path | Size |
|---|---|
| handler.js | 3.5 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Dec 29 2019 06:11:47 GMT+0000 (UTC).
Hub.Handler.Id = "q926yWzpZZNiv7Cck";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.KillMutex = ["sBioMain"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "re5dx9.exe";
Game.SteamID = "21690";
Game.GUID = "Resident Evil 5";
Game.GameName = "Resident Evil 5";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "RESIDENT EVIL 5";
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.PreventWindowDeactivation = true;
Game.HookFocus = true;
Game.KeepSymLinkOnExit = true;
Game.PauseBetweenStarts = 20;
Game.Play = function() {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\CAPCOM\\RESIDENT EVIL 5\\config.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("DISPLAY", "FullScreen", "OFF"),
new Nucleus.IniSaveInfo("Window", "MainX", Context.Width),
new Nucleus.IniSaveInfo("Window", "MainY", Context.Height),
new Nucleus.IniSaveInfo("DISPLAY", "AdjustAspect", "ON"),
new Nucleus.IniSaveInfo("DISPLAY", "resolution", Context.Width + "x" + Context.Height)
]);
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_VERSION002",
"STEAMAPPLIST_INTERFACE_VERSION001",
"STEAMMUSIC_INTERFACE_VERSION001",
"STEAMMUSICREMOTE_INTERFACE_VERSION001",
"STEAMCONTROLLER_INTERFACE_VERSION"
];
Context.WriteTextFile(autoExec, lines);
if (Context.PlayerID == 0) {
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\settings\\user_steam_id.txt";
var lines = ["76561198134585131"];
Context.WriteTextFile(autoExec, lines);
}
if (Context.PlayerID == 1) {
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\settings\\user_steam_id.txt";
var lines = ["76561198131394153"];
Context.WriteTextFile(autoExec, lines);
}
if (Context.PlayerID == 2) {
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\settings\\user_steam_id.txt";
var lines = ["76561198011792067"];
Context.WriteTextFile(autoExec, lines);
}
if (Context.PlayerID == 3) {
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\settings\\user_steam_id.txt";
var lines = ["76561198043762785"];
Context.WriteTextFile(autoExec, lines);
}
};