Repository navigation
v0.1.3
Pre-release
Pre-release
Copies of the game exe changed by other patchers now work, as long as they leave the parts the
mod uses alone. Before, any change to HOTD_NG.exe switched the mod off.
Changed
- Patched copies of the supported
HOTD_NG.exeare accepted. Instead of comparing the whole
file, the mod checks the 37 places in it that it depends on (the start of every function it
hooks or calls, an instruction that uses each game variable and class it reads, and the return
address it checks). If all of them match, VR stays on even when other parts were changed, for
example by a 4 GB (Large Address Aware) patch;hovr\hovr.logthen has a warning naming the
parts of the exe that differ. If one of them differs, the mod stays off as before, and the log
lists each place with the bytes it expected and the bytes it found. There is no setting to
force VR on. - Development: the table of those places is generated by
tools/anchors.py(which also checks
any exe:--check) and unit tested;tools/install_game.ps1accepts compatible patched copies
too; with a refused exe the development harness keeps its save redirect, minimized window and
mute but hooks nothing in the game. - The build check in
hovr\hovr.lognow also logs the game exe's size, SHA-256, PE timestamp and
Large Address Aware flag, and when the exe isn't the supported one it says whether it is a
changed copy of the supported build (fix: Steam's "Verify integrity of game files") or a
different build. - README troubleshooting: what to do when the log says "not the supported build" or "patched copy
... compatible", and that Virtual Desktop / Quest users must start the game through SteamVR.