OBD:TSGA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (design + update)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TSGA File
{{OBD_File_Header | type=TSGA | prev=TSFT | next=TStr | name=Glyph Array | family=Global | align=center}}




<CENTER>[[OBD:TSFT|<==]] <FONT SIZE=5>TSGA File</FONT> [[OBD:TStr|==>]]<BR>
Every TSGA file contains 256 elements. One element stands for one of the 256 signs of the ASCII table. The first 32 signs are reserved control characters, so these elements are always complete zero.
<FONT SIZE=2>Glyph Array - Level 0 File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tsga_a.gif
[[image:tsga_a.gif]]


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tsga_m.gif


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tsga_e.gif
{{Table}}
 
{{OBD_Table_Header}}
 
|- ALIGN=CENTER VALIGN=TOP
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr| 0x00 | res_id  |FF0000| 01 04 00 00 | 4    | 00004-.TSGA }}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16    |FFC8C8| 00 00      |unused| unknown }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16    |FFFFC8| 00 00      |unused| unknown }}
|- VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x04 | int16    |C8FFC8| 00 00       |unused| unknown }}
| ALIGN=CENTER BGCOLOR="#FF0000" | 01 04 00 00
{{OBDtr| 0x06 | int32    |C8FFFF| 00 00 00 00 |unused| unknown }}
| ALIGN=CENTER | 4
{{OBDtr| 0x0A | int16    |FFC8FF| 00 00      |unused| number of used elements in the [[OBD:TSFT|TSFT]] file }}
| 00004-.TSGA
{{OBDtr| 0x0C | int32    |FFC800| 00 00 00 00 |unused| start element in the [[OBD:TSFT|TSFT]] file }}
|- VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x10 | int32    |C800C8| 00 00 00 00 |unused| unknown; always zero }}
| ALIGN=CENTER BGCOLOR="#FFFF00" | 01 00 00 00
| ALIGN=CENTER | 0
| level 0
|}
|}




The rest is unknown. It seems, that this file contains the characters of the ASCII table.
{{OBD_File_Footer | type=TSGA | prev=TSFT | next=TStr | name=Glyph Array | family=Global}}
 
 
<HR>
<CENTER>[[OBD:TSFT|<==]] <B>TSGA File</B> [[OBD:TStr|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TSGA File

Revision as of 14:06, 6 September 2007

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


Every TSGA file contains 256 elements. One element stands for one of the 256 signs of the ASCII table. The first 32 signs are reserved control characters, so these elements are always complete zero.


Tsga a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 04 00 00 4 00004-.TSGA
0x04 lev_id 01 00 00 00 0 level 0
First element (black outline)
0x00 int16 00 00 unused unknown
0x02 int16 00 00 unused unknown
0x04 int16 00 00 unused unknown
0x06 int32 00 00 00 00 unused unknown
0x0A int16 00 00 unused number of used elements in the TSFT file
0x0C int32 00 00 00 00 unused start element in the TSFT file
0x10 int32 00 00 00 00 unused unknown; always zero


ONI BINARY DATA
TSFT << Other file types >> TStr
TSGA : Glyph Array
Global file