• 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.

Old problem with Airport (which I can now demonstrate)

Angelus1971

Resource contributor
Messages
195
Country
scotland
Hi Don

Remember ages ago I was reporting a problem with the program not picking up all the airports in my sim but you cold never replicate it, well I am still having the problem when I select use the Find/Collect Airports option EXCEPT I have found 1 scenario that works.

If I include stock airports and/or add-ons when using directory tree function then not all my add-on airports are collected. It does not show ANY of my add-on airports.

However, when I select the directory Scenery Library option then ALL of my airports are read.

i.e. I get more airports with this option.

What seems to be happening it the FSX\Scenery\Cities\sub-dirs are not being collected unless I use the above selection method. (I have numerous add-ons under the FSX\Scenery\Cities folder).

I wish I could have found that out a few iterations ago but I can now reproduce the error and remedy now.

Hope this allows you to track down the bug.


There is also a bug when changing the option from P3Dv2 back to any other version before compilation. It does not change the output directory to the saved option until you press the compile button which is a bit useless if you change you mind and go back to your first choice. Maybe it could change the directory on radio button choice instead of the compile button please?
 
Last edited:
I transferred on of my add-on airports into the Cities folder and the Cllect Airports routine found it - when I selected the Cities folder in the directory tree. (I assume you did the same.) While saving add-in airports in the Cities folder seems a bit unusual, there's nothing in AIFP to prevent them from being found - so long as you tell AIFP to look there.

Please tell me the exact folder configuration of your add-on airports in your Cities folder . A couple of screenshots might be helpful.

Regarding your second point, changing the Compile for radio-buttons on the compiler dialog does not change the destination folder on the compiler dialog - nor does pressing the Compile button. That entry is yours. AIFP has no basis on which to change it automatically when you select a different target version. If you are referring to different controls, please be specific as to which ones you are referring to and give me a sequence of steps to duplicate the issue.

Don
 
upload_2014-7-26_21-23-51.png


The above is the first directory in the Cities folder - same format as FSX.

If I collect the airports the first time by selecting the FSX check box and leaving the defaults (all folders needing ticked are)
upload_2014-7-26_21-32-31.png


then I get

upload_2014-7-26_21-32-56.png


If I immediately press the collect button again, no other buttons pressed or options changed then I get this

upload_2014-7-26_21-34-19.png


As for the directory change - I have just discovered the correct key presses to get the Dirs to change.

Press the FSX radio button, then select, then the continue button on the next box and the Traffic file location directory change to FSX, do the same for P3Dv2 ad it changes to the P3Dv2 scenery directory. Nice touch but could it be done to change on the radio button select instead of the extra step and extra box???

Notice the additional airports. The 2nd one is correct. It has now added my extra and changed airports - I know this because it has removed the defaults airports and replaced them with my edits.
 
leaving the defaults (all folders needing ticked are)
What defaults? Did you tick Aberdeen or Cities or Scenery (either one)?

If I immediately press the collect button again, no other buttons pressed or options changed then I get this
I am unable to duplicate this behavior. When I click Collect airports a second time without changing any parameters, I get exactly the same result as the first time.

Press the FSX radio button, then select, then the continue button on the next box and the Traffic file location directory change to FSX, do the same for P3Dv2 ad it changes to the P3Dv2 scenery directory. Nice touch but could it be done to change on the radio button select instead of the extra step and extra box???
I am still at a loss re knowing to what controls you are referring. Presumably you are focused on the Compile dialog (as before). But, select what? There is no "continue button". And I don't know what you mean by "the next box". Please specify the dialogs, the controls and the contents or, send some screenshots.
Notice the additional airports
Presumably, you mean 24490 vs. 25453. Unfortunately, since I can't duplicate the behaviour, I can't comment on that difference.

Don
 
Angelus1971, have you found the source of your difficulty? Are you now able to collect your add-on airports?

Don
 
No, cant find the problem.

2.2.17(m) cant replicate the problem and it does not report the higher number of airports. I don't know what's up.
 
Well, if it returns, please let me know. If it does, it would also be helpful if you avoided generalities and told me precisely which controls you are using in which sequence.

Don
 
Need to ask a daft6 question.

When your program detects user changed airports like my Dyce scenery, does it use the changed airport data in the program when its calculating spots and sizes etc? I'm assuming, yes here.

The reason I ask is the Airports--> Get Information --> Select airport section seems to show all of the default airports and none of the user edits
e.g.
upload_2014-8-6_16-49-42.png


whereas the path already collected for my edited airport is
upload_2014-8-6_16-58-33.png
 
Other than for Traffic and Parking Analysis purposes, AIFP is only "interested" in the lat, lon and elevation of an airport - which is saved to AirportsList.dat at time of airport collection. Unless your add-on airport changes the stock airport's location, elevation or city/state/etc. specifications, the "Get Airport Information" displayed information will be identical to that which would result from collecting just stock data.

The purpose of the fields you have shown in your post is to display the stock data locations. I suppose it would be possible to display the add-on airport's file location instead, but to what end? If your AI are not parking per your add-on airport parking specifications, then FSX is not seeing your add-on.

Don
 
I've done a little more exploration. (Most of this code was written >5 yrs ago, so I often need to re-learn the algorithms before I can comment fully.)

The only use for the stock airport names displayed in the Airport Editor dialog and sourced from AirportsList.dat is to allow the Traffic and Parking Analyser to perform analysis on stock airports without the need for additional user input. Therefore, these items could easily be omitted from the Airport Editor dialog (but not from airportList.dat) since they never change (and there is no need to change them). But, at the time it seemed like useful information that "came for free".

Consequently, it would not be possible to replace the stock airport locations with add-on airport file , nor would there be any use for such additional information.

Don
 
Angelus1971, it just occurred to me that you are assuming add-on airports have not been collected because the displayed number of airports collected doesn't increase.

The displayed number of airports collected will only increase if an addon airports does not have a stock counterpart. AIFP maintains one and only one record in AirportList.dat for each ICAO code. Add-on airports supersede stock airports. Edited/update airports supersede both their addon and stock counterparts. So, unless one of your addon airports does not have a stock countertpart, the number of collected airports will not change.

Hope this clarifies.

Don
 
Angelus1971, I think we've finally isolated your missing airports problem. There is a bug in collect airports that stops AIFP from looking in multiple folders for airports. For example, when looking for add-on airports, if you had two or more folders at the level of flightsim\Addon Scenery, say Addon Scenery and ORBX, AIFP would not look in ORBX.

I'll have a new development release out hopefully later today. It will be 2.2.18(e). Please give it a try.

Don
 
Back
Top