Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old August 9, 2011, 19:13   #11
Max Stats
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
Originally Posted by Magnate View Post
Thank you - I didn't know that was the problem! It seems to me that the obvious short term fix is to ship only pref.prf in lib/pref, and allow the user to save user.prf in their private dir as their private global pref file (let's not forget that on multi-user systems, pref.prf would be loaded for all players). I can't imagine there's a need for both of them to be in lib/pref
If you wanted to keep the user.prf in lib/pref, you could just bypass the test for whether a file was found there and always load from both locations if found. You could then have a system default user.prf in lib/pref and an "all characters for this account" user.prf in the user's directory. I guess it depends on whether there is a reason to want both files shipped with the distribution.

In the longer term we want to rationalise this whole issue with a single player-specific "settings" file, with window positions, colours, keymaps, autoinscriptions etc. etc. When you save any of these things, the game should ask you whether you want them applied for all chars, or for this class only, or this char only - etc.
Can we add starting squelch settings to this list as described here?
Max Stats is offline   Reply With Quote
Old August 9, 2011, 20:40   #12
relic's Avatar
Join Date: Oct 2010
Location: Sweden
Posts: 76
relic is on a distinguished road
Well, what I did was to copy option preferences from my pref file to pref.prf manually, so that is fixed. And I will remember to set birth options for new characters during birth.

Another thing, I remember that in some variants (or maybe even Vanilla), one had the choice to append option-preferences to a file, (so as to not overwrite the file of course). Maybe something to consider?
relic is offline   Reply With Quote

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
Request for pref files takkaria Vanilla 7 May 1, 2012 07:05
r1971 pref file bug? Zikke Vanilla 1 May 25, 2010 07:28
/lib/pref/Makefile PaulBlay Development 1 April 10, 2009 20:38
Pref file handling PaulBlay Development 9 February 24, 2009 17:40
Question about "flvr" pref files. Zero Vanilla 1 January 14, 2008 19:13

All times are GMT +1. The time now is 12:10.

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