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

MSFS Failed to compile added model

GHD

Messages
12,243
Country
england
project XML: F:\Alpha_17\F20\My=EGNT\My=EGNT.xml
temp dir: F:\Alpha_17\F20\My=EGNT\_PackageInt
output dir: F:\Alpha_17\F20\My=EGNT\.
PackageBuilder | Reading F:\Alpha_17\F20\My=EGNT\My=EGNT.xml...
PackageBuilder | Preparing asset groups...
PackageBuilder | Done, 3 asset groups registered.
PackageBuilder | Generating commands for package egnt-newcastle...
PackageBuilder | Preparing commands for asset group egnt-models...
PackageBuilder | Preparing commands for asset group egnt-airport...
PackageBuilder | Ready, 4 commands added.
PackageBuilder | Starting the build...
PackageBuilder | Build package egnt-newcastle ...
PackageBuilder | Building assets for the package egnt-newcastle...
Compiling BGL from file egnt-airport.xml...
Copying files from source folder F:\Alpha_17\F20\My=EGNT\PackageSources\GHD-egnt-newcastle-modelLib\...
Compiling BGL file from in-memory data to output file GHD-egnt-newcastle-modelLib.BGL...
Copying files from source folder F:\Alpha_17\F20\My=EGNT\PackageSources\GHD-egnt-newcastle-modelLib\...
PackageBuilder | Mirroring...
PackageBuilder | Validating Package 'egnt-newcastle'...
[Package Validation] 'egnt-newcastle' - Error@misc: Missing folder 'F:\Alpha_17\F20\My=EGNT\Packages\egnt-newcastle\MarketplaceData'
[Package Validation] 'egnt-newcastle' - Error@misc: Missing or invalid Business file 'F:\Alpha_17\F20\My=EGNT\Packages\egnt-newcastle\Business.json'

Package Validation failed for 'egnt-newcastle'
PackageBuilder | Finished, 0 skipped, 4 done and 1 failed, took 0s188ms.
Press any key to continue . . .





Backup attached.
 

Attachments

  • My=EGNT_Backup.zip
    423 KB · Views: 91
Messages
766
Country
italy
Did you tried your package in the community? That log Is a nice One, everything Is compiled properly
Those error regarding marketplace data, at the Moment, should be ignored, they wont cause any problem

If you want to create valid marketplace folder and data you should open your project in the Project editor within the Sim (and It a lot of data to add!).

As long as the format of those data Will be relased in sdk docs or samples i'm pretty sure Ade Will be udpdated as well


Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,854
Country
unitedkingdom
The two output lines in red are actually warnings and should not affect the build
 

GHD

Messages
12,243
Country
england
Hmm, the tower didn't appear :confused:



But, where is the model? And, where are the textures?
 
Last edited:

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,942
Country
us-wisconsin
The model goes into: PackageSources\GHD-egnt-newcastle-modelLib
The model textures go into: PackageSources\GHD-egnt-newcastle-modelLib\texture
 

GHD

Messages
12,243
Country
england
OK, I copied the model and textres:

F:\MSFS2020\Packages\Community\GHD-egnt-newcastle-modelLib>dir /s
..
23/06/2021 23:20 139,256 EGNT_Tower.bin
23/06/2021 23:20 3,961 EGNT_Tower.gltf
23/06/2021 23:20 127 EGNT_Tower.xml
..
F:\MSFS2020\Packages\Community\GHD-egnt-newcastle-modelLib\texture>dir
..
23/06/2021 23:20 26,022 egnt_tower_textures.jpg

Added the model to ADE:



Positioned model:



Added an "Exlude ALL" rectangle

Still only the default tower is displayed:

 

GHD

Messages
12,243
Country
england
OK, how may files are created after compile?


C:\Users\Home>f:

F:\>dir /s *EGNT*
Volume in drive F is 4TB
Volume Serial Number is E69A-1B98

Directory of F:\Alpha_17\F20\12345\PackageDefinitions

24/06/2021 21:19 1,241 egnt-newcastle.xml
1 File(s) 1,241 bytes

Directory of F:\Alpha_17\F20\12345\Packages

24/06/2021 21:25 <DIR> egnt-newcastle
0 File(s) 0 bytes

Directory of F:\Alpha_17\F20\12345\Packages\egnt-newcastle\scenery\world\scenery

24/06/2021 22:16 124,717 egnt-airport.bgl
1 File(s) 124,717 bytes

Directory of F:\Alpha_17\F20\12345\Packages\newcastle\scenery\global\scenery

24/06/2021 22:16 56 GHD-egnt-newcastle-modelLib.BGL
1 File(s) 56 bytes

Directory of F:\Alpha_17\F20\12345\Packages\newcastle-ghd\scenery\global\scenery

24/06/2021 22:32 56 GHD-egnt-newcastle-modelLib.BGL
1 File(s) 56 bytes

Directory of F:\Alpha_17\F20\12345\PackageSources

24/06/2021 20:46 <DIR> GHD-egnt-newcastle-modelLib
0 File(s) 0 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_metadata

24/06/2021 21:25 <DIR> egnt-newcastle
0 File(s) 0 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_metadata\egnt-newcastle

24/06/2021 21:25 152 egnt-airport.xml
1 File(s) 152 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_metadata\newcastle

24/06/2021 22:16 307 egnt-models.xml
1 File(s) 307 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_metadata\newcastle-ghd

24/06/2021 22:19 152 egnt-airport.xml
24/06/2021 22:32 307 egnt-models.xml

2 File(s) 459 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_timestamps\Output_0

24/06/2021 21:25 <DIR> egnt-newcastle
0 File(s) 0 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_timestamps\Output_0\egnt-newcastle

24/06/2021 22:16 86 egnt-airport.xml
24/06/2021 22:16 171 egnt-airport_output.xml

2 File(s) 257 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_timestamps\Output_0\newcastle

24/06/2021 22:16 182 egnt-models_output.xml
1 File(s) 182 bytes

Directory of F:\Alpha_17\F20\12345\_PackageInt\_PackageInt\_timestamps\Output_0\newcastle-ghd

24/06/2021 22:28 86 egnt-airport.xml
24/06/2021 22:28 170 egnt-airport_output.xml
24/06/2021 22:32 186 egnt-models_output.xml

3 File(s) 442 bytes

Directory of F:\Alpha_17\F20\Xml

24/06/2021 20:46 758,568 EGNT.xml
1 File(s) 758,568 bytes

Directory of F:\MSFS2020\Packages\Community

24/06/2021 21:26 <DIR> egnt-newcastle
24/06/2021 18:09 <DIR> GHD-egnt-newcastle-modelLib

0 File(s) 0 bytes

Directory of F:\MSFS2020\Packages\Community\egnt-newcastle\scenery\world\scenery

24/06/2021 22:16 124,717 egnt-airport.bgl
1 File(s) 124,717 bytes

Directory of F:\MSFS2020\Packages\Community\GHD-egnt-newcastle-modelLib

23/06/2021 23:20 139,256 EGNT_Tower.bin
23/06/2021 23:20 3,961 EGNT_Tower.gltf
23/06/2021 23:20 127 EGNT_Tower.xml

3 File(s) 143,344 bytes

Directory of F:\MSFS2020\Packages\Community\GHD-egnt-newcastle-modelLib\texture

23/06/2021 23:20 26,022 egnt_tower_textures.jpg
1 File(s) 26,022 bytes

Directory of F:\MSFS2020\Packages\Community\newcastle\scenery\global\scenery

24/06/2021 22:16 56 GHD-egnt-newcastle-modelLib.BGL
1 File(s) 56 bytes

Directory of F:\MSFS2020\Packages\Community\newcastle-ghd\scenery\global\scenery

24/06/2021 22:32 56 GHD-egnt-newcastle-modelLib.BGL
1 File(s) 56 bytes

Directory of F:\MSFS2020\Packages\Community\newcastle-ghd\scenery\world\scenery

24/06/2021 22:19 124,717 egnt-airport.bgl
1 File(s) 124,717 bytes

Total Files Listed:
24 File(s) 1,305,371 bytes
6 Dir(s) 3,759,188,541,440 bytes free

(modelLib was created by MCX)

I still cannot remove the default tower and replace iit with a new model.
 
Last edited:

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,942
Country
us-wisconsin
The default tower model needs a polygon to exclude it. Also...

Untitled.png


Inside your PackageSources folder is your GHD-egnt-newcastle-modelLib folder. That's where your model needs to be to get compiled. The PNG or JPG textures for the model go into the 'texture' folder. Then it will all get compiled. ( I stuck a beaconBox model in there to test it all.
 

GHD

Messages
12,243
Country
england
Thanks Dick.

It seems to have worked but:

project XML: F:\Alpha_17\F20\12345\12345.xml
temp dir: F:\Alpha_17\F20\12345\_PackageInt
output dir: F:\Alpha_17\F20\12345\.
PackageBuilder | Reading F:\Alpha_17\F20\12345\12345.xml...
PackageBuilder | Preparing asset groups...
Asset group is nested in another one or has already been added: 'egnt-airport', in directory: 'F:\Alpha_17\F20\12345\PackageSources\data\'
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | Generating commands for package newcastle-ghd...
PackageBuilder | Preparing commands for asset group egnt-models...
PackageBuilder | Preparing commands for asset group egnt-airport...
PackageBuilder | Generating commands for package egnt-newcastle...
PackageBuilder | Preparing commands for asset group egnt-airport...
PackageBuilder | Ready, 7 commands added.
PackageBuilder | Starting the build...
PackageBuilder | Build package newcastle-ghd ...
PackageBuilder | Building assets for the package newcastle-ghd...
Compiling BGL from file egnt-airport.xml...
Compiling 1 SHP -> BGL (file EGNT.shp )...
Compiling texture file TEXTURE\EGNT_TOWER_TEXTURES.JPG...
[CONVERTING BITMAP] 8660238417695799201
[BITMAP CONVERTED] 2D BM_BC1_UNORM 512x512 8660238417695799201
Compiling GLTF data file EGNT_Tower.gltf...
extension 'ASOBO_normal_map_convention' not found; assuming DirectX convention for textures
Material with this name already exists: , renaming to: glTF_Materialx
Copying files from source folder F:\Alpha_17\F20\12345\PackageSources\GHD-egnt-newcastle-modelLib\...
Compiling BGL file from in-memory data to output file GHD-egnt-newcastle-modelLib.BGL...
Copying files from source folder F:\Alpha_17\F20\12345\PackageSources\GHD-egnt-newcastle-modelLib\...
PackageBuilder | Mirroring...
PackageBuilder | Validating Package 'newcastle-ghd'...
[Package Validation] 'newcastle-ghd' - Error@misc: Missing folder 'F:\Alpha_17\F20\12345\Packages\newcastle-ghd\MarketplaceData'
[Package Validation] 'newcastle-ghd' - Error@misc: Missing or invalid Business file 'F:\Alpha_17\F20\12345\Packages\newcastle-ghd\Business.json'
Package Validation failed for 'newcastle-ghd'
PackageBuilder | Finished, 0 skipped, 7 done and 1 failed, took 0s309ms.
Press any key to continue . . .

I don't think the polygon worked:



But, the tower is displayed:



George
 
Top