Jump to content
Sign in to follow this  
Theodor

GameServer language change

Recommended Posts

25 минут назад, Theodor сказал:

Hi , i want to know how i can change the language from russian to english in gameserver , using hex editor... Thanks

 

Hello! 

 

You can take same English GameServer.exe and compire with Russian one.

For example,  English GS has message "Weather: %s at (%d, %d)" in Russian it will be "Погода: %s в (%d, %d) ", you can replace Russian string by English string.

Both strings length must be same.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, V3ct0r said:

 

Hello! 

 

You can take same English GameServer.exe and compire with Russian one.

For example,  English GS has message "Weather: %s at (%d, %d)" in Russian it will be "Погода: %s в (%d, %d) ", you can replace Russian string by English string.

Both strings length must be same.

How to Change Weather to other language?

Share this post


Link to post
Share on other sites

I think at KOP2, most translations ( except hardcoded ones at .exe and scripts ) can be done by the icu localization file ( en_US.txt ) which could be on your GameServer and Client.


I have no test it already, but have a theory, at least into the client login packet, it sent the localization string ( en_US ), which is used with the client and may can be used by the server also to give translated strings according with the current client his own language. If there was no equal translation file, it shall use en_US by default.

 

!!! if you are going to use hex editor, take in count that some strings can be there for sync purposes between servers and clients( that can be a heavy task due you will have to change that at all others .exe also )


Discord: andresc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...