Language Pack
2011-09-08, 09:24 PM
#1
Language Pack
is it possible to add more locale to the current game? i know that the menu can be translated into french, spanish and maybe some other languages, but languages like chinese or japanese can not be added to the menu.

im only asking this because i was trying to translate the game menu to chinese.
Post Reply Quote this message in a reply
2011-09-09, 12:54 PM
#2
RE: Language Pack
I'll probably backport the language features from AssaultCube, but the game relies on image fonts. Therefore you can only use letters you see on your US keyboard.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-09-09, 07:09 PM
#3
RE: Language Pack
you do realize that chinese has its own character right?
Post Reply Quote this message in a reply
2011-09-09, 07:36 PM (This post was last modified: 2011-09-09, 07:49 PM by Victor.)
#4
RE: Language Pack
I'm Chinese too, but I quit Chinese School after Grade 1. I mean you have to create fonts for every character. Plus, I think the engine only supports 256 characters (minus a few reserved ones). Racist Cube engine (or probably because the person who created Cube didn't consider making it international). If they used shorts instead of chars, there could be 65536 (- about 33 reserved control characters) possible characters. The best you can do is pinyin Sad

Even if I fix the engine, you need to create new fonts (which likely result in massive .png files)

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2011-09-09, 08:22 PM
#5
RE: Language Pack
lawl you should have kept studying the language xD
anyways, is it possible to use something like .xml to fix it?? im not really good with those stuff but i've seen it with Adobe programs.
Post Reply Quote this message in a reply
2011-09-10, 07:44 AM (This post was last modified: 2011-09-10, 07:44 AM by Victor.)
#6
RE: Language Pack
Look at config/fonts.cfg and packages/misc/chars.png. Now imagine a fonts.cfg with about 65535 lines and a chars.png 256 times bigger. That results in a 67 megapixel (8192 x 8192) .png. The font itself will be bigger than half the downloads right now!

And no, you can't use an .xml to fix it.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply


Forum Jump: