1. Generating ServerInfo.bmd codepage (charset)
Versions 21.1.2.3 and higher
Navigate to game client root folder and open config.ini file. Locate the following
[Language] ID = 0 Set = 76201A
Configure to suit individual needs. System can handle up to 6 languages that are set within Set key under Language section.
The syntax is: XXXXXX where every single X defines identifier of available language.
0: Thai (874) 1: Japanase (932) 2: Chinese Simplified (936) 3: Korean (949) 4: Chinese Traditional (950) 5: Eastern Europe (1250) 6: Russian (1251) 7: ANSI (1252) 8: Greek (1253) 9: Turkish (1254) A: Hebrew (1255) B: Arabic (1256) C: Baltic (1257) D: Vietnamese (1258) E: UTF8 (65001)
Configuration examples
-
76201A refers to
- ANSI (7) for language ID 0
- Russian (6) for Language ID 1
- Chinese Simplified (2) for language ID 2
- Thai (0) for language ID 3
- Japanese (1) for language ID 4
- Hebrew (A) for language ID 5
-
736 refers to
- ANSI (7) for language ID 0
- Korean (3) for language ID 1
- Russian (6) for Language ID 2
- Language ID 3 not defined, disabled
- Language ID 4 not defined, disabled
- Language ID 5 not defined, disabled
The configuration of config.ini should much server configuration in \Data\LangBase.xml
<LanguageSystem> <Lang ID="0" FileName="English.xml"/> <!-- Lang ID = 0 is default language, enabled by default --> <Lang ID="1" FileName="Thai.xml" Enable="0"/> <Lang ID="2" FileName="Chinese.xml" Enable="0"/> <Lang ID="3" FileName="Korean.xml" Enable="0" /> <Lang ID="4" FileName="Russian.xml" Enable="0" /> <Lang ID="5" FileName="Vietnamese.xml" Enable="0" /> </LanguageSystem>
- ID: Unique ID assigned to language, 0-5
- FileName: Name of language file located in \Data\Langs\
- Enable: Allows to activate or deactivate specified language, 0/1
The language of game client cannot be switched during run time. It should be configured before launching the game client in config.ini file located in root folder of game client.
[Language] ID = 0
- ID: Language to be used for the game client run time, must match any of available (enabled) language in client (config.ini) and server (LangBase.xml).
Older versions
Open ServerInfo.xml file and locate following section
<LangInfo> <Lang ID="0" CodePage="1252" /> <!-- Lang ID = 0 is default language, enabled by default --> <Lang ID="1" Enable="0" CodePage="874" /> <Lang ID="2" Enable="0" CodePage="936" /> <Lang ID="3" Enable="0" CodePage="949" /> <Lang ID="4" Enable="0" CodePage="1251" /> <Lang ID="5" Enable="0" CodePage="1258" /> </LangInfo>
Configure to suit individual needs. System can handle up to 6 languages.
- ID: Unique ID assigned to language, 0-5
- Enable: Allows to activate or deactivate specified language, 0/1
- CodePage: Code page value for specific language
The configuration of ServerInfo.xml (BMD) should much server configuration in \Data\LangBase.xml
<LanguageSystem> <Lang ID="0" FileName="English.xml"/> <!-- Lang ID = 0 is default language, enabled by default --> <Lang ID="1" FileName="Thai.xml" Enable="0"/> <Lang ID="2" FileName="Chinese.xml" Enable="0"/> <Lang ID="3" FileName="Korean.xml" Enable="0" /> <Lang ID="4" FileName="Russian.xml" Enable="0" /> <Lang ID="5" FileName="Vietnamese.xml" Enable="0" /> </LanguageSystem>
- ID: Unique ID assigned to language, 0-5
- FileName: Name of language file located in \Data\Langs\
- Enable: Allows to activate or deactivate specified language, 0/1
The language of game client cannot be switched during run time. It should be configured before launching the game client in config.ini file located in root folder of game client.
[Language] ID = 0
- ID: Language to be used for the game client run time, must match any of available (enabled) language in client (ServerInfo.bmd) and server (LangBase.xml).
Converting ServerInfo.xml into BMD
Once completed configuring the file download IGC.ToolKit (Lite) or alternatively, if you own license, use Premium edition. Run ToolKit (Lite) and navigate to BMD Files → [IGC] ServerInfo (XML) → Drag & Drop ServerInfo.xml over Encode button. This operation will encode the XML file and produce BMD copy of the file.
All text based .bmd files must be saved with encoding supporting language configured in ServerInfo.xml. If UNICODE (65001) was configured, then the files must be saved with UTF-8 encoding. Some languages, such as Vietnamese must use 65001 encoding to support full spectrum of available characters.
2. Font configuration (optional)
Selection of specified language may require additional font configuration due to support proper display
- Open \Data\Interface\GFx\fontconfig.txt
- Edit font type supporting your language (default supports all languages) for following configuration key: map "$NormalFont" = "YourFontName"
- [FontConfig "English"] must stay unchanged, no matter of selected language
2.1 Font Attributes
Font boldness, inclination and size can be controlled by adding proper values after font name as shown on example below
[FontConfig "English"] fontlib "fonts/fonts_eng.swf" map "$NormalFont" = "Arial" Bold Italic 13
Some operating systems may not have installed the default font used for game client purpose (Arial Unicode). It is advised to ship the font to your players along with game client installer.
