• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Installation problem - visual basic

Messages
14
Country
germany
Dear community,
I have recently installed ScenProc for the first time (64 bit system). Unfortunately, I am getting this error message:

scenproc requires Microsoft Visual Basic C++ 2008 SP1 runtime files, please make sure this version is installed

I have tried all kinds of installs and reinstalls of Visual Basic, but to no avail.

Any idea what I could try next?

Best regards,
Holger
 
Hi,

I think the message says Visual C++ runtime files, not Visual Basic. This has nothing to do with Visual Basic.

You can download the runtime files here (the manual also contains the link):

https://www.microsoft.com/en-us/download/details.aspx?id=26368

Make sure you install the 64 bit version, since you are running 64 bit scenProc.
 
Thank you, Arno! I did this, and now the program opens. But I cannot write in the text field. Do you think you can help again?

Groetjes,
Holger
 
You first need to press the new button to create a new configuration script. Then you can type your configuration.
 
Thank you very much, Arno, this worked very well.

I tried to build a first scenery by copying the road script in the manual. The script runs without error, but there is no output, the folder remains empty.

If I take a bigger area, there is obviously an XML file in the making in the scenery folder, but it remains empty.

In QGIS, I notice that the SHP file uses "secondary" but also uses "motorway" and not "highway". But I replaced "highway" in the script with "motorway", and it was still the same result. I also tried a shorter path for the BGL.

Any idea about the mistake I might be making?

Best regards,
Holger



# GCC roads
ImportOGR|E:\FSX\Scenery\roads.shp|*|highway|NOREPROJ
#
PlacePointsAlongLine|FTYPE="LINE" And highway="secondary"|CONTINUOUS|150;150|5;5|0|String;type|licht|hdg
#
CreateXMLLibObj|type="licht"|{47c97ced-c4e6-4e4b-8e9f-b110989eea62}|hdg|0|0
#
ExportBGL|FSX|GCC roads|E:\FSX\Flight Simulator X\Addon Scenery\FSX\Asia\BHR\Bahrain roads\scenery|KEEPXML
 
Hi,

If you downloaded the OSM data as shp most likely the attribute is called type and not highway. You can check this in QGIS as well. So try type="motorway".
 
Thanks a lot, your assumption was right. Now I have BGL files of a reasonable size. However, I don't see any changes in the scenery. I set the altitude for the lights to 100 as I was wanted to check whether the lights were underneath the surface, but no. I assume this is about the XML library. Do I need to reference to a specific library or does a library file need to be in the same directory as the lights bgl? I also tried with "lights" instead of "licht" as I thought this might be in the stock library, but - again - no changes.

I have to apologize that I never tinkered with XML file. All my programming experience is coming from the EPIC module for homecockpits which uses a language similar to C++

Best regards,
Holger

P.S.: Any hint were I can find an example of a configuration file to generate roads (not autogent, but vectored roads)?
 
The guid you use should match an object in an active library bgl. I think the sample used some default FS object, but I can't remember exactly.

Licht or light doesn't matter, it's just a name of an attribute and you can use any value you want.

At the moment scenProc can't make terrain vector roads yet. That's on the wishlist.
 
Back
Top