<palign="center">Проект, призванный сделать запуск Windows-игр в Linux простым и удобным как для начинающих, так и для опытных пользователей.
Проект стремится сделать запуск игр (и другого программного обеспечения) максимально простым, но в то же время предоставляет гибкие настройки для опытных пользователей.</p>
...
...
@@ -55,8 +55,8 @@ epm play portproton
exit
```
***Ubuntu 20.04** (Kubuntu, Xubuntu, Lubuntu, и т.д.), **Linux Mint 20.x** :
Если у вас видеокарта от NVIDIA и установлен проприетарный драйвер, то необходимо проверить, установлена ли lib32-nvidia-utils (без нее ни одна 32-битная игра не будет работать)
<palign="center">Project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.
The project strives to make launching games (and other software) as simple as possible, but at the same time provides flexible settings for advanced users.</p>
...
...
@@ -60,8 +60,8 @@ exit
sudo urpmi portproton
```
***Ubuntu 20.04** (Kubuntu, Xubuntu, Lubuntu, etc.), **Linux Mint 20.x** :
if try_download "github.com/Castro-Fidel/PortWINE/releases/download/libs${PW_LIBS_VER}/libs${PW_LIBS_VER}.tar.xz""${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}.tar.xz";then
...
...
@@ -687,12 +717,13 @@ pw_download_libs () {
for RM_LIBS in`ls${PORT_WINE_TMP_PATH} | grep libs_v | grep-v libs${PW_LIBS_VER}`
do try_remove_dir "${PORT_WINE_TMP_PATH}/${RM_LIBS}"
done
# TODO: drop clear prefix, and add update prefix from new libs
print_info "Download and install plugins${PW_PLUGINS_VER}..."
if try_download "github.com/Castro-Fidel/wine_builds/releases/download/plugins${PW_PLUGINS_VER}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz";then
if unpack_tar_xz "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}";then
for RM_PLUGINS in`ls${PORT_WINE_TMP_PATH} | grep plugins_v | grep-v plugins${PW_PLUGINS_VER}`
do try_remove_dir "${PORT_WINE_TMP_PATH}/${RM_PLUGINS}"
done
if command-v yad &>/dev/null ;then
if try_download "github.com/Castro-Fidel/wine_builds/releases/download/plugins${PW_PLUGINS_VER}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz";then
if unpack_tar_xz "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}";then
PW_NOTIFY_TEXT="Please wait for update PortProton"
pw_notify_send -u normal
if try_download_silent "github.com/Castro-Fidel/wine_builds/releases/download/plugins${PW_PLUGINS_VER}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz";then
if unpack_tar_xz "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz""${PORT_WINE_TMP_PATH}";then
[[!-z"$WOSB_VERSION"]]&& print_info "Found version: $WOSB_VERSION"||zenity_error "Error while get version of WOSB INSTALLER."
[[!-z"$WOSB_VERSION"]]&& print_info "Found version: $WOSB_VERSION"||yad_error "Error while get version of WOSB INSTALLER."
start_portwine
if try_download_game "https://installer.launcher.xsolla.com/xlauncher-builds/xsolla-launcher-update/${WOSB_VERSION}/bin/installer.exe""${PW_AUTOINSTALL_EXE}"
if[$?-eq 1 ];then echo"Installation language not set!"&&exit 1 ;fi
case$PW_SET_LANGin
"$RUS_LANG")
INFO_TEXT="Вы запустили установщик ${portname} версии ${port_ver}. \n\nЭто некоммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права стороннего программного обеспечения принадлежат их владельцам! \nПродолжая установку, Вы автоматически соглашаетесь с данными условиями."> /dev/null 2>&1 ;;
"$ENG_LANG")
INFO_TEXT="You’ve started ${portname} installer v.${port_ver}. \n\nIt is a non-commercial product and is developed only for the idea and with the help of your donations. \nAll third-party software rights belong to their respective owners! \nIf you continue installation, you agree to these terms."> /dev/null 2>&1 ;;
inst1=$(zenity --title"Установка ${portname}"--text"Выберите путь для установки (обновления) ${portname}\nили оставьте его по умолчанию."--list--radiolist--width=350 --height=220 \
--column=""--column"Путь:"\
TRUE "${deflink}"\
FALSE "Другой путь...") 2> /dev/null
if[$?-eq 1 ];then echo"Installation path not set!"&&exit 1 ;fi
"Russian")
inst1=$($yad_gui--title"Install ${portname}"--text"Выберите путь для установки (обновления) ${portname},\nили оставьте его по умолчанию.\n\nВнимание:\nУстанавливать необходимо на файловую систему Linux (ext4, btrfs и прочие)."--list--radiolist--width=600 --height=200 \
inst1=$(zenity --title"Install ${portname}"--text"Choose path to install (update) ${portname}\nor leave it as default."--list--radiolist--width=350 --height=220 \
--column=""--column"Path:"\
TRUE "${deflink}"\
FALSE "Other path...") 2> /dev/null
if[$?-eq 1 ];then echo"Installation path not set!"&&exit 1;fi
"English")
inst1=$($yad_gui--title"Install ${portname}"--text"Select the installation path (update) port,\nor leave it in default."--list--radiolist--width=600 --height=200 \
--column="Set..."--column"Path:"\
TRUE "${def_path}"\
FALSE "Other path...")
inst1="$(echo$inst1 | awk-F'|''{print $2}')"
["$?"!="0"]&&exit 1
case$inst1in
"${deflink}")
D_PATH="${deflink}";;
"${def_path}")
D_PATH="${def_path}";;
"Other path...")
D_PATH=$(zenity --file-selection--directory--title="Choose your path...")
D_PATH="${D_PATH}/${portname}";;
D_PATH="$($yad_gui--file--directory--title="Select the path...")";;