Trouble Building Mod
Posts: 60
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.
Posts: 766 | Subs: 2
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
Posts: 60
Posts: 817 | Subs: 5
I hope this helps!
Posts: 60
What is the path name limit?
Posts: 60
Posts: 60
Posts: 2742
I decided to do the same and created a quick test mod, cloned the aef 57mm AT gun, and it built just fine.
Verify game files? Fresh install?
It could also have something to do with the directory your mod is in, especially being on the desktop. Maybe keeping the mod and such in the company of heroes 2 folder in my documents? I know the game can be pretty finicky about those sort of things. But I'm seriously just suggesting that out of thin air.
Posts: 60
zombifrancis, did you clone the entity or the squad? I can't get the following entities to build (so far, i keep finding more):
- aef 57 AT gun
- aef 60mm mortar
- aef 80mm mortar
- british 6pdr at gun
Posts: 2742
When I'm back at my computer with coh2 this weekend I'll see what happens with the ukf at gun and the aef mortar variants.
I would also make sure that your mods are all located in the my games/company of heroes 2 directory in my documents.
CoH2 and many games for that matter really don't like it when things aren't in their default folder.
Posts: 60
Posts: 60
Posts: 60
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1099614.642-1
- 5.280162.633+8
- 6.305114.728+1
- 7.916405.693-2
- 8.271108.715+22
- 9.721440.621+3
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
donofsandiego
7 posts in the last week
39 posts in the last month
Welcome our newest member, starkindustries
Most online: 2043 users on 29 Oct 2023, 01:04 AM