Download the latest version here
* NOTE: YOU MUST RUN AS ADMINISTRATOR IN VISTA FOR IT TO WORK!!





Hi all,
Our making-simfiles-r21-ready worries are over! I wrote a tool that does ALL of the conversion necessary to make a stepmania simfile R21-ready. It does quite a lot of stuff all automatically. The newest version of SM2ITG is now a complete, packaged rewrite of the software. It supports all the features of the old version plus a LOT of really neat new ones. You can still download the old version if you look at the tiny text, but this version is way better
Features of SM2ITG v2
SM2ITG can do all of the following automatically to your simfiles to make them ready for the arcade:
1) Convert music to OGG format, with the correct bitrate / sample rate that the machine expects
2) Amplify the music to 100% volume (or any volume level of your choice)
3) Amplify the quiet parts of the song extra, making the whole simfile at the same volume
4) Compress the OGG the appropriate amount to make it just under 5 megs, so it will work on your key
5) If necessary, make the ogg MONO instead of STEREO. This cuts the size in half and makes really super long songs sound a LOT better
6) Applies the OGG Length Patch to the simfile
7) Converts all images to PNG format, and renames them and resizes them to the right format
8) Identifies the banner/background/cdtitle and properly links it in the SM file - taking care of case-sensitivity which matters on the ITG cabinets
9) Automatic banner generator - to create banners for simfiles that are missing graphics. Completely customizable with background and font/color
10) Automatically convert from DWI to SM format
11) Copies the transliterated song name/artist/subtitle and uses that - since arcade machines can't handle romanized characters (japanese characters)
12) Strip out the BGChanges or CDTitles from songs
13) Alters the offset of the song to compensate for song conversion - stops your simfiles from being offsync at the arcade!
14) Adds blank "lights-cabinet" steps to the simfile, to prevent the cabinet lights from flashing and giving everyone seizures on expert steps
It also has the ability to analyze simfiles and generate reports showing graphically exactly the difficulty and speed of the simfile. You can see the BPM changes, STOPs, note speed, ratio of quarter/eighth/sixteenth/thirtysecond notes, and lots more useful information.
Finally, it also comes with presets that pick the appropriate options depending on what you want to do (make you simfile R21 ready, make it Arcade Hacking ready, or just convert banners for Stepmania!)
You can convert multiple simfiles at a time, or convert entire song folders. There is also drag and drop support for Explorer. Just drag song folders into the app and it will convert them.
You can also save simfiles directly to your USB card for playing at the arcade.
HOW TO INSTALL
Download the latest version here
1) Run the installer, and install the program anywhere you like
2) Doubleclick the icon on your desktop to launch the program
3) Drag simfiles into the window, and select your options / destination. The rest is pretty intuitive.
-- REVISION HISTORY --
v2.0a
Released Aug 5 2008
- Changed default normalization parameters. Slight audio clipping was occuring.
v2.0
Released Aug 2 2008
-- KNOWN BUGS --
*) When converting a DWI to SM, a box pops up saying "1 file converted!" and conversion stops until I click OK!
REASON: DWITOSM.EXE, by CuriousTiger, pops this up every time it converts anything, by design.
RESOLUTION: SM2ITG will push through the messagebox after ten seconds of waiting. So sit tight and it WILL continue to convert. Or, just click OK to make it go faster.
*) The audio is a bit distorted or clipped - it's too loud or doesn't sound right
REASON: Certain songs don't sound good with the "dynamic range compression" filter turned on.
RESOLUTION: Disable the "boost volume of quiet parts" option, and reduce the percentage in the "Amplify music to XXX % volume" option.
*) Background movies and BGAnimation.ini files inside my simfile don't get copied over!
REASON: SM2ITG doesn't consider these files to be important parts of the simfile
RESOLUTION: BGChanges and BGAnimations that do not use In The Groove's normal fading / background moviesie features are not supported. You will need to copy those files over yourself.
*) I'm using Vista and I get an error "FAILED! Trouble converting music!"
REASON: Vista sucks.
REAL REASON: Vista sucks and doesn't let the program launch other processes, like OGGENC.EXE that converts the music.
RESOLUTION: Run the program as an administrator, and disable UAC in Vista.
-------------------------
This is what the tool does all automatically:
1) Converts the MP3 to an OGG file
2) Compresses the OGG the appropriate amount to make it just under 5 megs. Long songs get compressed more. Short songs get better quality!
3) If necessary, it makes the OGG file MONO instead of STEREO. This cuts half the size off the OGG file with a minimal hit to the quality. At the arcade you don't notice that it's the same stuff coming out of both speakers
4) Normalizes the OGG's volume to 100%, intelligently avoiding anomolous "spikes" in the song. <-- so you don't go to the arcade and find your song is too quiet!
3) Applies the OGG Length Patch to the OGG file
4) Converts DWI files to SM files
5) Replaces ".MP3" with ".OGG" in the SM file
6) Removes any mention of banner or background graphics from the SM (this speeds up loading on ITG)
7) Offsets the song by 0.044 to fix sync issues with OGG vs MP3, OR by any customizable amount you like just by editing C:\SM2ITG\offsetsmfile.txt
8) Copies only the necessary files (the .SM and the .OGG) to a new "ITGREADY" folder. So your original simfile is left intact and untouched
It can be executed right from the explorer right-click menu, simply by right clicking on a folder and picking "Make Simfile ITG Ready".
Or you can use the little gui I made.
Or you can run it raw from the command line.
The only caveat is you must install it in C:\SM2ITG. Nowhere else will work because the various BATCH files require that all the tools are in that folder.
Here's the link to download it:
http://www.kleincs.com/files/sm2itg.zip
-- KNOWN BUGS --
*) Folders with unicode characters in the folder or file name fail
REASON: Batch scripts do not recognize unicode strings in their parameters, so calling a batch file with a unicode folder fails
RESOLUTION: You will need to rename your folders and file to not have unicode characters. It's good practice for R21-ready simfiles anyway
*) Simfiles with extremely long file names fail
REASON: Batch scripts have a limit of 255 characters for their parameters. Your path + file name of the OGG or SM file can't exceed this
RESOLUTION: This is a problem with batch scripts... you will need to keep your simfile file names down in size.
*) Some ogg file simfiles do not decode properly. You get an error saying "read_pcmwav() failed, only 256 bytes read instead of 65535".
REASON: The older version of the converter used piping and redirection, which is flaky in DOS.
RESOLUTION: Redownload SM2ITG 1.2 or greater and the problem will go away. I changed it to not use redirection or piping
*) When converting a DWI file, a message box pops up saying the conversion was successful and I have to click OK before anything else happens.
REASON: DWITOSM.EXE pops this up when it converts.
RESOLUTION: You can't get around this. You will have to click OK. You should use StepMania to convert DWI files to SM anyway.
-- REVISION 1.5 --
- Automatically converts DWI files to SM files using CuriousTiger's DWITOSM.EXE tool
-- REVISION 1.4 --
- Queue system implemented (only 5 translate at a time)
- OGG files and MP3 files are offset differently (offsetsmfileogg.txt and offsetsmfile.txt)
- Controllable end-of-program behavior (endofprogrambehavior.txt)
-- REVISION 1.3 --
- Fixed bug where steps were cut off the end of the SM file (file getting truncated)
- Fixed bug when certain OGG files returned errors while normalizing
-- REVISION 1.2 --
- Added support for removing graphics references from the SM file
- Added support for changing the offset of the SM based on number in C:\SM2ITG\offsetsmfile.txt
- Added feature to explorer right-click menu to open the GUI instead of just converting
-- REVISION 1.1 --
- Fixed bug involving paths that have spaces in them
- Added support to decode OGG files as well as MP3 files
- Added support to skip the ogg length patch, skip normalizing, and skip touching any ogg file that already exists. Use the little GUI to get at these features.











