Skip to content

restoHack v1.1.4

Choose a tag to compare

@Critlist Critlist released this 12 Sep 05:29
· 43 commits to master since this release

restoHack v1.1.4

Downloads

  • Linux Static Binary: restoHack-v1.1.4-linux-x86_64-static.tar.gz

    • Statically linked, runs on any x86_64 Linux
    • No dependencies required
  • Source Code: restoHack-v1.1.4-source.tar.gz

    • Full source for building on any platform
    • Requires CMake, C compiler, and ncurses

Verification

Verify downloads with SHA256 checksums:

sha256sum -c SHA256SUMS

What's New

Fixed

  • CRITICAL: Fixed save/restore crash when accessing inventory after restore
    • Object tail strings (scroll labels, etc.) weren't NUL-terminated after restore
    • Class table pointers (oc_name, oc_descr) became stale after restore, pointing to old process addresses
    • Now properly allocates extra byte for NUL termination on restore
    • Preserves static string pointers from binary while maintaining shuffled descriptions
    • Added range checks for object name length and NULL guards for string operations

Changed

  • Updated README features section

Building from Source

tar xzf restoHack-v1.1.4-source.tar.gz
cd restoHack-v1.1.4
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/hack