forked from CastroFidel/PortWINE
		
	Compare commits
	
		
			15 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					9933accd7f | ||
| 
						 | 
					0282a77a3c | ||
| 
						 | 
					5bd52d7a36 | ||
| 
						 | 
					59826da654 | ||
| 
						 | 
					603d0d8821 | ||
| 
						 | 
					f4d3684556 | ||
| 
						 | 
					0391f33674 | ||
| 
						 | 
					df9128143c | ||
| 
						 | 
					83a18e538a | ||
| 
						 | 
					ebbdaed92d | ||
| 
						 | 
					d32f5b1cc5 | ||
| 
						 | 
					78552187f0 | ||
| 
						 | 
					62651c1d93 | ||
| 
						 | 
					295d028ba7 | ||
| 
						 | 
					1c9f91675f | 
@@ -1,221 +0,0 @@
 | 
			
		||||
Copyright (c) 2018-2020, Valve Corporation
 | 
			
		||||
All rights reserved.
 | 
			
		||||
 | 
			
		||||
Redistribution and use in source and binary forms, with or without modification,
 | 
			
		||||
are permitted provided that the following conditions are met:
 | 
			
		||||
 | 
			
		||||
1. Redistributions of source code must retain the above copyright notice, this
 | 
			
		||||
list of conditions and the following disclaimer.
 | 
			
		||||
 | 
			
		||||
2. Redistributions in binary form must reproduce the above copyright notice,
 | 
			
		||||
this list of conditions and the following disclaimer in the documentation and/or
 | 
			
		||||
other materials provided with the distribution.
 | 
			
		||||
 | 
			
		||||
3. Neither the name of the copyright holder nor the names of its contributors
 | 
			
		||||
may be used to endorse or promote products derived from this software without
 | 
			
		||||
specific prior written permission.
 | 
			
		||||
 | 
			
		||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 | 
			
		||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 | 
			
		||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 | 
			
		||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
 | 
			
		||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 | 
			
		||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 | 
			
		||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 | 
			
		||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 | 
			
		||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 | 
			
		||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
Browse the source code for more information
 | 
			
		||||
 | 
			
		||||
    https://github.com/ValveSoftware/Proton
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains a modified version of Wine licensed under the LGPL 2.1. Wine is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 1993-2020 the Wine project authors
 | 
			
		||||
 | 
			
		||||
Visit Wine at
 | 
			
		||||
 | 
			
		||||
    https://winehq.org
 | 
			
		||||
 | 
			
		||||
View our modifications at
 | 
			
		||||
 | 
			
		||||
    https://github.com/ValveSoftware/wine
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains a modified version of DXVK licensed under the zlib/libpng license. DXVK is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2017-2020 Philip Rebohle
 | 
			
		||||
    Copyright (c) 2019-2020 Joshua Ashton
 | 
			
		||||
 | 
			
		||||
Visit DXVK at
 | 
			
		||||
 | 
			
		||||
    https://github.com/doitsujin/dxvk
 | 
			
		||||
 | 
			
		||||
View our modifications at
 | 
			
		||||
 | 
			
		||||
    https://github.com/ValveSoftware/dxvk
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains FAudio licensed under the zlib license. FAudio is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2011-2020 Ethan Lee, Luigi Auriemma, and the MonoGame Team
 | 
			
		||||
 | 
			
		||||
Visit FAudio at
 | 
			
		||||
 | 
			
		||||
    https://github.com/FNA-XNA/FAudio
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains some Liberation Fonts licensed under the SIL Open Font License, available at LICENSE.OFL. These fonts are
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2010 Google Corporation
 | 
			
		||||
    Copyright (c) 2012 Red Hat, Inc.
 | 
			
		||||
 | 
			
		||||
Visit Liberation Fonts at
 | 
			
		||||
 | 
			
		||||
    https://github.com/liberationfonts/liberation-fonts
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains Source Han Sans licensed under the SIL Open Font License, available at LICENSE.OFL. This font is
 | 
			
		||||
 | 
			
		||||
    Copyright 2014-2019 Adobe (http://www.adobe.com/)
 | 
			
		||||
 | 
			
		||||
Visit Source Han Sans at
 | 
			
		||||
 | 
			
		||||
    https://github.com/adobe-fonts/source-han-sans
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains wine-mono, parts of which are included under a variety of licenses.
 | 
			
		||||
 | 
			
		||||
    Parts of Mono (mono/) are variously licensed under the GPL, LGPL, and MIT X11 licenses. All parts are available as LGPL or MIT X11 except for the following:
 | 
			
		||||
     * The ICSharpCode.SharpZipLib library is available as GPL with an exception (see mono/mcs/class/ICSharpCode.SharpZipLib/README).
 | 
			
		||||
     * mcs/jay is BSD-licensed.
 | 
			
		||||
 | 
			
		||||
    The Visual Basic class libraries (mono-basic/) are MIT X11. The compiler is LGPL v2.
 | 
			
		||||
 | 
			
		||||
    FNA is a mix of MSPL and MIT. It has the following library dependencies:
 | 
			
		||||
     * FAudio, MojoShader, Theorafile, SDL2, SDL_image_compact, and SDL2-CS are zlib-licensed. SDL2-CS is built into FNA.dll.
 | 
			
		||||
     * FNA.NetStub is MSPL.
 | 
			
		||||
 | 
			
		||||
    The winforms and wpf libraries are MIT.
 | 
			
		||||
 | 
			
		||||
wine-mono itself is included under the MIT license. wine-mono is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2012 Vincent Povirk for CodeWeavers
 | 
			
		||||
 | 
			
		||||
    Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
    of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
    in the Software without restriction, including without limitation the rights
 | 
			
		||||
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
    copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
    furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
    The above copyright notice and this permission notice shall be included in
 | 
			
		||||
    all copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 | 
			
		||||
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
    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.
 | 
			
		||||
 | 
			
		||||
Visit wine-mono at
 | 
			
		||||
 | 
			
		||||
    https://github.com/madewokherd/wine-mono
 | 
			
		||||
 | 
			
		||||
View wine-mono's complete license at
 | 
			
		||||
 | 
			
		||||
    https://github.com/madewokherd/wine-mono/blob/master/COPYING
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains wine-gecko, parts of which are included under a variety of licenses.
 | 
			
		||||
 | 
			
		||||
wine-gecko itself is included under the Mozilla Public License 2.0.
 | 
			
		||||
 | 
			
		||||
wine-gecko is available in Source Code form at
 | 
			
		||||
 | 
			
		||||
    https://sourceforge.net/p/wine/wine-gecko
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
This software contains a modified version of Vkd3d licensed under the LGPL 2.1. Vkd3d is
 | 
			
		||||
 | 
			
		||||
    Copyright 2016-2019 the Vkd3d project authors
 | 
			
		||||
 | 
			
		||||
Visit Vkd3d at
 | 
			
		||||
 | 
			
		||||
    https://source.winehq.org/git/vkd3d.git
 | 
			
		||||
 | 
			
		||||
View our modifications at
 | 
			
		||||
 | 
			
		||||
    https://github.com/ValveSoftware/vkd3d
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
Parts of this software are based on the OpenVR SDK, which is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2015, Valve Corporation
 | 
			
		||||
    All rights reserved.
 | 
			
		||||
 | 
			
		||||
    Redistribution and use in source and binary forms, with or without modification,
 | 
			
		||||
    are permitted provided that the following conditions are met:
 | 
			
		||||
 | 
			
		||||
    1. Redistributions of source code must retain the above copyright notice, this
 | 
			
		||||
    list of conditions and the following disclaimer.
 | 
			
		||||
 | 
			
		||||
    2. Redistributions in binary form must reproduce the above copyright notice,
 | 
			
		||||
    this list of conditions and the following disclaimer in the documentation and/or
 | 
			
		||||
    other materials provided with the distribution.
 | 
			
		||||
 | 
			
		||||
    3. Neither the name of the copyright holder nor the names of its contributors
 | 
			
		||||
    may be used to endorse or promote products derived from this software without
 | 
			
		||||
    specific prior written permission.
 | 
			
		||||
 | 
			
		||||
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 | 
			
		||||
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 | 
			
		||||
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 | 
			
		||||
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
 | 
			
		||||
    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 | 
			
		||||
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 | 
			
		||||
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 | 
			
		||||
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 | 
			
		||||
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 | 
			
		||||
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
Visit OpenVR at
 | 
			
		||||
 | 
			
		||||
    https://github.com/ValveSoftware/openvr
 | 
			
		||||
 | 
			
		||||
---- ---- ---- ----
 | 
			
		||||
 | 
			
		||||
Parts of this software are based on the AMD AGS library, which is
 | 
			
		||||
 | 
			
		||||
    Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
 | 
			
		||||
 | 
			
		||||
    Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
    of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
    in the Software without restriction, including without limitation the rights
 | 
			
		||||
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
    copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
    furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
    The above copyright notice and this permission notice shall be included in
 | 
			
		||||
    all copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 | 
			
		||||
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
    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.
 | 
			
		||||
@@ -2,29 +2,104 @@
 | 
			
		||||
-----------------------------------------
 | 
			
		||||
В планах:
 | 
			
		||||
* создать ветку beta на github и сделать выбор версии внутри порта
 | 
			
		||||
* перенести reset в GUI PortProton
 | 
			
		||||
* добавить фикс установки dotnet
 | 
			
		||||
* добавить кнопку очистки префикса в PortProton
 | 
			
		||||
* проверка версий и обновления скриптов из https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.zip
 | 
			
		||||
* EDIT DB открывается не у всех
 | 
			
		||||
* пересоздать удаление PortProton (чистка ярлыков в меню с помощью grep "путь до порта")
 | 
			
		||||
* проверить windows steam и под PortProton работают только с Proton GE
 | 
			
		||||
* создать defaut префикс и сделать авто симлинки в другие префиксы (games, programm files, users)
 | 
			
		||||
* иконка в трей для PortProton
 | 
			
		||||
* добавить контроль за окнами для правильного отключения прогресс бара
 | 
			
		||||
* добавлено отображение скорости интернета и примерный остаток времени при скачивании библиотек libs, gecko, mono
 | 
			
		||||
* зарабатывать на жизнь развитием проекта с помощью вашей подписки на https://boosty.to/portwine-linux.ru
 | 
			
		||||
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
 | 
			
		||||
-----------------------------------------
 | 
			
		||||
###Scripts version 1097###
 | 
			
		||||
* HOTFIX - исправлена ошибка в скрипте при монтировании
 | 
			
		||||
###Scripts version 1117###
 | 
			
		||||
* доработка определение месторасполажения установленных шейдеров для vkBasalt
 | 
			
		||||
* добавлена переменная "PW_SANDBOX_HOME_PATH" при существовании которой закрывается доступ к домашнему каталогу
 | 
			
		||||
 | 
			
		||||
###Scripts version 1096###
 | 
			
		||||
* HOTFIX - определение переменной PW_RUNTIME возвращено в скрипт runlib
 | 
			
		||||
###Scripts version 1115 and 1116###
 | 
			
		||||
* тест обновления скриптов с github
 | 
			
		||||
 | 
			
		||||
###Scripts version 1095###
 | 
			
		||||
* для систем основанных на Arch добавлен автоматический проброс /run/media
 | 
			
		||||
* все основные настройки контейнера перенесены в скрипт var: PW_RT_MOUNT_RO - только для чтения; PW_RT_MOUNT_RW - чтение и запись (пути писать в ковычках и разделять пробелом) Пример: PW_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}")
 | 
			
		||||
* vcrun2019 снова устанавливается в штатном режиме за счет использования версии winetricks от GE (https://raw.githubusercontent.com/GloriousEggroll/protonfixes/master/winetricks)
 | 
			
		||||
###Scripts version 1114###
 | 
			
		||||
* добавлен пользовательский файл конфигурации (путь_до_PortProton/data/user.conf") который при наполнениии замещает настройки скрипта var и db файлов, но при обновлении скриптов остается неизменным, для сохранения ваших настроек.
 | 
			
		||||
* автоматическое изменение раскладки клавиатуры работает только при установке значении переменной export PW_XKBD_RU_HACK=1 (можно прописывать как в скрипт var, так и в user.conf)
 | 
			
		||||
* HOTFIX - определение месторасполажения установленных шейдеров для vkBasalt (для работы под Arch и Manjaro)
 | 
			
		||||
* проверка и обновления скриптов из https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz
 | 
			
		||||
 | 
			
		||||
###Scripts version 1113###
 | 
			
		||||
* обновлен dxvk до v1.9-51
 | 
			
		||||
* обновлен vkd3d до v2.4
 | 
			
		||||
* начальная поддержка нативной версии nvapi при условии, что wine его поддерживает
 | 
			
		||||
* тест vkBasalt (в каталог data добавлен vkBasalt.conf и добавлены переменные в скрипт var)
 | 
			
		||||
 | 
			
		||||
###PortProton-90### 28.06.2021
 | 
			
		||||
* обновлен Proton 6.3-5 (RELEASE)
 | 
			
		||||
 | 
			
		||||
###Scripts version 1112###
 | 
			
		||||
* mangohud влючаеться по клавишам: правый_шифт+F12 (Shift_R+F12)
 | 
			
		||||
* HOTFIX - включение vkd3d (dxgi=b)
 | 
			
		||||
 | 
			
		||||
###Scripts version 1111###
 | 
			
		||||
* обновлен DXVK и VKD3D из Proton 6.3-5 (RELEASE)
 | 
			
		||||
* обновлены библиотеки kerberos и wldap32 (исправляет ошибки подключения к интернету в некоторых играх, например World of Tanks)
 | 
			
		||||
 | 
			
		||||
###Scripts version 1110###
 | 
			
		||||
* mangohud влючаеться по клавише F12 при условии, что он установлен в системе
 | 
			
		||||
* добавлена кнопка очистки префикса в раздел GUI -> SETTINGS
 | 
			
		||||
* добавлена кнопка удаления порта в раздел GUI -> SETTINGS
 | 
			
		||||
* добавлена кнопка удаления программ (WINE UNINSTALLER) в раздел GUI -> SETTINGS
 | 
			
		||||
* добавлена кнопка редактирования скрипта var в раздел GUI -> SETTINGS
 | 
			
		||||
* обновление winetricks отключенно (опять) и используется доработаная версия от ProtonGE
 | 
			
		||||
* изменены иконки внутри gui в трее
 | 
			
		||||
 | 
			
		||||
###PortProton-89### 25.06.2021 ###Scripts version 1109###
 | 
			
		||||
* обновлен wine до версии Proton 6.3-5-rc3
 | 
			
		||||
* обновлен DXVK и VKD3D из Proton 6.3-5-rc3
 | 
			
		||||
 | 
			
		||||
###Scripts version 1108###
 | 
			
		||||
* обновлен DXVK и VKD3D из Proton 6.3-5-rc1
 | 
			
		||||
 | 
			
		||||
###Scripts version 1107###
 | 
			
		||||
* добавлены db: OSU!; FarCry{3,4}; Control; Biomutant; ForzaHorizon4
 | 
			
		||||
* включено обновление winetricks (снова отремонтировано скачиваие vcrun20XX)
 | 
			
		||||
 | 
			
		||||
###Scripts version 1106###
 | 
			
		||||
* возвращен VKD3D из Proton 6.3-4b
 | 
			
		||||
 | 
			
		||||
###Scripts version 1105###
 | 
			
		||||
* для распаковки exe файлов при автоматических установках лаунчеров используется 7z вместо 7zr
 | 
			
		||||
* обновлен DXVK до версии 1.9
 | 
			
		||||
* исправлена автоматическая установка GOG
 | 
			
		||||
* автоматическое создание символьной ссылки users/steamuser/Documents в users/steamuser/My Documents
 | 
			
		||||
* добавлена иконка в трей для PortProton (завершение всех процессов по ПКМ --> "FORCE EXIT")
 | 
			
		||||
* добавлена возможность запуска нескольких приложений одновременно и закрывать всё одним нажатием ПКМ --> EXIT
 | 
			
		||||
 | 
			
		||||
###Scripts version 1104###
 | 
			
		||||
* крупное обновлеение контейнера (libs_v16):
 | 
			
		||||
    - добавлен /bin/yad_new версии 10.1 скомпилированный специально для будущего меню в трее)
 | 
			
		||||
    - обновлен MANGOHUD (требуется проверка под OpenGL)
 | 
			
		||||
    - обновлен 7z необходимый для будущей автоматической установки Rockstar Game Launcher
 | 
			
		||||
* для тестовой поддержки wayland добавлена переменная в скрипт var: GDK_BACKEND="x11"
 | 
			
		||||
* обновлены DXVK и VKD3D до актуального состояния на 12.06.2021
 | 
			
		||||
 | 
			
		||||
###Scripts version 1103###
 | 
			
		||||
* HOTFIX - исправление функции pw_kill_autostart
 | 
			
		||||
 | 
			
		||||
###Scripts version 1102###
 | 
			
		||||
* фикс создания ярлыка после автоматической установки STEAM
 | 
			
		||||
* в AUTOINSTALL добавлена функция pw_kill_autostart для запрета автозапуска лаунчера после автоматической установки
 | 
			
		||||
* добавлены настройки в ~/.Xresources для корректного отображения текста в xterm, если данного файла нет в корне домашнего каталога
 | 
			
		||||
 | 
			
		||||
###PortProton-87### - RELEASE
 | 
			
		||||
* cтабильная версия wine proton 6.3-4
 | 
			
		||||
* стабильные версии новых скриптов 1101
 | 
			
		||||
 | 
			
		||||
###Scripts version 1101###
 | 
			
		||||
* переделан запуск контейнера (исправлены проблемы с правильной подгрузкой библиотек)
 | 
			
		||||
* автоматическая установка DLL в префикс выполняется под контейнером
 | 
			
		||||
* winecmd запускается из под xterm установленного в контейнер, что избавляет xterm как зависимость.
 | 
			
		||||
* vcrun2019 снова устанавливается в штатном режиме
 | 
			
		||||
* исправлена ошибка в скрипте при монтировании в контейнер
 | 
			
		||||
* добавлено отображение скорости интернета и примерный остаток времени при скачивании libs, gecko, mono
 | 
			
		||||
 | 
			
		||||
###PortProton-86###
 | 
			
		||||
* обновлен wine до версии  GE 2
 | 
			
		||||
* обновлены либы до версии libs_v15
 | 
			
		||||
 | 
			
		||||
### Скрипты с версии 1095 по 1100 - эксперементальные ###
 | 
			
		||||
 | 
			
		||||
###Scripts version 1094###
 | 
			
		||||
* немного ускорена инициализация префикса
 | 
			
		||||
@@ -32,6 +107,10 @@
 | 
			
		||||
* исправлено определение использования RUNTIME в логах
 | 
			
		||||
* ${HOME}/.PortWINE под контейнетом всегда доступен, но только для чтения
 | 
			
		||||
* добавлен автоматический проброс /media и /mnt в контейнер порта что позволяет запускать игры и программы установленные не в домашнем каталоге, как если бы порт работал без контейнера
 | 
			
		||||
* в 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}")
 | 
			
		||||
 | 
			
		||||
###Scripts version 1093###
 | 
			
		||||
* возвращена переменная в скрипте var: WINE_WIN_START="start.exe /i /unix" что возвращает запуск .bat файлов и решает проблему с запуском игры WoT из WGC
 | 
			
		||||
@@ -40,11 +119,9 @@
 | 
			
		||||
* исправлена автоустановка WGC под запуском в контейнерном режиме
 | 
			
		||||
* добавлен фикс работы старых версий порта с новыми скриптами
 | 
			
		||||
* частичный откат кода со скриптов от PortProton-78
 | 
			
		||||
* Установка xact_x64 совместно c xact по умолчанию с любым db файлом
 | 
			
		||||
* контейнерный режим включен по умолчанию и отключается в скрипте "каталог_порта/data/scripts/var" переменной PW_USE_RUNTIME=(1 - включен; 0 - выключен)
 | 
			
		||||
 | 
			
		||||
###Scripts version 1091###
 | 
			
		||||
* Установка xact по умолчанию с любым db файлом
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###PortProton-85### 27.05.2021 ###Scripts version 1090###
 | 
			
		||||
* для подготовки к релизу используется стабилная версия wine: Proton 6.3-4
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/port_changelog.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/port_changelog.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 16 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/port_exit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/port_exit.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 11 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/steam.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/steam.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.1 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/ubc.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/ubc.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.0 KiB  | 
							
								
								
									
										85
									
								
								data_from_portwine/scripts/.Xresources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										85
									
								
								data_from_portwine/scripts/.Xresources
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,85 @@
 | 
			
		||||
xterm*faceSize: 12
 | 
			
		||||
xterm*vt100*geometry: 120x20
 | 
			
		||||
xterm*saveLines: 16384
 | 
			
		||||
xterm*loginShell: true
 | 
			
		||||
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
 | 
			
		||||
xterm*termName: xterm-color
 | 
			
		||||
xterm*eightBitInput: false
 | 
			
		||||
 | 
			
		||||
!BLK Cursor
 | 
			
		||||
#define _color0        #000d18
 | 
			
		||||
#define _color8        #000d18
 | 
			
		||||
!RED Tag
 | 
			
		||||
#define _color1        #e89393
 | 
			
		||||
#define _color9        #e89393
 | 
			
		||||
!GRN SpecialKey
 | 
			
		||||
#define _color2        #9ece13
 | 
			
		||||
#define _color10       #9ece13
 | 
			
		||||
!YEL Keyword
 | 
			
		||||
#define _color3        #f0dfaf
 | 
			
		||||
#define _color11       #f0dfaf
 | 
			
		||||
!BLU Number
 | 
			
		||||
#define _color4        #8cd0d3
 | 
			
		||||
#define _color12       #8cd0d3
 | 
			
		||||
!MAG Precondit
 | 
			
		||||
#define _color5        #c0bed1
 | 
			
		||||
#define _color13       #c0bed1
 | 
			
		||||
!CYN Float
 | 
			
		||||
#define _color6        #dfaf8f
 | 
			
		||||
#define _color14       #dfaf8f
 | 
			
		||||
!WHT Search
 | 
			
		||||
#define _color7        #efefef
 | 
			
		||||
#define _color15       #efefef
 | 
			
		||||
!FMT Include, StatusLine, ErrorMsg
 | 
			
		||||
#define _colorBD       #ffcfaf
 | 
			
		||||
#define _colorUL       #ccdc90
 | 
			
		||||
#define _colorIT       #80d4aa
 | 
			
		||||
!TXT Normal, Normal, Cursor
 | 
			
		||||
#define _foreground    #dcdccc
 | 
			
		||||
#define _background    #1f1f1f
 | 
			
		||||
#define _cursorColor   #8faf9f
 | 
			
		||||
URxvt*color0         : _color0
 | 
			
		||||
URxvt*color1         : _color1
 | 
			
		||||
URxvt*color2         : _color2
 | 
			
		||||
URxvt*color3         : _color3
 | 
			
		||||
URxvt*color4         : _color4
 | 
			
		||||
URxvt*color5         : _color5
 | 
			
		||||
URxvt*color6         : _color6
 | 
			
		||||
URxvt*color7         : _color7
 | 
			
		||||
URxvt*color8         : _color8
 | 
			
		||||
URxvt*color9         : _color9
 | 
			
		||||
URxvt*color10        : _color10
 | 
			
		||||
URxvt*color11        : _color11
 | 
			
		||||
URxvt*color12        : _color12
 | 
			
		||||
URxvt*color13        : _color13
 | 
			
		||||
URxvt*color14        : _color14
 | 
			
		||||
URxvt*color15        : _color15
 | 
			
		||||
URxvt*colorBD        : _colorBD
 | 
			
		||||
URxvt*colorIT        : _colorIT
 | 
			
		||||
URxvt*colorUL        : _colorUL
 | 
			
		||||
URxvt*foreground     : _foreground
 | 
			
		||||
URxvt*background     : _background
 | 
			
		||||
URxvt*cursorColor    : _cursorColor
 | 
			
		||||
XTerm*color0         : _color0
 | 
			
		||||
XTerm*color1         : _color1
 | 
			
		||||
XTerm*color2         : _color2
 | 
			
		||||
XTerm*color3         : _color3
 | 
			
		||||
XTerm*color4         : _color4
 | 
			
		||||
XTerm*color5         : _color5
 | 
			
		||||
XTerm*color6         : _color6
 | 
			
		||||
XTerm*color7         : _color7
 | 
			
		||||
XTerm*color8         : _color8
 | 
			
		||||
XTerm*color9         : _color9
 | 
			
		||||
XTerm*color10        : _color10
 | 
			
		||||
XTerm*color11        : _color11
 | 
			
		||||
XTerm*color12        : _color12
 | 
			
		||||
XTerm*color13        : _color13
 | 
			
		||||
XTerm*color14        : _color14
 | 
			
		||||
XTerm*color15        : _color15
 | 
			
		||||
XTerm*colorBD        : _colorBD
 | 
			
		||||
XTerm*colorIT        : _colorIT
 | 
			
		||||
XTerm*colorUL        : _colorUL
 | 
			
		||||
XTerm*foreground     : _foreground
 | 
			
		||||
XTerm*background     : _background
 | 
			
		||||
XTerm*cursorColor    : _cursorColor
 | 
			
		||||
 | 
			
		||||
@@ -12,31 +12,32 @@ export PW_NO_FSYNC=1
 | 
			
		||||
export PW_NO_ESYNC=1
 | 
			
		||||
unset PORTWINE_CREATE_SHORTCUT_NAME
 | 
			
		||||
 | 
			
		||||
pw_kill_autostart () {
 | 
			
		||||
    if [ "$PW_USE_RUNTIME" != 1 ]
 | 
			
		||||
    then echo "PW_USE_RUNTIME: `echo $PW_USE_RUNTIME`"
 | 
			
		||||
    else
 | 
			
		||||
        sleep 10
 | 
			
		||||
        while true ; do
 | 
			
		||||
            if  [ -z `pgrep "$1" | head -n 1` ] && [ ! -z `pgrep wrap | head -n 1` ]; then
 | 
			
		||||
                echo -e "PID "$1" not found"
 | 
			
		||||
                sleep 1
 | 
			
		||||
            else
 | 
			
		||||
                KILL_PORTWINE
 | 
			
		||||
                break
 | 
			
		||||
            fi
 | 
			
		||||
        done
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PW_WGC () {
 | 
			
		||||
    export LAUNCH_PARAMETERS=("/SILENT" "/SP-")
 | 
			
		||||
    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_RU.exe"
 | 
			
		||||
    export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe"
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    if try_download "https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
        while true ; do
 | 
			
		||||
            if [ "${PW_USE_RUNTIME}" = 0 ]
 | 
			
		||||
            then echo "PW_USE_RUNTIME: `echo $PW_USE_RUNTIME`" & break
 | 
			
		||||
            fi
 | 
			
		||||
            if  [ -z `pgrep wgc.exe` ] ; then
 | 
			
		||||
                echo -e "PID WGC not found"
 | 
			
		||||
                sleep 2
 | 
			
		||||
            else
 | 
			
		||||
                echo -e "PID WGC: `pgrep wgc.exe` \nPID Cont: `pidof -s bwrap`"
 | 
			
		||||
                    while   [ ! -z `pgrep wgc.exe` ]; do
 | 
			
		||||
                        echo -e "PID WGC found: `pgrep wgc.exe` \nPID_Status: `echo $?`"
 | 
			
		||||
                        sleep 2
 | 
			
		||||
                        KILL_PORTWINE
 | 
			
		||||
                    done
 | 
			
		||||
                break
 | 
			
		||||
            fi
 | 
			
		||||
        done &
 | 
			
		||||
        PW_START_PROGRESS_BAR_CS "Starting WGC installation..."
 | 
			
		||||
        PW_START_PROGRESS_BAR_BLOCK "Starting WGC installation..."
 | 
			
		||||
        pw_kill_autostart wgc.exe &
 | 
			
		||||
        PW_RUN "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
        portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/wgc_api/wgc_api.exe"
 | 
			
		||||
        export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center"
 | 
			
		||||
@@ -54,6 +55,7 @@ PW_ORIGIN () {
 | 
			
		||||
    if try_download "https://download.dm.origin.com/origin/live/OriginSetup.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
        PW_START_PROGRESS_BAR_BLOCK "Installing the Origin. Please wait..."
 | 
			
		||||
        pw_kill_autostart Origin.exe &
 | 
			
		||||
        PW_RUN "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
        portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe"
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
@@ -71,9 +73,8 @@ PW_BATTLE_NET () {
 | 
			
		||||
    if try_download "http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-${BN_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
        PW_START_PROGRESS_BAR "Installing the Battle Net. Please wait..."
 | 
			
		||||
        pw_kill_autostart Battle.net.exe &
 | 
			
		||||
        PW_RUN "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
        while [ ! -z `pgrep Battle.net* | head -n 1` ] && [ -z `pgrep Battle.net.exe | head -n 1` ] ; do sleep 2 ; done
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe"`
 | 
			
		||||
        PW_STOP_PROGRESS
 | 
			
		||||
        PORTWINE_CREATE_SHORTCUT
 | 
			
		||||
@@ -89,10 +90,11 @@ PW_EPIC () {
 | 
			
		||||
    if try_download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_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}" &
 | 
			
		||||
        sleep 10
 | 
			
		||||
        if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
 | 
			
		||||
            while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] ; do
 | 
			
		||||
            while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] || [ ! -z `pgrep wrap | head -n 1` ]; do
 | 
			
		||||
                [ ! -z `pgrep rundll32* | head -n 1` ] && kill -n 9 `pgrep rundll32* | head -n 1` && echo "Kill rundll32.exe"
 | 
			
		||||
                sleep 5
 | 
			
		||||
            done
 | 
			
		||||
@@ -107,14 +109,15 @@ PW_EPIC () {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PW_GOG () {
 | 
			
		||||
    export LAUNCH_PARAMETERS=("/runWithoutUpdating" "/deelevated" )
 | 
			
		||||
    export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/OriginSetup.exe"
 | 
			
		||||
    export LAUNCH_PARAMETERS=("/VERYSILENT")
 | 
			
		||||
    export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/setup_galaxy_2.0.37.384.exe"
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    if try_download "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/2.0.35.19/setup_galaxy_2.0.35.19a.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    if try_download "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/2.0.37.384/setup_galaxy_2.0.37.384.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
        PW_START_PROGRESS_BAR_CS "Installing the GOG Galaxy. Please wait..."
 | 
			
		||||
        PW_START_PROGRESS_BAR_BLOCK "Installing the GOG Galaxy. Please wait..."
 | 
			
		||||
        pw_kill_autostart GalaxyClient.* &
 | 
			
		||||
        PW_RUN "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
        portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "GalaxyClient.exe"`
 | 
			
		||||
        portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe"
 | 
			
		||||
        try_remove_file "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
@@ -144,3 +147,42 @@ PW_EVE () {
 | 
			
		||||
    fi
 | 
			
		||||
    STOP_PORTWINE
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PW_UBC () {
 | 
			
		||||
	export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Ubisoft Game Launcher")
 | 
			
		||||
    export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe"
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    if try_download "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
		PW_START_PROGRESS_BAR_CS "Installing the Ubisoft Connect. Please wait..."
 | 
			
		||||
        pw_kill_autostart UbisoftConnect.exe &
 | 
			
		||||
		PW_RUN "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
		portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe"
 | 
			
		||||
		try_remove_file "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
		KILL_PORTWINE
 | 
			
		||||
		PW_STOP_PROGRESS_BAR
 | 
			
		||||
		PORTWINE_CREATE_SHORTCUT
 | 
			
		||||
    fi
 | 
			
		||||
    STOP_PORTWINE
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PW_STEAM () {
 | 
			
		||||
	export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Steam")
 | 
			
		||||
    export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SteamSetup.exe"
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    if try_download "https://cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe" "${PW_AUTOINSTALL_EXE}"
 | 
			
		||||
    then
 | 
			
		||||
		PW_START_PROGRESS_BAR_CS "Installing the Steam. Please wait..."
 | 
			
		||||
        pw_kill_autostart steam.exe &
 | 
			
		||||
		PW_RUN "${PW_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}"
 | 
			
		||||
		KILL_PORTWINE
 | 
			
		||||
		PW_STOP_PROGRESS_BAR
 | 
			
		||||
		PORTWINE_CREATE_SHORTCUT
 | 
			
		||||
    fi
 | 
			
		||||
    STOP_PORTWINE
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
read "update_loc" < "${PORT_WINE_TMP_PATH}/${portname}_loc"
 | 
			
		||||
export update_loc=${update_loc}
 | 
			
		||||
 | 
			
		||||
if [ "${update_loc}" = "RUS" ] 
 | 
			
		||||
if [ "${update_loc}" = "RUS" ]
 | 
			
		||||
then
 | 
			
		||||
 | 
			
		||||
	export inst_set="Выбор"
 | 
			
		||||
@@ -18,7 +18,7 @@ then
 | 
			
		||||
	export ss_ogl_1="Использовать OpenGL. (DirectX в OpenGL)"
 | 
			
		||||
	export ss_ogl_2="Использовать VKD3D. ( DX12 в vulkan)"
 | 
			
		||||
	export ss_ogl_3="Использовать DXVK и D9VK. (DX9-DX11 в Vulkan и выключить DX12)"
 | 
			
		||||
	export ss_done="Ярлык создан в корневом каталоге порта.\nДобавить его в МЕНЮ -> ИГРЫ?" 
 | 
			
		||||
	export ss_done="Ярлык создан в корневом каталоге порта.\nДобавить его в МЕНЮ -> ИГРЫ?"
 | 
			
		||||
 | 
			
		||||
	export inst_succ="Установка завершена успешно!"
 | 
			
		||||
 | 
			
		||||
@@ -36,8 +36,10 @@ then
 | 
			
		||||
	export scripts_upd5="Напомнить позже"
 | 
			
		||||
	export scripts_upd6="Больше не напоминать"
 | 
			
		||||
 | 
			
		||||
	export port_clear_pfx="Вы действительно хотите очистить префикс PortProton?"
 | 
			
		||||
 | 
			
		||||
	export port_del1="Удаление $portname"
 | 
			
		||||
	export port_del2="Вы действительно хотите удалить $portname,\nс установленным в него клиентом?\n"
 | 
			
		||||
	export port_del2="Вы действительно хотите полностью удалить PortProton?"
 | 
			
		||||
	export port_del3="Удалить?!"
 | 
			
		||||
	export port_del4="Нет, не удалять!"
 | 
			
		||||
	export port_del5="Да, удалить!"
 | 
			
		||||
@@ -98,7 +100,7 @@ then
 | 
			
		||||
	export loc_scripts_update="   Обновление базы данных для игр\n   и программ успешно завершено.\n\n   Перезапустите ${portname}."
 | 
			
		||||
 | 
			
		||||
	export loc_edit_db="Изменить файл настроек для"
 | 
			
		||||
elif [ "${update_loc}" = "ENG" ] 
 | 
			
		||||
elif [ "${update_loc}" = "ENG" ]
 | 
			
		||||
then
 | 
			
		||||
 | 
			
		||||
	export inst_set="Sett..."
 | 
			
		||||
@@ -130,8 +132,10 @@ then
 | 
			
		||||
	export scripts_upd5="Remind me later"
 | 
			
		||||
	export scripts_upd6="Do not remind me"
 | 
			
		||||
 | 
			
		||||
	export port_clear_pfx="Do you want to clear prefix in PortProton?"
 | 
			
		||||
 | 
			
		||||
	export port_del1="Remove $portname"
 | 
			
		||||
	export port_del2="Are you sure you want to delete the ${portname}?\n"
 | 
			
		||||
	export port_del2="Are you sure you want to delete the PortProton"
 | 
			
		||||
	export port_del3="Remove?!"
 | 
			
		||||
	export port_del4="No!"
 | 
			
		||||
	export port_del5="Yes!"
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@ export WINEDLLOVERRIDES="xinput1_3,d3dcompiler_43=n,b"
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export PW_VULKAN_USE=dxvk
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_NVAPI_DISABLE=1
 | 
			
		||||
##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
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ export LAUNCH_PARAMETERS=""
 | 
			
		||||
export WINEDLLOVERRIDES="locationapi="
 | 
			
		||||
export PW_DLL_INSTALL="vcrun2019 d3dx11_42 d3dx11_43"
 | 
			
		||||
export PW_WINDOWS_VER=10
 | 
			
		||||
export PW_NVAPI_DISABLE=1
 | 
			
		||||
export PW_USE_NVAPI=0
 | 
			
		||||
 | 
			
		||||
ADD_IN_START_PORTWINE () {
 | 
			
		||||
    rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/ProgramData/Agent/data"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										33
									
								
								data_from_portwine/scripts/portwine_db/Biomutant
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								data_from_portwine/scripts/portwine_db/Biomutant
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: kosta
 | 
			
		||||
#Biomutant.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_VULKAN_USE=vkd3d
 | 
			
		||||
#####################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 WINEDLLOVERRIDES="blabla=n,b"
 | 
			
		||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')"                # Additional launch options
 | 
			
		||||
##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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
							
								
								
									
										38
									
								
								data_from_portwine/scripts/portwine_db/Control_DX11
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								data_from_portwine/scripts/portwine_db/Control_DX11
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: user
 | 
			
		||||
#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 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 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_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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
							
								
								
									
										38
									
								
								data_from_portwine/scripts/portwine_db/Control_DX12
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								data_from_portwine/scripts/portwine_db/Control_DX12
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: user
 | 
			
		||||
#Control_DX12.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_VULKAN_USE=vkd3d
 | 
			
		||||
export PW_COMMENT_DB="Control (DX12)"
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_MANGOHUD=1
 | 
			
		||||
export PW_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 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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
@@ -13,7 +13,7 @@ export WINEDLLOVERRIDES="Crash*,REDEngineErrorReporter.exe="
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ export PW_NO_ESYNC=1        # Do not use eventfd-based in-process synchronizatio
 | 
			
		||||
#export PW_VULKAN_NO_ASYNC=1
 | 
			
		||||
#export PW_USE_TERMINAL=1
 | 
			
		||||
#export PW_OLD_GL_STRING=0
 | 
			
		||||
#export PW_NVAPI_DISABLE=1
 | 
			
		||||
#export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ export PW_VULKAN_USE=0
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										39
									
								
								data_from_portwine/scripts/portwine_db/FL64
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										39
									
								
								data_from_portwine/scripts/portwine_db/FL64
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
    #Author: xuser
 | 
			
		||||
    #FL.exe 
 | 
			
		||||
    #FL64.exe
 | 
			
		||||
    #Rating=1-5
 | 
			
		||||
    ################################################
 | 
			
		||||
    export PW_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 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_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_USE_NVAPI=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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
@@ -11,7 +11,7 @@ export PW_NO_ESYNC=1        # Do not use eventfd-based in-process synchronizatio
 | 
			
		||||
export PW_DXVK_ASYNC=0
 | 
			
		||||
#export PW_USE_TERMINAL=0
 | 
			
		||||
export PW_OLD_GL_STRING=1
 | 
			
		||||
#export PW_NVAPI_DISABLE=1
 | 
			
		||||
#export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										36
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d11
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: nixon
 | 
			
		||||
#farcry3_d3d11.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_VULKAN_USE=dxvk
 | 
			
		||||
#export PW_MANGOHUD=1
 | 
			
		||||
export PW_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 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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
							
								
								
									
										36
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_3_d3d9
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: nixon
 | 
			
		||||
#farcry3.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_VULKAN_USE=0
 | 
			
		||||
#export PW_DLL_INSTALL=""  
 | 
			
		||||
#export PW_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 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_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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
							
								
								
									
										34
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_4
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								data_from_portwine/scripts/portwine_db/Far_Cry_4
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: nixon
 | 
			
		||||
#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) 
 | 
			
		||||
#####################examples###########################
 | 
			
		||||
##export PW_COMMENT_DB="blablabla"
 | 
			
		||||
##export PW_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_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 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 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 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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
							
								
								
									
										8
									
								
								data_from_portwine/scripts/portwine_db/ForzaHorizon4
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								data_from_portwine/scripts/portwine_db/ForzaHorizon4
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: garrett
 | 
			
		||||
#ForzaHorizon4.exe 
 | 
			
		||||
#Rating=5
 | 
			
		||||
################################################
 | 
			
		||||
export PW_DLL_INSTALL="dotnet472 vcrun2019" 
 | 
			
		||||
export PW_VULKAN_USE=vkd3d
 | 
			
		||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx_dotnet"
 | 
			
		||||
							
								
								
									
										7
									
								
								data_from_portwine/scripts/portwine_db/Game-TS3
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								data_from_portwine/scripts/portwine_db/Game-TS3
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: 
 | 
			
		||||
#Game-TS3.exe 
 | 
			
		||||
#Rating=5
 | 
			
		||||
################################################
 | 
			
		||||
export PW_VULKAN_USE=0
 | 
			
		||||
export LAUNCH_PARAMETERS=""
 | 
			
		||||
@@ -7,4 +7,4 @@ export PW_VULKAN_USE=vkd3d
 | 
			
		||||
export LAUNCH_PARAMETERS=""
 | 
			
		||||
export PW_DXGI_FROM_DXVK=1
 | 
			
		||||
#export MANGOHUD=1
 | 
			
		||||
#export PW_NVAPI_DISABLE=1            # for nvidia gpu
 | 
			
		||||
#export PW_USE_NVAPI=0            # for nvidia gpu
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ export PW_VULKAN_USE=dxvk #dxvk or vkd3d
 | 
			
		||||
#export PW_VULKAN_NO_ASYNC=1
 | 
			
		||||
#export PW_USE_TERMINAL=0
 | 
			
		||||
#export PW_OLD_GL_STRING=0
 | 
			
		||||
#export PW_NVAPI_DISABLE=1
 | 
			
		||||
#export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ export PW_VULKAN_USE=dxvk
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ export PW_DLL_INSTALL="physx d3dx9"                  # Install DDL in port prefi
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ export PW_DLL_INSTALL="physx d3dx9"                  # Install DDL in port prefi
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								data_from_portwine/scripts/portwine_db/Medal Of Honor -Allied Assault
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								data_from_portwine/scripts/portwine_db/Medal Of Honor -Allied Assault
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: Ridbowt (Nikola P.)
 | 
			
		||||
#MOHAA.exe
 | 
			
		||||
#moh_spearhead.exe
 | 
			
		||||
#moh_breakthrough.exe
 | 
			
		||||
#Rating=5
 | 
			
		||||
################################################
 | 
			
		||||
export PW_VULKAN_USE=0
 | 
			
		||||
export LAUNCH_PARAMETERS=""
 | 
			
		||||
export MESA_EXTENSION_MAX_YEAR=2002
 | 
			
		||||
@@ -1,9 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: test
 | 
			
		||||
#Author: vellyn
 | 
			
		||||
#MikuMikuDance.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_VULKAN_USE=dxvk
 | 
			
		||||
#####################examples###########################
 | 
			
		||||
##export PW_COMMENT_DB="blablabla"
 | 
			
		||||
##export PW_WINDOWS_VER=10                        # Set windows version 10, 7 or XP
 | 
			
		||||
@@ -13,19 +11,16 @@ export PW_VULKAN_USE=dxvk
 | 
			
		||||
##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_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_USE_BUILD_IN_DXGI=1
 | 
			
		||||
##export PW_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 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
 | 
			
		||||
@@ -33,6 +28,5 @@ export PW_VULKAN_USE=dxvk
 | 
			
		||||
##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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@ export PW_DLL_INSTALL="d3dcompiler_42 d3dcompiler_43 d3dx9"
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_NVAPI_DISABLE=1
 | 
			
		||||
##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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export PW_DLL_INSTALL="vcrun2010 vcrun2012 vcrun2017 d3dcompiler_43 d3dcompiler_
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
export PW_NVAPI_DISABLE=1
 | 
			
		||||
export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
##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_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
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ export PULSE_LATENCY_MSEC=150
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_NVAPI_DISABLE=1
 | 
			
		||||
##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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export PW_WINDOWS_VER=7                      # Set windows version 10, 7 or XP
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ export PW_DLL_INSTALL="corefonts"        # Install DDL in port prefix (used wine
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										23
									
								
								data_from_portwine/scripts/portwine_db/WorldOfTanksEnCoreLauncher
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
    #Author: cefeiko
 | 
			
		||||
    #WorldOfTanksEnCoreLauncher.exe 
 | 
			
		||||
    #Rating=1-5
 | 
			
		||||
    ################################################
 | 
			
		||||
    export PW_VULKAN_USE=dxvk
 | 
			
		||||
    export PW_USE_TERMINAL=0
 | 
			
		||||
    export WINEPREFIX="${PORT_WINE_PATH}/data/pfx_dotnet/"
 | 
			
		||||
    export PW_DLL_INSTALL="vcrun2017 vcrun6 mfc42 vb6run physx dotnet40 "        # Install DDL in port prefix (used winetricks) 
 | 
			
		||||
    export PW_COMMENT_DB="World Of Tanks EnCore"
 | 
			
		||||
    ## export DXVK_HUD=fps,devinfo
 | 
			
		||||
    ## export PW_MANGOHUD=1
 | 
			
		||||
#####################examples###########################
 | 
			
		||||
while [ `pidof -s dotNetFx40_Full_x86_x64.exe` ] ; do
 | 
			
		||||
    if  [ $? -eq 0 ] ; then
 | 
			
		||||
        sleep 1
 | 
			
		||||
    elif
 | 
			
		||||
        export dotnet_pids=`ps -ax | grep mscorsvw.exe | awk '{print $1}' | uniq`
 | 
			
		||||
        [ ! -z $dotnet_pids ]
 | 
			
		||||
        kill -n 9 $dotnet_pids
 | 
			
		||||
        sleep 1
 | 
			
		||||
    fi
 | 
			
		||||
done
 | 
			
		||||
@@ -13,7 +13,7 @@ export PW_DLL_INSTALL="d3dx9 d3dcompiler_43"        # Install DDL in port prefix
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
##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_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
 | 
			
		||||
@@ -35,8 +35,8 @@
 | 
			
		||||
 | 
			
		||||
##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 PW_GUI_DISABLED_CS=1                     # 1 = disabled GUI
 | 
			
		||||
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
 | 
			
		||||
export PW_DLL_INSTALL="vcrun2019 vcrun6 vcrun6sp6 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9"
 | 
			
		||||
export PW_DLL_INSTALL="vcrun6sp6 vcrun6 mfc42 vcrun2019 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9"
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export PW_DLL_INSTALL="d3dx9 d3dcompiler_43"        # Install DDL in port prefix
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export WINEDLLOVERRIDES="concrt140,msvcp140,msvcp140_1,msvcp140_2,d3dcompiler_47
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
##export PW_VKD3D_VER=2.2
 | 
			
		||||
##export PW_DXR_ON=1
 | 
			
		||||
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
 | 
			
		||||
##export PW_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										34
									
								
								data_from_portwine/scripts/portwine_db/osu
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								data_from_portwine/scripts/portwine_db/osu
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
#Author: xuser
 | 
			
		||||
#osu!.exe
 | 
			
		||||
#Rating=1-5
 | 
			
		||||
########################################################
 | 
			
		||||
export PW_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="dotnet40"               # 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_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 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 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 WINEARCH=win32                           # defaut = win64
 | 
			
		||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx_dotnet"
 | 
			
		||||
##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 
 | 
			
		||||
##ADD_IN_START_PORTWINE () { commands ; }
 | 
			
		||||
@@ -12,7 +12,7 @@ export PW_DLL_INSTALL="physx d3dx9"        # Install DDL in port prefix (used wi
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -9,22 +9,22 @@
 | 
			
		||||
################################################
 | 
			
		||||
export PW_VULKAN_USE=0 #dxvk or vkd3d
 | 
			
		||||
#export WINEDLLOVERRIDES="blabla=n,b"
 | 
			
		||||
#export PW_LOG=0             # Enable debug mode fo terminal 
 | 
			
		||||
#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_NVAPI_DISABLE=1
 | 
			
		||||
#export PW_USE_NVAPI=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=1             # 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 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 PULSE_LATENCY_MSEC=60
 | 
			
		||||
export PW_DLL_INSTALL="vcrun6 mfc42 vcrun6sp6 mfc120 vcrun2013"
 | 
			
		||||
export PW_DLL_INSTALL="vcrun6sp6 mfc42 vcrun6 vcrun2012 mfc120 vcrun2013"
 | 
			
		||||
#export LAUNCH_PARAMETERS="-d3d9"
 | 
			
		||||
export PW_GUI_DISABLED_CS=1
 | 
			
		||||
#export PW_WINDOWS_VER=XP                      # Set windows version 10, 7 or XP
 | 
			
		||||
@@ -9,8 +9,8 @@ export PW_COMMENT_DB="Wargaming Game Center"
 | 
			
		||||
export LAUNCH_PARAMETERS="--disable-gpu"            # Additional launch options
 | 
			
		||||
#export PW_USE_TERMINAL=1
 | 
			
		||||
export PW_WINDOWS_VER=10                        # Set windows version 10, 7 or XP
 | 
			
		||||
#export PW_NVAPI_DISABLE=1
 | 
			
		||||
#export PW_USE_NVAPI=0
 | 
			
		||||
#export WINEDLLOVERRIDES="ucrtbase,xaudio2_7,xaudio2_8=n"
 | 
			
		||||
export PW_DLL_INSTALL="lucida"     # Install DDL in port prefix (used winetricks) 
 | 
			
		||||
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
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ export PW_DLL_INSTALL="vcrun2013 vcrun2017 dotnet472"
 | 
			
		||||
##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_NVAPI_DISABLE=1
 | 
			
		||||
##export PW_USE_NVAPI=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
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
# Author: PortWINE-Linux.ru
 | 
			
		||||
. "$(dirname $(readlink -f "$0"))/runlib"
 | 
			
		||||
KILL_PORTWINE
 | 
			
		||||
if [ -e "${PORT_WINE_TMP_PATH}/pw_vulkan" ]; then
 | 
			
		||||
    rm -f "${PORT_WINE_TMP_PATH}/pw_vulkan"
 | 
			
		||||
fi
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
# Author: Castro-Fidel (PortWINE-Linux.ru)
 | 
			
		||||
# Development assistants: Cefeiko; Rus_Nor; gavr; RidBowt; Dezert1r
 | 
			
		||||
# Development assistants: Cefeiko; Rus_Nor; gavr; RidBowt; Dezert1r; Taz_mania; Anton_Famillianov
 | 
			
		||||
########################################################################
 | 
			
		||||
echo '
 | 
			
		||||
████─████─████─███─█───█─███─█──█─███
 | 
			
		||||
@@ -83,7 +83,7 @@ try_force_link_dir () {
 | 
			
		||||
try_download () {
 | 
			
		||||
    set -o pipefail
 | 
			
		||||
    wget -c -t 5 -T 2 "$1" --output-document="$2" 2>&1 | \
 | 
			
		||||
    sed -u 's/^[a-zA-Z\-].*//; s/.* \{1,2\}\([0-9]\{1,3\}\)%.*/\1\n#Downloading... \1%/; s/^20[0-9][0-9].*/#Done./' | \
 | 
			
		||||
    sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \
 | 
			
		||||
    zenity --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
 | 
			
		||||
}
 | 
			
		||||
@@ -131,6 +131,23 @@ pw_mangohud_check () {
 | 
			
		||||
        export DISABLE_MANGOHUD=1
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
pw_vkbasalt_check () {
 | 
			
		||||
    if [ -d "${HOME}/.local/share/reshade/Shaders/" ]; then
 | 
			
		||||
        export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf"
 | 
			
		||||
        [[ xuser = `cat "${VKBASALT_CONFIG_FILE}" | grep -om1 xuser` ]] && sed -i "s%/xuser/%/${USER}/%" "${VKBASALT_CONFIG_FILE}" 
 | 
			
		||||
    elif [ -d "/usr/share/reshade" ]; then
 | 
			
		||||
        export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf"
 | 
			
		||||
        mkdir -p "${HOME}/.local/share/reshade"
 | 
			
		||||
        cp -fR /usr/share/reshade "${HOME}/.local/share"
 | 
			
		||||
        [[ xuser = `cat "${VKBASALT_CONFIG_FILE}" | grep -om1 xuser` ]] && sed -i "s%/xuser/%/${USER}/%" "${VKBASALT_CONFIG_FILE}"
 | 
			
		||||
        [[ Shaders = `cat "${VKBASALT_CONFIG_FILE}" | grep -om1 Shaders` ]] && sed -i "s%/Shaders/%/shaders/%" "${VKBASALT_CONFIG_FILE}"
 | 
			
		||||
        [[ Textures = `cat "${VKBASALT_CONFIG_FILE}" | grep -om1 Textures` ]] && sed -i 's%/Textures$%/textures%' "${VKBASALT_CONFIG_FILE}"
 | 
			
		||||
    fi
 | 
			
		||||
} 
 | 
			
		||||
gui_question () {
 | 
			
		||||
    `zenity --question --title "${inst_set}." --text "$1" --no-wrap ` &> /dev/null
 | 
			
		||||
     [ $? -eq "0" ] && return 0 || return 1
 | 
			
		||||
}
 | 
			
		||||
pw_clear_pfx () {
 | 
			
		||||
    try_remove_file "${WINEPREFIX}/system.reg"
 | 
			
		||||
    try_remove_file "${WINEPREFIX}/user.reg"
 | 
			
		||||
@@ -163,10 +180,17 @@ pw_clear_pfx () {
 | 
			
		||||
    try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Common Files"
 | 
			
		||||
    try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Windows Media Player"
 | 
			
		||||
    try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Windows NT"
 | 
			
		||||
    try_remove_dir  "${PORT_WINE_TMP_PATH}/mesa_shader_cache"
 | 
			
		||||
    try_remove_dir "${PORT_WINE_TMP_PATH}/mesa_shader_cache"
 | 
			
		||||
    rm -f "${PORT_WINE_TMP_PATH}"/*.bin
 | 
			
		||||
    rm -f "${PORT_WINE_TMP_PATH}"/*.foz
 | 
			
		||||
}
 | 
			
		||||
check_user_conf () {
 | 
			
		||||
    if [ ! -f "${USER_CONF}" ]; then
 | 
			
		||||
        echo "#!/bin/bash" > "${USER_CONF}"
 | 
			
		||||
        echo "# User overides db and var settings..." >> "${USER_CONF}"
 | 
			
		||||
        chmod u+x "${USER_CONF}"
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
sszen() {
 | 
			
		||||
    zenity --progress --title="Settings..." --text="Updating parameters" --pulsate --auto-close --width=500 --height=90 --no-cancel
 | 
			
		||||
}
 | 
			
		||||
@@ -182,13 +206,13 @@ PW_START_PROGRESS_BAR_BLOCK () {
 | 
			
		||||
}
 | 
			
		||||
PW_STOP_PROGRESS_BAR () {
 | 
			
		||||
    while [ ! -z "`pgrep -a yad | grep "\-\-progress" | awk '{print $1}'`" ] 
 | 
			
		||||
    do kill -n 9 `pgrep -a yad | grep "\-\-progress" | awk '{print $1}' | head -n 1`
 | 
			
		||||
    do kill -n 9 `pgrep -a yad | grep "\-\-progress" | awk '{print $1}' | head -n 1` &> /dev/null
 | 
			
		||||
    done
 | 
			
		||||
}
 | 
			
		||||
PW_LOAD_LIBS () {
 | 
			
		||||
    if [ ! -e "${PW_WINELIB}/run-in-soldier" ] || [ ! -e "${PW_WINELIB}/runtime/bin/yad" ] || [ ! -e "${PW_WINELIB}/runtime/lib/p7zip/7zr" ] \
 | 
			
		||||
    if [ ! -e "${PW_WINELIB}/runtime/bin/yad" ] || [ ! -e "${PW_WINELIB}/runtime/lib/p7zip/7z" ] \
 | 
			
		||||
    || [ ! -e "${PW_WINELIB}/runtime/bin/vkcube" ] || [ ! -e "${PW_WINELIB}/runtime/bin/xterm" ] || \
 | 
			
		||||
    [ -e "${HOME}/.PortWINE/tmp/libs${pw_libs_ver}.tar.xz" ] ; then 
 | 
			
		||||
    [ -e "${HOME}/.PortWINE/tmp/libs${pw_libs_ver}.tar.xz" ] ; then
 | 
			
		||||
        print_info "Download and install libraries..."
 | 
			
		||||
        if try_download "https://github.com/Castro-Fidel/PortWINE/releases/download/libs${pw_libs_ver}/libs${pw_libs_ver}.tar.xz" "${HOME}/.PortWINE/tmp/libs${pw_libs_ver}.tar.xz" ; then
 | 
			
		||||
            if unpack_tar_xz "${HOME}/.PortWINE/tmp/libs${pw_libs_ver}.tar.xz" "${HOME}/.PortWINE/" ; then
 | 
			
		||||
@@ -207,8 +231,9 @@ PW_LOAD_LIBS () {
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
    export pw_yad="${PW_WINELIB}/runtime/bin/yad"
 | 
			
		||||
    export pw_yad_new="${PW_WINELIB}/runtime/bin/yad_new"
 | 
			
		||||
    export pw_zstd="${PW_WINELIB}/runtime/bin/zstd"
 | 
			
		||||
    export pw_7z="${PW_WINELIB}/runtime/lib/p7zip/7zr"
 | 
			
		||||
    export pw_7z="${PW_WINELIB}/runtime/lib/p7zip/7z"
 | 
			
		||||
    if [ -x "`which xterm 2>/dev/null`" ]; then
 | 
			
		||||
        export SYS_XTERM=`which xterm`
 | 
			
		||||
        export PW_XTERM="${SYS_XTERM} -geometry 159x37 -e"
 | 
			
		||||
@@ -269,38 +294,97 @@ PW_DOWNLOAD_GECKO () {
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
START_PORTWINE ()
 | 
			
		||||
    {
 | 
			
		||||
PW_TRAY_ICON () {
 | 
			
		||||
    if [ -z "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`" ] ; then
 | 
			
		||||
        tray_icon_click() {
 | 
			
		||||
            echo ""
 | 
			
		||||
        }
 | 
			
		||||
        export -f tray_icon_click
 | 
			
		||||
        tray_icon_click_exit() {
 | 
			
		||||
            KILL_PORTWINE
 | 
			
		||||
            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
 | 
			
		||||
        }
 | 
			
		||||
        export -f tray_icon_click_exit
 | 
			
		||||
 | 
			
		||||
        "${pw_yad_new}" --notification --no-middle --text="PortProton" \
 | 
			
		||||
        --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
 | 
			
		||||
        --image="$PW_GUI_ICON_PATH/port_proton.png" \
 | 
			
		||||
        --command="bash -c tray_icon_click" \
 | 
			
		||||
        --tooltip="PortProton" \
 | 
			
		||||
        --menu="| \
 | 
			
		||||
<<< CHANGE LOG >>>!bash -c open_changelog!"$PW_GUI_ICON_PATH/port_changelog.png"| \
 | 
			
		||||
<<<   FORCE EXIT   >>>!bash -c tray_icon_click_exit!"$PW_GUI_ICON_PATH/port_exit.png"|"
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
START_PORTWINE () {
 | 
			
		||||
    PW_TRAY_ICON &
 | 
			
		||||
    . "${USER_CONF}"
 | 
			
		||||
    if [ -x "`which konsole 2>/dev/null`" ]; then export PW_TERM="konsole --nofork -e"
 | 
			
		||||
#    elif [ -x "`which gnome-terminal 2>/dev/null`" ]; then export PW_TERM="gnome-terminal -- /bin/bash" ???
 | 
			
		||||
    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}"
 | 
			
		||||
    fi
 | 
			
		||||
    if [ ! -f "${HOME}/.Xresources" ]; then
 | 
			
		||||
        cp -f "${PORT_SCRIPTS_PATH}/.Xresources" "${HOME}"
 | 
			
		||||
        xrdb -merge "${HOME}/.Xresources"
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    PW_START_PROGRESS_BAR_CS "Start ${portname}... Please wait..."
 | 
			
		||||
 | 
			
		||||
    export WINE_GST_REGISTRY_DIR="${PORT_WINE_TMP_PATH}"
 | 
			
		||||
    export MEDIACONV_AUDIO_DUMP_FILE="${PORT_WINE_TMP_PATH}"/audio.foz
 | 
			
		||||
    export MEDIACONV_AUDIO_TRANSCODED_FILE="${PORT_WINE_TMP_PATH}"/transcoded_audio.foz
 | 
			
		||||
    export MEDIACONV_VIDEO_DUMP_FILE="${PORT_WINE_TMP_PATH}"/video.foz
 | 
			
		||||
    export MEDIACONV_VIDEO_TRANSCODED_FILE="${PORT_WINE_TMP_PATH}"/transcoded_video.foz
 | 
			
		||||
    export GST_PLUGIN_SYSTEM_PATH_1_0="${WINEDIR}/lib64/gstreamer-1.0:${WINEDIR}/lib/gstreamer-1.0"
 | 
			
		||||
    export STAGING_SHARED_MEMORY=1
 | 
			
		||||
    export PW_FORCE_LARGE_ADDRESS_AWARE=1
 | 
			
		||||
    export WINE="${WINEDIR}/bin/wine"
 | 
			
		||||
    export WINELOADER="${WINEDIR}/bin/wine"
 | 
			
		||||
    export WINESERVER="${WINEDIR}/bin/wineserver"
 | 
			
		||||
    export WINEDLLPATH="${WINEDIR}/lib/wine"
 | 
			
		||||
    export WINEDLLPATH="${WINEDIR}/lib64/wine:${WINEDIR}/lib/wine"
 | 
			
		||||
 | 
			
		||||
    create_new_dir "${WINEDIR}/share/wine/"
 | 
			
		||||
    try_remove_dir"${WINEDIR}"/share/wine/gecko
 | 
			
		||||
    try_remove_dir"${WINEDIR}"/share/wine/mono
 | 
			
		||||
    try_remove_dir "${WINEDIR}"/share/wine/gecko
 | 
			
		||||
    try_remove_dir "${WINEDIR}"/share/wine/mono
 | 
			
		||||
    try_force_link_dir "${HOME}/.PortWINE/gecko" "${WINEDIR}"/share/wine/
 | 
			
		||||
    try_force_link_dir "${HOME}/.PortWINE/mono" "${WINEDIR}"/share/wine/
 | 
			
		||||
    if [ -d ${PATH_TO_GAME} ]
 | 
			
		||||
    then export WINEDLLPATH="${WINEDIR}/lib64/wine:${WINEDIR}/lib/wine:${PATH_TO_GAME}"
 | 
			
		||||
    else export WINEDLLPATH="${WINEDIR}/lib64/wine:${WINEDIR}/lib/wine"
 | 
			
		||||
 | 
			
		||||
    if [ ! -z "${LD_LIBRARY_PATH}" ]
 | 
			
		||||
    then export LD_LIBRARY_PATH="${WINEDIR}/lib64/:${WINEDIR}/lib/:${LD_LIBRARY_PATH}"
 | 
			
		||||
    else export LD_LIBRARY_PATH="${WINEDIR}/lib64/:${WINEDIR}/lib/"
 | 
			
		||||
    fi
 | 
			
		||||
    if [ ! -z "${PATH}" ]
 | 
			
		||||
    then export PATH="${WINEDIR}/bin:${PATH}"
 | 
			
		||||
    else export PATH="${WINEDIR}/bin"
 | 
			
		||||
    fi
 | 
			
		||||
    export LD_LIBRARY_PATH="${WINEDIR}/lib64:${WINEDIR}/lib"
 | 
			
		||||
    if [ "${PW_USE_RUNTIME}" = 0 ] ; then
 | 
			
		||||
        export PW_RUNTIME=""
 | 
			
		||||
        echo "RUNTIME is disabled"
 | 
			
		||||
    else
 | 
			
		||||
        export PW_RUNTIME="${PW_WINELIB}/run-in-soldier --share-home --filesystem="${PORT_WINE_PATH}" --runtime=runtime --"
 | 
			
		||||
        export PW_AND_RUNTIME_LIBRARY_PATH="/overrides/lib/x86_64-linux-gnu/:/overrides/lib/x86_64-linux-gnu/aliases/:/overrides/lib/i386-linux-gnu/:/overrides/lib/i386-linux-gnu/aliases/:"
 | 
			
		||||
        if [ ! -z "${PW_SANDBOX_HOME_PATH}" ] && [ -d "${PW_SANDBOX_HOME_PATH}" ]; then
 | 
			
		||||
            export PW_RUNTIME="${PW_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
 | 
			
		||||
            --unshare-home \
 | 
			
		||||
            --home="${PW_SANDBOX_HOME_PATH}" \
 | 
			
		||||
            --runtime=${PW_WINELIB}/runtime \
 | 
			
		||||
            --"
 | 
			
		||||
        else
 | 
			
		||||
            export PW_RUNTIME="${PW_WINELIB}/pressure-vessel/bin/pressure-vessel-unruntime \
 | 
			
		||||
            --share-home \
 | 
			
		||||
            --runtime=${PW_WINELIB}/runtime \
 | 
			
		||||
            --"
 | 
			
		||||
        fi
 | 
			
		||||
        export PRESSURE_VESSEL_VARIABLE_DIR="${PW_WINELIB}/runtime"
 | 
			
		||||
        export PRESSURE_VESSEL_REMOVE_GAME_OVERLAY=0
 | 
			
		||||
        export PRESSURE_VESSEL_IMPORT_VULKAN_LAYERS=1
 | 
			
		||||
        export PRESSURE_VESSEL_GC_RUNTIMES=0
 | 
			
		||||
        export PRESSURE_VESSEL_GC_LEGACY_RUNTIMES=0
 | 
			
		||||
        export PRESSURE_VESSEL_RUNTIME_BASE="${PW_WINELIB}"
 | 
			
		||||
        export PRESSURE_VESSEL_PREFIX="${PW_WINELIB}/pressure-vessel"
 | 
			
		||||
        unset PRESSURE_VESSEL_FILESYSTEMS_RO
 | 
			
		||||
        unset PRESSURE_VESSEL_FILESYSTEMS_RW
 | 
			
		||||
        for PWRTMRO in ${PW_RT_MOUNT_RO[*]} ; do
 | 
			
		||||
@@ -315,22 +399,11 @@ START_PORTWINE ()
 | 
			
		||||
            else export PRESSURE_VESSEL_FILESYSTEMS_RW="${PWRTMRW}"
 | 
			
		||||
            fi
 | 
			
		||||
        done
 | 
			
		||||
        ln -sf "${WINEDIR}"/lib64/*so* "${PW_WINELIB}/runtime/lib/x86_64-linux-gnu/"
 | 
			
		||||
        ln -sf "${WINEDIR}"/lib/*so* "${PW_WINELIB}/runtime/lib/i386-linux-gnu/"
 | 
			
		||||
        echo "RUNTIME is enabled"
 | 
			
		||||
    fi
 | 
			
		||||
    export WINE="${WINELOADER}"
 | 
			
		||||
    export WINE_GST_REGISTRY_DIR="${PORT_WINE_TMP_PATH}"
 | 
			
		||||
    export MEDIACONV_AUDIO_DUMP_FILE="${PORT_WINE_TMP_PATH}"/audio.foz
 | 
			
		||||
    export MEDIACONV_AUDIO_TRANSCODED_FILE="${PORT_WINE_TMP_PATH}"/transcoded_audio.foz
 | 
			
		||||
    export MEDIACONV_VIDEO_DUMP_FILE="${PORT_WINE_TMP_PATH}"/video.foz
 | 
			
		||||
    export MEDIACONV_VIDEO_TRANSCODED_FILE="${PORT_WINE_TMP_PATH}"/transcoded_video.foz
 | 
			
		||||
    export GST_PLUGIN_PATH_1_0="${WINEDIR}/lib64/gstreamer-1.0:${WINEDIR}/lib/gstreamer-1.0"
 | 
			
		||||
    export STAGING_SHARED_MEMORY=1
 | 
			
		||||
    export PW_FORCE_LARGE_ADDRESS_AWARE=1
 | 
			
		||||
 | 
			
		||||
    if [ ! -z "${PW_LOG}" ] && [ "${PW_LOG}" != 0 ] ; then
 | 
			
		||||
        export WINEDEBUG="fixme+all,err+loaddll,err+dll,err+file,err+reg"
 | 
			
		||||
        export WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg"
 | 
			
		||||
        export DXVK_LOG_LEVEL="info"
 | 
			
		||||
        export VKD3D_DEBUG="warn"
 | 
			
		||||
        export WINE_MONO_TRACE="E:System.NotImplementedException"
 | 
			
		||||
@@ -370,7 +443,12 @@ START_PORTWINE ()
 | 
			
		||||
        export RADV_DEBUG="llvm"
 | 
			
		||||
        var_vkd3d_config_update single_queue
 | 
			
		||||
    fi
 | 
			
		||||
    if [ ! -z "${PW_NVAPI_DISABLE}" ] && [ "${PW_NVAPI_DISABLE}" != 0 ] ; then
 | 
			
		||||
    if [ ! -z "${PW_USE_NVAPI}" ] && [ "${PW_USE_NVAPI}" == 1 ] && [ -d "${WINEDIR}/lib/wine/nvapi/" ]
 | 
			
		||||
    then
 | 
			
		||||
        try_copy_file "${WINEDIR}/lib/wine/nvapi/nvapi.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
        try_copy_file "${WINEDIR}/lib64/wine/nvapi/nvapi64.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
        var_winedlloverride_update "nvapi,nvapi64=n"
 | 
			
		||||
    else
 | 
			
		||||
        var_winedlloverride_update "nvapi,nvapi64="
 | 
			
		||||
    fi
 | 
			
		||||
    if [ ! -z "${PW_WINEDBG_DISABLE}" ] && [ "${PW_WINEDBG_DISABLE}" != 0 ] ; then
 | 
			
		||||
@@ -438,9 +516,11 @@ START_PORTWINE ()
 | 
			
		||||
        killall xneur
 | 
			
		||||
        export int_xneur=1
 | 
			
		||||
    fi
 | 
			
		||||
    export PW_XKBD="$(setxkbmap -query | grep -w ru | awk '{print($2)}')"
 | 
			
		||||
    if [ ! -z ${PW_XKBD} ]; then
 | 
			
		||||
        setxkbmap us,ru
 | 
			
		||||
    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
 | 
			
		||||
            setxkbmap us,ru
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
    if [ -x "`which "gamemoderun" 2>/dev/null`" ] && [ "$PW_USE_GAMEMODE" = "1" ]; then
 | 
			
		||||
        export PW_GAMEMODERUN=1
 | 
			
		||||
@@ -474,6 +554,7 @@ KILL_PORTWINE () {
 | 
			
		||||
        kill -n 9 `pgrep -a bwrap | grep ${portname} | head -n 1 | awk '{print $1}'`
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
export -f KILL_PORTWINE
 | 
			
		||||
 | 
			
		||||
STOP_PORTWINE () {
 | 
			
		||||
    WAIT_WINESERVER
 | 
			
		||||
@@ -487,10 +568,14 @@ STOP_PORTWINE () {
 | 
			
		||||
    PW_STOP_PROGRESS_BAR
 | 
			
		||||
    try_remove_file "${PORT_SCRIPTS_PATH}/0"
 | 
			
		||||
    try_remove_file "${PORT_SCRIPTS_PATH}/1"
 | 
			
		||||
    KILL_PORTWINE
 | 
			
		||||
    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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
UPDATE_WINETRICKS () {
 | 
			
		||||
    W_TRX_URL="https://raw.githubusercontent.com/GloriousEggroll/protonfixes/master/winetricks"
 | 
			
		||||
    W_TRX_URL="https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
 | 
			
		||||
    W_TRX_EXT_VER="$(curl -s --list-only ${W_TRX_URL} | grep -i 'WINETRICKS_VERSION=' | sed 's/WINETRICKS_VERSION=//')"
 | 
			
		||||
    print_info "Version winetricks on server: ${W_TRX_EXT_VER}"
 | 
			
		||||
    W_TRX_INT_VER="$(cat "${PORT_WINE_TMP_PATH}/winetricks" | grep -i 'WINETRICKS_VERSION=' | sed 's/WINETRICKS_VERSION=//')"
 | 
			
		||||
@@ -520,6 +605,7 @@ RUN_WINETRICKS_FROM_DB () {
 | 
			
		||||
        if [ ! -e "${WINEPREFIX}/winetricks.log" ] ; then
 | 
			
		||||
            touch "${WINEPREFIX}/winetricks.log"
 | 
			
		||||
        fi
 | 
			
		||||
        try_remove_dir "${HOME}/.cache/winetricks/vcrun2019/"
 | 
			
		||||
        for need_install_dll_to_pfx in ${PW_DLL_INSTALL} ; do
 | 
			
		||||
            if [ "${need_install_dll_to_pfx}" == "vcrun2015" ] || [ "${need_install_dll_to_pfx}" == "vcrun2017" ] ; then
 | 
			
		||||
                need_install_dll_to_pfx="vcrun2019"
 | 
			
		||||
@@ -539,10 +625,10 @@ RUN_WINETRICKS_FROM_DB () {
 | 
			
		||||
            fi
 | 
			
		||||
        done
 | 
			
		||||
        if [ "${USE_WT_FROM_DB}" == "1" ] ; then
 | 
			
		||||
            UPDATE_WINETRICKS
 | 
			
		||||
            PW_STOP_PROGRESS_BAR
 | 
			
		||||
            print_info "Need to install DLL in prefix: ${PW_DLL_NEED_INSTALL}"
 | 
			
		||||
            ${PW_TERM} "${PORT_WINE_TMP_PATH}/winetricks" -q --force ${PW_DLL_NEED_INSTALL}
 | 
			
		||||
            print_info "Try to install DLL in prefix: ${PW_DLL_NEED_INSTALL}"
 | 
			
		||||
            chmod -R 775 "${HOME}/.cache/winetricks"
 | 
			
		||||
            ${PW_RUNTIME} xterm -e env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${PORT_WINE_TMP_PATH}/winetricks" -q ${PW_DLL_NEED_INSTALL}
 | 
			
		||||
        fi
 | 
			
		||||
        PW_START_PROGRESS_BAR_CS "Start ${portname}... Please wait..."
 | 
			
		||||
    fi
 | 
			
		||||
@@ -550,8 +636,9 @@ RUN_WINETRICKS_FROM_DB () {
 | 
			
		||||
        if [ ! -z "${PW_WINDOWS_VER}" ] && [ `echo "$PW_WINDOWS_VER" | sed 's/.*/\L&/'` == "xp" ] ; then
 | 
			
		||||
            export PW_WINDOWS_VER="xp64"
 | 
			
		||||
        fi
 | 
			
		||||
        ${PW_RUNTIME} "${WINELOADER}" winecfg -v `echo "win${PW_WINDOWS_VER}" | sed 's/.*/\L&/'`
 | 
			
		||||
        ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" winecfg -v `echo "win${PW_WINDOWS_VER}" | sed 's/.*/\L&/'`
 | 
			
		||||
        echo "Set to win${PW_WINDOWS_VER}"
 | 
			
		||||
        WAIT_WINESERVER
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
PW_INIT_DB () {
 | 
			
		||||
@@ -653,31 +740,32 @@ PW_INIT_PFX () {
 | 
			
		||||
        create_new_dir "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
        [ ! -d "${WINEPREFIX}/dosdevices/c:" ] && try_force_link_dir "${WINEPREFIX}/drive_c/" "${WINEPREFIX}/dosdevices/c:"
 | 
			
		||||
        [ ! -d "${WINEPREFIX}/dosdevices/z:" ] && try_force_link_dir "/" "${WINEPREFIX}/dosdevices/z:"
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
        PW_START_PROGRESS_BAR_BLOCK "Updating prefix... Please wait..."
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        ${PW_RUNTIME} "${WINELOADER}" wineboot -u
 | 
			
		||||
        WAIT_WINESERVER
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
        PW_START_PROGRESS_BAR_CS "Initialization prefix..."
 | 
			
		||||
        create_new_dir "${WINEPREFIX}/drive_c/windows/Fonts/"
 | 
			
		||||
        try_copy_file "${WINEDIR}/share/fonts/"LiberationSans-Regular.ttf "${WINEPREFIX}/drive_c/windows/Fonts/"arial.ttf
 | 
			
		||||
        try_copy_file "${WINEDIR}/share/fonts/"LiberationSans-Bold.ttf "${WINEPREFIX}/drive_c/windows/Fonts/"arialbd.ttf
 | 
			
		||||
        try_copy_file "${WINEDIR}/share/fonts/"LiberationSerif-Regular.ttf "${WINEPREFIX}/drive_c/windows/Fonts/"times.ttf
 | 
			
		||||
        try_copy_file "${WINEDIR}/share/fonts/"LiberationMono-Regular.ttf "${WINEPREFIX}/drive_c/windows/Fonts/"cour.ttf
 | 
			
		||||
        try_copy_file "${WINEDIR}/share/fonts/"SourceHanSansSCRegular.otf "${WINEPREFIX}/drive_c/windows/Fonts/"msyh.ttf
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
        PW_START_PROGRESS_BAR_BLOCK "Updating prefix... Please wait..."
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" wineboot -u
 | 
			
		||||
        WAIT_WINESERVER
 | 
			
		||||
        KILL_PORTWINE
 | 
			
		||||
        PW_STOP_PROGRESS_BAR
 | 
			
		||||
        PW_START_PROGRESS_BAR_CS "Initialization prefix..."
 | 
			
		||||
    fi
 | 
			
		||||
    [ ! -d "${WINEPREFIX}/dosdevices/c:" ] && try_force_link_dir "${WINEPREFIX}/drive_c/" "${WINEPREFIX}/dosdevices/c:"
 | 
			
		||||
    [ ! -d "${WINEPREFIX}/dosdevices/z:" ] && try_force_link_dir "/" "${WINEPREFIX}/dosdevices/z:"
 | 
			
		||||
    if [ ! -d "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}" ]; then
 | 
			
		||||
	    try_force_link_dir "${PORT_WINE_PATH}/data/pfx/drive_c/users/steamuser" "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}"
 | 
			
		||||
    fi
 | 
			
		||||
    if [ ! -d "${PORT_WINE_PATH}/drive_c" ]; then
 | 
			
		||||
	    try_force_link_dir "${PORT_WINE_PATH}/data/pfx/drive_c/" "${PORT_WINE_PATH}/"
 | 
			
		||||
    fi
 | 
			
		||||
    [ ! -d "${PORT_WINE_PATH}/drive_c" ] && try_force_link_dir "${PORT_WINE_PATH}/data/pfx/drive_c/" "${PORT_WINE_PATH}/"
 | 
			
		||||
    create_new_dir "${WINEPREFIX}/drive_c/users/Public/Documents/Steam"
 | 
			
		||||
    create_new_dir "${WINEPREFIX}/drive_c/users/steamuser/Documents/Steam"
 | 
			
		||||
    if [ ! -d "${WINEPREFIX}/drive_c/users/steamuser/My Documents" ]
 | 
			
		||||
    then try_force_link_dir "${WINEPREFIX}/drive_c/users/steamuser/Documents" "${WINEPREFIX}/drive_c/users/steamuser/My Documents"
 | 
			
		||||
    fi
 | 
			
		||||
    var_winedlloverride_update "steam_api,steam_api64,steamclient,steamclient64=n"
 | 
			
		||||
 | 
			
		||||
    # export TOTAL_VRAM=`"${PW_WINELIB}/runtime/bin/glxinfo" -B | grep Total | awk -F: '{print $2}' | awk '{print $1}'`
 | 
			
		||||
@@ -689,10 +777,11 @@ PW_INIT_PFX () {
 | 
			
		||||
    if ! try_copy_file "${WINEDIR}"/lib64/wine/fakedlls/dxgi.dll "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
    then try_copy_file "${WINEDIR}"/lib64/wine/x86_64-windows/dxgi.dll "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
    fi
 | 
			
		||||
    try_copy_file "${WINEDIR}/lib/wine/dxvk/dxvk_config.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
    try_copy_file "${WINEDIR}/lib64/wine/dxvk/dxvk_config.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
    if [ "${PW_VULKAN_USE}" = "0" ] ; then
 | 
			
		||||
        export MESA_GLSL_CACHE_DIR="${PORT_WINE_TMP_PATH}"
 | 
			
		||||
        export __GLX_VENDOR_LIBRARY_NAME=nvidia
 | 
			
		||||
        export GL_NO_DSO_FINALIZER=1
 | 
			
		||||
        export GL_YIELD="NOTHING"
 | 
			
		||||
        for wine_build_dll in d3d11 d3d10 d3d10core d3d10_1 d3d9 ; do
 | 
			
		||||
            if ! try_copy_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
@@ -710,25 +799,27 @@ PW_INIT_PFX () {
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
            var_winedlloverride_update "${wine_vkd3d_dll}=n"
 | 
			
		||||
            var_winedlloverride_update="dxgi=b"
 | 
			
		||||
        done
 | 
			
		||||
        var_winedlloverride_update "dxgi=b"
 | 
			
		||||
        export VKD3D_FEATURE_LEVEL="12_0"
 | 
			
		||||
        echo "Use VKD3D-PROTON only (DX12 to vulkan)"
 | 
			
		||||
    else
 | 
			
		||||
        export CP_DXVK_FILES="d3d11 d3d10 d3d10core d3d10_1 d3d9 dxgi dxvk_config"
 | 
			
		||||
        export CP_DXVK_FILES="d3d11 d3d10 d3d10core d3d10_1 d3d9 dxgi"
 | 
			
		||||
        echo "Try copy native DXVK files"
 | 
			
		||||
        for wine_dxvk_dll in ${CP_DXVK_FILES} ; do
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib/wine/dxvk/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib64/wine/dxvk/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
            var_winedlloverride_update "${wine_dxvk_dll}=n"
 | 
			
		||||
        done
 | 
			
		||||
        echo "Try copy native VKD3D files"
 | 
			
		||||
        for wine_vkd3d_dll in d3d12 libvkd3d-proton-utils-3 ; do
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
            try_copy_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
            var_winedlloverride_update "${wine_vkd3d_dll}=n"
 | 
			
		||||
        done
 | 
			
		||||
        echo "Use DXVK + VKD3D-PROTON"
 | 
			
		||||
        # echo "Try copy native VKD3D files"
 | 
			
		||||
        # for wine_vkd3d_dll in d3d12 libvkd3d-proton-utils-3 ; do
 | 
			
		||||
        #     try_copy_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
 | 
			
		||||
        #     try_copy_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
 | 
			
		||||
        #     var_winedlloverride_update "${wine_vkd3d_dll}=n"
 | 
			
		||||
        # done
 | 
			
		||||
        # echo "Use DXVK + VKD3D-PROTON"
 | 
			
		||||
        var_winedlloverride_update "d3d12,libvkd3d-proton-utils-3="
 | 
			
		||||
        echo "Use DXVK"
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    PW_OTHER_FIXES
 | 
			
		||||
@@ -744,9 +835,11 @@ PW_SCRIPTS_UPDATE () {
 | 
			
		||||
    fi
 | 
			
		||||
    read "scripts_update_not" < "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
 | 
			
		||||
    if [ "${scripts_update_not}" = "1" ] ; then
 | 
			
		||||
        if try_download_silent "${PW_FTP_URL}/current_version/scripts_ver" "${PORT_WINE_TMP_PATH}/scripts_cur_ver" ; then
 | 
			
		||||
            read scripts_current_ver < "${PORT_WINE_TMP_PATH}/scripts_cur_ver"
 | 
			
		||||
        if try_download_silent "https://github.com/Castro-Fidel/PortWINE/raw/master/data_from_portwine/scripts/var" "${PORT_WINE_TMP_PATH}/scripts_cur_ver" ; then         
 | 
			
		||||
            export scripts_current_ver=`cat "${PORT_WINE_TMP_PATH}/scripts_cur_ver" | grep SCRIPTS_VERSION | awk -F "=" '{print $2}'`
 | 
			
		||||
            try_remove_file "${PORT_WINE_TMP_PATH}/scripts_cur_ver"
 | 
			
		||||
            echo "Scripts version in github = ${scripts_current_ver}"
 | 
			
		||||
            echo "Scripts version local = ${scripts_install_ver}"
 | 
			
		||||
            if [ ! -z "${scripts_current_ver}" ] && [ "${scripts_current_ver}" -gt "${scripts_install_ver}" ] ; then
 | 
			
		||||
                xcsd=`zenity --title  "${scripts_upd1}" --text "${scripts_upd2}" --list --radiolist --height=230 --column="${inst_set}" --column "${scripts_upd3}" \
 | 
			
		||||
                TRUE "${scripts_upd4}" \
 | 
			
		||||
@@ -756,11 +849,13 @@ PW_SCRIPTS_UPDATE () {
 | 
			
		||||
                    "${scripts_upd4}")
 | 
			
		||||
                        echo "######################################################"
 | 
			
		||||
                        echo "Update scripts..."
 | 
			
		||||
                        try_remove_file "${PORT_WINE_TMP_PATH}/scripts.tar.xz"
 | 
			
		||||
                        if try_download_silent "${PW_FTP_URL}/dist/scripts.tar.xz" "${PORT_WINE_TMP_PATH}/scripts.tar.xz" ; then
 | 
			
		||||
                            tar -Jxvf "${PORT_WINE_TMP_PATH}/scripts.tar.xz" -C "${PORT_WINE_PATH}/data/"
 | 
			
		||||
                        try_remove_file "${PORT_WINE_TMP_PATH}/PortWINE-master.tar.gz"
 | 
			
		||||
                        if try_download "https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz" "${PORT_WINE_TMP_PATH}/PortWINE-master.tar.gz" ; then
 | 
			
		||||
                            tar -xvzf "${PORT_WINE_TMP_PATH}/PortWINE-master.tar.gz" -C "${PORT_WINE_TMP_PATH}" 
 | 
			
		||||
                            if [ "$?" == "0" ] ; then
 | 
			
		||||
                                try_remove_file "${PORT_WINE_TMP_PATH}/scripts.tar.xz"
 | 
			
		||||
                                cp -fr "${PORT_WINE_TMP_PATH}/PortWINE-master/data_from_portwine/"* "${PORT_WINE_PATH}/data/"
 | 
			
		||||
                                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"
 | 
			
		||||
                                "${pw_yad}" --title="Changelog" --borders=10 \
 | 
			
		||||
                                --text="Скрипты были успешно обновлены.\nДля продолжения запуска порта нажмите ОК." \
 | 
			
		||||
@@ -790,33 +885,31 @@ PW_RUN () {
 | 
			
		||||
        cd "${WINEPREFIX}/drive_c"
 | 
			
		||||
    fi
 | 
			
		||||
    pw_mangohud_check
 | 
			
		||||
    pw_vkbasalt_check
 | 
			
		||||
    print_var "WINEDIR" "WINEARCH" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME" "PW_VULKAN_USE" "VKD3D_CONFIG"
 | 
			
		||||
    if [ "${PW_LOG}" == 1 ] ; then
 | 
			
		||||
        export PW_TERM=""
 | 
			
		||||
        export PW_LOG_TO_FILE="${PORT_WINE_PATH}/${portname}.log"
 | 
			
		||||
        if [ ! -z "${PW_GAMEMODERUN}" ] && [ "${PW_GAMEMODERUN}" != 0 ] ; then
 | 
			
		||||
            echo "Use logging with gamemode"
 | 
			
		||||
            echo "Full command line:  $PW_TERM ${optirun_on} gamemoderun ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" "&>>${PW_LOG_TO_FILE}"
 | 
			
		||||
            $PW_TERM ${optirun_on} gamemoderun ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
 | 
			
		||||
            echo "Full command line:  $PW_TERM ${optirun_on} gamemoderun ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" "&>>${PW_LOG_TO_FILE}"
 | 
			
		||||
            ${optirun_on} gamemoderun ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
 | 
			
		||||
        else
 | 
			
		||||
            echo "Use logging without gamemode"
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" "&>>${PW_LOG_TO_FILE}"
 | 
			
		||||
            $PW_TERM ${optirun_on} ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" "&>>${PW_LOG_TO_FILE}"
 | 
			
		||||
            ${optirun_on} ${PW_RUNTIME} ${RUN_MANGOHUD} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        [ "${PW_USE_TERMINAL}" != "1" ] && export PW_TERM=""
 | 
			
		||||
        if [ ! -z "${PW_GAMEMODERUN}" ] && [ "${PW_GAMEMODERUN}" != 0 ] ; then
 | 
			
		||||
            echo "Use gamemode without terminal"
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} gamemoderun ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}"
 | 
			
		||||
            $PW_TERM ${optirun_on} gamemoderun ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} gamemoderun ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}"
 | 
			
		||||
            $PW_TERM ${optirun_on} gamemoderun  ${PW_RUNTIME} ${RUN_MANGOHUD} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}
 | 
			
		||||
        else
 | 
			
		||||
            echo "Don\`t use gamemode without terminal"
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}"
 | 
			
		||||
            $PW_TERM ${optirun_on} ${PW_RUNTIME} ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}
 | 
			
		||||
            echo "Full command line: $PW_TERM ${optirun_on} ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}"
 | 
			
		||||
            $PW_TERM ${optirun_on} ${RUN_MANGOHUD} ${PW_RUNTIME} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
#####MAIN#####
 | 
			
		||||
###MAIN###
 | 
			
		||||
cd "$(dirname "`readlink -f "$0"`")" && export PORT_SCRIPTS_PATH="$(pwd)"
 | 
			
		||||
cd "${PORT_SCRIPTS_PATH}/../../" && export PORT_WINE_PATH="$(pwd)"
 | 
			
		||||
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
 | 
			
		||||
@@ -840,6 +933,9 @@ export PW_FTP_URL="https://portwine-linux.ru/ftp"
 | 
			
		||||
export PW_WINELIB="${HOME}/.PortWINE/libs${pw_libs_ver}"
 | 
			
		||||
export PW_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui"
 | 
			
		||||
export install_ver=`cat "${PORT_WINE_TMP_PATH}/${portname}_ver" | head -n 1`
 | 
			
		||||
export WINETRICKS_DOWNLOADER="curl"
 | 
			
		||||
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
 | 
			
		||||
check_user_conf
 | 
			
		||||
 | 
			
		||||
if [ -z "${INSTALLING_PORT}" ] ; then
 | 
			
		||||
    PW_LOAD_LIBS
 | 
			
		||||
 
 | 
			
		||||
@@ -5,10 +5,9 @@
 | 
			
		||||
try_remove_file "${PORT_WINE_TMP_PATH}/update_notifier"
 | 
			
		||||
try_remove_file "${PORT_WINE_TMP_PATH}/init_run_suc"
 | 
			
		||||
 | 
			
		||||
try_remove_file "${PORT_WINE_PATH}/data/port_on"
 | 
			
		||||
try_remove_file "${PORT_WINE_PATH}/settings.desktop"
 | 
			
		||||
try_remove_file "${PORT_WINE_PATH}/debug.desktop"
 | 
			
		||||
try_remove_file "${PORT_WINE_PATH}/restart.desktop"
 | 
			
		||||
try_remove_file "${PORT_WINE_PATH}/reset.desktop"
 | 
			
		||||
 | 
			
		||||
try_remove_dir "${PORT_WINE_PATH}/data/pfx/dosdevices"
 | 
			
		||||
try_remove_dir "${PORT_WINE_PATH}/Settings"
 | 
			
		||||
@@ -16,7 +15,7 @@ try_remove_dir "${PORT_SCRIPTS_PATH}/vars"
 | 
			
		||||
 | 
			
		||||
create_new_dir "/home/${USER}/.local/share/applications"
 | 
			
		||||
 | 
			
		||||
name_desktop="PortProton" 
 | 
			
		||||
name_desktop="PortProton"
 | 
			
		||||
echo "[Desktop Entry]"	 					  > "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
echo "Name=${name_desktop}" 				 >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
echo "Exec=env "${PORT_SCRIPTS_PATH}/start.sh %F""	 >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
@@ -33,7 +32,7 @@ cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" /home/${USER}/.local/share/app
 | 
			
		||||
update-desktop-database -q "${HOME}/.local/share/applications"
 | 
			
		||||
xdg-mime default PortProton.desktop "application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program"
 | 
			
		||||
 | 
			
		||||
name_desktop="readme" 
 | 
			
		||||
name_desktop="readme"
 | 
			
		||||
echo "[Desktop Entry]"					 > "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
echo "Name=${name_desktop}"				>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
echo "Version=1.0"					>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
@@ -42,25 +41,11 @@ 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"
 | 
			
		||||
 | 
			
		||||
for name_desktop in "reset"
 | 
			
		||||
do
 | 
			
		||||
	echo ""[Desktop Entry]"
 | 
			
		||||
	"Name=${name_desktop}"
 | 
			
		||||
	"Exec=env "${PORT_SCRIPTS_PATH}/${name_desktop}""
 | 
			
		||||
	"Type=Application"
 | 
			
		||||
	"Categories=Game"
 | 
			
		||||
	"StartupNotify=true"
 | 
			
		||||
	"Path="${PORT_SCRIPTS_PATH}/""
 | 
			
		||||
	"Icon="${PORT_WINE_PATH}/data/img/s.png""" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
	chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
 | 
			
		||||
done
 | 
			
		||||
chmod u+x "${PORT_SCRIPTS_PATH}/"*
 | 
			
		||||
 | 
			
		||||
if [ "${s_install}" = "1" ]; then
 | 
			
		||||
	echo "Installation completed successfully."
 | 
			
		||||
else
 | 
			
		||||
	`zenity --info --title "${inst_set_top}" --text "${inst_succ}" --no-wrap ` > /dev/null 2>&1  
 | 
			
		||||
	`zenity --info --title "${inst_set_top}" --text "${inst_succ}" --no-wrap ` > /dev/null 2>&1
 | 
			
		||||
	xdg-open "http://portwine-linux.ru/portwine-faq/" > /dev/null 2>&1 & exit 0
 | 
			
		||||
fi  
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
unset INSTALLING_PORT
 | 
			
		||||
@@ -7,7 +7,6 @@ fi
 | 
			
		||||
. "$(dirname $(readlink -f "$0"))/runlib"
 | 
			
		||||
 | 
			
		||||
PORTWINE_LAUNCH () {
 | 
			
		||||
    KILL_PORTWINE
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    PORTWINE_MSI=`basename "${portwine_exe}" | grep .msi`
 | 
			
		||||
    PORTWINE_BAT=`basename "${portwine_exe}" | grep .bat`
 | 
			
		||||
@@ -192,7 +191,8 @@ PW_WINEFILE () {
 | 
			
		||||
PW_WINECMD () {
 | 
			
		||||
    export PW_USE_TERMINAL=1
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    PW_RUN cmd
 | 
			
		||||
    cd "${WINEPREFIX}/drive_c"
 | 
			
		||||
    ${PW_RUNTIME} xterm -e env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" cmd
 | 
			
		||||
}
 | 
			
		||||
PW_WINEREG () {
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
@@ -202,7 +202,7 @@ PW_WINETRICKS () {
 | 
			
		||||
    UPDATE_WINETRICKS
 | 
			
		||||
    export PW_USE_TERMINAL=1
 | 
			
		||||
    START_PORTWINE
 | 
			
		||||
    ${PW_TERM} "${PORT_WINE_TMP_PATH}/winetricks" -q --force
 | 
			
		||||
    ${PW_TERM} "${PORT_WINE_TMP_PATH}/winetricks" -q
 | 
			
		||||
}
 | 
			
		||||
PW_EDIT_DB () {
 | 
			
		||||
    xdg-open "${PORTWINE_DB_FILE}"
 | 
			
		||||
@@ -211,6 +211,7 @@ PW_AUTO_INSTALL_FROM_DB () {
 | 
			
		||||
    . "$PORT_SCRIPTS_PATH/autoinstall"
 | 
			
		||||
    $PW_YAD_SET
 | 
			
		||||
}
 | 
			
		||||
###MAIN###
 | 
			
		||||
if [ ! -z "${portwine_exe}" ]; then
 | 
			
		||||
    if [ -z "${PW_GUI_DISABLED_CS}" ] || [ "${PW_GUI_DISABLED_CS}" = 0 ] || [ -z "${PW_VULKAN_USE}" ]; then
 | 
			
		||||
        if [ ! -z "${PORTWINE_DB_FILE}" ] && [ ! -z "${PW_VULKAN_USE}" ]; then
 | 
			
		||||
@@ -279,12 +280,48 @@ else
 | 
			
		||||
    }
 | 
			
		||||
    export -f open_changelog
 | 
			
		||||
 | 
			
		||||
    gui_clear_pfx () {
 | 
			
		||||
        if gui_question "${port_clear_pfx}" ; then
 | 
			
		||||
            pw_clear_pfx
 | 
			
		||||
        fi
 | 
			
		||||
    }
 | 
			
		||||
    export -f gui_clear_pfx
 | 
			
		||||
 | 
			
		||||
    gui_rm_portproton () {
 | 
			
		||||
        if gui_question "${port_del2}" ; then
 | 
			
		||||
            rm -fr "${PORT_WINE_PATH}"
 | 
			
		||||
            rm -fr "${HOME}/.PortWINE"
 | 
			
		||||
            rm -f `grep -il PortProton "${HOME}/.local/share/applications"/*`
 | 
			
		||||
            update-desktop-database -q "${HOME}/.local/share/applications"
 | 
			
		||||
        fi
 | 
			
		||||
    }
 | 
			
		||||
    export -f gui_rm_portproton
 | 
			
		||||
 | 
			
		||||
    gui_wine_uninstaller () {
 | 
			
		||||
        START_PORTWINE
 | 
			
		||||
        PW_RUN uninstaller
 | 
			
		||||
    }
 | 
			
		||||
    export -f gui_wine_uninstaller
 | 
			
		||||
 | 
			
		||||
    gui_open_var () {
 | 
			
		||||
        xdg-open "${PORT_SCRIPTS_PATH}/var"
 | 
			
		||||
    }
 | 
			
		||||
    export -f gui_open_var
 | 
			
		||||
 | 
			
		||||
    export KEY=$RANDOM
 | 
			
		||||
    "${pw_yad}" --plug=$KEY --tabnum=3 --form --columns=2 \
 | 
			
		||||
    --field="CLEAR PREFIX":"BTN" '@bash -c "button_click gui_clear_pfx"'  \
 | 
			
		||||
    --field="EDIT SCRIPT VAR":"BTN" '@bash -c "button_click gui_open_var"' \
 | 
			
		||||
    --field="WINE UNINSTALLER":"BTN" '@bash -c "button_click gui_wine_uninstaller"' \
 | 
			
		||||
    --field="REMOVE PORTPROTON":"BTN" '@bash -c "button_click gui_rm_portproton"' & \
 | 
			
		||||
 | 
			
		||||
    "${pw_yad}" --plug=$KEY --tabnum=2 --form --columns=2  --scroll \
 | 
			
		||||
    --field="   Wargaming Game Center"!"$PW_GUI_ICON_PATH/wgc.png":"BTN" '@bash -c "button_click PW_WGC"' \
 | 
			
		||||
    --field="   Battle.net Launcher"!"$PW_GUI_ICON_PATH/battle_net.png":"BTN" '@bash -c "button_click PW_BATTLE_NET"' \
 | 
			
		||||
    --field="   Epic Games Launcher"!"$PW_GUI_ICON_PATH/epicgames.png":"BTN" '@bash -c "button_click PW_EPIC"' \
 | 
			
		||||
    --field="   GoG Galaxy Launcher"!"$PW_GUI_ICON_PATH/gog.png":"BTN" '@bash -c "button_click PW_GOG"' \
 | 
			
		||||
    --field="   Ubisoft Game Launcher"!"$PW_GUI_ICON_PATH/ubc.png":"BTN" '@bash -c "button_click PW_UBC"' \
 | 
			
		||||
    --field="   Steam Client Launcher"!"$PW_GUI_ICON_PATH/steam.png":"BTN" '@bash -c "button_click PW_STEAM"' \
 | 
			
		||||
    --field="   EVE Online Launcher"!"$PW_GUI_ICON_PATH/eve.png":"BTN" '@bash -c "button_click PW_EVE"' \
 | 
			
		||||
    --field="   Origin Launcher"!"$PW_GUI_ICON_PATH/origin.png":"BTN" '@bash -c "button_click PW_ORIGIN"' & \
 | 
			
		||||
 | 
			
		||||
@@ -305,7 +342,7 @@ else
 | 
			
		||||
 | 
			
		||||
    "${pw_yad}" --key=$KEY --notebook --borders=10 --width=1000 --height=168 --no-buttons --text-align=center \
 | 
			
		||||
    --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "$portname" --separator=";" \
 | 
			
		||||
    --tab-pos=right --tab="PORT_PROTON" --tab="AUTOINSTALL" --center 
 | 
			
		||||
    --tab-pos=right --tab="PORT_PROTON" --tab="AUTOINSTALL" --tab="    SETTINGS" --center
 | 
			
		||||
 | 
			
		||||
    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}'`
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,18 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
# Author: Castro-Fidel (PortWINE-Linux.ru)
 | 
			
		||||
#Author: Castro-Fidel (PortWINE-Linux.ru)
 | 
			
		||||
#SCRIPTS_VERSION=1117
 | 
			
		||||
########################################################################
 | 
			
		||||
#export PW_MANGOHUD=1
 | 
			
		||||
#export MANGOHUD_CONFIG=full,height=500,font_size=24,position=top-left,toggle_hud=F12
 | 
			
		||||
export PW_MANGOHUD=1
 | 
			
		||||
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display
 | 
			
		||||
#export DXVK_HUD=fps,devinfo
 | 
			
		||||
#export ENABLE_VKBASALT=1
 | 
			
		||||
#export PW_VIRTUAL_DESKTOP=1
 | 
			
		||||
 | 
			
		||||
#export PW_XKBD_RU_HACK=1
 | 
			
		||||
export PW_USE_RUNTIME=1     # 0 - disabled; 1 - enabled
 | 
			
		||||
export PW_RT_MOUNT_RO=("${HOME}/.PortWINE")
 | 
			
		||||
export PW_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}")
 | 
			
		||||
export PW_RT_MOUNT_RW=("/media" "/mnt" "/run/media/${USER}" "${PORT_WINE_PATH}")
 | 
			
		||||
#export PW_SANDBOX_HOME_PATH="${PORT_WINE_PATH}"
 | 
			
		||||
 | 
			
		||||
export PW_USE_GAMEMODE=1
 | 
			
		||||
export PW_FORCE_USE_VSYNC=2
 | 
			
		||||
@@ -20,10 +24,9 @@ export PW_WINEDBG_DISABLE=1
 | 
			
		||||
 | 
			
		||||
export PW_WINDOWS_VER="10"
 | 
			
		||||
export WINEARCH="win64"
 | 
			
		||||
 | 
			
		||||
export mono_ver=6.1.2
 | 
			
		||||
export gecko_ver=2.47.2
 | 
			
		||||
export pw_libs_ver="_v14"
 | 
			
		||||
export pw_libs_ver="_v16"
 | 
			
		||||
 | 
			
		||||
export WINEDIR="${PORT_WINE_PATH}/data/dist"
 | 
			
		||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx"
 | 
			
		||||
@@ -31,7 +34,9 @@ export WINE_WIN_START="start.exe /i /unix"
 | 
			
		||||
 | 
			
		||||
export porturl="http://portwine-linux.ru/"
 | 
			
		||||
 | 
			
		||||
export PW_MUST_HAVE_DLL="xact xact_x64"
 | 
			
		||||
export PW_MUST_HAVE_DLL=""
 | 
			
		||||
 | 
			
		||||
export GDK_BACKEND="x11"
 | 
			
		||||
########################################################################
 | 
			
		||||
ADD_IN_START_PORTWINE ()
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										19
									
								
								data_from_portwine/vkBasalt.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								data_from_portwine/vkBasalt.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
reshadeTexturePath = /home/xuser/.local/share/reshade/Textures
 | 
			
		||||
reshadeIncludePath = /home/xuser/.local/share/reshade
 | 
			
		||||
FakeMotionBlur = /home/xuser/.local/share/reshade/Shaders/FakeMotionBlur.fx
 | 
			
		||||
FXAA = /home/xuser/.local/share/reshade/Shaders/FXAA.fx
 | 
			
		||||
GaussianBlur = /home/xuser/.local/share/reshade/Shaders/GaussianBlur.fx
 | 
			
		||||
HQ4X = /home/xuser/.local/share/reshade/Shaders/HQ4X.fx
 | 
			
		||||
Layer = /home/xuser/.local/share/reshade/Shaders/Layer.fx
 | 
			
		||||
LevelsPlus = /home/xuser/.local/share/reshade/Shaders/LevelsPlus.fx
 | 
			
		||||
MagicBloom = /home/xuser/.local/share/reshade/Shaders/MagicBloom.fx
 | 
			
		||||
ReflectiveBumpMapping = /home/xuser/.local/share/reshade/Shaders/ReflectiveBumpMapping.fx
 | 
			
		||||
SMAA = /home/xuser/.local/share/reshade/Shaders/SMAA.fx
 | 
			
		||||
Tonemap = /home/xuser/.local/share/reshade/Shaders/Tonemap.fx
 | 
			
		||||
Vignette = /home/xuser/.local/share/reshade/Shaders/Vignette.fx
 | 
			
		||||
Curves = /home/xuser/.local/share/reshade/Shaders/Curves.fx
 | 
			
		||||
FakeHDR = /home/xuser/.local/share/reshade/Shaders/FakeHDR.fx
 | 
			
		||||
 | 
			
		||||
casSharpness=0.8
 | 
			
		||||
toggleKey = Home
 | 
			
		||||
effects = Curves:cas
 | 
			
		||||
@@ -19,7 +19,7 @@ export PW_FTP_URL="https://portwine-linux.ru/ftp"
 | 
			
		||||
export INSTALLING_PORT=1
 | 
			
		||||
export PROGS_INST=""
 | 
			
		||||
export vexit=0
 | 
			
		||||
export minimum_ldd_ver="2.28"
 | 
			
		||||
export minimum_ldd_ver="2.21"
 | 
			
		||||
########################################################################
 | 
			
		||||
export local_script_hash=$(sha256sum "$0" | awk '{print $1}')
 | 
			
		||||
export remote_script_hash=`curl -s --list-only "${PW_FTP_URL}/portwine/${portname}-${port_ver}.sha256sum" | awk '{print $1}'`
 | 
			
		||||
@@ -164,5 +164,5 @@ sed -n 1,168p "${links}/${setup_script}" > "${PORT_WINE_PATH}/data/tmp/${setup_s
 | 
			
		||||
echo "${portname}" > "${PORT_WINE_PATH}/data/tmp/portname"
 | 
			
		||||
########################################################################
 | 
			
		||||
cd "${PORT_WINE_PATH}/data/scripts"
 | 
			
		||||
sh "${PORT_WINE_PATH}/data/scripts/setup.sh" && exit 0
 | 
			
		||||
/bin/bash -c "${PORT_WINE_PATH}/data/scripts/setup.sh" && exit 0
 | 
			
		||||
################################ARCH_BIN################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user