• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 08:21:55 AM

News:

World Racing Series beta14 available! :)


how to choose another code page

Started by Reactive, February 08, 2018, 07:41:25 PM

Previous topic - Next topic

Reactive

How to say for GP-bikes use another code page for translation? ANSI-1251 in my case.
Excuse my English, its not my native.
Ryzen7 1800x / Aorus GA-AX370 Gaming K7 / Hynix 16Gb x2 2993MHz / Samsung 960PRO 512 M.2 / nVidia GTX1060 6Gb / Windows 10 pro x64

PiBoSo

February 10, 2018, 09:40:40 PM #1 Last Edit: February 12, 2018, 09:13:22 AM by PiBoSo

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.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

Reactive

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.
Ryzen7 1800x / Aorus GA-AX370 Gaming K7 / Hynix 16Gb x2 2993MHz / Samsung 960PRO 512 M.2 / nVidia GTX1060 6Gb / Windows 10 pro x64

PiBoSo


The "FontGen" program is included in the vehicle tools.
Do you have a TTF font that would fit GPB?
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

Reactive

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.
Ryzen7 1800x / Aorus GA-AX370 Gaming K7 / Hynix 16Gb x2 2993MHz / Samsung 960PRO 512 M.2 / nVidia GTX1060 6Gb / Windows 10 pro x64

Reactive

Excuse my English, its not my native.
Ryzen7 1800x / Aorus GA-AX370 Gaming K7 / Hynix 16Gb x2 2993MHz / Samsung 960PRO 512 M.2 / nVidia GTX1060 6Gb / Windows 10 pro x64

PiBoSo


GP Bikes doesn't support UTF-8 and other variable-width encodings.
It should, however, work correctly using Windows-1251.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

Reactive

Retaking of codepages doesnt work. Can you, please, make sure personally and show the guaranteed working way?
Excuse my English, its not my native.
Ryzen7 1800x / Aorus GA-AX370 Gaming K7 / Hynix 16Gb x2 2993MHz / Samsung 960PRO 512 M.2 / nVidia GTX1060 6Gb / Windows 10 pro x64

PiBoSo

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/#/
"La perfezione non è il nostro obiettivo, è la nostra tendenza".