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

Compile Error

Discussion in 'Airport Design Editor' started by David Butler, 11/12/07.

  1. David Butler

    David Butler

    Joined:
    28/4/07
    Messages:
    205
    Country:
    england
    Jon

    I've been trying to compile an amended version of LEBL to bring it more into line with Tony Agromonts Spain scenery but get the following error message.
    Can you help please

    ScruffyDuck Scenery Design Engine Compiling
    Using FSX BglComp....


    Parsing document: E:\Temp\LEBL_ADE_DB.xml

    INTERNAL COMPILER ERROR: #C2014: Failed to load model data in file: E:\Temp\255bf830-81f7-4df3-a5fb-510cf9dc5324
    INTERNAL COMPILER ERROR: #C2149: Failed to load model data! Does the file exist?
    INTERNAL COMPILER ERROR: #C2340: Failed to finalize MODEL_DATA!
    INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

    ERROR: <FSData
    ERROR: version = 9.0
    ERROR: >
    ERROR: <ModelData
    ERROR: sourceFile = 255bf830-81f7-4df3-a5fb-510cf9dc5324
    ERROR: fileOffset = 0
    ERROR: >
    ERROR:
    INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <ModelData> near line 9!
    INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


    Parse complete!

    Dave Butler
  2. Golf-HotelDelta

    Golf-HotelDelta

    Joined:
    20/12/04
    Messages:
    9,991
    Country:
    unitedkingdom
    Hi David,

    It appears that the bgl was created using AFX which uses an invisible model to exclude the default scenery. You need to use Bgl2Xml to decompile then edit the xml to remove the <ModelData section.

    George
  3. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    17/9/05
    Messages:
    25,806
    Country:
    wales
    George is correct. ADE does not store model data. Clearly the source you are working with has models in it. George suggests Bgl2Xml to get the XML out which will work fine - you would need to remove any references to the GUID that is causing the problem.
  4. David Butler

    David Butler

    Joined:
    28/4/07
    Messages:
    205
    Country:
    england
    George, Jon
    Thanks very much for your help

    Dave

Share This Page