Hacking music on DS Games?

Discussion in 'NDS - ROM Hacking and Translations' started by Icey, Jun 16, 2008.

  1. Icey

    Icey GBAtemp Fan

    Oct 5, 2007
    United States
    I was wondering if anyone had any Guides/Tools for hacking the music on games.
    As in taking out the music you dislike (with DS Lazy? unless there's some better tool)
    and putting in music you do like.
    *hoping I don't get flamed for this*
    Just curious.
    I tried to use the search function but the whole google thing confused me.
    (Possibly because its almost 5AM and I'm getting tired...)
    And are there any real easy games to hack? (I think I heard Mr.Bean was in MP3 Format [​IMG])
    Thanks for any help, I'll check back tommarow.
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    Nov 21, 2005
    United Kingdom
    I detailed a few hacks/hacking techniques and so have a few others but there are a few things that are normally done.

    SDAT/sound replacement: originally done to shrink roms (goldeneye has an especially small file) but these days is done mainly for undubbing games.
    The simple undub merely takes the Japanese sound files and replaces the ones from the Euro or US release and it works most of the time. Other times there are extra or fewer sounds or it is done in a different order (the DS can use name of a file or ordinal (numbers) to call a sound) leading either to odd sounds being played or to crashing. Here you have to alter the files to match with techniques detailed in the next paragraph.

    SDAT tweaking: various people have tweaked tetris to play different songs. I did it to play the classic tetris theme ( http://gbatemp.net/index.php?showtopic=36870 ) all the time and mufunyo removed the BG music entirely ( http://gbatemp.net/index.php?showtopic=69603 ).
    Other times this can be done to reduce loading times/increase stability. Various people did it but it was kenghot who put out the patch you will most likely see for the Castlevania portrait of ruin.

    Full blown sound replacement: the first people to do this were messing around with electroplankton as it uses plain windows compatible wave files which brings me onto the next thing.
    What sound files are.

    The most common format is the SDAT format. Used in all but around 10 games (unfortunately those 10 games are somewhat noteworthy).
    Others use common formats (electroplankton) and not so common but common in games world (the world ends with you had a topic the other day http://gbatemp.net/index.php?showtopic=86998 ).
    One or two use tweaks on a "common" format meaning you will likely have to make new tools/alter existing ones to do it (lower bitrate/only mono audio/lower sample frequency/lower bit depth.....) but this is fairly rare and most tools allow for this even if they were not intended to be used for it).

    SDAT format stuff is fairly easy to work with.
    Specs here
    Tahaxan forums have a early stage repacker but I find a hex editor and a spreadsheet nicer to work with.

    For the BG music tweaking the file system is normally tweaked to read a different file (or none at all, normally by "reading" outside the actual file).

    Next is simple replacement/swapping. I mentioned the repacker and it is easy enough to swap from rom to rom but the formats used within SDAT are not quite common PC formats which makes converting to the format a bit harder. The formats are detailed properly in the links I gave you above and kiwi.ds also made midi2sseq:

    You have simple sounds: drum hits, a gun shot in soundbite format (normally some form of PCM/IMA-ADPCM)
    You have midi type files (not actual midi but close enough for conversion to and from) with their instruments in distinct sections.
    Lastly you have full blown tracks (Tony Hawks games are the most common here). PCM or IMA-ADPCM (also detailed above) are the most common.

    See the rom ripping and enhancements link in my signature or I also added it to the rom hacking docs also in my signature (and stickied at the top of the forum) for methods of pulling roms apart.
    Threads you might find interesting:
  3. masamunecyrus

    masamunecyrus Advanced Member

    Dec 26, 2007
    United States
    Holy crap, I have not seen such a helpful reply to any post any where in months. There should be some way to give this guy an award, or something.
  4. |0xyG3N²&#1

    |0xyG3N²&#1 Banned

    Jun 18, 2008
    This is really usefull [​IMG]
  5. Dominator

    Dominator the world end without you

    May 9, 2007
    Not on the earth
    i'll test some your tech Fast, thanks a lot [​IMG] [​IMG] [​IMG].

    This guy also make a ROM HACk documentation i've never seen before

    Love you for sure

    What we do if you are not here ?
  6. ben_not_benny

    ben_not_benny GBAtemp Regular

    Apr 25, 2008
    Toronto, Canada
    Wow, I was looking for something like this. Thanks!
  7. geitraxari

    geitraxari Newbie

    Nov 4, 2008
    United States
    Çàöåíèòå ìîþ ïîäáîðî÷êó ãåé ñàéòîâ
    <a href="http://webgay.gaypornz.ru/" target="_blank">ãåé ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/" target="_blank">ãåé ïîðíî</a>
    ññûëî÷êè ïðÿìî âðàçäåëû
    <a href="http://webgay.gaypornz.ru/map.html" target="_blank">òðàõàþò ãååâ</a>
    <a href="http://traxgay.gaypornz.ru/map.html" target="_blank">ðâóò î÷êî ïàðíþ</a>
    Ñàìîå ëó÷øåå <b>ïîðíî ãååâ</b> è òî ÷òî ëè÷íî ìíå ïîíðàâèëîñü â <b>ãåé ïîðíî</b>
    <a href="http://webgay.gaypornz.ru/porno-polnykh-geev.html" target="_blank">ïîðíî ïîëíûõ ãååâ</a>
    <a href="http://webgay.gaypornz.ru/prosto-skachatygey-porno.html" target="_blank">ïðîñòî ñêà÷àòüãåé ïîðíî</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-bdsm.html" target="_blank">ãåé ïîðíî bdsm</a>
    <a href="http://webgay.gaypornz.ru/gey-lunka-seks.html" target="_blank">ãåé ëóíêà ñåêñ</a>
    <a href="http://webgay.gaypornz.ru/gey-sayt-porno-gey-foto.html" target="_blank">ãåé ñàéò ïîðíî ãåé ôîòî</a>
    <a href="http://webgay.gaypornz.ru/tugie-popki-detey-geev.html" target="_blank">òóãèå ïîïêè äåòåé ãååâ</a>
    <a href="http://webgay.gaypornz.ru/eroticheskoe-foto-pro-geev.html" target="_blank">ýðîòè÷åñêîå ôîòî ïðî ãååâ</a>
    <a href="http://webgay.gaypornz.ru/skachaty-gey-porno-anime.html" target="_blank">ñêà÷àòü ãåé ïîðíî àíèìý</a>
    <a href="http://webgay.gaypornz.ru/gey-foto-porno-ottsy-i-deti.html" target="_blank">ãåé ôîòî ïîðíî îòöû è äåòè</a>
    <a href="http://webgay.gaypornz.ru/yunnyy-gey-khochu-seksa.html" target="_blank">þííûé ãåé õî÷ó ñåêñà</a>
    <a href="http://webgay.gaypornz.ru/gey-seks-sosushchie-soski.html" target="_blank">ãåé ñåêñ ñîñóùèå ñîñêè</a>
    <a href="http://webgay.gaypornz.ru/porno-fotografii-gei-fetish.html" target="_blank">ïîðíî ôîòîãðàôèè ãåè ôåòèø</a>
    <a href="http://webgay.gaypornz.ru/agrotekhnika-vyrashchivaniya-geykher.html" target="_blank">àãðîòåõíèêà âûðàùèâàíèÿ ãåéõåð</a>
    <a href="http://webgay.gaypornz.ru/skachaty-besplatnye-gey-porno-foto.html" target="_blank">ñêà÷àòü áåñïëàòíûå ãåé ïîðíî ôîòî</a>
    <a href="http://webgay.gaypornz.ru/sylki-gey-porno.html" target="_blank">ñûëêè ãåé ïîðíî</a>
    <a href="http://webgay.gaypornz.ru/super-gey-pornukha.html" target="_blank">ñóïåð ãåé ïîðíóõà</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-roliki.html" target="_blank">ãåé ïîðíî-ðîëèêè</a>
    <a href="http://webgay.gaypornz.ru/porno-foto-gei-negry-s-belymi.html" target="_blank">ïîðíî ôîòî ãåè íåãðû ñ áåëûìè</a>
    <a href="http://webgay.gaypornz.ru/erotika-podrostkov-geev.html" target="_blank">ýðîòèêà ïîäðîñòêîâ ãååâ</a>
    <a href="http://webgay.gaypornz.ru/skachaty-polnometrazhnyy-gey-porno.html" target="_blank">ñêà÷àòü ïîëíîìåòðàæíûé ãåé ïîðíî</a>
    <a href="http://webgay.gaypornz.ru/sayt-geev-biseksualov-severnogo.html" target="_blank">ñàéò ãååâ áèñåêñóàëîâ ñåâåðíîãî</a>
    <a href="http://webgay.gaypornz.ru/kollektsiya-podrostkovogo-gey-porno.html" target="_blank">êîëëåêöèÿ ïîäðîñòêîâîãî ãåé ïîðíî</a>
    <a href="http://webgay.gaypornz.ru/skachaty-besplatno-geyporno-filym.html" target="_blank">ñêà÷àòü áåñïëàòíî ãåéïîðíî ôèëüì</a>
    <a href="http://webgay.gaypornz.ru/prodam-diski-detskoe-gey-porno.html" target="_blank">ïðîäàì äèñêè äåòñêîå ãåé ïîðíî</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-foto-i.html" target="_blank">ãåé ïîðíî ôîòî è</a>
    <a href="http://webgay.gaypornz.ru/gde-mozhno-skachaty-porno-pro-geev.html" target="_blank">ãäå ìîæíî ñêà÷àòü ïîðíî ïðî ãååâ</a>
    <a href="http://webgay.gaypornz.ru/porno-foto-gruppovoe-gei.html" target="_blank">ïîðíî ôîòî ãðóïïîâîå ãåè</a>
    <a href="http://webgay.gaypornz.ru/porno-foto-video-gey-negry-araby-latinosy.html" target="_blank">ïîðíî ôîòî âèäåî ãåé íåãðû àðàáû ëàòèíîñû</a>
    <a href="http://webgay.gaypornz.ru/gei-sperma-minet-anal.html" target="_blank">ãåè ñïåðìà ìèíåò àíàë</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-video-roliki-skachaty.html" target="_blank">ãåé ïîðíî âèäåî ðîëèêè ñêà÷àòü</a>
    <a href="http://webgay.gaypornz.ru/besplatnye-video-roliki-porno-gei-fisting-fetish.html" target="_blank">áåñïëàòíûå âèäåî ðîëèêè ïîðíî ãåè ôèñòèíã ôåòèø</a>
    <a href="http://webgay.gaypornz.ru/gei-trakhayutsya-porno-foto.html" target="_blank">ãåè òðàõàþòñÿ ïîðíî ôîòî</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-goryachie-sayty.html" target="_blank">ãåé ïîðíî ãîðÿ÷èå ñàéòû</a>
    <a href="http://webgay.gaypornz.ru/gey-soldy-pisayut-porno-foto.html" target="_blank">ãåé ñîëäû ïèñàþò ïîðíî ôîòî</a>
    <a href="http://webgay.gaypornz.ru/samoe-zhestko-porno-dlya-geev.html" target="_blank">ñàìîå æåñòêî ïîðíî äëÿ ãååâ</a>
    <a href="http://webgay.gaypornz.ru/gey-porno-foto-seks-pedo.html" target="_blank">ãåé ïîðíî ôîòî ñåêñ ïåäî</a>
    <a href="http://webgay.gaypornz.ru/besplatno-porevo-maloletki-deti-gey-pedikiporevo-seks.html" target="_blank">áåñïëàòíî ïîðåâî ìàëîëåòêè äåòè ãåé ïåäèêèïîðåâî ñåêñ</a>
    <a href="http://webgay.gaypornz.ru/besplatno-posmotrety-porno-geev.html" target="_blank">áåñïëàòíî ïîñìîòðåòü ïîðíî ãååâ</a>
    è åù¸ îäèí<b> ñàéòèê ãååâ</b>
    <a href="http://traxgay.gaypornz.ru/porno-podrostkov-geev.html" target="_blank">ïîðíî ïîäðîñòêîâ ãååâ</a>
    <a href="http://traxgay.gaypornz.ru/besplatno-porevo-maloletki-deti-gey-pediki-porevo-seks.html" target="_blank">áåñïëàòíî ïîðåâî ìàëîëåòêè äåòè ãåé ïåäèêè ïîðåâî ñåêñ</a>
    <a href="http://traxgay.gaypornz.ru/gey-sayt-pornografiya.html" target="_blank">ãåé ñàéò ïîðíîãðàôèÿ</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-smotrety-filym.html" target="_blank">ãåé ïîðíî ñìîòðåòü ôèëüì</a>
    <a href="http://traxgay.gaypornz.ru/gey-seks-videoroliki.html" target="_blank">ãåé ñåêñ âèäåîðîëèêè</a>
    <a href="http://traxgay.gaypornz.ru/gey-yunnye-porno.html" target="_blank">ãåé þííûå ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/muzhskoe-porno-gey-sayt-foto.html" target="_blank">ìóæñêîå ïîðíî ãåé ñàéò ôîòî</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-parni-konchayut-morem-spermy-na-litso.html" target="_blank">ãåé ïîðíî ïàðíè êîí÷àþò ìîðåì ñïåðìû íà ëèöî</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-podrostki-malychiki.html" target="_blank">ãåé ïîðíî ïîäðîñòêè ìàëü÷èêè</a>
    <a href="http://traxgay.gaypornz.ru/porno-gei-golubye.html" target="_blank">ïîðíî ãåè ãîëóáûå</a>
    <a href="http://traxgay.gaypornz.ru/snimusy-v-gey-porno.html" target="_blank">ñíèìóñü â ãåé-ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/blyu-sistema-gei-porno-video-roliki.html" target="_blank">áëþ ñèñòåìà ãåè ïîðíî âèäåî ðîëèêè</a>
    <a href="http://traxgay.gaypornz.ru/gei-foto-deti-porno.html" target="_blank">ãåè ôîòî äåòè ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/video-kanal-gey-porno-besplatno.html" target="_blank">âèäåî êàíàë ãåé ïîðíî áåñïëàòíî</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-foto-intsest.html" target="_blank">ãåé ïîðíî ôîòî èíöåñò</a>
    <a href="http://traxgay.gaypornz.ru/skachay-besplatnoe-gey-porno.html" target="_blank">ñêà÷àü áåñïëàòíîå ãåé ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/seks-parney-maloletok-geev.html" target="_blank">ñåêñ ïàðíåé ìàëîëåòîê ãååâ</a>
    <a href="http://traxgay.gaypornz.ru/pro-porno-geev.html" target="_blank">ïðî ïîðíî ãååâ</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-fisting.html" target="_blank">ãåé ïîðíî ôèñòèíã</a>
    <a href="http://traxgay.gaypornz.ru/emo-gey-porno.html" target="_blank">ýìî ãåé ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/lesbi-bi-gey-seks.html" target="_blank">ëåñáè áè ãåé ñåêñ</a>
    <a href="http://traxgay.gaypornz.ru/besplatnoe-porno-gey-video.html" target="_blank">áåñïëàòíîå ïîðíî ãåé âèäåî</a>
    <a href="http://traxgay.gaypornz.ru/gey-seks-zhesty.html" target="_blank">ãåé ñåêñ æåñòü</a>
    <a href="http://traxgay.gaypornz.ru/zhestkaya-video-gey-pornukha.html" target="_blank">æåñòêàÿ âèäåî ãåé ïîðíóõà</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-video-smotrety-besplat.html" target="_blank">ãåé ïîðíî âèäåî ñìîòðåòü áåñïëàò</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-s-bolyshimi-khuyami.html" target="_blank">ãåé ïîðíî ñ áîëüøèìè õóÿìè</a>
    <a href="http://traxgay.gaypornz.ru/skachaty-besplatno-porno-video-geev.html" target="_blank">ñêà÷àòü áåñïëàòíî ïîðíî âèäåî ãååâ</a>
    <a href="http://traxgay.gaypornz.ru/gey-porno-stoyak-video.html" target="_blank">ãåé ïîðíî ñòîÿê âèäåî</a>
    <a href="http://traxgay.gaypornz.ru/porno-foto-muzhchiny-v-chulkakh-gei-v-zhenskom-belye.html" target="_blank">ïîðíî ôîòî ìóæ÷èíû â ÷óëêàõ ãåè â æåíñêîì áåëüå</a>
    <a href="http://traxgay.gaypornz.ru/chto-takoe-poltergeyst-i-kak-s-nim-borotysya.html" target="_blank">÷òî òàêîå ïîëòåðãåéñò è êàê ñ íèì áîðîòüñÿ</a>
    <a href="http://traxgay.gaypornz.ru/golye-seks-gei.html" target="_blank">ãîëûå ñåêñ ãåè</a>
    <a href="http://traxgay.gaypornz.ru/popki-gei-maloletki-porno.html" target="_blank">ïîïêè ãåè ìàëîëåòêè ïîðíî</a>
    <a href="http://traxgay.gaypornz.ru/prosmotr-besplatnykh-rolikov-gey-erotiki.html" target="_blank">ïðîñìîòð áåñïëàòíûõ ðîëèêîâ ãåé ýðîòèêè</a>
    <a href="http://traxgay.gaypornz.ru/besplatnoe-gey-video-porno.html" target="_blank">áåñïëàòíîå ãåé âèäåî ïîðíî</a>
  8. Frederica Bernkastel

    Frederica Bernkastel GBAtemp Psycho!

    GBAtemp Patron
    Frederica Bernkastel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 31, 2008
    United Kingdom
  9. cmccmc

    cmccmc Banned

    Oct 30, 2008
    United States
    This is a great guide. It gives great information.

  10. xalphax

    xalphax Internet killed the Ponystar.

    Nov 18, 2006
    i would love the orchestra versions as mp3s in phoenix wright ace attorney!