Markito

Scenery configuration in P3Dv4

Recommended Posts

Hello Captains,

I migrated from FSX to P3Dv4 and I am having some scenery configuration issues. In FSX I was able as desired and almost without no restrictions to move up and down my scenery items, which is apparently not the case in P3D.

For example, I installed some FSDG freeware (Oresund, Cape Verde, Tromelin, etc.) items which can't be moved. I tried to group/move these with the most recent version of the Scenery Config Tool Software (version 1.1.9). After moving these items up and down with Scenery Config Tool, my scenery library was somehow messed up in P3Dv4. I had scenery items which originally couldn't be moved, nor edited together with - I think - exactly the same layers, but with a different name created by the SCT. Apart from that, whenever I want to refresh my Scenery Library, I receive the following message box:

Prepar3D has detected non-sequential layer ordering within the Scenery Library list. Would you like Prepar3D to attempt to repair the issue? Yes/No.

I clikced 'yes' the first time hoping that the issue would be solved. At the same time I put the previously backed up scenery config file back to the respective folder. However, whenever I install a new scenery item and when adding it manually to my Scenery Library the message still appears again and again.

There is obviously something wrong. Otherwise that irritating message would certainly appear never again.

Any help and support appreciated.

Nice flights,

Marco Furtado

Share this post


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

Hi Marco,

Grayed out sceneries in the Scenery Library within the sim are sceneries that are installed using the add-on.xml method; they cannot be moved around. I do not like this method at all, it's complex and confusing for many users and it's completely unnecessary in my opinion: the old scenery.cfg method was just fine and must be used by some scenery developers anyway because of the layering issue you just ran in to. I'm afraid it's not an easy task to solve your issue if you do not understand how the add-on.xml method works (which is understandable). The best thing to do (apart from uninstalling and reinstalling everything) is to uninstall all your add-on scenery, delete the %ProgramData%\Lockheed Martin\Prepar3D v4\scenery.cfg file, run and close the sim (this will create a new scenery.cfg file) and install your add-on scenery again.

Maarten

Share this post


Link to post

Marco,  I am about as far from an expert on this subject as it is possible to be, but there is another way. The Lorby-Si Addon Manager will enable you to position xml addons in your scenery library to your desired position. This is a freeware program available on the Lorbi-Si website:  http://lorby-si.weebly.com/downloads.html   I myself have used it with great success for this very purpose, as have many others who visit this forum.  It has a graphical interface which makes it really easy to use.

Good luck and Cheers,

Tom

 

 

  • Upvote 2

Share this post


Link to post

Hi Tom,

The Lorby-Si Addon Manager can certainly do that (just like my own SimLauncherX application), but the question is if it can fix the situation where Marco has ended up in. It's at least worth a try.

Maarten

Share this post


Link to post

Dear Maarten and Tom,

Thank you very much for your replies and suggestions. I am sure they will be very helpful once I am not an expert on editing xml-files neither.

I will try not to think about uninstalling every single scenery item and install it again. But if that is really necessary, I will certainly do so and follow Maarten's suggestion.

However, I would be very pleased if Tom's suggestion was a final solution to the issues I am facing now. Does LORBY-SI Addon Manager fix the situation I have described above? 

Thank you very much again.

Marco

Share this post


Link to post

Hi Marco,

That's difficult to predict, it all depends on how 'messed up' your situation is. You just need to try; if nothing works, reinstalling your add-on scenery or reinstalling everything is always an option. Lorby-Si's Addon Manager can certainly fix some issues. My own SimLauncherX application can also fix a number of scenery library issues.

Maarten

Share this post


Link to post

Hi Maarten (and also Tom),

I was able to establish my desired scenery library priorities with Lorby SI Addon Manager, but I still get the message "Prepar3D has detected non-sequential layer ordering within the Scenery Library list. Would you like ... bla, bla, bla...", in spite of having checked encoding errors, which have not appeared anymore.

Do you think that FSDG xml files are still responsible for that message?

Thanks again very much...

Marco

Share this post


Link to post

Hi Marco,

Yes, that could be the case, but it could still be something in the scenery.cfg file. To rule that out, you can PM me your scenery.cfg file and I will check it for you.

Maarten

Share this post


Link to post
Quote

I was able to establish my desired scenery library priorities with Lorby SI Addon Manager, but I still get the message "Prepar3D has detected non-sequential layer ordering within the Scenery Library list. Would you like ... bla, bla, bla...", in spite of having checked encoding errors, which have not appeared anymore.

Do you think that FSDG xml files are still responsible for that message?

Hi,

The nature of this "error" you see here is with P3Dv4 and how it is - in its' current version - evaluating the layer information of the add-ons listed in the scenery.cfg file and potential layer information being present in add-on.xml files. It is not something to do with FSDT scenery.

You will see this error as soon as one add-on is installed via the add-on.xml method. The scenery and everythign will work just fine. There is a post on the LM forums where one of the LM staff is responsing on the same question that they (LM) will look into changing this evaluation in a future version to make it not appear again. (I wanted to link to this post, but I could not find it anymore.)

 

One word to the usage of Lorby's tool (maybe the same is true as well for other tools that attempt to re-order the scenery layers).

I used that tool to re-order my addons for quite some time with mixed success. I was partially able to re-order the scenery but some titles would not nicely fit in and change their order or keep it whenever I wanted to push them up or down. Then, I installed OrbX vector and this screwed up my scenery order to a point that even the OrbX region entries where all over the place, i.e. in no obvious order anymore (when looking at the Scenery Library Editor). When looking at the add-on.xml files from e.g. FSDT or other scenery that made use of this method of registration I realized that most of them had the same layer number in the <layer> tag. This was definitely conflicting heavily with what the scenery engine could handle, thus the confusion in the Scenery Library Editor.

I was able to repair scenery configuration by manually removing all layer information from all add-on.xml files I had in the folder "C:\Users\me\Documents\Prepar3D v4 Add-ons". I kept it only for the airport altitude correction files from FSDG's add-ons (not FSDT!). Now every other addon installed via add-on.xml is above all my addons installed via the scenery.cfg file and in no particular order. I have since not attempted to reorder any entry with Lorby's tool.

Now, you can start asking, why LM did allow all this to happen ...? Well, we better ask them, and hope for the next version of P3Dv4 - which IMO is a great sim and I felt deeply in love with it - if there just would not be that unfinished business with the scenery registration....


Cheers
Frank

 

 

 

Share this post


Link to post
5 minutes ago, mdata said:

 

I was able to repair scenery configuration by manually removing all layer information from all add-on.xml files I had in the folder "C:\Users\me\Documents\Prepar3D v4 Add-ons". I kept it only for the airport altitude correction files from FSDG's add-ons (not FSDT!). Now every other addon installed via add-on.xml is above all my addons installed via the scenery.cfg file and in no particular order. I have since not attempted to reorder any entry with Lorby's tool.

Now, you can start asking, why LM did allow all this to happen ...? Well, we better ask them, and hope for the next version of P3Dv4 - which IMO is a great sim and I felt deeply in love with it - if there just would not be that unfinished business with the scenery registration....


Cheers
Frank

 

Since you took out the layer info from the addon xmls.. how do you deal with certain addons that need to go above others.. ie: there are some like the hawaii freeware's that certain islands need to go above others.. and the landclass at the bottom.. i'm doing this with a custom folder for addons and scenery and using the Lorby tool to move them up and down.. i also have ftx entries.. so far i'm just keeping everything above the ftx entries with the exception of maybe landclass (and i'm thinking of moving photoscenery addons just above this as well).

Share this post


Link to post

Dear all,

Thank you so much for all replies willing to help me with this issue. I am happy to have been able to reorder my SL priorities and not having to uninstall and reinstall every item again.

Nice flights to all of you.

Cheers,

Marco

Share this post


Link to post

Hi Marco,

I'm glad you were able to get everything working again!

i agree with Frank: the whole add-on.xml thing has not been thought over very well by LM. It's unnecessarily complex (configuration files all over the place) and reordering layers is nearly impossible. Some sceneries simply need a specific order and the only way to do that (apart from processing all those configuration files in an installer...) is by using the scenery.cfg file, defeating the purpose of using add-on.xml files. It's also a nightmare for addon developers like myself that need to build a database of airports, navaids, aircraft etc.. Funny enough some people seem to think that using add-on.xml files is better than using the scenery.cfg file and start to convert everything. There's absolutely no need to do so, unless the scenery uses things like e.g. effects or sounds.

Just about the only person in our community that is in favor of the new method, is mr. FlyTampa (aka Virtuali). For someone making airport sceneries only it's indeed a nice solution, but not for the rest of the community I'm afraid.

Maarten

  • Upvote 1

Share this post


Link to post
Quote

Since you took out the layer info from the addon xmls.. how do you deal with certain addons that need to go above others.. ie: there are some like the hawaii freeware's that certain islands need to go above others.. and the landclass at the bottom.. i'm doing this with a custom folder for addons and scenery and using the Lorby tool to move them up and down.. i also have ftx entries.. so far i'm just keeping everything above the ftx entries with the exception of maybe landclass (and i'm thinking of moving photoscenery addons just above this as well).

I think this can be achieved by combining the parts needed by an addon in one XML file. E.g. by adding one <AddOn.Component>... </AddOn.Component> entry for each required item (landclass, airport, etc). I assume the order in the XML is used as the order of loading the respective entry.

 

Quote

i agree with Frank: the whole add-on.xml thing has not been thought over very well by LM. It's unnecessarily complex (configuration files all over the place) and reordering layers is nearly impossible. Some sceneries simply need a specific order and the only way to do that (apart from processing all those configuration files in an installer...) is by using the scenery.cfg file, defeating the purpose of using add-on.xml files. It's also a nightmare for addon developers like myself that need to build a database of airports, navaids, aircraft etc.. Funny enough some people seem to think that using add-on.xml files is better than using the scenery.cfg file and start to convert everything. There's absolutely no need to do so, unless the scenery uses things like e.g. effects or sounds.

IMO LM needs to create an interface and engine that is either able to manage both addon registration facilities. Or they must force all developers (as well OrbX ...!) to start registering their addons via the new XML method.
Somehow I sense LM wants to get everybody out of the classic configuration files sooner or later. But I cannot imagine that LM would then leave developers and end users without a tool to specify layer information - getting this right is too important for the proper functioning of the world layers.
I have thought about how this tool and the engine could look like (from the naive perspective of an end user) but came back only with the idea of centralizing the scenery information again.
At the end, like you say Maarten, the developer knows best which parts of his scenery need to go above which. And the end user must be made aware of where these part in the scenerey library may or must not go. There is so many different permutations of scenery on end users' computers that I cannot imagine an automatism would be able to get scenery perfectly in order when adding addon after addon. So, the end user must be able to reorder scenery and LM must provide a tool for it whatever method for scenery registration they will prefer at the end.

Best Regards
Frank

 

Share this post


Link to post

Let's see what LM will provide to solve issues like these - and other ones (like for example the exaggerated stuttering when dynamic lighting is turned on during night flights).

Thanks again to each one of you...

Best wishes and nice flights,

Marco

Share this post


Link to post

Lord, I hope this situation gets straightened 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