Multi CGL aerial imagery export guidance

I am working on a 2 cgl asset package (MSFS 2020 SDK) and I am having problems, I had read the other treads on similar topics but I haven’t got a solution, I need guidance :slight_smile:

The airport I am working is expanding in real life, so now I need to add a 2nd cgl file (since I want to keep the first area as is and just add the new area, otherwise I have to work on a complete new larger area, and it gets too big)

I tried different PackageDefinitions xml file AssetDir and OutputDir naming conventions.

My current PackageDefinitions xml file is as:

<AssetGroups>
	<AssetGroup Name="CGL_W">
		<Type>CGL</Type>
		<AssetDir>PackageSources\CGL_W</AssetDir>
		<OutputDir>CGL\W</OutputDir>
	</AssetGroup>
	<AssetGroup Name="CGL_E">
		<Type>CGL</Type>
		<AssetDir>PackageSources\CGL_E</AssetDir>
		<OutputDir>CGL\E</OutputDir>
	</AssetGroup>
</AssetGroups>

it either exports with 2 cgl files or crashed during export. But although when it exports without errors the resulting 2 CGL file package does not show up in MSFS.

The aerial areas are adjacent and the resulting cgl files have the same name (sai323.cgl).

CGL/W/120/sai323.bgl

CGL/E/120/sai323.bgl

I tested, both cgl exported separately are working in the sim, so singularly they seem ok.

I suspect (although in different folders under CGL folder) the 2 cgl files having the same name may be a problem.

What is the probable reason the exported 2 cgl file scenery package does not show in the sim?

What is the critical point I am missing?

Thank you everybody for the support and suggestions.

Regards,

Sunay

I would think that you’d need two separate packages, although they may be in a single project. I’ve never tried putting a CGL over and existing CGL, though, so not sure if it would work. I assume the smaller CGL is higher resolution?

Thank you for the suggestions. I tried both, smaller area with higher resolution, or both areas with the same resolution, didn’t make a difference in my case.

Identical_CGLs.zip (7.7 MB)

Here’s a 2020 example of 2 CGL packages that work. The scenery is just west of c59.

They work in Community just fine. test1 overlaps test2.

Thank you Rhumbaflappy, for the test and for your answer. OK, so 2 separata 1 cgl packages covering the same region can work together. But do you also have a tip about how to combine them into 1 package with 2 cgls, that also works?

I don’t find they can be combined. If you had the source tiles, you could make a single CGL file.