Hey guys, when i try to build my mod in the CoH2 Mod Builder, i'm now getting this error message in red, in the compile window:
Error building FirstMod.mod: D:\Steam\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1. arguments --operation ModBinaryBurn --root "D:\Steam\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod.xml" --burn_path "C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod Intermediate Cache\Intermediate Files\attrib\attrib"
When i go to test it in-game, it hasn't updated the mod to the latest version, meaning that the build failed. What do i do?
Compile/build error
21 Sep 2017, 21:10 PM
#1

Posts: 73
22 Sep 2017, 01:25 AM
#2


Posts: 327
That error is because the path name/file name is too long. The path and file name must not exceed something like 100 letters, a strange glitch that probably wont be fixed anytime soon. To fix it, you have to either find the file/path thats too long and shorten it, delete it, or change the mod path closer to your root driver. \
For example, You have:
"C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod.xml"
Change it to something like:
"C:\Users\Martin\Mod Projects\FirstMod\FirstMod.xml"
For example, You have:
"C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod.xml"
Change it to something like:
"C:\Users\Martin\Mod Projects\FirstMod\FirstMod.xml"
22 Sep 2017, 22:22 PM
#3

Posts: 73
That error is because the path name/file name is too long. The path and file name must not exceed something like 100 letters, a strange glitch that probably wont be fixed anytime soon. To fix it, you have to either find the file/path thats too long and shorten it, delete it, or change the mod path closer to your root driver. \
For example, You have:
"C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod.xml"
Change it to something like:
"C:\Users\Martin\Mod Projects\FirstMod\FirstMod.xml"
Wow thanks man, that worked. I thought i fucked something up in the attribute editor...no idea why it hasn't always been a problem though, since the path has never changed

23 Sep 2017, 00:48 AM
#4


Posts: 327
Wow thanks man, that worked. I thought i fucked something up in the attribute editor...no idea why it hasn't always been a problem though, since the path has never changed
Aye, I thought the same thing the first time i got that error. In fact, since I couldn't figure out what it was, I deleted the whole mod and started over.
5 Jan 2018, 20:02 PM
#5

Posts: 80
That error is because the path name/file name is too long. The path and file name must not exceed something like 100 letters, a strange glitch that probably wont be fixed anytime soon. To fix it, you have to either find the file/path thats too long and shorten it, delete it, or change the mod path closer to your root driver. \
For example, You have:
"C:\Users\Martin\Documents\my games\company of heroes 2\Mod Projects\FirstMod\FirstMod.xml"
Change it to something like:
"C:\Users\Martin\Mod Projects\FirstMod\FirstMod.xml"
Sorry to necro this thread, but I'm desperate. How can you do this without messing up all the file path references?
6 Jan 2018, 06:17 AM
#6


Posts: 327
Sorry to necro this thread, but I'm desperate. How can you do this without messing up all the file path references?
You just have to change the file references in the .mod file, or something along those lines. I would suggest moving the files to the desired location first, and then doing it manually. The shorter it is to the C drive the less you have to worry about this error.
23 Aug 2021, 04:20 AM
#7

Posts: 1220 | Subs: 1
Damm it, after haft of a year, i finally found this
PAGES (1)

1 user is browsing this thread:
1 guest
SHOUT IT OUT!



Rosbone: @aerafield You would be surprised by how many people are into genital mutilation 
Yesterday, 21:22 PM

Yesterday, 21:22 PM
aerafield: @LimaOscarMike I would say nowadays is a decent time to try CoH3. If you loved CoH2 however, there is a solid chance you're gonna dislike CoH3
Last Monday, 17:04 PM
Last Monday, 17:04 PM
LimaOscarMike: My laptop can't even run COH3. Should I get them on my Series X or is it dead yet?
Last Saturday, 05:10 AM
Last Saturday, 05:10 AM
Rosbone: One of my last major gripes about Coh3. Price is still too high I feel for growth. But progress is always good.
Last Saturday, 04:43 AM
Last Saturday, 04:43 AM
Rosbone: I am not 100% sure but I think Relic actually fixed up the skirmish menus a little last patch. If so, thank you and keep it coming.
Last Saturday, 04:39 AM
Last Saturday, 04:39 AM
Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
09 Apr 2025, 17:00 PM
09 Apr 2025, 17:00 PM
SupremeStefan: https://steamcommunity.com/sharedfiles/filedetails/?id=3457737797
04 Apr 2025, 12:42 PM
04 Apr 2025, 12:42 PM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus 
02 Apr 2025, 00:16 AM

02 Apr 2025, 00:16 AM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" 
01 Apr 2025, 20:29 PM

01 Apr 2025, 20:29 PM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
27 Mar 2025, 09:34 AM
Livestreams
![]() |
![]() |
![]() |
38 | ||
![]() |
![]() |
![]() |
117 | ||
![]() |
![]() |
![]() |
68 | ||
![]() |
![]() |
![]() |
11 | ||
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.59682.879+10
- 2.43163.872+9
- 3.14839.791+7
- 4.288162.640+6
- 5.14348.749-1
- 6.14465.689+12
- 7.18151.780+4
- 8.18678.705+1
- 9.814466.636+2
- 10.390262.598-2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1376
Board Info
322 users are online:
322 guests
0 post in the last 24h
4 posts in the last week
29 posts in the last month
4 posts in the last week
29 posts in the last month
Registered members: 53925
Welcome our newest member, Tille592
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Tille592
Most online: 2043 users on 29 Oct 2023, 01:04 AM