@BMW969
May be you got me wrong!?
Because I tried it with two airports and it is working.
Changing the “modelLib.BGL” name to e.g. LOWK_modelLib.BGL in the layout.json file and then
changing the name in the scenery/global/scenery folder also to LOWK_modelLib.BGL made the two airports showing up correctly.
Think ScottMDA is talking about doing it as a user rather than a developer. Agree that this would only be a “temporary” fix until the addon dev changed the original but would resolve the conflicts that are being referred to.
But don’t you have to keep all text to lower case? Think using LOWK (upper case) may cause other problems? Just a thought.
Would be nice if asobo came out and shared this info with people in the sdk ,so we had some official word that so and so is required. Surely it would be really easy and reduce issue’s.
I beg to disagree - the proper solution to this problem is for Asosbo to change the core engine and SDK such that it is impossible for the SDK to produce conlicts.
Of course there will always be the case where two addons try to edit the same object or region but this is, and always will be, a user issue to sort out. What Asobo need to do to faciliate this is to code in a well defined, well documented addon priority system.
I just checked my files using MSFS Addons Linker - Check Addon tool and I have 80+ addons that are using modelLib.BGL. Is there a script available or program (total commander?) that would let you change names of the files and the entries in the layout.json in one batch?
I don’t think that’s true as a cause. The MSFS, like all its predecessors, searches for the GUID and this is unique if you do not use the same one in several sceneries. Names are smoke and mirrors in FS
MSFSLayoutGenerator worked like a charm. I managed to rename all my addons in less than 10 minutes.
I used total commander to find all modelLib.BGL files (branch view option) and after batch renaming them (I added counter 1_modelLib.BGL, 2_modelLib.BGL, …) I dragged the layout.json files onto closed MSFSLayoutGenerator.exe one by one (I’m lazy and I couldn’t be bothered with the .bat file).
I have developed a small app on the fly. ModelLibChanger scans your community folder for the wrong modelLib.BGL and offers you the possibility to rename them and adjust the layout.json at the same time. I tested this with a few airports and landmarks, but I can’t guarantee that it works with all (wrong) add-ons. Backup your community folder before using.