• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Tweaking the aircraft "Cab" file

falcon409

Moderator
Staff member
Mike (mmann) had an excellent idea. . . . .making a new thread where folks can list aircraft cab files that can be tweaked to enable faster load times. This is it. . . .thanks Mike!!:salute:

How to creat the cab file:

1. Extract the gauge CAB into a folder with the same name as the CAB file.
2. Place the folder created in step 1 in the same location as your Cabdir.exe file.
3. Drag that same folder and drop it on the Cabdir.exe file which should then create a CAB file with the same name
as the original one.
 
This has been one of the best 'tweeks' for a long while, thanks for the guidance Mike. Please make as a sticky.
 
To get this thread started in the right direction and present what I think is an appropriate format, I suggest that the following aircraft requires it's gauge CAB file to be redone:

Seabird Seeker SB7L by Darrel Woodhouse

Note that at the moment this is the only aircraft I have installed on my system that isn't default FSX. When I first discovered that some aircraft had problems with their gauge CAB files I had mentioned this at FSDeveloper but I received absolutely no response. At the time I figured that this was because everyone but me (and the aircraft developers who were not creating their gauges CABs properly) knew about this problem. Now after all this time I think the reason was because the people on FSDeveloper were mainly only using FSX to check what they were developing and not using it any longer as a Flight Simulator.

Unfortunately, I have to admit that I too only use FSX as a developer's tool now. I have never flown the Seabird Seeker; in fact I did not even taxi the aircraft, I only installed it to check whether the gauges CAB was the problem so I could present a solution for others. So for all you people that still enjoy FSX as a Flight Simulator; please check out some of your slow loading aircraft and post here if changing the gauges CAB will solve this problem.

Neil, I think you had listed a couple of aircraft in the other thread. Do you think that you could post them on this thread to keep it all in one place?
 
Mike

I notice in the other thread you mention extracting the cab file and then recompressing it using the FSX cabdir. Why bother recompressing it?

As I understand it all cabdir does is compress the data. So you save a bit of HD space but at the expense of needing FSX to extract the cab file into memory.

I remember the old Abacus Flight Deck F18 for FS9 had a lot of cab files and would take forever to load the aircraft. I extracted the cab files and the aircraft loaded in a fraction of the time it used to.
 
I think Mike mentioned that the only reason to re-compress would be to save HDD space, otherwise, as you say, you could certainly just leave them uncompressed in folders.:salute:
 
Notice too in the other thread that Pam mentioned having over 2000 aircraft folders. Can you imagine the number of files she would have and the extra space they would require if all those aircraft didn't use CAB files! By using the Microsoft cabdir you are in essence having your cake and eating it too. You gain the space that is gained by using a CAB file in the first place; and you also retain the speed that you would have if you had all your gauges sitting in a folder.
 
Hi guys,
i would like to know if, in your experience, the long time problem comes from every .cab file or just from some specific ones; then let's say it comes from just one aircraft among the others in my airplanes folder, and I remove its own folder from the airplanes one, to place it in my "hangar" folder on an external drive since i do not want to use it for a while, this way leaving its gauges , effects and so on in FSX, will I still suffer the problem or not?
 
I have over 1100 aircraft and just accept that FSX will take a long time to load :rolleyes:
I have around 12 or 13 DVD's with nothing but aircraft on them. I used to have everything in the Airplane folder, but now I keep maybe 10 at a time. If I see an upcoming need for a particular type of airplane, then I load it. Every week or so I look at what I've accumulated in the Airplane folder and chop it back down to the now normal number of 10 airplanes. . . .none of those are default FSX by the way.
 
I have over 1100 aircraft and just accept that FSX will take a long time to load :rolleyes:

It's not the loading of the aircraft menu when you click on Free Flight, it's the loading of the aircraft into the spinner after you have chosen it. Some aircraft takes ages to appear, those that do can be sped up by extracting the gauges CAB file (that is in the panel folder) for the aircraft and repacking it using the SDK cabdir.exe

For me it has improved the loading times from 1minute to 1 second for the following aircraft (all of which are FS9/FSX)

Dave Maltby's De Havilland Comet, BAC 1-11 and Trident.

When I find another that takes time to appear I will do the same thing again. If the CAB file isn't in the panel folder I will locate it in the gauges folder and try that.
 
If the CAB file isn't in the panel folder I will locate it in the gauges folder and try that.

This is a very important point that you have mentioned! Also note that some aircraft will have more than one gauge CAB file so that you will probably find you have to redo all of them.

I think I should state that I prefer that the main FSX gauges folder only contain files that are referenced by more than one panel.cfg file. If you have an aircraft that resides in a single folder in the SimObjects\Airplanes folder, than the gauges CAB(s) exclusive to that aircraft should preferably be placed in that aircraft's panel folder. Please leave all the FSX default aircraft gauge CAB files where they were installed by FSX, many 3rd party aircraft reference them!
 
I've used this with success on the following portover aircraft in FSX:

DM's Comet, 1-11 & Trident
RP's 748

On one of them, the recompressed file was exactly the same size as the original, but the load time of the a/c fractioned :jump:
 
I'll leave it unstickied for now and when the topic slows I'll stickie it in the FsX Tweaks forum which is where it really belongs, if you're happy with that Mike and Ed?
 
On one of them, the recompressed file was exactly the same size as the original, but the load time of the a/c fractioned :jump:

This is interesting! In all the CAB files I have had to redo, they always were a different size. If the file was the same size I tried it anyway, just in case, but in this situation I had never noticed a difference in load time. So I guess we can safely say now; don't assume anything. If an aircraft is taking much too long to load, try a recompress of the CAB files and try them out regardless of whether there is a difference in size compared to the original or not.
 
I'll leave it unstickied for now and when the topic slows I'll stickie it in the FsX Tweaks forum which is where it really belongs, if you're happy with that Mike and Ed?

That sounds like an excellent idea to me.
 
From a fresh install standpoint, and as an ongoing test (norm) I plan on decompressing all the gauge .cab files into folders, as space is not an issue currently.
 
I find it convenient to leave the cabs decompressed, as you cannot modify the xml or bmps while it is compressed if you need to fix or change something. And I always want to fix or change something :)

Dave
 
Back
Top