Theory on custom music in NDS games

Discussion in 'NDS - ROM Hacking and Translations' started by Knyaz Vladimir, Nov 14, 2010.

  1. Knyaz Vladimir
    OP

    Knyaz Vladimir 3DS Hacker

    Member
    555
    0
    Apr 18, 2009
    Canada
    Unconfirmed
    Well, other than modifying the MIDIs themselves, there is another method. In the SDAT, after I ripped the music, I noticed that some games have WAVs as music. Now here's a theory. Can't we create WAVs, insert them into the ROMs, set loop points, and get them to play during levels?

    It could mean custom music for everyone!

    It's not meant to be perfect.
     
  2. basher11

    basher11 GBAtemp's Official Vocaloid Lover

    Member
    4,385
    128
    Jun 29, 2009
    United States
    i wish it was that easy :|
     
  3. Orengefox

    Orengefox Member

    Newcomer
    25
    0
    May 15, 2010
    Right in front of my computer.
    [Please Delete]
     
    Last edited by Orengefox, Jul 19, 2016
  4. oniryuk1

    oniryuk1 Advanced Member

    Newcomer
    65
    0
    Apr 30, 2010
    United States
    Georgia
    haha it is pretty much hard to do it...
     
  5. CrispyYoshi

    CrispyYoshi GBAtemp Advanced Maniac

    Member
    1,516
    502
    Mar 20, 2010
    United States
    From experience as a Super Mario World Sample Porter, I have to say that samples take up much, much more space than using .WAV files. It's much more efficient to use small .WAV samples, and modify them with a tracker to change pitch to make it sound like there's more content coming from that small sample. It lets the programmer put more code for the actual game, rather than the music.

    However, there have already been some cases where WAV files took up the majority of the soundtracks in NDS game soundtracks. A great example would be The World Ends With You.
     
  6. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,344
    9,138
    Nov 21, 2005
    I thought TWEWY was ADX/AHX type formats, N+ used PCM (damn close to wave files- indeed the same programs can make them if you know what you are doing) and electroplankton did use true windows grade wave files- I read your text as they had wave within SDAT but if you have found another game that uses wave do share.

    SDAT does contain some PCM (or ADPCM) encoded audio for various things and some of the full track type stuff (seen in the likes of Tony Hawk games) is a sort of a raw wave file give or take some DS type header. http://gbatemp.net/index.php?showtopic=162246 might be worth a read although there was a new program a few weeks back as might http://www.romhacking.net/forum/index.php/topic,8407.html along with the usual SDAT specs.
     
  7. Orengefox

    Orengefox Member

    Newcomer
    25
    0
    May 15, 2010
    Right in front of my computer.
    [Please Delete]
     
    Last edited by Orengefox, Jul 19, 2016
  8. krutomisi

    krutomisi Member

    Newcomer
    25
    0
    Jan 25, 2010
    United States
    over there
    IIRC Luminous Arc has a wave file of the main theme sitting in the the intro folder


    I haven't looked into it,
    but I'm guessing there's a chance the sdat uses a similar file

    but then again maybe not
     
  9. Knyaz Vladimir
    OP

    Knyaz Vladimir 3DS Hacker

    Member
    555
    0
    Apr 18, 2009
    Canada
    Unconfirmed
    Apollo Justice has some WAVs in it (several songs) and that gave the ripper grief. I was the ripper, I joined just to experiment a program.
     
  10. Dartz150

    Dartz150 GBATemp Official Lolicon Onii-chan™

    Member
    1,406
    845
    May 5, 2010
    Mexico
    On a Strange Journey
    ???
    ....¬_¬.... seriously???
    Didn't someone mentioned Guitar hero series??????
    those games have use of WAV's as hell!!!!
    Open the roms with DSLazy and you'll see!! [​IMG]
     
  11. Knyaz Vladimir
    OP

    Knyaz Vladimir 3DS Hacker

    Member
    555
    0
    Apr 18, 2009
    Canada
    Unconfirmed
    I don't use DSLazy for getting my audio rips, I use my own program. But... we're talking about SDAT files, does Guitar Hero even HAVE ONE if you're telling us to open it with DSLazy?