Error: "Type mismatch" (#13) when producing BGL file

General discussion about Scenery Design. Questions about SBuilder for Flight Simulator FS2004.
Post Reply
upnaway
Posts: 4
Joined: Tue Apr 12, 2011 5:12 pm

Error: "Type mismatch" (#13) when producing BGL file

Post by upnaway » Wed Apr 13, 2011 11:08 am

Dear folks,
For some time I've been using SBuilderX for scenery design for FSX.
Now I'd like to make some airports available for FS9. Hence I need to exclude Autogen and define landclass with SBuilder for FS9.

I've downloaded the package with v2.05 rev 6 and SCASM.exe
I run the exe with Admin-Rights without any trouble.
But when I try to convert my definitions into BGL the runtime error #13 occurs and Sbuilder terminates.

I've changed the regional scheme from German to English (UK), changed the keyboard layout, rebootet, started again SBuilder, re-installed SBuilder, created a new SBP file and so on. But nothing helped.

Obviously the regional settings switch correctly. I can verify that by using the measure tool.
It shows "1355,00 M" format or "1355.00 M", depending on the setting.

Any idea, what to try else?
Do I need any further modules apart from that, delivered with the package?
Is there a need to define paths?

Sorry for the possibly silly questions but I am completely unexperienced with FS9 design.


Maybe for the moment it would help, if someone could be so kind to translate the SBP file into BGL for me.
This allows me to finalize my airport.


Greets
Michael

Win7 x64
SBuilder 2.05 rev. 6
FSX SP2
FS9 SP1

rhumbaflappy
Posts: 420
Joined: Sat Oct 16, 2004 10:11 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by rhumbaflappy » Wed Apr 13, 2011 2:21 pm

Runtime error #13 is a Visual Basic v6 error code signifying a type mismatch.

These would be difficult to find without having an SBX file, which you could zip and attach to a post.

But, a guess is that your project or file names might include a space. Sometimes that can mess things up.

Dick
Dick

upnaway
Posts: 4
Joined: Tue Apr 12, 2011 5:12 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by upnaway » Wed Apr 13, 2011 10:21 pm

Dick,
Many thanks for your instant answer!

Sorry, but I don't really get, what SBX-file you mean :oops:
Do you talk about the SBP file?

Attached you'll find my SBP file.
Last edited by upnaway on Thu Apr 14, 2011 7:31 am, edited 1 time in total.

meshman
Posts: 219
Joined: Sun Jan 01, 2006 11:54 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by meshman » Thu Apr 14, 2011 2:31 am

upnaway wrote:Sorry, but I don't really get, what SBX-file you mean :oops:
Do you talk about the SBP file?
An .SBP file is the standard SBuilder(X) project file, whereas you can export an .SBX file, which is in plain text and easily read by Notepad, etc.
Lance

upnaway
Posts: 4
Joined: Tue Apr 12, 2011 5:12 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by upnaway » Thu Apr 14, 2011 7:30 am

now ;)
Attachments
EDDP92.zip
(1.37 KiB) Downloaded 2258 times

rhumbaflappy
Posts: 420
Joined: Sat Oct 16, 2004 10:11 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by rhumbaflappy » Thu Apr 14, 2011 6:34 pm

Hi upanaway.

Right-click the polygon in SBuilder9, and select properties. On the VTP2 tab, look at the VTP Layer box... it reads 'AB' but SBuilder9 needs a number ( try 4 ). Then it will compile.

Dick
Dick

upnaway
Posts: 4
Joined: Tue Apr 12, 2011 5:12 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by upnaway » Thu Apr 14, 2011 10:50 pm

Hi Dick,
Wow - that's it!! Great!
Now it's proven what a n00b I am to FS9... :roll:

I've got the info from a forum, where the layers were described by two letters: AB, AP, BR, ...
Only a few of them had numbers.

Many thanks for the instant help!!


Michael

rhumbaflappy
Posts: 420
Joined: Sat Oct 16, 2004 10:11 pm

Re: Error: "Type mismatch" (#13) when producing BGL file

Post by rhumbaflappy » Fri Apr 15, 2011 1:21 am

I think the default Airport Backgrounds are layer 7, but layer 4 seems to make more sense to me, as it allows other VTPs to go over the backgrounds... others might use 7.

The SBuilder9 help file has some info on this.

Dick
Dick

Post Reply