• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 HF2 libraries

LOM is the original (full-featured) tool for creating 3D model libraries. :wizard:

If you want to use custom objects in libraries then don't load them into the project to be read by the User Model Manager. put them directly into a library outside ADE and load that library into the LOM.


Absolutely not. ADE does not and never has created libraries. The library has to be created outside ADE using a tool like MCX. This can then be added to the LOM. BUT that does not load the actual model into ADE but just data about it.

I am somewhat confused here since ADE has always worked by importing the data about a library and nothing has changed. The only technical difference is that models are glTF and not mdl format.

Hi Jon:

I am referring of course, to the original FS9 LOM which had a full feature set for import and export of scenery object libraries.

While the name "Library Object Manager" aka "LOM" was retained as ADE evolved, I understand LOM in ADE works different than FS9 LOM.


AFAIK, this thread seeks to clarify how to place glTF 3D scenery models from a Library that does not itself contain placement code., without that library (containing 3D models) needing to be included in each package where such library objects are to be used.

IIUC, if we are unable to re-use 3D models from a BGL or CGL loaded elsewhere via a package in MSFS' Community folder, MSFS will bloat, startup times increase, and system resource usage will become unmanageable, potentially impacting run time FPS.

The SDK alludes to scenery object libraries as available to MSFS' VFS via either an airport or a POI; ...are these 3D models then geo-locked ?

If not, those libraries may be used elsewhere, and ADE's LOM may serve as a master list of what is 'available' to place via their GUIDs.

But how does one know whether objects in ADE's LOM list are already / still available to use via a package entered in MSFS' VFS ? :scratchch

How do we avoid redundant glTF 3D model library objects in packages, when we only wish to "Read Once / Write Many" ? :oops:


Thanks in advance for your further clarification of this process. :)

GaryGB
 
Last edited:
I have completely lost the plot of what this is about along with another topic on an almost identical subject. However, as my sanity slips away, I am going to make one last post and I am going to talk about Library Objects and Custom Objects

First the general principle is the same going back to FSX (and probably FS9) although naturally MSFS makes it seem different

Custom Model is added to a single project and built with the project. It SHOULD NEVER be added to a library nor should it ever be used in more than one project. If the custom model looks useful for more than one project then it should be removed from the project and added to a library. The reason is that MSFS makes it easy to use the models in several places with the same GUID. Although this no different than FSX where custom models (mdl files) could be added to multiple projects. The model and the placement data are in the same project

Library Object is added to a library which means it can be used in multiple projects. Libraries should not have placement date in them. That is library objects should not be in the same bgl file as their placement data (OK spare me geo-locking)

object used in single project = Custom Model
object used in multiple projects = Library Object

Now to ADE

Custom Model added to one project please > built in project > managed via the User Model Manager > Placed via Right Click > Add Model Actual Model resides in the project package. Placed in one project

Library Model added to library [some XML amd a bunch of models compiled together] > Built by external tool such as MCX > Managed via the LOM > Placed via Right Click > Add Library Object. Actual Model resides in Object Library Bgl. Placed in many projects

It occurred to me that I should also refer to the term User Model since ADE has a misnamed (soon to be changed) User Model Manager. It's a pretty useless name but I guess it means models made by the user - that is the author and not the function. So a user model can be used as a Custom Model if it is designed for a single project or a Library Object if it goes into a library. I am personally going to stick to Custom and Library from now on

How do you add a model to a library so it can be used in the LOM - not with ADE but with an external tool such as MCX
 
Last edited:
if we are unable to re-use 3D models from a BGL or CGL loaded elsewhere via a package in MSFS' Community folder, MSFS will bloat, startup times increase, and system resource usage will become unmanageable, potentially impacting run time FPS.

That's why we should use libraries
 
Hello:

[MSFS SDK 0_14_0_0 install path]\Samples\ ...does not provide a "Simple Scenery Object Library" worked example.


So, in the 'quest' to find an example of how to create a MSFS Library BGL, I found this info:


Sean had asked Arno what his plans were with regard to LibraryCreatorXML:



Dick had posted this example using FSX Compatibility Mode:



IIUC, Dick used MCX' Batch Convert on FSX default source *.BGLs with *.MDLs in FSX Compatibility Mode as output format ? o_O

If so, could we instead use MCX to Batch Convert MSFS *.MDLs in FSX Compatibility Mode to glTF format ? :idea:


There appears to be a Scenery Object Library in MSFS that also uses FSX Compatibility Mode, as MCX imports it via "BGLXReader":

[MSFS-2020_Packages install path]\Official\OneStore\fs-base\scenery\Global\Asobo_Props\Asobo_Props.BGL

Perhaps we may use MCX to Batch Convert these MSFS' *.MDLs in FSX Compatibility Mode into glTF format ...like this ? :rolleyes:

mcx_batch_convert_msfs_asobo_props_bgl-jpg.76384


We'd still need a utility (in lieu of manual coding), to create a folder structure and XML for a non-airport / non-POI package ? :oops:


IIUC, *.MDL or *.glTF libraries can be loaded into ADE-LOM, and 'placed' via ADE Work-space > Right Click > Add Library Object ? :scratchch

GaryGB
 

Attachments

  • MCX_Batch_Convert_MSFS_Asobo_Props_BGL.jpg
    MCX_Batch_Convert_MSFS_Asobo_Props_BGL.jpg
    51.5 KB · Views: 486
Last edited:
Just to put my "two bob's worth in" (although I did not read everything in the past two or three posts as my head started to hurt o_O)

I too thought that LOM seems 'different' to what it used to be and there now is the UMM (replacing User Models?). I am now wondering is this because the way that MSFS2020 has 'evolved'.

In any case I DO see scenery objects 'distributed' packaged in a .bgl which I guess is a 'library' and that ADE has never able to produce such a .bgl (which can be shared between different projects).

I posted a question on the Model Converter X forum asking if MCX could be used to create an MSFS (scenery objects) library and Arno replied that it can't but also "but you need to use the packager tool that comes with MSFS".

This is named FSPACKAGETOOL and is in MSFS SDL\TOOLS\BIN.
It (seem to be) can only be run in a CMD window (not surprising) and I have found the following YouTube video which I have yet to watch.
MSFS SDK Tutorial - How to build your packages outside of the sim.

I hope this is of help to anyone wanting to create a scenery library that they can distribute.
 
Just to put my "two bob's worth in" (although I did not read everything in the past two or three posts as my head started to hurt o_O)

I too thought that LOM seems 'different' to what it used to be and there now is the UMM (replacing User Models?). I am now wondering is this because the way that MSFS2020 has 'evolved'.

In any case I DO see scenery objects 'distributed' packaged in a .bgl which I guess is a 'library' and that ADE has never able to produce such a .bgl (which can be shared between different projects).

I posted a question on the Model Converter X forum asking if MCX could be used to create an MSFS (scenery objects) library and Arno replied that it can't but also "but you need to use the packager tool that comes with MSFS".

This is named FSPACKAGETOOL and is in MSFS SDK\TOOLS\BIN.

It (seem to be) can only be run in a CMD window (not surprising) and I have found the following YouTube video which I have yet to watch.


MSFS SDK Tutorial - How to build your packages outside of the sim.

I hope this is of help to anyone wanting to create a scenery library that they can distribute.

Hi John:

Sorry I overlooked mentioning your pertinent thread cited above, which, BTW ...is here:


GaryGB
 
This is named FSPACKAGETOOL and is in MSFS SDL\TOOLS\BIN.

This is exactly what ADE uses to build projects.

And at the risk of suggesting y'all read the manual Check section 17 or search for Building Libraries in the online help. www.scruffyduck.org.uk/ade_2020_help

1629955639112.png


I have not suggested this before since it is an untested fudge but probably works and may break the log jam of this topic
 
Last edited:
I have yet to 'wander though' the new online documentation (I hate reading docs online and often print them out and even sometimes have them bound but I can't see a way to print this one)
 
On-line documentation is much easier to keep up to date and ensure everyone is reading the same most up to date information. Try this https://www.fsdeveloper.com/forum/threads/test-please.453439/

I believe these can be printed if necessary but as I say the documentation is changing rapidly. I am going to maintain the on-line and chm documentation since I can create them both from a single source.
 
I fully understand that but I don't think that I can print out from a .chm file.
I guess I possibly know all that I need to know and release notes will keep me up to date with changes.
 
Release notes are being phased out. I can probably generate a pdf of the help Also I have been able to print sections of the chm file using the Print button

1629961060043.png
 
Yes Jon. I should have qualified my response by stating that I can print out sections (selected) but not the entire document.
I have just 'googled' and got some 'hits' including a file CHM2WORD which says its free but when it is run it asks for a 'pin' which is only obtainable if you pay. I hate those programs as they should not list them as free as it only means free to download.
I tried the other hits but they were for earlier versions of Windows and IO came across 'you do not have permission' when attempting to open folders referred to even as an administrator - grrr!
 
Last edited:
This is exactly what ADE uses to build projects.

And at the risk of suggesting y'all read the manual Check section 17 or search for Building Libraries in the online help. www.scruffyduck.org.uk/ade_2020_help

View attachment 76385

I have not suggested this before since it is an untested fudge but probably works and may break the log jam of this topic

Hi Jon:

Just a quick heads-up that a direct link to the table of contents (aka "TOC") tree URL for "Building Libraries" now redirects to a 404 page:

https://www.scruffyduck.org.uk/ade_2020_help/Airport Design Editor 2020.html?BuildingLibraries.html

ade_online_help_toc_building-libraries_link_redirect_error_404-jpg.76416

IIRC, this URL linking process was working earlier today, allowing one to open a separate new Tab or Window for a specific ADE TOC topic.

BTW: Opening the TOC as a new Frame, then clicking on the TOC URL for Building Libraries also redirects to a 404 page as above.

This was tested in both FireFox and MS-Edge browsers.


Thanks again for making this helpful ADE learning resource available online as well in CHM format. :)

GaryGB
 

Attachments

  • ADE_Online_Help_TOC_Building Libraries_Link_Redirect_Error_404.jpg
    ADE_Online_Help_TOC_Building Libraries_Link_Redirect_Error_404.jpg
    137.7 KB · Views: 485
I am not sure direct links will work. I get the same if I use the url you provide but there are no issues if you use the main url www.scruffyduck.org.uk/ade_2020_help trying to use direct links or any approach other than through this link appears to fail but then why use a direct link?
 
https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc707102(v=msdn.10)#the-terrain-systemI am not sure direct links will work. I get the same if I use the url you provide but there are no issues if you use the main url www.scruffyduck.org.uk/ade_2020_help trying to use direct links or any approach other than through this link appears to fail but then why use a direct link?

So we can provide a URL that sends the browser directly to the specific part of the ADE online Help system that we intended to be viewed. ;)


Think of it as my linking direct to post URL (#36) above via FireFox "Copy link location" to post a URL via the forum post editor "Insert link" icon: :idea:

https://www.fsdeveloper.com/forum/threads/hf2-libraries.453417/post-889276


...rather than my NOT linking direct to post URL (#36) by using Windows clipboard to Copy / Paste a URL to thread page top post in the forum post editor :



FYI: The SDK docs from MS FSX / ESP, L-M P3D, and MSFS 2020 all are able to allow direct links without 404 redirects:




GaryGB
 
Last edited:
Fair enough but the combination of the help generator and the server I have does not seem to allow it. I changed the template to a different one but that produces two table of content panels - nothing in this life is perfect and it really doesn't matter what other help systems do if I don't have the means.
 
FYI I can only goto what ever I click on in the index in the online documentation. I can't do that when using the .chm
Mind you that does not worry me as I only wanted the .chm file to try and print it.
 
FYI I can only goto what ever I click on in the index in the online documentation. I can't do that when using the .chm
Mind you that does not worry me as I only wanted the .chm file to try and print it.

Fair enough but the combination of the help generator and the server I have does not seem to allow it. I changed the template to a different one but that produces two table of content panels - nothing in this life is perfect and it really doesn't matter what other help systems do if I don't have the means.

OK - this is operator error. Thanks for pointing it out Gary

Lack of experience with the help authoring tools Direct links should now work http://scruffyduck.org.uk/ade_2020_help/BuildingLibraries.html

The help site is updated but I am fiddling around a few bits and it may be that a couple of the topics refer to HF3 which has not yet been released
 
Back
Top