Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old July 31, 2013, 09:46   #1
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,923
Donated: $40
takkaria is on a distinguished road
Does anyone use race-specific pref files? & pref file UI changes

Does anyone use race-specific pref files? I can imagine that being worthwhile in variants maybe but not in V.

I ask because I'm thinking about making changes to the pref file UI after reading through some open pref file bugs. When you save a pref file at the moment, the game just lets you type in whatever you want for the filename. I'm not sure how useful that is. Seems to me that if you're saving, you're either saving to your
  • class-specific pref file
  • savefile-specific pref file
  • character-specific savefile (shared with other characters with this name - minus the roman numerals)
  • global pref file

Does anyone use pref files outside of those? It would make sense to me for the game to give you a choice of these if they are the ones that 99% of people use.

Thoughts?
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old July 31, 2013, 10:11   #2
Twilight
Apprentice
 
Twilight's Avatar
 
Join Date: Jan 2009
Location: Sweden
Posts: 58
Twilight is on a distinguished road
Quote:
Originally Posted by takkaria View Post
Does anyone use race-specific pref files? I can imagine that being worthwhile in variants maybe but not in V.

I ask because I'm thinking about making changes to the pref file UI after reading through some open pref file bugs. When you save a pref file at the moment, the game just lets you type in whatever you want for the filename. I'm not sure how useful that is. Seems to me that if you're saving, you're either saving to your
  • class-specific pref file
  • savefile-specific pref file
  • character-specific savefile (shared with other characters with this name - minus the roman numerals)
  • global pref file
Does anyone use pref files outside of those? It would make sense to me for the game to give you a choice of these if they are the ones that 99% of people use.

Thoughts?
I only use class-specific and savefile-specific pref files.

I used to have a pref file named blue.prf for cyan permanent walls back when perm walls weren't distinct from granite walls (to transfer between versions), but that change could have been in global pref instead.

As you say. I can't see much use for a race-specific in vanilla.

I guess there's no real practical reason for naming pref-files yourself, except the slight annoyance that some might be used to it!
__________________
It's better to burn out than to fade away!

Last edited by Twilight; July 31, 2013 at 10:20.
Twilight is offline   Reply With Quote
Old July 31, 2013, 10:36   #3
Timo Pietilä
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilä is on a distinguished road
Quote:
Originally Posted by takkaria View Post
Does anyone use race-specific pref files? I can imagine that being worthwhile in variants maybe but not in V.

Thoughts?
I only use class-specific. Thought about race-specific, but there actually is very small use for race-specific: only thing I can think of right now is priest "sense invisible" is useless for elves and high-elves, so I could use that for something else, but OTOH high-elf or elf as priest is not very common selection anyway (maybe paladin could be useful though).

Also how to set which is preferred, race first, then class or vice versa? Some priority-setting? Sounds complicated.
Timo Pietilä is offline   Reply With Quote
Old July 31, 2013, 13:28   #4
kaypy
Swordsman
 
Join Date: May 2009
Posts: 294
kaypy is on a distinguished road
I use a custom filename about 100% of the time.

That is, in general I do *not* want the autogenerated content to barf over my prefs- I want it barfed somewhere safely to one side where I can then grab the small subset of barf that is actually useful and transcribe only that into my pristine pref file.

But as long as there are multiple destinations I suppose I can always save it to an unused 'slot' and then rename it myself.</ocd>

While we are dealing with ripping out prefs file functionality, can I preemptively add that I also use loading custom filenames frequently (It allows you to create a cyclic self-modifying macro)
kaypy is offline   Reply With Quote
Old July 31, 2013, 13:49   #5
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,923
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by kaypy View Post
I use a custom filename about 100% of the time.

That is, in general I do *not* want the autogenerated content to barf over my prefs- I want it barfed somewhere safely to one side where I can then grab the small subset of barf that is actually useful and transcribe only that into my pristine pref file.

But as long as there are multiple destinations I suppose I can always save it to an unused 'slot' and then rename it myself.</ocd>

While we are dealing with ripping out prefs file functionality, can I preemptively add that I also use loading custom filenames frequently (It allows you to create a cyclic self-modifying macro)
OK, I wasn't planning to remove the functionality entirely, but it makes sense to provide choices for most players.

And what is a cyclic self-modifying macro?
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old July 31, 2013, 18:09   #6
kaypy
Swordsman
 
Join Date: May 2009
Posts: 294
kaypy is on a distinguished road
Ah. UI restriction may be contentious, but UI streamlining is always good 8-)

Hmm. But then the question you might need to be asking it "How many people use prefs other than the player-name.prf default save file?". If the default is the 90% case, adding multiple choices may wind up antistreamlining it... (Unless the UI has changed in the most recent version- I've been off in npp-land recently so I'm not up to date with the most recent V... Also I haven't read the aforementioned UI bug reports, so take everything here as buried under a suitably sized pile of salt)

A cyclic self-modifying macro is a made-up-on-the-fly-and-thus-less-self-explanatory-than-hoped-for term for something along the lines of:

Macro A does action A and also replaces itself with macro B
Macro B does acton B and also replaces itself with macro C
...
Macro N does acton N and also replaces itself with macro A

So for example a single button that fires off each type of detection in order, but doesn't commit the player to more than one turn worth of activity per keypress.

There may also be a less made-up-on-the-fly term for it...
kaypy is offline   Reply With Quote
Old July 31, 2013, 19:09   #7
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,795
Derakon is on a distinguished road
For what it's worth, I recreate my keymaps with every new character, unless the character dies early and I just reincarnate them.
Derakon is offline   Reply With Quote
Old July 31, 2013, 19:27   #8
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,923
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by kaypy View Post
Ah. UI restriction may be contentious, but UI streamlining is always good 8-)

Hmm. But then the question you might need to be asking it "How many people use prefs other than the player-name.prf default save file?". If the default is the 90% case, adding multiple choices may wind up antistreamlining it...
Yeah, maybe, that's a good point, and something to weigh up.

Quote:
A cyclic self-modifying macro is a made-up-on-the-fly-and-thus-less-self-explanatory-than-hoped-for term for something along the lines of:

Macro A does action A and also replaces itself with macro B
Macro B does acton B and also replaces itself with macro C
...
Macro N does acton N and also replaces itself with macro A

So for example a single button that fires off each type of detection in order, but doesn't commit the player to more than one turn worth of activity per keypress.
That's very smart.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old July 31, 2013, 21:28   #9
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,923
Donated: $40
takkaria is on a distinguished road
OK, and another question: does anyone use pref files to save their options? There was a thread a while back about pref files with options in them being undesirable because it's not obvious that there's a file loading each time you start the game that overwrites your options. What do people think?
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old August 1, 2013, 04:27   #10
Timo Pietilä
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilä is on a distinguished road
Quote:
Originally Posted by takkaria View Post
OK, and another question: does anyone use pref files to save their options? There was a thread a while back about pref files with options in them being undesirable because it's not obvious that there's a file loading each time you start the game that overwrites your options. What do people think?
Maybe saving/dumping them but not automatically loading them is desired way to go. After loading then they stay in the savefile.
Timo Pietilä 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
Request for pref files takkaria Vanilla 7 May 1, 2012 07:05
Graphics pref file bug in recent nightlies Nomad Development 2 September 19, 2011 11:48
Pref files relic Vanilla 11 August 9, 2011 20:40
r1971 pref file bug? Zikke Vanilla 1 May 25, 2010 07:28
Pref file handling PaulBlay Development 9 February 24, 2009 17:40


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


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