Fix runtime libs and add ACO function

This commit is contained in:
Castro-Fidel
2020-05-24 21:18:31 +03:00
parent a00eb13722
commit 165f66fcbc
3 changed files with 44 additions and 38 deletions

View File

@ -9,47 +9,34 @@ export porturl="http://portwine-linux.ru/"
export PATH_TO_GAME="${PORT_WINE_PATH}/data/pfx/drive_c/Program Files (x86)/${gamedir}"
export gamestart="${PATH_TO_GAME}/.exe"
########################################################################
#__NV_PRIME_RENDER_OFFLOAD=1
#__GLX_VENDOR_LIBRARY_NAME=nvidia
#export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export STAGING_SHARED_MEMORY=1
export PROTON_FORCE_LARGE_ADDRESS_AWARE=0
export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export STAGING_SHARED_MEMORY=0
export PROTON_FORCE_LARGE_ADDRESS_AWARE=1
export PROTON_USE_SECCOMP=0
export PROTON_NO_ESYNC=1
export WINEDLLOVERRIDES="winemenubuilder.exe=d"
export WINEDEBUG="-all"
export DXVK_LOG_LEVEL=none
export VKD3D_DEBUG=none
export kill_winedevice=0
export kill_explorer=0
export PORTWINE_ACO=0
########################################################################
ADD_IN_START_PORTWINE ()
{
if [ "${var_dxvk_on}" -eq "0" ]
then ###OPENGL###
export launch_parameters=""
export vblank_mode=0
export __GL_SYNC_TO_VBLANK=0
export PROTON_USE_WINED3D=1
export PROTON_USE_VKD3D=0
export PROTON_USE_D9VK=0
export PROTON_NO_D9VK=0
export PROTON_NO_D3D11=0
export PROTON_NO_D3D10=0
export PROTON_OLD_GL_STRING=0
else ###DXVK###
export launch_parameters=""
export vblank_mode=1
export __GL_SYNC_TO_VBLANK=1
export PROTON_USE_WINED3D=0
export PROTON_USE_D9VK=1
export PROTON_USE_VKD3D=1
export PROTON_NO_D9VK=0
export PROTON_NO_D3D11=0
export PROTON_NO_D3D10=0
export PROTON_OLD_GL_STRING=0
export DXVK_ASYNC=0
# export RADV_PERFTEST=aco
# export MESA_LOADER_DRIVER_OVERRIDE=zink
fi
########################################################################
export launch_parameters=""
cd "${PATH_TO_GAME}"
}
########################################################################