Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@SirYodaJedi
Created September 10, 2021 00:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirYodaJedi/c63d3c1843db9190764a2a0b272b1c08 to your computer and use it in GitHub Desktop.
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
#!/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.
ren *.ogg *.
ren *.smp *.ogg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment