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

Heroes of Hammerwatch II · handler “Heroes of Hammerwatch II”

Version 4

Release notes

uploaded correct handler lol

Released
Size
1.5 KB
Downloads
147
Check
Verified
SHA-256
5d31516d9e9433b48356242047dd3f53c8a9d22aff49dd2a125baa789425e9f9
Download v4 (.nc)All versions

Files 1

PathSize
handler.js3.8 KB

handler.js

Plain text
Hub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Thu Oct 16 2025 04:23:11 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 53 BD 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 01 3F 00 C6 03 01 48 8B 4C 24 60 48 33 CC E8 E7 DF 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 17 CC 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 0F 67 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 79 DF 21 00 48 83 C4 70 5B C3 E8 8F D8 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
  );
};