NetHack Patch Database v0.27

323 patches

(New) Dumplog

Name(New) Dumplog 1.0.0
RatingNot rated
AuthorNax
ForNetHack 3.6.0
DescriptionA rewrite of the famous dumplog patch for NetHack 3.6.0
 This is a complete rewrite of the famous dumplog patch for 3.6.0

This version have a cleaner code, and outputs identical logs regardless of options. It's also not tied to the tty interface and should work on X11/win32/whatever.
Due to the fact that the tty code is not reused, map output is not supported as of version 1.0.0.

Instructions:
- Apply the patch. (with -p0)
- Make sure DUMPLOG is defined, either in include/config.h or via a hint file.

Configuration:
You can use defines to customize this patch.

DUMPLOG_FILE - The path were logs are going to be saved (default: "/tmp/nethack.%n.%d.log")
DUMPLOG_MSG_COUNT - The number of messages to save (default: 50)

In the log path, "%n" will be replaced by the user's name and "%d" by the date in YYYYMMDDhhmmss format.
If, for mysterious reasons, you need to put a literal % inside the path, "%%" is supported.
DownloadGet it from us (14.3 Kb)
AddedDecember 22, 2016 22:52
Submit an update to this patch

1 Comment

 stennoMarch 01, 2017 11:19
As per this commit https://github.com/NetHack/NetHack/commit/7d8b4d4f972918a25a416bba27424d7ae7e32983, dumplogs are now in the vanilla source.[Quote]

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
Commentrequired
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents a kitchen sink?