Author Topic: how to choose another code page  (Read 412 times)

Reactive

  • Full Member
  • ***
  • Posts: 178
  • Denis.FJR1300A`04
    • View Profile
    • ArtStation
how to choose another code page
« 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.
Excuse my English, its not my native.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: how to choose another code page
« Reply #1 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.
« Last Edit: February 12, 2018, 09:13:22 AM by PiBoSo »
Obviously your ambition outweighs your talent

Reactive

  • Full Member
  • ***
  • Posts: 178
  • Denis.FJR1300A`04
    • View Profile
    • ArtStation
Re: how to choose another code page
« Reply #2 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.
Excuse my English, its not my native.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: how to choose another code page
« Reply #3 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?
Obviously your ambition outweighs your talent

Reactive

  • Full Member
  • ***
  • Posts: 178
  • Denis.FJR1300A`04
    • View Profile
    • ArtStation
Re: how to choose another code page
« Reply #4 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
Excuse my English, its not my native.

Reactive

  • Full Member
  • ***
  • Posts: 178
  • Denis.FJR1300A`04
    • View Profile
    • ArtStation
Re: how to choose another code page
« Reply #5 on: February 14, 2018, 11:10:52 PM »

 :P
Excuse my English, its not my native.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: how to choose another code page
« Reply #6 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.
Obviously your ambition outweighs your talent

Reactive

  • Full Member
  • ***
  • Posts: 178
  • Denis.FJR1300A`04
    • View Profile
    • ArtStation
Re: how to choose another code page
« Reply #7 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?
Excuse my English, its not my native.

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: how to choose another code page
« Reply #8 on: March 07, 2018, 11:26:12 PM »
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/#/
Obviously your ambition outweighs your talent