-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Chinese language #7933
Comments
Hi @StrongZhu , as we know there were no official translation of Heroes of Might and Magic 2 for Chinese (Mandarin) by modifying an English version of the game on Windows. Also the engine does not support any UTF-8 characters at the moment. Also we don't use SDL for image generation. |
@StrongZhu , on top of this to support Chinese there should be translation to Chinese. You cannot just grab a pirated version from the internet made for Windows and it would automagically work for fheroes2. Are you willing to provide full translation of the game for Chinese? |
hi, just checked the code again...seems that it load font info (BIGFONT.FNT/SMALFONT.FNT/etc.) from file 'HEROES2.AGG', 'HEROES2X.AGG', then calculate text lines/height/char width/etc,,,then build charSprites, then call fheroes2::Blit to build the image with text.... I found one Chinese version the whole GUI, button, text windows, all related msg are all of Chinese, I believe there are font files for Chinese. The guy also made some enhancements, don't know how to achieve this without source code. Thanks |
@StrongZhu , I had to remove your link. All piracy content is prohibited. |
Your question
hi,
does this version support Chinese??
As we known that there are Chinese of Heroes2. no only for game GUI, but also for the video,
can find video in here : https://www.bilibili.com/video/BV14y4y1p7L6/
I tried to copied some maps of Chinese version to the folder, then started the game, it show "????" for all Chinese chars.
checked the source code quickly, seems that it load font from resource, then run 'Blt' to generate bitmap for char....
NOT sure SDL support Chinese char or not
Additional info
No response
The text was updated successfully, but these errors were encountered: