Resident Evil Revelations HD · handler “ResidentEvilRevelations”
Version 4
Release notes
better aspect ratio fix
- Released
- Size
- 170 KB
- Downloads
- 961
- Check
- Verified
- SHA-256
- 1699b53cf19e3cd6045df999edd8de6777549f762be224883ddc9a44569ed615
Files 14
| Path | Size |
|---|---|
| handler.js | 5.5 KB |
| ResidentEvilRevelations/Plugins/ExamplePlugin.dll | 5.5 KB |
| ResidentEvilRevelations/Plugins/SharpDisasm.dll | 216 KB |
| ResidentEvilRevelations/Plugins/Steamless.API.dll | 34 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant10.x86.dll | 11 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant20.x86.dll | 18 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant21.x86.dll | 24 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant30.x64.dll | 17 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant30.x86.dll | 16 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant31.x64.dll | 16 KB |
| ResidentEvilRevelations/Plugins/Steamless.Unpacker.Variant31.x86.dll | 16 KB |
| ResidentEvilRevelations/RERevFix.ini | 949 B |
| ResidentEvilRevelations/Steamless.CLI.exe | 111 KB |
| ResidentEvilRevelations/xinput1_3.dll | 32 KB |
handler.js
Plain textHub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Sun May 08 2022 00:03:43 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "vr9fssW5QfFTGCyTt";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "Yes"];
var answers2 = ["No", "Yes"];
var answers3 = ["Default", "5", "10", "15", "20", "25", "30", "35", "40", "45", "50", "60"];
Game.AddOption(
"Use LyallAspect RERevFix?",
"Matches resolution to window size to fix stretching in split-screen, add custom resolutions like the handler notes mention before using this.",
"Fix",
answers1
);
Game.AddOption("Fix UI?", "Fixes the incorrect/stretched game UI at custom resolutions, part of the RERevFix.", "UI", answers2);
Game.AddOption("Increase FOV.", "Select the desired FOV increase+. Only applies if you select yes to use the Lyall RERevFix, experimental.", "Fov", answers3);
Game.ExecutableContext = ["dat"];
Game.KillMutex = ["sSkeletonMain"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "local_save.txt", "xinput1_3.dll", "dinput8.dll"];
Game.FileSymlinkCopyInstead = ["config.ini"];
Game.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "rerev.exe";
Game.SteamID = "222480";
Game.GUID = "Resident Evil Revelations";
Game.GameName = "Resident Evil Revelations";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "RESIDENT EVIL REVELATIONS / BIOHAZARD REVELATIONS UE";
Game.HookFocus = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.UserProfileConfigPath = "AppData\\Local\\CAPCOM\\RESIDENT EVIL REVELATIONS";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\222480";
Game.Description =
"Create a public Raid Mode game in one instance and join in the other. If you want to fix stretching you need to create custom resolutions in your AMD/Nvidia/Intel panel (For example for a 1920x1080 monitor add: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them.";
Game.PauseBetweenContextAndLaunch = 5;
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var Bat = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steamless.bat";
var lines = [
'"' + Game.folder + '\\Steamless.CLI.exe" --quiet --keepbind ' + '"' + Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + '\\rerev.exe"',
'move /y "rerev.exe.unpacked.exe" "rerev.exe"'
];
Context.WriteTextFile(Bat, lines);
Context.RunAdditionalFiles(["all|" + Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steamless.bat"], false, 1);
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", "FullScreen", "OFF")
]);
var fix = Context.Options["Fix"];
var ui = Context.Options["UI"];
var fov = Context.Options["Fov"];
if (fix == "No") {
}
if (fix == "Yes") {
Context.BackupFile(Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\config.ini", true);
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 savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\dinput8.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "xinput1_3.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\RERevFix.ini");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "RERevFix.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var VideoConfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\RERevFix.ini");
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Custom Resolution", "Width", Context.Width),
new Nucleus.IniSaveInfo("Custom Resolution", "Height", Context.Height)
]);
}
if (ui == "No") {
}
if (ui == "Yes") {
var VideoConfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\RERevFix.ini");
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Fix UI", "Enabled", true)]);
}
if (fov == "Default") {
} else {
var VideoConfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\RERevFix.ini");
Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Increase FOV", "Enabled", true), new Nucleus.IniSaveInfo("Increase FOV", "Value", fov)]);
}
};