1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-01-21 06:30:03 +00:00
notnotdNetHack is not notdNetHack but also not dNetHack (implying that dNetHack is not 0 or 1)
Find a file
Ron Nazarov 16bfe67c32
Fix SUBOUT_ARRAY_SIZE and MSGODS_ARRAY_SIZE
The subout and msgods arrays were 4x larger than they needed to be,
due to the size being specified in bytes when it should be in ints.

This assumes 32-bit ints and should probably be changed to use
sizeof(int)*CHAR_BIT instead of hardcoding 32, or uint32_t should be
used instead of int.
2025-01-17 21:36:50 +00:00
.github/workflows Remove unused docker image signing tool in fuzzer image build step. 2023-11-07 08:09:31 -05:00
dat Merge remote-tracking branch 'notdnethack/master' 2025-01-13 22:02:32 +00:00
doc Remove doc/tmac.n because it's non-free 2024-07-07 16:37:56 +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 Fix SUBOUT_ARRAY_SIZE and MSGODS_ARRAY_SIZE 2025-01-17 21:36:50 +00:00
junethack_trophies Merge remote-tracking branch 'notdnethack/master' 2024-12-28 18:33:36 +00:00
src Merge remote-tracking branch 'notdnethack/master' 2025-01-14 23:26:40 +00:00
sys Bugfix: Deinit windows if recovery is refused 2024-05-12 12:45:38 +01:00
util Merge remote-tracking branch 'notdnethack/master' 2025-01-13 22:02:32 +00:00
win curses: print_statdiff should take long longs, not ints 2024-12-28 19:31:09 +00:00
.gitignore Merge remote-tracking branch 'notdnethack/master' 2024-05-10 01:10:21 +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 New item: striped hat 2024-11-14 03:03:41 +00:00
changelog.txt Update changelog with leprechaun race 2024-12-28 12:31:05 -05:00
GNUmakefile Merge remote-tracking branch 'notdnethack/master' 2025-01-13 22:02:32 +00: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 notnotdNetHack is on hardfought now 2024-05-24 18:18:37 +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 play notnotdNetHack online using SSH or HTTPS:
* https://www.hardfought.org/nethack/ (servers in USA, UK, and AUS)
* 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.