Msbt: Difference between revisions

→‎System Tags: Font and Color
(→‎EUI Tags: Add ChoiceOne)
(→‎System Tags: Font and Color)
Line 319: Line 319:
|Ruby (extra data is a u16 display span followed by the ruby text)
|Ruby (extra data is a u16 display span followed by the ruby text)
|-
|-
| 0
|0
| 1
|1
| Font (extra data is a u16 font type)
|Font (extra data is a u16 font type)
|-
|-
| 0
|0
| 2
|2
|Font Size (extra data is a u16 font size)
|Font Size (extra data is a u16 font size)
|-
|-
| 0
|0
| 3
|3
|Font Color (extra data is a u16 color type)
|Font Color (extra data is a u16 color type)
|-
|-
| 0
|0
| 4
|4
| Page Break (no extra data)  
|Page Break (no extra data)  
|}
|}
The available colors in BotW are red, green, blue, gray, and orange in that order. 0xffff indicates a reset to the default white text color. These colors are generally either hardcoded in the game's executable or defined in a separate MSBP file if present. If defined in a MSBP file, the color type instead acts as an index into the colors in the MSBP file.
The available colors in BotW are red, green, blue, gray, and orange in that order. 0xffff indicates a reset to the default white text color. These colors are generally either hardcoded in the game's executable or defined in a separate MSBP file if present. If defined in a MSBP file, the color type instead acts as an index into the colors in the MSBP file.
===== Font =====
{| class="wikitable"
!Value
!Font
!Notes
|-
|0
|Hylian
|Stylized Hylian font (Unofficially known as Hylian Serif)
|-
|4
|Unknown
|
|-
|65535
|Normal
|Standard text font
|}
===== Font Color =====
{| class="wikitable"
!Value
!Color (h)
!Color
|-
|0
|0xff0a1aff
|Red
|-
|1
|0x64ff00ff
|Green
|-
|2
|0x00ffffff
|Cyan
|-
|3
|0xffffff40
|Grey (partly transparent white)
|-
|4
|0x007fffff
|Azure
|-
|5
|0xff4800ff
|Orange
|-
|6
|0x7f794aff
|Dull Gold
|-
|65535
|
|Reset to white or black, depending on background
|}


==== EUI Tags ====
==== EUI Tags ====
autopatrol, editnews
222

edits