PiBoSo Official Forum

GP Bikes => Support => Topic started by: Reactive on February 08, 2018, 07:41:25 PM

Title: how to choose another code page
Post by: Reactive on February 08, 2018, 07:41:25 PM
How to say for GP-bikes use another code page for translation? ANSI-1251 in my case.
Title: Re: how to choose another code page
Post by: PiBoSo on February 10, 2018, 09:40:40 PM

At the moment there is no way to select a different encoding.
Nonetheless, GP Bikes should support any 8 bit character set, simply replacing the FNT files and adding a new STR translation.
Title: Re: how to choose another code page
Post by: Reactive on February 12, 2018, 01:39:59 AM
And which program i must use to generate FNT, and which export settings in it?
I found angelcode.com/products/bmfont  and kvazars.com/littera but no luck. Even if I opening result file in notepad i see the structure is different with yours.
Title: Re: how to choose another code page
Post by: PiBoSo on February 12, 2018, 08:57:59 AM

The "FontGen" program is included in the vehicle tools.
Do you have a TTF font that would fit GPB?
Title: Re: how to choose another code page
Post by: Reactive on February 13, 2018, 10:41:43 PM
After few hours searching I haven`t found any Cyrillic font similar to Enter Sansman, especially to Bold Italic version :(
So I chose Russo_One.ttf
But, no easy ways for me, so I also have some problems with FontGen  ;D Posted in FontGen thread forum.piboso.com/index.php?topic=4034.0
Title: Re: how to choose another code page
Post by: Reactive on February 14, 2018, 11:10:52 PM
(https://4.downloader.disk.yandex.ru/preview/ea5060c5e9cae5ff4e99bb28d79973476aed9f6995511a80610f0acfa52aef5b/inf/e2vLCL96iw0rvJwCAQupR3CcA31jIEPu0xfH5Yy5uc2Er8xZEpvYSgYxcXkVn6UI1xmUUq0rdSO2cNpjcW8bzA%3D%3D?uid=0&filename=fontgen2.jpg&disposition=inline&hash=&limit=0&content_type=image%2Fjpeg&tknv=v2&size=XXL&crop=0)
:P
Title: Re: how to choose another code page
Post by: PiBoSo on February 22, 2018, 10:41:42 PM

GP Bikes doesn't support UTF-8 and other variable-width encodings.
It should, however, work correctly using Windows-1251.
Title: Re: how to choose another code page
Post by: Reactive on March 03, 2018, 12:47:22 AM
Retaking of codepages doesnt work. Can you, please, make sure personally and show the guaranteed working way?
Title: Re: how to choose another code page
Post by: PiBoSo on March 07, 2018, 11:26:12 PM
Quote from: Reactive on March 03, 2018, 12:47:22 AM
Retaking of codepages doesnt work. Can you, please, make sure personally and show the guaranteed working way?

FontGen has been updated: http://forum.piboso.com/index.php?topic=4034.0

Please try generating the font using "page_code = 1251".
Then, when editing the STR file, a converter from Unicode to Windows-1251 must be used. For example: http://www.convertcyrillic.com/#/