Name | Menucolors v1.5 |
Rating | |
Author | Pasi Kallinen |
For | NetHack 3.4.3 |
Description | Allows the user to define in what color menus are shown. |
This patch allows the user to define in what color menus are shown. For example, putting
OPTIONS=menucolors MENUCOLOR=" blessed "=green MENUCOLOR=" holy "=green MENUCOLOR=" cursed "=red MENUCOLOR=" unholy "=red MENUCOLOR=" cursed .* (being worn)"=orange&underline in the configuration file makes all known blessed items show up in green, all cursed items show up in red and all cursed worn items show up in orange and underlined when viewing inventory. If you have regex.h but it is not GNU (e.g. DJGPP, *BSD), uncomment #define MENU_COLOR_REGEX_POSIX in include/config.h If you do not have regex.h, comment #define MENU_COLOR_REGEX out from include/config.h and replace the MENUCOLOR lines in your config file with these: MENUCOLOR="* blessed *"=green MENUCOLOR="* holy *"=green MENUCOLOR="* cursed *"=red MENUCOLOR="* unholy *"=red MENUCOLOR="* cursed * (being worn)"=orange&underline Colors: black, red, green, brown, blue, magenta, cyan, gray, orange, lightgreen, yellow, lightblue, lightmagenta, lightcyan, white. Attributes: none, bold, dim, underline, blink, inverse. Note that the terminal is free to interpret the attributes however it wants. TTY or Windows GUI only, thought the Windows GUI part doesn't obey attributes. | |
Download | http://bilious.alt.org/~paxed/nethack/nh343-menucolor.diff (19.6 Kb) |
Added | January 30, 2005 16:45 |
Changed | September 23, 2006 18:49 |
Submit an update to this patch |
5 | Amr | December 30, 2010 17:21 |
Great patch! If you want to download NetHack with this patch and Statuscolors 1.2 already applied, just go to http://helmpcb.com/?p=203.[Quote] | ||
5 | scummos | June 16, 2010 22:48 |
NetHack is kind of unplayable without this patch. :][Quote] | ||
paxed | April 11, 2010 09:37 | |
Not menucolors, you're thinking of statuscolors: http://bilious.alt.org/?142[Quote] | ||
3 | Hadley | April 11, 2010 06:21 |
Very useful, but has a crash bug on some systems due to an uninitialized variable. After patching, go into src/options.c, find the line:
struct percent_color_option *percent_color_option = (struct percent_color_option *)alloc(sizeof(*percent_color_option)); and, add in right after, percent_color_option->next = NULL;[Quote] | ||
5 | DHowett | June 27, 2009 05:34 |
This patch is an absolute necessity. I love it![Quote] | ||
5 | Dargor | September 13, 2008 14:46 |
This, with the hpmon patch, is totally awesome. A must have ![Quote] | ||
5 | bobbens | July 15, 2006 13:42 |
definately one of the primordial patches along with hpmon[Quote] | ||
4 | tweek | August 31, 2005 01:38 |
This, along with Statuscolors, are the patches you *need* to play this game. The rest are optional. This patch will point out cursed items, wands of cancellation, etc. ... I can't rate whether it works, or could easily be added to the next release, but I[Quote] |
Very useful, but has a crash bug on some systems due to an uninitialized variable. After patching, go into src/options.c, find the line:
struct percent_color_option *percent_color_option =
(struct percent_color_option *)alloc(sizeof(*percent_color_option));
and, add in right after,
percent_color_option->next = NULL;