For those of you who create XML gauges, or mixed mode gauges, you will find this script very handy.
If you have a gauge project directory, for example, "C5_Galaxy", which is mixed mode create an XML sub-directory like this:
Now, if you are doing XML only, then you'd want something like this:
Once you have your xml done, and artwork copied to the spb folder, then just run this .bat file in the xml root directory to have the .bat file compile your source to the spb directory, CAB it, and place the CAB in your FSX gauges directory.
Type:
for usage and help.
In a future version, I will add some command line options to allow more control from a post-compile run from Visual Studio.
Let me know if you like it, or would like to see any feature added to it. I plan to add command line switches to turn compilation and CAB'ation on/off.
Enjoy,
Patrick
If you have a gauge project directory, for example, "C5_Galaxy", which is mixed mode create an XML sub-directory like this:
Code:
C5_Galaxy
assets - C gauge bmp, sounds, etc.
inc - project specific inc files
src - C++ source files
XML - root of xml part of the project
xml - your source xml goes here
spb - encrypted spb's are compiled here
Now, if you are doing XML only, then you'd want something like this:
Code:
C5_Galaxy_XML
xml
spb
Once you have your xml done, and artwork copied to the spb folder, then just run this .bat file in the xml root directory to have the .bat file compile your source to the spb directory, CAB it, and place the CAB in your FSX gauges directory.
Type:
Code:
xml_make /?
for usage and help.
In a future version, I will add some command line options to allow more control from a post-compile run from Visual Studio.
Let me know if you like it, or would like to see any feature added to it. I plan to add command line switches to turn compilation and CAB'ation on/off.
Enjoy,
Patrick
Attachments
Last edited:


