Egbert Drenth

FLAi2UTL - Anyone?

Recommended Posts

1 hour ago, duckbilled said:

Would it be possible to build in a check for V4 compatibility?

If you tell me how.

Share this post


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

1 hour ago, Egbert Drenth said:

If you tell me how.

I don't know how, but I do know how to identify them, in general. I used a program called TumbnailExporterX to scan the FLAI folder. I goes through and checks all of the mdl's. If they are "MDLX", they should work. If they are MDL8, they probably won't. I also see types like PV20 - I'm not sure what those are. I removed them.

Anyway, if you could figure out a way to read the model type, that could do it. I'm sure there are many ways to do this, and I bet the folks at AIG have a lot more information.

Share this post


Link to post
3 hours ago, Egbert Drenth said:

If you tell me how.

Hello Egbert.

I wrote an app years ago to explore FS9 & FSX MDL files, very first thing it did was to determine the model type.
Basically you have to read the MDL Header (first few bytes) to get the version (After RIFF...)
Can't remember exactly, but If I recall correctly models could be: MDLX, MDL9 or MDL8.
Let me see if I find the code and perhaps I can include detection for P3D MDL's.

Cheers.
 

 

 

Edited by RamonB

Share this post


Link to post
On 11/8/2018 at 1:54 AM, RamonB said:

Let me see if I find the code and perhaps I can include detection for P3D MDL's.

Hi Ramon,

Thanks for your offer, but I managed to read the header and recognize the model. The model code for P3D = PV20

I do have a question though: Can P3D V4.x also use FSX(MDLX) models or only PV20 models?


 

 

Share this post


Link to post
4 minutes ago, Egbert Drenth said:

Hi Ramon,

Thanks for your offer, but I managed to read the header and recognize the model. The model code for P3D = PV20

I do have a question though: Can P3D V4.x also use FSX(MDLX) models or only PV20 models?


 

 

Check in FSdeveloper.com, Arno wrote a guide about how the .MDL files are structured.

Regards,

Simbol 

Share this post


Link to post

Most of the models I use are from FSX.

By the way, I'm also interested in your great tool. Would like to run it against the BVAI collection, which has only a few FS9-models, if I recall correctly.

Share this post


Link to post
53 minutes ago, Egbert Drenth said:

I do have a question though: Can P3D V4.x also use FSX(MDLX) models or only PV20 models?

Both.  Most FSX models are compatible with P3D even through to P3Dv4. At least I've no found one yet which isn't, and I run MyTraffic6, TrafficGlobal and UTlive at present -- not all at once, mind! :-)

Pete

 

Share this post


Link to post
4 hours ago, Egbert Drenth said:

do have a question though: Can P3D V4.x also use FSX(MDLX) models or only PV20 models?

Simbol, Dimitrios and Pete beat me to it.

Aside from base MDL types there might be some subtypes)
I also believe that P3D v4 can use all/most FSX models. I'm using MyTrafic 360 without problems. Also have Traffic Global, but currently not enabled as it is still under development.
Just bear in mind that while they might work with P3D v4, those FSX MDL files (be it planes or scenery) won't be taking advantage of the benefits provided by the P3D v4 SDK and might not be compatible in the future.

Edited by RamonB

Share this post


Link to post

Just curious if this is far enough along to allow the general public (me, of course) to download and try. I'm interested in replacing/updating UTL models with the FLAI models...

Share this post


Link to post
18 hours ago, flyblueskies said:

Just curious if this is far enough along to allow the general public (me, of course) to download and try. I'm interested in replacing/updating UTL models with the FLAI models...

Same here..can't wait to replace the default UTL models with the FLAI ones..

Share this post


Link to post

Hi all,

I have overhauled completely the functionality of FLAi2UTL. The application is renamed (as suggested) to AI2UTL Injector.
ai2utl.png

Changes:

  • Besides FLAi repaints, also multiple other AI-packages/repaints (Alpha-India, WoA, etc) can be included, on a per repaint basis
  • Before injecting in UTL, each affected aircraft model file (*.mdl) automatically is being validated for usage in P3D V4
  • Also aircraft.cfg files are being validated for usage in UTL. It seems that Ultimate Traffic Live requires a blank line above each fltsim.x entry.

I will release the beta version to the testers later today, hopefully it will be available to the public in due time.

New manual available here:
AI2UTL Manual

Stay tuned,

Egbert

 

 

  • Like 3
  • Upvote 1

Share this post


Link to post

Thanks for the manual. Unfortunately I receive a "403 - Forbidden: Access is denied.". By the way, as the Beta program is closed, when do you - more or less - plan to make AI2UTL available ?

Share this post


Link to post
1 hour ago, vbazillio said:

when do you - more or less - plan to make AI2UTL available ?

Plan is Q3 2019..

Seriously... asap, so most likely this month.
Nevertheless no promises.

  • Like 3

Share this post


Link to post

Can't wait!

I really want to update my UTL...a question.

I've already updated some models (added UPS and FedEx models and a few others), will I be able to keep those...or must I re add them once I run your program?

Share this post


Link to post
1 hour ago, flyblueskies said:

Can't wait!

I really want to update my UTL...a question.

I've already updated some models (added UPS and FedEx models and a few others), will I be able to keep those...or must I re add them once I run your program?

I'm curious too about how to add the FLAi FedEx and UPS models to UTL.

Share this post


Link to post
5 hours ago, mwilk said:

I'm curious too about how to add the FLAi FedEx and UPS models to UTL.

You can add FedEx and UPS using a package developed for UTL. There is a link to the package in the UTL forum.

Share this post


Link to post
1 hour ago, duckbilled said:

You can add FedEx and UPS using a package developed for UTL. There is a link to the package in the UTL forum.

Thank you. I have that package but I know there are UPS and FedEx aircraft in the FLAi package also.

Share this post


Link to post
7 hours ago, mwilk said:

I'm curious too about how to add the FLAi FedEx and UPS models to UTL.

I added the FedEx, UPS, and Atlas Air addon schedules to UTL per the package instructions. After running AI2UTL the dhq.ai2utl.log.txt file showed entries for FLAi replacement models for all except the  A300 (ABF) Model. Excerpt from the log file below.

2018-11-11 13:06:50 Info: Processing Utl Aircraft: 75F | Carrier: UPS | Operator: UPS 
2018-11-11 13:06:50 Info: Processing: C:\Users\Scott\FLAI\SimObjects\Airplanes 
2018-11-11 13:06:50 Info: Processing: 
C:\Users\Scott\FLAI\SimObjects\Airplanes\FLAi_B752\aircraft.cfg 
2018-11-11 13:06:50 Info: Processing: 
C:\Users\Scott\FLAI\SimObjects\Airplanes\FLAi_B753\aircraft.cfg 
2018-11-11 13:06:50 Info: 2 replacement aircraft found 
2018-11-11 13:06:50 Info: Utl repaint:
** UTLive_752_Daedalus
replaced by new model(s): 
** FLAi_AIG_B757-200_UPS RR
** FLAi_AIG_B757-200_UPS PW

2018-11-11 13:06:50 Info: Processing Utl Aircraft: ABF | Carrier: UPS | Operator: UPS 
2018-11-11 13:06:50 Info: Processing: C:\Users\Scott\FLAI\SimObjects\Airplanes 
2018-11-11 13:06:50 Warn: No ai aircraft code(s) defined for Utl aircraft: ABF 
2018-11-11 13:06:50 Info: No matching repaints found, proceeding with next Utl aircraft
 
2018-11-11 13:06:50 Info: Processing Utl Aircraft: ABF | Carrier: FDX | Operator: FDX 
2018-11-11 13:06:50 Info: Processing: C:\Users\Scott\FLAI\SimObjects\Airplanes 
2018-11-11 13:06:50 Warn: No ai aircraft code(s) defined for Utl aircraft: ABF 
2018-11-11 13:06:50 Info: No matching repaints found, proceeding with next Utl aircraft

 

  • Like 1

Share this post


Link to post
3 hours ago, mwilk said:

Thank you. I have that package but I know there are UPS and FedEx aircraft in the FLAi package also.

You can exclude certain types of aircraft, both in FLAi or in the miscellaneous AI packages/repaints.
But all repaints (i.e. liveries) of that aircraft model are then excluded. 
For example:

{ 
"UtlCode": "330", 
"AiCode": "A332;A333", 
"SearchIn": "FLai;MISC" 
},

The SearchIn setting defines where AI2UTL searches for repaints. 
If you remove FLAi from the setting, only in the miscellaneous AI repaints will be seached.
If left empty, the search is skipped all together for that specific model

Share this post


Link to post

Here's hoping for a release soon...

Edited by flyblueskies

Share this post


Link to post
On 11/12/2018 at 4:37 AM, ScottB2 said:


2018-11-11 13:06:50 Warn: No ai aircraft code(s) defined for Utl aircraft: ABF 
 

This implies that the dhq.ai2utl.search-codes.json file doesn't contain a 'translation' for the UTL 'ABF' code
  {
    "UtlCode": "ABF",
    "AiCode": "",
    "SearchIn": "FLai;MISC"
  }

If ABF stands for an A310 you could edit/try:
  {
    "UtlCode": "ABF",
    "AiCode": "A310",
    "SearchIn": "FLai;MISC"
  }

 

Share this post


Link to post

Hey this looks like a fantastic tool. Thanks so much. I am going to give it a try.

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