From: nhmall Date: Mon, 25 Nov 2019 05:17:16 +0000 (-0500) Subject: msdos now has its own sysconf as the sys/winnt/sysconf.template had incompatible... X-Git-Tag: NetHack-3.7.0_WIP~236^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f10e4218c657d78723acc69dca75454e1d4641d1;p=nethack msdos now has its own sysconf as the sys/winnt/sysconf.template had incompatible entries --- diff --git a/sys/msdos/Makefile2.cross b/sys/msdos/Makefile2.cross index 1904b7f95..dcb148a6e 100644 --- a/sys/msdos/Makefile2.cross +++ b/sys/msdos/Makefile2.cross @@ -623,10 +623,8 @@ endif if [ -f $(DAT)/symbols ]; then cp $(DAT)/symbols $(GAMEDIR)/SYMBOLS; fi; if [ -f $(SSHR)/NetHack.cnf ]; then cp $(SSHR)/NetHack.cnf $(GAMEDIR)/NETHACK.CNF; fi; -touch $(GAMEDIR)/RECORD - if [ -f ../sys/winnt/sysconf.template ]; then cp ../sys/winnt/sysconf.template $(GAMEDIR)/SYSCONF; fi; + if [ -f ../sys/msdos/sysconf ]; then cp ../sys/msdos/sysconf $(GAMEDIR)/SYSCONF; fi; if [ -f $(DOC)/nethack.txt ]; then cp $(DOC)/nethack.txt $(GAMEDIR)/NETHACK.TXT; fi; -# if [ -f $(PLANAR_TIB) ]; then cp $(PLANAR_TIB) $(GAMEDIR)/$(PLANAR_TIB^^); fi; -# if [ -f $(OVERVIEW_TIB ]; then cp $(OVERVIEW_TIB) $(GAMEDIR)/$(OVERVIEW_TIB^^); fi; @echo install done > $@ #========================================== diff --git a/sys/msdos/sysconf b/sys/msdos/sysconf new file mode 100644 index 000000000..505d589ba --- /dev/null +++ b/sys/msdos/sysconf @@ -0,0 +1,103 @@ +# +# NetHack 3.7 sysconf $NHDT-Date: 1524689357 2018/04/25 20:49:17 $ $NHDT-Branch: NetHack-3.7.0 $:$NHDT-Revision: 1.22 $ +# Copyright (c) 2015 by Michael Allison +# NetHack may be freely redistributed. See license for details. +# +# Sample sysconf file. +# The sysconf file is only used if NetHack is compiled with SYSCF defined. +# This file uses the same syntax as nethack.cnf. + +# Which users can use WIZARD (debugging) mode (the -D flag). +# A value of * allows anyone to enter debugging mode. +WIZARDS=* + +# Users allowed to use the ! (shell escape) command or to suspend the game. +# Uses the same syntax as the WIZARDS option above. +#SHELLERS= + +# Show debugging information originating from these source files. +# Use '*' for all, or list source files separated by spaces. +# Only available if game has been compiled with DEBUG. +#DEBUGFILES=* + +# Save end of game dump log to this file. +# Only available if NetHack was compiled with DUMPLOG +# Allows following placeholders: +# %% literal '%' +# %v version (eg. "3.7.0-0") +# %u game UID +# %t game start time, UNIX timestamp format +# %T current time, UNIX timestamp format +# %d game start time, YYYYMMDDhhmmss format +# %D current time, YYYYMMDDhhmmss format +# %n player name +# %N first character of player name +#DUMPLOGFILE=nethack-%n-%d.log + +# Number of bones file pools. +# The pool you belong to is determined at game start. You will +# load and save bones only from that pool. Generally useful +# for public servers only. +# Changing this might make existing bones inaccessible. +# Disabled by setting to 0, or commenting out. +#BONES_POOLS=10 + +# Limit the number of simultaneous games (see also nethack.sh). +#MAXPLAYERS=10 + +# If not null, added to string "To get local support, " in the support +# information help. +#SUPPORT=call Izchak at extension 42. + +# Uncomment the next line to disable the SEDUCE option. +#SEDUCE=0 + +# Uncomment the next line to enable some accessibility features such +# as S_hero_override and S_pet_override symbols for screen readers +# in the user config file. +#ACCESSIBILITY=1 + +# Record (high score) file options. +# CAUTION: changing these after people have started playing games can +# lead to lost high scores! +# Maximum entries for one person. +#PERSMAX=10 +# Maximum entries in the record file. +#ENTRYMAX=100 +# Minimum points to get an entry. +#POINTSMIN=1 +# Determine identity of "person" in the score file with name (0) or +# numeric (1) user id. +#PERS_IS_UID=1 + +# Maximum number of score file entries to use for random statue names +#MAX_STATUENAME_RANK=10 + +# *** LOCATIONS *** +# IMPORTANT: If you change any of these locations, the directories they +# point at must exist. NetHack will not create them for you. +# +# The location that users can adjust their config file startup options +#CONFIGDIR=C:\NETHACK +# +# The location that a record of game aborts and self-diagnosed game problems +# is kept (default=HACKDIR, writeable) +#TROUBLEDIR=C:\NETHACK +# +# The location that documentation and helps files are placed +#HACKDIR=C:\NETHACK +# +# The location that level files in progress are stored (writeable) +#LEVELDIR=C:\NETHACK\LEVELS +# +# The location where saved games are kept (writeable) +#SAVEDIR=C:\NETHACK\SAVES +# +# The location that bones files are kept (writeable) +#BONESDIR=C:\NETHACK\BONES +# +# The location that score files are kept (writeable) +#SCOREDIR=C:\NETHACK +# +# The location that file synchronization locks are stored (writeable) +#LOCKDIR=C:\NETHACK