Giter Club home page Giter Club logo

Comments (4)

ihhub avatar ihhub commented on July 19, 2024

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.

from fheroes2.

ihhub avatar ihhub commented on July 19, 2024

@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?

from fheroes2.

StrongZhu avatar StrongZhu commented on July 19, 2024

hi,
thanks for the resonse.
I just want to re-use some maps files in Chinese, with this engine.

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....
As the engine does NOT support UTF-8 char now...it's NOT easy to enhance it to support Chinese...
Translation to Chinese is just the 1st step,,,still need corresponding font, must be of the proper size, ,,,etc..

I found one Chinese version the whole GUI, button, text windows, all related msg are all of Chinese,
some screenshots can be found in here : https://tieba.baidu.com/p/7518562319

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
Sincerely.

from fheroes2.

ihhub avatar ihhub commented on July 19, 2024

@StrongZhu , I had to remove your link. All piracy content is prohibited.

from fheroes2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.