WoW:Getting the current interface number: Difference between revisions
(→An online alternative: Remove "courtesy" link. It's in the external links section.) |
(link looks crazy.) |
||
Line 1: | Line 1: | ||
This page is on how to go about '''getting the current interface number'''. | |||
Each addon specifies (in its [[The TOC Format|.toc file]]) the interface version with which it complies. | When loading the interface, the WoW client skips over any addons whose interface version does not match its own. This is an effort to keep the client's behavior free of errors due to changes in the API. | ||
Each addon specifies (in its [[The TOC Format|.toc file]]) the interface version with which it complies. So an addon's .toc file most likely contains a line similar to: | |||
## Interface: 20403 | ## Interface: 20403 | ||
This would mean the version of 2.4.3. | |||
== Finding the client UI version locally == | == Finding the client UI version locally == | ||
The WoW client's current version number is stored in (and determined by) Blizzard's FrameXML.toc file. The following assumes you've already extracted (using Blizzard's [http://www.blizzard.com/support/wow/?id=aww01669p Extraction Tool]) the client UI files from an MPQ archive into a directory filled with .xml files, .lua files, and one .toc file. | |||
The extracted files end up in a directory called '''Blizzard Interface Data (enUS)''', or something similar, under the root directory of your WoW installation. | |||
The extracted files end up in a directory called '''Blizzard Interface Data (enUS)''' or something similar, under the root directory of your WoW installation. | |||
The second line of the | The second line of the | ||
Line 17: | Line 18: | ||
<path to WoW installation>\Blizzard Interface Data <your locale>\FrameXML\FrameXML.toc | <path to WoW installation>\Blizzard Interface Data <your locale>\FrameXML\FrameXML.toc | ||
file determines the current version. | file determines the current version. ''Note that if your client has been patched since the last time you ran the extractor, you need to extract again. The patch downloader will only update the .mpq'' | ||
== An online alternative == | == An online alternative == | ||
This information is also available online: [{{wdnlink|FrameXML/FrameXML.toc}} FrameXML.toc] | This information is also available online: [{{wdnlink|FrameXML/FrameXML.toc}} FrameXML.toc] | ||
== External links == | == External links == | ||
*[http://wowcompares.com/ <nowiki>wow["compares"].com</nowiki>] | *[http://wowcompares.com/<nowiki>wow["compares"].com</nowiki>] | ||
[[Category:HOWTOs|Get Current Interface Number]] | [[Category:HOWTOs|Get Current Interface Number]] |
Revision as of 05:21, 19 August 2008
This page is on how to go about getting the current interface number.
When loading the interface, the WoW client skips over any addons whose interface version does not match its own. This is an effort to keep the client's behavior free of errors due to changes in the API.
Each addon specifies (in its .toc file) the interface version with which it complies. So an addon's .toc file most likely contains a line similar to:
## Interface: 20403
This would mean the version of 2.4.3.
Finding the client UI version locally
The WoW client's current version number is stored in (and determined by) Blizzard's FrameXML.toc file. The following assumes you've already extracted (using Blizzard's Extraction Tool) the client UI files from an MPQ archive into a directory filled with .xml files, .lua files, and one .toc file.
The extracted files end up in a directory called Blizzard Interface Data (enUS), or something similar, under the root directory of your WoW installation.
The second line of the
<path to WoW installation>\Blizzard Interface Data <your locale>\FrameXML\FrameXML.toc
file determines the current version. Note that if your client has been patched since the last time you ran the extractor, you need to extract again. The patch downloader will only update the .mpq
An online alternative
This information is also available online: [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/FrameXML.toc FrameXML.toc]