WoW:Extracting WoW user interface files: Difference between revisions

m
No edit summary
Line 1: Line 1:
{{uiaddon}}
{{uiaddon}}
Blizzard's [[user interface]] code and artwork code can be viewed by directly exporting files from the game code, using tools already in the game. This code is often used in [[AddOn]] and community site development, or available for those who are curious and want to learn more about WoW internals. ''See also [[Viewing Blizzard's interface code]] for other methods.''
Blizzard's [[user interface]] code and artwork file can be exported to a directory using tools already in the game, and viewed directly. This these files often useful for [[AddOn]] developers, or those who are just curious and want to learn more about WoW internals. ''See also [[Viewing Blizzard's interface code]] for other methods.''


== Extracting Files  ==
== Extracting Files  ==
Game [[UI]] code and art files can be extracted using the WoW in-game [[console]] commands, which will export files to a directory on your computer. These files are similar to the ones in the Blizzard [[Interface AddOn Kit]], which is no longer maintained as of {{cata-inline}}[[Patch 4.0]].
Game [[UI]] code and art files can be extracted using the WoW in-game [[console]] commands, which will export files to a directory on your computer. These files are similar to the ones in the Blizzard [[Interface AddOn Kit]], which is no longer maintained as of {{cata-inline}}[[Patch 4.0]].


On the in-game developer console, type one of:
In the In-game Developer Console, type one of:
  exportInterfaceFiles code
  exportInterfaceFiles code
  exportInterfaceFiles art
  exportInterfaceFiles art
Line 19: Line 19:


== Exporting the Code and Art files ==
== Exporting the Code and Art files ==
* Semi-official instructions are provided by [[MVP]] post on WoW Community Forums as follows:
 
=== From the WoW forums ===
Semi-official instructions are provided by [[MVP]] post on WoW Community Forums as follows:
{{texts|mvp|Alestane [http://us.battle.net/wow/en/forum/topic/2046735687#2]|
{{texts|mvp|Alestane [http://us.battle.net/wow/en/forum/topic/2046735687#2]|
# Launch WoW with the -console switch; on Windows, you can do this from the properties of the shortcut if you're so inclined, or directly from the command line; on Mac, you can open a terminal and use "open /Applications/World\ of\ Warcraft/World\ of\ Warcraft\ Launcher.app --args -console" (on most systems).
# Launch WoW with the -console switch; on Windows, you can do this from the properties of the shortcut if you're so inclined, or directly from the command line; on Mac, you can open a terminal and use "open /Applications/World\ of\ Warcraft/World\ of\ Warcraft\ Launcher.app --args -console" (on most systems).
Line 32: Line 34:
putting a commandline.txt in your main wow folder with -console inside it
putting a commandline.txt in your main wow folder with -console inside it
}}
}}
=== In Battle.net ===
Alternatively, in the Battle.net client you can add the '--console' switch to enable the console.
# Find the regular WoW launcher page
# Open the 'Options' drop down list and select 'Game Settings'
# Scroll down to 'World of Warcraft' and check 'Additional command line arguments'
# Add '-console' to the arguments text box
-console
# Click 'Done'


== Notes ==
== Notes ==