Created
September 10, 2021 00:26
-
-
Save SirYodaJedi/c63d3c1843db9190764a2a0b272b1c08 to your computer and use it in GitHub Desktop.
Strips the `.smp` header from Ghostbusters Remastered audio files, resulting in plain Ogg files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in $(ls *.smp) | |
do | |
tail -c +161 $i > "$i.ogg" | |
done | |
mkdir vorbis | |
mv *.ogg vorbis | |
#fixing the double extensions is more hassle than it's worth; just run the attached batch file from the "vorbis" directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ren *.ogg *. | |
ren *.smp *.ogg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment