#!/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 \ libwaffle-dev \ libxcb-ewmh-dev \ libxkbcommon-dev \ libxrandr-dev \ libxrender-dev \ libzstd-dev \ meson \ p7zip \ patch \ pkg-config \ python3-distutils \ wget \ " # Unfortunately, gfxreconstruct needs the -dev packages: # https://github.com/LunarG/gfxreconstruct/issues/402 apt-get install -y --no-remove \ $STABLE_EPHEMERAL \ libwayland-dev \ libx11-xcb-dev \ libxcb-keysyms1-dev \ libxcb-shm0 \ libxcb1-dev \ python3-lxml \ python3-simplejson # 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 <