View Single Post
Old 12-15-2012, 05:51 PM   #2
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

That's one of the joys of reverse engineering a UI ... finding the templates.

Without knowing anything about the file structure of that UI, tracking down the graphics templates is as follows:

1. Copy the desired window, in this case the casting window, into the UI folder of the UI to be replaced. If the intent is to use it with the default UI, do not copy the desired window into the default folder; rather, create a new folder and put the window in there.

2. Load the UI with the replaced window. The UI will revert back to default.
2. A. In your general EQ directory look for a file UIErrors.txt.
2. B. Open this file with a text editor.
2. B. I. Disregard any of the output which reads:

[timestamp] Warning: file EQUI_<window>.xml not found in directory UIFiles\<UI>. Attempting to use file from Default skin.

Errors are not critical, they indicate the file does not exist in the modded UI folder and are being loaded from the default folder. This is correct functionality.

2. B. II. Do pay attention to any output which reads:

[timestamp] XML reference error! <UI element>:<template> referenced but NEVER declared!

This is the first missing graphic. Open up the UI folder where you took the desired window from in the first place, open up each of the .xml files one by one and CTRL-F search for whichever missing <template> was referenced in the XML error. Copy and paste that template from it's old location in the original UI folder into the desired window in the new UI folder.

3. If this template was moved correctly, the next /load of the UI will output a new and different XML reference error. This new and different error will be the second missing graphic.

Rinse and repeat ad nauseum until all the graphic templates have been included in the new UI file in the new UI folder and UIErrors.txt stops outputting missing template information.

Don't forget to copy and paste any base graphic images such as .bmp, .tga, etc. EQ will not output an error if the image file itself is missing, only if the templates are referenced incorrectly. It is theoretically possible to redefine all the template information correctly and still have your new window show up entirely transparent or with missing graphics if the image file itself is missing.
__________________

firescue17 is offline   Reply With Quote