ROM Hack Converting WAV to SWAV

SaitoKojima

Well-Known Member
OP
Member
Joined
Mar 17, 2009
Messages
261
Trophies
0
XP
246
Country
Canada
Hello.

A few friends and I are working on a dub for Megaman Star Force 2 and 3 (when it comes) to feature our own voices, instead of MMSF2's lack of voices and MMSF3's energy-lacking crap.


Actually getting it done won't be much of a problem, except for the fact that we don't know any sort of way to change our WAV format clips into SWAV, which is the DS standard for voice clips.


Does anyone know how to do this?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
No tools for this that I know of* (midi to sseq is another thing http://kiwi.ds.googlepages.com/ ) but:
http://kiwi.ds.googlepages.com/sdat.html#swav
http://nocash.emubase.de/gbatek.htm#dssound

possibly http://ccrma.stanford.edu/courses/422/projects/WaveFormat/
http://www-mmsp.ece.mcgill.ca/Documents/Au.../WAVE/WAVE.html

a copy of audacity and a hex editor should do the trick.


*the above is roughly what I do when playing around but I have not checked tahaxan forums or the Chinese rom hacking sites in some time and hacking tools tend not to spread as much as general homebrew.
 

SaitoKojima

Well-Known Member
OP
Member
Joined
Mar 17, 2009
Messages
261
Trophies
0
XP
246
Country
Canada
In all honesty, if I knew the right people I'd hand this project over to one of you guys and see what you could do.


But for now, thank you, I'll see what these pages can do to help.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom

SaitoKojima

Well-Known Member
OP
Member
Joined
Mar 17, 2009
Messages
261
Trophies
0
XP
246
Country
Canada
It's strange... Something that seems so simple like this is so hard to get done.


Yet there's people who can make Golden Sun on GBA have full-voice acting when the game originally was never meant to be able to do that.


It's just really weird to me when I think about it.
 

bunsy

Well-Known Member
Newcomer
Joined
Nov 23, 2005
Messages
88
Trophies
0
XP
94
Country
SWAV is an ADPCM variant that is proprietary to Nintendo. No public format description exists that i know.

You'll need the SDK.
 

SaitoKojima

Well-Known Member
OP
Member
Joined
Mar 17, 2009
Messages
261
Trophies
0
XP
246
Country
Canada
Thanks for that, but I'm trying to the the opposite.

I'm trying to take WAV format files and insert them into the game so that they replace the original version's voice acting with my own. Not extract the game's voice clips out for listening and stuff.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
Both theli and I were fully aware of this when we posted it up. I have not pulled apart swav2wav yet but ndssndext had a nice guide to building a WAV file which means you can strip the data and between what it reads, cuts and that specs listed you can go in reverse.

As for "simple like this is so hard to get done" it is not all that difficult just that most people who do it would do with a hex editor and the stuff linked up.
 

Daviex

Well-Known Member
Member
Joined
May 23, 2008
Messages
101
Trophies
0
XP
309
Country
Italy
Hi.

I work on a project, but i've problem sound. When i extract the audio (*.swav or *.wav) to reinsert it, i've to convert to *.swar, but when i go to reinsert in *.sdat it corrupt file o_o

Anyone can help me?

Thanks
smile.gif
 

pleonex

Well-Known Member
Member
Joined
Jan 16, 2009
Messages
204
Trophies
1
Location
Spain & Switzerland
Website
github.com
XP
523
Country
Switzerland
Daviex said:
Hi.

I work on a project, but i've problem sound. When i extract the audio (*.swav or *.wav) to reinsert it, i've to convert to *.swar, but when i go to reinsert in *.sdat it corrupt file o_o

Anyone can help me?

Thanks
smile.gif
Try using Tinke, it has the feature to convert WAV audio into SWAV, then create the new SWAR and save the SDAT. I didn't test this feature but it should work
smile.gif


EDIT: This is the last version of Tinke with this feature: http://dl.dropbox.com/u/3981393/Tinke/Tinke%20rev83.zip
 

Daviex

Well-Known Member
Member
Joined
May 23, 2008
Messages
101
Trophies
0
XP
309
Country
Italy
Can you explain how to do this?

ok, i've inserted wav with Import button, removed Active Loop, but don't change anything O_O

I found problem.

When i go to import, it don't overwrite the file, but it only write with old voice.

Name is the same, and when i go to Save SDAT it corrupt file.
 

pleonex

Well-Known Member
Member
Joined
Jan 16, 2009
Messages
204
Trophies
1
Location
Spain & Switzerland
Website
github.com
XP
523
Country
Switzerland
Daviex said:
Can you explain how to do this?

Well, the other version has a little bug, sorry, download again from here: http://dl.dropbox.com/u/3981393/Tinke/Tinke%20rev83-1.zip
1- Open the SDAT file to modify (you can open it from a game)
2- Select the file and click on the button "View"
3- Select the SWAR file and click on the button "Unpack"
4.- Select the SWAV to modify, click on the button "Import" and select the wav file to convert
5.- Click on the button Accept in the window (you can edit this values that are in the header of new SWAV file)
6.- Select the SWAR file again and click on the button "Pack"
7.- Click on the button "Save SDAT"
8.- If you have opened a game, you must click on the button "Save ROM".

EDIT: ok, I will look at the error you've said
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    +1
  • K3Nv2 @ K3Nv2:
    Watching dune 2 it's eh
  • Psionic Roshambo @ Psionic Roshambo:
    Dune one sucked
  • Psionic Roshambo @ Psionic Roshambo:
    The original with Patrick Stewart was Great
  • K3Nv2 @ K3Nv2:
    A sexual psycopath that love pain where have I heard that before
  • BigOnYa @ BigOnYa:
    In your high school diary?
  • K3Nv2 @ K3Nv2:
    No but your wife let's me read her diary the word psychopath comes up more than sexual
    +1
  • K3Nv2 @ K3Nv2:
    Lol stremio hogging all of my tvs on board ram
  • BigOnYa @ BigOnYa:
    Just download more Ram to it, or setup Raid666 on it.
    +1
  • SylverReZ @ SylverReZ:
    Morning
    +1
  • CooingMaxito @ CooingMaxito:
    Hello fellow stranger
  • K3Nv2 @ K3Nv2:
    What do you mean I've known you since today
  • CooingMaxito @ CooingMaxito:
    Damn that's bonkers mate, it's almost like we've never met!
  • CooingMaxito @ CooingMaxito:
    Probably just my imagination
    SylverReZ @ SylverReZ: :rofl2: