Add skip check for the re-release, set PLAY_RERELEASE to 0 inside fteqw_wrapper to always play with the original Quake data. FTEQW for the new data is excellent so I'll enable it for now.

This commit is contained in:
Marco Cawthorne 2021-10-21 16:25:58 +02:00
parent eec9086532
commit 0173f294f5
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -1,5 +1,7 @@
#!/bin/sh
PLAY_RERELEASE=1
launch_fte()
{
fteqw $*
@ -25,8 +27,12 @@ if [ "$COMMANDTYPE" == "wait-before-run" ]; then
GAMEARGS=${PARMARR[@]:2:$ARGLEN-1}
if [ "$GAMEBINARY" == "Quake_x64_steam.exe" ]; then
if [ $PLAY_RERELEASE == 1 ]; then
launch_fte -basedir "$GAMEDIR" $GAMEARGS
else
NEWPATH=$(dirname "$GAMEDIR")
launch_fte -basedir "$NEWPATH" -quake $GAMEARGS
fi
elif [ "$GAMEBINARY" == "Winquake.exe" ]; then
launch_fte -basedir "$GAMEDIR" $GAMEARGS
elif [ "$GAMEBINARY" == "qwcl.exe" ]; then