.cab files

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

.cab files

Postby Steve_Hess » Thu Jan 05, 2006 11:56 am

Is there a way to pull a gauge from a .cab file to make it a seperate gauge, Thanks
Steve_Hess
 

Re: .cab files

Postby Gypsy_Baron » Thu Jan 05, 2006 4:16 pm

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
Image
User avatar
Gypsy_Baron
1st Lieutenant
1st Lieutenant
 
Posts: 467
Joined: Tue Oct 05, 2004 6:33 pm
Location: Daly City, California

Re: .cab files

Postby dave3cu » Thu Jan 05, 2006 4:52 pm

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
Last edited by dave3cu on Thu Jan 05, 2006 5:19 pm, edited 1 time in total.
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.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: .cab files

Postby Gypsy_Baron » Thu Jan 05, 2006 5:20 pm

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
Image
User avatar
Gypsy_Baron
1st Lieutenant
1st Lieutenant
 
Posts: 467
Joined: Tue Oct 05, 2004 6:33 pm
Location: Daly City, California


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 259 guests