Is it possible to...?

Discussion in 'NDS - ROM Hacking and Translations' started by .Darky, Jan 16, 2009.

Jan 16, 2009

Is it possible to...? by .Darky at 12:29 AM (2,495 Views / 0 Likes) 7 replies

  1. .Darky
    OP

    Member .Darky GBAtemp Maniac

    Joined:
    Nov 21, 2008
    Messages:
    1,163
    Location:
    Lima
    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? : /
     
  2. xalphax

    Member xalphax Internet killed the Ponystar.

    Joined:
    Nov 18, 2006
    Messages:
    1,266
    Location:
    here'n'there
    Country:
    Croatia
    depends on the format of either file.

    i think its possible with a little work.
     
  3. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,727
    Country:
    United Kingdom
    The SDAT format used by the megaman game is fairly well understood but the GBA uses a whole host of formats (not sure what the GBA megaman games use).

    One of the formats for GBA and about as good as it gets:
    http://gbatemp.net/index.php?showtopic=109517
     
  4. .Darky
    OP

    Member .Darky GBAtemp Maniac

    Joined:
    Nov 21, 2008
    Messages:
    1,163
    Location:
    Lima
    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? : /
     
  5. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,727
    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.
     
  6. .Darky
    OP

    Member .Darky GBAtemp Maniac

    Joined:
    Nov 21, 2008
    Messages:
    1,163
    Location:
    Lima
    Country:
    Peru
    So, there aren't any tools available to rip just that BGM from the Rom sound file? : /
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,727
    Country:
    United Kingdom
  8. .Darky
    OP

    Member .Darky GBAtemp Maniac

    Joined:
    Nov 21, 2008
    Messages:
    1,163
    Location:
    Lima
    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.
     

Share This Page