joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

Suggestion: configure different font files for pc-98 #2666

Open crashGG opened 3 years ago

crashGG commented 3 years ago

Suggestion: add the definition of different font files in the conf file instead of always using FREECG98.BMP. Because some pc-98 games translating into Chinese ,use different font files 。It also can be customized in the pc-98 simulator anex86 and Neko project.

Wengier commented 3 years ago

@crashGG For PC-98 mode DOSBox-X will load font files in the following order:

  1. FONT.ROM
  2. ANEX86.BMP
  3. FREECG98.BMP

You can always name your own font files as ANEX86.BMP or FREECG98.BMP, then DOSBox-X will load the fonts accordingly. The font files are never fixed, so you should be able to customize them as you wish. Hope this helps.

crashGG commented 3 years ago

Thank you for the answer, but because of the special language and characters in East Asia, there are many characters, so there is no uniform standard for the use of fonts. For example, in the Chinese translation version games of pc-98, different hacker groups use different custom fonts. I think this problem also exists in Korean. So if you need to use the same dosbox-x to start different games, you have to replace the default font file in the program directory with batch processing. This is very inconvenient.

crashGG commented 3 years ago

These are several different fonts commonly used image

Wengier commented 3 years ago

@crashGG Thanks for letting me know such a PC-98 Chinese game library. I have tried some games in the library and see you meant, and added config options "pc-98 try font rom" and "pc-98 anex86 font" accordingly for PC-98 font file customization (see [pc98] section). Please check out the updated Windows SDL1 build below:

Hope this helps.

crashGG commented 3 years ago

Thank you, I tested it roughly and it works fine when using relative paths.The world is getting better and better because of the continuous efforts of people like you

Wengier commented 3 years ago

@crashGG Thanks for your support too!