diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_eng
index aad050e8..1f372c38 100644
--- a/data_from_portwine/changelog_eng
+++ b/data_from_portwine/changelog_eng
@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: boosty.to/linu
-----------------------------------------
Changelog:
+###Scripts version 2130###
+* by default, the WINE version of PROTON_LG is used (based on wine-ge-custom with the addition of patches required for PortProton) You can still use the PROTON_GE version by selecting it in the startup menu.exe file.
+* due to the rebranding and the transition to the new WINE-PROTON branch, the scripts have been significantly updated
+* ATTENTION: The prefix of variables in "EDIT_DB" and "user.conf" has changed from "PW_" to "PP_". At the first launch after the update, your settings files will also be updated.
+
###Scripts version 2129###
* scipts optimization for dxvk and vkd3d
@@ -47,12 +52,12 @@ Changelog:
* updated installation of ORIGIN
###Scripts version 2119###
-* HOTFIX - for PW_USE_D3D_EXTRAS
+* HOTFIX - for PP_USE_D3D_EXTRAS
* updated information about the project, developers and paid subscribers on boosty
* added optimization of games and applications when using a Wayland session (using direct launch, not using XWayland)
###Scripts version 2118###
-* PW_USE_D3D_EXTRAS is back on by default (except WGC)
+* PP_USE_D3D_EXTRAS is back on by default (except WGC)
* updated "PROTON_STEAM" to version 7.0-3
* added information about the project and developers (test mode)
@@ -73,7 +78,7 @@ Changelog:
###Scripts version 2110###
* updated "PROTON_GE" to version 7-20
* fixed the work of the game World of Warplanes
-* variable PW_D3D_EXTRAS_DISABLE renamed to PW_USE_D3D_EXTRAS and disabled by default
+* variable PP_D3D_EXTRAS_DISABLE renamed to PP_USE_D3D_EXTRAS and disabled by default
###Scripts version 2109###
* update "libs_v31"
@@ -108,7 +113,7 @@ Changelog:
###Scripts version 2103###
* updated container launch mode
-* temporary variable PW_USE_AMDVLK_DRIVER does not work
+* temporary variable PP_USE_AMDVLK_DRIVER does not work
###Scripts version 2102###
* fixed work of GALLIUM_NINE on integrated video cards from Intel
@@ -131,18 +136,18 @@ Changelog:
* added check for the presence of the d3dadapter9 library in the system (required for GALLIUM_NINE to work on a larger number of Linux OS)
* faster creation of a new prefix
* default theme for wine is light (after creating a new one, or clearing the current prefix)
-* added variable PW_USE_SHADER_CACHE to EDIT_DB to control shader caching (disable only if there are microfreezes in the game)
+* added variable PP_USE_SHADER_CACHE to EDIT_DB to control shader caching (disable only if there are microfreezes in the game)
* removed STEAM_PP from AUTOINSTALL (because there is a native STEAM for Linux with its own wine-proton)
###Scripts version 2098###
-* due to possible problems with some games, MANGOHUD is disabled by default (enabled in EDIT_DB -> MANGOHUD, or globally by adding export PW_MANGOHUD=1 to user.conf)
+* due to possible problems with some games, MANGOHUD is disabled by default (enabled in EDIT_DB -> MANGOHUD, or globally by adding export PP_MANGOHUD=1 to user.conf)
###Scripts version 2097###
* accelerated launch of all applications in PortProton up to 200% depending on the system
* updated additional libraries "plugins_v4" (added support for GALLIUM_NINE)
* added "GALLIUM_NINE" mode selection (support for native DirectX9 on video card with MESA driver)
* new interface for WINETRICKS added settings tab
-* added variable PW_USE_AMDVLK_DRIVER to EDIT_DB (use AMDVLK driver instead of RADV on AMD video cards)
+* added variable PP_USE_AMDVLK_DRIVER to EDIT_DB (use AMDVLK driver instead of RADV on AMD video cards)
* added label archiving when creating a prefix image
* added restoration of shortcuts after unpacking the prefix image (the path to the .exe file is corrected automatically)
* improved virtual desktop performance
@@ -154,7 +159,7 @@ Changelog:
* added check for LANG variable for PortProton to work on STEAM-DECK
* added new interface for WINETRICKS
* updated "libs_v25" (updated steam runtime sniper, added support for "MANGOHUD" and "vkBasalt" for systems: "RED OS" and "OpenSUSE")
-* added variable PW_FIX_VIDEO_IN_GAME to EDIT_DB (required for video playback in some games so that it is not distorted, colored pink)
+* added variable PP_FIX_VIDEO_IN_GAME to EDIT_DB (required for video playback in some games so that it is not distorted, colored pink)
###Scripts version 2095###
* updated "libs_v24" (hotfix)
@@ -247,7 +252,7 @@ Changelog:
* added new launch mode: "VULKAN (WINE DXGI)" required for some new games using DX12
###Scripts version 2070###
-* added PW_D3D_EXTRAS_DISABLE variable to EDIT_DB for DirectX external library
+* added PP_D3D_EXTRAS_DISABLE variable to EDIT_DB for DirectX external library
* rollback MANGOHUD to stable version from libs_v19.2
* fixed internet download interruption
* updated WINE_LOL_GE 7.0
@@ -274,7 +279,7 @@ Changelog:
###Scripts version 2066###
* updated WINE PROTON_GE_7.0RC6-1 (with dxvk and vkd3d)
-* the wine version from PROTON_GE is used by default (can be replaced with PROTON STEAM by adding to user.conf: export PW_WINE_USE=PROTON_STEAM)
+* the wine version from PROTON_GE is used by default (can be replaced with PROTON STEAM by adding to user.conf: export PP_WINE_USE=PROTON_STEAM)
* added check for number of db files for one .exe
* fixed disabling of the League of Legends boot logo
* updated db files
@@ -312,7 +317,7 @@ Changelog:
* updated GOG auto-installation
###Scripts version 2058###
-* by default selected PW_WINE_USE=PROTON_STEAM for EGS
+* by default selected PP_WINE_USE=PROTON_STEAM for EGS
###Scripts version 2057###
* updated db files for EGS, UPLAY, STEAM
diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_rus
index 932c7e2c..fe10691b 100755
--- a/data_from_portwine/changelog_rus
+++ b/data_from_portwine/changelog_rus
@@ -2,6 +2,11 @@
-----------------------------------------
История изменений:
+###Scripts version 2130###
+* по умолчанию используется WINE версии PROTON_LG (основан на wine-ge-custom с добавлением патчей необходимых для PortProton) Вы всё так же можете использовать версию PROTON_GE выбрав его в меню при запуске .exe файла.
+* в связи с ребрендингом и переходом на новую ветку WINE-PROTON, значительно обновлены скрипты
+* ВНИМАНИЕ: префикс переменных в "EDIT_DB" и "user.conf" изменился с "PW_" на "PP_". При первом запуске после обновления, обновяться и ваши файлы настроек.
+
###Scripts version 2129###
* произведена оптимизация части скрипта отвечающая за dxvk и vkd3d
@@ -54,18 +59,18 @@
###Scripts version 2119###
* исправлено и ускорено создание DOTNET префикса
-* HOTFIX - для PW_USE_D3D_EXTRAS
+* HOTFIX - для PP_USE_D3D_EXTRAS
* обновлена информация о проекте, разработчиках и платных подписчиков на boosty
* добавлена оптимизация игр и приложений при использовании сесcии Wayland (используется прямой запуск, не используя XWayland)
###Scripts version 2118###
-* переменная PW_USE_D3D_EXTRAS снова включена по умолчанию (кроме WGC)
+* переменная PP_USE_D3D_EXTRAS снова включена по умолчанию (кроме WGC)
* обновлен "PROTON_STEAM" до версии 7.0-3
* добавлена информация о проекте, разработчиках и платных подписчиков на boosty (тестовый режим)
###Scripts version 2117###
* исправлена установка и запуск World of Sea Battle
-* для AUTOINSTALL по умолчанию включена переменная PW_USE_D3D_EXTRAS (необходима для стабильной установки лончеров в тихом режиме)
+* для AUTOINSTALL по умолчанию включена переменная PP_USE_D3D_EXTRAS (необходима для стабильной установки лончеров в тихом режиме)
###Scripts version 2116###
* HOTFIX - Epic Games Store
@@ -80,7 +85,7 @@
###Scripts version 2110###
* обновлен "PROTON_GE" до версии 7-20
* исправлена работа игры World of Warplanes
-* переменная PW_D3D_EXTRAS_DISABLE переименована в PW_USE_D3D_EXTRAS и выключена по умолчанию (в связи с развитием WINE сторонние библиотеки DirectX нужны в меньшем количестве игр)
+* переменная PP_D3D_EXTRAS_DISABLE переименована в PP_USE_D3D_EXTRAS и выключена по умолчанию (в связи с развитием WINE сторонние библиотеки DirectX нужны в меньшем количестве игр)
###Scripts version 2109###
* обновлен "libs_v31" (HOTFIX для Rosa Linux)
@@ -117,7 +122,7 @@
###Scripts version 2103###
* обновлен режим запуска контейнера
-* временно переменная PW_USE_AMDVLK_DRIVER не работает
+* временно переменная PP_USE_AMDVLK_DRIVER не работает
###Scripts version 2102###
* исправлена работа GALLIUM_NINE на интегрированных видеокатрах от Intel
@@ -140,18 +145,18 @@
* добавлена проверка наличия библиотеки d3dadapter9 в системе (неоходимо для работы GALLIUM_NINE на большем кол-ве ОС Linux)
* ускорено создание нового префикса
* по умолчанию для wine используется тема light (после создания нового, или чистки текущего префикса)
-* в EDIT_DB добавлена переменная PW_USE_SHADER_CACHE для управление кешированием шейдеров (отключать только при наличии микрофризов в игре)
+* в EDIT_DB добавлена переменная PP_USE_SHADER_CACHE для управление кешированием шейдеров (отключать только при наличии микрофризов в игре)
* удален STEAM_PP из AUTOINSTALL (так как есть нативная версия STEAM для Linux со своим wine-proton)
###Scripts version 2098###
-* из за возможных проблем с некоторыми играми по умолчанию MANGOHUD выключен (включается в EDIT_DB -> MANGOHUD, или глобально добавлением export PW_MANGOHUD=1 в user.conf)
+* из за возможных проблем с некоторыми играми по умолчанию MANGOHUD выключен (включается в EDIT_DB -> MANGOHUD, или глобально добавлением export PP_MANGOHUD=1 в user.conf)
###Scripts version 2097###
* ускорен запуск всех приложений в PortProton до 200% в зависимости от системы
* обновлены дополнительные библиотеки "plugins_v4" (добавлена поддержка GALLIUM_NINE)
* добавлен выбор режима "GALLIUM_NINE" (поддержка нитивного DirectX9 на видеокарте с MESA драйвером)
* в новый интерфейс для WINETRICKS добавлена вкладка settings
-* в EDIT_DB добавлена переменная PW_USE_AMDVLK_DRIVER (использовать драйвер AMDVLK вместо RADV на видеокартах от AMD)
+* в EDIT_DB добавлена переменная PP_USE_AMDVLK_DRIVER (использовать драйвер AMDVLK вместо RADV на видеокартах от AMD)
* добавлена архивация ярлыков при создании образа префикса
* добавлено востановление ярлыков после распаковки образа префикса (путь до .exe файла корректируется автоматически)
* улучшена работа виртуального рабочего стола
@@ -163,7 +168,7 @@
* добавлена проверка на переменную LANG для работы PortProton на STEAM-DECK
* добавлен новый интерфейс для WINETRICKS
* обновлен "libs_v25" (обновлен steam runtime sniper, добавлена поддержка "MANGOHUD" и "vkBasalt" для систем: "RED OS" и "OpenSUSE")
-* в EDIT_DB добавлена переменная PW_FIX_VIDEO_IN_GAME (требуется для воспроизведения видео в некоторых играх, чтобы оно не было искажено, окрашено в розовый цвет)
+* в EDIT_DB добавлена переменная PP_FIX_VIDEO_IN_GAME (требуется для воспроизведения видео в некоторых играх, чтобы оно не было искажено, окрашено в розовый цвет)
###Scripts version 2095###
* обновлен "libs_v24" (hotfix)
@@ -256,7 +261,7 @@
* добавлен новый режим запуска: "VULKAN (WINE DXGI)" необходимый для некоторых новых игр использующих DX12
###Scripts version 2070###
-* добавлена переменная PW_D3D_EXTRAS_DISABLE в EDIT_DB для возможности отключения сторонних библиотек DirectX
+* добавлена переменная PP_D3D_EXTRAS_DISABLE в EDIT_DB для возможности отключения сторонних библиотек DirectX
* откат MANGOHUD до стабильной версии из libs_v19.2
* исправлено прерывание загрузки из интернета
* обновлен WINE_LOL_GE до версии 7.0
@@ -283,7 +288,7 @@
###Scripts version 2066###
* обновлен WINE PROTON_GE_7.0RC6-1 (совместно с dxvk и vkd3d)
-* по умолчанию используется версия wine от PROTON_GE (можно заменить на PROTON STEAM добавив в user.conf: export PW_WINE_USE=PROTON_STEAM)
+* по умолчанию используется версия wine от PROTON_GE (можно заменить на PROTON STEAM добавив в user.conf: export PP_WINE_USE=PROTON_STEAM)
* добавлена проверка на количество db файлов для один .exe
* исправлено отключение загрузочного лого League of Legends
* обновлены db файлы
@@ -318,7 +323,7 @@
* обновлена автоустановка GOG
###Scripts version 2058###
-* по умочанию выбран PW_WINE_USE=PROTON_STEAM для EGS
+* по умочанию выбран PP_WINE_USE=PROTON_STEAM для EGS
###Scripts version 2057###
* обновлены db файлы для EGS, UPLAY, STEAM
@@ -374,7 +379,7 @@
* добавлена переменная "DX12_DISABLE" в EDIT_DB для принудительного отключения DirectX12
* добавлена переменная "USE_WINE_DXGI" в EDIT_DB для принудительного использования встроенной библиотеки DXGI
* добавлена переменная "MANGOHUD_USER_CONF" для использования системных настроек MANGOHUD (GOverlay и т.п.)
-* для удобства в интерфейсе EDIT_DB удалены приставки "PW_" (название переменных в db файлах остались без изменений)
+* для удобства в интерфейсе EDIT_DB удалены приставки "PP_" (название переменных в db файлах остались без изменений)
* копирование библиотек DXVK и VKD3D заменено созданием символьных ссылок, что немного уменьшает время загрузки порта и увеличивает срок жизни для SSD =)
###Scripts version 2048###
@@ -446,7 +451,7 @@
* HOTFIX - исправление ошибки распаковки обновлений на некоторых системах
###Scripts version 2029###
-* MANGOHUD выключен по умолчанию (включается для каждой игры отдельно в EDIT_DB, либо глобально в /data/user.conf добавить: export PW_MANGOHUD=1
+* MANGOHUD выключен по умолчанию (включается для каждой игры отдельно в EDIT_DB, либо глобально в /data/user.conf добавить: export PP_MANGOHUD=1
###Scripts version 2028###
* добавлена поддержка UBUNTU 21.10
@@ -466,7 +471,7 @@
- удален режим VKD3D и на его месте теперь режим VULKAN (совместный режим DXVK и VKD3D)
- из за изменений описанных выше, теперь не надо перезапускать лаунры под разные игры под VULKAN
- увеличена производительность во многих играх работающих на DX9-11 при использовании PROTON_STEAM, или PROTON_GE
- - увеличена производительность во многих играх работающих на DX9-12 при использовании тестового PROTON_PW_6.19 (WMF работает)
+ - увеличена производительность во многих играх работающих на DX9-12 при использовании тестового PROTON_PP_6.19 (WMF работает)
###Scripts version 2023...2025###
* доработка новых функций для работы на разных ОС Linux
@@ -486,7 +491,7 @@
###Scripts version 2019###
* добавлена автоустановка League of Legends (Ура=)
-* добавлена поддержка DLSS (требуется включение в EDIT_DB параметра PW_USE_NVAPI_AND_DLSS)
+* добавлена поддержка DLSS (требуется включение в EDIT_DB параметра PP_USE_NVAPI_AND_DLSS)
* добавлена функция автоматического удаления старых версий контейнеров (libs_vXX)
* значительная переработка условий в скриптах
* уменьшена задержка при перезапуске порта
@@ -538,20 +543,20 @@ PS: Cefeiko - отдельный респект за помощь в отлов
###Scripts version 2011###
* в GUI AUTOINSTALL добавлены лаунчеры GAMEFORGE (TEST), ANKAMA и GLYPH - Спасибо chal55rus (Sergey P.)!
-* удален скрипт autoinstall и создан каталог pw_autoinstall (для удобного добавления новых автоустановщиков)
+* удален скрипт autoinstall и создан каталог pp_autoinstall (для удобного добавления новых автоустановщиков)
* в AUTOINSTALL обновлена версия скачиваемого GOG
* в GUI редактора db файлов добавлена кнопка "OPEN DB FILE" для внесение изменений в текстовом редакторе
-* в функцию pw_other_fixes добавлен поиск и выключение автозапуска PunkBuster в реестре префикса
+* в функцию pp_other_fixes добавлен поиск и выключение автозапуска PunkBuster в реестре префикса
###Scripts version 2010###
* FIX - исправлено управление мышкой в Overwatch и рекомендованы пар-ры запуска DXVK + PROTON_GE
* добавлены все предустановленные шейдеры в vkBasalt.conf
###Scripts version 2009###
-* FIX - исправлен перезапуск редактора db файлов при первом включении PW_GUI_DISABLED_CS (отключение запуска GUI)
+* FIX - исправлен перезапуск редактора db файлов при первом включении PP_GUI_DISABLED_CS (отключение запуска GUI)
###Scripts version 2008###
-* HOTFIX - исправление функции pw_kill_autostart
+* HOTFIX - исправление функции pp_kill_autostart
###Scripts version 2007###
* HOTFIX - установки WGC
@@ -563,10 +568,10 @@ PS: Cefeiko - отдельный респект за помощь в отлов
###PortProton-95### 02.09.2021 ###Scripts version 2005###
* обновлен db файл для steam (под ProtonGE связь с интернетом снова есть) - Спасибо Cefeiko!
* обновлен WINE PROTON_GE 6.16-GE1
-* переменная PW_GUI_DISABLED_CS сбрасывается при запуске порта (для совместимости со старыми ярлыками которые были созданы на предыдущих версиях порта)
+* переменная PP_GUI_DISABLED_CS сбрасывается при запуске порта (для совместимости со старыми ярлыками которые были созданы на предыдущих версиях порта)
* добавлена возможность создавать 32-х битный префикс (необходимо для будущей автоустановки League of Legends)
* в GUI AUTOINSTALL добавлены лаунчеры Bethesda.net Launcher и Rockstar-Games-Launcher - Спасибо chal55rus (Sergey P.)!
-* улучшена функция pw_kill_autostart
+* улучшена функция pp_kill_autostart
###Scripts version 2004###
* HOTFIX - использование и редактирование db файла Battle.NET
@@ -585,8 +590,8 @@ PS: Cefeiko - отдельный респект за помощь в отлов
* db файлы создаются автоматически при запуске любого *.exe
* последние выбранные режимы запуска сохраняются автоматически в db файлы
* добавлены переменные для более точной настройки vkBasalt под каждую игру с помощью db файлов:
-export PW_VKBASALT_EFFECTS="FakeHDR:cas" - можно изменять на любые эффекты из путь_до_порта/data/vkBasalt.conf
-export PW_VKBASALT_FFX_CAS="0.7" - изменение резкости в играх (от 0 до 1 с шагом 0.01)
+export PP_VKBASALT_EFFECTS="FakeHDR:cas" - можно изменять на любые эффекты из путь_до_порта/data/vkBasalt.conf
+export PP_VKBASALT_FFX_CAS="0.7" - изменение резкости в играх (от 0 до 1 с шагом 0.01)
так же можно настроить эти пар-ры глобально и для всех игр с помощью: путь_до_порта/data/user.conf
PS: не забывает для активации добавить переменную: export ENABLE_VKBASALT=1 в db файл, или для глобального включения в user.conf
* добавлены условия для правильного определения переменных LD_LIBRARY_PATH и LD_PRELOAD при автоматическом перезапуске скриптов
@@ -614,7 +619,7 @@ PS: не забывает для активации добавить перем
* обновление скриптов для поддержки нового тестового 91 порта включенным FSR по умолчанию (FSR работает только с играми dx9-12 запущеными под vulkan и при выборе разрешения в игре ниже чем поддерживает монитор)
###Scripts version 1121###
-* HOTFIX - перенос PW_NO_ESYNC=1 из default db в скрипт var
+* HOTFIX - перенос PP_NO_ESYNC=1 из default db в скрипт var
* HOTFIX - для успешного запуска игр WGC на системах где не работали игры WoWS и WoT
###Scripts version 1120###
@@ -635,14 +640,14 @@ PS: не забывает для активации добавить перем
###Scripts version 1117###
* доработка определение месторасполажения установленных шейдеров для vkBasalt
-* добавлена переменная "PW_SANDBOX_HOME_PATH" при существовании которой закрывается доступ к домашнему каталогу
+* добавлена переменная "PP_SANDBOX_HOME_PATH" при существовании которой закрывается доступ к домашнему каталогу
###Scripts version 1115 and 1116###
* тест обновления скриптов с github
###Scripts version 1114###
* добавлен пользовательский файл конфигурации (путь_до_PortProton/data/user.conf) который при наполнениии замещает настройки скрипта var и db файлов, но при обновлении скриптов остается неизменным, для сохранения ваших настроек.
-* автоматическое изменение раскладки клавиатуры работает только при установке значении переменной export PW_XKBD_RU_HACK=1 (можно прописывать как в скрипт var, так и в user.conf)
+* автоматическое изменение раскладки клавиатуры работает только при установке значении переменной export PP_XKBD_RU_HACK=1 (можно прописывать как в скрипт var, так и в user.conf)
* HOTFIX - определение месторасполажения установленных шейдеров для vkBasalt (для работы под Arch и Manjaro)
* проверка и обновления скриптов из github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz
@@ -703,11 +708,11 @@ PS: не забывает для активации добавить перем
* обновлены DXVK и VKD3D до актуального состояния на 12.06.2021
###Scripts version 1103###
-* HOTFIX - исправление функции pw_kill_autostart
+* HOTFIX - исправление функции pp_kill_autostart
###Scripts version 1102###
* фикс создания ярлыка после автоматической установки STEAM
-* в AUTOINSTALL добавлена функция pw_kill_autostart для запрета автозапуска лаунчера после автоматической установки
+* в AUTOINSTALL добавлена функция pp_kill_autostart для запрета автозапуска лаунчера после автоматической установки
* добавлены настройки в ~/.Xresources для корректного отображения текста в xterm, если данного файла нет в корне домашнего каталога
###PortProton-87### - RELEASE
@@ -737,7 +742,7 @@ PS: не забывает для активации добавить перем
* в AUTOINSTALL добавлены лаунчены UPLAY и STEAM
* тестовый фикс пропадания текстур под DXVK на некоторых системах
* для систем основанных на Arch добавлен автоматический проброс /run/media
-* все основные настройки контейнера перенесены в скрипт var: PW_RT_MOUNT_RO - только для чтения; PW_RT_MOUNT_RW - чтение и запись (пути писать в ковычках и разделять пробелом) Пример: PW_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}")
+* все основные настройки контейнера перенесены в скрипт var: PP_RT_MOUNT_RO - только для чтения; PP_RT_MOUNT_RW - чтение и запись (пути писать в ковычках и разделять пробелом) Пример: PP_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}")
###Scripts version 1093###
* возвращена переменная в скрипте var: WINE_WIN_START="start.exe /i /unix" что возвращает запуск .bat файлов и решает проблему с запуском игры WoT из WGC
@@ -746,7 +751,7 @@ PS: не забывает для активации добавить перем
* исправлена автоустановка WGC под запуском в контейнерном режиме
* добавлен фикс работы старых версий порта с новыми скриптами
* частичный откат кода со скриптов от PortProton-78
-* контейнерный режим включен по умолчанию и отключается в скрипте "каталог_порта/data/scripts/var" переменной PW_USE_RUNTIME=(1 - включен; 0 - выключен)
+* контейнерный режим включен по умолчанию и отключается в скрипте "каталог_порта/data/scripts/var" переменной PP_USE_RUNTIME=(1 - включен; 0 - выключен)
###PortProton-85### 27.05.2021 ###Scripts version 1090###
* для подготовки к релизу используется стабилная версия wine: Proton 6.3-4
@@ -760,7 +765,7 @@ PS: не забывает для активации добавить перем
###PortProton-84### 23.05.2021 ###Scripts version 1089### - BETA
* обновлен WINE до версии Proton 6.9 GE 1
-* контейнерный режим включен по умолчанию и отключается с помощью раскомментирования переменной в скрипте var #export PW_USE_RUNTIME=1
+* контейнерный режим включен по умолчанию и отключается с помощью раскомментирования переменной в скрипте var #export PP_USE_RUNTIME=1
* более чем в 2 раза увеличена производительность игр под VKD3D (Cyberpunk2077 и т.п.) за счет исползования dxgi из dxvk под vkd3d
* для префикса по умолчанию включена версия windows 10
* реализовано создание символьных ссылок с библиотек gstreamer в контейнер runtime для исправления ошибок WMF (gst)
@@ -776,7 +781,7 @@ PS: не забывает для активации добавить перем
* HOTFIX - изменена переменная export WINE_WIN_START="start.exe /b"
###Scripts version 1085###
-* в скрипт var добавлена и временно включена переменная export PW_USE_RUNTIME=0 (требуется рашение проблемы с загрузкой faudio)
+* в скрипт var добавлена и временно включена переменная export PP_USE_RUNTIME=0 (требуется рашение проблемы с загрузкой faudio)
* добавлено автоматическое создание каталога "${WINEPREFIX}/drive_c/users/Public/Documents/Steam"
* HOTFIX - обновление скриптов после установки происходило только при повторном запуске порта
@@ -845,16 +850,16 @@ PS: не забывает для активации добавить перем
###Scripts version 1067###
* HOTFIX - удален аргумент /b при запуске приложений (fix для WGC)
-* фикс запуска функции pw_other_fixes
+* фикс запуска функции pp_other_fixes
* добавлена проверка повторной установки EVE Online из AUTOINSTALL
###Scripts version 1066###
* виртуальный рабочий стол включенный из db файла, или глобально из скрипта "var" исправно работает с любой игрой/программой
-* фикс работы переменной "PW_GUI_DISABLED_CS=1" прописанной в .desktop файле
+* фикс работы переменной "PP_GUI_DISABLED_CS=1" прописанной в .desktop файле
* улучшеный режим запуска всех приложений с помощью аргументов start /b /unix
###Scripts version 1062, 1063, 1064 и 1065###
-* HOTFIX - убрана переменная PW_VULKAN_USE из скрипта runlib
+* HOTFIX - убрана переменная PP_VULKAN_USE из скрипта runlib
###PortProton-78### 03.05.2021 ###Scripts version 1061###
* обновлен Proton 6.3 (стабильная ветка + патченный netprofm.dll)
@@ -875,7 +880,7 @@ PS: не забывает для активации добавить перем
###PortProton-77### 01.05.2021 ###Scripts version 1057###
* обновлен Proton Experimental от 29.04.2021
* используется default_pfx при создании нового префикса
-* фикс выбора режима запуска при уже созданном ярлыке, но отсутствующем PW_VULKAN_USE
+* фикс выбора режима запуска при уже созданном ярлыке, но отсутствующем PP_VULKAN_USE
###Scripts version 1056###
* исправлена работа gnome-terminal если "$SHELL" не равен "/usr/bin/env bash"
@@ -890,8 +895,8 @@ PS: не забывает для активации добавить перем
###Scripts version 1053###
* HOTFIX - перенос всех функций в скрипте runlib (наверх)
-* добавлена переменная в default ##export PW_WINE_ALLOW_XIM=1, которая отключает XIM (X input manager)
-* в функции pw_init_pfx добавлено копирование всех dll из библиотек wine/lib(64) в префикс (если префикса не существует)
+* добавлена переменная в default ##export PP_WINE_ALLOW_XIM=1, которая отключает XIM (X input manager)
+* в функции pp_init_pfx добавлено копирование всех dll из библиотек wine/lib(64) в префикс (если префикса не существует)
###Scripts version 1052###
* отключена автоотчистка ~/.PortWINE
@@ -922,7 +927,7 @@ PS: не забывает для активации добавить перем
* в GUI PortProton добавлена кнопка F.A.Q. для открытия справочной страницы linux-gaming.ru
###Scripts version 1046###
-* обновлена верси VKD3D используемая по умолчанию до версии 2.3.1 (скрипт var, переменная export PW_DEF_VKD3D_VER=2.3.1)
+* обновлена верси VKD3D используемая по умолчанию до версии 2.3.1 (скрипт var, переменная export PP_DEF_VKD3D_VER=2.3.1)
* HOTFIX сохранение выбраного режима запуска в существующий файл db при создании ярлыка
###Scripts version 1045###
@@ -950,12 +955,12 @@ PS: не забывает для активации добавить перем
###PortProton-75### 24.04.2021 ###Scripts version 1040###
* обновлен wine Proton experimental 6.3 от 23.04.2021
-* добавлена функция pw_clear_pfx для очистки префикса порта во время обновления без затрагивания игр и программ
-* проверка и настройка переменных для MANGOHUD добавлены функцию pw_mangohud_check
+* добавлена функция pp_clear_pfx для очистки префикса порта во время обновления без затрагивания игр и программ
+* проверка и настройка переменных для MANGOHUD добавлены функцию pp_mangohud_check
* версия VKD3D по умолчанию = 2.3
-* добавлена поддержка DXR (RTX) в режиме VKD3D, при условии использования переменной PW_USE_DXR10=1
-* переменная PW_USE_DXR10 добавлена в default db
-* переменная PW_DXVK_NO_ASYNC переименованна в PW_VULKAN_NO_ASYNC и теперь отключает асинхронные вызовы как в DXVK, так и в VKD3D
+* добавлена поддержка DXR (RTX) в режиме VKD3D, при условии использования переменной PP_USE_DXR10=1
+* переменная PP_USE_DXR10 добавлена в default db
+* переменная PP_DXVK_NO_ASYNC переименованна в PP_VULKAN_NO_ASYNC и теперь отключает асинхронные вызовы как в DXVK, так и в VKD3D
###Scripts version 1039###
* фикс выбора режима запуска (dxvk, vkd3d, opengl)
@@ -986,14 +991,14 @@ PS: не забывает для активации добавить перем
* фикс для StarCraft (db)
* фикс работы порта в solus (отключение xterm)
* фикс создания циклической ссылки drive_c внутри drive_c
-* удален &>>/dev/null из pw_run (ломает запуск неторорых игр и приложений)
-* очистищен код функции pw_run (убрано условие optirun_on за ненадобностью)
+* удален &>>/dev/null из pp_run (ломает запуск неторорых игр и приложений)
+* очистищен код функции pp_run (убрано условие optirun_on за ненадобностью)
* исправлен минимальный набор библиотек в default db ( mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9)
###PortProton-72### 17.04.2021 ###Scripts version 1035###
* обновлен wine до версии Proton experimental-6.3-20210407b (совместно с dxvk и vkd3d)
-* добавлен фикс работы 32-битных игр в режиме DXVK (export PW_FORCE_LARGE_ADDRESS_AWARE=1)
+* добавлен фикс работы 32-битных игр в режиме DXVK (export PP_FORCE_LARGE_ADDRESS_AWARE=1)
* изменен список библиотек для запуска неизвестных игр (для которых еще нет db файлов)
* добавлен dxvk.conf в каталог data
* обновлеы libs до v.8
@@ -1003,7 +1008,7 @@ PS: не забывает для активации добавить перем
* добавлена кнопка редактирования найденного db файла
* ТЕСТ: автоудаление PINNED_LIBS и отключение setup.sh --force
* изменение сравнения версий скриптов и портов "$(curl -s --list-only "linux-gaming.ru/ftp/current_version/blabla_ver")"
-* автоматическая установка в префикс порта PW_DLL_INSTALL="vcrun2017 mfc42"
+* автоматическая установка в префикс порта PP_DLL_INSTALL="vcrun2017 mfc42"
* исправлено создание db файла при создании ярлыков, в именах которых присутствует одниковвые названия запускаемого файла
* исправили создания префикса на некоторых системах при использования встроенного xterm из ~/PortWINE/libs
@@ -1017,7 +1022,7 @@ PS: не забывает для активации добавить перем
* перенос libs с сервера linux-gaming.ru на github.com/Castro-Fidel/PortWINE/releases/
* скачивание mono оф. github mono
* скачивание gecko оф. ftp winehq
-* в /data/scripts/vars/PortProton_vars добавлена переменная PW_MANGOHUD=1 что включает HUD для монитроринга FPS, нагрузку на CPU, GPU и т.п (при условии что в системе предустановлен пакет mangohud)
+* в /data/scripts/vars/PortProton_vars добавлена переменная PP_MANGOHUD=1 что включает HUD для монитроринга FPS, нагрузку на CPU, GPU и т.п (при условии что в системе предустановлен пакет mangohud)
* обновлена локализация подсказок при наведении на кнопки на экране выбора режимов запуска (русская и английская версии)
* добавлена проверка соединения с серверами и докачки winetricks, libs, mono, gecko.
* произведена глобальная чистка кода и вынос множества решений в отдельные функции
diff --git a/data_from_portwine/img/gui/covers/pw_loading_cover.gif b/data_from_portwine/img/gui/covers/pp_loading_cover.gif
similarity index 100%
rename from data_from_portwine/img/gui/covers/pw_loading_cover.gif
rename to data_from_portwine/img/gui/covers/pp_loading_cover.gif
diff --git a/data_from_portwine/img/gui/covers/pw_update_pfx_cover.gif b/data_from_portwine/img/gui/covers/pp_update_pfx_cover.gif
similarity index 100%
rename from data_from_portwine/img/gui/covers/pw_update_pfx_cover.gif
rename to data_from_portwine/img/gui/covers/pp_update_pfx_cover.gif
diff --git a/data_from_portwine/plugins/pp-games-lib b/data_from_portwine/plugins/pp-games-lib
index ed6bb9c6..cf84168a 100755
--- a/data_from_portwine/plugins/pp-games-lib
+++ b/data_from_portwine/plugins/pp-games-lib
@@ -200,10 +200,10 @@ class InstallGame(QDialog):
script = f"""
mkdir -p {shlex.quote(g.install_pfx + '/drive_c/Games')}
echo '
- export PW_VULKAN_USE=1
- export PW_GUI_DISABLED_CS=1
- export PW_PREFIX_NAME=INSTALL
- export PW_DLL_INSTALL=mfc42
+ export PP_VULKAN_USE=1
+ export PP_GUI_DISABLED_CS=1
+ export PP_PREFIX_NAME=INSTALL
+ export PP_DLL_INSTALL=mfc42
' > {ppdb}
{shlex.quote(g.scripts_dir + '/start.sh')} {shlex.quote(exe_file)}
rm -f {ppdb}
@@ -246,10 +246,10 @@ class InstallGame(QDialog):
export portwine_exe={exe_file}
cd {shlex.quote(g.scripts_dir)}
. {shlex.quote(g.scripts_dir + '/runlib')}
- pw_create_gui_png
- pw_init_db
+ pp_create_gui_png
+ pp_init_db
[ -f {ppdb} ] && . {ppdb}
- echo -e "export PW_VULKAN_USE=${{PW_VULKAN_USE:-1}}\nexport PW_GUI_DISABLED_CS=1" >> {ppdb}
+ echo -e "export PP_VULKAN_USE=${{PP_VULKAN_USE:-1}}\nexport PP_GUI_DISABLED_CS=1" >> {ppdb}
"""
run(['bash', '-c', script])
icon_path = g.base_dir + '/data/img/' + Path(item.text()).stem + '.png'
@@ -335,7 +335,7 @@ class GameList(QListWidget):
with open(ppdb, 'r') as read:
with open(ppdb + '.new', 'w') as write:
while (line := read.readline()):
- if 'PW_GUI_DISABLED_CS' not in line:
+ if 'PP_GUI_DISABLED_CS' not in line:
write.write(line)
os.rename(ppdb + '.new', ppdb)
if action == remove:
diff --git a/data_from_portwine/scripts/credits b/data_from_portwine/scripts/credits
index 5f6f7c5a..84e94884 100644
--- a/data_from_portwine/scripts/credits
+++ b/data_from_portwine/scripts/credits
@@ -5,8 +5,8 @@ if [ "${update_loc}" = "RUS" ]
then
KEY_CREDITS=$RANDOM
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
---image-path="$PW_GUI_ICON_PATH" --image="port_proton" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
+--image-path="$PP_GUI_ICON_PATH" --image="port_proton" \
--text-align=center --scroll --text="PortProton v. ${install_ver}
scripts v. ${scripts_install_ver}
@@ -18,7 +18,7 @@ https://linux-gaming.ru
Подробнее см. в Лицензия." &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=2 \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=2 \
--text-align=center --scroll --text="Автор: Casro-Fidel (Михаил Тергоев)
Помощники разработчика и тестировщики:
@@ -38,7 +38,7 @@ andrey4korop
zorn
" &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< " Лицензия Массачусетского технологического института (MIT License)
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< " Лицензия Массачусетского технологического института (MIT License)
Авторские права (©) 2022 Castro-Fidel (linux-gaming.ru)
@@ -61,7 +61,7 @@ zorn
ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ СДЕЛКАМИ В
ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ." &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=4 \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=4 \
--text-info --fontname="Serif bold italic 12" --show-uri --scroll \
<<< ' Проект поддержали:
https://boosty.to/linux-gaming.ru
@@ -261,7 +261,7 @@ zorn
Список будет дополняться...' &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Хотите присоединится и помочь в развитии проекта:" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Хотите присоединится и помочь в развитии проекта:" \
--title=JOIN --window-icon=group --image=system-config-users --uri-color=red --show-uri \
--text-info --scroll <<< \
"Website: https://linux-gaming.ru/
@@ -277,7 +277,7 @@ Yandex кошелек: 410012267513818
Задонатить на стрим:
https://www.donationalerts.com/r/portwine_linux" &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
--fontname="Serif bold italic 10" --text-info <<< " Сторонние библиотеки, которые используются в PortProton
PortProton собран на основе бесплатных библиотек программного обеспечения:
@@ -288,20 +288,20 @@ Kron4ek/Wine: https://github.com/Kron4ek/Wine-Builds
YAD: https://github.com/v1cont/yad
ZENITY: https://github.com/GNOME/zenity" &
-"${pw_yad_new}" --title "О НАС" --key="${KEY_CREDITS}" --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
+"${pp_yad_new}" --title "О НАС" --key="${KEY_CREDITS}" --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
--center --notebook --no-buttons --tab-pos=bottom \
--tab="О PORTPROTON" --tab="АВТОРЫ" --tab="ЛИЦЕНЗИЯ" --tab="СПОНСОРЫ" --tab="ПРИСОЕДИНИТЬСЯ" \
--tab="БИБЛИОТЕКИ"
- /usr/bin/env bash -c ${pw_full_command_line[*]}
+ /usr/bin/env bash -c ${pp_full_command_line[*]}
else
KEY_CREDITS=$RANDOM
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
---image-path="$PW_GUI_ICON_PATH" --image="port_proton" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=1 --show-uri \
+--image-path="$PP_GUI_ICON_PATH" --image="port_proton" \
--text-align=center --scroll --text="PortProton v. ${install_ver}
scripts v. ${scripts_install_ver}
@@ -314,7 +314,7 @@ This program comes with absolutely no warranty.
See the License for details." &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=2 \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=2 \
--text-align=center --scroll --text="Author: Casro-Fidel (Mikhail Tergoev)
Developer assistants and testers:
@@ -334,7 +334,7 @@ andrey4korop
zorn
" &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< "MIT License
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=3 --text-info --scroll <<< "MIT License
Copyright (©) 2022 Castro-Fidel (linux-gaming.ru)
@@ -356,7 +356,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE." &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=4 \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=4 \
--text-info --fontname="Serif bold italic 12" --show-uri --scroll \
<<< ' The project was supported:
https://boosty.to/linux-gaming.ru:
@@ -554,7 +554,7 @@ SOFTWARE." &
The list will be updated...' &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Do you want to join and help in the development of the project:" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=5 --text="Do you want to join and help in the development of the project:" \
--title=JOIN --window-icon=group --image=system-config-users --uri-color=red --show-uri \
--text-info --scroll <<< \
"Website: http://linux-gaming.ru
@@ -570,7 +570,7 @@ Yandex wallet: 410012267513818
Donat on stream:
https://www.donationalerts.com/r/portwine_linux" &
-"${pw_yad_new}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
+"${pp_yad_new}" --plug="${KEY_CREDITS}" --tabnum=6 --show-uri --title="THIRD PARTY LIBRARIES" \
--fontname="Serif bold italic 10" --text-info <<< " Third-party libraries that are used in PortProton
PortProton is built on the basis of the following free software libraries:
@@ -582,10 +582,10 @@ YAD: https://github.com/v1cont/yad
ZENITY: https://github.com/GNOME/zenity" &
-"${pw_yad_new}" --title "ABOUT US" --key="${KEY_CREDITS}" --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
+"${pp_yad_new}" --title "ABOUT US" --key="${KEY_CREDITS}" --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
--center --notebook --no-buttons --tab-pos=bottom \
--tab="ABOUT PORTPROTON" --tab="AUTORS" --tab="LICENSE" --tab="SPONSORS" --tab="JOIN" \
--tab="THIRD PARTY LIBRARIES"
- /usr/bin/env bash -c ${pw_full_command_line[*]}
+ /usr/bin/env bash -c ${pp_full_command_line[*]}
fi
diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper
index d2bbec3b..954c131a 100755
--- a/data_from_portwine/scripts/functions_helper
+++ b/data_from_portwine/scripts/functions_helper
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
-pw_ping_test () {
+pp_ping_test () {
ping -w3 -c1 github.com &> /dev/null
[ "$?" == "0" ] && return 0 || return 1
}
@@ -176,9 +176,9 @@ var_radv_perftest_config_update () {
}
var_vk_istance_layers_config_update () {
- if [ ! -z "${PW_VK_INSTANCE_LAYERS}" ]
- then export PW_VK_INSTANCE_LAYERS="${1}:${PW_VK_INSTANCE_LAYERS}"
- else export PW_VK_INSTANCE_LAYERS="${1}"
+ if [ ! -z "${PP_VK_INSTANCE_LAYERS}" ]
+ then export PP_VK_INSTANCE_LAYERS="${1}:${PP_VK_INSTANCE_LAYERS}"
+ else export PP_VK_INSTANCE_LAYERS="${1}"
fi
return 0
}
@@ -201,38 +201,38 @@ unpack_tar () {
[ "${PIPESTATUS[0]}" != 0 ] && print_error "File $1 unpacking error." && return 1 || return 0
}
-pw_clear_pfx () {
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/userdef.reg"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.update-timestamp"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/.windows-serial"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/Setup"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/Windows"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/WindowsTask"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/Package Cache"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Local Settings/Application Data/Microsoft"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Local Settings/Application Data/Temp"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Local Settings/Temporary Internet Files"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Application Data/Microsoft"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Application Data/wine_gecko"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Temp"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Application Data/Microsoft"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Application Data/Temp"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Temporary Internet Files"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Application Data/Microsoft"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Application Data/wine_gecko"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Temp"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files/Internet Explorer"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files/Windows Media Player"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files/Windows NT"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files/Common Files"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files (x86)/Internet Explorer"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files (x86)/Common Files"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files (x86)/Windows Media Player"
- try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/Program Files (x86)/Windows NT"
+pp_clear_pfx () {
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/user.reg"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/userdef.reg"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.update-timestamp"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/.windows-serial"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/ProgramData/Setup"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/ProgramData/Windows"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/ProgramData/WindowsTask"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/ProgramData/Package Cache"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Local Settings/Application Data/Microsoft"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Local Settings/Application Data/Temp"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Local Settings/Temporary Internet Files"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Application Data/Microsoft"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Application Data/wine_gecko"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Temp"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Application Data/Microsoft"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Application Data/Temp"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Local Settings/Temporary Internet Files"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Application Data/Microsoft"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Application Data/wine_gecko"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Temp"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files/Internet Explorer"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files/Windows Media Player"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files/Windows NT"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files/Common Files"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files (x86)/Internet Explorer"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files (x86)/Common Files"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files (x86)/Windows Media Player"
+ try_remove_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/Program Files (x86)/Windows NT"
try_remove_dir "${PORT_WINE_TMP_PATH}/mesa_shader_cache"
rm -f "${PORT_WINE_TMP_PATH}"/*.bin
rm -f "${PORT_WINE_TMP_PATH}"/*.foz
@@ -249,22 +249,22 @@ check_user_conf () {
}
init_wine_ver () {
- if [[ -z `ls "${PORT_WINE_PATH}/data/dist/" | grep "${PW_WINE_USE}"` ]] ; then
- if [[ ! -z `echo "${PW_WINE_USE}" | grep "PROTON_STEAM"` ]] ; then
- export PW_WINE_USE=PROTON_STEAM
+ if [[ -z `ls "${PORT_WINE_PATH}/data/dist/" | grep "${PP_WINE_USE}"` ]] ; then
+ if [[ ! -z `echo "${PP_WINE_USE}" | grep "PROTON_LG"` ]] ; then
+ export PP_WINE_USE=PROTON_LG
else
- export PW_WINE_USE=PROTON_GE
+ export PP_WINE_USE=PROTON_GE
fi
fi
- if [[ ! -z `echo "${PW_WINE_USE}" | grep "^PROTON_STEAM$"` ]]
- then export PW_WINE_USE="${PW_PROTON_STEAM_VER}"
- elif [[ ! -z `echo "${PW_WINE_USE}" | grep "^PROTON_GE$"` ]]
- then export PW_WINE_USE="${PW_PROTON_GE_VER}"
+ if [[ ! -z `echo "${PP_WINE_USE}" | grep "^PROTON_LG$"` ]]
+ then export PP_WINE_USE="${PP_PROTON_LG_VER}"
+ elif [[ ! -z `echo "${PP_WINE_USE}" | grep "^PROTON_GE$"` ]]
+ then export PP_WINE_USE="${PP_PROTON_GE_VER}"
fi
- [ ! -z "${PW_WINE_VER}" ] && export PW_WINE_USE=`echo "${PW_WINE_VER}" | tr [[:lower:]] [[:upper:]]`
- [ ! -z "${PW_WINE_USE}" ] && export PW_WINE_USE=`echo "${PW_WINE_USE}" | tr [[:lower:]] [[:upper:]]`
- unset PW_WINE_VER
- export WINEDIR="${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ [ ! -z "${PP_WINE_VER}" ] && export PP_WINE_USE=`echo "${PP_WINE_VER}" | tr [[:lower:]] [[:upper:]]`
+ [ ! -z "${PP_WINE_USE}" ] && export PP_WINE_USE=`echo "${PP_WINE_USE}" | tr [[:lower:]] [[:upper:]]`
+ unset PP_WINE_VER
+ export WINEDIR="${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
export WINE="${WINEDIR}/bin/wine"
export WINELOADER="${WINEDIR}/bin/wine"
export WINESERVER="${WINEDIR}/bin/wineserver"
@@ -293,7 +293,7 @@ init_wine_ver () {
done
fi
if [[ -d "${WINEDIR}" ]] ; then
- [[ ! -f "${WINEDIR}/version" ]] && echo "${PW_WINE_USE}" > "${WINEDIR}/version"
+ [[ ! -f "${WINEDIR}/version" ]] && echo "${PP_WINE_USE}" > "${WINEDIR}/version"
if [[ ! -d "${WINEDIR}/lib64/" && -d "${WINEDIR}/lib/wine/x86_64-unix" ]] ; then
create_new_dir "${WINEDIR}/lib64/wine"
@@ -306,8 +306,8 @@ init_wine_ver () {
for copy_proton_dll in "dxvk" "vkd3d-proton" ; do
if [[ ! -d "${WINEDIR}/lib/wine/${copy_proton_dll}/" || ! -d "${WINEDIR}/lib64/wine/${copy_proton_dll}/" ]] ; then
- try_copy_dir "${PORT_WINE_PATH}/data/dist/${PW_PROTON_GE_VER}/lib/wine/${copy_proton_dll}" "${WINEDIR}/lib/wine/"
- try_copy_dir "${PORT_WINE_PATH}/data/dist/${PW_PROTON_GE_VER}/lib64/wine/${copy_proton_dll}" "${WINEDIR}/lib64/wine/"
+ try_copy_dir "${PORT_WINE_PATH}/data/dist/${PP_PROTON_GE_VER}/lib/wine/${copy_proton_dll}" "${WINEDIR}/lib/wine/"
+ try_copy_dir "${PORT_WINE_PATH}/data/dist/${PP_PROTON_GE_VER}/lib64/wine/${copy_proton_dll}" "${WINEDIR}/lib64/wine/"
fi
done
@@ -337,16 +337,16 @@ init_wine_ver () {
return 0
}
-pw_init_runtime () {
+pp_init_runtime () {
if [[ -n "$(grep "ROSA Fresh" "/etc/os-release")" ]] ; then
export LOCPATH="/run/host/usr/share/locale/"
fi
- PW_PV_OVERRIDES="/usr/lib/pressure-vessel/overrides/lib"
- export PW_LD_LIBRARY_PATH="${WINEDIR}/lib64:${WINEDIR}/lib:${PW_WINELIB}/portable/lib/lib64:${PW_WINELIB}/portable/lib/lib32:${PW_PV_OVERRIDES}/x86_64-linux-gnu/aliases:${PW_PV_OVERRIDES}/i386-linux-gnu/aliases"
+ PP_PV_OVERRIDES="/usr/lib/pressure-vessel/overrides/lib"
+ export PP_LD_LIBRARY_PATH="${WINEDIR}/lib64:${WINEDIR}/lib:${PP_WINELIB}/portable/lib/lib64:${PP_WINELIB}/portable/lib/lib32:${PP_PV_OVERRIDES}/x86_64-linux-gnu/aliases:${PP_PV_OVERRIDES}/i386-linux-gnu/aliases"
- export PW_VK_LAYER_PATH="${PW_WINELIB}/portable/share/vulkan/implicit_layer.d"
+ export PP_VK_LAYER_PATH="${PP_WINELIB}/portable/share/vulkan/implicit_layer.d"
export DISABLE_VK_LAYER_VALVE_steam_fossilize_1=1
export DISABLE_VK_LAYER_VALVE_steam_overlay_1=1
@@ -356,10 +356,10 @@ pw_init_runtime () {
else export PATH_TMP="${PATH}"
fi
if [ ! -z "${PATH}" ]
- then export PATH="${WINEDIR}/bin:${PATH}:${PW_WINELIB}/portable/bin"
- else export PATH="${WINEDIR}/bin:${PW_WINELIB}/portable/bin"
- fi
- if [ "${PW_USE_GSTREAMER}" = 1 ] ; then
+ then export PATH="${WINEDIR}/bin:${PP_WINELIB}/portable/bin:${PP_WINELIB}/pressure-vessel/bin/:${PATH}"
+ else export PATH="${WINEDIR}/bin:${PP_WINELIB}/portable/bin:${PP_WINELIB}/pressure-vessel/bin/"
+ fi
+ if [ "${PP_USE_GSTREAMER}" = 1 ] ; then
if [ -d "${WINEDIR}/lib64/gstreamer-1.0" ] ; then
export GST_PLUGIN_SYSTEM_PATH_1_0="${WINEDIR}/lib64/gstreamer-1.0:${WINEDIR}/lib/gstreamer-1.0"
fi
@@ -372,23 +372,23 @@ pw_init_runtime () {
var_winedlloverride_update "winegstreamer="
fi
- if [[ ! -z "${PW_SANDBOX_HOME_PATH}" && -d "${PW_SANDBOX_HOME_PATH}" ]] ; then
- export pw_runtime="${PW_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
+ if [[ ! -z "${PP_SANDBOX_HOME_PATH}" && -d "${PP_SANDBOX_HOME_PATH}" ]] ; then
+ export pp_runtime="${PP_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
--unshare-home \
- --home="${PW_SANDBOX_HOME_PATH}" \
+ --home="${PP_SANDBOX_HOME_PATH}" \
--no-gc-runtimes \
--gc-legacy-runtimes \
--copy-runtime \
--remove-game-overlay \
- ${PW_ADD_TO_ARGS_IN_RUNTIME} --"
+ ${PP_ADD_TO_ARGS_IN_RUNTIME} --"
else
- export pw_runtime="${PW_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
+ export pp_runtime="${PP_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
--share-home \
--no-gc-runtimes \
--gc-legacy-runtimes \
--copy-runtime \
--remove-game-overlay \
- ${PW_ADD_TO_ARGS_IN_RUNTIME} --"
+ ${PP_ADD_TO_ARGS_IN_RUNTIME} --"
fi
export PRESSURE_VESSEL_IMPORT_VULKAN_LAYERS=0
@@ -396,18 +396,18 @@ pw_init_runtime () {
unset PRESSURE_VESSEL_RUNTIME_ARCHIVE
export PRESSURE_VESSEL_RUNTIME=runtime
- export PRESSURE_VESSEL_RUNTIME_BASE="${PW_WINELIB}"
- export PRESSURE_VESSEL_VARIABLE_DIR="${PW_WINELIB}/var"
- export PRESSURE_VESSEL_PREFIX="${PW_WINELIB}/pressure-vessel"
+ export PRESSURE_VESSEL_RUNTIME_BASE="${PP_WINELIB}"
+ export PRESSURE_VESSEL_VARIABLE_DIR="${PP_WINELIB}/var"
+ export PRESSURE_VESSEL_PREFIX="${PP_WINELIB}/pressure-vessel"
unset PRESSURE_VESSEL_FILESYSTEMS_RO PRESSURE_VESSEL_FILESYSTEMS_RW
- for PWRTMRO in ${PW_RT_MOUNT_RO[*]} ; do
+ for PWRTMRO in ${PP_RT_MOUNT_RO[*]} ; do
if [ ! -z "${PRESSURE_VESSEL_FILESYSTEMS_RO}" ]
then export PRESSURE_VESSEL_FILESYSTEMS_RO="${PRESSURE_VESSEL_FILESYSTEMS_RO}:${PWRTMRO}"
else export PRESSURE_VESSEL_FILESYSTEMS_RO="${PWRTMRO}"
fi
done
- for PWRTMRW in ${PW_RT_MOUNT_RW[*]} ; do
+ for PWRTMRW in ${PP_RT_MOUNT_RW[*]} ; do
if [ ! -z "${PRESSURE_VESSEL_FILESYSTEMS_RW}" ]
then export PRESSURE_VESSEL_FILESYSTEMS_RW="${PRESSURE_VESSEL_FILESYSTEMS_RW}:${PWRTMRW}"
else export PRESSURE_VESSEL_FILESYSTEMS_RW="${PWRTMRW}"
@@ -416,38 +416,38 @@ pw_init_runtime () {
echo "RUNTIME is enabled"
}
-pw_mangohud_check () {
- if [[ "${PW_MANGOHUD}" == "1" ]] ; then
- export PW_MANGOHUD_SLR='MANGOHUD=1'
+pp_mangohud_check () {
+ if [[ "${PP_MANGOHUD}" == "1" ]] ; then
+ export PP_MANGOHUD_SLR='MANGOHUD=1'
MANGOHUD_LIB_NAME="libMangoHud.so"
- if [[ "${PW_VULKAN_USE}" = "0" ]] ; then
+ if [[ "${PP_VULKAN_USE}" = "0" ]] ; then
MANGOHUD_LIB_NAME="libMangoHud_dlsym.so:${MANGOHUD_LIB_NAME}"
fi
- if [[ ! -z "${PW_LD_PRELOAD}" ]]
- then export PW_LD_PRELOAD="${PW_LD_PRELOAD}:${MANGOHUD_LIB_NAME}"
- else export PW_LD_PRELOAD="${MANGOHUD_LIB_NAME}"
+ if [[ ! -z "${PP_LD_PRELOAD}" ]]
+ then export PP_LD_PRELOAD="${PP_LD_PRELOAD}:${MANGOHUD_LIB_NAME}"
+ else export PP_LD_PRELOAD="${MANGOHUD_LIB_NAME}"
fi
var_vk_istance_layers_config_update "VK_LAYER_MANGOHUD_overlay64:VK_LAYER_MANGOHUD_overlay32"
print_info "MANGOHUD is enabled"
else
- export PW_MANGOHUD_SLR='DISABLE_MANGOHUD=1'
+ export PP_MANGOHUD_SLR='DISABLE_MANGOHUD=1'
print_info "MANGOHUD is disabled"
fi
return 0
}
-pw_vkbasalt_check () {
- if [[ "${ENABLE_VKBASALT}" == 1 ]] && [[ "${PW_VULKAN_USE}" != "0" ]] && [[ "${PW_VULKAN_USE}" != "3" ]] ; then
- if [[ -z "${PW_VKBASALT_EFFECTS}" ]] ; then
- export PW_VKBASALT_EFFECTS="Curves:cas"
+pp_vkbasalt_check () {
+ if [[ "${ENABLE_VKBASALT}" == 1 ]] && [[ "${PP_VULKAN_USE}" != "0" ]] && [[ "${PP_VULKAN_USE}" != "3" ]] ; then
+ if [[ -z "${PP_VKBASALT_EFFECTS}" ]] ; then
+ export PP_VKBASALT_EFFECTS="Curves:cas"
fi
- sed -ri "s/effects = .*/effects = ${PW_VKBASALT_EFFECTS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf"
- if [[ -z "${PW_VKBASALT_FFX_CAS}" ]] ; then
- export PW_VKBASALT_FFX_CAS="0.7"
+ sed -ri "s/effects = .*/effects = ${PP_VKBASALT_EFFECTS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf"
+ if [[ -z "${PP_VKBASALT_FFX_CAS}" ]] ; then
+ export PP_VKBASALT_FFX_CAS="0.7"
fi
- sed -ri "s/casSharpness .*/casSharpness = ${PW_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf"
+ sed -ri "s/casSharpness .*/casSharpness = ${PP_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf"
export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf"
- # sed -i s/'> = 0.05;'/'> = 0.035;'/ "${PW_WINELIB}/pressure-vessel/reshade/shaders/FilmGrain2.fx"
+ # sed -i s/'> = 0.05;'/'> = 0.035;'/ "${PP_WINELIB}/pressure-vessel/reshade/shaders/FilmGrain2.fx"
var_vk_istance_layers_config_update "VK_LAYER_VKBASALT_post_processing32:VK_LAYER_VKBASALT_post_processing64"
print_info "vkBasalt is enabled"
else
@@ -466,23 +466,23 @@ check_nvidia_vk_icd_file () {
}
regdlloverrides () {
- PW_DLL_EXE=`echo $@ | awk -F: '{print $1}'`
- PW_DLL_LIB=`echo $@ | awk -F: '{print $2}' | awk -F= '{print $1}'`
- PW_DLL_SET=`echo $@ | awk -F= '{print $NF}'`
- case "${PW_DLL_SET}" in
- "n,b") PW_DLL_IN_REG="native,builtin" ;;
- "b,n") PW_DLL_IN_REG="builtin,native" ;;
- "n") PW_DLL_IN_REG="native" ;;
- "b") PW_DLL_IN_REG="builtin" ;;
- *) PW_DLL_IN_REG="" ;;
+ PP_DLL_EXE=`echo $@ | awk -F: '{print $1}'`
+ PP_DLL_LIB=`echo $@ | awk -F: '{print $2}' | awk -F= '{print $1}'`
+ PP_DLL_SET=`echo $@ | awk -F= '{print $NF}'`
+ case "${PP_DLL_SET}" in
+ "n,b") PP_DLL_IN_REG="native,builtin" ;;
+ "b,n") PP_DLL_IN_REG="builtin,native" ;;
+ "n") PP_DLL_IN_REG="native" ;;
+ "b") PP_DLL_IN_REG="builtin" ;;
+ *) PP_DLL_IN_REG="" ;;
esac
- grep 'HKCU,Software\\Wine\\AppDefaults\\'"${PW_DLL_EXE}"'\\DllOverrides,'\"${PW_DLL_LIB}\",0x2,\"${PW_DLL_IN_REG}\" "${WINEDIR}/share/wine/wine.inf"
+ grep 'HKCU,Software\\Wine\\AppDefaults\\'"${PP_DLL_EXE}"'\\DllOverrides,'\"${PP_DLL_LIB}\",0x2,\"${PP_DLL_IN_REG}\" "${WINEDIR}/share/wine/wine.inf"
if [[ "$?" != "0" ]] ; then
grep "ProtonOverrides" "${WINEDIR}/share/wine/wine.inf"
if [[ "$?" == "0" ]] ; then
- sed -i "/\[ProtonOverrides\]/a HKCU,Software\\\Wine\\\AppDefaults\\\\${PW_DLL_EXE}\\\DllOverrides,\"${PW_DLL_LIB}\",0x2,\"${PW_DLL_IN_REG}\"" "${WINEDIR}/share/wine/wine.inf"
+ sed -i "/\[ProtonOverrides\]/a HKCU,Software\\\Wine\\\AppDefaults\\\\${PP_DLL_EXE}\\\DllOverrides,\"${PP_DLL_LIB}\",0x2,\"${PP_DLL_IN_REG}\"" "${WINEDIR}/share/wine/wine.inf"
else
- sed -i "/\[SteamClient.ntamd64\]/a HKCU,Software\\\Wine\\\AppDefaults\\\\${PW_DLL_EXE}\\\DllOverrides,\"${PW_DLL_LIB}\",0x2,\"${PW_DLL_IN_REG}\"" "${WINEDIR}/share/wine/wine.inf"
+ sed -i "/\[SteamClient.ntamd64\]/a HKCU,Software\\\Wine\\\AppDefaults\\\\${PP_DLL_EXE}\\\DllOverrides,\"${PP_DLL_LIB}\",0x2,\"${PP_DLL_IN_REG}\"" "${WINEDIR}/share/wine/wine.inf"
fi
fi
}
@@ -498,17 +498,17 @@ export -f wait_wineserver
kill_portwine () {
wine_pids="`ls -l /proc/*/exe 2>/dev/null | grep -ie ${portname} | grep -E 'wine(64)?-preloader|wineserver' | awk -F/ '{print $3}'`"
if [ ! -z "${wine_pids}" ] ; then
- for pw_kill_pids in ${wine_pids} ; do
- if [ "`ps cax | grep ${pw_kill_pids}`" ] ; then
- kill -n 9 ${pw_kill_pids} > /dev/null 2>&1
+ for pp_kill_pids in ${wine_pids} ; do
+ if [ "`ps cax | grep ${pp_kill_pids}`" ] ; then
+ kill -n 9 ${pp_kill_pids} > /dev/null 2>&1
fi
done
fi
bwrap_pids="`pgrep -a wrap | grep ${portname} | head -n 1 | awk '{print $1}'`"
if [ ! -z "${bwrap_pids}" ] ; then
- for pw_kill_pids in ${bwrap_pids} ; do
- if [ "`ps cax | grep ${pw_kill_pids}`" ] ; then
- kill -n 9 ${pw_kill_pids} > /dev/null 2>&1
+ for pp_kill_pids in ${bwrap_pids} ; do
+ if [ "`ps cax | grep ${pp_kill_pids}`" ] ; then
+ kill -n 9 ${pp_kill_pids} > /dev/null 2>&1
fi
done
fi
@@ -516,7 +516,7 @@ kill_portwine () {
}
export -f kill_portwine
-pw_kill_autostart () {
+pp_kill_autostart () {
sleep 5
while true ; do
@@ -530,27 +530,27 @@ pw_kill_autostart () {
fi
done
- if [[ ! -z "`ls "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/drive_c/ | grep -m 1 ".tmp"`" ]] ; then
- rm -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/drive_c/*.tmp
+ if [[ ! -z "`ls "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/drive_c/ | grep -m 1 ".tmp"`" ]] ; then
+ rm -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/drive_c/*.tmp
fi
return 0
}
-export -f pw_kill_autostart
+export -f pp_kill_autostart
stop_portwine () {
if [ "$int_xneur" = "1" ]; then
xneur &
fi
- if [ ! -z ${PW_XKBD} ]; then
- setxkbmap ${PW_XKBD}
+ if [ ! -z ${PP_XKBD} ]; then
+ setxkbmap ${PP_XKBD}
fi
- pw_stop_progress_bar
+ pp_stop_progress_bar
try_remove_file "${PORT_SCRIPTS_PATH}/0"
try_remove_file "${PORT_SCRIPTS_PATH}/1"
kill_portwine &&
- try_remove_dir "${PW_WINELIB}/var"
- find "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/" -maxdepth 1 -type f -name "*.tmp" -delete
+ try_remove_dir "${PP_WINELIB}/var"
+ find "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/" -maxdepth 1 -type f -name "*.tmp" -delete
if [ ! -z "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`" ] ; then
kill -s SIGUSR1 "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`" 2>/dev/null
fi
@@ -561,138 +561,141 @@ stop_portwine () {
}
export -f stop_portwine
-pw_download_libs () {
- if [ ! -z "`ls ${PORT_WINE_TMP_PATH} | grep libs_v | grep -v libs${PW_LIBS_VER}`" ] ; then
- for RM_LIBS in `ls ${PORT_WINE_TMP_PATH} | grep libs_v | grep -v libs${PW_LIBS_VER}`
+pp_download_libs () {
+ if [ ! -z "`ls ${PORT_WINE_TMP_PATH} | grep libs_v | grep -v libs${PP_LIBS_VER}`" ] ; then
+ for RM_LIBS in `ls ${PORT_WINE_TMP_PATH} | grep libs_v | grep -v libs${PP_LIBS_VER}`
do try_remove_dir "${PORT_WINE_TMP_PATH}/${RM_LIBS}"
done
fi
- if [[ ! -e "${PW_WINELIB}/portable/bin/yad" || ! -e "${PW_WINELIB}/portable/lib/p7zip/7z" \
- || ! -e "${PW_WINELIB}/runtime/files/bin/vkcube" || -e "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}.tar.xz" ]] ;
+ if [[ ! -e "${PP_WINELIB}/portable/bin/yad" || ! -e "${PP_WINELIB}/portable/lib/p7zip/7z" \
+ || ! -e "${PP_WINELIB}/runtime/files/bin/vkcube" || -e "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}.tar.xz" ]] ;
then
print_info "Download and install libraries..."
- 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
- if unpack_tar_xz "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}.tar.xz" "${PORT_WINE_TMP_PATH}/" ; then
- try_remove_file "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}.tar.xz"
+ if try_download "github.com/Castro-Fidel/PortWINE/releases/download/libs${PP_LIBS_VER}/libs${PP_LIBS_VER}.tar.xz" "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}.tar.xz" "${PORT_WINE_TMP_PATH}/" ; then
+ try_remove_file "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}.tar.xz"
else
- try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
- try_remove_file "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}.tar.xz"
- zenity_error_download && pw_download_libs
+ try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}"
+ try_remove_file "${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}.tar.xz"
+ zenity_error_download && pp_download_libs
fi
else
- zenity_error_download && pw_download_libs
+ zenity_error_download && pp_download_libs
fi
fi
- export pw_yad="${PW_WINELIB}/portable/bin/yad"
- export pw_yad_new="${PW_WINELIB}/portable/bin/yad_new"
- export pw_zstd="${PW_WINELIB}/portable/bin/zstd"
- export pw_7z="${PW_WINELIB}/portable/lib/p7zip/7z"
+ export pp_yad="${PP_WINELIB}/portable/bin/yad"
+ export pp_yad_new="${PP_WINELIB}/portable/bin/yad_new"
+ export pp_zstd="${PP_WINELIB}/portable/bin/zstd"
+ export pp_7z="${PP_WINELIB}/portable/lib/p7zip/7z"
if [ -x "`which xterm 2>/dev/null`" ]; then
export SYS_XTERM=`which xterm`
- export PW_XTERM="${SYS_XTERM} -geometry 159x37 -e"
+ export PP_XTERM="${SYS_XTERM} -geometry 159x37 -e"
else
- export PW_XTERM="${PW_WINELIB}/runtime/files/bin/xterm -geometry 159x37 -e"
+ export PP_XTERM="${PP_WINELIB}/runtime/files/bin/xterm -geometry 159x37 -e"
fi
return 0
}
-pw_check_and_download_wine () {
+pp_check_and_download_wine () {
[ ! -d "${PORT_WINE_PATH}/data/dist/" ] && create_new_dir "${PORT_WINE_PATH}/data/dist"
- if [[ "${PW_WINE_USE}" == "GET-OTHER-WINE" ]] ; then
+ if [[ "${PP_WINE_USE}" == "GET-OTHER-WINE" ]] ; then
gui_proton_downloader
fi
- if [[ ! -z `echo "${PW_WINE_USE}" | grep "^PROTON_STEAM$"` ]]
- then export PW_WINE_USE="${PW_PROTON_STEAM_VER}"
- elif [[ ! -z `echo "${PW_WINE_USE}" | grep "^PROTON_GE$"` ]]
- then export PW_WINE_USE="${PW_PROTON_GE_VER}"
+ if [[ ! -z `echo "${PP_WINE_USE}" | grep "^PROTON_LG$"` ]]
+ then export PP_WINE_USE="${PP_PROTON_LG_VER}"
+ elif [[ ! -z `echo "${PP_WINE_USE}" | grep "^PROTON_GE$"` ]]
+ then export PP_WINE_USE="${PP_PROTON_GE_VER}"
fi
- if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
- print_info "Download and install ${PW_WINE_USE}..."
- if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- echo "${PW_WINE_USE}" > "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}/version"
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}"
+ if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
+ print_info "Download and install ${PP_WINE_USE}..."
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PP_WINE_USE}/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ echo "${PP_WINE_USE}" > "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}/version"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}"
else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
- zenity_error_download && pw_check_and_download_wine
+ zenity_error_download && pp_check_and_download_wine
fi
else
- zenity_error_download && pw_check_and_download_wine
+ zenity_error_download && pp_check_and_download_wine
fi
fi
return 0
}
-pw_check_and_download_plugins () {
- if [ ! -z "`ls ${PORT_WINE_TMP_PATH} | grep plugins_v | grep -v plugins${PW_PLUGINS_VER}`" ] ; then
- for RM_PLUGINS in `ls ${PORT_WINE_TMP_PATH} | grep plugins_v | grep -v plugins${PW_PLUGINS_VER}`
+pp_check_and_download_plugins () {
+ if [ ! -z "`ls ${PORT_WINE_TMP_PATH} | grep plugins_v | grep -v plugins${PP_PLUGINS_VER}`" ] ; then
+ for RM_PLUGINS in `ls ${PORT_WINE_TMP_PATH} | grep plugins_v | grep -v plugins${PP_PLUGINS_VER}`
do try_remove_dir "${PORT_WINE_TMP_PATH}/${RM_PLUGINS}"
done
fi
- if [[ ! -d "${PW_PLUGINS_PATH}/BattlEye_Runtime" || ! -d "${PW_PLUGINS_PATH}/d3d_extras" \
- || ! -d "${PW_PLUGINS_PATH}/nvapi" || ! -d "${PW_PLUGINS_PATH}/nvml" ]]
+ if [[ ! -d "${PP_PLUGINS_PATH}/BattlEye_Runtime" || ! -d "${PP_PLUGINS_PATH}/d3d_extras" \
+ || ! -d "${PP_PLUGINS_PATH}/nvapi" || ! -d "${PP_PLUGINS_PATH}/nvml" ]]
then
- 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
- try_remove_file "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz"
+ print_info "Download and install plugins${PP_PLUGINS_VER}..."
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/plugins${PP_PLUGINS_VER}/plugins${PP_PLUGINS_VER}.tar.xz" "${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}.tar.xz" "${PORT_WINE_TMP_PATH}" ; then
+ try_remove_file "${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}.tar.xz"
else
- try_remove_file "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}.tar.xz"
- try_remove_dir "${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}"
+ try_remove_file "${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}.tar.xz"
+ try_remove_dir "${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}"
- zenity_error_download && pw_check_and_download_wine
+ zenity_error_download && pp_check_and_download_wine
fi
else
- zenity_error_download && pw_check_and_download_wine
+ zenity_error_download && pp_check_and_download_wine
fi
fi
return 0
}
-pw_init_db () {
+pp_init_db () {
if [[ ! -z "${portwine_exe}" ]] ; then
export PORTWINE_DB=`echo "${portwine_exe}" | awk -F '/' 'NF>1{print $NF}' | sed s/".exe"/""/gi`
if [[ -f "${portwine_exe}".ppdb ]] && [[ "${PORTWINE_DB}" != "RiotClientServices" ]] ; then
export PORTWINE_DB_FILE="${portwine_exe}".ppdb
+ sed -i 's/ PW_/ PP_/g' "${PORTWINE_DB_FILE}"
. "${PORTWINE_DB_FILE}"
- if [[ -z "`ls -p "${PORT_WINE_PATH}/prefixes/" | grep -e "^${PW_PREFIX_NAME}/"`" ]] ; then
- export PW_PREFIX_NAME=`echo "${portwine_exe}" | awk -F"/prefixes/" '{print $2}' | awk -F"/" '{print $1}'`
- edit_db_from_gui PW_PREFIX_NAME
+ if [[ -z "`ls -p "${PORT_WINE_PATH}/prefixes/" | grep -e "^${PP_PREFIX_NAME}/"`" ]] ; then
+ export PP_PREFIX_NAME=`echo "${portwine_exe}" | awk -F"/prefixes/" '{print $2}' | awk -F"/" '{print $1}'`
+ edit_db_from_gui PP_PREFIX_NAME
fi
else
orig_IFS="$IFS"
IFS=$'\n'
- PW_FIND_DB_FILE=`grep -ilw "#${PORTWINE_DB}.exe" "${PORT_SCRIPTS_PATH}/portwine_db"/* | sed s/".exe"/""/gi`
- if [[ `echo "$PW_FIND_DB_FILE" | wc -l` -gt 1 ]] ; then
+ PP_FIND_DB_FILE=`grep -ilw "#${PORTWINE_DB}.exe" "${PORT_SCRIPTS_PATH}/portwine_db"/* | sed s/".exe"/""/gi`
+ if [[ `echo "$PP_FIND_DB_FILE" | wc -l` -gt 1 ]] ; then
unset ADD_CB_DBFILE
- for PW_CHECK_DB_FILE in $PW_FIND_DB_FILE ; do
+ for PP_CHECK_DB_FILE in $PP_FIND_DB_FILE ; do
if [[ -z "${ADD_CB_DBFILE}" ]] ; then
- export ADD_CB_DBFILE="${PW_CHECK_DB_FILE}"
+ export ADD_CB_DBFILE="${PP_CHECK_DB_FILE}"
else
- export ADD_CB_DBFILE="${PW_CHECK_DB_FILE}!${ADD_CB_DBFILE}"
+ export ADD_CB_DBFILE="${PP_CHECK_DB_FILE}!${ADD_CB_DBFILE}"
fi
done
- PORTWINE_DB_FILE=`"${pw_yad_new}" --text-align=center --text "${PW_SELECTION_DB_LOC}" --borders=15 --form --center \
- --title "Database file selection..." --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --form --separator="" \
+ PORTWINE_DB_FILE=`"${pp_yad_new}" --text-align=center --text "${PP_SELECTION_DB_LOC}" --borders=15 --form --center \
+ --title "Database file selection..." --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --form --separator="" \
--field="DB FILE: :CB" "${ADD_CB_DBFILE}"`
if [[ "$?" == "1" || "$?" == "252" ]] ; then exit 0 ; fi
- elif [[ `echo "$PW_FIND_DB_FILE" | wc -l` -eq 1 ]] ; then
- PORTWINE_DB_FILE="${PW_FIND_DB_FILE}"
+ sed -i 's/ PW_/ PP_/g' "${PORTWINE_DB_FILE}"
+ elif [[ `echo "$PP_FIND_DB_FILE" | wc -l` -eq 1 ]] ; then
+ PORTWINE_DB_FILE="${PP_FIND_DB_FILE}"
+ sed -i 's/ PW_/ PP_/g' "${PORTWINE_DB_FILE}"
fi
IFS="$orig_IFS"
- if [[ -f "${PW_FIND_DB_FILE}" ]] && [[ -z `grep "^export PW_DISABLED_CREATE_DB=1" "${PW_FIND_DB_FILE}"` ]] ; then
- try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
+ if [[ -f "${PP_FIND_DB_FILE}" ]] && [[ -z `grep "^export PP_DISABLED_CREATE_DB=1" "${PP_FIND_DB_FILE}"` ]] ; then
+ try_copy_file "${PP_FIND_DB_FILE}" "${portwine_exe}".ppdb
export PORTWINE_DB_FILE="${portwine_exe}".ppdb
fi
if [[ ! -z `echo "${portwine_exe}" | grep "/data/prefixes/"` ]] && \
[[ -z `echo "${portwine_exe}" | grep "/data/prefixes/DEFAULT/"` ]]
then
- export PW_PREFIX_NAME=`echo "${portwine_exe}" | awk -F"/prefixes/" '{print $2}' | awk -F"/" '{print $1}'`
- edit_db_from_gui PW_PREFIX_NAME
+ export PP_PREFIX_NAME=`echo "${portwine_exe}" | awk -F"/prefixes/" '{print $2}' | awk -F"/" '{print $1}'`
+ edit_db_from_gui PP_PREFIX_NAME
fi
fi
if [ ! -z "${PORTWINE_DB_FILE}" ]; then
@@ -707,7 +710,7 @@ pw_init_db () {
return 0
}
-pw_port_update () {
+pp_port_update () {
###SCRIPTS UPDATE###
if [ ! -f "${PORT_WINE_TMP_PATH}/scripts_ver" ] ; then
echo "2022" > "${PORT_WINE_TMP_PATH}/scripts_ver"
@@ -721,11 +724,11 @@ pw_port_update () {
print_info "Scripts version in github = ${scripts_current_ver}"
print_info "Scripts version local = ${scripts_install_ver}"
if [[ ! -z "${scripts_current_ver}" ]] && [[ "${scripts_current_ver}" -gt "${scripts_install_ver}" ]] ; then
- if [[ -f "${PW_WINELIB}/portable/bin/yad_new" ]] ; then
- export pw_yad_new="${PW_WINELIB}/portable/bin/yad_new"
- curl -s --list-only "https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/data_from_portwine/${PW_CHANGELOG_FILE}" | tee "${PORT_WINE_TMP_PATH}/curent_var_ver" | sszen
+ if [[ -f "${PP_WINELIB}/portable/bin/yad_new" ]] ; then
+ export pp_yad_new="${PP_WINELIB}/portable/bin/yad_new"
+ curl -s --list-only "https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/data_from_portwine/${PP_CHANGELOG_FILE}" | tee "${PORT_WINE_TMP_PATH}/curent_var_ver" | sszen
CHANGLOG_NEWS=`cat "${PORT_WINE_TMP_PATH}/curent_var_ver" | sed "/Scripts version ${scripts_install_ver}/,$ d" | sed '1,/---/ d' `
- xcsd=`"${pw_yad_new}" --title "${scripts_upd2} v.${scripts_current_ver}" --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
+ xcsd=`"${pp_yad_new}" --title "${scripts_upd2} v.${scripts_current_ver}" --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
--borders=5 --form --separator='%%%' --width=1000 --height=350 --center \
--field=":TXT" "${CHANGLOG_NEWS}" \
--field=" ${scripts_upd3} :CB" "${scripts_upd4}!${scripts_upd5}!${scripts_upd6}" `
@@ -754,15 +757,15 @@ pw_port_update () {
try_remove_file "${PORT_WINE_TMP_PATH}/PortWINE-master.tar.gz"
try_remove_dir "${PORT_WINE_TMP_PATH}/PortWINE-master/"
echo "${scripts_current_ver}" > "${PORT_WINE_TMP_PATH}/scripts_ver"
- if [[ -z "${pw_yad_new}" ]] ; then
+ if [[ -z "${pp_yad_new}" ]] ; then
zenity --title="Changelog" --text-info --width=1200 --height=550 \
- --filename="${PORT_WINE_PATH}/data/${PW_CHANGELOG_FILE}"
+ --filename="${PORT_WINE_PATH}/data/${PP_CHANGELOG_FILE}"
fi
- [ "$?" == 0 ] && /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ [ "$?" == 0 ] && /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
else
- zenity_error_download && pw_scripts_update
+ zenity_error_download && pp_scripts_update
fi ;;
"${scripts_upd5}")
echo " " ;;
@@ -817,37 +820,37 @@ edit_db_from_gui () {
return 0
}
-pw_create_gui_png () {
+pp_create_gui_png () {
if [ ! -z "${PORTWINE_CREATE_SHORTCUT_NAME}" ] ; then
export PORTPROTON_NAME="${PORTWINE_CREATE_SHORTCUT_NAME}"
else
export PORTPROTON_NAME="$(basename "${portwine_exe}" | sed s/".exe"/""/gi )"
fi
- PW_RESIZE_TO=128
+ PP_RESIZE_TO=128
try_remove_file "${PORT_WINE_PATH}/data/img/setup.png"
if [[ -x "`which wrestool 2>/dev/null`" ]] && [[ ! -f "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" ]] ; then
try_remove_dir "${PORT_WINE_TMP_PATH}/tmp_img"
create_new_dir "${PORT_WINE_TMP_PATH}/tmp_img"
wrestool -x --output="${PORT_WINE_TMP_PATH}/tmp_img/" -t14 "${portwine_exe}"
cp "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".ico" | head -n 1)" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.ico"
- icotool -x --width=${PW_RESIZE_TO} --height=${PW_RESIZE_TO} --output="${PORT_WINE_TMP_PATH}/tmp_img/" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.ico"
- if [[ ! -f "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".png" | grep "${PW_RESIZE_TO}x${PW_RESIZE_TO}")" ]] ; then
+ icotool -x --width=${PP_RESIZE_TO} --height=${PP_RESIZE_TO} --output="${PORT_WINE_TMP_PATH}/tmp_img/" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.ico"
+ if [[ ! -f "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".png" | grep "${PP_RESIZE_TO}x${PP_RESIZE_TO}")" ]] ; then
icotool -x --output="${PORT_WINE_TMP_PATH}/tmp_img/" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.ico"
cp "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".png" | head -n 1)" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.png"
else
- cp "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".png" | grep "${PW_RESIZE_TO}x${PW_RESIZE_TO}" | head -n 1)" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.png"
+ cp "$(ls -S -1 "${PORT_WINE_TMP_PATH}/tmp_img/"*".png" | grep "${PP_RESIZE_TO}x${PP_RESIZE_TO}" | head -n 1)" "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.png"
fi
cp -f "${PORT_WINE_TMP_PATH}/tmp_img/${PORTPROTON_NAME}.png" "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
fi
- if [[ -z "`file "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" | grep "${PW_RESIZE_TO} x ${PW_RESIZE_TO}"`" ]] && \
+ if [[ -z "`file "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" | grep "${PP_RESIZE_TO} x ${PP_RESIZE_TO}"`" ]] && \
[[ -x "`which "convert" 2>/dev/null`" ]] && [[ -f "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" ]] ; then
- convert "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" -resize ${PW_RESIZE_TO}x${PW_RESIZE_TO} "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
+ convert "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" -resize ${PP_RESIZE_TO}x${PP_RESIZE_TO} "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
fi
- if [[ -z "${PW_ICON_FOR_YAD}" ]] ; then
- if [[ ! -z "`file "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" | grep "${PW_RESIZE_TO} x ${PW_RESIZE_TO}"`" ]] ; then
- export PW_ICON_FOR_YAD="${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
+ if [[ -z "${PP_ICON_FOR_YAD}" ]] ; then
+ if [[ ! -z "`file "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" | grep "${PP_RESIZE_TO} x ${PP_RESIZE_TO}"`" ]] ; then
+ export PP_ICON_FOR_YAD="${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
else
- export PW_ICON_FOR_YAD="${PW_GUI_ICON_PATH}/port_proton.png"
+ export PP_ICON_FOR_YAD="${PP_GUI_ICON_PATH}/port_proton.png"
fi
fi
}
diff --git a/data_from_portwine/scripts/lang b/data_from_portwine/scripts/lang
index 7adab1ce..6f6f7fdb 100755
--- a/data_from_portwine/scripts/lang
+++ b/data_from_portwine/scripts/lang
@@ -24,8 +24,8 @@ then
export loc_mg_wine_settings="НАСТРОЙКИ WINE"
export loc_mg_portproton_settings="НАСТРОЙКИ PORTPROTON"
- export PW_CHANGELOG_FILE="changelog_rus"
- export PW_SELECTION_DB_LOC="Найдено более одного DB файла для запускаемого приложения.\nВыберите необходимый, или перед следующим запуском удалите лишний DB файл.\n"
+ export PP_CHANGELOG_FILE="changelog_rus"
+ export PP_SELECTION_DB_LOC="Найдено более одного DB файла для запускаемого приложения.\nВыберите необходимый, или перед следующим запуском удалите лишний DB файл.\n"
export inst_set="Выбор"
export inst_set_top="Установка PortWINE"
@@ -79,58 +79,58 @@ then
export loc_download_other_wine="Открыть меню для скачивания других версий WINE-PROTON"
export ENABLE_VKBASALT_INFO='Включить vkBasalt по умолчанию для улучшение графики в играх работающих под Vulkan. (Горячая клавиша HOME отключает vkbasalt)'
- export PW_NO_ESYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе eventfd. (Рекомендуется не изменять значение)'
- export PW_NO_FSYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе фьютексов. (Автоматически отключается в системах без FUTEX_WAIT_MULTIPLE поддержки) (Рекомендуется не изменять значение)'
- export PW_USE_DXR10_INFO='Включить поддержку Ray Tracing v.1.0'
- export PW_USE_DXR11_INFO='Включить поддержку Ray Tracing v.1.1 (бета)'
- export PW_FIX_VIDEO_IN_GAME_INFO='Требуется для воспроизведения видео в некоторых играх, чтобы оно не было искажено (обычно окрашено в розовый цвет)'
- export PW_VULKAN_NO_ASYNC_INFO='Выключить асинхронные вызовы для режимов VULKAN и DXVK'
- export PW_USE_NVAPI_AND_DLSS_INFO='Включить DLSS на поддерживаемых видеокартах NVIDIA'
- export PW_OLD_GL_STRING_INFO='Принудительное использование старых версий OpenGL'
- export PW_HIDE_NVIDIA_GPU_INFO='Замаскировать все функции используемые для видеокарт NVIDIA'
- export PW_FORCE_USE_VSYNC_INFO='Принудительное включение вертикальной синхронизации'
- export PW_VIRTUAL_DESKTOP_INFO='Включить запуск приложение в виртуальном рабочем столе WINE'
- export PW_WINEDBG_DISABLE_INFO='Отключить все функции отладки WINE (Рекомендуется не изменять значение)'
- export PW_USE_TERMINAL_INFO='Запускать приложение в терминале'
- export PW_WINE_ALLOW_XIM_INFO='Использовать альтернативный режим для контроллера (Использовать только в случае проблем с контроллером)'
- export PW_HEAP_DELAY_FREE_INFO='Включить задержку освобождения некоторой памяти, чтобы обойти ошибки, связанные с использованием приложения после освобождения памяти.'
- export PW_NO_WRITE_WATCH_INFO='Очень опасный способ взлома таймера записи в памяти в ntdll. Это улучшает производительность некоторых очень специфических игр. (Рекомендуется не изменять значение)'
- export PW_GUI_DISABLED_CS_INFO='Отключить окно выбора режимов запуска и версии WINE'
- export PW_USE_GSTREAMER_INFO='Использовать Gstreamer для вывода роликов в играх (поддержка WMF)'
- export PW_USE_RUNTIME_INFO='Использовать контейнерный режим запуска (Рекомендуется не изменять значение)'
- export PW_MANGOHUD_INFO='Использование мониторинга FPS и нагрузки системы (Включается и выключается сочитанием клавиш - правый Shift + F12)'
- export PW_USE_GAMEMODE_INFO='Использование автоматической оптимизации системы для увеличения производительности в играх (при условии установленного пакета gamemode в системе)'
- export PW_DX12_DISABLE_INFO='Принудительное отключение DirectX 12'
- export PW_USE_WINE_DXGI_INFO='Принудительное использование встроенной библиотеки DXGI (в редких случаях решает проблемы с запуском игр под DX12)'
- export PW_MANGOHUD_USER_CONF_INFO='Принудительное использование системных настроек MANGOHUD (GOverlay и т.п.)'
- export PW_USE_D3D_EXTRAS_INFO='Включить принудительное использование сторонних библиотек DirectX'
- export PW_PRIME_RENDER_OFFLOAD_INFO='Включить дискретную видеокарту NVIDIA для ноутбуков с гибридной графикой (при поддержке установленого драйвера в ОС)'
- export PW_USE_WINDOWS_7_INFO='Изменить версию WINDOWS 10 на WINDOWS 7 в префиксе'
- export PW_USE_AMDVLK_DRIVER_INFO='Использовать драйвер AMDVLK вместо RADV на видеокартах от AMD'
- export PW_USE_SHADER_CACHE_INFO='Использовать кеширование шейдеров средствами WINE (отключать только при наличии микрофризов в игре)'
- export PW_WINE_FULLSCREEN_FSR_INFO='Работает во время использования любой версии ProtonGE в полноэкранном режиме при разрешении ниже стандартного для экрана'
+ export PP_NO_ESYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе eventfd. (Рекомендуется не изменять значение)'
+ export PP_NO_FSYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе фьютексов. (Автоматически отключается в системах без FUTEX_WAIT_MULTIPLE поддержки) (Рекомендуется не изменять значение)'
+ export PP_USE_DXR10_INFO='Включить поддержку Ray Tracing v.1.0'
+ export PP_USE_DXR11_INFO='Включить поддержку Ray Tracing v.1.1 (бета)'
+ export PP_FIX_VIDEO_IN_GAME_INFO='Требуется для воспроизведения видео в некоторых играх, чтобы оно не было искажено (обычно окрашено в розовый цвет)'
+ export PP_VULKAN_NO_ASYNC_INFO='Выключить асинхронные вызовы для режимов VULKAN и DXVK'
+ export PP_USE_NVAPI_AND_DLSS_INFO='Включить DLSS на поддерживаемых видеокартах NVIDIA'
+ export PP_OLD_GL_STRING_INFO='Принудительное использование старых версий OpenGL'
+ export PP_HIDE_NVIDIA_GPU_INFO='Замаскировать все функции используемые для видеокарт NVIDIA'
+ export PP_FORCE_USE_VSYNC_INFO='Принудительное включение вертикальной синхронизации'
+ export PP_VIRTUAL_DESKTOP_INFO='Включить запуск приложение в виртуальном рабочем столе WINE'
+ export PP_WINEDBG_DISABLE_INFO='Отключить все функции отладки WINE (Рекомендуется не изменять значение)'
+ export PP_USE_TERMINAL_INFO='Запускать приложение в терминале'
+ export PP_WINE_ALLOW_XIM_INFO='Использовать альтернативный режим для контроллера (Использовать только в случае проблем с контроллером)'
+ export PP_HEAP_DELAY_FREE_INFO='Включить задержку освобождения некоторой памяти, чтобы обойти ошибки, связанные с использованием приложения после освобождения памяти.'
+ export PP_NO_WRITE_WATCH_INFO='Очень опасный способ взлома таймера записи в памяти в ntdll. Это улучшает производительность некоторых очень специфических игр. (Рекомендуется не изменять значение)'
+ export PP_GUI_DISABLED_CS_INFO='Отключить окно выбора режимов запуска и версии WINE'
+ export PP_USE_GSTREAMER_INFO='Использовать Gstreamer для вывода роликов в играх (поддержка WMF)'
+ export PP_USE_RUNTIME_INFO='Использовать контейнерный режим запуска (Рекомендуется не изменять значение)'
+ export PP_MANGOHUD_INFO='Использование мониторинга FPS и нагрузки системы (Включается и выключается сочитанием клавиш - правый Shift + F12)'
+ export PP_USE_GAMEMODE_INFO='Использование автоматической оптимизации системы для увеличения производительности в играх (при условии установленного пакета gamemode в системе)'
+ export PP_DX12_DISABLE_INFO='Принудительное отключение DirectX 12'
+ export PP_USE_WINE_DXGI_INFO='Принудительное использование встроенной библиотеки DXGI (в редких случаях решает проблемы с запуском игр под DX12)'
+ export PP_MANGOHUD_USER_CONF_INFO='Принудительное использование системных настроек MANGOHUD (GOverlay и т.п.)'
+ export PP_USE_D3D_EXTRAS_INFO='Включить принудительное использование сторонних библиотек DirectX'
+ export PP_PRIME_RENDER_OFFLOAD_INFO='Включить дискретную видеокарту NVIDIA для ноутбуков с гибридной графикой (при поддержке установленого драйвера в ОС)'
+ export PP_USE_WINDOWS_7_INFO='Изменить версию WINDOWS 10 на WINDOWS 7 в префиксе'
+ export PP_USE_AMDVLK_DRIVER_INFO='Использовать драйвер AMDVLK вместо RADV на видеокартах от AMD'
+ export PP_USE_SHADER_CACHE_INFO='Использовать кеширование шейдеров средствами WINE (отключать только при наличии микрофризов в игре)'
+ export PP_WINE_FULLSCREEN_FSR_INFO='Работает во время использования любой версии ProtonGE в полноэкранном режиме при разрешении ниже стандартного для экрана'
- export PW_3DFX_INFO='Имитация старого графического ускорителя 3dfx (добавляет горизонтальные полосы)'
- export PW_AdaptiveSharpen_INFO='Увеличение резкости, можно использовать совместо с CAS'
- export PW_Bloom_INFO='Добавляет свечения от ярких источников света в игре'
- export PW_Border_INFO='Обрезка изображения сверху и снизу (как в кино =)'
- export PW_Cartoon_INFO='Сильное увеличение резкости краев тексур'
- export PW_ChromaticAberration_INFO='Добавляет хроматические аберрации к изображению'
- export PW_Clarity_INFO='Увеличение резкости текстур с небольшими модификациями контраста изображения (похож по эффекту на CAS)'
- export PW_ColorMatrix_INFO='Добавление холодных цветов'
- export PW_Colourfulness_INFO='Увеличение насыщености цветов'
- export PW_FakeHDR_INFO='Расширение динамического диапазона цветов'
- export PW_FilmGrain2_INFO='Добавление эффекта зерна кинопленки'
- export PW_Curves_INFO='Увеличение контраста изображения'
- export PW_Denoise_INFO='Уменьшение шумов за счет смазывания изображения'
- export PW_Emphasize_INFO='Уменьшение рязрядности цветопередачи'
- export PW_FakeMotionBlur_INFO='Сильное размытие объектов в движении'
- export PW_FilmicAnamorphSharpen_INFO='Увеличение резкости (рекомендую для мультяшных игр)'
- export PW_FilmicPass_INFO='Добавление холодных цветов'
- export PW_SMAA_INFO='Альтернативный вариант сглаживания (меньший эффект, но с меньшим потреблением ресурсов GPU, относительно стандартного SMAA)'
- export PW_GaussianBlur_INFO='Небольшой эффект размытия ярких обьектов (например пламя)'
+ export PP_3DFX_INFO='Имитация старого графического ускорителя 3dfx (добавляет горизонтальные полосы)'
+ export PP_AdaptiveSharpen_INFO='Увеличение резкости, можно использовать совместо с CAS'
+ export PP_Bloom_INFO='Добавляет свечения от ярких источников света в игре'
+ export PP_Border_INFO='Обрезка изображения сверху и снизу (как в кино =)'
+ export PP_Cartoon_INFO='Сильное увеличение резкости краев тексур'
+ export PP_ChromaticAberration_INFO='Добавляет хроматические аберрации к изображению'
+ export PP_Clarity_INFO='Увеличение резкости текстур с небольшими модификациями контраста изображения (похож по эффекту на CAS)'
+ export PP_ColorMatrix_INFO='Добавление холодных цветов'
+ export PP_Colourfulness_INFO='Увеличение насыщености цветов'
+ export PP_FakeHDR_INFO='Расширение динамического диапазона цветов'
+ export PP_FilmGrain2_INFO='Добавление эффекта зерна кинопленки'
+ export PP_Curves_INFO='Увеличение контраста изображения'
+ export PP_Denoise_INFO='Уменьшение шумов за счет смазывания изображения'
+ export PP_Emphasize_INFO='Уменьшение рязрядности цветопередачи'
+ export PP_FakeMotionBlur_INFO='Сильное размытие объектов в движении'
+ export PP_FilmicAnamorphSharpen_INFO='Увеличение резкости (рекомендую для мультяшных игр)'
+ export PP_FilmicPass_INFO='Добавление холодных цветов'
+ export PP_SMAA_INFO='Альтернативный вариант сглаживания (меньший эффект, но с меньшим потреблением ресурсов GPU, относительно стандартного SMAA)'
+ export PP_GaussianBlur_INFO='Небольшой эффект размытия ярких обьектов (например пламя)'
- export PW_WAYLAND_INFO="Внимание! Вы запускаете $portname в сессии Wayland, некоторые функции могут быть недоступны!\nРекомендуется перезапустить сессию в X11!"
+ export PP_WAYLAND_INFO="Внимание! Вы запускаете $portname в сессии Wayland, некоторые функции могут быть недоступны!\nРекомендуется перезапустить сессию в X11!"
export loc_find_d3dadapter9_error="не найден в системе.\nУстановите недостающий пакет: d3dadapter9"
@@ -154,8 +154,8 @@ then
export loc_mg_wine_settings="WINE SETTINGS"
export loc_mg_portproton_settings="PORTPROTON SETTINGS"
- export PW_CHANGELOG_FILE="changelog_eng"
- export PW_SELECTION_DB_LOC="More than one DB file found for the application being launched.\nSelect the required one, or delete the extra DB file before the next run.\n"
+ export PP_CHANGELOG_FILE="changelog_eng"
+ export PP_SELECTION_DB_LOC="More than one DB file found for the application being launched.\nSelect the required one, or delete the extra DB file before the next run.\n"
export inst_set="Sett..."
export inst_set_top="PortWINE setting"
@@ -195,7 +195,7 @@ then
export port_debug="Please wait! After finishing the ${portname}, click STOP."
- export PW_WAYLAND_INFO="Attention! You are running $portname in a Wayland session, some features may not be available!\nRestarting your session in X11 is recommended!"
+ export PP_WAYLAND_INFO="Attention! You are running $portname in a Wayland session, some features may not be available!\nRestarting your session in X11 is recommended!"
export loc_download_other_wine="Download other wine-proton from GITHUB"
diff --git a/data_from_portwine/scripts/portwine_db/AC4BFSP b/data_from_portwine/scripts/portwine_db/AC4BFSP
index b713b268..c410e1c1 100644
--- a/data_from_portwine/scripts/portwine_db/AC4BFSP
+++ b/data_from_portwine/scripts/portwine_db/AC4BFSP
@@ -3,44 +3,44 @@
#AC4BFSP.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=1
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=1
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=0
-export PW_USE_WINE_DXGI=0
+export PP_MANGOHUD=1
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=0
+export PP_USE_WINE_DXGI=0
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/ACIII b/data_from_portwine/scripts/portwine_db/ACIII
index 609e3731..20449d1e 100755
--- a/data_from_portwine/scripts/portwine_db/ACIII
+++ b/data_from_portwine/scripts/portwine_db/ACIII
@@ -4,36 +4,36 @@
#ACLiberation.exe
#Rating=1-5
################################################
-# export PW_VULKAN_USE=dxvk
+# export PP_VULKAN_USE=dxvk
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
+##export PP_COMMENT_DB="blablabla"
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
export WINEDLLOVERRIDES="xinput1_3,d3dcompiler_43=n,b"
-##export PW_DLL_INSTALL="d3dcompiler_43" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="d3dcompiler_43" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/ACValhalla b/data_from_portwine/scripts/portwine_db/ACValhalla
index 9c2d87f0..bd4f6f86 100644
--- a/data_from_portwine/scripts/portwine_db/ACValhalla
+++ b/data_from_portwine/scripts/portwine_db/ACValhalla
@@ -3,33 +3,33 @@
#ACValhalla.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=proton_ge
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=proton_ge
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/ALOTInstaller b/data_from_portwine/scripts/portwine_db/ALOTInstaller
index 30d44941..0b9fec45 100644
--- a/data_from_portwine/scripts/portwine_db/ALOTInstaller
+++ b/data_from_portwine/scripts/portwine_db/ALOTInstaller
@@ -3,36 +3,36 @@
#ALOTInstaller.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_PW_6.19
-export PW_VULKAN_USE=0
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_PP_6.19
+export PP_VULKAN_USE=0
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Ableton_Live_11_Suite b/data_from_portwine/scripts/portwine_db/Ableton_Live_11_Suite
index d04651d2..41c13eb5 100755
--- a/data_from_portwine/scripts/portwine_db/Ableton_Live_11_Suite
+++ b/data_from_portwine/scripts/portwine_db/Ableton_Live_11_Suite
@@ -3,6 +3,6 @@
#Ableton Live 11 Suite.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_WINDOWS_VER=10
+export PP_WINDOWS_VER=10
diff --git a/data_from_portwine/scripts/portwine_db/AliceMadnessReturns b/data_from_portwine/scripts/portwine_db/AliceMadnessReturns
index 08b19f81..261230df 100755
--- a/data_from_portwine/scripts/portwine_db/AliceMadnessReturns
+++ b/data_from_portwine/scripts/portwine_db/AliceMadnessReturns
@@ -3,6 +3,6 @@
#AliceMadnessReturns.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_DLL_INSTALL="physx"
+export PP_DLL_INSTALL="physx"
diff --git a/data_from_portwine/scripts/portwine_db/Alien_Isolation b/data_from_portwine/scripts/portwine_db/Alien_Isolation
index e199f424..b86ecfe4 100755
--- a/data_from_portwine/scripts/portwine_db/Alien_Isolation
+++ b/data_from_portwine/scripts/portwine_db/Alien_Isolation
@@ -3,4 +3,4 @@
#AI.exe
#Rating=5
########################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
diff --git a/data_from_portwine/scripts/portwine_db/Anno4 b/data_from_portwine/scripts/portwine_db/Anno4
index d3d9eb60..6b2c4988 100644
--- a/data_from_portwine/scripts/portwine_db/Anno4
+++ b/data_from_portwine/scripts/portwine_db/Anno4
@@ -3,36 +3,36 @@
#Anno4.exe
#Rating=1-5
#####################examples###########################
-export PW_COMMENT_DB="If after the first launch you see a black screen,\njust restart the game."
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+export PP_COMMENT_DB="If after the first launch you see a black screen,\njust restart the game."
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS="cas" # Use Reshade in others games (dx9-12 to vulkan only)
-export PW_VKBASALT_FFX_CAS="0.6" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+export PP_VKBASALT_EFFECTS="cas" # Use Reshade in others games (dx9-12 to vulkan only)
+export PP_VKBASALT_FFX_CAS="0.6" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
add_in_start_portwine () {
if [ -d "${WINEPREFIX}/drive_c/users/steamuser/AppData/Roaming/Ubisoft/Anno1404/Config/" ] ; then
diff --git a/data_from_portwine/scripts/portwine_db/AnomalyLauncher b/data_from_portwine/scripts/portwine_db/AnomalyLauncher
index fcc81f40..7b9f094a 100644
--- a/data_from_portwine/scripts/portwine_db/AnomalyLauncher
+++ b/data_from_portwine/scripts/portwine_db/AnomalyLauncher
@@ -3,42 +3,42 @@
#AnomalyLauncher.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="d3dx10 d3dx11_42 d3dx11_43" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="d3dx10 d3dx11_42 d3dx11_43" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=1
-export PW_USE_DXR10=0
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=1
+export PP_USE_DXR10=0
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=0
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=0
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_GSTREAMER=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=0
-export PW_USE_WINE_DXGI=1
+export PP_MANGOHUD=1
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_GSTREAMER=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=0
+export PP_USE_WINE_DXGI=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/Arthur b/data_from_portwine/scripts/portwine_db/Arthur
index aa73fae2..77bd94e2 100755
--- a/data_from_portwine/scripts/portwine_db/Arthur
+++ b/data_from_portwine/scripts/portwine_db/Arthur
@@ -3,39 +3,39 @@
#Arthur.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VKD3D_FEATURE_LEVEL=1
-##export PW_DXGI_FROM_DXVK=1
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VKD3D_FEATURE_LEVEL=1
+##export PP_DXGI_FROM_DXVK=1
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
export PULSE_LATENCY_MSEC=90 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_LOG=1 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_LOG=1 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/AssassinsCreedII b/data_from_portwine/scripts/portwine_db/AssassinsCreedII
index 0eb32f70..8c759d0e 100755
--- a/data_from_portwine/scripts/portwine_db/AssassinsCreedII
+++ b/data_from_portwine/scripts/portwine_db/AssassinsCreedII
@@ -3,33 +3,33 @@
#AssassinsCreedII.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/AssassinsCreedIIGame b/data_from_portwine/scripts/portwine_db/AssassinsCreedIIGame
index 88e0c0f3..a71e64ab 100755
--- a/data_from_portwine/scripts/portwine_db/AssassinsCreedIIGame
+++ b/data_from_portwine/scripts/portwine_db/AssassinsCreedIIGame
@@ -3,33 +3,33 @@
#AssassinsCreedIIGame.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/BF2 b/data_from_portwine/scripts/portwine_db/BF2
index 906de081..7a1d086b 100755
--- a/data_from_portwine/scripts/portwine_db/BF2
+++ b/data_from_portwine/scripts/portwine_db/BF2
@@ -3,5 +3,5 @@
#BF2.exe
#Rating=4
################################################
-export PW_VULKAN_USE=vkd3d
-export PW_WINDOWS_VER="7"
+export PP_VULKAN_USE=vkd3d
+export PP_WINDOWS_VER="7"
diff --git a/data_from_portwine/scripts/portwine_db/Baldurs_Gate_3 b/data_from_portwine/scripts/portwine_db/Baldurs_Gate_3
index 922dd124..aed526d3 100755
--- a/data_from_portwine/scripts/portwine_db/Baldurs_Gate_3
+++ b/data_from_portwine/scripts/portwine_db/Baldurs_Gate_3
@@ -3,6 +3,6 @@
#bg3.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
#export MANGOHUD=1
diff --git a/data_from_portwine/scripts/portwine_db/Battle.net_Launcher b/data_from_portwine/scripts/portwine_db/Battle.net_Launcher
index 97ab02eb..8d271f3d 100755
--- a/data_from_portwine/scripts/portwine_db/Battle.net_Launcher
+++ b/data_from_portwine/scripts/portwine_db/Battle.net_Launcher
@@ -5,18 +5,18 @@
#Battle.net.exe
#Rating=5
################################################
-#export PW_COMMENT_DB="We recommend using PROTON_GE + VULKAN!"
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
+#export PP_COMMENT_DB="We recommend using PROTON_GE + VULKAN!"
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
export LAUNCH_PARAMETERS=""
export WINEDLLOVERRIDES="locationapi="
-export PW_DLL_INSTALL="vcrun2019 d3dx11_42 d3dx11_43"
-export PW_WINDOWS_VER=10
+export PP_DLL_INSTALL="vcrun2019 d3dx11_42 d3dx11_43"
+export PP_WINDOWS_VER=10
add_in_start_portwine () {
- rm -fr "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/ProgramData/Agent/data"
- rm -fr "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/${USER}/Blizzard Entertainment/Battle.net/Cache"
- rm -fr "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/sourcehansans.ttc"
- sed -i 's/"GrabFullscreen"="Y"/"GrabFullscreen"="N"/' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
+ rm -fr "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/ProgramData/Agent/data"
+ rm -fr "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/${USER}/Blizzard Entertainment/Battle.net/Cache"
+ rm -fr "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/sourcehansans.ttc"
+ sed -i 's/"GrabFullscreen"="Y"/"GrabFullscreen"="N"/' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/user.reg"
}
diff --git a/data_from_portwine/scripts/portwine_db/Biomutant b/data_from_portwine/scripts/portwine_db/Biomutant
index 6c29a1f7..a43339a9 100755
--- a/data_from_portwine/scripts/portwine_db/Biomutant
+++ b/data_from_portwine/scripts/portwine_db/Biomutant
@@ -3,31 +3,31 @@
#Biomutant.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=1
+export PP_VULKAN_USE=1
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Botanicula b/data_from_portwine/scripts/portwine_db/Botanicula
index e3dc8ff9..902f3307 100755
--- a/data_from_portwine/scripts/portwine_db/Botanicula
+++ b/data_from_portwine/scripts/portwine_db/Botanicula
@@ -3,6 +3,6 @@
#Botanicula.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
-export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
diff --git a/data_from_portwine/scripts/portwine_db/Brokgame b/data_from_portwine/scripts/portwine_db/Brokgame
index ae7a065c..d9880db4 100755
--- a/data_from_portwine/scripts/portwine_db/Brokgame
+++ b/data_from_portwine/scripts/portwine_db/Brokgame
@@ -3,5 +3,5 @@
#Brokgame.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Call of Juarez Bound in Blood b/data_from_portwine/scripts/portwine_db/Call of Juarez Bound in Blood
index 1d7114c8..47e25884 100755
--- a/data_from_portwine/scripts/portwine_db/Call of Juarez Bound in Blood
+++ b/data_from_portwine/scripts/portwine_db/Call of Juarez Bound in Blood
@@ -3,7 +3,7 @@
#CoJBiBGame_x86.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_DLL_INSTALL="d3dx9" # Install DDL in port prefix (used winetricks)
-export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_DLL_INSTALL="d3dx9" # Install DDL in port prefix (used winetricks)
+export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
diff --git a/data_from_portwine/scripts/portwine_db/Cinebench b/data_from_portwine/scripts/portwine_db/Cinebench
index 60d8a931..7c71c1b4 100755
--- a/data_from_portwine/scripts/portwine_db/Cinebench
+++ b/data_from_portwine/scripts/portwine_db/Cinebench
@@ -3,33 +3,33 @@
#Cinebench.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GEC_PW2
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GEC_PW2
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Configurator b/data_from_portwine/scripts/portwine_db/Configurator
index d0aca21b..a5691cf8 100755
--- a/data_from_portwine/scripts/portwine_db/Configurator
+++ b/data_from_portwine/scripts/portwine_db/Configurator
@@ -3,33 +3,33 @@
#Configurator.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=dxvk
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=dxvk
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Control_DX11 b/data_from_portwine/scripts/portwine_db/Control_DX11
index a40822f6..f72077f6 100755
--- a/data_from_portwine/scripts/portwine_db/Control_DX11
+++ b/data_from_portwine/scripts/portwine_db/Control_DX11
@@ -3,36 +3,36 @@
#Control_DX11.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
-##export PW_MANGOHUD=1
-export PW_COMMENT_DB="Control (DX11)"
-export PW_DLL_INSTALL="physx"
+export PP_VULKAN_USE=dxvk
+##export PP_MANGOHUD=1
+export PP_COMMENT_DB="Control (DX11)"
+export PP_DLL_INSTALL="physx"
##export WINEDLLOVERRIDES="d3d12,d3d_rmdwin10_f,renderer_rmdwin10_f,app_rmdwin10_f,input_rmdwin10_f,renderer_rmdwin10_f,physics_rmdwin10_f,snd_rmdwin10_f,ui_rmdwin10_f=n"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Control_DX12 b/data_from_portwine/scripts/portwine_db/Control_DX12
index 4ffce546..ae58e376 100755
--- a/data_from_portwine/scripts/portwine_db/Control_DX12
+++ b/data_from_portwine/scripts/portwine_db/Control_DX12
@@ -3,36 +3,36 @@
#Control_DX12.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=vkd3d
-export PW_COMMENT_DB="Control (DX12)"
-##export PW_USE_DXR10=1
-##export PW_MANGOHUD=1
-export PW_DLL_INSTALL="physx"
+export PP_VULKAN_USE=vkd3d
+export PP_COMMENT_DB="Control (DX12)"
+##export PP_USE_DXR10=1
+##export PP_MANGOHUD=1
+export PP_DLL_INSTALL="physx"
export WINEDLLOVERRIDES="d3d12,d3d_rmdwin10_f,renderer_rmdwin10_f,app_rmdwin10_f,input_rmdwin10_f,renderer_rmdwin10_f,physics_rmdwin10_f,snd_rmdwin10_f,ui_rmdwin10_f=n"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/CyberShadow b/data_from_portwine/scripts/portwine_db/CyberShadow
index 9ba4ac40..4d78cfc7 100755
--- a/data_from_portwine/scripts/portwine_db/CyberShadow
+++ b/data_from_portwine/scripts/portwine_db/CyberShadow
@@ -3,5 +3,5 @@
#CyberShadow.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Cyberpunk2077 b/data_from_portwine/scripts/portwine_db/Cyberpunk2077
index f3f3e0cd..f2ed9c2c 100755
--- a/data_from_portwine/scripts/portwine_db/Cyberpunk2077
+++ b/data_from_portwine/scripts/portwine_db/Cyberpunk2077
@@ -3,33 +3,33 @@
#Cyberpunk2077.exe
#Rating=1-5
#####################examples###########################
-export PW_VULKAN_USE=1
-##export PW_COMMENT_DB="blablabla"
+export PP_VULKAN_USE=1
+##export PP_COMMENT_DB="blablabla"
export WINEDLLOVERRIDES="Crash*,REDEngineErrorReporter.exe="
-##export PW_DLL_INSTALL="d3dcompiler_47" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=1
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="d3dcompiler_47" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=1
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
export PULSE_LATENCY_MSEC=40 # Fix crackling audio in games
export LAUNCH_PARAMETERS=("--launcher-skip") # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-#add_in_start_portwine () { "${pw_runtime}" "$WINESERVER" -w }
+#add_in_start_portwine () { "${pp_runtime}" "$WINESERVER" -w }
diff --git a/data_from_portwine/scripts/portwine_db/DAOriginsLauncher b/data_from_portwine/scripts/portwine_db/DAOriginsLauncher
index 2a707f60..8dce61ad 100644
--- a/data_from_portwine/scripts/portwine_db/DAOriginsLauncher
+++ b/data_from_portwine/scripts/portwine_db/DAOriginsLauncher
@@ -3,40 +3,40 @@
#DAOriginsLauncher.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/DOOM Eternal b/data_from_portwine/scripts/portwine_db/DOOM Eternal
index 5d80ad54..337c6d30 100755
--- a/data_from_portwine/scripts/portwine_db/DOOM Eternal
+++ b/data_from_portwine/scripts/portwine_db/DOOM Eternal
@@ -3,25 +3,25 @@
#DOOMEternalx64vk.exe
#Rating=?
################################################
-export PW_VULKAN_USE=1
+export PP_VULKAN_USE=1
#export WINEDLLOVERRIDES="amd_ags_x64=b"
-#export PW_LOG=0 # Enable debug mode fo terminal
-#export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-#export PW_VULKAN_NO_ASYNC=1
-#export PW_USE_TERMINAL=1
-#export PW_OLD_GL_STRING=0
-#export PW_USE_NVAPI_AND_DLSS=0
-#export PW_VKD3D_FEATURE_LEVEL=0
-#export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-#export PW_HIDE_NVIDIA_GPU=0
-#export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-#export PW_WINEDBG_DISABLE=0
-#export PW_USE_GAMEMODE=1 # Force disabele gamemod
-#export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+#export PP_LOG=0 # Enable debug mode fo terminal
+#export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+#export PP_VULKAN_NO_ASYNC=1
+#export PP_USE_TERMINAL=1
+#export PP_OLD_GL_STRING=0
+#export PP_USE_NVAPI_AND_DLSS=0
+#export PP_VKD3D_FEATURE_LEVEL=0
+#export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+#export PP_HIDE_NVIDIA_GPU=0
+#export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+#export PP_WINEDBG_DISABLE=0
+#export PP_USE_GAMEMODE=1 # Force disabele gamemod
+#export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
export PULSE_LATENCY_MSEC=60
-#export PW_DLL_INSTALL="foo bar"
+#export PP_DLL_INSTALL="foo bar"
export LAUNCH_PARAMETERS="+in_terminal 1 +com_skipIntroVideo 1 +com_skipSignInManager 1"
-#export PW_GUI_DISABLED_CS=1
-#export PW_DXGI_FROM_DXVK=1
+#export PP_GUI_DISABLED_CS=1
+#export PP_DXGI_FROM_DXVK=1
#export VK_ICD_FILENAMES="/opt/amdgpu/etc/vulkan/icd.d/amd_icd64.json"
diff --git a/data_from_portwine/scripts/portwine_db/DOOMx64vk b/data_from_portwine/scripts/portwine_db/DOOMx64vk
index ea04258f..9787faf9 100755
--- a/data_from_portwine/scripts/portwine_db/DOOMx64vk
+++ b/data_from_portwine/scripts/portwine_db/DOOMx64vk
@@ -4,8 +4,8 @@
#DOOMx64vk.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=1
+export PP_VULKAN_USE=1
#####################examples###########################
-export PW_COMMENT_DB="DOOM 2016"
-export PW_DLL_INSTALL="xact xact_x64 vcrun2019"
+export PP_COMMENT_DB="DOOM 2016"
+export PP_DLL_INSTALL="xact xact_x64 vcrun2019"
export WINEDLLOVERRIDES="xaudio2_8=n"
diff --git a/data_from_portwine/scripts/portwine_db/DXHRDC b/data_from_portwine/scripts/portwine_db/DXHRDC
index 5fd21f33..56d1a332 100644
--- a/data_from_portwine/scripts/portwine_db/DXHRDC
+++ b/data_from_portwine/scripts/portwine_db/DXHRDC
@@ -5,36 +5,36 @@
#DXHumanRevolutionDC_s.exe
#Rating=5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="WINMM=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-export PW_USE_GSTREAMER=0 # 0 - disabled use winegstreamer
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+export PP_USE_GSTREAMER=0 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/DaysGone b/data_from_portwine/scripts/portwine_db/DaysGone
index da8eb182..25da0f99 100755
--- a/data_from_portwine/scripts/portwine_db/DaysGone
+++ b/data_from_portwine/scripts/portwine_db/DaysGone
@@ -3,31 +3,31 @@
#DaysGone.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2019" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-export PW_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+export PP_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Dead Space b/data_from_portwine/scripts/portwine_db/Dead Space
index 3d76081f..6af52b65 100755
--- a/data_from_portwine/scripts/portwine_db/Dead Space
+++ b/data_from_portwine/scripts/portwine_db/Dead Space
@@ -3,7 +3,7 @@
#Dead Space.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
-export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
diff --git a/data_from_portwine/scripts/portwine_db/Death Stranding b/data_from_portwine/scripts/portwine_db/Death Stranding
index 730236c4..39b2f544 100755
--- a/data_from_portwine/scripts/portwine_db/Death Stranding
+++ b/data_from_portwine/scripts/portwine_db/Death Stranding
@@ -3,6 +3,6 @@
#ds.exe
#Rating=5
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
export WINEDLLOVERRIDES="d3dcompiler_47,dxcompiler=n,b"
diff --git a/data_from_portwine/scripts/portwine_db/Deep Rock Galactic b/data_from_portwine/scripts/portwine_db/Deep Rock Galactic
index 66df85f5..68174734 100755
--- a/data_from_portwine/scripts/portwine_db/Deep Rock Galactic
+++ b/data_from_portwine/scripts/portwine_db/Deep Rock Galactic
@@ -3,5 +3,5 @@
#FSD.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Deponia b/data_from_portwine/scripts/portwine_db/Deponia
index 42d5cdb4..07bd523b 100644
--- a/data_from_portwine/scripts/portwine_db/Deponia
+++ b/data_from_portwine/scripts/portwine_db/Deponia
@@ -3,36 +3,36 @@
#Deponia.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GEC_PW2
-export PW_VULKAN_USE=0
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GEC_PW2
+export PP_VULKAN_USE=0
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/DetroitBecomeHuman b/data_from_portwine/scripts/portwine_db/DetroitBecomeHuman
index 7d4937a6..0020123d 100755
--- a/data_from_portwine/scripts/portwine_db/DetroitBecomeHuman
+++ b/data_from_portwine/scripts/portwine_db/DetroitBecomeHuman
@@ -3,7 +3,7 @@
#DetroitBecomeHuman.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=vkd3d
-export PW_FORCE_USE_VSYNC=0
-export PW_WINDOWS_VER="10"
-#export PW_VIRTUAL_DESKTOP=1
+export PP_VULKAN_USE=vkd3d
+export PP_FORCE_USE_VSYNC=0
+export PP_WINDOWS_VER="10"
+#export PP_VIRTUAL_DESKTOP=1
diff --git a/data_from_portwine/scripts/portwine_db/Diablo_II b/data_from_portwine/scripts/portwine_db/Diablo_II
index 807785a1..c5637a9b 100755
--- a/data_from_portwine/scripts/portwine_db/Diablo_II
+++ b/data_from_portwine/scripts/portwine_db/Diablo_II
@@ -3,29 +3,29 @@
#Diablo II.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Dolphin b/data_from_portwine/scripts/portwine_db/Dolphin
index fc9c6d68..c7ccf105 100644
--- a/data_from_portwine/scripts/portwine_db/Dolphin
+++ b/data_from_portwine/scripts/portwine_db/Dolphin
@@ -3,36 +3,36 @@
#Dolphin.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM_6.3-7
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG_6.3-7
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/EDLaunch b/data_from_portwine/scripts/portwine_db/EDLaunch
index 3b8e9984..27162f7b 100755
--- a/data_from_portwine/scripts/portwine_db/EDLaunch
+++ b/data_from_portwine/scripts/portwine_db/EDLaunch
@@ -3,6 +3,6 @@
#EDLaunch.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_DLL_INSTALL=""
+export PP_DLL_INSTALL=""
diff --git a/data_from_portwine/scripts/portwine_db/EoCApp b/data_from_portwine/scripts/portwine_db/EoCApp
index 30c919ce..f2f24048 100755
--- a/data_from_portwine/scripts/portwine_db/EoCApp
+++ b/data_from_portwine/scripts/portwine_db/EoCApp
@@ -3,31 +3,31 @@
#EoCApp.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_NO_FSYNC=1
-export PW_NO_ESYNC=1
+export PP_NO_FSYNC=1
+export PP_NO_ESYNC=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=0
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=0
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/EpicGamesLauncher b/data_from_portwine/scripts/portwine_db/EpicGamesLauncher
index e9365ef9..1c39a8b5 100755
--- a/data_from_portwine/scripts/portwine_db/EpicGamesLauncher
+++ b/data_from_portwine/scripts/portwine_db/EpicGamesLauncher
@@ -3,12 +3,12 @@
#EpicGamesLauncher.exe
#Rating=5
##############################################
-#export PW_COMMENT_DB="PortWINE database file for Epic Games Launcher"
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
+#export PP_COMMENT_DB="PortWINE database file for Epic Games Launcher"
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
export LAUNCH_PARAMETERS="-SkipBuildPatchPrereq"
-export PW_DLL_INSTALL="vcrun2012 vcrun2013 vcrun2019"
-export PW_USE_D3D_EXTRAS=1
+export PP_DLL_INSTALL="vcrun2012 vcrun2013 vcrun2019"
+export PP_USE_D3D_EXTRAS=1
add_in_start_portwine () {
regdlloverrides "RDR2.exe:vulkan-1=n"
diff --git a/data_from_portwine/scripts/portwine_db/Esprit_Games b/data_from_portwine/scripts/portwine_db/Esprit_Games
index 359cdb30..3c9231bd 100755
--- a/data_from_portwine/scripts/portwine_db/Esprit_Games
+++ b/data_from_portwine/scripts/portwine_db/Esprit_Games
@@ -3,30 +3,30 @@
#Esprit Games.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER=7 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_NVAPI_DISABLE=1
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_NVAPI_DISABLE=1
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/FL64 b/data_from_portwine/scripts/portwine_db/FL64
index b4b48dbf..dba9701d 100755
--- a/data_from_portwine/scripts/portwine_db/FL64
+++ b/data_from_portwine/scripts/portwine_db/FL64
@@ -4,36 +4,36 @@
#FL64.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=0
+ export PP_VULKAN_USE=0
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="FLEngine,FLEngine_x64=n"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=0
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_DXGI_FROM_DXVK=0
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=0
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_DXGI_FROM_DXVK=0
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
-export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_FORCE_DISABLED_GAMEMOD=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=0
+export PP_FORCE_DISABLED_GAMEMOD=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/FSD b/data_from_portwine/scripts/portwine_db/FSD
index 66df85f5..68174734 100755
--- a/data_from_portwine/scripts/portwine_db/FSD
+++ b/data_from_portwine/scripts/portwine_db/FSD
@@ -3,5 +3,5 @@
#FSD.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Far Cry 1 b/data_from_portwine/scripts/portwine_db/Far Cry 1
index bb8ae2ae..bd50cf53 100755
--- a/data_from_portwine/scripts/portwine_db/Far Cry 1
+++ b/data_from_portwine/scripts/portwine_db/Far Cry 1
@@ -3,21 +3,21 @@
#FarCry.exe
#Rating=5
#################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export WINEDLLOVERRIDES="cgD3D9,cgD3D9d=n"
-#export PW_LOG=0 # Enable debug mode fo terminal
-export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-export PW_DXVK_ASYNC=0
-#export PW_USE_TERMINAL=0
-export PW_OLD_GL_STRING=1
-#export PW_USE_NVAPI_AND_DLSS=0
-#export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-#export PW_HIDE_NVIDIA_GPU=0
-#export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-#export PW_WINEDBG_DISABLE=1
-#export PW_USE_GAMEMODE=0 # Force disabele gamemod
-#export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+#export PP_LOG=0 # Enable debug mode fo terminal
+export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+export PP_DXVK_ASYNC=0
+#export PP_USE_TERMINAL=0
+export PP_OLD_GL_STRING=1
+#export PP_USE_NVAPI_AND_DLSS=0
+#export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+#export PP_HIDE_NVIDIA_GPU=0
+#export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+#export PP_WINEDBG_DISABLE=1
+#export PP_USE_GAMEMODE=0 # Force disabele gamemod
+#export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
#export PULSE_LATENCY_MSEC=60
-#export PW_DLL_INSTALL=""
+#export PP_DLL_INSTALL=""
#export LAUNCH_PARAMETERS="-d3d9"
diff --git a/data_from_portwine/scripts/portwine_db/FarCry6 b/data_from_portwine/scripts/portwine_db/FarCry6
index 9d1f86ab..b4dbda9b 100644
--- a/data_from_portwine/scripts/portwine_db/FarCry6
+++ b/data_from_portwine/scripts/portwine_db/FarCry6
@@ -3,41 +3,41 @@
#FarCry6.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
+export PP_WINE_USE=PROTON_GE
export VK_FORMAT_A8_UNORM=1
-export PW_VULKAN_USE=1
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_VULKAN_USE=1
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=60
diff --git a/data_from_portwine/scripts/portwine_db/FarLoneSails b/data_from_portwine/scripts/portwine_db/FarLoneSails
index 8a0959bb..83402d62 100755
--- a/data_from_portwine/scripts/portwine_db/FarLoneSails
+++ b/data_from_portwine/scripts/portwine_db/FarLoneSails
@@ -3,32 +3,32 @@
#FarLoneSails.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=0
+ export PP_VULKAN_USE=0
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11 b/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11
index 29568124..4903f813 100755
--- a/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11
+++ b/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11
@@ -3,34 +3,34 @@
#farcry3_d3d11.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
-#export PW_MANGOHUD=1
-export PW_DLL_INSTALL="d3dx11_42 d3dx11_43"
+export PP_VULKAN_USE=dxvk
+#export PP_MANGOHUD=1
+export PP_DLL_INSTALL="d3dx11_42 d3dx11_43"
#export WINEDLLOVERRIDES="blabla=n,b"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=7 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9 b/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9
index 809101d3..2b3531e4 100755
--- a/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9
+++ b/data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9
@@ -3,34 +3,34 @@
#farcry3.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=0
-#export PW_DLL_INSTALL=""
-#export PW_MANGOHUD_DLSYM=1
+export PP_VULKAN_USE=0
+#export PP_DLL_INSTALL=""
+#export PP_MANGOHUD_DLSYM=1
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Far_Cry_4 b/data_from_portwine/scripts/portwine_db/Far_Cry_4
index 6c02a901..37656e9c 100755
--- a/data_from_portwine/scripts/portwine_db/Far_Cry_4
+++ b/data_from_portwine/scripts/portwine_db/Far_Cry_4
@@ -3,32 +3,32 @@
#FarCry4.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
-export PW_DLL_INSTALL="d3dcompiler_43 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
+export PP_VULKAN_USE=dxvk
+export PP_DLL_INSTALL="d3dcompiler_43 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Forsaken_World b/data_from_portwine/scripts/portwine_db/Forsaken_World
index 27891962..7b491095 100644
--- a/data_from_portwine/scripts/portwine_db/Forsaken_World
+++ b/data_from_portwine/scripts/portwine_db/Forsaken_World
@@ -3,47 +3,47 @@
#pemv.exe
#Rating=5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS=""
-export PW_WINE_USE="PROTON_GE"
-export PW_VULKAN_USE="1"
-export PW_USE_DXR10="0"
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
+export PP_WINE_USE="PROTON_GE"
+export PP_VULKAN_USE="1"
+export PP_USE_DXR10="0"
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT="0"
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC="0"
-export PW_NO_ESYNC="1"
-export PW_USE_GSTREAMER="1"
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC="0"
+export PP_NO_ESYNC="1"
+export PP_USE_GSTREAMER="1"
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-export PW_HEAP_DELAY_FREE="0"
-export PW_WINE_ALLOW_XIM="0"
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+export PP_HEAP_DELAY_FREE="0"
+export PP_WINE_ALLOW_XIM="0"
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_GUI_DISABLED_CS="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_GUI_DISABLED_CS="0"
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_PREFIX_NAME="DEFAULT"
-export PW_USE_DXR11="0"
-export PW_WINE_FULLSCREEN_FSR="0"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_USE_D3D_EXTRAS="1"
-export PW_FIX_VIDEO_IN_GAME="0"
-export PW_USE_AMDVLK_DRIVER="0"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
-export PW_USE_SHADER_CACHE="1"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_USE_DXR11="0"
+export PP_WINE_FULLSCREEN_FSR="0"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_USE_D3D_EXTRAS="1"
+export PP_FIX_VIDEO_IN_GAME="0"
+export PP_USE_AMDVLK_DRIVER="0"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_USE_SHADER_CACHE="1"
diff --git a/data_from_portwine/scripts/portwine_db/ForzaHorizon4 b/data_from_portwine/scripts/portwine_db/ForzaHorizon4
index 42c8a8b8..e5b16c09 100755
--- a/data_from_portwine/scripts/portwine_db/ForzaHorizon4
+++ b/data_from_portwine/scripts/portwine_db/ForzaHorizon4
@@ -3,5 +3,5 @@
#ForzaHorizon4.exe
#Rating=5
################################################
-export PW_DLL_INSTALL="vcrun2019"
-export PW_VULKAN_USE=vkd3d
+export PP_DLL_INSTALL="vcrun2019"
+export PP_VULKAN_USE=vkd3d
diff --git a/data_from_portwine/scripts/portwine_db/Frozen Throne b/data_from_portwine/scripts/portwine_db/Frozen Throne
index 621e510c..190122cc 100755
--- a/data_from_portwine/scripts/portwine_db/Frozen Throne
+++ b/data_from_portwine/scripts/portwine_db/Frozen Throne
@@ -3,9 +3,9 @@
#Frozen Throne.exe
#Rating=4 - no video
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
-export PW_GUI_DISABLED_CS=1
+export PP_GUI_DISABLED_CS=1
if [ -d "${PATH_TO_GAME}"/Movies ] ; then
mv "${PATH_TO_GAME}"/Movies "${PATH_TO_GAME}"/Movies_bak
fi
diff --git a/data_from_portwine/scripts/portwine_db/GTAIV b/data_from_portwine/scripts/portwine_db/GTAIV
index 513d5fc4..65ba3abb 100755
--- a/data_from_portwine/scripts/portwine_db/GTAIV
+++ b/data_from_portwine/scripts/portwine_db/GTAIV
@@ -3,8 +3,8 @@
#GTAIV.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
-export PW_NO_ESYNC=1
-export PW_NO_FSYNC=1
+export PP_VULKAN_USE=dxvk
+export PP_NO_ESYNC=1
+export PP_NO_FSYNC=1
##export RADV_DEBUG=nodcc # Enable if you have Big Navi videocard (Radeon RX 60xx)
export LAUNCH_PARAMETERS="('"-nomemrestrict"' '"-norestrictions"' '"-percentvidmem 100"' '"-availablevidmem 2048"' '"-noprecache"' '"-novblank"' '"-heapsize 2097152"')" # Additional launch options
diff --git a/data_from_portwine/scripts/portwine_db/GalaxyClient b/data_from_portwine/scripts/portwine_db/GalaxyClient
index 89ee288d..370df037 100644
--- a/data_from_portwine/scripts/portwine_db/GalaxyClient
+++ b/data_from_portwine/scripts/portwine_db/GalaxyClient
@@ -4,11 +4,11 @@
#GOG_Galaxy_2.0.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=1
-export PW_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_WINE_USE=PROTON_GE
export WINEDLLOVERRIDES="galaxycommunication.exe=n;libglesv2="
export LAUNCH_PARAMETERS="/runWithoutUpdating /deelevated"
-export PW_DLL_INSTALL="vcrun2019"
+export PP_DLL_INSTALL="vcrun2019"
add_in_start_portwine ()
{
if [ -e "${WINEPREFIX}/drive_c/users/${USER}/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json" ] ; then
diff --git a/data_from_portwine/scripts/portwine_db/Game-TS3 b/data_from_portwine/scripts/portwine_db/Game-TS3
index 69fcf6ac..eda05743 100755
--- a/data_from_portwine/scripts/portwine_db/Game-TS3
+++ b/data_from_portwine/scripts/portwine_db/Game-TS3
@@ -3,5 +3,5 @@
#Game-TS3.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/GameCenter b/data_from_portwine/scripts/portwine_db/GameCenter
index 66660490..b566ec01 100644
--- a/data_from_portwine/scripts/portwine_db/GameCenter
+++ b/data_from_portwine/scripts/portwine_db/GameCenter
@@ -3,36 +3,36 @@
#GameCenter.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM_6.3-8C_PW2
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG_6.3-8C_PW2
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/GameLauncher b/data_from_portwine/scripts/portwine_db/GameLauncher
index fae72d4a..5393557e 100644
--- a/data_from_portwine/scripts/portwine_db/GameLauncher
+++ b/data_from_portwine/scripts/portwine_db/GameLauncher
@@ -3,36 +3,36 @@
#GameLauncher.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE_6.19-5
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE_6.19-5
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/GoW b/data_from_portwine/scripts/portwine_db/GoW
index f7d76889..4fbbb32b 100644
--- a/data_from_portwine/scripts/portwine_db/GoW
+++ b/data_from_portwine/scripts/portwine_db/GoW
@@ -3,44 +3,44 @@
#GoW.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_WINE_USE=PROTON-7.0RC6-GE-1!!!
-export PW_VULKAN_USE=1
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=1
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+##export PP_WINE_USE=PROTON-7.0RC6-GE-1!!!
+export PP_VULKAN_USE=1
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=1
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=1
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=1
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=1
-export PW_USE_WINE_DXGI=0
+export PP_MANGOHUD=1
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=1
+export PP_USE_WINE_DXGI=0
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/HITMAN3 b/data_from_portwine/scripts/portwine_db/HITMAN3
index f7f2e29a..a14ba08b 100755
--- a/data_from_portwine/scripts/portwine_db/HITMAN3
+++ b/data_from_portwine/scripts/portwine_db/HITMAN3
@@ -3,8 +3,8 @@
#HITMAN3.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
-export PW_DXGI_FROM_DXVK=1
+export PP_DXGI_FROM_DXVK=1
#export MANGOHUD=1
-#export PW_USE_NVAPI_AND_DLSS=0 # for nvidia gpu
+#export PP_USE_NVAPI_AND_DLSS=0 # for nvidia gpu
diff --git a/data_from_portwine/scripts/portwine_db/Hades b/data_from_portwine/scripts/portwine_db/Hades
index 6a3e6a0f..0dd15f61 100755
--- a/data_from_portwine/scripts/portwine_db/Hades
+++ b/data_from_portwine/scripts/portwine_db/Hades
@@ -2,27 +2,27 @@
#Author: linux-gaming.ru
#Hades.exe
#Rating=1-5
-#export PW_COMMENT_DB="blablabla"
+#export PP_COMMENT_DB="blablabla"
################################################
-export PW_VULKAN_USE=dxvk #dxvk or vkd3d
+export PP_VULKAN_USE=dxvk #dxvk or vkd3d
#export WINEDLLOVERRIDES="blabla=n,b"
-#export PW_LOG=0 # Enable debug mode fo terminal
-#export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-#export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-#export PW_VULKAN_NO_ASYNC=1
-#export PW_USE_TERMINAL=0
-#export PW_OLD_GL_STRING=0
-#export PW_USE_NVAPI_AND_DLSS=0
-#export PW_VKD3D_FEATURE_LEVEL=0
-#export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-#export PW_HIDE_NVIDIA_GPU=0
-#export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-#export PW_WINEDBG_DISABLE=1
-#export PW_USE_GAMEMODE=0 # Force disabele gamemod
-#export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+#export PP_LOG=0 # Enable debug mode fo terminal
+#export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+#export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+#export PP_VULKAN_NO_ASYNC=1
+#export PP_USE_TERMINAL=0
+#export PP_OLD_GL_STRING=0
+#export PP_USE_NVAPI_AND_DLSS=0
+#export PP_VKD3D_FEATURE_LEVEL=0
+#export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+#export PP_HIDE_NVIDIA_GPU=0
+#export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+#export PP_WINEDBG_DISABLE=1
+#export PP_USE_GAMEMODE=0 # Force disabele gamemod
+#export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
#export PULSE_LATENCY_MSEC=60
-#export PW_DLL_INSTALL="foo bar"
+#export PP_DLL_INSTALL="foo bar"
#export LAUNCH_PARAMETERS="-d3d9"
-#export PW_GUI_DISABLED_CS=1
+#export PP_GUI_DISABLED_CS=1
#export MANGOHUD=1 MANGOHUD_CONFIG=full,height=500,font_size=32,position=top-right,toggle_hud=F9
-export PW_DLL_INSTALL="vcrun2019 d3dcompiler_47 d3dx9_43"
+export PP_DLL_INSTALL="vcrun2019 d3dcompiler_47 d3dx9_43"
diff --git a/data_from_portwine/scripts/portwine_db/Half-Life2 b/data_from_portwine/scripts/portwine_db/Half-Life2
index 6a773d18..00f0b6cc 100644
--- a/data_from_portwine/scripts/portwine_db/Half-Life2
+++ b/data_from_portwine/scripts/portwine_db/Half-Life2
@@ -3,36 +3,36 @@
#Half-Life2.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Hellblade_Senuas_Sacrifice b/data_from_portwine/scripts/portwine_db/Hellblade_Senuas_Sacrifice
index 5044ae9f..ab71a7e8 100755
--- a/data_from_portwine/scripts/portwine_db/Hellblade_Senuas_Sacrifice
+++ b/data_from_portwine/scripts/portwine_db/Hellblade_Senuas_Sacrifice
@@ -3,5 +3,5 @@
#HellbladeGame.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Heroes3 b/data_from_portwine/scripts/portwine_db/Heroes3
index 004b8d7b..9a644421 100755
--- a/data_from_portwine/scripts/portwine_db/Heroes3
+++ b/data_from_portwine/scripts/portwine_db/Heroes3
@@ -3,5 +3,5 @@
#Heroes3.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Heroes3 HD b/data_from_portwine/scripts/portwine_db/Heroes3 HD
index 3107dd5a..b0fa1c44 100755
--- a/data_from_portwine/scripts/portwine_db/Heroes3 HD
+++ b/data_from_portwine/scripts/portwine_db/Heroes3 HD
@@ -3,5 +3,5 @@
#Heroes3 HD.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Horizon Zero Dawn b/data_from_portwine/scripts/portwine_db/Horizon Zero Dawn
index f6773e2e..d26e25b9 100755
--- a/data_from_portwine/scripts/portwine_db/Horizon Zero Dawn
+++ b/data_from_portwine/scripts/portwine_db/Horizon Zero Dawn
@@ -3,7 +3,7 @@
#HorizonZeroDawn.exe
#Rating=?
################################################
-export PW_VULKAN_USE=vkd3d #dxvk or vkd3d
+export PP_VULKAN_USE=vkd3d #dxvk or vkd3d
export WINEDLLOVERRIDES=""
-export PW_DLL_INSTALL="vcrun2019"
+export PP_DLL_INSTALL="vcrun2019"
export LAUNCH_PARAMETERS="-EpicPortal"
diff --git a/data_from_portwine/scripts/portwine_db/Hulk b/data_from_portwine/scripts/portwine_db/Hulk
index a999289d..9301cf21 100755
--- a/data_from_portwine/scripts/portwine_db/Hulk
+++ b/data_from_portwine/scripts/portwine_db/Hulk
@@ -3,7 +3,7 @@
#hulk.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
-export PW_WINDOWS_VER="XP"
-export PW_USE_GAMEMODE=1
+export PP_VULKAN_USE=0
+export PP_WINDOWS_VER="XP"
+export PP_USE_GAMEMODE=1
export LAUNCH_PARAMETERS="-d3d9"
diff --git a/data_from_portwine/scripts/portwine_db/Inscryption b/data_from_portwine/scripts/portwine_db/Inscryption
index 038955f1..aaa0dcd8 100644
--- a/data_from_portwine/scripts/portwine_db/Inscryption
+++ b/data_from_portwine/scripts/portwine_db/Inscryption
@@ -3,5 +3,5 @@
#Inscryption.exe
#Rating=5
#####################examples###########################
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
diff --git a/data_from_portwine/scripts/portwine_db/JustCause4 b/data_from_portwine/scripts/portwine_db/JustCause4
index b60ea42f..2d0ac772 100644
--- a/data_from_portwine/scripts/portwine_db/JustCause4
+++ b/data_from_portwine/scripts/portwine_db/JustCause4
@@ -3,33 +3,33 @@
#JustCause4.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
-export PW_DLL_INSTALL="vcrun2019"
+export PP_VULKAN_USE=dxvk
+export PP_DLL_INSTALL="vcrun2019"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
ADD_IN_START_PORTWINE () {
if [[ -f "${PATH_TO_GAME}/EOSSDK-Win64-Shipping.dll" ]] && [[ ! -f "${PATH_TO_GAME}/eossdk-win64-shipping.dll" ]] ; then
try_copy_file "${PATH_TO_GAME}/EOSSDK-Win64-Shipping.dll" "${PATH_TO_GAME}/eossdk-win64-shipping.dll"
diff --git a/data_from_portwine/scripts/portwine_db/LOF2 b/data_from_portwine/scripts/portwine_db/LOF2
index 99d10987..830f414c 100755
--- a/data_from_portwine/scripts/portwine_db/LOF2
+++ b/data_from_portwine/scripts/portwine_db/LOF2
@@ -3,29 +3,29 @@
#LOF2.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
export PULSE_LATENCY_MSEC=120 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Larry b/data_from_portwine/scripts/portwine_db/Larry
index 96e245e1..e6edc746 100755
--- a/data_from_portwine/scripts/portwine_db/Larry
+++ b/data_from_portwine/scripts/portwine_db/Larry
@@ -3,7 +3,7 @@
#Larry.exe
#Rating=5
################################################
-export PW_NO_FSYNC=1
-export PW_NO_ESYNC=1
-export PW_WINDOWS_VER=7
+export PP_NO_FSYNC=1
+export PP_NO_ESYNC=1
+export PP_WINDOWS_VER=7
diff --git a/data_from_portwine/scripts/portwine_db/League of Legends b/data_from_portwine/scripts/portwine_db/League of Legends
index fc29c0d6..bc76e673 100755
--- a/data_from_portwine/scripts/portwine_db/League of Legends
+++ b/data_from_portwine/scripts/portwine_db/League of Legends
@@ -10,29 +10,29 @@
#####################examples###########################
export TEXT_OPSSL=""
[[ -z `which openssl` ]] && export TEXT_OPSSL="Install openssl in your system!!!\n"
-export PW_COMMENT_DB="${TEXT_OPSSL}Dwnload and start League of Legends can take a long time"
+export PP_COMMENT_DB="${TEXT_OPSSL}Dwnload and start League of Legends can take a long time"
export WINEDLLOVERRIDES="mscoree,mshtml="
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live" # Additional launch options
-export PW_WINE_USE=WINE_LOL_GE_7.0-4
-export PW_VULKAN_USE=1
-export PW_MUST_HAVE_DLL=""
-export PW_PREFIX_NAME="LEAGUE_OF_LEGENDS"
-export PW_NO_FSYNC=1
-export PW_NO_ESYNC=1
-export PW_DISABLED_CREATE_DB=1
-export PW_USE_D3D_EXTRAS=1
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_WINE_USE=WINE_LOL_GE_7.0-4
+export PP_VULKAN_USE=1
+export PP_MUST_HAVE_DLL=""
+export PP_PREFIX_NAME="LEAGUE_OF_LEGENDS"
+export PP_NO_FSYNC=1
+export PP_NO_ESYNC=1
+export PP_DISABLED_CREATE_DB=1
+export PP_USE_D3D_EXTRAS=1
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
check_download_wine_ver_for_lol () {
- if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
- if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
- "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
+ if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PP_WINE_USE}/${PP_WINE_USE}.tar.xz" \
+ "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
UNPACK_STATUS=0
else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
fi
fi
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
@@ -41,9 +41,9 @@ check_download_wine_ver_for_lol () {
check_download_wine_ver_for_lol
# check_port_for_lol () {
-# "${pw_yad}" --progress --progress-text="Loading and start League of Legends. Please wait. It can take a long time!" \
-# --pulsate --no-buttons --undecorated --center --skip-taskbar --image="${PW_GUI_ICON_PATH}/covers/lol_cover.jpg" --image-on-top > /dev/null 4>&1 &
-# PW_YAD_PID_LOL="$!"
+# "${pp_yad}" --progress --progress-text="Loading and start League of Legends. Please wait. It can take a long time!" \
+# --pulsate --no-buttons --undecorated --center --skip-taskbar --image="${PP_GUI_ICON_PATH}/covers/lol_cover.jpg" --image-on-top > /dev/null 4>&1 &
+# PP_YAD_PID_LOL="$!"
# process=LeagueClientUx.exe
# while [[ -z `pidof ${process}` ]] ; do
# echo "PID ${process} not found"
@@ -63,13 +63,13 @@ check_download_wine_ver_for_lol
# sleep 1
# done"
# kill -CONT ${uxpid}
-# kill -s SIGUSR1 "${PW_YAD_PID_LOL}"
+# kill -s SIGUSR1 "${PP_YAD_PID_LOL}"
# }
add_in_start_portwine () {
echo ""
# if [ "$(cat /proc/sys/abi/vsyscall32)" -ne 0 ] ; then
- # pw_stop_progress_bar
+ # pp_stop_progress_bar
# zenity --question --title="Fix for LoL anti-cheat" \
# --text='Root rights are required to execute the command: \n"sysctl -w abi.vsyscall32=0"' --no-wrap
# [ "$?" = 1 ] && exit 0
diff --git a/data_from_portwine/scripts/portwine_db/LifeIsStrange b/data_from_portwine/scripts/portwine_db/LifeIsStrange
index 0cdabbda..32c356ed 100755
--- a/data_from_portwine/scripts/portwine_db/LifeIsStrange
+++ b/data_from_portwine/scripts/portwine_db/LifeIsStrange
@@ -3,6 +3,6 @@
#LifeIsStrange.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export WINEDLLOVERRIDES="xapofx1_5,xaudio2_7=n,b"
-export PW_DLL_INSTALL=faudio
+export PP_DLL_INSTALL=faudio
diff --git a/data_from_portwine/scripts/portwine_db/Lineage2_NewRP b/data_from_portwine/scripts/portwine_db/Lineage2_NewRP
index e2c1bdd0..530b89de 100644
--- a/data_from_portwine/scripts/portwine_db/Lineage2_NewRP
+++ b/data_from_portwine/scripts/portwine_db/Lineage2_NewRP
@@ -3,41 +3,41 @@
#NewRP.exe
#Rating=5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:Curves:SMAA:LumaSharpen
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=0
-export PW_USE_GSTREAMER=0
+export PP_VKBASALT_EFFECTS=cas:Curves:SMAA:LumaSharpen
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=0
+export PP_USE_GSTREAMER=0
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_USE_DXR11=0
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=1
-export PW_USE_WINE_DXGI=0
-export PW_PRIME_RENDER_OFFLOAD=0
+export PP_USE_DXR11=0
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=1
+export PP_USE_WINE_DXGI=0
+export PP_PRIME_RENDER_OFFLOAD=0
diff --git a/data_from_portwine/scripts/portwine_db/Little_Nightmares_II b/data_from_portwine/scripts/portwine_db/Little_Nightmares_II
index 9d010df9..edc2f817 100755
--- a/data_from_portwine/scripts/portwine_db/Little_Nightmares_II
+++ b/data_from_portwine/scripts/portwine_db/Little_Nightmares_II
@@ -4,6 +4,6 @@
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_WINDOWS_VER=10
+export PP_WINDOWS_VER=10
diff --git a/data_from_portwine/scripts/portwine_db/LostEmber b/data_from_portwine/scripts/portwine_db/LostEmber
index 5b2b191e..74349466 100755
--- a/data_from_portwine/scripts/portwine_db/LostEmber
+++ b/data_from_portwine/scripts/portwine_db/LostEmber
@@ -3,35 +3,35 @@
#LostEmber-Win64-Shipping.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=vkd3d
+ export PP_VULKAN_USE=vkd3d
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-export PW_HEAP_DELAY_FREE=1
-##export PW_DXGI_FROM_DXVK=1
+export PP_HEAP_DELAY_FREE=1
+##export PP_DXGI_FROM_DXVK=1
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb b/data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb
index 1ee08ac7..69f09397 100644
--- a/data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb
+++ b/data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb
@@ -3,49 +3,49 @@
#MWO Portal.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS="-noprompt -anygpu"
-export PW_WINE_USE="PROTON_GE"
-export PW_VULKAN_USE="1"
-export PW_USE_DXR10="0"
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
+export PP_WINE_USE="PROTON_GE"
+export PP_VULKAN_USE="1"
+export PP_USE_DXR10="0"
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT="1"
-export PW_VKBASALT_EFFECTS="FakeHDR:cas"
-export PW_VKBASALT_FFX_CAS="0.75"
-export PW_NO_FSYNC="0"
-export PW_NO_ESYNC="1"
-export PW_USE_GSTREAMER="1"
+export PP_VKBASALT_EFFECTS="FakeHDR:cas"
+export PP_VKBASALT_FFX_CAS="0.75"
+export PP_NO_FSYNC="0"
+export PP_NO_ESYNC="1"
+export PP_USE_GSTREAMER="1"
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-export PW_HEAP_DELAY_FREE="0"
-export PW_WINE_ALLOW_XIM="0"
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+export PP_HEAP_DELAY_FREE="0"
+export PP_WINE_ALLOW_XIM="0"
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_GUI_DISABLED_CS="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_GUI_DISABLED_CS="0"
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_PREFIX_NAME="DOTNET"
-export PW_MANGOHUD="1"
-export PW_MANGOHUD_USER_CONF="1"
-export PW_USE_DXR11="0"
-export PW_WINE_FULLSCREEN_FSR="0"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_USE_D3D_EXTRAS="1"
-export PW_FIX_VIDEO_IN_GAME="0"
-export PW_USE_AMDVLK_DRIVER="0"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
-export PW_USE_SHADER_CACHE="1"
+export PP_PREFIX_NAME="DOTNET"
+export PP_MANGOHUD="1"
+export PP_MANGOHUD_USER_CONF="1"
+export PP_USE_DXR11="0"
+export PP_WINE_FULLSCREEN_FSR="0"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_USE_D3D_EXTRAS="1"
+export PP_FIX_VIDEO_IN_GAME="0"
+export PP_USE_AMDVLK_DRIVER="0"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_USE_SHADER_CACHE="1"
diff --git a/data_from_portwine/scripts/portwine_db/Mafia DE b/data_from_portwine/scripts/portwine_db/Mafia DE
index fbf7672e..c472fa96 100755
--- a/data_from_portwine/scripts/portwine_db/Mafia DE
+++ b/data_from_portwine/scripts/portwine_db/Mafia DE
@@ -3,5 +3,5 @@
#mafiadefinitiveedition.exe
#Rating=4
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export PULSE_LATENCY_MSEC=60
diff --git a/data_from_portwine/scripts/portwine_db/MassEffect b/data_from_portwine/scripts/portwine_db/MassEffect
index 06c880f0..b25fe77e 100755
--- a/data_from_portwine/scripts/portwine_db/MassEffect
+++ b/data_from_portwine/scripts/portwine_db/MassEffect
@@ -4,28 +4,28 @@
#MassEffectConfig.exe
#Rating=1-5
#####################examples###########################
-export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
+##export PP_HEAP_DELAY_FREE=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/MassEffect2 b/data_from_portwine/scripts/portwine_db/MassEffect2
index ee30cf77..b34013ce 100755
--- a/data_from_portwine/scripts/portwine_db/MassEffect2
+++ b/data_from_portwine/scripts/portwine_db/MassEffect2
@@ -3,30 +3,30 @@
#MassEffect2.exe
#Rating=1-5
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/MassEffectConfig b/data_from_portwine/scripts/portwine_db/MassEffectConfig
index 42d14d5b..4448f0af 100644
--- a/data_from_portwine/scripts/portwine_db/MassEffectConfig
+++ b/data_from_portwine/scripts/portwine_db/MassEffectConfig
@@ -3,36 +3,36 @@
#MassEffectConfig.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/MassEffectLauncher b/data_from_portwine/scripts/portwine_db/MassEffectLauncher
index a63c316a..8bcfaac3 100644
--- a/data_from_portwine/scripts/portwine_db/MassEffectLauncher
+++ b/data_from_portwine/scripts/portwine_db/MassEffectLauncher
@@ -3,40 +3,40 @@
#MassEffectLauncher.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Clarity
-export PW_VKBASALT_FFX_CAS=0.75
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Clarity
+export PP_VKBASALT_FFX_CAS=0.75
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/MetroExodus b/data_from_portwine/scripts/portwine_db/MetroExodus
index 2e61747a..4afa66ac 100755
--- a/data_from_portwine/scripts/portwine_db/MetroExodus
+++ b/data_from_portwine/scripts/portwine_db/MetroExodus
@@ -3,6 +3,6 @@
#MetroExodus.exe
#Rating=?
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
-export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
diff --git a/data_from_portwine/scripts/portwine_db/MikuMikuDance b/data_from_portwine/scripts/portwine_db/MikuMikuDance
index cbb2bdec..fc09d10f 100644
--- a/data_from_portwine/scripts/portwine_db/MikuMikuDance
+++ b/data_from_portwine/scripts/portwine_db/MikuMikuDance
@@ -3,40 +3,40 @@
#MikuMikuDance.exe
#Rating=3-5
#####################examples###########################
-export PW_COMMENT_DB="MikuMikuDance"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+export PP_COMMENT_DB="MikuMikuDance"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="MMEffect,MMHack,d3d9,dsound=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_VULKAN_USE=0
-export PW_USE_DXR10=0
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_VULKAN_USE=0
+export PP_USE_DXR10=0
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##add_in_start_portwine () { commands ; }
-##export PW_WINE_USE=WINE_7.0_STAGING_AMD64!!!!
-export PW_MANGOHUD=0
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_GSTREAMER=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=0
-export PW_USE_WINE_DXGI=1
+##export PP_WINE_USE=WINE_7.0_STAGING_AMD64!!!!
+export PP_MANGOHUD=0
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_GSTREAMER=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=0
+export PP_USE_WINE_DXGI=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/NFS b/data_from_portwine/scripts/portwine_db/NFS
index 920108f2..c722a9e9 100644
--- a/data_from_portwine/scripts/portwine_db/NFS
+++ b/data_from_portwine/scripts/portwine_db/NFS
@@ -3,6 +3,6 @@
#speed.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
export WINEDLLOVERRIDES="dinput8"
diff --git a/data_from_portwine/scripts/portwine_db/NovaRO b/data_from_portwine/scripts/portwine_db/NovaRO
index 29a522e1..cc48fe3a 100755
--- a/data_from_portwine/scripts/portwine_db/NovaRO
+++ b/data_from_portwine/scripts/portwine_db/NovaRO
@@ -4,40 +4,40 @@
#NovaRO.exe
#Rating=1-5
########################################################
-export PW_DLL_INSTALL="d3dcompiler_42 d3dcompiler_43 d3dx9"
+export PP_DLL_INSTALL="d3dcompiler_42 d3dcompiler_43 d3dx9"
#directx9
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VKD3D_FEATURE_LEVEL=1
-##export PW_DXGI_FROM_DXVK=1
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VKD3D_FEATURE_LEVEL=1
+##export PP_DXGI_FROM_DXVK=1
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_LOG=1 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_LOG=1 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm b/data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm
index 1984e30a..e2b4facd 100644
--- a/data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm
+++ b/data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm
@@ -3,38 +3,38 @@
#soulstorm.exe
#Rating=5
#################################################
-export PW_VULKAN_USE="1"
-export PW_WINE_USE="PROTON_GE"
-export PW_PREFIX_NAME="DEFAULT"
-export PW_VKBASALT_EFFECTS="Curves:cas"
-export PW_VKBASALT_FFX_CAS="0.75"
+export PP_VULKAN_USE="1"
+export PP_WINE_USE="PROTON_GE"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_VKBASALT_EFFECTS="Curves:cas"
+export PP_VKBASALT_FFX_CAS="0.75"
export ENABLE_VKBASALT="1"
-export PW_MANGOHUD="1"
-export PW_MANGOHUD_USER_CONF="0"
-export PW_NO_ESYNC="1"
-export PW_NO_FSYNC="0"
-export PW_USE_DXR10="0"
-export PW_USE_DXR11="0"
-export PW_VULKAN_NO_ASYNC="0"
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_WINE_ALLOW_XIM="0"
-export PW_HEAP_DELAY_FREE="0"
-export PW_GUI_DISABLED_CS="0"
-export PW_USE_GSTREAMER="1"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_D3D_EXTRAS_DISABLE="0"
-export PW_FIX_VIDEO_IN_GAME="0"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
-export PW_USE_SHADER_CACHE="1"
+export PP_MANGOHUD="1"
+export PP_MANGOHUD_USER_CONF="0"
+export PP_NO_ESYNC="1"
+export PP_NO_FSYNC="0"
+export PP_USE_DXR10="0"
+export PP_USE_DXR11="0"
+export PP_VULKAN_NO_ASYNC="0"
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_WINE_ALLOW_XIM="0"
+export PP_HEAP_DELAY_FREE="0"
+export PP_GUI_DISABLED_CS="0"
+export PP_USE_GSTREAMER="1"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_D3D_EXTRAS_DISABLE="0"
+export PP_FIX_VIDEO_IN_GAME="0"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_USE_SHADER_CACHE="1"
export LAUNCH_PARAMETERS=""
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
-export PW_WINE_FULLSCREEN_FSR="1"
+export PP_WINE_FULLSCREEN_FSR="1"
diff --git a/data_from_portwine/scripts/portwine_db/Origin b/data_from_portwine/scripts/portwine_db/Origin
index 60f1e9a4..8b1ffe52 100755
--- a/data_from_portwine/scripts/portwine_db/Origin
+++ b/data_from_portwine/scripts/portwine_db/Origin
@@ -3,21 +3,21 @@
#Origin.exe
#Rating=?
#####################examples###########################
-export PW_DLL_INSTALL="vcrun2012 vcrun2019" # Install DDL in port prefix (used winetricks)
-export PW_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL
+export PP_DLL_INSTALL="vcrun2012 vcrun2019" # Install DDL in port prefix (used winetricks)
+export PP_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL
###WINE_KRON4EK###
-export PW_WINE_USE="WINE-7.13-STAGING-AMD64"
+export PP_WINE_USE="WINE-7.13-STAGING-AMD64"
check_download_wine_ver_for_origin () {
- if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
+ if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
if try_download "https://github.com/Kron4ek/Wine-Builds/releases/download/7.13/wine-7.13-staging-amd64.tar.xz" \
- "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
+ "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
UNPACK_STATUS=0
else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
fi
fi
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
diff --git a/data_from_portwine/scripts/portwine_db/Photoshop b/data_from_portwine/scripts/portwine_db/Photoshop
index 7fe331c0..d4de39d9 100644
--- a/data_from_portwine/scripts/portwine_db/Photoshop
+++ b/data_from_portwine/scripts/portwine_db/Photoshop
@@ -3,34 +3,34 @@
#Photoshop.exe
#Rating=1-5
########################################################
-export PW_WINDOWS_VER=10
-export PW_VIRTUAL_DESKTOP=1
-export PW_DLL_INSTALL="atmlib corefonts gdiplus msxml3 msxml6 vcrun2012 vcrun2013 vcrun2019"
+export PP_WINDOWS_VER=10
+export PP_VIRTUAL_DESKTOP=1
+export PP_DLL_INSTALL="atmlib corefonts gdiplus msxml3 msxml6 vcrun2012 vcrun2013 vcrun2019"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
#export LAUNCH_PARAMETERS=""
-##export PW_DLL_INSTALL="gdiplus msxml3 msxml6 atmlib corefonts vcrun2010 vcrun2012 vcrun2013 vcrun2019" # Install DDL in port prefix (used winetricks)
+##export PP_DLL_INSTALL="gdiplus msxml3 msxml6 atmlib corefonts vcrun2010 vcrun2012 vcrun2013 vcrun2019" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_NVAPI_DISABLE=1
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_NVAPI_DISABLE=1
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
#ADD_IN_START_PORTWINE () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Praest b/data_from_portwine/scripts/portwine_db/Praest
index f2c26182..3945d5d0 100755
--- a/data_from_portwine/scripts/portwine_db/Praest
+++ b/data_from_portwine/scripts/portwine_db/Praest
@@ -3,5 +3,5 @@
#Praest.exe
#Rating=5
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Quake4 b/data_from_portwine/scripts/portwine_db/Quake4
index 88c8e34b..ec470761 100644
--- a/data_from_portwine/scripts/portwine_db/Quake4
+++ b/data_from_portwine/scripts/portwine_db/Quake4
@@ -3,40 +3,40 @@
#Quake4.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=0.75
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=0.75
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/QuickSFV b/data_from_portwine/scripts/portwine_db/QuickSFV
index f46b43cc..46161fc7 100644
--- a/data_from_portwine/scripts/portwine_db/QuickSFV
+++ b/data_from_portwine/scripts/portwine_db/QuickSFV
@@ -3,36 +3,36 @@
#QuickSFV.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/RAGE2 b/data_from_portwine/scripts/portwine_db/RAGE2
index 721daa79..a34eaa0f 100755
--- a/data_from_portwine/scripts/portwine_db/RAGE2
+++ b/data_from_portwine/scripts/portwine_db/RAGE2
@@ -3,5 +3,5 @@
#RAGE2.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=vkd3d
+export PP_VULKAN_USE=vkd3d
export LAUNCH_PARAMETERS=""
\ No newline at end of file
diff --git a/data_from_portwine/scripts/portwine_db/RDR2 b/data_from_portwine/scripts/portwine_db/RDR2
index a163c917..c7490135 100755
--- a/data_from_portwine/scripts/portwine_db/RDR2
+++ b/data_from_portwine/scripts/portwine_db/RDR2
@@ -4,9 +4,9 @@
#PlayRDR2.exe
#Rating=?
################################################
-export PW_VULKAN_USE=1
+export PP_VULKAN_USE=1
export WINEDLLOVERRIDES="vulkan-1=n,b"
-export PW_DXGI_FROM_DXVK=1
+export PP_DXGI_FROM_DXVK=1
export LAUNCH_PARAMETERS=("-fullscreen" "-vulkan" "-adapter=1" "-USEALLAVAILABLECORES" "-cpuLoadRebalancing" "-ignorepipelinecach")
export PULSE_LATENCY_MSEC=60
#export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json"
diff --git a/data_from_portwine/scripts/portwine_db/Radmir_launcher b/data_from_portwine/scripts/portwine_db/Radmir_launcher
index a0becc3c..53ec4c65 100755
--- a/data_from_portwine/scripts/portwine_db/Radmir_launcher
+++ b/data_from_portwine/scripts/portwine_db/Radmir_launcher
@@ -3,5 +3,5 @@
#RADMIR_LAUNCHER.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export WINEDLLOVERRIDES="libglesv2="
diff --git a/data_from_portwine/scripts/portwine_db/Rockstar_Games_Launcher b/data_from_portwine/scripts/portwine_db/Rockstar_Games_Launcher
index 95b8b506..e5d323df 100755
--- a/data_from_portwine/scripts/portwine_db/Rockstar_Games_Launcher
+++ b/data_from_portwine/scripts/portwine_db/Rockstar_Games_Launcher
@@ -5,9 +5,9 @@
#LauncherPatcher.exe
#Rating=?
################################################
-export PW_VULKAN_USE=1
-export PW_DLL_INSTALL="vcrun2019"
-export PW_WINDOWS_VER=10
+export PP_VULKAN_USE=1
+export PP_DLL_INSTALL="vcrun2019"
+export PP_WINDOWS_VER=10
add_in_start_portwine () {
regdlloverrides "RDR2.exe:vulkan-1=n"
}
diff --git a/data_from_portwine/scripts/portwine_db/SR2_pc b/data_from_portwine/scripts/portwine_db/SR2_pc
index b06e83db..aac3811c 100755
--- a/data_from_portwine/scripts/portwine_db/SR2_pc
+++ b/data_from_portwine/scripts/portwine_db/SR2_pc
@@ -3,33 +3,33 @@
#SR2_pc.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_DLL_INSTALL="faudio" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_DLL_INSTALL="faudio" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_USE_BUILD_IN_DXGI=1
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_USE_BUILD_IN_DXGI=1
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_LOG=1 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_LOG=1 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Sam3 b/data_from_portwine/scripts/portwine_db/Sam3
index ef9f5001..d873b84f 100755
--- a/data_from_portwine/scripts/portwine_db/Sam3
+++ b/data_from_portwine/scripts/portwine_db/Sam3
@@ -3,40 +3,40 @@
#Sam3.exe
#Rating=3
########################################################
-export PW_DLL_INSTALL="d3dx9 vcrun2013 d3dcompiller_47"
+export PP_DLL_INSTALL="d3dx9 vcrun2013 d3dcompiller_47"
export PULSE_LATENCY_MSEC=150
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VKD3D_FEATURE_LEVEL=1
-##export PW_DXGI_FROM_DXVK=1
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VKD3D_FEATURE_LEVEL=1
+##export PP_DXGI_FROM_DXVK=1
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_LOG=1 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_LOG=1 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/SamSM b/data_from_portwine/scripts/portwine_db/SamSM
index 4c4f26f7..2728b9a6 100644
--- a/data_from_portwine/scripts/portwine_db/SamSM
+++ b/data_from_portwine/scripts/portwine_db/SamSM
@@ -4,44 +4,44 @@
#SamSM.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER=10
-export PW_DLL_INSTALL=""
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER=10
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS="+gfx_strApi Vulkan"
-export PW_WINE_USE=PROTON_GE_7.1-2
-export PW_VULKAN_USE=1
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE_7.1-2
+export PP_VULKAN_USE=1
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_GAMEMODE=0
-export PW_DX12_DISABLE=0
-export PW_PRIME_RENDER_OFFLOAD=0
-export PW_D3D_EXTRAS_DISABLE=0
+export PP_MANGOHUD=1
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_GAMEMODE=0
+export PP_DX12_DISABLE=0
+export PP_PRIME_RENDER_OFFLOAD=0
+export PP_D3D_EXTRAS_DISABLE=0
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt
diff --git a/data_from_portwine/scripts/portwine_db/Secrets_Of_Grindea b/data_from_portwine/scripts/portwine_db/Secrets_Of_Grindea
index cb2ebdce..5828bbe1 100755
--- a/data_from_portwine/scripts/portwine_db/Secrets_Of_Grindea
+++ b/data_from_portwine/scripts/portwine_db/Secrets_Of_Grindea
@@ -3,5 +3,5 @@
#Secrets Of Grindea.exe
#Rating=5
################################################
-export PW_VULKAN_USE=dxvk
-export PW_DLL_INSTALL="faudio"
+export PP_VULKAN_USE=dxvk
+export PP_DLL_INSTALL="faudio"
diff --git a/data_from_portwine/scripts/portwine_db/Sekiro_Shadow_Die_Twice b/data_from_portwine/scripts/portwine_db/Sekiro_Shadow_Die_Twice
index 1544b426..385331fe 100755
--- a/data_from_portwine/scripts/portwine_db/Sekiro_Shadow_Die_Twice
+++ b/data_from_portwine/scripts/portwine_db/Sekiro_Shadow_Die_Twice
@@ -3,5 +3,5 @@
#sekiro.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Sheltered2 b/data_from_portwine/scripts/portwine_db/Sheltered2
index 48e338b3..56d7531c 100644
--- a/data_from_portwine/scripts/portwine_db/Sheltered2
+++ b/data_from_portwine/scripts/portwine_db/Sheltered2
@@ -3,45 +3,45 @@
#Sheltered2.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS=""
-export PW_WINE_USE="PROTON_GE_7-9"
-export PW_VULKAN_USE="1"
-export PW_USE_DXR10="0"
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC="0"
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
+export PP_WINE_USE="PROTON_GE_7-9"
+export PP_VULKAN_USE="1"
+export PP_USE_DXR10="0"
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC="0"
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT="0"
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC="0"
-export PW_NO_ESYNC="1"
-export PW_USE_GSTREAMER="1"
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC="0"
+export PP_NO_ESYNC="1"
+export PP_USE_GSTREAMER="1"
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-export PW_HEAP_DELAY_FREE="0"
-export PW_WINE_ALLOW_XIM="0"
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+export PP_HEAP_DELAY_FREE="0"
+export PP_WINE_ALLOW_XIM="0"
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_GUI_DISABLED_CS="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_GUI_DISABLED_CS="0"
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_PREFIX_NAME="DEFAULT"
-export PW_MANGOHUD_USER_CONF="0"
-export PW_USE_DXR11="0"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_D3D_EXTRAS_DISABLE="0"
-export PW_FIX_VIDEO_IN_GAME="1"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_MANGOHUD_USER_CONF="0"
+export PP_USE_DXR11="0"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_D3D_EXTRAS_DISABLE="0"
+export PP_FIX_VIDEO_IN_GAME="1"
export MANGOHUD_CONFIG="font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt"
diff --git a/data_from_portwine/scripts/portwine_db/ShelteredWindows64_EOS b/data_from_portwine/scripts/portwine_db/ShelteredWindows64_EOS
index bceb0ced..c9b733b2 100755
--- a/data_from_portwine/scripts/portwine_db/ShelteredWindows64_EOS
+++ b/data_from_portwine/scripts/portwine_db/ShelteredWindows64_EOS
@@ -3,36 +3,36 @@
#ShelteredWindows64_EOS.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/SimCity b/data_from_portwine/scripts/portwine_db/SimCity
index 5fd02088..630f6236 100755
--- a/data_from_portwine/scripts/portwine_db/SimCity
+++ b/data_from_portwine/scripts/portwine_db/SimCity
@@ -3,8 +3,8 @@
#SimCity.exe
#Rating=1-5
########################################################
-export PW_COMMENT_DB="SimCity 5"
-export PW_DLL_INSTALL="vcrun2012 vcrun2019 d3dcompiler_43 d3dcompiler_47 d3dx9" # Install DDL in port prefix (used winetricks)
-export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=1
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_COMMENT_DB="SimCity 5"
+export PP_DLL_INSTALL="vcrun2012 vcrun2019 d3dcompiler_43 d3dcompiler_47 d3dx9" # Install DDL in port prefix (used winetricks)
+export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
diff --git a/data_from_portwine/scripts/portwine_db/Singularity b/data_from_portwine/scripts/portwine_db/Singularity
index 2a09b6e6..043d5a8b 100755
--- a/data_from_portwine/scripts/portwine_db/Singularity
+++ b/data_from_portwine/scripts/portwine_db/Singularity
@@ -3,4 +3,4 @@
#Singularity.exe
#Rating=1-5
################################################
-export PW_DLL_INSTALL="physx"
+export PP_DLL_INSTALL="physx"
diff --git a/data_from_portwine/scripts/portwine_db/Sirus Launcher b/data_from_portwine/scripts/portwine_db/Sirus Launcher
index 76c532fd..9140a39f 100755
--- a/data_from_portwine/scripts/portwine_db/Sirus Launcher
+++ b/data_from_portwine/scripts/portwine_db/Sirus Launcher
@@ -3,30 +3,30 @@
#Sirus Launcher.exe
#Rating=4
#####################examples###########################
-export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
+export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+export PP_WINDOWS_VER=7 # Set windows version 10, 7 or XP
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/SkyrimSE b/data_from_portwine/scripts/portwine_db/SkyrimSE
index c91d4a61..bb5d38ef 100755
--- a/data_from_portwine/scripts/portwine_db/SkyrimSE
+++ b/data_from_portwine/scripts/portwine_db/SkyrimSE
@@ -3,6 +3,6 @@
#SkyrimSE.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export PULSE_LATENCY_MSEC=90
export WINEDLLOVERRIDES="xaudio2_7=n,b"
diff --git a/data_from_portwine/scripts/portwine_db/SpideyPC b/data_from_portwine/scripts/portwine_db/SpideyPC
index ead3a738..8341dcb8 100755
--- a/data_from_portwine/scripts/portwine_db/SpideyPC
+++ b/data_from_portwine/scripts/portwine_db/SpideyPC
@@ -3,7 +3,7 @@
#SpideyPC.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
-export PW_WINDOWS_VER="XP"
-export PW_USE_GAMEMODE=1
+export PP_VULKAN_USE=0
+export PP_WINDOWS_VER="XP"
+export PP_USE_GAMEMODE=1
export LAUNCH_PARAMETERS="-d3d9"
diff --git a/data_from_portwine/scripts/portwine_db/StarCraft b/data_from_portwine/scripts/portwine_db/StarCraft
index 8e2e4e91..b9462c73 100755
--- a/data_from_portwine/scripts/portwine_db/StarCraft
+++ b/data_from_portwine/scripts/portwine_db/StarCraft
@@ -5,33 +5,33 @@
################################################
export WINEDLLOVERRIDES="ddraw=n,b"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/StarCraft Launcher b/data_from_portwine/scripts/portwine_db/StarCraft Launcher
index e8c365cd..36a3b889 100644
--- a/data_from_portwine/scripts/portwine_db/StarCraft Launcher
+++ b/data_from_portwine/scripts/portwine_db/StarCraft Launcher
@@ -3,36 +3,36 @@
#StarCraft Launcher.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM_6.3-7
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG_6.3-7
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Suite b/data_from_portwine/scripts/portwine_db/Suite
index 8dcbf89e..ef3eaf60 100755
--- a/data_from_portwine/scripts/portwine_db/Suite
+++ b/data_from_portwine/scripts/portwine_db/Suite
@@ -3,31 +3,31 @@
#Suite.exe
#Rating=1-5
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="corefonts" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="corefonts" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-#export PW_VIRTUAL_DESKTOP=1
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+#export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##add_in_start_portwine () { commands ; }
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
diff --git a/data_from_portwine/scripts/portwine_db/TESV_Skyrim_-_Enderal_Forgotten_Stories b/data_from_portwine/scripts/portwine_db/TESV_Skyrim_-_Enderal_Forgotten_Stories
index 6d95731c..239411e6 100755
--- a/data_from_portwine/scripts/portwine_db/TESV_Skyrim_-_Enderal_Forgotten_Stories
+++ b/data_from_portwine/scripts/portwine_db/TESV_Skyrim_-_Enderal_Forgotten_Stories
@@ -3,6 +3,6 @@
#Enderal Launcher.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
-export PW_WINDOWS_VER=7
+export PP_WINDOWS_VER=7
diff --git a/data_from_portwine/scripts/portwine_db/Terminator Resistance b/data_from_portwine/scripts/portwine_db/Terminator Resistance
index 2e010539..ea2152e6 100755
--- a/data_from_portwine/scripts/portwine_db/Terminator Resistance
+++ b/data_from_portwine/scripts/portwine_db/Terminator Resistance
@@ -3,4 +3,4 @@
#Rating=5
#Terminator.exe
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
diff --git a/data_from_portwine/scripts/portwine_db/This War of Mine b/data_from_portwine/scripts/portwine_db/This War of Mine
index 9d1de79a..3f86d601 100755
--- a/data_from_portwine/scripts/portwine_db/This War of Mine
+++ b/data_from_portwine/scripts/portwine_db/This War of Mine
@@ -3,5 +3,5 @@
#This War of Mine.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/Torchlight b/data_from_portwine/scripts/portwine_db/Torchlight
index 39839faa..edd5e549 100755
--- a/data_from_portwine/scripts/portwine_db/Torchlight
+++ b/data_from_portwine/scripts/portwine_db/Torchlight
@@ -3,37 +3,37 @@
#Torchlight.exe
#Rating=1-5
########################################################
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS="FakeHDR:cas:FilmGrain2"
-export PW_VKBASALT_FFX_CAS="1"
+export PP_VKBASALT_EFFECTS="FakeHDR:cas:FilmGrain2"
+export PP_VKBASALT_FFX_CAS="1"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_WINE_USE=PROTON_GE # PROTON_STEAM or PROTON_GE
-##export PW_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINE_USE=PROTON_GE # PROTON_LG or PROTON_GE
+##export PP_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/Torment b/data_from_portwine/scripts/portwine_db/Torment
index 6083f375..81a32e1a 100755
--- a/data_from_portwine/scripts/portwine_db/Torment
+++ b/data_from_portwine/scripts/portwine_db/Torment
@@ -3,33 +3,33 @@
#Torment.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/TwoWorlds2 b/data_from_portwine/scripts/portwine_db/TwoWorlds2
index 479eb678..1fff3e68 100644
--- a/data_from_portwine/scripts/portwine_db/TwoWorlds2
+++ b/data_from_portwine/scripts/portwine_db/TwoWorlds2
@@ -3,40 +3,40 @@
#TwoWorlds2.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE_6.19-5
-export PW_VULKAN_USE=1
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE_6.19-5
+export PP_VULKAN_USE=1
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10 b/data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10
index bf395e4d..b5155dd2 100644
--- a/data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10
+++ b/data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10
@@ -3,40 +3,40 @@
#TwoWorlds2_DX10.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE_6.19-5
-export PW_VULKAN_USE=1
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE_6.19-5
+export PP_VULKAN_USE=1
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=0.85
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=0.85
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/UNDERTALE b/data_from_portwine/scripts/portwine_db/UNDERTALE
index d97efae0..897dfc67 100644
--- a/data_from_portwine/scripts/portwine_db/UNDERTALE
+++ b/data_from_portwine/scripts/portwine_db/UNDERTALE
@@ -3,35 +3,35 @@
#UNDERTALE.exe
#Rating=1-5
########################################################
-export PW_WINE_USE=proton_steam
-export PW_VULKAN_USE=dxvk
+export PP_WINE_USE=proton_steam
+export PP_VULKAN_USE=dxvk
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_WINE_USE=proton_ge # proton_steam or proton_ge
-##export PW_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINE_USE=proton_ge # proton_steam or proton_ge
+##export PP_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##ADD_IN_START_PORTWINE () { commands ; }
MANGOHUD_CONFIG=fps_limit=30
diff --git a/data_from_portwine/scripts/portwine_db/UbisoftConnect b/data_from_portwine/scripts/portwine_db/UbisoftConnect
index f0a46fce..e5e58934 100755
--- a/data_from_portwine/scripts/portwine_db/UbisoftConnect
+++ b/data_from_portwine/scripts/portwine_db/UbisoftConnect
@@ -3,34 +3,34 @@
#UbisoftConnect.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=1
-export PW_DLL_INSTALL="d3dcompiler_43 d3dcompiler_47 d3dx9 d3dx11_42 d3dx11_43"
+export PP_VULKAN_USE=1
+export PP_DLL_INSTALL="d3dcompiler_43 d3dcompiler_47 d3dx9 d3dx11_42 d3dx11_43"
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/VampireLife_2 b/data_from_portwine/scripts/portwine_db/VampireLife_2
index 217dd1ba..d26357ea 100644
--- a/data_from_portwine/scripts/portwine_db/VampireLife_2
+++ b/data_from_portwine/scripts/portwine_db/VampireLife_2
@@ -3,10 +3,10 @@
#VampireLife.2.exe
#Rating=1-5
#########################################################
-export PW_COMMENT_DB="VampireLife 2"
-#export PW_DLL_INSTALL="vcrun2019 physx"
+export PP_COMMENT_DB="VampireLife 2"
+#export PP_DLL_INSTALL="vcrun2019 physx"
#####################examples###########################
-export PW_VULKAN_USE="1"
-export PW_WINE_USE="PROTON_GE_7-9"
-export PW_PREFIX_NAME="DEFAULT"
-export PW_DISABLED_CREATE_DB=1
+export PP_VULKAN_USE="1"
+export PP_WINE_USE="PROTON_GE_7-9"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_DISABLED_CREATE_DB=1
diff --git a/data_from_portwine/scripts/portwine_db/WarGame3 b/data_from_portwine/scripts/portwine_db/WarGame3
index a4da96fc..ecbd5cc8 100755
--- a/data_from_portwine/scripts/portwine_db/WarGame3
+++ b/data_from_portwine/scripts/portwine_db/WarGame3
@@ -3,32 +3,32 @@
#WarGame3.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=vkd3d
- export PW_DLL_INSTALL="wmp9"
+ export PP_VULKAN_USE=vkd3d
+ export PP_DLL_INSTALL="wmp9"
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
+##export PP_HEAP_DELAY_FREE=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/WolfNewOrder b/data_from_portwine/scripts/portwine_db/WolfNewOrder
index e99e52d6..9c4db075 100644
--- a/data_from_portwine/scripts/portwine_db/WolfNewOrder
+++ b/data_from_portwine/scripts/portwine_db/WolfNewOrder
@@ -3,49 +3,49 @@
#WolfNewOrder_x64.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export LAUNCH_PARAMETERS=""
-export PW_WINE_USE="PROTON_GE"
-export PW_VULKAN_USE="1"
-export PW_USE_DXR10="0"
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
+export PP_WINE_USE="PROTON_GE"
+export PP_VULKAN_USE="1"
+export PP_USE_DXR10="0"
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT="0"
-export PW_VKBASALT_EFFECTS="Curves:SMAA:cas"
-export PW_VKBASALT_FFX_CAS="0.75"
-export PW_NO_FSYNC="0"
-export PW_NO_ESYNC="1"
-export PW_USE_GSTREAMER="1"
+export PP_VKBASALT_EFFECTS="Curves:SMAA:cas"
+export PP_VKBASALT_FFX_CAS="0.75"
+export PP_NO_FSYNC="0"
+export PP_NO_ESYNC="1"
+export PP_USE_GSTREAMER="1"
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-export PW_HEAP_DELAY_FREE="0"
-export PW_WINE_ALLOW_XIM="0"
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+export PP_HEAP_DELAY_FREE="0"
+export PP_WINE_ALLOW_XIM="0"
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_GUI_DISABLED_CS="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_GUI_DISABLED_CS="0"
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_PREFIX_NAME="DEFAULT"
-export PW_MANGOHUD="1"
-export PW_MANGOHUD_USER_CONF="0"
-export PW_USE_DXR11="0"
-export PW_WINE_FULLSCREEN_FSR="0"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_USE_D3D_EXTRAS="0"
-export PW_FIX_VIDEO_IN_GAME="0"
-export PW_USE_AMDVLK_DRIVER="0"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
-export PW_USE_SHADER_CACHE="1"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_MANGOHUD="1"
+export PP_MANGOHUD_USER_CONF="0"
+export PP_USE_DXR11="0"
+export PP_WINE_FULLSCREEN_FSR="0"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_USE_D3D_EXTRAS="0"
+export PP_FIX_VIDEO_IN_GAME="0"
+export PP_USE_AMDVLK_DRIVER="0"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_USE_SHADER_CACHE="1"
diff --git a/data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient b/data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient
index 68dba0f3..067a8ec3 100644
--- a/data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient
+++ b/data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient
@@ -4,39 +4,39 @@
#WorldOfSeaBattleClient.exe
#Rating=1-5
#####################examples###########################
-export PW_COMMENT_DB="World of Sea Battle"
-export PW_PREFIX_NAME="DOTNET"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL="faudio dotnet48 dotnet20sp2"
+export PP_COMMENT_DB="World of Sea Battle"
+export PP_PREFIX_NAME="DOTNET"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL="faudio dotnet48 dotnet20sp2"
export WINEDLLOVERRIDES="quartz=b"
export LAUNCH_PARAMETERS=""
-export PW_WINE_USE="PROTON_GE"
-export PW_VULKAN_USE="1"
-export PW_VULKAN_NO_ASYNC="0"
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
+export PP_WINE_USE="PROTON_GE"
+export PP_VULKAN_USE="1"
+export PP_VULKAN_NO_ASYNC="0"
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
export ENABLE_VKBASALT="0"
-export PW_VKBASALT_EFFECTS="cas:FilmGrain2:Curves:Colourfulness:GaussianBlur"
-export PW_VKBASALT_FFX_CAS="0.50"
-export PW_NO_FSYNC="0"
-export PW_NO_ESYNC="1"
-export PW_USE_GSTREAMER="0"
-export PW_HEAP_DELAY_FREE="0"
-export PW_WINE_ALLOW_XIM="0"
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_GUI_DISABLED_CS="0"
-export PW_MANGOHUD="0"
-export PW_MANGOHUD_USER_CONF="0"
-export PW_USE_DXR11="0"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_USE_D3D_EXTRAS=1
-export PW_FIX_VIDEO_IN_GAME="0"
-export PW_USE_AMDVLK_DRIVER="1"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
-export PW_USE_SHADER_CACHE="1"
+export PP_VKBASALT_EFFECTS="cas:FilmGrain2:Curves:Colourfulness:GaussianBlur"
+export PP_VKBASALT_FFX_CAS="0.50"
+export PP_NO_FSYNC="0"
+export PP_NO_ESYNC="1"
+export PP_USE_GSTREAMER="0"
+export PP_HEAP_DELAY_FREE="0"
+export PP_WINE_ALLOW_XIM="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_GUI_DISABLED_CS="0"
+export PP_MANGOHUD="0"
+export PP_MANGOHUD_USER_CONF="0"
+export PP_USE_DXR11="0"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_USE_D3D_EXTRAS=1
+export PP_FIX_VIDEO_IN_GAME="0"
+export PP_USE_AMDVLK_DRIVER="1"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_USE_SHADER_CACHE="1"
diff --git a/data_from_portwine/scripts/portwine_db/WorldOfTanks b/data_from_portwine/scripts/portwine_db/WorldOfTanks
index 45f31f9f..03e252e2 100755
--- a/data_from_portwine/scripts/portwine_db/WorldOfTanks
+++ b/data_from_portwine/scripts/portwine_db/WorldOfTanks
@@ -3,8 +3,8 @@
#WorldOfTanks.exe
#Rating=5
################################################
-export PW_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL
-export PW_DLL_INSTALL="lucida vcrun2019" # Install DDL in port prefix (used winetricks)
+export PP_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL
+export PP_DLL_INSTALL="lucida vcrun2019" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="xaudio2_7="
-export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-export PW_USE_D3D_EXTRAS=0
+export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+export PP_USE_D3D_EXTRAS=0
diff --git a/data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher b/data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
index 8454af35..aa499121 100755
--- a/data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
+++ b/data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
@@ -3,14 +3,14 @@
#WorldOfTanksEnCoreLauncher.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=1
- export PW_USE_TERMINAL=0
- export PW_PREFIX_NAME="DOTNET"
- export PW_DLL_INSTALL="mfc42 vb6run physx dotnet40" # Install DDL in port prefix (used winetricks)
- export PW_COMMENT_DB="World Of Tanks EnCore"
- export PW_USE_D3D_EXTRAS=0
+ export PP_VULKAN_USE=1
+ export PP_USE_TERMINAL=0
+ export PP_PREFIX_NAME="DOTNET"
+ export PP_DLL_INSTALL="mfc42 vb6run physx dotnet40" # Install DDL in port prefix (used winetricks)
+ export PP_COMMENT_DB="World Of Tanks EnCore"
+ export PP_USE_D3D_EXTRAS=0
## export DXVK_HUD=fps,devinfo
- ## export PW_MANGOHUD=1
+ ## export PP_MANGOHUD=1
#####################examples###########################
while [ `pidof -s dotNetFx40_Full_x86_x64.exe` ] ; do
if [ $? -eq 0 ] ; then
diff --git a/data_from_portwine/scripts/portwine_db/XR_3DA b/data_from_portwine/scripts/portwine_db/XR_3DA
index 02a699ea..836802dd 100755
--- a/data_from_portwine/scripts/portwine_db/XR_3DA
+++ b/data_from_portwine/scripts/portwine_db/XR_3DA
@@ -3,7 +3,7 @@
#XR_3DA.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS="-nointro -noprefetch" # -nointro command line option to skip intro movies
# -noprefetch command line option to shorten load times
-#export PW_DLL_INSTALL="vcrun2019 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9
+#export PP_DLL_INSTALL="vcrun2019 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9
diff --git a/data_from_portwine/scripts/portwine_db/alanwake b/data_from_portwine/scripts/portwine_db/alanwake
index 15fce26e..cb01001e 100755
--- a/data_from_portwine/scripts/portwine_db/alanwake
+++ b/data_from_portwine/scripts/portwine_db/alanwake
@@ -3,33 +3,33 @@
#alanwake.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="d3dx9 d3dcompiler_43" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-#export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-#export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=1 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="d3dx9 d3dcompiler_43" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+#export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+#export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=1 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/arizona-starter b/data_from_portwine/scripts/portwine_db/arizona-starter
index 6d3586fc..2ba97eba 100755
--- a/data_from_portwine/scripts/portwine_db/arizona-starter
+++ b/data_from_portwine/scripts/portwine_db/arizona-starter
@@ -3,30 +3,30 @@
#arizona-starter.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=0
+ export PP_VULKAN_USE=0
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
##export DXVK_HUD=fps,devinfo
diff --git a/data_from_portwine/scripts/portwine_db/avengers b/data_from_portwine/scripts/portwine_db/avengers
index c3273e29..58d5d82b 100755
--- a/data_from_portwine/scripts/portwine_db/avengers
+++ b/data_from_portwine/scripts/portwine_db/avengers
@@ -3,10 +3,10 @@
#avengers.exe
#Rating=?
################################################
-export PW_VULKAN_USE=dxvk
+export PP_VULKAN_USE=dxvk
export LAUNCH_PARAMETERS=""
#export WINEDLLOVERRIDES="atiadlxx=n"
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-#export PW_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-#export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-export PW_DLL_INSTALL="d3dcompiler_47 vcrun2019"
\ No newline at end of file
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+#export PP_NO_FSYNC=0 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+#export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+export PP_DLL_INSTALL="d3dcompiler_47 vcrun2019"
\ No newline at end of file
diff --git a/data_from_portwine/scripts/portwine_db/death_stranding b/data_from_portwine/scripts/portwine_db/death_stranding
index 7d9ce173..52538287 100644
--- a/data_from_portwine/scripts/portwine_db/death_stranding
+++ b/data_from_portwine/scripts/portwine_db/death_stranding
@@ -3,33 +3,33 @@
#ds.exe
#Rating=5
################################################
-export PW_VULKAN_USE="2"
+export PP_VULKAN_USE="2"
export LAUNCH_PARAMETERS=""
export WINEDLLOVERRIDES="d3dcompiler_47,dxcompiler=n,b"
-export PW_WINE_USE="PROTON_GE_7-9"
-export PW_PREFIX_NAME="DEFAULT"
-export PW_MANGOHUD_USER_CONF="0"
+export PP_WINE_USE="PROTON_GE_7-9"
+export PP_PREFIX_NAME="DEFAULT"
+export PP_MANGOHUD_USER_CONF="0"
export ENABLE_VKBASALT="0"
-export PW_NO_ESYNC="1"
-export PW_NO_FSYNC="0"
-export PW_USE_DXR10="0"
-export PW_USE_DXR11="0"
-export PW_VULKAN_NO_ASYNC="0"
-export PW_USE_NVAPI_AND_DLSS="0"
-export PW_OLD_GL_STRING="0"
-export PW_HIDE_NVIDIA_GPU="0"
-export PW_FORCE_USE_VSYNC="0"
-export PW_VIRTUAL_DESKTOP="0"
-export PW_WINEDBG_DISABLE="1"
-export PW_USE_TERMINAL="0"
-export PW_WINE_ALLOW_XIM="0"
-export PW_HEAP_DELAY_FREE="0"
-export PW_GUI_DISABLED_CS="0"
-export PW_USE_GSTREAMER="1"
-export PW_USE_GAMEMODE="1"
-export PW_DX12_DISABLE="0"
-export PW_PRIME_RENDER_OFFLOAD="0"
-export PW_D3D_EXTRAS_DISABLE="0"
-export PW_FIX_VIDEO_IN_GAME="1"
-export PW_WINDOWS_VER="10"
-export PW_DLL_INSTALL=""
+export PP_NO_ESYNC="1"
+export PP_NO_FSYNC="0"
+export PP_USE_DXR10="0"
+export PP_USE_DXR11="0"
+export PP_VULKAN_NO_ASYNC="0"
+export PP_USE_NVAPI_AND_DLSS="0"
+export PP_OLD_GL_STRING="0"
+export PP_HIDE_NVIDIA_GPU="0"
+export PP_FORCE_USE_VSYNC="0"
+export PP_VIRTUAL_DESKTOP="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_USE_TERMINAL="0"
+export PP_WINE_ALLOW_XIM="0"
+export PP_HEAP_DELAY_FREE="0"
+export PP_GUI_DISABLED_CS="0"
+export PP_USE_GSTREAMER="1"
+export PP_USE_GAMEMODE="1"
+export PP_DX12_DISABLE="0"
+export PP_PRIME_RENDER_OFFLOAD="0"
+export PP_D3D_EXTRAS_DISABLE="0"
+export PP_FIX_VIDEO_IN_GAME="1"
+export PP_WINDOWS_VER="10"
+export PP_DLL_INSTALL=""
diff --git a/data_from_portwine/scripts/portwine_db/default b/data_from_portwine/scripts/portwine_db/default
index 9c6a6c40..11877999 100755
--- a/data_from_portwine/scripts/portwine_db/default
+++ b/data_from_portwine/scripts/portwine_db/default
@@ -3,44 +3,44 @@
#name_exe_file.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
+##export PP_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="+com_skipIntroVideo 1 +com_skipSignInManager 1" # Additional launch options
-##export PW_WINE_USE=PROTON_GE # PROTON_STEAM or PROTON_GE
-##export PW_VULKAN_USE=1 # 1 ,dxvk or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINE_USE=PROTON_GE # PROTON_LG or PROTON_GE
+##export PP_VULKAN_USE=1 # 1 ,dxvk or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
diff --git a/data_from_portwine/scripts/portwine_db/dontstarve b/data_from_portwine/scripts/portwine_db/dontstarve
index 5d619562..554c39f2 100755
--- a/data_from_portwine/scripts/portwine_db/dontstarve
+++ b/data_from_portwine/scripts/portwine_db/dontstarve
@@ -3,35 +3,35 @@
#dontstarve.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="d3dx9 d3dcompiler_43" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="d3dx9 d3dcompiler_43" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/ePSXe b/data_from_portwine/scripts/portwine_db/ePSXe
index ff3056c4..4e878202 100644
--- a/data_from_portwine/scripts/portwine_db/ePSXe
+++ b/data_from_portwine/scripts/portwine_db/ePSXe
@@ -3,36 +3,36 @@
#ePSXe.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/eve b/data_from_portwine/scripts/portwine_db/eve
index 48894c5f..b52c1e94 100755
--- a/data_from_portwine/scripts/portwine_db/eve
+++ b/data_from_portwine/scripts/portwine_db/eve
@@ -4,35 +4,35 @@
#evelauncher.exe
#Rating=5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-#export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2019 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+#export PP_WINDOWS_VER=7 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2019 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="concrt140,msvcp140,msvcp140_1,msvcp140_2,d3dcompiler_47=n"
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
##export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS="cas:FilmGrain2"
-export PW_VKBASALT_FFX_CAS="0.5"
+export PP_VKBASALT_EFFECTS="cas:FilmGrain2"
+export PP_VKBASALT_FFX_CAS="0.5"
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=0
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
# eve_fix () {
# export EVE_SHADER_CASH="$WINEPREFIX/drive_c/Games/EVE Online/SharedCache"
diff --git a/data_from_portwine/scripts/portwine_db/factorio b/data_from_portwine/scripts/portwine_db/factorio
index fe5c8a08..09041a0c 100755
--- a/data_from_portwine/scripts/portwine_db/factorio
+++ b/data_from_portwine/scripts/portwine_db/factorio
@@ -3,34 +3,34 @@
#factorio.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=0
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=0
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11 b/data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11
index 597db216..47377c87 100644
--- a/data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11
+++ b/data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11
@@ -3,33 +3,33 @@
#fc3_blooddragon_d3d11.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="corefonts" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="corefonts" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES=xaudio2_7=n,b
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_USE_DXR10=0
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_USE_DXR10=0
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/gfclient b/data_from_portwine/scripts/portwine_db/gfclient
index 0878c732..e0e1cb3a 100755
--- a/data_from_portwine/scripts/portwine_db/gfclient
+++ b/data_from_portwine/scripts/portwine_db/gfclient
@@ -3,11 +3,11 @@
#gfclient.exe
#Rating=1-5
#####################examples###########################
-export PW_COMMENT_DB="GameForge\nClient"
-export PW_VULKAN_USE=dxvk
-export PW_WINE_USE=PROTON_GE
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="vcrun2019 d3dcompiler_43 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
+export PP_COMMENT_DB="GameForge\nClient"
+export PP_VULKAN_USE=dxvk
+export PP_WINE_USE=PROTON_GE
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="vcrun2019 d3dcompiler_43 d3dcompiler_47" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="gfclient0_msvc140=n;ucrtbase=b"
########################################################
#add_in_start_portwine () {
diff --git a/data_from_portwine/scripts/portwine_db/ghost b/data_from_portwine/scripts/portwine_db/ghost
index a06f11d9..8806ebb4 100644
--- a/data_from_portwine/scripts/portwine_db/ghost
+++ b/data_from_portwine/scripts/portwine_db/ghost
@@ -3,33 +3,33 @@
#ghost.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=dxvk
-export PW_WINE_USE=proton_ge
+export PP_VULKAN_USE=dxvk
+export PP_WINE_USE=proton_ge
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##ADD_IN_START_PORTWINE () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/gothic-ii-gold-edition b/data_from_portwine/scripts/portwine_db/gothic-ii-gold-edition
index 5c9f7829..cdb078a7 100755
--- a/data_from_portwine/scripts/portwine_db/gothic-ii-gold-edition
+++ b/data_from_portwine/scripts/portwine_db/gothic-ii-gold-edition
@@ -5,8 +5,8 @@
#Gothic2.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=0
+ export PP_VULKAN_USE=0
#####################examples###########################
export WINEDLLOVERRIDES="dsound=b"
-export PW_DLL_INSTALL="directmusic" # Install DDL in port prefix (used winetricks)
-export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="directmusic" # Install DDL in port prefix (used winetricks)
+export PP_WINDOWS_VER=7 # Set windows version 10, 7 or XP
diff --git a/data_from_portwine/scripts/portwine_db/gta3 b/data_from_portwine/scripts/portwine_db/gta3
index c6a437f1..d9f738cd 100644
--- a/data_from_portwine/scripts/portwine_db/gta3
+++ b/data_from_portwine/scripts/portwine_db/gta3
@@ -3,42 +3,42 @@
#gta3.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-export PW_WINDOWS_VER=XP # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+export PP_WINDOWS_VER=XP # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
export WINEDLLOVERRIDES="d3d8,drvmgt,mss32=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE_7.1-2
-export PW_VULKAN_USE=0
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE_7.1-2
+export PP_VULKAN_USE=0
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=0
-export PW_PRIME_RENDER_OFFLOAD=0
-export PW_D3D_EXTRAS_DISABLE=0
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=0
+export PP_PRIME_RENDER_OFFLOAD=0
+export PP_D3D_EXTRAS_DISABLE=0
diff --git a/data_from_portwine/scripts/portwine_db/gta_sa b/data_from_portwine/scripts/portwine_db/gta_sa
index 58aa69c1..4a5b6eda 100755
--- a/data_from_portwine/scripts/portwine_db/gta_sa
+++ b/data_from_portwine/scripts/portwine_db/gta_sa
@@ -3,6 +3,6 @@
#gta_sa.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS="0"
-#export PW_DLL_INSTALL="d3dx9 physx"
\ No newline at end of file
+#export PP_DLL_INSTALL="d3dx9 physx"
\ No newline at end of file
diff --git a/data_from_portwine/scripts/portwine_db/gu b/data_from_portwine/scripts/portwine_db/gu
index 4c1172ef..71211899 100755
--- a/data_from_portwine/scripts/portwine_db/gu
+++ b/data_from_portwine/scripts/portwine_db/gu
@@ -3,38 +3,38 @@
#gu.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-export PW_VULKAN_NO_ASYNC=0
-##export PW_USE_NVAPI=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+export PP_VULKAN_NO_ASYNC=0
+##export PP_USE_NVAPI=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:FakeHDR
-export PW_VKBASALT_FFX_CAS=0.50
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:FakeHDR
+export PP_VKBASALT_FFX_CAS=0.50
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_USE_RUNTIME=1
+export PP_MANGOHUD=1
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_USE_RUNTIME=1
diff --git a/data_from_portwine/scripts/portwine_db/gu_addon b/data_from_portwine/scripts/portwine_db/gu_addon
index 50b18cf6..4df43032 100644
--- a/data_from_portwine/scripts/portwine_db/gu_addon
+++ b/data_from_portwine/scripts/portwine_db/gu_addon
@@ -3,36 +3,36 @@
#gu_addon.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/hl2 b/data_from_portwine/scripts/portwine_db/hl2
index ee6b1384..498f0a77 100644
--- a/data_from_portwine/scripts/portwine_db/hl2
+++ b/data_from_portwine/scripts/portwine_db/hl2
@@ -3,40 +3,40 @@
#hl2.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_STEAM
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_LG
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:FakeHDR
-export PW_VKBASALT_FFX_CAS=0.75
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:FakeHDR
+export PP_VKBASALT_FFX_CAS=0.75
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/itch b/data_from_portwine/scripts/portwine_db/itch
index 32a0374c..f2c788c0 100644
--- a/data_from_portwine/scripts/portwine_db/itch
+++ b/data_from_portwine/scripts/portwine_db/itch
@@ -3,36 +3,36 @@
#itch.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/iw3sp b/data_from_portwine/scripts/portwine_db/iw3sp
index 31d16d7b..d1f8fbf1 100755
--- a/data_from_portwine/scripts/portwine_db/iw3sp
+++ b/data_from_portwine/scripts/portwine_db/iw3sp
@@ -3,40 +3,40 @@
#iw3sp.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=dxvk
- export PW_DLL_INSTALL="vcrun2019 d3dx9"
- export PW_NO_FSYNC=1
- export PW_VIRTUAL_DESKTOP=1
+ export PP_VULKAN_USE=dxvk
+ export PP_DLL_INSTALL="vcrun2019 d3dx9"
+ export PP_NO_FSYNC=1
+ export PP_VIRTUAL_DESKTOP=1
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/iw4sp b/data_from_portwine/scripts/portwine_db/iw4sp
index 1b41e9f2..1eae11ca 100755
--- a/data_from_portwine/scripts/portwine_db/iw4sp
+++ b/data_from_portwine/scripts/portwine_db/iw4sp
@@ -3,42 +3,42 @@
#iw4sp.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=dxvk
- export PW_DLL_INSTALL="vcrun2019 d3dx9"
- export PW_NO_FSYNC=1
- #export PW_FORCE_USE_VSYNC=0
- #export PW_WINDOWS_VER=7
- export PW_VIRTUAL_DESKTOP=1
+ export PP_VULKAN_USE=dxvk
+ export PP_DLL_INSTALL="vcrun2019 d3dx9"
+ export PP_NO_FSYNC=1
+ #export PP_FORCE_USE_VSYNC=0
+ #export PP_WINDOWS_VER=7
+ export PP_VIRTUAL_DESKTOP=1
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=0
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_DXGI_FROM_DXVK=0
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=0
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_DXGI_FROM_DXVK=0
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=0
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/medal-of-honor-allied-assault-war-chest b/data_from_portwine/scripts/portwine_db/medal-of-honor-allied-assault-war-chest
index 175b6d58..3ecaefe2 100755
--- a/data_from_portwine/scripts/portwine_db/medal-of-honor-allied-assault-war-chest
+++ b/data_from_portwine/scripts/portwine_db/medal-of-honor-allied-assault-war-chest
@@ -7,14 +7,14 @@
#moh_breakthrough.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
export MESA_EXTENSION_MAX_YEAR=2002
export __GL_ExtensionStringVersion=17700
add_in_start_portwine ()
{
-if [ ! -e "$PATH_TO_GAME/0_Proton_PW_MoHAA" ] ; then
- touch "$PATH_TO_GAME/0_Proton_PW_MoHAA" && mv "$PATH_TO_GAME/main/newconfig.cfg" "$PATH_TO_GAME/main/newconfig.cfg.bak" && mv "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/mainta/newconfig.cfg" "$PATH_TO_GAME/mainta/newconfig.cfg.bak" && mv "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/maintt/newconfig.cfg" "$PATH_TO_GAME/maintt/newconfig.cfg.bak" && mv "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg.bak" &&
+if [ ! -e "$PATH_TO_GAME/0_Proton_PP_MoHAA" ] ; then
+ touch "$PATH_TO_GAME/0_Proton_PP_MoHAA" && mv "$PATH_TO_GAME/main/newconfig.cfg" "$PATH_TO_GAME/main/newconfig.cfg.bak" && mv "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/mainta/newconfig.cfg" "$PATH_TO_GAME/mainta/newconfig.cfg.bak" && mv "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/maintt/newconfig.cfg" "$PATH_TO_GAME/maintt/newconfig.cfg.bak" && mv "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg.bak" &&
echo '//
// Video Card Family: NVidia GeForce
// Video Card Driver: NVIDIA GeForce GTX 760
diff --git a/data_from_portwine/scripts/portwine_db/metro b/data_from_portwine/scripts/portwine_db/metro
index c5bd07c9..c75bac1e 100755
--- a/data_from_portwine/scripts/portwine_db/metro
+++ b/data_from_portwine/scripts/portwine_db/metro
@@ -3,40 +3,40 @@
#metro.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2
-export PW_VKBASALT_FFX_CAS=1
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2
+export PP_VKBASALT_FFX_CAS=1
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/osu b/data_from_portwine/scripts/portwine_db/osu
index 6ff7296c..7d06bf26 100755
--- a/data_from_portwine/scripts/portwine_db/osu
+++ b/data_from_portwine/scripts/portwine_db/osu
@@ -4,32 +4,32 @@
#osu!install.exe
#Rating=1-5
########################################################
-export PW_VULKAN_USE=0
-export PW_PREFIX_NAME="DOTNET"
-export PW_DLL_INSTALL="dotnet40"
-export PW_COMMENT_DB="OSU!"
+export PP_VULKAN_USE=0
+export PP_PREFIX_NAME="DOTNET"
+export PP_DLL_INSTALL="dotnet40"
+export PP_COMMENT_DB="OSU!"
#####################examples###########################
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_NVAPI_DISABLE=1
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_NVAPI_DISABLE=1
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/risen-1 b/data_from_portwine/scripts/portwine_db/risen-1
index d5be0953..b5cd4e6e 100755
--- a/data_from_portwine/scripts/portwine_db/risen-1
+++ b/data_from_portwine/scripts/portwine_db/risen-1
@@ -3,27 +3,27 @@
#Risen.exe
#Rating 4
#####################examples###########################
-export PW_VULKAN_USE=0 # dxvk, vkd3d or 0 for OpenGL
+export PP_VULKAN_USE=0 # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-export PW_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+export PP_DLL_INSTALL="physx d3dx9" # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-#export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+#export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/s1_sp64_ship b/data_from_portwine/scripts/portwine_db/s1_sp64_ship
index 5e3a73bc..fff71998 100755
--- a/data_from_portwine/scripts/portwine_db/s1_sp64_ship
+++ b/data_from_portwine/scripts/portwine_db/s1_sp64_ship
@@ -3,40 +3,40 @@
#s1_sp64_ship.exe
#Rating=1-5
################################################
- export PW_VULKAN_USE=dxvk
- export PW_DLL_INSTALL="vcrun2019 d3dx9"
- #export PW_NO_FSYNC=1
- export PW_WINDOWS_VER=7
+ export PP_VULKAN_USE=dxvk
+ export PP_DLL_INSTALL="vcrun2019 d3dx9"
+ #export PP_NO_FSYNC=1
+ export PP_WINDOWS_VER=7
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_DXVK_VER=1.8.1
-##export PW_VKD3D_VER=2.2
+##export PP_COMMENT_DB="blablabla"
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_DXVK_VER=1.8.1
+##export PP_VKD3D_VER=2.2
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##export DXVK_HUD=fps,devinfo
-##export PW_HEAP_DELAY_FREE=0
-##export PW_DXGI_FROM_DXVK=0
+##export PP_HEAP_DELAY_FREE=0
+##export PP_DXGI_FROM_DXVK=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/saferun b/data_from_portwine/scripts/portwine_db/saferun
index e4ceed51..fd1b389c 100644
--- a/data_from_portwine/scripts/portwine_db/saferun
+++ b/data_from_portwine/scripts/portwine_db/saferun
@@ -3,40 +3,40 @@
#saferun.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=dxvk
-export PW_DXR_ON=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=dxvk
+export PP_DXR_ON=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Clarity
-export PW_VKBASALT_FFX_CAS=0.75
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Clarity
+export PP_VKBASALT_FFX_CAS=0.75
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=1
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
+export PP_MANGOHUD=1
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/samp b/data_from_portwine/scripts/portwine_db/samp
index 947698d5..133d5734 100755
--- a/data_from_portwine/scripts/portwine_db/samp
+++ b/data_from_portwine/scripts/portwine_db/samp
@@ -3,5 +3,5 @@
#samp.exe
#Rating=5
################################################
-export PW_VULKAN_USE=0
+export PP_VULKAN_USE=0
export LAUNCH_PARAMETERS=""
diff --git a/data_from_portwine/scripts/portwine_db/sanitarium_XP b/data_from_portwine/scripts/portwine_db/sanitarium_XP
index e57dd819..35ef80a8 100644
--- a/data_from_portwine/scripts/portwine_db/sanitarium_XP
+++ b/data_from_portwine/scripts/portwine_db/sanitarium_XP
@@ -3,36 +3,36 @@
#sanitarium_XP.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GEC_PW2
-export PW_VULKAN_USE=0
-##export PW_USE_DXR10=1
-##export PW_DLSS_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GEC_PW2
+export PP_VULKAN_USE=0
+##export PP_USE_DXR10=1
+##export PP_DLSS_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
-##export PW_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_USE_GSTREAMER=1 # 0 - disabled use winegstreamer
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/setup b/data_from_portwine/scripts/portwine_db/setup
index 0823ff88..37a75b88 100755
--- a/data_from_portwine/scripts/portwine_db/setup
+++ b/data_from_portwine/scripts/portwine_db/setup
@@ -5,29 +5,29 @@
#SETUP.exe
#.msi
#Rating=5
-#export PW_COMMENT_DB="blablabla"
+#export PP_COMMENT_DB="blablabla"
################################################
-export PW_DISABLED_CREATE_DB=1
-export PW_ICON_FOR_YAD="${PORT_WINE_PATH}/data/img/setup.png"
-export PW_VULKAN_USE=0 #dxvk or vkd3d
-export PW_MANGOHUD=0
-#export PW_WINE_USE=PROTON_STEAM
+export PP_DISABLED_CREATE_DB=1
+export PP_ICON_FOR_YAD="${PORT_WINE_PATH}/data/img/setup.png"
+export PP_VULKAN_USE=0 #dxvk or vkd3d
+export PP_MANGOHUD=0
+#export PP_WINE_USE=PROTON_LG
#export WINEDLLOVERRIDES="blabla=n,b"
-#export PW_LOG=0 # Enable debug mode fo terminal
-export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-#export PW_VULKAN_NO_ASYNC=1
-#export PW_USE_TERMINAL=0
-#export PW_OLD_GL_STRING=0
-#export PW_USE_NVAPI_AND_DLSS=0
-#export PW_VKD3D_FEATURE_LEVEL=0
-export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-#export PW_HIDE_NVIDIA_GPU=0
-#export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-export PW_WINEDBG_DISABLE=1
-export PW_USE_GAMEMODE=0 # Force disabele gamemod
-#export PW_FORCE_LARGE_ADDRESS_AWARE=0 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+#export PP_LOG=0 # Enable debug mode fo terminal
+export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+#export PP_VULKAN_NO_ASYNC=1
+#export PP_USE_TERMINAL=0
+#export PP_OLD_GL_STRING=0
+#export PP_USE_NVAPI_AND_DLSS=0
+#export PP_VKD3D_FEATURE_LEVEL=0
+export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+#export PP_HIDE_NVIDIA_GPU=0
+#export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+export PP_WINEDBG_DISABLE=1
+export PP_USE_GAMEMODE=0 # Force disabele gamemod
+#export PP_FORCE_LARGE_ADDRESS_AWARE=0 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
#export PULSE_LATENCY_MSEC=60
-export PW_DLL_INSTALL="mfc42 vcrun6sp6 vcrun2012 mfc120 mfc140 vcrun2013"
+export PP_DLL_INSTALL="mfc42 vcrun6sp6 vcrun2012 mfc120 mfc140 vcrun2013"
#export LAUNCH_PARAMETERS="-d3d9"
-#export PW_WINDOWS_VER=XP # Set windows version 10, 7 or XP
+#export PP_WINDOWS_VER=XP # Set windows version 10, 7 or XP
diff --git a/data_from_portwine/scripts/portwine_db/sprally2 b/data_from_portwine/scripts/portwine_db/sprally2
index 204fdc00..c0b3d90f 100644
--- a/data_from_portwine/scripts/portwine_db/sprally2
+++ b/data_from_portwine/scripts/portwine_db/sprally2
@@ -3,35 +3,35 @@
#sprally2.exe
#Rating=1-5
########################################################
-export PW_WINE_USE=proton_steam
-export PW_VULKAN_USE=0
-export PW_OLD_GL_STRING=1
+export PP_WINE_USE=proton_steam
+export PP_VULKAN_USE=0
+export PP_OLD_GL_STRING=1
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_WINE_USE=proton_ge # proton_steam or proton_ge
-##export PW_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINE_USE=proton_ge # proton_steam or proton_ge
+##export PP_VULKAN_USE=vkd3d # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##ADD_IN_START_PORTWINE () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/steam b/data_from_portwine/scripts/portwine_db/steam
index c74fe879..ae72d96d 100755
--- a/data_from_portwine/scripts/portwine_db/steam
+++ b/data_from_portwine/scripts/portwine_db/steam
@@ -3,10 +3,10 @@
#steam.exe
#Rating=5
################################################
-export PW_COMMENT_DB="Steam"
-export PW_WINDOWS_VER=7
-export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46"
+export PP_COMMENT_DB="Steam"
+export PP_WINDOWS_VER=7
+export PP_DLL_INSTALL="vcrun2019 d3dcompiler_46"
export WINEDLLOVERRIDES="libglesv2,lsteamclient="
export LAUNCH_PARAMETERS="-no-cef-sandbox"
-export PW_VULKAN_USE=1
-export PW_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+export PP_WINE_USE=PROTON_GE
diff --git a/data_from_portwine/scripts/portwine_db/trine b/data_from_portwine/scripts/portwine_db/trine
index 7831d290..46df5dba 100755
--- a/data_from_portwine/scripts/portwine_db/trine
+++ b/data_from_portwine/scripts/portwine_db/trine
@@ -3,30 +3,30 @@
#trine.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-export PW_DLL_INSTALL="physx" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+export PP_DLL_INSTALL="physx" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
-##export PW_USE_DXR10=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_USE_DXR10=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##ADD_IN_START_PORTWINE () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup b/data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup
index 135e15f3..33fda349 100644
--- a/data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup
+++ b/data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup
@@ -3,43 +3,43 @@
#vocaloid4_4.3.0_setup.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_VULKAN_USE=0
-export PW_USE_DXR10=0
-##export PW_DLSS_ON=1
-export PW_VULKAN_NO_ASYNC=0
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=1
+export PP_VULKAN_USE=0
+export PP_USE_DXR10=0
+##export PP_DLSS_ON=1
+export PP_VULKAN_NO_ASYNC=0
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=0
-##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
-##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
-export PW_USE_GSTREAMER=1
+##export PP_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
+##export PP_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
+export PP_USE_GSTREAMER=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=1
-export PW_USE_TERMINAL=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINEDBG_DISABLE=1
+export PP_USE_TERMINAL=0
+export PP_GUI_DISABLED_CS=0
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
-export PW_MANGOHUD=0
-export PW_MANGOHUD_USER_CONF=0
-export PW_USE_DXR11=0
-export PW_USE_RUNTIME=1
-export PW_USE_GAMEMODE=1
-export PW_DX12_DISABLE=0
-export PW_USE_WINE_DXGI=0
+export PP_MANGOHUD=0
+export PP_MANGOHUD_USER_CONF=0
+export PP_USE_DXR11=0
+export PP_USE_RUNTIME=1
+export PP_USE_GAMEMODE=1
+export PP_DX12_DISABLE=0
+export PP_USE_WINE_DXGI=0
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt,fps_limit=0
diff --git a/data_from_portwine/scripts/portwine_db/wgc b/data_from_portwine/scripts/portwine_db/wgc
index f9245678..f114c10d 100755
--- a/data_from_portwine/scripts/portwine_db/wgc
+++ b/data_from_portwine/scripts/portwine_db/wgc
@@ -3,25 +3,25 @@
#wgc.exe
#wgc_api.exe
#Rating=5
-export PW_COMMENT_DB="Wargaming Game Center"
+export PP_COMMENT_DB="Wargaming Game Center"
################################################
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL
export LAUNCH_PARAMETERS="" # Additional launch options
-#export PW_USE_TERMINAL=1
-export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-#export PW_USE_NVAPI_AND_DLSS=0
+#export PP_USE_TERMINAL=1
+export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+#export PP_USE_NVAPI_AND_DLSS=0
export WINEDLLOVERRIDES="ucrtbase,xaudio2_7,xaudio2_8=n,b"
-export PW_DLL_INSTALL="lucida vcrun2019" # Install DDL in port prefix (used winetricks)
-##export PW_GUI_DISABLED_CS=1
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-export PW_USE_D3D_EXTRAS=0
+export PP_DLL_INSTALL="lucida vcrun2019" # Install DDL in port prefix (used winetricks)
+##export PP_GUI_DISABLED_CS=1
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+export PP_USE_D3D_EXTRAS=0
add_in_start_portwine () {
- if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/${USER}/AppData/Roaming/Wargaming.net/WorldOfTanks/preferences.xml" ]] ; then
- sed -i 's% true % false %' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/${USER}/AppData/Roaming/Wargaming.net/WorldOfTanks/preferences.xml"
+ if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/${USER}/AppData/Roaming/Wargaming.net/WorldOfTanks/preferences.xml" ]] ; then
+ sed -i 's% true % false %' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/${USER}/AppData/Roaming/Wargaming.net/WorldOfTanks/preferences.xml"
fi
- if [[ "${PW_VULKAN_USE}" == "0" || "${PW_VULKAN_USE}" == "3" ]] ; then
+ if [[ "${PP_VULKAN_USE}" == "0" || "${PP_VULKAN_USE}" == "3" ]] ; then
export LAUNCH_PARAMETERS="--disable-gpu"
fi
}
diff --git a/data_from_portwine/scripts/portwine_db/witcher2 b/data_from_portwine/scripts/portwine_db/witcher2
index 87816012..43230de9 100755
--- a/data_from_portwine/scripts/portwine_db/witcher2
+++ b/data_from_portwine/scripts/portwine_db/witcher2
@@ -3,33 +3,33 @@
#witcher2.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1
-##export PW_DXR_ON=1
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_NVAPI=0
-##export PW_OLD_GL_STRING=1
-##export PW_HIDE_NVIDIA_GPU=1
-##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_VIRTUAL_DESKTOP=1
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1
+##export PP_DXR_ON=1
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_NVAPI=0
+##export PP_OLD_GL_STRING=1
+##export PP_HIDE_NVIDIA_GPU=1
+##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
-export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
-export PW_VKBASALT_FFX_CAS=1
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
+export PP_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
+export PP_VKBASALT_FFX_CAS=1
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HEAP_DELAY_FREE=1
-##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
+##export PP_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HEAP_DELAY_FREE=1
+##export PP_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_TERMINAL=1 # Force run in terminal
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_TERMINAL=1 # Force run in terminal
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/portwine_db/witcher3 b/data_from_portwine/scripts/portwine_db/witcher3
index 22c4037d..f6351fd4 100755
--- a/data_from_portwine/scripts/portwine_db/witcher3
+++ b/data_from_portwine/scripts/portwine_db/witcher3
@@ -3,33 +3,33 @@
#witcher3.exe
#Rating=1-5
#####################examples###########################
-##export PW_COMMENT_DB="blablabla"
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
+##export PP_COMMENT_DB="blablabla"
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-export PW_WINE_USE=PROTON_GE
-export PW_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL
-export PW_VULKAN_NO_ASYNC=0
-##export PW_NVAPI_DISABLE=1
-export PW_OLD_GL_STRING=0
-export PW_HIDE_NVIDIA_GPU=0
-export PW_FORCE_USE_VSYNC=0
-export PW_VIRTUAL_DESKTOP=0
+export PP_WINE_USE=PROTON_GE
+export PP_VULKAN_USE=1 # dxvk, vkd3d or 0 for OpenGL
+export PP_VULKAN_NO_ASYNC=0
+##export PP_NVAPI_DISABLE=1
+export PP_OLD_GL_STRING=0
+export PP_HIDE_NVIDIA_GPU=0
+export PP_FORCE_USE_VSYNC=0
+export PP_VIRTUAL_DESKTOP=0
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
##export ENABLE_VKBASALT=1
-export PW_VKBASALT_FFX_CAS="0.5"
-export PW_NO_FSYNC=0
-export PW_NO_ESYNC=1
+export PP_VKBASALT_FFX_CAS="0.5"
+export PP_NO_FSYNC=0
+export PP_NO_ESYNC=1
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
-export PW_NO_WRITE_WATCH=0
-export PW_HEAP_DELAY_FREE=0
-export PW_WINE_ALLOW_XIM=0
+export PP_NO_WRITE_WATCH=0
+export PP_HEAP_DELAY_FREE=0
+export PP_WINE_ALLOW_XIM=0
##export WINEARCH=win32 # defaut = win64
##export WINEPREFIX=
-export PW_WINEDBG_DISABLE=0
-export PW_USE_TERMINAL=0
+export PP_WINEDBG_DISABLE=0
+export PP_USE_TERMINAL=0
##ADD_IN_START_PORTWINE () { commands ; }
-export PW_WINE_USE=PROTON_GE
-export PW_USE_NVAPI_AND_DLSS=0
-export PW_GUI_DISABLED_CS=0
+export PP_WINE_USE=PROTON_GE
+export PP_USE_NVAPI_AND_DLSS=0
+export PP_GUI_DISABLED_CS=0
diff --git a/data_from_portwine/scripts/portwine_db/wot_encore_install_ru b/data_from_portwine/scripts/portwine_db/wot_encore_install_ru
index 66135f57..1f33c8fc 100755
--- a/data_from_portwine/scripts/portwine_db/wot_encore_install_ru
+++ b/data_from_portwine/scripts/portwine_db/wot_encore_install_ru
@@ -3,11 +3,11 @@
#wot_encore_install_ru.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
-export PW_USE_TERMINAL=1
-export PW_PREFIX_NAME="DOTNET"
-export PW_DLL_INSTALL="dotnet40 vcrun2017 mfc42 vb6run physx"
-export PW_COMMENT_DB="World Of Tanks EnCore Installer"
-export PW_USE_D3D_EXTRAS=0
+export PP_VULKAN_USE=dxvk
+export PP_USE_TERMINAL=1
+export PP_PREFIX_NAME="DOTNET"
+export PP_DLL_INSTALL="dotnet40 vcrun2017 mfc42 vb6run physx"
+export PP_COMMENT_DB="World Of Tanks EnCore Installer"
+export PP_USE_D3D_EXTRAS=0
## export DXVK_HUD=fps,devinfo
-## export PW_MANGOHUD=1
+## export PP_MANGOHUD=1
diff --git a/data_from_portwine/scripts/portwine_db/wotblitz b/data_from_portwine/scripts/portwine_db/wotblitz
index 5d600429..d0793ef5 100755
--- a/data_from_portwine/scripts/portwine_db/wotblitz
+++ b/data_from_portwine/scripts/portwine_db/wotblitz
@@ -3,30 +3,30 @@
#wotblitz.exe
#Rating=1-5
################################################
-export PW_VULKAN_USE=dxvk
-export PW_DLL_INSTALL="vcrun2013 vcrun2017 dotnet472"
+export PP_VULKAN_USE=dxvk
+export PP_DLL_INSTALL="vcrun2013 vcrun2017 dotnet472"
#####################examples###########################
-##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
+##export PP_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
##export WINEDLLOVERRIDES="blabla=n,b"
-##export PW_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
-##export PW_LOG=0 # Enable debug mode fo terminal
-##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
-##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
-##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
-##export PW_USE_TERMINAL=0 # Force run in terminal
-##export PW_OLD_GL_STRING=0
-##export PW_USE_NVAPI_AND_DLSS=0
-##export PW_VKD3D_FEATURE_LEVEL=0
-##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
-##export PW_HIDE_NVIDIA_GPU=0
-##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
-##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
-##export PW_USE_GAMEMODE=0 # Force disabele gamemod
-##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
+##export PP_DLL_INSTALL="vcrun2019 " # Install DDL in port prefix (used winetricks)
+##export PP_LOG=0 # Enable debug mode fo terminal
+##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
+##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
+##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
+##export PP_USE_TERMINAL=0 # Force run in terminal
+##export PP_OLD_GL_STRING=0
+##export PP_USE_NVAPI_AND_DLSS=0
+##export PP_VKD3D_FEATURE_LEVEL=0
+##export PP_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
+##export PP_HIDE_NVIDIA_GPU=0
+##export PP_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG
+##export PP_USE_GAMEMODE=0 # Force disabele gamemod
+##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
-##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
+##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export VKD3D_CONFIG=force_bindless_texel_buffer
-##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
-##export PW_VIRTUAL_DESKTOP=1
+##export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP
+##export PP_VIRTUAL_DESKTOP=1
##add_in_start_portwine () { commands ; }
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA b/data_from_portwine/scripts/pp_autoinstall/PP_ANKAMA
similarity index 62%
rename from data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
rename to data_from_portwine/scripts/pp_autoinstall/PP_ANKAMA
index bdc0819b..417ca90a 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_ANKAMA
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/S")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Ankama Launcher-Setup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/Ankama Launcher-Setup.exe"
start_portwine
-if try_download "launcher.cdn.ankama.com/installers/production/Ankama%20Launcher-Setup.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "launcher.cdn.ankama.com/installers/production/Ankama%20Launcher-Setup.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Ankama Launcher. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Ankama Launcher. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Ankama/Ankama Launcher/Ankama Launcher.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="AnkamaLauncher"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET b/data_from_portwine/scripts/pp_autoinstall/PP_BATTLE_NET
similarity index 61%
rename from data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET
rename to data_from_portwine/scripts/pp_autoinstall/PP_BATTLE_NET
index 6ba9dc20..e2b0cab8 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_BATTLE_NET
@@ -2,16 +2,16 @@
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
[ "${update_loc}" = "RUS" ] && export BN_LOC=ruRU || export BN_LOC=enUS
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup-${BN_LOC}.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/Battle.net-Setup-${BN_LOC}.exe"
start_portwine
-if try_download "dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-${BN_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-${BN_LOC}.exe" "${PP_AUTOINSTALL_EXE}"
then
- PW_START_PROGRESS_BAR "Installing the Battle Net. Please wait..."
- pw_kill_autostart Battle.net.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ # PP_START_PROGRESS_BAR "Installing the Battle Net. Please wait..."
+ pp_kill_autostart Battle.net.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe"`
- pw_stop_progress_bar
+ pp_stop_progress_bar
portwine_create_shortcut
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
fi
stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_BETHESDA b/data_from_portwine/scripts/pp_autoinstall/PP_BETHESDA
similarity index 61%
rename from data_from_portwine/scripts/pw_autoinstall/PW_BETHESDA
rename to data_from_portwine/scripts/pp_autoinstall/PP_BETHESDA
index dae9c6a8..2d7c1568 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_BETHESDA
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_BETHESDA
@@ -2,17 +2,17 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT" )
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BethesdaNetLauncher_Setup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/BethesdaNetLauncher_Setup.exe"
start_portwine
-if try_download "download.cdp.bethesda.net/BethesdaNetLauncher_Setup.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "download.cdp.bethesda.net/BethesdaNetLauncher_Setup.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the BethesdaNetLauncher. Please wait..."
- pw_kill_autostart BethesdaNetLauncher.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the BethesdaNetLauncher. Please wait..."
+ pp_kill_autostart BethesdaNetLauncher.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pp_autoinstall/PP_CEMU b/data_from_portwine/scripts/pp_autoinstall/PP_CEMU
new file mode 100755
index 00000000..b93e733e
--- /dev/null
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_CEMU
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+# Author: linux-gaming.ru
+########################################################################
+export PP_URL_CEMU=($(curl -s "https://cemu.info" | grep "zip" | cut -d \" -f 2))
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/`echo ${PP_URL_CEMU} | awk -F/ '{print $5}'`"
+start_portwine
+if try_download "${PP_URL_CEMU}" "${PP_AUTOINSTALL_EXE}"
+then
+ pp_start_progress_bar_block "Installing the Cemu. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
+ portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/`echo ${PP_URL_CEMU} | awk -F/ '{print $5}' | sed 's/.zip//'`/Cemu.exe"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
+ kill_portwine
+ pp_stop_progress_bar
+ export PORTWINE_CREATE_SHORTCUT_NAME="Cemu"
+ portwine_create_shortcut
+fi
+stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_CITRA b/data_from_portwine/scripts/pp_autoinstall/PP_CITRA
similarity index 61%
rename from data_from_portwine/scripts/pw_autoinstall/PW_CITRA
rename to data_from_portwine/scripts/pp_autoinstall/PP_CITRA
index f232acf9..ee5d5808 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_CITRA
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_CITRA
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
########################################################################
#export LAUNCH_PARAMETERS=("")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/citra-setup-windows.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/citra-setup-windows.exe"
start_portwine
-if try_download "github.com/citra-emu/citra-web/releases/download/1.0/citra-setup-windows.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "github.com/citra-emu/citra-web/releases/download/1.0/citra-setup-windows.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Citra. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Citra. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Citra"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN b/data_from_portwine/scripts/pp_autoinstall/PP_DOLPHIN
similarity index 63%
rename from data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
rename to data_from_portwine/scripts/pp_autoinstall/PP_DOLPHIN
index fdab1060..991ae6ee 100644
--- a/data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_DOLPHIN
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
##########################################################################
export LAUNCH_PARAMETERS=("/S")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/dolphin-x64-5.0.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/dolphin-x64-5.0.exe"
start_portwine
-if try_download "dl-mirror.dolphin-emu.org/5.0/dolphin-x64-5.0.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "dl-mirror.dolphin-emu.org/5.0/dolphin-x64-5.0.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Dolphin 5.0. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Dolphin 5.0. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_DUCKSTATION b/data_from_portwine/scripts/pp_autoinstall/PP_DUCKSTATION
similarity index 60%
rename from data_from_portwine/scripts/pw_autoinstall/PW_DUCKSTATION
rename to data_from_portwine/scripts/pp_autoinstall/PP_DUCKSTATION
index 44a02e14..39c36cc8 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_DUCKSTATION
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_DUCKSTATION
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/duckstation-windows-x64-release.zip"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/duckstation-windows-x64-release.zip"
start_portwine
-if try_download "github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip" "${PW_AUTOINSTALL_EXE}"
+if try_download "github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation"
+ pp_start_progress_bar_block "Installing the VBA-M. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Duckstation/duckstation-qt-x64-ReleaseLTCG.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="DuckStation"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_EPIC b/data_from_portwine/scripts/pp_autoinstall/PP_EPIC
similarity index 73%
rename from data_from_portwine/scripts/pw_autoinstall/PW_EPIC
rename to data_from_portwine/scripts/pp_autoinstall/PP_EPIC
index fa8dcc84..d4f3763c 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_EPIC
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_EPIC
@@ -2,15 +2,15 @@
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export LAUNCH_PARAMETERS=("/q" )
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EpicGamesLauncherInstaller.msi"
-export PW_USE_D3D_EXTRAS=1
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/EpicGamesLauncherInstaller.msi"
+export PP_USE_D3D_EXTRAS=1
start_portwine
-if try_download "launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_AUTOINSTALL_EXE}"
+if try_download "launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing Epic Games Launcher. Please wait..."
-# pw_kill_autostart EpicGamesLauncher.exe &
- pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing Epic Games Launcher. Please wait..."
+# pp_kill_autostart EpicGamesLauncher.exe &
+ pp_run msiexec /i "${PP_AUTOINSTALL_EXE}"
# sleep 10
# if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
# while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] || [ ! -z `pgrep -a wrap | grep ${portname} | head -n 1` ]
@@ -20,9 +20,9 @@ then
# done
# fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_EPSXE b/data_from_portwine/scripts/pp_autoinstall/PP_EPSXE
similarity index 54%
rename from data_from_portwine/scripts/pw_autoinstall/PW_EPSXE
rename to data_from_portwine/scripts/pp_autoinstall/PP_EPSXE
index acf7b6ba..25cafd7e 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_EPSXE
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_EPSXE
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/ePSXe205.zip"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/ePSXe205.zip"
start_portwine
-if try_download "www.epsxe.com/files/ePSXe205.zip" "${PW_AUTOINSTALL_EXE}"
+if try_download "www.epsxe.com/files/ePSXe205.zip" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe"
+ pp_start_progress_bar_block "Installing the VBA-M. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/EPSXe/ePSXe.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="ePSXe"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_EVE b/data_from_portwine/scripts/pp_autoinstall/PP_EVE
similarity index 55%
rename from data_from_portwine/scripts/pw_autoinstall/PW_EVE
rename to data_from_portwine/scripts/pp_autoinstall/PP_EVE
index 99159014..3adc2298 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_EVE
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_EVE
@@ -1,22 +1,22 @@
#!/usr/bin/env bash
# Author: cefeiko
########################################################################
-export PW_WINDOWS_VER=10
-export PW_DLL_INSTALL="vcrun2017"
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EveLauncher-1892908.exe"
+export PP_WINDOWS_VER=10
+export PP_DLL_INSTALL="vcrun2017"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/EveLauncher-1892908.exe"
start_portwine
-if try_download "binaries.eveonline.com/EveLauncher-1892908.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "binaries.eveonline.com/EveLauncher-1892908.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the EVE Launcher. Please wait..."
+ pp_start_progress_bar_block "Installing the EVE Launcher. Please wait..."
if [ ! -f "$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe" ] ; then
try_remove_dir "$WINEPREFIX/drive_c/Games/EVE Online"
- dd if="${PW_AUTOINSTALL_EXE}" of="${PW_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes
- "$pw_7z" x "${PW_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
- try_remove_file "${PW_AUTOINSTALL_EXE}".7z
+ dd if="${PP_AUTOINSTALL_EXE}" of="${PP_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes
+ "$pp_7z" x "${PP_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}".7z
fi
portwine_exe="$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe"
- pw_stop_progress_bar
+ pp_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_GAMEFORGE b/data_from_portwine/scripts/pp_autoinstall/PP_GAMEFORGE
similarity index 67%
rename from data_from_portwine/scripts/pw_autoinstall/PW_GAMEFORGE
rename to data_from_portwine/scripts/pp_autoinstall/PP_GAMEFORGE
index e09ee586..8b5319eb 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_GAMEFORGE
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_GAMEFORGE
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.), cefeiko, Castro-Fidel (linux-gaming.ru)
##########################################################################
-pw_shutdown_please () {
- if [ "$PW_USE_RUNTIME" != 1 ]
- then echo "PW_USE_RUNTIME: `echo $PW_USE_RUNTIME`"
+pp_shutdown_please () {
+ if [ "$PP_USE_RUNTIME" != 1 ]
+ then echo "PP_USE_RUNTIME: `echo $PP_USE_RUNTIME`"
else
sleep 10
while true ; do
@@ -20,17 +20,17 @@ pw_shutdown_please () {
}
export LAUNCH_PARAMETERS=("")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GameforgeInstaller.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/GameforgeInstaller.exe"
start_portwine
-if try_download "raw.githubusercontent.com/WarfaceZ/lutris-clients/master/GameforgeInstaller.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "raw.githubusercontent.com/WarfaceZ/lutris-clients/master/GameforgeInstaller.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Gameforge-Client. Please wait..."
- pw_shutdown_please SparkWebHelper.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Gameforge-Client. Please wait..."
+ pp_shutdown_please SparkWebHelper.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="GameforgeClient"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_GLYPH b/data_from_portwine/scripts/pp_autoinstall/PP_GLYPH
similarity index 60%
rename from data_from_portwine/scripts/pw_autoinstall/PW_GLYPH
rename to data_from_portwine/scripts/pp_autoinstall/PP_GLYPH
index 5fe204f7..7180a38e 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_GLYPH
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_GLYPH
@@ -2,17 +2,17 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/S" )
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GlyphInstall.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/GlyphInstall.exe"
start_portwine
-if try_download "download.dyn.triongames.com/GlyphInstall.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "download.dyn.triongames.com/GlyphInstall.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the GlyphClient. Please wait..."
- pw_kill_autostart GlyphClient.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the GlyphClient. Please wait..."
+ pp_kill_autostart GlyphClient.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Glyph/GlyphClient.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="GlyphClient"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_GOG b/data_from_portwine/scripts/pp_autoinstall/PP_GOG
similarity index 67%
rename from data_from_portwine/scripts/pw_autoinstall/PW_GOG
rename to data_from_portwine/scripts/pp_autoinstall/PP_GOG
index 94aede31..73ab4cdc 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_GOG
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_GOG
@@ -3,16 +3,16 @@
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export GOG_VER=2.0.48.63
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/setup_galaxy_${GOG_VER}.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/setup_galaxy_${GOG_VER}.exe"
start_portwine
-if try_download "content-system.gog.com/open_link/download?path=/open/galaxy/client/${GOG_VER}/setup_galaxy_${GOG_VER}.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "content-system.gog.com/open_link/download?path=/open/galaxy/client/${GOG_VER}/setup_galaxy_${GOG_VER}.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the GOG Galaxy. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the GOG Galaxy. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
\ No newline at end of file
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_ITCH b/data_from_portwine/scripts/pp_autoinstall/PP_ITCH
similarity index 56%
rename from data_from_portwine/scripts/pw_autoinstall/PW_ITCH
rename to data_from_portwine/scripts/pp_autoinstall/PP_ITCH
index 04509af0..75814c63 100644
--- a/data_from_portwine/scripts/pw_autoinstall/PW_ITCH
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_ITCH
@@ -2,17 +2,17 @@
# Author: chal55rus (Sergey P.)
##########################################################################
export LAUNCH_PARAMETERS=("--silent")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/itch-setup.exe"
start_portwine
-if try_download "itch.io/app/download?platform=windows" "${PW_AUTOINSTALL_EXE}"
+if try_download "itch.io/app/download?platform=windows" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the ITCH.IO. Please wait..."
- pw_kill_autostart itch.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the ITCH.IO. Please wait..."
+ pp_kill_autostart itch.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Itch"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_LOL b/data_from_portwine/scripts/pp_autoinstall/PP_LOL
similarity index 50%
rename from data_from_portwine/scripts/pw_autoinstall/PW_LOL
rename to data_from_portwine/scripts/pp_autoinstall/PP_LOL
index b4cc7598..782730a9 100644
--- a/data_from_portwine/scripts/pw_autoinstall/PW_LOL
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_LOL
@@ -1,39 +1,39 @@
#!/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 PP_PREFIX_NAME="LEAGUE_OF_LEGENDS"
+export PP_AUTOINSTALL_EXE="${PP_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_7.0-4
+export PP_MUST_HAVE_DLL=""
+export PP_VULKAN_USE=1
+export PP_WINE_USE=WINE_LOL_GE_7.0-4
export WINEDLLOVERRIDES="mscoree,mshtml="
-export PW_USE_D3D_EXTRAS=1
+export PP_USE_D3D_EXTRAS=1
-if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
- if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
- "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
+if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PP_WINE_USE}/${PP_WINE_USE}.tar.xz" \
+ "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
UNPACK_STATUS=0
else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
fi
fi
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
fi
start_portwine
-if try_download "lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing League of Legends. Please wait..."
+ pp_start_progress_bar_block "Installing League of Legends. Please wait..."
zenity --info --width=500 --text "You must click the install button without changing the settings!"
- pw_kill_autostart RiotClientServices.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_kill_autostart RiotClientServices.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_MAME b/data_from_portwine/scripts/pp_autoinstall/PP_MAME
similarity index 57%
rename from data_from_portwine/scripts/pw_autoinstall/PW_MAME
rename to data_from_portwine/scripts/pp_autoinstall/PP_MAME
index dfd354b9..1e7ddb68 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_MAME
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_MAME
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/mame0237b_64bit.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/mame0237b_64bit.exe"
start_portwine
-if try_download "github.com/mamedev/mame/releases/download/mame0237/mame0237b_64bit.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "github.com/mamedev/mame/releases/download/mame0237/mame0237b_64bit.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the MAME. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame"
+ pp_start_progress_bar_block "Installing the MAME. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="MAME"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_MYGAMES b/data_from_portwine/scripts/pp_autoinstall/PP_MYGAMES
similarity index 55%
rename from data_from_portwine/scripts/pw_autoinstall/PW_MYGAMES
rename to data_from_portwine/scripts/pp_autoinstall/PP_MYGAMES
index 4b0b3663..d0739c39 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_MYGAMES
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_MYGAMES
@@ -2,17 +2,17 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/MyGamesLoader.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/MyGamesLoader.exe"
start_portwine
-if try_download "static.gc.my.games/MyGamesLoader.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "static.gc.my.games/MyGamesLoader.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the My.Games. Please wait..."
- pw_kill_autostart GameCenter.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the My.Games. Please wait..."
+ pp_kill_autostart GameCenter.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/GameCenter/GameCenter.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="MY.GAMES"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_ORIGIN b/data_from_portwine/scripts/pp_autoinstall/PP_ORIGIN
similarity index 56%
rename from data_from_portwine/scripts/pw_autoinstall/PW_ORIGIN
rename to data_from_portwine/scripts/pp_autoinstall/PP_ORIGIN
index b616d196..78b50254 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_ORIGIN
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_ORIGIN
@@ -2,16 +2,16 @@
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export LAUNCH_PARAMETERS=("/silent" "/NoLaunch" )
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/OriginSetup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/OriginSetup.exe"
start_portwine
-if try_download "origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Origin. Please wait..."
- # pw_kill_autostart Origin.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Origin. Please wait..."
+ # pp_kill_autostart Origin.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe"
- pw_stop_progress_bar
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ pp_stop_progress_bar
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_OSU b/data_from_portwine/scripts/pp_autoinstall/PP_OSU
similarity index 67%
rename from data_from_portwine/scripts/pw_autoinstall/PW_OSU
rename to data_from_portwine/scripts/pp_autoinstall/PP_OSU
index 937d85cd..a1fe7f1c 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_OSU
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_OSU
@@ -1,20 +1,20 @@
#!/usr/bin/env bash
# Author: cefeiko
########################################################################
-export PW_PREFIX_NAME=DOTNET
+export PP_PREFIX_NAME=DOTNET
start_portwine
-export PW_DLL_INSTALL="dotnet48"
+export PP_DLL_INSTALL="dotnet48"
mkdir -p "${WINEPREFIX}/drive_c/Program Files (x86)/OSU/"
-export PW_AUTOINSTALL_EXE="${WINEPREFIX}/drive_c/Program Files (x86)/OSU/osu!.exe"
-if try_download "m1.ppy.sh/r/osu!install.exe" "${PW_AUTOINSTALL_EXE}"
+export PP_AUTOINSTALL_EXE="${WINEPREFIX}/drive_c/Program Files (x86)/OSU/osu!.exe"
+if try_download "m1.ppy.sh/r/osu!install.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the OSU!. Please wait..."
+ pp_start_progress_bar_block "Installing the OSU!. Please wait..."
if [ -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" ]; then
mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe"
fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
- # pw_run "${PW_AUTOINSTALL_EXE}"
- pw_stop_progress_bar
+ # pp_run "${PP_AUTOINSTALL_EXE}"
+ pp_stop_progress_bar
portwine_create_shortcut
kill_portwine
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP b/data_from_portwine/scripts/pp_autoinstall/PP_PPSSPP
similarity index 64%
rename from data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
rename to data_from_portwine/scripts/pp_autoinstall/PP_PPSSPP
index e2bedf3b..ba5b7a40 100644
--- a/data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_PPSSPP
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
##########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/PPSSPPSetup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/PPSSPPSetup.exe"
start_portwine
-if try_download "www.ppsspp.org/files/1_12_3/PPSSPPSetup.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "www.ppsspp.org/files/1_12_3/PPSSPPSetup.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the PPSSPPS. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the PPSSPPS. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_PROJECT64 b/data_from_portwine/scripts/pp_autoinstall/PP_PROJECT64
similarity index 64%
rename from data_from_portwine/scripts/pw_autoinstall/PW_PROJECT64
rename to data_from_portwine/scripts/pp_autoinstall/PP_PROJECT64
index db9462f1..fc9441e6 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_PROJECT64
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_PROJECT64
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Setup Project64 3.0.1-5664-2df3434.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/Setup Project64 3.0.1-5664-2df3434.exe"
start_portwine
-if try_download "www.pj64-emu.com/file/setup-project64-3-0-0-5632-f83bee9/" "${PW_AUTOINSTALL_EXE}"
+if try_download "www.pj64-emu.com/file/setup-project64-3-0-0-5632-f83bee9/" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Project64. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Project64. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Project64 3.0/Project64.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Project64"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH b/data_from_portwine/scripts/pp_autoinstall/PP_RETROARCH
similarity index 60%
rename from data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH
rename to data_from_portwine/scripts/pp_autoinstall/PP_RETROARCH
index 3ec70560..8ef992c0 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_RETROARCH
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/RetroArch.7z"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/RetroArch.7z"
start_portwine
-if try_download "buildbot.libretro.com/stable/1.9.13/windows/x86_64/RetroArch.7z" "${PW_AUTOINSTALL_EXE}"
+if try_download "buildbot.libretro.com/stable/1.9.13/windows/x86_64/RetroArch.7z" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the RetroArch. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
+ pp_start_progress_bar_block "Installing the RetroArch. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_ROCKSTAR b/data_from_portwine/scripts/pp_autoinstall/PP_ROCKSTAR
similarity index 64%
rename from data_from_portwine/scripts/pw_autoinstall/PW_ROCKSTAR
rename to data_from_portwine/scripts/pp_autoinstall/PP_ROCKSTAR
index 74399a79..404c4f10 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_ROCKSTAR
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_ROCKSTAR
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Rockstar-Games-Launcher.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/Rockstar-Games-Launcher.exe"
start_portwine
-if try_download "web.archive.org/web/20210708074247if_/gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "web.archive.org/web/20210708074247if_/gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Rockstar-Games-Launcher. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher"
+ pp_start_progress_bar_block "Rockstar-Games-Launcher. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher"
portwine_exe="$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM b/data_from_portwine/scripts/pp_autoinstall/PP_SCUMMVM
similarity index 64%
rename from data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
rename to data_from_portwine/scripts/pp_autoinstall/PP_SCUMMVM
index 1d32c88d..c5833e94 100644
--- a/data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_SCUMMVM
@@ -2,17 +2,17 @@
# Author: chal55rus (Sergey P.)
##########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/scummvm-2.5.0-win32.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/scummvm-2.5.0-win32.exe"
start_portwine
-if try_download "downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the ScummVM. Please wait..."
- #pw_kill_autostart launcher101xp.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the ScummVM. Please wait..."
+ #pp_kill_autostart launcher101xp.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_STEAM b/data_from_portwine/scripts/pp_autoinstall/PP_STEAM
similarity index 69%
rename from data_from_portwine/scripts/pw_autoinstall/PW_STEAM
rename to data_from_portwine/scripts/pp_autoinstall/PP_STEAM
index 6cddc67d..bdadd165 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_STEAM
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_STEAM
@@ -2,20 +2,20 @@
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Steam")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SteamSetup.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/SteamSetup.exe"
start_portwine
-if try_download "cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_cs "Installing the Steam. Please wait..."
- pw_kill_autostart steam.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_cs "Installing the Steam. Please wait..."
+ pp_kill_autostart steam.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
if [ -f "$WINEPREFIX/drive_c/Program Files (x86)/Steam/Steam.exe" ]
then mv -f "$WINEPREFIX/drive_c/Program Files (x86)/Steam/Steam.exe" "$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe"
fi
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="STEAM_PP"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_UBC b/data_from_portwine/scripts/pp_autoinstall/PP_UBC
similarity index 59%
rename from data_from_portwine/scripts/pw_autoinstall/PW_UBC
rename to data_from_portwine/scripts/pp_autoinstall/PP_UBC
index 4160dc10..e676dba5 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_UBC
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_UBC
@@ -2,17 +2,17 @@
# Author: Castro-Fidel (linux-gaming.ru)
########################################################################
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Ubisoft Game Launcher")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/UbisoftConnectInstaller.exe"
start_portwine
-if try_download "ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_cs "Installing the Ubisoft Connect. Please wait..."
- pw_kill_autostart UbisoftConnect.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_cs "Installing the Ubisoft Connect. Please wait..."
+ pp_kill_autostart UbisoftConnect.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_VBA-M b/data_from_portwine/scripts/pp_autoinstall/PP_VBA-M
similarity index 66%
rename from data_from_portwine/scripts/pw_autoinstall/PW_VBA-M
rename to data_from_portwine/scripts/pp_autoinstall/PP_VBA-M
index 941e9bd2..4c700067 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_VBA-M
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_VBA-M
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/visualboyadvance-m-Win-64bit.zip"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/visualboyadvance-m-Win-64bit.zip"
start_portwine
-if try_download "github.com/visualboyadvance-m/visualboyadvance-m/releases/download/v2.1.4/visualboyadvance-m-Win-64bit.zip" "${PW_AUTOINSTALL_EXE}"
+if try_download "github.com/visualboyadvance-m/visualboyadvance-m/releases/download/v2.1.4/visualboyadvance-m-Win-64bit.zip" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
- "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m"
+ pp_start_progress_bar_block "Installing the VBA-M. Please wait..."
+ "$pp_7z" x -y "${PP_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m/visualboyadvance-m.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="VBA-M"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_WGC b/data_from_portwine/scripts/pp_autoinstall/PP_WGC
similarity index 73%
rename from data_from_portwine/scripts/pw_autoinstall/PW_WGC
rename to data_from_portwine/scripts/pp_autoinstall/PP_WGC
index b754ba48..a7c82090 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_WGC
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_WGC
@@ -3,25 +3,25 @@
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
[ "${update_loc}" = "RUS" ] && export WGC_LOC=RU || export WGC_LOC=EU
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe"
try_download_wgc () {
set -o pipefail
wget -t 5 -T 3 "$1" --output-document="$2" 2>&1 | \
tr '\r' '\n' | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \
- "${pw_yad_new}" --center --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90
+ "${pp_yad_new}" --center --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90
[ "${PIPESTATUS[0]}" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0
}
start_portwine
-if try_download_wgc "redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download_wgc "redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Starting WGC installation..."
- pw_kill_autostart wgc.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Starting WGC installation..."
+ pp_kill_autostart wgc.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pp_autoinstall/PP_WOSB b/data_from_portwine/scripts/pp_autoinstall/PP_WOSB
new file mode 100644
index 00000000..5c179423
--- /dev/null
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_WOSB
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+# Author: Cefeiko
+########################################################################
+export PP_PREFIX_NAME="DOTNET"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/wos_client.exe"
+export LAUNCH_PARAMETERS=("/VERYSILENT")
+export PP_DLL_INSTALL="faudio dotnet48"
+export PP_VULKAN_USE=1
+
+if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PP_WINE_USE}/${PP_WINE_USE}.tar.xz" \
+ "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ UNPACK_STATUS=0
+ else
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
+ fi
+ fi
+ [[ "${UNPACK_STATUS}" != 0 ]] && exit 1
+fi
+start_portwine
+if try_download "165311.selcdn.ru/wosb_installer/wos_client.exe" "${PP_AUTOINSTALL_EXE}"
+then
+ pp_start_progress_bar_block "Installing World of Sea Battle. Please wait..."
+
+ pp_kill_autostart WorldOfSeaBattleClient.exe &
+ pp_run "${PP_AUTOINSTALL_EXE}"
+ portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
+ kill_portwine
+ pp_stop_progress_bar
+ export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
+ portwine_create_shortcut
+fi
+stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_YABAUSE b/data_from_portwine/scripts/pp_autoinstall/PP_YABAUSE
similarity index 61%
rename from data_from_portwine/scripts/pw_autoinstall/PW_YABAUSE
rename to data_from_portwine/scripts/pp_autoinstall/PP_YABAUSE
index 81f6ab7e..e024f8f0 100755
--- a/data_from_portwine/scripts/pw_autoinstall/PW_YABAUSE
+++ b/data_from_portwine/scripts/pp_autoinstall/PP_YABAUSE
@@ -2,16 +2,16 @@
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("/S")
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/yabause-0.9.15-win64.exe"
+export PP_AUTOINSTALL_EXE="${PP_USER_TEMP}/yabause-0.9.15-win64.exe"
start_portwine
-if try_download "download.tuxfamily.org/yabause/releases/0.9.15/yabause-0.9.15-win64.exe" "${PW_AUTOINSTALL_EXE}"
+if try_download "download.tuxfamily.org/yabause/releases/0.9.15/yabause-0.9.15-win64.exe" "${PP_AUTOINSTALL_EXE}"
then
- pw_start_progress_bar_block "Installing the Yabause. Please wait..."
- pw_run "${PW_AUTOINSTALL_EXE}"
+ pp_start_progress_bar_block "Installing the Yabause. Please wait..."
+ pp_run "${PP_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files/yabause 0.9.15/yabause.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
+ try_remove_file "${PP_AUTOINSTALL_EXE}"
kill_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="Yabause"
portwine_create_shortcut
fi
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_CEMU b/data_from_portwine/scripts/pw_autoinstall/PW_CEMU
deleted file mode 100755
index 890e1346..00000000
--- a/data_from_portwine/scripts/pw_autoinstall/PW_CEMU
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/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}'`"
-start_portwine
-if try_download "${PW_URL_CEMU}" "${PW_AUTOINSTALL_EXE}"
-then
- pw_start_progress_bar_block "Installing the Cemu. Please wait..."
- "$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"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
- kill_portwine
- pw_stop_progress_bar
- export PORTWINE_CREATE_SHORTCUT_NAME="Cemu"
- portwine_create_shortcut
-fi
-stop_portwine
diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_WOSB b/data_from_portwine/scripts/pw_autoinstall/PW_WOSB
deleted file mode 100644
index c5cec796..00000000
--- a/data_from_portwine/scripts/pw_autoinstall/PW_WOSB
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env bash
-# Author: Cefeiko
-########################################################################
-export PW_PREFIX_NAME="DOTNET"
-export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/wos_client.exe"
-export LAUNCH_PARAMETERS=("/VERYSILENT")
-export PW_DLL_INSTALL="faudio dotnet48"
-export PW_VULKAN_USE=1
-
-if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
- if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
- "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- UNPACK_STATUS=0
- else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
- fi
- fi
- [[ "${UNPACK_STATUS}" != 0 ]] && exit 1
-fi
-start_portwine
-if try_download "165311.selcdn.ru/wosb_installer/wos_client.exe" "${PW_AUTOINSTALL_EXE}"
-then
- pw_start_progress_bar_block "Installing World of Sea Battle. Please wait..."
-
- pw_kill_autostart WorldOfSeaBattleClient.exe &
- pw_run "${PW_AUTOINSTALL_EXE}"
- portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe"
- try_remove_file "${PW_AUTOINSTALL_EXE}"
- kill_portwine
- pw_stop_progress_bar
- export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
- portwine_create_shortcut
-fi
-stop_portwine
diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib
index 2246cae3..2d912128 100755
--- a/data_from_portwine/scripts/runlib
+++ b/data_from_portwine/scripts/runlib
@@ -22,31 +22,31 @@ fi
. "$(dirname $(readlink -f "$0"))/functions_helper"
start_portwine () {
- export WINEPREFIX="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/"
- try_force_link_dir "${PORT_WINE_PATH}/data/prefixes" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/"
+ export WINEPREFIX="${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/"
+ try_force_link_dir "${PORT_WINE_PATH}/data/prefixes" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/"
export WINEARCH="win64"
- if [[ "${PW_VULKAN_USE}" == 3 ]] ; then
- export PW_WINE_USE="${PW_PROTON_PW_VER}"
- echo "Force to use $PW_WINE_USE"
- if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
- if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
- "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
- if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
+ if [[ "${PP_VULKAN_USE}" == 3 ]] ; then
+ export PP_WINE_USE="${PP_PROTON_LG_VER}"
+ echo "Force to use $PP_WINE_USE"
+ if [ ! -d "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}" ] ; then
+ if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PP_WINE_USE}/${PP_WINE_USE}.tar.xz" \
+ "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" ; then
+ if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
UNPACK_STATUS=0
else
- try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
- try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
+ try_remove_file "${PORT_WINE_PATH}/data/tmp/${PP_WINE_USE}.tar.xz"
+ try_remove_dir "${PORT_WINE_PATH}/data/dist/${PP_WINE_USE}"
fi
fi
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
fi
- edit_db_from_gui PW_WINE_USE
+ edit_db_from_gui PP_WINE_USE
else
- pw_check_and_download_wine "${PW_WINE_USE}"
+ pp_check_and_download_wine "${PP_WINE_USE}"
fi
- pw_install_dll_in_prefix
+ pp_install_dll_in_prefix
init_wine_ver
grep 'Steam.exe' "${WINEDIR}/share/wine/wine.inf"
if [[ "$?" == "0" ]] ; then
@@ -56,24 +56,25 @@ start_portwine () {
if [[ "$?" == "0" ]] ; then
sed -i '/\\Valve\\Steam/d' "${WINEDIR}/share/wine/wine.inf"
fi
- if [ -x "`which konsole 2>/dev/null`" ]; then export PW_TERM="konsole --nofork -e"
- elif [ -x "`which lxterminal 2>/dev/null`" ]; then export PW_TERM="lxterminal -e"
- elif [ -x "`which xterm 2>/dev/null`" ]; then export PW_TERM="${PW_XTERM}"
- else export PW_TERM="${PW_XTERM}"
+ if [ -x "`which konsole 2>/dev/null`" ]; then export PP_TERM="konsole --nofork -e"
+ elif [ -x "`which lxterminal 2>/dev/null`" ]; then export PP_TERM="lxterminal -e"
+ elif [ -x "`which xterm 2>/dev/null`" ]; then export PP_TERM="${PP_XTERM}"
+ else export PP_TERM="${PP_XTERM}"
fi
if [ ! -f "${HOME}/.Xresources" ]; then
cp -f "${PORT_SCRIPTS_PATH}/.Xresources" "${HOME}"
xrdb -merge "${HOME}/.Xresources"
fi
- pw_init_runtime
+ pp_init_runtime
- if [[ ! -z "${PW_LOG}" && "${PW_LOG}" != 0 ]] ; then
+ if [[ ! -z "${PP_LOG}" && "${PP_LOG}" != 0 ]] ; then
export WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg"
export DXVK_LOG_LEVEL="warn"
export VKD3D_DEBUG="warn"
export WINE_MONO_TRACE="E:System.NotImplementedException"
export VK_LOADER_DEBUG="warn"
+ export VKBASALT_LOG_LEVEL="warn"
else
export WINEDEBUG="-all"
export DXVK_LOG_LEVEL="none"
@@ -86,12 +87,12 @@ start_portwine () {
#default wine-mono override for FNA games
export WINE_MONO_OVERRIDES="Microsoft.Xna.Framework.*,Gac=n"
- if [[ ! -z "${PW_NO_ESYNC}" && "${PW_NO_ESYNC}" != 0 ]] ; then
+ if [[ ! -z "${PP_NO_ESYNC}" && "${PP_NO_ESYNC}" != 0 ]] ; then
export WINEESYNC="0"
else
export WINEESYNC="1"
fi
- if [[ ! -z "${PW_NO_FSYNC}" && "${PW_NO_FSYNC}" != 0 ]] ; then
+ if [[ ! -z "${PP_NO_FSYNC}" && "${PP_NO_FSYNC}" != 0 ]] ; then
export WINEFSYNC="0"
export WINEFSYNC_FUTEX2="0"
else
@@ -99,46 +100,46 @@ start_portwine () {
export WINEFSYNC_FUTEX2="1"
export WINEFSYNC_SPINCOUNT=100
fi
- if [[ ! -z "${PW_FORCE_LARGE_ADDRESS_AWARE}" && "${PW_FORCE_LARGE_ADDRESS_AWARE}" != 0 ]]
+ if [[ ! -z "${PP_FORCE_LARGE_ADDRESS_AWARE}" && "${PP_FORCE_LARGE_ADDRESS_AWARE}" != 0 ]]
then export WINE_LARGE_ADDRESS_AWARE="1"
else export WINE_LARGE_ADDRESS_AWARE="0"
fi
- if [[ ! -z "${PW_OLD_GL_STRING}" && "${PW_OLD_GL_STRING}" != 0 ]] ; then
+ if [[ ! -z "${PP_OLD_GL_STRING}" && "${PP_OLD_GL_STRING}" != 0 ]] ; then
export MESA_EXTENSION_MAX_YEAR="2003" #mesa override
export __GL_ExtensionStringVersion="17700" #nvidia override
fi
- if [[ ! -z "${PW_NO_WRITE_WATCH}" && "${PW_NO_WRITE_WATCH}" != 0 ]] ; then
+ if [[ ! -z "${PP_NO_WRITE_WATCH}" && "${PP_NO_WRITE_WATCH}" != 0 ]] ; then
export WINE_DISABLE_WRITE_WATCH="1"
fi
- if [[ ! -z "${PW_VULKAN_NO_ASYNC}" && "${PW_VULKAN_NO_ASYNC}" != 0 ]] ; then
+ if [[ ! -z "${PP_VULKAN_NO_ASYNC}" && "${PP_VULKAN_NO_ASYNC}" != 0 ]] ; then
export RADV_DEBUG="llvm"
var_vkd3d_config_update single_queue
fi
- if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
+ if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
fi
- if [[ ! -z "${PW_USE_FAKE_DLSS}" && "${PW_USE_FAKE_DLSS}" == 1 && -d "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/" ]]
+ if [[ ! -z "${PP_USE_FAKE_DLSS}" && "${PP_USE_FAKE_DLSS}" == 1 && -d "${PP_PLUGINS_PATH}/fake_dlss/${PP_FAKE_DLSS_VER}/" ]]
then
- try_force_link_file "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/nvngx.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- try_force_link_file "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/nvngx.ini" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
+ try_force_link_file "${PP_PLUGINS_PATH}/fake_dlss/${PP_FAKE_DLSS_VER}/nvngx.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ try_force_link_file "${PP_PLUGINS_PATH}/fake_dlss/${PP_FAKE_DLSS_VER}/nvngx.ini" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
sed -i /'dxgi.customDeviceId =/c dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.customVendorId =/c dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.nvapiHack =/c dxgi.nvapiHack = False' "${DXVK_CONFIG_FILE}"
export DXVK_NVAPIHACK=0
- elif [[ ! -z "${PW_USE_NVAPI_AND_DLSS}" && "${PW_USE_NVAPI_AND_DLSS}" == 1 && -d "${WINEDIR}/lib/wine/nvapi/" ]]
+ elif [[ ! -z "${PP_USE_NVAPI_AND_DLSS}" && "${PP_USE_NVAPI_AND_DLSS}" == 1 && -d "${WINEDIR}/lib/wine/nvapi/" ]]
then
- try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x32/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
- try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x64/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvngx.ini"
+ try_force_link_file "${PP_PLUGINS_PATH}/nvapi/x32/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/"
+ try_force_link_file "${PP_PLUGINS_PATH}/nvapi/x64/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/nvngx.ini"
var_winedlloverride_update "nvapi,nvapi64,nvml=n;nvcuda=b"
- if [[ ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvngx.dll" || ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/_nvngx.dll" ]] ; then
- try_copy_file `find /usr/* -type f -name "nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- try_copy_file `find /usr/* -type f -name "_nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
+ if [[ ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/nvngx.dll" || ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/_nvngx.dll" ]] ; then
+ try_copy_file `find /usr/* -type f -name "nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ try_copy_file `find /usr/* -type f -name "_nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
fi
echo "Try link nvml.dll.so to prefix"
- try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/nvml.dll"
- try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib64/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvml.dll"
+ try_force_link_file "${PP_PLUGINS_PATH}"/nvml/lib/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/nvml.dll"
+ try_force_link_file "${PP_PLUGINS_PATH}"/nvml/lib64/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/nvml.dll"
export DXVK_NVAPIHACK=0
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
@@ -149,44 +150,48 @@ start_portwine () {
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.nvapiHack =/c # dxgi.nvapiHack = False' "${DXVK_CONFIG_FILE}"
fi
- if [[ ! -z "${PW_WINEDBG_DISABLE}" && "${PW_WINEDBG_DISABLE}" != 0 ]] ; then
+ if [[ ! -z "${PP_WINEDBG_DISABLE}" && "${PP_WINEDBG_DISABLE}" != 0 ]] ; then
var_winedlloverride_update "winedbg.exe="
fi
- if [[ ! -z "${PW_HIDE_NVIDIA_GPU}" && "${PW_HIDE_NVIDIA_GPU}" != 0 ]] ; then
+ if [[ ! -z "${PP_HIDE_NVIDIA_GPU}" && "${PP_HIDE_NVIDIA_GPU}" != 0 ]] ; then
export WINE_HIDE_NVIDIA_GPU="1"
+ export DXVK_NVAPIHACK=1
+ sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
+ sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
+ sed -i /'dxgi.nvapiHack =/c dxgi.nvapiHack = True' "${DXVK_CONFIG_FILE}"
fi
- if [[ ! -z "${PW_PRIME_RENDER_OFFLOAD}" && "${PW_PRIME_RENDER_OFFLOAD}" != 0 ]] ; then
+ if [[ ! -z "${PP_PRIME_RENDER_OFFLOAD}" && "${PP_PRIME_RENDER_OFFLOAD}" != 0 ]] ; then
export __NV_PRIME_RENDER_OFFLOAD=1
check_nvidia_vk_icd_file
fi
- if [[ ! -z "${PW_HEAP_DELAY_FREE}" && "${PW_HEAP_DELAY_FREE}" != 0 ]]
+ if [[ ! -z "${PP_HEAP_DELAY_FREE}" && "${PP_HEAP_DELAY_FREE}" != 0 ]]
then export WINE_HEAP_DELAY_FREE="1"
else export WINE_HEAP_DELAY_FREE="0"
fi
- if [[ ! -z "${PW_WINE_ALLOW_XIM}" && "${PW_WINE_ALLOW_XIM}" != 0 ]]
+ if [[ ! -z "${PP_WINE_ALLOW_XIM}" && "${PP_WINE_ALLOW_XIM}" != 0 ]]
then export WINE_ALLOW_XIM="1"
else export WINE_ALLOW_XIM="0"
fi
- if [[ ! -z "${PW_FIX_VIDEO_IN_GAME}" && "${PW_FIX_VIDEO_IN_GAME}" != 0 ]]
+ if [[ ! -z "${PP_FIX_VIDEO_IN_GAME}" && "${PP_FIX_VIDEO_IN_GAME}" != 0 ]]
then export WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER="1"
else export WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER="0"
fi
- [[ ! -z "${PW_MANGOHUD_USER_CONF}" && "${PW_MANGOHUD_USER_CONF}" != 0 ]] && unset MANGOHUD_CONFIG
- if [[ ! -z "${PW_USE_DXR11}" && "${PW_USE_DXR11}" != 0 ]] ; then
+ [[ ! -z "${PP_MANGOHUD_USER_CONF}" && "${PP_MANGOHUD_USER_CONF}" != 0 ]] && unset MANGOHUD_CONFIG
+ if [[ ! -z "${PP_USE_DXR11}" && "${PP_USE_DXR11}" != 0 ]] ; then
var_vkd3d_config_update dxr11
var_radv_perftest_config_update rt
- elif [[ ! -z "${PW_USE_DXR10}" && "${PW_USE_DXR10}" != 0 ]] ; then
+ elif [[ ! -z "${PP_USE_DXR10}" && "${PP_USE_DXR10}" != 0 ]] ; then
var_vkd3d_config_update dxr
var_radv_perftest_config_update rt
fi
export optirun_on=""
export check_optimus_manager=
- export PW_NVIDIA="$(lspci | grep NVIDIA)"
+ export PP_NVIDIA="$(lspci | grep NVIDIA)"
if [ -x "`which optimus-manager 2>/dev/null`" ]; then
export check_optimus_manager=`optimus-manager --status | grep Current | cut -f 2 -d':' | sed -e 's/^[[:space:]]*//'`
fi
- if [[ ! -z "${PW_NVIDIA}" ]] && [[ "${check_optimus_manager}" != "intel" ]] && [[ "${DRI_PRIME}" != 1 ]] ; then
+ if [[ ! -z "${PP_NVIDIA}" ]] && [[ "${check_optimus_manager}" != "intel" ]] && [[ "${DRI_PRIME}" != 1 ]] ; then
if [ "${check_optimus_manager}" = "nvidia" ]; then
check_nvidia_vk_icd_file
elif [ -x "`which primusrun 2>/dev/null`" ]; then
@@ -205,7 +210,7 @@ start_portwine () {
else
export DRI_PRIME=1
fi
- case "$PW_FORCE_USE_VSYNC" in # 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
+ case "$PP_FORCE_USE_VSYNC" in # 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
"0")
unset vblank_mode
unset __GL_SYNC_TO_VBLANK ;;
@@ -219,50 +224,50 @@ start_portwine () {
killall xneur
export int_xneur=1
fi
- if [[ ! -z "${PW_XKBD_RU_HACK}" && "${PW_XKBD_RU_HACK}" == 1 ]] ; then
- export PW_XKBD="$(setxkbmap -query | grep -w ru | awk '{print($2)}')"
- if [ ! -z ${PW_XKBD} ]; then
+ if [[ ! -z "${PP_XKBD_RU_HACK}" && "${PP_XKBD_RU_HACK}" == 1 ]] ; then
+ export PP_XKBD="$(setxkbmap -query | grep -w ru | awk '{print($2)}')"
+ if [ ! -z ${PP_XKBD} ]; then
setxkbmap us,ru
fi
fi
- if [[ -x "`which "gamemoderun" 2>/dev/null`" ]] && [[ "$PW_USE_GAMEMODE" = "1" ]] ; then
+ if [[ -x "`which "gamemoderun" 2>/dev/null`" ]] && [[ "$PP_USE_GAMEMODE" = "1" ]] ; then
export GAMEMODERUN=1
- PW_GAMEMODERUN_SLR="gamemoderun"
+ PP_GAMEMODERUN_SLR="gamemoderun"
systemctl enable --now --user gamemoded &>/dev/null
echo "Gamemod will be launched."
else
export GAMEMODERUN=0
- echo "Gamemod is not installed or disabled in vars script or db file: PW_USE_GAMEMODE=$PW_USE_GAMEMODE"
+ echo "Gamemod is not installed or disabled in vars script or db file: PP_USE_GAMEMODE=$PP_USE_GAMEMODE"
fi
- pw_other_fixes
+ pp_other_fixes
check_dirs_and_files_in_pfx () {
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/c:" ] && try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/c:"
- [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/z:" ] && try_force_link_dir "/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/z:"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"
- try_force_link_file "${WINEDIR}/share/fonts/"LiberationSans-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"arial.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"LiberationSans-Bold.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"arialbd.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"LiberationSerif-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"times.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"LiberationMono-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"cour.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"LiberationMono-Bold.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"courbd.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"msyh.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"msyh.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"malgun.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"malgun.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"micross.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"micross.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"nirmala.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"nirmala.ttf
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/c:" ] && try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/c:"
+ [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/z:" ] && try_force_link_dir "/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/z:"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"
+ try_force_link_file "${WINEDIR}/share/fonts/"LiberationSans-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"arial.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"LiberationSans-Bold.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"arialbd.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"LiberationSerif-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"times.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"LiberationMono-Regular.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"cour.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"LiberationMono-Bold.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"courbd.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"msyh.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"msyh.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"malgun.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"malgun.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"micross.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"micross.ttf
+ try_force_link_file "${WINEDIR}/share/fonts/"nirmala.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"nirmala.ttf
- try_force_link_file "${WINEDIR}/share/fonts/"simsun.ttc "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"simsun.ttc
- try_force_link_file "${WINEDIR}/share/fonts/"msgothic.ttc "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"msgothic.ttc
+ try_force_link_file "${WINEDIR}/share/fonts/"simsun.ttc "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"simsun.ttc
+ try_force_link_file "${WINEDIR}/share/fonts/"msgothic.ttc "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"msgothic.ttc
- try_force_link_file "${WINEDIR}/share/wine/fonts/"tahoma.ttf "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/Fonts/"tahoma.ttf
+ try_force_link_file "${WINEDIR}/share/wine/fonts/"tahoma.ttf "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/Fonts/"tahoma.ttf
}
DOTPFX_URL="github.com/Castro-Fidel/PortWINE/releases/download/dotpfx${DOTPFX_VER}/dotpfx${DOTPFX_VER}.tar.xz"
- if [[ "${update_loc}" == "RUS" && "${PW_PREFIX_NAME}" == "DOTNET" && ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/.dotnet48 ]] ; then
+ if [[ "${update_loc}" == "RUS" && "${PP_PREFIX_NAME}" == "DOTNET" && ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/.dotnet48 ]] ; then
print_info "Download and install DOTNET..."
if try_download "${DOTPFX_URL}" "${PORT_WINE_PATH}/data/tmp/dotpfx.tar.xz" ; then
unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/dotpfx.tar.xz" "${PORT_WINE_PATH}/data/prefixes/"
@@ -273,40 +278,40 @@ start_portwine () {
fi
fi
- pw_update_pfx_cover_gui
+ pp_update_pfx_cover_gui
- if [[ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}" || ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/drive_c/windows || \
- ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/userdef.reg || ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/system.reg || ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/user.reg ]]
+ if [[ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}" || ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/drive_c/windows || \
+ ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/userdef.reg || ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/system.reg || ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"/user.reg ]]
then
- pw_clear_pfx
+ pp_clear_pfx
check_dirs_and_files_in_pfx
- if [[ -d "${PW_PLUGINS_PATH}/default_pfx/" ]] ; then
- cp -frL "${PW_PLUGINS_PATH}/default_pfx/"* "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/"
+ if [[ -d "${PP_PLUGINS_PATH}/default_pfx/" ]] ; then
+ cp -frL "${PP_PLUGINS_PATH}/default_pfx/"* "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/"
fi
- ${pw_runtime} env LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" "${WINELOADER}" wineboot -u &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
+ ${pp_runtime} env LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" "${WINELOADER}" wineboot -u &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
wait_wineserver &&
- echo "${PW_WINE_USE}" > "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.wine_ver"
- elif [[ -z "`cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.wine_ver" | grep ${PW_WINE_USE}`" || ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices" ]] ; then
+ echo "${PP_WINE_USE}" > "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.wine_ver"
+ elif [[ -z "`cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.wine_ver" | grep ${PP_WINE_USE}`" || ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices" ]] ; then
check_dirs_and_files_in_pfx
- ${pw_runtime} env LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" "${WINELOADER}" wineboot -i &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
+ ${pp_runtime} env LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" "${WINELOADER}" wineboot -i &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
wait_wineserver &&
- echo "${PW_WINE_USE}" > "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.wine_ver"
+ echo "${PP_WINE_USE}" > "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.wine_ver"
fi
- [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/c:" ] && try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/c:"
- [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/z:" ] && try_force_link_dir "/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/dosdevices/z:"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser"
- if [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/${USER}" ]; then
- try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/${USER}"
+ [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/c:" ] && try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/c:"
+ [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/z:" ] && try_force_link_dir "/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/dosdevices/z:"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser"
+ if [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/${USER}" ]; then
+ try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/${USER}"
fi
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/Public/Documents/Steam"
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Documents/Steam"
- if [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/My Documents" ]
- then try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/Documents" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/My Documents"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/Public/Documents/Steam"
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Documents/Steam"
+ if [ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/My Documents" ]
+ then try_force_link_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/Documents" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/users/steamuser/My Documents"
fi
#enabled BattleEye_Runtime and EasyAntiCheat_Runtime
- export PROTON_BATTLEYE_RUNTIME="${PW_PLUGINS_PATH}/BattlEye_Runtime"
- export PROTON_EAC_RUNTIME="${PW_PLUGINS_PATH}/EasyAntiCheat_Runtime"
+ export PROTON_BATTLEYE_RUNTIME="${PP_PLUGINS_PATH}/BattlEye_Runtime"
+ export PROTON_EAC_RUNTIME="${PP_PLUGINS_PATH}/EasyAntiCheat_Runtime"
var_winedlloverride_update "beclient,beclient_x64=b,n"
#try link d3d extras libs
for d3d_extras_from_plugins in d3dcompiler_33 d3dcompiler_34 d3dcompiler_35 d3dcompiler_36 d3dcompiler_37 \
@@ -315,58 +320,58 @@ start_portwine () {
d3dx10_42 d3dx10_43 d3dx10 d3dx11_42 d3dx11_43 d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29 d3dx9_30 \
d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37 d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dx9_42 d3dx9_43
do
- if [[ "${PW_USE_D3D_EXTRAS}" == 1 ]] ; then
- try_force_link_file "${PW_PLUGINS_PATH}/d3d_extras/x64/${d3d_extras_from_plugins}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- try_force_link_file "${PW_PLUGINS_PATH}/d3d_extras/x32/${d3d_extras_from_plugins}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
+ if [[ "${PP_USE_D3D_EXTRAS}" == 1 ]] ; then
+ try_force_link_file "${PP_PLUGINS_PATH}/d3d_extras/x64/${d3d_extras_from_plugins}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ try_force_link_file "${PP_PLUGINS_PATH}/d3d_extras/x32/${d3d_extras_from_plugins}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/"
var_winedlloverride_update "${d3d_extras_from_plugins}=n,b"
else
- if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
- then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
+ if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/"
+ then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/"
fi
- if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
- then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
+ if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
+ then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/${d3d_extras_from_plugins}.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/"
fi
fi
- if [[ -z "`grep "${d3d_extras_from_plugins}" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"`" ]] ; then
- echo "${d3d_extras_from_plugins}" >> "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ if [[ -z "`grep "${d3d_extras_from_plugins}" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"`" ]] ; then
+ echo "${d3d_extras_from_plugins}" >> "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
fi
done
- if [[ -z "`grep d3dx9 "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"`" ]] ; then
- echo "d3dx9" >> "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ if [[ -z "`grep d3dx9 "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"`" ]] ; then
+ echo "d3dx9" >> "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
fi
var_winedlloverride_update "steam_api,steam_api64,steamclient,steamclient64=n;lsteamclient,winemenubuilder.exe="
- # export TOTAL_VRAM=`"${PW_WINELIB}/runtime/files/bin/glxinfo" -B | grep Total | awk -F: '{print $2}' | awk '{print $1}'`
+ # export TOTAL_VRAM=`"${PP_WINELIB}/runtime/files/bin/glxinfo" -B | grep Total | awk -F: '{print $2}' | awk '{print $1}'`
# echo "TOTAL_VRAM=${TOTAL_VRAM}"
echo "Try link wine DXGI by default..."
- if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/dxgi.dll"
- then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/dxgi.dll"
+ if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/dxgi.dll"
+ then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/dxgi.dll"
fi
- if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/dxgi.dll"
- then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/dxgi.dll"
+ if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/dxgi.dll"
+ then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/dxgi.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/dxgi.dll"
fi
echo "Try link wine d3d filese by default..."
for wine_build_dll in d3d12 d3d11 d3d10 d3d10core d3d10_1 d3d9 dxgi ; do
- if ! try_force_link_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${wine_build_dll}.dll"
- then try_force_link_file "${WINEDIR}/lib/wine/i386-windows/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${wine_build_dll}.dll"
+ if ! try_force_link_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${wine_build_dll}.dll"
+ then try_force_link_file "${WINEDIR}/lib/wine/i386-windows/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${wine_build_dll}.dll"
fi
- if ! try_force_link_file "${WINEDIR}/lib64/wine/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${wine_build_dll}.dll"
- then try_force_link_file "${WINEDIR}/lib64/wine/x86_64-windows/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${wine_build_dll}.dll"
+ if ! try_force_link_file "${WINEDIR}/lib64/wine/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${wine_build_dll}.dll"
+ then try_force_link_file "${WINEDIR}/lib64/wine/x86_64-windows/${wine_build_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${wine_build_dll}.dll"
fi
done
- if [[ "${PW_VULKAN_USE}" == "0" ]] ; then
+ if [[ "${PP_VULKAN_USE}" == "0" ]] ; then
echo "Use OpenGL"
export GL_YIELD="NOTHING"
export mesa_glthread=true
var_winedlloverride_update "d3d11,d3d10,d3d10core,d3d10_1,d3d9,dxgi=b;d3d12="
- elif [[ "${PW_VULKAN_USE}" == "3" ]] ; then
+ elif [[ "${PP_VULKAN_USE}" == "3" ]] ; then
echo "Use GALLIUM-NINE (Native DX9 on MESA drivers)"
- export PW_GALLIUM_NINE_VER="0.8"
- export PW_GALLIUM_NINE_PATH="${PW_PLUGINS_PATH}/gallium_nine_v.${PW_GALLIUM_NINE_VER}"
- try_force_link_file "${PW_GALLIUM_NINE_PATH}/lib32/d3d9-nine.dll.so" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/d3d9.dll"
- try_force_link_file "${PW_GALLIUM_NINE_PATH}/lib64/d3d9-nine.dll.so" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/d3d9.dll"
+ export PP_GALLIUM_NINE_VER="0.8"
+ export PP_GALLIUM_NINE_PATH="${PP_PLUGINS_PATH}/gallium_nine_v.${PP_GALLIUM_NINE_VER}"
+ try_force_link_file "${PP_GALLIUM_NINE_PATH}/lib32/d3d9-nine.dll.so" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/d3d9.dll"
+ try_force_link_file "${PP_GALLIUM_NINE_PATH}/lib64/d3d9-nine.dll.so" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/d3d9.dll"
var_winedlloverride_update "d3d9=n;wined3d=b;dxvk_config,vulkan-1,winevulkan="
unset FIND_D3D_MODULE D3D_MODULE_PATH
FIND_D3D_MODULE=`dirname $(find /usr/ -maxdepth 4 -type f -name "d3dadapter9.so.*") 2>/dev/null`
@@ -382,18 +387,18 @@ start_portwine () {
IFS=$old_IFS
print_info "D3D_MODULE_PATH=${D3D_MODULE_PATH}"
else
- pw_stop_progress_bar
+ pp_stop_progress_bar
zenity_error "d3dadapter9.so.1.0.0 - ${loc_find_d3dadapter9_error}"
stop_portwine
fi
export mesa_glthread=true
- export PW_DX12_DISABLE=1
+ export PP_DX12_DISABLE=1
export ENABLE_VKBASALT=0
- export PW_MANGOHUD=0
+ export PP_MANGOHUD=0
export WINE_FULLSCREEN_FSR=0
else
echo "Use VKD3D-PROTON and DXVK (DX 9-12 to vulkan)"
- # if [[ ! -z "${PW_USE_AMDVLK_DRIVER}" ]] && [[ "${PW_USE_AMDVLK_DRIVER}" != 0 ]] ; then
+ # if [[ ! -z "${PP_USE_AMDVLK_DRIVER}" ]] && [[ "${PP_USE_AMDVLK_DRIVER}" != 0 ]] ; then
# export AMD_VULKAN_ICD=AMDVLK
# unset DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1
# print_info "Try to use AMDVLK driver (only with MESA)"
@@ -405,7 +410,7 @@ start_portwine () {
# export VKD3D_FEATURE_LEVEL="12_0"
# export __GL_DXVK_OPTIMIZATIONS=1
# var_vkd3d_config_update no_upload_hvv
- if [[ "${PW_USE_WINE_DXGI}" == 1 ]] || [[ "${PW_VULKAN_USE}" == 2 ]]; then
+ if [[ "${PP_USE_WINE_DXGI}" == 1 ]] || [[ "${PP_VULKAN_USE}" == 2 ]]; then
export CP_DXVK_FILES="d3d11 d3d10core d3d9 dxvk_config openvr_api_dxvk"
var_winedlloverride_update "d3d11,d3d10core,d3d9=n"
else
@@ -414,34 +419,34 @@ start_portwine () {
fi
echo "Try link native DXVK files..."
for wine_dxvk_dll in ${CP_DXVK_FILES} ; do
- try_force_link_file "${WINEDIR}/lib/wine/dxvk/${wine_dxvk_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${wine_dxvk_dll}.dll"
- try_force_link_file "${WINEDIR}/lib64/wine/dxvk/${wine_dxvk_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${wine_dxvk_dll}.dll"
+ try_force_link_file "${WINEDIR}/lib/wine/dxvk/${wine_dxvk_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${wine_dxvk_dll}.dll"
+ try_force_link_file "${WINEDIR}/lib64/wine/dxvk/${wine_dxvk_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${wine_dxvk_dll}.dll"
done
echo "Try link native VKD3D files..."
- try_force_link_file "${WINEDIR}/lib/vkd3d/libvkd3d-shader-1.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/libvkd3d-shader-1.dll"
- try_force_link_file "${WINEDIR}/lib64/vkd3d/libvkd3d-shader-1.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/libvkd3d-shader-1.dll"
+ try_force_link_file "${WINEDIR}/lib/vkd3d/libvkd3d-shader-1.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/libvkd3d-shader-1.dll"
+ try_force_link_file "${WINEDIR}/lib64/vkd3d/libvkd3d-shader-1.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/libvkd3d-shader-1.dll"
for wine_vkd3d_dll in d3d12 libvkd3d-proton-utils-3 ; do
- try_force_link_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${wine_vkd3d_dll}.dll"
- try_force_link_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${wine_vkd3d_dll}.dll"
+ try_force_link_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${wine_vkd3d_dll}.dll"
+ try_force_link_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${wine_vkd3d_dll}.dll"
done
fi
- if [[ ! -z "${PW_DX12_DISABLE}" && "${PW_DX12_DISABLE}" != 0 ]]
+ if [[ ! -z "${PP_DX12_DISABLE}" && "${PP_DX12_DISABLE}" != 0 ]]
then var_winedlloverride_update "libvkd3d-proton-utils-3,libvkd3d-shader-1=n;d3d12="
else var_winedlloverride_update "d3d12,libvkd3d-proton-utils-3,libvkd3d-shader-1=n"
fi
- if [[ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin" ]] ; then
- create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin"
- if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/vrclient.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin/vrclient.dll"
- then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/vrclient.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin/vrclient.dll"
+ if [[ ! -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin" ]] ; then
+ create_new_dir "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin"
+ if ! try_force_link_file "${WINEDIR}"/lib/wine/fakedlls/vrclient.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin/vrclient.dll"
+ then try_force_link_file "${WINEDIR}"/lib/wine/i386-windows/vrclient.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin/vrclient.dll"
fi
- if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/vrclient_x64.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin/vrclient_x64.dll"
- then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/vrclient_x64.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/vrclient/bin/vrclient_x64.dll"
+ if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/vrclient_x64.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin/vrclient_x64.dll"
+ then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/vrclient_x64.dll "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/vrclient/bin/vrclient_x64.dll"
fi
fi
- if [[ "${PW_USE_SHADER_CACHE}" == 1 ]] ; then
+ if [[ "${PP_USE_SHADER_CACHE}" == 1 ]] ; then
export MESA_SHADER_CACHE_DIR="${PORT_WINE_TMP_PATH}"
create_new_dir "${PORT_WINE_TMP_PATH}/gl_shader_cache"
export __GL_SHADER_DISK_CACHE=1
@@ -460,7 +465,7 @@ start_portwine () {
export RADV_DEBUG=nocache
fi
- if [[ "${PW_WINE_FULLSCREEN_FSR}" == 1 ]] || [[ "${WINE_FULLSCREEN_FSR}" == 1 ]] ; then
+ if [[ "${PP_WINE_FULLSCREEN_FSR}" == 1 ]] || [[ "${WINE_FULLSCREEN_FSR}" == 1 ]] ; then
export WINE_FULLSCREEN_FSR=1
export WINE_FULLSCREEN_FSR_STRENGTH=1
export WINE_FULLSCREEN_INTEGER_SCALING=0
@@ -470,38 +475,38 @@ start_portwine () {
fi
for try_cp_dll_from_wine in "ntdll.dll" "vulkan-1.dll" ; do
- if ! try_copy_file "${WINEDIR}"/lib/wine/fakedlls/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${try_cp_dll_from_wine}"
- then try_copy_file "${WINEDIR}"/lib/wine/i386-windows/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/${try_cp_dll_from_wine}"
+ if ! try_copy_file "${WINEDIR}"/lib/wine/fakedlls/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${try_cp_dll_from_wine}"
+ then try_copy_file "${WINEDIR}"/lib/wine/i386-windows/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/syswow64/${try_cp_dll_from_wine}"
fi
- if ! try_copy_file "${WINEDIR}"/lib64/wine/fakedlls/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${try_cp_dll_from_wine}"
- then try_copy_file "${WINEDIR}"/lib64/wine/x86_64-windows/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/${try_cp_dll_from_wine}"
+ if ! try_copy_file "${WINEDIR}"/lib64/wine/fakedlls/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${try_cp_dll_from_wine}"
+ then try_copy_file "${WINEDIR}"/lib64/wine/x86_64-windows/${try_cp_dll_from_wine} "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c/windows/system32/${try_cp_dll_from_wine}"
fi
done
#run_winetricks_from_db
- if [[ ! -z "${PW_MUST_HAVE_DLL}" ]]
- then export PW_DLL_INSTALL="`echo "${PW_MUST_HAVE_DLL} ${PW_DLL_INSTALL}" | awk '{ for(i=1;i<=NF;i++){a[$i]++} }END{ for(i in a){printf("%s ",i)} }' `"
+ if [[ ! -z "${PP_MUST_HAVE_DLL}" ]]
+ then export PP_DLL_INSTALL="`echo "${PP_MUST_HAVE_DLL} ${PP_DLL_INSTALL}" | awk '{ for(i=1;i<=NF;i++){a[$i]++} }END{ for(i in a){printf("%s ",i)} }' `"
fi
- if [[ ! -z "${PW_DLL_INSTALL}" ]] ; then
- export PW_DLL_NEED_INSTALL=""
+ if [[ ! -z "${PP_DLL_INSTALL}" ]] ; then
+ export PP_DLL_NEED_INSTALL=""
export USE_WT_FROM_DB=0
- if [ ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" ] ; then
- touch "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ if [ ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" ] ; then
+ touch "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
fi
- for need_install_dll_to_pfx in ${PW_DLL_INSTALL} ; do
+ for need_install_dll_to_pfx in ${PP_DLL_INSTALL} ; do
if [[ "${need_install_dll_to_pfx}" == "vcrun2015" || "${need_install_dll_to_pfx}" == "vcrun2017" ]] ; then
need_install_dll_to_pfx="vcrun2019"
- sed -i '/vcrun2015/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
- sed -i '/vcrun2017/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ sed -i '/vcrun2015/d' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
+ sed -i '/vcrun2017/d' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
elif [ "${need_install_dll_to_pfx}" == "vcrun2019" ] ; then
- sed -i '/vcrun2015/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
- sed -i '/vcrun2017/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ sed -i '/vcrun2015/d' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
+ sed -i '/vcrun2017/d' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
fi
- grep "${need_install_dll_to_pfx}" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ grep "${need_install_dll_to_pfx}" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
if [[ "$?" == "1" ]] ; then
- if [[ -z "${PW_DLL_NEED_INSTALL}" ]]
- then export PW_DLL_NEED_INSTALL="${need_install_dll_to_pfx}"
- else export PW_DLL_NEED_INSTALL="${need_install_dll_to_pfx} ${PW_DLL_NEED_INSTALL}"
+ if [[ -z "${PP_DLL_NEED_INSTALL}" ]]
+ then export PP_DLL_NEED_INSTALL="${need_install_dll_to_pfx}"
+ else export PP_DLL_NEED_INSTALL="${need_install_dll_to_pfx} ${PP_DLL_NEED_INSTALL}"
fi
export USE_WT_FROM_DB=1
fi
@@ -509,77 +514,77 @@ start_portwine () {
if [[ "${USE_WT_FROM_DB}" == "1" ]] ; then
update_winetricks
echo "START WINETRICKS..." >> "${PORT_WINE_TMP_PATH}/update_pfx_log"
- echo "Try to install DLL in prefix: ${PW_DLL_NEED_INSTALL}" >> "${PORT_WINE_TMP_PATH}/update_pfx_log"
- print_info "Try to install DLL in prefix: ${PW_DLL_NEED_INSTALL}"
- ${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \
- "${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${PW_DLL_NEED_INSTALL} &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
+ echo "Try to install DLL in prefix: ${PP_DLL_NEED_INSTALL}" >> "${PORT_WINE_TMP_PATH}/update_pfx_log"
+ print_info "Try to install DLL in prefix: ${PP_DLL_NEED_INSTALL}"
+ ${pp_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" \
+ "${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${PP_DLL_NEED_INSTALL} &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
wait_wineserver
kill_portwine
fi
fi
- if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" ]] && [[ -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep "Windows $PW_WINDOWS_VER"` ]] ; then
- if [[ ! -z "${PW_WINDOWS_VER}" && `echo "$PW_WINDOWS_VER" | sed 's/.*/\L&/'` == "xp" ]] ; then
- export PW_WINDOWS_VER="xp64"
+ if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" ]] && [[ -z `cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" | grep "Windows $PP_WINDOWS_VER"` ]] ; then
+ if [[ ! -z "${PP_WINDOWS_VER}" && `echo "$PP_WINDOWS_VER" | sed 's/.*/\L&/'` == "xp" ]] ; then
+ export PP_WINDOWS_VER="xp64"
fi
- ${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \
- "${WINELOADER}" winecfg -v `echo "win${PW_WINDOWS_VER}" | sed 's/.*/\L&/'`
+ ${pp_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" \
+ "${WINELOADER}" winecfg -v `echo "win${PP_WINDOWS_VER}" | sed 's/.*/\L&/'`
wait_wineserver
kill_portwine
- echo "Set to win${PW_WINDOWS_VER}"
+ echo "Set to win${PP_WINDOWS_VER}"
fi
if [[ "${portwine_exe}" == *-Shipping.exe ]] ; then
echo "Disable EAC"
[[ -z "${LAUNCH_PARAMETERS}" ]] && export LAUNCH_PARAMETERS+="-eac-nop-loaded "
fi
sleep 1
- pw_stop_progress_bar &&
- pw_tray_icon &&
- if [[ "${PW_CHECK_AUTOINSTAL}" != "1" ]] ; then
- pw_start_progress_bar_cover "${PW_GUI_ICON_PATH}/covers/pw_loading_cover.gif"
+ pp_stop_progress_bar &&
+ pp_tray_icon &&
+ if [[ "${PP_CHECK_AUTOINSTAL}" != "1" ]] ; then
+ pp_start_progress_bar_cover "${PP_GUI_ICON_PATH}/covers/pp_loading_cover.gif"
fi
- if [[ "${PW_PREFIX_NAME}" == "DOTNET" ]] && [[ "${PW_VULKAN_USE}" == "1" || "${PW_VULKAN_USE}" == "2" ]] ; then
+ if [[ "${PP_PREFIX_NAME}" == "DOTNET" ]] && [[ "${PP_VULKAN_USE}" == "1" || "${PP_VULKAN_USE}" == "2" ]] ; then
var_winedlloverride_update "libglesv2=d"
fi
add_in_start_portwine
}
-pw_run () {
+pp_run () {
unset GDK_BACKEND
if [[ ! -z "$portwine_exe" ]] ; then
cd "${PATH_TO_GAME}"
else
- cd "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c"
+ cd "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c"
fi
- pw_mangohud_check
- pw_vkbasalt_check
- PW_LOG_TO_FILE="${PORT_WINE_PATH}/${portname}.log"
- print_var "WINEDIR" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME" "PW_WINE_USE" "PW_VULKAN_USE" "VKD3D_CONFIG" \
- "PW_LD_LIBRARY_PATH" "PATH" "WINEESYNC" "WINEFSYNC" "WINEFSYNC_FUTEX2"
- if [[ "${PW_LOG}" == 1 ]] ; then
- echo "WINEDLLOVERRIDES=${WINEDLLOVERRIDES}" >> "${PW_LOG_TO_FILE}"
- echo "------------------------------------" >> "${PW_LOG_TO_FILE}"
- echo "Log WINE:" >> "${PW_LOG_TO_FILE}"
- ${optirun_on} ${PW_GAMEMODERUN_SLR} ${pw_runtime} \
- env ${PW_MANGOHUD_SLR} \
+ pp_mangohud_check
+ pp_vkbasalt_check
+ PP_LOG_TO_FILE="${PORT_WINE_PATH}/${portname}.log"
+ print_var "WINEDIR" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME" "PP_WINE_USE" "PP_VULKAN_USE" "VKD3D_CONFIG" \
+ "PP_LD_LIBRARY_PATH" "PATH" "WINEESYNC" "WINEFSYNC" "WINEFSYNC_FUTEX2"
+ if [[ "${PP_LOG}" == 1 ]] ; then
+ echo "WINEDLLOVERRIDES=${WINEDLLOVERRIDES}" >> "${PP_LOG_TO_FILE}"
+ echo "------------------------------------" >> "${PP_LOG_TO_FILE}"
+ echo "Log WINE:" >> "${PP_LOG_TO_FILE}"
+ ${optirun_on} ${PP_GAMEMODERUN_SLR} ${pp_runtime} \
+ env ${PP_MANGOHUD_SLR} \
PATH="${PATH}" \
- LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \
- LD_PRELOAD="${PW_LD_PRELOAD}" \
- VK_LAYER_PATH="${PW_VK_LAYER_PATH}" \
- VK_INSTANCE_LAYERS=${PW_VK_INSTANCE_LAYERS} \
- "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} &>>"${PW_LOG_TO_FILE}"
+ LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" \
+ LD_PRELOAD="${PP_LD_PRELOAD}" \
+ VK_LAYER_PATH="${PP_VK_LAYER_PATH}" \
+ VK_INSTANCE_LAYERS=${PP_VK_INSTANCE_LAYERS} \
+ "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} &>>"${PP_LOG_TO_FILE}"
else
- [[ "${PW_USE_TERMINAL}" != "1" ]] && export PW_TERM=""
- $PW_TERM ${optirun_on} ${PW_GAMEMODERUN_SLR} ${pw_runtime} \
- env ${PW_MANGOHUD_SLR} \
+ [[ "${PP_USE_TERMINAL}" != "1" ]] && export PP_TERM=""
+ $PP_TERM ${optirun_on} ${PP_GAMEMODERUN_SLR} ${pp_runtime} \
+ env ${PP_MANGOHUD_SLR} \
PATH="${PATH}" \
- LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \
- LD_PRELOAD="${PW_LD_PRELOAD}" \
- VK_LAYER_PATH="${PW_VK_LAYER_PATH}" \
- VK_INSTANCE_LAYERS=${PW_VK_INSTANCE_LAYERS} \
+ LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" \
+ LD_PRELOAD="${PP_LD_PRELOAD}" \
+ VK_LAYER_PATH="${PP_VK_LAYER_PATH}" \
+ VK_INSTANCE_LAYERS=${PP_VK_INSTANCE_LAYERS} \
"${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]}
fi
}
-export -f pw_run
+export -f pp_run
###MAIN###
if [[ $(id -u) -eq 0 ]] ; then
@@ -589,16 +594,16 @@ fi
[[ -z "${LANG}" ]] && export LANG=C
create_new_dir "${HOME}/.local/share/applications"
-if [[ ! -z "${PW_SILENT_RESTART}" ]] && [[ "${PW_SILENT_RESTART}" = 1 ]] ; then
- export PW_GUI_DISABLED_CS=1
- unset PW_SILENT_RESTART
+if [[ ! -z "${PP_SILENT_RESTART}" ]] && [[ "${PP_SILENT_RESTART}" = 1 ]] ; then
+ export PP_GUI_DISABLED_CS=1
+ unset PP_SILENT_RESTART
else
- unset PW_GUI_DISABLED_CS
+ unset PP_GUI_DISABLED_CS
fi
-unset MANGOHUD MANGOHUD_DLSYM PW_NO_ESYNC PW_NO_FSYNC PW_VULKAN_USE WINEDLLOVERRIDES PW_NO_WRITE_WATCH PW_YAD_SET PW_ICON_FOR_YAD
-unset PW_CHECK_AUTOINSTAL PW_VKBASALT_EFFECTS PW_VKBASALT_FFX_CAS PORTWINE_DB PORTWINE_DB_FILE PW_DISABLED_CREATE_DB
-unset CHK_SYMLINK_FILE MESA_GL_VERSION_OVERRIDE PATH_TO_GAME PW_START_DEBUG PORTPROTON_NAME PORTWINE_CREATE_SHORTCUT_NAME
-unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME PW_GAMEMODERUN_SLR AMD_VULKAN_ICD
+unset MANGOHUD MANGOHUD_DLSYM PP_NO_ESYNC PP_NO_FSYNC PP_VULKAN_USE WINEDLLOVERRIDES PP_NO_WRITE_WATCH PP_YAD_SET PP_ICON_FOR_YAD
+unset PP_CHECK_AUTOINSTAL PP_VKBASALT_EFFECTS PP_VKBASALT_FFX_CAS PORTWINE_DB PORTWINE_DB_FILE PP_DISABLED_CREATE_DB
+unset CHK_SYMLINK_FILE MESA_GL_VERSION_OVERRIDE PATH_TO_GAME PP_START_DEBUG PORTPROTON_NAME PORTWINE_CREATE_SHORTCUT_NAME
+unset PP_PREFIX_NAME WINEPREFIX VULKAN_MOD PP_WINE_VER PP_ADD_TO_ARGS_IN_RUNTIME PP_GAMEMODERUN_SLR AMD_VULKAN_ICD
export portname=PortProton
@@ -639,7 +644,7 @@ create_new_dir "${PORT_WINE_TMP_PATH}"/mono
cd "${PORT_SCRIPTS_PATH}"
. "${PORT_SCRIPTS_PATH}/var"
-export PW_PLUGINS_PATH="${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}"
+export PP_PLUGINS_PATH="${PORT_WINE_TMP_PATH}/plugins${PP_PLUGINS_VER}"
if [ ! -f "${PORT_WINE_TMP_PATH}/${portname}_loc" ] ; then
SET_LANG=`zenity --title "Install $portname" --text "Select the language" --list --radiolist \
@@ -650,9 +655,9 @@ fi
. "${PORT_SCRIPTS_PATH}"/zen_yad_gui
export urlg="https://linux-gaming.ru/portwine-faq/"
-export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
-try_remove_dir "${PW_WINELIB}/var"
-export PW_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui"
+export PP_WINELIB="${PORT_WINE_TMP_PATH}/libs${PP_LIBS_VER}"
+try_remove_dir "${PP_WINELIB}/var"
+export PP_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui"
export install_ver=`cat "${PORT_WINE_TMP_PATH}/${portname}_ver" | head -n 1`
if [[ "${install_ver}" == 97 ]] ; then
export install_ver="1.0"
@@ -661,13 +666,14 @@ fi
export WINETRICKS_DOWNLOADER="curl"
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
check_user_conf
+sed -i 's/ PW_/ PP_/g' "${USER_CONF}"
if [[ -z "${INSTALLING_PORT}" ]] ; then
. "${USER_CONF}"
- pw_port_update
- pw_download_libs
- pw_check_and_download_wine ${PW_PROTON_STEAM_VER}
- pw_check_and_download_plugins
- pw_init_db
+ pp_port_update
+ pp_download_libs
+ pp_check_and_download_wine ${PP_PROTON_LG_VER}
+ pp_check_and_download_plugins
+ pp_init_db
. "${USER_CONF}"
fi
diff --git a/data_from_portwine/scripts/setup.sh b/data_from_portwine/scripts/setup.sh
index 73617de3..5dec2dab 100755
--- a/data_from_portwine/scripts/setup.sh
+++ b/data_from_portwine/scripts/setup.sh
@@ -15,7 +15,7 @@ echo "Path="${PORT_SCRIPTS_PATH}/"" >> "${PORT_WINE_PATH}/${name_desktop}.des
echo "Icon="${PORT_WINE_PATH}/data/img/w.png"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
-if [ -z "${PW_AUTOPLAY}" ] ; then
+if [ -z "${PP_AUTOPLAY}" ] ; then
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" ${HOME}/.local/share/applications/
fi
@@ -31,26 +31,26 @@ echo "Icon="${PORT_WINE_PATH}/data/img/readme.png"" >> "${PORT_WINE_PATH}/${name
echo "URL=${urlg}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
-if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
- if [ "${PW_AUTOPLAY}" = "1" ] ; then
+if [ "${PP_SILENT_INSTALL}" = "1" ] ; then
+ if [ "${PP_AUTOPLAY}" = "1" ] ; then
unset INSTALLING_PORT
if [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then
- export PW_OLD_PATH=`cat "${HOME}/.local/share/applications/PortProton.desktop" | grep -w 'Path=' | sed -E 's/Path=//' | sed -E 's%\/PortProton\/data\/scripts\/%%g' `
- echo "PW_OLD_PATH=${PW_OLD_PATH}"
+ export PP_OLD_PATH=`cat "${HOME}/.local/share/applications/PortProton.desktop" | grep -w 'Path=' | sed -E 's/Path=//' | sed -E 's%\/PortProton\/data\/scripts\/%%g' `
+ echo "PP_OLD_PATH=${PP_OLD_PATH}"
try_remove_file "${HOME}/.local/share/applications/PortProton.desktop"
fi
- if [[ ! -z "${PW_OLD_PATH}" ]] ; then
- if [[ "${PW_OLD_PATH}"* == "${HOME}/PortWINE"* ]] & [[ -d "${HOME}/PortWINE" ]] ; then
+ if [[ ! -z "${PP_OLD_PATH}" ]] ; then
+ if [[ "${PP_OLD_PATH}"* == "${HOME}/PortWINE"* ]] & [[ -d "${HOME}/PortWINE" ]] ; then
echo "Old path = ${HOME}/PortWINE"
try_remove_dir "${XDG_DATA_HOME}/PortWINE"
mv -f "${HOME}/PortWINE" "${XDG_DATA_HOME}"
- elif [[ "${PW_OLD_PATH}"* == "${PW_OLD_PATH}/PortWINE"* ]] & [[ -d "${PW_OLD_PATH}/PortWINE" ]] ; then
+ elif [[ "${PP_OLD_PATH}"* == "${PP_OLD_PATH}/PortWINE"* ]] & [[ -d "${PP_OLD_PATH}/PortWINE" ]] ; then
try_remove_dir "${XDG_DATA_HOME}/PortWINE"
- ln -s "${PW_OLD_PATH}/PortWINE" "${XDG_DATA_HOME}/"
- elif [[ "${PW_OLD_PATH}"* == "${PW_OLD_PATH}/PortProton"* ]] & [[ -d "${PW_OLD_PATH}/PortProton" ]] ; then
+ ln -s "${PP_OLD_PATH}/PortWINE" "${XDG_DATA_HOME}/"
+ elif [[ "${PP_OLD_PATH}"* == "${PP_OLD_PATH}/PortProton"* ]] & [[ -d "${PP_OLD_PATH}/PortProton" ]] ; then
try_remove_dir "${XDG_DATA_HOME}/PortWINE"
create_new_dir "${XDG_DATA_HOME}/PortWINE"
- ln -s "${PW_OLD_PATH}/PortProton" "${XDG_DATA_HOME}/PortWINE"
+ ln -s "${PP_OLD_PATH}/PortProton" "${XDG_DATA_HOME}/PortWINE"
fi
fi
ln -s "${XDG_DATA_HOME}/PortWINE" "${HOME}/"
diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh
index dcc2c062..0405e781 100755
--- a/data_from_portwine/scripts/start.sh
+++ b/data_from_portwine/scripts/start.sh
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
# Author: linux-gaming.ru
export NO_AT_BRIDGE=1
-export pw_full_command_line=("$0" $*)
+export pp_full_command_line=("$0" $*)
if [ -f "$1" ]; then
export portwine_exe="$(readlink -f "$1")"
fi
. "$(dirname $(readlink -f "$0"))/runlib"
kill_portwine
-pw_stop_progress_bar
+pp_stop_progress_bar
if [[ -f "/usr/bin/portproton" ]] && [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then
/usr/bin/env bash "/usr/bin/portproton" "$@" &
@@ -15,16 +15,16 @@ if [[ -f "/usr/bin/portproton" ]] && [[ -f "${HOME}/.local/share/applications/Po
fi
if [[ "${XDG_SESSION_TYPE}" = "wayland" ]] && [[ ! -f "${PORT_WINE_TMP_PATH}/check_wayland" ]]; then
- zenity_info "$PW_WAYLAND_INFO"
+ zenity_info "$PP_WAYLAND_INFO"
echo "1" > "${PORT_WINE_TMP_PATH}/check_wayland"
fi
if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then
- export PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
- unset PW_SANDBOX_HOME_PATH
- pw_init_runtime
- export PW_PREFIX_NAME=$(basename "$1" | awk -F'.' '{print $1}')
- ${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" unsquashfs -f -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}" "$1" &
+ export PP_ADD_TO_ARGS_IN_RUNTIME="--xterm"
+ unset PP_SANDBOX_HOME_PATH
+ pp_init_runtime
+ export PP_PREFIX_NAME=$(basename "$1" | awk -F'.' '{print $1}')
+ ${pp_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" unsquashfs -f -d "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}" "$1" &
sleep 10
while true ; do
if [[ -n $(pgrep -a xterm | grep ".ppack" | head -n 1 | awk '{print $1}') ]] ; then
@@ -38,12 +38,12 @@ if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then
fi
fi
done
- if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.create_shortcut" ]] ; then
+ if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.create_shortcut" ]] ; then
orig_IFS="$IFS"
IFS=$'\n'
- for crfb in $(cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.create_shortcut") ; do
- export portwine_exe="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/${crfb}"
- portwine_create_shortcut "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/${crfb}"
+ for crfb in $(cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.create_shortcut") ; do
+ export portwine_exe="${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/${crfb}"
+ portwine_create_shortcut "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/${crfb}"
done
IFS="$orig_IFS"
fi
@@ -54,22 +54,22 @@ portwine_launch () {
start_portwine
PORTWINE_MSI=$(basename "${portwine_exe}" | grep .msi)
PORTWINE_BAT=$(basename "${portwine_exe}" | grep .bat)
- if [[ -n "${PW_VIRTUAL_DESKTOP}" && "${PW_VIRTUAL_DESKTOP}" == "1" ]] ; then
- pw_screen_resolution=$(xrandr --current | grep "*" | awk '{print $1;}' | head -1)
- pw_run explorer "/desktop=portwine,${pw_screen_resolution}" ${WINE_WIN_START} "$portwine_exe"
+ if [[ -n "${PP_VIRTUAL_DESKTOP}" && "${PP_VIRTUAL_DESKTOP}" == "1" ]] ; then
+ pp_screen_resolution=$(xrandr --current | grep "*" | awk '{print $1;}' | head -1)
+ pp_run explorer "/desktop=portwine,${pp_screen_resolution}" ${WINE_WIN_START} "$portwine_exe"
elif [ -n "${PORTWINE_MSI}" ]; then
- pw_run msiexec /i "$portwine_exe"
+ pp_run msiexec /i "$portwine_exe"
elif [[ -n "${PORTWINE_BAT}" || -n "${portwine_exe}" ]] ; then
- pw_run ${WINE_WIN_START} "$portwine_exe"
+ pp_run ${WINE_WIN_START} "$portwine_exe"
else
- pw_run winefile
+ pp_run winefile
fi
}
portwine_start_debug () {
kill_portwine
- export PW_LOG=1
- export PW_WINEDBG_DISABLE=0
+ export PP_LOG=1
+ export PP_WINEDBG_DISABLE=0
echo "${port_deb1}" > "${PORT_WINE_PATH}/${portname}.log"
echo "${port_deb2}" >> "${PORT_WINE_PATH}/${portname}.log"
echo "-------------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
@@ -80,7 +80,7 @@ portwine_start_debug () {
echo "Scripts version:" >> "${PORT_WINE_PATH}/${portname}.log"
cat "${PORT_WINE_TMP_PATH}/scripts_ver" >> "${PORT_WINE_PATH}/${portname}.log"
echo "-----------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
- if [ "${PW_USE_RUNTIME}" = 0 ] ; then
+ if [ "${PP_USE_RUNTIME}" = 0 ] ; then
echo "RUNTIME is disabled" >> "${PORT_WINE_PATH}/${portname}.log"
else
echo "RUNTIME is enabled" >> "${PORT_WINE_PATH}/${portname}.log"
@@ -94,16 +94,16 @@ portwine_start_debug () {
echo "GLIBC version:" >> "${PORT_WINE_PATH}/${portname}.log"
echo $(ldd --version | grep -m1 ldd | awk '{print $NF}') >> "${PORT_WINE_PATH}/${portname}.log"
echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
- if [[ "${PW_VULKAN_USE}" = "0" ]] ; then
- echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DX9-11 to OpenGL" >> "${PORT_WINE_PATH}/${portname}.log"
- elif [[ "${PW_VULKAN_USE}" = "3" ]] ; then
- echo "PW_VULKAN_USE=${PW_VULKAN_USE} - native DX9 on MESA drivers" >> "${PORT_WINE_PATH}/${portname}.log"
+ if [[ "${PP_VULKAN_USE}" = "0" ]] ; then
+ echo "PP_VULKAN_USE=${PP_VULKAN_USE} - DX9-11 to OpenGL" >> "${PORT_WINE_PATH}/${portname}.log"
+ elif [[ "${PP_VULKAN_USE}" = "3" ]] ; then
+ echo "PP_VULKAN_USE=${PP_VULKAN_USE} - native DX9 on MESA drivers" >> "${PORT_WINE_PATH}/${portname}.log"
else
- echo "PW_VULKAN_USE=${PW_VULKAN_USE}" >> "${PORT_WINE_PATH}/${portname}.log"
+ echo "PP_VULKAN_USE=${PP_VULKAN_USE}" >> "${PORT_WINE_PATH}/${portname}.log"
fi
echo "--------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
echo "Version WINE in the Port:" >> "${PORT_WINE_PATH}/${portname}.log"
- print_var PW_WINE_USE >> "${PORT_WINE_PATH}/${portname}.log"
+ print_var PP_WINE_USE >> "${PORT_WINE_PATH}/${portname}.log"
[ -f "${WINEDIR}/version" ] && cat "${WINEDIR}/version" >> "${PORT_WINE_PATH}/${portname}.log"
echo "------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
echo "Date and time of start debug for ${portname}:" >> "${PORT_WINE_PATH}/${portname}.log"
@@ -135,11 +135,11 @@ portwine_start_debug () {
[[ `which glxinfo` ]] && glxinfo -B >> "${PORT_WINE_PATH}/${portname}.log"
echo " " >> "${PORT_WINE_PATH}/${portname}.log"
echo "inxi -G:" >> "${PORT_WINE_PATH}/${portname}.log"
- "${PW_WINELIB}/portable/bin/inxi" -G >> "${PORT_WINE_PATH}/${portname}.log"
+ "${PP_WINELIB}/portable/bin/inxi" -G >> "${PORT_WINE_PATH}/${portname}.log"
echo "----------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
echo "Vulkan info device name:" >> "${PORT_WINE_PATH}/${portname}.log"
[[ `which vulkaninfo` ]] && vulkaninfo | grep deviceName >> "${PORT_WINE_PATH}/${portname}.log"
- "${PW_WINELIB}/portable/bin/vkcube" --c 50
+ "${PP_WINELIB}/portable/bin/vkcube" --c 50
if [ $? -eq 0 ]; then
echo "Vulkan cube test passed successfully" >> "${PORT_WINE_PATH}/${portname}.log"
else
@@ -151,13 +151,13 @@ portwine_start_debug () {
echo "!!!gamemod not found!!!" >> "${PORT_WINE_PATH}/${portname}.log"
fi
echo "-------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
- if [[ "${PW_USE_D3D_EXTRAS}" != 1 ]]
+ if [[ "${PP_USE_D3D_EXTRAS}" != 1 ]]
then echo "D3D_EXTRAS - disabled" >> "${PORT_WINE_PATH}/${portname}.log"
else echo "D3D_EXTRAS - enabled" >> "${PORT_WINE_PATH}/${portname}.log"
fi
echo "------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
echo "winetricks.log:" >> "${PORT_WINE_PATH}/${portname}.log"
- cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" | sed -e /"^d3dcomp*"/d -e /"^d3dx*"/d >> "${PORT_WINE_PATH}/${portname}.log"
+ cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" | sed -e /"^d3dcomp*"/d -e /"^d3dx*"/d >> "${PORT_WINE_PATH}/${portname}.log"
echo "-----------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
if [ -n "${PORTWINE_DB_FILE}" ]; then
echo "Use ${PORTWINE_DB_FILE} db file:" >> "${PORT_WINE_PATH}/${portname}.log"
@@ -176,8 +176,8 @@ portwine_start_debug () {
portwine_launch &
sleep 3
- pw_stop_progress_bar_cover
- unset PW_TIMER
+ pp_stop_progress_bar_cover
+ unset PP_TIMER
while read -r line || [[ -n $(pgrep -a yad | grep "yad_new --text-info --tail --button="STOP":0 --title="DEBUG"" | awk '{print $1}') ]] ; do
sleep 0.005
if [[ -n "${line}" ]] && [[ -z "$(echo "${line}" | grep -i "gstreamer")" ]] \
@@ -186,11 +186,11 @@ portwine_start_debug () {
then
echo "# ${line}"
fi
- if [[ "${PW_TIMER}" != 1 ]] ; then
+ if [[ "${PP_TIMER}" != 1 ]] ; then
sleep 3
- PW_TIMER=1
+ PP_TIMER=1
fi
- done < "${PORT_WINE_PATH}/${portname}.log" | "${pw_yad_new}" --text-info --tail --button="STOP":0 --title="DEBUG" \
+ done < "${PORT_WINE_PATH}/${portname}.log" | "${pp_yad_new}" --text-info --tail --button="STOP":0 --title="DEBUG" \
--skip-taskbar --center --width=800 --height=400 --text "${port_debug}" &&
kill_portwine
# sleep 1 && zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap &> /dev/null && kill_portwine
@@ -202,100 +202,100 @@ portwine_start_debug () {
sed -i '/Uploading is disabled/d' "${PORT_WINE_PATH}/${portname}.log"
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
- "$pw_yad" --title="${portname}.log" --borders=7 --no-buttons --text-align=center \
+ "$pp_yad" --title="${portname}.log" --borders=7 --no-buttons --text-align=center \
--text-info --show-uri --wrap --center --width=1200 --height=550 --uri-color=red \
--filename="${PORT_WINE_PATH}/${portname}.log"
stop_portwine
}
-pw_winecfg () {
+pp_winecfg () {
start_portwine
- pw_run winecfg
+ pp_run winecfg
}
-pw_winefile () {
+pp_winefile () {
start_portwine
- pw_run winefile
+ pp_run winefile
}
-pw_winecmd () {
- export PW_USE_TERMINAL=1
+pp_winecmd () {
+ export PP_USE_TERMINAL=1
start_portwine
- cd "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c"
- ${pw_runtime} env LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" xterm -e "${WINELOADER}" cmd
+ cd "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/drive_c"
+ ${pp_runtime} env LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" xterm -e "${WINELOADER}" cmd
stop_portwine
}
-pw_winereg () {
+pp_winereg () {
start_portwine
- pw_run regedit
+ pp_run regedit
}
-pw_prefix_manager () {
+pp_prefix_manager () {
update_winetricks
start_portwine
- if [ ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" ] ; then
- touch "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log"
+ if [ ! -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" ] ; then
+ touch "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log"
fi
- pw_start_progress_bar_block "Starting prefix manager..."
+ pp_start_progress_bar_block "Starting prefix manager..."
"${PORT_WINE_TMP_PATH}/winetricks" dlls list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/dll_list"
"${PORT_WINE_TMP_PATH}/winetricks" fonts list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/fonts_list"
"${PORT_WINE_TMP_PATH}/winetricks" settings list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/settings_list"
- pw_stop_progress_bar
+ pp_stop_progress_bar
gui_prefix_manager () {
- pw_start_progress_bar_block "Starting prefix manager..."
+ pp_start_progress_bar_block "Starting prefix manager..."
unset SET_FROM_PFX_MANAGER_TMP SET_FROM_PFX_MANAGER
old_IFS=$IFS
IFS=$'\n'
try_remove_file "${PORT_WINE_TMP_PATH}/dll_list_tmp"
- while read PW_BOOL_IN_DLL_LIST ; do
- if [[ -z $(echo "${PW_BOOL_IN_DLL_LIST}" | grep -E 'd3d|directx9|dont_use|dxvk|vkd3d|galliumnine|faudio1') ]] ; then
- if grep "^$(echo ${PW_BOOL_IN_DLL_LIST} | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" ; then
- echo -e "true\n$(echo ${PW_BOOL_IN_DLL_LIST} | awk '{print $1}')\n`echo ${PW_BOOL_IN_DLL_LIST} | awk '{ $1 = ""; print substr($0, 2) }'`" >> "${PORT_WINE_TMP_PATH}/dll_list_tmp"
+ while read PP_BOOL_IN_DLL_LIST ; do
+ if [[ -z $(echo "${PP_BOOL_IN_DLL_LIST}" | grep -E 'd3d|directx9|dont_use|dxvk|vkd3d|galliumnine|faudio1') ]] ; then
+ if grep "^$(echo ${PP_BOOL_IN_DLL_LIST} | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" ; then
+ echo -e "true\n$(echo ${PP_BOOL_IN_DLL_LIST} | awk '{print $1}')\n`echo ${PP_BOOL_IN_DLL_LIST} | awk '{ $1 = ""; print substr($0, 2) }'`" >> "${PORT_WINE_TMP_PATH}/dll_list_tmp"
else
- echo -e "false\n`echo "${PW_BOOL_IN_DLL_LIST}" | awk '{print $1}'`\n`echo ${PW_BOOL_IN_DLL_LIST} | awk '{ $1 = ""; print substr($0, 2) }'`" >> "${PORT_WINE_TMP_PATH}/dll_list_tmp"
+ echo -e "false\n`echo "${PP_BOOL_IN_DLL_LIST}" | awk '{print $1}'`\n`echo ${PP_BOOL_IN_DLL_LIST} | awk '{ $1 = ""; print substr($0, 2) }'`" >> "${PORT_WINE_TMP_PATH}/dll_list_tmp"
fi
fi
done < "${PORT_WINE_TMP_PATH}/dll_list"
try_remove_file "${PORT_WINE_TMP_PATH}/fonts_list_tmp"
- while read PW_BOOL_IN_FONTS_LIST ; do
- if [[ -z $(echo "${PW_BOOL_IN_FONTS_LIST}" | grep -E 'dont_use') ]] ; then
- if grep "^$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" ; then
- echo -e "true\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/fonts_list_tmp"
+ while read PP_BOOL_IN_FONTS_LIST ; do
+ if [[ -z $(echo "${PP_BOOL_IN_FONTS_LIST}" | grep -E 'dont_use') ]] ; then
+ if grep "^$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" ; then
+ echo -e "true\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/fonts_list_tmp"
else
- echo -e "false\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/fonts_list_tmp"
+ echo -e "false\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/fonts_list_tmp"
fi
fi
done < "${PORT_WINE_TMP_PATH}/fonts_list"
try_remove_file "${PORT_WINE_TMP_PATH}/settings_list_tmp"
- while read PW_BOOL_IN_FONTS_LIST ; do
- if [[ -z $(echo "${PW_BOOL_IN_FONTS_LIST}" | grep -E 'vista|alldlls|autostart_|bad|good|win|videomemory|vd=|isolate_home') ]] ; then
- if grep "^$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" ; then
- echo -e "true\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/settings_list_tmp"
+ while read PP_BOOL_IN_FONTS_LIST ; do
+ if [[ -z $(echo "${PP_BOOL_IN_FONTS_LIST}" | grep -E 'vista|alldlls|autostart_|bad|good|win|videomemory|vd=|isolate_home') ]] ; then
+ if grep "^$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')$" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" ; then
+ echo -e "true\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/settings_list_tmp"
else
- echo -e "false\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PW_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/settings_list_tmp"
+ echo -e "false\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{print $1}')\n$(echo "${PP_BOOL_IN_FONTS_LIST}" | awk '{ $1 = ""; print substr($0, 2) }')" >> "${PORT_WINE_TMP_PATH}/settings_list_tmp"
fi
fi
done < "${PORT_WINE_TMP_PATH}/settings_list"
- pw_stop_progress_bar
+ pp_stop_progress_bar
KEY_EDIT_MANAGER_GUI=$RANDOM
- "${pw_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=1 --list --checklist \
- --text="Select components to install in prefix: \"${PW_PREFIX_NAME}\", using wine: \"${PW_WINE_USE}\"" \
+ "${pp_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=1 --list --checklist \
+ --text="Select components to install in prefix: \"${PP_PREFIX_NAME}\", using wine: \"${PP_WINE_USE}\"" \
--column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/dll_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" &
- "${pw_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=2 --list --checklist \
- --text="Select fonts to install in prefix: \"${PW_PREFIX_NAME}\", using wine: \"${PW_WINE_USE}\"" \
+ "${pp_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=2 --list --checklist \
+ --text="Select fonts to install in prefix: \"${PP_PREFIX_NAME}\", using wine: \"${PP_WINE_USE}\"" \
--column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/fonts_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" &
- "${pw_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=3 --list --checklist \
- --text="Change config for prefix: \"${PW_PREFIX_NAME}\"" \
+ "${pp_yad_new}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=3 --list --checklist \
+ --text="Change config for prefix: \"${PP_PREFIX_NAME}\"" \
--column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/settings_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" &
- "${pw_yad_new}" --key=$KEY_EDIT_MANAGER_GUI --notebook --borders=5 --width=700 --height=600 --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "PREFIX MANAGER..." --tab-pos=bottom --tab="DLL" --tab="FONTS" --tab="SETTINGS"
+ "${pp_yad_new}" --key=$KEY_EDIT_MANAGER_GUI --notebook --borders=5 --width=700 --height=600 --center \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --title "PREFIX MANAGER..." --tab-pos=bottom --tab="DLL" --tab="FONTS" --tab="SETTINGS"
YAD_STATUS="$?"
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then
stop_portwine
@@ -306,7 +306,7 @@ pw_prefix_manager () {
try_remove_file "${PORT_WINE_TMP_PATH}/settings_list_tmp"
for STPFXMNG in $(cat "${PORT_WINE_TMP_PATH}/to_winetricks") ; do
- grep $(echo ${STPFXMNG} | awk -F'|' '{print $2}') "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" &>/dev/null
+ grep $(echo ${STPFXMNG} | awk -F'|' '{print $2}') "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/winetricks.log" &>/dev/null
if [ "$?" == "1" ] ; then
[[ -n "${STPFXMNG}" ]] && SET_FROM_PFX_MANAGER+="$(echo "${STPFXMNG}" | awk -F'|' '{print $2}') "
fi
@@ -315,26 +315,26 @@ pw_prefix_manager () {
try_remove_file "${PORT_WINE_TMP_PATH}/to_winetricks"
if [[ -n ${SET_FROM_PFX_MANAGER} ]] ; then
- export PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
- pw_init_runtime
- ${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" "${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${SET_FROM_PFX_MANAGER}
+ export PP_ADD_TO_ARGS_IN_RUNTIME="--xterm"
+ pp_init_runtime
+ ${pp_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" "${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${SET_FROM_PFX_MANAGER}
gui_prefix_manager
else
print_info "Nothing to do. Restarting PortProton..."
stop_portwine &
- /usr/bin/env bash -c ${pw_full_command_line[*]}
+ /usr/bin/env bash -c ${pp_full_command_line[*]}
fi
}
gui_prefix_manager
}
-pw_winetricks () {
+pp_winetricks () {
update_winetricks
- export PW_USE_TERMINAL=1
+ export PP_USE_TERMINAL=1
start_portwine
- pw_stop_progress_bar
+ pp_stop_progress_bar
echo "WINETRICKS..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
- unset PW_TIMER
+ unset PP_TIMER
while read -r line || [[ -n $(pgrep -a yad | grep "yad_new --text-info --tail --no-buttons --title="WINETRICKS"" | awk '{print $1}') ]] ; do
sleep 0.005
if [[ -n "${line}" ]] && [[ -z "$(echo "${line}" | grep -i "gstreamer")" ]] \
@@ -343,42 +343,42 @@ pw_winetricks () {
then
echo "# ${line}"
fi
- if [[ "${PW_TIMER}" != 1 ]] ; then
+ if [[ "${PP_TIMER}" != 1 ]] ; then
sleep 3
- PW_TIMER=1
+ PP_TIMER=1
fi
- done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --text-info --tail --no-buttons --title="WINETRICKS" \
- --auto-close --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y &
+ done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pp_yad_new}" --text-info --tail --no-buttons --title="WINETRICKS" \
+ --auto-close --skip-taskbar --width=$PP_GIF_SIZE_X --height=$PP_GIF_SIZE_Y &
"${PORT_WINE_TMP_PATH}/winetricks" -q -r -f &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
try_remove_file "${PORT_WINE_TMP_PATH}/update_pfx_log"
kill -s SIGTERM "$(pgrep -a yad_new | grep "title=WINETRICKS" | awk '{print $1}')" > /dev/null 2>&1
stop_portwine
}
-pw_start_cont_xterm () {
+pp_start_cont_xterm () {
cd "$HOME"
- unset PW_SANDBOX_HOME_PATH
- # export PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
- pw_init_runtime
- ${pw_runtime} xterm
+ unset PP_SANDBOX_HOME_PATH
+ # export PP_ADD_TO_ARGS_IN_RUNTIME="--xterm"
+ pp_init_runtime
+ ${pp_runtime} xterm
}
-pw_create_prefix_backup () {
+pp_create_prefix_backup () {
cd "$HOME"
- PW_PREFIX_TO_BACKUP=$("${pw_yad_new}" --file --directory --borders=5 --width=650 --height=500 --auto-close --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "BACKUP PREFIX TO...")
+ PP_PREFIX_TO_BACKUP=$("${pp_yad_new}" --file --directory --borders=5 --width=650 --height=500 --auto-close --center \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --title "BACKUP PREFIX TO...")
YAD_STATUS="$?"
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then exit 0 ; fi
- if [[ -n "$(grep "/${PW_PREFIX_NAME}/" "${PORT_WINE_PATH}"/*.desktop )" ]] ; then
- try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.create_shortcut"
- grep "/${PW_PREFIX_NAME}/" "${PORT_WINE_PATH}"/*.desktop | awk -F"/${PW_PREFIX_NAME}/" '{print $2}' \
- | awk -F\" '{print $1}' > "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.create_shortcut"
+ if [[ -n "$(grep "/${PP_PREFIX_NAME}/" "${PORT_WINE_PATH}"/*.desktop )" ]] ; then
+ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.create_shortcut"
+ grep "/${PP_PREFIX_NAME}/" "${PORT_WINE_PATH}"/*.desktop | awk -F"/${PP_PREFIX_NAME}/" '{print $2}' \
+ | awk -F\" '{print $1}' > "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/.create_shortcut"
fi
- unset PW_SANDBOX_HOME_PATH
- export PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
- pw_init_runtime
- chmod -R u+w "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"
- ${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" mksquashfs "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}" "${PW_PREFIX_TO_BACKUP}/${PW_PREFIX_NAME}.ppack.part" -comp zstd &
+ unset PP_SANDBOX_HOME_PATH
+ export PP_ADD_TO_ARGS_IN_RUNTIME="--xterm"
+ pp_init_runtime
+ chmod -R u+w "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}"
+ ${pp_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${PP_LD_LIBRARY_PATH}" mksquashfs "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}" "${PP_PREFIX_TO_BACKUP}/${PP_PREFIX_NAME}.ppack.part" -comp zstd &
sleep 10
while true ; do
if [[ -n $(pgrep -a xterm | grep ".ppack.part" | head -n 1 | awk '{print $1}') ]] ; then
@@ -392,45 +392,45 @@ pw_create_prefix_backup () {
fi
fi
done
- if [[ -f "${PW_PREFIX_TO_BACKUP}/${PW_PREFIX_NAME}.ppack.part" ]] ; then
- mv -f "${PW_PREFIX_TO_BACKUP}/${PW_PREFIX_NAME}.ppack.part" "${PW_PREFIX_TO_BACKUP}/${PW_PREFIX_NAME}.ppack"
- zenity_info "Backup for prefix \"${PW_PREFIX_NAME}\" successfully created."
+ if [[ -f "${PP_PREFIX_TO_BACKUP}/${PP_PREFIX_NAME}.ppack.part" ]] ; then
+ mv -f "${PP_PREFIX_TO_BACKUP}/${PP_PREFIX_NAME}.ppack.part" "${PP_PREFIX_TO_BACKUP}/${PP_PREFIX_NAME}.ppack"
+ zenity_info "Backup for prefix \"${PP_PREFIX_NAME}\" successfully created."
else
- zenity_error "An error occurred while creating a backup for prefix: \"${PW_PREFIX_NAME}\" !"
+ zenity_error "An error occurred while creating a backup for prefix: \"${PP_PREFIX_NAME}\" !"
fi
return 0
}
-pw_edit_db () {
- pw_gui_for_edit_db \
- PW_MANGOHUD PW_MANGOHUD_USER_CONF ENABLE_VKBASALT PW_NO_ESYNC PW_NO_FSYNC PW_USE_DXR10 PW_USE_DXR11 \
- PW_USE_NVAPI_AND_DLSS PW_USE_FAKE_DLSS PW_WINE_FULLSCREEN_FSR PW_OLD_GL_STRING PW_HIDE_NVIDIA_GPU PW_FORCE_USE_VSYNC PW_VIRTUAL_DESKTOP \
- PW_WINEDBG_DISABLE PW_USE_TERMINAL PW_WINE_ALLOW_XIM PW_HEAP_DELAY_FREE PW_GUI_DISABLED_CS PW_USE_GSTREAMER \
- PW_USE_GAMEMODE PW_DX12_DISABLE PW_PRIME_RENDER_OFFLOAD PW_USE_D3D_EXTRAS PW_FIX_VIDEO_IN_GAME PW_USE_AMDVLK_DRIVER \
- PW_FORCE_LARGE_ADDRESS_AWARE PW_USE_SHADER_CACHE
+pp_edit_db () {
+ pp_gui_for_edit_db \
+ PP_MANGOHUD PP_MANGOHUD_USER_CONF ENABLE_VKBASALT PP_NO_ESYNC PP_NO_FSYNC PP_USE_DXR10 PP_USE_DXR11 \
+ PP_USE_NVAPI_AND_DLSS PP_USE_FAKE_DLSS PP_WINE_FULLSCREEN_FSR PP_OLD_GL_STRING PP_HIDE_NVIDIA_GPU PP_FORCE_USE_VSYNC PP_VIRTUAL_DESKTOP \
+ PP_WINEDBG_DISABLE PP_USE_TERMINAL PP_WINE_ALLOW_XIM PP_HEAP_DELAY_FREE PP_GUI_DISABLED_CS PP_USE_GSTREAMER \
+ PP_USE_GAMEMODE PP_DX12_DISABLE PP_PRIME_RENDER_OFFLOAD PP_USE_D3D_EXTRAS PP_FIX_VIDEO_IN_GAME PP_USE_AMDVLK_DRIVER \
+ PP_FORCE_LARGE_ADDRESS_AWARE PP_USE_SHADER_CACHE
if [ "$?" == 0 ] ; then
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
}
-pw_autoinstall_from_db () {
- export PW_USER_TEMP="${PORT_WINE_TMP_PATH}"
- export PW_FORCE_LARGE_ADDRESS_AWARE=0
- export PW_USE_GAMEMODE=0
- export PW_CHECK_AUTOINSTAL=1
- export PW_GUI_DISABLED_CS=1
- export PW_WINEDBG_DISABLE=1
- export PW_NO_WRITE_WATCH=0
- export PW_VULKAN_USE=0
- export PW_NO_FSYNC=1
- export PW_NO_ESYNC=1
+pp_autoinstall_from_db () {
+ export PP_USER_TEMP="${PORT_WINE_TMP_PATH}"
+ export PP_FORCE_LARGE_ADDRESS_AWARE=0
+ export PP_USE_GAMEMODE=0
+ export PP_CHECK_AUTOINSTAL=1
+ export PP_GUI_DISABLED_CS=1
+ export PP_WINEDBG_DISABLE=1
+ export PP_NO_WRITE_WATCH=0
+ export PP_VULKAN_USE=0
+ export PP_NO_FSYNC=1
+ export PP_NO_ESYNC=1
unset PORTWINE_CREATE_SHORTCUT_NAME
- export PW_DISABLED_CREATE_DB=1
- export PW_MANGOHUD=0
+ export PP_DISABLED_CREATE_DB=1
+ export PP_MANGOHUD=0
export ENABLE_VKBASALT=0
- export PW_USE_D3D_EXTRAS=1
- . "${PORT_SCRIPTS_PATH}/pw_autoinstall/${PW_YAD_SET}"
+ export PP_USE_D3D_EXTRAS=1
+ . "${PORT_SCRIPTS_PATH}/pp_autoinstall/${PP_YAD_SET}"
}
gui_credits () {
@@ -439,104 +439,104 @@ gui_credits () {
export -f gui_credits
###MAIN###
-PW_PREFIX_NAME="$(echo "${PW_PREFIX_NAME}" | sed -e s/[[:blank:]]/_/g)"
-PW_ALL_PREFIXES=$(ls "${PORT_WINE_PATH}/data/prefixes/" | sed -e s/"${PW_PREFIX_NAME}$"//g)
-export PW_PREFIX_NAME PW_ALL_PREFIXES
+PP_PREFIX_NAME="$(echo "${PP_PREFIX_NAME}" | sed -e s/[[:blank:]]/_/g)"
+PP_ALL_PREFIXES=$(ls "${PORT_WINE_PATH}/data/prefixes/" | sed -e s/"${PP_PREFIX_NAME}$"//g)
+export PP_PREFIX_NAME PP_ALL_PREFIXES
-# if [[ -n "${PORTWINE_DB}" ]] && [[ -z `echo "${PW_PREFIX_NAME}" | grep -i "$(echo "${PORTWINE_DB}" | sed -e s/[[:blank:]]/_/g)"` ]] ; then
-# export PW_PREFIX_NAME="${PW_PREFIX_NAME}!`echo "${PORTWINE_DB}" | sed -e s/[[:blank:]]/_/g`"
+# if [[ -n "${PORTWINE_DB}" ]] && [[ -z `echo "${PP_PREFIX_NAME}" | grep -i "$(echo "${PORTWINE_DB}" | sed -e s/[[:blank:]]/_/g)"` ]] ; then
+# export PP_PREFIX_NAME="${PP_PREFIX_NAME}!`echo "${PORTWINE_DB}" | sed -e s/[[:blank:]]/_/g`"
# fi
-unset PW_ADD_PREFIXES_TO_GUI
+unset PP_ADD_PREFIXES_TO_GUI
IFS_OLD=$IFS
IFS=$'\n'
-for PAIG in ${PW_ALL_PREFIXES[*]} ; do
+for PAIG in ${PP_ALL_PREFIXES[*]} ; do
[[ "${PAIG}" != $(echo "${PORTWINE_DB^^}" | sed -e s/[[:blank:]]/_/g) ]] && \
- export PW_ADD_PREFIXES_TO_GUI="${PW_ADD_PREFIXES_TO_GUI}!${PAIG}"
+ export PP_ADD_PREFIXES_TO_GUI="${PP_ADD_PREFIXES_TO_GUI}!${PAIG}"
done
IFS=$IFS_OLD
-export PW_ADD_PREFIXES_TO_GUI="${PW_PREFIX_NAME^^}${PW_ADD_PREFIXES_TO_GUI}"
+export PP_ADD_PREFIXES_TO_GUI="${PP_PREFIX_NAME^^}${PP_ADD_PREFIXES_TO_GUI}"
-PW_ALL_DIST=$(ls "${PORT_WINE_PATH}/data/dist/" | sed -e s/"${PW_PROTON_GE_VER}$//g" | sed -e s/"${PW_PROTON_STEAM_VER}$//g")
+PP_ALL_DIST=$(ls "${PORT_WINE_PATH}/data/dist/" | sed -e s/"${PP_PROTON_GE_VER}$//g" | sed -e s/"${PP_PROTON_LG_VER}$//g")
unset DIST_ADD_TO_GUI
-for DAIG in ${PW_ALL_DIST}
+for DAIG in ${PP_ALL_DIST}
do
export DIST_ADD_TO_GUI="${DIST_ADD_TO_GUI}!${DAIG}"
done
if [[ -n "${PORTWINE_DB_FILE}" ]] ; then
- [[ -z "${PW_COMMENT_DB}" ]] && PW_COMMENT_DB="PortWINE database file for "\"${PORTWINE_DB}"\" was found."
- if [[ -z "${PW_VULKAN_USE}" || -z "${PW_WINE_USE}" ]] ; then
- unset PW_GUI_DISABLED_CS
- [[ -z "${PW_VULKAN_USE}" ]] && export PW_VULKAN_USE=1
+ [[ -z "${PP_COMMENT_DB}" ]] && PP_COMMENT_DB="PortWINE database file for "\"${PORTWINE_DB}"\" was found."
+ if [[ -z "${PP_VULKAN_USE}" || -z "${PP_WINE_USE}" ]] ; then
+ unset PP_GUI_DISABLED_CS
+ [[ -z "${PP_VULKAN_USE}" ]] && export PP_VULKAN_USE=1
fi
- case "${PW_VULKAN_USE}" in
- "0") export PW_DEFAULT_VULKAN_USE='OPENGL!VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!GALLIUM_NINE (native DX9 on MESA)' ;;
- "2") export PW_DEFAULT_VULKAN_USE='VULKAN (WINE DXGI)!VULKAN (DXVK and VKD3D)!OPENGL!GALLIUM_NINE (native DX9 on MESA)' ;;
- "3") export PW_DEFAULT_VULKAN_USE='GALLIUM_NINE (native DX9 on MESA)!VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL' ;;
- *) export PW_DEFAULT_VULKAN_USE='VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL!GALLIUM_NINE (native DX9 on MESA)' ;;
+ case "${PP_VULKAN_USE}" in
+ "0") export PP_DEFAULT_VULKAN_USE='OPENGL!VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!GALLIUM_NINE (native DX9 on MESA)' ;;
+ "2") export PP_DEFAULT_VULKAN_USE='VULKAN (WINE DXGI)!VULKAN (DXVK and VKD3D)!OPENGL!GALLIUM_NINE (native DX9 on MESA)' ;;
+ "3") export PP_DEFAULT_VULKAN_USE='GALLIUM_NINE (native DX9 on MESA)!VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL' ;;
+ *) export PP_DEFAULT_VULKAN_USE='VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL!GALLIUM_NINE (native DX9 on MESA)' ;;
esac
- if [[ -n $(echo "${PW_WINE_USE}" | grep "^PROTON_STEAM$") ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_PROTON_STEAM_VER}!${PW_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
- elif [[ -n $(echo "${PW_WINE_USE}" | grep "^PROTON_GE$") ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_PROTON_GE_VER}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ if [[ -n $(echo "${PP_WINE_USE}" | grep "^PROTON_LG$") ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_PROTON_LG_VER}!${PP_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ elif [[ -n $(echo "${PP_WINE_USE}" | grep "^PROTON_GE$") ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_PROTON_GE_VER}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
else
- if [[ "${PW_WINE_USE}" == "${PW_PROTON_STEAM_VER}" ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
- elif [[ "${PW_WINE_USE}" == "${PW_PROTON_GE_VER}" ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ if [[ "${PP_WINE_USE}" == "${PP_PROTON_LG_VER}" ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ elif [[ "${PP_WINE_USE}" == "${PP_PROTON_GE_VER}" ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
else
- export DIST_ADD_TO_GUI=$(echo "${DIST_ADD_TO_GUI}" | sed -e s/"\!${PW_WINE_USE}$//g")
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_GE_VER}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ export DIST_ADD_TO_GUI=$(echo "${DIST_ADD_TO_GUI}" | sed -e s/"\!${PP_WINE_USE}$//g")
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_GE_VER}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
fi
fi
else
- export PW_DEFAULT_VULKAN_USE='VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL!GALLIUM_NINE (native DX9 on MESA)'
- if [[ -n $(echo "${PW_WINE_USE}" | grep "^PROTON_STEAM$") ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_PROTON_STEAM_VER}!${PW_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
- elif [[ -n $(echo "${PW_WINE_USE}" | grep "^PROTON_GE$") ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_PROTON_GE_VER}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ export PP_DEFAULT_VULKAN_USE='VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL!GALLIUM_NINE (native DX9 on MESA)'
+ if [[ -n $(echo "${PP_WINE_USE}" | grep "^PROTON_LG$") ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_PROTON_LG_VER}!${PP_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ elif [[ -n $(echo "${PP_WINE_USE}" | grep "^PROTON_GE$") ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_PROTON_GE_VER}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
else
- if [[ "${PW_WINE_USE}" == "${PW_PROTON_STEAM_VER}" ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
- elif [[ "${PW_WINE_USE}" == "${PW_PROTON_GE_VER}" ]] ; then
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ if [[ "${PP_WINE_USE}" == "${PP_PROTON_LG_VER}" ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_GE_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ elif [[ "${PP_WINE_USE}" == "${PP_PROTON_GE_VER}" ]] ; then
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
else
- export DIST_ADD_TO_GUI=$(echo "${DIST_ADD_TO_GUI}" | sed -e s/"\!${PW_WINE_USE}$//g")
- export PW_DEFAULT_WINE_USE="${PW_WINE_USE}!${PW_PROTON_GE_VER}!${PW_PROTON_STEAM_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
+ export DIST_ADD_TO_GUI=$(echo "${DIST_ADD_TO_GUI}" | sed -e s/"\!${PP_WINE_USE}$//g")
+ export PP_DEFAULT_WINE_USE="${PP_WINE_USE}!${PP_PROTON_GE_VER}!${PP_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE"
fi
fi
- unset PW_GUI_DISABLED_CS
+ unset PP_GUI_DISABLED_CS
fi
if [ -n "${portwine_exe}" ]; then
- if [[ -z "${PW_GUI_DISABLED_CS}" || "${PW_GUI_DISABLED_CS}" == 0 ]] ; then
- pw_create_gui_png
+ if [[ -z "${PP_GUI_DISABLED_CS}" || "${PP_GUI_DISABLED_CS}" == 0 ]] ; then
+ pp_create_gui_png
grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop
if [[ "$?" != "0" ]] ; then
- PW_SHORTCUT="CREATE SHORTCUT!!${loc_create_shortcut}:100"
+ PP_SHORTCUT="CREATE SHORTCUT!!${loc_create_shortcut}:100"
else
- PW_SHORTCUT="DELETE SHORTCUT!!${loc_delete_shortcut}:98"
+ PP_SHORTCUT="DELETE SHORTCUT!!${loc_delete_shortcut}:98"
fi
- OUTPUT_START=$("${pw_yad}" --text-align=center --text "$PW_COMMENT_DB" --wrap-width=150 --borders=7 --form --center \
- --title "${portname}-${install_ver} (${scripts_install_ver})" --image "${PW_ICON_FOR_YAD}" --separator=";" \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
- --field="3D API : :CB" "${PW_DEFAULT_VULKAN_USE}" \
- --field=" WINE : :CB" "${PW_DEFAULT_WINE_USE}" \
- --field="PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \
+ OUTPUT_START=$("${pp_yad}" --text-align=center --text "$PP_COMMENT_DB" --wrap-width=150 --borders=7 --form --center \
+ --title "${portname}-${install_ver} (${scripts_install_ver})" --image "${PP_ICON_FOR_YAD}" --separator=";" \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
+ --field="3D API : :CB" "${PP_DEFAULT_VULKAN_USE}" \
+ --field=" WINE : :CB" "${PP_DEFAULT_WINE_USE}" \
+ --field="PREFIX : :CBE" "${PP_ADD_PREFIXES_TO_GUI}" \
--field=":LBL" "" \
--button='VKBASALT'!!"${ENABLE_VKBASALT_INFO}":120 \
--button='EDIT DB'!!"${loc_edit_db} ${PORTWINE_DB}":118 \
- --button="${PW_SHORTCUT}" \
+ --button="${PP_SHORTCUT}" \
--button='DEBUG'!!"${loc_debug}":102 \
--button='LAUNCH'!!"${loc_launch}":106 )
- export PW_YAD_SET="$?"
- if [[ "$PW_YAD_SET" == "1" || "$PW_YAD_SET" == "252" ]] ; then exit 0 ; fi
+ export PP_YAD_SET="$?"
+ if [[ "$PP_YAD_SET" == "1" || "$PP_YAD_SET" == "252" ]] ; then exit 0 ; fi
export VULKAN_MOD=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $1}')
- export PW_WINE_VER=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $2}')
- export PW_PREFIX_NAME=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $3}' | sed -e s/[[:blank:]]/_/g)
- if [[ -z "${PW_PREFIX_NAME}" ]] || [[ -n "$(echo "${PW_PREFIX_NAME}" | grep -E '^_.*' )" ]] ; then
- export PW_PREFIX_NAME="DEFAULT"
+ export PP_WINE_VER=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $2}')
+ export PP_PREFIX_NAME=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $3}' | sed -e s/[[:blank:]]/_/g)
+ if [[ -z "${PP_PREFIX_NAME}" ]] || [[ -n "$(echo "${PP_PREFIX_NAME}" | grep -E '^_.*' )" ]] ; then
+ export PP_PREFIX_NAME="DEFAULT"
else
- export PW_PREFIX_NAME="${PW_PREFIX_NAME^^}"
+ export PP_PREFIX_NAME="${PP_PREFIX_NAME^^}"
fi
elif [ -n "${PORTWINE_DB_FILE}" ]; then
portwine_launch
@@ -552,8 +552,8 @@ else
gui_clear_pfx () {
if gui_question "${port_clear_pfx}" ; then
- pw_clear_pfx
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ pp_clear_pfx
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
}
@@ -571,15 +571,15 @@ else
}
export -f gui_rm_portproton
- gui_pw_update () {
+ gui_pp_update () {
try_remove_file "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
}
gui_wine_uninstaller () {
start_portwine
- pw_run uninstaller
+ pp_run uninstaller
}
export -f gui_wine_uninstaller
@@ -590,31 +590,31 @@ else
gui_open_scripts_from_backup () {
cd "${PORT_WINE_TMP_PATH}/scripts_backup/"
- PW_SCRIPT_FROM_BACKUP=$("${pw_yad_new}" --file --borders=5 --width=650 --height=500 --auto-close --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "SCRIPTS FROM BACKUP" --file-filter="backup_scripts|scripts_v*.tar.gz")
+ PP_SCRIPT_FROM_BACKUP=$("${pp_yad_new}" --file --borders=5 --width=650 --height=500 --auto-close --center \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --title "SCRIPTS FROM BACKUP" --file-filter="backup_scripts|scripts_v*.tar.gz")
YAD_STATUS="$?"
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then exit 0 ; fi
- unpack_tar_gz "$PW_SCRIPT_FROM_BACKUP" "${PORT_WINE_PATH}/data/"
+ unpack_tar_gz "$PP_SCRIPT_FROM_BACKUP" "${PORT_WINE_PATH}/data/"
echo "0" > "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
}
export -f gui_open_scripts_from_backup
export KEY=$RANDOM
- "${pw_yad_new}" --plug=${KEY} --tabnum=4 --columns=3 --align-buttons --form --separator=";" \
+ "${pp_yad_new}" --plug=${KEY} --tabnum=4 --columns=3 --align-buttons --form --separator=";" \
--field=" $loc_gui_rm_pp"!""!"":"FBTN" '@bash -c "button_click gui_rm_portproton"' \
- --field=" $loc_gui_upd_pp"!""!"":"FBTN" '@bash -c "button_click gui_pw_update"' \
+ --field=" $loc_gui_upd_pp"!""!"":"FBTN" '@bash -c "button_click gui_pp_update"' \
--field=" $loc_gui_changelog"!""!"":"FBTN" '@bash -c "button_click open_changelog"' \
--field=" $loc_gui_edit_usc"!""!"":"FBTN" '@bash -c "button_click gui_open_user_conf"' \
--field=" $loc_gui_scripts_fb"!""!"":"FBTN" '@bash -c "button_click gui_open_scripts_from_backup"' \
- --field=" Xterm"!""!"":"FBTN" '@bash -c "button_click pw_start_cont_xterm"' \
+ --field=" Xterm"!""!"":"FBTN" '@bash -c "button_click pp_start_cont_xterm"' \
--field=" $loc_gui_credits"!""!"":"FBTN" '@bash -c "button_click gui_credits"' &
- "${pw_yad_new}" --plug=${KEY} --tabnum=3 --columns=3 --align-buttons --form --separator=";" \
+ "${pp_yad_new}" --plug=${KEY} --tabnum=3 --columns=3 --align-buttons --form --separator=";" \
--field=" 3D API : :CB" "VULKAN (DXVK and VKD3D)!VULKAN (WINE DXGI)!OPENGL!GALLIUM_NINE (native DX9 on MESA)" \
- --field=" PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \
- --field=" WINE : :CB" "${PW_DEFAULT_WINE_USE}" \
+ --field=" PREFIX : :CBE" "${PP_ADD_PREFIXES_TO_GUI}" \
+ --field=" WINE : :CB" "${PP_DEFAULT_WINE_USE}" \
--field=" DOWNLOAD OTHER WINE "!"${loc_download_other_wine}":"FBTN" '@bash -c "button_click gui_proton_downloader"' \
--field=' WINECFG'!""!"${loc_winecfg}":"FBTN" '@bash -c "button_click WINECFG"' \
--field=' WINEFILE'!""!"${loc_winefile}":"FBTN" '@bash -c "button_click WINEFILE"' \
@@ -623,79 +623,79 @@ else
--field=' WINETRICKS'!""!"${loc_winetricks}":"FBTN" '@bash -c "button_click WINETRICKS"' \
--field=" WINE UNINSTALLER"!""!"":"FBTN" '@bash -c "button_click gui_wine_uninstaller"' \
--field=" CLEAR PREFIX"!""!"":"FBTN" '@bash -c "button_click gui_clear_pfx"' \
- --field=" CREATE PFX BACKUP"!""!"":"FBTN" '@bash -c "button_click pw_create_prefix_backup"' &> "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" &
+ --field=" CREATE PFX BACKUP"!""!"":"FBTN" '@bash -c "button_click pp_create_prefix_backup"' &> "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" &
- "${pw_yad_new}" --plug=$KEY --tabnum=2 --form --columns=3 --align-buttons --keep-icon-size --scroll \
- --field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"":"FBTN" '@bash -c "button_click PW_DOLPHIN"' \
- --field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"":"FBTN" '@bash -c "button_click PW_MAME"' \
- --field=" ScummVM"!"$PW_GUI_ICON_PATH/scummvm.png"!"":"FBTN" '@bash -c "button_click PW_SCUMMVM"' \
- --field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"":"FBTN" '@bash -c "button_click PW_RETROARCH"' \
- --field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"":"FBTN" '@bash -c "button_click PW_PPSSPP"' \
- --field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"":"FBTN" '@bash -c "button_click PW_CITRA"' \
- --field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"":"FBTN" '@bash -c "button_click PW_CEMU"' \
- --field=" DuckStation"!"$PW_GUI_ICON_PATH/duckstation.png"!"":"FBTN" '@bash -c "button_click PW_DUCKSTATION"' \
- --field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"":"FBTN" '@bash -c "button_click PW_EPSXE"' \
- --field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"":"FBTN" '@bash -c "button_click PW_PROJECT64"' \
- --field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"":"FBTN" '@bash -c "button_click PW_VBA-M"' \
- --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"":"FBTN" '@bash -c "button_click PW_YABAUSE"' &
+ "${pp_yad_new}" --plug=$KEY --tabnum=2 --form --columns=3 --align-buttons --keep-icon-size --scroll \
+ --field=" Dolphin 5.0"!"$PP_GUI_ICON_PATH/dolphin.png"!"":"FBTN" '@bash -c "button_click PP_DOLPHIN"' \
+ --field=" MAME"!"$PP_GUI_ICON_PATH/mame.png"!"":"FBTN" '@bash -c "button_click PP_MAME"' \
+ --field=" ScummVM"!"$PP_GUI_ICON_PATH/scummvm.png"!"":"FBTN" '@bash -c "button_click PP_SCUMMVM"' \
+ --field=" RetroArch"!"$PP_GUI_ICON_PATH/retroarch.png"!"":"FBTN" '@bash -c "button_click PP_RETROARCH"' \
+ --field=" PPSSPP Windows"!"$PP_GUI_ICON_PATH/ppsspp.png"!"":"FBTN" '@bash -c "button_click PP_PPSSPP"' \
+ --field=" Citra"!"$PP_GUI_ICON_PATH/citra.png"!"":"FBTN" '@bash -c "button_click PP_CITRA"' \
+ --field=" Cemu"!"$PP_GUI_ICON_PATH/cemu.png"!"":"FBTN" '@bash -c "button_click PP_CEMU"' \
+ --field=" DuckStation"!"$PP_GUI_ICON_PATH/duckstation.png"!"":"FBTN" '@bash -c "button_click PP_DUCKSTATION"' \
+ --field=" ePSXe"!"$PP_GUI_ICON_PATH/epsxe.png"!"":"FBTN" '@bash -c "button_click PP_EPSXE"' \
+ --field=" Project64"!"$PP_GUI_ICON_PATH/project64.png"!"":"FBTN" '@bash -c "button_click PP_PROJECT64"' \
+ --field=" VBA-M"!"$PP_GUI_ICON_PATH/vba-m.png"!"":"FBTN" '@bash -c "button_click PP_VBA-M"' \
+ --field=" Yabause"!"$PP_GUI_ICON_PATH/yabause.png"!"":"FBTN" '@bash -c "button_click PP_YABAUSE"' &
- "${pw_yad_new}" --plug=$KEY --tabnum=1 --form --columns=3 --align-buttons --keep-icon-size --scroll \
- --field=" Wargaming Game Center"!"$PW_GUI_ICON_PATH/wgc.png"!"":"FBTN" '@bash -c "button_click PW_WGC"' \
- --field=" Battle.net Launcher"!"$PW_GUI_ICON_PATH/battle_net.png"!"":"FBTN" '@bash -c "button_click PW_BATTLE_NET"' \
- --field=" Epic Games Launcher"!"$PW_GUI_ICON_PATH/epicgames.png"!"":"FBTN" '@bash -c "button_click PW_EPIC"' \
- --field=" GoG Galaxy Launcher"!"$PW_GUI_ICON_PATH/gog.png"!"":"FBTN" '@bash -c "button_click PW_GOG"' \
- --field=" Ubisoft Game Launcher"!"$PW_GUI_ICON_PATH/ubc.png"!"":"FBTN" '@bash -c "button_click PW_UBC"' \
- --field=" EVE Online Launcher"!"$PW_GUI_ICON_PATH/eve.png"!"":"FBTN" '@bash -c "button_click PW_EVE"' \
- --field=" Origin Launcher"!"$PW_GUI_ICON_PATH/origin.png"!"":"FBTN" '@bash -c "button_click PW_ORIGIN"' \
- --field=" Rockstar Games Launcher"!"$PW_GUI_ICON_PATH/Rockstar.png"!"":"FBTN" '@bash -c "button_click PW_ROCKSTAR"' \
- --field=" My.Games Launcher"!"$PW_GUI_ICON_PATH/mygames.png"!"":"FBTN" '@bash -c "button_click PW_MYGAMES"' \
- --field=" Ankama Launcher"!"$PW_GUI_ICON_PATH/ankama.png"!"":"FBTN" '@bash -c "button_click PW_ANKAMA"' \
- --field=" OSU"!"$PW_GUI_ICON_PATH/osu.png"!"":"FBTN" '@bash -c "button_click PW_OSU"' \
- --field=" League of Legends"!"$PW_GUI_ICON_PATH/lol.png"!"":"FBTN" '@bash -c "button_click PW_LOL"' \
- --field=" Gameforge Client"!"$PW_GUI_ICON_PATH/gameforge.png"!"":"FBTN" '@bash -c "button_click PW_GAMEFORGE"' \
- --field=" World of Sea Battle (BETA)"!"$PW_GUI_ICON_PATH/wosb.png"!"":"FBTN" '@bash -c "button_click PW_WOSB"' \
- --field=" ITCH.IO"!"$PW_GUI_ICON_PATH/itch.png"!"":"FBTN" '@bash -c "button_click PW_ITCH"' &
+ "${pp_yad_new}" --plug=$KEY --tabnum=1 --form --columns=3 --align-buttons --keep-icon-size --scroll \
+ --field=" Wargaming Game Center"!"$PP_GUI_ICON_PATH/wgc.png"!"":"FBTN" '@bash -c "button_click PP_WGC"' \
+ --field=" Battle.net Launcher"!"$PP_GUI_ICON_PATH/battle_net.png"!"":"FBTN" '@bash -c "button_click PP_BATTLE_NET"' \
+ --field=" Epic Games Launcher"!"$PP_GUI_ICON_PATH/epicgames.png"!"":"FBTN" '@bash -c "button_click PP_EPIC"' \
+ --field=" GoG Galaxy Launcher"!"$PP_GUI_ICON_PATH/gog.png"!"":"FBTN" '@bash -c "button_click PP_GOG"' \
+ --field=" Ubisoft Game Launcher"!"$PP_GUI_ICON_PATH/ubc.png"!"":"FBTN" '@bash -c "button_click PP_UBC"' \
+ --field=" EVE Online Launcher"!"$PP_GUI_ICON_PATH/eve.png"!"":"FBTN" '@bash -c "button_click PP_EVE"' \
+ --field=" Origin Launcher"!"$PP_GUI_ICON_PATH/origin.png"!"":"FBTN" '@bash -c "button_click PP_ORIGIN"' \
+ --field=" Rockstar Games Launcher"!"$PP_GUI_ICON_PATH/Rockstar.png"!"":"FBTN" '@bash -c "button_click PP_ROCKSTAR"' \
+ --field=" My.Games Launcher"!"$PP_GUI_ICON_PATH/mygames.png"!"":"FBTN" '@bash -c "button_click PP_MYGAMES"' \
+ --field=" Ankama Launcher"!"$PP_GUI_ICON_PATH/ankama.png"!"":"FBTN" '@bash -c "button_click PP_ANKAMA"' \
+ --field=" OSU"!"$PP_GUI_ICON_PATH/osu.png"!"":"FBTN" '@bash -c "button_click PP_OSU"' \
+ --field=" League of Legends"!"$PP_GUI_ICON_PATH/lol.png"!"":"FBTN" '@bash -c "button_click PP_LOL"' \
+ --field=" Gameforge Client"!"$PP_GUI_ICON_PATH/gameforge.png"!"":"FBTN" '@bash -c "button_click PP_GAMEFORGE"' \
+ --field=" World of Sea Battle (BETA)"!"$PP_GUI_ICON_PATH/wosb.png"!"":"FBTN" '@bash -c "button_click PP_WOSB"' \
+ --field=" ITCH.IO"!"$PP_GUI_ICON_PATH/itch.png"!"":"FBTN" '@bash -c "button_click PP_ITCH"' &
- # --field=" Steam Client Launcher"!"$PW_GUI_ICON_PATH/steam.png"!"":"FBTN" '@bash -c "button_click PW_STEAM"'
- # --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"'
+ # --field=" Steam Client Launcher"!"$PP_GUI_ICON_PATH/steam.png"!"":"FBTN" '@bash -c "button_click PP_STEAM"'
+ # --field=" Bethesda.net Launcher"!"$PP_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PP_BETHESDA"'
- "${pw_yad_new}" --key=$KEY --notebook --borders=5 --width=900 --height=235 --no-buttons --auto-close --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "${portname}-${install_ver} (${scripts_install_ver})" \
+ "${pp_yad_new}" --key=$KEY --notebook --borders=5 --width=900 --height=235 --no-buttons --auto-close --center \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --title "${portname}-${install_ver} (${scripts_install_ver})" \
--tab-pos=bottom --tab=" $loc_mg_autoinstall"!""!"" --tab=" $loc_mg_emulators"!""!"" --tab=" $loc_mg_wine_settings"!""!"" --tab=" $loc_mg_portproton_settings"!""!""
YAD_STATUS="$?"
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then exit 0 ; fi
if [[ -f "${PORT_WINE_TMP_PATH}/tmp_yad_form" ]]; then
- export PW_YAD_SET=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form" | head -n 1 | awk '{print $1}')
+ export PP_YAD_SET=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form" | head -n 1 | awk '{print $1}')
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_yad_form"
fi
if [[ -f "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" ]] ; then
export VULKAN_MOD=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" | grep \;\; | awk -F";" '{print $1}')
- export PW_PREFIX_NAME=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" | grep \;\; | awk -F";" '{print $2}' | sed -e "s/[[:blank:]]/_/g" )
- export PW_WINE_VER=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" | grep \;\; | awk -F";" '{print $3}')
- if [[ -z "${PW_PREFIX_NAME}" ]] || [[ -n "$(echo "${PW_PREFIX_NAME}" | grep -E '^_.*' )" ]] ; then
- export PW_PREFIX_NAME="DEFAULT"
+ export PP_PREFIX_NAME=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" | grep \;\; | awk -F";" '{print $2}' | sed -e "s/[[:blank:]]/_/g" )
+ export PP_WINE_VER=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" | grep \;\; | awk -F";" '{print $3}')
+ if [[ -z "${PP_PREFIX_NAME}" ]] || [[ -n "$(echo "${PP_PREFIX_NAME}" | grep -E '^_.*' )" ]] ; then
+ export PP_PREFIX_NAME="DEFAULT"
else
- export PW_PREFIX_NAME="${PW_PREFIX_NAME^^}"
+ export PP_PREFIX_NAME="${PP_PREFIX_NAME^^}"
fi
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan"
fi
- export PW_DISABLED_CREATE_DB=1
+ export PP_DISABLED_CREATE_DB=1
fi
if [[ -n "${VULKAN_MOD}" && "${VULKAN_MOD}" = "OPENGL" ]]
-then export PW_VULKAN_USE="0"
+then export PP_VULKAN_USE="0"
elif [[ -n "${VULKAN_MOD}" && "${VULKAN_MOD}" = "VULKAN (DXVK and VKD3D)" ]]
-then export PW_VULKAN_USE="1"
+then export PP_VULKAN_USE="1"
elif [[ -n "${VULKAN_MOD}" && "${VULKAN_MOD}" = "VULKAN (WINE DXGI)" ]]
-then export PW_VULKAN_USE="2"
+then export PP_VULKAN_USE="2"
elif [[ -n "${VULKAN_MOD}" && "${VULKAN_MOD}" = "GALLIUM_NINE (native DX9 on MESA)" ]]
-then export PW_VULKAN_USE="3"
+then export PP_VULKAN_USE="3"
fi
init_wine_ver
-if [[ -z "${PW_DISABLED_CREATE_DB}" ]] ; then
+if [[ -z "${PP_DISABLED_CREATE_DB}" ]] ; then
if [[ -n "${PORTWINE_DB}" ]] && [[ -z "${PORTWINE_DB_FILE}" ]] ; then
PORTWINE_DB_FILE=$(grep -il "\#${PORTWINE_DB}.exe" "${PORT_SCRIPTS_PATH}/portwine_db"/*)
if [[ -z "${PORTWINE_DB_FILE}" ]] ; then
@@ -707,34 +707,34 @@ if [[ -z "${PW_DISABLED_CREATE_DB}" ]] ; then
export PORTWINE_DB_FILE="${portwine_exe}".ppdb
fi
fi
- edit_db_from_gui PW_VULKAN_USE PW_WINE_USE PW_PREFIX_NAME
+ edit_db_from_gui PP_VULKAN_USE PP_WINE_USE PP_PREFIX_NAME
fi
-case "$PW_YAD_SET" in
+case "$PP_YAD_SET" in
1|252) exit 0 ;;
98) portwine_delete_shortcut ;;
100) portwine_create_shortcut ;;
DEBUG|102) portwine_start_debug ;;
106) portwine_launch ;;
- WINECFG|108) pw_winecfg ;;
- WINEFILE|110) pw_winefile ;;
- WINECMD|112) pw_winecmd ;;
- WINEREG|114) pw_winereg ;;
- WINETRICKS|116) pw_prefix_manager ;;
- 118) pw_edit_db ;;
+ WINECFG|108) pp_winecfg ;;
+ WINEFILE|110) pp_winefile ;;
+ WINECMD|112) pp_winecmd ;;
+ WINEREG|114) pp_winereg ;;
+ WINETRICKS|116) pp_prefix_manager ;;
+ 118) pp_edit_db ;;
gui_clear_pfx) gui_clear_pfx ;;
gui_open_user_conf) gui_open_user_conf ;;
gui_wine_uninstaller) gui_wine_uninstaller ;;
gui_rm_portproton) gui_rm_portproton ;;
- gui_pw_update) gui_pw_update ;;
+ gui_pp_update) gui_pp_update ;;
gui_proton_downloader) gui_proton_downloader ;;
gui_open_scripts_from_backup) gui_open_scripts_from_backup ;;
open_changelog) open_changelog ;;
120) gui_vkBasalt ;;
- pw_create_prefix_backup) pw_create_prefix_backup ;;
+ pp_create_prefix_backup) pp_create_prefix_backup ;;
gui_credits) gui_credits ;;
- pw_start_cont_xterm) pw_start_cont_xterm ;;
- PW_*) pw_autoinstall_from_db ;;
+ pp_start_cont_xterm) pp_start_cont_xterm ;;
+ PP_*) pp_autoinstall_from_db ;;
esac
stop_portwine
diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var
index 85e2da05..cc06f981 100755
--- a/data_from_portwine/scripts/var
+++ b/data_from_portwine/scripts/var
@@ -1,64 +1,59 @@
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
-#SCRIPTS_NEXT_VERSION=2129
+#SCRIPTS_NEXT_VERSION=2130
########################################################################
-export PW_MANGOHUD=0
+export PP_MANGOHUD=0
export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt
#export DXVK_HUD=compiler
#export GALLIUM_HUD=fps
#export ENABLE_VKBASALT=1
-#export PW_VIRTUAL_DESKTOP=1
-#export PW_XKBD_RU_HACK=1
-export PW_RT_MOUNT_RO=("")
-export PW_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}" "${PORT_WINE_PATH}")
-#export PW_SANDBOX_HOME_PATH="${PORT_WINE_PATH}"
-export PW_NO_ESYNC="1"
-export PW_USE_GAMEMODE="1"
-export PW_FORCE_USE_VSYNC="2"
-export PW_LOG="0"
-export PW_TERM=""
-export PW_USE_TERMINAL="0"
-export PW_WINEDBG_DISABLE="1"
-export PW_WINDOWS_VER="10"
+#export PP_VIRTUAL_DESKTOP=1
+#export PP_XKBD_RU_HACK=1
+export PP_RT_MOUNT_RO=("")
+export PP_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}" "${PORT_WINE_PATH}")
+#export PP_SANDBOX_HOME_PATH="${PORT_WINE_PATH}"
+export PP_NO_ESYNC="1"
+export PP_USE_GAMEMODE="1"
+export PP_FORCE_USE_VSYNC="2"
+export PP_LOG="0"
+export PP_TERM=""
+export PP_USE_TERMINAL="0"
+export PP_WINEDBG_DISABLE="1"
+export PP_WINDOWS_VER="10"
export WINEARCH="win64"
-export PW_LIBS_VER="_v32"
-export PORTWINE_URL="https://linux-gaming.ru/"
+export PP_LIBS_VER="_v32"
+export LG_SITE_URL="https://linux-gaming.ru/"
export GDK_BACKEND="x11"
-export PW_USE_GSTREAMER="1"
-export PW_USE_D3D_EXTRAS="1"
-export PW_PREFIX_NAME="DEFAULT"
+export PP_USE_GSTREAMER="1"
+export PP_USE_D3D_EXTRAS="1"
+export PP_PREFIX_NAME="DEFAULT"
export WINE_WIN_START="start.exe /i /unix"
-export PW_USE_SHADER_CACHE="1"
+export PP_USE_SHADER_CACHE="1"
export STAGING_SHARED_MEMORY="1"
-export PW_FORCE_LARGE_ADDRESS_AWARE="1"
+export PP_FORCE_LARGE_ADDRESS_AWARE="1"
###DEFAULT_WINE###
-export PW_WINE_USE="PROTON_GE"
-export PW_PLUGINS_VER="_v7"
-export PW_FAKE_DLSS_VER="2.1-3001-0-7-5-1662667880"
-###WINE_PROTON_STEAM###
-export PW_STEAM_VER="7.0-4"
-export PW_PROTON_STEAM_VER="PROTON_STEAM_${PW_STEAM_VER}"
+export PP_WINE_USE="PROTON_LG"
+export PP_PLUGINS_VER="_v7"
+export PP_FAKE_DLSS_VER="2.1-3001-0-7-5-1662667880"
+###WINE_PROTON_LG###
+export PP_LG_VER="7-29"
+export PP_PROTON_LG_VER="PROTON_LG_${PP_LG_VER}"
###WINE_PROTON_GE###
-export PW_GE_VER="7-33"
-export PW_PROTON_GE_VER="PROTON_GE_${PW_GE_VER}"
-export PW_WINE_FULLSCREEN_FSR="0"
-###WINE_PROTON_PW_FOR_GALLIUM_NINE###
-# export PW_PW_VER="7-26"
-export PW_PROTON_PW_VER="${PW_PROTON_GE_VER}"
-###WINE_KRON4EK###
-export PW_WINE_KRON4EK_VER="WINE-7.13-STAGING-TKG-AMD64"
+export PP_GE_VER="7-33"
+export PP_PROTON_GE_VER="PROTON_GE_${PP_GE_VER}"
+export PP_WINE_FULLSCREEN_FSR="0"
###PREFIX_VERSION###
export DOTPFX_VER="48v1"
export DEFPFX_VER="v1"
#################################################################
export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk.conf"
#################################################################
-pw_install_dll_in_prefix ()
+pp_install_dll_in_prefix ()
{
- case $PW_PREFIX_NAME in
- DEFAULT) export PW_MUST_HAVE_DLL="physx mfc42 vcrun2019" ;;
- DOTNET) export PW_MUST_HAVE_DLL="physx mfc42 vcrun2019 faudio dotnet48" ;;
- *) export PW_MUST_HAVE_DLL="" ;;
+ case $PP_PREFIX_NAME in
+ DEFAULT) export PP_MUST_HAVE_DLL="physx mfc42 vcrun2019" ;;
+ DOTNET) export PP_MUST_HAVE_DLL="physx mfc42 vcrun2019 faudio dotnet48" ;;
+ *) export PP_MUST_HAVE_DLL="" ;;
esac
}
########################################################################
@@ -72,23 +67,23 @@ add_in_stop_portwine ()
echo " "
}
########################################################################
-pw_other_fixes () {
- if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" ]] ; then
+pp_other_fixes () {
+ if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" ]] ; then
#fix after installation Origin, for disabled OriginWebHelperService by default
- if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "Origin.exe" | awk '{print $1}'` ]] ; then
- sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep OriginWebHelperService | awk '{print $1}'` + 3)))
- sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
+ if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" | grep -wm 1 "Origin.exe" | awk '{print $1}'` ]] ; then
+ sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" | grep OriginWebHelperService | awk '{print $1}'` + 3)))
+ sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg"
fi
#fix after installation PnkBstr*, for disabled PnkBstr* by default
for fix_reg in "PnkBstrA.exe" "PnkBstrB.exe" ; do
- if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "${fix_reg}" | awk '{print $1}'` ]] ; then
- sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep "${fix_reg}" | awk '{print $1}'` + 3)))
- sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
+ if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" | grep -wm 1 "${fix_reg}" | awk '{print $1}'` ]] ; then
+ sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg" | grep "${fix_reg}" | awk '{print $1}'` + 3)))
+ sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/system.reg"
fi
done
fi
#disabled silent autostart steam
- if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg" ]] ; then
- sed -i '/steam.exe\\" -silent"/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
+ if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/user.reg" ]] ; then
+ sed -i '/steam.exe\\" -silent"/d' "${PORT_WINE_PATH}/data/prefixes/${PP_PREFIX_NAME}/user.reg"
fi
}
diff --git a/data_from_portwine/scripts/zen_yad_gui b/data_from_portwine/scripts/zen_yad_gui
index 2cfbe6aa..8c20f01e 100644
--- a/data_from_portwine/scripts/zen_yad_gui
+++ b/data_from_portwine/scripts/zen_yad_gui
@@ -32,24 +32,24 @@ gui_question () {
}
-pw_start_progress_bar_cover () {
- PW_GIF_FILE="$1"
- PW_GIF_SIZE_X=`file "${PW_GIF_FILE}" | awk '{print $7 + 20}'`
- PW_GIF_SIZE_Y=`file "${PW_GIF_FILE}" | awk '{print $9 + 20}'`
- "${pw_yad}" --picture --filename="${PW_GIF_FILE}" --close-on-unfocus --no-buttons --undecorated --center \
- --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y > /dev/null 2>&1 &
- export PW_YAD_PID_PROGRESS_BAR_COVER="$!"
+pp_start_progress_bar_cover () {
+ PP_GIF_FILE="$1"
+ PP_GIF_SIZE_X=`file "${PP_GIF_FILE}" | awk '{print $7 + 20}'`
+ PP_GIF_SIZE_Y=`file "${PP_GIF_FILE}" | awk '{print $9 + 20}'`
+ "${pp_yad}" --picture --filename="${PP_GIF_FILE}" --close-on-unfocus --no-buttons --undecorated --center \
+ --skip-taskbar --width=$PP_GIF_SIZE_X --height=$PP_GIF_SIZE_Y > /dev/null 2>&1 &
+ export PP_YAD_PID_PROGRESS_BAR_COVER="$!"
return 0
}
-pw_update_pfx_cover_gui () {
- PW_KEY_PROGRESS_BAR=$RANDOM
- PW_GIF_FILE="${PW_GUI_ICON_PATH}/covers/pw_update_pfx_cover.gif"
- PW_GIF_SIZE_X=`file "${PW_GIF_FILE}" | awk '{print $7 + 40}'`
- PW_GIF_SIZE_Y=`file "${PW_GIF_FILE}" | awk '{print $9 + 80}'`
+pp_update_pfx_cover_gui () {
+ PP_KEY_PROGRESS_BAR=$RANDOM
+ PP_GIF_FILE="${PP_GUI_ICON_PATH}/covers/pp_update_pfx_cover.gif"
+ PP_GIF_SIZE_X=`file "${PP_GIF_FILE}" | awk '{print $7 + 40}'`
+ PP_GIF_SIZE_Y=`file "${PP_GIF_FILE}" | awk '{print $9 + 80}'`
echo "UPDATE PREFIX..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
- unset PW_TIMER
- while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --notebook --key="$PW_KEY_PROGRESS_BAR"" | awk '{print $1}'` ]] ; do
+ unset PP_TIMER
+ while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --notebook --key="$PP_KEY_PROGRESS_BAR"" | awk '{print $1}'` ]] ; do
sleep 0.005
if [[ ! -z "${line}" ]] && [[ -z "`echo "${line}" | grep -i "gstreamer"`" ]] \
&& [[ -z "`echo "${line}" | grep -i "kerberos"`" ]] \
@@ -57,57 +57,57 @@ pw_update_pfx_cover_gui () {
then
echo "# ${line}"
fi
- if [[ "${PW_TIMER}" != 1 ]] ; then
+ if [[ "${PP_TIMER}" != 1 ]] ; then
sleep 3
- PW_TIMER=1
+ PP_TIMER=1
fi
- done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="2" --text-info --tail &
- "${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="1" --picture --filename="${PW_GIF_FILE}" --image-on-top &
+ done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pp_yad_new}" --plug=$PP_KEY_PROGRESS_BAR --tabnum="2" --text-info --tail &
+ "${pp_yad_new}" --plug=$PP_KEY_PROGRESS_BAR --tabnum="1" --picture --filename="${PP_GIF_FILE}" --image-on-top &
- "${pw_yad_new}" --notebook --key="$PW_KEY_PROGRESS_BAR" --tab=LOGO --tab=TERMINAL --no-buttons --undecorated \
- --center --auto-close --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y --tab-pos=bottom &
- export PW_YAD_PID_PFX_COVER_UI="$!"
+ "${pp_yad_new}" --notebook --key="$PP_KEY_PROGRESS_BAR" --tab=LOGO --tab=TERMINAL --no-buttons --undecorated \
+ --center --auto-close --skip-taskbar --width=$PP_GIF_SIZE_X --height=$PP_GIF_SIZE_Y --tab-pos=bottom &
+ export PP_YAD_PID_PFX_COVER_UI="$!"
return 0
}
-pw_start_progress_bar_cs () {
- "${pw_yad}" --progress --progress-text="$@" --pulsate --close-on-unfocus \
+pp_start_progress_bar_cs () {
+ "${pp_yad}" --progress --progress-text="$@" --pulsate --close-on-unfocus \
--no-buttons --undecorated --center --skip-taskbar --width=500 --wrap-width=500 > /dev/null 2>&1 &
- export PW_YAD_PID_PROGRESS_BAR_CS="$!"
+ export PP_YAD_PID_PROGRESS_BAR_CS="$!"
return 0
}
-pw_start_progress_bar_block () {
- "${pw_yad}" --progress --progress-text="$@" --pulsate \
+pp_start_progress_bar_block () {
+ "${pp_yad}" --progress --progress-text="$@" --pulsate \
--no-buttons --undecorated --center --skip-taskbar --width=500 --wrap-width=500 > /dev/null 2>&1 &
- export PW_YAD_PID_PROGRESS_BAR_BLOCK="$!"
+ export PP_YAD_PID_PROGRESS_BAR_BLOCK="$!"
return 0
}
-pw_stop_progress_bar () {
- for PW_KILL_YAD_PID in "$PW_YAD_PID_PROGRESS_BAR_BLOCK" "$PW_YAD_PID_PROGRESS_BAR_CS" \
- "$PW_YAD_PID_PFX_COVER_UI" "$PW_YAD_PID_PROGRESS_BAR_COVER"
+pp_stop_progress_bar () {
+ for PP_KILL_YAD_PID in "$PP_YAD_PID_PROGRESS_BAR_BLOCK" "$PP_YAD_PID_PROGRESS_BAR_CS" \
+ "$PP_YAD_PID_PFX_COVER_UI" "$PP_YAD_PID_PROGRESS_BAR_COVER"
do
- kill -s SIGUSR1 "$PW_KILL_YAD_PID" > /dev/null 2>&1
+ kill -s SIGUSR1 "$PP_KILL_YAD_PID" > /dev/null 2>&1
done
return 0
}
-export -f pw_stop_progress_bar
+export -f pp_stop_progress_bar
-pw_stop_progress_bar_cover () {
- kill -s KILL "$PW_YAD_PID_PROGRESS_BAR_COVER" > /dev/null 2>&1
+pp_stop_progress_bar_cover () {
+ kill -s KILL "$PP_YAD_PID_PROGRESS_BAR_COVER" > /dev/null 2>&1
return 0
}
-export -f pw_stop_progress_bar_cover
+export -f pp_stop_progress_bar_cover
open_changelog () {
- "${pw_yad}" --title="Changelog" --borders=10 --no-buttons --text-align=center \
+ "${pp_yad}" --title="Changelog" --borders=10 --no-buttons --text-align=center \
--text-info --show-uri --wrap --center --width=1200 --height=550 --uri-color=red \
- --filename="${PORT_WINE_PATH}/data/${PW_CHANGELOG_FILE}"
+ --filename="${PORT_WINE_PATH}/data/${PP_CHANGELOG_FILE}"
}
export -f open_changelog
-pw_tray_icon () {
+pp_tray_icon () {
if [ ! -z "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`" ] ; then
kill -s SIGUSR1 "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`"
fi
@@ -117,37 +117,37 @@ pw_tray_icon () {
}
export -f tray_icon_click
- pw_tray_winefile () {
- pw_run winefile "C:\\users\\${USER}\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\"
+ pp_tray_winefile () {
+ pp_run winefile "C:\\users\\${USER}\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\"
}
- export -f pw_tray_winefile
+ export -f pp_tray_winefile
- pw_tray_taskmgr () {
- pw_run taskmgr
+ pp_tray_taskmgr () {
+ pp_run taskmgr
}
- export -f pw_tray_taskmgr
+ export -f pp_tray_taskmgr
tray_icon_click_exit () {
- pw_stop_progress_bar
+ pp_stop_progress_bar
stop_portwine
}
export -f tray_icon_click_exit
- "${pw_yad_new}" --notification --no-middle \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
- --image="$PW_GUI_ICON_PATH/port_proton.png" \
+ "${pp_yad_new}" --notification --no-middle \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
+ --image="$PP_GUI_ICON_PATH/port_proton.png" \
--command="bash -c tray_icon_click" \
--tooltip="PortProton" \
--menu="| \
- ${loc_tray_winefile}!bash -c pw_tray_winefile!"$PW_GUI_ICON_PATH/port_winefile.png"|| \
- ${loc_tray_tascmng}!bash -c pw_tray_taskmgr!"$PW_GUI_ICON_PATH/port_winefile.png"|| \
- ${loc_tray_cangelog}!bash -c open_changelog!"$PW_GUI_ICON_PATH/port_changelog.png"|| \
- ${loc_tray_force_exit} !bash -c tray_icon_click_exit!"$PW_GUI_ICON_PATH/port_exit.png"||" &
+ ${loc_tray_winefile}!bash -c pp_tray_winefile!"$PP_GUI_ICON_PATH/port_winefile.png"|| \
+ ${loc_tray_tascmng}!bash -c pp_tray_taskmgr!"$PP_GUI_ICON_PATH/port_winefile.png"|| \
+ ${loc_tray_cangelog}!bash -c open_changelog!"$PP_GUI_ICON_PATH/port_changelog.png"|| \
+ ${loc_tray_force_exit} !bash -c tray_icon_click_exit!"$PP_GUI_ICON_PATH/port_exit.png"||" &
return 0
}
-pw_gui_for_edit_db () {
+pp_gui_for_edit_db () {
KEY_EDIT_DB_GUI=$RANDOM
if [[ -n "`echo "${MANGOHUD_CONFIG}" | grep "fps_limit"`" ]] ; then
FPS_LIMIT_VAR="`echo ${MANGOHUD_CONFIG} | sed 's/.*fps_limit=//g' | awk -F, '{print $1}'`"
@@ -163,37 +163,37 @@ pw_gui_for_edit_db () {
else export ${int_to_boole}="FALSE"
fi
TMP_HELP_FOR_GUI="${int_to_boole}_INFO"
- int_to_boole_non_pw="`echo ${int_to_boole} | sed 's/^PW_//' `"
+ int_to_boole_non_pw="`echo ${int_to_boole} | sed 's/^PP_//' `"
ADD_CHK_BOX_EDIT_DB+="--field= ${int_to_boole_non_pw} !${!TMP_HELP_FOR_GUI}:CHK%${!int_to_boole}%"
done
}
edit_db_field_add $@
old_IFS=$IFS
IFS="%"
- "${pw_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="1" --form --separator=" " --columns=4 ${ADD_CHK_BOX_EDIT_DB} \
+ "${pp_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="1" --form --separator=" " --columns=4 ${ADD_CHK_BOX_EDIT_DB} \
1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_edit_db" &
IFS=$old_IFS
- case ${PW_WINDOWS_VER} in
+ case ${PP_WINDOWS_VER} in
"7") ADD_WINVER_EDIT_DB="7!10!XP" ;;
"XP") ADD_WINVER_EDIT_DB="XP!7!10" ;;
*) ADD_WINVER_EDIT_DB="10!7!XP" ;;
esac
- "${pw_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="2" --form --separator="%" --columns=1 \
+ "${pp_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="2" --form --separator="%" --columns=1 \
--field="SELECT VERSION OF WINDOWS::CB" "${ADD_WINVER_EDIT_DB}" \
- --field="AUTOINSTALL WITH WINETRICKS::CBE" "${PW_DLL_INSTALL}!vcrun2019 corefonts lucida" \
+ --field="AUTOINSTALL WITH WINETRICKS::CBE" "${PP_DLL_INSTALL}!vcrun2019 corefonts lucida" \
--field="WINEDLLOVERRIDES::CBE" "${WINEDLLOVERRIDES}!d3dx9_36,d3dx9_42=n,b;mfc120=b,n" \
--field=":LBL" "" \
--field="ADD ARGUMENTS FOR .EXE FILE::CBE" "\\${LAUNCH_PARAMETERS[@]}!-dx11 -skipintro 1" \
--field=":LBL" "" \
--field="MANGOHUD FPS LIMIT (0-disabled):SCL" ${FPS_LIMIT_VAR} 2>/dev/null 1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" &
- "${pw_yad_new}" --paned --key="$KEY_EDIT_DB_GUI" --title "EDIT_DB" --text-align=center --height="550" \
+ "${pp_yad_new}" --paned --key="$KEY_EDIT_DB_GUI" --title "EDIT_DB" --text-align=center --height="550" \
--text "Change settings in database file for ${PORTWINE_DB}\n" --separator=" " --borders=10 --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --button="CANCEL":1 --button="OPEN DB FILE":150 --button="SAVE CHANGES":0
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --button="CANCEL":1 --button="OPEN DB FILE":150 --button="SAVE CHANGES":0
YAD_STATUS="$?"
case "$YAD_STATUS" in
- 1) /usr/bin/env bash -c ${pw_full_command_line[*]} & exit 0 ;;
+ 1) /usr/bin/env bash -c ${pp_full_command_line[*]} & exit 0 ;;
150) xdg-open "${PORTWINE_DB_FILE}" & exit 0 ;;
252) exit 0 ;;
esac
@@ -210,24 +210,24 @@ pw_gui_for_edit_db () {
done
}
edit_db_field_read $@
- PW_WINDOWS_VER="`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $1}'`"
- PW_DLL_INSTALL=`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $2}'`
+ PP_WINDOWS_VER="`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $1}'`"
+ PP_DLL_INSTALL=`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $2}'`
WINEDLLOVERRIDES=`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $3}'`
LAUNCH_PARAMETERS=`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $5}'`
FPS_LIMIT="`cat "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" | awk -F"%" '{print $7}'`"
if [ "${FPS_LIMIT}" != 0 ] ; then
export MANGOHUD_CONFIG=${MANGOHUD_CONFIG},fps_limit=${FPS_LIMIT}
- export PW_MANGOHUD=1
+ export PP_MANGOHUD=1
fi
- echo "pw_gui_for_edit_db PORTWINE_DB_FILE=$PORTWINE_DB_FILE"
- edit_db_from_gui $@ MANGOHUD_CONFIG LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL WINEDLLOVERRIDES
+ echo "pp_gui_for_edit_db PORTWINE_DB_FILE=$PORTWINE_DB_FILE"
+ edit_db_from_gui $@ MANGOHUD_CONFIG LAUNCH_PARAMETERS PP_WINDOWS_VER PP_DLL_INSTALL WINEDLLOVERRIDES
return 0
}
gui_proton_downloader () {
- pw_start_progress_bar_block "Check new version WINE from GitHub"
+ pp_start_progress_bar_block "Check new version WINE from GitHub"
#PROTON_GE
export PROTON_GE_GIT=($(curl -s "https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases" | grep "browser_download_url.*\.tar\.gz" | cut -d \" -f 4))
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git"
@@ -251,54 +251,54 @@ gui_proton_downloader () {
fi
#PROTON_PW
- export PROTON_PW_GIT=($(curl -s "https://api.github.com/repos/Castro-Fidel/wine_builds/releases" | grep "browser_download_url.*\.tar\.xz" | cut -d \" -f 4))
- try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
- if [[ ! -z "${PROTON_PW_GIT}" ]] ; then
- for PPWGIT in ${PROTON_PW_GIT[@]} ; do
- echo ${PPWGIT} | awk -F/ '{print $NF}' | sed 's/.tar.xz//' >> "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
+ export PROTON_PP_GIT=($(curl -s "https://api.github.com/repos/Castro-Fidel/wine_builds/releases" | grep "browser_download_url.*\.tar\.xz" | cut -d \" -f 4))
+ try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
+ if [[ ! -z "${PROTON_PP_GIT}" ]] ; then
+ for PPWGIT in ${PROTON_PP_GIT[@]} ; do
+ echo ${PPWGIT} | awk -F/ '{print $NF}' | sed 's/.tar.xz//' >> "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
done
- sed -i /${PW_PROTON_GE_VER}/d "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
- sed -i '/plugins/d' "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
+ sed -i /${PP_PROTON_GE_VER}/d "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
+ sed -i '/plugins/d' "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
fi
- pw_stop_progress_bar
- if [[ -z "${PROTON_GE_GIT}" ]] || [[ -z "${PROTON_PW_GIT}" ]] ; then
+ pp_stop_progress_bar
+ if [[ -z "${PROTON_GE_GIT}" ]] || [[ -z "${PROTON_PP_GIT}" ]] ; then
zenity_error "Error: check wine from github."
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
for INSTALLING_VERSION_IN_DIST in `ls "${PORT_WINE_PATH}/data/dist/"` ; do
sed -i "/${INSTALLING_VERSION_IN_DIST}$/Id" "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git"
- sed -i "/${INSTALLING_VERSION_IN_DIST}$/Id" "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
+ sed -i "/${INSTALLING_VERSION_IN_DIST}$/Id" "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
sed -i "/${INSTALLING_VERSION_IN_DIST}$/Id" "${PORT_WINE_TMP_PATH}/tmp_wine_kron4ek_git"
done
#Installed wine
ls -l ${PORT_WINE_PATH}/data/dist | awk '{print $9}' | sed '/^$/d' > ${PORT_WINE_TMP_PATH}/tmp_installed_wine
#GUI
export KEY_WINE=$RANDOM
- try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set"
+ try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pp_set"
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_set"
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set"
- `"${pw_yad}" --plug=$KEY_WINE --tabnum=1 --list --separator="" --listen \
+ `"${pp_yad}" --plug=$KEY_WINE --tabnum=1 --list --separator="" --listen \
--column "Select WINE for download:" < "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_set"` &
- `"${pw_yad}" --plug=$KEY_WINE --tabnum=2 --list --separator="" --listen \
+ `"${pp_yad}" --plug=$KEY_WINE --tabnum=2 --list --separator="" --listen \
--column "Select WINE for download:" < "${PORT_WINE_TMP_PATH}/tmp_wine_kron4ek_git" 1> "${PORT_WINE_TMP_PATH}/tmp_kron4ek_set"` &
- `"${pw_yad}" --plug=$KEY_WINE --tabnum=3 --list --separator="" --listen \
- --column "Select WINE for download:" < "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set"` &
- `"${pw_yad}" --plug=$KEY_WINE --tabnum=4 --list --separator="" --listen \
+ `"${pp_yad}" --plug=$KEY_WINE --tabnum=3 --list --separator="" --listen \
+ --column "Select WINE for download:" < "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_pp_set"` &
+ `"${pp_yad}" --plug=$KEY_WINE --tabnum=4 --list --separator="" --listen \
--column "Select installed WINE for delete:" < "${PORT_WINE_TMP_PATH}/tmp_installed_wine" 1> "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set"` &
- `"${pw_yad}" --key=$KEY_WINE --notebook --width=500 --height=600 --text-align=center --center \
- --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "Download..." --separator="" \
+ `"${pp_yad}" --key=$KEY_WINE --notebook --width=500 --height=600 --text-align=center --center \
+ --window-icon="$PP_GUI_ICON_PATH/port_proton.png" --title "Download..." --separator="" \
--tab-pos=top --tab="PROTON-GE" --tab="KRON4EK" --tab="PROTON-PW" --tab="INSTALLED"`
YAD_WINE_STATUS="$?"
if [[ "$YAD_WINE_STATUS" == "1" || "$YAD_WINE_STATUS" == "252" ]] ; then
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
if [ ! -z `cat "${PORT_WINE_TMP_PATH}/tmp_proton_set" | awk '{print $1}'` ] ; then
export VERSION_WINE_GIT="`cat "${PORT_WINE_TMP_PATH}/tmp_proton_set"`"
- elif [ ! -z `cat "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set" | awk '{print $1}'` ] ; then
- export VERSION_WINE_GIT="`cat "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set"`"
+ elif [ ! -z `cat "${PORT_WINE_TMP_PATH}/tmp_proton_pp_set" | awk '{print $1}'` ] ; then
+ export VERSION_WINE_GIT="`cat "${PORT_WINE_TMP_PATH}/tmp_proton_pp_set"`"
elif [ ! -z `cat "${PORT_WINE_TMP_PATH}/tmp_kron4ek_set" | awk '{print $1}'` ] ; then
export VERSION_WINE_GIT="`cat "${PORT_WINE_TMP_PATH}/tmp_kron4ek_set"`"
elif [ ! -z `cat "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set" | awk '{print $1}'` ] ; then
@@ -306,12 +306,12 @@ gui_proton_downloader () {
fi
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git"
- try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git"
+ try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_pp_git"
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_wine_kron4ek_git"
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_set"
try_remove_file "${PORT_WINE_TMP_PATH}/tmp_installed_wine"
- for GIVE_WINE_URL in ${PROTON_GE_GIT[@]} ${PROTON_PW_GIT[@]} ${WINE_KRON4EK[@]}; do
+ for GIVE_WINE_URL in ${PROTON_GE_GIT[@]} ${PROTON_PP_GIT[@]} ${WINE_KRON4EK[@]}; do
if [ ! -z `echo ${GIVE_WINE_URL} | grep -i "$VERSION_WINE_GIT"` ] ; then
export URL_VERSION_PROTON_GIT="${GIVE_WINE_URL}"
fi
@@ -320,7 +320,7 @@ gui_proton_downloader () {
if [[ ! -z "${VERSION_INSTALLED_WINE}" ]]; then
try_remove_dir "${PORT_WINE_PATH}/data/dist/${VERSION_INSTALLED_WINE}"
unset VERSION_INSTALLED_WINE
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
fi
@@ -331,8 +331,8 @@ gui_proton_downloader () {
if unpack_tar_${archive_type} "${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_GIT}.tar.${archive_type}" "${PORT_WINE_PATH}/data/dist/" ; then
try_remove_file "${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_GIT}.tar.${archive_type}"
if [ ! -z "${portwine_exe}" ]; then
- PW_WINE_USE=${VERSION_WINE_GIT}
- edit_db_from_gui PW_WINE_USE
+ PP_WINE_USE=${VERSION_WINE_GIT}
+ edit_db_from_gui PP_WINE_USE
fi
else
try_remove_file "${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_GIT}.tar.${archive_type}"
@@ -344,7 +344,7 @@ gui_proton_downloader () {
else
zenity_error_download && gui_proton_downloader
fi
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
}
export -f gui_proton_downloader
@@ -353,38 +353,38 @@ gui_vkBasalt () {
KEY_FX_GUI=$RANDOM
FILE_VKBASALT_CONF="${PORT_WINE_PATH}/data/vkBasalt.conf"
LIST_FX=(`grep -E '.fx$|.fxh$' "${FILE_VKBASALT_CONF}" | awk '{print $1}'`)
- GET_FX_IN_FILE=(`echo ${PW_VKBASALT_EFFECTS} | sed s/"cas:"// | sed s/":"/" "/g`)
+ GET_FX_IN_FILE=(`echo ${PP_VKBASALT_EFFECTS} | sed s/"cas:"// | sed s/":"/" "/g`)
unset ADD_GUI_FX GUI_FX_RESULT
for add_list_fx in ${LIST_FX[@]} ; do
- PW_VKBASALT_GUI_HELP="PW_${add_list_fx}_INFO"
+ PP_VKBASALT_GUI_HELP="PP_${add_list_fx}_INFO"
if [[ ! -z `echo " ${GET_FX_IN_FILE[@]} " | grep " ${add_list_fx} "` ]] ; then
- ADD_GUI_FX+="--field=$add_list_fx!${!PW_VKBASALT_GUI_HELP}:CHK%TRUE%"
+ ADD_GUI_FX+="--field=$add_list_fx!${!PP_VKBASALT_GUI_HELP}:CHK%TRUE%"
else
- ADD_GUI_FX+="--field=$add_list_fx!${!PW_VKBASALT_GUI_HELP}:CHK%FALSE%"
+ ADD_GUI_FX+="--field=$add_list_fx!${!PP_VKBASALT_GUI_HELP}:CHK%FALSE%"
fi
done
- if [[ ! -z "${PW_VKBASALT_FFX_CAS}" ]] ; then
- VKBASALT_FFX_CAS_GUI=`bc -s <<< "${PW_VKBASALT_FFX_CAS}*100" | sed 's/\..*//'`
+ if [[ ! -z "${PP_VKBASALT_FFX_CAS}" ]] ; then
+ VKBASALT_FFX_CAS_GUI=`bc -s <<< "${PP_VKBASALT_FFX_CAS}*100" | sed 's/\..*//'`
else
VKBASALT_FFX_CAS_GUI=75
fi
export old_IFS=$IFS
export IFS="%"
- "${pw_yad_new}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=5 --separator=" " \
+ "${pp_yad_new}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=5 --separator=" " \
${ADD_GUI_FX} 1> "${PORT_WINE_TMP_PATH}/tmp_yad_basalt_set" &
export IFS="${old_IFS}"
- "${pw_yad_new}" --plug=$KEY_FX_GUI --tabnum="2" --separator=" " --form \
+ "${pp_yad_new}" --plug=$KEY_FX_GUI --tabnum="2" --separator=" " --form \
--field="AMD FidelityFX - Contrast Adaptive Sharpening":SCL "${VKBASALT_FFX_CAS_GUI}" \
1> "${PORT_WINE_TMP_PATH}/tmp_yad_cas_set" &
- "${pw_yad_new}" --paned --key="$KEY_FX_GUI" --height="500" --title="vkBasalt" --center --borders=10 \
- --separator=" " --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
+ "${pp_yad_new}" --paned --key="$KEY_FX_GUI" --height="500" --title="vkBasalt" --center --borders=10 \
+ --separator=" " --window-icon="$PP_GUI_ICON_PATH/port_proton.png" \
--button="CANCEL":1 --button="DISABLE VKBASALT":180 --button="ENABLE VKBASALT":182
YAD_VKBASALT_STATUS="$?"
case "${YAD_VKBASALT_STATUS}" in
1|252)
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0 ;;
180)
export ENABLE_VKBASALT=0 ;;
@@ -402,27 +402,27 @@ gui_vkBasalt () {
export INT_COUNT_FX=$(( ${INT_COUNT_FX} + 1 ))
done
GUI_FX_RESULT="${GUI_FX_RESULT}cas"
- export PW_VKBASALT_EFFECTS="${GUI_FX_RESULT}"
+ export PP_VKBASALT_EFFECTS="${GUI_FX_RESULT}"
if [[ "$YAD_CAS_SET" == "0" ]] ; then
- export PW_VKBASALT_FFX_CAS="0"
+ export PP_VKBASALT_FFX_CAS="0"
elif [[ "$YAD_CAS_SET" == "100" ]] ; then
- export PW_VKBASALT_FFX_CAS="1"
+ export PP_VKBASALT_FFX_CAS="1"
else
- export PW_VKBASALT_FFX_CAS="0`bc -s <<< "scale=2; $YAD_CAS_SET/100"`"
+ export PP_VKBASALT_FFX_CAS="0`bc -s <<< "scale=2; $YAD_CAS_SET/100"`"
fi
- edit_db_from_gui PW_VKBASALT_EFFECTS PW_VKBASALT_FFX_CAS ENABLE_VKBASALT
- /usr/bin/env bash -c ${pw_full_command_line[*]} &
+ edit_db_from_gui PP_VKBASALT_EFFECTS PP_VKBASALT_FFX_CAS ENABLE_VKBASALT
+ /usr/bin/env bash -c ${pp_full_command_line[*]} &
exit 0
}
portwine_create_shortcut () {
- pw_create_gui_png
+ pp_create_gui_png
name_desktop="${PORTPROTON_NAME}"
try_remove_file "${PORT_WINE_PATH}/${name_desktop}.desktop"
echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
echo "Name=${PORTPROTON_NAME}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
- if [ -z "${PW_CHECK_AUTOINSTAL}" ]
+ if [ -z "${PP_CHECK_AUTOINSTAL}" ]
then echo "Exec=env "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${portwine_exe}\" "" \
>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
else echo "Exec=env "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${portwine_exe}\" "" \
@@ -434,8 +434,8 @@ portwine_create_shortcut () {
echo "Path="${PORT_SCRIPTS_PATH}/"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
echo "Icon="${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
- "${pw_yad}" --title="${inst_set}." --form --center --borders=5 \
- --window-icon "$PW_GUI_ICON_PATH/port_proton.png" \
+ "${pp_yad}" --title="${inst_set}." --form --center --borders=5 \
+ --window-icon "$PP_GUI_ICON_PATH/port_proton.png" \
--image "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" \
--field=" ${name_desktop}.desktop:LBL" "" \
--field=" ${ss_done}:LBL" "" \
diff --git a/portwine_install_script/PortProton_1.0 b/portwine_install_script/PortProton_1.0
index a12242cf..a8bd62ba 100644
--- a/portwine_install_script/PortProton_1.0
+++ b/portwine_install_script/PortProton_1.0
@@ -2,7 +2,7 @@
# Author: Castro-Fidel (linux-gaming.ru)
# License MIT
########################################################################
-unset PW_AUTOPLAY PW_SET_LANG PW_SILENT_INSTALL
+unset PP_AUTOPLAY PP_SET_LANG PP_SILENT_INSTALL
export portname="PortProton"
export port_ver=1.0
########################################################################
@@ -20,12 +20,12 @@ if [ "$my_dir" == "/usr/bin" ] ; then
exit 0
else
if [ -n "$(locale | grep "LANG=ru_RU.UTF-8")" ] ; then
- PW_SET_LANG=$RUS_LANG
+ PP_SET_LANG=$RUS_LANG
else
- PW_SET_LANG=$ENG_LANG
+ PP_SET_LANG=$ENG_LANG
fi
- export PW_SILENT_INSTALL="1"
- export PW_AUTOPLAY=1
+ export PP_SILENT_INSTALL="1"
+ export PP_AUTOPLAY=1
deflink="${XDG_DATA_HOME}/PortWINE/${portname}"
fi
fi
@@ -49,18 +49,18 @@ export links
links="$(pwd)"
########################################################################
if [ "$1" = "-rus" ] ; then
- PW_SET_LANG=$RUS_LANG
- export PW_SILENT_INSTALL="1"
+ PP_SET_LANG=$RUS_LANG
+ export PP_SILENT_INSTALL="1"
elif [ "$1" = "-eng" ] ; then
- PW_SET_LANG=$ENG_LANG
- export PW_SILENT_INSTALL="1"
-elif [ -z "${PW_SET_LANG}" ] ; then
- PW_SET_LANG=$(zenity --title "Install $portname" --text "Select installation language:" --list --radiolist \
+ PP_SET_LANG=$ENG_LANG
+ export PP_SILENT_INSTALL="1"
+elif [ -z "${PP_SET_LANG}" ] ; then
+ PP_SET_LANG=$(zenity --title "Install $portname" --text "Select installation language:" --list --radiolist \
--column="" --column "Language" \
TRUE "$RUS_LANG" \
FALSE "$ENG_LANG" ) 2> /dev/null
if [ $? -eq 1 ] ; then echo "Installation language not set!" && exit 1 ; fi
- case $PW_SET_LANG in
+ case $PP_SET_LANG in
"$RUS_LANG")
INFO_TEXT="Вы запустили установщик PortWINE ${portname} версии ${port_ver}. \n\nЭто некоммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права стороннего программного обеспечения принадлежат их владельцам! \nПродолжая установку, Вы автоматически соглашаетесь с данными условиями." > /dev/null 2>&1 ;;
"$ENG_LANG")
@@ -70,11 +70,11 @@ elif [ -z "${PW_SET_LANG}" ] ; then
if [ $? -eq 1 ] ; then echo "INFO message not displayed!" && exit 1 ; fi
fi
########################################################################
-if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
+if [ "${PP_SILENT_INSTALL}" = "1" ] ; then
echo "${portname} is installed in ${deflink}"
D_PATH="${deflink}"
else
- case $PW_SET_LANG in
+ case $PP_SET_LANG in
"$RUS_LANG")
inst1=$(zenity --title "Установка ${portname}" --text "Выберите путь для установки (обновления) PortWINE \nили оставьте его по умолчанию." --list --radiolist --width=350 --height=220 \
--column="" --column "Путь:" \
@@ -105,7 +105,7 @@ else
if [ $? -eq 1 ] ; then echo "error" && exit 1 ; fi
fi
########################################################################
-case $PW_SET_LANG in
+case $PP_SET_LANG in
"$RUS_LANG")
progress_bar() {
zenity --progress --title="Установка..." --text="Настройка ${portname}" --pulsate --auto-close --auto-kill --width=450 > /dev/null 2>&1
@@ -127,7 +127,7 @@ fi
########################################################################
mkdir -p "${PORT_WINE_PATH}/data/tmp"
echo "${port_ver}" > "${PORT_WINE_PATH}/data/tmp/${portname}_ver"
-case $PW_SET_LANG in
+case $PP_SET_LANG in
"$RUS_LANG") echo "RUS" > "${PORT_WINE_PATH}/data/tmp/${portname}_loc" ;;
"$ENG_LANG") echo "ENG" > "${PORT_WINE_PATH}/data/tmp/${portname}_loc" ;;
esac
@@ -157,7 +157,7 @@ try_download_scripts () {
try_download_scripts
fi
}
-if [ "${PW_SILENT_INSTALL}" = "1" ] && [ ! -f "/usr/bin/portproton" ] ; then
+if [ "${PP_SILENT_INSTALL}" = "1" ] && [ ! -f "/usr/bin/portproton" ] ; then
try_download_scripts
else
try_download_scripts | progress_bar