RC RANDOM CHAOS

NetHack 5.0.0 ships with C99 compliance, cross-compiling, and Lua-based level data

· via Hacker News

Original source

NetHack 5.0.0

Hacker News →

The NetHack DevTeam released NetHack 5.0.0 on May 2, 2026, the first major version bump since the 3.6 line. Beyond the usual gameplay tweaks and bug fixes, the release is largely an architectural cleanup: the source now conforms to C99, the build process supports cross-compiling between platforms and operating systems, and the old yacc/lex-based level and dungeon compilers — along with the quest text processing that ran through the makedefs utility — have been replaced with Lua text files loaded and interpreted at runtime.

The shift to Lua collapses a chunk of build-time tooling into data the game reads while running, which makes content easier to author and modify without rebuilding. Cross-compiling support and C99 compliance lower the friction for packaging the game on less mainstream platforms. The team flags the usual .0-release caveats: expect bugs, and existing saved games and bones files are not compatible with 5.0.0.

Distribution stays low-key — binaries on nethack.org with sha256 checksums users are expected to verify themselves — and the team is soliciting bug reports and pull requests through the project’s existing channels.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.