• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

BRSTM Converter 3.0 - now supports MP3, VGM!

TheUltimateKoopa

Banned via Warnings
Joined
Jun 14, 2010
Messages
3,005
So, I've downloaded the latest version (3.3), but it doesn't support SCD. Is there any chance that could be added in the next version (which I presume will be 3.4?)
 

TheUltimateKoopa

Banned via Warnings
Joined
Jun 14, 2010
Messages
3,005
Square-Enix SCD?

As in Final Fantasy XIV? Bxaimc has already given me BRSTMs so that doesn't matter, but for other SCDs, you know.
 

TheUltimateKoopa

Banned via Warnings
Joined
Jun 14, 2010
Messages
3,005
OK, seriously can someone explain how the hell you use loop.txt? When I use the program, it just makes a non-looping BRSTM of the entire WAV.

This is what loop.txt contains:
0 192452 song001.wav
8159 269495 song002.wav
0 1045346 song003.wav
0 856731 song004.wav
0 1469985 song005.wav
306804 2454253 song006.wav
0 2874659 song007.wav
0 2116800 song008.wav
0 973243 song009.wav
0 2761057 song010.wav
246651 2972825 song011.wav
40087 1804087 song012.wav
36250 616209 song013.wav
257235 1580235 song014.wav
137460 1924348 song015.wav
170711 2219200 song016.wav
149058 2608736 song017.wav
0 2331391 song018.wav
26195 654929 song021.wav
0 315932 song024.wav
0 984577 song025.wav
129434 762180 song026.wav
0 352800 song027.wav
312360 973860 song028.wav
5998 1545485 song029.wav
192452 1924348 song035.wav
0 1693440 song037.wav
6747 241933 song038.wav
312360 973860 song040.wav
192452 1924348 song041.wav
0 165375 song042.wav
0 1469985 song050.wav
0 973243 song051.wav
0 2761057 song052.wav
137460 1993100 song053.wav


Am I doing it wrong somehow?
 

libertyernie

Smash Ace
Joined
Oct 5, 2009
Messages
929
Location
Eau Claire, WI
Is loop.txt in the right folder (same folder as the .exe file?)
It's also possible there's some sort of bug - I admit that I don't use this feature very often. Usually I use this program to make BRSTMs smaller (mono and/or reduced sample rate) or to convert other formats (usually Sega VGM.)

EDIT: Just tested this feature using an MP3 and a loop point of "0 88200" and it was indeed 2 seconds long. This was without having to change and of the options on the main options window.
 

The RPG Gamer

Smash Rookie
Joined
Jun 15, 2013
Messages
4
Location
Classified
Whenever I try to convert an mp3 file to brstm, the program crashes or a message pops up saying "The system cannot find the file specified". What am I doing wrong? :confused:
 

libertyernie

Smash Ace
Joined
Oct 5, 2009
Messages
929
Location
Eau Claire, WI
Do you have a screenshot? That might help.
I suppose you could also check to make sure everything is in the "tools" folder that should be. In the newest version there are four folders: "sox", "VGMPlay", "vgmstream", and "vorbis-tools".
 

The RPG Gamer

Smash Rookie
Joined
Jun 15, 2013
Messages
4
Location
Classified
jiojsdf.JPG

This ALWAYS pops up whenever I try to use the program. And I checked, and all the folders you mentioned are in the "tools" folder.
 

The RPG Gamer

Smash Rookie
Joined
Jun 15, 2013
Messages
4
Location
Classified
Do you have a screenshot? That might help.
I suppose you could also check to make sure everything is in the "tools" folder that should be. In the newest version there are four folders: "sox", "VGMPlay", "vgmstream", and "vorbis-tools".
Nevermind, I downloaded an older version and somehow it seems to work for me. Thanks for the help though.
 

The RPG Gamer

Smash Rookie
Joined
Jun 15, 2013
Messages
4
Location
Classified
does this actually work?, i'm pretty sceptical about it, does it actually convert?

Yeah, it works nicely. Why don't you try it out for yourself? I personally used an older version because that seemed to work for me. I keep running into problems with the newest version.
 

Triferen

Smash Rookie
Joined
Dec 6, 2013
Messages
8
NNID
Tryptocaine
3DS FC
4038-6598-3625
the one at the top of the first post
"BRSTM Converter"
 

Funkermonster

The Clown
Joined
May 19, 2013
Messages
1,460
Location
Mesa, Arizona
NNID
Funkermonster
3DS FC
3308-4834-0412
When I tried to convert one of my MP3 files, it does nothing and says that the program has stopped working, immediately exiting out of it. Why?
 

TGE

Smash Rookie
Joined
May 10, 2014
Messages
20
Location
Netherlands
Could you please fix it so that it automatically corrects the loop points to be 14336 for BRSTMs?
 

InfamousLuffy

Smash Apprentice
Joined
Jul 11, 2014
Messages
176
Location
Konoha
NNID
Proj3ctMam0
3DS FC
4570-8693-6006
This is so helpful thanks for this awesome converter. As Always stay salty.
 

VideoGameScrapBook

Smash Rookie
Joined
Apr 15, 2008
Messages
7
@ libertyernie libertyernie , thank you for this tool. I'm trying to use it to convert Smash Bros. 3DS files perfectly to BRSTM format with the loop information provided by the header. There are some glitches that would prevent people from doing that.

Could you please fix it so that it automatically corrects the loop points to be 14336 for BRSTMs?
I believe your latest version 3.4.1 available from your website addresses this. However, I noticed that some brstm outputs have an audio glitch when the source loop isn't divisible by 14336. For example, put the latest version of vgmstream (vgmstream test decoder r1039 Sep 15 2014) in the tools folder and try converting "snd_bgm_A29c_PPM_Medley_Part3_3DS.idsp" from Smash Bros 3DS to brstm using the default settings. If you play the idsp in Winamp, it loops seamlessly. If you play the brstm output however, it has a hiccup around the loop point.

Is this how you currently handle making sure the start loop is divisible by 14336?
Currently Brawlbox's brstm converter just adds silence to the beginning of the file if the start loop point isn't a multiple of 14336. This isn't that preferable, so in my standalone command line converter that I made by using Brawlbox's converter, I made it so that it simply copies the number of samples needed to align the loop points from the samples after the start loop point and pastes them after the samples at the end loop point. This way the loop points are aligned, and no silence is unnecessarily added to the beginning of the file.

To do this, simply add this code at line 124 in RSTMConverter.cs. Hopefully we can see this implemented in later versions of Brawlbox.

Code:
            for (int i = 2; i < bufferSamples; i++)
            {
                if (stream.SamplePosition == stream.LoopEndSample && looped)
                    stream.SamplePosition = stream.LoopStartSample;
If so, maybe there is a glitch in that code with unusual sample rates?

Also, I can't figure out how to get your version 3.4.1 working from the command-line. When I try to use "--help", I see a just the GUI title bar briefly popup without any output to command line. I'm using Windows 8.1. Could you give me an example of how to use your tool from command line?

Another improvement you could do: allow for dragging and dropping files from another folder onto the exe. Currently you have to copy the input files to the exe location to avoid the error "test.exe" is not present in the "tools\vgmstream" folder.
 

BBOY15

Smash Apprentice
Joined
Nov 18, 2014
Messages
149
Location
Maine
I downloaded the converter and extracted the files. But every time I try to open "sox" which seems to be the actual converter app, it just opens some white-text-on-black-background command prompt looking thing for about half a second, then immediately closes.
 
Last edited:

DeathangelQ

Smash Rookie
Joined
Mar 8, 2014
Messages
4
It is such a shame that the option to set loop points isnt available for the other formats. (For example, Ogg vorbis. This tool would be so nice to use to change custom music in games that use ogg vorbis...) :crying:
 

FuzzyQuills

Smash Journeyman
Joined
Feb 26, 2015
Messages
250
Could you please host it somewhere else? my school blocker's not letting me on... :(
 

RakensenFlame

Smash Rookie
Joined
Apr 5, 2015
Messages
7
Location
Illinois
NNID
Nodnarb_Rakensen
3DS FC
3883-6510-0580
I downloaded it and got a folder with a million files that I have no idea what to do with. I looked around and also didn't find any instructions. Help would be appreciated.
 

RakensenFlame

Smash Rookie
Joined
Apr 5, 2015
Messages
7
Location
Illinois
NNID
Nodnarb_Rakensen
3DS FC
3883-6510-0580
Disregard last post, found the problem. There was two downloads right next to each other and they looked like the same link, so without thinking I just clicked right in the middle of both, and I ended up with the wrong thing. All worked out.
 
Top Bottom