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

Bgl compiling

Hi everyone.

I curse the day that I had to buy a windows 10 computer. Its been 3 weeks and I don't even have all my programs up and running as they should. From getting FSX,GMAX and MODEL CONVERTER resolved. I now have another darn problem. Dropping an XML file onto the BGLcomp. No appearance of an BGL file at all. I have now reinstalled the whole SDK, service pack filles about ten times over. No joy. every time the same problem.

Is there something special I should know when installing the SDK onto windows 10. As I just installed everything onto my work window xp comp and everything works fine.

I also cant believe microsoft company is so pathetic to create a new windows system like 10 that clash with other microsoft programs. When they sell their new windows systems they should advise their buyers to first go on a darn IT masters degree. It's just ridiculous. Can someone help please !!!!
 
Why don't you run BglComp from a DOS box?

You will see exactly why a bgl file is not being created.
 
Hello:

A) Download Arno's "CompileHelper 2.0":

http://www.fsdeveloper.com/forum/resources/compilehelper.121/


B) Install CompileHelper 2.0 into the FS SDK BGL compiler SDK folder ...or your local 'work' folder


C) Configure CompileHelper 2.0 path to BGLComp.exe under 'Options' per the Manual:

http://www.fsdeveloper.com/wiki/index.php?title=CompileHelper_2.0


Otherwise one can make a CMD Mode (aka "DOS") Batch file that keeps the error messages from the console on screen for you:

Copy the XML sources, the MDLs, and BGLComp.exe with BGLComp.xsd to the same 'work' folder.

Then make a batch file in that same 'work' folder:

Code:
BGLComp.exe My_Objects.XML
pause

Save the text of the batch file as ex: My_Objects.bat, and double-click it.

BGLComp will process the XML source file, then pause, leaving the CMD mode window open.

Any error message can then be seen in the text written out by SDK BGLComp within that "CMD Mode" task session window.


Alternatively, search C:\Windows for cmd.exe, and copy it to your work folder.

Double-click on the cmd.exe icon, and a "DOS" window will open up.

Then type: BGLComp.exe My_Objects.XML

Any error message can then be seen in the text written out by SDK BGLComp within that "CMD Mode" task session window.


FYI: You can use Windows NotePad to create the text above, then save it as a *.BAT file extension so it will act as a 'batch' file:

CAVEAT: When saving one's work in NotePad, one must set the 'Save as type' to "All Files (*.*)" in order for the *.BAT file extension to be used instead of the *.txt file extension utilized by NotePad as a default.


PS: The suggestions above assume you are trying to compile a BGLComp XML-based placement BGL for a 'scenery library' object.


If you instead want to 'package' MDLs inside a BGLComp-XML-type 'scenery library' BGL, use Arno's Library Creator XML utility:

https://www.fsdeveloper.com/forum/resources/library-creator-xml.86/


GaryGB
 
Last edited:
Top