Saints Row IV · handler “SaintsRowIVLegacy”
Version 1
Release notes
First Release
- Released
- Size
- 1.1 KB
- Downloads
- 109
- Check
- Unverified
- SHA-256
- 75de2f19d54f0feedd664fb61c2434d8b6b287b8c53f67920b5575519f12f195
Files 1
| Path | Size |
|---|---|
| handler.js | 2.4 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Feb 13 2020 06:53:31 GMT+0000 (UTC).
Hub.Handler.Id = "wBSduky3MfS5SCMAd";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.ExecutableContext = ["binkw32.dll"];
Game.KillMutex = ["SRE4"];
Game.FileSymlinkExclusions = ["display.ini", "steam_api.dll", "steam_appid.txt", "XInput1_3.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "saintsrowiv.exe";
Game.SteamID = "206420";
Game.GUID = "Saints Row IV";
Game.GameName = "Saints Row IV";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.HideTaskbar = false;
Game.StartArguments = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Saints Row IV";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.UseAlpha8CustomDll = true;
Game.UseForceBindIP = true;
Game.KeepSymLinkOnExit = true;
Game.SetWindowHook = true;
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\206420";
Game.PauseBetweenStarts = 25;
Game.Play = function() {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\display.ini");
var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "display.ini");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\display.ini";
var dict = [
"5|ResolutionWidth = " + Context.Width,
"6|ResolutionHeight = " + Context.Height,
"9|Fullscreen = false",
"10|SkipIntroVideo = true",
"13|Borderless = true",
"21|VerifyResolution = false"
];
Context.ReplaceLinesInTextFile(txtPath, dict);
if (Player.IsKeyboardPlayer) {
Context.Hook.BlockMouseEvents = "False";
Context.Hook.BlockKeyboardEvents = "False";
Context.Hook.BlockInputEvents = "False";
Context.Hook.ForceFocus = "False";
} else {
Context.Hook.BlockMouseEvents = "True";
Context.Hook.BlockKeyboardEvents = "True";
Context.Hook.BlockInputEvents = "True";
Context.Hook.ForceFocus = "True";
}
};