Unable to export custom model into FS2020 as described in the document

I don’t know why but it seems that every part of the pipeline is broken, or changed silently without documentation

I checkedt this video showing pipeline of using 3DSMAX
But first, the generate XML button in the multi-exporter does not have any response
So I have to manually create the xml file

This is my folder structure.
The folder contaning the target gltf 3DMODEL
PackageSources\generalgraphics-xuzhouxinyi-modellib\ZSX1_TowerTermial_Compound


The modellib folder
image


The Pacjage Source Folder


The sceneries folder contains the airport xml

According to the video it shold recognize the folder structure and take the model into the simulator. I don’t know if the .max source file causes the problem but in the video it doesn’t

I only get this in the console

PackageBuilder | No partial lister for asset type BGL
PackageBuilder | Failed to find asset group for file G:\FS_AP_ZSX1\XuzhouXinyi\PACKAGESOURCES\GENERALGRAPHICS-XUZHOUXINYI-MODELLIB\ZSX1_TOWERTERMIAL_COMPOUND\ZSX1_TOWERTERMIAL_COMPOUND.XML
PackageBuilder | Failed to find asset group for file G:\FS_AP_ZSX1\XuzhouXinyi\PACKAGESOURCES\GENERALGRAPHICS-XUZHOUXINYI-MODELLIB\ZSX1_TOWERTERMIAL_COMPOUND\ZSX1_TOWERTERMIAL_COMPOUND.XML
PackageBuilder | Failed to find asset group for file G:\FS_AP_ZSX1\XuzhouXinyi\PACKAGESOURCES\GENERALGRAPHICS-XUZHOUXINYI-MODELLIB\ZSX1_TOWERTERMIAL_COMPOUND\ZSX1_TOWERTERMIAL_COMPOUND.XML

Can you please show your PackageDefinitions xml?

Looks like your modelLib asset group is type bgl and not modelLib

Greetings,
I checked my file structure and it seems my only package is .bgl for airport

I guess what I need to do is to add a modellib package? It looks like the custom-3DSMAX-model-pipeline has changed, the video tutorial on youtube did not mention a seperate modellib package?
Here is what I did:
I add an modellib package


And I copy paste the 3D asset source file and gltf file here


Then I build the package, and boom


Says end of file in .xml file

The package definition xml file (after adding modellib package)

<?xml version="1.0" encoding="utf-8"?>

<AssetPackage Version="0.1.0">

    <ItemSettings>

        <ContentType>SCENERY</ContentType>

        <Title>Xuzhou Xinyi Qipan Airport</Title>

        <Manufacturer/>

        <Creator>GeneralGraphics</Creator>

    </ItemSettings>

    <Flags>

        <VisibleInStore>false</VisibleInStore>

        <CanBeReferenced>false</CanBeReferenced>

    </Flags>

    <AssetGroups>

        <AssetGroup Name="ContentInfo">

            <Type>ContentInfo</Type>

            <Flags>

                <FSXCompatibility>false</FSXCompatibility>

            </Flags>

            <AssetDir>PackageDefinitions\generalgraphics-airport-zsx1-xinyi-qipan-airport\ContentInfo\</AssetDir>

            <OutputDir>ContentInfo\generalgraphics-airport-zsx1-xinyi-qipan-airport\</OutputDir>

        </AssetGroup>

        <AssetGroup Name="XinyiEnvironmentArt">

            <Type>ModelLib</Type>

            <Flags>

                <FSXCompatibility>false</FSXCompatibility>

            </Flags>

            <AssetDir>PackageSources\Scenery\airport-zsx1-xinyi-qipan-airport\XinyiEnvironmentArt\</AssetDir>

            <OutputDir>Scenery\airport-zsx1-xinyi-qipan-airport\XinyiEnvironmentArt\</OutputDir>

        </AssetGroup>

        <AssetGroup Name="rb-airport-zsx1-xinyi-qipan">

            <Type>BGL</Type>

            <Flags>

                <FSXCompatibility>false</FSXCompatibility>

            </Flags>

            <AssetDir>PackageSources\sceneries\</AssetDir>

            <OutputDir>scenery\generalgraphics\</OutputDir>

        </AssetGroup>

    </AssetGroups>

</AssetPackage>

The 3d model’s xml file

<?xml version="1.0" encoding="utf-8" ?>

    <ModelInfo version="1.1" guid="{79f6514e-a555-4fc3-b27b-115eec42cc45}">

        <LODS>

            <LOD> ModelFile="ZSX1_TowerTermial_Compound_LOD0.gltf" minSize="70"/>

            <LOD> ModelFile="ZSX1_TowerTermial_Compound_LOD1.gltf"/>

        </LODS>

    </ModelInfo>

Hello mamuDesign, I add the folder structure and xml file in the post above. It didn’t go through the reply post

In your model .xml, please remove this closing parenthesis, should be like this

<LOD ModelFile="ZSX1_TowerTermial_Compound_LOD1.gltf"/>

Also please shorten your path/filenames or enable long path in windows

https://www.microfocus.com/documentation/filr/filr-4/filr-desktop/t47bx2ogpfz7.html

1 Like

Oh Jz…Such a grammar mistake…I shouldn’t have been sleepy when working…
Thanks for your help.
I’ve successfully imported the mesh and I am texturing it now.
I’d like to invite you into a fly test when this GA airport meets aesthetic milestone.

However, onething I’ve confirmed that is in the SDK of ver 0.18, the generate XML button for 3DSMAX plugin is not working. The developer has to create it manually

1 Like