Login

russian armor

cant built mod with 64bit artrib ?

7 Oct 2021, 01:52 AM
#1
avatar of Support Sapper

Posts: 1220 | Subs: 1

Since the 64 bit update, i still cant built the mod on 64bit artrib, the game will crash and the mod cant get new change i made into the game. All i cant do is switch back to 32bit atrib, which i know not a long term solution.

Can anyone help me with this issue ?
9 Oct 2021, 19:31 PM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

Is any error logged in warnings.txt? C:\Users\NAME\Documents\my games\company of heroes 2\warnings.log
Does the mod work in the 64 bit version when compiled in the 32bit version?
Does the mod builder build the 64bit mod without error?
Have you tried the 'rebuild' option in the mod builder?

You can try to locate the cause by removing parts of the mod. Make a backup first! Then delete one folder, for example upgrades, build and start the game. If it still crashes, delete another folder until it does not crash. Then restore the backup and only delete the last folder. If it still does not crash, restore half of the files from that folder. Repeat that until only one file is left. I have located several crashes for other players this way and can help you if you want.
10 Oct 2021, 04:38 AM
#3
avatar of Support Sapper

Posts: 1220 | Subs: 1

Is any error logged in warnings.txt? C:\Users\NAME\Documents\my games\company of heroes 2\warnings.log


i took a look in the warning log but cant understand what it said, the last line say app close without error


Does the mod work in the 64 bit version when compiled in the 32bit version?
Does the mod builder build the 64bit mod without error?


if i build the mod with 32bit atrib then update the game to 64 bit, mod it still work normally.
If i build the mod with 64bit atrib, it still build without any error show in with the builder but when i start the game, game crash and mod stay in old version.


Have you tried the 'rebuild' option in the mod builder?


not recently, but i did rebuild some time in the past, i will try it again.

10 Oct 2021, 05:29 AM
#4
avatar of Support Sapper

Posts: 1220 | Subs: 1

Is any error logged in warnings.txt? C:\Users\NAME\Documents\my games\company of heroes 2\warnings.log

Have you tried the 'rebuild' option in the mod builder?



This is it. The warning log i was talking about in above post is from unmoded game i played last night. I just try rebuilt the mod with 64bit atrib, game crashed but this time warning log point out that an epbs file failed to load. I removed that exact file and now i can built with 64bit atrib again.

It sound simple but that was a British medic model armed with rifle i created long ago but no longer use, i dont event remember it exist until you mention warning log and i kind of rediscover it.

Thank you, snake, now i can do modding and playing vanila without having to verify game file for atrib every time which is very inconvenience.
10 Oct 2021, 06:00 AM
#5
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

This is it.
...
Thank you, snake, now i can do modding and playing vanila without having to verify game file for atrib every time which is very inconvenience.

Nice! Glad I could help.
10 Oct 2021, 06:19 AM
#6
avatar of Support Sapper

Posts: 1220 | Subs: 1


Nice! Glad I could help.


yes. But while you are still here, i want to take the chance to ask about another issue im having when using custom icon. I was following the guide, but keep receive warning of invalid file name, it say asset name cant contain space or dash, or stat with number, which i under stand but it stil say so even when im 100% sure there are no space, dash or number in my icon name. im going as far as name it simply as a.png but it still dont take it some how.
10 Oct 2021, 06:51 AM
#7
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

yes. But while you are still here, i want to take the chance to ask about another issue im having when using custom icon. I was following the guide, but keep receive warning of invalid file name, it say asset name cant contain space or dash, or stat with number, which i under stand but it stil say so even when im 100% sure there are no space, dash or number in my icon name. im going as far as name it simply as a.png but it still dont take it some how.

Interesting, I have never got any warning, the game just showed a pink or empty icon when I did something wrong.
Can you post printscreens of the modbuilder with burn folders, the icon name in ui_ext with and the explorer with the file?
10 Oct 2021, 07:24 AM
#8
avatar of Support Sapper

Posts: 1220 | Subs: 1


Interesting, I have never got any warning, the game just showed a pink or empty icon when I did something wrong.
Can you post printscreens of the modbuilder with burn folders, the icon name in ui_ext with and the explorer with the file?


this is how i settup my mod


The icon im trying to use in ui_ext



the original file name is soviet_engineer_symbol_2 and it cause this error




i add .png in the end of the file name and receive this warning log, mod cant built but the symbol is blank.

10 Oct 2021, 07:37 AM
#9
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

the original file name is soviet_engineer_symbol_2 and it cause this error

It might be the ' in the path name.
10 Oct 2021, 07:42 AM
#10
avatar of Support Sapper

Posts: 1220 | Subs: 1


It might be the ' in the path name.


you mean darjie' ?

but it is the mod file's name, can i change it ?
10 Oct 2021, 08:20 AM
#11
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

you mean darjie' ?

but it is the mod file's name, can i change it ?

Yes that is what I meant. I think it can be changed without issues because all paths are relative from the .mod file.
10 Oct 2021, 09:42 AM
#12
avatar of Support Sapper

Posts: 1220 | Subs: 1


Yes that is what I meant. I think it can be changed without issues because all paths are relative from the .mod file.


can i change the name of the .mod and atrib file as well ? i stated the project with only UKF in mind so i name it UKf mod, but then i expand the work to all faction so i kind of want to change the name for it.
10 Oct 2021, 10:17 AM
#13
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

can i change the name of the .mod and atrib file as well ? i stated the project with only UKF in mind so i name it UKf mod, but then i expand the work to all faction so i kind of want to change the name for it.

The ingame name is set in 'info' in the modbuilder, so changing the filenames does not really achieve anything. I think it is possible though, but make a backup before trying. The new name of the attrib.xml needs to be set in the .mod file:
Code
<Alias>Attrib</Alias>
<Children>
<d2p1:anyType i:type="Folder">
<Children>
<d2p1:anyType i:type="BurnAttributes">
<RelativeName>attrib.xml</RelativeName>
</d2p1:anyType>
</Children>
<IsExpanded>true</IsExpanded>
<Name>attrib</Name>
</d2p1:anyType>
</Children>

And remove the Intermediate Cache and .sga just in case.
10 Oct 2021, 10:31 AM
#14
avatar of Support Sapper

Posts: 1220 | Subs: 1


The ingame name is set in 'info' in the modbuilder, so changing the filenames does not really achieve anything. I think it is possible though, but make a backup before trying. The new name of the attrib.xml needs to be set in the .mod file:
Code
<Alias>Attrib</Alias>
<Children>
<d2p1:anyType i:type="Folder">
<Children>
<d2p1:anyType i:type="BurnAttributes">
<RelativeName>attrib.xml</RelativeName>
</d2p1:anyType>
</Children>
<IsExpanded>true</IsExpanded>
<Name>attrib</Name>
</d2p1:anyType>
</Children>

And remove the Intermediate Cache and .sga just in case.


yes, i understand that it wont archive anything apart from make me a bit more comfort when open and look at the builder. Still, this look more complex and risky than i want to deal with so i guess i will pass. Otherwise, i got the custom icon to work, so that is enough. Thank for your time.
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

288 users are online: 1 member and 287 guests
Kronosaur0s
16 posts in the last 24h
42 posts in the last week
96 posts in the last month
Registered members: 44643
Welcome our newest member, Leiliqu96
Most online: 2043 users on 29 Oct 2023, 01:04 AM