Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
XML Programming? (Read 494 times)
Apr 27th, 2011 at 9:45pm

macklinbob   Offline
Colonel
I Like Flight Simulation!
Seattle, Wa.

Gender: male
Posts: 24
*****
 
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.
 

Bob Macklin
Seattle, Wa
IP Logged
 
Reply #1 - May 3rd, 2011 at 1:26pm

Fr. Bill   Offline
Colonel
I used to have a life;
now I have GMax!
Hammond, IN

Gender: male
Posts: 962
*****
 
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:

gauge
nn
=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.
 

Bill
... Gauge Programming - 3d Modeling Eaglesoft Development Group Intel Core 2 Quad Q6600-4GB DDR2 Crucial PC6400-800 GB SATA-ATI Radeon HD2400 Pro 256MB DX10 NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
...
IP Logged
 
Reply #2 - May 7th, 2011 at 2:56pm

pete   Offline
Admin
'That would be a network
issue'
Cloud Cuckoo Land

Posts: 8500
*****
 
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&keywords=PDToot.zip&x=24&y=10
 

Think Global. It's the world we live in.
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print