Trouble with the Asset Editor

Cattman423

Chieftain
Joined
Dec 16, 2020
Messages
1
Hello, I am a new modder and I have one basic mod up on the Steam Workshop, I am working on a new mod that adds two new buildings to the game. I want to use custom building icons but I can't launch the asset editor. I am getting this error message;

C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization VI SDK\AssetModTools\Cooker",

Usage: AssetEditor.exe PathToGameInstall ModName Mod PantryPath [DependencyName DependencyPantryPath...DependencyName DependencyPantryPath

What have I done wrong and what can I do to fix it? I have left the install paths as default and installed everything through steam as default.
 

Zegangani

King
Joined
Oct 9, 2020
Messages
830
Sometimes The Asset Editor tends to crash. You may just have to try it many Times till it works

If it still doesn't work, then maybe you installed SDK in the false Directory. If that's the case then you have to make sure that the SDK Files Downloaded are in the right Directory.
If you're on Windows the Directory would be (If you installed it on another Drive the Path will be different but similar): C:\Program Files (x86)\Steam\steamapps\common (the 2 Files "Sid Meier's Civilization VI SDK" and "Sid Meier's Civilization VI SDK Assets" must be here).

But actually you don't need the Asset Editor if you just want to make custom Icons. Just make The Icons in a DDS format in Sizes 32, 38, 50, 80, 128 and 256.
And make sure the Icon file loads the DDS files, like down here:
Code:
<GameInfo>
  <IconTextureAtlases>
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="32" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings32.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="38" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings38.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="50" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings50.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="80" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings80.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="128" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings128.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING" IconSize="256" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings256.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="32" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings32_FOW.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="38" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings38_FOW.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="50" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings50_FOW.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="80" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings80_FOW.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="128" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings128_FOW.dds" />
    <Row Name="ICON_ATLAS_CATTMAN_BUILDING_FOW" IconSize="256" IconsPerRow="8" IconsPerColumn="8" Filename="CATTMAN_Buildings256_FOW.dds" />
  </IconTextureAtlases>
    <IconDefinitions>
        <!-- BUILDINGS -->
        <Row Name="ICON_BUILDING_X" Atlas="ICON_ATLAS_CATTMAN_BUILDING" Index="0"/>
        <Row Name="ICON_BUILDING_Y" Atlas="ICON_ATLAS_CATTMAN_BUILDING" Index="1"/>
        <!-- BUILDINGS FOW -->
        <Row Name="ICON_BUILDING_X_FOW" Atlas="ICON_ATLAS_CATTMAN_BUILDING_FOW" Index="0"/>
        <Row Name="ICON_BUILDING_Y_FOW" Atlas="ICON_ATLAS_CATTMAN_BUILDING_FOW" Index="1"/>
    </IconDefinitions>
</GameInfo>

And don't forget to make sure the Files are loaded correctly in the Modinfo:
Code:
  <InGameActions>
    <UpdateIcons id="CATTMAN_Icons">
      <File>(Path/)Icons.xml</File> <!-- you can name the Icon file what ever you want, just make sure the path matches-->
    </UpdateIcons>
    <ImportFiles id="CATTMAN_Imports">
      <File>Icons/CATTMAN_Buildings32.dds</File>
      <File>Icons/CATTMAN_Buildings38.dds</File>
      <File>Icons/CATTMAN_Buildings50.dds</File>
      <File>Icons/CATTMAN_Buildings80.dds</File>
      <File>Icons/CATTMAN_Buildings128.dds</File>
      <File>Icons/CATTMAN_Buildings256.dds</File>
      <File>Icons/CATTMAN_Buildings32_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings38_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings50_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings80_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings128_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings256_FOW.dds</File>
    </ImportFiles>
  <Files>
    <File>(Path/)Icons.xml</File>
      <File>Icons/CATTMAN_Buildings32.dds</File>
      <File>Icons/CATTMAN_Buildings38.dds</File>
      <File>Icons/CATTMAN_Buildings50.dds</File>
      <File>Icons/CATTMAN_Buildings80.dds</File>
      <File>Icons/CATTMAN_Buildings128.dds</File>
      <File>Icons/CATTMAN_Buildings256.dds</File>
      <File>Icons/CATTMAN_Buildings32_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings38_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings50_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings80_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings128_FOW.dds</File>
      <File>Icons/CATTMAN_Buildings256_FOW.dds</File>
  </Files>
Note: you better make the Icons File in a xml format, because with SQL sometimes the Icons don't show up in the Game or they show up with low quality.
 
Last edited:
Top Bottom