WoW:Getting the current interface number
There are a few reasons why you might need the most current Interface version number. Usually you are a mod author and need to specify it in your .TOC file. It would look like:
## Interface: 20006
But how do you get this number? If you boot up WoW, there is a version number displayed but this number is wrong.
Current
The current Interface version number for WoW 2.0.6 on February 5th, 2007 is:Template:Ref
20006
Steal It
Chances are someone else has beaten you to it, and already updated their addon to the latest version, and you might already have the updated version, especially for addon packages with a .exe updater. Simply open one of their addon's .toc files to see the valid interface number.
This number might be wrong, or you may not have any up to date addons, or you may feel horrible for ripping someone else's hard work.
Start WoW
Start WoW. There's an version number in the lower left-hand corner of the login screen that will look like this: 2.0.6.6854 (major.minor.alpha.build). Just picture it like this: 2.00.06 (ignore the build number) and take out the dots (.). You are left with 20006. It's really not that complicated as the "Do it yourself" section would suggest.
Do it yourself
This is a bit more tricky. What you want is to find the interface number in Blizzard's FrameXML.toc file after a patch -- but this file is buried in a MPQ archive! While blizzard provides an Extraction Tool it will extract all the current files! If you want to save on diskspace, read on:
You need to grab WinMPQ but wait! Because WoW's patch.MPQ file is so big, the old WinMPQ program will crash with a 'overflow' error! Instead you need to grab this patched WinMPQ program.
Install it, then open:
World of Warcraft\enUS\locale-enUS.MPQ
From there, find the line that says:
Interface\FrameXML\FrameXML.toc
click it, then click extract. Put it somewhere you can access, and open it in your favorite text editor. Look the ##Interface line, and voila! The newest interface version number is in your hands, to be used in all your addons. Please remember that just changing the ##Interface line does not mean the mod will work, the code, structure and functions for addons can change after a patch, so check the patch notes and your favorite UI forums to see if you need to update any of your code before re-releasing your addon!
- OR, just view the latest [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/FrameXML.toc FrameXML.toc] on-line, courtesy http://wdn.wowinterface.com