forked from CastroFidel/PortWINE
Scripts version 1036
This commit is contained in:
@ -1,9 +1,36 @@
|
||||
#!/bin/bash
|
||||
#Author: PortWINE
|
||||
#Cyberpunk2077.exe
|
||||
#Rating=4
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PULSE_LATENCY_MSEC=60
|
||||
|
||||
#Author: xuser
|
||||
#Cyberpunk2077.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export WINEDLLOVERRIDES="xaudio2_7=n,b"
|
||||
##export PW_DLL_INSTALL="d3dcompiler_47" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_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_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
export PULSE_LATENCY_MSEC=40 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
|
||||
export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
export PW_HEAP_DELAY_FREE=1
|
||||
##export PW_DXGI_FROM_DXVK=0
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
||||
|
9
data_from_portwine/scripts/portwine_db/Larry
Normal file
9
data_from_portwine/scripts/portwine_db/Larry
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Author: Garrett-42
|
||||
#Larry.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_NO_FSYNC=1
|
||||
export PW_NO_ESYNC=1
|
||||
export PW_WINDOWS_VER=7
|
||||
|
37
data_from_portwine/scripts/portwine_db/LostEmber
Normal file
37
data_from_portwine/scripts/portwine_db/LostEmber
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
#Author: xuser
|
||||
#LostEmber-Win64-Shipping.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
export PW_HEAP_DELAY_FREE=1
|
||||
##export PW_DXGI_FROM_DXVK=1
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
#Author: akeshi
|
||||
#Need For Speed The Run.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
|
||||
##export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
##export PW_HEAP_DELAY_FREE=0
|
||||
##export PW_DXGI_FROM_DXVK=0
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
39
data_from_portwine/scripts/portwine_db/StarCraft
Normal file
39
data_from_portwine/scripts/portwine_db/StarCraft
Normal file
@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
#Author: dez
|
||||
#StarCraft.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
#export PW_VIRTUAL_DESKTOP=1
|
||||
export WINEDLLOVERRIDES="ddraw=n,b"
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
##export PW_HEAP_DELAY_FREE=0
|
||||
##export PW_DXGI_FROM_DXVK=0
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
36
data_from_portwine/scripts/portwine_db/UbisoftConnect
Normal file
36
data_from_portwine/scripts/portwine_db/UbisoftConnect
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
#Author: chal55rus
|
||||
#UbisoftConnect.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
#export PW_VULKAN_USE=dxvk
|
||||
export PW_DLL_INSTALL="arial corefonts d3dcompiler_43 d3dcompiler_47 d3dx9"
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
##export PW_HEAP_DELAY_FREE=0
|
||||
##export PW_DXGI_FROM_DXVK=0
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
35
data_from_portwine/scripts/portwine_db/alanwake
Executable file
35
data_from_portwine/scripts/portwine_db/alanwake
Executable file
@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
#Author: xuser
|
||||
#alanwake.exe
|
||||
#Rating=1-5
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
export PW_DLL_INSTALL="d3dx9 d3dcompiler_43" # Install DDL in port prefix (used winetricks)
|
||||
##export PW_LOG=0 # Enable debug mode fo terminal
|
||||
#export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
#export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_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_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_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 PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue,dxr
|
||||
export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export DXVK_HUD=fps,devinfo
|
||||
##export PW_HEAP_DELAY_FREE=0
|
||||
##export PW_DXGI_FROM_DXVK=0
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
@ -3,6 +3,9 @@
|
||||
#avengers.exe
|
||||
#Rating=?
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
#export WINEDLLOVERRIDES="amd_ags_x64=b"
|
||||
export WINEDLLOVERRIDES="atiadlxx=n"
|
||||
export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
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
|
@ -2,7 +2,7 @@
|
||||
#Author: PortWINE-Linux.ru
|
||||
#name_exe_file.exe
|
||||
#Rating=1-5
|
||||
export PW_DLL_INSTALL="vcrun2017 vcrun6 vcrun6sp6 mfc42" # Install DDL in port prefix (used winetricks)
|
||||
export PW_DLL_INSTALL="vcrun6 vcrun6sp6 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9" #Install DDL in port prefix (used winetricks)
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
|
@ -24,7 +24,7 @@ export PW_WINEDBG_DISABLE=1
|
||||
export PW_FORCE_DISABLED_GAMEMOD=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 PULSE_LATENCY_MSEC=60
|
||||
export PW_DLL_INSTALL="vcrun6 mfc42 vcrun6sp6"
|
||||
export PW_DLL_INSTALL="vcrun6 mfc42 vcrun6sp6 mfc120 vcrun2013"
|
||||
#export LAUNCH_PARAMETERS="-d3d9"
|
||||
export PW_GUI_DISABLED_CS=1
|
||||
#export PW_WINDOWS_VER=XP # Set windows version 10, 7 or XP
|
||||
|
@ -132,12 +132,16 @@ if [ ! -e "${PORT_WINE_TMP_PATH}/${portname}_ver" ]; then
|
||||
echo "10" > "${PORT_WINE_TMP_PATH}/${portname}_ver"
|
||||
fi
|
||||
|
||||
export pw_libs_ver="_v7"
|
||||
export pw_libs_ver="_v8"
|
||||
export mono_ver="6.1.1"
|
||||
export gecko_ver="2.47.2"
|
||||
export PW_DXVK_VER=1.8.1
|
||||
export PW_VKD3D_VER=2.2
|
||||
export url_mono="https://github.com/madewokherd/wine-mono/releases/download/wine-mono-${mono_ver}/wine-mono-${mono_ver}-x86.tar.xz"
|
||||
export url_gecko_x86="https://dl.winehq.org/wine/wine-gecko/${gecko_ver}/wine-gecko-${gecko_ver}-x86.tar.xz"
|
||||
export url_gecko_x86_64="https://dl.winehq.org/wine/wine-gecko/${gecko_ver}/wine-gecko-${gecko_ver}-x86_64.tar.xz"
|
||||
export url_dxvk="https://github.com/doitsujin/dxvk/releases/download/v${PW_DXVK_VER}/dxvk-${PW_DXVK_VER}.tar.gz"
|
||||
export url_vkd3d="https://github.com/HansKristian-Work/vkd3d-proton/releases/download/v${PW_VKD3D_VER}/vkd3d-proton-${PW_VKD3D_VER}.tar.zst"
|
||||
export WINEARCH=win64
|
||||
export PW_VULKAN_DLL="${PORT_WINE_PATH}"/data/vulkan
|
||||
export WINEDIR="${PORT_WINE_PATH}"/data/dist
|
||||
@ -151,6 +155,7 @@ export PW_FTP_URL="https://portwine-linux.ru/ftp"
|
||||
export PW_TERM=""
|
||||
export PW_WINE_VER_DXVK=""
|
||||
export PW_WINDOWS_VER="7"
|
||||
export PW_FORCE_LARGE_ADDRESS_AWARE=1
|
||||
export PW_LOG=0
|
||||
var_winedlloverride_update "winemenubuilder.exe="
|
||||
|
||||
@ -181,7 +186,8 @@ if [ -z "${INSTALLING_PORT}" ] ; then
|
||||
try_remove_dir "${WINELIB}/pinned_libs_64"
|
||||
export pw_yad="${WINELIB}/usr/bin/yad"
|
||||
if [ -x "`which xterm 2>/dev/null`" ]; then
|
||||
export PW_XTERM="xterm -geometry 159x37 -e"
|
||||
export SYS_XTERM=`which xterm`
|
||||
export PW_XTERM="${SYS_XTERM} -geometry 159x37 -e"
|
||||
else
|
||||
export PW_XTERM="${WINELIB}/amd64/usr/bin/xterm -geometry 159x37 -e"
|
||||
fi
|
||||
@ -244,18 +250,16 @@ if [ -z "${INSTALLING_PORT}" ] ; then
|
||||
fi
|
||||
START_PORTWINE ()
|
||||
{
|
||||
if [ "${PW_USE_TERMINAL}" = "1" ]; then
|
||||
if [ -x "`which konsole 2>/dev/null`" ]; then
|
||||
export PW_TERM="konsole -e"
|
||||
elif [ -x "`which xterm 2>/dev/null`" ]; then
|
||||
export PW_TERM="xterm -e"
|
||||
elif [ -x "`which gnome-terminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="gnome-terminal -- $SHELL -c"
|
||||
elif [ -x "`which lxterminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="lxterminal -e"
|
||||
else
|
||||
export PW_TERM="${PW_XTERM}"
|
||||
fi
|
||||
if [ -x "`which konsole 2>/dev/null`" ]; then
|
||||
export PW_TERM="konsole --nofork -e"
|
||||
elif [ -x "`which xterm 2>/dev/null`" ]; then
|
||||
export PW_TERM="${PW_XTERM}"
|
||||
elif [ -x "`which gnome-terminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="gnome-terminal -- $SHELL -c"
|
||||
elif [ -x "`which lxterminal 2>/dev/null`" ]; then
|
||||
export PW_TERM="lxterminal -e"
|
||||
else
|
||||
export PW_TERM="${PW_XTERM}"
|
||||
fi
|
||||
if [ -z "${INSTALLING_PORT}" ] ; then
|
||||
PW_UPDATE
|
||||
@ -266,7 +270,7 @@ START_PORTWINE ()
|
||||
else
|
||||
read "var_pw_vulkan" < "${PORT_WINE_TMP_PATH}/pw_vulkan" && export var_pw_vulkan
|
||||
fi
|
||||
PW_START_PROGRESS_BAR
|
||||
PW_START_PROGRESS_BAR
|
||||
if [ "${var_pw_vulkan}" = "0" ]; then
|
||||
if [ -d "${WINEDIR}_dxvk" ]; then
|
||||
export WINEDIR="${WINEDIR}_dxvk"
|
||||
@ -284,7 +288,6 @@ START_PORTWINE ()
|
||||
try_copy_file "${WINEDIR}"/lib/wine/fakedlls/dxgi.dll "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}"/lib64/wine/fakedlls/dxgi.dll "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
var_winedlloverride_update "dxgi=b"
|
||||
export PW_FORCE_LARGE_ADDRESS_AWARE=0
|
||||
[ "${PW_MANGOHUD}" == "1" ] && export MANGOHUD_DLSYM=1
|
||||
echo "Use OpenGL"
|
||||
elif [ "${var_pw_vulkan}" = "dxvk" ]; then
|
||||
@ -296,25 +299,32 @@ START_PORTWINE ()
|
||||
try_copy_file "${PW_VULKAN_DLL}/dxvk/x64/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
[ "$?" == 0 ] && var_winedlloverride_update "${wine_dxvk_dll}=n"
|
||||
done
|
||||
var_winedlloverride_update "d3d12="
|
||||
[ "${PW_MANGOHUD}" == "1" ] && export MANGOHUD=1
|
||||
echo "Use DXVK (DX9-DX11 to Vulkan)"
|
||||
else
|
||||
if [ -d "${WINEDIR}_vkd3d" ]; then
|
||||
export WINEDIR="${WINEDIR}_vkd3d"
|
||||
fi
|
||||
for wine_vkd3d_dll in d3d12 libvkd3d-proton-utils-2 ; do
|
||||
for wine_vkd3d_dll in d3d12 ; do
|
||||
try_copy_file "${PW_VULKAN_DLL}/vkd3d-proton/x86/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${PW_VULKAN_DLL}/vkd3d-proton/x64/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
[ "$?" == 0 ] && var_winedlloverride_update "${wine_vkd3d_dll}=n"
|
||||
done
|
||||
if [ ! -z "${PW_DXGI_FROM_DXVK}" ] && [ "${PW_DXGI_FROM_DXVK}" != 0 ] ; then
|
||||
try_copy_file "${PW_VULKAN_DLL}/dxvk/x32/dxgi.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${PW_VULKAN_DLL}/dxvk/x64/dxgi.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
var_winedlloverride_update "dxgi=n"
|
||||
for wine_dxvk_dll in d3d11 d3d10 d3d10core d3d10_1 d3d9 dxgi ; do
|
||||
try_copy_file "${PW_VULKAN_DLL}/dxvk/x32/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${PW_VULKAN_DLL}/dxvk/x64/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
done
|
||||
else
|
||||
try_copy_file "${WINEDIR}/lib/wine/fakedlls/dxgi.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/fakedlls/dxgi.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
var_winedlloverride_update "dxgi=b"
|
||||
for wine_build_dll in d3d11 d3d10 d3d10core d3d10_1 d3d9 ; do
|
||||
try_copy_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
done
|
||||
fi
|
||||
[ "${PW_MANGOHUD}" == "1" ] && export MANGOHUD=1
|
||||
export PW_WINDOWS_VER="10"
|
||||
@ -374,11 +384,11 @@ START_PORTWINE ()
|
||||
export WINE_MONO_OVERRIDES="Microsoft.Xna.Framework.*,Gac=n"
|
||||
|
||||
if [ ! -z "${PW_NO_ESYNC}" ] && [ "${PW_NO_ESYNC}" != 0 ]
|
||||
then export WINEESYNC=""
|
||||
then export WINEESYNC="0"
|
||||
else export WINEESYNC="1"
|
||||
fi
|
||||
if [ ! -z "${PW_NO_FSYNC}" ] && [ "${PW_NO_FSYNC}" != 0 ] ; then
|
||||
export WINEFSYNC=""
|
||||
export WINEFSYNC="0"
|
||||
export WINEFSYNC_FUTEX2="0"
|
||||
else
|
||||
export WINEFSYNC="1"
|
||||
@ -418,7 +428,7 @@ START_PORTWINE ()
|
||||
export DXVK_STATE_CACHE_PATH="${PORT_WINE_TMP_PATH}"/dxvk_cache
|
||||
export DXVK_STATE_CACHE=1
|
||||
export STAGING_SHARED_MEMORY=1
|
||||
export optirun_on=
|
||||
export optirun_on=""
|
||||
export check_optimus_manager=
|
||||
export PW_NVIDIA="$(lspci | grep NVIDIA)"
|
||||
if [ -x "`which optimus-manager 2>/dev/null`" ]; then
|
||||
@ -457,7 +467,7 @@ START_PORTWINE ()
|
||||
export vblank_mode=1
|
||||
export __GL_SYNC_TO_VBLANK=1 ;;
|
||||
esac
|
||||
#export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/"
|
||||
export DXVK_CONFIG_FILE="${PORT_WINE_PATH}/data/dxvk.conf"
|
||||
export int_xneur=0
|
||||
if [ $(pgrep xneur)>'0' ]; then
|
||||
killall xneur
|
||||
@ -544,7 +554,7 @@ RUN_WINETRICKS_FROM_DB () {
|
||||
if [ "${USE_WT_FROM_DB}" == "1" ] ; then
|
||||
UPDATE_WINETRICKS
|
||||
PW_STOP_PROGRESS_BAR
|
||||
${PW_XTERM} "${PW_RUNTIME}" "${PORT_WINE_TMP_PATH}/winetricks" -q ${PW_DLL_INSTALL}
|
||||
${PW_TERM} "${PW_RUNTIME}" "${PORT_WINE_TMP_PATH}/winetricks" -q ${PW_DLL_INSTALL}
|
||||
PW_START_PROGRESS_BAR
|
||||
fi
|
||||
PW_START_PROGRESS_BAR
|
||||
@ -636,7 +646,7 @@ PW_CREATE_PFX () {
|
||||
sed -i '/HKCR,steam\\shell\\open\\command/d' "${WINEDIR}"*/share/wine/wine.inf
|
||||
sed -i '/HKCR,steam\\shell\\open\\command/d' "${WINEDIR}"*/share/wine/wine.inf
|
||||
PW_STOP_PROGRESS_BAR
|
||||
${PW_XTERM} "${PW_RUNTIME}" "${WINELOADER}" wineboot -u
|
||||
${PW_TERM} "${PW_RUNTIME}" "${WINELOADER}" wineboot -u
|
||||
`zenity --info --title "Info..." --text " Updating prefix completed successfully.\n\n Restart ${portname}." --no-wrap ` > /dev/null 2>&1
|
||||
exit 0
|
||||
fi
|
||||
@ -678,25 +688,24 @@ PW_RUN () {
|
||||
export RUN_MANGOHUD=""
|
||||
[ "${PW_MANGOHUD}" == "1" ] && export RUN_MANGOHUD=mangohud
|
||||
print_var "WINEDIR" "WINEARCH" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME"
|
||||
if [ "${PW_LOG}" == 1 ]
|
||||
then export PW_LOG_TO_FILE="${PORT_WINE_PATH}/${portname}.log"
|
||||
else export PW_LOG_TO_FILE="/dev/null"
|
||||
fi
|
||||
if [ ! -z "${PW_GAMEMODERUN}" ] && [ "${PW_GAMEMODERUN}" != 0 ] ; then
|
||||
if [ ! -z ${optirun_on} ]; then
|
||||
echo "Full command line: ${optirun_on} $PW_TERM "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" ${PW_LOG_TO_FILE}
|
||||
${optirun_on} $PW_TERM "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
|
||||
else
|
||||
echo "Full command line: $PW_TERM "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" ${PW_LOG_TO_FILE}
|
||||
$PW_TERM "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
|
||||
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 "Full command line: $PW_TERM ${optirun_on} "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" "&>>${PW_LOG_TO_FILE}"
|
||||
$PW_TERM ${optirun_on} "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
|
||||
else
|
||||
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}"
|
||||
fi
|
||||
else
|
||||
if [ ! -z ${optirun_on} ]; then
|
||||
echo "Full command line: ${optirun_on} $PW_TERM "${PW_RUNTIME}" ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" ${PW_LOG_TO_FILE}
|
||||
${optirun_on} $PW_TERM "${PW_RUNTIME}" ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
|
||||
else
|
||||
echo "Full command line: $PW_TERM "${PW_RUNTIME}" ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}" ${PW_LOG_TO_FILE}
|
||||
$PW_TERM "${PW_RUNTIME}" ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]} &>>"${PW_LOG_TO_FILE}"
|
||||
else
|
||||
[ "${PW_USE_TERMINAL}" != "1" ] && export PW_TERM=""
|
||||
if [ ! -z "${PW_GAMEMODERUN}" ] && [ "${PW_GAMEMODERUN}" != 0 ] ; then
|
||||
echo "Full command line: $PW_TERM ${optirun_on} "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}"
|
||||
$PW_TERM ${optirun_on} "${PW_RUNTIME}" gamemoderun ${RUN_MANGOHUD} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[*]}
|
||||
else
|
||||
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[*]}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
@ -69,7 +69,8 @@ do
|
||||
done
|
||||
chmod u+x "${PORT_SCRIPTS_PATH}/"*
|
||||
|
||||
try_force_link_dir "${PORT_WINE_PATH}/data/pfx/drive_c/" "${PORT_WINE_PATH}/drive_c"
|
||||
try_remove_dir "${PORT_WINE_PATH}/data/pfx/drive_c/drive_c"
|
||||
try_force_link_dir "${PORT_WINE_PATH}/data/pfx/drive_c/" "${PORT_WINE_PATH}/"
|
||||
if [ -d "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public" ] && [ ! -L "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public" ]; then
|
||||
cp -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public"/* "${PORT_WINE_PATH}/data/pfx/drive_c/users/steamuser/"
|
||||
rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public"
|
||||
@ -81,12 +82,10 @@ ln -s "${PORT_WINE_PATH}/data/pfx/drive_c/users/steamuser" "${PORT_WINE_PATH}/da
|
||||
if [ ! -d "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}" ]; then
|
||||
ln -s "${PORT_WINE_PATH}/data/pfx/drive_c/users/steamuser" "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}"
|
||||
fi
|
||||
|
||||
if [ -e "${PORT_WINE_PATH}/data/pfx/system.reg" ] || [ -e "${PORT_WINE_PATH}/data/pfx/user.reg" ] || [ -e "${PORT_WINE_PATH}/data/pfx/userdef.reg" ]; then
|
||||
sed -i "s/xuser/${USER}/g" "${PORT_WINE_PATH}/data/pfx/"*.reg
|
||||
sed -i "s/vagrant/${USER}/g" "${PORT_WINE_PATH}/data/pfx/"*.reg
|
||||
fi
|
||||
|
||||
if [ "${s_install}" = "1" ]; then
|
||||
echo "Installation completed successfully."
|
||||
else
|
||||
|
@ -144,7 +144,7 @@ PORTWINE_DEBUG () {
|
||||
echo "log WINE:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
|
||||
export DXVK_HUD="full"
|
||||
|
||||
|
||||
PORTWINE_LAUNCH & zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap && KILL_PORTWINE
|
||||
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
|
||||
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
|
||||
|
@ -6,15 +6,13 @@ export porturl="http://portwine-linux.ru/"
|
||||
#export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
|
||||
export PW_LOG=0 # Enable debug mode fo terminal
|
||||
export PW_USE_TERMINAL=0
|
||||
export PW_NVAPI_DISABLE=1
|
||||
export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
export PW_WINEDBG_DISABLE=0
|
||||
export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
#export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
export PULSE_LATENCY_MSEC=60
|
||||
#export PW_MANGOHUD=1
|
||||
#export MANGOHUD_CONFIG=full,height=500,font_size=32,position=top-right,toggle_hud=F9
|
||||
#export DXVK_HUD=fps,devinfo
|
||||
#export PW_OLD_GL_STRING=0
|
||||
########################################################################
|
||||
ADD_IN_START_PORTWINE ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user