Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 28, 2012, 00:09   #1
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
[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
ghengiz is offline   Reply With Quote
Old January 28, 2012, 14:05   #2
Therem Harth
Knight
 
Join Date: Jan 2008
Location: Entropia
Posts: 885
Therem Harth is on a distinguished road
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.
Therem Harth is offline   Reply With Quote
Old January 28, 2012, 14:20   #3
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
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.
you're welcome
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
ghengiz is offline   Reply With Quote
Old January 28, 2012, 15:29   #4
Therem Harth
Knight
 
Join Date: Jan 2008
Location: Entropia
Posts: 885
Therem Harth is on a distinguished road
Ah, the colors are displayed correctly in an xterm, just not in xfterminal. Thanks again.
Therem Harth is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.