OBD:TSFF: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (missed this one) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=TSFF | prev=TRTA | next=TSFL | name=Font Family | family=Interface | align=center}} | |||
[[Image:tsff_a.gif]] | |||
{{Table}} | |||
{{OBD_Table_Header}} | |||
|- ALIGN=CENTER VALIGN=TOP | |||
{{OBDtr| 0x00 | res_id |FF0000| 01 02 00 00 | 2 | 00002-Tahoma.TSFF }} | |||
{{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | |||
{{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]]; contains a list of line-breaking characters }} | ||
|- ALIGN=CENTER | {{OBDtr| 0x1C | int32 |FF00FF| 0F 00 00 00 | 15 | array size }} | ||
{{OBDtrBK}} | |||
{{OBDtr| 0x00 | link |FFC8C8| 01 03 00 00 | 3 | link to [[OBD:TSFT|00003-.TSFT]] }} | |||
| | |||
| | |||
| 2 | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| dead | |||
| | |||
| | |||
| 1 | |||
| | |||
| | |||
| 15 | |||
| | |||
| | |||
| | |||
| 3 | |||
|} | |} | ||
Vanilla Oni game data typically has only one TSFF file, TSFFTahoma, with the following 15 font variants: | |||
*<span style="font-size:70%">'''7pt bold''', 7pt regular, ''7pt italic''</span> | |||
*<span style="font-size:140%">'''14pt bold''', 14pt regular, ''14pt italic''</span> | |||
*'''10pt bold''', 10pt regular, ''10pt italic'' | |||
*<span style="font-size:120%">'''12pt bold''', 12pt regular, ''12pt italic''</span> | |||
*<span style="font-size:90%">'''9pt bold''', 9pt regular, ''9pt italic''</span> | |||
The most recurrent fonts used by Vanilla Oni are: | |||
*'''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: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. | |||
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=Interface}} | |||
{{OBD}} |
Latest revision as of 01:39, 7 December 2023
|
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 |