blob: 90bcc97ba94603ca6605ce3a7b656031b9fe48b8 (
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 game'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 game
WINEDEBUG=-all wine /opt/mupen64-rr-lua/mupen64.exe "$@"
|