Hammerwatch · handler “Hammerwatch”
Version 1
Release notes
First Release
- Released
- Size
- 867 B
- Downloads
- 124
- Check
- Verified
- SHA-256
- 3821d28360a06d81b1cd49afbff185f380ce1bb523b150fce2e2fbd93357d0d2
Files 1
| Path | Size |
|---|---|
| handler.js | 1.7 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Feb 13 2020 09:13:00 GMT+0000 (UTC).
Hub.Handler.Id = "JMjkv7FdBo7RJ4GNR";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["editor"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "config.xml"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SymlinkExe = false;
Game.SupportsKeyboard = true;
Game.ExecutableName = "hammerwatch.exe";
Game.SteamID = "239070";
Game.GUID = "HammerWatch";
Game.GameName = "HammerWatch";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Hammerwatch 1.41";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\config.xml");
var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "config.xml");
System.IO.File.Copy(savePkgOrigin, savePath, true);
var path = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\config.xml";
Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "false");
Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
};