diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 19f908ae..e4cd68a3 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7470,7 +7470,7 @@ function overrideReShadeVersion RESHADEVERSIONS="5.4.2!5.0.0!4.2.0!3.5.3" # List some hardcoded reshade versions to selct for the override #TODO replace with a auto poplating list based on the last few releses if ! [ "$RSVERSOVRD" -eq "0" ]; then - writelog "INFO" "ReShade version - Set to '$RSVERSOVRD'" + writelog "INFO" "Overriding ReShade version - Set to '$RSVERSOVRD'" RSVERS="$RSVERSOVRD" else writelog "SKIP" "RSVERSOVRD is set to '$RSVERSOVRD' continue with reshade version - '$RSVERS'" @@ -8010,13 +8010,13 @@ function installRSdll { if [ -n "$2" ] && [ "$2" -eq 1 ]; then writelog "SKIP" "${FUNCNAME[0]} - Skipping installation of $1 because 'NOD3D9' is enabled" else - if [ ! -f "$RESHADESRCDIR/$3" ]; then - writelog "SKIP" "${FUNCNAME[0]} - Sourcefile '$RESHADESRCDIR/$3' missing - skipping this file" + if [ ! -f "$RESHADESRCDIR/$RSVERS/$3" ]; then + writelog "SKIP" "${FUNCNAME[0]} - Sourcefile '$RESHADESRCDIR/$RSVERS/$3' missing - skipping this file" else - cp "$RESHADESRCDIR/$3" "$INSTDESTDIR/$1" >/dev/null 2>/dev/null + cp "$RESHADESRCDIR/$RSVERS/$3" "$INSTDESTDIR/$1" >/dev/null 2>/dev/null echo "$1" >> "$INSTDESTDIR/$RSTXT" sort "$INSTDESTDIR/$RSTXT" -u -o "$INSTDESTDIR/$RSTXT" - writelog "INFO" "${FUNCNAME[0]} - Copied '$RESHADESRCDIR/$3' to '$INSTDESTDIR/$1'" + writelog "INFO" "${FUNCNAME[0]} - Copied '$RESHADESRCDIR/$RSVERS/$3' to '$INSTDESTDIR/$1'" fi fi else @@ -8027,7 +8027,7 @@ function installRSdll { writelog "SKIP" "${FUNCNAME[0]} - Destfile '$INSTDESTDIR/$1' already exists in the same version '$RSVERS' - skipping this file" else writelog "INFO" "${FUNCNAME[0]} - Destfile '$INSTDESTDIR/$1' already exists, but has a different version - updating" - cp "$RESHADESRCDIR/$3" "$INSTDESTDIR/$1" >/dev/null 2>/dev/null + cp "$RESHADESRCDIR/$RSVERS/$3" "$INSTDESTDIR/$1" >/dev/null 2>/dev/null fi fi fi