WARNING! Possibly horribly broken. For stability, switch to master branch. Completely changed the way the installer system works.
This commit is contained in:
28
.install/MudSplat English.sh
Normal file
28
.install/MudSplat English.sh
Normal file
@ -0,0 +1,28 @@
|
||||
a="a"
|
||||
f="f"
|
||||
i="i"
|
||||
n="n"
|
||||
;&
|
||||
"MudSplat French")
|
||||
# Variables may be already set for English installation, so make sure not to overwrite them.
|
||||
a="${a:-j}"
|
||||
f="${f:-t}"
|
||||
i="${i:-i}"
|
||||
n="${n:-s}"
|
||||
;&
|
||||
"MudSplat Swedish")
|
||||
# Variables may be already set for French installation, so make sure not to overwrite them.
|
||||
a="${a:-a}"
|
||||
f="${f:-f}"
|
||||
i="${i:-i}"
|
||||
n="${n:-n}"
|
||||
download "https://www.agarchive.net/games/other/Mudsplat-install.exe"
|
||||
install_wine_bottle
|
||||
wine "${cache}/Mudsplat-install.exe" &
|
||||
# Select the language.
|
||||
xdotool sleep 10 type --clearmodifiers ${game:9:1} 2> /dev/null
|
||||
xdotool sleep 1 key --clearmodifiers Return sleep 1 key alt+${n} sleep 1 key alt+${a} sleep 1 key alt+${n} sleep 1 key space sleep 1 key alt+${n} sleep 1 key alt+${n} sleep 1 key alt+${i} sleep 10 key space sleep 1 key alt+${f} 2> /dev/null
|
||||
${wine}server -w
|
||||
mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')"
|
||||
mudsplatLauncher="${mudsplatLauncher##*/}"
|
||||
add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}"
|
Reference in New Issue
Block a user