Heroes of Hammerwatch II · handler “Heroes of Hammerwatch II”
Version 1
Release notes
First release, requires Nucleus 2.4.0 and up
- Released
- Size
- 1.5 KB
- Downloads
- 109
- Check
- Verified
- SHA-256
- af736f7e86661301acbc8d9ed3bcce80bbd660920a321efdf084bfe911944109
Files 1
| Path | Size |
|---|---|
| handler.js | 3.8 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Mon Sep 08 2025 03:35:36 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", "ngalaxye_settings"];
Game.DirSymlinkExclusions = ["logs", "res"];
Game.FileSymlinkExclusions = ["Galaxy.dll", "steam_api64.dll", "steam_appid.txt", "HWR2.exe.log", "SDL2.dll", "SDL2.ini"];
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 53 AF 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 0F F3 3E 00 C6 03 01 48 8B 4C 24 60 48 33 CC E8 77 D3 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 07 BE 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 5F 58 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 09 D3 21 00 48 83 C4 70 5B C3 E8 1F CC 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
);
};