note that it's necessary ttarchext 0.1.11.
Code: Select all
- ttarchext -D 0x1517 0x800 12 c:\berlin_sans_fb_demi_40_bold.FONT c:\temp
- go in the c:\temp folder and open berlin_sans_fb_demi_40_bold.FONT with a hex editor
- now you must dump all the data till offset 0x1517 in a new file that you will call header.dat
- and dump the rest (everything from 0x1517 till the end) in a file called file.dds
- modify file.dds as you want
- reconcatenate the header and the dds launching the following command (yes the + is necessary!):
- copy /b c:\temp\header.dat + c:\temp\file.dds c:\temp\newfont.font
- ttarchext -E 0x1517 0x800 12 c:\temp\newfont.font c:\
- rename c:\newfont.font as berlin_sans_fb_demi_40_bold.FONT
*edit*
0x1517 is the starting of the DDS font (of Sam & Max: Episode 201 - Ice Station Santa) that CHANGES in each game so you must find it by yourself with a hex editor.
it's really a joke to do because you will notice the clear DDS data somewhat near the beginning of the file preceeded by exactly 0x800 bytes of garbage/strange data.
let me know if you have doubts about a particular font file