Problems running Angband

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChodTheWacko
    Adept
    • Jul 2007
    • 155

    Problems running Angband

    Hi Everyone.

    I've run Angband on this computer before - I used to download the code & compile it via cygwin with no issues. I stopped for a while when some bugs appeared that I was waiting to get fixed (connected stairs, for example).

    Anyway, recently I've had major issues compiling and/or running angband
    in windows mode.
    1) Main screen appears, text is 'overlapped' and unreadable.
    When I try to change font, the game crashes.
    I can 'play' it although I can't really read anything. On the character creation screens, I can read whatever line I'm highliting though.

    2) I tried nuking everything. Now angband just doesn't start at all.
    It hangs - I can see the process running, but nothing appears at all.

    I tried downloading and running the nightly builds, too - same issue.

    Any insights?
    This is windows XP

    - Frank
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    #2
    I have no idea why it's not starting up at all, but the horizontally chopped lines are a known bug. To fix it:

    1. Copy the 'extended font files' from NPP into your font folder. (They all end in X.fon)
    2. Edit main-win.c so that the default font is one of the NPP fonts. (8x12x.fon works fine.)

    Something is subtly wrong with the original windows fonts, but it only shows up on some XP installations.

    Comment

    • ChodTheWacko
      Adept
      • Jul 2007
      • 155

      #3
      Okay, well, this is the weirdest thing I've ever seen.

      If I run the binary, and I have a 'command prompt' open, Angband hangs at startup. If I exit all command windows, then it will start.
      The hanging Angband will also resume if I exit the command prompt.

      So I can do something like:
      start -> run -> cmd

      in the new command prompt:
      F:\Documents and Settings\Frank>cd i:\games\angsrc\trunk
      F:\Documents and Settings\Frank>i:
      I:\games\angsrc\trunk>start angband

      (angband hangs)

      I:\games\angsrc\trunk>exit

      (command prompt closes and angband pops up!)

      - Frank

      P.S. Thanks for the help, Pete.

      Comment

      • takkaria
        Veteran
        • Apr 2007
        • 1951

        #4
        Originally posted by ChodTheWacko
        Okay, well, this is the weirdest thing I've ever seen.

        If I run the binary, and I have a 'command prompt' open, Angband hangs at startup. If I exit all command windows, then it will start.
        The hanging Angband will also resume if I exit the command prompt.

        So I can do something like:
        start -> run -> cmd

        in the new command prompt:
        F:\Documents and Settings\Frank>cd i:\games\angsrc\trunk
        F:\Documents and Settings\Frank>i:
        I:\games\angsrc\trunk>start angband

        (angband hangs)

        I:\games\angsrc\trunk>exit

        (command prompt closes and angband pops up!)

        - Frank

        P.S. Thanks for the help, Pete.
        I haven't got a copy of XP at the moment, so I don't know how to help, but this is truly bizarre behaviour. Does this also happen for e.g. 3.0.6 or 2.9.3?
        takkaria whispers something about options. -more-

        Comment

        • ChodTheWacko
          Adept
          • Jul 2007
          • 155

          #5
          Originally posted by takkaria
          I haven't got a copy of XP at the moment, so I don't know how to help, but this is truly bizarre behaviour. Does this also happen for e.g. 3.0.6 or 2.9.3?
          Seems to work for 3.0.6.
          Happened also for 3.0.9 and 3.0.9a
          I don't know if this is worth pursuing, to be honest - much more
          important things to work on.
          I suspect it has to with the same reasons I'm needing to use the NPP font files in the first place.

          I wanted to make the post though, so anyone else who had this problem would know what the workaround is.

          - Frank

          Comment

          • ChodTheWacko
            Adept
            • Jul 2007
            • 155

            #6
            Okay, the command prompt thing only seems to happen if I use the
            'x' fonts from NPP. (using latest build: NPP 0.5.0 BETA-6)

            Unfortunately if I don't do that, I can't read anything, due to the font overlap.

            But the 'close all command prompts' thing gets the game to start.
            Pretty wierd stuff.

            Comment

            • leeus
              Rookie
              • Apr 2008
              • 1

              #7
              Originally posted by ChodTheWacko
              Hi Everyone.
              <snip> Now angband just doesn't start at all.<snip>
              Hi there!

              I'm new to this forum, but I wanted to add to this thread that the exact same thing is happening to me, after I upgraded from Vanilla Angband 3.0.6 to the new 3.0.9b. Just registered to reply.

              I tried also a fresh installation and it's just the same ...

              I'll try to debug the code this weekend, to see if I can find any clue to see what is happening ... I hope I can manage to discover something about it.

              I'll have XP also, and since it's already happening to me, maybe I can provide a patch, or attach it to ticket #521 ((I love Trac ))

              Best of regards,
              leandro

              Comment

              • takkaria
                Veteran
                • Apr 2007
                • 1951

                #8
                Originally posted by ChodTheWacko
                Hi Everyone.

                I've run Angband on this computer before - I used to download the code & compile it via cygwin with no issues. I stopped for a while when some bugs appeared that I was waiting to get fixed (connected stairs, for example).

                Anyway, recently I've had major issues compiling and/or running angband
                in windows mode.
                1) Main screen appears, text is 'overlapped' and unreadable.
                When I try to change font, the game crashes.
                I can 'play' it although I can't really read anything. On the character creation screens, I can read whatever line I'm highliting though.

                2) I tried nuking everything. Now angband just doesn't start at all.
                It hangs - I can see the process running, but nothing appears at all.

                I tried downloading and running the nightly builds, too - same issue.

                Any insights?
                This is windows XP

                - Frank
                Do you have a screenshot? Every bug like this is another argument in favour of just using the SDL port...
                takkaria whispers something about options. -more-

                Comment

                • fizzix
                  Prophet
                  • Aug 2009
                  • 3025

                  #9
                  Originally posted by ChodTheWacko
                  Okay, well, this is the weirdest thing I've ever seen.

                  If I run the binary, and I have a 'command prompt' open, Angband hangs at startup. If I exit all command windows, then it will start.
                  The hanging Angband will also resume if I exit the command prompt.

                  So I can do something like:
                  start -> run -> cmd

                  in the new command prompt:
                  F:\Documents and Settings\Frank>cd i:\games\angsrc\trunk
                  F:\Documents and Settings\Frank>i:
                  I:\games\angsrc\trunk>start angband

                  (angband hangs)

                  I:\games\angsrc\trunk>exit

                  (command prompt closes and angband pops up!)

                  - Frank

                  P.S. Thanks for the help, Pete.
                  I cannot reproduce this on Win XP SP3...

                  Comment

                  • ChodTheWacko
                    Adept
                    • Jul 2007
                    • 155

                    #10
                    Originally posted by takkaria
                    Do you have a screenshot? Every bug like this is another argument in favour of just using the SDL port...
                    Here is a screenshot.
                    I just pulled down a fresh 'git clone' build, compiled it, and ran angband and this is what I see:


                    If at this point I select another font via window->font->term0, the angband window because as small as possible (i.e. as if I grabbed the lower right corner and made the window as small as possible - you can only see File Window and that's it).

                    I've had this issue for two years now. I'm currently on windows 7 (which was a clean install, so it's not like I'm still using corrupted xp files). I do have dual monitor if that makes a difference.

                    My workaround is to use the old NPP fonts, which works for some reason.
                    It's causing some issues since uniques now use characters not in the old font files, but outside of that, the game runs fine.

                    The angband hangs issue that was mentioned in the original post was fixed a while back. I believe the game posted a windows message to all the windows and was waiting for a response.

                    - Frank

                    Comment

                    • ChodTheWacko
                      Adept
                      • Jul 2007
                      • 155

                      #11
                      I just noticed that in windows, if I right click any of the font files and do 'preview' , windows 7 says, 'this is not a valid font file'.
                      This does not happen with the NPP font files.

                      - Frank

                      Comment

                      • nppangband
                        NPPAngband Maintainer
                        • Dec 2008
                        • 926

                        #12
                        I know there were other small changes to main-win.xxx associated with the NPP fonts and the extended character set. There are a couple other lines in the main-win.xxx that need to be changed for the fonts to work.

                        You might want to try the main-win.c file from NPPAngband, and see if that works. There might need to be 1-2 small changes (for example, I think the play_game command requires a variable in Angband, but not NPP, or vice-versa), but other than that it might work.

                        @takkaria/Andrew Sidwell & the Angband dev team - Please let me know if there is any way I can help. Almost all of my attention goes to NPP, but I am always happy to pitch in on Vanilla you think I can be of use I still code in a windows environment, and I do have an old PC with xp in the house.
                        NPPAngband current home page: http://nppangband.bitshepherd.net/
                        Source code repository:
                        https://github.com/nppangband/NPPAngband_QT
                        Downloads:
                        https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

                        Comment

                        • dos350
                          Knight
                          • Sep 2010
                          • 546

                          #13
                          i was hoping for thread of someone raging at game not som glitch, eeee
                          ~eek

                          Reality hits you -more-

                          S+++++++++++++++++++

                          Comment

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