How can I disable or delete the "music" in Pokemon diamond/p

Discussion in 'NDS - ROM Hacking and Translations' started by Lasivian, Nov 24, 2009.

  1. Lasivian
    OP

    Lasivian Newbie

    Newcomer
    8
    0
    Nov 24, 2009
    United States
    I'm sick of the looping background music and I want to do something about it.

    Thanks.
     
  2. metal01

    metal01 GBAtemp Regular

    Member
    205
    10
    Jul 18, 2009
    United States
    turn down the volume.
     
  3. ProtoKun7

    ProtoKun7 GBAtemp Time Lord Regenerations: 3

    Global Moderator
    7,506
    1,547
    Jan 3, 2009
    Gallifrey
    Lol, that's what I thought [​IMG]

    I assume this isn't in the options?
     
  4. Lasivian
    OP

    Lasivian Newbie

    Newcomer
    8
    0
    Nov 24, 2009
    United States
    That's what i'm doing now, but unfortunately that kills the sound effects too which I find to be a very 'sloppy' solution.

    I *think* the music is in .resdat files in the /data directory, but that's as much as I know at the moment.

    To make this simpler this is the info i'm hoping to find:

    #1 Which files are the "background music" in the game?
    #2 If I delete those files will it destabilize gameplay? (If it would can they be replaced with 0-byte files? Etc.)

    Thanks
     
  5. WataruKun

    WataruKun Rom translator.

    Banned
    616
    0
    Sep 12, 2009
    United States
    You can also dump the sdat, find the sseq data for the music you want to delete inside the sdat and basically overwrite it so it doesn't play.

    It's good to also dump midis of the sseq files, so that you know which is sseq file, corresponds to what song. Then once you know the song, you open the sseq up in a hex editor. After that, you should copy the data from the sseq file and search for it inside the sdat. Once you find that data in the sdat, you'll know you found the right song. After that, just attempt to overwrite the data of that song.
     
  6. Lasivian
    OP

    Lasivian Newbie

    Newcomer
    8
    0
    Nov 24, 2009
    United States
    I hate to admit it, but you're well over my head here.

    Perhaps I assumed this would be a much easier thing to do. :/
     
  7. WataruKun

    WataruKun Rom translator.

    Banned
    616
    0
    Sep 12, 2009
    United States
    Perhaps. What'd you expect that there was some magical process that could turn off all the music?

    An easier way might be to find the offsets of the banks, in VGMTrans, search for the bank data inside the sdat file, find it and replace all the banks. Still pretty advanced.
     
  8. Lasivian
    OP

    Lasivian Newbie

    Newcomer
    8
    0
    Nov 24, 2009
    United States
    I was hoping the music would be in specific files that could be cut out of the ROM completely.

    Unfortunately more than that is beyond my capabilities.


    Thanks for the replies tho.
     
  9. WataruKun

    WataruKun Rom translator.

    Banned
    616
    0
    Sep 12, 2009
    United States
    Well music is different files. FIRST you need to find a program that can extract "SSEQ" files and midis out of the the ".sdat" file, which you can find probably in the "sound" folder(Or whatever it's called). Then it will dump all the SSEQ and midi files in the game to different folders.

    So first thing you'd need to do is find a program that can view the folders inside a rom, like NDS Top System. Once that's opened you could find the .sdat file and save that to your hard drive. Then find a program that can do what I mentioned above.

    In the end, you could try finding the data for the music you want to remove, in the sdat and delete that data, but mostly likely it'll cause pointer problems and mess all the games music up.