• 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.

FS2004 Compiling a scenery library

Messages
1,043
Country
us-northcarolina
I must be dumber than I expected :D
I thought I knew the process to compile a library but I was just proven wrong so please tell me where I'm doing something wrong.

- Decompile existing library to add models to it
- Paste mdl I want to add in folder above
- Add entry to .xml file
- Recompile

Original .bgl 6.11 Mb, my .bgl after compile 55 Kb and of course it doesn't work :confused::confused::confused:
 
Use Library Creator XML - it is in the Downloads section here. So you would need to decompile the source library (presumably you have the developers permission?) to extract the models. Then use LC XML to add them to a new library including your new object.

HOWEVER. Unless it is your library bgl you should not do it that way. Just create a new library bgl file for your own objects. Finally if you are only going to use the object once then you can put the placement code with the model file. If you are using ADE then you can add model files directly to your project without adding them to a library first. Of course if you do plan to use objects in multiple locations then a library is the best approach.
 
Good advice and I will try that.

Now I'm still curious to know why my approach didn't work? It seemed pretty straight forward and I thought bglcomp could handle compiling multiple mdl and stick them into a single file.

Thanks
 
Well it may be that you had a problem with your XML - presumably the compile failed with an error. Yes BglComp does the work. Library Maker XML just does the hard work for you :)
 
Hum, I don't know. I tested by decompiling a library with BglAnalyze9, didn't modify anything and recompiling it and that didn't work.
 
Hum, I don't know. I tested by decompiling a library with BglAnalyze9, didn't modify anything and recompiling it and that didn't work.

What was the compiler error?
 
Patrick

Which Library? I have tested this sort of thing using Bgl2Xml GUI. The latest version will extract models. If you have not tried that then you might want to. There are two tools that I use 'back to back' Bgl2Xml GUI to decompile and Xml2Bgl to Compile. If you tell me (or email me) the library then I can also test it here.
 
Just tried it and it worked. Didn't work with BglAnalyze9 which at first sight does the same thing. Mdl's are the same size only the names differ yet it doesn't work. Good to know.

Question: It seems Bgl2Xml is dragdrop aware, is that right?
When I drop a blg on a shortcut to it I get a fast command screen popping up but the decompile fails.
 
I didn't think so but I had second thoughts since I saw the Command window popping up.

See, that's why I'm still using BglAnalyze9 :rolleyes:
 
Well since you asked I have added drag file onto the icon for Bgl2Xml and will add it for Xml2Bgl. Updates will be released sometime in the next day or so :)
 
Ah Jon, thank you so much, I am very appreciative. It will please 1000's others...if we are that many simmers left :confused:
 
The update is available if you have Bgl2Xml GUI installed. Click on the Check for Updates. If you drop a bgl file onto the executable or shortcut icon the program will open with that file listed as the file to decompile.
 
Last edited:
Back
Top