Page 1 of 1

[0.12.8] No durability display

Posted: Tue Sep 22, 2015 2:56 pm
by orzelek
I have small issue - when I mouse over a tool or armor there is a Durability string but no numerical values below it.
Anyone else seen this?
I removed all the mods and started new game - still present.
Looks like this:
Tooltip.png
Tooltip.png (58.22 KiB) Viewed 14422 times

Re: [0.12.8] No durability display

Posted: Tue Sep 22, 2015 3:07 pm
by Oxyd
Can't reproduce. What language are you using for Factorio? Did you mess with the locale files in data/core/locale?

Re: [0.12.8] No durability display

Posted: Tue Sep 22, 2015 3:17 pm
by kovarex
That is really strange. I can't reproduce it. Can you post your log file and your operation system/hardware specification?

Re: [0.12.8] No durability display

Posted: Tue Sep 22, 2015 4:47 pm
by orzelek
I'm running Windows 10 with following specs:
i7-4790K, Radeon R9 280X 3GB, 12GB RAM.

Using latest drivers for GPU.

Attaching one of logs to the post - I didn't change anything in locale files. I'm running game in english.
I had a problem earlier with locales due to unpacking zipped version of Factorio when auto-updater failed at some point. I removed some unnecessary locales and recently updater was working properly.

Edit:
I downloaded a zip file and comparison shows I have quite a few files in base/locale/en while in zip there is only one file there. Removing those additional files didn't help.

Re: [0.12.8] No durability display

Posted: Tue Sep 22, 2015 4:51 pm
by Oxyd
So what locale are you using? Can you try downloading the .zip version again, unpacking it to some other directory and see if you can reproduce it in this freshly-downloaded version?

Re: [0.12.8] No durability display

Posted: Tue Sep 22, 2015 4:57 pm
by orzelek
Did the same as above (in the edit) with core/locale/en and removed all additional cfg's there and problem is gone.

It seems that files in locale directories can break stuff but they are ignored by the updater?

Deleted whole data directory and unpacked fresh one just in case.

Re: [0.12.8] No durability display

Posted: Wed Sep 23, 2015 10:56 am
by kovarex
orzelek wrote:Did the same as above (in the edit) with core/locale/en and removed all additional cfg's there and problem is gone.

It seems that files in locale directories can break stuff but they are ignored by the updater?

Deleted whole data directory and unpacked fresh one just in case.
I'm little bit lost here. Does it work properly when you use the fresh install?

Re: [0.12.8] No durability display

Posted: Wed Sep 23, 2015 11:03 am
by orzelek
kovarex wrote:
orzelek wrote:Did the same as above (in the edit) with core/locale/en and removed all additional cfg's there and problem is gone.

It seems that files in locale directories can break stuff but they are ignored by the updater?

Deleted whole data directory and unpacked fresh one just in case.
I'm little bit lost here. Does it work properly when you use the fresh install?
Yes - problem is gone and durability has the numbers now.

The added files in locale directories caused the problem. I'm assuming they existed in previous versions but didn't get deleted at some point.

Re: [0.12.8] No durability display

Posted: Wed Sep 23, 2015 11:06 am
by Oxyd
orzelek wrote:
kovarex wrote:
orzelek wrote:Did the same as above (in the edit) with core/locale/en and removed all additional cfg's there and problem is gone.

It seems that files in locale directories can break stuff but they are ignored by the updater?

Deleted whole data directory and unpacked fresh one just in case.
I'm little bit lost here. Does it work properly when you use the fresh install?
Yes - problem is gone and durability has the numbers now.

The added files in locale directories caused the problem. I'm assuming they existed in previous versions but didn't get deleted at some point.
What files were those?

Re: [0.12.8] No durability display

Posted: Wed Sep 23, 2015 11:18 am
by orzelek
Oxyd wrote:
orzelek wrote:
kovarex wrote:
orzelek wrote:Did the same as above (in the edit) with core/locale/en and removed all additional cfg's there and problem is gone.

It seems that files in locale directories can break stuff but they are ignored by the updater?

Deleted whole data directory and unpacked fresh one just in case.
I'm little bit lost here. Does it work properly when you use the fresh install?
Yes - problem is gone and durability has the numbers now.

The added files in locale directories caused the problem. I'm assuming they existed in previous versions but didn't get deleted at some point.
What files were those?
I didn't make a list - there were various files with cfg extension in the directory next to the base.cfg file. I checked and I had them only in the en locale folder in both core and base locale folders. I can try to recover some of them to check the names.

Re: [0.12.8] No durability display

Posted: Wed Sep 23, 2015 12:49 pm
by orzelek
I have a list of potential files (mixed between base/locales/en and core/locales/en):

Code: Select all

autoplace-control-names.cfg,
damage-type-names.cfg,
entity-descriptions.cfg,
entity-names.cfg,
equipment-names.cfg,
fluids.cfg,
item-descriptions.cfg,
item-names.cfg,
modifier-descriptions.cfg,
recipe-names.cfg,
technology-names.cfg,
tile-names.cfg,
controls.cfg,
core.cfg,
description-labels.cfg,
font-settings.cfg,
gui-map-generator.cfg,
gui.cfg,
misc.cfg