Platforms and the build

D-48

On Windows, nh-host links NetHack's own Windows console game with SHIM_GRAPHICS, cross-compiled from Linux, with no edit to NetHack's source.

In full

On Windows, nh-host links NetHack's own Windows console game with `SHIM_GRAPHICS`, cross-compiled from Linux, with no edit to NetHack's source. How Windows runs NetHack: NetHack's library build is Unix-only, so on Windows nh-host links NetHack's own Windows console game (core, sys/windows, its terminal port) with SHIM_GRAPHICS, compiled by build.rs from the build copy, with three compile-time renames and no source edits: windmain.c's main (called from csrc/codex_windows.c's nhmain) and choose_windows (always ours), windsys.c's sys_random_seed (D-30). NetHack's Windows startup stays as it is (AppData saves, its sysconf, its options file); getreturn is off (nobody sees its console). Client and host talk over a loopback TCP port there (Windows' Rust has no Unix sockets); release programs find their files beside themselves (home.rs, installed_playground). Built by cross-compiling from Linux, the path an agent can test (with Wine) and CI already runs. Rejected: NetHack's MSYS2 or MSVC makefiles on a Windows runner (a second build system to keep, and not testable from the brothers' machines); an emscripten or WSL route (not a download Dad double-clicks). (Phase 8 of the run of 2026-10-29.) Settled by the director, 2026-11-17 (D-130): kept as decided. | done

Things it governs

The lexicon names no thing under this decision.