Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 30, 2010, 15:56   #1
Taha
Adept
 
Join Date: Jun 2009
Posts: 128
Taha is on a distinguished road
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 at 14:47.
Taha is offline   Reply With Quote
Old January 30, 2010, 22:48   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,173
Donated: $60
Nick is on a distinguished road
Happens to me too.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 31, 2010, 21:28   #3
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,858
Donated: $40
takkaria is on a distinguished road
Logged as ticket 1105.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old January 31, 2010, 22:21   #4
Taha
Adept
 
Join Date: Jun 2009
Posts: 128
Taha is on a distinguished road
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 at 14:47.
Taha is offline   Reply With Quote
Old February 1, 2010, 00:40   #5
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
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
d_m is offline   Reply With Quote
Old February 6, 2010, 17:56   #6
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
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
d_m is offline   Reply With Quote
Old February 8, 2010, 15:20   #7
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,858
Donated: $40
takkaria is on a distinguished road
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.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old February 8, 2010, 18:34   #8
Taha
Adept
 
Join Date: Jun 2009
Posts: 128
Taha is on a distinguished road
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 at 14:48.
Taha is offline   Reply With Quote
Old February 8, 2010, 19:02   #9
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 38
Posts: 1,516
d_m is on a distinguished road
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
d_m is offline   Reply With Quote
Old February 8, 2010, 19:17   #10
Taha
Adept
 
Join Date: Jun 2009
Posts: 128
Taha is on a distinguished road
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 at 14:48.
Taha is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[NPP] Compiling on Mac OS X chem Variants 10 January 6, 2009 22:40
Z+ known issue Mangojuice Variants 0 November 19, 2008 21:26
Isometric on a Mac st.patrik Variants 7 August 28, 2008 14:50
Compile failure for 3.0.9 on Mac OS X 10.4.10 TreeFrog Vanilla 4 November 8, 2007 14:58
Sangband and Oangband for Mac? Corydon Variants 3 July 27, 2007 22:27


All times are GMT +1. The time now is 14:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.