diff --git a/data_from_portwine/img/gui/w3dhub.png b/data_from_portwine/img/gui/w3dhub.png new file mode 100644 index 00000000..d54d018b Binary files /dev/null and b/data_from_portwine/img/gui/w3dhub.png differ diff --git a/data_from_portwine/scripts/portwine_db/W3D Hub Launcher b/data_from_portwine/scripts/portwine_db/W3D Hub Launcher new file mode 100644 index 00000000..af623de7 --- /dev/null +++ b/data_from_portwine/scripts/portwine_db/W3D Hub Launcher @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Author: chal55rus and Boria138 +#W3D Hub Launcher.exe +#Rating=1-5 +export PW_VULKAN_USE="0" +export PW_PREFIX_NAME="DOTNET" +export PW_WINE_USE="WINE_LG" + +gui_proton_downloader silent "$PW_WINE_USE" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_W3D_HUB b/data_from_portwine/scripts/pw_autoinstall/PW_W3D_HUB new file mode 100644 index 00000000..76d5a525 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_W3D_HUB @@ -0,0 +1,20 @@ +#!/bin/bash +# Author: chal55rus and Boria138 +######################################################################## +export PW_PREFIX_NAME="DOTNET" +export LAUNCH_PARAMETERS=("/S") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/w3dhub_launcher_install.exe" +export PORTWINE_CREATE_SHORTCUT_NAME="W3D Hub Launcher" + +start_portwine +if try_download 'https://w3dhub.com/forum/files/file/10-w3d-hub-launcher/?do=download' "${PW_AUTOINSTALL_EXE}" no_mirror +then + pw_start_progress_bar_install_game "W3DHUB Launcher" + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$(find "$WINEPREFIX/" -type f -name "W3D Hub Launcher.exe" | grep "W3D Hub/W3D Hub Launcher.exe")" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 6c9fe8df..5b4e16fe 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -538,6 +538,7 @@ else --field=" Pulse Online"!"$PW_GUI_ICON_PATH/pulseonline.png"!"":"FBTN" '@bash -c "button_click PW_PULSE_ONLINE"' \ --field=" CatsLauncher (Front Edge)"!"$PW_GUI_ICON_PATH/catslauncher.png"!"":"FBTN" '@bash -c "button_click PW_CATSLAUNCHER"' \ --field=" Russian Fishing 4"!"$PW_GUI_ICON_PATH/rf4launcher.png"!"":"FBTN" '@bash -c "button_click PW_RUSSIAN_FISHING"' \ + --field=" W3D Hub Launcher"!"$PW_GUI_ICON_PATH/w3dhub.png"!"":"FBTN" '@bash -c "button_click PW_W3D_HUB"' \ 2>/dev/null & # --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click PW_SWL"'