Skip to content

Instantly share code, notes, and snippets.

@SirYodaJedi
SirYodaJedi / _GMD2MID.BAT
Created November 15, 2022 18:06
Convert Dark Forces GMD to regular MIDI files
:: This script runs the DOS program GMIDI, which can be found here:
:: https://df-21.net/downloads/utilities/gmidi05b/gmidi05b.zip
:: Put this script and all the GMDs in the GMIDI directory
:: If using DOSBox, put MOVE.EXE from FreeDOS in the GMIDI directory, which can be found here:
:: https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3/base/move.zip
:: Run this script from the GMIDI directory
@ECHO OFF
mkdir TXTBAK
@SirYodaJedi
SirYodaJedi / StripSmp.sh
Created September 10, 2021 00:26
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