WoW:Getting the current interface number: Difference between revisions

m
Line 1: Line 1:
{{UIHowTo}}
{{wow/uihowto}}
The WoW 'interface number' is important for WoW [[AddOn]]s and can be difficult to find.
The WoW 'interface number' is important for WoW [[AddOn]]s and can be difficult to find.


Line 11: Line 11:
  ## Interface: 70000
  ## Interface: 70000


Interface number 70000 would mean that the AddOn is compatible with WoW [[Patch 7.0.3]]. The same interface number can be used for a series of WoW patches, usually until the next 'minor' release version. For example for with WoW [[Patch 7.1.0]], 70100 would likely be the new interface version number.
Interface number 70000 would mean that the AddOn is compatible with WoW Patch 7.0.3. The same interface number can be used for a series of WoW patches, usually until the next 'minor' release version. For example for with WoW Patch 7.1.0, 70100 would likely be the new interface version number.
 
== Editions, patches and PTRs ==
With the addition of WoW Classic and now having two different WoWs, there are now multiple TOC interface version numbers "live" at the same time. WoW 'Classic' uses the older versions similar to the versions of the original game, starting with 1.X, and has differently numbered versions from 'Retail' which is the name for regular WoW.
 
The truth is that there are were always multiple versions of WoW, as far as PTRs, betas and so forth. But each version now has its own distinct folder under the World of Warcraft install folder, like '_retail_', '_classic_', '_ptr_'. Each of those folders has a its own set of 'WTF', 'Interface/AddOns', and other files and folders. Keep this in mind when using the following ways below.
 
=== Two versions ===
If an addon is released for both classic and retail, and wanted matching numbers for each to load without the out-of-date warning, there need to be two copies. There would need to be a retail release with the retail TOC version, and classic release with the classic TOC version.


== Finding the number ==
== Finding the number ==
Line 17: Line 25:


==== 1. Wiki patch notes ====
==== 1. Wiki patch notes ====
: See the latest '[[Patch 8.2.5|patch notes]]' and look for the 'Interface' number in the Patch box.
: See the latest 'patch notes' and look for the 'Interface' number in the Patch box.
: This is the most authoritative source on the Wiki.
: This is the most authoritative source on the Wiki.


Line 27: Line 35:
: The interface number is usually derived exactly from WoW 'major.minor' version. Sometimes is derived from 'major.minor.release'.
: The interface number is usually derived exactly from WoW 'major.minor' version. Sometimes is derived from 'major.minor.release'.


: In 2.4.0, where 2 is the major version number, and .4 is the minor version number, is 20400. 5.4.0 is 50400 and, 5.4.1 (.1 being the 'sub-minor' or 'release' version) would likely be 50401. However, [[Blizzard]] doesn't often distinguish on the sub-minor version level, so you would still use 50400. However with [[patch 8.2.5]], for example, the interface number is actually 80205.
: In 2.4.0, where 2 is the major version number, and .4 is the minor version number, is 20400. 5.4.0 is 50400 and, 5.4.1 (.1 being the 'sub-minor' or 'release' version) would likely be 50401. However, [[Blizzard]] doesn't often distinguish on the sub-minor version level, so you would still use 50400. However with patch 8.2.5, for example, the interface number is actually 80205.


==== 4. <s>WoW FrameXML.toc</s> ====
==== 4. <s>WoW FrameXML.toc</s> ====
: Extract and check FrameXML.toc (no longer works, interface number is no longer in the FrameXML.toc)
: Extract and check FrameXML.toc (no longer works, interface number is no longer in the FrameXML.toc). See [[Extracting WoW user interface files]].
: See [[Extracting WoW user interface files]]  
: or ''DEPRECATED, not updated since Oct. 2010'' You can download Blizzard's User Interface Customization tool], use it to extract interface data, and peek at 'World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc'. See [[Interface AddOn Kit]] for history of the tool kit.
: or ''DEPRECATED, not updated since Oct. 2010'' You can download Blizzard's [https://us.battle.net/support/en/article/33747 User Interface Customization tool], use it to extract interface data, and peek at <code>World of Warcraft\Blizzard Interface Data (usUS)\FrameXML\FrameXML.toc</code>


==== 5. From another AddOn ====
==== 5. From another AddOn ====
Line 50: Line 57:


==== 8. <s>WoW FrameXML.toc on the Web</s> ====
==== 8. <s>WoW FrameXML.toc on the Web</s> ====
: View FrameXML.toc online (no longer works, interface number is no longer in the FrameXML.toc)
: View FrameXML.toc online (no longer works, interface number is no longer in the FrameXML.toc) For example: {{WoW/reslink|FrameXML.toc}}.<!--{{tlylink|FrameXML.toc}} {{wdnlink|FrameXML/FrameXML.toc}}-->
: For instance at {{tlylink|FrameXML.toc}}<!--{{wdnlink|FrameXML/FrameXML.toc}}-->.


== Notes ==
== Notes ==