Umbrella Corps · handler “ResidentEvilUmbrellaCorps”
Version 3
Release notes
Black bars fix
- Released
- Size
- 120 KB
- Downloads
- 222
- Check
- Verified
- SHA-256
- 4394349136b96cbbd69fcdae162807d153c4a3373670ef9d1819d57cb825e8f4
Files 3
| Path | Size |
|---|---|
| handler.js | 4.9 KB |
| UmbrellaCorps/main.patch | 3.7 KB |
| UmbrellaCorps/version.dll | 360 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Wed Oct 27 2021 03:34:25 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "cZGPFbc8osTnwpx8h";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "Yes"];
Game.AddOption("Letterboxing/Pillarboxing fix?", "Removes the black bars in split-screen.", "Pillar", answers1);
Game.ExecutableContext = ["uc_Data"];
Game.DirSymlinkExclusions = ["uc_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "main.patch", "Settings.ini", "version.dll"];
Game.GameName = "Umbrella Corps";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.ExecutableName = "uc.exe";
Game.SteamID = "390340";
Game.GUID = "Umbrella Corps";
Game.MaxPlayers = 6;
Game.MaxPlayersOneMonitor = 6;
Game.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.GoldbergNoLocalSave = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "UMBRELLA CORPS";
Game.FakeFocus = true;
Game.FakeFocusInterval = 5000;
Game.SendFakeFocusMsg = true;
Game.SetWindowHook = true;
Game.SetForegroundWindowElsewhere = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.BlockRawInput = false;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\390340\\remote";
Game.Description =
"IMPORTANT: Gamepads only. The game uses Unity horrible default input for controllers instead of xinput so you will have to use a workaround to restrict the gamepads per instance correctly, for example for 2 players after pressing play twice in Nucleus to launch turn off only the first connected gamepad, when the first instance opens it will only recognize the second gamepad then before opening the second instance turn on the first gamepad again and that second instance will only recognize that first gamepad. If you want to play with just 2 players create a private game and invite the other player with the overlay that appears when you select friends with the Y button, right click his name to invite and accept in the other instance. If the overlay does not show make sure you disable any external overlay apps that could be interfering (e.g. MSI Afterburner). Xbox One gamepads have issues controlling all instances at the same time cause of a background input driver issue. Xbox 360 gamepads work best.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 40;
Game.Play = function() {
var Args = (Context.Args = " -screen-fullscreen 0 -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);
Context.StartArguments = Args;
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\CAPCOM\\UMBRELLA CORPS", "Screenmanager Is Fullscreen mode_h3981298716", 0, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\CAPCOM\\UMBRELLA CORPS", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\CAPCOM\\UMBRELLA CORPS", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
var pillar = Context.Options["Pillar"];
if (pillar == "Yes") {
var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\patches");
System.IO.Directory.CreateDirectory(filePath);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\patches\\main.patch");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "main.patch");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var videoconfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Settings.ini");
Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("FOV", "Additional_FOV", "0.000")]);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\version.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "version.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
if (Context.AspectRatioDecimal > 1.8) {
var videoconfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Settings.ini");
Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("FOV", "Additional_FOV", "40.000")]);
} else if (Context.AspectRatioDecimal < 1.2) {
var videoconfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Settings.ini");
Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("FOV", "Additional_FOV", "50.000")]);
} else {
}
}
if (pillar == "No") {
}
};