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

Desolate · handler “Desolate”

Version 1

Release notes

First Release

Released
Size
1.1 KB
Downloads
579
Check
Verified
SHA-256
ae5b5a9aa94cc0af9cf9654cb4680ac5c2bcd7589e27de10bd1508dff1af92a8
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.6 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Apr 02 2020 21:29:28 GMT+0000 (UTC).
Hub.Handler.Id = "4wJv46R6Sn68hzb6J";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv139\\Win64", "Desolate\\Binaries\\win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_appid.txt", "XInput1_3.dll", "winmm.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseSteamStubDRMPatcher = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.HardlinkGame = false;
Game.SupportsKeyboard = true;
Game.ExecutableName = "SH-Win64-Shipping.exe";
Game.BinariesFolder = "Desolate\\Binaries\\win64";
Game.SteamID = "671510";
Game.GUID = "DESOLATE";
Game.GameName = "DESOLATE";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Desolate";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.SetWindowHook = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.UserProfileSavePath = "AppData\\Local\\Desolate\\Saved\\SaveGames";
Game.SetForegroundWindowElsewhere = true;
Game.PauseBetweenStarts = 40;

Game.Play = function() {
  var Args = (Context.Args = " -windowed " + " -AlwaysFocus " + " -nosplash " + " -steam " + " -ResX= " + Context.Width + " -ResY= " + Context.Height);

  Context.StartArguments = Args;

  var username = System.Environment.UserName;
  var VideoConfig = "C:\\Users\\" + username + "\\AppData\\Local\\Desolate\\Saved\\Config\\WindowsNoEditor\\GameUserSettings.ini";
  Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
    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", "2"),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastConfirmedFullscreenMode", "2"),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "PreferredFullscreenMode", "2")
  ]);
};