Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#708 closed defect (fixed)

Icon generating gadget is broken in BAR

Reported by: Funkencool Owned by:
Priority: major Milestone:
Component: BAR Version:
Keywords: Cc:

Description

Since a while the icon generator has not worked in BAR/spring (could be both). This has been a large part of why I haven't updated the icons.

As a workaround I can use the old BAR (inactive) with spring 94.1 and the new unit models/scripts/textures. This will work for now but I plan on getting to the bottom of it by testing through the revisions. That is unless someone has a better idea?

Attachments (1)

infolog.txt (55.4 KB ) - added by Funkencool 6 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by beherith, 6 years ago

Please post an infolog of your attempt :) That could help a lot in debugging it.

by Funkencool, 6 years ago

Attachment: infolog.txt added

comment:2 by Funkencool, 6 years ago

I've gotten numerous errors on different occasions. Sometimes it simply won't make a single icon. In which case it simply outputs "[IconGenerator] Error: icongen: armguard: give up :<".

Sometimes it will, but if I do them all, I get an out of memory error. I even found out it completely fails if I launch from weblobby. This took me awhile to figure it out. It probably has something to do with filesystem since it uses "~/my games/Spring/" dir, idk.

I used the AMD APU stock video processor before (6550D I think) and now have a nVidia geforce 750 ti. I get the same results with both.

comment:3 by Funkencool, 6 years ago

I should also add that I can't tell if this is a problem with Spring 94.1+, Current Bar, or both. Newest bar is incompatible with 94.1, Spring 94.1+ is incompatible with old BAR (in which I first made icons).

If I remember right, I think even with old BAR it quit working in Spring 94.1+, but I can't be sure.

comment:4 by beherith, 6 years ago

It works for me with latest spring: http://springrts.com/dl/buildbot/default/develop/97.0.1-206-g8576ee8/win32/spring_%7Bdevelop%7D97.0.1-206-g8576ee8_minimal-portable.7z

Buildicons all doesnt work though, its crashes with too much ram use, but splitting that up shouldnt be too difficult. (plus because of all the BA units folded into BAR for testing, it will try to generate 2x as many units)...

comment:5 by Bluestone, 6 years ago

I've noticed quite a few lua mem usage issues recently - there is sMenu using alot of it up but I suspect something else is also involved, not sure what.

Last edited 6 years ago by Bluestone (previous) (diff)

comment:6 by Bluestone, 6 years ago

Resolution: fixed
Status: newclosed

comment:7 by Bluestone, 6 years ago

At least, lots of new icons appeared ;)

comment:8 by Bluestone, 6 years ago

lua mem issues are 100% traced to facbar (and 96.0, which only allows 1/4 of the lua mem that 97.0+ does)

[22:10:26] <[Fx]Bluestone> the lua mem limit has been raised since 96.0 from 200mb to 800mb, [22:10:39] <[Fx]Bluestone> and literally all of the OOM crashes we get are crashed by facbar being badly coded [22:10:52] <[Fx]Bluestone> so buildpics are fine [22:11:18] <[Fx]Bluestone> just needs me to fix facbar >_>

Note: See TracTickets for help on using tickets.