Difference between revisions of "GUI Distribution"
Line 2: | Line 2: | ||
An Anarchy Online GUI consist of three sets of files: XML, Loading Screens and Graphics Archive. | An Anarchy Online GUI consist of three sets of files: XML, Loading Screens and Graphics Archive. | ||
+ | == Enabling a custom GUI == | ||
+ | Lets take a specific gui as example: Demoder's upcoming GUI; currently named "DemodersGUI". | ||
+ | <pre>/setoption GUIName "DemodersGUI" | ||
+ | /setoption GUISkin "GUI\DemodersGUI\Archives\default.uvgi"</pre> | ||
+ | If you are distributing a GUI, you might want to add the above to a script which the user can execute. | ||
+ | |||
+ | = Technical Information = | ||
== XML == | == XML == | ||
Locations | Locations |
Revision as of 11:56, 26 November 2010
Overview
An Anarchy Online GUI consist of three sets of files: XML, Loading Screens and Graphics Archive.
Enabling a custom GUI
Lets take a specific gui as example: Demoder's upcoming GUI; currently named "DemodersGUI".
/setoption GUIName "DemodersGUI" /setoption GUISkin "GUI\DemodersGUI\Archives\default.uvgi"
If you are distributing a GUI, you might want to add the above to a script which the user can execute.
Technical Information
XML
Locations
- Custom: cd_image\gui\GUINAME\
- Default: cd_image\gui\Default
These define where static GUI elements are located, and how many GUI elements look.
Loading Screens
Locations
- Custom: cd_image\gui\GUINAME\gfx\
- Default: cd_image\gui\Default\gfx\
This folder contains an AI, SL and RK loading screen. AO chose which loading screen to use based on the highest expansion of the logged in account.
- ai_loading_login.png: Alien Invasion login screen
- loadingimage_fullscreen.jpg: Shadowlands login screen
- welcome_to_rubika_shadowlands.jpg: Default loading screen
Graphics Archive
Locations
- Custom: cd_image\GUI\GUINAME\Arhives
- Pre-SL: cd_image\textures\archives\
- SL: cd_image\textures\archives_ep1
This folder contains *.UVGA and *.UVGI files. The *.UVGA files contain a series of image files appended one after another. The *.UVGI file is an index with the following format (as of 18.4.0):
path_to_UVGA_file (this seems to be ignored) number_of_entries entry1_key filepos length entry2_key filepos length ...
Custom GUI: Naming and Placement of files
Recommended Locations
- XML files: cd_image\gui\GUIName\
- Graphical Archives: cd_image\GUI\GUINAME\Arhives
Files & Folders to avoid
You should never touch these folders, nor files within:
- cd_image\gui\Default
- cd_image\textures\archives
- cd_image\textures\Archives_ep1