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

BGLComp question

Messages
19
Hello all,

I hope this is the correct forum for the following question. If not please forgive me.

I seem to be missing either a step or perhaps a file when it comes to using bglcomp.exe. I have been trying for a while now to get bglcomp to create my *.bgl. Maybe someone can shed some light as to why is doesn't work for me.

I have both the bglcomp.exe and bglcomp.xsd located in the same folder along with my *.xml file placed on my desktop. I have tried to drag the xml file onto the complier with no luck and I have also tried to run the compiler from the command line with no luck either. I can see that there is a short time when the compiler opens for a brief moment and closes, but there is no *.bgl file produced. Would anyone have a suggestion that could possibly help?

I would greatly be thankful for any help on this.

FSEdge
 
What you are doing sounds correct, I guess you are getting some errors during the compilation. Could you try to start the command prompt and then compile from there. Any message BGLComp gives you should then be visible.
 
Well, here's the information returned when executed through cmd. Just for grins I tried *.xml too, with no luck either.

cmd.jpg

FSEdge
 
I think you do not have MSXML4 installed (see the line in the error message failed to build MSXML object). MSXML4 is used by BGLComp and you need to install that as well.
 
I wish it were that. Actually, I do have MSXML4 installed on the system. It's in the Windows system32 folder. The thought actually crossed my mind this might be the problem so I copied it over to the folder with bglcomp too. Again no luck.

Thanks for trying though. I really appreciate your efforts.

FSEdge
 
Moving the folder will not help, if it is installed correctly it should be found on the place where it has been installed.

Just to be sure it is not something else, can you try to compile one of the default XML files that MS shipped with the BGLComp SDK? That could tell if it is a problem with the XML file or the setup of your BGLComp.
 
Hmm, one question though. Is Your system decimal delimiter comma or point? There were numerous times that decimal comma was problem.

Best regards,
 
Moving the folder will not help, if it is installed correctly it should be found on the place where it has been installed.

Just to be sure it is not something else, can you try to compile one of the default XML files that MS shipped with the BGLComp SDK? That could tell if it is a problem with the XML file or the setup of your BGLComp.
I moved the folder just trying to make a change, good or bad. I did however spend several attempts trying to compile when the folder was in its default installation location. I tried both XML files from the FS2004 SDK BGLComp2 setup. The picture I posted shows an attempt at compiling using the MortonWa.xml from the SDK.

Hmm, one question though. Is Your system decimal delimiter comma or point? There were numerous times that decimal comma was problem.
Hi Gorchi,

I am a long time user of Gmax mainly mapping and animating aircraft for FS with a few models to my credit here and there. The decimal point (.) vs. comma (,) isn't the issue either. Thanks for trying though.

FSEdge
 
FSEdge said:
I moved the folder just trying to make a change, good or bad. I did however spend several attempts trying to compile when the folder was in its default installation location. I tried both XML files from the FS2004 SDK BGLComp2 setup. The picture I posted shows an attempt at compiling using the MortonWa.xml from the SDK.

OK, so it really must be something with the compiler itself then. Have you tried to reinstall MSXML4, I still think the problem is somewhere there? That is the only reason I can think of, that gives you the error refering to the MSXML object.
 
I don't really understand how it could be the MSXML4.dll. I don't have any problems when exporting to aircraft *.mdl using the 2004 gamepack. To be sure though, I did down load the msxmlcab.exe from Microsoft and extracted 3 files msxml4.dll, msxml4a.dll and msxml4r.dll to the system32 folder. I guess next I'll go down load the fs2004_sdk_bglcomp2_setup and try re-installing it to see what happens. I'll post back to let you know how it goes.

Thanks

FSEdge
 
Well, a fresh down load of the bglcomp SDK proved unsatisfactory too. I feel now as though I have exhausted all avenues for resolving my compile issues. It would seem I am going to be forced back to using bglc for it's the only working option I currently have. I'll continue to research as to why this problem persists and if a solution is found I'll definitely post back what I find.

Thanks for all your help Arno ;)

FSEdge
 
Hi FSEdge.

The root folder of FS9 already contains the XML support dlls. You should be able to copy bglcomp.exe and bglcomp.xsd to that root folder, and compile from there... just drag'n'drop the xml file on it. You can place a copy of cmd.exe there as well, and it will allow a dos window with the path set ot that FS9 root folder as well.

Alternately, the 3 msxml4 dlls could be copied to a work folder, along with the bglcomp files, and it should allow compilation within that folder.

It does seem like your system doesn't recognise the installation of the msxml4 dlls for some reason.

Dick
 
Hi FSEdge,

I just had this problem this morning and now it is corrected...

Basically, I did not have the full version of MSXML installed; so I installed it and voila!

I recommend you try re-installing MSXML, and try it then :)

Good luck,

Daryl
 
Hi FSEdge.

The root folder of FS9 already contains the XML support dlls. You should be able to copy bglcomp.exe and bglcomp.xsd to that root folder, and compile from there... just drag'n'drop the xml file on it. You can place a copy of cmd.exe there as well, and it will allow a dos window with the path set ot that FS9 root folder as well.

Alternately, the 3 msxml4 dlls could be copied to a work folder, along with the bglcomp files, and it should allow compilation within that folder.

It does seem like your system doesn't recognise the installation of the msxml4 dlls for some reason.

Dick
Hi Dick,
I hadn't thought to copy bglcomp.exe and bglcomp.xsd to the FS root folder. I gave it a go and got the same result...Nothing. :(
In the last couple of days I have also tried creating a working folder and moving all related files including the three-msxml4 dlls. Not to sound like a broken record here, but no luck. I was under the impression that if the msxml files were present in my system32 folder that would be enough to satisfy their needed requirement. Am I wrong to assume this? The reason I never questioned it before is due to the fact that they are required to also export aircraft *.mdl files. I don’t seem to have any trouble doing that. Maybe I should stick with aircraft development and leave the scenery design to you pros. :banghead:

Thanks for the suggestions Dick all are welcome.

Hi FSEdge,
I just had this problem this morning and now it is corrected...

Basically, I did not have the full version of MSXML installed; so I installed it and voila!

I recommend you try re-installing MSXML, and try it then :)

Good luck,

Daryl

Hi Daryl,

I down loaded the msxml4 cab yesterday from Microsoft and re-installed it, but that isn’t solving the problem either.
Thanks for trying though.

This is what I plan to try today, I have a second PC and I am going to install the msxml cab on to it and install the bglcomp sdk and see what happens. I'll post back with an update on the results. :rotfl:

FSEdge
 
FSEdge said:
I down loaded the msxml4 cab yesterday from Microsoft and re-installed it, but that isn’t solving the problem either.
Thanks for trying though.

FSEdge,

I did that also, but you must download the FULL package:

(http://download.microsoft.com/download/9/6/5/9657c01e-107f-409c-baac-7d249561629c/msxml.msi)

for it to work, or that was the problem in my case :)

Try install that one and try it...it worked for me, and I was getting the EXACT error message!

All the best,

Daryl
 
Mr. Reilly,

Thanks for not giving up on me. :D I down loaded the msi installer as you suggested and darn if that didn't do the trick for me.
I can compile my xml to bgl. Look there's a mad man on the loose now :yikes: and I am sure it's only a matter of time before I am back to ask more questions about scenery design.

Again a big thanks to everyone here for offering a helping hand!! ;)

FSEdge
 
Last edited:
Back
Top