Compare commits

...

79 Commits

Author SHA1 Message Date
3f2e6f87d3 STABLE: Scripts version 2360 2024-09-30 22:11:38 +03:00
8047c589f4 Merge branch 'Htylol-fixes-for-pw_find_exe' into devel 2024-09-30 18:46:02 +03:00
03747a78c0 Fixes for flatpak 2024-09-30 20:33:06 +05:00
4636c75dbd Added fixes for pw_find_exe 2024-09-30 19:21:53 +05:00
2b691c6c7d Merge branch 'Castro-Fidel:devel' into devel 2024-09-30 19:09:40 +05:00
b6173ae618 STABLE: Scripts version 2359 2024-09-30 13:40:09 +03:00
f612bdca32 Scripts version 2358 2024-09-30 13:37:45 +03:00
061cc7d5b7 Merge branch 'minergenon-devel2' into devel 2024-09-30 13:10:22 +03:00
9d26c01e81 Merge branch 'devel' of github.com:minergenon/PortWINE into minergenon-devel2 2024-09-30 13:10:13 +03:00
ad3defa164 changeloge to text-info for gamescope session 2024-09-30 12:58:01 +03:00
d1a553a46f #2 updated changeloge_en for gamescope session 2024-09-30 11:40:56 +03:00
7369c200a3 Added game Lost Light 2024-09-30 14:34:35 +06:00
a86d6e7e91 Added game GameXP 2024-09-30 14:32:05 +06:00
ba777a2c28 added fix download plugins for gamescope session 2024-09-30 11:15:18 +03:00
1d26ddec57 updated changeloge_en for gamescope session 2024-09-30 11:09:49 +03:00
1f29138f86 added fix changelog for gamescope session 2024-09-30 11:01:38 +03:00
37d90fc969 used EN only for gamescope session 2024-09-29 21:56:36 +03:00
ec42b5fab5 added support update from gamescope session 2024-09-29 21:24:44 +03:00
9718f83122 more fixes for gamescope session 2024-09-29 21:01:42 +03:00
3100f20fe1 fixed unpack for gamescope session 2024-09-29 20:22:59 +03:00
b5448116ae fixed download for gamescope session 2024-09-29 19:57:20 +03:00
7d7ef7496a Scripts version 2357 2024-09-29 18:17:18 +03:00
aa16081cb1 Merge branch 'Htylol-new-update2' into devel 2024-09-29 17:49:50 +03:00
b41a87077b Merge branch 'new-update2' of github.com:Htylol/PortWINE into Htylol-new-update2 2024-09-29 17:49:43 +03:00
754a8b804c updated WOSB 2024-09-29 17:48:50 +03:00
6f1b9f6afc fixed get ppdb for symlink 2024-09-29 17:29:32 +03:00
d923396e85 Merge branch 'valokardin-master' into devel 2024-09-29 16:27:50 +03:00
16b09c2ae0 updated DXVK and VKD3D, + autoinstall 2024-09-29 16:25:47 +03:00
afba3864de Update PW_WOSB
Fix autoinstall
2024-09-29 13:12:56 +03:00
96e4ccc354 Added game Star Conflict 2024-09-29 13:58:28 +06:00
985bea612c Added games Blood and Soul 2024-09-29 13:41:45 +06:00
27a3962ecc Updated background_pid, added returns for clear prefix, reinstall and delete PP 2024-09-29 03:47:24 +05:00
4f10d0d2d3 Merge branch 'Castro-Fidel:devel' into devel 2024-09-28 21:57:39 +05:00
27d18124c8 Merge pull request #352 from Htylol/fixed-for-steam
STABLE: Scripts version 2356
2024-09-28 19:28:57 +03:00
325af544ad Merge pull request #352 from Htylol/fixed-for-steam
STABLE: Scripts version 2356
2024-09-28 15:17:13 +03:00
edf03bc743 STABLE: Scripts version 2356 2024-09-28 17:12:51 +05:00
936ebd74e9 STABLE: Scripts version 2355 2024-09-28 13:10:49 +03:00
6bca949781 Scripts version 2354 2024-09-28 13:07:08 +03:00
fb4819da91 correct and rename func 2024-09-28 12:33:48 +03:00
d0e28bbd52 Merge branch 'Htylol-added_restart_stop' into devel 2024-09-28 12:18:25 +03:00
2f9f705dd4 Added background_pid 2024-09-28 07:43:44 +05:00
4bee332d40 Added PW_STOP_PORTWINE_RESTART 2024-09-28 01:27:31 +05:00
c81c93a253 Scripts version 2353 2024-09-27 19:17:59 +03:00
af5f505b0c updated try_download and try_check_sha256sum func. 2024-09-27 19:08:44 +03:00
259fcdff60 added new ppdb files 2024-09-27 14:05:27 +03:00
adca2dc813 update CEMU and change_loc func 2024-09-27 14:01:13 +03:00
1de4ead8a9 revert Secret World Legends (ENG) 2024-09-27 11:31:43 +03:00
fd3e2394eb drop unused autoinstall 2024-09-27 11:26:48 +03:00
eecab2540a added pw_check_command func 2024-09-27 11:13:53 +03:00
853b34d53f Merge branch 'Htylol-added_SKIP_CHECK_UPDATES_NEW' into devel 2024-09-27 10:08:44 +03:00
53c365ae55 Merge branch 'added_SKIP_CHECK_UPDATES_NEW' of github.com:Htylol/PortWINE into Htylol-added_SKIP_CHECK_UPDATES_NEW 2024-09-27 10:08:35 +03:00
0013773adf Merge branch 'Htylol-spellcheck_and_fixes' into devel 2024-09-27 10:07:46 +03:00
1e2a69b43c Added SKIP_CHECK_UPDATES_NEW 2024-09-27 11:34:24 +05:00
16e64e720d Spellcheck and minor improvements 2024-09-27 05:22:07 +05:00
7d983ae9e9 Scripts version 2352 2024-09-26 14:37:33 +03:00
e07b5edb20 Merge branch 'Htylol-start.sh-1' into devel 2024-09-26 10:50:46 +03:00
a3cdf85b7f Merge branch 'start.sh-1' of github.com:Htylol/PortWINE into Htylol-start.sh-1 2024-09-26 10:49:52 +03:00
66b0484b0c Moved Farlight 84 to separate prefix 2024-09-26 10:49:31 +03:00
f780cd2523 Merge branch 'minergenon-devel' into devel 2024-09-26 09:44:15 +03:00
1acee6802a Merge branch 'devel' of github.com:minergenon/PortWINE into minergenon-devel 2024-09-26 09:44:04 +03:00
45956926e3 Add game Farlight 84 2024-09-26 11:09:06 +06:00
e2d8545594 Modern locale cycle 2024-09-26 06:50:08 +05:00
1c7ec5be7f updated deb packages in readme 2024-09-26 03:35:58 +03:00
a9755116b9 Merge branch 'Htylol-use-array' into devel 2024-09-26 02:50:33 +03:00
db701eb01f Merge branch 'use-array' of github.com:Htylol/PortWINE into Htylol-use-array 2024-09-26 02:50:22 +03:00
e879a566cc boost for edit_db_from_gui 2024-09-26 02:47:07 +03:00
da5fc7bdc3 Merge branch 'Htylol-gemma2-1' into devel 2024-09-26 01:44:12 +03:00
ad1209a73b Update edit_db_from_gui 2024-09-26 03:18:19 +05:00
e6aa95c280 An array is used instead of echo and awk 2024-09-26 01:37:15 +05:00
2166ce81dc Scripts version 2351 2024-09-25 21:26:22 +03:00
aa2e6e905c minor update speedup commit 2024-09-25 21:13:50 +03:00
3506a94099 Merge branch 'Htylol-speedup_mangohud' into devel 2024-09-25 21:10:16 +03:00
e72eb2dd88 Merge branch 'speedup_mangohud' of github.com:Htylol/PortWINE into Htylol-speedup_mangohud 2024-09-25 21:10:08 +03:00
1fc073a3a6 updated libs_v52, again 2024-09-25 21:04:56 +03:00
129d71e608 Merge branch 'Htylol-improve_updates' into devel 2024-09-25 20:26:16 +03:00
3d86966878 Merge branch 'improve_updates' of github.com:Htylol/PortWINE into Htylol-improve_updates 2024-09-25 20:26:06 +03:00
68fc7dee72 update libs_v50 and drop wine-wow64 from kron4ek 2024-09-25 20:19:19 +03:00
cede8465a7 Updated updates 2024-09-25 16:51:49 +05:00
cb6bb14e1c Speedup menus 2024-09-25 04:59:42 +05:00
44 changed files with 845 additions and 668 deletions

View File

@ -73,7 +73,7 @@ exit
```
* **Ubuntu 24.04**, **Debian 12**, **Linux Mint 21.x** **Deepin** :
[portproton_1.7-2_amd64.deb](https://github.com/Castro-Fidel/PortProton_dpkg/releases/download/portproton_1.7-2_amd64/portproton_1.7-2_amd64.deb)
[portproton_1.7-3_amd64.deb](https://github.com/Castro-Fidel/PortProton_dpkg/releases/download/portproton_1.7-3_amd64/portproton_1.7-3_amd64.deb)
* **Arch Linux** и производные (Manjaro, Garuda, и т.д.) :
[AUR](https://aur.archlinux.org/packages/portproton)

View File

@ -77,7 +77,7 @@ exit
* **Ubuntu 24.04**, **Debian 12**, **Linux Mint 21.x**, and **Deepin**:
[portproton_1.7-2_amd64.deb](https://github.com/Castro-Fidel/PortProton_dpkg/releases/download/portproton_1.7-2_amd64/portproton_1.7-2_amd64.deb)
[portproton_1.7-3_amd64.deb](https://github.com/Castro-Fidel/PortProton_dpkg/releases/download/portproton_1.7-3_amd64/portproton_1.7-3_amd64.deb)
* **Arch Linux** and derivatives (Manjaro, Garuda, etc.):
[AUR](https://aur.archlinux.org/packages/portproton)

View File

@ -2,11 +2,68 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2350### / Date: 24.09.2024 / Download update size: 207 megabytes
###Scripts version 2360### / stable / Date: 30.09.2024 / Download update size: 4 megabytes
* HOTFIX: fixed flatpak detection on some systems (thanks to Htylol)
###Scripts version 2359### / stable / Date: 30.09.2024 / Download update size: 220 megabytes
* cumulative update to the stable version of PortProton scripts
###Scripts version 2358### / Date: 30.09.2024 / Download update size: 4 megabytes
* added for game mode on Steam Deck:
* possibility to update PortProton
* displaying the process of downloading and unpacking all PortProton packages
* added auto-installation "Lost Light" (thanks Chal55rus)
* added auto-installation "GameXP" (thanks Chal55rus)
###Scripts version 2357### / Date: 29.09.2024 / Download update size: 220 megabytes
* updated PROTON_LG to version "9-15"
* updated versions:
* DXVK_GIT "2.4.1-74"
* VKD3D_GIT "1.1-4202"
* added auto-installation "Star Conflict" (thanks to Chal55rus)
* added auto-installation "Blood and Soul" (thanks to Chal55rus)
* updated auto-installation "World of Sea Battle" (thanks valokardin)
* for "World of Sea Battle" language switching in the game has been fixed and the "DOTNET" prefix is no longer required
* fixed determination of the selection of settings files when the exe file is a symbolic link
* added returns to the main menu after canceling the reinstallation/uninstallation of PP, clearing the prefix and uninstalling programs (thanks to Htylol)
* fixed launch of games/programs when using disabling the graphical interface (GUI_DISABLED_CS)
###Scripts version 2356### / stable / Date: 28.09.2024 / Download update size: 4 megabytes
* fixed work in steam and ingame
###Scripts version 2355### / stable / Date: 28.09.2024 / Download update size: 385 megabytes
* cumulative update to the stable version of PortProton scripts
###Scripts version 2354### / Date: 28.09.2024 / Download update size: 4 megabytes
* added return to PortProton menu after using winecfg, winereg, winecmd, winefile (thanks Htylol)
###Scripts version 2353### / Date: 27.09.2024 / Download update size: 4 megabytes
* optimized auto-installation functions for all games/launchers
* accelerated initial launch of PortProton (thanks to Htylol)
* auto-installation of the "CITRA" emulator has been removed
* updated auto-installation of the "CEMU" emulator
* installation of the game "Secret World Legends (ENG)" has been returned
* fixed and updated auto-installation of the "OSU!"
* improved function for downloading third-party versions of WINE
* added settings files for games (thanks Mels):
* LEGO Star Wars: The Skywalker Saga
* God of War Ragnarok
###Scripts version 2352### / Date: 26.09.2024 / Download update size: 4 megabytes
* added auto-installation of the game "Farlight 84" (thanks to Chal55rus)
* continued optimization of PortProton functions together with Htylol
###Scripts version 2351### / Date: 25.09.2024 / Download update size: 180 megabytes
* updated container library package: libs_v52
* even more optimizations for window switching responsiveness (thanks to Htylol)
* improved logic for updating scripts (thanks to Htylol)
###Scripts version 2350### / Date: 24.09.2024 / Download update size: 15 megabytes
* updated versions:
* DXVK_GIT "2.4-94"
* VKD3D_GIT "1.1-4191"
* added a translation cache, which greatly improves the responsiveness of the interface (thanks to Htylol)
* added a translation cache, which greatly improves the responsiveness
of the interface (thanks to Htylol)
* fixed launching shortcuts from special. symbols in the title (thanks to Htylol)
* limited number of characters for shortcut names in the "installed" tab (fixes overly wide menu) (thanks to Htylol)
* disabled decoration for HoYoPlay launcher (fixes window capacity) (thanks to Boria138)
@ -37,7 +94,7 @@ Changelog:
* many thanks to Htylol for this update, everything listed below is his merit :)
* added reset settings for mangohud and vkbasalt
* fixed mangohud preview if it is disabled
* user.conf settings have been moved from the editdb settings and portproton settings,
* user.conf settings have been moved from the editdb settings and portproton settings,
* a separate graphical interface has been made for user.conf, with the ability to launch settings from the main menu and when starting a game/program
* added return to the main menu after creating a backup, winetricks, wine download, etc., and added return to the last active tabs
* added intermediate returns (to the previous active window)
@ -63,7 +120,8 @@ Changelog:
* HoYoPlay auto-installation updated (thanks Eljeyna)
###Scripts version 2340### / Date: 27.08.2024 / Download update size: 380 megabytes
* added the ability for standard installation to the prefix manager (without forced redownload of components)
* added the ability for standard installation to the prefix manager
(without forced redownload of components)
* updated PROTON_LG to version "9-11"
* updated WINE_LG to version "9-12-2"
* the test WINE_LG_NTSYNC has been updated in the repositories to version "9-13-2"
@ -83,7 +141,8 @@ Changelog:
* added the ability to run .reg files (thanks Boria138)
* added icons for msi, bat and reg files (thanks to Dervart)
* fixed GUI alignment for XFCE (thanks to Htylol)
* added automatic disabling of downloading covers for STEAM if there is no access to the covers server
* added automatic disabling of downloading covers for STEAM if there
is no access to the covers server
###Scripts version 2337### / Date: 09.08.2024 / Download update size: 4 megabytes
* fixed GUI alignment on SteamDeck (thanks to Htylol)

View File

@ -2,7 +2,63 @@
-----------------------------------------
История изменений:
###Scripts version 2350### / Дата: 24.09.2024 / Размер скачиваемого обновления: 207 мегабайт
###Scripts version 2360### / stable / Дата: 30.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* HOTFIX: исправлено определение flatpak на некоторых системах (спасибо Htylol)
###Scripts version 2359### / stable / Дата: 30.09.2024 / Размер скачиваемого обновления: 220 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
###Scripts version 2358### / Дата: 30.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* добавлены для игрового режима на Steam Deck:
* возможность обновления PortProton
* отображение процесса скачивания и распаковки всех пакетов PortProton
* добавлена автоустановка "Lost Light" (спасибо Chal55rus)
* добавлена автоустановка "GameXP" (спасибо Chal55rus)
###Scripts version 2357### / Дата: 29.09.2024 / Размер скачиваемого обновления: 220 мегабайт
* обновлен PROTON_LG до версии "9-15"
* обновлены версии:
* DXVK_GIT "2.4.1-74"
* VKD3D_GIT "1.1-4202"
* добавлена автоустановка "Star Conflict" (спасибо Chal55rus)
* добавлена автоустановка "Blood and Soul" (спасибо Chal55rus)
* обновлена автоустановка "World of Sea Battle" (спасибо valokardin)
* для "World of Sea Battle" исправлено переключение языка в игре и больше не требуется префикс "DOTNET"
* исправлено определение выбора файлов настроек когда exe файл является символьной ссылкой
* добавлены возвраты в основное меню после отмены переустановки/удалении PP, чистки префикса и удаления программ (спасибо Htylol)
* исправлен запуск игр/программ при использовании отключения графического интерфейса (GUI_DISABLED_CS)
###Scripts version 2356### / stable / Дата: 28.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* исправлена работа в steam и ingame
###Scripts version 2355### / stable / Дата: 28.09.2024 / Размер скачиваемого обновления: 385 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
###Scripts version 2354### / Дата: 28.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* добавлен возврат в меню PortProton после использования winecfg, winereg, winecmd и winefile (спасибо Htylol)
###Scripts version 2353### / Дата: 27.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* оптимизированы функции автоустановки всех игр/лаунчеров
* ускорен первичный запуск PortProton (спасибо Htylol)
* удалена автоустановка эмулятора "CITRA"
* обновлена автоустановка эмулятора "CEMU"
* возвращена установка игры "Secret World Legends (ENG)"
* исправлена и обновлена автоустановка иры "OSU!"
* улучшена функция скачивания сторонних версий WINE
* добавлены файлы настроек для игр (спасибо Мэлс):
* LEGO Star Wars: The Skywalker Saga
* God of War Ragnarok
###Scripts version 2352### / Дата: 26.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* добавлена автоустановка игры "Farlight 84" (спасибо Chal55rus)
* продолжение оптимизаций функций PortProton совместно с Htylol
###Scripts version 2351### / Дата: 25.09.2024 / Размер скачиваемого обновления: 180 мегабайт
* обновлен пакет библиотек контейнера: libs_v52
* еще больше оптимизаций отзывчивости переключения окон (спасибо Htylol)
* улучшена логика работы обновления скриптов (спасибо Htylol)
###Scripts version 2350### / Дата: 24.09.2024 / Размер скачиваемого обновления: 15 мегабайт
* обновлены версии:
* DXVK_GIT "2.4-94"
* VKD3D_GIT "1.1-4191"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
data_from_portwine/img/gui/swl.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
#Author: deck
#GoWR.exe
#Rating=1-5
export PW_VULKAN_USE="2"
export PW_WINE_USE="WINE_LG"
export PORTPROTON_NAME="GoWR"

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
#Author: deck
#LEGOSTARWARSSKYWALKERSAGA_DX12.exe
#LEGOSTARWARSSKYWALKERSAGA_DX11.exe
#LEGOSTARWARSSKYWALKERSAGA_DX10.exe
#LEGOSTARWARSSKYWALKERSAGA_DX9.exe
#Rating=1-5
export PW_VULKAN_USE="2"
export PW_WINE_USE="WINE_LG"
export PORTPROTON_NAME="LEGO® Star Wars™: The Skywalker Saga"

View File

@ -1,18 +0,0 @@
#!/usr/bin/env bash
#Author: Cefeiko
#wosb_launcher_ru.exe
#Rating=?
################################################
export PW_COMMENT_DB="С этим ДБ файлом писать на АНГЛИЙСКОМ не получится.
Для входа в игру используйте ярлык World of Sea Battle EN"
export PW_PREFIX_NAME="DOTNET"
export PW_WINDOWS_VER="10"
export PW_VULKAN_USE="2"
export WINEDLLOVERRIDES="vulkan-1=n,b"
export PW_NO_ESYNC="1"
export PW_USE_D3D_EXTRAS="1"
export PW_USE_GSTREAMER="1"
export PW_FORCE_LARGE_ADDRESS_AWARE="1"
export PW_USE_SHADER_CACHE="1"
export LAUNCH_PARAMETERS=""

View File

@ -1,10 +1,9 @@
#!/usr/bin/env bash
#Author: Cefeiko
#wosb_launcher_en.exe
#Rating=?
#Author: Cefeiko, Fidel
#wosb_launcher_pp.exe
#Rating=5
################################################
export PW_COMMENT_DB=""
export PW_PREFIX_NAME="DOTNET"
export PW_WINDOWS_VER="10"
export PW_VULKAN_USE="2"
export WINEDLLOVERRIDES="vulkan-1=n,b"
@ -14,4 +13,3 @@ export PW_USE_GSTREAMER="1"
export PW_FORCE_LARGE_ADDRESS_AWARE="1"
export PW_USE_SHADER_CACHE="1"
export LAUNCH_PARAMETERS=""
export LANG=en_US.UTF-8

View File

@ -1,20 +0,0 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BethesdaNetLauncher_Setup.exe"
start_portwine
if try_download"https://download.cdp.bethesda.net/BethesdaNetLauncher_Setup.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "BethesdaNetLauncher."
pw_kill_autostart BethesdaNetLauncher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net"
portwine_create_shortcut
fi
stop_portwine

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
export PW_PREFIX_NAME="BLOOD_AND_SOUL"
export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/bs-install.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Blood and Soul"
start_portwine
if try_download "https://bsclassic.com/files/bs-install.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Blood and Soul."
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Blood and Soul Classic/launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -3,8 +3,8 @@
########################################################################
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CatsLauncher.msi"
export PW_PREFIX_NAME=DOTNET
export PW_USE_D3D_EXTRAS=1
export PW_PREFIX_NAME="DOTNET"
export PW_USE_D3D_EXTRAS="1"
export PORTWINE_CREATE_SHORTCUT_NAME="CatsLauncher"
start_portwine

View File

@ -1,19 +1,21 @@
#!/usr/bin/env bash
# Author: linux-gaming.ru
########################################################################
export PW_URL_CEMU=($(curl -s "https://cemu.info" | grep "zip" | cut -d \" -f 2))
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}'`"
export PW_URL_CEMU=$(curl -s "https://api.github.com/repos/cemu-project/Cemu/releases" | grep -iEo 'https.*download.*' | grep "windows" | head -n1)
export PW_CEMU_NAME=Cemu_$(echo "$PW_URL_CEMU" | awk -F"-" '{print $3}')
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/${PW_CEMU_NAME}.zip"
start_portwine
if try_download "${PW_URL_CEMU}" "${PW_AUTOINSTALL_EXE}" no_mirror
if try_download "${PW_URL_CEMU//\"/}" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Cemu."
"$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"
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"${WINEPREFIX}/drive_c/Program Files (x86)/"
portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/${PW_CEMU_NAME}/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"
export PORTWINE_CREATE_SHORTCUT_NAME="${PW_CEMU_NAME}"
portwine_create_shortcut
fi
stop_portwine

View File

@ -1,28 +0,0 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
#export LAUNCH_PARAMETERS=("")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/citra-setup-windows.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Citra"
start_portwine
if try_download "github.com/citra-emu/citra-web/releases/download/1.0/citra-setup-windows.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Citra."
pw_run "${PW_AUTOINSTALL_EXE}"
if [[ -f "$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly/citra-qt.exe" ]] ; then
export portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly/citra-qt.exe"
elif [[ -f "$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/canary/citra-qt.exe" ]] ; then
export portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/canary/citra-qt.exe"
else
export portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "citra-qt.exe"`
fi
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Farlight84_setup_1.3.0.1_238.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Farlight 84"
export PW_PREFIX_NAME="FARLIGHT_84"
start_portwine
if try_download "https://static-gl.lilithgame.com/p/pcsdk/launcher/10060/prodef4621e968ad6b383b8754148b63/0/launcher/res/release/Farlight84_setup_1.3.0.1_238.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Farlight 84."
create_new_dir "$WINEPREFIX/drive_c/Program Files (x86)/Farlight84"
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Farlight84"
"$pw_7z" x -y "$WINEPREFIX/drive_c/Program Files (x86)/Farlight84/launcher.7z" -o"$WINEPREFIX/drive_c/Program Files (x86)/Farlight84"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Farlight84/Farlight84Launcher.exe"
try_remove_file "$WINEPREFIX/drive_c/Program Files (x86)/Farlight84/launcher.7z"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -24,7 +24,7 @@ export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GameforgeInstaller.exe"
start_portwine
if try_download "https://raw.githubusercontent.com/WarfaceZ/lutris-clients/master/GameforgeInstaller.exe" "${PW_AUTOINSTALL_EXE}"
then
pw_start_progress_bar_block "Gameforge-Client."
pw_start_progress_bar_install_game "Gameforge-Client."
pw_shutdown_please SparkWebHelper.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe"

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export PW_PREFIX_NAME="GAMEXP"
export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/InstallGameXPlauncher.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="GameXP"
start_portwine
if try_download "https://clotho-install.gamexp.com/launcher/InstallGameXPlauncher-0-pr.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "GameXP."
pw_kill_autostart gamexp-launcher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Programs/GameXP/Launcher/gamexp-launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -10,7 +10,7 @@ start_portwine
if try_download "https://sg-public-api.hoyoverse.com/event/download_porter/trace/hyp_global/hyphoyoverse/default?url=https%3A%2F%2Fhoyoplay.hoyoverse.com%2F" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_block "Installing HoYoPlay Launcher."
pw_start_progress_bar_install_game "HoYoPlay Launcher."
pw_kill_autostart HYP.exe &
export PATH_TO_GAME="${PW_USER_TEMP}"
pw_run "${PW_AUTOINSTALL_EXE}"

View File

@ -3,14 +3,14 @@
##########################################################################
export LAUNCH_PARAMETERS=("--silent")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe"
start_portwine
if try_download "https://itch.io/app/download?platform=windows" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "ITCH.IO."
pw_kill_autostart itch.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe=`find "$WINEPREFIX/drive_c/users" -type f -name "itch.exe"`
# portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe"
portwine_exe=$(find "$WINEPREFIX/drive_c/users" -type f -name "itch.exe")
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine

View File

@ -1,37 +0,0 @@
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export PW_PREFIX_NAME="LEAGUE_OF_LEGENDS"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/live.na.exe"
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live"
export PW_MUST_HAVE_DLL=""
export PW_VULKAN_USE=1
export PW_WINE_USE=WINE_LOL_GE_8.27
# export WINEDLLOVERRIDES="mscoree,mshtml="
export PW_USE_D3D_EXTRAS=1
export DISABLE_CP_DEFPFX=1
gui_proton_downloader silent "${PW_WINE_USE}"
pw_clear_pfx
start_portwine
wait_wineserver
if try_download "https://lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_block "Installing League of Legends."
if [[ "$LANGUAGE" == "ru" ]] ; then
yad_info "Вы должны нажать кнопку установки, не изменяя настроек!"
else
yad_info "You must click the install button without changing the settings!"
fi
pw_kill_autostart RiotClientServices.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend"
portwine_create_shortcut
fi
stop_portwine

View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export PW_PREFIX_NAME="LOST_LIGHT"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/LostLight_installer.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Lost Light"
URL_LOST_LIGHT="$(curl -s --list-only "https://adl.easebar.com/d/g/yhtj/c/lostlightcspc" | grep 'var pc_link =' | awk -F\" '{print $2}')"
start_portwine
if try_download "${URL_LOST_LIGHT}" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "LostLight."
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/LostLight"
export portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/LostLight/launcher.exe"
pw_create_unique_exe "lostlight_launcher_pp"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: cefeiko
########################################################################
export PW_PREFIX_NAME=DOTNET
export PW_PREFIX_NAME="OSU"
export PORTWINE_CREATE_SHORTCUT_NAME="OSU"
start_portwine
@ -18,10 +18,9 @@ then
export portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
pw_create_unique_exe
try_remove_file "${portwine_exe}.ppdb"
# pw_run "${PW_AUTOINSTALL_EXE}"
pw_stop_progress_bar
portwine_create_shortcut
kill_portwine
fi
stop_portwine
stop_portwine

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: cefeiko
########################################################################
export PW_PREFIX_NAME=DOTNET
export PW_PREFIX_NAME="DOTNET"
export PORTWINE_CREATE_SHORTCUT_NAME="Pulse Online"
start_portwine

View File

@ -3,8 +3,7 @@
########################################################################
# export LAUNCH_PARAMETERS=("/S" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EXBO_Setup_ru.exe"
export PW_PREFIX_NAME=DOTNET
export PW_PREFIX_NAME="DOTNET"
start_portwine
if try_download "https://exbo2.b-cdn.net/EXBO_Setup_ru.exe" "${PW_AUTOINSTALL_EXE}" no_mirror

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export PW_PREFIX_NAME="STAR_CONFLICT"
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/starconf_installer.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Star Conflict"
start_portwine
if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=StarConflictLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Star Conflict."
pw_kill_autostart launcher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/users/steamuser/AppData/Local/StarConflict/launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -1,24 +0,0 @@
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/sr_installer.exe"
export PW_USE_D3D_EXTRAS=1
start_portwine
if try_download "https://sg-public-api.hoyoverse.com/event/download_porter/link/hkrpg_global/oswebpc/default" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Honkai Star Rail Launcher."
pw_kill_autostart launcher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Star Rail/launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Star Rail"
portwine_create_shortcut
fi
stop_portwine

View File

@ -4,6 +4,7 @@
export WINEDLLOVERRIDES="d3d9=b"
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SecretWorldLegendsMin.exe"
export PW_PREFIX_NAME="SECRET_WORLD_LEGENDS"
start_portwine
if try_download "https://web-cdn.funcom.com/downloads/swl/SecretWorldLegendsMin.exe" "${PW_AUTOINSTALL_EXE}" no_mirror

View File

@ -4,6 +4,7 @@
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Ubisoft Game Launcher")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Ubisoft Connect"
start_portwine
if try_download "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then

View File

@ -2,6 +2,7 @@
# Author: chal55rus (Sergey P.)
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/visualboyadvance-m-Win-x86_64.zip"
start_portwine
if try_download "https://github.com/visualboyadvance-m/visualboyadvance-m/releases/latest/download/visualboyadvance-m-Win-x86_64.zip" "${PW_AUTOINSTALL_EXE}" no_mirror
then

View File

@ -6,6 +6,7 @@ export PW_PREFIX_NAME="VK_PLAY"
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
export WINEDLLOVERRIDES="mscoree,mshtml="
export PW_MUST_HAVE_DLL=""
export PW_WINE_USE="WINE_LG"
start_portwine
if try_download "https://static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" no_mirror

View File

@ -10,7 +10,7 @@ start_portwine
if try_download "https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_block "Starting WGC installation..."
pw_start_progress_bar_install_game "WGC."
pw_kill_autostart wgc.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe"

View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Author: Cefeiko
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_PREFIX_NAME="WORLD_OF_SEA_BATTLE"
export PW_VULKAN_USE="2"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/installer.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
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}')"
[[ -n "$WOSB_VERSION" ]] && print_info "Found version: $WOSB_VERSION" || yad_error "Error while get version of WOSB INSTALLER."
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_install_game "World of Sea Battle."
pw_run "${PW_AUTOINSTALL_EXE}"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
export portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Wosb Launcher/launcher.exe"
pw_create_unique_exe "wosb_launcher_pp"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine

View File

@ -1,56 +0,0 @@
#!/usr/bin/env bash
# Author: Cefeiko
########################################################################
export PW_PREFIX_NAME="DOTNET"
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}')"
[[ -n "$WOSB_VERSION" ]] && print_info "Found version: $WOSB_VERSION" || yad_error "Error while get version of WOSB INSTALLER."
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."
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
export PW_NO_RESTART_PPDB="1"
if [[ "$LANGUAGE" == "ru" ]] ; then
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle RU"
pw_create_unique_exe "wosb_launcher_ru"
try_remove_file "${portwine_exe}.ppdb"
export PW_SKIP_RESTART_STEAM=1
portwine_create_shortcut block_name
fi
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle EN"
pw_create_unique_exe "wosb_launcher_en"
try_remove_file "${portwine_exe}.ppdb"
portwine_create_shortcut block_name
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

View File

@ -30,25 +30,26 @@ export orig_IFS="$IFS"
MISSING_DESKTOP_FILE="0"
unset PW_NO_RESTART_PPDB PW_DISABLED_CREATE_DB
if [[ "$1" == *.[Pp][Pp][Aa][Cc][Kk] ]] ; then
export PW_NO_RESTART_PPDB="1"
export PW_DISABLED_CREATE_DB="1"
portwine_exe="$1"
elif [[ -f "$1" ]] ; then
portwine_exe="$(realpath "$1")"
portwine_exe="$(realpath -s "$1")"
elif [[ -f "$OLDPWD/$1" ]] \
&& [[ "$1" == *.[Ee][Xx][Ee] || "$1" == *.[Bb][Aa][Tt] || "$1" == *.[Rr][Ee][Gg] || "$1" == *.[Mm][Ss][Ii] ]]
then
portwine_exe="$(realpath "$OLDPWD/$1")"
portwine_exe="$(realpath -s "$OLDPWD/$1")"
elif [[ "$1" == "--debug" ]] \
&& [[ -f "$2" ]]
then
portwine_exe="$(realpath "$2")"
portwine_exe="$(realpath -s "$2")"
elif [[ "$1" == "--debug" ]] \
&& [[ -f "$OLDPWD/$2" ]] \
&& [[ "$2" == *.[Ee][Xx][Ee] || "$2" == *.[Bb][Aa][Tt] || "$2" == *.[Rr][Ee][Gg] || "$2" == *.[Mm][Ss][Ii] ]]
then
portwine_exe="$(realpath "$OLDPWD/$2")"
portwine_exe="$(realpath -s "$OLDPWD/$2")"
elif [[ "$1" == *.[Ee][Xx][Ee] || "$1" == *.[Bb][Aa][Tt] || "$1" == *.[Mm][Ss][Ii] || "$1" == *.[Rr][Ee][Gg] ]]
then
portwine_exe="$1"
@ -71,25 +72,15 @@ if PORT_SCRIPTS_PATH="$(readlink -f "${0%/*}")" ; then
else
fatal
fi
# export TEXTDOMAIN="PortProton"
# export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales"
#
# if ! command -v gettext &>/dev/null
# then
# gettext() { echo "$1"; }
# fi
# eval_gettext () {
# gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
# }
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/functions_helper"
create_new_dir "${HOME}/.local/share/applications"
if [[ "${PW_SILENT_RESTART}" == 1 ]] \
|| [[ "${START_FROM_STEAM}" == 1 ]]
if [[ "${PW_SILENT_RESTART}" == "1" ]] \
|| [[ "${START_FROM_STEAM}" == "1" ]]
then
export PW_GUI_DISABLED_CS=1
export PW_GUI_DISABLED_CS="1"
unset PW_SILENT_RESTART
else
unset PW_GUI_DISABLED_CS
@ -102,7 +93,7 @@ unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME
unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48
unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR
unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START PW_AUTOINSTALL_EXE NOSTSTDIR RADV_DEBUG PW_NO_AUTO_CREATE_SHORTCUT
unset PW_DESKTOP_FILES_REGEX
unset PW_DESKTOP_FILES_REGEX PW_TERM
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}*
@ -169,7 +160,7 @@ export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
try_remove_dir "${PW_WINELIB}/var"
install_ver="$(<"${PORT_WINE_TMP_PATH}/PortProton_ver")"
export install_ver
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
scripts_install_ver="$(<"${PORT_WINE_TMP_PATH}/scripts_ver")"
export scripts_install_ver
export WINETRICKS_DOWNLOADER="curl"
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
@ -258,135 +249,41 @@ case "$PW_GUI_START" in
;;
esac
if check_flatpak ; then
if check_gamescope_session
then PW_TERM="xterm -fullscreen -bg black -fg white -e"
else PW_TERM="xterm -bg black -fg white -e"
fi
fi
pw_check_and_download_plugins
# check skip update
if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then
pw_port_update
if command -v gamescope &>/dev/null ; then
if timeout 3 gamescope --help &> "${PW_TMPFS_PATH}/gamescope.tmp" ; then
export GAMESCOPE_INSTALLED="1"
else
print_error "gamescope - broken!"
if [[ -n "$PW_DEBUG" ]] ; then
debug_timer --start
timeout 5 gamescope --help
debug_timer --end "gamescope"
fi
fi
else
print_warning "gamescope - not found!"
fi
if command -v vulkaninfo &>/dev/null ; then
if timeout 3 vulkaninfo &> "${PW_TMPFS_PATH}/vulkaninfo.tmp" ; then
VULKAN_DRIVER_NAME="$(grep -e 'driverName' "${PW_TMPFS_PATH}/vulkaninfo.tmp" | awk '{print$3}' | head -1)"
GET_GPU_NAMES=$(awk -F '=' '/deviceName/{print $2}' "${PW_TMPFS_PATH}/vulkaninfo.tmp" | sed '/llvm/d'| sort -u | sed 's/^ //' | paste -sd '!')
export VULKAN_DRIVER_NAME GET_GPU_NAMES
else
print_error "vulkaninfo - broken!"
if [[ -n "$PW_DEBUG" ]] ; then
debug_timer --start
timeout 5 vulkaninfo
debug_timer --end "vulkaninfo"
fi
fi
else
print_warning "use portable vulkaninfo"
"$PW_PLUGINS_PATH"/portable/bin/x86_64-linux-gnu-vulkaninfo &> "${PW_TMPFS_PATH}/vulkaninfo.tmp"
VULKAN_DRIVER_NAME="$(grep -e 'driverName' "${PW_TMPFS_PATH}/vulkaninfo.tmp" | awk '{print$3}' | head -1)"
GET_GPU_NAMES=$(awk -F '=' '/deviceName/{print $2}' "${PW_TMPFS_PATH}/vulkaninfo.tmp" | sed '/llvm/d'| sort -u | sed 's/^ //' | paste -sd '!')
export VULKAN_DRIVER_NAME GET_GPU_NAMES
fi
if command -v lspci &>/dev/null ; then
if timeout 3 lspci -k &> "${PW_TMPFS_PATH}/lspci.tmp" ; then
LSPCI_VGA="$(grep -e 'VGA|3D' "${PW_TMPFS_PATH}/lspci.tmp" | tr -d '\n')"
export LSPCI_VGA
else
print_error "lspci - broken!"
if [[ -n "$PW_DEBUG" ]] ; then
debug_timer --start
timeout 5 lspci -vv
debug_timer --end "lspci"
fi
fi
else
print_warning "lspci - not found!"
fi
if command -v xrandr &>/dev/null ; then
if timeout 3 xrandr --current &> "${PW_TMPFS_PATH}/xrandr.tmp" ; then
PW_SCREEN_RESOLUTION="$(<"${PW_TMPFS_PATH}/xrandr.tmp" sed -rn 's/^.*primary.* ([0-9]+x[0-9]+).*$/\1/p')"
PW_SCREEN_PRIMARY="$(grep -e 'primary' "${PW_TMPFS_PATH}/xrandr.tmp" | awk '{print $1}')"
export PW_SCREEN_PRIMARY PW_SCREEN_RESOLUTION
print_var PW_SCREEN_RESOLUTION PW_SCREEN_PRIMARY
else
print_error "xrandr - broken!"
if [[ -n "$PW_DEBUG" ]] ; then
debug_timer --start
timeout 5 xrandr --verbose
debug_timer --end "xrandr"
fi
fi
else
print_warning "xrandr - not found!"
fi
logical_cores=$(grep -c "^processor" /proc/cpuinfo)
if [[ "${logical_cores}" -le "4" ]] ; then
GET_LOGICAL_CORE="1!$(seq -s! 1 $(( logical_cores - 1 )))"
else
GET_LOGICAL_CORE="1!2!$(seq -s! 4 4 $(( logical_cores - 1 )))"
fi
export GET_LOGICAL_CORE
if command -v locale &>/dev/null ; then
if timeout 3 locale -a &> "${PW_TMPFS_PATH}/locale.tmp" ; then
GET_LOCALE_LIST="ru_RU.utf en_US.utf zh_CN.utf ja_JP.utf ko_KR.utf"
unset LOCALE_LIST
for LOCALE in $GET_LOCALE_LIST ; do
if grep -e "$LOCALE" "${PW_TMPFS_PATH}/locale.tmp" &>/dev/null ; then
if [[ -n "$LOCALE_LIST" ]]
then LOCALE_LIST+="!$(grep -e "$LOCALE" "${PW_TMPFS_PATH}/locale.tmp")"
else LOCALE_LIST="$(grep -e "$LOCALE" "${PW_TMPFS_PATH}/locale.tmp")"
fi
fi
done
export LOCALE_LIST
else
print_error "locale - broken!"
if [[ -n "$PW_DEBUG" ]] ; then
debug_timer --start
timeout 5 locale -a
debug_timer --end "locale"
fi
fi
else
print_warning "locale - not found!"
fi
PW_FILESYSTEM=$(stat -f -c %T "${PORT_WINE_PATH}")
export PW_FILESYSTEM
background_pid --start "pw_get_tmp_files" "1"
fi
# create lock file
if ! check_flatpak ; then
if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then
print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock"
yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
fi
touch "${PW_TMPFS_PATH}/portproton.lock"
rm_lock_file () {
echo "Removing the lock file..."
rm -fv "${PW_TMPFS_PATH}/portproton.lock" && echo "OK"
}
trap "rm_lock_file" EXIT
if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then
print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock"
yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
fi
touch "${PW_TMPFS_PATH}/portproton.lock"
rm_lock_file () {
echo "Removing the lock file..."
rm -fv "${PW_TMPFS_PATH}/portproton.lock" && echo "OK"
}
trap "rm_lock_file" EXIT
fi
if check_flatpak
then try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
if check_flatpak ; then
try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
else pw_download_libs
fi
@ -399,6 +296,7 @@ then
fi
pw_check_and_download_dxvk_and_vkd3d
# shellcheck source=/dev/null
source "${USER_CONF}"
@ -759,7 +657,6 @@ else
fi
PW_GENERATE_BUTTONS+="--field= $(print_wrapped "${PW_DESKTOP_FILES_SHOW//".desktop"/""}" "25" "...")!${PW_NAME_D_ICON_48}.png!:FBTN%@bash -c \"button_click --desktop "${PW_DESKTOP_FILES// /#@_@#}"\"%"
done
IFS="$orig_IFS"
IFS="%"
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[4]}" --form --columns="$MAIN_GUI_COLUMNS" --homogeneous-column \
@ -801,7 +698,6 @@ else
--field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"${translations[Multi-arcade emulator that allows you to play old arcade games]}":"FBTN" '@bash -c "button_click --normal PW_MAME"' \
--field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"${translations[Multi-platform frontend for emulators with extensive settings]}":"FBTN" '@bash -c "button_click --normal PW_RETROARCH"' \
--field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"${translations[Emulator for the PlayStation Portable (PSP) game console]}":"FBTN" '@bash -c "button_click --normal PW_PPSSPP"' \
--field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"${translations[Emulator for the Nintendo 3DS game console]}":"FBTN" '@bash -c "button_click --normal PW_CITRA"' \
--field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"${translations[Emulator for the Wii U game console]}":"FBTN" '@bash -c "button_click --normal PW_CEMU"' \
--field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"${translations[Emulator for the PlayStation 1 game console with high compatibility]}":"FBTN" '@bash -c "button_click --normal PW_EPSXE"' \
--field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"${translations[Emulator for the Nintendo 64 game console]}":"FBTN" '@bash -c "button_click --normal PW_PROJECT64"' \
@ -819,11 +715,11 @@ else
--field=" Battle.net Launcher"!"$PW_GUI_ICON_PATH/battle_net.png"!"":"FBTN" '@bash -c "button_click --normal PW_BATTLE_NET"' \
--field=" Epic Games Launcher"!"$PW_GUI_ICON_PATH/epicgames.png"!"":"FBTN" '@bash -c "button_click --normal PW_EPIC"' \
--field=" GoG Galaxy Launcher"!"$PW_GUI_ICON_PATH/gog.png"!"":"FBTN" '@bash -c "button_click --normal PW_GOG"' \
--field=" Ubisoft Game Launcher"!"$PW_GUI_ICON_PATH/ubc.png"!"":"FBTN" '@bash -c "button_click --normal PW_UBC"' \
--field=" Ubisoft Game Launcher"!"$PW_GUI_ICON_PATH/ubc.png"!"":"FBTN" '@bash -c "button_click --normal PW_UBISOFT"' \
--field=" EVE Online Launcher"!"$PW_GUI_ICON_PATH/eve.png"!"":"FBTN" '@bash -c "button_click --normal PW_EVE"' \
--field=" Rockstar Games Launcher"!"$PW_GUI_ICON_PATH/Rockstar.png"!"":"FBTN" '@bash -c "button_click --normal PW_ROCKSTAR"' \
--field=" Gameforge Client"!"$PW_GUI_ICON_PATH/gameforge.png"!"":"FBTN" '@bash -c "button_click --normal PW_GAMEFORGE"' \
--field=" World of Sea Battle (x64)"!"$PW_GUI_ICON_PATH/wosb.png"!"":"FBTN" '@bash -c "button_click --normal PW_WOSB"' \
--field=" World of Sea Battle"!"$PW_GUI_ICON_PATH/wosb.png"!"":"FBTN" '@bash -c "button_click --normal PW_WORLD_OF_SEA_BATTLE"' \
--field=" CALIBER"!"$PW_GUI_ICON_PATH/caliber.png"!"":"FBTN" '@bash -c "button_click --normal PW_CALIBER"' \
--field=" Crossout"!"$PW_GUI_ICON_PATH/crossout.png"!"":"FBTN" '@bash -c "button_click --normal PW_CROSSOUT"' \
--field=" Warframe"!"$PW_GUI_ICON_PATH/warframe.png"!"":"FBTN" '@bash -c "button_click --normal PW_WARFRAME"' \
@ -851,12 +747,14 @@ else
--field=" Russian Fishing 4"!"$PW_GUI_ICON_PATH/rf4launcher.png"!"":"FBTN" '@bash -c "button_click --normal PW_RUSSIAN_FISHING"' \
--field=" W3D Hub Launcher"!"$PW_GUI_ICON_PATH/w3dhub.png"!"":"FBTN" '@bash -c "button_click --normal PW_W3D_HUB"' \
--field=" Anomaly Zone"!"$PW_GUI_ICON_PATH/anomalyzone.png"!"":"FBTN" '@bash -c "button_click --normal PW_ANOMALY_ZONE"' \
--field=" Farlight 84"!"$PW_GUI_ICON_PATH/farlight84.png"!"":"FBTN" '@bash -c "button_click --normal PW_FARLIGHT84"' \
--field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click --normal PW_SWL"' \
--field=" Blood and Soul"!"$PW_GUI_ICON_PATH/bloodandsoul.png"!"":"FBTN" '@bash -c "button_click --normal PW_BLOOD_AND_SOUL"' \
--field=" Star Conflict"!"$PW_GUI_ICON_PATH/starconflict.png"!"":"FBTN" '@bash -c "button_click --normal PW_STAR_CONFLICT"' \
--field=" GameXP"!"$PW_GUI_ICON_PATH/gamexp.png"!"":"FBTN" '@bash -c "button_click --normal PW_GAME_XP"' \
--field=" Lost Light"!"$PW_GUI_ICON_PATH/lostlight.png"!"":"FBTN" '@bash -c "button_click --normal PW_LOST_LIGHT"' \
2>/dev/null &
# --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click --normal PW_SWL"'
# --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click --normal PW_BETHESDA"'
# --field=" League of Legends"!"$PW_GUI_ICON_PATH/lol.png"!"":"FBTN" '@bash -c "button_click --normal PW_LOL"'
export START_FROM_PP_GUI="1"
if [[ -z ${TAB_MAIN_MENU} ]] ; then
export TAB_MAIN_MENU="1"
@ -913,9 +811,9 @@ fi
[[ -n "$PW_YAD_SET" ]] && case "$PW_YAD_SET" in
gui_pw_reinstall_pp|open_changelog|\
128|gui_pw_update|\
128|gui_pw_update|gui_rm_portproton|\
change_loc|gui_open_scripts_from_backup|\
gui_credits)
gui_credits|pw_start_cont_xterm)
if [[ -z "${PW_ALL_DF}" ]] ; then
export TAB_MAIN_MENU="4"
else
@ -924,12 +822,21 @@ fi
;;
gui_proton_downloader|WINETRICKS|\
116|pw_create_prefix_backup|\
gui_clear_pfx)
gui_clear_pfx|WINEREG|WINECMD|\
WINEFILE|WINECFG|gui_wine_uninstaller)
if [[ -z "${PW_ALL_DF}" ]] ; then
export TAB_MAIN_MENU="3"
else
export TAB_MAIN_MENU="4"
fi
;;
pw_find_exe)
if [[ -z "${PW_ALL_DF}" ]] ; then
export TAB_MAIN_MENU="5"
else
export TAB_MAIN_MENU="1"
fi
;;
esac
[[ -n "$PW_YAD_SET" ]] && case "$PW_YAD_SET" in

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2350
#SCRIPTS_STABLE_VERSION=2342
#SCRIPTS_NEXT_VERSION=2360
#SCRIPTS_STABLE_VERSION=2360
########################################################################
# export PROTON_USE_XALIA="1"
export LANGUAGES_LIST="ru es"
@ -19,7 +19,7 @@ export PW_FORCE_USE_VSYNC="2"
export PW_USE_TERMINAL="0"
export PW_WINDOWS_VER="10"
export WINEARCH="win64"
export PW_LIBS_VER="_v49"
export PW_LIBS_VER="_v52"
export PW_USE_GSTREAMER="1"
export PW_USE_D3D_EXTRAS="1"
export PW_PREFIX_NAME="DEFAULT"
@ -27,7 +27,6 @@ export WINE_WIN_START="start /wait /high /unix"
export WINE_ALLOW_XIM="0"
export PW_USE_SHADER_CACHE="1"
export PW_WINE_CPU_TOPOLOGY="disabled"
export STAGING_SHARED_MEMORY="1"
export PW_MESA_GL_VERSION_OVERRIDE="disabled"
export PW_VKD3D_FEATURE_LEVEL="disabled"
export PW_FORCE_LARGE_ADDRESS_AWARE="1"
@ -36,6 +35,8 @@ export PW_USE_US_LAYOUT="0"
export PW_GPU_USE="disabled"
export PW_LOCALE_SELECT="disabled"
export PW_DINPUT_PROTOCOL="0"
export STAGING_SHARED_MEMORY="1"
export STAGING_WRITECOPY="0"
###GTK_CONFIG###
# export GTK_DATA_PREFIX=
# export GTK_THEME="Adwaita:dark"
@ -46,7 +47,7 @@ export PW_FAKE_DLSS_VER="230506"
export PW_FAKE_DLSS_3_VER="090"
export PW_GALLIUM_NINE_VER="0.9"
###WINE_AND_PROTON_LG###
export PW_PROTON_LG_VER="PROTON_LG_9-12"
export PW_PROTON_LG_VER="PROTON_LG_9-15"
export PW_WINE_LG_VER="WINE_LG_9-12-2"
export PW_WINE_FULLSCREEN_FSR="1"
export WINE_FULLSCREEN_FSR_MODE="ultra"
@ -55,9 +56,9 @@ export PW_VULKAN_USE="2"
export VKD3D_LIMIT_TESS_FACTORS="64"
export DXVK_LEGACY_VER="1.6.1"
export DXVK_STABLE_VER="1.10.3-28"
export DXVK_GIT_VER="2.4-94"
export DXVK_GIT_VER="2.4.1-74"
export VKD3D_STABLE_VER="1.1-2602"
export VKD3D_GIT_VER="1.1-4191"
export VKD3D_GIT_VER="1.1-4202"
###VKBASALT###
export PW_VKBASALT_EFFECTS="Curves:cas"
export PW_VKBASALT_FFX_CAS="0.66"