Difference between revisions of "Custom sequenced Pikmin music"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
 
Line 11: Line 11:
 
[[File:image0.png|right]]
 
[[File:image0.png|right]]
 
# Download Yoshi2's fork of flaaffy to make a custom <code>.bms</code> file. After that is done, rename the file to whatever <code>.jam</code> you would like to replace. Make sure you change the file extension from <code>.bms</code> to <code>.jam</code>.  
 
# Download Yoshi2's fork of flaaffy to make a custom <code>.bms</code> file. After that is done, rename the file to whatever <code>.jam</code> you would like to replace. Make sure you change the file extension from <code>.bms</code> to <code>.jam</code>.  
# After that, in a hex editor, open <code>pikiseq.arc</code> and your custom <code>.jam</code> file. Copy and paste your <code>.jam</code> file and paste it at the end of <code>pikiseq.arc</code>.  
+
# After that, in a hex editor, open <code>pikiseq.arc</code> and your custom <code>.jam</code> file. Copy your <code>.jam</code> file and paste it at the end of <code>pikiseq.arc</code>.  
 
# After you have copied and pasted your <code>.jam</code> file into <code>pikiseq.arc</code>, open <code>pikiseq.hed</code> or search for the string <code>BARC</code> in the <code>main.dol</code> in your hex editor.
 
# After you have copied and pasted your <code>.jam</code> file into <code>pikiseq.arc</code>, open <code>pikiseq.hed</code> or search for the string <code>BARC</code> in the <code>main.dol</code> in your hex editor.
 
# Underneath the jam file you want to replace, there will be two hex strings you need to replace. Replace the first string with<code>0x00035900</code>. This is the offset of the location of the <code>.jam</code> file in <code>pikiseq.arc</code>.  The next string will be the length of the file you want to replace, in hexadecimal. Note that this is NOT the length of playback of the song, but the length of the file, which you should be able to find in your hex editor.
 
# Underneath the jam file you want to replace, there will be two hex strings you need to replace. Replace the first string with<code>0x00035900</code>. This is the offset of the location of the <code>.jam</code> file in <code>pikiseq.arc</code>.  The next string will be the length of the file you want to replace, in hexadecimal. Note that this is NOT the length of playback of the song, but the length of the file, which you should be able to find in your hex editor.

Latest revision as of 15:10, 27 April 2021

.jam files are files used for sequenced music in Pikmin. Below, you will see a somewhat complete guide on how to create a custom .jam file for Pikmin.

Guide[edit]

Tools[edit]

Instructions[edit]

Image0.png
  1. Download Yoshi2's fork of flaaffy to make a custom .bms file. After that is done, rename the file to whatever .jam you would like to replace. Make sure you change the file extension from .bms to .jam.
  2. After that, in a hex editor, open pikiseq.arc and your custom .jam file. Copy your .jam file and paste it at the end of pikiseq.arc.
  3. After you have copied and pasted your .jam file into pikiseq.arc, open pikiseq.hed or search for the string BARC in the main.dol in your hex editor.
  4. Underneath the jam file you want to replace, there will be two hex strings you need to replace. Replace the first string with0x00035900. This is the offset of the location of the .jam file in pikiseq.arc. The next string will be the length of the file you want to replace, in hexadecimal. Note that this is NOT the length of playback of the song, but the length of the file, which you should be able to find in your hex editor.

After that, your custom music should play correctly!

Credits: TurtleTrademark