Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
BGLCOMP_SDK problem (Read 187 times)
Oct 9th, 2004 at 8:51am

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
I am trying to create an entrie for an elevated helipad in FS9 using Jeffrey Stanyards tutorial I have created and edited the XML file but when I try to compile it using bglcomp.exe the .bgl is not created within the folder. I have followed the tut instructions:

"Now , copy and paste the XML file you have created to the FS2004SDK\BGLCOMP_SDK  Folder on your Hard Drive.

In this folder you will see a file called " bglcomp.exe ", drag your XML file over this icon and it will compile your file and you will have a file called MYTESTPAD.BGL  . All you need to do now is to cut and paste this BGL file to the scenery folder of your project and when you create a new flight in FS9 and type in the Ident code, your Helicopter will appear on the Pad without falling through." Direct quote from Jeffrey's tut

Does bglcomp.exe place the bgl in another folder? Or am I doing something wrong?
I know the bglcomp.exe is working because I see the dos window flash when I drop the xml file on it. I have tried to use the sample xmls that come with the SDK but they do not become .bgl files either.

Glitch


 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #1 - Oct 9th, 2004 at 12:00pm

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
BOTH the *.mdl and the *.xml file must be in the same directory and this is where the *.bgl will be made if the compile is successful. Bglcomp.exe must either be in your Windows search path OR in the directory with the *.mdl and the *.xml file. It works best if you open a Command Prompt window in the the folder where your *.xml file is and type in:

Bglcomp.exe *.xml

(replace the * with the correct name of your file of course)

Using the "Drag and Drop" method WILL NOT tell you if there are any problems whereas, any errors will be displayed in the window using the Command Prompt method..

By having Bglcomp.exe in your Windows search path, example:

C:\Windows OR C:\WINNT

you can call it from anywhere in a Command Prompt window or using a simple batch file to run the executable. Using a batch file is handy if you will be compiling many times. To make a batch file, use notepad and put the same line in it as you would at the Command Prompt with one addition like this:

Bglcomp.exe *.xml

pause


Save it in the directory with your *.xml file as compile.bat, then when you want to compile, just double click on it in Windows Explorer.

Lou
 
IP Logged
 
Reply #2 - Oct 9th, 2004 at 8:01pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
Roger that! Got it going thanks!
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print