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

Kourin

Touhou Maniac
OP
Member
Joined
Jan 24, 2016
Messages
1,018
Trophies
0
Age
28
Location
Ripple Star
XP
1,236
Country
Australia
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.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/9kE3Env_2AY?si=Bs6lUZ0ZIlqmYaGT