Quake 3 demo launcher (dm_68)

Moderators: digital, horus

Quake 3 demo launcher (dm_68)

Postby analyzer on 08 Jul 2008, 17:32

With this script, you just need to double clic on a dm_xx file (Quake III Arena demo file) to launch your favorite game and see the demo !

Just associate the dm_xx files with Quake3Demo and all is done for you !

Screenshot:
Image

You just need to install Xdialog, and this bash script:
Code: Select all
#!/bin/bash
# Quake3Demo by analyzer (requesthelp@free.fr).
###############################################

Xdialog --backtitle "Quake III Demo Launcher" \
        --title "MOD CHOOSER" \
        --radiolist "Which of the following mod should be used ?" 16 50 3 \
        "osp"  "Orange Smoothie Production (OSP)." ON \
        "cpma"    "Challenge Promode Arena (CPMA)." off \
        "arena" "Rocket Arena 3 (RA3)." off 2>/tmp/checklist.tmp.$$

retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$

case $retval in
  0)
        ln -s $1 $HOME/.q3a/$choice/demos/demotmp.dm_68
        quake3 +set fs_game $choice +demo demotmp.dm_68
        rm $HOME/.q3a/$choice/demos/demotmp.dm_68
esac
analyzer
Administrateur
Administrateur
 
Posts: 27
Joined: 22 Mar 2005, 19:37

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron