Skip to content

Easy conversion of MIDI to .m64 for SM64 romhacking

Notifications You must be signed in to change notification settings

dylanpdx/SM64Mus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SM64Mus

Icon

Easy conversion of MIDI to .m64 for SM64 romhacking

A quick tool I put together to make sm64 music making easier. Keep in mind the code isn't the best due to putting this together in a short amount of time for personal use. There's also quite a few of bugs.

I don't have much time to be working on the project, but PRs are welcome!

Libraries/Projects used:

Using

Load a MIDI file, select the soundbank the final sound will be played on, and then select the proper instruments for each channel.

Caveats

  • Generated .m64 files don't loop at the moment
  • ??? (Probably a lot more that I haven't thought of)

Using Preview mode

Please note that preview mode is NOT perfect, and the final result can sound much different in-game (due to N64 limits, converter errors, etc.)

To use Preview mode, you need a legally ripped N64 ROM, and the N64 Soundbank Tool from this repository. Select your ROM in the N64 Soundbank tool, load it, and then press the "Write All DLS Soundfont Banks" button. Browse to the folder where SM64Mus is, and select or create the "Soundbanks" folder. Export your soundbanks there.

Pressing play in SM64Mus with a MIDI loaded should now load and play the midi with the SM64 soundbank selected.

Changing instruments or soundbanks should refresh the preview live.

Building

Build instructions coming soon

TODO

  • Implement a m64 converter within the tool itself
  • Check for overlapping notes & offer to move to a new channel

About

Easy conversion of MIDI to .m64 for SM64 romhacking

Resources

Stars

Watchers

Forks

Languages