From 96e511d736ca4f18b70312980591014199afeb1a Mon Sep 17 00:00:00 2001 From: qwx Date: Thu, 12 Jul 2018 09:33:33 +0200 Subject: add games/dmid and games/opl3 --- rc/bin/dmus | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 rc/bin/dmus (limited to 'rc') diff --git a/rc/bin/dmus b/rc/bin/dmus new file mode 100755 index 000000000..51950d033 --- /dev/null +++ b/rc/bin/dmus @@ -0,0 +1,10 @@ +#!/bin/rc +if(test -f /mnt/wad/genmidi) + c=(games/dmid '|' games/opl3) +if not + c=(games/midi -c) +if(~ `{file -m $1} audio/mus) + c=(games/mus '<' $1 '|' $c) +if not + c=('<' $1 $c) +eval $c -- cgit v1.2.3