NetHack 5.0.0

· coding devtools · Source ↗

TLDR

  • NetHack 5.0.0 releases May 2, 2026, the first major version jump from 3.6, with C99 compliance, cross-compile support, and Lua replacing yacc/lex compilers.

Key Takeaways

  • Build-time yacc/lex level compiler, dungeon compiler, and makedefs utility replaced with Lua scripts loaded at runtime, enabling moddable, cross-platform level definitions.
  • Source now conforms to C99 standard and removes barriers to cross-compiling for different target platforms.
  • Over 3,100 fixes and changes documented in doc/fixes5-0-0.txt; existing saved games and bones files are incompatible.
  • New --showpaths flag helps locate NetHack’s runtime file dependencies across platforms.

Hacker News Comment Review

  • Commenters flagged the yacc/lex to Lua migration as architecturally significant, noting NetHack predates Lua, making this a long-overdue modernization with clear modding upside.
  • Community appetite is high for a DevTeam appearance at Roguelike Celebration in October; the project’s longevity and rarity of releases amplifies interest.

Notable Comments

  • @saulpw: “truly the end of an era” – notes NetHack predates Lua, making the migration a multi-decade architectural shift.
  • @m000: Lua bindings seen as a major step toward accessible modding beyond just internal use.

Original | Discuss on HN