Page 1 of 1

.cab files

PostPosted: Thu Jan 05, 2006 11:56 am
by Steve_Hess
Is there a way to pull a gauge from a .cab file to make it a seperate gauge, Thanks

Re: .cab files

PostPosted: Thu Jan 05, 2006 4:16 pm
by Gypsy_Baron
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

Re: .cab files

PostPosted: Thu Jan 05, 2006 4:52 pm
by dave3cu
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

Re: .cab files

PostPosted: Thu Jan 05, 2006 5:20 pm
by Gypsy_Baron
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