sys files

This commit is contained in:
nhmall
2026-04-26 10:47:48 -04:00
parent a6cdb6aefd
commit d7a6b3085e
75 changed files with 139 additions and 139 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
NetHack 3.7 for Amiga
NetHack 5.0 for Amiga
====================
Requirements
@@ -71,7 +71,7 @@ Cross-compilation from Linux using bebbo's m68k-amigaos-gcc toolchain
(https://franke.ms/git/bebbo/amiga-gcc):
# Install toolchain to /opt/amiga
# Clone NetHack 3.7 source
# Clone NetHack 5.0 source
cd NetHack
sys/unix/setup.sh sys/unix/hints/linux.370
make fetch-lua
@@ -103,5 +103,5 @@ Ken Lorber, and Gregg Wonderly are responsible for the 3.2 port.
Janne Salmijärvi resurrected the Amiga port for 3.3 and
Teemu Suikki joined before 3.4.0.
Updated for NetHack 3.7, cross compile fixes and 32 color tile support by Ingo
Updated for NetHack 5.0, cross compile fixes and 32 color tile support by Ingo
Paschke in 2026.
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 Amiga Configuration
# NetHack 5.0 Amiga Configuration
#
# For a full list of options, see the opthelp file or press '?'
# then 'o' during gameplay.
+4 -4
View File
@@ -39,10 +39,10 @@ WASM also has a npm module that can be published out of `sys/lib/npm-library`. A
The API is two functions:
* `nhmain(int argc, char *argv[])` - The main function for NetHack that configures the program and runs the `moveloop()` until the game is over. The arguments to this function are the [command line arguments](https://nethackwiki.com/wiki/Options) to NetHack.
* `shim_graphics_set_callback(shim_callback_t cb)` - A single function that sets a callback to gather graphics events: write a string to screen, get user input, etc. Your job is to pass in a callback and handle all the requested rendering events to show NetHack on the screen. The callback is `void shim_callback_t(const char *name, void *ret_ptr, const char *fmt, ...)`
* `name` is the name of the [window function](https://github.com/NetHack/NetHack/blob/NetHack-3.7/doc/window.txt) that needs to be handled
* `name` is the name of the [window function](https://github.com/NetHack/NetHack/blob/NetHack-5.0/doc/window.txt) that needs to be handled
* `ret_ptr` is a pointer to a memory space for the return value. The type expected to be returned in this pointer is described by the first character of the `fmt` string.
* `fmt` is a string that describes the signature of the callback. The first character in the string is the return type and any additional characters describe the variable arguments: `i` for integer, `s` for string, `p` for pointer, `c` for character, `v` for void. For example, if format is "vis" the callback will have no return (void), the first argument will be an integer, and the second argument will be a string. If format is "iii" the callback must return an integer, and both the arguments passed in will be integers.
* [Variadic arguments](https://www.gnu.org/software/libc/manual/html_node/Variadic-Example.html): a variable number and type of arguments depending on the `window function` that is being called. The arguments associated with each `name` are described in the [NetHack window.txt](https://github.com/NetHack/NetHack/blob/NetHack-3.7/doc/window.txt).
* [Variadic arguments](https://www.gnu.org/software/libc/manual/html_node/Variadic-Example.html): a variable number and type of arguments depending on the `window function` that is being called. The arguments associated with each `name` are described in the [NetHack window.txt](https://github.com/NetHack/NetHack/blob/NetHack-5.0/doc/window.txt).
Where is the header file for the API you ask? There isn't one. It's three functions, just drop the forward declarations at the top of your file (or create your own header). It's more work figuring out how to install and copy around header files than it's worth for such a small API. If you disagree, feel free to submit a PR to fix it. :)
@@ -50,8 +50,8 @@ Where is the header file for the API you ask? There isn't one. It's three functi
The WebAssembly API has a similar signature to `libnethack.a` with minor syntactic differences:
* `main(int argc, char argv[])` - The main function for NetHack
* `shim_graphics_set_callback(char *cbName)` - A `String` representing a name of a callback function. The callback function be registered as `globalThis[cbName] = function yourCallback(name, ... args) { /* your stuff */ }`. Note that [globalThis](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis) points to `window` in browsers and `global` in node.js.
* `name` is the name of the [window function](https://github.com/NetHack/NetHack/blob/NetHack-3.7/doc/window.txt) that needs to be handled
* `... args` is a variable number and type of arguments depending on the `window function` that is being called. The arguments associated with each `name` are described in the [NetHack window.txt](https://github.com/NetHack/NetHack/blob/NetHack-3.7/doc/window.txt)
* `name` is the name of the [window function](https://github.com/NetHack/NetHack/blob/NetHack-5.0/doc/window.txt) that needs to be handled
* `... args` is a variable number and type of arguments depending on the `window function` that is being called. The arguments associated with each `name` are described in the [NetHack window.txt](https://github.com/NetHack/NetHack/blob/NetHack-5.0/doc/window.txt)
* The function must return the value expected for the specified `name`
+2 -2
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 sysconf $NHDT-Date: 1596498296 2020/08/03 23:44:56 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.39 $
# NetHack 5.0 sysconf $NHDT-Date: 1596498296 2020/08/03 23:44:56 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.39 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
#
@@ -102,7 +102,7 @@ HIDEUSAGE=1
# Only available if NetHack was compiled with DUMPLOG
# Allows following placeholders:
# %% literal '%'
# %v version (eg. "3.7.0-0")
# %v version (eg. "5.0.0-0")
# %u game UID
# %t game start time, UNIX timestamp format
# %T current time, UNIX timestamp format
+3 -3
View File
@@ -3,12 +3,12 @@
NetHack may be freely redistributed. See license for details.
==============================================================
Instructions for compiling and installing
NetHack 3.7 on a DOS system
NetHack 5.0 on a DOS system
======================================================
(or, How to make PC NetHack 3.7)
(or, How to make PC NetHack 5.0)
Last revision: $NHDT-Date: 1596508786 2021/06/04 08:45:00 $
Credit for a runnable full PC NetHack 3.7 goes to the PC Development team
Credit for a runnable full PC NetHack 5.0 goes to the PC Development team
of Paul Winner, Kevin Smolkowski, Michael Allison, Yitzhak Sapir, Bill Dyer,
Timo Hakulinen, Yamamoto Keizo, Mike Threepoint, Mike Stephenson,
Stephen White, Ken Washikita and Janet Walz. The present port is based
+4 -4
View File
@@ -1,9 +1,9 @@
# NetHack 3.7 Makefile.GCC $NHDT-Date: 1596498268 2020/08/03 23:44:28 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.53 $
# NetHack 5.0 Makefile.GCC $NHDT-Date: 1596498268 2020/08/03 23:44:28 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.53 $
# Copyright (c) NetHack PC Development Team 1996-2024.
# PC NetHack 3.7 Makefile for djgpp V2
# PC NetHack 5.0 Makefile for djgpp V2
#
# Gnu gcc compiler for msdos (djgpp)
# Requires Gnu Make utility (V3.79.1 or greater) supplied with djgpp
# Requires Gnu Make utility (V5.09.1 or greater) supplied with djgpp
#
# For questions or comments: devteam@nethack.org
#
@@ -61,7 +61,7 @@ endif
# This build assumes that the LUA sources are located
# at the specified location. If they are actually elsewhere
# you'll need to specify the correct spot below in order to
# successfully build NetHack-3.7.
# successfully build NetHack-5.0.
#
ADD_LUA=Y
LUATOP=../lib/lua$(LUAVER)
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 msdos.c $NHDT-Date: 1596498269 2020/08/03 23:44:29 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
/* NetHack 5.0 msdos.c $NHDT-Date: 1596498269 2020/08/03 23:44:29 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.15 $ */
/* Copyright (c) NetHack PC Development Team 1990 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
MSDOS specific help file for NetHack 3.7
MSDOS specific help file for NetHack 5.0
(Last Revision: December 4, 1999)
Copyright (c) NetHack PC Development Team 1993-1999.
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pckeys.c $NHDT-Date: 1596498270 2020/08/03 23:44:30 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $ */
/* NetHack 5.0 pckeys.c $NHDT-Date: 1596498270 2020/08/03 23:44:30 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.14 $ */
/* Copyright (c) NetHack PC Development Team 1996 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pctiles.c $NHDT-Date: 1596498271 2020/08/03 23:44:31 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.13 $ */
/* NetHack 5.0 pctiles.c $NHDT-Date: 1596498271 2020/08/03 23:44:31 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.13 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
/* NetHack may be freely redistributed. See license for details. */
/* */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pctiles.h $NHDT-Date: 1596498272 2020/08/03 23:44:32 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 pctiles.h $NHDT-Date: 1596498272 2020/08/03 23:44:32 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
/* NetHack may be freely redistributed. See license for details. */
/* */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pcvideo.h $NHDT-Date: 1596498273 2020/08/03 23:44:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $ */
/* NetHack 5.0 pcvideo.h $NHDT-Date: 1596498273 2020/08/03 23:44:33 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
/* NetHack may be freely redistributed. See license for details. */
/* */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 portio.h $NHDT-Date: 1596498273 2020/08/03 23:44:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 portio.h $NHDT-Date: 1596498273 2020/08/03 23:44:33 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (c) NetHack PC Development Team 1995 */
/* NetHack may be freely redistributed. See license for details. */
/* */
+1 -1
View File
@@ -1,5 +1,5 @@
@echo off
REM NetHack 3.7 setup.bat $NHDT-Date: 1596498274 2020/08/03 23:44:34 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.18 $
REM NetHack 5.0 setup.bat $NHDT-Date: 1596498274 2020/08/03 23:44:34 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.18 $
REM Copyright (c) NetHack PC Development Team 1990 - 2019
REM NetHack may be freely redistributed. See license for details.
+2 -2
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 sysconf $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.7.0 $:$NHDT-Revision: 1.22 $
# NetHack 5.0 sysconf $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-5.0.0 $:$NHDT-Revision: 1.22 $
# Copyright (c) 2015 by Michael Allison
# NetHack may be freely redistributed. See license for details.
#
@@ -24,7 +24,7 @@ WIZARDS=*
# Only available if NetHack was compiled with DUMPLOG
# Allows following placeholders:
# %% literal '%'
# %v version (eg. "3.7.0-0")
# %v version (eg. "5.0.0-0")
# %u game UID
# %t game start time, UNIX timestamp format
# %T current time, UNIX timestamp format
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 tile2bin.c $NHDT-Date: 1596498275 2020/08/03 23:44:35 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $ */
/* NetHack 5.0 tile2bin.c $NHDT-Date: 1596498275 2020/08/03 23:44:35 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994, 1995 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vesa.h $NHDT-Date: 1596498276 2020/08/03 23:44:36 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $ */
/* NetHack 5.0 vesa.h $NHDT-Date: 1596498276 2020/08/03 23:44:36 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.0 $ */
/* VESA structures from the VESA BIOS Specification, retrieved 15 Jan 2016
* from http://flint.cs.yale.edu/cs422/readings/hardware/vbe3.pdf
+2 -2
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 video.c $NHDT-Date: 1596498277 2020/08/03 23:44:37 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.16 $ */
/* NetHack 5.0 video.c $NHDT-Date: 1596498277 2020/08/03 23:44:37 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.16 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994, 2001 */
/* NetHack may be freely redistributed. See license for details. */
@@ -419,7 +419,7 @@ term_start_color(int color)
if (monoflag) {
g_attribute = attrib_text_normal;
} else {
if (color == NO_COLOR) { /* 3.7 behave like term_end_color() */
if (color == NO_COLOR) { /* 5.0 behave like term_end_color() */
g_attribute = iflags.grmode ? attrib_gr_normal : attrib_text_normal;
curframecolor = NO_COLOR;
} else if (color >= 0 && color < CLR_MAX) {
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vidtxt.c $NHDT-Date: 1596498278 2020/08/03 23:44:38 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.12 $ */
/* NetHack 5.0 vidtxt.c $NHDT-Date: 1596498278 2020/08/03 23:44:38 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.12 $ */
/* Copyright (c) NetHack PC Development Team 1993 */
/* NetHack may be freely redistributed. See license for details. */
/* */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vidvga.c $NHDT-Date: 1606765216 2020/11/30 19:40:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.26 $ */
/* NetHack 5.0 vidvga.c $NHDT-Date: 1606765216 2020/11/30 19:40:16 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.26 $ */
/* Copyright (c) NetHack PC Development Team 1995 */
/* NetHack may be freely redistributed. See license for details. */
/*
+5 -5
View File
@@ -3,16 +3,16 @@ NetHack.cnf NHSUBST
termcap NH_header=no
Makefile.lib NH_header=no
Makefile.lib NH_filestag=(file%s_for_OS/2_version_-_untested_for_3.7)
#termcap.uu NH_filestag=(file%s_for_MSDOS_and_OS/2_versions_-_untested_for_3.7)
Makefile.lib NH_filestag=(file%s_for_OS/2_version_-_untested_for_5.0)
#termcap.uu NH_filestag=(file%s_for_MSDOS_and_OS/2_versions_-_untested_for_5.0)
termcap.uu NH_filestag=>Makefile.lib
pcmain.c NH_filestag=(file_for_MSDOS,_OS/2,_Amiga,_and_Atari_versions_-_only_MSDOS_tested_for_3.7)
pcmain.c NH_filestag=(file_for_MSDOS,_OS/2,_Amiga,_and_Atari_versions_-_only_MSDOS_tested_for_5.0)
pcsys.c NH_filestag=(file%s_for_MSDOS,_OS/2_and_Atari_versions_-_only_MSDOS_tested_for_3.7)
pcsys.c NH_filestag=(file%s_for_MSDOS,_OS/2_and_Atari_versions_-_only_MSDOS_tested_for_5.0)
pcunix.c NH_filestag=>pcsys.c
NetHack.cnf NH_filestag=(file_for_MSDOS,_OS/2,_and_Atari_versions_-_only_MSDOS_tested_for_3.7)
NetHack.cnf NH_filestag=(file_for_MSDOS,_OS/2,_and_Atari_versions_-_only_MSDOS_tested_for_5.0)
pctty.c NH_filestag=>NetHack.cnf
ioctl.c NH_filestag=(file%s_for_UNIX_and_Be_versions)
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 Makefile.lib $NHDT-Date: 1596498281 2020/08/03 23:44:41 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.8 $
# NetHack 5.0 Makefile.lib $NHDT-Date: 1596498281 2020/08/03 23:44:41 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.8 $
# Nethack makefile for Fred fish termlib -- Norman Meluch
#
CC = cl /c
+2 -2
View File
@@ -1,5 +1,5 @@
/* NetHack 3.7 cppregex.cpp */
/* $NHDT-Date: 1596498279 2020/08/03 23:44:39 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.9 $ */
/* NetHack 5.0 cppregex.cpp */
/* $NHDT-Date: 1596498279 2020/08/03 23:44:39 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.9 $ */
/* Copyright (c) Sean Hunt 2015. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 ioctl.c $NHDT-Date: 1596498280 2020/08/03 23:44:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
/* NetHack 5.0 ioctl.c $NHDT-Date: 1596498280 2020/08/03 23:44:40 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.15 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pcsys.c $NHDT-Date: 1596498283 2020/08/03 23:44:43 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.42 $ */
/* NetHack 5.0 pcsys.c $NHDT-Date: 1596498283 2020/08/03 23:44:43 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.42 $ */
/* Copyright (c) 2012 by Michael Allison */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pctty.c $NHDT-Date: 1596498284 2020/08/03 23:44:44 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.13 $ */
/* NetHack 5.0 pctty.c $NHDT-Date: 1596498284 2020/08/03 23:44:44 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.13 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Michael Allison, 2005. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pcunix.c $NHDT-Date: 1596498285 2020/08/03 23:44:45 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.42 $ */
/* NetHack 5.0 pcunix.c $NHDT-Date: 1596498285 2020/08/03 23:44:45 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.42 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Michael Allison, 2006. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 pmatchregex.c $NHDT-Date: 1737691300 2025/01/23 20:01:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 pmatchregex.c $NHDT-Date: 1737691300 2025/01/23 20:01:40 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (c) Sean Hunt 2015. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 posixregex.c $NHDT-Date: 1596498286 2020/08/03 23:44:46 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.7 $ */
/* NetHack 5.0 posixregex.c $NHDT-Date: 1596498286 2020/08/03 23:44:46 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.7 $ */
/* Copyright (c) Sean Hunt 2015. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 tclib.c $NHDT-Date: 1596498287 2020/08/03 23:44:47 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 tclib.c $NHDT-Date: 1596498287 2020/08/03 23:44:47 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (c) Robert Patrick Rankin, 1995 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 unixtty.c $NHDT-Date: 1596498288 2020/08/03 23:44:48 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.27 $ */
/* NetHack 5.0 unixtty.c $NHDT-Date: 1596498288 2020/08/03 23:44:48 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.27 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Michael Allison, 2006. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -46,7 +46,7 @@
* Modified 09 Apr 2026 to change mode variable from (int) to (unsigned int)
* to match prototype of sscanf %o.
*
* $NHDT-Date: 1775744389 2026/04/09 14:19:49 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.21 $
* $NHDT-Date: 1775744389 2026/04/09 14:19:49 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.21 $
*/
#ifndef lint
+4 -4
View File
@@ -1,11 +1,11 @@
Instructions for Building and Installing NetHack 3.7.0
Instructions for Building and Installing NetHack 5.0.0
on a VMS (aka OpenVMS) system
=========================================
0. Please read this entire file before trying to build or install
NetHack, then read it again!
1. NetHack 3.7 was built and tested on OpenVMS on both the Integrity
1. NetHack 5.0 was built and tested on OpenVMS on both the Integrity
and Alpha platform using the HP C V7.3 for OpenVMS compiler. While
not tested, older versions of DEC C will most likely work as compatibility
with older systems is a goal of the VMS porting team. Unfortunately,
@@ -145,7 +145,7 @@ Notes:
0. Version 3.5.x was never publicly released.
1. Save files and bones files from 3.6.x and earlier versions will not
work with 3.7.0. The scoreboard file (RECORD) from 3.6.x or 3.4.x or
work with 5.0.0. The scoreboard file (RECORD) from 3.6.x or 3.4.x or
3.3.x will work.
2. Ancient C libs will not work; vsnprintf is required.
@@ -510,6 +510,6 @@ minimally updated 9-NOV-2015...
and again 5-MAY-2019...
and yet again 26-JAN-2020...
# NetHack 3.7 Install.vms $NHDT-Date: 1575245132 2019/12/02 00:05:32 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.16 $
# NetHack 5.0 Install.vms $NHDT-Date: 1575245132 2019/12/02 00:05:32 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.16 $
# Copyright (c) 2003 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+5 -5
View File
@@ -1,8 +1,8 @@
Instructions for Building and Installing NetHack 3.7.0
Instructions for Building and Installing NetHack 5.0.0
on a VSI openVMS 9.2 system
=========================================
This contains a description of how to build NetHack-3.7.0 on VSI OpenVMS 9.2.
This contains a description of how to build NetHack-5.0.0 on VSI OpenVMS 9.2.
This process uses Gnu Make 4.1 (minimum) for VMS to carry out the build.
Last tested with VSI C x86-64 V7.5-009 (GEM 50XBR) on OpenVMS x86_64 V9.2-2.
@@ -26,7 +26,7 @@ Last tested with VSI C x86-64 V7.5-009 (GEM 50XBR) on OpenVMS x86_64 V9.2-2.
[.win.tty] -- "window" routines for ordinary terminals
(including terminal windows on workstations)
2. From the top of the NetHack 3.7 distribution, issue the following
2. From the top of the NetHack 5.0 distribution, issue the following
pair of commands to distribute the GNU make Makefile.vms files to their
working locations for building NetHack:
$ set def [.sys.vms]
@@ -76,7 +76,7 @@ Last tested with VSI C x86-64 V7.5-009 (GEM 50XBR) on OpenVMS x86_64 V9.2-2.
Notes:
1. Save files and bones files from 3.6.x and earlier versions will not
work with 3.7.0. The scoreboard file (RECORD) from 3.6.x or 3.4.x or
work with 5.0.0. The scoreboard file (RECORD) from 3.6.x or 3.4.x or
3.3.x should work.
2. To specify user-preference options in your environment, define the
@@ -360,5 +360,5 @@ Notes:
make utility used.
8-March-2024
# NetHack 3.7 Install370.vms $NHDT-Date: 1575245132 2019/12/02 00:05:32 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.16 $
# NetHack 5.0 Install370.vms $NHDT-Date: 1575245132 2019/12/02 00:05:32 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.16 $
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - data files: special levels and other data.
# NetHack 3.7 Makefile.dat $NHDT-Date: 1596498300 2020/08/03 23:45:00 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.12 $
# NetHack 5.0 Makefile.dat $NHDT-Date: 1596498300 2020/08/03 23:45:00 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.12 $
# Copyright (c) 2015 by Mike Stephenson
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - for the [Unix] documentation.
# NetHack 3.7 Makefile.doc $NHDT-Date: 1596498301 2020/08/03 23:45:01 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $
# NetHack 5.0 Makefile.doc $NHDT-Date: 1596498301 2020/08/03 23:45:01 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $
# Copyright (c) 2011 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - for building nethack itself.
# NetHack 3.7 Makefile.src $NHDT-Date: 1683748060 2023/05/10 19:47:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.60 $
# NetHack 5.0 Makefile.src $NHDT-Date: 1683748060 2023/05/10 19:47:40 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.60 $
# Copyright (c) 2011 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - top level for making & installing everything.
# NetHack 3.7 Makefile.top $NHDT-Date: 1596498303 2020/08/03 23:45:03 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
# NetHack 5.0 Makefile.top $NHDT-Date: 1596498303 2020/08/03 23:45:03 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $
# Copyright (c) 2011 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - for utility programs.
# NetHack 3.7 Makefile.utl $NHDT-Date: 1609347482 2020/12/30 16:58:02 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.20 $
# NetHack 5.0 Makefile.utl $NHDT-Date: 1609347482 2020/12/30 16:58:02 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.20 $
# Copyright (c) 2011 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack Datafiles Makefile.dat $NHDT-Date: 1596486993 2020/08/03 20:36:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.32 $
# NetHack Datafiles Makefile.dat $NHDT-Date: 1596486993 2020/08/03 20:36:33 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.32 $
# Copyright (c) 2018 by Pasi Kallinen
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Documentation Makefile.
# NetHack 3.7 Makefile.doc $NHDT-Date: 1596498290 2020/08/03 23:44:50 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.21 $
# NetHack 5.0 Makefile.doc $NHDT-Date: 1596498290 2020/08/03 23:44:50 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.21 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 Makefile.src $NHDT-Date: 1654287121 2022/06/03 20:12:01 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.145 $
# NetHack 5.0 Makefile.src $NHDT-Date: 1654287121 2022/06/03 20:12:01 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.145 $
# Copyright (c) 2024 by Michael Allison
# NetHack may be freely redistributed. See license for details.
#
+2 -2
View File
@@ -1,5 +1,5 @@
# NetHack Top-level Makefile.
# NetHack 3.7 Makefile.vms $NHDT-Date: 1642630921 2022/01/19 22:22:01 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.72 $
# NetHack 5.0 Makefile.vms $NHDT-Date: 1642630921 2022/01/19 22:22:01 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.72 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
@@ -21,7 +21,7 @@ NHSROOT=[]
# MAKE = make
# NetHack 3.7 Makefile.vms $NHDT-Date: 1654287121 2022/06/03 20:12:01 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.145 $
# NetHack 5.0 Makefile.vms $NHDT-Date: 1654287121 2022/06/03 20:12:01 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.145 $
# Copyright (c) 2023 by Michael Allison
# NetHack may be freely redistributed. See license for details.
#
+2 -2
View File
@@ -1,12 +1,12 @@
# Makefile for NetHack's utility programs.
# NetHack 3.7 util Makefile.vms $NHDT-Date: 1602258295 2020/10/09 15:44:55 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.53 $
# NetHack 5.0 util Makefile.vms $NHDT-Date: 1602258295 2020/10/09 15:44:55 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.53 $
# Copyright (c) 2018 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
# Root of source tree relative to here:
NHSROOT=[-]
# NetHack 3.7 began introducing C99 code.
# NetHack 5.0 began introducing C99 code.
#
# If your compiler needs an appropriate switch to accept C99 code.
# CSTD = -std=c99
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 oldcrtl.c $NHDT-Date: 1596498304 2020/08/03 23:45:04 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.9 $ */
/* NetHack 5.0 oldcrtl.c $NHDT-Date: 1596498304 2020/08/03 23:45:04 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.9 $ */
/* Pat Rankin May'90 */
/* VMS NetHack support, not needed for vms 4.6,4.7,5.x,or later */
+2 -2
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 sysconf $NHDT-Date: 1704043695 2023/12/31 17:28:15 $ $NHDT-Branch: keni-luabits2 $:$NHDT-Revision: 1.7 $
# NetHack 5.0 sysconf $NHDT-Date: 1704043695 2023/12/31 17:28:15 $ $NHDT-Branch: keni-luabits2 $:$NHDT-Revision: 1.7 $
# Copyright (c) 2015 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
#
@@ -110,7 +110,7 @@ HIDEUSAGE=1
# Only available if NetHack was compiled with DUMPLOG
# Allows following placeholders:
# %% literal '%'
# %v version (eg. "3.7.0-0")
# %v version (eg. "5.0.0-0")
# %u game UID
# %t game start time, UNIX timestamp format
# %T current time, UNIX timestamp format
+7 -7
View File
@@ -1,6 +1,6 @@
$ ! vms/vmsbuild.com -- compile and link NetHack 3.7.* [pr]
$ version_number = "3.7.0"
$ ! $NHDT-Date: 1687541093 2023/06/23 17:24:53 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.39 $
$ ! vms/vmsbuild.com -- compile and link NetHack 5.0.* [pr]
$ version_number = "5.0.0"
$ ! $NHDT-Date: 1687541093 2023/06/23 17:24:53 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.39 $
$ ! Copyright (c) 2018 by Robert Patrick Rankin
$ ! NetHack may be freely redistributed. See license for details.
$ !
@@ -10,7 +10,7 @@ $ ! $ @[-.sys.vms]vmsbuild [compiler-option] [link-option] [cc-switches] -
$ ! [linker-switches] [interface]
$ ! options:
$ ! compiler-option : either "VSIC", "VAXC", "DECC",
$ ! "GNUC" or "" or "fetchlua" !default in 3.7 is VSIC
$ ! "GNUC" or "" or "fetchlua" !default in 5.0 is VSIC
$ ! link-option : either "SHARE[able]" or "LIB[rary]" !default SHARE
$ ! cc-switches : optional qualifiers for CC (such as "/noOpt/Debug")
$ ! linker-switches : optional qualifiers for LINK (/Debug or /noTraceback)
@@ -291,7 +291,7 @@ $ if f$search("[-.include]nhlua.h").nes."" then -
$ milestone " (wiped existing [-.include]nhlua.h)"
$ exit
$!
$! 3.7 runtime LUA level parser/loader
$! 5.0 runtime LUA level parser/loader
$!
$buildlua:
$ if f$search("[-.lib]lua.dir;").eqs."" then -
@@ -406,7 +406,7 @@ $ gosub compile_list
$ link makedefs.obj,[-.src]panic.obj,'nethacklib'/Lib,[-.src]ident.opt/Opt,[-.src]crtl/Opt
$ milestone "makedefs"
$! create some build-time files
$! 3.7 does not require these
$! 5.0 does not require these
$! makedefs -p !pm.h
$! makedefs -o !onames.h
$! makedefs -v !date.h
@@ -431,7 +431,7 @@ $ c_list = "hack,hacklib,iactions,insight,invent,light,lock,mail,makemon" -
+ ",music"
$ gosub compile_list
$!
$! Files added in 3.7 for Lua glue
$! Files added in 5.0 for Lua glue
$!
$ c_list = "nhlua,nhlobj,nhlsel"
$ gosub compile_list
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vmsfiles.c $NHDT-Date: 1685522046 2023/05/31 08:34:06 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.19 $ */
/* NetHack 5.0 vmsfiles.c $NHDT-Date: 1685522046 2023/05/31 08:34:06 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.19 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2007. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vmsmail.c $NHDT-Date: 1685522048 2023/05/31 08:34:08 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.18 $ */
/* NetHack 5.0 vmsmail.c $NHDT-Date: 1685522048 2023/05/31 08:34:08 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.18 $ */
/* Copyright (c) Robert Patrick Rankin, 1991. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vmsmisc.c $NHDT-Date: 1685522049 2023/05/31 08:34:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.18 $ */
/* NetHack 5.0 vmsmisc.c $NHDT-Date: 1685522049 2023/05/31 08:34:09 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.18 $ */
/* Copyright (c) 2011 by Robert Patrick Rankin */
/* NetHack may be freely redistributed. See license for details. */
+2 -2
View File
@@ -1,6 +1,6 @@
$ ! vmssetup.com -- place GNU Makefiles in their target directories
$ version_number = "3.7.0"
$ ! $NHDT-Date: 1687541093 2024/03/08 17:24:53 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.39 $
$ version_number = "5.0.0"
$ ! $NHDT-Date: 1687541093 2024/03/08 17:24:53 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.39 $
$ ! NetHack may be freely redistributed. See license for details.
$ !
$ relsrc = ""
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vmstty.c $NHDT-Date: 1596498309 2020/08/03 23:45:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.21 $ */
/* NetHack 5.0 vmstty.c $NHDT-Date: 1596498309 2020/08/03 23:45:09 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.21 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2011. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 vmsunix.c $NHDT-Date: 1685522050 2023/05/31 08:34:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.31 $ */
/* NetHack 5.0 vmsunix.c $NHDT-Date: 1685522050 2023/05/31 08:34:10 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.31 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2011. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,7 +1,7 @@
Copyright (c) NetHack Development Team 1990-2024
NetHack may be freely redistributed. See license for details.
==============================================================
Instructions for compiling NetHack 3.7 on a Windows system
Instructions for compiling NetHack 5.0 on a Windows system
(only tested on Windows 10/11 or later)
==============================================================
Last revision: $NHDT-Date: 1594155895 2020/07/07 21:04:55 $
+10 -10
View File
@@ -1,10 +1,10 @@
# NetHack 3.7 Makefile.nmake
# NetHack 5.0 Makefile.nmake
# Copyright (c) NetHack Development Team 1993-2026
#
#==============================================================================
# Build Tools Environment
#
# NetHack 3.7 Work-in-progress Makefile for
# NetHack 5.0 Work-in-progress Makefile for
# MS Visual Studio Visual C++ compiler
#
# Visual Studio Compilers Tested:
@@ -311,7 +311,7 @@ LUA_MAY_PROCEED=Y
!MESSAGE or modify your Makefile to set the following:
!MESSAGE INTERNET_AVAILABLE=Y
!MESSAGE GIT_AVAILABLE=Y
!ERROR Stopping because NetHack 3.7 requires Lua for its build.
!ERROR Stopping because NetHack 5.0 requires Lua for its build.
!ENDIF # LUA_MAY_PROCEED
# Now, pdcursesmod
@@ -385,7 +385,7 @@ ADD_CURSES = N
!ENDIF # WANT_CURSES
!IF "$(ADD_CURSES)" != "Y"
!MESSAGE NetHack 3.7 will be built without support for the curses window-port.
!MESSAGE NetHack 5.0 will be built without support for the curses window-port.
!ENDIF
#These will be in the environment variables with one of the Visual Studio
@@ -548,8 +548,8 @@ GITPREFIX = -DNETHACK_GIT_PREFIX=\"$(GIT_PREFIX)\"
# This build assumes that the LUA sources are located
# at the specified location. If they are actually elsewhere
# you'll need to specify the correct spot below in order to
# successfully build NetHack-3.7. You cannot build a functional
# version of NetHack-3.7 Work-in-progress without including Lua.
# successfully build NetHack-5.0. You cannot build a functional
# version of NetHack-5.0 Work-in-progress without including Lua.
#
!IFNDEF LUAVER
@@ -778,7 +778,7 @@ RECOVOBJS = $(OUTL)recover.o
TILEFILES = $(WSHR)monsters.txt $(WSHR)objects.txt $(WSHR)other.txt
#
# These are not invoked during a normal game build in 3.7
# These are not invoked during a normal game build in 5.0
#
TEXT_IO = $(OUTL)tiletext.o $(OUTL)tiletxt.o $(OUTL)drawing$(HOST).o \
@@ -1886,9 +1886,9 @@ $(OTTY)sfbase.o: sfbase.c $(HACK_H) $(INCL)sfmacros.h
$(Q)$(CC) $(CFLAGS) -Fo$@ $(@B).c
#
# date.h is not used with NetHack 3.7
# onames.h is not used with NetHack 3.7
# pm.h is not used with NetHack 3.7
# date.h is not used with NetHack 5.0
# onames.h is not used with NetHack 5.0
# pm.h is not used with NetHack 5.0
$(INCL)date.h $(OPTIONS_FILE) : $(U)makedefs.exe
$(U)makedefs -v
+3 -3
View File
@@ -46,7 +46,7 @@ Required components that are not bundled in the NetHack repository, but
are required to build NetHack yourself.
Lua
NetHack 3.7 for Windows requires 3rd party Lua source that is not part
NetHack 5.0 for Windows requires 3rd party Lua source that is not part
of the NetHack distribution or repository.
A bash shell script for fetching prerequisite
@@ -55,7 +55,7 @@ Lua
sh sys/windows/fetch.sh lua
Curses
If you want to include curses interface support in NetHack 3.7 for
If you want to include curses interface support in NetHack 5.0 for
3rd part pdcursesmod source code is required and is not part of the
NetHack distribution or repository.
@@ -82,7 +82,7 @@ architectures have evolved and you can now choose whether to build
a 32-bit x86 version, or a 64-bit x64 version. The default Makefile
is set up for a 32-bit x86 version, but that's only because it will
run on the largest number of existing Windows environments. Change it if you
want. Be aware that NetHack's save files and bones files in the 3.7.0
want. Be aware that NetHack's save files and bones files in the 5.0.0
release are not interchangeable between the 32-bit version and the
64-bit version (or between different platforms).
+3 -3
View File
@@ -7,7 +7,7 @@ Prerequisite Requirements:
be installed on your machine. See:
https://visualstudio.microsoft.com/vs/community/
o Lua
NetHack 3.7 for Windows requires 3rd party Lua source that is not part
NetHack 5.0 for Windows requires 3rd party Lua source that is not part
of the NetHack distribution or repository.
A windows cmd command procedure for fetching prerequisite sources
@@ -15,7 +15,7 @@ Prerequisite Requirements:
NetHack source tree to obtain lua:
sys\windows\fetch.cmd lua
o pdcursesmod (Only required if curses interface support is desired)
If you want to include curses interface support in NetHack 3.7 for
If you want to include curses interface support in NetHack 5.0 for
3rd part pdcursesmod source code is required and is not part of the
NetHack distribution or repository.
@@ -75,7 +75,7 @@ architectures have evolved and you can now choose whether to build
a 32-bit x86 version, or a 64-bit x64 version. The default Makefile
is set up for a 32-bit x86 version, but that's only because it will
run on the most number of existing Windows environments. Change it if you
want. Be aware that NetHack's save files and bones files in the 3.7.0
want. Be aware that NetHack's save files and bones files in the 5.0.0
release have not yet evolved enough to allow them to interchange between
the 32-bit version and the 64-bit version (or between different platforms).
That may change in future.
+2 -2
View File
@@ -31,7 +31,7 @@ Prerequisite Requirements:
See:
https://visualstudio.microsoft.com/vs/community/
o Lua
NetHack 3.7 for Windows requires 3rd party Lua source that is not part
NetHack 5.0 for Windows requires 3rd party Lua source that is not part
of the NetHack distribution or repository.
A windows cmd command procedure for fetching prerequisite sources
@@ -39,7 +39,7 @@ Prerequisite Requirements:
NetHack source tree to obtain lua:
sys\windows\fetch.cmd lua
o pdcursesmod (Only required if curses interface support is desired)
If you want to include curses interface support in NetHack 3.7 for
If you want to include curses interface support in NetHack 5.0 for
3rd part pdcursesmod source code is required and is not part of the
NetHack distribution or repository.
+4 -4
View File
@@ -1,4 +1,4 @@
/* NetHack 3.7 console.rc $NHDT-Date: 1596498311 2020/08/03 23:45:11 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $ */
/* NetHack 5.0 console.rc $NHDT-Date: 1596498311 2020/08/03 23:45:11 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.14 $ */
/* Copyright (c) Yitzhak Sapir, 2002. */
/* NetHack may be freely redistributed. See license for details. */
@@ -29,13 +29,13 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "NetHack for Windows - TTY Interface\0"
VALUE "FileVersion", "3.7.0\0"
VALUE "FileVersion", "5.0.0\0"
VALUE "InternalName", "NetHack\0"
VALUE "LegalCopyright", "Copyright (C) 1985 - 2023. By Stichting Mathematisch Centrum and M. Stephenson. See license for details.\0"
VALUE "LegalCopyright", "Copyright (C) 1985 - 2026. By Stichting Mathematisch Centrum and M. Stephenson. See license for details.\0"
VALUE "OriginalFilename", "NetHack.exe\0"
VALUE "PrivateBuild", "050107\0"
VALUE "ProductName", "NetHack\0"
VALUE "ProductVersion", "3.7.0\0"
VALUE "ProductVersion", "5.0.0\0"
END
END
BLOCK "VarFileInfo"
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 consoletty.c $NHDT-Date: 1596498316 2020/08/03 23:45:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.117 $ */
/* NetHack 5.0 consoletty.c $NHDT-Date: 1596498316 2020/08/03 23:45:16 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.117 $ */
/* Copyright (c) NetHack PC Development Team 1993 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,5 +1,5 @@
NAME NETHACK
DESCRIPTION 'NetHack 3.7.0 for Windows'
DESCRIPTION 'NetHack 5.0.0 for Windows'
EXETYPE WINDOWS
STUB 'WINSTUB.EXE'
CODE PRELOAD MOVEABLE DISCARDABLE
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 defaults.nh $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $
# NetHack 5.0 defaults.nh $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $
# Copyright (c) 2006 by Michael Allison
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,4 +1,4 @@
@REM NetHack 3.7 nhsetup.bat $NHDT-Date: 1596498315 2020/08/03 23:45:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.40 $ */
@REM NetHack 5.0 nhsetup.bat $NHDT-Date: 1596498315 2020/08/03 23:45:15 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.40 $ */
@REM Copyright (c) NetHack Development Team 1993-2024
@REM NetHack may be freely redistributed. See license for details.
@REM Win32 setup batch file, see Install.windows for details
+1 -1
View File
@@ -1,4 +1,4 @@
Microsoft Windows specific help file for NetHack 3.7
Microsoft Windows specific help file for NetHack 5.0
Copyright (c) NetHack PC Development Team 1993-2025.
NetHack may be freely distributed. See license for details.
(Last Revision: August 19, 2025)
+9 -9
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 sysconf $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.7.0 $:$NHDT-Revision: 1.22 $
# NetHack 5.0 sysconf $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-5.0.0 $:$NHDT-Revision: 1.22 $
# Copyright (c) 2015 by Michael Allison
# NetHack may be freely redistributed. See license for details.
#
@@ -28,7 +28,7 @@ WIZARDS=*
# Only available if NetHack was compiled with DUMPLOG
# Allows following placeholders:
# %% literal '%'
# %v version (eg. "3.7.0-0")
# %v version (eg. "5.0.0-0")
# %u game UID
# %t game start time, UNIX timestamp format
# %T current time, UNIX timestamp format
@@ -106,25 +106,25 @@ HIDEUSAGE=1
#
# The location that a record of game aborts and self-diagnosed game problems
# is kept (default=HACKDIR, writeable)
#TROUBLEDIR=%USERPROFILE%\NetHack\3.7
#TROUBLEDIR=%USERPROFILE%\NetHack\5.0
#
# The location that documentation and helps files are placed
#HACKDIR=%USERPROFILE%\NetHack\3.7
#HACKDIR=%USERPROFILE%\NetHack\5.0
#
# The location that level files in progress are stored (writeable)
#LEVELDIR=%USERPROFILE%\AppData\Local\NetHack\3.7
#LEVELDIR=%USERPROFILE%\AppData\Local\NetHack\5.0
#
# The location where saved games are kept (writeable)
#SAVEDIR=%USERPROFILE%\AppData\Local\NetHack\3.7
#SAVEDIR=%USERPROFILE%\AppData\Local\NetHack\5.0
#
# The location that bones files are kept (writeable)
#BONESDIR=c:\ProgramData\NetHack\3.7
#BONESDIR=c:\ProgramData\NetHack\5.0
#
# The location that score files are kept (writeable)
#SCOREDIR=c:\ProgramData\NetHack\3.7
#SCOREDIR=c:\ProgramData\NetHack\5.0
#
# The location that file synchronization locks are stored (writeable)
#LOCKDIR=c:\ProgramData\NetHack\3.7
#LOCKDIR=c:\ProgramData\NetHack\5.0
# URL loaded for creating reports to the NetHack DevTeam
#CRASHREPORTURL=https://nethack.org/links/cr-37BETA.html
+2 -2
View File
@@ -1,8 +1,8 @@
# NetHack 3.7 fetchprereq.nmake
# NetHack 5.0 fetchprereq.nmake
#==============================================================================
#
# The version of the game this Makefile was designed for
NETHACK_VERSION="3.7.0"
NETHACK_VERSION="5.0.0"
# A brief version for use in macros
NHV=$(NETHACK_VERSION:.=)
+2 -2
View File
@@ -2,7 +2,7 @@
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp rescap">
<Identity Name="30485NetHackDevTeam.NetHack3.6" Publisher="CN=8BDC628A-FAAA-4EBA-8B5B-EB61BA93BA1F" Version="363.0.28.0" />
<Properties>
<DisplayName>NetHack 3.7</DisplayName>
<DisplayName>NetHack 5.0</DisplayName>
<PublisherDisplayName>NetHack DevTeam</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>
@@ -15,7 +15,7 @@
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
<uap:VisualElements DisplayName="NetHack 3.7" Description="NetHack 3.7" BackgroundColor="transparent" Square150x150Logo="Images\Square150x150Logo.png" Square44x44Logo="Images\Square44x44Logo.png">
<uap:VisualElements DisplayName="NetHack 5.0" Description="NetHack 5.0" BackgroundColor="transparent" Square150x150Logo="Images\Square150x150Logo.png" Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" Square310x310Logo="Images\LargeTile.png" Square71x71Logo="Images\SmallTile.png">
</uap:DefaultTile>
<uap:SplashScreen Image="Images\SplashScreen.png" />
+1 -1
View File
@@ -363,7 +363,7 @@
<ProductReservedInfo>
<MainPackageIdentityName>30485NetHackDevTeam.NetHack3.6</MainPackageIdentityName>
<ReservedNames>
<ReservedName>NetHack 3.7</ReservedName>
<ReservedName>NetHack 5.0</ReservedName>
</ReservedNames>
</ProductReservedInfo>
<AccountPackageIdentityNames>
+2 -2
View File
@@ -1,8 +1,8 @@
# NetHack 3.7 fetchctags.nmake
# NetHack 5.0 fetchctags.nmake
#==============================================================================
#
# The version of the game this Makefile was designed for
NETHACK_VERSION="3.7.0"
NETHACK_VERSION="5.0.0"
# A brief version for use in macros
NHV=$(NETHACK_VERSION:.=)
+2 -2
View File
@@ -1,10 +1,10 @@
# NetHack 3.7 package.nmake
# NetHack 5.0 package.nmake
#==============================================================================
#
# The version of the game this Makefile was designed for
!IFNDEF NETHACK_VERSION
NETHACK_VERSION="3.7.0"
NETHACK_VERSION="5.0.0"
!MESSAGE NETHACK_VERSION set to $(NETHACK_VERSION).
!ELSE
!MESSAGE NETHACK_VERSION set to $(NETHACK_VERSION) by caller.
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 win10.c $NHDT-Date: 1596498318 2020/08/03 23:45:18 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 win10.c $NHDT-Date: 1596498318 2020/08/03 23:45:18 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (C) 2018 by Bart House */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 win10.h $NHDT-Date: 1596498319 2020/08/03 23:45:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.8 $ */
/* NetHack 5.0 win10.h $NHDT-Date: 1596498319 2020/08/03 23:45:19 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.8 $ */
/* Copyright (C) 2018 by Bart House */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 win32api.h $NHDT-Date: 1596498320 2020/08/03 23:45:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
/* NetHack 5.0 win32api.h $NHDT-Date: 1596498320 2020/08/03 23:45:20 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.15 $ */
/* Copyright (c) NetHack PC Development Team 1996 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 windsys.c $NHDT-Date: 1710949760 2024/03/20 15:49:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.95 $ */
/* NetHack 5.0 windsys.c $NHDT-Date: 1710949760 2024/03/20 15:49:20 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.95 $ */
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 winos.h $NHDT-Date: 1596498322 2020/08/03 23:45:22 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $ */
/* NetHack 5.0 winos.h $NHDT-Date: 1596498322 2020/08/03 23:45:22 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.0 $ */
/* Copyright (c) NetHack PC Development Team 2018 */
/* NetHack may be freely redistributed. See license for details. */