Hi, I saw a couple posts about an error a lot of people were having. Seemed like no one was able to build their mod after the last patch. But didn't seem to find an explicit explanation or solution. Can someone walk me through what exactly went wrong and how to fix it?
Output when building mod:
Building mod1.mod...
C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\000\Desktop\mod1\attrib\attrib.xml" --burn_path "C:\Users\000\Desktop\mod1\mod1 Intermediate Cache\Intermediate Files\attrib\attrib"
Error building mod1.mod: C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1. arguments --operation ModBinaryBurn --root "C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\000\Desktop\mod1\attrib\attrib.xml" --burn_path "C:\Users\000\Desktop\mod1\mod1 Intermediate Cache\Intermediate Files\attrib\attrib"
Built mod1.mod.
I have been having a bit of trouble myself. Eventually I got it to work, with trial and error. One problem it seems like that it could be with or at least with me was the preview image, but that usually ends in error code 2.
1. try verifying cashes
2. make sure you try to use shortest names possible because if the directory has a limit of characters and avoid high bit characters.
3. Another possible solution I tried was not to save the mod on the desktop. Try maybe create your mod just inside your C drive (C:\mod1.mod.....). As far as I know, this is safe. This may help with cloning long names files like okw_105cm_howitzer\okw_105cm_howitzer.
Hope this helps