INFO: Preference order

General discussion about the game. Pull up a stool and tell us your tale!
Post Reply
Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

INFO: Preference order

Post by Berendol » Wed 24.11.2004, 22:37

Here's something that you may find enlightening, if not useful.

This is the order MAngband 0.7.2a loads and processes its .prf files. Replace sys with your system architecture, race with your player's race, class with your player's class, and name with your player's name.

1. pref.prf
2. user.prf
3. pref-sys.prf
4. graf-sys.prf or font-sys.prf -- pick graf-sys.prf if you have graphics enabled, font-sys.prf if you don't -- you could possibly use this to toggle between colored extended ASCII and monochrome standard ASCII displays
5. user-sys.prf
6. race.prf
7. class.prf
8. name.prf

This configuration process starts after you're connected to the server as the player, right before the MOTD is downloaded.

So, if you've ever wondered in which order you should set things up... that's the order the game uses.

See the functions client_init and initialize_all_pref_files in client/c-init.c for details.
By appreciation, we make excellence in others our own property. (Voltaire)

Post Reply