SAngband

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wisp
    Scout
    • Jul 2007
    • 47

    SAngband

    So, I'm running Ubuntu Intrepid, and I've compiled the (I think) SDL version. It will run fine, and I can play for as long as I want, but anytime I try to close (via ctrl-X, hitting escape it first window, etc.) the game, it segfaults and freezes, and I have to go to the terminal and "kill" it.

    Is this just a bad compile, or a known bug?

    Anything I should try? I'm something of a Linux n00b, and I haven't tried source-compiling a *band before.
    Dubito, ergo cogito, ergo sum.
  • Bandobras
    Knight
    • Apr 2007
    • 726

    #2
    Where did you get the source from? There are some fan-made bugfixed versions somewhere...

    Comment

    • camlost
      Sangband 1.x Maintainer
      • Apr 2007
      • 523

      #3
      I'm not aware of having fixed any such bugs. Mainly because I haven't experienced them yet (I am not currently running any flavor of Linux).

      Any chance that you could obtain any information about the nature of the bug. Perhaps you could run it through a debugger to find out some information about what is going wrong?

      If you are interested, the alternate source can be found at:
      middendorfproject.googlepages.com/sangband

      Let me know if you find some other information. I'm planning on installing a distro at some point, but I've been pretty busy lately. When I do, I'll see if I can get a clean SDL install myself.
      a chunk of Bronze {These look tastier than they are. !E}
      3 blank Parchments (Vellum) {No french novels please.}

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9633

        #4
        1.0.0. hotfix #7 works fine for me on Intrepid - I don't suppose that helps much. I compiled it a couple of Ubuntu releasess ago, and can't remember having to do anything weird.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • Wisp
          Scout
          • Jul 2007
          • 47

          #5
          That's strange. I got the code from here.

          I recompiled... the standard make install -f Makefile.std

          It runs (and closes) fine. I suppose I just had a bad install.

          Any of you all know how I could register it as a keyword? (ie, type sangband in terminal and have it start up, as opposed to going to the directory, etc. etc.)

          Thanks for your help.
          Dubito, ergo cogito, ergo sum.

          Comment

          • PowerDiver
            Prophet
            • Mar 2008
            • 2820

            #6
            Originally posted by Wisp
            Any of you all know how I could register it as a keyword? (ie, type sangband in terminal and have it start up, as opposed to going to the directory, etc. etc.).
            You probably want to create a shellscript inside /usr/local/bin that contains two commands, one to change directories and another to invoke the program. E.g. I have an old one called

            /usr/local/bin/nppangband

            whose contents is
            Code:
            #! /bin/sh
            
            cd /home/jgrove/eddie/npp/NPP050BETA2-Source
            /home/jgrove/eddie/npp/NPP050BETA2-Source/nppangband
            You might want to add options like "-mx11 -- -n2" to the last line to get multiple windows, assuming S supports those options.

            You need to make sure the script has the execute bit set [using chmod +x] and that /usr/local/bin is in your path.

            Alternatively, you could add an alias something like

            alias sangband='pushd /usr/local/src/sangband ; ./angband ; popd'

            to your ~/.alias file.

            Comment

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