Page 1 of 1

[0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Sat Nov 14, 2015 4:52 pm
by theBeave
ver: 12.17
os: OSX - 10.11.1

The technology icon for Optics is showing as corrupt (graphical static/noise) when bringing up the technology dialog (T)

However, the image appears fine if navigating directly to the file in Finder.

I originally noticed after updating via in-game update mechanism. However, corruption persists even after fresh download and installation of 12.17 proper.

Re: [0.12.17] Tech Icon - Optics corrupt in game

Posted: Sun Nov 15, 2015 3:24 pm
by Kirk
Try deleting your crop-cache.dat file, see if that helps. It's in the Factorio user folder.

Re: [0.12.17] Tech Icon - Optics corrupt in game

Posted: Mon Nov 16, 2015 11:08 am
by cube
Do you use UI scale?

Re: [0.12.17] [kovarex] Tech Icon - Optics corrupt in game

Posted: Mon Nov 16, 2015 6:18 pm
by theBeave
I had opportunity to try removing crop-cache.dat file as recommended -
> graphical corruption remains

I do not use UI Scale, the Option is set at 'System default, 100%'

Re: [0.12.17] Tech Icon - Optics corrupt in game

Posted: Wed Nov 18, 2015 12:50 pm
by kovarex
Can you make a screenshot?

Re: [0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Fri Nov 20, 2015 10:59 am
by theBeave
SS attached:
corrupt optics tech icon.jpg
corrupt optics tech icon.jpg (106.5 KiB) Viewed 16743 times
(sorry, I have been incredibly busy of late)

Re: [0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Fri Nov 20, 2015 12:14 pm
by kovarex
That is strange, does it also happen when you try to re-download the game?

Re: [0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Fri Nov 20, 2015 10:09 pm
by theBeave
I redownloaded, started a new game, and it is the wrong icon all together!! The optics icon was showing the explosives (I did not grab a screenshot of that).

However, per a previous post, I went in an set a custom UI Scale, then set back to system default, quit and deleted crop-cache.dat again. On a fresh launch and a new game, the Optics graphic is back to showing just plain corrupt, per previous posted screenshot.

Test: I MOVED the optic image out of the factorio package, and duplicated plastics-renaming to optics -> showed itself fine in-game, two plastics icons
Test: Opened Optics graphic in image editor, made some great cosmetic change, and saved back, hoping that a re-save would jog any internal corruption -> still corrupt
Test: Duplicated optics graphic and renamed to plastics -> WOW, not only is optics wrong, now plastics is wrong, both showing totally wrong images when both should optics. (other icons appear to be correct)
Test: Put original plastics image back in place (everything back the way it should be) -> Plastics is back in sorts, but optics is stuck like screenshot

So, I replaced the whole factorio app again with a fresh copy from the dmg, and we are back to a straight corrupt optics icon. ...what a fun adventure... ;)
wrong tech icons for both optics and plastics when plastics replaced by copy of optics
wrong tech icons for both optics and plastics when plastics replaced by copy of optics
Screenshot 2015-11-20 at 04.56.45 PM.png (583.32 KiB) Viewed 16702 times

Re: [0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Fri Nov 20, 2015 10:21 pm
by daniel34
As there is no mention of pib or Oxyd in this topic, are you aware of this?
Oxyd wrote:
pib wrote:Not sure if maybe it is just me, but the optics image is corrupted. I'm using the Mac OSX version.
Do you have UI scaling set to anything other than 100%? We noticed it today in the office that that makes the optics icon somewhat broken.
https://forums.factorio.com/forum/vie ... ge#p116972 [Re: Version 0.12.17]

Re: [0.12.17] [pending] Tech Icon - Optics corrupt in game

Posted: Mon Nov 23, 2015 11:10 am
by posila
Thank you for thorough testing. It helps a lot, because it indicates that there is something wrong with the image itself. I found out it is saved with 16 bits per color channel as opposed to standard 8 bits.
It will be fixed for 0.12.19