November 24, 201312 yr Author Thanks Jim. I just registered also at FSDevelopers site in order to submit my query. As far as the location of the compiler, it was done automatically by downloading the SDK files from FSX Gold Edition disc 1. The compiler is located in the c:\program files (x86)\microsoftgames\microsoft flight simulator x sdk\sdk\environment kit\bgl compiler sdk. (lower case letters for convenience). The xsd file is right there also.I have been at this for three (now four) days and, although my learning curve is now exponential, I still cannot add waypoints to Toronto Pearson International.. :search: Thanks for your assistance, Cheers, Ben
November 24, 201312 yr Commercial Member I'll bet it's windows permissions BS preventing the .bgl from being created in the Program Files (x86) folder. You could try moving the XML onto your desktop and then dragging it into the BGL Compiler SDK explorer window straight onto bglcomp.exe.. That way the .bgl gets created on the desktop rather than in the Program files (x86) folder. Might work... Failing all else post up your XML and I'll compile it for you. Jim
November 24, 201312 yr I greatly appreciate your patience with this issue. Here is what I did. I cut and pasted your message onto notepad and saved it as an xml file. I then brought the xmi file into the same folder as the compiler exe file. I opened a DOS window and wrote: BGLComp.exe test1.xml (test1 being the name of the file I saved your message under). Here is what DOS showed: INTERNAL COMPILER ERROR: #C2623: Couldn't open file: test1.BGL. INTERNAL COMPILER ERROR: #C2585: Unable to create output file 'test1.BGL This is where I am at. Again, your time is greatly appreciated. Cheers, Ben Hummm..are you on a Win7 system? It may be a matter of permissions since the error indicates it can't create the output file. Any time I have had a failure with BGLCOMP it listed the error type and the line number of the inp[ut file where the error occurred. I don't see that above. Also, do you have the DOS Command input set to the folder where BGLCOMP resides? For instance, my SDK is on my "X:" drive, When I go to compile an XML file I first enter this text, which I have saved in that folder as a text file, to set the correct path' X: cd Microsoft Flight Simulator X SDK\SDK\Environment Kit\BGL Compiler SDK After entering that text, corrected for YOUR path, you can then enter the "bglcomp.exe test1.xml" line. Paul
November 24, 201312 yr Paul, there is an easier way. Assuming the .xml and bglcomp.exe are in the same folder, hold down the Shift key and right-click in that folder and you will get an option to "Open command window here" and the path to that folder will be "preloaded" to the DOS prompt. Then just type bglcomp filename.xml (or .txt works also) and Bob's your uncle. No need to type .exe either. regards, Joe The best gift you can give your children is your time.
November 24, 201312 yr I'll bet it's windows permissions BS preventing the .bgl from being created in the Program Files (x86) folder. You could try moving the XML onto your desktop and then dragging it into the BGL Compiler SDK explorer window straight onto bglcomp.exe.. That way the .bgl gets created on the desktop rather than in the Program files (x86) folder. Why not just copy the XML file to the BGL Compiler SDK folder, and then run BGLCOMP (via the DOS Prompt) from there? All of the necessary files are in there, so it makes more sense to do it from that folder. Christopher Low AMD Ryzen 7 9800X3D CPU / 64GB DDR5-6000 RAM / 12GB Nvidia RTX 4070 Super GPU / Gigabyte X870E Aorus Elite Wifi 7 / 1+2TB Samsung Evo Plus M2 Nvme UK2000 Beta Tester
November 24, 201312 yr Paul, there is an easier way. Assuming the .xml and bglcomp.exe are in the same folder, hold down the Shift key and right-click in that folder and you will get an option to "Open command window here" and the path to that folder will be "preloaded" to the DOS prompt. Then just type bglcomp filename.xml (or .txt works also) and Bob's your uncle. No need to type .exe either. regards, Joe Aha...thanks for that tip Joe. I did not know about that shortcut. Paul
November 24, 201312 yr Commercial Member Why not just copy the XML file to the BGL Compiler SDK folder, and then run BGLCOMP (via the DOS Prompt) from there? All of the necessary files are in there, so it makes more sense to do it from that folder. Because Windows permissions issues prevent the .bgl from being created in the Program Files (x86) folder but aren't likely to interfere with creating the .bgl on your desktop?
November 24, 201312 yr I never have a problem using that method. Christopher Low AMD Ryzen 7 9800X3D CPU / 64GB DDR5-6000 RAM / 12GB Nvidia RTX 4070 Super GPU / Gigabyte X870E Aorus Elite Wifi 7 / 1+2TB Samsung Evo Plus M2 Nvme UK2000 Beta Tester
November 24, 201312 yr Commercial Member Well either have I because I turned UAC off 15 minutes after I installed Windows, but if you'd taken the time to read the 3 or 4 posts prior to my obviously useless suggestion you'd see that what you suggested is exactly what the OP tried to do and the result was no .bgl. Since that didn't work I was simply making a suggestion in an attempt to rectify the problem.
November 24, 201312 yr I wasn't having a go at you, Jim. I was simply stating what I normally do. As far as I am aware, UAC is still active on my PC, although I would need to know where to look to check that out. My apologies if it seemed like I was criticising. I really wasn't :mellow: Christopher Low AMD Ryzen 7 9800X3D CPU / 64GB DDR5-6000 RAM / 12GB Nvidia RTX 4070 Super GPU / Gigabyte X870E Aorus Elite Wifi 7 / 1+2TB Samsung Evo Plus M2 Nvme UK2000 Beta Tester
November 24, 201312 yr Commercial Member No need for an apology Christopher, pleased to make your acquaintance BTW :smile: Jim
November 24, 201312 yr I use Windows 7 have bglcomp.exe and bglcomp.xsd in a folder within Documents. UAC is active. I created a new .xml file in that folder from Jim's sample. Dropping it onto bgkcomp.exe created a new .bgl file with no problem. Using the short cut also works. Gerry Howard
November 24, 201312 yr Author Before my eyes closed for the night, I read Jim's post on Windows 7. This morning, I race to the simulator with coffee in hand, took BGL compiler SDK file out of where it was and put it on my desktop. Voila! It is officially compiling. :dance: It appears to be an issue with "administrator" privileges. Now, if you could direct me into the proper forum for where to actually put this bgl file in fsx, it would make my journey complete... I think I will install a monument at that location and every time I flying into Toronto, I will execute a low altitude flyby just to remember you guys. :yahoo: Cheers, Ben
November 24, 201312 yr if you could direct me ... where to actually put this bgl file in fsx, Any active scenery folder will do. regards, Joe The best gift you can give your children is your time.
November 24, 201312 yr Author Thank you Joe for your prompt response. I guess the clarifying question is "what is an active scenery?". The reason why I ask is because I have followed Mutley's Hangar procedure to the letter but when I put the bgl file in the AddonScenery->Scenery, nothing is happening in fsx. Do I have to play with the settings in fsx thereafter? Thanks a milion. Cheers, Ben
Create an account or sign in to comment