[Help] Mario 64 DS - Using minigame music in the main game?

Discussion in 'NDS - ROM Hacking and Translations' started by Kourin, Jun 20, 2016.

  1. Kourin

    Kourin Touhou Maniac

    Jan 24, 2016
    Ripple Star
    I'm new to the musical side of hacking SM64DS and not sure how to do a lot of it.
    I had a good idea for a custom level using the music from the "Psyche Out!" minigame which is basically a slowed down version of the Jolly Roger Bay and Dire Dire Docks themes. But again, I'm not exactly sure both whether or not it's usable or how to do it.

    Can anyone help me out here? Thanks.
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    Nov 21, 2005
    United Kingdom
    I don't have the game in front of me or I might be able to show things.

    Generally though if you have a DS game it will use the SDAT format. If you have a song in one part of the game and want it to play instead of another song then it is pretty easy. Two main approaches -- if the songs use the same sound bank (sound bank = instrument list) you just have to change the pointers for the song in the header of the SDAT file to play the other song.
    If it uses a different bank then most would just change the bank the sequence thinks it wants, also in the header.
    I cover the latter in the PDF version of http://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2016-edition-out.73394/ I think. The former will be as well but there are other ones like http://gbatemp.net/threads/audio-swapping-question.122534/#post-1634138

    The main problem with this is the song that originally plays will always play the changed one, most of the time this is not a problem as that is what people want (I started out doing this for Tetris to make it play the classic Tetris theme in vs and the main game and that sort of thing is what most people want). You might be able to go one step further and call the song itself with the level editor but I have not used the SM64DS editors in a while now and never really checked to see what music alterations you could do, I imagine it is not going to be terribly difficult to figure it out though even if it is not in the editor.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice