blob: adf8e1087870bb09004108e137d6673ef34210b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# set the prefix for Wine
export WINEPREFIX="$HOME/.mupen64-rr-lua"
# check if the emulator's user directory has been initialized
if [ ! -d "$WINEPREFIX" ]; then
# create the directory for the wine prefix
mkdir -p "$WINEPREFIX" || exit 1
# initiaize the wine prefix
wineboot -i || exit 1
# install the required dependencies using winetricks
#winetricks -q dxvk || exit 1
fi
# run the emulator
WINEDEBUG=-all wine /opt/mupen64-rr-lua/mupen64-119-8-avx2.exe "$@"
|