Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.
Dungeon Dilettante
Posts: 2
Joined: Thursday, 13th December 2012, 13:51
Thursday, 13th December 2012, 13:54 by Zuckus
I'm running the console version of DS in Windows, and I'd like redefine the color values -- is this possible?
e.g. I'd like to redefine BLUE to be (63, 63, 255) instead of (0, 0, 255) (or however it's currently defined).
I looked in colour.[ch] and didn't see where the values are set; are these system defined values that need to be changed elsewhere?
Lair Larrikin
Posts: 25
Joined: Friday, 1st July 2011, 07:48
Wednesday, 26th December 2012, 11:42 by blinkfrog
Yes, it is possible.
Run this .reg file (or modify it as you want):
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Console]
"ColorTable00"=dword:00000000
"ColorTable01"=dword:00aa0000
"ColorTable02"=dword:0000aa00
"ColorTable03"=dword:00aaaa00
"ColorTable04"=dword:000000aa
"ColorTable05"=dword:00aa00aa
"ColorTable06"=dword:000055aa
"ColorTable07"=dword:00aaaaaa
"ColorTable08"=dword:00555555
"ColorTable09"=dword:00ff5555
"ColorTable10"=dword:0055ff55
"ColorTable11"=dword:00ffff55
"ColorTable12"=dword:005555ff
"ColorTable13"=dword:00ff55ff
"ColorTable14"=dword:0055ffff
"ColorTable15"=dword:00ffffff
"CursorSize"=dword:00000019
"FaceName"=""
"FontFamily"=dword:00000000
"FontSize"=dword:00000000
"FontWeight"=dword:00000000
"FullScreen"=dword:00000000
"HistoryBufferSize"=dword:00000032
"InsertMode"=dword:00000001
"LoadConIme"=dword:00000001
"NumberOfHistoryBuffers"=dword:00000004
"PopupColors"=dword:000000f5
"QuickEdit"=dword:00000000
"ScreenBufferSize"=dword:012c0050
"ScreenColors"=dword:00000007
"WindowSize"=dword:00190050
[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:00000000
"ColorTable01"=dword:00aa0000
"ColorTable02"=dword:0000aa00
"ColorTable03"=dword:00aaaa00
"ColorTable04"=dword:000000aa
"ColorTable05"=dword:00aa00aa
"ColorTable06"=dword:000055aa
"ColorTable07"=dword:00aaaaaa
"ColorTable08"=dword:00555555
"ColorTable09"=dword:00ff5555
"ColorTable10"=dword:0055ff55
"ColorTable11"=dword:00ffff55
"ColorTable12"=dword:005555ff
"ColorTable13"=dword:00ff55ff
"ColorTable14"=dword:0055ffff
"ColorTable15"=dword:00ffffff
"CursorSize"=dword:00000019
"FaceName"=""
"FontFamily"=dword:00000000
"FontSize"=dword:00000000
"FontWeight"=dword:00000000
"FullScreen"=dword:00000000
"HistoryBufferSize"=dword:00000032
"InsertMode"=dword:00000001
"LoadConIme"=dword:00000001
"NumberOfHistoryBuffers"=dword:00000004
"PopupColors"=dword:000000f5
"QuickEdit"=dword:00000000
"ScreenBufferSize"=dword:012c0050
"ScreenColors"=dword:00000007
"WindowSize"=dword:00190050
- For this message the author blinkfrog has received thanks:
- Zuckus
Vestibule Violator
Posts: 1509
Joined: Wednesday, 21st September 2011, 01:10
Location: St. John's, NL, Canada
Wednesday, 26th December 2012, 16:19 by rchandra
it should also be possible to edit the colours by right-clicking on the crawl icon (or the window, while it's running) and adjusting the properties.
Won all race/bg, unwon (
online): Nem* Hep Uka
Favourites: 15-rune Trog, OgNe/OgIE/OgSu (usually Ash), Ds, Ru, SpEn, Ce of Chei, Qaz
- For this message the author rchandra has received thanks:
- Zuckus
Dungeon Dilettante
Posts: 2
Joined: Thursday, 13th December 2012, 13:51
Wednesday, 26th December 2012, 18:55 by Zuckus
Thanks! I like setting the individual properties for Crawl, but this is great information!
Lair Larrikin
Posts: 25
Joined: Friday, 1st July 2011, 07:48
Thursday, 27th December 2012, 05:56 by blinkfrog
rchandra wrote:it should also be possible to edit the colours by right-clicking on the crawl icon (or the window, while it's running) and adjusting the properties.
Oh, yes. But I don't like that I need to do this for every new version of Crawl (if installed to the new folder), and also I prefer classic ANSI colors in all console applications, so I decided to change things globally.
Return to Technical Support
Users browsing this forum: No registered users and 35 guests