Blank tile windows on dev 548 initial load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ingwe Ingweron
    Veteran
    • Jan 2009
    • 2129

    Blank tile windows on dev 548 initial load

    Downloaded the latest dev 548 version, but all the windows come up black when running the executable file in Windows Vista.
    “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
    ― Tom Stoppard, Rosencrantz and Guildenstern are Dead
  • Ingwe Ingweron
    Veteran
    • Jan 2009
    • 2129

    #2
    Originally posted by Ingwe Ingweron
    Downloaded the latest dev 548 version, but all the windows come up black when running the executable file in Windows Vista.
    Never mind. Seems it was a GUI problem on my end. Reboot cleared the problem.
    “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
    ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

    Comment

    • MattB
      Veteran
      • Mar 2013
      • 1214

      #3
      Originally posted by Ingwe Ingweron
      Downloaded the latest dev 548 version, but all the windows come up black when running the executable file in Windows Vista.
      That happens to me a lot. I've had to delete the file and re-download a couple of times with nightlies. Weird.

      Comment

      • takkaria
        Veteran
        • Apr 2007
        • 1951

        #4
        Originally posted by MattB
        That happens to me a lot. I've had to delete the file and re-download a couple of times with nightlies. Weird.
        It's the oldest open bug on Trac. I would pay someone $10 to fix it, because it's the only 6 year old bug left.
        takkaria whispers something about options. -more-

        Comment

        • chris
          PosChengband Maintainer
          • Jan 2008
          • 702

          #5
          Originally posted by takkaria
          It's the oldest open bug on Trac. I would pay someone $10 to fix it, because it's the only 6 year old bug left.
          I have no idea what the problem might be, but it is probably worthwhile to check the return value from CreateFont in main-win.c:

          Code:
          /* Create the font (using the 'base' of the font file name!) */
          td->font_id = CreateFont(hgt, wid, 0, 0, FW_DONTCARE, 0, 0, 0,
                          ANSI_CHARSET, OUT_DEFAULT_PRECIS,
                          CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY,
                          FIXED_PITCH | FF_DONTCARE, base);
          
          if (!td->font_id) return 1;
          EDIT: And maybe the code should make some noise in init_windows(void) if term_force_font fails.

          Comment

          • takkaria
            Veteran
            • Apr 2007
            • 1951

            #6
            Originally posted by chris
            I have no idea what the problem might be, but it is probably worthwhile to check the return value from CreateFont in main-win.c:

            Code:
            /* Create the font (using the 'base' of the font file name!) */
            td->font_id = CreateFont(hgt, wid, 0, 0, FW_DONTCARE, 0, 0, 0,
                            ANSI_CHARSET, OUT_DEFAULT_PRECIS,
                            CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY,
                            FIXED_PITCH | FF_DONTCARE, base);
            
            if (!td->font_id) return 1;
            EDIT: And maybe the code should make some noise in init_windows(void) if term_force_font fails.
            So I just tried out a fix that I think will work. If people continue to get this kind of problem (having to reboot before seeing anything) please say!
            takkaria whispers something about options. -more-

            Comment

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