OBD:TSFF: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (missed this one)
 
(3 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 23: Line 23:
*<span style="font-size:90%">'''9pt bold''', 9pt regular, ''9pt italic''</span>
*<span style="font-size:90%">'''9pt bold''', 9pt regular, ''9pt italic''</span>
The most recurrent fonts used by Vanilla Oni are:
The most recurrent fonts used by Vanilla Oni are:
*'''10pt bold''' - all game dialogs and text consoles
*'''10pt bold''' - primary font: buttons and dialogs, help/diary, text consoles...
*<span style="font-size:120%">'''12pt bold'''</span> - larger font: combat move pages, headers in text consoles
*<span style="font-size:70%">7pt regular</span> - subtitles, console input, debug messages
*<span style="font-size:70%">7pt regular</span> - subtitles, console input, debug messages
*<span style="font-size:120%">12pt regular</span> - ingame prompts (objectives, interactive elements, etc)
*<span style="font-size:120%">12pt regular</span> - ingame 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 and there is no provision for overlapping glyphs.
Italic variants, at least in the case of TSFFTahoma, are completely unusable because the right side of each glyph is cut off and 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}}
{{OBD}}

Latest revision as of 01:39, 7 December 2023

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 - ingame 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 and 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