Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Prepar3D Addon Organizer 1.00 released

Featured Replies

I have been a firm user of Scenery Config Editor up until P3D v4. I still use it to add bulk scenery as your program does not handle this. By doing so, I have created a monster. It seems there is no single configuration file tracking layers, thus your program assigns a layer and SCE also assigns a duplicate layer causing duplicates. Since your program seems to read in both from the add-ons.xml and the scenery.cfg files, can you add a module to renumber sequentially the layers to prevent/correct this?

  • Replies 41
  • Views 5.8k
  • Created
  • Last Reply
  • Author
  • Commercial Member
2 hours ago, BBQSteve said:

I have been a firm user of Scenery Config Editor up until P3D v4. I still use it to add bulk scenery as your program does not handle this. By doing so, I have created a monster. It seems there is no single configuration file tracking layers, thus your program assigns a layer and SCE also assigns a duplicate layer causing duplicates. Since your program seems to read in both from the add-ons.xml and the scenery.cfg files, can you add a module to renumber sequentially the layers to prevent/correct this?

Hi,

layers are renumbered automatically when you press "Up" or "Down" (once is enough). But I admit not having tested this with a "broken" scenery.cfg that has duplicate layers.

Other than that, the external addon configurations and the scenery.cfg are allowed to and will have duplicate layers, that is just how it works. An external addon with the same layer number takes precedence over the entry in the scenery.cfg. Otherwise you would have "gaps" in the scenery.cfg which constitutes and error for the sim.

Best regards

LORBY-SI

Thanks for the response, however, I am not sure about your "broken" remark. I do not have duplicate layers in my .cfg file as SCE has a great utility for sorting things out. What I do have, and your program bares things out, is the same layer number in the .cfg file as ones in the add-ons.xml file, not one and the same. When you exit the P3D v4 scenery library with an "ok" you get the duplicate layer error and it asks if you want to fix it. In my case answering yes causes a crash, I believe a known problem. Apparently the up and down buttons do not sort the .xml file layers as you can see the duplicates when you click on the entry.

I just thought you could provide a easy method to sort and save those files so duplicate layers could be prevented. In any case thanks for the organizer. Do you think you could provide a batch processor so you could point the organizer to a directory and have it add the scenery in that directory as well as a single scenery add?

 

  • Author
  • Commercial Member

Hi,

having the same layer number in the scenery.cfg and an add-on.xml is the normal state, not an error. It can't work any other way, as you cannot leave a gap in the layer numbering of the scenery.cfg. If you get an error message in P3D, I think that there must be some other issue.

Batch: what would be the result of that batch operation? A single add-on.xml file with multiple sceneries in it? The problem here is to first identify the scenery folders, and then to sort out the strange issue that sometimes sceneries can be handled as a scenery area (targeting the top folder above Scenery and Texture), and sometimes they don't, and have to be added separately. The program cannot do this for you, so I probably would always have to go the latter route - which will clutter up the contents of the XML files quite a bit.

Best regards

LORBY-SI

No, I was thinking more on the line of reading the files in and renumbering the [area.xxx] and layer=xxx sequentially in both scenery.cfg and add-ons.xml so there were no duplicates. However if as you say one over-rides the other, the point is mute. On the other hand, if you have some free time................

Thanks for the responses.

  • Author
  • Commercial Member
8 hours ago, BBQSteve said:

No, I was thinking more on the line of reading the files in and renumbering the [area.xxx] and layer=xxx sequentially in both scenery.cfg and add-ons.xml so there were no duplicates. However if as you say one over-rides the other, the point is mute. On the other hand, if you have some free time................

Thanks for the responses.

Hi,

then I'm afraid that I don't really understand the request.

1. This is how it works:

...
scenery.cfg layer 152
addon.xml layer 153
scenery.cfg layer 153
scenery.cfg layer 154
...

 

2. This is wrong and the simulator will refuse it:

...
scenery.cfg layer 152
addon.xml layer 153
scenery.cfg layer 154
scenery.cfg layer 155
...

 

The only way left for automatic renumbering is to rearrange the complete library, so the scenery.cfg comes first, sequentially numbered, and then the addon.xmls are layered on top of that. So you would never be able to insert an addon.xml inbetween two scenery.cfg layers.

What the P4AO does is, that it automatically renumbers all scenery elements so the numbering is consistent, meaning sequential in the scenery.cfg and the addon.xml layered according to their position in the library.

Best regards

LORBY-SI

Learning something new. Ok, so why does the scenery library balk about scenery layers being out of order on exit? Just to make sure we are clear about the two files:

 

Layer 248 in .cfg = 29Palms

Layer 248 in .xml = KSAN

Layer 249 in .cfg = KPHX

Layer 249 in .xml = KSFO

ETC.

This does not represent a discrepancy in the scenery layering in the library?

 

Thanks for your patience.

  • Author
  • Commercial Member
3 hours ago, BBQSteve said:

Learning something new. Ok, so why does the scenery library balk about scenery layers being out of order on exit? Just to make sure we are clear about the two files:

 

Layer 248 in .cfg = 29Palms

Layer 248 in .xml = KSAN

Layer 249 in .cfg = KPHX

Layer 249 in .xml = KSFO

ETC.

This does not represent a discrepancy in the scenery layering in the library?

 

Thanks for your patience.

Hi,

IMO this layer sequence is correct.

That is why I suspect that there must be something else going on in the scenery.cfg. Doesn't P3D tell you what exactly the problem is?

Edit: please check this parallel thread. I think that the message with the non-sequential layering might be a bug in P3D.

https://www.avsim.com/forums/topic/514839-addon-organizer-and-layer-numbers/

Best regards

LORBY-SI

Well it certainly appears to be that way from what our experience has been. Let's hope they answer the mail and either fix the problem or as I asked for, their own version of scenery layering.

Thanks for your assistance and stick-to-it-tiveness! will be following these threads for the answer. 

Thank you for coming to our aid with the only tool that does both add-on.xml and scenery.cfg.

 

Is there a way to select multiple airports for enable/disable?

Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

  • Author
  • Commercial Member
On ‎19‎.‎07‎.‎2017 at 2:12 AM, ahuimanu said:

Is there a way to select multiple airports for enable/disable?

Sorry, no, there isn't. The Windows Forms treeview has checkboxes as the only means for multiselect, but handling these is awkward. So I thought that when you have to click once on every entry anyway, you can doubleclick too, and be done with it...

Best regards

LORBY-SI

Thank you Oliver, I understand.  A very useful tool.

Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.