1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-28 08:22:24 +01:00
notnotdNetHack is not notdNetHack but also not dNetHack (implying that dNetHack is not 0 or 1)
Find a file
Ron Nazarov cb6dd23ae1
Remove more obsolete defines and support for pre-ANSI varargs
stdarg.h (USE_STDARG) is now required.

Support for varargs.h (USE_VARARGS), compilers without variadic
arguments (USE_OLDARGS), and compilers without defined() (KR1ED)
removed.

Most of config1.h removed.
2024-04-30 00:00:04 +01:00
.github/workflows Remove unused docker image signing tool in fuzzer image build step. 2023-11-07 08:09:31 -05:00
dat Document some more options in dat/opthelp 2024-04-29 23:03:52 +01:00
doc Add script used to generate macromagic.h 2024-04-10 21:27:53 +01:00
fuzzer_image Try to simplify fuzzer source/binary copy over logic now that binaries should always match. 2024-01-18 16:44:16 -05:00
include Remove more obsolete defines and support for pre-ANSI varargs 2024-04-30 00:00:04 +01:00
junethack_trophies Merge branch 'devel-3.22.0' of https://github.com/Chris-plus-alphanumericgibberish/dNAO 2023-04-25 15:17:15 -04:00
src Remove more obsolete defines and support for pre-ANSI varargs 2024-04-30 00:00:04 +01:00
sys Remove more obsolete defines and support for pre-ANSI varargs 2024-04-30 00:00:04 +01:00
util VA_DECL/VA_END usage (from NetHack 3.6) 2024-04-29 18:16:19 +01:00
win Remove unused files 2024-04-29 18:07:30 +01:00
.gitignore This is notnotdNetHack now 2024-04-11 03:25:05 +01:00
.travis.yml Fix travis yaml config before I forget and set up builds and 2020-12-24 17:56:00 -05:00
.woodpecker.yaml CI: Build without prebuilt macromagic.h 2024-04-13 20:12:12 +01:00
changelog-nndnh.txt Make brainlessness not bypass lifesaving 2024-04-29 16:21:23 +01:00
changelog.txt Make socketed chaos crystals work properly for lifesaving. 2023-11-08 08:15:16 -05:00
Files Uploading current NAO sources 2013-10-15 16:49:44 -04:00
GNUmakefile Fix building without Python and without macromagic.h 2024-04-13 20:06:00 +01:00
LICENSE Add script used to generate macromagic.h 2024-04-10 21:27:53 +01:00
Porting Uploading current NAO sources 2013-10-15 16:49:44 -04:00
README Add changelog 2024-04-14 01:50:00 +01:00
README.gray Uploading current NAO sources 2013-10-15 16:49:44 -04:00
README.menucolor Uploading current NAO sources 2013-10-15 16:49:44 -04:00
spearchanges.txt Get spearheads mostly implemented now. 2021-01-14 15:53:43 -05:00
todo.md Add details to todo 2022-05-20 20:44:07 -04:00

To read about notnotdNetHack, see the included changelog (changelog-nndnh.txt)

To chat about notnotdNetHack, visit IRC here: https://web.libera.chat/?channel=##nethack-variants

You can't play notnotdNetHack online using SSH or HTTPS:
* if other servers decide to host notnotdNetHack, they will be listed here: https://nethackwiki.com/wiki/Public_server

Setting up notnotdNetHack:

notnotdNetHack is currently only supported on Unix, including WSL for Windows, with no plans to change this for the foreseeable future.

For compiling on Windows:
* Download Windows Subsystem for Linux (WSL)
* Open the Terminal in WSL. (Just clicking on the shortcut opens the terminal)
* Navigate (using `ls` and `cd`) to where you want to install notnotdnethack
* Install git: `apt install git`
* Clone the version of notnotdnethack you want with git: `git clone https://codeberg.org/noisytoot/notnotdnethack.git` will get you whatever the default release branch is at the time
* Install the following using `apt install <XXXX>`: `bison`, `build-essential`, `libncurses5-dev`, `flex`
  * If you want to rebuild `include/macromagic.h` (this is only required if you modify `util/MacroMagicMarker.py` or `doc/macromagic.txt`), you also need `python3`
* Build & install by typing `make install`
  * If you want to enable AddressSanitizer, useful for finding certain types of bugs, add `CFLAGS='-g -fsanitize=address' LDFLAGS=-fsanitize=address`
  * If you want to rebuild `include/macromagic.h` despite not actually having to, also type `rm include/macromagic.h && make include/macromagic.h`
* Navigate to the newly-created notnotdnethackdir directory: `cd notnotdnethackdir`
* Run by typing `./notnotdnethack`. Wizard mode is `./notnotdnethack -D -u wizard`
* If you want an rc file (to have custom options and use things like menucolours and autopickup exceptions), edit it via `nano ~/.notnotdnethackrc` (or your preferred text editor)

For Unix, the same steps apply minus installing WSL.

Copyright:

notnotdNetHack is free software released under the NetHack General Public License, see `dat/license` for details.
util/MacroMagicMarker.py is released under the MIT/Expat license, see the comment at the beginning of that file for details.