Heroes of Hammerwatch II · handler “Heroes of Hammerwatch II”
Version 2
Release notes
Updated for latest game version
- Released
- Size
- 1.5 KB
- Downloads
- 24
- Check
- Verified
- SHA-256
- cdf6e4c8537510a1cf56455d65316f4c57d7e0df52f371c8d32c2b6d6ab48d91
Files 1
| Path | Size |
|---|---|
| handler.js | 3.8 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Oct 14 2025 07:43:48 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "Mk8gq46c6sGxGuaZv";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.ExecutableContext = ["fmod.dll"];
Game.DirExclusions = ["saves", "619820", "settings", "steam_settings", "ngalaxye_settings"];
Game.DirSymlinkExclusions = ["logs", "res"];
Game.FileSymlinkExclusions = ["Galaxy.dll", "steam_api64.dll", "steam_appid.txt", "HWR2.exe.log", "SDL2.dll", "SDL2.ini", "SDL2.log"];
Game.FileSymlinkCopyInstead = ["controls_default.cfg", "fmod.dll", "fmodstudio.dll", "HWR2.exe.cfg", "libde265.dll", "ozz_animation_r.dll", "ozz_base_r.dll"];
Game.BackupFolders = ["saves", "619820"];
Game.UseNemirtingasGalaxyEmu = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SymlinkExe = false;
Game.ExecutableName = "HWR2.exe";
Game.SteamID = "619820";
Game.GUID = "Heroes of Hammerwatch II";
Game.GameName = "Heroes of Hammerwatch II";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Heroes of Hammerwatch II";
Game.HasDynamicWindowTitle = true;
Game.FakeFocus = true;
Game.FakeFocusInterval = 10000;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = false;
Game.Hook.XInputReroute = false;
Game.Hook.SDL2Enabled = true;
Game.Hook.CustomDllEnabled = false;
Game.SupportsKeyboard = true;
Game.Description =
"IMPORTANT: Before using this run your main game, change the resolution and set it to windowed. Create a public lobby in one instance and join in the others using the server list. You can access your saves per instance via Nucleus UI, after the first launch click on the wrench icon-open backup folder, you can even copy your main saves to there.";
Game.KeepSymLinkOnExit = false;
Game.PauseBetweenContextAndLaunch = 2;
Game.PauseBetweenStarts = 25;
Game.Play = function() {
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\HWR2.exe.cfg";
var dict = [
Context.FindLineNumberInTextFile(txtPath, "v_resolution", Nucleus.SearchType.StartsWith) + "|v_resolution " + Context.Width + "x" + Context.Height,
Context.FindLineNumberInTextFile(txtPath, "v_fullscreen", Nucleus.SearchType.StartsWith) + "|v_fullscreen 0",
Context.FindLineNumberInTextFile(txtPath, "v_forced_aspect_ratio", Nucleus.SearchType.StartsWith) + "|v_forced_aspect_ratio 0.000000"
];
Context.ReplaceLinesInTextFile(txtPath, dict);
Context.PatchFileFindPattern(
System.IO.Path.Combine(Context.GetFolder(Nucleus.Folder.InstancedGameFolder), "HWR2.exe"),
System.IO.Path.Combine(Context.GetFolder(Nucleus.Folder.InstancedGameFolder), "HWR2.exe"),
"40 53 48 83 EC 70 48 8B 05 63 BE 4F 00 48 33 C4 48 89 44 24 60 48 8B 1A 83 7B 04 08 7D 21 B9 01 00 00 00 FF 15 1F 02 3F 00 C6 03 01 48 8B 4C 24 60 48 33 CC E8 C7 E0 21 00 48 83 C4 70 5B C3 48 8B 49 40 48 85 C9 74 65 48 8B 01 FF 50 10 84 C0 75 48 48 8D 05 27 CD 41 00 48 89 44 24 20 48 8D 44 24 20 48 89 44 24 58 4C 8D 44 24 20 BA 14 00 00 00 48 8B 0D 1F 68 56 00 E8 A2 C1 01 00 90 48 8B 4C 24 58 48 85 C9 74 11 48 8B 01 48 8D 54 24 20 48 3B CA 0F 95 C2 FF 50 20 48 8B 4C 24 60 48 33 CC E8 59 E0 21 00 48 83 C4 70 5B C3 E8 6F D9 21 00",
"B8 01 00 00 00 C3 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC",
true
);
};