OBD:TSFT: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (fixed typo + changed link)
No edit summary
Line 16: Line 16:
{{OBDtr| 0x000 | res_id  |FF0000| 01 03 00 00 | 3    | 00003-.TSFT }}
{{OBDtr| 0x000 | res_id  |FF0000| 01 03 00 00 | 3    | 00003-.TSFT }}
{{OBDtr| 0x004 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x004 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x00E | int16    |00FF00| 07 00      | 7    | unknown; maybe an array size (7 elements × 9.5 lines) }}
{{OBDtr| 0x00E | int16    |00FF00| 07 00      | 7    | font size (in points) }}
{{OBDtr| 0x01C | link    |00FFFF| 01 04 00 00 | 4    | link to [[OBD:TSGA|00004-.TSGA]] }}
{{OBDtr| 0x01C | link    |00FFFF| 01 04 00 00 | 4    | link to [[OBD:TSGA|00004-.TSGA]] (glyph array for character codes 0-255) }}
{{OBDtr| 0x020 | link    |00FFFF| 00 00 00 00 | 0    | unused }}
{{OBDtr| ...  | ...      |00FFFF|    ...    | ...  | ... }}
{{OBDtr| 0x418 | link    |00FFFF| 00 00 00 00 | 0    | unused }}
{{OBDtr| 0x41C | int32    |FF00FF| 4F 0E 00 00 | 3663 | array size (one element has a lenght of 4 bytes) }}
{{OBDtr| 0x41C | int32    |FF00FF| 4F 0E 00 00 | 3663 | array size (one element has a lenght of 4 bytes) }}
{{OBDtr| 0x420 | int32    |C0C0C0| FF FF FF FF | 255,255,255,255 | the first 4 pixels (all white) of the first used glyph }}
{{OBDtr| ...  | ...      |C0C0C0|    ...    | ...  | the rest of glyph bitmaps pixels }}
|}
|}
The rest is completely unknown. It seems that this file contains the information about the "design" of a character. (See next [[OBD:TSGA|TSGA]] file.)




{{OBD_File_Footer | type=TSFT | prev=TSFL | next=TSGA | name=Font | family=Global}}
{{OBD_File_Footer | type=TSFT | prev=TSFL | next=TSGA | name=Font | family=Global}}

Revision as of 00:01, 15 September 2007

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


Tsft a.gif


Tsft m.gif


Tsft e.gif


Offset Type Raw Hex Value Description
0x000 res_id 01 03 00 00 3 00003-.TSFT
0x004 lev_id 01 00 00 00 0 level 0
0x00E int16 07 00 7 font size (in points)
0x01C link 01 04 00 00 4 link to 00004-.TSGA (glyph array for character codes 0-255)
0x020 link 00 00 00 00 0 unused
... ... ... ... ...
0x418 link 00 00 00 00 0 unused
0x41C int32 4F 0E 00 00 3663 array size (one element has a lenght of 4 bytes)
0x420 int32 FF FF FF FF 255,255,255,255 the first 4 pixels (all white) of the first used glyph
... ... ... ... the rest of glyph bitmaps pixels


ONI BINARY DATA
TSFL << Other file types >> TSGA
TSFT : Font
Global file