View previous topic :: View next topic |
Author |
Message |
Frosty555 Trick Member
Joined: 14 Jun 2003
|
0. Posted: Wed Feb 13, 2008 12:19 am Post subject: The SM2ITG Converter! Anyone interested? |
|
|
Hi all,
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.
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 . This happens when the song exceeds about 3 minutes in length. It REALLY beats lowering the quality all the way the heck down.
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) Replaces ".MP3" with ".OGG" in the SM file
5) 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.
So... is anyone interested in this? I'll post a link:
http://www.kleincs.com/files/sm2itg.zip
This is the first version. I expect there may be bugs. But I've tested it thoroughly on my own system and everything seems to be working fine. _________________
|
|
Back to top |
|
|
shurf Trick Member
Joined: 18 Feb 2006 Location: NJ |
1. Posted: Wed Feb 13, 2008 6:06 am Post subject: |
|
|
Good work with this! This'll come in very handy. I'll try it out soon. |
|
Back to top |
|
|
Frosty555 Trick Member
Joined: 14 Jun 2003
|
2. Posted: Wed Feb 13, 2008 1:14 pm Post subject: |
|
|
I am keeping proper revision notes on RGCANADA.COM.
But version 1.1 is out with some bug fixes and new features!
I'm not gonna copy myself on every forum so go here to see the revisions:
http://rgcanada.com/forum/viewtopic.php?f=78&t=7185&p=200542
You can redownload the file from the same place, the same link.
Frosty555 wrote: | First off, the bug involving paths with spaces in them is fixed.
Because you asked for it JD you can now use it on simfiles that have OGG files already there. You can even specify to not touch the ogg file, e.g. don't decode/normalize/reencode it, it'll just apply the timing patch. BUT to do that you need to use the gui. It will always decode-normalize-reencode-forceittobe5mb if you run it from explorer. I think that makes more sense anyhow
There's also options to skip normalizing and skip the ogg length patch if you so desire. Those features are available from the GUI as well. |
_________________
|
|
Back to top |
|
|
NIQ9 Trick Member
Joined: 21 Jun 2006 Location: Michigan |
3. Posted: Wed Feb 13, 2008 7:20 pm Post subject: |
|
|
sounds nifty, but I think I'll keep converting the old fashioned way (so I can customize better, I don't want every file just under 5 megs)
I wouldn't really use it much anyway (local machine has no slots)
I might DL it later just to try it _________________
|
|
Back to top |
|
|
bobddr Trick Member
Joined: 04 Sep 2005
|
4. Posted: Thu Feb 14, 2008 8:46 am Post subject: |
|
|
I don't play R21 files, but I would LOVE to see you expand your program to convert to ITGPS2 standards (OGG, no rolls, low res pictures, etc). I've seen the idea of an all in one converter kicked out on Boxorroxors and would love to see that happen.
Cool looking program either way. |
|
Back to top |
|
|
B1uEM4oM4o Trick Member
Joined: 23 Jan 2008
|
5. Posted: Thu Feb 14, 2008 11:55 pm Post subject: |
|
|
Great idea. I'll d/load and try it when we got to itg (two weeks from now). I'm sure a lot of people will find is useful. |
|
Back to top |
|
|
Frosty555 Trick Member
Joined: 14 Jun 2003
|
6. Posted: Sat Feb 16, 2008 7:39 pm Post subject: |
|
|
Revision 1.2 is here!
New features:
- Removes all references of graphics from the SM file
- Changes the offset of the SM file based on a number in C:\SM2ITG\offsetsmfile.txt. By default it is 0.044. This helps the issue where converting from MP3 to OGG ended up with an offsync simfile. You can change this number however you like to match your personal experience.
- Added new explorer menu item to open the GUI
- Both of those options can be turned off via the GUI if you want, or via a command line parameter. _________________
|
|
Back to top |
|
|
linkmaster_6 Trick Member
Joined: 21 Apr 2006
|
7. Posted: Tue Feb 19, 2008 6:26 am Post subject: |
|
|
This is pretty nice im trying it on a song that i patched alrday but dident work
i will tell yea how it turns out |
|
Back to top |
|
|
myst_trainer Trick Member
Joined: 18 May 2006 Location: In the middle of nowhere, but we have SuperNOVA arcade. |
8. Posted: Tue Feb 19, 2008 12:19 pm Post subject: Extremely wonderful program you have created. |
|
|
Thank you very much for creating this program. This is a definite for any ITG2 arcade player to have. (^^)v _________________
|
|
Back to top |
|
|
Valex Trick Member
Joined: 13 Jul 2006 Location: Lindenhurst, NY |
9. Posted: Wed Feb 20, 2008 11:44 am Post subject: |
|
|
bobddr wrote: | I don't play R21 files, but I would LOVE to see you expand your program to convert to ITGPS2 standards (OGG, no rolls, low res pictures, etc). I've seen the idea of an all in one converter kicked out on Boxorroxors and would love to see that happen.
Cool looking program either way. |
I want this
Very much |
|
Back to top |
|
|
Frosty555 Trick Member
Joined: 14 Jun 2003
|
10. Posted: Wed Feb 20, 2008 6:07 pm Post subject: |
|
|
Valex wrote: | bobddr wrote: | I don't play R21 files, but I would LOVE to see you expand your program to convert to ITGPS2 standards (OGG, no rolls, low res pictures, etc). I've seen the idea of an all in one converter kicked out on Boxorroxors and would love to see that happen.
Cool looking program either way. |
I want this
Very much |
It certainly isn't unfathomable. I haven't dabbled much in ITG for the PS2 though, only heard rumours and stories . So I would need someone to give me a really detailed description of exactly how the simfile and ogg file need to be formatted. A good list of all the things that need to be tweaked. If someone can get me all that, I could attempt to work it in _________________
|
|
Back to top |
|
|
Frosty555 Trick Member
Joined: 14 Jun 2003
|
11. Posted: Sat Feb 23, 2008 8:28 am Post subject: |
|
|
Revision 1.3 is here!!
There are MAJOR bug fixes in this revision:
- The converted stepmania file was being truncated, and so 10-100 steps were getting chopped off the last stepchart in the simfile
- Fixed the problem where some ogg files failed to normalize properly due to a pcmwav_read() error
- A couple other minor bug fixes and changes, some cosmetic fixes to the script files
You can redownload it from the link at the top of the thread. _________________
|
|
Back to top |
|
|
Valex Trick Member
Joined: 13 Jul 2006 Location: Lindenhurst, NY |
12. Posted: Sat Feb 23, 2008 6:37 pm Post subject: |
|
|
Frosty555 wrote: | Valex wrote: | bobddr wrote: | I don't play R21 files, but I would LOVE to see you expand your program to convert to ITGPS2 standards (OGG, no rolls, low res pictures, etc). I've seen the idea of an all in one converter kicked out on Boxorroxors and would love to see that happen.
Cool looking program either way. |
I want this
Very much |
It certainly isn't unfathomable. I haven't dabbled much in ITG for the PS2 though, only heard rumours and stories . So I would need someone to give me a really detailed description of exactly how the simfile and ogg file need to be formatted. A good list of all the things that need to be tweaked. If someone can get me all that, I could attempt to work it in |
99% sure this is it (if it's wrong, feel free to correct me)
-256x80 banners
-320x240 backgrounds
-OGG music, 48khz, 128kps
-All banners and backgrounds in png format
-No BG movies
-No DWIs or .old files |
|
Back to top |
|
|
ICNH Trick Member
Joined: 06 Sep 2004 Location: Mahwah, NJ |
13. Posted: Sat Feb 23, 2008 8:14 pm Post subject: |
|
|
And no rolls. It's based off 3.9. _________________
|
|
Back to top |
|
|
|