Why aren't you playing Unangband?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hard Nova
    Rookie
    • Oct 2007
    • 3

    #61
    Originally posted by andrewdoull
    Hello Andrew,

    I really would like to try your variant (I readed your blog, and UnAngband looks like a great game), but the reason I am not currently playing unangband is simple; it is one of those "unrunnable" variants on my pc; when I launch the .exe, I receive a black window.
    Sangband and Quickband gives me the same error.

    I am currently playing Nppband, which runs without problems (my os is win xp).

    Comment

    • andrewdoull
      Unangband maintainer
      • Apr 2007
      • 872

      #62
      Originally posted by Hard Nova
      Hello Andrew,

      I really would like to try your variant (I readed your blog, and UnAngband looks like a great game), but the reason I am not currently playing unangband is simple; it is one of those "unrunnable" variants on my pc; when I launch the .exe, I receive a black window.
      Sangband and Quickband gives me the same error.

      I am currently playing Nppband, which runs without problems (my os is win xp).
      There's not a huge amount I can do without being able to duplicate this fault, or have someone with a reasonable amount of technical knowledge to do the same.

      Some basics:

      1. Delete the angband.ini file and relaunch the game.
      2. Try changing the fonts from the title bar menu.
      3. Download the SDL version of Sangband for Windows and see if the fault occurs there. If you have the SDL version, double-check if the ibm version causes the same problem. You can get both versions of this from http://runegold.org/sangband/files/
      4. Recompile Unangband using the -DUSE_IBM flag (or try the makefile.ibm - its been a while and I'm not sure if that still works). I've got instructions on how to compile Unangband on my blog.

      Let me know how this goes.

      Andrew
      The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
      In UnAngband, the level dives you.
      ASCII Dreams: http://roguelikedeveloper.blogspot.com
      Unangband: http://unangband.blogspot.com

      Comment

      • shadus
        Rookie
        • Oct 2007
        • 10

        #63
        Originally posted by andrewdoull
        There's not a huge amount I can do without being able to duplicate this fault, or have someone with a reasonable amount of technical knowledge to do the same.

        Some basics:

        1. Delete the angband.ini file and relaunch the game.
        2. Try changing the fonts from the title bar menu.
        3. Download the SDL version of Sangband for Windows and see if the fault occurs there. If you have the SDL version, double-check if the ibm version causes the same problem. You can get both versions of this from http://runegold.org/sangband/files/
        4. Recompile Unangband using the -DUSE_IBM flag (or try the makefile.ibm - its been a while and I'm not sure if that still works). I've got instructions on how to compile Unangband on my blog.

        Let me know how this goes.

        Andrew
        This is the exact problem I was talking about in the other threads.

        Ill run through the list...

        1. No effect, still black screened.
        2. Different fonts, no effect, *but* if I turn on graphics mode then fiddle around till I get into the game the graphics show up, none of the text does though.
        3a. SDL version of sangband works fine even running after unangband.
        3b. *No* *band version works after unangband (all give same black screen) except SDL Sangband. Tried vanilla, tome, port, etc. After a reboot they all work normally until unangband is run.

        I didn't do #4 because I'm using pre-compiled windows binaries for each of the *bands.

        Mind, this is all window's I'm talking about... in linux I've never had these kind of problems... if it compiles, it generally works. Windows.. not so much.

        Secondary note while trying to isolate this, I entirely deleted *all* of my "Text Games" directory on my computer, redownloaded each one, rebooted, and now unangband is working for me. Still not working on girlfriends computer, but working on mine.

        Interesting-- deleted stuff on her computer, it had some complaints about files being in use still after unangband was unloaded. After a reboot got everything deleted, copied my text games directory to her machine and now it works correctly also.

        I'm stumped. On the bright side I'm fixed now!

        My suggestions to the other person having this issue: Reboot, remove all *band games from your computer, redownload them and install them. Maybe it's a file corruption issue or an allocated resource issue... I have no clue at this point, I'm completely mystified.

        Edit: Having tried it for a bit (before posting this), I'm not real fond of it. The interface feels okay, but switching between maps and finding enough to kill at the beginning is a bit hard if you don't know where you're starting, definetly a *band I'm going to keep my eye on though, seems like it has potential.

        Comment

        • Kav
          Scout
          • Jun 2007
          • 39

          #64
          Originally posted by andrewdoull
          I've got instructions on how to compile Unangband on my blog.
          I just searched all over your site but I can't find said instructions. The install.txt file (last edited by RR in 01) says to just run ./configure as usual, but it isn't in the top level directory of the source zip or the src sub directory.

          So what do I need to do to get it to compile? I'd love to give un a try, please help.

          Comment

          • andrewdoull
            Unangband maintainer
            • Apr 2007
            • 872

            #65
            Originally posted by Kav
            I just searched all over your site but I can't find said instructions. The install.txt file (last edited by RR in 01) says to just run ./configure as usual, but it isn't in the top level directory of the source zip or the src sub directory.

            So what do I need to do to get it to compile? I'd love to give un a try, please help.
            I've possibly not included the right files in the source .zip for configure. Someone with more Linux knowledge should step in here. I've always just run make in the src directory.

            You'd probably want to do make -f makefile.std

            Andrew
            The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
            In UnAngband, the level dives you.
            ASCII Dreams: http://roguelikedeveloper.blogspot.com
            Unangband: http://unangband.blogspot.com

            Comment

            • Kav
              Scout
              • Jun 2007
              • 39

              #66
              There's where my inexperience shows. I knew it had to be something easy like that.
              It's compiling now.

              Thank you

              [edit]
              it died

              Code:
              make[1]: `main.o' is up to date.
              make[1]: `maid-x11.o' is up to date.
              make[1]: Leaving directory `/usr/src/unangband/unangband-062-src/src'
              gcc -Wall -pipe -O2 -D"USE_X11" -D"USE_GCU" -D"USE_NCURSES"  -o unangband birth.o cave.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o info.o dungeon.o files.o generate.o init1.o init2.o load.o melee1.o melee2.o monster1.o monster2.o object1.o object2.o randart.o save.o spells1.o spells2.o store.o tables.o util.o variable.o wizard1.o wizard2.o xtra1.o xtra2.o borgdumb.o z-form.o z-rand.o z-term.o z-util.o z-virt.o  main-cap.o main-gcu.o main-x11.o main-xaw.o main.o maid-x11.o -lX11 -lncurses -L/usr/X11R6/lib
              util.o: In function `my_fopen_temp':
              util.c:(.text+0x4d8a): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
              main.o: In function `main':
              main.c:(.text+0x1f4): undefined reference to `help_ibm'
              main.c:(.text+0x281): undefined reference to `init_ibm'
              main.o:(.rodata+0x130): undefined reference to `help_ibm'
              main.o:(.rodata+0x134): undefined reference to `init_ibm'
              collect2: ld returned 1 exit status
              make: *** [unangband] Error 1
              Last edited by Kav; October 23, 2007, 22:00.

              Comment

              • Bandobras
                Knight
                • Apr 2007
                • 726

                #67
                It compiles OK on my linux box. Could you remove the source files (mangled with ./configure, I suspect) and unpack and compile them again? If it fails, could you get new sources directly from SVN and try again?

                Comment

                • andrewdoull
                  Unangband maintainer
                  • Apr 2007
                  • 872

                  #68
                  Originally posted by Kav
                  There's where my inexperience shows. I knew it had to be something easy like that.
                  It's compiling now.

                  Thank you

                  [edit]
                  it died
                  I've uploaded a newer version of the source archive which includes the files that should hopefully support the compile.txt advice.

                  Andrew
                  The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
                  In UnAngband, the level dives you.
                  ASCII Dreams: http://roguelikedeveloper.blogspot.com
                  Unangband: http://unangband.blogspot.com

                  Comment

                  • Kav
                    Scout
                    • Jun 2007
                    • 39

                    #69
                    when trying to ./configure
                    configure: error: cannot find install-sh or install.sh in . ./.. ./../..

                    However this time when I ran make -f Makefile.std it compiled successfully. It will only run if I am in the top directory with lib and src in it.

                    Unfortunately it's to late for me to play any right now. I'll try it tomorrow

                    Comment

                    • andrewdoull
                      Unangband maintainer
                      • Apr 2007
                      • 872

                      #70
                      Originally posted by Kav
                      when trying to ./configure
                      configure: error: cannot find install-sh or install.sh in . ./.. ./../..

                      However this time when I ran make -f Makefile.std it compiled successfully. It will only run if I am in the top directory with lib and src in it.

                      Unfortunately it's to late for me to play any right now. I'll try it tomorrow
                      I've uploaded a newer version of the source archive which includes the files that should hopefully support the compile.txt advice.

                      (Is there an echo in here?)

                      Andrew
                      The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
                      In UnAngband, the level dives you.
                      ASCII Dreams: http://roguelikedeveloper.blogspot.com
                      Unangband: http://unangband.blogspot.com

                      Comment

                      • Kav
                        Scout
                        • Jun 2007
                        • 39

                        #71
                        ./configure made it further this time:

                        Code:
                        configure: creating ./config.status
                        config.status: creating Makefile
                        config.status: creating src/Makefile
                        config.status: creating lib/Makefile
                        config.status: creating lib/apex/Makefile
                        config.status: creating lib/bone/Makefile
                        config.status: creating lib/data/Makefile
                        config.status: creating lib/edit/Makefile
                        config.status: creating lib/file/Makefile
                        config.status: creating lib/help/Makefile
                        config.status: creating lib/info/Makefile
                        config.status: creating lib/pref/Makefile
                        config.status: creating lib/save/Makefile
                        config.status: error: cannot find input file: lib/todo/Makefile.in

                        make -f Makefile.std died with several screens worth of this:

                        Code:
                        Makefile:348: .deps/z-form.Po: No such file or directory
                        Makefile:349: .deps/z-rand.Po: No such file or directory
                        Makefile:350: .deps/z-term.Po: No such file or directory
                        Makefile:351: .deps/z-util.Po: No such file or directory
                        Makefile:352: .deps/z-virt.Po: No such file or directory
                        make[1]: *** No rule to make target `.deps/z-virt.Po'.  Stop.
                        make[1]: Leaving directory `/usr/src/unangband/unangband-062-src/src'
                        make: *** [unangband] Error 2

                        Comment

                        • Nick
                          Vanilla maintainer
                          • Apr 2007
                          • 9647

                          #72
                          Here are my steps for getting Unangband to compile in linux - there may be an easier way, but this worked for me:
                          1. Edit lib/Makefile.am and remove todo from the line starting SUBDIRS;
                          2. Edit configure.in, removing lib/todo/Makefile from the line starting AC_CONFIG_FILES (right near the end of the file);
                          3. Edit src/config.h, removing the line #define ALLOW_BORG
                          4. Enter the following commands:
                            • aclocal
                            • autoheader
                            • automake --add-missing
                            • autoconf
                            • ./configure
                            • make
                            • make install
                          One for the Dark Lord on his dark throne
                          In the Land of Mordor where the Shadows lie.

                          Comment

                          • Bandobras
                            Knight
                            • Apr 2007
                            • 726

                            #73
                            Originally posted by Bandobras
                            It compiles OK on my linux box. Could you remove the source files (mangled with ./configure, I suspect) and unpack and compile them again? If it fails, could you get new sources directly from SVN and try again?
                            I might have been unclear. By 'compile' I meant just running 'make -f Makefile.std' inside src/ on fresh sources without prior ./configure (which overwrites makefiles). Have you tried this on fresh sources?

                            Comment

                            • Daven_26d1
                              Adept
                              • Jun 2007
                              • 211

                              #74
                              Both linux distros I've compiled Un on have had a similar issue; I basically remove references to -lx11 and USE_X11 from the makefile, and then I just make sure that my ncurses packages are sufficient.

                              This is just using "make -f Makefile.std".

                              Its "not a very nice makefile" but I've succeeded in running Un on SuSE and Kubuntu, so I presume any rpm or debian based distros shouldn't be too tricksy.

                              Might help if you told us what distro you had, kav?
                              You sold a Broken Sword (1d2) (-2,-4) {average} (j) for 1 gold.
                              The shopkeeper howls in agony!
                              You say "Dude, the clue is in the name...".

                              Comment

                              • Kav
                                Scout
                                • Jun 2007
                                • 39

                                #75
                                Yeah, sorry. Debian unstable. I should have all the necessary ncurses requirements because I've compiled vanilla on this system before.

                                I was able to compile the source you uploaded before this one with make -f Makefile.std. What did you change in this one?

                                Comment

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