ROM Hack would like to hack my nds game and change the music

loldart

New Member
OP
Newbie
Joined
Mar 18, 2008
Messages
4
Trophies
0
XP
30
Country
Canada
ok I never done anything like this. I would like to know if I can change it and not mess up my game
lecture.gif
. The game Yu-gi-oh 2008(US). I would like to change it with some mp3s I have that are like 1 min. So can anyone tell me anything on how to do it also I will need a step by step help guide(not that good with ds homebrew). I don't care if it all the same song or I get the wrong song changed over and over again just like to change one song if not two. Thanks in advance
bow.gif
 

DanTheManMS

aka Ricochet Otter
Member
Joined
Jun 2, 2007
Messages
4,453
Trophies
1
Age
34
Location
Georgia
XP
751
Country
United States
I'm not entirely sure if that's at all possible. The DS doesn't have built-in functions for playing back mp3 files, and the DS game certainly wouldn't have any code to work with them. Perhaps if the game used some type of recorded audio format, you could try to convert your music to that format, but from my understanding a good portion of the games use tracker-based music, which you cannot easily convert recorded audio to.

Long story short, I don't think what you want to do is possible.
 

Heran Bago

Where do puyo come from?
Member
Joined
Nov 6, 2005
Messages
3,100
Trophies
0
Age
35
Location
Foggy California
Website
heranbago.com
XP
1,187
Country
United States
Hahaha. Technically it could be possible. Have fun reverse engineering yu gi oh on an ASM level. A step by step guide:

1) Backup your game as a ROM file.

2) Disassemble

3) Crack sound format

4) convert mp3s to a more ds-friendly format

5) code a new audio player into yu gi oh

6) build the new rom


If it can happen for genesis roms it's not at all impossible on the DS. Godspeed new guy.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
At this point I would accuse Heran Bago of overthinking it.

1) Back up rom. http://www009.upp.so-net.ne.jp/rudolph/nds/NDS_Backup/

2) Disassemble: http://ezflash.sosuke.com/viewtopic.php?t=457 (this is more pull apart the file system for step 3). There are many other methods but a simple batch file works for me.

3) Sound format: Assuming it is SDAT format (and disregarding region dupes I can still count the ones that are not on one hand) then it has well understood for quite some time. http://kiwi.ds.googlepages.com/sdat.html

4) convert mp3s to a more ds-friendly format. The hardest part and most likely where you will come unstuck.
There are multiple formats used by the DS but in reality they amount to three things
Wave files: whole songs and audio clips

Instrument files: normally notes rather than clips.

Midi type files: play short clips or instrument files.

Wave files are usually a form of PCM or ADPCM audio (well described in the link above)
SSEQ: midi and can be made
http://kiwi.ds.googlepages.com/midi2sseq.exe

The rest you will have to make by hand. I am not sure how well the rom will take to you changing "midi" to wave files either (I imagine it would be dropped from the rom if not needed which means you would have to go through the steps from Heran Bago).

Rebuilding the sound file: the hardest part. There are early tools but for a project like this it will be build your own or sit there with a hex editor for some time.
Early stage rebuilder:
http://tahaxan.arcnor.com/index.php?option...&topic=68.0

Putting the DS file back together was covered in the link at 2)
 

loldart

New Member
OP
Newbie
Joined
Mar 18, 2008
Messages
4
Trophies
0
XP
30
Country
Canada
Thanks
bow.gif
that was very helpful also will post later this week if I do it right
grog.gif
and not get all of the song backward
wacko.gif
later
smile.gif
 

moo422

Well-Known Member
Newcomer
Joined
Mar 18, 2008
Messages
63
Trophies
0
Website
Visit site
XP
30
Country
Canada
loldart said:
Thanks
bow.gif
that was very helpful also will post later this week if I do it right
grog.gif
and not get all of the song backward
wacko.gif
later
smile.gif

please update us (me) on what you find - the music in in YGO2K8 is painful to listen to.
 

moo422

Well-Known Member
Newcomer
Joined
Mar 18, 2008
Messages
63
Trophies
0
Website
Visit site
XP
30
Country
Canada
FAST6191 said:
At this point I would accuse Heran Bago of overthinking it.

1) Back up rom. http://www009.upp.so-net.ne.jp/rudolph/nds/NDS_Backup/

2) Disassemble: http://ezflash.sosuke.com/viewtopic.php?t=457 (this is more pull apart the file system for step 3). There are many other methods but a simple batch file works for me.

3) Sound format: Assuming it is SDAT format (and disregarding region dupes I can still count them on one hand) then it has well understood for quite some time.

4) convert mp3s to a more ds-friendly format. The hardest part and most likely where you will come unstuck.
There are multiple formats used by the DS but in reality they amount to three things
Wave files: whole songs and audio clips

Instrument files: normally notes rather than clips.

Midi type files: play short clips or instrument files.

Wave files are usually a form of PCM or ADPCM audio (well described in the link above)
SSEQ: midi and can be made
http://kiwi.ds.googlepages.com/midi2sseq.exe

The rest you will have to make by hand. I am not sure how well the rom will take to you changing "midi" to wave files either (I imagine it would be dropped from the rom if not needed which means you would have to go through the steps from Heran Bago).

Rebuilding the sound file: the hardest part. There are early tools but for a project like this it will be build your own or sit there with a hex editor for some time.
Early stage rebuilder:
http://tahaxan.arcnor.com/index.php?option...&topic=68.0

Putting the DS file back together was covered in the link at 2)

Great primer. Thanks!
 

Goroke

New Member
Newbie
Joined
Apr 25, 2008
Messages
4
Trophies
0
XP
70
Country
United States
This is perfect!! I was gonna change the sound track from "Subarashi Kono Sekai: It's a Wonderful World" to "The World Ends with You"...Since the OST in the EUR/US version totally ruins the game...

Thank you!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol