blob: 52b664028524bd1e8081cb2e3accfebe7be6c86c (
plain)
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
|
#!/bin/sh
# Installation
chmod +x ut2004-lnx-demo3334.run
./ut2004-lnx-demo3334.run --noexec --target .
tar -xvf UT2004-ptsconfig-2.tar.gz
tar xvfj ut2004demo.tar.bz2
case $OS_ARCH in
"x86_64" )
tar xvfj linux-amd64.tar.bz2
;;
* )
tar xvfj linux-x86.tar.bz2
;;
esac
mv -f System/* System/
echo "#!/bin/sh
cd System/
./ut2004-bin \$@ > \$LOG_FILE 2>&1
cat \$LOG_FILE" > ut2004-demo
chmod +x ut2004-demo
echo "causeevent flyby
ship" > flybyexec.txt
# mkdir -p ~/.ut2004demo/System
# cp -f UT2004.ini ~/.ut2004demo/System
|