Mac Save issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Taha
    Adept
    • Jun 2009
    • 128

    Mac Save issue

    Switching from windows to playing on my mac. Launch Angband, choose Open - Error "Unable to find the savefile folder! (Error -43)". Angband closes on OK.

    Assuming the savefile folder needs to be created, I try to launch a new character, hoping that saving him will fix the problem. AppleS - Saving failed, no dice. I can play until I quit, but on quit saving fails as well, and that is the end of that character.

    Any advice? Not doing anything fancy here, and I would create the folder manually but not sure where it would be. I am an administrator, shouldn't be an privilege issues, and I would assume that the savefile should be in my user folder somewhere, right?

    I haven't found any similar threads on the forums. Maybe it is a more recent bug, and all the regular players already have the appropriate folder or something. Oh, and tried this on the 3.1.2 release and on the latest mac nightly (1925) from http://beent.je/macangbandnightly/.
    ________
    LAUNCH BOX
    Last edited by Taha; August 14, 2011, 14:47.
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9634

    #2
    Happens to me too.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • takkaria
      Veteran
      • Apr 2007
      • 1951

      #3
      Logged as ticket 1105.
      takkaria whispers something about options. -more-

      Comment

      • Taha
        Adept
        • Jun 2009
        • 128

        #4
        Thanks for opening the ticket.

        For anyone else who wants to play until then; download 3.09b from http://rephial.org/, launch 3.09b and choose open to create the appropriate locations. After that, the latest versions work. Would explain why it wasn't caught earlier.

        Or you can manually create the folders as below:
        The appropriate folder structure:
        ~/Library/Preferences/Angband
        with subfolders
        /bone, /data, /save and /scores

        The preferences are stored in
        ~/Library/Preferences/net.thangorodrim.Angband.plist

        Any chance the preferences will be moved into the main folder with everything else during Magnate's reworking of save files and prefs? Might make things a little more portable cross platform, and the reference to thangorodrim is a little outdated.
        ________
        Live Sex
        Last edited by Taha; August 14, 2011, 14:47.

        Comment

        • d_m
          Angband Devteam member
          • Aug 2008
          • 1517

          #5
          I wonder if this problem is related to the changes from r1731 (the dir_create() and dir_exists() functions). I will have to check that out.
          linux->xterm->screen->pmacs

          Comment

          • d_m
            Angband Devteam member
            • Aug 2008
            • 1517

            #6
            OK, somehow create_needed_dirs() was being called before init_file_paths() so the paths weren't being initialized correctly.

            This should now be fixed in HEAD (as of r1934).
            linux->xterm->screen->pmacs

            Comment

            • takkaria
              Veteran
              • Apr 2007
              • 1951

              #7
              Can you try http://beent.je/macangbandnightly/cu...-r1934-osx.dmg and see if it works? If it does, we'll get out 3.1.2v2 fairly shortly with that fix (and a few others) in.
              takkaria whispers something about options. -more-

              Comment

              • Taha
                Adept
                • Jun 2009
                • 128

                #8
                No luck. Downloaded the version from your link, deleted the prefs folders I had manually created, same bug as before. Save fails, open crashes the game.

                Tried to get this when I saw the post Saturday, but the mac build for 1934 wasn't available yet.
                ________
                Bernadette
                Last edited by Taha; August 14, 2011, 14:48.

                Comment

                • d_m
                  Angband Devteam member
                  • Aug 2008
                  • 1517

                  #9
                  What version of OS X are you running? The crash that I was able to replicate was something like "Couldn't open ''" or something. The change I made fixed that problem, but apparently not the problem you had.

                  I was running 10.6.x on an Intel Mac Mini (Core Duo).
                  linux->xterm->screen->pmacs

                  Comment

                  • Taha
                    Adept
                    • Jun 2009
                    • 128

                    #10
                    Running 10.6.2. On a hackintosh, but vanilla kernel. (Software Update works.) 32bit, not 64.

                    To test, I deleted the folder ~/Library/Preferences/Angband and subfolders, as well as the com.thangorodrim prefs file. Recreating the empty Angband folder doesn't help. Putting a save folder in there does. No permissions issues with creating the folders manually.

                    The error is still "Unable to find the savefile folder! (Error -43)", as before.
                    ________
                    Philippine girl Webcams
                    Last edited by Taha; August 14, 2011, 14:48.

                    Comment

                    • Taha
                      Adept
                      • Jun 2009
                      • 128

                      #11
                      Tested with the same exact issue on an iBook G4 running Mac OS X 10.5.8. Just for more test info.
                      ________
                      SweetDolly69 live
                      Last edited by Taha; August 14, 2011, 14:48.

                      Comment

                      • d_m
                        Angband Devteam member
                        • Aug 2008
                        • 1517

                        #12
                        Hi Taha,

                        I think Lebannen figured it out. Can you try with r1936 or more recent?
                        linux->xterm->screen->pmacs

                        Comment

                        • Taha
                          Adept
                          • Jun 2009
                          • 128

                          #13
                          r1936 fixes it on both my test machines. Thanks for the help, looks good now.

                          [Edit] Tried updating my comment on the ticket, kept getting reject as spam or potential spam. But as the ticket as closed, I don't think this is an issue.
                          ________
                          Silversurfer vaporizer
                          Last edited by Taha; August 14, 2011, 14:48.

                          Comment

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