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

The Lord of the Rings: War in the North · handler “WitNorth”

Version 5

Release notes

if file exists fix

Released
Size
2.1 KB
Downloads
291
Check
Verified
SHA-256
d89f44c7314c39adb98e2f31288dc002511abfdbb661081ae72be8d430549788
Download v5 (.nc)All versions

Files 1

PathSize
handler.js7.5 KB

handler.js

Plain text
Hub.Handler.Version = 5; // Released at https://hub.splitscreen.me/ on Sat Nov 28 2020 08:16:05 GMT+0000 (UTC).
Hub.Handler.Id = "QZAk4TLSqrF782WM9";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.KillMutex = ["TRIXIE_RUNNING_COUNT"];
Game.ExecutableContext = ["res"];
Game.DirSymlinkExclusions = [
  "32800",
  "32800\\local",
  "res",
  "res\\audio",
  "res\\engine",
  "res\\engine\\padmap",
  "res\\engine\\shaders",
  "res\\entities\\entitydefs\\dwarfpaqs",
  "res\\entities\\entitydefs\\elfpaqs",
  "res\\entities\\entitydefs\\humanpaqs",
  "res\\entities\\entitydefs\\players",
  "res\\entities\\entitydefs\\allies\\archer",
  "res\\entities\\entitydefs\\allies\\defender",
  "res\\entities\\entitydefs\\allies\\mage",
  "res\\gamedata",
  "res\\quests",
  "res\\worlds",
  "res\\worlds\\barrow_downs\\area_2_level_1_b",
  "res\\worlds\\barrow_downs\\area_2_level_3",
  "res\\worlds\\bree",
  "res\\worlds\\carn_dum\\carn_dum_level_1",
  "res\\worlds\\carn_dum\\carn_dum_level_2",
  "res\\worlds\\empty_frontend",
  "res\\worlds\\ettenmoors\\ettenmoors_1",
  "res\\worlds\\ettenmoors\\ettenmoors_2",
  "res\\worlds\\ettenmoors\\ettenmoors_boss",
  "res\\worlds\\fornost\\area_4_level_1",
  "res\\worlds\\fornost\\area_4_level_1b",
  "res\\worlds\\fornost\\area_4_level_2",
  "res\\worlds\\fornost\\area_4_level_3",
  "res\\worlds\\fornost\\area_4_level_3b",
  "res\\worlds\\fornost\\area_4_sidequest_1",
  "res\\worlds\\lorien\\dlc_lorien_outpost",
  "res\\worlds\\mirkwood\\mirkwood_level_1a",
  "res\\worlds\\mirkwood\\mirkwood_level_1b",
  "res\\worlds\\mirkwood\\mirkwood_level_2a",
  "res\\worlds\\mirkwood\\mirkwood_level_2b",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_1",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_2",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_2b",
  "res\\worlds\\nordinbad\\nordinbad",
  "res\\worlds\\nordinbad\\nordinbad_aftermath",
  "res\\worlds\\nordinbad\\nordinbad_siege",
  "res\\worlds\\osgiliath",
  "res\\worlds\\rivendell",
  "res\\worlds\\sarn_ford\\area1_level1",
  "res\\worlds\\urgost\\urgost_intro",
  "res\\worlds\\urgost\\urgost_lair"
];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_interfaces.txt", "steam_appid.txt", "GameSettings.sav", "UserSettings.sav", "xinput1_3.dll"];
Game.DirSymlinkCopyInstead = [
  "res\\audio",
  "res\\engine",
  "res\\engine\\padmap",
  "res\\engine\\shaders",
  "res\\entities\\entitydefs\\dwarfpaqs",
  "res\\entities\\entitydefs\\elfpaqs",
  "res\\entities\\entitydefs\\humanpaqs",
  "res\\entities\\entitydefs\\players",
  "res\\entities\\entitydefs\\allies\\archer",
  "res\\entities\\entitydefs\\allies\\defender",
  "res\\entities\\entitydefs\\allies\\mage",
  "res\\gamedata",
  "res\\quests",
  "res\\worlds",
  "res\\worlds\\barrow_downs",
  "res\\worlds\\barrow_downs\\area_2_level_1_b",
  "res\\worlds\\barrow_downs\\area_2_level_3",
  "res\\worlds\\bree",
  "res\\worlds\\carn_dum",
  "res\\worlds\\carn_dum\\carn_dum_level_1",
  "res\\worlds\\carn_dum\\carn_dum_level_2",
  "res\\worlds\\empty_frontend",
  "res\\worlds\\ettenmoors",
  "res\\worlds\\ettenmoors\\ettenmoors_1",
  "res\\worlds\\ettenmoors\\ettenmoors_2",
  "res\\worlds\\ettenmoors\\ettenmoors_boss",
  "res\\worlds\\fornost",
  "res\\worlds\\fornost\\area_4_level_1",
  "res\\worlds\\fornost\\area_4_level_1b",
  "res\\worlds\\fornost\\area_4_level_2",
  "res\\worlds\\fornost\\area_4_level_3",
  "res\\worlds\\fornost\\area_4_level_3b",
  "res\\worlds\\fornost\\area_4_sidequest_1",
  "res\\worlds\\lorien\\dlc_lorien_outpost",
  "res\\worlds\\mirkwood",
  "res\\worlds\\mirkwood\\mirkwood_level_1a",
  "res\\worlds\\mirkwood\\mirkwood_level_1b",
  "res\\worlds\\mirkwood\\mirkwood_level_2a",
  "res\\worlds\\mirkwood\\mirkwood_level_2b",
  "res\\worlds\\mount_gundabad",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_1",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_2",
  "res\\worlds\\mount_gundabad\\mount_gundabad_level_2b",
  "res\\worlds\\nordinbad",
  "res\\worlds\\nordinbad\\nordinbad",
  "res\\worlds\\nordinbad\\nordinbad_aftermath",
  "res\\worlds\\nordinbad\\nordinbad_siege",
  "res\\worlds\\osgiliath",
  "res\\worlds\\rivendell",
  "res\\worlds\\sarn_ford\\area1_level1",
  "res\\worlds\\urgost",
  "res\\worlds\\urgost\\urgost_intro",
  "res\\worlds\\urgost\\urgost_lair"
];
Game.FileSymlinkCopyInstead = ["binkw32.dll", "gdf.dll"];
Game.DirExclusions = ["redist"];
Game.KillMutexType = "Semaphore";
Game.KillLastInstanceMutex = false;
Game.UseDirectX9Wrapper = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "witn.exe";
Game.SteamID = "32800";
Game.GUID = "War in the North";
Game.GameName = "The Lord of the Rings: War in the North";
Game.MaxPlayers = 3;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "The Lord of the Rings: War in the North";
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.PreventWindowDeactivation = true;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.SetWindowHook = false;
Game.ResetWindows = true;
Game.Description =
  "First time you run this the instances will take a very long time to open because Nucleus needs to make full copies of almost all the files inside the game's res folder for the different instances to work correctly but the instances will open fast after that. On first run after the first instance opens quickly set windowed mode in the in-game graphics settings and apply, do the same for other instances and close Nucleus, launch again and the instances will now position and resize correctly. If you notice the windows resize again after pressing start in the title screen, try getting past that title screen before Nucleus resizes the game window. If you want to use custom resolutions or change the FOV uncomment the flawless widescreen line in the script.";
Game.UserProfileSavePath = "AppData\\Local\\WB Games\\War in the North";
Game.UserProfileConfigPath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\32800\\local";
//Game.FlawlessWidescreen = "LOTRWITN";
Game.KeepSymLinkOnExit = true;
Game.PromptBetweenInstances = true;
Game.PauseBetweenProcessGrab = 10;
Game.PauseBetweenStarts = 40;

Game.Play = function() {
  var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\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(interfaces, lines);

  if (System.IO.File.Exists(Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameSettings.sav")) {
    Game.PromptBetweenInstances = false;
    Game.PauseBetweenStarts = 30;
  } else {
  }
};