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

Adding User Created Scenery / Object doesn't appear in the object list / please help

Hi again @mamu ,

i shared my project folder in the below please have a look to understand the problem

first of all finally i be able to create the folder structure without any error or warnings. we have to create company name folder
after that we have to build other folders. i think that was the older way to do it. and also i dont have any scenery folder in my packages folder- anyway
but after throwing my model from blender i checked my xml with fspackagetool and getting this error.
i think somewhere i am making some character failure but i couldnt find it. is that the model name or something else ?
here it is all the diagnostic.
1625268572253.png


i also found this similar topic in the forums from 2016 there was a missing " then he fixed it

should i check my project xml folder ?

1625270437823.png


i am lost again but i am learning i think :)
 

Attachments

  • skyway-goteborg.rar
    1.3 MB · Views: 163
Last edited:
Hi again @mamu ,

i shared my project folder in the below please have a look to understand the problem

first of all finally i be able to create the folder structure without any error or warnings. we have to create company name folder
after that we have to build other folders. i think that was the older way to do it. and also i dont have any scenery folder in my packages folder- anyway
but after throwing my model from blender i checked my xml with fspackagetool and getting this error.
i think somewhere i am making some character failure but i couldnt find it. is that the model name or something else ?
here it is all the diagnostic.
View attachment 74841
i also found this similar topic in the forums from 2016 there was a missing " then he fixed it

should i check my project xml folder ?

View attachment 74842
1625272896150.png

also havent get that what you were saying. confused
i am lost again but i am learning i think :)
 
Don't use a forward-slash ( / ):

XML:
<AssetPackage Name="fscam-skyway-goteborg" Version="0.1.0">
    <ItemSettings>
        <ContentType>SCENERY</ContentType>
        <Title>skyway-goteborg</Title>
        <Manufacturer/>
        <Creator>fscam</Creator>
    </ItemSettings>
    <Flags>
        <VisibleInStore>false</VisibleInStore>
        <CanBeReferenced>false</CanBeReferenced>
    </Flags>
    <AssetGroups>
        <AssetGroup Name="ContentInfo">
            <Type>ContentInfo</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageDefinitions\fscam-skyway-goteborg\ContentInfo</AssetDir>
            <OutputDir>ContentInfo\fscam-skyway-goteborg</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-modellib">
            <Type>ModelLib</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\ModelLibs\fscam\skyway-goteborg-modellib</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-polygons">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-polygon</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-scene">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-scene</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
    </AssetGroups>
</AssetPackage>
 
Last edited:
Don't use a back-slash ( / ):

XML:
<AssetPackage Name="fscam-skyway-goteborg" Version="0.1.0">
    <ItemSettings>
        <ContentType>SCENERY</ContentType>
        <Title>skyway-goteborg</Title>
        <Manufacturer/>
        <Creator>fscam</Creator>
    </ItemSettings>
    <Flags>
        <VisibleInStore>false</VisibleInStore>
        <CanBeReferenced>false</CanBeReferenced>
    </Flags>
    <AssetGroups>
        <AssetGroup Name="ContentInfo">
            <Type>ContentInfo</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageDefinitions\fscam-skyway-goteborg\ContentInfo</AssetDir>
            <OutputDir>ContentInfo\fscam-skyway-goteborg</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-modellib">
            <Type>ModelLib</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\ModelLibs\fscam\skyway-goteborg-modellib</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-polygons">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-polygon</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-scene">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-scene</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
    </AssetGroups>
</AssetPackage>
Hi ,
thank you for the answer. but i couldnt get where should i not use back-slash ?
 
Don't use a back-slash ( / ):

XML:
<AssetPackage Name="fscam-skyway-goteborg" Version="0.1.0">
    <ItemSettings>
        <ContentType>SCENERY</ContentType>
        <Title>skyway-goteborg</Title>
        <Manufacturer/>
        <Creator>fscam</Creator>
    </ItemSettings>
    <Flags>
        <VisibleInStore>false</VisibleInStore>
        <CanBeReferenced>false</CanBeReferenced>
    </Flags>
    <AssetGroups>
        <AssetGroup Name="ContentInfo">
            <Type>ContentInfo</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageDefinitions\fscam-skyway-goteborg\ContentInfo</AssetDir>
            <OutputDir>ContentInfo\fscam-skyway-goteborg</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-modellib">
            <Type>ModelLib</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\ModelLibs\fscam\skyway-goteborg-modellib</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-polygons">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-polygon</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
        <AssetGroup Name="skyway-goteborg-scene">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\BGLs\fscam\skyway-goteborg-scene</AssetDir>
            <OutputDir>scenery\fscam</OutputDir>
        </AssetGroup>
    </AssetGroups>
</AssetPackage>
i changed the scenery areas but still having the issue.
that issue appears after throwing the model in modellib
otherwise build is working properly without any fail or warning
1625277456822.png
 
i compiled your exact project in my normal projects folder and compiles without issues

it happens that i hade D: drive, so i created the exact folder structure as you are using, and, bam, compiler error.

So, please, as said before, your folder naming is way too long. And also get rid of the "&" in your names!

Tip:

place your working projects in your something more less fancy, like your documents folder
 
Last edited:
i compiled your exact project in my normal projects folder and compiles without issues

it happens that i hade D: drive, so i created the exact folder structure as you are using, and, bam, compiler error.

So, please, as said before, your folder naming is way too long. And also get rid of the "&" in your names!

Tip:

place your working projects in your something more less fancy, like your documents folder
hey ! ah man fınally done ! thank you so much for your patıence and understandıng.
now ı can do basıc thıngs :) other questıon ıs comıng... ıs there any source of free custom buıld object we can fınd ? and also when ı am creatıng some texture on the surface
ıt does not vısıble clearly kınd of transparent. whıch way ıs the best do make some custom texture buıldıng. and ı thınk we cant buıld anythıng on the road ? am ı rıght ?
 
hey ! ah man fınally done ! thank you so much for your patıence and understandıng.
now ı can do basıc thıngs :) other questıon ıs comıng... ıs there any source of free custom buıld object we can fınd ? and also when ı am creatıng some texture on the surface
ıt does not vısıble clearly kınd of transparent. whıch way ıs the best do make some custom texture buıldıng. and ı thınk we cant buıld anythıng on the road ? am ı rıght ?

Wow, lots of questions!

So, free objects... you can Google things on cg trader, they often have blend files or fbx/obj you can easylly import.
Or, as a lot of people do, you can import object from fsx or fs9 bgls with the wonderful tool ModelConverterX by Arno, on this forum


To make sure your texture overrides terrain use aprons instead of polygons

The more you design the more you Will Need some Custom texture, for a nice start you can download full pbr textures from textures.com, texturehaven or cc0textures

You can put Object wherever you want in the world, default roads can be covered to with aprons



Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
Wow, lots of questions!

So, free objects... you can Google things on cg trader, they often have blend files or fbx/obj you can easylly import.
Or, as a lot of people do, you can import object from fsx or fs9 bgls with the wonderful tool ModelConverterX by Arno, on this forum


To make sure your texture overrides terrain use aprons instead of polygons

The more you design the more you Will Need some Custom texture, for a nice start you can download full pbr textures from textures.com, texturehaven or cc0textures

You can put Object wherever you want in the world, default roads can be covered to with aprons



Inviato dal mio Mi 9 Lite utilizzando Tapatalk
Thank you so much for your help and about everything. :) are you using discord? Maybe we should end this topic here. If i have any questions i can ask from there :)
 
Hi @mamu

i have a new question for you
when you said use apron to override texture on everwhere , which i did some areas are working.
but when there is close touch between taxi path and apron area taxi path destroy itself and creates weird shapes
which you can see on the picture
what can be the solution for this problem ?

thank you.
1625540827697.png
 
If you don't mind waiting a few hours a Will publish a new tutorial about this

Adding objects Is really simple, but explaining It with words Is a bit hard! (Everyone has his own workflow...)


Inviato dal mio Mi 9 Lite utilizzando Tapatalk
Mate, can you help me with a question, why when I build the scenery, comes missing doors, windows,? I have created it in a blender, exported it to mfs20 and the hangar comes without doors and windows, all is perfect in a blender when I put it to SDK it comes getting problems
 
Mate, can you help me with a question, why when I build the scenery, comes missing doors, windows,? I have created it in a blender, exported it to mfs20 and the hangar comes without doors and windows, all is perfect in a blender when I put it to SDK it comes getting problems
You should start a new thread and include the model a zipped attachment.
 
Don't use a forward-slash ( / ):

{ Example code not included in quote }

Hello:

This is just a brief comment to clarify that a "Back Slash" ( \ ) can only be used for certain types of coding in Windows. :alert:

It is important to distinguish a "Back Slash" ( \ ) from a standard "Slash" aka "Forward Slash" character: ( / ). :pushpin:



While Windows OS is technically capable of 'tolerating' use of both \ and / characters in folder and file paths:

https://en.wikipedia.org/wiki/Path_(computing)

...a "Back Slash" ( \ ) may not be tolerated in other types of coding for most Windows applications, and is regarded as reserved for special purposes utilized by programming languages such as C, Perl, PHP, Python, Unix scripting languages, and many file formats such as JSON.


FYI: Use of a "Back Slash" ( \ ) instead of a "Slash" aka "Forward Slash" character ( / ) in MSFS-2020 *.JSON files may 'Ux up / 'Nix things'. :stirthepo

Conversely, use of a "Slash" aka "Forward Slash" character ( / ) in Windows Paths / Windows applications ...may also 'Ux up / 'Nix things'. :redflag:

https://www.google.com/search?q=site:www.fsdeveloper.com+GaryGB+"slash"+path+DOS+CMD&source=hp&ei=qRn4YIuBLPa-0PEP8qGm6Ak&iflsig=AINFCbYAAAAAYPgnuULytJqLbSfb9VfOYZ4ued7ZJOcL&oq=site:www.fsdeveloper.com+GaryGB+"slash"+path+DOS+CMD&gs_lcp=Cgdnd3Mtd2l6EAM6CwguELEDEIMBEJMCOggIABCxAxCDAToCCAA6CwguELEDEMcBEKMCOgUIABCxAzoICC4QxwEQrwE6DgguELEDEMcBEK8BEJMCOgUILhCxAzoCCC46CAguELEDEIMBOgsILhDHARCvARCTAjoOCC4QsQMQgwEQxwEQowI6DgguELEDEMcBEKMCEJMCOgQIABAKUJgMWMOyAWCLtwFoAHAAeACAAcsBiAHbGZIBBjI1LjguMZgBAKABAaABAqoBB2d3cy13aXo&sclient=gws-wiz&ved=0ahUKEwjL-desm_TxAhV2HzQIHfKQCZ0Q4dUDCAg&uact=5

[EDITED]


"XML
XML has been used to describe structured data and to serialize objects. Various XML-based protocols exist to represent the same kind of data structures as JSON for the same kind of data interchange purposes. Data can be encoded in XML in several ways. The most expansive form using tag pairs results in a much larger representation than JSON, but if data is stored in attributes and 'short tag' form where the closing tag is replaced with />, the representation is often about the same size as JSON or just a little larger. However, an XML attribute can only have a single value and each attribute can appear at most once on each element.

XML separates "data" from "metadata" (via the use of elements and attributes), while JSON does not have such a concept.

Another key difference is the addressing of values. JSON has objects with a simple "key" to "value" mapping, whereas in XML addressing happens on "nodes", which all receive a unique ID via the XML processor. Additionally, the XML standard defines a common attribute xml:id, that can be used by the user, to set an ID explicitly.

XML tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot begin with -, ., or a numeric digit, whereas JSON keys can (even if quotation mark and backslash must be escaped).

XML values are strings of characters, with no built-in type safety. XML has the concept of schema, that permits strong typing, user-defined types, predefined tags, and formal structure, allowing for formal validation of an XML stream. JSON has strong typing built-in, and has a similar schema concept in JSON Schema.

XML supports comments, while JSON does not."


"Syntactical correctness and error-handling

Main article: Well-formed document

The XML specification defines an XML document as a well-formed text, meaning that it satisfies a list of syntax rules provided in the specification. Some key points in the fairly lengthy list include:
  • The document contains only properly encoded legal Unicode characters.
  • None of the special syntax characters such as < and & appear except when performing their markup-delineation roles.
  • The start-tag, end-tag, and empty-element tag that delimit elements are correctly nested, with none missing and none overlapping.
  • Tag names are case-sensitive; the start-tag and end-tag must match exactly.
  • Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot begin with "-", ".", or a numeric digit.
  • A single root element contains all the other elements."

PS: Windows Path length and/or long folder and file names may also be a source of complications to successful use of the MSFS-2020 SDK: :alert:


https://www.google.com/search?client=firefox-b-1-d&q=MSFS+path+length+long+file+names



https://blog.codinghorror.com/filesystem-paths-how-long-is-too-long/

"I think 260 characters of path is more than enough rope to hang ourselves with. If you're running into path length limitations, the real problem isn't the operating system, or even the computers. The problem is the deep, dark pit of hierarchies the human beings have dug themselves into."


NOTE: While one may extend Windows OS 10 et seq. Path length limit (for "Fully Qualified File Names") of ~235+12 or ~239+11 characters (...but regardless, in actuality NOT 255, 256, or 260 characters long !),

...can MSFS-2020 and/or MSFS-2020 SDK actually handle Windows Paths this long ? :scratchch



https://knowledge.autodesk.com/supp...th-limitation-MAX-PATH-is-256-characters.html

https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

https://mspoweruser.com/ntfs-260-character-windows-10/


BTW: If MS so urgently wants to 'snoop' on end users of the OS and MSFS, presumably it would want to do so only when a user is 'logged on' to Windows.

One "should" always have full file / folder permissions in Windows' Security sub-system when logged onto Windows with access to the Network via UNC.

Thus we could in theory always use UNC names as a fully-compatible way to 'work-around' Path limitations in Windows ...but perhaps not for all "Apps" ? :rolleyes:


https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file

"Naming Conventions

The following fundamental rules enable applications to create and process valid names for files and directories, regardless of the file system:
  • Use a period to separate the base file name from the extension in the name of a directory or file.
  • Use a backslash (\) to separate the components of a path. The backslash divides the file name from the path to it, and one directory name from another directory name in a path. You cannot use a backslash in the name for the actual file or directory because it is a reserved character that separates the names into components.
  • Use a backslash as required as part of volume names, for example, the "C:\" in "C:\path\file" or the "\\server\share" in "\\server\share\path\file" for Universal Naming Convention ( UNC ) names. For more information about UNC names, see the Maximum Path Length Limitation section.
  • Do not assume case sensitivity. For example, consider the names OSCAR, Oscar, and oscar to be the same, even though some file systems (such as a POSIX-compliant file system) may consider them as different. Note that NTFS supports POSIX semantics for case sensitivity but this is not the default behavior. For more information, see CreateFile.
  • Volume designators (drive letters) are similarly case-insensitive. For example, "D:\" and "d:\" refer to the same volume.
  • Use any character in the current code page for a name, including Unicode characters and characters in the extended character set (128–255), exceptfor the following:
    • The following reserved characters:
      • < (less than)
      • > (greater than)
      • : (colon)
      • " (double quote)
      • / (forward slash)
      • \ (backslash)
      • | (vertical bar or pipe)
      • ? (question mark)
      • * (asterisk)
    • Integer value zero, sometimes referred to as the ASCII NUL character.
    • Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more information about file streams, see File Streams.
    • Any other character that the target file system does not allow.
  • Use a period as a directory component in a path to represent the current directory, for example ".\temp.txt". For more information, see Paths.
  • Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory, for example "..\temp.txt". For more information, see Paths.
  • Do not use the following reserved (OS device) names for the name of a file:
    CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended. For more information, see Namespaces.
  • Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp"."
Can MSFS-2020 and/or MSFS-2020 SDK actually handle Windows UNC file / folder paths ?:duck:


Might this complexity result from Asobo attempting to make end users do their work for them to pre-configure content for a VFS / 'AXOS' input mechanism ?

https://www.fsdeveloper.com/forum/threads/rotating-beacon-light-tower.453047/post-886433



IMHO, this merits quoting ...again:

"The problem is the deep, dark pit of hierarchies the human beings have dug themselves into": ;)


"It's unfortunate that the treeview is one of the standard widgets in a usability designer's toolkit, because trees aren't usable. They're a pain in the ass. They may be necessary for developers who are forced to work in the strict, rigid world of software development, but they are unnatural, restrictive, and just plain unnecessary for average users."

[END_EDIT]

GaryGB
 
Last edited:
OK guys.

I've started with a little project, but I run into the same issue. My model just doesn't show up.
arrow model.png

It compiles ok from Blender 3.1, using the MSFSToolkit 0.40.0 . I have a *.bin, *. gltf and *.xml file. Textures go into the texture folder, during compilation.

I followed Myphysicalworlds tutorials, and redid everything twice, following his steps, but still no luck.
Still I get some errors I don't understand while building the package (outside or inside msfs)
It doesn't make the model show up in the object list.
I can add other items in the scenery, from the object list, but not my model (because I cannot select it) . Other items get saved into the project.
Also, there is no layout.json, or manifest.json in my package folder after the build, so it won't be read into MSFS when copied into the community folder.
attached the 2 compiler screenshots.

Can anyone help me sort out the project? Did I make a mistake in some xml file, or in the file structure?
Looking forward to your reply
Build1.png

Build2.png


Best, Rob
 
Last edited:
Back
Top