ROM Hack Is it possible to...?

.Darky

Well-Known Member
OP
Member
Joined
Nov 21, 2008
Messages
1,317
Trophies
0
XP
952
Country
Peru
Replace a NDS sound file with a Gba one?

What I'm trying to do is to replace the boss battle sound file of Megaman Battle Network 5: Double Team and replace it with the boss battle theme of Megaman Battle Network 6 (GBA).


So...is it possible? : /
 

.Darky

Well-Known Member
OP
Member
Joined
Nov 21, 2008
Messages
1,317
Trophies
0
XP
952
Country
Peru
Ok, I'm checking the link you gave me.

Currently downloading adobe air...



Edit: Ok, I'm done with the download, just installed the GBA jukebox and already ripped the sound of the GBA ROM. Now I just need a tool to decompress the sound files of both Roms, any ideas? : /
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
35,543
Trophies
2
Website
trastindustries.com
XP
25,465
Country
United Kingdom
SDAT based DS audio is contains three things
midi type music (SSEQ), think sheet music and a bank of instruments to use.

samples (gun shot, cymbal hit, engine rev) type called SWAR.

STRM, full audio tracks most notable in the likes of the Tony Hawks games.

More here: http://kiwi.ds.googlepages.com/sdat.html

The samples and the STRM use either PCM type or AD-PCM (common raw audio formats) but most is SSEQ based (I played with the megaman sounds the other day and I am 90% sure they were SSEQ for the background music).
In all truth I have not played around using STRM/similar in place of SSEQ and I would suggest not trying as I have no idea of the fallout that would ensue (I do not know if there is parsing for STRM in all games and I would certainly think twice about including something I do not use on any system let alone a limited one like the DS, megaman 5 is known to have multimedia based speed issues (slowdown during videos) and it is also the problem with tony hawks games). Either way now you have a working GBA version you can ignore that game.

If you have the SDAT file you do not need to pull it apart (not much exists to put it back together and I do not trust them that much anyway). I would instead make the file larger (remember to change the size in the header) and point the old theme to the (see the likes of the tetris sound hacks, there was a thread on this the other day: http://gbatemp.net/index.php?showtopic=122534 ). First though you have to get it into a format you can use. sseq to midi is not very hard and primitive midi to sseq tools do exist.
http://kiwi.ds.googlepages.com/

This is where you will come unstuck as there is no straight conversion tool and even then you will need to make a bank for the sseq (midi is sheet music and the bank is the instruments it can use, PCs tend to have hardware/software inbuilt but the DS has it in the sound file to the point it can even change between pieces of music within a game).
The tool I linked to is aimed at/more useful for those who want to tweak the composition of the file rather than straight up replacement (while it is similar it is probably not the same). Converting to and from midi with anything other than other midi style formats is not the feint of heart either.
 

.Darky

Well-Known Member
OP
Member
Joined
Nov 21, 2008
Messages
1,317
Trophies
0
XP
952
Country
Peru
Thanks again, I'm checking the link right now. :]

EDIT: Ok, already know which is the BGM I wanna change, now I'm downloading a program called Sappy, which I suppose it's function is the same as the ndssndex but for the GBA rom.
 
General chit-chat
Help Users
    AncientBoi @ AncientBoi: oh dsl. got it