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

Drake Hollow · handler “Drake Hollow”

Version 2

Release notes

Fixed some things.

Released
Size
1.9 KB
Downloads
115
Check
Unverified
SHA-256
cff85a7d88f707392b15448e135eb0133d8c6bfad5569c9e1cb929ba8ce62ac0
Download v2 (.nc)All versions

Files 2

PathSize
Drake Hollow/GameUserSettings.ini472 B
handler.js3.9 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Oct 13 2020 19:31:34 GMT+0000 (UTC).
Hub.Handler.Id = "mAzvBk2dypcAivRHb";
Hub.Maintainer.Name = "Vlxst";
Hub.Maintainer.Id = "wZTsDsXZnJhD4fwfz";

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv146\\Win64", "DrakeHollow\\Binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt"];
Game.GameName = "Drake Hollow";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.KeepSymLinkOnExit = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "DrakeHollow-Win64-Shipping.exe";
Game.SteamID = "739650";
Game.GUID = "DrakeHollow";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "DrakeHollow\\Binaries\\Win64";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true; //useful if you already have a character made. disable and enable the line below
// Game.GoldbergLobbyConnect = true;  // use GoldbergExperimental in false!
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Drake Hollow";
Game.HasDynamicWindowTitle = true;
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.FakeFocus = true;
Game.HookFocus = true;
Game.HideTaskbar = true;
Game.PauseBetweenStarts = 20;
Game.SetWindowHookStart = true;
Game.UseSteamStubDRMPatcher = true;
Game.SteamStubDRMPatcherArch = "64";
Game.UseNucleusEnvironment = true;
Game.SetForegroundWindowElsewhere = true;
Game.UserProfileSavePathNoCopy = true;
Game.UserProfileConfigPath = "AppData\\Local\\DrakeHollow\\Saved\\Config\\WindowsNoEditor";

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

  Context.StartArguments = Args;

  //UI Scale
  if (Context.AspectRatioDecimal < 1.2) {
    var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\Engine.ini";
    Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("/Script/Engine.UserInterfaceSettings", "ApplicationScale", "0.7")]);
  } else if (Context.AspectRatioDecimal > 1.8) {
    var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\Engine.ini";
    Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("/Script/Engine.UserInterfaceSettings", "ApplicationScale", "1")]);
  }

  //Game settings verification
  if (System.IO.File.Exists(Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameUserSettings.ini")) {
    var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\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", "WindowPosX", "-1"),
      new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "WindowPosY", "-1"),
      new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FullscreenMode", "2"),
      new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "LastConfirmedFullscreenMode", "2"),
      new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "PreferredFullscreenMode", "2")
    ]);
  } else {
    var savePath = (Context.SavePath = Context.GetFolder = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameUserSettings.ini");
    var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "GameUserSettings.ini");
    System.IO.File.Copy(savePkgOrigin, savePath, true);
  }
};