

And every time, when either the value being read or written, the mask changes. Instead, it stored a “hashed” value, which is the plain value xor a random generated mask. So from the code, you can see, the plain value is never got stored in memory. Here is the psudo-code explains how the it works: HiddenInt Psudo implementation In fact, Harvest uses a quite unique approach to protect its game status data! Oxeye guys call it the Hidden Int. But we can easily find that the value is only used for display instead of real game state data. By searching the mineral value, we can locate a specific address. Very standard approach, and supported by most of the game hacking tool.īut in Harvest, the story is quite different. And finally figure out the proper address, then locked it down with the game hacking tool. Scan the memory for specific number for a few times to filter out the list of potential memory addresses. Theoretically locking down a value is easy.
#Bit slicer toy defense upgrade
Mineral is the only key resource in the game, which is used to build or upgrade structures. I will discuss something interesting I discovered when hacking the game.īy hacking the game, I want to lock down the the number of Mineral that I have in the game.

The game is amazing, but I won’t focus on that. Harvest: Massive Encounter is a very unique strategic tower defense game published by Oxeye Game Studio.
