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 planned for a future release).
- 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: Select all
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.

I hope you find this program helpful.
















