• 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.

scenproc has stopped working

Messages
481
Hello,

I have seem to got the idea behind this but after creatingagnbuilds, just prior to the writeagnfile it stucks at "done 98%" with the error bellow:

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: scenproc.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4ec7638e
Problem Signature 04: scenProc
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4fdcb74d
Problem Signature 07: 109
Problem Signature 08: 0
Problem Signature 09: System.IndexOutOfRangeException
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033

Here is an edited code txt file from the wiki that I'm trying to use:
Code:
# Schiermonnikoog autogen test
# IMPORTSHP|forest.shp|NOREPROJ
IMPORTSHP|builds.shp|NOREPROJ
 #
SPLITGRID|AGN
 #
SETAGNBUILDINGHEIGHT|0.7;0.2;0.1;0.0
# SETAGNBUILDINGTEXTURE|autogen_NL
 #
# CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=builds.shp;FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=builds.shp;FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
 #
WRITEAGNFILES

Any ideas what might be wrong? I'm just going for the buildings here, that's why forests are commented out.

Kindly,

Blazer
 
Hi,

Do you not get a stack trace or so with the error? That might help me to see which part of the code fails.

Is the input shapefile you are using very big or not?
 
Hi,

Is the attachment what you are asking for?

As for the file it's just under a mb... 0.98mb

Kindly,

Blazer
 

Attachments

  • scenprocstopped.jpg
    scenprocstopped.jpg
    17.6 KB · Views: 573
Hi,

I more meant more detailed errors when the crash happens.

Your shapefile sounds not too big. Maybe you can sent me the sources, so I can try to reproduce it here?

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
Hiya,

I've attached the file to this post. It contains the shape files and the spc txt info.

The location is Aruba, I purchase two separate products on simmarket, an airport for Aruba and a photoreal scenery for the island, but it lacks autogen so I decided to get my hands dirty and make my own photoreal at a better resolution with some autogen.

Kindly,

Blazer
 

Attachments

Thanks, let me see if I can reproduce the error.
 
Hi,

Yes, I can reproduce the error. Actually it is a stupid little error, your last line in the SPC file should also contain the folder where the AGN files should be saved. E.g. to write them in the same folder as the SPC file:

Code:
WRITEAGNFILES|.

I should make the tool more robust by checking if the required parameters are given, but at the moment the tool does not do that. Hence that crash.
 
You see.... the problem is usually between the chair and the keyboard. :D

AGN files are now written. :cool:

Thanks yet again.
 
Back
Top