Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old July 14, 2010, 13:30   #1
YeGoblynQueenne
Rookie
 
Join Date: Jul 2010
Posts: 4
YeGoblynQueenne is on a distinguished road
WinXP font problem

Hi. I'm compiling Angband for Win XP sp2 and though the game seems to be working fine, the walls are brown #s instead of solid blocks. Here's what I mean:



The funny thing is that the precompiled binaries (from the download page) do show the solid blocks.

I read the two threads linked in the FAQ:

Please see http://angband.oook.cz/forum/showthread.php?t=88 and
http://angband.oook.cz/forum/showthread.php?t=26

And fiddled around with pref-win.prf and tried importing different fonts but no luck. I also pasting the lib directory from the precompiled game over my own compile's but that caused an error.

It doesn't seem to be an issue with pref-win.prf though: whatever I do to it nothing changes in the display, I still get brown #s for walls.

And I'm stumped... .o.
YeGoblynQueenne is offline   Reply With Quote
Old July 14, 2010, 14:11   #2
Faust
Adept
 
Faust's Avatar
 
Join Date: Apr 2007
Posts: 129
Faust is on a distinguished road
in font.prf remove the #'s from the following piece
Quote:
#?:[EQU $SYS win]
#%:font-win.prf
Faust is offline   Reply With Quote
Old July 14, 2010, 14:38   #3
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Faust View Post
in font.prf remove the #'s from the following piece
You might want to change also permanent wall color to 0x1a (blue slate). That makes it look like it is made from steel, and it is not as bad as brown (which is red in my screen). Also centered dot is 0x1F.

Code:
# Terrain: open floor
F:1:0x01:0x1F

...

# Terrain: permanent wall
F:60:0x1a:0x7F
Timo Pietilš is offline   Reply With Quote
Old July 14, 2010, 14:46   #4
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Timo Pietilš View Post
You might want to change also permanent wall color to 0x1a (blue slate). That makes it look like it is made from steel, and it is not as bad as brown (which is red in my screen). Also centered dot is 0x1F.

Code:
# Terrain: open floor
F:1:0x01:0x1F

...

# Terrain: permanent wall
F:60:0x1a:0x7F
BTW. using anything except granite color prevents "Use special colors for wall grids" from working.
Timo Pietilš is offline   Reply With Quote
Old July 14, 2010, 14:56   #5
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Timo Pietilš View Post
BTW. using anything except granite color prevents "Use special colors for wall grids" from working.
adding to this: Instead of dumping visuals and editing them you can edit font-win.prf:

This is mine:

Code:
### Terrain features ###


# Floors (white : centered dot)

F:1:1:31

# Invis traps (white : centered dot)

F:2:1:31


# Magma (slate : solid block)

F:50:2:127
F:52:2:127


# Quartz (light slate : solid block)

F:51:9:127
F:53:9:127


# Secret door (white : solid block)

F:48:1:127

# Granite walls (white : solid block)

F:56:1:127
F:57:1:127
F:58:1:127
F:59:1:127

# Permanent rock (dark red : solid block)

F:60:26:127
F:61:26:127
F:62:26:127
F:63:26:127
I changed that "dark red" to "blue slate" (IMO that looks much better) for permanent walls and removed # from trap and floor to get centered dots there.
Timo Pietilš is offline   Reply With Quote
Old July 14, 2010, 17:02   #6
YeGoblynQueenne
Rookie
 
Join Date: Jul 2010
Posts: 4
YeGoblynQueenne is on a distinguished road
Quote:
Originally Posted by Faust View Post
in font.prf remove the #'s from the following piece
Ah! Thank you, that did it.

Lazy me. I should have looked in all the relevant .prf files first
YeGoblynQueenne is offline   Reply With Quote
Old July 14, 2010, 17:03   #7
YeGoblynQueenne
Rookie
 
Join Date: Jul 2010
Posts: 4
YeGoblynQueenne is on a distinguished road
Quote:
Originally Posted by Timo Pietilš View Post
You might want to change also permanent wall color to 0x1a (blue slate). That makes it look like it is made from steel, and it is not as bad as brown (which is red in my screen).
Thanks, now I edited font.prf the walls are red in my screen too!
YeGoblynQueenne 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
Dajangband font question Malak Darkhunter Variants 1 February 12, 2010 04:02
ToME 235 winXP dump crash Donald Jonker ToME 4 December 21, 2008 10:06
Font Change in SVN code? pesachyonah Vanilla 4 June 28, 2008 17:45
Problems angband winxp smokie007 Vanilla 24 November 12, 2007 11:42
normal font is blank? will_asher Vanilla 2 September 8, 2007 21:24


All times are GMT +1. The time now is 19:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.