Kaplas80 / TranslationFramework2

Aplicación para facilitar la traducción de diferentes juegos
37 stars 15 forks source link

Editing fonts #8

Closed AstraeaZero closed 4 years ago

AstraeaZero commented 4 years ago

Hello again, i back after pause break, you can explain me how fonts work? actualy i have hd_hankaku.dds, original and moded, in your program i can't load any of this files. All time i see this error: image I clicked "Cargar Fuente Nueva" and selected hd_hankaku.dss

AstraeaZero commented 4 years ago

Ok i notice a zip font in your folder, now working but im stuck here: image And next question, i notice i must change some chars, i can't add a new char to game, how to automate this process? For example: we have a "ć" symbol, for this symbol i using right alt+c, in game i must use other char for example i change "á" to "ć" but still how to bind this to keyboard?

Kaplas80 commented 4 years ago

Hi! The DDS format is DXT5, but I don't use Photoshop, so I can't help you with the options.

For the second question, you can modify this file to add the replacements you need in EncodingReplacements and then recompile the app.

For example, to change ć to á you should add this line:

new Tuple<string, string>("ć", "á"),

This way, you can use ć character in the app and it will be replaced with á character when it creates the files.