Savefile block can't be read

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Malak Darkhunter
    Knight
    • May 2007
    • 730

    Savefile block can't be read

    just compiled angband 3.5 on my ubuntu linux machine using the
    ./configure --prefix=$HOME
    make
    make install

    this script seems to work fine with no errors however once I startup angband and press any key to continue it tells me that the savefile block can't be read and then it tells me to maybe load an earlier savefile. Any ideas on what is going on here?
  • Malak Darkhunter
    Knight
    • May 2007
    • 730

    #2
    tried to compile again this time with a simple
    ./configure
    make
    sudo make install

    and then tried to start angband from a terminal command with
    sudo ./angband

    it informs me that angband has a broken savefile
    how can this be when its a fresh install?

    Comment

    • Malak Darkhunter
      Knight
      • May 2007
      • 730

      #3
      Just found this thread and will try again later




      On a side note I was able to also compile sangband 102
      Tried to compile FAangband but I get errors, tried the 116 build and the newer 144 build so I don't don't know what's wrong there.

      Comment

      • Malak Darkhunter
        Knight
        • May 2007
        • 730

        #4
        got angband to run by using angband -u(character name)
        however I cannot locate the savefiles.

        Comment

        • AnonymousHero
          Veteran
          • Jun 2007
          • 1393

          #5
          Try looking in ~/.angband/Angband/save.

          Btw, if you want to run without installing you can also give "configure" the option "--with-no-install". (I prefer this avoid cluttering the system with junk which isn't handled by the package manager.)

          Comment

          • Malak Darkhunter
            Knight
            • May 2007
            • 730

            #6
            Originally posted by AnonymousHero
            Try looking in ~/.angband/Angband/save.

            Btw, if you want to run without installing you can also give "configure" the option "--with-no-install". (I prefer this avoid cluttering the system with junk which isn't handled by the package manager.)
            If I type that in a terminal it tells me that it is a directory however I'm not sure what to do actualy to look at whats in the directory if im using a terminal window..

            Comment

            • Malak Darkhunter
              Knight
              • May 2007
              • 730

              #7
              not sure why angband uses this behavior, my compile of Sangband with the makefile.std setup installs sangband directly in the source directory and also uses the directorys present within the directory such as the save files. Savefiles are saved under the appropriate folder within the same directory and are not hidden.

              I'm kind of curious will angband compile using the make -fMakefile.std install command?

              Comment

              • Malak Darkhunter
                Knight
                • May 2007
                • 730

                #8
                just tried a sudo apt-get --purge remove angband to get rid of any hidden system files and it ended up finding a system file from 3.3.2. removed that, however on recompile and install it does yet again the same thing...broke savefile, I have looked and can't find anything anywhere with the savefile, even new characters in the game. at this point im about fed up, I wonder if you take a save file from angband 3.5 lets say from the windows port using wine and then moving a created savefile to your linux angband save folder if it would work then reading the new savefile.

                Comment

                • fizzix
                  Prophet
                  • Aug 2009
                  • 3025

                  #9
                  Sorry that I can't really help here. I've not messed at all with save/load even less on linux.

                  Comment

                  • Malak Darkhunter
                    Knight
                    • May 2007
                    • 730

                    #10
                    Originally posted by fizzix
                    Sorry that I can't really help here. I've not messed at all with save/load even less on linux.
                    quite alright Fizzix, I am still tinkering around...I can play the game however files not being saved to the appropriate directories is really bugging me..it's like they just disappear. I have tried doing searches everywhere hunting for savefile names and they aren't there, character dumps don't save in the angband directory either, so I will keep searching for a work around.

                    Comment

                    • Dawnmist
                      Rookie
                      • Oct 2007
                      • 23

                      #11
                      Originally posted by Malak Darkhunter
                      If I type that in a terminal it tells me that it is a directory however I'm not sure what to do actualy to look at whats in the directory if im using a terminal window..
                      on the command line, "ls" lists the contents of a directory.

                      Code:
                      ls -a ~/.angband/Angband/save
                      will list ALL files (including any hidden ones) in the ~/.angband/Angband/save directory (the "-a" bit says "show all").

                      The ".angband" directory itself is a hidden directory. Most graphical file browsers have an option to show hidden files/directories (Nautilus used to use CTRL-H to toggle them being visible/invisible) - if you look under view options you should find something that will allow you to "show hidden files" and allow you to see/explore inside that directory in a graphical file browser too.

                      Comment

                      • Malak Darkhunter
                        Knight
                        • May 2007
                        • 730

                        #12
                        Originally posted by Dawnmist
                        on the command line, "ls" lists the contents of a directory.

                        Code:
                        ls -a ~/.angband/Angband/save
                        will list ALL files (including any hidden ones) in the ~/.angband/Angband/save directory (the "-a" bit says "show all").

                        The ".angband" directory itself is a hidden directory. Most graphical file browsers have an option to show hidden files/directories (Nautilus used to use CTRL-H to toggle them being visible/invisible) - if you look under view options you should find something that will allow you to "show hidden files" and allow you to see/explore inside that directory in a graphical file browser too.
                        Right when you was typing this I was figuring it out,lol.
                        Success!
                        moving to my home folder I pressed Cntrl-H and it then showed me the hidden directory of .Angband...from there I quickly located the old hidden save files that was causing the problem, Angband works like a charm now.
                        I need to write a book on all the linux commands I have learned in the last 2 days about compiling and removing and locating hidden files.
                        Anyways thanks Dawnmist for your info, learning linux is almost as addictive as playing

                        Comment

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