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:
M.C. 2021-10-21 16:25:58 +02:00
parent eec9086532
commit 0173f294f5
No known key found for this signature in database
GPG Key ID: C196CD8BA993248A
1 changed files with 8 additions and 2 deletions

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
NEWPATH=$(dirname "$GAMEDIR")
launch_fte -basedir "$NEWPATH" -quake $GAMEARGS
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