OBD:TSFF: Difference between revisions

From OniGalore
m (changed links)
m (applied FontSize template)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OBD_File_Header | type=TSFF | prev=TRTA | next=TSFL | name=Font Family | family=Message | align=center}}
{{OBD_File_Header | type=TSFF | prev=TRTA | next=TSFL | name=Font Family | family=Interface | align=center}}




[[image:tsff_a.gif]]
[[Image:tsff_a.gif]]




Line 11: Line 11:
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead | unused }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead | unused }}
{{OBDtr| 0x18 | link   |00FFFF| 01 01 00 00 | 1    | link to [[OBD:TSFL|00001-Roman.TSFL]] }}
{{OBDtr| 0x18 | link     |00FFFF| 01 01 00 00 | 1    | link to [[OBD:TSFL|00001-Roman.TSFL]]; contains a list of line-breaking characters }}
{{OBDtr| 0x1C | int32    |FF00FF| 0F 00 00 00 | 15  | array size }}
{{OBDtr| 0x1C | int32    |FF00FF| 0F 00 00 00 | 15  | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | link    |FFC8C8| 01 03 00 00 | 3    | link to [[OBD:TSFT|00003-.TSFT]] }}
{{OBDtr| 0x00 | link    |FFC8C8| 01 03 00 00 | 3    | link to [[OBD:TSFT|00003-.TSFT]] }}
|}
|}
Vanilla Oni game data typically has only one TSFF file, TSFFTahoma, with the following 15 font variants:
*{{FontSize|70|'''7pt bold''', 7pt regular, ''7pt italic''}}
*{{FontSize|140|'''14pt bold''', 14pt regular, ''14pt italic''}}
*'''10pt bold''', 10pt regular, ''10pt italic''
*{{FontSize|120|'''12pt bold''', 12pt regular, ''12pt italic''}}
*{{FontSize|90|'''9pt bold''', 9pt regular, ''9pt italic''}}
The most recurrent fonts used by Vanilla Oni are:
*'''10pt bold''' - primary font: buttons and dialogs, help/diary, text consoles...
*{{FontSize|120|'''12pt bold'''}} - larger font: combat move pages, headers in text consoles
*{{FontSize|70|7pt regular}} - subtitles, console input, debug messages
*{{FontSize|120|12pt regular}} - in-game prompts (objectives, interactive elements, etc)
Italic variants, at least in the case of TSFFTahoma, are completely unusable because the right side of each glyph is cut off – there is no provision for overlapping glyphs.


To learn about the exact encoding that Oni uses for fonts in various localizations, see [[OBD:Text encoding]].


{{OBD_File_Footer | type=TSFF | prev=TRTA | next=TSFL | name=Font Family | family=Message}}
 
{{OBD_File_Footer | type=TSFF | prev=TRTA | next=TSFL | name=Font Family | family=Interface}}
 
{{OBD}}

Latest revision as of 16:30, 18 April 2025

ONI BINARY DATA
TRTA << Other file types >> TSFL
TSFF : Font Family
switch to XML:TSFF page
Overview @ Oni Stuff
OBD.png


Tsff a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 02 00 00 2 00002-Tahoma.TSFF
0x04 lev_id 01 00 00 00 0 level 0
0x08 char[16] AD DE dead unused
0x18 link 01 01 00 00 1 link to 00001-Roman.TSFL; contains a list of line-breaking characters
0x1C int32 0F 00 00 00 15 array size
First element (black outline)
0x00 link 01 03 00 00 3 link to 00003-.TSFT

Vanilla Oni game data typically has only one TSFF file, TSFFTahoma, with the following 15 font variants:

  • 7pt bold, 7pt regular, 7pt italic
  • 14pt bold, 14pt regular, 14pt italic
  • 10pt bold, 10pt regular, 10pt italic
  • 12pt bold, 12pt regular, 12pt italic
  • 9pt bold, 9pt regular, 9pt italic

The most recurrent fonts used by Vanilla Oni are:

  • 10pt bold - primary font: buttons and dialogs, help/diary, text consoles...
  • 12pt bold - larger font: combat move pages, headers in text consoles
  • 7pt regular - subtitles, console input, debug messages
  • 12pt regular - in-game prompts (objectives, interactive elements, etc)

Italic variants, at least in the case of TSFFTahoma, are completely unusable because the right side of each glyph is cut off – there is no provision for overlapping glyphs.

To learn about the exact encoding that Oni uses for fonts in various localizations, see OBD:Text encoding.


ONI BINARY DATA
TRTA << Other file types >> TSFL
TSFF : Font Family
Interface file