breaking stable vanilla's saves

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dionysian
    Apprentice
    • Apr 2007
    • 77

    breaking stable vanilla's saves

    Running ./configure --with-no-install ends up using (and breaking) the savefile of my vanilla installation at ~/.angband/Angband/save/. The config, lib, and var paths reported at the end of the configure script all say ~/angbandv4/lib/, but when I run the game, it loads in my savefile from ~/.angband/Angband/save/ and obviously breaks it if I save it. Not really sure how to avoid this.
    Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
    --Barney Frank
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by dionysian
    Running ./configure --with-no-install ends up using (and breaking) the savefile of my vanilla installation at ~/.angband/Angband/save/. The config, lib, and var paths reported at the end of the configure script all say ~/angbandv4/lib/, but when I run the game, it loads in my savefile from ~/.angband/Angband/save/ and obviously breaks it if I save it. Not really sure how to avoid this.
    I'm sure we can solve this, because I build with --with-no-install all the time and it uses ~/.angband/v4/save as it should. Please can you paste

    1. Your entire configure command line

    2. The final output of configure (i.e. the modules and paths stuff)

    3. The git rev you're building

    4. A unified diff of any local changes you've made to that revision
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • dionysian
      Apprentice
      • Apr 2007
      • 77

      #3
      My entire config command line is `./configure --with-no-install --disable-sdl-mixer`.

      Configure reports:

      Configuration:

      Install path: (not used)
      binary path: ..
      config path: /home/dionysian/angbandv4/lib/
      lib path: /home/dionysian/angbandv4/lib/
      var path: /home/dionysian/angbandv4/lib/

      -- Frontends --
      - Curses Yes
      - GTK 2.x Disabled
      - X11 Yes
      - SDL Disabled
      - Windows Disabled
      - Test No
      - Stats No

      - SDL sound Disabled
      Version 3.4-dev-547-g6263d4a

      I haven't made any changes.
      Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
      --Barney Frank

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 5110

        #4
        Oooh. How do you start the game?
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • dionysian
          Apprentice
          • Apr 2007
          • 77

          #5
          ./angband -mgcu -- -b
          Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
          --Barney Frank

          Comment

          • Magnate
            Angband Devteam member
            • May 2007
            • 5110

            #6
            Originally posted by dionysian
            ./angband -mgcu -- -b
            Can we just check the entire sequence of commands?

            git pull official/master (or however you update your source code)
            make distclean
            ./autogen.sh
            ./configure --with-no-install --disable-sdl-mixer
            make
            ./angband -mgcu -- -b


            Is that right? And you're doing all this in ~? Or in ~/angbandv4?
            "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

            Comment

            • dionysian
              Apprentice
              • Apr 2007
              • 77

              #7
              Yep, that's right. Doing it in ~/angbandv4... the only difference is that I cd into the src directory because that's where the binary is.
              Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
              --Barney Frank

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by dionysian
                Yep, that's right. Doing it in ~/angbandv4... the only difference is that I cd into the src directory because that's where the binary is.
                That's desperately weird. I use *exactly* the same commands, and it behaves properly for me.

                If your machine is on the net, do you fancy PMing me a login to it? If you don't fancy that, login as a completely new user yourself and see if the problem still occurs. i.e. clone the repo and build v4 with a user that has never played V (and has therefore never created ~/.angband/Angband). I'm curious as to whether you are somehow building v4 with the wrong PRIVATE_USER_DIR, or whether something is going wrong at run-time.
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • dionysian
                  Apprentice
                  • Apr 2007
                  • 77

                  #9
                  At the moment, I don't have anything installed for remote access. I'm also using wifi and I'm not sure how the access point is set up... So, I'll try it on a fresh user, and see what happens.
                  Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
                  --Barney Frank

                  Comment

                  • dionysian
                    Apprentice
                    • Apr 2007
                    • 77

                    #10
                    So, I created a new user... cloned the git, compiled with --with-no-install, and it used ~/.angband/Angband

                    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
                    Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
                    --Barney Frank

                    Comment

                    • Magnate
                      Angband Devteam member
                      • May 2007
                      • 5110

                      #11
                      Originally posted by dionysian
                      So, I created a new user... cloned the git, compiled with --with-no-install, and it used ~/.angband/Angband

                      http://pastebin.com/hGgbB86V
                      Thank you, that's very comprehensive. I've just done a fresh build and it's working fine, so my next step is to try with a new user.

                      Just for completeness, can you tell me the versions you're running of

                      autoconf/automake
                      gcc
                      make
                      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                      Comment

                      • dionysian
                        Apprentice
                        • Apr 2007
                        • 77

                        #12
                        autoconf (GNU Autoconf) 2.68
                        gcc (GCC) 4.6.2 20120120 (prerelease)
                        GNU Make 3.82
                        Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
                        --Barney Frank

                        Comment

                        • d_m
                          Angband Devteam member
                          • Aug 2008
                          • 1517

                          #13
                          Hi,

                          It looks like you're using the wrong repo. Please clone git@github.com:angband/v4.git and let me know how it works.

                          Sorry you've been having problems, hope you get this working!
                          linux->xterm->screen->pmacs

                          Comment

                          • dionysian
                            Apprentice
                            • Apr 2007
                            • 77

                            #14
                            Looks like that's exactly what I've been doing wrong. Haven't tried it yet, but I'm pretty sure that will do it. Kind of embarassing, actually.

                            Magnate, sorry to have wasted your time. But thanks for the help!
                            Oh, Mr. Speaker, I had underestimated the tenderness of the feelings of the members opposite.
                            --Barney Frank

                            Comment

                            • d_m
                              Angband Devteam member
                              • Aug 2008
                              • 1517

                              #15
                              Originally posted by dionysian
                              Looks like that's exactly what I've been doing wrong. Haven't tried it yet, but I'm pretty sure that will do it. Kind of embarassing, actually.

                              Magnate, sorry to have wasted your time. But thanks for the help!
                              No worries, it's definitely confusing. I think plenty of other people (including some unnamed devteam members) have had this exact same issue.

                              Good luck!
                              linux->xterm->screen->pmacs

                              Comment

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