Jump to content
Sign in to follow this  
ABE

COMPILING an XML file to a BGL file

Recommended Posts

How do you an XML file to a BGL file?Thanks.Abe

Share this post


Link to post
Share on other sites

For either FS2004 or FSX, you use bglcomp, which comes with the SDK. The file is bglcomp.exe and it runs off the command line. You will want to open a DOS box (STart-->Run...-->cmd) so that you can see the error messages, if any.There are other types of xml files, but I ASSUME you are talking about an xml file with airport scenery information.RhettAMD 3700+ (@2585 mhz), eVGA 7800GT 256 (Guru3D 93.71), ASUS A8N-E, PC Power 510 SLI, 2gb Corsair XMS 3-3-3-8 (1T), WD 150 gig 10000rpm Raptor, WD 250gig 7200rpm SATA2, Seagate 120gb 5400 rpm external HD, CoolerMaster Praetorian


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post
Share on other sites

Thanks Rhett.Actually I am trying to recompile an AFCAD file which I decompiled and modified in XML format. I tried the SDK Bglcom, it did not work. I did use the DOS prompt command.Can such an XML file be compile with BGLcom or some other compiler?Thanks.Abe

Share this post


Link to post
Share on other sites

No the only compiler for those types of xml files is Microsoft's bglcomp.You must have some errors in your xml file that are preventing it from compiling. I don't know what error message(s) you got, but it's pretty common to have some errors when you are first trying to compile.You can post your xml here if you want, maybe I or someone else can assist.RhettAMD 3700+ (@2585 mhz), eVGA 7800GT 256 (Guru3D 93.71), ASUS A8N-E, PC Power 510 SLI, 2gb Corsair XMS 3-3-3-8 (1T), WD 150 gig 10000rpm Raptor, WD 250gig 7200rpm SATA2, Seagate 120gb 5400 rpm external HD, CoolerMaster Praetorian


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post
Share on other sites

Thanks Rhett. I could not upload the file, it's 825KB - too large.Abe

Share this post


Link to post
Share on other sites

You decompiled an AFCAD, and it's 825 kb? That seems wrong to me, I have decompiled big, massive AFCAD airport bgl's and they were no where near 800 kb.Did you use BGL2XML to decompile the AF2_xxxx.bgl file?RhettAMD 3700+ (@2585 mhz), eVGA 7800GT 256 (Guru3D 93.71), ASUS A8N-E, PC Power 510 SLI, 2gb Corsair XMS 3-3-3-8 (1T), WD 150 gig 10000rpm Raptor, WD 250gig 7200rpm SATA2, Seagate 120gb 5400 rpm external HD, CoolerMaster Praetorian


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post
Share on other sites

Hi Rhett,The BGL file is 93kb, decompiled with BGL2XML, it generated an 825kb XML. Can I email you the file privately since Avsim does not accept a file that size?Abe

Share this post


Link to post
Share on other sites

>Hi Rhett,>>The BGL file is 93kb, decompiled with BGL2XML, it generated an>825kb XML. Can I email you the file privately since Avsim does>not accept a file that size?>>Abe>You know you are right, 800+ kb is about right for a big airport xml. I was thinking BGL for some reason, musta been tired...Yes you can e-mail it to me, I will PM you...RhettAMD 3700+ (@2585 mhz), eVGA 7800GT 256 (Guru3D 93.71), ASUS A8N-E, PC Power 510 SLI, 2gb Corsair XMS 3-3-3-8 (1T), WD 150 gig 10000rpm Raptor, WD 250gig 7200rpm SATA2, Seagate 120gb 5400 rpm external HD, CoolerMaster Praetorian


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...