Page 1 of 1

XML Programming?

PostPosted: Wed Apr 27, 2011 8:45 pm
by macklinbob
First I am en experianced programmer. But I have never worked with XML.

I would like to change the name of a gauge. It looks like it is not as simple as changing the "NAME" statement.

Can anyone help me?

Bob Macklin
Seattle, Wa.

Re: XML Programming?

PostPosted: Tue May 03, 2011 12:26 pm
by Fr. Bill
1. XML "gauges" are typically in an MS Cabinet (.CAB) file.

2. You can use any unzip program to extract the files.

3. The name of the subfolder created is the main "gauge name."

4. The names of the individual XML files are the "subgauge names."

5. As you may know, gauges are listed in the panel.cfg file's entries in this form:

gaugenn=maingaugename!subgaugename, x,y,w,h

6. Simply rename the XML file to change the sub-gauge name, or the folder name to change the main gauge name.

7. Use the MS CAB utility program (cab.exe) to re-cab the folder.

8. edit the panel.cfg entries to update the names as necessary.

Re: XML Programming?

PostPosted: Sat May 07, 2011 1:56 pm
by pete
This really good tutorial by Ken Smith might help to explain some of what you'd like to know ..

http://simviation.com/1/search?submit=1 ... &x=24&y=10