LibreQuake maps now need to be compiled first

This commit is contained in:
DeathByDenim 2024-02-10 15:54:44 -05:00
parent 914c742de2
commit 10bf46f796
Signed by: DeathByDenim
GPG Key ID: 89185F675E0AB7D5
1 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,17 @@ fi
mv ${TMPDIR:-/tmp}/LibreQuake/lq1 /opt/fteqw
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
unzip -o -d /opt/fteqw /opt/fteqw/ftecc_linux64.zip fteqcc64
rm /opt/fteqw/ftecc_linux64.zip