Is it possible to show Chinese characters in FOGE?

Field of Glory: Empires is a grand strategy game in which you will have to move in an intricate and living tapestry of nations and tribes, each one with their distinctive culture.
Set in Europe and in the Mediterranean Area during the Classical Age, experience what truly means to manage an Empire.

Moderator: Pocus

Post Reply
againster
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Mon Jul 15, 2019 1:36 pm

Is it possible to show Chinese characters in FOGE?

Post by againster »

Most of Ageod\Slithrine\Matrix games haven't official Chinese version(or even folk Chinese tranlation) and couldn't show Chinese characters(I think this may be related to the game engine), This may be the biggest problem for Chinese players to understand these brilliant games. As you can see, there have already some Chinese review of FOGE in steam,and some discussion in Chinese wargame forum.

So is there any chance to enable show Chinese Chinese characters in FOGE ? It will have great useful to Eastern Asia wargame fans!
Last edited by againster on Thu Jul 18, 2019 5:21 pm, edited 2 times in total.
zakblood
Most Active User 2017
Most Active User 2017
Posts: 16851
Joined: Thu Jun 12, 2014 6:44 pm

Re: Is it possible to show Chinese in FOGE?

Post by zakblood »

welcome to the forum
againster
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Mon Jul 15, 2019 1:36 pm

Re: Is it possible to show Chinese in FOGE?

Post by againster »

zakblood wrote: Thu Jul 18, 2019 3:27 pm welcome to the forum
Thanks! :D
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: Is it possible to show Chinese characters in FOGE?

Post by AndrewGardner »

The game engine used by Empires can display simplified Chinese characters. There are a several steps you would need to take to see them in the game, to load an appropriate font and define a new language for the game.

In the Core folder of the game install:
- Add your font in TTF format
- Add the EXTENDED.DAT file found here: https://www.dropbox.com/s/rx9h6j59cr5xz ... D.zip?dl=0
- Open LANG.TXT and add a line for the new language for the game to use, for example [CHI]

In the System folder of the game install, make a copy of the FONT.TXT file and name it FONT_CHI.TXT. In this copy:
- Add a line at the top "EXTENDED".
- For every font in the file, change the name line to refer to your font. So, if you added Core\myfont.TTF above, your font_chi.txt should start:

Code: Select all

EXTENDED

[DefaultFont]
height 12
name myfont

[TinyFont]
height 8
name myfont
...
In the Data\Text folder of the game install, you will find most of the text for the game. For each Text#.txt file in the folder that you wish to translate, copy the Text#.txt to Text#_CHI.txt. Then open the new file in a text editor and replace the English quoted text with your translations. There is additional text in the Text1.txt file of each scenario in Scenarios.

Also, in Text2.txt, add IDS_LANG_CHI,"Chinese", which will be shown in the language menu in English initially when switching languages.

There are also two textures used for the language:
Data\UI\Textures\langicon_chi.tga - the flag shown in the language menu
Data\UI\Textures\lang_chi.tga - the button shown on the main menu (one quarter of the image is used for each button state)

Then, when you start the game, you should be able to go to the language menu, select your new entry, and the game will display your translations. The main menu text is found in Text2.txt, if you want to quickly verify that characters are displaying correctly.
againster
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Mon Jul 15, 2019 1:36 pm

Re: Is it possible to show Chinese characters in FOGE?

Post by againster »

AndrewGardner wrote: Thu Jul 18, 2019 9:22 pm The game engine used by Empires can display simplified Chinese characters. There are a several steps you would need to take to see them in the game, to load an appropriate font and define a new language for the game.

In the Core folder of the game install:
- Add your font in TTF format
- Add the EXTENDED.DAT file found here: https://www.dropbox.com/s/rx9h6j59cr5xz ... D.zip?dl=0
- Open LANG.TXT and add a line for the new language for the game to use, for example [CHI]

In the System folder of the game install, make a copy of the FONT.TXT file and name it FONT_CHI.TXT. In this copy:
- Add a line at the top "EXTENDED".
- For every font in the file, change the name line to refer to your font. So, if you added Core\myfont.TTF above, your font_chi.txt should start:

Code: Select all

EXTENDED

[DefaultFont]
height 12
name myfont

[TinyFont]
height 8
name myfont
...
In the Data\Text folder of the game install, you will find most of the text for the game. For each Text#.txt file in the folder that you wish to translate, copy the Text#.txt to Text#_CHI.txt. Then open the new file in a text editor and replace the English quoted text with your translations. There is additional text in the Text1.txt file of each scenario in Scenarios.

Also, in Text2.txt, add IDS_LANG_CHI,"Chinese", which will be shown in the language menu in English initially when switching languages.

There are also two textures used for the language:
Data\UI\Textures\langicon_chi.tga - the flag shown in the language menu
Data\UI\Textures\lang_chi.tga - the button shown on the main menu (one quarter of the image is used for each button state)

Then, when you start the game, you should be able to go to the language menu, select your new entry, and the game will display your translations. The main menu text is found in Text2.txt, if you want to quickly verify that characters are displaying correctly.
Thank you very much!
I'll try it soon.
againster
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Mon Jul 15, 2019 1:36 pm

Re: Is it possible to show Chinese characters in FOGE?

Post by againster »

Thanks to AndrewGardner! It really works! :D :D :D
Empires_STEAM 2019-07-21 16-44-38-72.jpg
Empires_STEAM 2019-07-21 16-44-38-72.jpg (323.42 KiB) Viewed 1549 times
Also, try to create a new map for FOGE, maybe there will be a mod set in East Asia soon……
Empires_STEAM 2019-07-24 01-30-20-04.jpg
Empires_STEAM 2019-07-24 01-30-20-04.jpg (254.07 KiB) Viewed 1549 times
melm
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 820
Joined: Sat Sep 29, 2012 9:07 pm

Re: Is it possible to show Chinese characters in FOGE?

Post by melm »

It's impressive! Your next step is working on the unit models? :lol:
miles evocatus luce mundi
uneducated
1st Lieutenant - Grenadier
1st Lieutenant - Grenadier
Posts: 775
Joined: Fri Feb 15, 2019 12:42 pm

Re: Is it possible to show Chinese characters in FOGE?

Post by uneducated »

When creating the game and using a character set, I think it is better to use UTF than ISO, from the perspective of broader character/language support.

https://stackoverflow.com/questions/704 ... iso-8859-1
AndrewGardner wrote: Thu Jul 18, 2019 9:22 pm The game engine used by Empires can display simplified Chinese characters. There are a several steps you would need to take to see them in the game, to load an appropriate font and define a new language for the game.

In the Core folder of the game install:
- Add your font in TTF format
- Add the EXTENDED.DAT file found here: https://www.dropbox.com/s/rx9h6j59cr5xz ... D.zip?dl=0
- Open LANG.TXT and add a line for the new language for the game to use, for example [CHI]

In the System folder of the game install, make a copy of the FONT.TXT file and name it FONT_CHI.TXT. In this copy:
- Add a line at the top "EXTENDED".
- For every font in the file, change the name line to refer to your font. So, if you added Core\myfont.TTF above, your font_chi.txt should start:

Code: Select all

EXTENDED

[DefaultFont]
height 12
name myfont

[TinyFont]
height 8
name myfont
...
In the Data\Text folder of the game install, you will find most of the text for the game. For each Text#.txt file in the folder that you wish to translate, copy the Text#.txt to Text#_CHI.txt. Then open the new file in a text editor and replace the English quoted text with your translations. There is additional text in the Text1.txt file of each scenario in Scenarios.

Also, in Text2.txt, add IDS_LANG_CHI,"Chinese", which will be shown in the language menu in English initially when switching languages.

There are also two textures used for the language:
Data\UI\Textures\langicon_chi.tga - the flag shown in the language menu
Data\UI\Textures\lang_chi.tga - the button shown on the main menu (one quarter of the image is used for each button state)

Then, when you start the game, you should be able to go to the language menu, select your new entry, and the game will display your translations. The main menu text is found in Text2.txt, if you want to quickly verify that characters are displaying correctly.
Post Reply

Return to “Field of Glory: Empires”