Difference between revisions of "Custom sequenced Pikmin music"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>.jam</code> files are files used for custom music in ''Pikmin''.  
+
{{DISPLAYTITLE:Custom sequenced ''Pikmin'' music}}
Below, you will see a somewhat complete guide of how to create a custom <code>.jam</code> file for ''Pikmin''.
+
[[JAM file|<code>.jam</code> file]]s are files used for sequenced music in ''Pikmin''. Below, you will see a somewhat complete guide on how to create a custom <code>.jam</code> file for ''Pikmin''.
  
 
== Guide ==
 
== Guide ==
  
 
=== Tools ===
 
=== Tools ===
 
 
* Hex Editor of your choice, I use [https://mh-nexus.de/en/downloads.php?product=HxD HxDenu]
 
* Hex Editor of your choice, I use [https://mh-nexus.de/en/downloads.php?product=HxD HxDenu]
 
* Yoshi2's fork of [https://github.com/RenolY2/flaaffy flaaffy]
 
* Yoshi2's fork of [https://github.com/RenolY2/flaaffy flaaffy]
  
 
=== Instructions ===
 
=== Instructions ===
 
+
[[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.
  
[[File:image0.png|300 px|]]
+
After that, your custom music should play correctly!  
 
 
4. Underneath the jam file you want to replace, there will be two strings you need to replace. In the first string, replace it with <code>0x00035900</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.
 
 
 
After that, your custom music should play correctly! Please note that some instruments may not play.
 
  
 +
{{credits|[[User:TurtleTrademark|TurtleTrademark]]}}
  
 
[[Category:Notes]]
 
[[Category:Notes]]
 
[[Category:Pikmin]]
 
[[Category:Pikmin]]
 
{{credits|[[User:TurtleTrademark|TurtleTrademark]]}}
 

Latest revision as of 14: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