bglcomp fs2004 in Vista won't compile

Posted:
Fri Apr 09, 2010 1:22 am
by crewdog
Hi all,
Did a search and couldn't find an answer. I'm trying to compile an xml scenery file into a bgl file but it won't do create the file, even using the unchanged file. Any ideas??
TIA
Re: bglcomp fs2004 in Vista won't compile

Posted:
Fri Apr 09, 2010 7:26 am
by dave3cu
I don't use Vista, so am not sure if it's a Vista issue or a bglcomp issue....
In case it is a Vista security issue: Make sure you're logged in with admin. privilege. In Windows Explorer, highlight your bglcomp folder, right-click, and edit the Permissions to allow "Full Access" with "Administrator Rights."
Are you compiling via manual 'drag and drop' or thru a design program's compile command?
If you're attempting a manual 'drag and drop' compile, try this. It will allow you to see if there are bglcomp errors during the compile-
If you haven't already done so......
-On your desktop, create a new folder named 'bglcomp'. (without the quotes)
-Copy the 'bglcomp.exe' AND 'bglcomp.xsd' files to the new folder.
Then....
-Create a new text file (in Notepad) and copy these 2 lines to the file-
bglcomp.exe *.xml
pause
save the file as 'run_bglcomp.bat' (without the quotes) to the new 'bglcomp' folder.
-Copy your .xml file (and .mdl files if required) to the new 'bglcomp' folder.
-To compile, double-click on the 'run_bglcomp.bat' file.
bglcomp will run in the dos (command prompt) window and pause on completion so that you can see if there were any errors .
Hope this helps..