Question How can I make the game display chinese characters

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by zellfy, Mar 8, 2019.

  1. zellfy
    OP

    zellfy Member

    Newcomer
    1
    Mar 8, 2019
    China
    It is a unity game and I extracted it. I find there are every single English letters which type is sprite&texture2D in asset. But I can't find Atlas for them. Is there Atlas for sprite font or not in unity game?
    If there is no Atlas what should I do than I can make this unity game display Chinese characters.
    Thanks for reading.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    22
    Nov 21, 2005
    United Kingdom
    Same way you make any other game display Chinese characters (or any characters the game does not originally come with). That is to say find the font and edit to support it, if you are going to Chinese with its thousands of characters/glyphs then you might have to alter the encoding as most European languages only do a few hundred characters (or more likely less than 100 if you count both cases)

    In the case of Chinese you might want to look at the Japanese version of the game as it will probably support 16 bit characters right from the start (Japanese also uses lots of characters) with the added bonus of a lot of the Japanese Kanji also being the same as Chinese Hanzi, though I am less familiar with what would need to be done there.

    If the font format is not known to an existing tool then you get to figure out the format yourself. If the words in the game are in textures and images then you get to edit the images.
     
  3. zellfy
    OP

    zellfy Member

    Newcomer
    1
    Mar 8, 2019
    China

    The game I want to translate has no japanese version. Very sad.
    I think there should be a font Atlas contain every single Chinese characters which type is sprite or texture2D just like BMF. But no no no! I found nothing except some PNGS from A to Z.

    upload_2019-3-8_23-37-23.


    So brother can you tell me whether I should keep seeking the sprite font Atlas or not?
     
  4. masagrator

    masagrator File digger

    Member
    5
    Oct 14, 2018
    Poland
    It depends on each game. I remember that some Unity games for Switch contain atlas, but yours looks like doesn't have it.

    This AssetStuduoGUI can convert textures for Switch?
     
    Last edited by masagrator, Mar 8, 2019
  5. zellfy
    OP

    zellfy Member

    Newcomer
    1
    Mar 8, 2019
    China
    UABE just let you see it and export it, if you want to do edit assets just try asset bundle extractor on github.

    If there is no font atlas in the game, what should I do for import a font in?
     
  6. masagrator

    masagrator File digger

    Member
    5
    Oct 14, 2018
    Poland
    If it's UE4 game and there is no *.ufont file and really this is only containing texture for every letter, then only you can do is swapping textures with chinese signs and create tool that will swap in text file your signs with letters assigned to them.
     
  7. zellfy
    OP

    zellfy Member

    Newcomer
    1
    Mar 8, 2019
    China
    OK thank you. That means impossible for me. I quit.
     
Loading...