The Lord of the Rings: War in the North · handler “WitNorth”
Version 2
Release notes
Overall improvement and kb, works on any language.
- Released
- Size
- 1.6 KB
- Downloads
- 47
- Check
- Unverified
- SHA-256
- dc6c8a768bcef894f0fe9e7ee24fc6d2aceea338584fc36e79bcbbdde522193a
Files 1
| Path | Size |
|---|---|
| handler.js | 4.0 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Fri Mar 06 2020 03:36:38 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\\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"
];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_interfaces.txt", "steam_appid.txt", "GameSettings.sav", "UserSettings.sav"];
Game.DirSymlinkCopyInstead = [
"res\\audio",
"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"
];
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 but they 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);
};