diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_eng index 0f93fa78..69749bd9 100755 --- a/data_from_portwine/changelog_eng +++ b/data_from_portwine/changelog_eng @@ -2,8 +2,12 @@ You can help us in the development of the project on the website: https://linux- ---------------------------------------- Changelog: +###Scripts version 2260### Date: 07.03.2024 / Download update size: 15 megabytes +* added Black Desert Online to AUTOINSTALL +* fixed the prefix filling request while using the automatic installation of desktop games/launchers + ###Scripts version 2259### Date: 06.03.2024 / Download update size: 15 megabytes -* The PortProton update feature has been fixed for Steam Deck in Gaming Mode (the current update needs to be installed from desktop mode) +* the PortProton update feature has been fixed for Steam Deck in Gaming Mode (the current update needs to be installed from desktop mode) ###Scripts version 2258### Date: 06.03.2024 / Download update size: 15 megabytes * fixed saving complex arguments for an exe file (example: "- /B/TX /lang:01 /tex:1 /spg:50 KingKongTheGame.bf") diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_rus index f7dfff26..2b4b91e5 100755 --- a/data_from_portwine/changelog_rus +++ b/data_from_portwine/changelog_rus @@ -2,6 +2,10 @@ ----------------------------------------- История изменений: +###Scripts version 2260### Дата: 07.03.2024 / Размер скачиваемого обновления: 15 мегабайт +* добавлена автоустановка игры Black Desert Online +* исправлен запрос наполнения префикса во время исползования автоустановки игр/лаунчеров + ###Scripts version 2259### Дата: 06.03.2024 / Размер скачиваемого обновления: 15 мегабайт * для Steam Deck в режиме Gaming Mode исправлена возможность обновления PortProton (текущее обновление требуется устнановить из режима рабочего стола) diff --git a/data_from_portwine/img/gui/bdo.png b/data_from_portwine/img/gui/bdo.png new file mode 100644 index 00000000..c5281d2e Binary files /dev/null and b/data_from_portwine/img/gui/bdo.png differ diff --git a/data_from_portwine/scripts/portwine_db/BlackDesertOnline b/data_from_portwine/scripts/portwine_db/BlackDesertOnline new file mode 100644 index 00000000..7df14b5e --- /dev/null +++ b/data_from_portwine/scripts/portwine_db/BlackDesertOnline @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +#Author: fidel +#BlackDesertLauncher.exe +#Rating=1-5 +#####################examples########################### +export PW_WINDOWS_VER="10" +export PW_VULKAN_USE="2" +export PW_WINE_USE="PROTON_GE_8-32" +export PW_PREFIX_NAME="BLACK_DESERT_ONLINE" +export DISABLE_CP_DEFPFX=1 +export PW_USE_EAC_AND_BE="1" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_BDO b/data_from_portwine/scripts/pw_autoinstall/PW_BDO new file mode 100755 index 00000000..8ea2a647 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_BDO @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +# Author: Castro-Fidel (linux-gaming.ru) +######################################################################## +export PW_PREFIX_NAME="BLACK_DESERT_ONLINE" +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BlackDesert_Installer_RU.exe" +export LAUNCH_PARAMETERS="/silent" +export PW_MUST_HAVE_DLL="" +export PW_VULKAN_USE=1 +export PW_USE_D3D_EXTRAS=1 +export PW_WINE_USE=PROTON_GE_8-32 +export DISABLE_CP_DEFPFX=1 + +pw_clear_pfx +start_portwine +wait_wineserver + +if try_download_no_mirror "https://nez-o-dn.playblackdesert.com/UploadData/installer/BlackDesert_Installer_RU.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} Black Desert Online. ${loc_gui_please_wait} " + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Pearlabyss/BlackDesert/BlackDesertLauncher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Black Desert Online" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index 4c9bc449..7abb9452 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -93,6 +93,10 @@ start_portwine () { pw_update_pfx_cover_gui unpack_tar_xz "${PW_WINELIB}/default_pfx.tar.xz" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/" silent pw_wineboot -u + elif [[ "${PW_CHECK_AUTOINSTAL}" == 1 ]] \ + && [[ "${DISABLE_CP_DEFPFX}" == 1 ]] ; then + pw_update_pfx_cover_gui + pw_wineboot -i elif yad_question "$loc_gui_dll_new_pfx ${PW_PREFIX_NAME}" ; then pw_update_pfx_cover_gui unpack_tar_xz "${PW_WINELIB}/default_pfx.tar.xz" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/" silent diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 53abb90b..f1b0fe92 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -850,7 +850,8 @@ else --field=" Guild Wars 2"!"$PW_GUI_ICON_PATH/gw2.png"!"":"FBTN" '@bash -c "button_click PW_GUILD_WARS_2"' \ --field=" Genshin Impact"!"$PW_GUI_ICON_PATH/genshinimpact.png"!"":"FBTN" '@bash -c "button_click PW_GENSHIN_IMPACT"' \ --field=" EA App (TEST)"!"$PW_GUI_ICON_PATH/eaapp.png"!"":"FBTN" '@bash -c "button_click PW_EAAPP"' \ - --field=" Battle Of Space Raiders"!"$PW_GUI_ICON_PATH/bsr.png"!"":"FBTN" '@bash -c "button_click PW_BSR"' 2>/dev/null & + --field=" Battle Of Space Raiders"!"$PW_GUI_ICON_PATH/bsr.png"!"":"FBTN" '@bash -c "button_click PW_BSR"' \ + --field=" Black Desert Online (RU)"!"$PW_GUI_ICON_PATH/bdo.png"!"":"FBTN" '@bash -c "button_click PW_BDO"' 2>/dev/null & # --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click PW_SWL"' # --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"' diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index cf07b781..d23b0e36 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,6 +1,6 @@ #!/usr/bin/env bash #Author: Castro-Fidel (linux-gaming.ru) -#SCRIPTS_NEXT_VERSION=2259 +#SCRIPTS_NEXT_VERSION=2260 ######################################################################## export PW_MANGOHUD="0" export DEFAULT_MANGOHUD_CONFIG="cpu_stats,cpu_temp,cpu_mhz,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,vram,ram,frame_timing=1,time,arch,wine,toggle_hud=Shift_R+F12,resolution,vkbasalt,gamemode"