Msbt: Difference between revisions

Jump to navigation Jump to search
imported>Leoetlino
m (add {{check}} templates to mark information that needs checking (such pages are tracked with categories))
imported>Argo
Line 320: Line 320:
70 | 00 02 00 03 00 04 00 05 02 03 00 00            | ............    |
70 | 00 02 00 03 00 04 00 05 02 03 00 00            | ............    |
</pre>
</pre>
At byte <code>0x68</code> is the command indicator followed by the type of <code>1</code>. Command types of <code>1</code> seem to be variable length. The type (in this instance) is followed by the number of additional Unsigned Shorts <code>6</code> and 6 shorts.
At byte <code>0x68</code> is the command indicator followed by the type of <code>1</code>. Command types of <code>1</code> seem to be variable length. The type (in this instance) is followed by the number of additional Unsigned Shorts <code>6</code> and 6 shorts or choices in text.


<code>[00 0A] [00 02] [00 03] [00 04] [00 05] [02 03]</code>
<code>[00 0A] [00 02] [00 03] [00 04] [00 05] [02 03]</code>


The commands are not fully understood at this time, but below is a list of the known command identifiers and variable counts.
The commands are not fully understood at this time, but below is a list of the known command identifiers and variable counts.  
{| class="wikitable"
{| class="wikitable"
!Type
!Type
Line 332: Line 332:
| 0
| 0
| 3
| 3
|
|Modify text. Followed by modifiers.
|-
|-
| 1
| 1
| ''n''
| ''n''
| Variable length. Length is the unsigned short following the type.
| Stop Text. Followed by stop type.
|-
|-
| 2
| 2
Line 348: Line 348:
| 4
| 4
| 3
| 3
| Often end with <code>XX CD</code>
| End with <code>XX CD</code> for choice
|-
|-
| 5
| 5
| 2
| 2
| Seem to always end with a line-feed character <code>00 0A</code>
| Seem to always end with a line-feed character <code>00 0A</code>
|}
==== Text Modifier ====
These are the 3 shorts or modifiers that follow the Modify text or 0 command.
{| class="wikitable"
!Order
!Type
!Notes
|-
|1
|Font
|In EU ver <code>01<code> refers to English text in
|Modify text. Followed by modifiers.
|-
|}
|}


Anonymous user

Navigation menu