OBD:IGSt: Difference between revisions

From OniGalore
m (changed family)
m (...)
 
(2 intermediate revisions by 2 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 | onistuff=igst | align=center}}
{{OBD_File_Header | type=IGSt | prev=IGSA | next=Impt | name=IGUI (In-Game User Interface) String | family=Interface | onistuff=igst | align=center}}




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 | link    |FFC8C8| 00 00 00 00 | unused| link to a [[TSFF]] file (custom font) }}
{{OBDtr| 0x008 | link    |FFC8C8| 00 00 00 00 | unused| link to a [[TSFF]] file (custom font family) }}
{{OBDtr| 0x00C | int32   |FFFFC8| 00 00 00 00 | unused| custom font family; can be the following:
{{OBDtr| 0x00C | uint32   |FFFFC8| 00 00 00 00 | unused| custom font style; can be the following:


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


:0x01 - enables custom TSFF link above
:0x01 - enables custom TSFF link above
Line 27: Line 27:
}}
}}
{{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.)}}
{{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 (not part of the template) }}
{{OBDtrBK|Alternative string storage used by PS2 implementation}}
{{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:
{{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>
:<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.}}
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) }}
|}
|}



Latest revision as of 10:50, 12 May 2025

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 family)
0x00C uint32 00 00 00 00 unused custom font style; can be the following:
0 - regular
1 - bold
2 - italic
0x010 uint32 00 00 00 00 unused custom font color (ARGB)
0x014 uint16 00 00 unused custom font size
0x016 uint16 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.)
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.


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