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 | + | [[Category:File formats]] |
− | Before most lines of dialogue in | + | [[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 | + | ! Hex Value || Character Voice |
|- | |- | ||
| <code>00</code> || Alph | | <code>00</code> || Alph | ||
Line 31: | Line 35: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Hex | + | ! Hex Value || Character Icon |
|- | |- | ||
− | | <code>00</code> || Alph, | + | | <code>00</code> || Alph, Neutral |
|- | |- | ||
− | | <code>01</code> || Brittany, | + | | <code>01</code> || Brittany, Neutral |
|- | |- | ||
− | | <code>02</code> || Charlie, | + | | <code>02</code> || Charlie, Neutral |
|- | |- | ||
− | | <code>03</code> || Louie, | + | | <code>03</code> || Louie, Neutral |
|- | |- | ||
− | | <code>04</code> || Olimar, | + | | <code>04</code> || Olimar, Neutral |
|- | |- | ||
− | | <code>05</code> || Alph, | + | | <code>05</code> || Alph, Shocked |
|- | |- | ||
− | | <code>06</code> || Brittany, | + | | <code>06</code> || Brittany, Shocked |
|- | |- | ||
− | | <code>07</code> || Charlie, | + | | <code>07</code> || Charlie, Shocked |
|- | |- | ||
− | | <code>08</code> || Louie, | + | | <code>08</code> || Louie, Shocked |
|- | |- | ||
− | | <code>09</code> || Olimar, | + | | <code>09</code> || Olimar, Shocked |
|- | |- | ||
− | | <code>0A</code> || Alph, | + | | <code>0A</code> || Alph, Happy |
|- | |- | ||
− | | <code>0B</code> || Brittany, | + | | <code>0B</code> || Brittany, Happy |
|- | |- | ||
− | | <code>0C</code> || Charlie, | + | | <code>0C</code> || Charlie, Happy |
|- | |- | ||
− | | <code>0D</code> || Louie, | + | | <code>0D</code> || Louie, Happy |
|- | |- | ||
− | | <code>0E</code> || Olimar, | + | | <code>0E</code> || Olimar, Happy |
|- | |- | ||
− | | <code>0F</code> || Alph, | + | | <code>0F</code> || Alph, Worried |
|- | |- | ||
− | | <code>10</code> || Brittany, | + | | <code>10</code> || Brittany, Worried |
|- | |- | ||
− | | <code>11</code> || Charlie, | + | | <code>11</code> || Charlie, Worried |
|- | |- | ||
− | | <code>12</code> || Louie, | + | | <code>12</code> || Louie, Worried |
|- | |- | ||
− | | <code>13</code> || Olimar, | + | | <code>13</code> || Olimar, Worried |
|- | |- | ||
− | | <code>14</code> || Alph, | + | | <code>14</code> || Alph, Determined |
|- | |- | ||
− | | <code>15</code> || Brittany, | + | | <code>15</code> || Brittany, Determined |
|- | |- | ||
− | | <code>16</code> || Charlie, | + | | <code>16</code> || Charlie, Determined |
|- | |- | ||
− | | <code>17</code> || Louie, | + | | <code>17</code> || Louie, Determined |
|- | |- | ||
− | | <code>18</code> || Olimar, | + | | <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 | ||
|} | |} | ||
− | |||
− | |||
− |