sorry, hilft mir beides nicht wirklich weiter.
Kenne mich auch noch nicht so gut aus mit der Konsole
das Spiel ist direkt in meinem Ordner installiert (/home/meinname/unrealt)
eine ut datei ist in meinem ordner und noch eine im meinname/unrealt ordner
das hier bekomme ich wenn ich ./ut eingebe
|
Quellcode
|
1
|
./ut: 29: Syntax error: Bad substitution
|
|
Quellcode
|
1
|
PATH=$PATH:/home/dein_name/dein_ordner
|
habe einmal /home/mein_name
und auch /home/mein_name/unrealt eingefügt, hat beides nix gebracht
vielleicht noch eine idee?
hier mal der inhalt der ut datei
|
Quellcode
|
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
|
#!/bin/sh
###############################################################################
#
## LIFLG Startup Script
#
###############################################################################
#
# The game binary
GAME_BINARY="ut-bin"
# Subdirectory
SUBDIR="System"
# Additional commandline options for mods etc.
CMD_ARGS=""
# don't use US keyboard layout
#NOUSLAYOUT="true"
###############################################################################
## DO NOT EDIT BELOW THIS LINE
###############################################################################
readlink() {
local path=$1 ll
if [ -L "$path" ]; then
ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
echo "${ll/* -> }"
else
return 1
fi
}
LANG=POSIX
export LANG
script=$0
count=0
while [ -L "$script" ]
do
script=$(readlink "$script")
count=`expr $count + 1`
if [ $count -gt 100 ]
then
echo "Too many symbolic links"
exit 1
fi
done
GAME_DIR=`dirname $script`
if [ ! -d ${HOME}/.loki/ut/System ]
then
mkdir -p ${HOME}/.loki/ut/System
fi
# Remove passwords from UnrealTournament.ini
if [ -r ${HOME}/.loki/ut/System/UnrealTournament.ini ]
then
sed 's/\(SavedPasswords\[[0-9]*\]=\).*/\1/g' ${HOME}/.loki/ut/System/UnrealTournament.ini > ${HOME}/.loki/ut/System/UnrealTournament.tmp
sed 's/\(PasswordHistory\[[0-9]*\]=\).*/\1/g' ${HOME}/.loki/ut/System/UnrealTournament.tmp > ${HOME}/.loki/ut/System/UnrealTournament.ini
fi
trap "setxkbmap" EXIT
# games run better with US keyboard layout
test $NOUSLAYOUT && setxkbmap -symbols 'us(pc101)'
cd $GAME_DIR
cd $SUBDIR
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$PWD
export LD_LIBRARY_PATH
# start the game
./$GAME_BINARY "$CMD_ARGS" "$@"
EXITCODE="$?"
# reset kb layout
setxkbmap
exit $EXITCODE
|