1

Topic: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

I have done my work by enabling russian-litters chat. Also game's menus are nearly 98% translated

You can get this patch at:
http://rapidshare.com/files/235919861/T … h.rar.html
or
http://www.easy-share.com/1905313052/TeeWorldsPatch.rar

Screenshot:
http://www.easy-share.com/1905313081/screenshot0002.png

2

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

Nice! I bet many people will find this useful. smile

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

3 (edited by AlMod 2009-05-22 12:59:53)

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

Thanks smile

P.S. This patch was done in 10 hours.. More of them are reading the sources of the game smile Other big part was writing the font-generator tool for russian fonts

4

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

AlMod, please stop your lie. Russian language support was made by me, not you.
Font generator anybody can see in directory src/tools/font_generator, and it was changed by me for support russian characters. Also i can say 2 lines in src/engine/client/ec_inp.c after 182 line that were added by me for enabling input of russian characters:
                    if(event.key.keysym.unicode >= 1039 && event.key.keysym.unicode <= 1039 + 64)
                        add_event(event.key.keysym.unicode - 1039 + 255 - 64, 0, 0);

If anybody don't believe it - please visit our IRC channel (#zteam@quakenet.org) and ask. Or visit http://heroesrus.clan.su/forum/5-171-1?lZJ3XO - here is my nick too.

Anybody who want to see good russian translation, support of both russian characters and different umlauts and font generator, changed by _me_ - see this link:
http://www.teeworlds.com/forum/viewtopic.php?pid=43953
There are executable files and source codes. I haven't anything to hide from community's eyes.

So what?

5 (edited by AlMod 2009-05-23 09:47:34)

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

I don't lie anyone, i just not using search. I have limited Interned, so 90% of my time I spend in local subnet of my provider - I just make up myself with this problem and make the topic - what do you want from me?

I spent a lot of time to find where the russian unicode characters are cut down - my adding were

if (event.key.keysym.unicode > 1039)
{
   add_event(event.key.keysym.unicode-1104+256,0,0);
}

I don't copy it, just align the unicode to ascii symbols smile

Then I've got trouble with font generator - i can't found up-to-date version anywhere, but found sources in da /tools directory - but that program genereate *.fnt files and textures, not the *.tfnt. After that fail, I just look the engine uploading of that filetype, and add it to fontgen and get the correct output for fonts. If you want it, I can upload fontgen somewhere with sources smile

So I'm not a lier, I'am a bicycle-writer smile

P.S. Damn it I making up with fonts up to 3 A.M., poor my sleep time sad

6

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

Okay, it seems that i started believe. AlMod send me his version of font generator, and it's not my code. Sorry! smile
Simply i couldn't believe in these coincidences: same time, same names, same replaces letters smile But AlMod's proof has convinced me.

7

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

Thanks, my patch can be named 'Lite' smile Because it's only enabling russian chat and using russian fonts

8 (edited by kaddy 2009-05-24 12:54:54)

Re: [LANGPATCH] TeeWorlds 0.5.1 Russian Released

Lol. AlMod, i think that you don't know it... "Lite" is my old nick ^^