Jump to content

Sign in to follow this  
Akki

FLAI reinstallation issues

Recommended Posts

Hi again,

now starting from scratch I have tried to move the FLAi content to a separate folder in FSX main folder and made corresponding change to the FSX.cfg - in AIL generator I am pointing at this folder and the xml file created looks OK but running PSX it claim it can not create any liveries….

You wrote:

"Create a folder G:\FLAi  and move your FLAi liveries to there.

in FSX add:

SimObjectsPaths.8=G:\FLAi

In AILG define paths to G:\FLAi  and G:\AiAircraft (if you have liveries in hat folder too)

This way you are very flexible and you you can define in AILG which groups of AI have priority (higher in the folders list).

Later on you can for instance add folders for G:\FSPXAI and G:\FAIB, if you want more liveries."

OK, I have reinstalled FLAI and pointed it to be installed under: C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\AI_aircraft

FLAI however create subfolders: "SimObjects" "Airplanes" and then place the different liveries there. I suppose my lining in FSX.cfg is wrong then:

"SimObjectsPaths.9=C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\AI_aircraft\SimObjects\Airplanes"

i.e. PSX says "no livery found"

Any clarification appreciated

Åke

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, Akki said:

i.e. PSX says "no livery found"

Hi,

I don't think PSXT says that, I assume you mean "could not be created". That means that the livery is not activated in FSX, and after a while you'll get error 81..

In FSX.cfg you should add:

SimObjectsPaths.9=C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\AI_aircraft\SimObjects\Airplanes

Btw why did not you made a folder C:\FLAi ? That is a lot easier. It is not very wise to group all different branches of AI aircraft in one folder.

Nico

 

 

Edited by kiek

Share this post


Link to post
Share on other sites

Unfortunately it does at the end in red! But first it write as you say "could not be created". So something is wrong, probably in the FSX.cfg

I need to look deeper into this. the previous installation worked OK when I had FLAI in the FSX flyable aircraft folder which we didnt want, i.e. had the ordinary FSX.cfg file without adding line-

Will now test to put FLAI directly under C:\

Åke

Share this post


Link to post
Share on other sites
5 minutes ago, Akki said:

Unfortunately it does at the end in red!

Could you post the Log.txt

Share this post


Link to post
Share on other sites

Sun Mar  8 19:38:52 2020 (utc) PSXT (32 bit) version 17.4 for Prepar3D v3/v4 or FSX

***************************** parameters *****************************
ADD_ORIG_DEST=false
RANDOM=true
NON_REAL_REMOVAL_THRESHOLD=30
MAIN_WINDOW_X=400
MAIN_WINDOW_Y=20
PARK_GROUNDSPEED=20
VERSION_CHECKED_AT=Mar  8, 2020
PROGRAM_VERSION=17.4
INSTALL_PATH=C:\PSXseeconTraffic
ALWAYS_ON_TOP=false
SYNC_FPS=true
HEAVY_MIDDLE_AIRCRAFT=true
LIGHT_AIRCRAFT=true
HELICOPTERS=false
INCLUDE_NOTYPES=false
LOG_MATCHING=false
AUTO_MODE=false
LIVE_IF_USER_AIRBORNE=false
COLLISION_LIVE_PARKED_GND=true
COLLISION_USER_GND=true
UPS=23
FLOOR_ALTITUDE=-1000
LATERAL_RANGE=40
BLOCK_CALLSIGN=
LIVERIES_FOLDER=C:\AILGenerator\liveries
AIRPORTS_FOLDER=C:\PSXseeconTraffic\Airportupdates
FLIGHTPLANSFOLDER=
**********************************************************************

Reading airport's data from "C:\PSXseeconTraffic\Airportupdates"
Reading airport's data from "parked_updates"
9900 airports found
19 aircraft heights read from "C:\Users\carla\AppData\Roaming\PSXseeconTraffic\avg_heights.txt"
Waiting for data provider to connect to PSXT ...
Waiting for Flight Simulator ...
Microsoft Flight Simulator X connected
Data provider connected

Aircraft type information read from "data\types.xml"
author: PSXseeconTraffic, version: 17.4, date: Feb 28, 2020

Wingspan information read from "data\wingspan.xml"
author: PSXseeconTraffic, version: 17.4, date: Feb 28, 2020


*************************************** liveries summary ***************************************
1732 liveries read from file "C:\AILGenerator\liveries\AI_liveries.xml"
author: AILGenerator, version: 6.1, date: Mar  8, 2020

107 registration codes found in the liveries of the user
generic Boeing liveries for 2 types: B744 B748
generic Airbus liveries for 3 types: A21N A319 A320
no generic Embraer liveries
no generic Bombardier liveries
no generic ATR liveries
no generic Private liveries
377 unique airlines, 88 unique aircraft types
Default livery set for aircraft category Heavy, type B763, # liveries: 57
Default livery set for aircraft category Middle, type A320, # liveries: 288
Default livery set for aircraft category Light, type PC12, # liveries: 6
No default livery found for aircraft category Heli
************************************************************************************************

28899 registration codes added from "data\regcodes.xml"
author: AILGenerator, version: 5.1, date: Sep 14, 2019

User aircraft title: CRJ900ER SAS Scandinavian Airlines OY-KF
User aircraft model: CRJ900
User aircraft wing span unknown, max is taken instead, please report in my Forum!
Connecting QNHReader to UDP port 49004 ...
QNHReader connected
Connecting TrafficReader to UDP port 49003 ...
TrafficReader connected
QNH=1008
User on the ground at airport EKCH, standing still
The parking airport is: EKCH (CPH)

Out of business information read from "data\outofbusiness.xml"
author: Nico, version: 2.1, date: Feb 15, 2020


Parkpos file "parked_updates\EKCH.xml" for Kastrup
author: ParkPosGenerator, version: 11.0, date: Thu Aug 22

    supplier: Fly Tampa
    104 parking positions, of which
    71 real live parking positions (68%), with
    555 real live options, and
    1793 defined hours
    last update Mar  8, 2020

Hour:  0   1 *
Hour:  1   1 *
Hour:  2   1 *
Hour:  3   1 *
Hour:  4   1 *
Hour:  5   9 *********
Hour:  6  20 ********************
Hour:  7  32 ********************************
Hour:  8  43 *******************************************
Hour:  9  51 ***************************************************
Hour: 10  49 *************************************************
Hour: 11  50 **************************************************
Hour: 12  48 ************************************************
Hour: 13  53 *****************************************************
Hour: 14  56 ********************************************************
Hour: 15  55 *******************************************************
Hour: 16  50 **************************************************
Hour: 17  43 *******************************************
Hour: 18  46 **********************************************
Hour: 19  46 **********************************************
Hour: 20  50 **************************************************
Hour: 21  40 ****************************************
Hour: 22  23 ***********************
Hour: 23   4 ****


19:39:17 There are 50 parking positions with an option at 20:00 (utc)
2 parking positions to be filled (1%)
"FLAi_FAIB_A319CFM_AFR-Air France" could not be created as parked at gate A12
No parking at cargo gate G113, no cargo livery match for SRN SF34
No parking at C28, no livery match for SAS A20N
"FLAi_FAIB_A320CFM_LDM-Laudamotion" could not be created as parked at gate F7
"FLAi_FAIB_B738_TRA-Transavia" could not be created
"FLAi_FAIB_B738_RYR-Ryanair" could not be created
"FLAi_TFS_Dash8-400_WIF-Wideroe" could not be created
"FLAi_FAIB_B737_RYR-Ryanair" could not be created
"FLAi_FAIB_A319CFM_EZY-EasyJet" could not be created
"FLAi_FAIB_A20N_SAS" could not be created
"FLAi_FSPXAI_B789_ANA-All Nippon" could not be created
"FLAi_AIG_PC12_URF_SurfAir" could not be created
"FLAi_TFS_B777-200RR_THA-Thai" could not be created
"FLAi_FAIB_A19N_ZZZZ" could not be created
"FLAi_FAIB_A319CFM_CXA-Canadian Express" could not be created
"FLAi_PA31_N4044P" could not be created
"FLAi_FAIB_B738_IBK-Norwegian FJG" could not be created
"FLAi_FAIB_A319CFM_AAF-Aigle Azur" could not be created
"FLAi_FAIB_B738_NOK-Nok Air HS-DBO" could not be created
"FLAi_FAIB_B738_AFL-Aeroflot" could not be created
"AI A319 G-EZEP EasyJet " could not be created
UPS=22
Exiting: USER CLOSED SIM
19:40:02 User closed PSXseeconTraffic
QNH Reader has stopped
Traffic Reader has stopped

*************************************** live traffic livery matching summary ***************************************
Sun Mar  8 19:40:03 2020 (utc)
23 liveries needed
43% (10) were completely matched, of which 0% (0) upon registration code (r)
19 liveries could not be created:
   PA34 "FLAi_PA31_N4044P"
  AAF A319 "FLAi_FAIB_A319CFM_AAF-Aigle Azur"
  AFL B738 "FLAi_FAIB_B738_AFL-Aeroflot"
  AFR A319 "FLAi_FAIB_A319CFM_AFR-Air France"
  ANA B789 "FLAi_FSPXAI_B789_ANA-All Nippon"
  EJU A319 "FLAi_FAIB_A319CFM_CXA-Canadian Express"
  EZS A319 "FLAi_FAIB_A19N_ZZZZ"
  EZY A319 "AI A319 G-EZEP EasyJet "
  EZY A319 "FLAi_FAIB_A319CFM_EZY-EasyJet"
  IBK B738 "FLAi_FAIB_B738_IBK-Norwegian FJG"
  LDM A320 "FLAi_FAIB_A320CFM_LDM-Laudamotion"
  LXG PC12 "FLAi_AIG_PC12_URF_SurfAir"
  RYR B738 "FLAi_FAIB_B737_RYR-Ryanair"
  RYR B738 "FLAi_FAIB_B738_NOK-Nok Air HS-DBO"
  RYR B738 "FLAi_FAIB_B738_RYR-Ryanair"
  SAS A20N "FLAi_FAIB_A20N_SAS"
  THA B772 "FLAi_TFS_B777-200RR_THA-Thai"
  TRA B738 "FLAi_FAIB_B738_TRA-Transavia"
  WIF DH8D "FLAi_TFS_Dash8-400_WIF-Wideroe"
 =g= 1 generic livery generated for unknown airline
 =s= 7 liveries for airline and similar type generated
 =x= 3 random liveries for type
 =X= 1 random livery for similar type
 =d= 2 default liveries generated

The missing liveries were for the following airlines and type codes:
  ANA B789
  EJU A319
  EZS A319
  RYR B738
  SAS A20N
  THA B772
  TRA B738
  WIF DH8D
********************************************************************************************************************

MAIN_WINDOW_X=400
MAIN_WINDOW_Y=20
Sun Mar  8 19:40:03 2020

Share this post


Link to post
Share on other sites

I do not see the text "no livery found" in your Log.txt... 

You should fix the "could not be created" messages, by making sure your AI liveries are activated.

Share this post


Link to post
Share on other sites
Posted (edited)

Dear Nico, I guess I have found a part solution: The path string was not correct in FSX.cfg due to the uncorrect spelling in earlier messages from other participants which I copied, i.e.

"SimObjectsPaths.9=C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\AI_aircraft\SimObjects\Airplanes"  The S shall not be there….

I have now corrected the line in FSX.cfg and the path works! Only one aircraft was not possible to create.

 

The error occurred already in the post from February 24th. I copied that line from that message. However now it works fine. I will now try to add more Ai aircraft and in particular add the aircraft/livery I am missing. I have a flyable version of it (purchased) but will try to add it to AILGenerator and run, I am however not very clear over the detailed process to have the livery as a part of the xml file. ( Will study in the manual what is critical in terms of ICAO code for the airline in the aircraft config and the aircraft type)

 

Åke

Edited by Akki
More info/feedback

Share this post


Link to post
Share on other sites

Good to hear you found the problem!

In AILG Manual section 3.4 you can read what info AILG is looking for in the aircraft.cfg file and its [fltsim.x] sections.

Share this post


Link to post
Share on other sites
2 hours ago, Akki said:

. I will now try to add more Ai aircraft and in particular add the aircraft/livery I am missing. I have a flyable version of it (purchased) but will try to add it to AILGenerator and run, 

You should not use flyable aircraft as AI aircraft.,, There are plentty of good sources of AI aircraft.

Share this post


Link to post
Share on other sites
4 hours ago, Akki said:

User aircraft title: CRJ900ER SAS Scandinavian Airlines OY-KF
User aircraft model: CRJ900
User aircraft wing span unknown, max is taken instead, please report in my Forum!

See this (above) in your Log.txt. 

To fix it, change in the aircraft.cfg file of your user aircraft, in the [General] section

atc_model=CRJ900

into

atc_model=CRJ9

Share this post


Link to post
Share on other sites
39 minutes ago, kiek said:

You should not use flyable aircraft as AI aircraft.,, There are plentty of good sources of AI aircraft.

I know but these are as far as I can see not available: Livery "BRA" ( BRX and SCW as ICAO) using type ATR 72-500/600 and AVRO RJ 85 and RJ100

Åke

Share this post


Link to post
Share on other sites
Posted (edited)
10 minutes ago, Akki said:

I know but these are as far as I can see not available: Livery "BRA" ( BRX and SCW as ICAO) using type ATR 72-500/600 and AVRO RJ 85 and RJ100

If you cannot find one you better leave it that way, PSXT will try to match with the same type of another airline first, if that does not go it will match with a similar type.
That's always better then using flyable aircraft (for your fps).

Here are some sources:

https://jcai.dk/

https://kyles-ai-works.com/

https://atco-repaints.com/

https://www.juergenbaumbusch.de/

https://flyingcarpet75.com/

https://fsai-repaints.com/

https://muenier.ovh/

https://fsxaibureau.com/

and then you also have complete packages such as from AIG,Traffic Global, UTLive,  ..

Edited by kiek

Share this post


Link to post
Share on other sites

Great thanks. My idea to solve the problem with lacking livery was to use the base model from those available and apply the texture from the flying version. But it is tricky and need some thinking. I am also not sure exactly what the AILGenerator exactly look at in respect of ICAO, id, atc etc, it is quite tricky to understand perfectly, It is described but not so easy to understand due to confusing interpretation of the aircraft.cfg

 I will need to dive deep in the manual. Will let you know if I succeed.

Åke

Share this post


Link to post
Share on other sites

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.


    9%
    $2,365.00 of $25,000.00 Donate Now
×
×
  • Create New...