Ubuntu (latest) - Wine Staging (latest) + DXVK (latest) + Xinput (latest)
Download
'
#!/bin/bash
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
echo -e "${YELLOW}Add Proprietary Graphic Drivers${NC}"
sudo add-apt-repository ppa:graphics-drivers/ppa -y
sudo apt update -y
sudo apt upgrade -y
echo -e "${YELLOW}Install Utils${NC}"
sudo apt install curl wget sed nano -y
echo -e "${YELLOW}Install Vulkan${NC}"
sudo apt install libvulkan1 libvulkan-dev vulkan-utils -y
echo -e "${YELLOW}Add i386 for x64 systems for wine${NC}"
sudo dpkg --add-architecture i386 
echo -e "${YELLOW}Install Wine-Staging${NC}"
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ -y
sudo apt update -y
sudo apt install --install-recommends winehq-staging -y
echo -e "${YELLOW}Install WineTricks${NC}"
sudo apt install winetricks -y
sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity -y
sudo apt update -y
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv winetricks /usr/local/bin
sudo winetricks --self-update
#echo -e "${YELLOW}Install Systray Indicator${NC}"
#sudo apt install indicator-systemtray-unity -y
echo -e "${YELLOW}Autoremove Obsolete Packages${NC}"
sudo apt autoremove -y
echo -e "${YELLOW}Download latest DXVK${NC}"
rm -Rf dxvk.tar.gz
rm -Rf dxvk
wget `curl -s https://github.com/doitsujin/dxvk/releases | grep 'tar.gz' | grep -Eoi '<a [^>]+>' | grep -Eo -m 1 '"[^\"]+"' | grep -vwE "nofollow" | sed 's:^.\(.*\).$:\1:' | sed 's#^#https://github.com#g' | head -n1` -O dxvk.tar.gz
tar -xvf dxvk.tar.gz
mv `ls -d dxvk-*` dxvk
echo -e "${YELLOW}Install DXVK${NC}"
#cd dxvk/x32
#env WINEPREFIX="$HOME/.wine" ./setup_dxvk.sh -y -q
#cd ../x64
export WINEPREFIX="$HOME/.wine"
cd dxvk
#env WINEPREFIX="$HOME/.wine" winetricks d3dcompiler_43
env WINEPREFIX="$HOME/.wine" winetricks --force setup_dxvk.verb
cd ..
echo -e "${YELLOW}Fix Xinput${NC}"
winetricks xinput
wget `curl -s https://github.com/kozec/dumbxinputemu/releases | grep 'tar.gz' | grep -Eoi '<a [^>]+>' | grep -Eo -m 1 '"[^\"]+"' | grep -vwE "nofollow" | sed 's:^.\(.*\).$:\1:' | sed 's#^#https://github.com#g' | head -n1` -O xinput.tar.gz
tar -xvf xinput.tar.gz
cd "32"
rm -rf "$HOME/.wine/drive_c/windows/syswow64/xinput*.dll"
cp -f * "$HOME/.wine/drive_c/windows/syswow64/"
cd ..
cd "64"
rm -rf "$HOME/.wine/drive_c/windows/system32/xinput*.dll"
cp -f * "$HOME/.wine/drive_c/windows/system32/"
cd ..
rm -Rf "32"
rm -Rf "64"

echo -e "${YELLOW}Done${NC}"