WoW:Extracting WoW user interface files: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page Extracting WoW user interface files to WoW:Extracting WoW user interface files without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{uiaddon}}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 WoW user interface code]] for other methods.''
{{uiaddon}}
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 WoW user 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 the current Blizzard [[Interface AddOn Kit]] files.


In the In-game Developer Console, type one of:
* 1. Ensure 'console' is enabled for the WoW edition, like classic, retail, or ptr:
-console
 
* 2. Start the appropriate WoW edition
 
* 3. In the in-game developer console, type one of:
  exportInterfaceFiles code
  exportInterfaceFiles code
  exportInterfaceFiles art
  exportInterfaceFiles art
* 4. The game UI will freeze until all the files are extracted. For the art extraction, this can take a long time.
* 5. The new files will appear in the edition's WoW install folders, in:
BlizzardInterfaceCode
BlizzardInterfaceArt


See [[#Exporting the Code and Art files]] below for detailed instructions.
See [[#Exporting the Code and Art files]] below for detailed instructions.
Line 15: Line 27:
Most files used by the WoW game and the Blizzard WoW UI components are found inside game MPQ files, which are sort of like .zip files and not nmormally very easily accessible for reference. Blizzard provides this mechanism and files as a convenience for AddOn developers and the community in general.
Most files used by the WoW game and the Blizzard WoW UI components are found inside game MPQ files, which are sort of like .zip files and not nmormally very easily accessible for reference. Blizzard provides this mechanism and files as a convenience for AddOn developers and the community in general.


Just as there is no official Blizzard support for WoW AddOn development, and the previous [[Interface AddOn Kit]], there is generally no official support for the the export mechanism and the exported file either. However Blizzard has maintained this feature and intends it as a replacement for [[Interface AddOn Kit]] which was maintained itself until after the beginning of [[Patch 4.0]].
Just as there is no official Blizzard support for WoW AddOn development, and the previous [[Interface AddOn Kit]], there is generally no official support for the the export mechanism and the exported file either. However Blizzard has maintained this feature and intends it as a replacement for [[Interface AddOn Kit]] which was maintained itself until after the beginning of Patch 4.0.


== Exporting the Code and Art files ==
== Exporting the Code and Art files ==


=== From the WoW forums ===
=== From the WoW forums ===
Semi-official instructions are provided by [[MVP]] post on WoW Community Forums as follows:
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]|
Line 36: Line 48:


=== In Battle.net ===
=== In Battle.net ===
Alternatively, in the Battle.net client you can add the '--console' switch to enable the console.
Alternatively, in the Battle.net client you can add the '-console' switch to enable the console.
# Find the regular WoW launcher page
# Find the regular WoW launcher page
# Open the 'Options' drop down list and select 'Game Settings'
# Open the 'Options' drop down list and select 'Game Settings'

Latest revision as of 04:48, 15 August 2023

WoW AddOn

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 WoW user interface code for other methods.

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 the current Blizzard Interface AddOn Kit files.

  • 1. Ensure 'console' is enabled for the WoW edition, like classic, retail, or ptr:
-console
  • 2. Start the appropriate WoW edition
  • 3. In the in-game developer console, type one of:
exportInterfaceFiles code
exportInterfaceFiles art
  • 4. The game UI will freeze until all the files are extracted. For the art extraction, this can take a long time.
  • 5. The new files will appear in the edition's WoW install folders, in:
BlizzardInterfaceCode
BlizzardInterfaceArt

See #Exporting the Code and Art files below for detailed instructions.

Summary

The Blizzard export facility provides extra files and resources relevant to WoW AddOn development. These files are taken exported directly from the retail WoW MPQ files found in the WoW install and are availible for extract so that WoW AddOn developers and others can look at and reference FrameXML files, Lua files, and other art and resources found in the game itself.

Most files used by the WoW game and the Blizzard WoW UI components are found inside game MPQ files, which are sort of like .zip files and not nmormally very easily accessible for reference. Blizzard provides this mechanism and files as a convenience for AddOn developers and the community in general.

Just as there is no official Blizzard support for WoW AddOn development, and the previous Interface AddOn Kit, there is generally no official support for the the export mechanism and the exported file either. However Blizzard has maintained this feature and intends it as a replacement for Interface AddOn Kit which was maintained itself until after the beginning of Patch 4.0.

Exporting the Code and Art files

From the WoW forums

Semi-official instructions are provided by MVP post on WoW Community Forums as follows:

Alestane [1]:
  1. 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).
  2. Once you're at the login screen, hit the `/~ key to open a text console a the top of the window.
  3. Type "exportInterfaceFiles code" (or "exportInterfaceFiles art") and hit Enter. The game will likely lag for a moment.
  4. Find the current version of the stock UI files in BlizzardInterfaceCode in your WoW directory.
  5. ???
  6. Profit!
Bluspacecow [2]:

You can also do it on a Mac by :

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.

  1. Find the regular WoW launcher page
  2. Open the 'Options' drop down list and select 'Game Settings'
  3. Scroll down to 'World of Warcraft' and check 'Additional command line arguments'
  4. Add '-console' to the arguments text box
-console
  1. Click 'Done'

Notes

  • These commands appear to work on the login screen and character screen, but not during game play, at least on Windows as of 7.3.2.
  • Art export can take a considerable amount of time, and at least (as of 8.2) 2.8GB of disk space.
  • You will need to change operating system keyboard settings to US, so that console can be opened. Alternatively, you can temporarily change the console key by logging in to a character, then '/run SetConsoleKey "-"'. (In this example, the dash key was used, but many other keys are available for the mapping). Log out, then use the console.

See also

External links