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

General discussion about Scenery Design. Questions about SBuilder for Flight Simulator FS2004.

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

Postby upnaway » Wed Apr 13, 2011 10: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
upnaway
 
Posts: 4
Joined: Tue Apr 12, 2011 4:12 pm

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

Postby rhumbaflappy » Wed Apr 13, 2011 1: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
rhumbaflappy
 
Posts: 415
Joined: Sat Oct 16, 2004 9:11 pm
Location:

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

Postby upnaway » Wed Apr 13, 2011 9: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 6:31 am, edited 1 time in total.
upnaway
 
Posts: 4
Joined: Tue Apr 12, 2011 4:12 pm

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

Postby meshman » Thu Apr 14, 2011 1: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
meshman
 
Posts: 219
Joined: Sun Jan 01, 2006 11:54 pm
Location:

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

Postby upnaway » Thu Apr 14, 2011 6:30 am

now ;)
Attachments
EDDP92.zip
(1.37 KiB) Downloaded 1167 times
upnaway
 
Posts: 4
Joined: Tue Apr 12, 2011 4:12 pm

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

Postby rhumbaflappy » Thu Apr 14, 2011 5: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
rhumbaflappy
 
Posts: 415
Joined: Sat Oct 16, 2004 9:11 pm
Location:

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

Postby upnaway » Thu Apr 14, 2011 9: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
upnaway
 
Posts: 4
Joined: Tue Apr 12, 2011 4:12 pm

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

Postby rhumbaflappy » Fri Apr 15, 2011 12: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
rhumbaflappy
 
Posts: 415
Joined: Sat Oct 16, 2004 9:11 pm
Location:


Return to SBuilder for Flight Simulator FS2004



Who is online

Users browsing this forum: No registered users

cron