shithub: rc

ref: 86451640fa84b12366ad3f077635354c1b232535
dir: /bin/dmushi/

View raw version
#!/bin/rc
rfork e
# this overrides music in final doom and any custom music in pwads, since the
# labels are hardcoded in the source.
m=/lib/m/mgam
switch($2){
case adrian
	f=$m/doom2.adrians.asleep.opus
case ampie
	f=$m/doom2.bye.bye.american.pie.opus
case betwee
	f=$m/doom2.between.levels.opus
case bunny
	f=$m/doom.bunny.opus
case countd count2
	f=$m/doom2.countdown.to.death.opus
case dead dead2
	f=$m/doom2.the.demons.dead.opus
case dm2ttl
	f=$m/doom2.title.mp3
case dm2int
	f=$m/doom2.intermission.mp3
case doom doom2
	f=$m/doom2.doom.opus
case ddtblu ddtbl2 ddtbl3
	f=$m/doom2.the.dave.d.taylor.blues.opus
case e1m1
	f=$m/doom.at.dooms.gate.opus
case e1m2
	f=$m/doom.the.imps.song.opus
case e1m3
	f=$m/doom.dark.halls.opus
case e1m4
	f=$m/doom.kitchen.ace.and.taking.names.opus
case e1m5
	f=$m/doom.suspense.opus
case e1m6 e3m6
	f=$m/doom.on.the.hunt.opus
case e1m7 e2m5 e3m5
	f=$m/doom.demons.on.the.prey.opus
case e1m8 e3m4
	f=$m/doom.sign.of.evil.opus
case e1m9 e3m9
	f=$m/doom.hiding.the.secrets.opus
case e2m1
	f=$m/doom.i.sawed.the.demons.opus
case e2m2
	f=$m/doom.the.demons.from.adrians.pen.opus
case e2m3 inter
	f=$m/doom.intermission.from.doom.opus
case e2m4
	f=$m/doom.theyre.going.to.get.you.opus
case e2m6
	f=$m/doom.sinister.opus
case e2m7 e3m7
	f=$m/doom.waltz.of.the.demons.opus
case e2m8
	f=$m/doom.nobody.told.me.about.id.opus
case e2m9 e3m1
	f=$m/doom.untitled.opus
case e3m2
	f=$m/doom.donna.to.the.rescue.opus
case e3m3
	f=$m/doom.deep.into.the.code.opus
case e3m8
	f=$m/doom.facing.the.spider.opus
case evil
	f=$m/doom2.evil.incarnate.mp3
case in_cit
	f=$m/doom2.into.sandys.city.opus
case intro
	f=$m/doom.title.mp3
case messag messg2
	f=$m/doom2.message.from.the.archvile.opus
case openin
	f=$m/doom2.opening.to.hell.opus
case read_m
	f=$m/doom2.end.opus
case romero romer2
	f=$m/doom2.waiting.for.romero.to.play.opus
case runnin runni2
	f=$m/doom2.running.from.evil.opus
case shawn shawn2 shawn3
	f=$m/doom2.shawns.got.the.shotgun.opus
case stalks stlks2 stlks3
	f=$m/doom2.the.healer.stalks.opus
case tense
	f=$m/doom2.getting.too.tense.opus
case the_da theda2 theda3
	f=$m/doom2.in.the.dark.opus
case ultima
	f=$m/doom2.the.ultimate.challenge.mp3
case victor
	f=$m/doom.victor.opus
}
play -o /fd/1 $f >[2]/dev/null