Pages: 1 2 [3]
|
|
|
Author
|
Topic: Star Control 2 Localization (Read 14602 times)
|
|
|
GDP_Spaceman
Zebranky food
Offline
Gender:
Posts: 23
SC2 for ever!!
|
It's version 0.33, but the last update is two weeks ago... And there are changes in a couple of files, so it's better you look only for the text in the source files, the text files (race, lander, etc.), the menu-png files (there are some png with text) and the font-png files.
But if you give me the structure for the language package or how it must looks like, then i build the german package for you.
|
|
|
Logged
|
|
|
|
meep-eep
Forum Admin
Enlightened
Offline
Posts: 2847
|
I've just committed code for unicode support (output is almost complete; still have to start on input). The game will now interpret all strings as UTF-8. The file names of the font characters should be the (decimal) number of the character in the unicode table (see http://www.unicode.org/charts/. For German this is the same as latin-1, so no change is needed there. All the .txt files need to be converted though. On unix this can be done with this command (run in the content dir):
for FILE in `find . -name "*.txt"`; do iconv -f latin1 -t UTF-8 < $FILE > $FILE.tmp && mv $FILE.tmp $FILE; done
As for how I'd like it to be packaged: I'd like to have two separate .zip files; one for the fonts (which can be shared with other translations), and one for the other content files. The .zip files should contain only the files that differ from the main branch and have the same structure as the normal content dir (empty directories may be omited), with at the root the files and directories like comm, lbm, etc (so no directory content/ itself). If you want to replace .ogg files, don't compress them in the .zip file. With unix zip you can do this by supplying '-n .ogg'. You can then use them as any other addon (make sure to give them a file higher in the alphabet than uqm-0.3-content.zip if you put them in packages). If you package them like this, I'll add them (unzipped) to the cvs repository, in separate directories.
For the strings that are hardcoded in the game, I can unfortunately do nothing at this time. Eventually almost all will be moved to the content (the exception would be strings that need to be available when no content language can be loaded).
|
|
|
Logged
|
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
|
|
|
|
|
|
|
Pages: 1 2 [3]
|
|
|
|
|