From 7ef30eed0cf6f5626f708259518981a293a7645a Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Tue, 27 Apr 2021 23:43:23 +0200 Subject: games/xnethack: (new port) Experimental features and improvements applied to NetHack 3.7-dev xNetHack is a fork of the dungeon exploration game NetHack. It is a distant descendent of Rogue and Hack, and a direct descendant of the development version of NetHack 3.7. The main goals of xNetHack are to take vanilla NetHack and: - Fix gameplay balance issues. - Remove tedious and frustrating parts of the game. - Make uninteresting parts of the game more interesting. - Experiment with new ideas from the community. In general, the game design takes a conservative approach to changing the gameplay compared to other variants, with focus on deepening elements of the game rather than broadening them. For example, this philosophy would prefer to differentiate monsters in a class that all tend to play the same way, instead of adding new monsters to that class. WWW: https://nethackwiki.com/wiki/XNetHack PR: 255456 --- games/xnethack/files/patch-include-config.h | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 games/xnethack/files/patch-include-config.h (limited to 'games/xnethack/files/patch-include-config.h') diff --git a/games/xnethack/files/patch-include-config.h b/games/xnethack/files/patch-include-config.h new file mode 100644 index 000000000000..09e486a83591 --- /dev/null +++ b/games/xnethack/files/patch-include-config.h @@ -0,0 +1,36 @@ +--- include/config.h.orig 2021-03-22 22:28:14 UTC ++++ include/config.h +@@ -294,11 +294,11 @@ + + #if defined(UNIX) && !defined(ZLIB_COMP) && !defined(COMPRESS) + /* path and file name extension for compression program */ +-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +-#define COMPRESS_EXTENSION ".Z" /* compress's extension */ ++/* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ ++/* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ + /* An example of one alternative you might want to use: */ +-/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ +-/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ ++#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ ++#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ + #endif + + #ifndef COMPRESS +@@ -383,7 +383,7 @@ + * otherwise it will be the current directory. + */ + #ifndef HACKDIR +-#define HACKDIR "/usr/games/lib/xnethackdir" ++#define HACKDIR "%%HACKDIR%%" + #endif + + /* +@@ -646,7 +646,7 @@ typedef unsigned char uchar; + #ifdef DUMPLOG + + #ifndef DUMPLOG_FILE +-#define DUMPLOG_FILE "/tmp/xnethack.%n.%d.log" ++#define DUMPLOG_FILE "/tmp/xnethack.%v.%u.%n.%D.log" + /* DUMPLOG_FILE allows following placeholders: + %% literal '%' + %v version (eg. "3.6.3-0") -- cgit v1.2.3