News: 11 March 2016 - Forum Rules

Author Topic: Help converting wav files to smtr  (Read 770 times)

Only a kirby fan

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Help converting wav files to smtr
« on: October 25, 2021, 04:35:07 pm »
I'm modding the ds version of puyo puyo 7(ds) and decided to(try) adding the full voice acting from the wii and psp versions(on ds, only the cutscenes from the end of an chapter, opening cutscene and ending cutscene have dub) but they need to be smtr files to work and i can't find anywhere a way to convert them to smtr.

October 25, 2021, 05:00:13 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
The real file is strm. I just realised that i accidentally wrote smrt.
« Last Edit: October 25, 2021, 05:00:13 pm by Only a kirby fan »


  • Hero Member
  • *****
  • Posts: 3358
    • View Profile
Re: Help converting wav files to smtr
« Reply #1 on: October 26, 2021, 06:05:11 am »
Do be sure your version of the game can play it; for DS stuff if the base game did not have STRM files then the compiler would drop support for them.

Anyway STRM are glorified raw wave files (maybe ADPCM depending upon the game) with a fancy header. If you can figure out how to make the game call the STRM files it might not otherwise have called then then should not be hard to make up a header. wav2strm was a thing at one point but I can't find even a broken download right now. among various other SDAT descriptions should be enough to figure out what is needed.
There might be other tools (most will be more interested in going the other way) but I have generally gone manual in such scenarios. tinke is probably the more promising of things there but modern VGMtrans might do something.

If it does not support STRM there are other means hackers have used to add things.
First up. The SWAV/SWAR can get up into the short monologue range (more than about 12 seconds is pushing it) and still also uses wave based audio.
1a) as it were. Some have added a whole bunch of short wave samples instead of instruments and then made a simple SSEQ that plays them all back.
Second. Seen more for some of the Mario stuff but could be adapted see the wavplayer stuff.