Skip to content
James FitzGibbon edited this page Jul 30, 2011 · 5 revisions

WoW-UI-Config

This is my code for programmatically generating a WoW User Interface.

Having played on both the US and EU regions since 2005, I have about 25 characters. I like to keep my interfaces consistent, but it gets very annoying replicating changes to every character they apply to, especially on realms I'm no longer active on.

By defining the characteristics of each toon (level, class, spec, and arbitrary flags), then defining aspects of each addon's configuration (e.g. Affliction Warlocks need to know when Haunt is not present on their target and off CD), I can ensure that each character has the most appropriate UI without building each up by hand. When I change or add something to my UI, it is automatically picked up per the rules that match against the character attributes.

This project also serves as my playground for various code and pattern techniques - I've learned quite a bit about using Moose for advanced OO in Perl and set theory using Set::Scalar.

The current state of the project is a bit broken, due to some changes I made to keep my personal settings out of the github repo. You can build interfaces from it, but you need to fiddle about with the paths it's looking for files in.

The config_decomposition branch is a massive work in progress to fix all this up and support private settings in a separate repo.

Clone this wiki locally