BGL creation question

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

BGL creation question

Postby Boikat » Sat Dec 13, 2008 10:53 pm

If I understand right, if you have an object, like a carrier, for instance, and create an XML file for it with the desired co-ordinates, to convert it to a BGL file, you copy both the model and xml, and "paste" it to the BGL Compiler.  If that's true, where does the new BGL file show up?

If that's how it is supposed to work, I tried that, a small window popped up, looked like it did something, but I see no BGL output anywhere.  Does it place it in some default location other than the folder the BGL compiler is located?

Or am I not stomping my left foot while whistling "Dixie" when I paste (Which didn't seem to help, anyway) onto the BGL compiler?   :-?
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby dave3cu » Sun Dec 14, 2008 12:04 am

Once you copy the .xml and .mod files to the bglcomp folder, grab the .xml file and drop it on the bglcomp.exe file. The dos window should flash by and if there were no errors the .bgl should appear in the same folder.

Or copy the 3 lines below and paste in to a new text file (notepad). Save the file as compile.bat in the bglcomp folder. Double click on compile.bat and bglcomp.exe will run and compile all .xml files in the folder. The dos window will persist so you can see what files were compiled successfully,
Last edited by dave3cu on Sun Dec 14, 2008 12:09 am, edited 1 time in total.
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: BGL creation question

Postby Boikat » Sun Dec 14, 2008 12:49 am

Thanks.
Last edited by Boikat on Sun Dec 14, 2008 1:06 am, edited 1 time in total.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby Boikat » Sun Dec 14, 2008 1:42 am

Some progress:

Image

I tried removing the "name = huge weird alpha-numeric number" from the "ModelData line", and got a BGL, but it did not show up in the sim.

Still scratching head.   :-?
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby Boikat » Mon Dec 15, 2008 11:12 pm

Well, still banging my head against the wall, and still not getting a BGL.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby Scruffyduck » Tue Dec 16, 2008 1:23 am

Is this for FS9 or FSX?
User avatar
Scruffyduck
2nd Lieutenant
2nd Lieutenant
 
Posts: 165
Joined: Wed Dec 11, 2002 4:34 am

Re: BGL creation question

Postby Boikat » Tue Dec 16, 2008 2:25 am

The original was for FS9, however, the original "ready to go" BGL files frm the download worked in both FS9 and FSX.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby dave3cu » Tue Dec 16, 2008 8:55 am

Could you post  the link (or at least the package name and author) to the original package?

Dave
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: BGL creation question

Postby Boikat » Tue Dec 16, 2008 9:33 am

Sure.  The DL is "stardd.zip", by Tim Conrad,  and I downloaded it from FlightSim.com.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby dave3cu » Tue Dec 16, 2008 10:36 am

Thanx, already found it..working off the stardd xml entry
Last edited by dave3cu on Tue Dec 16, 2008 11:10 am, edited 1 time in total.
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: BGL creation question

Postby Boikat » Tue Dec 16, 2008 11:13 am

Still nadda.  

Copy the .xml and .mod for either model from the original unzip to your bglcomp folder. Do not rename anything at this point, simply edit the xml to change location (coordinates, alt, heading) as you wish. Save the xml. (Edit only in notepad not wordpad or others as they can add formatting bits that screw things up.)


Tried that.  I have two BGL compilers.  One came with another download (In the "Lionheart" folder for some "supercarriers", and the one in the FSX SDK)  I tried them in both.  I'm sure the one in the "Lionheart" folder is FS9, (it gives only one apparent error) though I don't know if there's a difference.

Here's the two results I get:

Gmax:
Image

And the one from the Lionheart BGL:
Image

Also, I don't know if it makes a difference, but I'm using Vista Home 32bit.
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Re: BGL creation question

Postby dave3cu » Tue Dec 16, 2008 12:05 pm

Don't know where Vista might fit in the equation, I run XP. Also I don't have
Last edited by dave3cu on Tue Dec 16, 2008 12:09 pm, edited 1 time in total.
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: BGL creation question

Postby Gypsy_Baron » Tue Dec 16, 2008 2:23 pm

Don't know where Vista might fit in the equation, I run XP. Also I don't have  the FSX SDK.  Jon (Scruffyduck) might be able to shed some light if he stops back.

If you want to give the FS2004 Bglcomp SDK a try, it's here: http://scenery.org/tutorials_fs2k4_SDK.htm. It can later be removed from the control panel or by re-running the installer.

To make Bglcomp easier to get at, after installation I created a Bglcomp folder on my desktop. I then copy the bglcomp.exe and bglcomp.xsd files to that folder along with the compile.bat file. ( none of the other files from the install are needed).

Dave



I think I had the same problem the other day when compiling
a xml file containing MDL date for FSX.
AIR, I simply deleted the "name=" line and it compiled just fine.
Since the MDL file path is defined there apparently is no longer
a need for the "name" definition.

   Paul
Image
User avatar
Gypsy_Baron
1st Lieutenant
1st Lieutenant
 
Posts: 467
Joined: Tue Oct 05, 2004 6:33 pm
Location: Daly City, California

Re: BGL creation question

Postby dave3cu » Tue Dec 16, 2008 3:30 pm

Boikat,

Found Lionheart's 'suprcrr.zip' at flightsim.com and installed..

The 'bglcomp.exe' in the \lionheart\ folder is from the FS2004 SDK, but is missing the required 'bglcomp.xsd' file, also from the FS2004 SDK.
Last edited by dave3cu on Tue Dec 16, 2008 3:54 pm, edited 1 time in total.
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: BGL creation question

Postby Boikat » Tue Dec 16, 2008 11:59 pm

Thanks, guys! [smiley=clapping.gif]

The fleet is in! :)

Image

FSX BGL still was being grumpy, so I downloaded the 2004 BGL compiler.  Happy cat!!! [smiley=bigcool.gif]

Thanks again!  

Now if you'll excuse me, I'm off the plant a few more invaders from the Evil Galactic Empire!  Mwahahahah!   ;)
Image
"I reject your reality, and substitute my own" Adam Savage, Mythbusters
User avatar
Boikat
Major
Major
 
Posts: 2974
Joined: Thu Mar 20, 2008 8:23 pm
Location: NW Loueezianner

Next

Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 443 guests