#!/bin/bash set -e set -o xtrace export DEBIAN_FRONTEND=noninteractive # Ephemeral packages (installed for this script and removed again at the end) STABLE_EPHEMERAL=" \ ccache \ cmake \ g++ \ libgbm-dev \ libgles2-mesa-dev \ liblz4-dev \ libpng-dev \ libvulkan-dev \ libxcb-ewmh-dev \ libxcb-keysyms1-dev \ libxkbcommon-dev \ libxrandr-dev \ libxrender-dev \ meson \ p7zip \ pkg-config \ python3-distutils \ wget \ " apt-get install -y --no-remove \ $STABLE_EPHEMERAL # We need multiarch for Wine dpkg --add-architecture i386 apt-get update apt-get install -y --no-remove \ wine \ wine32 \ wine64 ############### Set up Wine env variables export WINEDEBUG="-all" export WINEPREFIX="/dxvk-wine64" ############### Install DXVK DXVK_VERSION="1.6" # We don't want crash dialogs cat >crashdialog.reg <