/usr/games/drascula is in drascula 1.0+ds2-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | #!/bin/sh
set -e
domain=drascula
if [ $(which gettext) ]; then
gettext="gettext --domain=$domain -s --"
else
gettext=echo
fi
usage()
{
$gettext "Usage: drascula [OPTION]"
$gettext "Start Drascula: The Vampire Strikes Back"
echo
$gettext "--help display this help and exit"
$gettext "--version display version information and exit"
$gettext "--en play the English version of Drascula"
$gettext "--de play the German version of Drascula"
$gettext "--fr play the French version of Drascula"
$gettext "--it play the Italian version of Drascula"
$gettext "--es play the Spanish version of Drascula"
}
version()
{
$gettext "Drascula: The Vampire Strikes Back 1.0"
$gettext "Copyright (C) Alcachofa Soft S.L"
$gettext "ScummVM engine Copyright (C) The ScummVM Team"
}
if [ "$#" -gt "1" ]; then
usage
exit 1
elif [ "$#" -lt "1" ]; then
GAME_LANG=$(
echo $LANGUAGE $LANG en | tr ': ' '\n' | cut -c1-2 | while read lang;
do
if [ "$lang" = "en" \
-o \( "$lang" = "de" -a -f /usr/share/scummvm/drascula/de/drascula.dat \) \
-o \( "$lang" = "fr" -a -f /usr/share/scummvm/drascula/fr/drascula.dat \) \
-o \( "$lang" = "it" -a -f /usr/share/scummvm/drascula/it/drascula.dat \) \
-o \( "$lang" = "es" -a -f /usr/share/scummvm/drascula/es/drascula.dat \) ]
then
echo $lang
break
fi
done
)
if [ "$GAME_LANG" = "en" ]; then
/usr/games/scummvm -m 128 -p /usr/share/scummvm/drascula/en drascula
else
/usr/games/scummvm -q $GAME_LANG -n -m 128 -p /usr/share/scummvm/drascula/$GAME_LANG drascula
fi
else
case "$1" in
--help)
usage
;;
--version)
version
;;
--en)
/usr/games/scummvm -m 128 -p /usr/share/scummvm/drascula/en drascula
;;
--de)
if [ -f /usr/share/scummvm/drascula/de/drascula.dat ]
then
/usr/games/scummvm -q de -n -m 128 -p /usr/share/scummvm/drascula/de drascula
else
$gettext "Please install the drascula-german package."
fi
;;
--fr)
if [ -f /usr/share/scummvm/drascula/fr/drascula.dat ]
then
/usr/games/scummvm -q fr -n -m 128 -p /usr/share/scummvm/drascula/fr drascula
else
$gettext "Please install the drascula-french package."
fi
;;
--it)
if [ -f /usr/share/scummvm/drascula/it/drascula.dat ]
then
/usr/games/scummvm -q it -n -m 128 -p /usr/share/scummvm/drascula/it drascula
else
$gettext "Please install the drascula-italian package."
fi
;;
--es)
if [ -f /usr/share/scummvm/drascula/es/drascula.dat ]
then
/usr/games/scummvm -q es -n -m 128 -p /usr/share/scummvm/drascula/es drascula
else
$gettext "Please install the drascula-spanish package."
fi
;;
*)
usage
exit 1
;;
esac
fi
exit 0
|