Jump to content

Sign in to follow this  
Egbert Drenth

AI2UTL Injector - Public Beta

Recommended Posts

1 hour ago, philw said:

Hi,

not possible to access to flai2utl. The file is empty....

Pw

You probably used the link in the first post, right?

There is an updated link in a post about the middle of page 2.

 


Cheers, Søren Dissing

CPU: Intel i9-10900KF @5.1Ghz HT off | Cooler: ASUS ROG Ryujin 360 | GPU: ASUS Strix RTX3090 OC | MoBo: ASUS Maximus XII Hero | RAM: 64Gb DDR4 @3600 | SSDs: 1Tb Samsung M.2 970EVO Plus (Win10), 1Tb Samsung M.2 970EVO Plus (P3D), 1Tb Samsung 860EVO (MSFS) | Monitor: 28" ASUS PB287Q 4K | Additional Hardware: Logitech Extreme 3D Pro | OS: Win 10 Pro 64 | Sim: P3D v5.0 Professional | FTX Global, OpenLC EU and NA | Wx: ASP3D (Beta) & ASCA | Chaseplane | BA Virtual

 

 

Share this post


Link to post
On 11/25/2018 at 2:32 AM, Egbert Drenth said:

This implies that UTL most likely stores it's repaints information not only in repaints.xml but apparently also in another file/database?
If that is the case (and I don't know) AI2UTL pretty much is useless. 

I just installed FLAi and AI2UTL and saw the same behavior.  It appears to be an issue with UTL not resolving add-on.xml files, which is how my FLAi was configured.  I manually added the FLAi directory path to simobjects.xml and then the FLAi repaints showed up in the UTL config tool.

AI2UTIL is a major time-saver.  Great job!


Larry

i9-9900k@5.0 HT, Maximus XI Code, 16GB TridentZ @ 4000, 2080Ti FTW3 Ultra Hydro, ekwb EK-KIT P360 water, 4K@30, W10 Pro, P3D v5.0

Share this post


Link to post

The applications is a great tool! unfortunately my sim keep crashing. The errorlog says its the ntdll.dll that causes the crash. anybody else get this error? or know how to fix it?

 

Share this post


Link to post

In a short test i also found P3D (in my case still v3.x) crashing.

It seems, the FLAI Package contains some errors, for example i found a Aircraft with a missing texture and few with missing models (caused by a typo in the aircraft.cfg).
Issues like them causing CTD´s most likely

 

Edited by FlyTweety

Share this post


Link to post

First of all, many thanks for all the work you have done so far, i took a look in the source code, amazing how many lines you have already coded...

I would like to learn something about including other AI next to FLAi.
I still didn´t understand what exactly is necessary to enable AI2UTL to read and inject other paints and Models.

You added the possibility by adding that "misc" stuff, that confuses me.

Does it means that i have to add a folder named "misc" where i add all other aircraft.cfg i want to add?

Later you write in the manual, we have to add a specific file to EACH aircraft folder to enable  AI2UTL to find them...
Still confusing.

What i would appreciate:

Please add a way to read other AI Folders just by a certain Prefix like "FLAi"

For example, i would rather add my Payware Models from FSP.
So, it would be far more easier and speedy to rename all Folders and Aircrafts with the FSP_XXX Prefix instead of adding that "xxx.AI2utl" file (this could be done by a simple batch-renaming).

Is that a possible way?
Additional a Button/Hook is needed that, in case a Paint is both in the FLAi and FSP Folder, AI2UTL takes the Payware instead of the Freeware Model.

Looking forward how it goes on here

 

Share this post


Link to post
13 hours ago, FlyTweety said:

Please add a way to read other AI Folders just by a certain Prefix like "FLAi"

That would not be a good idea imo because it requires a user to rename manually AI-aircraft folders.
The reason I could do that with FLAi, is because the FLAi-installer does add the prefix automatically.

Since (for above reason) it is impossible to recognize AI-aircraft folders of other 3rd parties, I introduced a 'marker'-file like: B738.ai2utl (ICAO-code.ai2utl)
 If you create such a file (empty) for each non-FLAi aircraft you want to include and save it in the respective AI-aircraft folder, it will be recognized by AI2UTL and potentially included in the search.
The root folder(s) (i.e not the AI-aircraft folders themselves) of the 3rd party repaints should be included in the AI2UTL settings file.
All sub-folders in a specific root-folder will be scanned for those *.ai2utl files. 
A root folder can be ..\P3DV4\Simobjects\Airplanes or for example ..\MyTraffic\Airplanes, depending on what/where you have installed your AI-aircraft

Edited by Egbert Drenth

Location: Vleuten, The Netherlands, 15.7dme EHAM
System: P3D V4 - 80386 DX2 - 4MB RAM - 3dfx Voodoo5 - Windows 3.11

Share this post


Link to post

OK, you are the Boss 😎

In my opinion it would be more easy even for unexperienced customer to add certain caracters like "FSP" at the beginning of the folder name instead of adding a textfile with even more lines included.
This not needs to be done automatically by your program but by the user himself.

The second advantage would be, thousands of simmers have to sort out the mess in their AI-Folders NOW by give them a reasonable structure 😂

 

 

Regarding the FLAi vs. FSP:

How can i prefer the FSP paints without editing hundreds of FLAi folder or search entrys?
Is there possible to add a routine that simply point "if theres a hit in FLAi AND the alternative folder, skip the FLAi and take the other" ?

 

Share this post


Link to post

for some reason P3D V4.4 CTD with no warning when I use FLAi models for UTL, going back to original UTL models no CTD.

any idea?


Ali A.

PC: I7 4770K @ 4.6 GHz | ASUS Z87-Pro MB | Samsung 49" Curved Monitor | ASUS GTX1080 Ti OC | Intel 256GB x 2  SSD | WD x 2 HD for data and backups | Corsair H110 CPU Cooler | 16GB DDR3 RAM | TrackIR V5 | Logitech sound system 7.1 | Saitek Pro Flight X-55 Rhion | Windows 10 Pro 64bit.

Main Simulator: MSFS

Additional simulators: X-Plane 11, FSX, FSX-SE, FSW, P3D V5 .

Add ons for P3D V5; (Orbx FTX Global + Victor + OLC EU + NA+HD Trees, TE GBS, LOWI, Barcelona CityScene), FSGUNG2020, ASP3D, UT Live, EZCA3, FSFX Packages 737+777+787, PMDG 737+777+747, QW 787, FSL A320X, Majestic -8, A2A C172.

Share this post


Link to post
2 hours ago, penta_a said:

for some reason P3D V4.4 CTD with no warning when I use FLAi models for UTL, going back to original UTL models no CTD.

any idea?

 Keep in mind that there are still quite a few FS9 models used in FLAI, those could cause anything from invisible aircraft or parts of aircraft etc and also CTD's. 


i7-8700K, 16gb DDR4 3200,  GTX1080Ti, Win 10, P3d V5x

Share this post


Link to post
1 hour ago, Dave_YVR said:

 Keep in mind that there are still quite a few FS9 models used in FLAI, those could cause anything from invisible aircraft or parts of aircraft etc and also CTD's. 

I don´t think, it´s because the FS9 models. I run P3D v3, it is still able to deal with those Models (of course with disadvances) but also my Sim tends to crash.

 

Share this post


Link to post
15 hours ago, Dave_YVR said:

 Keep in mind that there are still quite a few FS9 models used in FLAI, those could cause anything from invisible aircraft or parts of aircraft etc and also CTD's. 

AI2UTL validates on model files and disregards FS9 models


Location: Vleuten, The Netherlands, 15.7dme EHAM
System: P3D V4 - 80386 DX2 - 4MB RAM - 3dfx Voodoo5 - Windows 3.11

Share this post


Link to post

How can I obtain the program? If I follow the link, it says the folder is empty...

 


Intel Core i9-9900K - ASUS ROG Maximus XI Formula | Intel Z390 - 32GB Corsair Vengeance RGB Pro DDR4-3200 - EVGA RTX3090 FTW3  -2x1TB Samsung 970 PRO - 1000W Corsair HXi Platinum Series  - Corsair H150i Pro RGB 

Share this post


Link to post

I can´t help myself, i do not understand what´s going on:

At this time i have 3 Folders with AI Models.

2018-12-30 16:45:39 Info: Start - Replace Repaints 
2018-12-30 16:45:39 Info: 3 repaint collectors created: 
2018-12-30 16:45:39 Info: G:\FakeSX\SimObjects\AI 
2018-12-30 16:45:39 Info: G:\FakeSX\SimObjects\FSP 
2018-12-30 16:45:39 Info: G:\FakeSX\SimObjects\FLAi 
2018-12-30 16:45:39 Info: Utl repaints file: C:\Users\Uli\AppData\Roaming\Flight One Software\utLive\Data\repaints.xml 

All 3 are found.

My FSP 772 Folder contains a searchfile

{
 "UtlCode": "772",
 "AiCode": "B772",
 "SearchIn": "AI;Misc"
 },

The Aircraft.cfg has  2 AAL paints
 

[fltsim.9]
title=FSPX Boeing 777-200RR AAL American Airlines
sim=FSPXAI_B772v1
model=RR_F
texture=AAL American
atc_id=N768AA
atc_airline=AMERICAN
ui_manufacturer=FSpainter
ui_type=B777-200RR
ui_variation=American Airlines
ui_createdby=FSPX
description=Boeing 777-200RR AAL American Airlines :: By: Kyle Meeks
atc_parking_codes=AAL
atc_parking_types=GATE
atc_heavy=1

[fltsim.10]
title=FSPX Boeing 777-200RR AAL American One World
sim=FSPXAI_B772v1
model=RR_F
texture=AAL American OneWorld
atc_id=N791AN
atc_airline=AMERICAN
ui_manufacturer=FSpainter
ui_type=B777-200RR
ui_variation=American Airlines Oneworld
ui_createdby=FSPX
description=Boeing 777-200RR AAL American Airlines One World :: By: Kyle Meeks
atc_parking_codes=AAL
atc_parking_types=GATE
atc_heavy=1

Neverthless, AI2 UTL  do not find the FSP paints!

2018-12-30 16:45:48 Info: Processing Utl Aircraft: 772 | Carrier: AAL | Operator: AAL 
2018-12-30 16:45:48 Info: Misc models not included in 'SearchIn' setting. Skipping Misc model search 
2018-12-30 16:45:48 Info: Misc models not included in 'SearchIn' setting. Skipping Misc model search 
2018-12-30 16:45:48 Info: Processing: G:\FakeSX\SimObjects\FLAi 
2018-12-30 16:45:48 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B722\aircraft.cfg 
2018-12-30 16:45:48 Info: No matching repaints found, proceeding with next Utl aircraft
<repaint_fleet>
      <equip>772</equip>
      <car>AAL</car>
      <oper>AAL</oper>
      <vis>
        <repaint_visual>
          <title>UTLive_772.AAL.AAL</title>
          <val>98</val>
          <useOnce>false</useOnce>
        </repaint_visual>
        <repaint_visual>
          <title>UTLive_772.AAL.AAL.Breast Cancer</title>
          <val>2</val>
          <useOnce>false</useOnce>
        </repaint_visual>
      </vis>
    </repaint_fleet>

and so it will not be replaced.

 

And what´s also bad, it works opposite way than i would like to see it

 
2018-12-30 16:46:08 Info: Processing Utl Aircraft: 77W | Carrier: UAE | Operator: UAE 
2018-12-30 16:46:08 Info: Misc models not included in 'SearchIn' setting. Skipping Misc model search 
2018-12-30 16:46:08 Info: Misc models not included in 'SearchIn' setting. Skipping Misc model search 
2018-12-30 16:46:08 Info: Processing: G:\FakeSX\SimObjects\FLAi 
2018-12-30 16:46:08 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B77W\aircraft.cfg 
2018-12-30 16:46:08 Info: 1 replacement aircraft found 
2018-12-30 16:46:08 Info: Utl repaint:
** FSP Boeing 777-300ER Emirates
** FSP Boeing 777-300ER Emirates no wifi
** FLAi_TFS_B77W_UAE-Emirates
replaced by new model(s): 
** FLAi_TFS_B77W_UAE-Emirates

Here, AI2UTL find my Payware Models, but skips them and the only replaced Model is the older TFS.

I hope, you will fix that.

Edited by FlyTweety
Typos

Share this post


Link to post
20 hours ago, FlyTweety said:

My FSP 772 Folder contains a searchfile

?
This folder should contain an empty text file called: B772.ai2utl
(and any other B772 folder you would like to include, excl FLAi folders)
Check page 8 of the manual.
 


Location: Vleuten, The Netherlands, 15.7dme EHAM
System: P3D V4 - 80386 DX2 - 4MB RAM - 3dfx Voodoo5 - Windows 3.11

Share this post


Link to post

How embarrassing  😮

I overread the word "empty" and was confused by the image below. True, with empty files it works much better 😃.

But still there might me an issue:

In the example below you can see that the 77W model in the FSP folder is recognized and added, the 772 in the same folder not.

2018-12-31 16:09:30 Info: Processing Utl Aircraft: 772 | Carrier: AAL | Operator: AAL 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\AI 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FSP 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FAIB 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FLAi 
2018-12-31 16:09:30 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B722\aircraft.cfg 
2018-12-31 16:09:30 Info: No matching repaints found, proceeding with next Utl aircraft
2018-12-31 16:09:30 Info: Processing Utl Aircraft: 77W | Carrier: AAL | Operator: AAL 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\AI 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FSP 
2018-12-31 16:09:30 Info: Processing: 
G:\FakeSX\SimObjects\FSP\FSPX_B777-300ER\aircraft.cfg 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FAIB 
2018-12-31 16:09:30 Info: Processing: G:\FakeSX\SimObjects\FLAi 
2018-12-31 16:09:30 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B77W\aircraft.cfg 
2018-12-31 16:09:30 Info: 2 replacement aircraft found 
2018-12-31 16:09:30 Info: Utl repaint:
** UTLive_772.AAL.AAL
** UTLive_772.AAL.AAL.Breast Cancer
replaced by new model(s): 
** FSPX Boeing 777-300ER AAL American Airlines
** FLAi_TFS_B77W_AAL-American

 

They are stored in

G:\FakeSX\SimObjects\FSP\FSPX_B777-200 and
G:\FakeSX\SimObjects\FSP\FSPX_B777-300ER

and there are the files B772.ai2utl and B77W.ai2utl included.

{
    "UtlCode": "772",
    "AiCode": "B722",
    "SearchIn": "FLAi;Misc"
  },
{
    "UtlCode": "77W",
    "AiCode": "B77W",
    "SearchIn": "FLAi;Misc"

Search codes are looking good as well.

Any suggestions?

And...may it be that the "Operator Mode" don´t work?

i ran the Application frequent times now, but ther´s no difference if i start in carrier mode or operator mode. The repaint.xml is the same(checked with a file compare)

Foir example this is the log, proceeded in operator mode:

2018-12-31 15:19:19 Info: Processing Utl Aircraft: 77X | Carrier: BAW | Operator: QTR 
2018-12-31 15:19:19 Info: Processing: G:\FakeSX\SimObjects\AI 
2018-12-31 15:19:20 Info: Processing: G:\FakeSX\SimObjects\FSP 
2018-12-31 15:19:20 Info: Processing: 
G:\FakeSX\SimObjects\FSP\FSPX_B777-200\aircraft.cfg 
2018-12-31 15:19:20 Info: Processing: 
G:\FakeSX\SimObjects\FSP\FSPX_B777-300\aircraft.cfg 
2018-12-31 15:19:20 Info: Processing: G:\FakeSX\SimObjects\FAIB 
2018-12-31 15:19:20 Info: Processing: G:\FakeSX\SimObjects\FLAi 
2018-12-31 15:19:20 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B772\aircraft.cfg 
2018-12-31 15:19:20 Info: Processing: 
G:\FakeSX\SimObjects\FLAi\FLAi_B773\aircraft.cfg 
2018-12-31 15:19:20 Info: 2 replacement aircraft found 
2018-12-31 15:19:20 Info: Utl repaint:
** UTLive_773.QTR.QTR.Cargo
replaced by new model(s): 
** FSP B777-200ER(GE) British Arways G-VIID
** FSP B777-200ER(RR) British Arways G-YMMA

I would expect a QTR paint (if available) instead of BAW.

The most complicated i see is the automated decision of the replacement:
Shall the "misc" paint  be added to the FLAi or should also the FLAi be replaced?
Sometimes i would only like to add additional liverys like Oneworld, Skyteam ect. which a not included in the FLAi Package
Sometimes i would like to skip for example the TFS Model complete and replace it with FSP.

Difficult..

And, additional, espacially for special liverys a marker for the function "useOnce" of UTL would be appreciated.
Those liverys (e.g. Retro) only exist one time and it is pretty disturbing to see that livery 5 times in Frankfurt or AMS.

But i´m afraid, this marker must be added in the aircraft.cfg, I don´t know if P3D or FSX would deal with a additional line.
Will the sim ignore it or will it crash? Or UTL.. or any other Add On that is affected by AI-Aircrafts. Need to find out.

 

 

 

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

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,660.00 of $25,000.00 Donate Now
×
×
  • Create New...