Page 1 of 2

Scenery question..

Posted: 07 Oct 2007, 01:17
by DaveB
Hi Chaps..

Dumb question time :lol: If, for example, I wanted to pull a bgl apart (a scenery bgl that is) in FS9 to remove offensive bits or bit's that cause a hit on framerates.. is there a single bit of software available that would allow me to do it and recompile it again or is it a matter of what the scenery was compiled with in the first place and/or a requirement to have the source files?? I have a couple of airports that fall under this category.. some have static's coded into the scenery bgl and others have bits that look naff, animate naff and cause a frame hit. I don't want to delve into scenery building from scratch (yet) but would like to dip my toe in to this aspect of flightsim (the real one.. FS9) :)

ATB

DaveB :tab:

Re: Scenery question..

Posted: 07 Oct 2007, 01:27
by TSR2
Depending on what it is Dave, FSX Planner might work for this (Even for FS9) ;-)

Re: Scenery question..

Posted: 07 Oct 2007, 02:16
by DaveB
Err.. cheers Ben :worried: :think:

ATB

DaveB :tab:

Re: Scenery question..

Posted: 07 Oct 2007, 02:28
by steve p
Dave,

I've done that kind of thing with FS9 bgl a couple of years ago. I probably used bglanalyse and Airport for Windows to recompile. Be waned, Airport for Windows has a rather steep learning curve... :brick:

Best wishes
Steve P

Re: Scenery question..

Posted: 07 Oct 2007, 02:50
by DaveB
Cheers Steve :)

I was looking for something more along the lines of 'Delete and Go' but this was always going to be a hope rather than a reality :lol: I went to re-edit a bgl a couple of days ago that I'd initially fiddled with using EZ-Scenery then re-fiddled with in Afcad and found that all of the EZ-Scenery stuff was now cast in stone! Not something I'd considered but something I'll be aware of in future so there was no way editing a-n-other bgl was going to be any easier! :brick: ;-)

ATB

DaveB :tab:

Re: Scenery question..

Posted: 07 Oct 2007, 08:58
by DanKH
Hi Dave. Send it over with a small description of what you want to remove, and I'll try to give it a wizz.
If successfull I'll post details so others could make use of it....

Re: Scenery question..

Posted: 07 Oct 2007, 10:47
by nigelb
I think BGL analyze and Airport for windows both use scasm. I have never had much luck doing what your trying to do with those. If it was originally coded with XML, then BGLXML can dis-assemble the file into xml code. I have been able to edit the .xml file and delete items I did not want. I will say it was rather a hit or miss affair but with persistence and luck I succeeded. I say luck because, as usual, I really did not know what I was doing.

Re: Scenery question..

Posted: 07 Oct 2007, 11:53
by DaveB
:lol: :lol: :lol:

I think PeterM made his lovely McLeland Field using XML but I doubt very much the particular field I'm looking at was so produced. Scasm.. that's the word that was missing. I think I had it with ASD some years ago (another program I bought and rarely used) :roll:

OK.. I have some pointers now so thanks ;-) Tks for the offer of 'killing bits off' for me Dan but I'd really like to be able to kill them myself. However.. if all goes not to plan (expected).. you can look forward to receiving 'said' bgl via email ;-)

ATB

DaveB :tab:

Re: Scenery question..

Posted: 07 Oct 2007, 15:12
by petermcleland
Yes Dave,

McLeland Field is XML and I have the original .txt files so that I can do what you are trying to do very easily and then recompile it with the SDK bglcomp program. That way I was able to remove the "Circling Sharks" which is a heavy hit and then recompile it with a new title "GBMcLeland_FieldNS.BGL" while keeping the original disabled as "GBMcLeland_Field.BGL.dis". The users BATCH file allows him to simply switch from "No Sharks" to "Sharks" from the desktop and all it does is rename those two files to make just the relevant one active.

I also use BGLX to decompile .bgl files into XML but a word of caution here as I have found that BGLX destroys the XML syntax of refuelling points and they then have to be re-written before using bglcomp to re-compile it.

Re: Scenery question..

Posted: 07 Oct 2007, 15:19
by DaveB
Hi Peter,

Thanks for that ;-) Is having to rewrite the refuelling syntax the only drawback you can think of??

ATB

DaveB :tab: