Theory on custom music in NDS games

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

Nov 14, 2010
  1. Knyaz Vladimir
    OP

    Member Knyaz Vladimir 3DS Hacker

    Joined:
    Apr 18, 2009
    Messages:
    555
    Location:
    Unconfirmed
    Country:
    Canada
    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

    Member basher11 GBAtemp's Official Vocaloid Lover

    Joined:
    Jun 29, 2009
    Messages:
    4,382
    Country:
    United States
    i wish it was that easy :|
     
  3. Orengefox

    Newcomer Orengefox Member

    Joined:
    May 15, 2010
    Messages:
    25
    Location:
    Right in front of my computer.
    Country:
    United Kingdom
    [Please Delete]
     
    Last edited by Orengefox, Jul 19, 2016
  4. oniryuk1

    Newcomer oniryuk1 Advanced Member

    Joined:
    Apr 30, 2010
    Messages:
    65
    Location:
    Georgia
    Country:
    United States
    haha it is pretty much hard to do it...
     
  5. CrispyYoshi

    Member CrispyYoshi GBAtemp Maniac

    Joined:
    Mar 20, 2010
    Messages:
    1,466
    Country:
    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

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,731
    Country:
    United Kingdom
    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

    Newcomer Orengefox Member

    Joined:
    May 15, 2010
    Messages:
    25
    Location:
    Right in front of my computer.
    Country:
    United Kingdom
    [Please Delete]
     
    Last edited by Orengefox, Jul 19, 2016
  8. krutomisi

    Newcomer krutomisi Member

    Joined:
    Jan 25, 2010
    Messages:
    25
    Location:
    over there
    Country:
    United States
    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

    Member Knyaz Vladimir 3DS Hacker

    Joined:
    Apr 18, 2009
    Messages:
    555
    Location:
    Unconfirmed
    Country:
    Canada
    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

    Member Dartz150 GBATemp Official Lolicon Onii-chan™

    Joined:
    May 5, 2010
    Messages:
    1,383
    Location:
    On a Strange Journey
    Country:
    Mexico
    ???
    ....¬_¬.... 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

    Member Knyaz Vladimir 3DS Hacker

    Joined:
    Apr 18, 2009
    Messages:
    555
    Location:
    Unconfirmed
    Country:
    Canada
    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?
     

Share This Page