Egbert Drenth

AI2UTL Injector - Public Beta

Recommended Posts

Hi,

I have decided to release "AI2UTL Injector" as a public beta.
It has been tested in a small group, but I don't want it to release it as RTM version yet.

ai2utl.png

AI2UTL is a tool with which you automagically can replace Ultimate Traffic Live repaints with FLAi repaints and/or individual repaints of Alpha-India, WoA, etc.
During the replacement process the aircraft model is validated/checked for usage in P3D V4 (MDLX & PV20 models)

For your own pleasure (and mine), please read the whole manual, since AI2UTL will not run out-of-the-box.
To state the obvious: You need a copy of Flight1 Ultimate Traffic Live (pay-ware)

You can get it here:
Microsoft OneDrive

Any remarks about issues etc, ventilate here please.

For more information:

 

 

 

 

  • Like 8
  • Upvote 1

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

Thanks a lot, Egbert, looking forward to trying this. From what I learned, this will be a highly appreciated tool. As I said, F1 (of rather the UTL developer) should pay you royalties...

Kind regards, Michael

Share this post


Link to post

Thank you for releasing this Public Beta. I just made a quick test. First, I got through the manual. If you provide the source doc I may try to correct some minor typos. Then, I edited the dhq.ai2utl.settings.json. The content didn't look like the default one described in the manual. Finally, I get inspired by a screen shot in the manual and set modification according to my setup... and launched it (forget several times the // ;)) And it worked great ! I only have FLAi installed. Here are some changes in my sim. Thank you again.

1542475987-2018-11-17-18-30-11-286.jpg
Transavia and EasyJet at Nantes (LFRS, France)

1542475990-2018-11-17-18-28-13-436.jpg

Transavia and EasyJet at Nantes (LFRS, France)

1542476186-2018-11-17-18-34-23-238.jpg

American and Virgin America at San Francisco

1542476191-2018-11-17-18-33-25-679.jpg

United at San Francisco

1542476353-2018-11-17-18-36-51-345.jpg

The Air France A380 at San Francisco

1542476625-2018-11-17-18-41-28-719.jpg

Some A380 at Los Angeles

1542476801-2018-11-17-18-45-22-458.jpg

Some static and UTL/FLai aircrafts at San Diego

1542476835-2018-11-17-18-44-42-773.jpg

You know you're in south California 😉

Edited by vbazillio
  • Like 1

Share this post


Link to post

Hello Egbert,

Thanks for releasing this tool as public beta.

My first test looks really promising.

Share this post


Link to post
44 minutes ago, vbazillio said:

Transavia and EasyJet at Nantes (LFRS, France)

1542475990-2018-11-17-18-28-13-436.jpg&k

Can you verify in the log file that the Transavia model has been replaced?
It looks like an old repaint, I think FLAi contains a new livery (not sure though)
In the dhq.ai2utl.log.txt file, search for "Carrier: TRA"

Share this post


Link to post

Excellent idea! Thanks so very much!

 

Share this post


Link to post

Great work mate - UTL needs as much ongoing support as it can given we're not going to get any from the official developer. 

 

Share this post


Link to post

Thank you for share this work, for better and easy implementation I would create two or three field with a puch button to choose the UTLand FLAI folder to eliminate the editing of jason file for noob people.

In my side the test works weell I injected some 747 cargo complately missing from UTL

I also add this for airframe selection where I know that Flai have some MD11 cargo repaint

  {
    "UtlCode": "M11",
    "AiCode": "MD11",
    "SearchIn": "FLai;MISC"
  },
  {
    "UtlCode": "M1F",
    "AiCode": "MD11",
    "SearchIn": "FLai;MISC"
  },

But unfortunately it didn't give me any new replacement

On the result of repaint no FLAI mention on the repaint.xml just the dedalus

    <repaint_fleet>
      <equip>M11</equip>
      <car>SBO</car>
      <oper>SBO</oper>
      <vis>
        <repaint_visual>
          <title>UTLive_M11_Daedalus</title>
          <val>100</val>
          <useOnce>false</useOnce>
        </repaint_visual>
      </vis>
    </repaint_fleet>.

Any hint how can I fix that ?

 

Share this post


Link to post

Thanks from my side, too!. Tomorrow will be a busy sunday.

Cheers, Ed

Share this post


Link to post
4 hours ago, simbio said:

Any hint how can I fix that ?

Check the log file and search for "Carrier: SBO"
My guess you will find something like:
2018-11-11 11:58:17 Info: Processing Utl Aircraft: M11 | Carrier: SBO | Operator: SBO 
... 
C:\FS Apps\FLAI\SimObjects\Airplanes\FLAi_MD11\aircraft.cfg 
2018-11-11 11:58:17 Info: No matching repaints found, proceeding with next Utl aircraft

So you need to find a repaint from another AI package.

Share this post


Link to post
12 hours ago, Egbert Drenth said:

Can you verify in the log file that the Transavia model has been replaced?
It looks like an old repaint, I think FLAi contains a new livery (not sure though)
In the dhq.ai2utl.log.txt file, search for "Carrier: TRA"

Here is the dhq.ai2utl.log.txt for Carrier: TRA

2018-11-18 07:40:07 Info: Processing Utl Aircraft: 73H | Carrier: TRA | Operator: TRA 
2018-11-18 07:40:07 Info: Processing: H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes 
2018-11-18 07:40:07 Info: Processing: 
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B738\aircraft.cfg 
2018-11-18 07:40:07 Info: 1 replacement aircraft found 
2018-11-18 07:40:07 Info: Utl repaint:
** UTLive_73H.TRA.TRA
replaced by new model(s): 
** FLAi_FAIB_B738_TRA-Transavia
 
2018-11-18 07:40:07 Info: Processing Utl Aircraft: 73W | Carrier: TRA | Operator: TRA 
2018-11-18 07:40:07 Info: Processing: H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes 
2018-11-18 07:40:07 Info: No matching repaints found, proceeding with next Utl aircraft
 
2018-11-18 07:40:07 Info: Processing Utl Aircraft: 73G | Carrier: TRA | Operator: JAA 
2018-11-18 07:40:07 Info: Processing: H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes 
2018-11-18 07:40:07 Info: Processing: 
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B737\aircraft.cfg 
2018-11-18 07:40:07 Info: 1 replacement aircraft found 
2018-11-18 07:40:07 Info: Utl repaint:
** UTLive_73G_Daedalus
replaced by new model(s): 
** FLAi_FAIB_B737_TRA-Transavia

Isn't there something wrong with the last one where "Carrier: TRA" and "Operator: JAA" ?

1542523987-utlive-2018-11-18-07-51-46.pn

Let me know how I can help...

Edited by vbazillio

Share this post


Link to post
49 minutes ago, vbazillio said:

Isn't there something wrong with the last one where "Carrier: TRA" and "Operator: JAA" ?

JAA is Japan Asia Airways and that indeed seems wrong.
It is an error in UTL, the repaints.xml. 
      <equip>73G</equip>
      <car>TRA</car>
      <oper>JAA</oper>

You/we have to correct that manually, however only when using the AI2UTL 'Operater' mode'.
Currently it is matched on Carrier code, so that is OK.

About the 'old' Transavia livery.
It seems indeed FLAi has an old livery. In my tests I also used a few other B738 repaints of other developers.
The new livery must have come from one of those. (Check the pictures in the manual)

Edited by Egbert Drenth

Share this post


Link to post

Thanks for your work on this project.  Looks like a handy utility. Will go thru it.

 

Share this post


Link to post

Question, at this time, I only want to use FLAI to replace UTL liveries. I don't plan to fly online with Vatsim, etc. I've installed FLAI and when I run P3DV4, it asks to activate the Addon XML for FLAI. Do I need to do this if only using to  update UTL?

Share this post


Link to post
26 minutes ago, flyblueskies said:

Do I need to do this if only using to  update UTL

As far as I know: Yes, otherwise P3D doesn't 'know'/can't access those repaints

Edited by Egbert Drenth

Share this post


Link to post

Thank you for providing this handy tool....much appreciated!

Share this post


Link to post
2 hours ago, flyblueskies said:

Question, at this time, I only want to use FLAI to replace UTL liveries. I don't plan to fly online with Vatsim, etc. I've installed FLAI and when I run P3DV4, it asks to activate the Addon XML for FLAI. Do I need to do this if only using to  update UTL?

Have you tried to install it manually?. This way P3D will not ask you for activation.

Cheers, Ed

Share this post


Link to post
On 11/17/2018 at 1:47 PM, vbazillio said:

Thank you for releasing this Public Beta. I just made a quick test. First, I got through the manual. If you provide the source doc I may try to correct some minor typos. Then, I edited the dhq.ai2utl.settings.json. The content didn't look like the default one described in the manual. Finally, I get inspired by a screen shot in the manual and set modification according to my setup... and launched it (forget several times the // ;)) And it worked great ! I only have FLAi installed. Here are some changes in my sim. Thank you again.

Hi:

Nice pictures!. I have a simple question: did you had to go over each aircraft.CFG of the UTLive models to add the eventually missing blank line between the [flightsim.X] entries, as indicated in the AI2UTL manual, page 11?. Is it necessary?.

Thanks, Ed

 

  • Like 1

Share this post


Link to post
5 hours ago, edpatino said:

Hi:

Nice pictures!. I have a simple question: did you had to go over each aircraft.CFG of the UTLive models to add the eventually missing blank line between the [flightsim.X] entries, as indicated in the AI2UTL manual, page 11?. Is it necessary?.

Thanks, Ed

 

I didn't touch any of the Aircraft.cfg file. Thanks for asking, here is step by step what I did. Maybe it could be useful for everyone and may correct my procedure.

  1. Unzip AI2UTL-V1.0.0.3.zip in an AI2UTL Beta folder
  2. Edit dhq.ai2utl.settings.json to set (2.1) My exact location for UTL's repaints.xml file (2.2) My FLai airplane folder location 2.3 Remove any other Ai I don't have (see below my own settings)
  3. (optional) Update myFLAi Ai aircrafts by launching FLAi Operations Center.
  4. Launch dhq.ai2utl.ui.exe
  5. (optional) Backup my repaints.xml ("C:\Users\Vincent\AppData\Roaming\Flight One Software\utLive\Data\repaints.xml")
  6. Replace my repaints.xml by the generated file dhq.ai2utl.replacement.result.xml.

Here is my dhq.ai2utl.settings.json

{
  "utl": {
    "repaintFileName": "repaints.xml",
    "path": "C:\\Users\\Vincent\\AppData\\Roaming\\Flight One Software\\utLive\\Data"
  },
  "flai": {
    "path": "H:\\P3Dv4\\SimObjects\\FLAI\\SimObjects\\Airplanes"
  },
  "miscai": [],
  "programMode": "carrier",
  "addOnlyMissing": false
}

For you information, here is the output of "AI2UTL Injector". I have to investigate the FLAI aircraft.cfg errors despite I've made FLAi update, I expected it gets corrected by FLAi

1542615369-dhq-ai2utl-ui-2018-11-19-09-1

H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_AT45\aircraft.cfg 
2018-11-19 08:44:23 Info: Processing: 
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_AT72\aircraft.cfg 
2018-11-19 08:44:23 Info: Processing: 
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_AT75\aircraft.cfg 
2018-11-19 08:44:23 Info: No matching repaints found, proceeding with next Utl aircraft

...

2018-11-19 08:44:23 Info: 
Total Utl models processed : 3598
Total Utl repaints replaced: 844
Total Utl repaints added   : 0
Total aircraft models found: 1834
Invalid aircraft.cfg files : 3
Invalid aircraft models    : 14
For errors: Check error log file
 
2018-11-19 08:44:23 Error: 
Invalid aircraft.cfg files
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A319neo\aircraft.cfg
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A321neo\aircraft.cfg
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A320neo\aircraft.cfg
 
2018-11-19 08:44:23 Error: 
Invalid aircraft models
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_PC12\model.raked_winglet
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A333\model.RR
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A333\model.PW
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A343\model.Normal
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B772\model.ge
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A333\model.GE
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_E190\model.SATCOMM
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B772\model.rr
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B772\model.pw
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_AT45\model.500
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B773\model.rr
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A346\model.Normal
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A345\model.Normal
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_B773\model.pw
 
2018-11-19 08:44:23 Info: Finished -  Replace Repaints 

 

Edited by vbazillio

Share this post


Link to post
4 hours ago, vbazillio said:

2018-11-19 08:44:23 Error: Invalid aircraft.cfg files
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A319neo\aircraft.cfg
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A321neo\aircraft.cfg
H:\P3Dv4\SimObjects\FLAI\SimObjects\Airplanes\FLAi_A320neo\aircraft.cfg

All these files don't have a blank row above each [fltsim.x] entry
If you put a blank like above it (a simple press on the enter key will do), these notifications will disappear.
I'm not 100% sure, UTL requires this blank line but I'm positive I read it somewhere.

  • Like 1

Share this post


Link to post
4 hours ago, vbazillio said:

I didn't touch any of the Aircraft.cfg file. Thanks for asking, here is step by step what I did. Maybe it could be useful for everyone and may correct my procedure

Hi Vincent:

Thanks for the detailed procedure. For sure it'll help.

Cheers, Ed

Share this post


Link to post
37 minutes ago, Egbert Drenth said:

All these files don't have a blank row above each [fltsim.x] entry
If you put a blank like above it (a simple press on the enter key will do), these notifications will disappear.
I'm not 100% sure, UTL requires this blank line but I'm positive I read it somewhere.

Hi Egbert:

Thanks for the excellent app.

So, according to your post, the aircraft.CFG files that require a blank space in between every [fltsim.X] entry are those ones from FLAi, and not the ones from UTLIve?. I was confused about this and just want to confirm.

Cheers, Ed

 

Share this post


Link to post
1 hour ago, edpatino said:

require a blank space in between every [fltsim.X] entry are those ones from FLAi

Affirmative
(and/or aircraft.cfg of Alpha-India/WoA/etc of course when listed in error log)

BTW: Based on all remarks/questions in the thread I will adjust the manual.

Share this post


Link to post
1 minute ago, Egbert Drenth said:

Affirmative
(and/or aircraft.cfg of Alpha-India/WoA/etc of course when listed in error log)

BTW: Based on all remarks/questions in the thread I will adjust the manual.

👍

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now