OBD:IGSt: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (wiki code + hex image link)
m (missed this one)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{OBD_File_Header | type=IGSt | prev=IGSA | next=Impt | name=IGUI (In-Game User Interface) String | family=Message | align=center}}
{{OBD_File_Header | type=IGSt | prev=IGSA | next=Impt | name=IGUI (In-Game User Interface) String | family=Interface | onistuff=igst | align=center}}




[[image:igst_all.gif]]
[[Image:igst_all.gif]]




Line 10: Line 10:
{{OBDtr| 0x000 | res_id  |FF0000| 01 03 00 00 | 3    | 00003-.IGSt }}
{{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| 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr| 0x008 | link32  |FFC8C8| 00 00 00 00 | unused| link to a [[OBD:TSFF|TSFF]] file }}
{{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| font option; the following options are possible (values in dec):
{{OBDtr| 0x00C | int32    |FFFFC8| 00 00 00 00 | unused| custom font family; can be the following:
 
 
0 - normal font
 
1 - '''bold font'''
 
2 - ''italic font''
 


:0 - regular
:1 - '''bold'''
:2 - ''italic''
}}
}}
{{OBDtr| 0x010 | color32  |C8FFC8| 00 00 00 00 | unused| font color (blue, green, red); transparency }}
{{OBDtr| 0x010 | color    |C8FFC8| 00 00 00 00 | unused| custom font color (ARGB) }}
{{OBDtr| 0x014 | int16    |C8FFFF| 00 00      | unused| font size }}
{{OBDtr| 0x014 | int16    |C8FFFF| 00 00      | unused| custom font size }}
{{OBDtr| 0x016 | int16    |FFC8FF| 00 00      | 0    | enabler; it's a bitset; the following bits are possible (values in dec):
{{OBDtr| 0x016 | bool1[16]|FFC8FF| 00 00      | 0    | flags enabling the custom font/family/color/size:
 
 
0 - nothing
 
1 - enable TSFF link above
 
2 - enable font option above
 
4 - enable font color above
 
8 - enable font size above
 


:0x01 - enables custom TSFF link above
:0x02 - enables custom font family above
:0x04 - enables custom font color above
:0x08 - enables custom font size above
}}
}}
{{OBDtr2| 0x018| char[384]|FFC800| It's the ...       | space for text }}
{{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.)}}
{{OBDtr| 0x1A8 | char[8]  |C800C8| AD DE      | dead  | unused }}
{{OBDtr| 0x1A8 | char[8]  |C800C8| AD DE      | dead  | unused (not part of the template) }}
{{OBDtrBK|Alternative string storage used by PS2 implementation}}
{{OBDtr|0x018 | offset    |FFC800| 20 00 00 00 | 0x00000020 | offset into the .raw file for this level, holding the string:
:<tt>It's the Syndicate enforcer Barabas!</tt>
The string is null-terminated and its length isn't stored anywhere. 32-byte padding is added after it as for any .raw part.}}
{{OBDtr| 0x01C | char[4]  |C800C8| AD DE      | dead  | unused (not part of the template) }}
|}
|}




{{OBD_File_Footer | type=IGSt | prev=IGSA | next=Impt | name=IGUI (In-Game User Interface) String}}
{{OBD_File_Footer | type=IGSt | prev=IGSA | next=Impt | family=Interface | name=IGUI (In-Game User Interface) String}}
 
{{OBD}}

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