[0.12.19][posila]Technology Icons being compressed

Bugs that are actually features.
Post Reply
User avatar
Anoyomouse
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Tue Oct 20, 2015 12:53 pm
Contact:

[0.12.19][posila]Technology Icons being compressed

Post by Anoyomouse »

Hi

I've been given some new awesome graphics for the technology research by my artist (128 x 128 png images):
Warehouse Research
Warehouse Research
warehouse-research.png (19.01 KiB) Viewed 10834 times
Warehouse Logistic Research
Warehouse Logistic Research
warehouse-logistics-research.png (21.36 KiB) Viewed 10834 times
But when i run the game, (settings same as the base mod for it's icons) All i get are:
Research Bug 1
Research Bug 1
Research Bug 1.PNG (164.66 KiB) Viewed 10834 times
Research Bug 2
Research Bug 2
Research Bug 2.PNG (164.73 KiB) Viewed 10834 times
Please tell me this is a bug and not something i'm messing up x.x

Thanks
Hacker (n): Someone who makes furniture with an axe

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.12.19] Technology Icons being compressed

Post by posila »

If you just replaced png files, you have to delete crop-cache.dat in %appdata%\Factorio folder.

User avatar
Anoyomouse
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Tue Oct 20, 2015 12:53 pm
Contact:

Re: [0.12.19] Technology Icons being compressed

Post by Anoyomouse »

Hey

Thanks for the quick reply

Hmm, still doing the same thing

If you want my mod (with the buggy icons) is here: https://github.com/Anoyomouse/Warehousi ... _0.0.5.zip

Thanks
Hacker (n): Someone who makes furniture with an axe

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.12.19][posila]Technology Icons being compressed

Post by posila »

Ok, figured it out. When icons were changed we added "icon_size" property to Technology prototype, which defaults to 128 for base mod and 64 to every other mod.
So you need to add "icon_size = 128," to your technology prototypes and it will work. I will add information about this to changelog because it is not there.

Thanks for the report ... very nice icons :)

User avatar
Anoyomouse
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Tue Oct 20, 2015 12:53 pm
Contact:

Re: [0.12.19][posila]Technology Icons being compressed

Post by Anoyomouse »

OMG, so i'm not seeing things!

Thanks, i'll update my mod for that, and then have some awesome technology icons!

Thanks for the info, and the awesome game! ^.^
Hacker (n): Someone who makes furniture with an axe

Post Reply

Return to “Not a bug”