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

MCX fails to read MDL object from BGL file

Messages
8
Country
poland
Hello, I try to import BGL with objects into MCX. After I try to import, I only see "BglXReader: Failed to read MDL object from BGL file" warning.

File is only 50MB, so I don't think it's the problem, and the best part is that my friends can open same file on their computers.

I have latest MCX with the latest update.



Sim: MSFS
 
Hi,

This might be a similar issue to what we are discussing in this thread at the moment:


A few questions to see if we can understand what is going on:
  • Which MSFS version are you using? And are you using the version from Microsoft Store or Steam?
  • Is it a default BGL you try to read or from an addon? If you specify which file has the issue I can try to import it here as well.
  • Is the file size of the file the same on your computer as on your friends?
  • Do you know if there is a difference in the regional settings (e.g. language) of Windows between your computer and your friends?
 
Hi,

In the other thread I linked to we found that a broken symbolic link somewhere in your MSFS community folder could result in objects not being read. It might be you have the same situation. I have made a fix for that bug and that will be in the next development release.
 
Hi,

A new build with a fix for the problem mentioned in the other thread is online now. Can you check if that fixed your issue as well?
 
Hi,

A new build with a fix for the problem mentioned in the other thread is online now. Can you check if that fixed your issue as well?
Sorry for the late reply, but it worked when I opened MCX with ExecIT.


However, after doing what I needed to, another problem occurred. I exported the lines that I had edited in an OBJ file and imported them into MCX, but only a few of them showed up (I think it was only the planes that I had edited). Maybe you could take a look at this project, which I will link to this reply, or perhaps you know the answer to my problem. Thank you!
(1 image - plane that showed up in MCX)
(2 image - mesh that didn't show up in MCX like every curve didn't show up)

EDIT: To precise, OBJ Reader showed a warning: unsupported element I few times
 

Attachments

  • Zrzut ekranu 2026-06-14 210227.png
    Zrzut ekranu 2026-06-14 210227.png
    937.9 KB · Views: 10
  • Zrzut ekranu 2026-06-14 210242.png
    Zrzut ekranu 2026-06-14 210242.png
    937.5 KB · Views: 8
  • Linie obj.rar
    Linie obj.rar
    2.7 MB · Views: 6
Last edited:
Not sure what ExecIT is and how it would help.

ModelConverterX does only read polygons from OBJ files, not lines. I am not sure if the OBJ format stores things like line width so that polygons can be extruded from the lines again.
 
Not sure what ExecIT is and how it would help.

ModelConverterX does only read polygons from OBJ files, not lines. I am not sure if the OBJ format stores things like line width so that polygons can be extruded from the lines again.
ExecIT opens program as trustedinstaller or something like that, i'm gonna have a look at this OBJ thank you
 
Not sure what ExecIT is and how it would help.

ModelConverterX does only read polygons from OBJ files, not lines. I am not sure if the OBJ format stores things like line width so that polygons can be extruded from the lines again.
okay so some objects showed up, still some are invisible but i'll do something in blender. and another question is - how can I put my edited ground textures to the BGL file I took them from?
to precise, when you open a BGL file with ground textures, it has 4 layers. I edited only one of them (I selected it in scenery objects in MCX) in this case, it was layer 3 and I’d like to replace only that one; I want the rest to remain the same so that when I launch FS, it’s in the same place as always. And of course, I only want a single BGL file so I can replace the one currently in the scenery folder with it.



Also, I’m editing 3rd party airport.
 
Last edited:
For which sim are you developing?

You could load the BGL file again, replace the object in the scenery object editor and then export a new BGL file.
 
Hi Arno:

IIUC, the OP is working on ICAO EPWR for MSFS 2020 (see the texture Material names in the ZIP containing the OBJ file above).

While we admire everyone's efforts to learn English, getting help from folks here in the English speaking forum at FSDEV who are already quite limited on free time, may require use of a translation service:

https://www.google.com/search?q=tra...enBsIHBjItMTAuMcgHOoAIAQ&sclient=gws-wiz-serp

I suggest the OP use Google Translate to state his goal.

IIUC, he wants to make Ground Markings in MSFS 2020 from a 3D model in Blender.


BTW: He referred to use of MCX with ExecTI (TI=TrustedInstaller) apparently because I had mentioned it in the thread cited here:

https://www.fsdeveloper.com/forum/threads/mcx-fails-to-read-mdls-in-rjer_modellib-bgl.460930/

AFAIK, he may also have been successful using the latest MCX DevRel without ExecTI.

GaryGB
 
Last edited:
FS2020, everytime I exported via export scenery and I couldnt see FS2020 BGL file
For MSFS you can't export to BGL directly. You can only export as glTF/MSFS scenery package and then you need to compile the package with the fspackagetool to get the final BGL file.
 
While we admire everyone's efforts to learn English, getting help from folks here in the English speaking forum at FSDEV who are already quite limited on free time, may require use of a translation service:

I suggest the OP use Google Translate to state his goal.
I don't have a lot of problems understanding miqlaru's posts, so I don't think this suggestion is really helpful. With FS specific terms a translation service might even add more "noise".
BTW: He referred to use of MCX with ExecTI (TI=TrustedInstaller) apparently because I had mentioned it in the thread cited here:

AFAIK, he may also have been successful using the latest MCX DevRel without ExecTI.
I see no reason to use extra tools to start ModelConverterX. The tool does not require extra permissions to run, so it can run normally with any user account. Introducing all kind of extra tools, conditions and variables only makes testing and finding issue harder.
 
Hi Arno:

IIUC, the OP is working on ICAO EPWR for MSFS 2020 (see the texture Material names in the ZIP containing the OBJ file above).

While we admire everyone's efforts to learn English, getting help from folks here in the English speaking forum at FSDEV who are already quite limited on free time, may require use of a translation service:

{URL]https://www.google.com/search?q=translate+polish+to+english&client=firefox-b-1-d&hs=1uk&sca_esv=ec2bff8bd1e2ef21&ei=xJ4xaqLFFarHp84PlN68iAM&biw=560&bih=287&oq=translate&gs_lp=Egxnd3Mtd2l6LXNlcnAiCXRyYW5zbGF0ZSoCCAAyCxAAGIAEGIoFGJECMhAQABiABBiKBRhDGLEDGIMBMgsQABiABBiKBRiRAjILEAAYgAQYigUYkQIyCxAAGIAEGIoFGJECMggQABiABBixAzIQEAAYgAQYigUYQxixAxiDATILEAAYgAQYsQMYgwEyCBAAGIAEGLEDMggQABiABBixA0iKbFAAWP5icAB4AZABAZgBbqABqAaqAQQxMS4xuAEByAEA-AEBmAILoAKnBsICDhAuGIAEGLEDGMcBGNEDwgIOEAAYgAQYigUYsQMYgwHCAg4QLhiABBiKBRixAxiDAcICBRAAGIAEwgIREC4YgAQYsQMYgwEYxwEY0QPCAgsQLhiABBixAxiDAcICDhAAGIAEGIoFGJECGLEDwgIMEAAYgAQYChgLGLEDwgIPEAAYgAQYChgLGLEDGIMBmAMAkgcEMTAuMaAHgFuyBwQxMC4xuAenBsIHBjItMTAuMcgHOoAIAQ&sclient=gws-wiz-serp[/URL]

I suggest the OP use Google Translate to state his goal.

IIUC, he wants to make Ground Markings in MSFS 2020 from a 3D model in Blender.


BTW: He referred to use of MCX with ExecTI (TI=TrustedInstaller) apparently because I had mentioned it in the thread cited here:

https://www.fsdeveloper.com/forum/threads/mcx-fails-to-read-mdls-in-rjer_modellib-bgl.460930/

AFAIK, he may also have been successful using the latest MCX DevRel without ExecTI.

GaryGB
Hi Gary
Im really sorry but sometimes it's hard for me to write what I want to say - my mistake.

And yes, I've been using ExecIT, and as long as it works, I probably won't switch. It's possible that something in the community folder is broken.

And to answer your next question, I haven't downloaded any updates for ModelConverter.
 
For MSFS you can't export to BGL directly. You can only export as glTF/MSFS scenery package and then you need to compile the package with the fspackagetool to get the final BGL file.
After exporting, I end up with 4 different folders for the layers, but I need all the layers in a single BGL file - and I want that BGL file to include location information, etc. (as far as I know, BGL files contain location information)
 
Back
Top