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

Reposition Objects from BGLs?

Heretic

Resource contributor
Messages
6,830
Country
germany
Can you reposition objects contained in a BGL via a hex editor or else?


I need to move some objects from a FS9 scenery a few metres, but I have no idea how to do so.





Björn
 
I think there is a tool named BglXml or something like that (I think there are others as well, but I can't remember the names). It will decompile the BGL file into XML with the placement and MDL files with the actual models.

You now have two options:
1) Move the models by changing the latitude and longitude in the XML and recompile. This is a fast fix, but if you are not the author of the original scenery file, you can't destribute your new file - and if both files are present on the system you will have the buildings from both.

2) Create exludes for the original buildings. Then create a new XML file placing the models using the GUIDs you found when decompiling the original file. This file will not contain any of the original code, which MIGHT clear you of any copyright issues if you distribute the file, but you would have to seek legal council on that one.... the copyright laws are different from country to country and it is hard to say if your scenery would be considered a derived work.
 
As Lars already said, option two is the best and most common one. So you make an exclude to remove the existing buildings and then you replace them at the desired locations.

What kind of buildings are we talking about here? In a city or all buildings of an airport?
 
What kind of buildings are we talking about here? In a city or all buildings of an airport?

Custom objects, like light poles, terminals, etc...of an airport.

The airport in question is Matthew Ministry's FS9 Riga scenery. I spent all friday doing a Google Earth-accurate AFCAD (for FSX) and now all the buildings are off a few metres.

Don't worry about the copyright issue, if the scenery is not "releasable" is remains private work, if I think its good, I will ask Mr Ministry for permission first. Or just pass it on to him so that he can release it.


But thanks for the suggestions anyways, guys. :)


- Edit: BGLXML refuses to decompile and gives me an "Input file: Not a valid facility data BGL" error... :/
 
Last edited:
Can't get it decompiled at all.

Any other methods of editing the coordinates?
 
Thanks for the hint, meshman. I could get a .sca file out of a .bgl.

Next step is editing its position, but I have no idea how (so far)...
 
Last edited:
After trying countless tools for nothing, I've given up.

My next step is either default objects or redoing it all from scratch.
 
Back
Top