Alpha India Group

Alpha India Group => AIG AI Manager => AIG Software => AIM - Suggestions => Topic started by: Tino on July 24, 2019, 06:02:41 AM

Title: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 06:02:41 AM
Good evening all,

I had a suggestion regarding the ui_type fields on each repaint, as well as the "atc_model" under the general section of each ai aircraft cfg. Currently, these values can vary and and not accurate with real world ICAO codes.

For example, for the AIM CRJ200, the "atc_model" is listed as CRJ200, When it should be listed as "CRJ2". This helps ensure all aircraft codes are corresponding with ICAO types.

[General]
atc_type=Canadair
atc_model=CRJ200

As for each repaint, the "atc_model" aircraft code should be the same in the "ui_type" line. So If a repaint were to be installed, each one follows the correct code.

Here is an example of one airline installed for AIM CRJ2:

[fltsim.0]
title=AIGAIM_Yamal Airlines Bombardier CRJ-200
sim=AIM CRJ-200
model=
texture=LLM-Yamal Airlines
atc_airline=YAMAL
atc_parking_types=GATE
atc_parking_codes=LLM
ui_type=Bombardier CRJ-200
description=AIM_CRJ-200(p3dv4)

The ui_type field is listed as "Bombardier CRJ-200". I know this is set initially by the painter. Even if it can't be fixed, is there a way to allow us to change this within AI Manager?

Thanks for your time.
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 06:07:27 AM
I forgot to add:

I tried changing it manually as a test, to see if it would overwrite my edits. Here's is what I did:

I opened the FSPXAI B777-300ER CFG, and replaced the "ui_type" to "B77W".

I went to open AI Manager and uninstall a flightplan that uses that aircraft. In this case, I chose Air Canada.

I Uninstalled it, along with the repaints and flightsim entries. Upon trying to re-install, AI Manager froze and deleted everything and reset all folder back to default without warning. I am now having to re-download all packages again.

I'm most likely doing it very wrong by doing it that way, hence why I wanted to suggest this feature (if it's there already, I apologize for my ignorance).

Thank you.
Title: Re: AI Aircraft CFG Suggestion
Post by: johanfrc on July 24, 2019, 08:20:20 AM
There is a great program, AI Aircraft Editor.net that allows you to change the ui_type for each aircraft.cfg in one go.

Being a painter for quite some time now I know that there have been multiple attempts to try to streamline these different lines. But not successfully at all. It's always ended up that the repainter does whAt he have always done; keeping it as before.

But this is the first time I've heard that ui_type and atc_model is connected. I have never had any problems. But okay. I'm not listening to ATC that much anymore.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 08:24:06 AM
AIM is supporting all keys for a lftsim entry, unless it has been installed with OCI. All OCI paints are installed with a very basic fltsims to reduce the filesize.

We will add the atcmodel tonour database so the general sections will be updates. The UI Model is used for UIStuff so we decided to keep the longname in there for better reading.

What die you mein with reset folders, tue OCI folders?
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 02:23:10 PM
Quote from: johanfrc on July 24, 2019, 08:20:20 AM
There is a great program, AI Aircraft Editor.net that allows you to change the ui_type for each aircraft.cfg in one go.

Being a painter for quite some time now I know that there have been multiple attempts to try to streamline these different lines. But not successfully at all. It's always ended up that the repainter does whAt he have always done; keeping it as before.

But this is the first time I've heard that ui_type and atc_model is connected. I have never had any problems. But okay. I'm not listening to ATC that much anymore.

This is more for programs that search for the ICAO code for each repaint. I don't listen to ATC either.
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 02:29:42 PM
Quote from: Kaiii3 on July 24, 2019, 08:24:06 AM
AIM is supporting all keys for a lftsim entry, unless it has been installed with OCI. All OCI paints are installed with a very basic fltsims to reduce the filesize.

We will add the atcmodel tonour database so the general sections will be updates. The UI Model is used for UIStuff so we decided to keep the longname in there for better reading.

What die you mein with reset folders, tue OCI folders?

Thanks Kai,

Not sure what happen but, All repaints, flightplans, scripts, textures, effects were deleted from the AIGAIM - OCI folder out of nowhere. I am currently re-downloading everything again.

Follow the steps I mentioned above and I bet it will happen. (Save your whole AIGAIM - OCI directory though!)

Go into your FSP B77W folder, change ui_Type to B77W. Save. Open OCI and uninstall the Air Canada flight plan with it's repaints. Go install Air Canada again, boom. Freezes and prompts me to setup OCI again (As it does when you initially install the program. It asks for P3D directory, setup imagetool.exe, etc).

Sorry If it's hard to understand. I can try making a video of it.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 02:54:05 PM
we will run some tests on our test-systems.

BTW: why did you change something in the OCI direcory? There is a big information to not change anything in that directory ;)
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 03:28:34 PM
Quote from: Kaiii3 on July 24, 2019, 02:54:05 PM
we will run some tests on our test-systems.

BTW: why did you change something in the OCI direcory? There is a big information to not change anything in that directory ;)

Was trying to correct the ui_type and Aircraft_types as mentioned above. I know nothing should be changed in that directory. I was doing it as a test. Just thought I'd let you know.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 03:29:51 PM
i am still not sure why you wanted to change the ui_type? As said it is only for user-interfaces, any tool relaying on it for ICAO codes is using it wrong, the ICAO is only used in the atc_model of the general section ::confused::
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 05:17:13 PM
Quote from: Kaiii3 on July 24, 2019, 03:29:51 PM
i am still not sure why you wanted to change the ui_type? As said it is only for user-interfaces, any tool relaying on it for ICAO codes is using it wrong, the ICAO is only used in the atc_model of the general section ::confused::

I didn't know that. I thought it would depend on each repaint or (ui_type). So I guess just changing the atc_model is all that's needed.

Is there a way to change the atc_model within OCI? I would like to use both OCI and PSX from the same folder. Since I install my own custom repaints\flightplans as well. I switch between ai flightplans and PSX on occasion. PSX requires the correct atc_model to be listed. (ex. The FSP B777-300ER is listed as B773, which is incorrect. Should be B77W. The B773 is the non-er version of the 300). There are a couple of other aircraft that need to be changed as well. (CRJ's, ERJ's, etc).

Sorry if this is an unrealistic suggestion. I just wanted to know if there was a way to change these values without affecting OCI at all.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 05:19:07 PM
we will update our database to have the correct values, so far we just use the values provided by the model developer. If you can provide us with all mismatches we can upload this database update within the next days :)
Title: Re: AI Aircraft CFG Suggestion
Post by: johanfrc on July 24, 2019, 05:24:03 PM
From what I know the ui_type is only for one thing:
From the SDK for P3D:
"ui_type: This value identifies the type sub-category used to group aircraft in the Select Vehicle dialog in Prepar3D."

"atc_model: This is the specific aircraft model that the ATC system recognizes for this type of aircraft."

So they don't have any connection at all.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 05:40:26 PM
Quote from: johanfrc on July 24, 2019, 05:24:03 PM
From what I know the ui_type is only for one thing:
From the SDK for P3D:
"ui_type: This value identifies the type sub-category used to group aircraft in the Select Vehicle dialog in Prepar3D."

"atc_model: This is the specific aircraft model that the ATC system recognizes for this type of aircraft."

So they don't have any connection at all.

thats true, UI_Type is also used for the View-Menu of the AI Aircrafts
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 05:41:18 PM
Quote from: Kaiii3 on July 24, 2019, 05:19:07 PM
we will update our database to have the correct values, so far we just use the values provided by the model developer. If you can provide us with all mismatches we can upload this database update within the next days :)

That is awesome, thanks very much Kai! I will post all the mismatches with corrected values shortly.

Cheers!
Title: Re: AI Aircraft CFG Suggestion
Post by: johanfrc on July 24, 2019, 05:47:07 PM
I guess that will be a huge work to find all. But it's worth it.

Thankfully it's quite easy to find the correct ICAO codes for the different aircraft types:
https://www.icao.int/publications/DOC8643/Pages/Search.aspx
Title: Re: AI Aircraft CFG Suggestion
Post by: Nils on July 24, 2019, 05:54:08 PM
I'm not too sure whether it would be correct to add Aircraft ICAO codes to the atc_model line.
Isn't it used as information on how the ATC calls different aircraft types in game?
For example something like this: "Report Airbus A320" in sight". (This would be if the atc_model line reads "A320")
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 06:05:19 PM
yes this string is used by the internal ATC to identify the "voice" it should play
Title: Re: AI Aircraft CFG Suggestion
Post by: sharklet_a319 on July 24, 2019, 07:06:27 PM
The important thing is the Identifyer matches the one in Editvoice (it's not necessarily the ICAO code but it's common)

IIRC there are for example "A332" and "A333" but both will read as "Airbus A330" in ATC.
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 07:41:25 PM
I went through all Aircraft Folders in AIGAIM simobjects directory and noted all incorrect ICAO Codes. Keep in mind, I'm not asking to change everything if it will causes issues for other programs, but a way to have the option would be nice.

Corrections for atc_model ICAO:

AIGAIM_AIA_B717-200
Current atc_model ICAO: 717
Corrected atc_model ICAO: B712

AIGAIM_AIA_B737-MAX8
Current atc_model ICAO: B738
Corrected atc_model ICAO: B38M

AIGAIM_AIA_F-70
Current atc_model ICAO: F 70
Corrected atc_model ICAO: F70

AIGAIM_AIA_F-100
Current atc_model ICAO: F 100
Corrected atc_model ICAO: F100

AIGAIM_AIA_MD-82
Current atc_model ICAO: MD80
Corrected atc_model ICAO: MD82

AIGAIM_AIA_MD-83
Current atc_model ICAO: MD80
Corrected atc_model ICAO: MD83

AIGAIM_AIA_MD-88
Current atc_model ICAO: MD80
Corrected atc_model ICAO: MD88

AIGAIM_AIG_CRJ-900
Current atc_model ICAO: CARJ
Corrected atc_model ICAO: CRJ9

AIGAIM_D328-300_Jet
Current atc_model ICAO: D328 JET
Corrected atc_model ICAO: D328

AIGAIM_AIM_CRJ-100
Current atc_model ICAO: CRJ200
Corrected atc_model ICAO: CRJ1

AIGAIM_AIM_CRJ-200
Current atc_model ICAO: CRJ200
Corrected atc_model ICAO: CRJ2

AIGAIM_AIM_ERJ-135
Current atc_model ICAO: ERJ 135
Corrected atc_model ICAO: E135

AIGAIM_AIM_ERJ-140
Current atc_model ICAO: ERJ 140
Corrected atc_model ICAO: E135

AIGAIM_AIM_ERJ-145
Current atc_model ICAO: ERJ 145
Corrected atc_model ICAO: E145

AIGAIM_AIM_ERJ-145XR
Current atc_model ICAO: ERJ 145
Corrected atc_model ICAO: E145

AIGAIM_DJC_JS-41
Current atc_model ICAO: Jetstream 41
Corrected atc_model ICAO: JS41

AIGAIM_DWAI_CV-580
Current atc_model ICAO: CV58
Corrected atc_model ICAO: CVLT

AIGAIM_FAIB_A320-200neo_CFM
Current atc_model ICAO: A320
Corrected atc_model ICAO: A20N

AIGAIM_FAIB_A320-200neo_PW
Current atc_model ICAO: A320
Corrected atc_model ICAO: A20N

AIGAIM_FAIB_A321-200neo_CFM
Current atc_model ICAO: A321
Corrected atc_model ICAO: A21N

AIGAIM_FAIB_A321-200neo_PW
Current atc_model ICAO: A321
Corrected atc_model ICAO: A21N

AIGAIM_FM_Avro-RJ85
Current atc_model ICAO: BA46
Corrected atc_model ICAO: RJ85

AIGAIM_FM_Avro-RJ100
Current atc_model ICAO: BA46
Corrected atc_model ICAO: RJ1H

AIGAIM_FM_BAe146-200
Current atc_model ICAO: BA46
Corrected atc_model ICAO: B462

AIGAIM_FM_BAe146-300
Current atc_model ICAO: BA46
Corrected atc_model ICAO: B463

AIGAIM_FSP_A350-1000
Current atc_model ICAO: A359
Corrected atc_model ICAO: A35K

AIGAIM_FSP_A380-800_EA
Current atc_model ICAO: A380
Corrected atc_model ICAO: A388

AIGAIM_FSP_A380-800_RR
Current atc_model ICAO: A380
Corrected atc_model ICAO: A388

AIGAIM_FSP_B777-200F
Current atc_model ICAO: B772
Corrected atc_model ICAO: B77L

AIGAIM_FSP_B777-200LR
Current atc_model ICAO: B772
Corrected atc_model ICAO: B77L

AIGAIM_FSP_B777-300ER
Current atc_model ICAO: B773
Corrected atc_model ICAO: B77W

AIGAIM_HTAI_BN-2_Islander
Current atc_model ICAO: BN2
Corrected atc_model ICAO: BN2P

AIGAIM_HTAI_C208B_GrandCaravan
Current atc_model ICAO: Silent
Corrected atc_model ICAO: C208

AIGAIM_JBAI_Challenger604
Current atc_model ICAO: Silent
Corrected atc_model ICAO: CL60

AIGAIM_JBAI_D328-100
Current atc_model ICAO: D328 PROP
Corrected atc_model ICAO: D328

AIGAIM_JBAI_Learjet45
Current atc_model ICAO: LEARJET45
Corrected atc_model ICAO: LJ45

AIGAIM_OSP_ATR42-300
Current atc_model ICAO: AT42
Corrected atc_model ICAO: AT43

AIGAIM_OSP_ATR42-300F
Current atc_model ICAO: AT42
Corrected atc_model ICAO: AT43

AIGAIM_OSP_ATR42-500
Current atc_model ICAO: AT42
Corrected atc_model ICAO: AT45

AIGAIM_OSP_ATR42-600
Current atc_model ICAO: AT42
Corrected atc_model ICAO: AT46

AIGAIM_OSP_ATR72-500
Current atc_model ICAO: AT72
Corrected atc_model ICAO: AT75

AIGAIM_OSP_ATR72-600
Current atc_model ICAO: AT72
Corrected atc_model ICAO: AT76

AIGAIM_RFSL_CRJ-700
Current atc_model ICAO: CRJ1
Corrected atc_model ICAO: CRJ7

AIGAIM_RFSL_CRJ-900
Current atc_model ICAO: CRJ1
Corrected atc_model ICAO: CRJ9

AIGAIM_RFSL_CRJ-900-OW
Current atc_model ICAO: CRJ1
Corrected atc_model ICAO: CRJ9

AIGAIM_RFSL_CRJ-1000
Current atc_model ICAO: CRJ1
Corrected atc_model ICAO: CRJX

AIGAIM_RFSL_EMB-175
Current atc_model ICAO: E175
Corrected atc_model ICAO: E75S

AIGAIM_RSFL_EMB-175v3
Current atc_model ICAO: E175
Corrected atc_model ICAO: E75S

AIGAIM_RSFL_EMB-175_NW
Current atc_model ICAO: E175
Corrected atc_model ICAO: E75L

AIGAIM_RSFL_EMB-175_NWv3
Current atc_model ICAO: E175
Corrected atc_model ICAO: E75L

AIGAIM_SBAI_CS100
Current atc_model ICAO: CS100
Corrected atc_model ICAO: BCS1

AIGAIM_SBAI_CS300
Current atc_model ICAO: CS300
Corrected atc_model ICAO: BCS3

AIGAIM_TFS_A300-600F_GE
Current atc_model ICAO: A300
Corrected atc_model ICAO: A306

AIGAIM_TFS_A300-600F_PW
Current atc_model ICAO: A300
Corrected atc_model ICAO: A306

AIGAIM_TFS_A300B4-200F_GE
Current atc_model ICAO: A300
Corrected atc_model ICAO: A30B

AIGAIM_TFS_A330-200GE
Current atc_model ICAO: A330
Corrected atc_model ICAO: A332

AIGAIM_TFS_A330-200PW
Current atc_model ICAO: A330
Corrected atc_model ICAO: A332

AIGAIM_TFS_A330-300_GE
Current atc_model ICAO: A330
Corrected atc_model ICAO: A333

AIGAIM_TFS_A330-300_PW
Current atc_model ICAO: A330
Corrected atc_model ICAO: A333

AIGAIM_TFS_A330-300_RR
Current atc_model ICAO: A330
Corrected atc_model ICAO: A333

AIGAIM_TFS_A340-300
Current atc_model ICAO: A340
Corrected atc_model ICAO: A343

AIGAIM_TFS_A340-500
Current atc_model ICAO: A340
Corrected atc_model ICAO: A345

AIGAIM_TFS_A340-600
Current atc_model ICAO: A340
Corrected atc_model ICAO: A346

AIGAIM_TFS_B777-300ER
Current atc_model ICAO: B773
Corrected atc_model ICAO: B77W

AIGAIM_TFS_Dash8-100
Current atc_model ICAO: DH8B
Corrected atc_model ICAO: DH8A

AIGAIM_TFS_S340
Current atc_model ICAO: S340
Corrected atc_model ICAO: SF34

AIGAIM_UTT_B787-9_GE
Current atc_model ICAO: B788
Corrected atc_model ICAO: B789

AIGAIM_UTT_B787-9_RR
Current atc_model ICAO: B788
Corrected atc_model ICAO: B789
Title: Re: AI Aircraft CFG Suggestion
Post by: johanfrc on July 24, 2019, 07:44:48 PM
Please that some of the models are not included in the default voice pack. I'm pretty sure that CRJ-700, CRJ-900 and especially CRJ-1000 are not. But also the 787 and other newer models. The ATC is still based on the ATC from FS2004. So unless the user have EVP and can install updates, those models will note be mentioned by the ATC.

But then again. It's great to have them.
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 07:48:10 PM
Quote from: johanfrc on July 24, 2019, 07:44:48 PM
Please that some of the models are not included in the default voice pack. I'm pretty sure that CRJ-700, CRJ-900 and especially CRJ-1000 are not. But also the 787 and other newer models. The ATC is still based on the ATC from FS2004. So unless the user have EVP and can install updates, those models will note be mentioned by the ATC.

But then again. It's great to have them.

I agree and understand that some people use programs like EVP. Just suggesting the option for those who require the correct ICAO codes. Even if I have to do it manually, I wouldn't mind. I just don't want them overwritten if I install a new flightplan via OCI. Or, have something happen to my installation. (Which happened yesterday during my initial test).

I appreciate all your inputs. I can lend a hand where possible, if needed.
Title: Re: AI Aircraft CFG Suggestion
Post by: Kaiii3 on July 24, 2019, 07:58:55 PM
I will spend some thoughts on this ::confused::
Title: Re: AI Aircraft CFG Suggestion
Post by: Tino on July 24, 2019, 09:28:23 PM
Quote from: Kaiii3 on July 24, 2019, 07:58:55 PM
I will spend some thoughts on this ::confused::

I did some more testing this afternoon. Last time, I changed both atc_model and ui_type. OCI did not like that.

I only changed atc_model as a test, to see if it would work with OCI and sure enough, it did! For some reason, I always thought you had to change both atc_model and ui_type in order for it to work. Thanks for the information on that. I am always learning!

I was able to uninstall an airline with repaints and re-install just fine, without it overwriting the atc_model section.

So, if anyone is looking to change the ICAO atc_model types, you can do it manually and OCI will not overwrite it. You will then get proper ICAO codes when using programs like PSX. This way, I can keep all my custom flightplans and OCI simobjects in one location. (Custom I mean installing manually via OCI).

Thanks for everyone's input.