![]() |
#1 |
Adept
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
![]() |
[gcu version] strange colors in old variants? the solution is here
First things first, I'm not sure this is already known, I did a search in the old posts but found nothing about the following 'problem', so I thought I could share a simple solution to it, just in case someone else encounters it while testing an old variant on modern systems.
On my xterm-256 colors terminal, some old variants like hellband, zangband, tome 2.3.5, scthangband etc get strange colors if compiled with the default options: for example, the help text is shown in red instead of white. After a bit of experimentation, I found that simply commenting the line #define REDEFINE_COLORS in main-gcu.c and recompiling solves it... Just trying to be useful ![]() |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Thanks! Not quite a solution, as the colors display wrong in some terminals - red is still shown as bright pink for instance. But most of them are displayed right! Again, thank you.
|
![]() |
![]() |
![]() |
#3 | |
Adept
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
![]() |
Quote:
![]() as for the remaining colors, have you already tried to change the color scheme of the terminal? On my terminal "tango dark" gives the best result, YMMV |
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Jan 2008
Posts: 926
![]() |
Ah, the colors are displayed correctly in an xterm, just not in xfterminal. Thanks again.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GCU port: problem with keypresses? | PowerWyrm | Development | 1 | January 10, 2012 15:22 |
improved GCU code in HEAD | d_m | Vanilla | 23 | August 19, 2009 20:59 |
Pointers/Advice solicited on creating Angband solution inside VC++ 2008 Express | jojojajumbo | Development | 5 | August 5, 2009 04:21 |
Idea for a solution to TMJ | TJS | Vanilla | 6 | January 22, 2009 21:51 |
[ALL variants] Getting main-gcu to handle resizes. | CJNyfalt | Vanilla | 5 | May 27, 2007 14:47 |