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

Do not ever use National character in image names.

Messages
24
Country
sweden
Hi There All.
This is just a warning from me as a swedish citizen using MSFS SDK for hobby purposes.

I have build an area around my villages church The church itself, The parsonage close to it, an annex with some toilets and also a garage for cementary maintenance.

After a while my build begin to be slower and slower - up to one minute in the end - and finally the MSFS ended CTD.
Search the web for a lot of tips. but nothing helped. I take back a backup that I know was working - and again I could build one or two times but then CTD again.

Well I wonder a little what is happening here? I clean the community folder - still CTD (I know that build just use internal data but I wanted to test)
After a while when I read some tips - my suspicion directs to the _PackageInt folder I know that this is internal data and is possible to delete - and if so - it is recreated.
In this folder I found something interesting. In _metadata\<My-projectname>\ folder i found a *-modellib.xml that was close to 3 GB big in size. For a Textfile :)
It is not hard to understand that this make the build to crash.

When I looked in this xml - took a while to load... I found following
ImageModellib.png


When looking at row 176 and 182 there is some confusing with them. The name of this texture is Endastexpiditionsärenden.png (swedis ä and that make the build processor confused.)
It was 20 rows that all exept 2 was very long - up to 250 000 chars long for the longest row. some shorter but still.
I do as you seen above also some testsearch for checking that all texturefiles only can appear once in this file.

Well I goes on and made a test and deleted the _PackageInt and build the project 4 times and found following (When I deleted the _PackageInt the build works again and build also very fast.

Below in the attached SearchFilesDiffers.txt is my findings of this test...

For each time this texture with a swedish national character is built - SDK build will add one more Entry TAG for it.
And not only that - It will also expand the rows length with very confusing characters.
And that why my build goes slower and slower until it was to big for the build process.
It's like an cancer that grows for each build until it is not can stay alive anylonger.

I think this is a bug - even if I now have solved it with changing the "ä" to an "a" in the .png
and replaced it in my model (it was an image added with "Import \Images as planes"

If it not is possible to solve the characters - what about an Error with a errormessage as
"Not allowed character "ä" found. Characters in imagenames must be A-Z,,a-z,0-9 or underscore"

Maybe this will help someone else to not fall in this trap.
 

Attachments

Back
Top