Heroes Of Hammerwatch 2 Cheats

The easiest way I found to cheat in Heroes of Hammerwatch 2 is to modify the assets.bin file. However, doing this causes the game’s anti-cheat to trigger and close the game with a warning. Below I show you how to defeat the anti-cheat.

Here’s a high-level plan:

  • Modify the assets.bin file to change merchant behavior
  • Bypass game anti-cheat with X64DBG by patching instructions
  • Enjoy unlimited resources

First, make a backup of assets.bin, which is located in the folder SteamLibrary\steamapps\common\Heroes of Hammerwatch 2\res.

Open assets.bin with a HEX editor like ImHex, and do a search for “material_trader”

image

Scroll down to where you see <float> and modify the two decimal values to both me 0.1. Mine were originally 1.0 and 1.8.

Now we need to patch the game so that it doesn’t exit on detecting the file has been modified.

Launch the game with a debugger like X64DBG and it will pause the EXE at the first stage. Below I use x64DBG and just browse to HWR2.exe with the Open menu.

image 2

Right click anywhere and go into Search for | All Modules | Pattern

image 1

Paste in this HEX pattern 74 35 48 8d 15 ?? ?? ?? ?? b9 02

image 4

Double click the pattern found

image 3

Now this is where the anti-cheat function is

image 5

Change the first instruction from a JZ/JE to just a static JMP by right-clicking | Assemble | Modify je to jmp

image 6

Now it looks like this

image 7

Congrats, you’ve now defeated the anti-tampering built into the game.

You can also permanently modify the EXE so that you don’t need to do this on every launch, but I would not bother with that. That menu is called Patches in X64DBG.

Now you can continue pressing run at the top of X64DBG until your game gets to the loading screen

image 8

So what did all of this do for us? Well, now you can go to the material trader (left most side of town by the water), and you can buy stone for 75g and sell it for 7500g.

image 9