[TRANSLATIONS] Support to extended characters?

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Bragol
Posts: 2
Joined: Mon Nov 26, 2012 10:49 pm

[TRANSLATIONS] Support to extended characters?

Post by Bragol »

Hi, i have... A PROBLEM...

I'm a member of a community that is dedicated to translating videogames to Spanish. I found a way to translate the texts of the game (thanks to FTLUnpacker) but the game does not support extended characters (eg.: á, é, í, ó, ú, ñ...).
I edited the file JustinFont11Bold.ttf adding the missing characters and activating them, but does not work.
Also try replacing Justin font for the Arial font, but the issue is the same, shows only the basic characters.

Eg.: when I write é, the game shows i.
In hexa, é=00E9 and i=0069. Clearly, the game is limited to the first 80 Unicode characters.

This can be fixed in some way? :?: :)
Hi, I'm the problem # 100
shark
Posts: 169
Joined: Thu Nov 08, 2012 10:11 am

Re: [TRANSLATIONS] Support to extended characters?

Post by shark »

The game isn't limited to first 0x80 (128) unicode characters, it's probably limited to standard ASCII and is reading unicode strings as standard ascii... unicode letters are up to 4 bytes long.
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
Bragol
Posts: 2
Joined: Mon Nov 26, 2012 10:49 pm

Re: [TRANSLATIONS] Support to extended characters?

Post by Bragol »

Yes, is exactly as you say.

Conclusion: the only solution is to add support for these 4-byte characters, something that can only make Sunset Games. :|
Hi, I'm the problem # 100
DCChuckles
Posts: 91
Joined: Sun Sep 16, 2012 10:28 pm

Re: [TRANSLATIONS] Support to extended characters?

Post by DCChuckles »

Bragol wrote:Yes, is exactly as you say.

Conclusion: the only solution is to add support for these 4-byte characters, something that can only make Sunset Games. :|
Maybe you should ask them, I doubt they would refuse to add an update that would help people and make the game open to a wider audience.
Post Reply