Editing MSBT file (Pikmin 3)

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
 
** In addition, in order for it to work with ''Pikmin 3'', find the line with <code>substrings.append</code>, and change the line to <code>substrings.append(string.decode('utf-16-%s' % ('-le' if self.order == '<' else '-be'), 'replace'))</code>.
 
** In addition, in order for it to work with ''Pikmin 3'', find the line with <code>substrings.append</code>, and change the line to <code>substrings.append(string.decode('utf-16-%s' % ('-le' if self.order == '<' else '-be'), 'replace'))</code>.
  
== Changing who speaks in dialogue ==
+
[[Category:File formats]]
Before most lines of dialogue in ''Pikmin 3'''s MSBT entries, there are 10 bytes of hex starting with <code>0E 00 17 00</code> or something similar. Of these ten bytes, the last two bytes (the two bytes before the actual dialogue text) determine the character saying this dialogue. The second to last byte determines the voice used, while the last byte determines the icon used.
+
[[Category:Pikmin 3]]
 +
 
 +
==Changing Who Speaks in Dialogue==
 +
 
 +
Before most lines of dialogue in <i>Pikmin 3</i>'s MSBT entries, there are 10 bytes of hex starting with <code>0E 00 17 00</code> or something similar. Of these ten bytes, the last two bytes (the two bytes before the actual dialogue text) determine the character saying this dialogue. The second to last byte determines the voice used, while the last byte determines the icon used.
  
 
If MSBT Editor Reloaded (linked above) is used to edit a given MSBT file, the hex values before these lines of dialogue can be directly edited via its hex editor on the bottom right of the window.
 
If MSBT Editor Reloaded (linked above) is used to edit a given MSBT file, the hex values before these lines of dialogue can be directly edited via its hex editor on the bottom right of the window.
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Hex value || Character voice
+
! Hex Value || Character Voice
 
|-
 
|-
 
| <code>00</code> || Alph
 
| <code>00</code> || Alph
Line 31: Line 35:
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Hex value || Character icon
+
! Hex Value || Character Icon
 
|-
 
|-
| <code>00</code> || Alph, neutral
+
| <code>00</code> || Alph, Neutral
 
|-
 
|-
| <code>01</code> || Brittany, neutral
+
| <code>01</code> || Brittany, Neutral
 
|-
 
|-
| <code>02</code> || Charlie, neutral
+
| <code>02</code> || Charlie, Neutral
 
|-
 
|-
| <code>03</code> || Louie, neutral
+
| <code>03</code> || Louie, Neutral
 
|-
 
|-
| <code>04</code> || Olimar, neutral
+
| <code>04</code> || Olimar, Neutral
 
|-
 
|-
| <code>05</code> || Alph, shocked
+
| <code>05</code> || Alph, Shocked
 
|-
 
|-
| <code>06</code> || Brittany, shocked
+
| <code>06</code> || Brittany, Shocked
 
|-
 
|-
| <code>07</code> || Charlie, shocked
+
| <code>07</code> || Charlie, Shocked
 
|-
 
|-
| <code>08</code> || Louie, shocked
+
| <code>08</code> || Louie, Shocked
 
|-
 
|-
| <code>09</code> || Olimar, shocked
+
| <code>09</code> || Olimar, Shocked
 
|-
 
|-
| <code>0A</code> || Alph, happy
+
| <code>0A</code> || Alph, Happy
 
|-
 
|-
| <code>0B</code> || Brittany, happy
+
| <code>0B</code> || Brittany, Happy
 
|-
 
|-
| <code>0C</code> || Charlie, happy
+
| <code>0C</code> || Charlie, Happy
 
|-
 
|-
| <code>0D</code> || Louie, happy
+
| <code>0D</code> || Louie, Happy
 
|-
 
|-
| <code>0E</code> || Olimar, happy
+
| <code>0E</code> || Olimar, Happy
 
|-
 
|-
| <code>0F</code> || Alph, worried
+
| <code>0F</code> || Alph, Worried
 
|-
 
|-
| <code>10</code> || Brittany, worried
+
| <code>10</code> || Brittany, Worried
 
|-
 
|-
| <code>11</code> || Charlie, worried
+
| <code>11</code> || Charlie, Worried
 
|-
 
|-
| <code>12</code> || Louie, worried
+
| <code>12</code> || Louie, Worried
 
|-
 
|-
| <code>13</code> || Olimar, worried
+
| <code>13</code> || Olimar, Worried
 
|-
 
|-
| <code>14</code> || Alph, determined
+
| <code>14</code> || Alph, Determined
 
|-
 
|-
| <code>15</code> || Brittany, determined
+
| <code>15</code> || Brittany, Determined
 
|-
 
|-
| <code>16</code> || Charlie, determined
+
| <code>16</code> || Charlie, Determined
 
|-
 
|-
| <code>17</code> || Louie, determined
+
| <code>17</code> || Louie, Determined
 
|-
 
|-
| <code>18</code> || Olimar, determined
+
| <code>18</code> || Olimar, Determined
 
|-
 
|-
| <code>19</code> || No icon is displayed
+
| <code>19</code> || No icon is displayed.
 
|-
 
|-
 
| <code>1A</code> || S.S. Drake
 
| <code>1A</code> || S.S. Drake
 
|}
 
|}
 
[[Category:File formats]]
 
[[Category:Pikmin 3]]
 

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: