• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Use of Cabdir

Messages
261
Country
ireland
Hi

up until now I have simply created gauges (XML) in a folder within the Gauges folder of FS2004 and called the gauge in the panel straight from that folder.

Is there any benefit for me to cabdir them into a .cab file and call the gauges from the .cab file? Is it more efficient or faster?

I have tried it but cannot yet spot any difference - except one more step for me when I amend a gauge in the original folder.

I only use the gauges myself.

Thanks

Walter
 
If it's only for you, there's no benefit to "cab"ing your gauge's folder...
 
Actually is the opposite, there would be a small benefit in the uncabbed (folder) format as the sim wouldn't have to decompress the gauges before loading them.
Anyway it's a trivial difference.

Tom
 
Excellent news ... no need to change the habits of a lifetime.

Thanks for the information.

Walter
 
Actually is the opposite, there would be a small benefit in the uncabbed (folder) format as the sim wouldn't have to decompress the gauges before loading them.
Anyway it's a trivial difference.

Tom

Which is precisely what I indirectly stated, had you parsed the statment properly... :stirthepo

:duck:
 
isn't it better to "cab" the gauges because you avoid problems with
equal named gauges in the gauge folder?

(of course you can also avoid these problems by placing the gauges in the
panel folder)
 
Using cabdir and placing the cab file in the Gauges subdirectory also allows it to be used for other aircraft.
I'm sure you know that the default aircraft use this facility.
 
isn't it better to "cab" the gauges because you avoid problems with
equal named gauges in the gauge folder?

(of course you can also avoid these problems by placing the gauges in the
panel folder)

No, since all "gauges" remain within their own uniquely named folder! It's simply not possible to have two folders at the same hierarchy level with identical names... :cool:
 
I sit and watch and try to understand...

lets assume we have 2 cabs in gauges folder:

a.cab with x.gau included and
b.cab with x.gau (different from x.gau in a.cab)

isn't it possible to use these 2 gaus in the same panel (or in 2 different panels)?

:confused:
 
I sit and watch and try to understand...

lets assume we have 2 cabs in gauges folder:

a.cab with x.gau included and
b.cab with x.gau (different from x.gau in a.cab)

isn't it possible to use these 2 gaus in the same panel (or in 2 different panels)?

:confused:

Of course is possible. But you don't need a .cab for this, having:


a (folder) with x.xml included and
b (folder) with x.xml (different from x.xml in a (folder))

would perform the same; the sim wouldn't need to decompress the .cab at runtime and even you would have the gauges available for edition at any time.

Tom

EDIT: I am speaking of XML gauges, not .gau or .dll ones, which are handled different.
 
Last edited:
Perhaps the confusion stems from not understanding the relationship between the CAB file's name, the FOLDER's name, and the various names of the .xml gauge files in each...

1) Every CAB file has a unique name: MyGauges.CAB

2) When extracted, the CAB file's name now becomes a FOLDER name: ..\MyGauges

3) The contents of the CAB file are a collection of .xml and .bmp files in a compressed format.

4) The contents of the extracted CAB file is the same collection of .xml and .bmp files that have been uncompressed, so now they may be easily edited and the changes viewed in the sim immediately.

5) The panel.cfg entry consists of two parts: the CAB file's name followed by the .xml "gauge file" name. These two names are separated by the ! character. For example:
gauge00=MyGauges!MyGauge_1,

6) For uncabbed files, the CAB file name becomes instead the FOLDER name...

7a) When the sim searches for a specific "gauge" it looks first in the aircraft's ..\panel folder for a "FOLDER" name, then looks for a "CAB" name.

7b) If it isn't found there, then the sim looks in the main ..\Gauges folder for a "FOLDER" name, then finally looks for a "CAB" name.

8) If both a "FOLDER" and "CAB" name are found, precedence defaults to the "FOLDER" name.

9) Once a "FOLDER" or "CAB" name is found, then the sim looks for the specified "Gauge" name.


It really is just that simple!
 
thanks, for explaining it...

as I am an old "fs9er", I did not realize that now most gauges are "xml" stile.

(most of my gauges are "gau")

Then you are already familiar with the gauge entry ! character if you've ever used a multi-gauge (collection of C gauges in a single "main gauge")...
 
Back
Top