Homebrew Question How can I make the game display chinese characters

zellfy

Member
OP
Newcomer
Joined
Mar 8, 2019
Messages
22
Trophies
0
Age
33
XP
138
Country
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.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
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.
 

zellfy

Member
OP
Newcomer
Joined
Mar 8, 2019
Messages
22
Trophies
0
Age
33
XP
138
Country
China
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.


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



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

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,268
Trophies
3
XP
12,034
Country
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,

zellfy

Member
OP
Newcomer
Joined
Mar 8, 2019
Messages
22
Trophies
0
Age
33
XP
138
Country
China
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?

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?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,268
Trophies
3
XP
12,034
Country
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.
 

zellfy

Member
OP
Newcomer
Joined
Mar 8, 2019
Messages
22
Trophies
0
Age
33
XP
138
Country
China
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.

OK thank you. That means impossible for me. I quit.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse