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

Beta-Test AI-Aircraft Editor

saikrishna,

It looks like this one is missing at least from a plain Vista64 bit installation. I will add it to the installer. I would appreciate if you could check if AI Editor works after this file is installed or if any other component is missing.

Can you please test this? If you don't feel like looking for this component send me an email with your mail address and I will provide you with the file.

Thank you.
 
A reboot did not change anything, the program still would not edit the air file. And it was an FS9 plane I tried editing. The same plane in the FS9 folder edits just fine. After some more testing, it seems it will not change that flag on any aircraft that are not in the FS9 aircraft folder. (I tried editing a copy of a plane on my desktop.)

This is utterly strange. I can not reproduce it, nor was it ever reported before. E.g. on my machine I have the Captain Sim C-130, the Aerosoft F-16 and the Iris F-14 installed in the aircraft folder.

For all three I am able to change the AI type. For all original FSX aircraft (Airbus 321, Grumman, Boeing) I can't do it and the radio button says 'n/a'.

1. If the program can't find a model.cfg file when you open an aircraft folder it will crash with a subscript error and if you run the program again it will crash again if it still can't find the model.cfg. (The crash on opening is a bit different though, the program remains running but not really functional.) I found this out while browsing to my desktop which happened to have an aircraft.cfg file on it that I'd forgotten about. Getting the program to run again either requires fixing the cause of the problem or editing the program's path entry in the registry.

2. If it can find a model.cfg but cannot find the .mdl file it will actually create a 0 length .mdl file. It may not always erase that file either. (But sometimes it does.)

3. If the model.cfg entry already has the .mdl extension added, the program will add a second .mdl extension and will not find the actual .mdl file. (It'll be looking for a .mdl.mdl file, which as per 2 above it will create.) I've only seen one plane like this so far, Roy Chaffin's B-25J for FSX.

:eek: I need to check this today evening. Thank you for these reports.
 
I figured out what the problem was about changing the AI type. For the files I tried, I had the Indexing Service disabled. In file properties, advanced attributes, is a checkbox with the text:
For fast searching, allow Indexing Service to index this file

If that is unchecked, you can't change the AI type, presumably because the program uses the indexing service to access the file.
 
Thank you for testing this so thoroughly. What OS are you using? AI-Editor is written in VB6 and I open the air files by a plain old-school file open command.

This information will go into the documentation.
 
I'm using Windows XP Pro SP3.

Edit: Oh, and as if this couldn't get any weirder, I actually have the Indexing Service itself disabled globally. (In other words even if that box is checked, the service isn't running anyways.) Trust Microsoft to make really obscure stuff like this happen. :)
 
Last edited:
I'm using Windows XP Pro SP3.

Edit: Oh, and as if this couldn't get any weirder, I actually have the Indexing Service itself disabled globally. (In other words even if that box is checked, the service isn't running anyways.) Trust Microsoft to make really obscure stuff like this happen. :)

Edrick,

This is the release version. Please check if this is dealing with the all mdl issues you have reported.

Thank you!

Download AI-Aircraft-Editor 1.4.0
 
The atc_model and atc_type entries for the general section do not update in the aircraft.cfg when you click the update button.
Fixed.

1. If the program can't find a model.cfg file when you open an aircraft folder it will crash with a subscript error and if you run the program again it will crash again if it still can't find the model.cfg. (The crash on opening is a bit different though, the program remains running but not really functional.) I found this out while browsing to my desktop which happened to have an aircraft.cfg file on it that I'd forgotten about. Getting the program to run again either requires fixing the cause of the problem or editing the program's path entry in the registry.
Shows an error message instead of crashing. Much better.

2. If it can find a model.cfg but cannot find the .mdl file it will actually create a 0 length .mdl file. It may not always erase that file either. (But sometimes it does.)
Fixed. No more 0 length .mdl files.

3. If the model.cfg entry already has the .mdl extension added, the program will add a second .mdl extension and will not find the actual .mdl file. (It'll be looking for a .mdl.mdl file, which as per 2 above it will create.) I've only seen one plane like this so far, Roy Chaffin's B-25J for FSX.
Shows a more useful error message then it did before.

That Indexing Service error is unaffected, but is unlikely to be a major thing since someone would have to have manually disabled the indexing service for the .air file they want to edit, and it's much easier (and quicker) to disable the service globally. :)
 
Thank you for confirming the fixes :) As for the indexing thing - since there was not ever a report of this error before, it might be something special with your configuration.

But I make sure to describe it in the manual.

Again, thank you for finding these bugs just in time for the release - that is so much better than having to provide a fix.
 
saikrishna,

It looks like this one is missing at least from a plain Vista64 bit installation. I will add it to the installer. I would appreciate if you could check if AI Editor works after this file is installed or if any other component is missing.

Can you please test this? If you don't feel like looking for this component send me an email with your mail address and I will provide you with the file.

Thank you.

Hi Martin,
I downloaded and registered the .ocx file. I placed it in the C:\Windows\SysWOW64 folder as it gave an error when I placed it in the C:\Windows\System32 folder. When I tried to run AI Editor, a new error came up. Now, it said that "COMDLG32.OCX" was missing. Can you send me the .ocx file if you have it?
 
saikrishna,

I have send you a mail with three controls we have now identified as candidates that might be missing on some machines. I would appreciate if you could verify that now all needed controls are there. Thank you :)
 
Hi Martin,
I registered the COMDLG32.OCX file first. When I opened AI Editor, it opened with no errors. I checked to make sure no more components were required by doing various functions with it, and no error came up. Thanks for sending the 2 files.:D
 
Very well, saikrishna :)

You might want to check if you get an error when opening the parking code dialog (with the exclamation mark button) because here I make the connection to the database.

If this works, the we have all components.
 
Hi Martin,
Sorry for the delay.

Yes, I was able to view the parking codes list and insert them by clicking on them without any error and without the other 2 controls. Thank you so much for providing the .ocx files:D
 
Back
Top