Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
.cab files (Read 208 times)
Jan 5th, 2006 at 11:56am
Steve_Hess   Ex Member

 
Is there a way to pull a gauge from a .cab file to make it a seperate gauge, Thanks
 
IP Logged
 
Reply #1 - Jan 5th, 2006 at 4:16pm

Gypsy_Baron   Offline
Colonel
USS Dewey DGL-14 &  VX-8
Daly City, California

Gender: male
Posts: 467
*****
 
Quote:
Is there a way to pull a gauge from a .cab file to make it a seperate gauge, Thanks



Yes. Simply unzip the cab file to a temp folder, then find
the gauge xml file that you want to isolate.
Move it to a new folder of your choice. Opewn the xml gauge file
with Notepad and find all references to any BMP files that are needed.

Find those BMP files in the unziped cab folder and copy them
into your new folder along with the xml gauge file.

You can now refer to that gauge by:

gaugexx=folder-name!gauge-name, X, Y, x, y

The folder should be either in yout main gauge folder
or in the panel folder that you are using it on.

You could also re-cab that folder and refer to it in the
same way as above.

One possible "gotcha" would be if the gauge relied on
some "Lvar" that is modified by some other gauge in the
original CAB package.  inspection of the XML code should
tell you if you might have a problem in that area.

     Paul
 

...
IP Logged
 
Reply #2 - Jan 5th, 2006 at 4:52pm

dave3cu   Offline
Colonel
Procrastinate now, don't
put it off.
3CU, Northern Wisconsin, USA

Gender: male
Posts: 3077
*****
 
Yes......but why?

Are you refering to the use of a single (.xml)gauge from one of the 'segregated' gauge .cab files in another a/c panel? ( Example; the Douglas_DC3.cab gauge file located in the DC3's \panel\ folder)

In that case simply copy or move the Douglas_DC3.cab file to the ....\gauges\ folder and any of the gauges can be called by any panel.cfg.

Cheers,
Dave




 

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.          Igor Sikorsky

I intend to live forever....so far, so good.         Steven Wright

You know....you can just rip up a to-do list.
IP Logged
 
Reply #3 - Jan 5th, 2006 at 5:20pm

Gypsy_Baron   Offline
Colonel
USS Dewey DGL-14 &  VX-8
Daly City, California

Gender: male
Posts: 467
*****
 
Quote:
Yes......but why?

Are you refering to the use of a single (.xml)gauge from one of the 'segregated' gauge .cab files in another a/c panel? ( Example; the Douglas_DC3.cab gauge file located in the DC3's \panel\ folder)

In that case simply copy or move the Douglas_DC3.cab file to the ....\gauges\ folder and any of the gauges can be called by any panel.cfg.

Cheers,
Dave






The most obvious reason would be to "customize" the gauge for
another panel for your own use...

     Paul

 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print