Dialogue / text Character coding

potstip

First time out of the vault
I started to translate english dialog *.MSG files to Turkish.
The Turkish language include special character like ( ş Ş ö Ö İ Ç ç )
And non of them display correctly in the game.

What can i do?

Is there any wany to use extended ASCII characters.

Or replace the font files
 
You need to create Turkish font files for Fallout. Search for documentation in NMA archives.
 
i search the forum but only find this files.

http://sewer.el-kfa.net/games/fallout/

modified font files ;

show i, ö, Ç, ç but fail on ş, Ş, ğ, Ğ, İ, Ö

because it is prepaired for Polish language, fail on Turkish character.

İts an advance job and i did not find any tool to add this characters
 
Progress...

When open FON file i see this kind of text;

For exapmle for upper case P

_____________________________________

Glyph 80 (0x50)
================
Width: 7
Offset: 0x000004D0 (1232)
Offset from begin of file: 0x00000CE4 (3300)
_____________________________________

There is detailed explanation here
http://falloutmods.wikia.com/wiki/FON_File_Format
What are these?

(0x50) ------> Probably ACSII code of P
0x000004D0 (1232) ------>?
0x00000CE4 (3300) ------>?
 
potstip said:
0x000004D0 (1232) ------>?
I think this should be starting offset for given character. It means that next 16 bytes starting at offset 0x000004D0 contains a bit matrix of that character, defined as is explained here:

Code:
00       00000000        ........
00       00000000        ........ 
7e       01111110        .######. 
81       10000001        #......# 
a5       10100101        #.#..#.# 
81       10000001        #......# 
81       10000001        #......# 
bd       10111101        #.####.# 
99       10011001        #..##..# 
81       10000001        #......# 
81       10000001        #......# 
7e       01111110        .######. 
00       00000000        ........ 
00       00000000        ........ 
00       00000000        ........ 
00       00000000        ........

All you need to do is to redefine those 16 bytes - grab some square grid paper, draw your desired "P" character in a 8x16 square matrix and summ up the binary values of each byte, line by line. Values for each bit are defined as an exponent of base value 2, starting from the most left bit in each line:
2^7, 2^6, 2^5, 2^4, 2^3, 2^2, 2^1, 2^0, or in decimal numbers: 128, 64, 32, 16, 8, 4, 2, 1.
(Result value for each line should range from 0 to 255 and needs to be saved as a hexadecimal number, of course.)

Note that I never did this operation with a Fallout FON file, so your best bet is to wait for some local scholar for confirmation/correction. :)
 
potstip said:
for fallout 2
Okay, thank you. Would be helpful to update your first post in this thread, or even better the thread title, with "Fallout 2" or "for Fallout 2".

Also feel free to translate my Fallout FIXT mod into Turkish when you're done with this project ;)
 
Back
Top