Resident Evil 6 · handler “ResidentEvil6”
Version 2
Release notes
UI options and improvements.
- Released
- Size
- 1.9 KB
- Downloads
- 6,513
- Check
- Verified
- SHA-256
- fdc0e1ea20175e819be631c1047b7c1508c0e5dbea9d35cb8d9e3efed95b46f3
Files 1
| Path | Size |
|---|---|
| handler.js | 4.6 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Fri Jun 25 2021 03:32:49 GMT+0000 (UTC).
Hub.Handler.Id = "EBh2WSW2hhwP3etSq";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "Yes"];
var answers2 = ["No", "Yes"];
Game.AddOption("Block keyboard/mouse input in gamepad instances?", "Select yes if you want to block all the kb/m input in all instances.", "MKB", answers1);
Game.AddOption("Use Flawless Widescreen?", "Select yes if you want to fix the hud/menus in ultra wide custom resolutions.", "FW", answers2);
Game.KillMutex = ["sBioMain"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "local_save.txt", "dinput8.dll", "xinput1_3.dll"];
Game.UseNucleusEnvironment = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "bh6.exe";
Game.SteamID = "221040";
Game.GUID = "Resident Evil 6";
Game.GameName = "Resident Evil 6";
Game.MaxPlayers = 6;
Game.MaxPlayersOneMonitor = 6;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "RESIDENT EVIL 6";
Game.HasDynamicWindowTitle = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.Hook.DInputEnabled = false;
Game.UseDInputBlocker = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.UserProfileConfigPath = "Documents\\CAPCOM\\RESIDENT EVIL 6";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\221040\\remote";
//Game.PlayerSteamIDs = ["76561198134585131"];
Game.Description =
"If you want the instances to resize correctly you need to create custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them. Use the Flawless Widescreen Nucleus UI option if you want to fix the hud/menus stretching when using ultra wide custom resolutions like 1920x540.";
Game.GamePlayBeforeGameSetup = true;
Game.PauseBetweenStarts = 30;
Game.SupportsMultipleKeyboardsAndMice = false;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;
Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = false;
Game.HookReRegisterRawInputMouse = false;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
var VideoConfig = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\config.ini";
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("DISPLAY", "Resolution", Context.Width + "x" + Context.Height),
new Nucleus.IniSaveInfo("DISPLAY", "Aspect", "DEFAULT"),
new Nucleus.IniSaveInfo("DISPLAY", "FullScreen", "OFF")
]);
var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
var lines = [
"SteamClient012",
"SteamGameServer011",
"SteamGameServerStats001",
"SteamUser016",
"SteamFriends013",
"SteamUtils005",
"SteamMatchMaking009",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION011",
"STEAMAPPS_INTERFACE_VERSION005",
"SteamNetworking005",
"STEAMREMOTESTORAGE_INTERFACE_VERSION008",
"STEAMSCREENSHOTS_INTERFACE_VERSION001",
"STEAMHTTP_INTERFACE_VERSION001"
];
Context.WriteTextFile(interfaces, lines);
if (Context.HasKeyboardPlayer == true) {
} else {
Game.SetForegroundWindowElsewhere = true;
}
if (Context.NumControllers < 5) {
Game.Hook.XInputReroute = false;
} else {
Game.Hook.UseAlpha8CustomDll = true;
Game.Hook.CustomDllEnabled = true;
}
var mkb = Context.Options["MKB"];
var fw = Context.Options["FW"];
if (mkb == "Yes") {
Game.SupportsMultipleKeyboardsAndMice = true;
}
if (mkb == "No") {
}
if (fw == "Yes") {
Game.FlawlessWidescreen = "ResidentEvil6";
}
if (fw == "No") {
}
};