PDA

View Full Version : location of artwork not in same cab file



stefan
11-18-2007, 12:12 PM
Does anybody know if it is possible to define the location of the artwork, if not in the same cab file as the rest of the gauge?

<?xml version="1.0" encoding="UTF-8" ?>
- <SimBase.Document Type="AceXML" version="1,0" id="TEST">
<Descr>AceXML Document</Descr>
<Filename>test.xml</Filename>
- <SimGauge.Gauge id="test" ArtDirectory=".">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>100,63</Size>
- <Element id="Element">
<FloatPosition>80.000,2.000</FloatPosition>
- <Image id="popup_ecu_button_toga_in.bmp" Name="popup_ecu_button_toga_in.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
- <Element id="Element">
<FloatPosition>1.000,1.000</FloatPosition>
- <Image id="TEST.bmp" Name="TEST.bmp">
<Transparent>True</Transparent>
</Image>
</Element>

The example shows the use of test.bmp file which is included in the test.cab file and popup_ecu_button_toga_in.bmp which is in the AIRBUS_A321.cab file, but not visible.
I use ACE Tool from FSX SDK.

Thanks
Stefan :)

n4gix
11-18-2007, 04:25 PM
Well, you can do so, but it's rather pointless ultimately!

All bitmaps used in a specific XML gauge must be in the same CAB file. Period.

The only purpose of the "Art Directory" is to let the ACE Tool know where the bitmap resources are located, since it won't know otherwise... :)