WinXP font problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • YeGoblynQueenne
    Rookie
    • Jul 2010
    • 4

    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


    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.
  • Faust
    Adept
    • Apr 2007
    • 129

    #2
    in font.prf remove the #'s from the following piece
    #?:[EQU $SYS win]
    #%:font-win.prf

    Comment

    • Timo Pietilä
      Prophet
      • Apr 2007
      • 4096

      #3
      Originally posted by Faust
      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

      Comment

      • Timo Pietilä
        Prophet
        • Apr 2007
        • 4096

        #4
        Originally posted by Timo Pietilä
        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.

        Comment

        • Timo Pietilä
          Prophet
          • Apr 2007
          • 4096

          #5
          Originally posted by Timo Pietilä
          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.

          Comment

          • YeGoblynQueenne
            Rookie
            • Jul 2010
            • 4

            #6
            Originally posted by Faust
            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

            Comment

            • YeGoblynQueenne
              Rookie
              • Jul 2010
              • 4

              #7
              Originally posted by Timo Pietilä
              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!

              Comment

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎