ROM Hack Pokemon Platinum Music Replace PLZ HELP!!

DBZHeroes777

Member
OP
Newcomer
Joined
Mar 23, 2009
Messages
8
Trophies
0
XP
48
Country
Hey,
I know this has probably been asked heaps of times but I read some of the things FAST6191 posted.
The one which helped me was the Yu-gi-oh one although I need to know:
How do you extract the sound files from an sdat file?
How do you convert/change mp3 files to the DS friendly types?
Which types do I need to change the mp3s to?
How do I repack it?
How to replace the files after changing them?
Please help me anyone.....
frown.gif

Thanks in advance
DBZHeroes777
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
First hacking sound files is not as easy as some of the text and other things, I highly suggest you become familiar with basic DS formats and similar before venturing too far into it.

How do you extract the sound files from an sdat file?
Many methods.
crystaltile2: thread in this section somewhere.
ndssndext: http://www.4shared.com/file/68276816/80922...sndext_v04.html
vgmtrans: http://www.4shared.com/file/76520093/5a299676/VGMTrans.html
Other methods but they are older and a bit more fiddly.

How do you convert/change mp3 files to the DS friendly types?

Assuming you are dealing with SDAT which most games use (some like Electroplankton use wave and other games use or other formats). Most of the time you do not, still the DS uses PCM format (sometimes also ima-ADPCM) files which form the instruments and several other files, get the PCM in the correct format and insert it into the appropriate header (I usually get and existing file and tweak it) http://kiwi.ds.googlepages.com/sdat.html for info on sdat.
Midi files (like sseq) can be converted. http://kiwi.ds.googlepages.com/
Owing to the somewhat imprecise methods used as well as the DS hardware I would not expect much.

Which types do I need to change the mp3s to?
MP3 is a representation of a wave file, midi and the DS counterpart SSEQ which represents the vast majority of DS sounds are instrumental/tracker formats depending on how you look at them.
I know of no good way to convert wave files to midi (the other way is OK) and have them sound nice, however I am far from an audio expert and lots of stuff has happened in the last few years so do have a look.

How do I repack it?
Repack SDAT, there is an early stage repacker but I do not like it. Head over to the tahaxan forums and look at the posts from kiwi.DS (the guy behind a great deal of the sdat work for the DS) if you want it.
I use a hex editor, cat or copy /b, crystaltile2 for info on sdat files, patience and http://kiwi.ds.googlepages.com/sdat.html when doing such things.

Repack DS: if your SDAT file is the same length then use ndsts or ndshv (nds header viewer) to replace them, if it is smaller I would pad it and also add it in.
Bigger unless you want to cut the SDAT file (which may well defeat the object of hacking it depending on what you did and how you did it) then it is repack with ndstool (frontends DSBuff and DSlazy if batch files are not for you) or a similar method (nitroexplorer or something).

How to replace the files after changing them?
Covered in repack DS above.


Other notes
Most people do not replace files with brand new files but take them from other versions (undub beyond the basic swap a file from one region to the other) or other games (a bit harder but not impossible by any means, remember to take instruments when dealing with SSEQ) or other parts of the file (see the tetris sound hacks, I made a guide on a megaman sound hacking thread a little while back and there have been several other hacks using those sorts of methods). Or they use such techniques to increase stability but effectively disabling the sound and freeing up resources.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
    Psionic Roshambo @ Psionic Roshambo: It's always worth a shot