Author Topic: GSX loading wrong AFCAD (FSX) **SOLVED**  (Read 5221 times)

SkaN

  • Newbie
  • *
  • Posts: 3
GSX loading wrong AFCAD (FSX) **SOLVED**
« on: January 18, 2019, 06:04:23 pm »
Hello,

Before I start this topic, I searched on forum to see if there was any solve for my problem. I "installed" a LEBL scenery (https://library.avsim.net/esearch.php?DLID=208309) by the same way I always do to this type of scenery:
 1 - Go to FSX/Addon Scenery folder
 2 - (In this example) Create Barcelona (LEBL) folder (FSX/Addon Scenery/Barcelona (LEBL))
 3 - Create scenery folder (FSX/Addon Scenery/Barcelona (LEBL)/scenery)
 4 - Move the bgl files inside the scenery folder
 5 - Open FSX and add the scenery (always on top of the list)

(Attached, print1 and print2)

When I choose the airport and the gate to start the flight, all gates are there (the "real life" ones). After gsx loaded the airport cache, I press Shift+Ctrl+F12 and the gates are the default. I think this happened already with other airports. I check the airport editor and looks like the AFCAD file loaded is not the correct one.
In the log file looks like the wrong file is being loaded: "Loading airport LEBL from C:\Program Files (x86)\Steam\steamapps\common\FSX\Scenery\0602\scenery\APX48170.bgl".

Can I get some help? Because there is no gates available in LEBL because of the AFCAD file. Sorry for my bad english.
« Last Edit: December 02, 2019, 02:40:34 am by virtuali »

flyboy05

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #1 on: November 28, 2019, 05:01:30 am »
yes there is a fix for this. i will look for the forum post to link it here. im getting the same issue and i fixed this before. just forgot how to do it.

flyboy05

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #2 on: November 28, 2019, 05:38:39 am »
found it. check the link.

basically you need to increase the value for larger airports

airportCacheMaxBGLSizeBytes = 4000000 change this number to a larger value like 100000000

this can be found in the apps folder C:\Users\<your username>\AppData\Roaming\Virtuali

open the config file Couatl.

Mine reads like this,

airportCacheOptimizeSearch = 1
airportCacheMaxBGLSizeBytes = 100000000
logFile="C:\Users\JeanCarlos\AppData\Roaming\Virtuali\Couatl.log"




http://www.fsdreamteam.com/forum/index.php/topic,16598.msg118066.html#msg118066

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #3 on: November 29, 2019, 07:07:13 pm »
I have no effect. Please help
Log attached.
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX loading wrong AFCAD (FSX)
« Reply #4 on: November 29, 2019, 07:18:34 pm »
I have no effect. Please help Log attached.

- Your log show you haven't changed the airportCacheMaxBGLSizeBytes parameter as explained above, because is still using the default value of 2MB.

Quote
excluding files larger than 2000000 bytes


- Your log shows GSX is reading a lot of sceneries.

- You haven't said which airport you have a problem with, so it's not very easy to help you, looking the log.

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #5 on: November 29, 2019, 07:33:38 pm »
I am very sorry, I've posted a wrong log. Here is the correct one.
The problem occur with LEBL, Barcelona.
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX loading wrong AFCAD (FSX)
« Reply #6 on: November 29, 2019, 10:38:59 pm »
The problem occur with LEBL, Barcelona.

Again, it's impossible to help you with so sparse information. Which LEBL scenery ? Where is installed ? Is installed with an add-on.xml or in the scenery.cfg ?

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #7 on: November 30, 2019, 06:31:40 am »
Which LEBL scenery ? Where is installed ?

D:/FSX/aerosoft/Mega Airport Barcelona X

Is installed with an add-on.xml or in the scenery.cfg ?

add-on.xml I guess.

Again, it's impossible to help you with so sparse information.

I really don't know what information you need.
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX loading wrong AFCAD (FSX)
« Reply #8 on: November 30, 2019, 01:55:30 pm »
add-on.xml I guess.

Ok, I see you use FSX ( always tell your configuration, it saves everybody time ), so there's no add-on.xml involved. In this case, it would be a problem in your scenery.cfg

- Go to this folder:

%PROGRAMDATA%\Microsoft\FSX

You have a scenery.cfg file there, don't touch it or open, but ZIP it and Attach it to a post, so I can have a look at it.

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #9 on: November 30, 2019, 03:19:27 pm »
%PROGRAMDATA%\Microsoft\FSX

You mean C:/Users/Username/AppData/Roaming/Microsoft/FSX ?
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX loading wrong AFCAD (FSX)
« Reply #10 on: November 30, 2019, 04:10:32 pm »
Quote
You mean C:/Users/Username/AppData/Roaming/Microsoft/FSX ?

No, I meant exactly what I wrote:

%PROGRAMDATA%\Microsoft\FSX

FSX has TWO copies of scenery.cfg and, the one under %APPDATA% is the default FSX would revert back to, in case the original would be lost, but no 3rd party sceneries should go there, since they won't be used by the simulator from there. In fact, I see you have one addon scenery there, which is a mistake, but it's not a serious issue, I guess you have another copy of it in the other scenery.cfg

The simulator will ONLY use the one in %PROGRAMDATA%, that's why I need to check that.

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #11 on: November 30, 2019, 05:10:38 pm »
No, I meant exactly what I wrote:

%PROGRAMDATA%\Microsoft\FSX

I'm very sorry for being so stupid.
Here is the right scenery.cfg
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit

IgorMos

  • Newbie
  • *
  • Posts: 6
Re: GSX loading wrong AFCAD (FSX)
« Reply #12 on: December 01, 2019, 08:51:05 pm »
Latest FSDT Live Update seems to have fixed the problem. Thanks to all involved!
FSX
Intel Core i5-6500
8 Gb RAM
NVIDIA GeForce GTS 450 1 Gb GDDR5
Windows 7 Professional 64 bit