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

ARK: Survival Evolved · handler “ArkSE”

Version 5

Release notes

cursor offset fix option.

Released
Size
1.4 KB
Downloads
3,197
Check
Verified
SHA-256
48e6ceec29cfb485b527803b22b7a9ee933d05ba9884068af7d398c1973feb2b
Download v5 (.nc)All versions

Files 1

PathSize
handler.js3.6 KB

handler.js

Plain text
Hub.Handler.Version = 5; // Released at https://hub.splitscreen.me/ on Wed Mar 10 2021 01:58:29 GMT+0000 (UTC).
Hub.Handler.Id = "bj6N2vupMHj2R7qPD";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

var answers = ["No", "Yes"];
Game.AddOption("Launch in Borderless Windowed?", "Use it if you get cursor offset in regular windowed.", "BWINDOW", answers);

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv132\\Win64", "ShooterGame\\Binaries\\Win64", "ShooterGame\\Saved\\Config\\WindowsNoEditor"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "XInput1_3.dll"];
Game.FileSymlinkCopyInstead = ["GameUserSettings.ini"];
Game.GameName = "ARK: Survival Evolved";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "ShooterGame.exe";
Game.SteamID = "346110";
Game.GUID = "ARK Survival Evolved";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "ShooterGame\\Binaries\\Win64";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "ARK: Survival Evolved";
Game.FakeFocus = false;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.SetForegroundWindowElsewhere = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv132\\Win64\\steam_interfaces.txt";
  var lines = [
    "SteamClient017",
    "SteamGameServer012",
    "SteamGameServerStats001",
    "SteamUser018",
    "SteamFriends015",
    "SteamUtils007",
    "SteamMatchMaking009",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION011",
    "STEAMAPPS_INTERFACE_VERSION007",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION012",
    "STEAMSCREENSHOTS_INTERFACE_VERSION002",
    "STEAMHTTP_INTERFACE_VERSION002",
    "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001",
    "STEAMUGC_INTERFACE_VERSION003",
    "STEAMAPPLIST_INTERFACE_VERSION001",
    "STEAMMUSIC_INTERFACE_VERSION001",
    "STEAMMUSICREMOTE_INTERFACE_VERSION001",
    "STEAMHTMLSURFACE_INTERFACE_VERSION_002",
    "STEAMINVENTORY_INTERFACE_V001",
    "STEAMVIDEO_INTERFACE_V001",
    "STEAMCONTROLLER_INTERFACE_VERSION"
  ];

  Context.WriteTextFile(interfaces, lines);

  var bwindow = Context.Options["BWINDOW"];

  if (bwindow == "No") {
    var Args = (Context.Args = " -windowed " + " -AlwaysFocus " + " -nosplash " + " -noBattlEye " + " -ResX= " + Context.Width + " -ResY= " + Context.Height);

    Context.StartArguments = Args;
  } else {
    var Args = (Context.Args = " -WindowedFullscreen " + " -AlwaysFocus " + " -nosplash " + " -noBattlEye " + " -ResX= " + Context.Width + " -ResY= " + Context.Height);

    Context.StartArguments = Args;

    var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\ShooterGame\\Saved\\Config\\WindowsNoEditor\\GameUserSettings.ini");
    Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
      new Nucleus.IniSaveInfo("/Script/ShooterGame.ShooterGameUserSettings", "FullscreenMode", 1),
      new Nucleus.IniSaveInfo("/Script/ShooterGame.ShooterGameUserSettings", "LastConfirmedFullscreenMode", 1)
    ]);
  }
};