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

This subforum contains all the issues which we already resolved.
User avatar
Afforess
Filter Inserter
Filter Inserter
Posts: 422
Joined: Tue May 05, 2015 6:07 pm
Contact:

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

Post 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.
Attachments
AmmoBox_0.1.3.zip
(38.27 KiB) Downloaded 190 times
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

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

Post 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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thanks for the reply, it is fixed for 0.12.12 now.
Post Reply

Return to “Resolved Problems and Bugs”