Problem with blank walls in Vista

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zaimoni
    Knight
    • Apr 2007
    • 590

    #46
    Originally posted by ekolis
    Most likely someone has thought of this before, but surely there is some way to detect the version of Windows being run by the player?
    Yes: GetVersionEx returns an OSVERSIONINFO struct. I'd have to check the documentation on it, but probably the dwMajorVersion field would be enough to detect Vista.
    Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
    Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
    Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9648

      #47
      There is now a font page here with fixed fonts on it. It currently has the NPP fonts (all of which work, I believe, in Vista), plus amended versions of the 8x13, 9x15, 10x20 and 12x24 fonts from Vanilla. More will arrive as I do them.
      One for the Dark Lord on his dark throne
      In the Land of Mordor where the Shadows lie.

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9648

        #48
        Oh, and, btw, takkaria, is your rephial email broken? I tried to email you about this and it bounced.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • takkaria
          Veteran
          • Apr 2007
          • 1951

          #49
          Originally posted by Nick
          Oh, and, btw, takkaria, is your rephial email broken? I tried to email you about this and it bounced.
          It was, yes, but isn't anymore. Thanks for the headsup!
          takkaria whispers something about options. -more-

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9648

            #50
            I have updated the font page, probably for the last time. In the process of testing, I've come up with the following rules of thumb for dealing with fonts in windows:
            1. Sometimes (maybe always?) Windows doesn't like using characters 16-31, or character 127 in the font. Maintainers should avoid these in font-win.prf.
            2. Vista insists on using it's own 8x13 font, which has none of the useful things like wall blocks in it. Players using Vista should not use 8x13 as a font size, and maintainers should use a different default size (say 18x12) in main-win.c.


            I will be releasing a new version of FAangband shortly, which will have a range of font-win.prf files if anyone wants to grab them.
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • buzzkill
              Prophet
              • May 2008
              • 2939

              #51
              Originally posted by Nick
              There is now a font page here with fixed fonts on it.
              I'm trying to fix Steamband on Vista. I downloaded the 'new' 12x24 font and it took care of the invisible walls, but now I can't see my torch light radius which really isn't that big of a deal but I would like it to work. Any suggestions?
              www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
              My banding life on Buzzkill's ladder.

              Comment

              • Zikke
                Veteran
                • Jun 2008
                • 1069

                #52
                Originally posted by Nick
                OK, there is now a fix for the blank walls in Vista problem. It seems that the problem is with the resolution of the fonts; the fonts used in Vanilla (and most variants) are 75x75 dpi, and they need to be 96x96.

                Here is a zipfile containing an appropriate 8x13 font (to go in lib/xtra/font) and a new font-win.prf (to go in lib/pref).

                Most of the credit for this goes to Arralen, who managed to make the fix for a slightly different problem in FAangband.
                So has anybody devised a way to enable the block walls like in XP for Vista? This fix, while an improvement, still doesn't make the full block walls appear like in XP, and my eyes hurt with all the #s everywhere.
                A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
                A/FA W H- D c-- !f PV+++ s? d P++ M+
                C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

                Comment

                • buzzkill
                  Prophet
                  • May 2008
                  • 2939

                  #53
                  Originally posted by Nick
                  There is now a font page here with fixed fonts on it. It currently has the NPP fonts (all of which work, I believe, in Vista), plus amended versions of the 8x13, 9x15, 10x20 and 12x24 fonts from Vanilla. More will arrive as I do them.
                  I'm using the 12x24 font (with vista) from the link quoted above and have perfectly solid (not #) walls, just as in XP. Just download a font and the prf file (no need to install the font). I just can't see my torchlight, that's the only difference. I actually didn't mind invisible walls all that much until I discovered that they rendered magic mapping useless.
                  www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                  My banding life on Buzzkill's ladder.

                  Comment

                  • SerPounce
                    Rookie
                    • Aug 2009
                    • 7

                    #54
                    I previously used the new fonts to fix the no wall problem in Vista (Steamband). I'm trying to do it again (without access to my old files) and I can't get it to work. I load the new font in Steamband and I either have no change or everything goes blank. Do I need this prf file? There is nothing in lib/users in my Steamband folder.

                    Comment

                    • Bostock
                      Swordsman
                      • Aug 2007
                      • 335

                      #55
                      I'm having the same problem as SerPounce, I guess - I still get black, blank walls in Vista even after loading in one of Nick's replacement fonts in-game. What am I missing?
                      So you ride yourselves over the fields and you make all your animal deals and your wise men don't know how it feels to be thick as a brick.

                      Comment

                      • Malak Darkhunter
                        Knight
                        • May 2007
                        • 730

                        #56
                        Originally posted by Bostock
                        I'm having the same problem as SerPounce, I guess - I still get black, blank walls in Vista even after loading in one of Nick's replacement fonts in-game. What am I missing?
                        You might have to do what I do witch is disable the windows font pref file for vista, I do this for all my games, go to lib/pref/ rename font-win to something like font-winx to disable that font , it will work correctly, but you will only get ASCII characters, I usually play in ASCII so this is a good fix for mr

                        Comment

                        • Nick
                          Vanilla maintainer
                          • Apr 2007
                          • 9648

                          #57
                          Originally posted by Bostock
                          I'm having the same problem as SerPounce, I guess - I still get black, blank walls in Vista even after loading in one of Nick's replacement fonts in-game. What am I missing?
                          I believe there is a problem when you have registered a given size of font in your current windows session (or something like that). Try using different sizes and see if you have any luck. And if all else fails, restarting often seems to work...
                          One for the Dark Lord on his dark throne
                          In the Land of Mordor where the Shadows lie.

                          Comment

                          • Bostock
                            Swordsman
                            • Aug 2007
                            • 335

                            #58
                            To be honest, I just gave up and deleted the relevant preferences file as someone suggested.


                            I do love block walls, but it's like this:


                            My desire to have block walls instead of # walls:
                            xxxxxx

                            My desire to play games instead of fiddling with game settings:
                            xxxxxxxxxxxxxxxxxxxxxxxxx
                            So you ride yourselves over the fields and you make all your animal deals and your wise men don't know how it feels to be thick as a brick.

                            Comment

                            • caruso
                              Adept
                              • May 2011
                              • 164

                              #59
                              Angband 3.4

                              I have tried the wall_fix patch, then the fixed fonts, and in both cases I replaced the old files with the new ones, but neither helped Nor does deleting font-win.prf. And when I try to edit font-win.prf as suggested in some replies, it says that the access was denied so I can't save the changes Yet another workaround suggests to interact with the visuals, but the menu seems to have changed since 3.0.9.

                              Any suggestions? I'd prefer blocks as walls, but hashes would be fine as well. To put it straight: At the moment, walls are not displayed at all.
                              Last edited by caruso; October 3, 2012, 21:36.

                              Comment

                              • fizzix
                                Prophet
                                • Aug 2009
                                • 3025

                                #60
                                Originally posted by caruso
                                I have tried the wall_fix patch, then the fixed fonts, and in both cases I replaced the old files with the new ones, but neither helped Nor does deleting font-win.prf. And when I try to edit font-win.prf as suggested in some replies, it says that the access was denied so I can't save the changes Yet another workaround suggests to interact with the visuals, but the menu seems to have changed since 3.0.9.

                                Any suggestions? I'd prefer blocks as walls, but hashes would be fine as well. To put it straight: At the moment, walls are not displayed at all.
                                Are you saying that if you download 3.4.0 from the website that walls are not displayed at all? Or after you attempted to fix it, walls stopped being displayed and you can't revert back to the old behavior?

                                Comment

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