Compare commits
2 Commits
7574940900
...
10bf46f796
Author | SHA1 | Date |
---|---|---|
DeathByDenim | 10bf46f796 | |
DeathByDenim | 914c742de2 |
|
@ -37,6 +37,17 @@ fi
|
||||||
mv ${TMPDIR:-/tmp}/LibreQuake/lq1 /opt/fteqw
|
mv ${TMPDIR:-/tmp}/LibreQuake/lq1 /opt/fteqw
|
||||||
rm -rf ${TMPDIR:-/tmp}/LibreQuake
|
rm -rf ${TMPDIR:-/tmp}/LibreQuake
|
||||||
|
|
||||||
|
# Compile the maps
|
||||||
|
curl --location 'https://github.com/ericwa/ericw-tools/releases/download/2.0.0-alpha6/ericw-tools-2.0.0-alpha6-Linux.zip' > /tmp/ericw-tools.zip
|
||||||
|
unzip -o -d ${TMPDIR:-/tmp}/ericw-tools ${TMPDIR:-/tmp}/ericw-tools.zip
|
||||||
|
rm /tmp/ericw-tools.zip
|
||||||
|
|
||||||
|
cd /opt/fteqw/lq1/maps
|
||||||
|
./make.sh -m QBSP_PATH="/tmp/ericw-tools/qbsp" LIGHT_PATH="/tmp/ericw-tools/light" VIS_PATH="/tmp/ericw-tools//vis"
|
||||||
|
cd -
|
||||||
|
rm -rf /tmp/ericw-tools
|
||||||
|
|
||||||
|
# Compile progs.dat
|
||||||
curl --location 'https://www.fteqcc.org/dl/fteqcc_linux64.zip' > /opt/fteqw/ftecc_linux64.zip
|
curl --location 'https://www.fteqcc.org/dl/fteqcc_linux64.zip' > /opt/fteqw/ftecc_linux64.zip
|
||||||
unzip -o -d /opt/fteqw /opt/fteqw/ftecc_linux64.zip fteqcc64
|
unzip -o -d /opt/fteqw /opt/fteqw/ftecc_linux64.zip fteqcc64
|
||||||
rm /opt/fteqw/ftecc_linux64.zip
|
rm /opt/fteqw/ftecc_linux64.zip
|
||||||
|
|
|
@ -68,7 +68,7 @@ After=network.target
|
||||||
Conflicts=wasted.service
|
Conflicts=wasted.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=${stk_dir}/bin/supertuxkart --server-config=/etc/supertuxkart/supertuxkart.xml --lan-server=onFOSS
|
ExecStart=${stk_dir}/run_game.sh --server-config=/etc/supertuxkart/supertuxkart.xml --lan-server=onFOSS
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=${systemuser}
|
User=${systemuser}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue