Major changes

This commit is contained in:
Castro-Fidel
2020-06-05 15:28:52 +03:00
parent ad1a28a47e
commit 6a1df190f0
14 changed files with 170 additions and 117 deletions

View File

@ -2,39 +2,25 @@
# License GPL
# Author: Tergoev M.A.
########################################################################
export portname=""
export gamename=""
export gamedir=""
export portname="PortXXX"
export gamename="GameXXX"
export gamedir="GameDirXXX"
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"
########################################################################
#export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export STAGING_SHARED_MEMORY=1
export PROTON_FORCE_LARGE_ADDRESS_AWARE=1
export PROTON_USE_SECCOMP=0
export PW_FORCE_LARGE_ADDRESS_AWARE=1
export PW_USE_SECCOMP=0
export WINEDLLOVERRIDES="winemenubuilder.exe=d"
export WINEDEBUG="-all"
export PORTWINE_ACO=0
export PW_LOG=0
export PW_ACO=0
export PW_NO_VR=1
export PW_FILELOCK=1
########################################################################
ADD_IN_START_PORTWINE ()
{
if [ "${var_dxvk_on}" = "0" ]
then ###OPENGL###
export PROTON_USE_WINED3D=1
export PW_DXGI_FOR_VKD3D=1
export PROTON_NO_D9VK=0
export PROTON_NO_D3D11=0
export PROTON_NO_D3D10=0
export PROTON_OLD_GL_STRING=0
else ###DXVK###
export PROTON_USE_WINED3D=0
export PW_DXGI_FOR_VKD3D=0
export PROTON_NO_D9VK=0
export PROTON_NO_D3D11=0
export PROTON_NO_D3D10=0
export DXVK_ASYNC=0
fi
export launch_parameters=""
cd "${PATH_TO_GAME}"
}