1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disassembler for FSX objects

Discussion in 'Tools programming' started by Luis_Sá, 10/2/09.

  1. Luis_Sá

    Luis_Sá Resource contributor

    Joined:
    16/9/04
    Messages:
    305
    Country:
    portugal
    Hello,

    I would like to import into SBuilderX library objects, general buildings, effects, beacons, etc, so that one could either edit, relocate or copy them.

    Any tip about possible suggestions would be appreciated,

    Regards,

    Luis
  2. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,523
    Country:
    netherlands
    Hi Luis,

    To clarify things, do you want to import the placement information of those (so sort of the XML code for BGLComp) or the actual MDL objects?

    For the first there are different tools that can decompile BGL files into XML code. There is also a good description of the format by Winfried Orthmann that might help you to implement the reading yourself.
  3. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    17/9/05
    Messages:
    23,276
    Country:
    wales
    Luis

    You can use my command line tool bgl2xml or you may use the dotNET library that it is based on if you wish. Alternatively as Arno says we have a quite detailed description of the file format if you want to implement the decoding yourself.
  4. Luis_Sá

    Luis_Sá Resource contributor

    Joined:
    16/9/04
    Messages:
    305
    Country:
    portugal
    Thank you Arno and Jon,

    I just want the placement information. I want to import from a BGL the same objects that I can place with SBuilderX. I only want to add General Buildings. In this case I only want to be able to change the location and, may be, the size. Unfortunately I was not able to understand how textures are applied in FS2004 General Buildings.

    Jon - I will look to your dll first. Thanks!

    Regards,

    Luis
  5. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    17/9/05
    Messages:
    23,276
    Country:
    wales
    Luis

    Drop me an email and we can talk about how it could be done

    jon AT scruffyduck.co.uk in case you have lost it ;)

Share This Page