Added game MudSplat. Currently only the English version installs without intervention, but I will fix that soon as I find out the shortcut letters for French and Swedish.
This commit is contained in:
parent
bd09450e4c
commit
a0c9bbb087
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright 2020, Stormux, <storm_dragon@linux-a11y.org>
|
||||
#
|
||||
@ -432,6 +432,9 @@ gameList=(
|
||||
"Lone Wolf"
|
||||
"Manamon"
|
||||
"Manamon 2"
|
||||
"MudSplat French"
|
||||
"MudSplat English"
|
||||
"MudSplat Swedish"
|
||||
"Oh Shit!"
|
||||
"Palace Punch Up"
|
||||
"Paladin of the Sky"
|
||||
@ -758,6 +761,36 @@ EOF
|
||||
wine "${cache}/manamon2_installer.exe" /silent
|
||||
add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe"
|
||||
;;
|
||||
"MudSplat English")
|
||||
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:-a}"
|
||||
f="${f:-f}"
|
||||
i="${i:-i}"
|
||||
n="${n:-n}"
|
||||
;&
|
||||
"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}"
|
||||
install_wine_bottle
|
||||
download "https://www.agarchive.net/games/other/Mudsplat-install.exe"
|
||||
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
|
||||
wineserver -w
|
||||
mudsplatLauncher="$(find "$WINEPREFIX/drive_c/Program Files/TiM/MudSplat" -name 'mudsplat-*.exe')"
|
||||
mudsplatLauncher="${mudsplatLauncher##*/}"
|
||||
add_launcher "c:\Program Files\TiM\MudSplat\\${mudsplatLauncher}"
|
||||
;;
|
||||
"Oh Shit!")
|
||||
export winVer="win7"
|
||||
install_wine_bottle speechsdk
|
||||
|
Loading…
Reference in New Issue
Block a user