The Allegro Wiki is migrating to github at

Config hierarchy

From Allegro Wiki
Jump to: navigation, search
This article is a stub. Please help Allegro by expanding it.

This means settings should come from:

  • Application's exe directory (./.allegrorc, .\allegro.cfg, Bundle's resource directory)
  • User's home (~/.allegrorc, %MYPROFILE%\allegro.cfg, ~/Library/Application Support)
  • System default (/etc/allegrorc, ?, /Library/Application Support)

(suggested Unix, Windows and OS X directories in brackets)

Would this be too complicated?

No, sounds like a good idea to me. Angelo wanted to implement the config system, probably it will be quite similiar to this: Your concern seems to be if hierarchical overriding will be possible.. that's not handled by that document, but I think it makes sense. EP

This was discussed on AD a while ago. [This thread] is partly relevant but I can't find the main discussion that I remember.PH