Console Variables
Not sure if this fits in here; but I trust someone will place it in the better suitable category if needed :)
I've tried to find a conclusive list of all console variables - but most aren't up to date. (http://wowpedia.org/Console_variables/Complete_list) (http://wowprogramming.com/docs/cvars) How are these "mined"? It may be a stupid question; if so I do apologise. Most that are accessible through the actual in game options - change all the options and check your Config.WTF. But I've noticed quite a few not being triggered by doing that. So how do these lists come into existence? Trial and error? |
There are a variety of methods to mine CVar names. The easier methods are to either hook the API calls and/or events that trigger from a CVar change or to browse the WTF files. There are more than the Config.wtf. Be sure to check the Config-Cache.wtf files in the account and character folders. A more advanced method is to extract strings from the game's executable.
Note some CVars have restricted access from addons. Some can't be written over and there are others that can't even be read. |
Quote:
I can gist it once I think I've got most, then people can add to it. ps. Your quote in your signature : As SysAdmin who occasionally (during vacations etc) works service desk as well; I would love the last option :P |
Just to come back to this with a fix... Although still required a good dose of manual labor. (My Regex is weak.)
Exported the InterfaceCode from my client (Console -> export :)) And then some little magic: Code:
grep 'self.cvar' ../Interface/FrameXML/* >> output.txt |
That looks like it would only work when crawling through the Blizzard options frames. I'd try modifying that to look for the various CVar functions like GetCVar() and GetCVarBool(). You can also look for anything responding to the CVAR_UPDATE event. You'd also want to scan the extracted AddOns folder as the Blizzard LoD addons also work on some CVars.
|
Quote:
ps. If you grep wrong, you end up with a 35+GB txt file :P (Just pulled that one.) But I'll keep working it and post back once I have a - what I think - complete list. ps2. WoW supports 3D (red/blue/green) visuals? Code:
gxStereoEnabled |
Code:
ActionButtonUseKeyDown |
Quote:
That was according to a few different Apple Store employees, should you hook up a display that would otherwise support 3D Vision. On a side note, you can use APIs to create some nifty effects on frames, bars, name plates, etc, but always check if the user's game client supports the feature, or you will get some bugged and possibly hard-exit problems. |
Quote:
More tomorrow |
All times are GMT -6. The time now is 02:47 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI