• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Victory! The CFS2 world is ours.

A few more error messages

I spent some time today on a couple of things.

I did produce .bgls successfully for the Kharkov area in Russia after my failure around Kursk

I compiled .bgls for the rest of Korea and ran into some more error messages;

For LOD5 981180 (same message as before I think but I include the text anyway:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.

at cfs2AutoCoast.ASMFileVTP.ASMWriteVTP1(String Path, String workingdir, Boolean CleanUp, Boolean BackupExistingBGL)
at cfs2AutoCoast.SBXFile.CompileSBX()
at cfs2AutoCoast.Form1.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

For LOD5 981190

Illegal point call for X in point 1
Illegal point call for y in point 1

(both repeated)

Unlike the previous error this didn't stop the files from compiling and they load successfully in cfs2.

For LOD5 982170

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.

at cfs2AutoCoast.ASMFileVTP.ASMWriteVTP1(String Path, String workingdir, Boolean CleanUp, Boolean BackupExistingBGL)
at cfs2AutoCoast.SBXFile.CompileSBX()
at cfs2AutoCoast.Form1.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I hope this helps.

Cheers
BuV
 
I'd already mentioned to Sander that I wanted to see if we could merge the stock FS9 files with some of the existing freeware scenery already made to improve them. Obviously we'd need the permission of the original developers to do this formally, in the same way we have for planes etc, but I thought I'd try a private experiment.

A freeware package was posted in 2003 for the 'missing' German canal system and associated rivers that I'd already played around with in Sander's earlier release of cfs2autoast. Sooo - I thought I'd try to incorporate the LWM .bgls for the Kiel Canal (between the Baltic and the North Sea). I certainly wasn't expecting what I got.

The following screenies are

1) the original .bgls in LWM Viewer
2) those .bgls loaded into SBuider and merged wih the FS9 LWM for the relevant LOD5 area (950120) - and, as you can see, all seems well.
3) three screenies showing how the canal has turned into the Grand Canyon

Weird.

(This stuff is getting addictive. I feel the need to study SBuilder and Ground2K in detail.)

Cheers
BuV

About the LWM polygons of the canal: can you check what the Altitude is of those polygons in SBuilder?
About learning about ground2k: don't waste any time on it! The whole purpose of cfs2autocoast is to remove it from the toolbox because it is so cumbersome, unstable and limited. Sbuilder: yes please! The help files are really good.
 
A couple for the fast movers

For all the jet jockeys out there, just in case they feel neglected - a few final screenies.

View attachment 91654View attachment 91656

LOD5 976250 north of the DMZ and 976240 around Hanoi.

If you haven't already guessed - I love this tool.

Sander - I'll check the freeware files and report back. I'll also post an extra bit of info about the repeated error in the Landscapes forum tomorrow. Time for bed.

Cheers
BuV
 
Reply...

Sander and others,

Though the technical details are way above my head, the enthusiasm and life of this thread are amazing! Keep it up! :ernae: :salute:
 
Sander and others,

Though the technical details are way above my head, the enthusiasm and life of this thread are amazing! Keep it up!

I'll second that! I have been drooling all over this thread since its beginning........

BuV's screenshots of the first results are fabolous!

Cheers!
KH
:ernae:
 
Dumb question (probably)

Sbuilder: yes please! The help files are really good.

Sander

I'm trying to work out how I can answer your question about altitude re the Kiel canal files.

Unfortunately all I can see when I launch the SBuilder help files is the table of contents. If I click on any of the items the 'info' screen on the right remains blank.

I seem to always have this problem with html help files. (And I just know there's a simple answer . . .)

Cheers
BuV
 
BV,

Which sim were the bgls made for?

IIRC If its FS8, I don't think the bgl will contain any altitude data.

Can you attach the bgl here, or point me in the right direction to find it?
 
Computers and simple answers: yeah right!
On Windows 8, you'll have to unblock the file: right-click the SBuilder.chm file, select Properties. Then click on Unblock.

Oh I don't know - Right click-Properties-Unblock seems simple to me! :icon_lol::icon_lol:

Worked like a charm, anyway. Thanks very much for the tip.

Cheers
BuV

p.s. it was a lot easier than the two hours I spent a few days ago on an ActiveX file I needed to run SBuilder that started off as missing and that my Registry then refused to recognise. God bless the 'net and techie forums . . .
 
BV,

Which sim were the bgls made for?

IIRC If its FS8, I don't think the bgl will contain any altitude data.

Can you attach the bgl here, or point me in the right direction to find it?

Uncle

I think I got the package from Flightsim (or maybe Avsim).

This is the file-id from 2003:

FS2002/FS2004 Canals/rivers in North Germany.
Included in LWM-style:
Weser, Ems, Eider, Hase, Leine, Aller, Nord-Ostsee-Kanal, Mittelland-Kanal, Kuesten-Kanal, Dortmund-Ems-Kanal, Steinhuder Meer.
V1.1 to avoid crashes in FS2004
By Rainer Duda

He also made packs for eastern and southern Germany as well, all aimed at 'filling in the blanks' in the FS9 LWM.

The files work well enough in FS9 as you can see from the Kiel ('Nord-Ostsee-Kanal') Canal below.

View attachment 91684View attachment 91685

Cheers
BuV
 
..... but I'd barely stood up before the operation finished. It took me more time to find the FS9 source files than it did for the tool to finish the job....

Well, here's a little tool for you to make it even easier to get your stuff loaded up. This VB script will use a low-down-and-dirty method of "SendKeys" to operate SBuilder for you.
Extract the file, somewhere on your desktop or where-ever. Edit it with notepad to set the correct path, where it says:
Code:
sBuilderPath="C:\Users\Public\Documents\cfs2\Designtools\SBuilder\sbuilder.exe"
Make sure there's a single set of double quotes around the path.
Save the file (keeping the .vbs extension; if you save under another filename, make sure to set the file type to "All *.*", otherwise Notepad will add .txt

Now you can drag-and-drop any HP9*.bgl file from FS9 on it. Then STEP AWAY FROM THE KEYBOARD and let the script (attempt to) load all the related files. When it ends, SBuilder will be at the "Save project as .. " prompt.

There are "wait" moments built in to allow sbuilder load and do its work. If the script runs faster than your computer can load the files, you can increase the intervals by increasing the value of
Code:
Sleepfactor = 200

I may or may not integrate this script in cfs2autocoast, but here it is for you to make life easier right now.
 
Thank you!

Great, Sander - I'll give it a try.

At the risk of asking an awkward question - does it also pick up the 'troublesome' UT*.bgls? No problem if it does of course - I'll just be forewarned.

Cheers
BuV
 
Great, Sander - I'll give it a try.

At the risk of asking an awkward question - does it also pick up the 'troublesome' UT*.bgls? No problem if it does of course - I'll just be forewarned.

Cheers
BuV
Yes. The trouble will be fixed in the code, not worked around by just leaving the UT out. Welcome to the world of beta testing.
 
Just add to the Manual:

To enable a group of developers to work on the same code and achieve a common goal, we need a common repository of source files to work with. This brings certain complexities and possible conflicts when working on the same area.
The are several types of standardized professional source code management solutions, such as SVN, GIT, Microsoft Visual Studio Team Foundation etc. Each of these work with the principle of code check-in/check-out, versioning, locking etc.
Once a repository is made and populated, it can easily be moved from one hosting server to another, so it’s very flexible. Also forks can be created (for instance: from 1940’s to Modern for the jet jockeys)
Since this project will eventually contain A LOT of files, the compile and other file handling operations must be automated as much as possible, to avoid the waste of time and human error. The scripts must be autonomous/portable (from computer to computer) so all path references must be relative.
Since SBX files are plain text files and rather large, the repository will contain ZIP files. The compression/extraction will be done by cfs2autocoast.
The repository is not limited to cfs2autocoast stuff, we can include anything in the CFS2world that we want/can get permission for. If we include airfields, objects, GSL et cetera, we could make some serious impact in the unification and preservation of existing add-ons (strict standards and testing procedures must be implemented)
 
Sander,

I've always had alot of respect and appreciate all your work through the years.It's great to hear you have accomplished what you have beem striving for all these years.I'm for anything that improves the CFS2 world especially the Pacific.
 
Sander,

I've always had alot of respect and appreciate all your work through the years.It's great to hear you have accomplished what you have beem striving for all these years.I'm for anything that improves the CFS2 world especially the Pacific.
Thanks Talon, right back at ya. I hope one day our little virtual museum will be in such shape that I can finally go fly all your missions (Pacific Ocean with waves/reflection? 3d clouds? Dreams may come true!)
 
cfs2autocoast3 conversion of FS9 SAME folder ( South America ). Took about 4 days with some editing in SBuilder9. Sander's program batch compiled the 204 SBX files in 63 minutes for the whole continent. Here's a picture of Cape Horn:

View attachment 92366

Dick
 
With the latest version, we've certainly passed a milestone. With Dick and the other testers cranking out SBuilder files, and me tweaking the code, we're now at the point where the basic functionality is in place and stable enough to complete the world.
:medals::icon29:
 
Back
Top