Using "command prompt", and binary encoding
Posted: 08 May 2009, 20:14
Hi folks,
This isn't the only place I'm asking this, but if anyone can help...
I have decompiled my bvcf.bgl file (from my "add on scenery/scenery" folder) using Bgl2Xml GUI by Jon "scruffyduck". I then edited my bvcf.bgl.xml file in notepad, and now I wish to recompile it. BGLComp flashed up a multitude of errors, but I don't know how to control that tool to save the error report somewhere useful. I am thus clueless about how best to proceed.
I have never tried to compile a file from the "command prompt", but I tried to do so just now as this apparently shows the error messages. It should be clear that I'm clueless about using ms dos command prompt from the following. I entered:
and got this response:
So, looking at the "template" offered above, I entered:
Now I'm not surprised it didn't like that, but I thought I should at least try the suggested format just in case...
Would anyone like to put me out of my misery?
I also had a look at the original file with a hex editor, and located the dwords containing center frequency data (thanks to Winfried Orthmann's pdf). Lacking in experience as I do, I couldn't figure out how the data is encoded. Is it a common algorithm with a name I could google to read up on it? This is probably what I'm most keen on getting to grips with.
Thanks for your time...
Dan
This isn't the only place I'm asking this, but if anyone can help...

I have decompiled my bvcf.bgl file (from my "add on scenery/scenery" folder) using Bgl2Xml GUI by Jon "scruffyduck". I then edited my bvcf.bgl.xml file in notepad, and now I wish to recompile it. BGLComp flashed up a multitude of errors, but I don't know how to control that tool to save the error report somewhere useful. I am thus clueless about how best to proceed.
I have never tried to compile a file from the "command prompt", but I tried to do so just now as this apparently shows the error messages. It should be clear that I'm clueless about using ms dos command prompt from the following. I entered:
C:\>"c:\program files\microsoft games\fs9 engineering\excbuilderv2\bglcomp.exe"
and got this response:
Build: Dec 31 2003 21:41:08
Try something like
bglcomp file:///drive:/path/file.xml
Options
/V Verbose mode (display XML as it's parsed)
Good luck!
So, looking at the "template" offered above, I entered:
C:\>"///c:/program files\microsoft games\fs9 engineering\excbuilderv2/bvcf.xml
Now I'm not surprised it didn't like that, but I thought I should at least try the suggested format just in case...
Would anyone like to put me out of my misery?
I also had a look at the original file with a hex editor, and located the dwords containing center frequency data (thanks to Winfried Orthmann's pdf). Lacking in experience as I do, I couldn't figure out how the data is encoded. Is it a common algorithm with a name I could google to read up on it? This is probably what I'm most keen on getting to grips with.
Thanks for your time...
Dan