From e58fe7393bf31ffa823386e48f1e766f4f22b430 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sat, 27 Jan 2024 04:30:40 +0000 Subject: [PATCH] Remove Depressurizer Support --- lang/chinese.txt | 10 -- lang/dutch.txt | 10 -- lang/english.txt | 10 -- lang/englishUK.txt | 10 -- lang/french.txt | 10 -- lang/german.txt | 10 -- lang/italian.txt | 10 -- lang/polish.txt | 10 -- lang/russian.txt | 10 -- steamtinkerlaunch | 227 +-------------------------------------------- 10 files changed, 1 insertion(+), 316 deletions(-) diff --git a/lang/chinese.txt b/lang/chinese.txt index 18796d14..c76ba7e8 100644 --- a/lang/chinese.txt +++ b/lang/chinese.txt @@ -704,16 +704,6 @@ GUI_FIXSYMLINKS="修复符号链接" DESC_FIXSYMLINKS="修复指向与当前版本不同的 Proton 版本的符号链接" GUI_UNSYMLINK="取消符号链接" DESC_UNSYMLINK="用它们指向的原始文件替换当前WINEPREFIX中的'windows系统文件'符号链接" -GUI_DPRSRELURL="Depressurizer 网址" -DESC_DPRSRELURL="Depressurizer项目页面" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="Depressurizer 的 compatdata 目录" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="Depressurizer 使用的 Proton 版本" -GUI_DPRSPAUTOUP="Depressurizer 自动更新" -DESC_DPRSPAUTOUP="自动查找最新的 Depressurizer 版本" -GUI_DPRSUSEVDFSYMLINKS="对 Depressurizer 使用 VDF 符号链接" -DESC_DPRSUSEVDFSYMLINKS="对 Depressurizer 使用 VDF 符号链接,而不是复制到原始符号链接" GUI_DELPFX="删除 compatdata" DESC_DELPFX="游戏启动前删除 compatdata 目录,Steam 会自动更新重新创建" NOTY_DELPFX="删除 compatdata 'XXX'" diff --git a/lang/dutch.txt b/lang/dutch.txt index e9a81e36..804fc2e4 100644 --- a/lang/dutch.txt +++ b/lang/dutch.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Fix symlinks" DESC_FIXSYMLINKS="Fix symlinks pointing to a Proton version unlike the current one" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Replace 'windows system file' symlinks in the current WINEPREFIX with the original files they are pointing to" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="The project page of Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="The compatdata directory for Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="The Proton version used for Depressurizer" -GUI_DPRSPAUTOUP="Depressurizer auto-update" -DESC_DPRSPAUTOUP="Automatically look for latest Depressurizer version" -GUI_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer instead of copying to the original ones" GUI_DELPFX="Delete compatdata" DESC_DELPFX="Delete the compatdata dirextory before game launch, so Steam recreates it automatically updated" NOTY_DELPFX="Removing the compatdata 'XXX'" diff --git a/lang/english.txt b/lang/english.txt index 1fc6023f..2a01c041 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -704,16 +704,6 @@ GUI_FIXSYMLINKS="Fix symlinks" DESC_FIXSYMLINKS="Fix symlinks pointing to a Proton version unlike the current one" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Replace 'windows system file' symlinks in the current WINEPREFIX with the original files they are pointing to" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="The project page of Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="The compatdata directory for Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="The Proton version used for Depressurizer" -GUI_DPRSPAUTOUP="Depressurizer auto-update" -DESC_DPRSPAUTOUP="Automatically look for latest Depressurizer version" -GUI_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer instead of copying to the original ones" GUI_DELPFX="Delete compatdata" DESC_DELPFX="Delete the compatdata dirextory before game launch, so Steam recreates it automatically updated" NOTY_DELPFX="Removing the compatdata 'XXX'" diff --git a/lang/englishUK.txt b/lang/englishUK.txt index 96119ccf..71b508dd 100644 --- a/lang/englishUK.txt +++ b/lang/englishUK.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Fix symlinks" DESC_FIXSYMLINKS="Fix symlinks pointing to a Proton version unlike the current one" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Replace 'windows system file' symlinks in the current WINEPREFIX with the original files they are pointing to" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="The project page of Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="The compatdata directory for Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="The Proton version used for Depressurizer" -GUI_DPRSPAUTOUP="Depressurizer auto-update" -DESC_DPRSPAUTOUP="Automatically look for latest Depressurizer version" -GUI_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer instead of copying to the original ones" GUI_DELPFX="Delete compatdata" DESC_DELPFX="Delete the compatdata dirextory before game launch, so Steam recreates it automatically updated" NOTY_DELPFX="Removing the compatdata 'XXX'" diff --git a/lang/french.txt b/lang/french.txt index cb16b9db..dae87eea 100644 --- a/lang/french.txt +++ b/lang/french.txt @@ -699,16 +699,6 @@ GUI_FIXSYMLINKS="Corriger les liens symboliques" DESC_FIXSYMLINKS="Corriger les liens symboliques pointant vers une version de Proton différente de la version actuelle" GUI_UNSYMLINK="Supprimer le lien symbolique" DESC_UNSYMLINK="Remplacer les liens symboliques 'windows system file' dans le WINEPREFIX actuel par les fichiers originaux vers lesquels ils pointent" -GUI_DPRSRELURL="URL de Depressurizer" -DESC_DPRSRELURL="La page du projet Depressurizer" -GUI_DPRSCOMPDATA="Compatdata de Depressurizer" -DESC_DPRSCOMPDATA="Le répertoire compatdata de Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="La version de Proton utilisée pour Depressurizer" -GUI_DPRSPAUTOUP="Mise à jour automatique de Depressurizer" -DESC_DPRSPAUTOUP="Rechercher automatiquement la dernière version de Depressurizer" -GUI_DPRSUSEVDFSYMLINKS="Utiliser les liens symboliques VDF pour Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Use VDF symlinks for Depressurizer instead of copying to the original ones" GUI_DELPFX="Supprimer compatdata" DESC_DELPFX="Supprimer le répertoire compatdata avant le lancement du jeu, afin que Steam le recrée automatiquement" NOTY_DELPFX="Suppression du compatdata 'XXX'" diff --git a/lang/german.txt b/lang/german.txt index 51b4b06b..b23cd8e4 100644 --- a/lang/german.txt +++ b/lang/german.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Repariere symlinks" DESC_FIXSYMLINKS="Repariere symlinks die auf eine andere Proton Version als die gerade verwendete zeigen" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Ersetze 'Windows System Datei' Symlinks im aktuellen WINEPREFIX mit den original Dateien auf welche sie zeigen" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="Die Projektseite von Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="Das compatdata Verzeichnis von Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="Die Proton Version für Depressurizer" -GUI_DPRSPAUTOUP="Depressurizer auto-update" -DESC_DPRSPAUTOUP="Suche automatisch nach der neusten Depressurizer Version" -GUI_DPRSUSEVDFSYMLINKS="vdf Symlinks für Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Verwende vdf Symlinks für Depressurizer statt mit Kopien zu arbeiten" GUI_DELPFX="Lösche compatdata" DESC_DELPFX="Lösche das compatdata Verzeichnis vor dem Spielstart, damit Steam es automatisch wieder aktualisiert erstellen kann" NOTY_DELPFX="Lösche das compatdata Verzeichnis 'XXX'" diff --git a/lang/italian.txt b/lang/italian.txt index fec8eac3..3fa943d5 100644 --- a/lang/italian.txt +++ b/lang/italian.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Ripara symlinks" DESC_FIXSYMLINKS="Ripara i symlinks che puntano a una versione di proton diversa da quella attuale" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Sostituisce i symlinks di 'windows system file' nell'attuale WINEPREFIX con i files originali a cui puntano" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="The project page of Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="La cartella compatdata per Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="La versione di Proton usata per Depressurizer" -GUI_DPRSPAUTOUP="Aggiornamento automatico di Depressurizer" -DESC_DPRSPAUTOUP="Cerca automaticamente l'ultima versione di Depressurizer" -GUI_DPRSUSEVDFSYMLINKS="Use vdf symlinks for Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Usa vdf symlinks per Depressurizer invece di sovrascrivere gli originali" GUI_DELPFX="Cancella compatdata" DESC_DELPFX="Cancella la dir compatdata prima di avviare il gioco, così Steam la ricreerà aggiornata" NOTY_DELPFX="Sto rimuovendo compatdata 'XXX'" diff --git a/lang/polish.txt b/lang/polish.txt index a87d34d0..75f8fad9 100644 --- a/lang/polish.txt +++ b/lang/polish.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Napraw linki symboliczne" DESC_FIXSYMLINKS="Napraw linki symboliczne wskazując na wersję Protona inną niż obecna" GUI_UNSYMLINK="Usuń link symboliczny" DESC_UNSYMLINK="Zamień linki symboliczne 'plików systemowych Windowsa' w obecnym WINEPREFIX z oryginalnymi plikami do których prowadzą" -GUI_DPRSRELURL="URL Depressurizera" -DESC_DPRSRELURL="Strona projektu Depressurizera" -GUI_DPRSCOMPDATA="compatdata Depressurizera" -DESC_DPRSCOMPDATA="Katalog compatdata dla Depressurizera" -GUI_USEDPRSPROTON="Proton Depressurizera" -DESC_USEDPRSPROTON="Wersja Protona używana dla Depressurizera" -GUI_DPRSPAUTOUP="Automatyczna aktualizacja Depressurizera" -DESC_DPRSPAUTOUP="Automatycznie szukaj najnowszej wersji Depressurizera" -GUI_DPRSUSEVDFSYMLINKS="Użyj linków symbolicznych VDF Depressurizera" -DESC_DPRSUSEVDFSYMLINKS="Użyj linków symbolicznych VDF dla Depressurizera zamiast kopiować oryginalnych plików" GUI_DELPFX="Usuń compatdata" DESC_DELPFX="Usuń katalog compatdata przed uruchomieniem gry, więc Steam ponownie utworzy je automatyczmnie zaktualizowany" NOTY_DELPFX="Usuwanie compatdata 'XXX'" diff --git a/lang/russian.txt b/lang/russian.txt index a76ee999..8e643911 100644 --- a/lang/russian.txt +++ b/lang/russian.txt @@ -700,16 +700,6 @@ GUI_FIXSYMLINKS="Fix symlinks" DESC_FIXSYMLINKS="Fix symlinks pointing to a proton version unlike the current one" GUI_UNSYMLINK="Unsymlink" DESC_UNSYMLINK="Replace 'windows system file' symlinks in the current WINEPREFIX with the original files they are pointing to" -GUI_DPRSRELURL="Depressurizer URL" -DESC_DPRSRELURL="The project page of Depressurizer" -GUI_DPRSCOMPDATA="Depressurizer compatdata" -DESC_DPRSCOMPDATA="The compatdata directory for the Depressurizer" -GUI_USEDPRSPROTON="Depressurizer Proton" -DESC_USEDPRSPROTON="The Proton version used for Depressurizer" -GUI_DPRSPAUTOUP="Depressurizer auto-update" -DESC_DPRSPAUTOUP="Automatically look for latest Depressurizer version" -GUI_DPRSUSEVDFSYMLINKS="Use vdf symlinks for Depressurizer" -DESC_DPRSUSEVDFSYMLINKS="Use vdf symlinks for Depressurizer instead of copying to the original ones" GUI_DELPFX="Delete compatdata" DESC_DELPFX="Delete the compatdata dir before gamelaunch, so Steam recreates it automatically updated" NOTY_DELPFX="Removing the compatdata 'XXX'" diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 5a8d675e..d14f41b6 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240623-2" +PROGVERS="v14.0.20240322-1 (remove-depressurizer)" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -308,8 +308,6 @@ MYDOCS="My $DOCS" MYGAMES="My Games" PLACEHOLDERAID="31337" PLACEHOLDERGN="Placeholder" -DPRS="Depressurizer" -DPRSDLDIR="$STLDLDIR/${DPRS,}" DEPS="Dependencies" DEPSGE="${DEPS}Gui.exe" DEPSDLDIR="$STLDLDIR/${DEPS,}" @@ -556,8 +554,6 @@ SCVDF="shortcuts.vdf" SRSCV="7/remote/$SCV" LCV="localconfig.vdf" COCOV="config/config.vdf" -SCSHVDF="screenshots.vdf" -SCRSH="760/$SCSHVDF" LASTRUN="$LOGDIR/lastrun.txt" SAIT="steam_appid.txt" DXGI="dxgi.dll" @@ -3050,7 +3046,6 @@ function setDefaultCfgValues { if [ -z "$IGCSZIP" ] ; then IGCSZIP="$GHURL/FransBouma/InjectableGenericCameraSystem/releases/download/IGCSInjector_102/IGCSInjector_v102.zip"; fi if [ -z "$UUUURL" ] ; then UUUURL="https://framedsc.github.io/GeneralGuides/universal_ue4_consoleunlocker.htm#downloading-the-uuu"; fi if [ -z "$OVRFSRURL" ] ; then OVRFSRURL="$GHURL/fholger/$OVFS/releases"; fi - if [ -z "$DPRSRELURL" ] ; then DPRSRELURL="$GHURL/${DPRS}/${DPRS}/releases"; fi if [ -z "$DEPURL" ] ; then DEPURL="$GHURL/lucasg/${DEPS}/releases";fi if [ -z "$SPEKURL" ] ; then SPEKURL="https://sk-data.special-k.info/";fi if [ -z "$SPEKGHURL" ] ; then SPEKGHURL="$GHURL/${SPEK}O/${SPEK}/releases";fi @@ -3173,10 +3168,6 @@ function setDefaultCfgValues { if [ -z "$UPDATECONTY" ] ; then UPDATECONTY="1"; fi if [ -z "$LOGPLAYTIME" ] ; then LOGPLAYTIME="1"; fi if [ -z "$YAD" ] ; then YAD="$(command -v "yad")"; fi - if [ -z "$DPRSCOMPDATA" ] ; then DPRSCOMPDATA="$STLCFGDIR/${DPRS,}/$CODA"; fi - if [ -z "$USEDPRSPROTON" ] ; then USEDPRSPROTON="$NON"; fi - if [ -z "$DPRSUSEVDFSYMLINKS" ] ; then DPRSUSEVDFSYMLINKS="0"; fi - if [ -z "$DPRSPAUTOUP" ] ; then DPRSPAUTOUP="0"; fi if [ -z "$DEPSAUTOUP" ] ; then DEPSAUTOUP="0"; fi if [ -z "$MO2COMPDATA" ] ; then MO2COMPDATA="$STLMO2DIR/$CODA"; fi if [ -z "$HMMCOMPDATA" ] ; then HMMCOMPDATA="$STLHMMDIR/$CODA"; fi @@ -3445,8 +3436,6 @@ function saveCfg { echo "HMMPROJURL=\"$HMMPROJURL\"" echo "## SpecialK Project URL" echo "SPEKPROJURL=\"$SPEKPROJURL\"" - echo "## $DPRS DL URL" - echo "DPRSRELURL=\"$DPRSRELURL\"" echo "## $DEPS URL" echo "DEPURL=\"$DEPURL\"" echo "## $SPEK URL" @@ -3726,14 +3715,6 @@ function saveCfg { echo "UPDATECONTY=\"$UPDATECONTY\"" echo "## $DESC_LOGPLAYTIME" echo "LOGPLAYTIME=\"$LOGPLAYTIME\"" - echo "## $DESC_DPRSCOMPDATA" - echo "DPRSCOMPDATA=\"$DPRSCOMPDATA\"" - echo "## $DESC_USEDPRSPROTON" - echo "USEDPRSPROTON=\"$USEDPRSPROTON\"" - echo "## $DESC_DPRSUSEVDFSYMLINKS" - echo "DPRSUSEVDFSYMLINKS=\"$DPRSUSEVDFSYMLINKS\"" - echo "## $DESC_DPRSPAUTOUP" - echo "DPRSPAUTOUP=\"$DPRSPAUTOUP\"" echo "## $DESC_DEPSAUTOUP" echo "DEPSAUTOUP=\"$DEPSAUTOUP\"" echo "## $DESC_MO2COMPDATA" @@ -5875,10 +5856,6 @@ function AllSettingsEntriesDummyFunction { --field=" $GUI_RUN_X64DBG!$DESC_RUN_X64DBG ('RUN_X64DBG')":CHK "${RUN_X64DBG/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GAME` \ --field=" $GUI_X64DBG_ATTACHONSTARTUP!$DESC_X64DBG_ATTACHONSTARTUP ('X64DBG_ATTACHONSTARTUP')":CHK "${X64DBG_ATTACHONSTARTUP/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GAME` \ --field=" $GUI_RUN_GDB!$DESC_RUN_GDB ('RUN_GDB')":CHK "${RUN_GDB/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GAME` \ ---field=" $GUI_DPRSCOMPDATA!$DESC_DPRSCOMPDATA ('DPRSCOMPDATA')":DIR "${DPRSCOMPDATA/#-/ -}" `#CAT_Tools` `#SUB_Directories` `#MENU_GLOBAL` \ ---field=" $GUI_USEDPRSPROTON!$DESC_USEDPRSPROTON ('USEDPRSPROTON')":CB "$(cleanDropDown "${USEDPRSPROTON/#-/ -}" "$PROTYADLIST")" `#CAT_Tools` `#MENU_GLOBAL` \ ---field=" $GUI_DPRSUSEVDFSYMLINKS!$DESC_DPRSUSEVDFSYMLINKS ('DPRSUSEVDFSYMLINKS')":CHK "${DPRSUSEVDFSYMLINKS/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GLOBAL` \ ---field=" $GUI_DPRSPAUTOUP!$DESC_DPRSPAUTOUP ('DPRSPAUTOUP')":CHK "${DPRSPAUTOUP/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GLOBAL` \ --field=" $GUI_RUN_DEPS!$DESC_RUN_DEPS ('RUN_DEPS')":CHK "${RUN_DEPS/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GAME` \ --field=" $GUI_DEPSAUTOUP!$DESC_DEPSAUTOUP ('DEPSAUTOUP')":CHK "${DEPSAUTOUP/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GLOBAL` \ --field=" $GUI_USEPEV_PELDD!$DESC_USEPEV_PELDD ('USEPEV_PELDD')":CHK "${USEPEV_PELDD/#-/ -}" `#CAT_Tools` `#SUB_Checkbox` `#MENU_GAME` \ @@ -5910,7 +5887,6 @@ function AllSettingsEntriesDummyFunction { --field=" $GUI_MO2DLURL!$DESC_MO2DLURL ('MO2PROJURL')" "${MO2PROJURL/#-/ -}" `#CAT_Urls` `#MENU_URL` \ --field=" $GUI_HMMDLURL!$DESC_HMMDLURL ('HMMPROJURL')" "${HMMPROJURL/#-/ -}" `#CAT_Urls` `#MENU_URL` \ --field=" $GUI_SPEKPROJURL!$DESC_SPEKPROJURL ('SPEKPROJURL')" "${SPEKPROJURL/#-/ -}" `#CAT_Urls` `#MENU_URL` \ ---field=" $GUI_DPRSRELURL!$DESC_DPRSRELURL ('DPRSRELURL')" "${DPRSRELURL/#-/ -}" `#CAT_Urls` `#MENU_URL` \ --field=" $GUI_DEPURL!$DESC_DEPURL ('DEPURL')" "${DEPURL/#-/ -}" `#CAT_Urls` `#MENU_URL` \ --field="$(spanFont "$GUI_OPTSVR" "H")":LBL "SKIP" `#CAT_VR` `#HEAD_VR` `#MENU_GAME` `#MENU_GLOBAL` \ --field=" $GUI_SBSVRGEOELF!$DESC_SBSVRGEOELF ('SBSVRGEOELF')":CHK "${SBSVRGEOELF/#-/ -}" `#CAT_VR` `#SUB_Checkbox` `#SUB_ReShade` `#MENU_GAME` \ @@ -18035,31 +18011,6 @@ function mo2Winetricks { #### MO2 MOD ORGANIZER STOP #### -# dprs: -function dlLatestDprs { - writelog "INFO" "${FUNCNAME[0]} - Search for latest $DPRS version online" - LATDPRS="$("$WGET" -q "${DPRSRELURL}/latest" -O - 2> >(grep -v "SSL_INIT") | grep -m1 "${DPRS}-v*.*.exe" | grep -oE "${DPRS}-v[^\"]+")" - - if [ -n "$LATDPRS" ]; then - DSPATH="$DPRSDLDIR/$LATDPRS" - - if [ ! -f "$DSPATH" ]; then - DPRSVR1="${LATDPRS//$DPRS-}" - DPRSVRS="${DPRSVR1//.exe}" - - DLURL="$DPRSRELURL/download/$DPRSVRS/$LATDPRS" - writelog "INFO" "${FUNCNAME[0]} - Downloading $LATDPRS to $VORTEXDLDIR from '$DLURL'" - notiShow "$(strFix "$NOTY_DLCUSTOMPROTON" "$LATDPRS")" - dlCheck "$DLURL" "$DSPATH" "X" "Downloading '$LATDPRS'" - notiShow "$(strFix "$NOTY_DLCUSTOMPROTON2" "$LATDPRS")" - else - writelog "SKIP" "${FUNCNAME[0]} - Already have the latest version in '$DSPATH'" - fi - else - writelog "SKIP" "${FUNCNAME[0]} - No valid '$DPRS' version found ('$LATDPRS') - nothing to download - skipping" - fi -} - function dlLatestDepsProg { writelog "INFO" "${FUNCNAME[0]} - Search for latest $DEPS version online" DEPS64ZIP="${DEPS}_x64_Release.zip" @@ -18123,13 +18074,11 @@ function dlLatestDepsProg { function checkDepsLaunch { if [ "$RUN_DEPS" -eq 1 ] && [ "$ISGAME" -eq 2 ] && [ "$USEWINE" -eq 0 ]; then - if [ "$DEPSAUTOUP" -eq 1 ] || [ ! -f "$DEPSL64" ]; then StatusWindow "$(strFix "$NOTY_DLCUSTOMPROTON" "$DEPS")" "dlLatestDepsProg" "DownloadDepsStatus" fi writelog "INFO" "${FUNCNAME[0]} - Starting '$DEPS' for '$GE ($AID)'" - if [ "$(getArch "$GP")" == "32" ]; then writelog "INFO" "${FUNCNAME[0]} - Using '$DEPSL32' as '$GE' is 32bit" DEPSEXE="$DEPSL32" @@ -18152,167 +18101,6 @@ function checkDepsLaunch { fi } -function startDepressurizer { - if [ ! -d "$DPRSCOMPDATA" ]; then - writelog "INFO" "${FUNCNAME[0]} - Creating '$DPRS' $CODA and installing deps" - mkProjDir "$DPRSCOMPDATA" - reCreateCompatdata "ccd" "$DPRS" "s" - fi - - mkProjDir "$DPRSDLDIR" - if [ "$DPRSPAUTOUP" -eq 1 ]; then - dlLatestDprs - fi - - DPRSEXE="$(find "${DPRSDLDIR}" -name "${DPRS}-v*.exe" | sort -V | tail -n1)" - - if [ ! -f "$DPRSEXE" ] || { [ "$(getArch "$DPRSEXE")" -ne "32" ] && [ "$(getArch "$DPRSEXE")" -ne "64" ];}; then - dlLatestDprs - DPRSEXE="$(find "${DPRSDLDIR}" -name "${DPRS}-v*.exe" | sort -V | tail -n1)" - fi - - if [ ! -f "$DPRSEXE" ]; then - writelog "ERROR" "${FUNCNAME[0]} - Could not find or download a '$DPRS' exe" - else - - # copy or symlink required vdf files from steam to the DPRSCOMPDATA - - DPRSPFX="${DPRSCOMPDATA//\"/}/pfx" - VDFDSTDIR="$DPRSPFX/$DRC/$PFX86S" - - if [ -z "$SUSDA" ] || [ -z "$STUIDPATH" ]; then - setSteamPaths - fi - SC="$STUIDPATH/$SRSCV" - FSCV="$STUIDPATH/config/$SCVDF" - - AIDST="$VDFDSTDIR/$AAVDF" - PIDST="$VDFDSTDIR/$APVDF" - SRSDST="$VDFDSTDIR/$USDA/$STEAMUSERID/$SRSCV" - SRLDST="$VDFDSTDIR/$USDA/${FLCV//$SUSDA\/}" - SCDST="$VDFDSTDIR/$USDA/${FLCV//$SUSDA\/}" - SCSHDST="$VDFDSTDIR/$USDA/$STEAMUSERID/$SCRSH" - - AISRC="$FAIVDF" - PISRC="$PIVDF" - SRSSRC="$STUIDPATH/$SRSCV" - SRLSRC="$FLCV" - SCSRC="$STUIDPATH/config/$SCVDF" - SCSHSRC="$STUIDPATH/$SCRSH" - - { - echo "SC $SC" - echo "FLCV $FLCV" - echo "FSCV $FSCV" - echo "AIDST $AIDST" - echo "PIDST $PIDST" - echo "SRSDST $SRSDST" - echo "SRLDST $SRLDST" - echo "SCDST $SCDST" - echo "SCSHDST $SCSHDST" - echo "AISRC $AISRC" - echo "PISRC $PISRC" - echo "SRSSRC $SRSSRC" - echo "SRLSRC $SRLSRC" - echo "SCSRC $SCSRC" - echo "SCSHSRC $SCSHSRC" - } > "$STLSHM/${DPRS}-paths.txt" - - function cleanCpSrcTo { - if [ -f "$1" ]; then - mkProjDir "${2%/*}" - if ! cmp -s "$1" "$2" || [ -L "$2" ]; then - writelog "INFO" "${FUNCNAME[0]} - Copying '$1' to '$2'" - rm "$2" 2>/dev/null - cp "$1" "$2" - else - writelog "SKIP" "${FUNCNAME[0]} - '$2' is identical to '$1'" - fi - else - writelog "SKIP" "${FUNCNAME[0]} - Source file '$1' not found" - fi - } - - function cleanLnSrcTo { - if [ -f "$1" ]; then - mkProjDir "${2%/*}" - if [ "$(readlink -f "$2")" == "$(readlink -f "$1")" ]; then - writelog "SKIP" "${FUNCNAME[0]} - '$2' is already pointing to '$1'" - else - writelog "INFO" "${FUNCNAME[0]} - Symlinking '$1' to '$2'" - rm "$2" 2>/dev/null - ln -s "$1" "$2" - fi - else - writelog "SKIP" "${FUNCNAME[0]} - Source file '$1' not found" - fi - } - - if [ "$DPRSUSEVDFSYMLINKS" -eq 1 ]; then - writelog "INFO" "${FUNCNAME[0]} - Symlinking required vdf files from the linux steam install into '$DPRSCOMPDATA'" - cleanLnSrcTo "$AISRC" "$AIDST" - cleanLnSrcTo "$PISRC" "$PIDST" - cleanLnSrcTo "$SRSSRC" "$SRSDST" - cleanLnSrcTo "$SRLSRC" "$SRLDST" - cleanLnSrcTo "$SCSRC" "$SCDST" - cleanLnSrcTo "$SCSHSRC" "$SCSHDST" - elif [ "$DPRSUSEVDFSYMLINKS" -eq 0 ]; then - writelog "INFO" "${FUNCNAME[0]} - Copying required vdf files from the linux steam install to '$DPRSCOMPDATA'" - cleanCpSrcTo "$AISRC" "$AIDST" - cleanCpSrcTo "$PISRC" "$PIDST" - cleanCpSrcTo "$SRSSRC" "$SRSDST" - cleanCpSrcTo "$SRLSRC" "$SRLDST" - cleanCpSrcTo "$SCSRC" "$SCDST" - cleanCpSrcTo "$SCSHSRC" "$SCSHDST" - else - writelog "WARN" "${FUNCNAME[0]} - DPRSUSEVDFSYMLINKS is neither '1' nor '0' - this shouldn't happen!" - fi - - # start $DPRS via proton starting here - - writelog "INFO" "${FUNCNAME[0]} - Using Proton Version '$USEDPRSPROTON'" - - if test -z "$DPRSPROTON" || [ ! -f "$DPRSPROTON" ]; then - if [ -z "${ProtonCSV[0]}" ]; then - writelog "INFO" "${FUNCNAME[0]} - Don't have the Array of available Proton versions yet - creating" - getAvailableProtonVersions "up" X - fi - DPRSPROTON="$(getProtPathFromCSV "$USEDPRSPROTON")" - fi - - if [ ! -f "$DPRSPROTON" ]; then - DPRSPROTON="$(fixProtonVersionMismatch "USEDPRSPROTON" "$STLGAMECFG" X)" - fi - - if [ ! -f "$DPRSPROTON" ]; then - writelog "WARN" "${FUNCNAME[0]} - proton file '$DPRSPROTON' for proton version '$USEDPRSPROTON' not found - trying 'USEPROTON' instead" - DPRSPROTON="$(getProtPathFromCSV "$USEPROTON")" - fi - - CHECKWINED="$(dirname "$DPRSPROTON")/$DBW" - CHECKWINEF="$(dirname "$DPRSPROTON")/$FBW" - if [ -f "$CHECKWINED" ]; then - DPRSWINE="$CHECKWINED" - elif [ -f "$CHECKWINEF" ]; then - DPRSWINE="$CHECKWINEF" - fi - - if [ -f "$DPRSWINE" ];then - writelog "INFO" "${FUNCNAME[0]} - Starting '$DPRSEXE' using '$DPRSWINE'" - DPRSWINEDEBUG="-all" - DPRSSUDIR="$DPRSPFX/$DRCU/$STUS/$APDA/$DPRS" - mkProjDir "$DPRSSUDIR" - cd "$DPRSSUDIR" >/dev/null || return - sleep 1 - # LC_ALL="C" was previously used here, but may not be required anymore - PATH="$STLPATH" LD_LIBRARY_PATH="" LD_PRELOAD="" WINE="$DPRSWINE" WINEARCH="win64" WINEDEBUG="$DPRSWINEDEBUG" WINEPREFIX="$DPRSPFX" "$DPRSWINE" "$DPRSEXE" >/dev/null 2>/dev/null - cd - >/dev/null || return - else - writelog "ERROR" "${FUNCNAME[0]} - Proton Wine for not found - can't start '$DPRSEXE'" - fi - fi -} - function checkDep { CATNAM="$1" CHECKPROG="$2" @@ -22328,7 +22116,6 @@ function howto { echo " 3=for desktop and application menu" echo " createfirstinstall|cfi Open gui to create a Steam First Time Setup" echo " (see wiki) file for game " - echo " ${DPRS,}|dprs Prepare/launch ${DPRS}" echo " dlcustomproton|dcp Download/install custom Proton" echo " - from filerequester" echo " - directly from " @@ -22655,8 +22442,6 @@ function commandline { CreateCustomEvaluatorScript "$USEID" elif [ "$1" == "configdir" ]; then "$XDGO" "$STLCFGDIR" - elif [ "$1" == "${DPRS,}" ] || [ "$1" == "dprs" ]; then - startDepressurizer elif [ "$1" == "dlcustomproton" ] || [ "$1" == "dcp" ]; then dlCustomProtonGate "$2" elif [ "$1" == "dlwine" ] || [ "$1" == "dw" ]; then @@ -25472,16 +25257,6 @@ function reCreateCompatdata { SRCORIGEVSC="$EVMETAID/${EVALSC}_${EUNID}.vdf" SRCCUSTEVSC="$EVMETACUSTOMID/${EVALSC}_${EUNID}.vdf" - if [ "$EUNID" == "$DPRS" ]; then - writelog "INFO" "${FUNCNAME[0]} - Starting '$DPRS' Installation" - SRCORIGEVSC="${GLOBALEVALDIR}/sets/${EVALSC}_${DPRS,}.vdf" - SRCEVSC="$SRCORIGEVSC" - DESTCODA="$DPRSCOMPDATA" - EARLYPROT="$DPRSPROTON" - export STEAM_COMPAT_APP_ID="$DPRS" - STEAM_COMPAT_INSTALL_PATH="$DPRSCOMPDATA" - fi - if [ ! -f "$ISCEXE" ]; then writelog "ERROR" "${FUNCNAME[0]} - '$ISCEXE' not found" else