Technical question - Language files

Hi, I´ve just released my first mod, the complete translation of the game texts. But I have something in mind to make the mod evolve, and a few doubts about it.

First of all, can I add another .str file to the original Strings folder? Well, I know I can but, will this cause any kind of verification problem when online?

And secondly, does anyone know where is the registry entry that points the language file the game is using? Will I be able to change it without causing any problem online-offline?

Thanks in advance!

3,106 views 3 replies
Reply #1 Top

You can add another .str file to the Strings folder and it should be fine.

You'd need to write the registry key to:

HKEY_LOCAL_MACHINE\SOFTWARE\Stardock\Drengin.net\sins

 

String Value

Language=filename (without the .str)

Reply #2 Top
Thank you very much for the reply.

I´m working on a language selector tool, just to use translated language files as the original, and this was the only detail left to try it. If this works, I will release it by tomorrow.

Thanks again!
Reply #3 Top
I´ve tested it and it works. I have a Spanish.str file in the String directory of the game, and switch the game language with the tool, no mod needed. I will make some minor tweaks to it, and I will release it as soon as possible.