In linux, see demos is a problem, because we have to rename demos to numbers or uppercase.
I made a script to see demos on Linux easily. Tested on Ubuntu 10.04 and Debian Lenny (Gnome, Xfce), you need to install zenity (in Ubuntu is installed by default).
You have to change some variables in the script, save it as demos.sh (or other name) and give it execute permissions:
URBANTERRROR = the full path where you have urban executable
FILEDEMO = you change drizzt for your user
#!/bin/bash
#Patch binary Urban Terror
URBANTERROR=/home/drizzt/Urbanterror/ioUrbanTerror.i386
#save path demos
FILEDEMO=`zenity --file-selection --title="Select demo" --filename=/home/drizzt/.q3a/q3ut4/demos/`
case $? in
0)
echo "\"$FILEDEMO\" seleccionado.";;
1)
echo "No ha seleccionado ningún archivo.";;
-1)
echo "No ha seleccionado ningún archivo.";;
esac
NAMEDEMO=`basename $FILEDEMO`
$URBANTERROR +demo $NAMEDEMO
I'm not sure about where to write this post (maybe "Support Area - Linux" or is good here?)
Sorry for my bad english
This post has been edited by Drizzt: 23 December 2011 - 08:13 PM