The only change that directly affects modders will be that the scenario and campaign locales are now loaded in the same way as the main ones for base and core.
For every language there is a subdirectory with the language code as a name, all files inside this subdirectory with extension *.cfg are loaded as a locale.
I'm putting here my tiny script I used to convert base and scenario pack, if anyone of you is on unix system and feels brave enough to use it :-)
You run this command in the mod_root/scenarios and mo_root/campaigns directories and everything should be all right :-)
Code: Select all
find -name locale -type d | while read path ; do echo $path ; name=$(echo $path | sed 's|^./||; s|/locale$||; s|/|_|') ; for f in $path/*.cfg ; do language=$(basename $f .cfg); mkdir $path/$language ; mv $f $path/$language/$name.cfg ; done ; done