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 3

Release notes

fixed games freezing when loading a stage at the same time.

Released
Size
2.0 KB
Downloads
1,061
Check
Verified
SHA-256
ad8595daa534690b899453c42f504cf18832867be265203004d5cfaf2027ebec
Download v3 (.nc)All versions

Files 1

PathSize
handler.js7.3 KB

handler.js

Plain text
Hub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Sat Mar 21 2020 01:48:31 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"];
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 = true;
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.BinariesFolder = "";
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.KeepSymLinkOnExit = true;
Game.SetWindowHookStart = false;
Game.ResetWindows = true;
Game.PromptBetweenInstances = true;
Game.Description =
  "First time you run this the instances will take a very long time to open cause Nucleus needs to make full copies of almost all files inside the game 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 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 window resizes 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 FOV comment back in 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.PauseBetweenStarts = 40;

Game.Play = function() {
  var autoExec = 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(autoExec, lines);
};