Letters

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Letters

Post by Av3nger (Offline) »

Hello I'm from Brazil...
And in our language we have the follow letters:ã,ç,Ã,é,É and i tried to put it on the game but not successful... :cry:
Please Developers help me with this :wink:

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

check the following sourcecode positions:

browserbox.cpp line 54
gui.cpp line 120
gui.cpp line 132

there you will find how the font files are interpreted. All you have to do is add the missing characters to the font files using a graphic program and add these in the lines mentioned above at the correct locations.

Oh, and this is not a win32 specific issue. It would fit better into the general development forum.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Post by Av3nger (Offline) »

Crush wrote:
there you will find how the font files are interpreted. All you have to do is add the missing characters to the font files using a graphic program and add these in the lines mentioned above at the correct locations.

Oh, and this is not a win32 specific issue. It would fit better into the general development forum.
Wich graphic program?Photo Shop, Fireworks?
and sorry about the wrong forum...

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

use whatever you want as long as it can save 32bit png files (both programs should be able to).
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Post by Av3nger (Offline) »

Ok i gonna try Thanks a lot!
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

oh, and instead of translating all hardcoded texts directly in the sourcecode and release your own package you should maybe consider adding support for GNU gettext instead. That might be a little bit more work but it would make it much easier to translate the program into other languages as well. Even by people who have no programming experience. It would also allow to release small language files instead of a huge localized version of the complete game.

Here is a gettext tutorial that is much more readable than the official documentation: http://oriya.sarovar.org/docs/gettext/memo.html
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Post by Av3nger (Offline) »

Ok, tomorrow i start to read the tutorial and start to translate...
Thanks a lot for the tip man :wink:

Thanks Again,

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

Moved to General development forum
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Post by Av3nger (Offline) »

it was solved could some moderator close it?
for not me spammed...

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Post by Rotonen »

How about your gettext implementation?
This message used to be meaningful.
User avatar
Av3nger (Offline)
Novice
Novice
Posts: 88
Joined: 14 Oct 2006, 17:18

Post by Av3nger (Offline) »

maybe you could help me =]

I can send you the file and you compile for me or send .cpp files wich i must change ^^

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
Post Reply