Login

russian armor

Java jre_1.8.0_66 exe failure during mod building?

31 Dec 2015, 17:35 PM
#1
avatar of browninb

Posts: 5

In rebuilding a personal skirmish mod from scratch, I've been trying to create a mortar unit
for the british separate from the emplacement. Cloning and renaming the US 60mm mortar as a
"2_inch_mortar" has worked before (with recent updates to the tools, I don't know if that can be
done anymore, though). What I did differently this time was incorporate a custom build menu
icon (with ModIcons_modid_icon name), plus hopefully use the animator from the 3 inch mortar rather than the default german one.

I don't know what dimensions the icons have to be, but whenever I try to build, I get the error
in the title plus exit code 3 (which I know doesn't mean anything specific). I've reinstalled Java 32 & 64 bit a couple of times, cleaning the registry in-between plus verifying the integrity
of/reinstalling the tools themselves. I don't know if I have to enable the java executable somehow (in the control panel, it says my runtime environment is through javaw.exe) or if there
is something on my computer interfering.

Sorry if that's a little too much information, just wonder if anyone else has had this problem.
Any help would be very much appreciated.
1 Jan 2016, 00:14 AM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Icons need to be .png. Other than that, hard to say without seeing the exact error log from the Mod Builder.

Did you set up Flex SDK?
1 Jan 2016, 01:41 AM
#3
avatar of browninb

Posts: 5

Yes, it is a png, & I downloaded SDK back in August.

Is there anywhere else I should look for the error log? A few minutes ago I tried to build again
to no avail & tried to copy & paste the message, but no luck.
1 Jan 2016, 15:36 PM
#4
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Just copy & paste it from the Mod Builder.
2 Jan 2016, 15:56 PM
#5
avatar of browninb

Posts: 5

Sorry it took so long to respond. Volunteered to work NY's day & had to babysit my niece in the evening

I hope this is what you meant, & that I'm not wasting your time

Attrib:
<?xml version="1.0" encoding="utf-16"?>
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance"; xmlns:d1p1="http://schemas.datacontract.org/2004/07/RelicCore.ModProject"; i:type="d1p1:TableOfContents" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">;
<d1p1:Alias>Attrib</d1p1:Alias>
<d1p1:Children xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">;
<d2p1:anyType i:type="d1p1:Folder">
<d1p1:Children>
<d2p1:anyType i:type="d1p1:BurnAttributes">
<d1p1:RelativeName>C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\attrib.xml</d1p1:RelativeName>
</d2p1:anyType>
</d1p1:Children>
<d1p1:IsExpanded>false</d1p1:IsExpanded>
<d1p1:Name>attrib</d1p1:Name>
</d2p1:anyType>
</d1p1:Children>
<d1p1:IsExpanded>false</d1p1:IsExpanded>
</z:anyType>

Info:
<?xml version="1.0" encoding="utf-16"?>
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance"; xmlns:d1p1="http://schemas.datacontract.org/2004/07/RelicCore.ModProject"; i:type="d1p1:TableOfContents" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">;
<d1p1:Alias>Info</d1p1:Alias>
<d1p1:Children xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">;
<d2p1:anyType i:type="d1p1:BurnModInfo">
<d1p1:Dependencies />
<d1p1:Description>more varied unit recruitment for all factions</d1p1:Description>
<d1p1:Hidden>false</d1p1:Hidden>
<d1p1:Name>Brian's skirmish mod</d1p1:Name>
</d2p1:anyType>
<d2p1:anyType i:type="d1p1:BurnFile">
<d1p1:BurnSettings i:type="d1p1:GenericImageToGenericDDSBurnSettings">
<d1p1:AlphaEdge>false</d1p1:AlphaEdge>
<d1p1:BlackBorder>false</d1p1:BlackBorder>
<d1p1:CompressTextures>true</d1p1:CompressTextures>
<d1p1:FlipImage>false</d1p1:FlipImage>
<d1p1:ForceFormat>false</d1p1:ForceFormat>
<d1p1:Metadata i:nil="true" />
<d1p1:MipDrop>0</d1p1:MipDrop>
<d1p1:MipMap>false</d1p1:MipMap>
<d1p1:PreferredFormat>Default</d1p1:PreferredFormat>
<d1p1:RescaleNonPowerTwo>false</d1p1:RescaleNonPowerTwo>
<d1p1:TexSharpen>false</d1p1:TexSharpen>
</d1p1:BurnSettings>
<d1p1:RelativeName>C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's Skirmish Mod.tga</d1p1:RelativeName>
</d2p1:anyType>
<d2p1:anyType i:type="d1p1:BurnFile">
<d1p1:BurnSettings i:nil="true" />
<d1p1:RelativeName>C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's Skirmish Mod.tga</d1p1:RelativeName>
</d2p1:anyType>
</d1p1:Children>
<d1p1:IsExpanded>false</d1p1:IsExpanded>
</z:anyType>


Data:
<?xml version="1.0" encoding="utf-16"?>
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance"; xmlns:d1p1="http://schemas.datacontract.org/2004/07/RelicCore.ModProject"; i:type="d1p1:TableOfContents" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">;
<d1p1:Alias>Data</d1p1:Alias>
<d1p1:Children xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">;
<d2p1:anyType i:type="d1p1:Folder">
<d1p1:Children>
<d2p1:anyType i:type="d1p1:BurnIcons">
<d1p1:PackSize>1024</d1p1:PackSize>
<d1p1:RelativeName>C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\data\ui</d1p1:RelativeName>
</d2p1:anyType>
</d1p1:Children>
<d1p1:IsExpanded>false</d1p1:IsExpanded>
<d1p1:Name>ui</d1p1:Name>
</d2p1:anyType>
</d1p1:Children>
<d1p1:IsExpanded>false</d1p1:IsExpanded>
</z:anyType>
2 Jan 2016, 17:47 PM
#6
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

No, the error log that is built into the Mod Builder itself (at the bottom).
2 Jan 2016, 21:35 PM
#7
avatar of browninb

Posts: 5

Ok, I finally figured out how to copy the log itself

Building Brian's skirmish mod.mod...
F:\Steam\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "F:\Steam\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\attrib.xml" --burn_path "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\Intermediate Files\attrib\attrib"
Copying C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\locale\english\english.ucs...
Writing C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\Intermediate Files\info\ffb7d284820448709ac786db3145aa9b.info...
Burning C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's Skirmish Mod.tga...
F:\Steam\steamapps\common\Company of Heroes 2 Tools\Burn.exe --source "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's Skirmish Mod.tga" --dest "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\Intermediate Files\info" --plugin "generic-image to generic-dds" --param "alpha_edge" "False" --param "black_border" "False" --param "compress_textures" "True" --param "flip_image" "False" --param "force_format" "False" --param "mip_drop" "0" --param "preferred_format" "0" --param "rescale_np2" "False" --param "tex_sharpen" "False" --param "want_mipmaps" "2" --game_data "F:\Steam\steamapps\common\Company of Heroes 2 Tools\assets\data"
Copying C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's Skirmish Mod.tga...
Embedding 2 assets in C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ModIcons_ffb7d284820448709ac786db3145aa9b.mxml...
Embedding 1 symbols in C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ffb7d284820448709ac786db3145aa9b-Config.xml...
Generating C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ffb7d284820448709ac786db3145aa9b-FlexConfig.xml...
C:\Program Files (x86)\Java\jre1.8.0_66\bin\java.exe -Xmx1024m -Dsun.io.useCanonCaches=false -jar "lib\mxmlc.jar" +flexlib=frameworks "-load-config+=C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ffb7d284820448709ac786db3145aa9b-Config.xml" "-load-config+=C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ffb7d284820448709ac786db3145aa9b-FlexConfig.xml" -o "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\Intermediate Files\data\ui\Bin\ffb7d284820448709ac786db3145aa9b.swf" -link-report "C:\Users\Brian\Documents\My Games\Company of Heroes 2\mod projects\Brian's skirmish mod\Brian's skirmish mod Intermediate Cache\ffb7d284820448709ac786db3145aa9b-LinkReport.xml"
Error building Brian's skirmish mod.mod: C:\Program Files (x86)\Java\jre1.8.0_66\bin\java.exe failed with exit code 3.
Built Brian's skirmish mod.mod.

22 Oct 2016, 16:42 PM
#8
avatar of Scar7ace

Posts: 2

what does it mean???


Built Opaco_v2.mod.
Building Opaco_v2.mod...
D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "D:\CoH 2 MOD All\Opaco v2\opaco_v2.xml" --burn_path "D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\Intermediate Files\attrib\attrib"
Copying D:\CoH 2 MOD All\Opaco v2\locale\english\english.ucs...
Writing D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\Intermediate Files\info\b5486890bb954e3fbb58a8b9c9a2777e.info...
Burning D:\coh2 mod file\preview\pershing.tga...
D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\Burn.exe --source "D:\coh2 mod file\preview\pershing.tga" --dest "D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\Intermediate Files\info" --plugin "generic-image to generic-dds" --param "alpha_edge" "False" --param "black_border" "False" --param "compress_textures" "True" --param "flip_image" "False" --param "force_format" "False" --param "mip_drop" "0" --param "preferred_format" "0" --param "rescale_np2" "False" --param "tex_sharpen" "False" --param "want_mipmaps" "2" --game_data "D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\assets\data"
Embedding 3 assets in D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\ModIcons_b5486890bb954e3fbb58a8b9c9a2777e.mxml...
Embedding 1 symbols in D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\b5486890bb954e3fbb58a8b9c9a2777e-Config.xml...
Generating D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\b5486890bb954e3fbb58a8b9c9a2777e-FlexConfig.xml...
C:\Program Files (x86)\Java\jre1.8.0_111\bin\java.exe -Xmx1024m -Dsun.io.useCanonCaches=false -jar "lib\mxmlc.jar" +flexlib=frameworks "-load-config+=D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\b5486890bb954e3fbb58a8b9c9a2777e-Config.xml" "-load-config+=D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\b5486890bb954e3fbb58a8b9c9a2777e-FlexConfig.xml" -o "D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\Intermediate Files\data\ui\Bin\b5486890bb954e3fbb58a8b9c9a2777e.swf" -link-report "D:\CoH 2 MOD All\Opaco v2\Opaco_v2 Intermediate Cache\b5486890bb954e3fbb58a8b9c9a2777e-LinkReport.xml"
Error building Opaco_v2.mod: C:\Program Files (x86)\Java\jre1.8.0_111\bin\java.exe failed with exit code 1.
Built Opaco_v2.mod.
23 Oct 2016, 23:20 PM
#9
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Make sure all the paths in Tools -> Options are correct (Game, Tool, Java, Flex).

Check the AttributeEditorXMLLogs in the Company of Heroes 2 Tools folder. You might have an error like:

Code

AttributeEditorXML.exe Error: 0 : Caught an exception in main e = System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at AttributeEditorXML.Instance.SaveAsRelicGameDataBinary(String pathName, Boolean preview)
at AttributeEditorXML.AttributeOverlay.SaveBinaries(String filePath)
at AttributeEditorXML.Program.Main(String[] args)


Which means your files have long names or they sit in a really long path. So, shorten the names of your files or your file path.
24 Oct 2016, 18:05 PM
#10
avatar of Scar7ace

Posts: 2

I am making a new one. but this time different error.
(thanks for your advice)

Building alarko.mod...
D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Scarface\Documents\CohMods\alarko\alarko.xml" --burn_path "C:\Users\Scarface\Documents\CohMods\alarko\alarko Intermediate Cache\Intermediate Files\attrib\attrib"
Copying C:\Users\Scarface\Documents\CohMods\alarko\locale\english\english.ucs...
Writing C:\Users\Scarface\Documents\CohMods\alarko\alarko Intermediate Cache\Intermediate Files\info\667a9b2db4854603842e7d025efbec5c.info...
Burning C:\Users\Scarface\Documents\CohMods\preview\pershing.tga...
D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\Burn.exe --source "C:\Users\Scarface\Documents\CohMods\preview\pershing.tga" --dest "C:\Users\Scarface\Documents\CohMods\alarko\alarko Intermediate Cache\Intermediate Files\info" --plugin "generic-image to generic-dds" --param "alpha_edge" "False" --param "black_border" "False" --param "compress_textures" "True" --param "flip_image" "False" --param "force_format" "False" --param "mip_drop" "0" --param "preferred_format" "0" --param "rescale_np2" "False" --param "tex_sharpen" "False" --param "want_mipmaps" "2" --game_data "D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\assets\data"
D:\SteamLibrary\steamapps\common\Company of Heroes 2 Tools\Burn.exe failed with exit code 3.
Error building alarko.mod: Burn failed with exit code 3.
Built alarko.mod.
26 Oct 2016, 04:22 AM
#11
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Sometimes modding is all about troubleshooting. Try removing stuff until it builds.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

841 users are online: 841 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
Registered members: 49122
Welcome our newest member, Harda621
Most online: 2043 users on 29 Oct 2023, 01:04 AM