Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

View Poll Results: Where should savefiles be stored?
System-wide 4 20.00%
In the home directory 15 75.00%
I don't care 1 5.00%
Voters: 20. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old June 22, 2007, 13:26   #1
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Linux/Unix users: Where should savefiles be stored?

Where should savefiles be stored? Are they better kept in lib/save/ (or wherever your distro puts them), or in your home directory in ~/.angband/, along with your pref files, screendumps, and the like?

(Since we have a poll function here, I might as well use it. )
takkaria is offline   Reply With Quote
Old June 22, 2007, 13:30   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by takkaria View Post
Where should savefiles be stored? Are they better kept in lib/save/ (or wherever your distro puts them), or in your home directory in ~/.angband/, along with your pref files, screendumps, and the like?

(Since we have a poll function here, I might as well use it. )
Can you have more than two choices in a poll? I wanted the Don't Care option
__________________
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 June 22, 2007, 13:32   #3
pav
Administrator
 
pav's Avatar
 
Join Date: Apr 2007
Location: Prague, Czech republic
Age: 42
Posts: 792
pav is on a distinguished road
Send a message via ICQ to pav
I believe they should be in /var/games on multiuser install, in ~/.angband otherwise. The lib/ should be installed read-only.
__________________
See the elves and everything! http://angband.oook.cz
pav is offline   Reply With Quote
Old June 22, 2007, 13:40   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Nick View Post
Can you have more than two choices in a poll? I wanted the Don't Care option
I thought that just after I'd created it, but I couldn't see any way to edit it afterward.
takkaria is offline   Reply With Quote
Old June 22, 2007, 13:42   #5
pav
Administrator
 
pav's Avatar
 
Join Date: Apr 2007
Location: Prague, Czech republic
Age: 42
Posts: 792
pav is on a distinguished road
Send a message via ICQ to pav
I can edit it
__________________
See the elves and everything! http://angband.oook.cz
pav is offline   Reply With Quote
Old June 22, 2007, 13:46   #6
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by pav View Post
I believe they should be in /var/games on multiuser install, in ~/.angband otherwise. The lib/ should be installed read-only.
Is that just tradition speaking, or do you make use of the multiuser aspect?
takkaria is offline   Reply With Quote
Old June 22, 2007, 13:49   #7
pav
Administrator
 
pav's Avatar
 
Join Date: Apr 2007
Location: Prague, Czech republic
Age: 42
Posts: 792
pav is on a distinguished road
Send a message via ICQ to pav
If people want to install Angband from their distro's package system, it got to be proper multiuser install.

The preference of /var over making /usr/share/angband subdir writable is an aspect of my traditionalist worldview as a FreeBSD user.

Personally, I do play all my bands from a ~/bin install...
__________________
See the elves and everything! http://angband.oook.cz
pav is offline   Reply With Quote
Old June 22, 2007, 18:12   #8
petebull
Apprentice
 
Join Date: May 2007
Location: Germany
Posts: 51
Donated: $5.70
petebull is on a distinguished road
I chose home directory because that's what is always in my backups on upgrades or reinstallations.

I'd consider /var/games/ as reasonable second option.
petebull is offline   Reply With Quote
Old June 22, 2007, 19:11   #9
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
When I was a student, friendly research-teaching assistants installed Angband on their faculty Linux machine. I've become addicted to Angband by playing it through telnet from lab text terminals. From time to time assistant's character's ghost would kill me in town (V was nasty at that time), which was both scary and dignifying.

I think, for variants with ghosts, /var/games is a must. For variants with score (all?) it is nice, too. Not many admins install Angband by default and not many can be compelled, but then, not so many people play Angband, anyway...
Bandobras is offline   Reply With Quote
Old July 9, 2007, 00:51   #10
Nolendil
Adept
 
Nolendil's Avatar
 
Join Date: May 2007
Location: Paris, France
Posts: 171
Donated: 10 euro
Nolendil is on a distinguished road
As I have several versions of Angband installed (mostly one only used for the borg, one with the current version I play and some older versions scattered around), I'd prefer to keep them in lib/save/ so that I know which save goes with which version.
None of these versions is installed system wide (I share the computer with my parents and none of them play Angband, shame on them ).

Anyway, I usually prefer to have all files related to an app in the same directory so that you just have to delete the directory to uninstall everything, or copy the whole directory to move the app to another computer.
But it might be just me.

If you plan to put the files in the home directory, note that, on Mac OS X, the standard place for user save files (and some other stuff) is "~/Library/Application Support/<app_name>/", not "~/.<app_name>".
By the way, the Mac version of Angband 3.0.6 (and probably some previous ones, I don't know when the change occurred) already stores bone, data, character dumps, saves and scores in the home directory but under "~/Library/Preferences/Angband/" which doesn't perfectly fit with Mac OS X standards.
Some Mac applications (especially ports from other Unix platforms) store their prefs and saves in "~/.<appname>" but it's a pain as it means you have to check several places to remove prefs and save files when you remove an app. Moreover, it means you have to use the terminal to get access to the files (as far as I know, it's not possible to show hidden files with Mac OS X GUI) which is less user-friendly.
So you might consider making a special case for the Mac version but I can live with whatever you choose.
Nolendil 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
Attention, Verizon users pav Oook! 10 May 10, 2007 05:57


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


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