Commit 5ddbdc9c authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2313

parent e61ef725
......@@ -2,9 +2,22 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2313### Date: 11.07.2024 / Download update size: 4 megabytes
* added all gamescope settings to the interface (thanks Htylol)
* added the experimental ability to run the native version of wine-wayland with a third-party version of wine, which is compiled with this function (thanks Boria138)
* temporary files have been moved to the /tmp/PortProton directory (thanks Htylol)
* fixed language switching in games using .ini file (thanks by Eljeyna)
* Genshin Impact auto-installation changed to HoYoPlay
* fixed black screen in Steam PP
* updated dgVoodoo2 configuration interface (thanks by Htylol)
* updated gamescope setup interface (thanks by Htylol)
* fixed winecmd
* fixed creation of multiple shortcuts when setting up a prefix backup
* fixed auto-installation of World of Sea Battle
* minor improvements and optimizations (thanks to Boria138 and Htylol)
###Scripts version 2312### Date: 25.06.2024 / Download update size: 4 megabytes
HOTFIX - error: "Argument list too long"
* HOTFIX - error: "Argument list too long"
###Scripts version 2311### Date: 24.06.2024 / Download update size: 4 megabytes
* updated version of yad - added auto-disabled for locked settings (thanks Htylol)
......
......@@ -3,20 +3,21 @@
История изменений:
###Scripts version 2313### Дата: / Размер скачиваемого обновления: 4 мегабайта
* добавлены все настройки gamescope в интерфейс (огромное спасибо Htylol)
* небольшие улучшения и оптимизации (спасибо Boria138 и Htylol)
* добавлена экспериментальная возможность запуска нативной версии wine-wayland с сторонней версией wine которая скомпилирована с данной функцией (спасибо Boria138)
* все временные файлы перенесены в каталог /tmp/PortProton (спасибо Htylol)
* добавлены все настройки gamescope в интерфейс PortProton (огромное спасибо Htylol)
* добавлена экспериментальная возможность запуска нативной версии wine-wayland с сторонней версией wine, которая скомпилирована с данной функцией (спасибо Boria138)
* временные файлы перенесены в каталог /tmp/PortProton (спасибо Htylol)
* исправлено переключение языка в играх использующих .ini файлы (спасибо Eljeyna)
* автоустановка Genshin Impact изменена на HoYoPlay
* исправлен черный экран в Steam PP
TODO:
* пофиксить баг с несколькими ярлыками с бэкапа
* пофиксить баг с путями установки WoSB
* обновлен интерфейс настроек dgVoodoo2 (спасибо Htylol)
* обновлен интерфейс настроек gamescope (спасибо Htylol)
* исправлена работа winecmd
* исправлено создание нескольких ярлыков при распаковке резервной копии префикса
* исправлена автоустановка World of Sea Battle
* небольшие улучшения и оптимизации (спасибо Boria138 и Htylol)
###Scripts version 2312### Дата: 25.06.2024 / Размер скачиваемого обновления: 4 мегабайта
HOTFIX - исправлена ошибка: "Argument list too long"
* HOTFIX - исправлена ошибка: "Argument list too long"
###Scripts version 2311### Дата: 24.06.2024 / Размер скачиваемого обновления: 4 мегабайта
* обновлена версия yad - добавлено автовыключение заблокированных настроек (спасибо Htylol)
......
......@@ -2899,7 +2899,7 @@ pw_winecmd () {
export PW_USE_TERMINAL=1
start_portwine
cd "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c" || fatal
${pw_runtime} ${PW_TERM} "${WINELOADER}" cmd
pw_run cmd
stop_portwine
}
......@@ -4512,10 +4512,12 @@ portwine_create_shortcut () {
unset PW_SKIP_RESTART_STEAM
fi
print_info "Restarting PP..."
export SKIP_CHECK_UPDATES=1
/usr/bin/env bash -c ${pw_full_command_line[*]} &
exit 0
if [[ "$PW_NO_RESTART" != "1" ]] ; then
print_info "Restarting PP..."
export SKIP_CHECK_UPDATES=1
/usr/bin/env bash -c ${pw_full_command_line[*]} &
exit 0
fi
fi
}
......
......@@ -2,10 +2,9 @@
# Author: Cefeiko
########################################################################
export PW_PREFIX_NAME="DOTNET"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/wos_client.exe"
# export LAUNCH_PARAMETERS=("/S" "/p=C:\\\\users\\\\$USER")
export PW_DLL_INSTALL="faudio dotnet48"
export PW_VULKAN_USE=1
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/wos_client.exe"
WOSB_VERSION="$(curl -s --list-only --connect-timeout 3 https://www.worldofseabattle.com/download2 2>/dev/null | grep 'installer.exe' | awk -F'xsolla-launcher-update/' '{print $2}' | awk -F'/' '{print $1}')"
[[ ! -z "$WOSB_VERSION" ]] && print_info "Found version: $WOSB_VERSION" || yad_error "Error while get version of WOSB INSTALLER."
......@@ -13,16 +12,16 @@ WOSB_VERSION="$(curl -s --list-only --connect-timeout 3 https://www.worldofseaba
start_portwine
if try_download "https://installer.launcher.xsolla.com/xlauncher-builds/xsolla-launcher-update/${WOSB_VERSION}/bin/installer.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
# pw_start_progress_bar_block "Installing World of Sea Battle."
pw_run "${PW_AUTOINSTALL_EXE}"
try_remove_file "${PW_AUTOINSTALL_EXE}"
pw_start_progress_bar_block "Installing World of Sea Battle."
export FIND_PP_EXE="$(find "$WINEPREFIX/drive_c/" -type f -name "launcher.exe")"
create_new_dir "$WINEPREFIX/drive_c/WoSB"
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/WoSB"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
portwine_exe="$WINEPREFIX/drive_c/WoSB/launcher.exe"
pw_stop_progress_bar
kill_portwine
export PW_NO_RESTART="1"
if [[ "$LANGUAGE" == "ru" ]] ; then
export portwine_exe="$FIND_PP_EXE"
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle RU"
pw_create_unique_exe "wosb_launcher_ru"
try_remove_file "${portwine_exe}.ppdb"
......@@ -30,7 +29,6 @@ then
portwine_create_shortcut block_name
fi
export portwine_exe="$FIND_PP_EXE"
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle EN"
pw_create_unique_exe "wosb_launcher_en"
try_remove_file "${portwine_exe}.ppdb"
......@@ -38,3 +36,21 @@ then
fi
stop_portwine
start_portwine
if try_download "${PW_URL_CEMU}" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Cemu."
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 "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Cemu"
portwine_create_shortcut
fi
stop_portwine
......@@ -324,6 +324,7 @@ EOF
if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.create_shortcut" ]] ; then
while IFS= read -r line
do
export PW_NO_RESTART="1"
export portwine_exe="$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/$line"
portwine_create_shortcut "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/$line"
done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut"
......
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