Go Back   Flash Flash Revolution > Gaming > Stepmania > Simulator Files
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 04-26-2011, 09:43 PM   #1
TheLaughingSpaz
FFR Player
FFR Veteran
 
TheLaughingSpaz's Avatar
 
Join Date: Apr 2006
Posts: 7
Default [release] ITG Ogg Patch

I posted this several months ago on a few other forums, when FFR was down.

tl;dr: Open-source program that does same thing as ogglengthpatch.exe but can reverse the process as well and can patch multiple files at once.

http://code.google.com/p/itgoggpatch/downloads/list

Everyone that plays ITG knows about OggLengthPatch.exe, the program used to make .ogg files appear to be 1:45 long. A lot of song packs are distributed with the songs already patched, which annoys me because I only play at home and I prefer seeing correct song lengths and groove radar values. Since the original OggLengthPatch is not open-source and no one seems to know who made it, I set about writing a program to unpatch songs to their true length. Once I had unpatching working, I figured I might as well make it able to go both ways.

ITG Ogg Patch improves on the original OggLengthPatch in the following ways:
  • Patch multiple songs at once or even entire directory trees. You can easily patch your entire Stepmania Songs/ folder with just 1 run of the program. With the original, you had to patch one song at a time.
  • In addition to patching .ogg files to 1:45, you can also unpatch patched songs back to their true length - useful for home players who play songs that are distributed already patched.
  • Available for both Windows and Linux (Mac support will be added if there is enough interest).
  • Source code is available under the Apache 2.0 license.

Windows users can patch .ogg files to 1:45 by simply dragging a file or directory onto ITGOggPatch.exe (or hold ctrl to select multiple files or directories). Or you can double-click ITGOggPatch.exe to patch the directory that it is in. To unpatch .ogg files that were patched to be 1:45, drag files or directories onto ITGOggUnpatch.bat.

You can also use it on the command-line.
Code:
Usage: ITGOggPatch.exe [OPTIONS] [Paths to the files or directories containing .ogg files]
Allowed options:
  --help                Show program usage information.
  --version             Show version number.
  --unpatch             Reverse the length patching process by setting the
                        length of .ogg files to their true length. Files that
                        do not have a reported length of 1:45 are skipped. The
                        unpatching process is significantly slower than the
                        patching process and depends on how long the song is.
  --patchall            Patches all .ogg files found. If patching, this means
                        even files shorter than 2:00 will be patched. If
                        unpatching, even files that do not have a reported
                        length of 1:45 will be processed.
  --not-interactive     Suppresses the requests for user input when starting
                        and finishing.
Linux users must use the command-line or copy the program to the directory they want to patch and double-click it.


By default, only songs longer than 2:00 are patched when patching to 1:45 and only songs that are 1:45 are unpatched when unpatching to the song's true length.

TheLaughingSpaz is offline   Reply With Quote
Old 04-26-2011, 10:33 PM   #2
ddrxero64
FFR Player
 
ddrxero64's Avatar
 
Join Date: Nov 2008
Location: MA, United States
Posts: 789
Default Re: [release] ITG Ogg Patch

Dossar and I found this program about 4 days ago while we were at Anime Boston (very coincidental actually). We were trying to get the ITG Machine to work and we tried this program. It works very well, and the only reason the ITG Machine was crap was because it was r1 and the hardware was, well crap.

This program was giving us some sort of trouble though. It wouldn't start up, even when it was in the proper folder (same as folder with song, same as folder the song and sm are placed in, etc.)

I would highly recommend a video tutorial with this program. It would benefit the exposure of it greatly.
ddrxero64 is offline   Reply With Quote
Old 04-26-2011, 10:36 PM   #3
TC_Halogen
Rhythm game specialist.
Retired StaffFFR Simfile AuthorFFR Music ProducerD8 Godly KeysmasherFFR Veteran
 
TC_Halogen's Avatar
 
Join Date: Feb 2008
Location: Bel Air, Maryland
Age: 32
Posts: 19,376
Send a message via AIM to TC_Halogen Send a message via Skype™ to TC_Halogen
Default Re: [release] ITG Ogg Patch

I've been looking for this because I had it once before. Thank you SO much for reposting it!
TC_Halogen is offline   Reply With Quote
Old 04-26-2011, 11:48 PM   #4
Oni-Paranoia
No fucks
FFR Veteran
 
Oni-Paranoia's Avatar
 
Join Date: Dec 2006
Location: Everywhere
Posts: 2,440
Default Re: [release] ITG Ogg Patch

Quote:
Originally Posted by ddrxero64 View Post
the ITG Machine was crap was because it was r1
lmao really now

On topic, this is useful. The un-patching process is more useful for me. Songs cut off in edit mode if you start them past 105 seconds on a patched song and modding songs becomes a bitch.
Oni-Paranoia is offline   Reply With Quote
Old 04-27-2011, 12:00 AM   #5
ddrxero64
FFR Player
 
ddrxero64's Avatar
 
Join Date: Nov 2008
Location: MA, United States
Posts: 789
Default Re: [release] ITG Ogg Patch

Quote:
Originally Posted by Oni-Paranoia View Post
lmao really now
I don't get it. So I'll just say this-

That's what I heard :cheesy smile:

<insert excuse for not knowing crap about ITG machines>

Edit: But I did get some help from someone who knows trying to get songs on there. Even ask Sigma, that ITG machine was so sad. It was like the 90 year old grandfather that tries but isn't useful for anything.
ddrxero64 is offline   Reply With Quote
Old 04-27-2011, 08:38 PM   #6
TheLaughingSpaz
FFR Player
FFR Veteran
 
TheLaughingSpaz's Avatar
 
Join Date: Apr 2006
Posts: 7
Default Re: [release] ITG Ogg Patch

Quote:
Originally Posted by ddrxero64 View Post
Dossar and I found this program about 4 days ago while we were at Anime Boston (very coincidental actually). We were trying to get the ITG Machine to work and we tried this program. It works very well, and the only reason the ITG Machine was crap was because it was r1 and the hardware was, well crap.

This program was giving us some sort of trouble though. It wouldn't start up, even when it was in the proper folder (same as folder with song, same as folder the song and sm are placed in, etc.)

I would highly recommend a video tutorial with this program. It would benefit the exposure of it greatly.
What operating system were you using it on? What was the error message?

I am somewhat confused by your statement that it "works very well" and that it "wouldn't start up".
TheLaughingSpaz is offline   Reply With Quote
Old 04-27-2011, 08:48 PM   #7
ddrxero64
FFR Player
 
ddrxero64's Avatar
 
Join Date: Nov 2008
Location: MA, United States
Posts: 789
Default Re: [release] ITG Ogg Patch

Quote:
Originally Posted by TheLaughingSpaz View Post
What operating system were you using it on? What was the error message?

I am somewhat confused by your statement that it "works very well" and that it "wouldn't start up".
Well the program ran fine, no obvious signs of error or error windows is what I meant. The program is legit, we just couldn't get it to start. Dossar tried doing some things through command prompt. It responds, but it won't actually start up the window.

It was Dossar's computer, I believe it was XP. I have 7, but I've yet to try it on mine.

Like I said, there has to be something simple I'm doing wrong. A video tutorial would benefit this program nicely, because it looks easy to explain. But yes, let me know if you could tell if there was something wrong.
ddrxero64 is offline   Reply With Quote
Old 04-28-2011, 11:59 AM   #8
TC_Halogen
Rhythm game specialist.
Retired StaffFFR Simfile AuthorFFR Music ProducerD8 Godly KeysmasherFFR Veteran
 
TC_Halogen's Avatar
 
Join Date: Feb 2008
Location: Bel Air, Maryland
Age: 32
Posts: 19,376
Send a message via AIM to TC_Halogen Send a message via Skype™ to TC_Halogen
Default Re: [release] ITG Ogg Patch

I got it working fairly easily.

Just make sure the .exe is in the same directory as where all your files are. Refer to my image:


Then, simply click the .exe and it will detect all of the folders.
TC_Halogen is offline   Reply With Quote
Old 04-28-2011, 03:55 PM   #9
ddrxero64
FFR Player
 
ddrxero64's Avatar
 
Join Date: Nov 2008
Location: MA, United States
Posts: 789
Default Re: [release] ITG Ogg Patch

Quote:
Originally Posted by TC_Halogen View Post
I got it working fairly easily.

Just make sure the .exe is in the same directory as where all your files are. Refer to my image:

<pic>

Then, simply click the .exe and it will detect all of the folders.
Yup, I did that. I actually think it was Dossar's computer. It acts weird on everything, just ask him lol. It was probably his old laptop, but thanks.
ddrxero64 is offline   Reply With Quote
Old 04-28-2011, 03:59 PM   #10
Phlegmatism
FFR Player
 
Phlegmatism's Avatar
 
Join Date: Apr 2011
Posts: 128
Default Re: [release] ITG Ogg Patch

Cool thanks. Gonna keep this thread favorited for the next time I happen to get into ITG. Batch is gonna save some time.
__________________
Phlegmatism is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:33 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution