As you know, there are a lot localization issues with the different clients (enUS, enGB ...). I've been thinking of a little program that would fix these issues but I don't really have the time to do it now. Here is what it is supposed to do:
Ask the user the locale he wants the map to be set into (enGB, enUS ...)
Open the map with a MPQ Editor
Open the file ComponentList.SC2Components
Search the line <component type="text" locale="enGB">GameText</component>
Extract the map locale (enGB here)
Replace it by the one asked by the user (enUS for example) and save the file
Rename the folder enGB.SC2Data into enUS.SC2Data
Close the map MPQ
It's a pretty easy process to script. In order to help you deal with the MPQ stuff Ladik has done 2 things to help you:
StormLib - C+ + functions to read and write the MPQ
Why not have the localization features we have for wow in SC2Maps as well? So whenever you upload it, it will auto-fill all the translation tables and inject every possible locale into the mpq. This would mean that just one person (sc2mapster) would have to run a tool and that everyone can play the maps without needing to mess around with them after the download.
The macro actually wouldn't be too hard to write, I could do it if I wanted to try and remember how to write AutoIT, but I honestly expect Blizzard to fix this soon enough anyway. If anyone feels like doing this anyway AutoIT isn't too terribly hard to learn.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
As you know, there are a lot localization issues with the different clients (enUS, enGB ...). I've been thinking of a little program that would fix these issues but I don't really have the time to do it now. Here is what it is supposed to do:
<component type="text" locale="enGB">GameText</component>
It's a pretty easy process to script. In order to help you deal with the MPQ stuff Ladik has done 2 things to help you:
If you are a programmer and would like to spend some hours on it, that would be SO useful!
Thanks
Why not have the localization features we have for wow in SC2Maps as well? So whenever you upload it, it will auto-fill all the translation tables and inject every possible locale into the mpq. This would mean that just one person (sc2mapster) would have to run a tool and that everyone can play the maps without needing to mess around with them after the download.
If that is not being fixed by Blizzard, we are going to set up such a thing, but meanwhile we need a little script that does it for us!
So... would it be more useful for the tool to add a localization for each locale?
Yeah, it'd make more sense to just add all locales, :P.
I doubt it'll be useful once the new patch comes out. If blizzard doesn't add auto-localization I declare them retarded.
The macro actually wouldn't be too hard to write, I could do it if I wanted to try and remember how to write AutoIT, but I honestly expect Blizzard to fix this soon enough anyway. If anyone feels like doing this anyway AutoIT isn't too terribly hard to learn.