OBD:IGSt: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (oops, forgot font size x3)
m (missed this one)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> IGSt File
{{OBD_File_Header | type=IGSt | prev=IGSA | next=Impt | name=IGUI (In-Game User Interface) String | family=Interface | onistuff=igst | align=center}}




<CENTER>[[OBD:IGSA|<==]] <FONT SIZE=5>IGSt File</FONT> [[OBD:Impt|==>]]<BR>
[[Image:igst_all.gif]]
<FONT SIZE=2>IGUI (In-Game User Interface) String - Message File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/igst_all.gif
{{Table}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x000 | res_id  |FF0000| 01 03 00 00 | 3    | 00003-.IGSt }}
{{OBDtr| 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr| 0x008 | link    |FFC8C8| 00 00 00 00 | unused| link to a [[TSFF]] file (custom font) }}
{{OBDtr| 0x00C | int32    |FFFFC8| 00 00 00 00 | unused| custom font family; can be the following:


:0 - regular
:1 - '''bold'''
:2 - ''italic''
}}
{{OBDtr| 0x010 | color    |C8FFC8| 00 00 00 00 | unused| custom font color (ARGB) }}
{{OBDtr| 0x014 | int16    |C8FFFF| 00 00      | unused| custom font size }}
{{OBDtr| 0x016 | bool1[16]|FFC8FF| 00 00      | 0    | flags enabling the custom font/family/color/size:


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
:0x01 - enables custom TSFF link above
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
:0x02 - enables custom font family above
| WIDTH=15% | <B>Hex</B>
:0x04 - enables custom font color above
| WIDTH=15% | <B>Translation</B>
:0x08 - enables custom font size above
| WIDTH=70% | <B>Meaning</B>
}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr2|0x018 | char[384]|FFC800|<tt>It's the ...</tt>| the text string itself (null-terminated, with space for at most 383 characters, plus null)<br/>(For Asian encodings, characters may take up two bytes, and the null may be a double-null as well.)}}
| BGCOLOR="#FF0000" | 01 03 00 00
{{OBDtr| 0x1A8 | char[8]  |C800C8| AD DE      | dead  | unused (not part of the template) }}
| 2
{{OBDtrBK|Alternative string storage used by PS2 implementation}}
| ALIGN=LEFT | 00003-.IGSt
{{OBDtr|0x018 | offset    |FFC800| 20 00 00 00 | 0x00000020 | offset into the .raw file for this level, holding the string:
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:<tt>It's the Syndicate enforcer Barabas!</tt>
| BGCOLOR="#FFFF00" | 01 00 00 06
The string is null-terminated and its length isn't stored anywhere. 32-byte padding is added after it as for any .raw part.}}
| 3
{{OBDtr| 0x01C | char[4]  |C800C8| AD DE       | dead | unused (not part of the template) }}
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00 00 00
| not used
| ALIGN=LEFT | link to a TSFF file
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00 00 00
| not used
| ALIGN=LEFT | font option; the following options are possible (values in dec):<P>0 - normal font<BR>1 - '''bold font'''<BR>2 - ''italic font''</P>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| not used
| ALIGN=LEFT | font color (blue, green, red); transparency
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00
| not used
| ALIGN=LEFT | font size
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00
| 0
| ALIGN=LEFT | enabler; it's a bitset; the following bits are possible (values in dec):<P>0 - none<BR>1 - enable <A HREF="oni_tsff.htm">TSFF</A> link above<BR>2 - enable font option above<BR>4 - enable font color above<BR>8 - enable font size above</P>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>It's the...</TT>
| ALIGN=LEFT | space for text
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | AD DE
| dead
| ALIGN=LEFT | not used
|}
|}




<HR>
{{OBD_File_Footer | type=IGSt | prev=IGSA | next=Impt | family=Interface | name=IGUI (In-Game User Interface) String}}
<CENTER>[[OBD:IGSA|<==]] <B>IGSt File</B> [[OBD:Impt|==>]]</CENTER>
<HR>


 
{{OBD}}
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> IGSt File

Latest revision as of 01:40, 7 December 2023

ONI BINARY DATA
IGSA << Other file types >> Impt
IGSt : IGUI (In-Game User Interface) String
switch to XML:IGSt page
Overview @ Oni Stuff
OBD.png


Igst all.gif


Offset Type Raw Hex Value Description
0x000 res_id 01 03 00 00 3 00003-.IGSt
0x004 lev_id 01 00 00 06 3 level 3
0x008 link 00 00 00 00 unused link to a TSFF file (custom font)
0x00C int32 00 00 00 00 unused custom font family; can be the following:
0 - regular
1 - bold
2 - italic
0x010 color 00 00 00 00 unused custom font color (ARGB)
0x014 int16 00 00 unused custom font size
0x016 bool1[16] 00 00 0 flags enabling the custom font/family/color/size:
0x01 - enables custom TSFF link above
0x02 - enables custom font family above
0x04 - enables custom font color above
0x08 - enables custom font size above
0x018 char[384] It's the ... the text string itself (null-terminated, with space for at most 383 characters, plus null)
(For Asian encodings, characters may take up two bytes, and the null may be a double-null as well.)
0x1A8 char[8] AD DE dead unused (not part of the template)
Alternative string storage used by PS2 implementation
0x018 offset 20 00 00 00 0x00000020 offset into the .raw file for this level, holding the string:
It's the Syndicate enforcer Barabas!

The string is null-terminated and its length isn't stored anywhere. 32-byte padding is added after it as for any .raw part.

0x01C char[4] AD DE dead unused (not part of the template)


ONI BINARY DATA
IGSA << Other file types >> Impt
IGSt : IGUI (In-Game User Interface) String
Interface file