Pages: [1]
|
|
|
Author
|
Topic: Problems with new characters (Read 4310 times)
|
Volka
Frungy champion
Offline
Gender:
Posts: 78
|
I'm in the middle of the process of translating the game to spanish and it is needed to add some new characters to the fonts.
I've read the threads about how to do this, however it doesn't seem to work for me, maybe I'm doing something wrong.
These are the steps I did to add a character,for example the begining exclamation mark (¡)
1. Took a copy of the 33.png file (the exclamation mark !) and rotated it so that it looks like ¡ 2. Then, looked up into to the Unicode charts inside Latin-1 (U0080.pdf) and found that the character hexadecimal code is 00A1. 3. Made the conversion to decimal number (http://www.statman.info/conversions/hexadecimal.html) and got the number 161. 4. Renamed the new character file as161.pgn and place it in the comandr.fon folder. 5. Added some exclamation marks in the conversation text file and saved it in UTF-8 encoding (just by using Notepad, but also I tried a program called "Unifer" and got the same results) 6. When I run the addon and go the the Starbase, the game screws up and Commander Haydes asks me" Did you find any radioactive elements for our energy cores?". The answers are also screwed and the text and the sound files don't match correctly.
What's wrong then?
|
|
« Last Edit: July 21, 2005, 09:57:29 pm by Volka »
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Sounds like your text file is messed up. Probably a blank line in the wrong place or some other extraneous garbage. If Notepad is placing a byte order marker (BOM) at the beginning of the file, remove it. Lopping the first three bytes off with a hex editor should do the trick. See also here.
|
|
|
Logged
|
|
|
|
Volka
Frungy champion
Offline
Gender:
Posts: 78
|
Ah, evil Notepad! I tried with TextPad and now it works.
Thanks dude :)
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|