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

PixArk · handler “PixArk”

Version 2

Release notes

keyboard not working at the same time.

Released
Size
1.5 KB
Downloads
1,284
Check
Verified
SHA-256
b0c4f3c498439d6a78eb1077c8b3d4d33b559a2eebf29163bc9492c068d33d0e
Download v2 (.nc)All versions

Files 1

PathSize
handler.js3.8 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Mon Jun 01 2020 21:33:03 GMT+0000 (UTC).
Hub.Handler.Id = "knYq25yuq4rLrJcq4";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

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 = "PixARK";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "PixARK.exe";
Game.SteamID = "593600";
Game.GUID = "PixARK";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "ShooterGame\\Binaries\\Win64";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.HideTaskbar = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "PixARK";
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll", "xinput9_1_0.dll"];
Game.FakeFocus = false;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.PauseBetweenStarts = 40;
Game.SetWindowHook = true;
Game.SetForegroundWindowElsewhere = true;
Game.PromptBetweenInstances = false;
Game.Description =
  "Select multiplayer, host game, create host game in one instance and you can join in the others by selecting host game then join host game. You can move the cursor in the menus with the gamepads, if you can't control a character in the background press A in your gamepad using the cursor on the window. If you get uneven fps in the instances try alt tabbing to the nucleuscoop app window, the game windows will still remain on top.";

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

  Context.StartArguments = Args;

  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 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", "ResolutionSizeX", Context.Width),
    new Nucleus.IniSaveInfo("/Script/ShooterGame.ShooterGameUserSettings", "ResolutionSizeY", Context.Height),
    new Nucleus.IniSaveInfo("/Script/ShooterGame.ShooterGameUserSettings", "bUseDesktopResolutionForFullscreen", false),
    new Nucleus.IniSaveInfo("/Script/ShooterGame.ShooterGameUserSettings", "FullscreenMode", "1")
  ]);
};