restoHack v1.1.6
Downloads
-
Linux Static Binary: restoHack-v1.1.6-linux-x86_64-static.tar.gz
- Statically linked, runs on any x86_64 Linux
- No dependencies required
-
Source Code: restoHack-v1.1.6-source.tar.gz
- Full source for building on any platform
- Requires CMake, C compiler, and ncurses
Verification
Verify downloads with SHA256 checksums:
sha256sum -c SHA256SUMSWhat's New
Fixed
-
CRITICAL: ARM64/aarch64 crash during level generation (issue #15)
- Resolved a segmentation fault that occurred after character selection on aarch64 systems
typedef char scharresolves to unsigned char on ARM64 by default (unlike x86), breaking
the negative sentinel checks (hx >= 0) used throughout dungeon generationdosdoor()loop incrementedbroompast the end ofrooms[], faulting onbroom->fdoor- Fixed by changing to
typedef signed char scharinconfig.h - Affects aarch64 Linux, Apple Silicon, Raspberry Pi, and any ARM64 platform
- Reported and verified by @Filipsys — thank you for the detailed GDB backtrace and for
confirming the fix on your system
-
SAVE: Fixed
ustuckgarbage pointer indorecover()on save restoreu.ustuckwas read from the raw struct dump and could contain a stale pointer- Now clears
u.ustuck = NULLafter struct restore and uses thehas_ustuckflag to relink - Initializes
mid = 0to prevent uninitialized-use warnings in the monster restore loop
Added
- Historical research documentation synced from protoHack project
docs/research/TIMELINE.md: corrected Hack origin timeline via primary sources
(;login: June 1982, Craddock's Dungeon Hacks interviews)docs/research/COMPARISON.md: feature attribution evidence across Fenlason,
VU Amsterdam (Huisjes & de Wilde), and Brouwer branches
- CI: interactive smoke tests using
expectfor automated game startup and map rendering - CI:
verify-map.shvalidates smoke test log for evidence of successful map render
Changed
- BUILD: Stack clash protection (
-fstack-clash-protection) now conditional on non-macOS - BUILD: Security hardening linker flags conditional on non-Apple platforms
- CI: Workflows skip builds on documentation-only changes (push/PR path filters)
- CI: Smoke test drains multiple consecutive
--More--prompts after map render - README: added Hardfought online play instructions and acknowledgment to K2 for hosting
- README: updated binary download instructions and development status
Building from Source
tar xzf restoHack-v1.1.6-source.tar.gz
cd restoHack-v1.1.6
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/hack