Strictly just the extension

This commit is contained in:
travis134 2022-08-23 10:58:16 -07:00
parent cfd74294e8
commit ca48bcd42b
No known key found for this signature in database
GPG key ID: FB8B9EEA5CEF2984
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +vid_fps 1"
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
EXT=${1#*.}
EXT=${1##*.}
# If its not a simple wad (extension .doom) read the file and parse the data
if [ ${EXT} == "doom" ]; then

View file

@ -25,7 +25,7 @@ params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
params+=" -width 1152 -height 1920 +vid_fps 1 +cl_capfps 0 +vid_renderer 0 +vid_glswfb 0"
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
EXT=${1#*.}
EXT=${1##*.}
# If its not a simple wad (extension .doom) read the file and parse the data
if [ ${EXT} == "doom" ]; then

View file

@ -24,7 +24,7 @@ mkdir -p ${SAVE_DIR}
params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +cl_nomeleeblur 1 +vid_fps 1"
EXT=${1#*.}
EXT=${1##*.}
if [ ${EXT} == "build" ]; then
dos2unix "${1}"