PixArk · handler “PixArk”
Version 1
Release notes
First Release
- Released
- Size
- 1.6 KB
- Downloads
- 21
- Check
- Verified
- SHA-256
- e15e614dafab6c3969f2a9d44a502474c69877d1ed5b5bc1f8d770315e101a98
Files 1
| Path | Size |
|---|---|
| handler.js | 3.8 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat May 30 2020 01:43:51 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 = true;
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 when using multiple gamepads only, 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")
]);
};