topspin411

Reading Wrong ADE file

Recommended Posts

Hello all, im hoping someone can help with a problem i am having. i am trying to use Imaginesim's KATL with P3Dv4. my problem is that even though the scenery loads properly, the airport KATL_ADEX_ADE.bgl file does not load. when i look into which ADE file the sim is reading, its APX25500 which is the default atlanta scenery. when i attempt to load a flight and start at imaginesim's KATL, the only options i have for the initial parking spot are "Active Runway" and "Tower Controller". if i choose active runway, the sim loads right in the middle between terminals. i have tried uninstalling, reinstalling and all that several times. i am making sure that i am using the version for P3Dv4. i also contacted the developer who attempted to help me but in the end could not figure out why my sim is loading the default KATL.bgl and the imaginesim buildings. if anyone as any ideas, please help me. thanks everyone.

Share this post


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

It is perfectly reasonable that all the scenery would work except the airport bgl because in most payware scenery products the airport bgl provides no scenery but only stuff like airport info, parking, start spots, and paths for AI aircraft.  It's not needed for the scenery to appear and look good.  Maybe there is a problem with the KATL_ADEX_ADE.bgl file.  Can you open it with ADE (Airport Design Editor)?

Share this post


Link to post

Hey Dan,

thanks for your reply. i completely get it that the scenery loads fine but seems something is wrong with the airport bgl file, but not sure how to fix it. ive downloaded and tried the airport BGL's from the Lospec, Hispec, and p3dv3 versions, with not luck. i can open it in ADE as well. 

Share this post


Link to post

Man, that's a problem I've not run into before.  I've had problems with GSX switching to new AFCAD but this is P3D that is not recognizing the file.  So how do you "look into which ADE file the sim is reading?"  Also, how is the airport installed?  I installed Imaginesim KATL the same week I installed 80 other airports and have no memory of how their installer did things.  I've got it set up with the KATL files in my addon scenery location on a separate drive and I am using an add-ons.xml file in the addon documents folder.  I think I have three of theirs, not sure, no problem with them for past couple years.

Share this post


Link to post
On 8/7/2017 at 5:02 PM, topspin411 said:

i can open it in ADE as well. 

Have you tried recompiling the file with ADE?

Share this post


Link to post

It sounds to me like P3D is not prioritising the ImagineSim AFD file over the default one. How exactly does P3D v4 prioritise scenery packages? I have been told that the new XML based system does not allow the user to change the order of the addons in the Scenery Library, so could this be having an unfortunate effect? I would have thought that the ImagineSim addon should automatically exclude the default airport. Is it confirmed as fully P3D v4 compatible?

Share this post


Link to post
On 8/7/2017 at 1:24 PM, topspin411 said:

...when i look into which ADE file the sim is reading, its APX25500 which is the default atlanta scenery. 

How did you determine this? Did you check to see if you have another 3rd party version of KATL installed? Use Simple Airport Scanner and see what you find.

http://www.scruffyduck.org/simple-airport-scanner/4584282795

 

 

Share this post


Link to post
5 hours ago, Christopher Low said:

It sounds to me like P3D is not prioritising the ImagineSim AFD file over the default one. How exactly does P3D v4 prioritise scenery packages? I have been told that the new XML based system does not allow the user to change the order of the addons in the Scenery Library, so could this be having an unfortunate effect? I would have thought that the ImagineSim addon should automatically exclude the default airport. Is it confirmed as fully P3D v4 compatible?

You have a wrong impression of how they xml addons are layered.  Any afcad placed anywhere above the default world will override the default airport and all developers use various terrain polys for airport backgrounds, landclass and autogen exclusions, etc.  There's no magic to it. This brings us to the question that I and Jay are asking, "how did you determine the new afcad was not in use?"  Most likely he may have looked on the GSX Configure Parking UI, which can be easily in error if its cache is outdated.  Having not heard from OP I assume his problem cleared itself up.

Share this post


Link to post

Dan is correct about the so-called layering. Further, the add-on.xml method for scenery components is no different than what is used to prioritize items in scenery.cfg. Just like in scenery.cfg, an add-on.xml for a scenery component can also have a layer entry. Most developers leave that out, because they don't want to bother to parse through both add-ons.cfg and scenery.cfg to see where their specific scenery item should sit. So they just leave the layer entry out and hence, the last item added to the sim by an installer has the highest priority.

http://www.prepar3d.com/SDKv4/sdk/add-ons/add-on_packages.html

I think where some people run into conflicts in their scenery library is where there is more than one version of a third party airport installed. Sometimes, this situation is not obvious, for example in the case where My Traffic 6 has by default, installed thousands of updated ADE files. What ends up happening is that both airport versions have a Delete Airport entry and also various rectangular and polygon exclusions. Each version might also have its own collection of library BGL files full of objects and the placement of such objects may also lead to odd visual results.

Share this post


Link to post

Hi guys. Sorry for the delayed response. I'm on the road for work. To answer the questions y'all asked, I tried several different ways to install the scenery. I tried installing to a different folder than the installer would do on its own. I also tried installing it without changing the scenery path during the installation. I tried changing the scenery priority through the sim's scenery library, as well as through two other third party software and can confirm that the scenery was at the top of the list with the other add on sceneries I have. The reason I know it's installed correctly is that the rest of the airport scenery is displaying as it should. Also, inaginesim KATL is the only third party KATL that is installed.

As to how I determined the ade bgl that is being read, I have FSCommander 9 and there is a feature that allows me to pull up information on an airport in the sim (such as ils frequencies, runway lengths, runway type, etc) and one of the things it lists is which file is being read for that airport. I haven't tried recompiling the ade bgl yet, but I will when I get home. That wouldn't fix tho the fact that I've tried with four different ade files (hispec, lospec, original imaginesim ade, and p3dv3 ade) and still it doesn't read it. However, thank you guys for trying to help me so far. I very much appreciate it.  

Share this post


Link to post

I should also  mention that this happened only recently, as if the file got corrupted suddenly, because it used to work just fine. That is why I tried uninstalling and reinstalling and all the different things I could think of. 

Share this post


Link to post

I have no idea what FSCommander is and don't have an interest in it; however, is it possible that FSCommander is the problem? Also the second question is what happened recently? What changed? Was it working then stopped working? Have you gotten the latest version of simple airport scanner and ran it to see what other airport bgls may exist?

Share this post


Link to post

Fscommander is just a flight sim planner and map app. It is not the problem, as the KATL doesn't work even when fscommander is not running. Im not sure what caused it stop working. It was working, because I have flown into the katl since during the last month.  I have not gotten simple airport scanner because I'm on the road for work, but I can when I get home tomorrow. Thanks again. 

Share this post


Link to post

ive been experimenting all afternoon...i think the problem is the imaginesim scenery is not showing up in the add on xml list. ive used P3D Addon Organizer and scenery config editor. no luck.

Share this post


Link to post
57 minutes ago, topspin411 said:

ive been experimenting all afternoon...i think the problem is the imaginesim scenery is not showing up in the add on xml list. ive used P3D Addon Organizer and scenery config editor. no luck.

That shouldn't be too hard to fix. If the airport's add-on.xml file is in a subfolder under:

C:\Users\<username>\Documents\Prepar3D v4 Add-ons

P3d will find it automatically. On the first P3d start after installing a new component, P3d will display a dialog box asking if the add-on should be used. If the add-on.xml file is located somewhere else, P3d obviously can't add it automatically, so the add-on's installer has to modify the file  add-ons.cfg. There are two versions of this file and both work identically. They are located at:

C:\ProgramData\Lockheed Martin\Prepar3D v4

and

C:\Users\Jay Bloomfield\AppData\Roaming\Lockheed Martin\Prepar3D v4

Try checking all this out.

Share this post


Link to post
On 8/11/2017 at 9:10 PM, jabloomf1230 said:

That shouldn't be too hard to fix. If the airport's add-on.xml file is in a subfolder under:

C:\Users\<username>\Documents\Prepar3D v4 Add-ons

that file was not in that folder. the only files in that folder were add-on.xml.orig and add-on.xml.PSSCBAK. 

 

On 8/11/2017 at 9:10 PM, jabloomf1230 said:

There are two versions of this file and both work identically. They are located at:

C:\ProgramData\Lockheed Martin\Prepar3D v4

and

C:\Users\Jay Bloomfield\AppData\Roaming\Lockheed Martin\Prepar3D v4

i found the two files but they were different when i opened them. the first file was blank when i opened, and the second had a FSDT entry and a FSUIPC entry

Share this post


Link to post

The two copies of add-ons.cfg are supposed to be different. Anyway, run P3d and go to the Options menu, then the Add-ons... submenu. See if the add-on's checkbox is set to be active. If the airport is not in the list then the airport's installation program is not working properly. Make sure you have the most recent version of the airport's installation program, are running the setup program "as administrator", all anti-malware apps are temporarily disabled and the target sim is set to P3d v4.

Share this post


Link to post

i have done that. its been in the list and checked. ive run the installer in admin mode several times too. anti virus was disabled and all as well. im in the process of uninstalling and reinstalling all my add on sceneries so hopefully something there will make it work again. 

Share this post


Link to post

If all else fails, try downloading another copy of the airport's setup program.

Share this post


Link to post

unfortunately, i have downloaded it several times and even reached out to them. they cannot figure it out either

 

Share this post


Link to post

I have been quiet lately partly because I don't understand your problem.  Reading the wrong AFCAD is where we started a few days ago but now the problem seems to be an install that doesn't work?  You are using the AddOn Organizer and you may not have an understanding of how it works.  Regardless, the Imaginesim installer has no knowledge of the AddOn Organizer so you are mixing two install strategies and I'm not sure  how to advise you.  If you have a good understanding of how to manually add a scenery addon it would be much easier to explain.  On my own, I install stuff from developers like Imaginesim and then modify their installation to match the method I want to use.  Instead of using a tool like AddOn Organizer, which is a very good tool (I've tried it), I prefer to edit and manage my own add-on.xml files.  Yes it took time to figure things out, and Lordy was instrumental in my education, but once understood it becomes pretty easy.  Managing my own configuration rather than automating it means I'm likely to solve installation problems very quickly.

I recommend you use the P3D SDK and read the AddOn section.  Then create your own addOn folder and xml file to add the Imaginesim product.  I think there are a half dozen threads here and elsewhere on how to do this... it's worth the effort.

Share this post


Link to post

i appreciate the feedback. i've really never had any trouble installing scenery since FS9, but i think you're right that with the way P3Dv4 handles installs, it would be worth it to learn more about it. i honestly thought that i did have a good idea of add on scenery installation, but clearly i have holes in my knowledge! :)

Share this post


Link to post

Did you ever get it to work? I installed this scenery today, and I'm having the same problem. There is AI or ATC at the airport, and the aircraft behaves as if its off road.

Share this post


Link to post

Still can't get this to work. I have the scenery installed to a folder outside of Prepar3D and an add-on.xml file located under my documents and P3Dv4 add-ons. I have tried to create this add-on.xml file manually and with AddonOrganizer and each time I get a question when I start up P3D if I would like to activate it. But still, only then buildings are working, not the ADE-file.

Looking at the add-ons in the options menu, I can see scenery is listed and active.

One thing I did notice though. All the other sceneries with an add-on.xml file also have two other files called add-on.xml.orig and add-on.xml.PSSCBAK. I do not have those two files for the KATL scenery.

I have tried to reinstall several times, each time deactivating the anti virus and installing as administrator.

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