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

Decompiling BGLs

Messages
2
Country
unitedkingdom
Can anyone help point me in a direction for software to decompile BGL files for FS2004 please?

I have BGLanalysize etc. but there are sections of current BGLs that it ignores (type 12 stuff etc.)!!

Eventually I want to decompile, amend and then re-compile using SCASM(?).

MTIA.
 
Arno can answer better than I but FS9 scenery BGL files are not the same as earlier ones. To decompile them you can use bglxml or new bglanalyze. The result is going to be xml and, if there are any, mdl objects. To modify the code you need a text editor, a knowledge of xml, and the bglcomp sdk. To compile or recompile you need bglcomp.
 
Hi,

It indeed depends on what kind of BGL file you are trying to decompile. Mesh scenery, 3D object, etc all require different decompilers (and not all formats can be decompiled).

What is section 12 again, can't remember that one.

Also you need to be aware that decompiling someone elses scenery is usually not allowed.
 
arno said:
>>It indeed depends on what kind of BGL file you are trying to decompile. Mesh scenery, 3D object, etc all require different decompilers (and not all formats can be decompiled).

Just tried the 'new' bgl and it won't touch the BGLs I have as they are 'old' - that sorts that out then! :confused: :yikes:

arno said:
>>What is section 12 again, can't remember that one.
No idea! Not listed anywhere I can find - other than in a BGL/SCA file I decomped with the 'old' BGLAnalyze! :stirthepo

arno said:
>>Also you need to be aware that decompiling someone elses scenery is usually not allowed.

Well aware of that (although people have messed with mine in the past!!) - anything I may do is PURELY for my use only :duck:
 
Hi,

Traveller said:
Just tried the 'new' bgl and it won't touch the BGLs I have as they are 'old' - that sorts that out then! :confused: :yikes:

For the old format SCDIS or BGLAnalyzer are the best choices. But which file are you trying to decompile? Is it a default file, in that case I could take a look what it contains.
 
I have the same question. I need to add seasonal textures to objects in bgl file, compiled with FS2004 SDK. The file is not mine, so I don't know what corrections was made in it manually by the author. Anyway, MDL tweaker cannot work with the MDL file, which I have extracted from BGL. So, I want to decompile BGL to XML and MDL, then decompile MDL to two *.asm files, make some corrections and recompile the file. Is it possible?
 
Last edited:
Back
Top