Skip to content

v0.1.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 01:53
· 2 commits to main since this 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.exe are 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.log then 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.ps1 accepts 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.log now 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.