Replacing Music using MIDIs

From Sunshine Wiki
Jump to navigation Jump to search

Tools Required:

Flaaffy (RenolY2 Branch for easier editing): Command line tool that converts the music into a format the game can read

SunshineBMSRepacker: Replaces the music inside Super Mario Sunshine

(Optional) JaiSeqX: Command line too that lets you listen to bms files


Resources:

Original MIDI File from: https://www.khinsider.com/midi/snes/super-mario-world

Modified version for example: File:SMW Bonus Example.mid


Step 1: MIDI to cotton assembler language[edit | edit source]

To start, get a midi file you want to convert, or create your own. If you want to follow my example file that I'll be working with, download the modified midi attached under "Resources".

Step 2: Cotton assembler language to bms[edit | edit source]

Step 3 (Optional): Test song outside the game[edit | edit source]

Step 4: Import the bms into game[edit | edit source]