Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest pasfort2

copying a bgl file from one location to another

Recommended Posts

Guest pasfort2

Hi, I'm new into this but I know Fs2004 quite well, I would like to copy a hospital with a helipad (bgl file) from one location to another, How can I do that ? With Afcad? Gmax ? Thanks

Share this post


Link to post
Share on other sites
Hi, I'm new into this but I know Fs2004 quite well,I would like to copy a hospital with a helipad (bgl file) from one location to another,How can I do that ? With Afcad? Gmax ?Thanks
If the BGL file was created from an xml file you should be able to decompile the bgl into an xml file and then using Notepad or Wordpad, edit the location coordinates and recompile it once again. The recompiled bgl should be named differently than the original one was.There are one or two decompilers in the library and the standard BGLComp from MS can be used to compile.There may be other ways to do what you want but that is how I would tackle it.

Share this post


Link to post
Share on other sites
Guest pasfort2
There may be other ways to do what you want but that is how I would tackle it.
Thanks David, I'll try this then.

Share this post


Link to post
Share on other sites
Guest pasfort2

Ok, I've decompiled an existing bgl file.I've modified it and saved the new xml file.But when I try to compile this new xml file with MS bglcomp.exe a Dos window appears less than one second and I can't do anything.Sorry for what it seems to be a silly question.Jorge

Share this post


Link to post
Share on other sites
Ok, I've decompiled an existing bgl file.I've modified it and saved the new xml file.But when I try to compile this new xml file with MS bglcomp.exe a Dos window appears less than one second and I can't do anything.Sorry for what it seems to be a silly question.Jorge
It is doing that because there is apparently an error in the xml file.Unfortunately BGLComp does not stop and tell you there is an error.I suspect when you changed the coordinates you interferred with the punctuation marks around them or made some other slight typo. BGLComp is very unforgiving in that regard.If you would like to PM me with your e-mail address, I will e-mail you back so then you can send me the original xml file and the one you edited. I would be happy to look them over and see if I can spot the problem. It would likely be easier to do this via direct e-mail than here in the forums.I look forward to hearing from you if you are interested.

Share this post


Link to post
Share on other sites

On a general note. If you want to see the output of BglComp then you might download CompileHelper. This is available from the Download section of www.fsdeveloper.com. It is in the Scenery>Tools section as I recall.


Jon

-------

Microsoft Flight Sim MVP

Airport Design Editor FSDeveloper.com

Share this post


Link to post
Share on other sites
Guest pasfort2

Hi scruffyduck and thanks for your answer,The Download section is not available.Maybe you have a copy of CompileHelper.I've contacted David anyway.By the way I have troubles writing a post. I can't see my mouse cursor on the text area. I have to write it on Notepad and paste it here.Jorge

On a general note. If you want to see the output of BglComp then you might download CompileHelper. This is available from the Download section of www.fsdeveloper.com. It is in the Scenery>Tools section as I recall.

Share this post


Link to post
Share on other sites
Hi scruffyduck and thanks for your answer,The Download section is not available.Maybe you have a copy of CompileHelper.I've contacted David anyway.By the way I have troubles writing a post. I can't see my mouse cursor on the text area. I have to write it on Notepad and paste it here.Jorge
Try this link - http://www.fsdeveloper.com/forum/downloads...=file&id=75

Jon

-------

Microsoft Flight Sim MVP

Airport Design Editor FSDeveloper.com

Share this post


Link to post
Share on other sites

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

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,720.00 of $25,000.00 Donate Now
×
×
  • Create New...