Kelvin Richardson
Resource contributor
- Messages
- 152
- Country

Hi Arno,
I'm having some issues with your merging tool.
I have multiple folders with their respective AGN files for different vegetation and want to merge them all into one texture folder.
For example, I have indigenous forest, exotic forest, mangrove, shelterbelts, etc... and want all of these to merge into one folder but of course each folder has the same AGN file because they contain multiple vegetation features for an area.
I have used your Merge Tool in the Tools menu in ScenProc but it doesn't merge everything as when I go into the sim only some vegetation features show but not all of them.
I'm now confused because I thought this tool was designed to merge all AGN files. Because I have about 16 folders with different vegetation types I'm trying to find a way that I don't have to repeat my steps, it takes a long time to process everything and don't want to do it more than once.
I understand there is your Merge Tool in Tools menu as well as using IMPORTAGN but I am now not sure which method I should be using even after trying to understand your documentation.
My IMPORTAGN config is as follows. It is all in one single instance of ScenProc but I did this because when I use the batch mode on all AGN files it seems not to write each file to the directory and looks like it would takes many days to process this way.
So I would like from you, the most efficient code to use and method, so I can simply merge the files I have ready to merge. It is my final step to get all my hard work to show in the Sim.
Your help is very much appreciated. I am asking for a little more than "you need to use the "IMPORTAGN" step as this won't help me, I'm asking for a little more help with how the code should look exactly to be able to merge all files.
One further issue though, is that I run out of memory trying to process using the below code, and this is only on the first vegetation type.
# @0@=
#
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\BroadleavedIndigenousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\DeciduousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\ExoticForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Fernland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Flaxland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\GorseandBroom\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\HarvestedForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\IndigenousForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Mangrove\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\BroadleavedIndigenousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\ManukaandKanuka\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\MatagouriorGreyScrub\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\MixedExoticShrubland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Shelterbelts\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\SubAlpineShrubland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\TallTussockGrassland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\TreePoints\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\WoodyBiomass
#
SPLITGRID|AGN|*
#
EXPORTAGN|P3D v2|D:\TerrainProjectData\Staging\vegetation\all_veg_merged\texture
I'm having some issues with your merging tool.
I have multiple folders with their respective AGN files for different vegetation and want to merge them all into one texture folder.
For example, I have indigenous forest, exotic forest, mangrove, shelterbelts, etc... and want all of these to merge into one folder but of course each folder has the same AGN file because they contain multiple vegetation features for an area.
I have used your Merge Tool in the Tools menu in ScenProc but it doesn't merge everything as when I go into the sim only some vegetation features show but not all of them.
I'm now confused because I thought this tool was designed to merge all AGN files. Because I have about 16 folders with different vegetation types I'm trying to find a way that I don't have to repeat my steps, it takes a long time to process everything and don't want to do it more than once.
I understand there is your Merge Tool in Tools menu as well as using IMPORTAGN but I am now not sure which method I should be using even after trying to understand your documentation.
My IMPORTAGN config is as follows. It is all in one single instance of ScenProc but I did this because when I use the batch mode on all AGN files it seems not to write each file to the directory and looks like it would takes many days to process this way.
So I would like from you, the most efficient code to use and method, so I can simply merge the files I have ready to merge. It is my final step to get all my hard work to show in the Sim.
Your help is very much appreciated. I am asking for a little more than "you need to use the "IMPORTAGN" step as this won't help me, I'm asking for a little more help with how the code should look exactly to be able to merge all files.
One further issue though, is that I run out of memory trying to process using the below code, and this is only on the first vegetation type.
# @0@=
#
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\BroadleavedIndigenousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\DeciduousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\ExoticForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Fernland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Flaxland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\GorseandBroom\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\HarvestedForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\IndigenousForest\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Mangrove\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\BroadleavedIndigenousHardwoods\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\ManukaandKanuka\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\MatagouriorGreyScrub\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\MixedExoticShrubland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\Shelterbelts\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\SubAlpineShrubland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\TallTussockGrassland\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\TreePoints\
IMPORTAGN|D:\Program Files (x86)\AgnMergeToolv2.30\Convert\WoodyBiomass
#
SPLITGRID|AGN|*
#
EXPORTAGN|P3D v2|D:\TerrainProjectData\Staging\vegetation\all_veg_merged\texture
