Pacify · handler “Pacify”
Version 2
Release notes
Fixed Audio
- Released
- Size
- 1.3 KB
- Downloads
- 189
- Check
- Verified
- SHA-256
- 5c4c77c9846b7b18ee25af49d9e59af91bcb4d8aa51ef470e91d3a207660b2aa
Files 1
| Path | Size |
|---|---|
| handler.js | 4.1 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Wed Aug 19 2020 12:45:16 GMT+0000 (UTC).
Hub.Handler.Id = "cQ9yYtZwHu9WPKgCL";
Hub.Maintainer.Name = "Bizzo";
Hub.Maintainer.Id = "HEgozNi3MNvhAmWfi";
Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv139\\Win64", "Pacify\\Binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
Game.KeyboardPlayerFirst = true;
Game.ExecutableName = "Pacify-Win64-Shipping.exe";
Game.SteamID = "967050";
Game.GUID = "Pacify";
Game.GameName = "Pacify";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "Pacify\\Binaries\\Win64";
Game.LauncherTitle = "";
Game.HideTaskbar = true;
Game.SupportsPositioning = true;
Game.FakeFocus = false;
Game.HookFocus = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Pacify";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.PauseBetweenStarts = 30;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.PreventWindowDeactivation = true;
Game.UserProfileConfigPath = "AppData\\Local\\Pacify\\Saved\\Config";
Game.Description =
"Create a lobby on the first instance and invite other players. When all are in, start the match. If you use only controllers, alt+tab on NucleusCoop for split performance. Open .js file for change FPS cap.";
Game.Play = function() {
Game.StartArguments = "-windowed -WinX " + Context.Width + " -WinY " + Context.Height + " -ResX " + Context.Width + " -ResY " + Context.Height;
if (Player.IsKeyboardPlayer) {
var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\WindowsNoEditor\\GameUserSettings.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "bUseVSync", "True"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "bUseDynamicResolution", "True"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeX", Context.Width),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeY", Context.Height),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastUserConfirmedResolutionSizeX", Context.Width),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastUserConfirmedResolutionSizeY", Context.Height),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FullscreenMode", "1"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FrameRateLimit", "48.000000") //cap framerate for Keyboard player. This should be lower than controller one because this instance will be on focus
]);
} else {
var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\WindowsNoEditor\\GameUserSettings.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "bUseVSync", "True"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "bUseDynamicResolution", "True"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeX", Context.Width),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeY", Context.Height),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastUserConfirmedResolutionSizeX", Context.Width),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastUserConfirmedResolutionSizeY", Context.Height),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FullscreenMode", "1"),
new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FrameRateLimit", "60.000000") //cap framerate for Controller players
]);
}
};