Commit 49ada771 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2163

parent de3e066d
...@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: boosty.to/linu ...@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: boosty.to/linu
----------------------------------------- -----------------------------------------
Changelog: Changelog:
###Scripts version 2163###
* Steam is working again and starts in Steam Deck mode by default
* added automatic reset of the .ppdb file settings when reinstalling the launchers from the PortProton menu
* added creation of a shortcut to the desktop
###Scripts version 2162### ###Scripts version 2162###
* The libc_v39 library package has been updated * The libc_v39 library package has been updated
- Uplay is working again - Uplay is working again
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
----------------------------------------- -----------------------------------------
История изменений: История изменений:
###Scripts version 2163###
* Steam снова работает и по умолчанию запускается в Steam Deck режиме
* добавлен автоматический сброс настроек файла .ppdb при переустановке лончеров из меню PortProton
* добавлено создание ярлыка на рабочий стол
###Scripts version 2162### ###Scripts version 2162###
* Обновлен пакет библиотек libs_v39 * Обновлен пакет библиотек libs_v39
- Uplay снова работает - Uplay снова работает
......
...@@ -32,7 +32,7 @@ then ...@@ -32,7 +32,7 @@ then
export inst_set="Выбор" export inst_set="Выбор"
export inst_set_top="Установка PortWINE" export inst_set_top="Установка PortWINE"
export ss_done="Ярлык создан в каталоге PortProton. \n Добавить его в МЕНЮ -> ИГРЫ?" export ss_done="Ярлык создан в каталоге PortProton.\nДобавить его в МЕНЮ и на Рабочий стол?"
export inst_succ="Установка завершена успешно!" export inst_succ="Установка завершена успешно!"
...@@ -274,7 +274,7 @@ then ...@@ -274,7 +274,7 @@ then
export inst_set="Sett..." export inst_set="Sett..."
export inst_set_top="PortWINE setting" export inst_set_top="PortWINE setting"
export ss_done="The shortcut was created in the ${portname} directory.\n Add it to MENU -> GAMES?" export ss_done="The shortcut was created in the ${portname} directory.\n Add it to MENU -> GAMES and Desktop?"
export inst_succ="The installation was successful." export inst_succ="The installation was successful."
export port_upd1="New update PortWINE" export port_upd1="New update PortWINE"
......
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Cefeiko #Author: linux-gaming.ru
#steam.exe #steam.exe
#Rating=5 #Rating=5
################################################ ################################################
export PW_COMMENT_DB="Steam" export PW_COMMENT_DB="Steam"
export PW_WINDOWS_VER=10 export PW_WINDOWS_VER="10"
export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46" export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46"
export WINEDLLOVERRIDES="libglesv2,lsteamclient=" export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS="-no-cef-sandbox" export LAUNCH_PARAMETERS="-gamepadui -fullscreen"
export PW_VULKAN_USE=1 export PW_VULKAN_USE="1"
# export PW_WINE_USE=PROTON_GE
add_in_start_portwine () { add_in_start_portwine () {
echo "Disabled silent autostart steam." echo "Disabled silent autostart steam."
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Ankama/Ankama Launcher/Ankama Launcher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/Ankama/Ankama Launcher/Ankama Launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="AnkamaLauncher" export PORTWINE_CREATE_SHORTCUT_NAME="AnkamaLauncher"
......
...@@ -13,5 +13,6 @@ then ...@@ -13,5 +13,6 @@ then
pw_stop_progress_bar pw_stop_progress_bar
portwine_create_shortcut portwine_create_shortcut
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
fi fi
stop_portwine stop_portwine
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net" export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net"
......
...@@ -36,6 +36,7 @@ then ...@@ -36,6 +36,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/1C Game Studios/Caliber/Launcher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/1C Game Studios/Caliber/Launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="CALIBER" export PORTWINE_CREATE_SHORTCUT_NAME="CALIBER"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}' | sed 's/.zip//'`/Cemu.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}' | sed 's/.zip//'`/Cemu.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Cemu" export PORTWINE_CREATE_SHORTCUT_NAME="Cemu"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe" portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Citra" export PORTWINE_CREATE_SHORTCUT_NAME="Citra"
......
...@@ -13,6 +13,7 @@ then ...@@ -13,6 +13,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe" portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Crossout" export PORTWINE_CREATE_SHORTCUT_NAME="Crossout"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0" export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0"
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Duckstation/duckstation-qt-x64-ReleaseLTCG.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Duckstation/duckstation-qt-x64-ReleaseLTCG.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="DuckStation" export PORTWINE_CREATE_SHORTCUT_NAME="DuckStation"
......
...@@ -9,7 +9,7 @@ export PW_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL ...@@ -9,7 +9,7 @@ export PW_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL
# export PW_WINE_TKG_VER="7.20" # export PW_WINE_TKG_VER="7.20"
# export PW_WINE_USE="WINE-${PW_WINE_TKG_VER}-STAGING-TKG-AMD64" # export PW_WINE_USE="WINE-${PW_WINE_TKG_VER}-STAGING-TKG-AMD64"
export PW_MUST_HAVE_DLL="" export PW_MUST_HAVE_DLL=""
export PW_PREFIX_NAME="EA_APP" # export PW_PREFIX_NAME="EA_APP"
# export WINEDLLOVERRIDES="mscoree,mshtml=b" # export WINEDLLOVERRIDES="mscoree,mshtml=b"
# if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then # if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
...@@ -49,6 +49,7 @@ then ...@@ -49,6 +49,7 @@ then
portwine_exe="$WINEPREFIX/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe"
pw_stop_progress_bar pw_stop_progress_bar
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
portwine_create_shortcut portwine_create_shortcut
fi fi
......
...@@ -21,6 +21,7 @@ then ...@@ -21,6 +21,7 @@ then
# fi # fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
portwine_create_shortcut portwine_create_shortcut
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/EPSXe/ePSXe.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/EPSXe/ePSXe.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="ePSXe" export PORTWINE_CREATE_SHORTCUT_NAME="ePSXe"
......
...@@ -13,7 +13,9 @@ then ...@@ -13,7 +13,9 @@ then
dd if="${PW_AUTOINSTALL_EXE}" of="${PW_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes dd if="${PW_AUTOINSTALL_EXE}" of="${PW_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes
"$pw_7z" x "${PW_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online" "$pw_7z" x "${PW_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${PW_AUTOINSTALL_EXE}".7z try_remove_file "${portwine_exe}.ppdb"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb".7z
fi fi
portwine_exe="$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe" portwine_exe="$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe"
pw_stop_progress_bar pw_stop_progress_bar
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/FulqrumGames/FulqrumGames.exe" portwine_exe="$WINEPREFIX/drive_c/FulqrumGames/FulqrumGames.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Fulqrum Games" export PORTWINE_CREATE_SHORTCUT_NAME="Fulqrum Games"
......
...@@ -29,6 +29,7 @@ then ...@@ -29,6 +29,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="GameforgeClient" export PORTWINE_CREATE_SHORTCUT_NAME="GameforgeClient"
......
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Glyph/GlyphClient.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Glyph/GlyphClient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="GlyphClient" export PORTWINE_CREATE_SHORTCUT_NAME="GlyphClient"
......
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
portwine_create_shortcut portwine_create_shortcut
......
...@@ -15,6 +15,7 @@ then ...@@ -15,6 +15,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe" portwine_exe="${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Guild Wars 2" export PORTWINE_CREATE_SHORTCUT_NAME="Guild Wars 2"
......
...@@ -12,6 +12,7 @@ then ...@@ -12,6 +12,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/Program Files/IGClient/IGClient.exe" portwine_exe="${WINEPREFIX}/drive_c/Program Files/IGClient/IGClient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="IGClient" export PORTWINE_CREATE_SHORTCUT_NAME="IGClient"
......
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe" portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Itch" export PORTWINE_CREATE_SHORTCUT_NAME="Itch"
......
...@@ -30,6 +30,7 @@ else ...@@ -30,6 +30,7 @@ else
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe" portwine_exe="$WINEPREFIX/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Lesta Game Center" export PORTWINE_CREATE_SHORTCUT_NAME="Lesta Game Center"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
portwine_create_shortcut portwine_create_shortcut
fi fi
......
...@@ -32,6 +32,7 @@ then ...@@ -32,6 +32,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe" portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend" export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend"
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="MAME" export PORTWINE_CREATE_SHORTCUT_NAME="MAME"
......
...@@ -12,6 +12,7 @@ then ...@@ -12,6 +12,7 @@ then
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe"
pw_stop_progress_bar pw_stop_progress_bar
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
portwine_create_shortcut portwine_create_shortcut
fi fi
......
...@@ -13,6 +13,7 @@ then ...@@ -13,6 +13,7 @@ then
mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe" mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe"
fi fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
try_remove_file "${portwine_exe}.ppdb"
# pw_run "${PW_AUTOINSTALL_EXE}" # pw_run "${PW_AUTOINSTALL_EXE}"
pw_stop_progress_bar pw_stop_progress_bar
portwine_create_shortcut portwine_create_shortcut
......
...@@ -14,6 +14,7 @@ then ...@@ -14,6 +14,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/Games/Panzar/PnzSteamLauncher.exe" portwine_exe="${WINEPREFIX}/drive_c/Games/Panzar/PnzSteamLauncher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Panzar" export PORTWINE_CREATE_SHORTCUT_NAME="Panzar"
......
...@@ -12,6 +12,7 @@ then ...@@ -12,6 +12,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/PlariumPlay/PlariumPlay.exe" portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/PlariumPlay/PlariumPlay.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Plarium Play" export PORTWINE_CREATE_SHORTCUT_NAME="Plarium Play"
......
...@@ -12,6 +12,7 @@ then ...@@ -12,6 +12,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Path of Exile" export PORTWINE_CREATE_SHORTCUT_NAME="Path of Exile"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows" export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Project64 3.0/Project64.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Project64 3.0/Project64.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Project64" export PORTWINE_CREATE_SHORTCUT_NAME="Project64"
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch" export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch"
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar" export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar"
......
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM" export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM"
......
...@@ -14,6 +14,7 @@ then ...@@ -14,6 +14,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/EXBO/java/bin/ExboLauncher.exe" portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/EXBO/java/bin/ExboLauncher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="STALCRAFT" export PORTWINE_CREATE_SHORTCUT_NAME="STALCRAFT"
......
...@@ -14,6 +14,7 @@ then ...@@ -14,6 +14,7 @@ then
fi fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="STEAM_PP" export PORTWINE_CREATE_SHORTCUT_NAME="STEAM_PP"
......
...@@ -16,6 +16,7 @@ then ...@@ -16,6 +16,7 @@ then
# portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/SecretWorldLegendsDX11.exe" # portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/SecretWorldLegendsDX11.exe"
portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/ClientPatcher.exe" portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Funcom/Secret World Legends/ClientPatcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Secret World Legends" export PORTWINE_CREATE_SHORTCUT_NAME="Secret World Legends"
......
...@@ -11,6 +11,7 @@ then ...@@ -11,6 +11,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
portwine_create_shortcut portwine_create_shortcut
......
...@@ -9,6 +9,7 @@ then ...@@ -9,6 +9,7 @@ then
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m" "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m/visualboyadvance-m.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m/visualboyadvance-m.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="VBA-M" export PORTWINE_CREATE_SHORTCUT_NAME="VBA-M"
......
...@@ -11,6 +11,7 @@ start_portwine ...@@ -11,6 +11,7 @@ start_portwine
if try_download "static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" if try_download "static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}"
then then
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe" portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
try_remove_file "${portwine_exe}.ppdb"
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay" export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay"
portwine_create_shortcut portwine_create_shortcut
......
...@@ -12,6 +12,7 @@ then ...@@ -12,6 +12,7 @@ then
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}" pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/Launcher.exe" portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/Launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Warframe" export PORTWINE_CREATE_SHORTCUT_NAME="Warframe"
......
...@@ -22,6 +22,7 @@ then ...@@ -22,6 +22,7 @@ then
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe" portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center" export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
portwine_create_shortcut portwine_create_shortcut
fi fi
......
...@@ -29,6 +29,7 @@ then ...@@ -29,6 +29,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe" portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle" export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
......
...@@ -10,6 +10,7 @@ then ...@@ -10,6 +10,7 @@ then
pw_run "${PW_AUTOINSTALL_EXE}" pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/yabause 0.9.15/yabause.exe" portwine_exe="$WINEPREFIX/drive_c/Program Files/yabause 0.9.15/yabause.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine kill_portwine
pw_stop_progress_bar pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Yabause" export PORTWINE_CREATE_SHORTCUT_NAME="Yabause"
......
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru) #Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2162 #SCRIPTS_NEXT_VERSION=2163
######################################################################## ########################################################################
export PW_MANGOHUD=0 export PW_MANGOHUD=0
export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt
......
...@@ -466,12 +466,22 @@ portwine_create_shortcut () { ...@@ -466,12 +466,22 @@ portwine_create_shortcut () {
--button="$loc_gui_yes":0 --button="$loc_gui_yes":0
if [ $? -eq "0" ]; then if [ $? -eq "0" ]; then
try_remove_file "${HOME}/.local/share/applications/${name_desktop}.desktop" try_remove_file "${HOME}/.local/share/applications/${name_desktop}.desktop"
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" ${HOME}/.local/share/applications/ cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/.local/share/applications/"
if [[ -d "${HOME}/Desktop" ]] ; then
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/Desktop/"
elif [[ -d "${HOME}/Рабочий стол" ]] ; then
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" "${HOME}/Рабочий стол/"
fi
fi fi
xdg-open "${PORT_WINE_PATH}" 2>1 >/dev/null & xdg-open "${PORT_WINE_PATH}" 2>1 >/dev/null &
} }
portwine_delete_shortcut () { portwine_delete_shortcut () {
rm -f "`grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop`" rm -f "`grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop`"
rm -f "`grep -il "${portwine_exe}" "${PORT_WINE_PATH}"/*.desktop`" rm -f "`grep -il "${portwine_exe}" "${PORT_WINE_PATH}"/*.desktop`"
if [[ -d "${HOME}/Desktop" ]] ; then
rm -f "`grep -il "${portwine_exe}" "${HOME}/Desktop"/*.desktop`"
elif [[ -d "${HOME}/Рабочий стол" ]] ; then
rm -f "`grep -il "${portwine_exe}" "${HOME}/Рабочий стол"/*.desktop`"
fi
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment