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

The Darkness II · handler “DarknessII”

Version 1

Release notes

first release

Released
Size
1.1 KB
Downloads
738
Check
Verified
SHA-256
189b6da7a7ab67f8b5824b0a862d6afd6c3abd59c059f18dd277b8970aa7e29f
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.1 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Feb 13 2020 04:03:46 GMT+0000 (UTC).
Hub.Handler.Id = "jXrgsvX77t32x5ngP";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Tools"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "DarknessII.exe";
Game.SteamID = "67370";
Game.GUID = "The Darkness II";
Game.GameName = "The Darkness II";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.StartArguments = "-windowed";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "The Darkness II";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = false;
Game.Description =
  "Set your default game to windowed and in the resolution you want first before launching via NucleusCoop. Start an online lobby in the first instance before opening the second one, alt-tab between the instances to control them before activating the focus hooks.";
Game.PauseBetweenStarts = 30;
Game.PromptBetweenInstances = true;

Game.Play = function() {
  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Tools\\steam_interfaces.txt";
  var lines = [
    "SteamClient010",
    "SteamGameServer010",
    "SteamGameServerStats001",
    "SteamUser016",
    "SteamFriends009",
    "SteamUtils005",
    "SteamMatchMaking008",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION010",
    "STEAMAPPS_INTERFACE_VERSION004",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION004",
    "STEAMHTTP_INTERFACE_VERSION001",
    "SteamMasterServerUpdater001"
  ];

  Context.WriteTextFile(autoExec, lines);
};