Page 1 of 1

[0.12.11] [kovarex] Factorio does not use locale files in mods zips

Posted: Fri Oct 16, 2015 10:29 pm
by Afforess
Factorio does not use the locale files provided in mod_dir/locale/en when the mod directories are provided in the zip format. Unpacked format, locale seems to work correctly.

Attached pre-release of AmmoBox 0.13, locale previously worked in Factorio 0.12.10.

System: Ubuntu 15.10 Wily x64
Factorio Release: 0.12.11

Start a new game, try `/c game.local_player.insert{name='gun-turret-2', count='10'}` and place a the turrets. The names of the turret entities when you hover show entity-name.gun-turret-2, despite there being a perfectly valid and previously working ammo-box.cfg in the locale/en directory.

Re: [0.12.11] Factorio does not use locale files in mods zips

Posted: Sat Oct 17, 2015 1:00 am
by bobingabout
You're right, I just checked myself, it does seem specific to mods inside a zip file, if you extract it, it works fine.

Re: [0.12.11] [kovarex] Factorio does not use locale files in mods zips

Posted: Mon Oct 19, 2015 12:36 pm
by kovarex
Thanks for the reply, it is fixed for 0.12.12 now.