Forums FAQForums FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 

The SM2ITG Converter! Anyone interested?
 
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> In the Groove
View previous topic :: View next topic  
Author Message
Frosty555
Trick Member
Trick Member


Joined: 14 Jun 2003
0. PostPosted: Wed Feb 13, 2008 12:19 am    Post subject: The SM2ITG Converter! Anyone interested? Reply with quote

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 E13.gif. 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
View users profile Send private message
shurf
Trick Member
Trick Member


Joined: 18 Feb 2006
Location: NJ
1. PostPosted: Wed Feb 13, 2008 6:06 am    Post subject: Reply with quote

Good work with this! This'll come in very handy. I'll try it out soon. biggrin.gif
Back to top
View users profile Send private message AOL Instant Messenger Xbox Live Gamertag
Frosty555
Trick Member
Trick Member


Joined: 14 Jun 2003
2. PostPosted: Wed Feb 13, 2008 1:14 pm    Post subject: Reply with quote

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
View users profile Send private message
NIQ9
Trick Member
Trick Member


Joined: 21 Jun 2006
Location: Michigan
3. PostPosted: Wed Feb 13, 2008 7:20 pm    Post subject: Reply with quote

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
View users profile Send private message
bobddr
Trick Member
Trick Member


Joined: 04 Sep 2005
4. PostPosted: Thu Feb 14, 2008 8:46 am    Post subject: Reply with quote

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
View users profile Send private message
B1uEM4oM4o
Trick Member
Trick Member


Joined: 23 Jan 2008
5. PostPosted: Thu Feb 14, 2008 11:55 pm    Post subject: Reply with quote

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
View users profile Send private message Send email MSN Messenger
Frosty555
Trick Member
Trick Member


Joined: 14 Jun 2003
6. PostPosted: Sat Feb 16, 2008 7:39 pm    Post subject: Reply with quote

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
View users profile Send private message
linkmaster_6
Trick Member
Trick Member


Joined: 21 Apr 2006
7. PostPosted: Tue Feb 19, 2008 6:26 am    Post subject: Reply with quote

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
View users profile Send private message
myst_trainer
Trick Member
Trick Member


Joined: 18 May 2006
Location: In the middle of nowhere, but we have SuperNOVA arcade.
8. PostPosted: Tue Feb 19, 2008 12:19 pm    Post subject: Extremely wonderful program you have created. Reply with quote

Thank you very much for creating this program. This is a definite for any ITG2 arcade player to have. (^^)v
_________________
Myst

"What!? You must still think I am some old guy who loves toys and has nothing to wear but a lab coat."

http://www.ddrencore.com/myst.html
Back to top
View users profile Send private message Send email Visit posters website Yahoo Messenger
Valex
Trick Member
Trick Member


Joined: 13 Jul 2006
Location: Lindenhurst, NY
9. PostPosted: Wed Feb 20, 2008 11:44 am    Post subject: Reply with quote

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
View users profile Send private message AOL Instant Messenger Xbox Live Gamertag
Frosty555
Trick Member
Trick Member


Joined: 14 Jun 2003
10. PostPosted: Wed Feb 20, 2008 6:07 pm    Post subject: Reply with quote

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 E10.gif. 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 E10.gif
_________________
Back to top
View users profile Send private message
Frosty555
Trick Member
Trick Member


Joined: 14 Jun 2003
11. PostPosted: Sat Feb 23, 2008 8:28 am    Post subject: Reply with quote

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
View users profile Send private message
Valex
Trick Member
Trick Member


Joined: 13 Jul 2006
Location: Lindenhurst, NY
12. PostPosted: Sat Feb 23, 2008 6:37 pm    Post subject: Reply with quote

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 E10.gif. 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 E10.gif


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
View users profile Send private message AOL Instant Messenger Xbox Live Gamertag
ICNH
Trick Member
Trick Member


Joined: 06 Sep 2004
Location: Mahwah, NJ
13. PostPosted: Sat Feb 23, 2008 8:14 pm    Post subject: Reply with quote

And no rolls. It's based off 3.9.
_________________
Back to top
View users profile Send private message Send email AOL Instant Messenger
Display posts from previous:   
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> In the Groove All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group