Author Topic: Airport cache problem  (Read 2140 times)

audric225

  • Newbie
  • *
  • Posts: 1
Airport cache problem
« on: February 14, 2018, 05:24:44 pm »
Hello,

my problem is, i 'am making the airport cache regeneration (it take 5-7 sec normal? ) and when its completed, i don't have the correct parking position proposed when i press CTRL+MAJ+F12
i have a payware senery. Normaly if i make a regeneration i would be ok no?

Thanks

Audric225

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51443
    • VIRTUALI Sagl
Re: Airport cache problem
« Reply #1 on: February 16, 2018, 12:31:10 am »
5-7 seconds it's quite good and entirely normal if you don't have an ungodly large amount of scenery installed.

The cache regeneration, however, is not something you are supposed to start manually, because normally GSX will automatically detect a change in the Scenery Library. The only time you will probably need it, it's if you removed/renamed an AFCAD file in an existing scenery, rather than installing/removing a whole scenery, because in order to speed up the cache regeneration, GSX will not check each file one by one, but it's only checking the folder last modification date, and this doesn't change if you only remove/rename a file.

That's what the manual cache regeneration option does. It won't automatically let GSX magically find the AFCAD you would like to use, because the choice of the AFCAD file it's driven by the same logic of the sim itself: the one with the highest priority for any given airport will be used so, be sure you scenery has an higher priority than anything else that might conflict with it.

By checking the GSX parking customization page, you will see the name of the AFCAD in use by GSX, which might give you an idea why the correct one hasn't been selected.

chumley

  • Jr. Member
  • **
  • Posts: 66
Re: Airport cache problem
« Reply #2 on: February 16, 2018, 03:31:21 am »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51443
    • VIRTUALI Sagl
Re: Airport cache problem
« Reply #3 on: February 17, 2018, 11:38:23 pm »
It could, and if you check the Couatl.log immediately after regenerating the cache, it will surely tell you if some files where discarded because they were too big compared to what airport files *usually* are.

This is of course also done to speed up the cache regeneration, by skipping all large files, instead of checking them all, one by one, hoping to find airports there.