Jump to content
Sign in to follow this  
netshadoe

Aircraft type fixes

Recommended Posts

Hey Nico,

Hope you and your family and friends are doing well in these crazy times!

Could I make a request/suggestion for AIL Generator?  I was wondering if the 'Aircraft Type Fixes' (listed in Section 7 of the manual) could be made into an editable xml file much like the files in the 'data' folder.

Using the AIGAIM program, there are some AI that do not have the proper ICAO codes, and they also don't match any of the auto correct values in AILG.  I edit these config files manually so that AILG can identify them correctly.

Unfortunately, when AIGAIM is updated, the aircraft types are reset to original values, thus requiring editing the cfg files again.

With an xml file, users could edit the list that AILG uses to autocorrect the ICAO aircraft types.

Thanks for considering.

Devin


Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites

Sound like a good idea, thx

Share this post


Link to post
Share on other sites

Hi Devin,

It is available in version 9.1. 

Be aware that if you have made changes to the fixes.xml file you should make a copy otherwise it will be overwritten by the next version of AIL.

Regards,

Nico

Share this post


Link to post
Share on other sites

Wow!  That was quick Nico!

So, I've been working with the new fixes.xml, and I think I'm doing something wrong, but I can't figure it out.

I needed to correct the following codes from the AIGAIM-OCI package:

Spoiler

A221    BCS1
A223    BCS3
AN124    A124
AN148    A148
AN74    AN72
CL87    CRJ7
E17L    E75L
E17S    E75S
H400    BE40
H750    H25B
H800    H25B
H850    H25B
H900    H25B
MD10    DC10
METRO    SW4
YAK40    YK40
YAK42    YK42

Here is my fixes.xml (with the new entries, so you can incorporate them with your program if you'd like)  🙂

Spoiler

<?xml version="1.0"?>
<meta>
    <info name="author" value="AILGenerator" />
    <info name="version" value="9.0" />
    <info name="date" value="Jan 13, 2021" />
</meta>
<fixes>
    <fix wrong="154" correct="T154" />
    <fix wrong="212" correct="B212" />
    <fix wrong="328" correct="D328" />
    <fix wrong="717" correct="B712" />
    <fix wrong="A221" correct="BCS1" />
    <fix wrong="A223" correct="BCS3" />
    <fix wrong="A36 Bonanza" correct="BE36" />
    <fix wrong="A36Bonanza" correct="BE36" />
    <fix wrong="A380" correct="A388" />
    <fix wrong="AS350" correct="AS50" />
    <fix wrong="ATR42" correct="AT43" />
    <fix wrong="ATR72" correct="AT72" />
    <fix wrong="AN124" correct="A124" />
    <fix wrong="AN148" correct="A148" />
    <fix wrong="AN74" correct="AN72" />
    <fix wrong="An-124" correct="A124" />
    <fix wrong="An-74" correct="A743" />
    <fix wrong="An12" correct="AN12" />
    <fix wrong="An24" correct="AN24" />
    <fix wrong="An26" correct="AN26" />
    <fix wrong="An30" correct="AN30" />
    <fix wrong="An32" correct="AN32" />
    <fix wrong="B717" correct="B712" />
    <fix wrong="B748" correct="A748" />
    <fix wrong="B74SP" correct="B74S" />
    <fix wrong="B787" correct="B788" />
    <fix wrong="C-160" correct="C160" />
    <fix wrong="CARJ 1000" correct="CRJX" />
    <fix wrong="CARJ 200" correct="CRJ2" />
    <fix wrong="CARJ 700" correct="CRJ7" />
    <fix wrong="CARJ 900" correct="CRJ9" />
    <fix wrong="CARJ1000" correct="CRJX" />
    <fix wrong="CARJ1000" correct="CRJ1" />
    <fix wrong="CARJ200" correct="CRJ2" />
    <fix wrong="CARJ700" correct="CRJ7" />
    <fix wrong="CARJ900" correct="CRJ9" />
    <fix wrong="CH47" correct="H47" />
    <fix wrong="CH53" correct="H53" />
    <fix wrong="CHALLENGER 300" correct="CL30" />
    <fix wrong="CHALLENGER 600" correct="CL60" />
    <fix wrong="CHALLENGER 850" correct="CRJ2" />
    <fix wrong="CHALLENGER300" correct="CL30" />
    <fix wrong="CHALLENGER600" correct="CL60" />
    <fix wrong="CL87" correct="CRJ7" />
    <fix wrong="CRJ200" correct="CRJ2" />
    <fix wrong="Caravelle" correct="S210" />
    <fix wrong="Concorde" correct="CONC" />
    <fix wrong="DC9-10" correct="DC91" />
    <fix wrong="DC9-30" correct="DC93" />
    <fix wrong="DC9-40" correct="DC94" />
    <fix wrong="DC9-50" correct="DC95" />
    <fix wrong="Dimona" correct="DIMO" />
    <fix wrong="E175" correct="E75L" />
    <fix wrong="E17L" correct="E75L" />
    <fix wrong="E17S" correct="E75S" />
    <fix wrong="EC135" correct="EC35" />
    <fix wrong="ERJ 135" correct="E135" />
    <fix wrong="ERJ 145" correct="E145" />
    <fix wrong="ERJ135" correct="E135" />
    <fix wrong="ERJ140" correct="E135" />
    <fix wrong="ERJ145" correct="E145" />
    <fix wrong="Eagle" correct="F15" />
    <fix wrong="F 100" correct="F100" />
    <fix wrong="F 70" correct="F70" />
    <fix wrong="Falcon 50" correct="FA50" />
    <fix wrong="Falcon50" correct="FA50" />
    <fix wrong="GULF3" correct="GLF3" />
    <fix wrong="GULF4" correct="GLF4" />
    <fix wrong="Global Express" correct="GLEX" />
    <fix wrong="Goshawk" correct="HAWK" />
    <fix wrong="Gulfstream V" correct="GLF5" />
    <fix wrong="GulfstreamV" correct="GLF5" />
    <fix wrong="H400" correct="BE40" />
    <fix wrong="H750" correct="H25B" />
    <fix wrong="H800" correct="H25B" />
    <fix wrong="H850" correct="H25B" />
    <fix wrong="H900" correct="H25B" />
    <fix wrong="HERCULES" correct="C130" />
    <fix wrong="Harrier" correct="HAR" />
    <fix wrong="Il-62" correct="IL62" />
    <fix wrong="Il-76" correct="IL76" />
    <fix wrong="Il-86" correct="IL86" />
    <fix wrong="Il-96" correct="IL96" />
    <fix wrong="J31" correct="JS31" />
    <fix wrong="J41" correct="JS41" />
    <fix wrong="KA90" correct="BE9L" />
    <fix wrong="KC10" correct="DC10" />
    <fix wrong="KC137" correct="B703" />
    <fix wrong="Katana" correct="DV20" />
    <fix wrong="L-1011" correct="L101" />
    <fix wrong="LEAR40" correct="LJ40" />
    <fix wrong="LEARJET45" correct="LJ45" />
    <fix wrong="Lance" correct="P32R" />
    <fix wrong="MB339" correct="M339" />
    <fix wrong="METRO" correct="SW4" />
    <fix wrong="MIG29" correct="MG29" />
    <fix wrong="Metro" correct="SW4" />
    <fix wrong="Metroliner" correct="SW4" />
    <fix wrong="Mirage" correct="MIRA" />
    <fix wrong="Nighthawk" correct="F117" />
    <fix wrong="Nimrod" correct="NIM" />
    <fix wrong="PA32R" correct="P32R" />
    <fix wrong="PA32T" correct="P32T" />
    <fix wrong="Phantom" correct="F4" />
    <fix wrong="RV6a" correct="RV6" />
    <fix wrong="Rafaele" correct="RFAL" />
    <fix wrong="Raptor" correct="F22" />
    <fix wrong="S2000" correct="STAR" />
    <fix wrong="SF340" correct="SF34" />
    <fix wrong="Setendard" correct="ETAR" />
    <fix wrong="Spirit" correct="B2" />
    <fix wrong="Super Dimona" correct="DIMO" />
    <fix wrong="Super Etendard" correct="ETAR" />
    <fix wrong="SuperEtendard" correct="ETAR" />
    <fix wrong="TORNADO" correct="TOR" />
    <fix wrong="TU154" correct="T154" />
    <fix wrong="TU204" correct="T204" />
    <fix wrong="Tu-134" correct="T134" />
    <fix wrong="Tu-134" correct="T134" />
    <fix wrong="Tu-154" correct="T154" />
    <fix wrong="Tu-204" correct="T204" />
    <fix wrong="Typhoon" correct="EUFI" />
    <fix wrong="Viscount" correct="VISC" />
    <fix wrong="Vulcan" correct="VULC" />
    <fix wrong="YAK40" correct="YK40" />
    <fix wrong="YAK42" correct="YK42" />
    <fix wrong="YAK-40" correct="YK40" />
    <fix wrong="Yak-40" correct="YK40" />
    <fix wrong="Yak-42" correct="YK42" />
    <fix wrong="Yak-52" correct="YK52" />
    <fix wrong="Yak52" correct="YK52" />
</fixes>
 

My issue is that some codes are corrected, but others are not.  I do restart AILG after editing the xml file.  Here is my InvalidAircraftCodes.txt

Spoiler

AN124            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_AIG_AN-124\aircraft.cfg"
AN148            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_SBAI_AN-148\aircraft.cfg"
MD10             in "N:\AIGAIM - OCI\SimObjects\AIGAIM_AIM_MD-10-10F\aircraft.cfg"
MD10             in "N:\AIGAIM - OCI\SimObjects\AIGAIM_AIM_MD-10-30F\aircraft.cfg"
METRO            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_DJC_Metroliner23\aircraft.cfg"
METRO            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_DJC_MetrolinerIII\aircraft.cfg"
METRO            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_DJC_MetrolinerII\aircraft.cfg"
YAK40            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_MSAI_Yak-40\aircraft.cfg"
YAK42            in "N:\AIGAIM - OCI\SimObjects\AIGAIM_CIS_Yak-42\aircraft.cfg"

Any ideas?

Here is my AircraftTypeFixes.txt for reference:

Spoiler

Fix: AN74 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_SBAI_AN-74\aircraft.cfg changed into AN72 in AI_liveries.xml
Fix: E17S found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_EMB-175_NWv3\aircraft.cfg changed into E75S in AI_liveries.xml
Fix: E17S found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_EMB-175_NWv2\aircraft.cfg changed into E75S in AI_liveries.xml
Fix: E17S found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_EMB-175_NW\aircraft.cfg changed into E75S in AI_liveries.xml
Fix: E17L found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_EMB-175v3\aircraft.cfg changed into E75L in AI_liveries.xml
Fix: E17L found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_EMB-175\aircraft.cfg changed into E75L in AI_liveries.xml
Fix: CL87 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_RFSL_Challenger870\aircraft.cfg changed into CRJ7 in AI_liveries.xml
Fix: H900 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_HTAI_Hawker900XP\aircraft.cfg changed into H25B in AI_liveries.xml
Fix: H850 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_HTAI_Hawker850XP\aircraft.cfg changed into H25B in AI_liveries.xml
Fix: H800 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_HTAI_Hawker800XP\aircraft.cfg changed into H25B in AI_liveries.xml
Fix: H750 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_HTAI_Hawker750\aircraft.cfg changed into H25B in AI_liveries.xml
Fix: H400 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_HTAI_Hawker400XP\aircraft.cfg changed into BE40 in AI_liveries.xml
Fix: A223 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_FSP_A220-300\aircraft.cfg changed into BCS3 in AI_liveries.xml
Fix: A221 found in N:\AIGAIM - OCI\SimObjects\AIGAIM_FSP_A220-100\aircraft.cfg changed into BCS1 in AI_liveries.xml
 

Thanks!

Devin

Edited by netshadoe
AircraftTypeFixes.txt added

Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites

Oh, and I forgot to add, there is an error in the 'types.xml'.  Near the bottom, there is a stray '  " />  ', just above the line:

<similar types="SUCO,SYCA,TIGR,UH1,UH12,ULTS,V500,W3,WASP,WESX,WG30" />


Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites
12 hours ago, netshadoe said:

Wow!  That was quick Nico!

Well we are in covid-19 lock down over here, so a lot of time at home ....that's why.

MD10 is missing in your fixes.xml, but the rest us strange. 

Will look into it tomorrow.  I go to sleep now.

Edited by kiek

Share this post


Link to post
Share on other sites

No rush mate!  I fixed that MD10 snafu.

As for COVID-19, we have restrictions, no lock down...yet.  
Numbers are climbing, but the city I live in seems to be bucking the trend, and numbers have been small for the size of population (today we only had 140 new cases in a city of 1.1 million people). We’re mostly a government town being the capital city of Canada, so a fair amount of people are working from home.

I’m an essential worker anyway (forensic scientist) so I still go into work full time. My commute times have been a breeze!  Lol!


Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites

I've found the problem. Type codes with 4 or more characters were not checked upon fixes ... A long standing bug, oops... Solved in version 9.2. Also added your AIGAIM fixes to the fixes.xml file that comes with AILG.

BTW, how do you get these nice hidden and reveal buttons in your post?

About Ottawa: My wife and I have visited Ottawa in 2010 for holidays after visiting friends from The Netherlands who lived very ruraly in between Montreal and Ottawa. We stayed at the Westin hotel for a week in a room at one of the upper floors with a nice view at the Parliament building. After that we took the train to Montreal. You had to plan that very carefully while at that time there were only 4 trains a day. We are used to intercity trains running at least every half an hour and at some connections every 10 minutes. You guys normally take the car, so I can imagine that in these covid days it is a real pleasure to drive. 

 

Share this post


Link to post
Share on other sites

Hey Nico,

Tried out 9.2!  It works awesome now!

Could I make another suggestion?  In the 'aircraft.xml', you may want to remove 'A223'. 

The AIGAIM package give the ICAO codes for the AIRBUS 200-100 and AIRBUS 200-300 as A221 and A223 respectively.  These codes are wrong since ICAO assigned codes to the aircraft before Airbus took it over.  They should be BCS1 and BCS3 respectively. (https://www.icao.int/publications/doc8643/pages/search.aspx)

If A223 is in the 'aircraft.xml', the 'fixes.xml' doesn't seem to override it, thus keeping A223 which is a small Russian ultralight aircraft of which only 4 were built.  So, with PSXT, no BCS3 aircraft will show up if a user is using AIGAIM unless some guy is out flying his ultra light!!  lol!

Removing A223 from the 'aircraft.xml' worked for me, and the chances of one of the 4 'A223' in the world popping up in PSXT is relatively nil!!  🙂

*****

The hidden reveal boxes are done with the 'eye' button at the top of the box we type in, just to the right of the "Font" dropdown box (called spoiler when you hover your mouse over it).

****

That's cool that you've been able to visit Ottawa and the area.  I'm the same as your friends, living rurally east of the city (south of a town called Rockland). 

Ottawa has a very strong Dutch link since it was the city was where Princess Juliana sheltered during the occupation of the Netherlands during WWII.  To this day, the Netherlands sends the city about 40000 tulip bulbs every year, and millions more are cultured and purchased. Those bulbs are planted all over the city and each spring the Canadian Tulip Festival is held to celebrate the strong ties between our countries.

I've also had the chance to visit the Netherlands many years ago. Business took me there for a week, and I took an extra week for myself.  I was mainly in the areas of The Hague, Eindhoven and of course Amsterdam....back in the day when KLM had a 747-400 flight between Ottawa and Amsterdam (with a stop in Halifax).  In fact, my very first flight ever was on a KLM 747-400!!  🙂

And speaking a my fondness of the Dutch, one of my top five bands I listen to is Within Temptation.  Once COVID is brought under control, I hope to fly over to see them in concert since they don't come over to North America much.  Europe is the place to go for metal/rock since the North American market has become more pop/hip hop and country music oriented.

And, no, the North American train system sucks compared to Europe.  Everyone drives!  In fact, the Highway 401 in Toronto near CYYZ is the busiest Highway in North America (18 lanes!!).  🙂

So, yes, some days it's nice to drive, other days it can be a packed mess of cars!

Edited by netshadoe

Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites

Hi Devin,

A223 removed from aircraft.xml.

Spoiler

Never heard of Within Temptation ... I must have missed it completely. I'm from the sixties generation, you know.  Genesis, Yes, Roling Stones, etc.. and Dutch bands  like Golden Earring, Shocking Blue and Cuby and the Blizzards

 

Share this post


Link to post
Share on other sites

Lol!  I’m an old rocker too...I’m a 70s generation rocker!  But there are some good newer bands. Lol!

since you linked Radar Love (great driving tune), try these two from Within Tempation to add to your driving tunes...and Sharon den Adel is really easy on the eyes!  😁

Faster

Sinead

Edited by netshadoe
Spelling error...oops

Devin Pollock
CYOW

BetaTeamB.png

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...