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

Orcs Must Die! 2 · handler “Orcs Must Die! 2”

Version 1

Release notes

First release

Released
Size
1.2 KB
Downloads
1,265
Check
Verified
SHA-256
163140d93e3b3e209eafe57cf38fc07c2c0f232738ab482f3149834077f9b172
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.6 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri Feb 14 2020 09:18:50 GMT+0000 (UTC).
Hub.Handler.Id = "kPHKXNftSoA37JPL8";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.KillMutex = ["OrcsMustDie2"];
Game.ExecutableContext = ["NXCHARACTER.DLL"];
Game.DirSymlinkExclusions = ["build\\game", "build\\release"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.UseNucleusEnvironment = true;
Game.GoldbergNoLocalSave = true;
Game.KillMutexType = "Semaphore";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "OrcsMustDie2.exe";
Game.SteamID = "201790";
Game.GUID = "Orcs Must Die 2";
Game.GameName = "Orcs Must Die! 2";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "build\\game";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Orcs Must Die 2";
Game.Hook.DInputEnabled = true;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.Description = "";
Game.UserProfileConfigPath = "Documents\\Shiner";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\201790";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var path = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\VideoSettings.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//XResolution", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//YResolution", Context.Height);
  Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "0");
  Context.ChangeXmlNodeInnerTextValue(path, "//Borderless", "0");

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\build\\game\\steam_interfaces.txt";
  var lines = [
    "SteamClient012",
    "SteamGameServer011",
    "SteamGameServerStats001",
    "SteamUser016",
    "SteamFriends013",
    "SteamUtils005",
    "SteamMatchMaking009",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION011",
    "STEAMAPPS_INTERFACE_VERSION005",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION010",
    "STEAMSCREENSHOTS_INTERFACE_VERSION002",
    "STEAMHTTP_INTERFACE_VERSION002",
    "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001"
  ];

  Context.WriteTextFile(autoExec, lines);
};