Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

Resident Evil Revelations HD · handler “ResidentEvilRevelations”

Version 5

Release notes

auto steamless

Released
Size
18 KB
Downloads
264
Check
Verified
SHA-256
7d84f39a2f06d303c6a55994f55f6f88eac2af27e9f461c73f20116256b36d34
Download v5 (.nc)All versions

Files 3

PathSize
handler.js5.2 KB
ResidentEvilRevelations/RERevFix.ini899 B
ResidentEvilRevelations/xinput1_3.dll32 KB

handler.js

Plain text
Hub.Handler.Version = 5; // Released at https://hub.splitscreen.me/ on Sat Sep 30 2023 23:31:47 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.UseSteamless = true;
Game.SteamlessArgs = "--quiet --keepbind";
Game.SteamlessTiming = 4000;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = 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.SupportsKeyboard = true;
Game.UserProfileConfigPath = "AppData\\Local\\CAPCOM\\RESIDENT EVIL REVELATIONS";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\222480";
Game.UserProfileSavePathNoCopy = true;
Game.UserProfileConfigPathNoCopy = false;
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 resolutions like: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them.";
Game.PauseBetweenContextAndLaunch = 5;
Game.PauseBetweenStarts = 30;

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", "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)]);
  }
};