WoW:Getting started with writing AddOns (source)
Revision as of 20:03, 7 October 2012
, 7 October 2012→For Mac OS X
No edit summary |
|||
| Line 20: | Line 20: | ||
You need to extract the Blizzard interface files. This will allow you to view all of the XML and Lua files that make the game's default UI work, as well as provide you with two introductory tutorials. To do this: | You need to extract the Blizzard interface files. This will allow you to view all of the XML and Lua files that make the game's default UI work, as well as provide you with two introductory tutorials. To do this: | ||
====Open WoW with the console flag==== | |||
=====For Windows===== | |||
:*Navigate to your World of Warcraft directory | :*Navigate to your World of Warcraft directory | ||
:*Right click the WoW.exe file | :*Right click the WoW.exe file | ||
| Line 28: | Line 30: | ||
"C:\Users\Public\Games\World of Warcraft\Wow.exe" -console | "C:\Users\Public\Games\World of Warcraft\Wow.exe" -console | ||
:*Make sure to hit apply, close the window and launch your created shortcut | :*Make sure to hit apply, close the window and launch your created shortcut | ||
:*At the login page ('''before''' logging in) press the | |||
=====For Mac OS X===== | |||
:*Open Terminal.app, Located in /Applications/Utilities | |||
:*Paste the following command and press return: | |||
:**open "/Applications/World of Warcraft/World of Warcraft-64.app" --args -console | |||
:*WoW will launch | |||
:* Note that the command was tested with WoW 5.0.5 on Mac OS X 10.8 | |||
====Extract the API==== | |||
:*At the login page ('''before''' logging in) press the tilde button (The button left of the 1 key, labeled ~/`) to open the World of Warcraft console | |||
:*Type "exportInterfaceFiles code" or "exportInterfaceFiles art". Code is probably what your looking for, you will notice the game will lock up as it is exporting the files, this is normal. | :*Type "exportInterfaceFiles code" or "exportInterfaceFiles art". Code is probably what your looking for, you will notice the game will lock up as it is exporting the files, this is normal. | ||
:*You can now find the current version of the stock UI files in the BlizzardInterfaceCode folder of your WoW directory. | :*You can now find the current version of the stock UI files in the BlizzardInterfaceCode folder of your WoW directory. | ||