Added games Lone Wolf and GMA Tank Commander.
This commit is contained in:
parent
23aeb18de4
commit
4b88d3a532
@ -95,6 +95,11 @@ checklist() {
|
|||||||
errorList+=("Critical: ${i^} is not installed. You will not be able to install some games or their components.")
|
errorList+=("Critical: ${i^} is not installed. You will not be able to install some games or their components.")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if command -v gawk &> /dev/null ; then
|
||||||
|
echo "Gawk is installed."
|
||||||
|
else
|
||||||
|
errorList+=("Warning: gawk is not installed. Game removal with -r will not work.")
|
||||||
|
fi
|
||||||
if command -v ocrdesktop &> /dev/null ; then
|
if command -v ocrdesktop &> /dev/null ; then
|
||||||
echo "Ocrdesktop is installed."
|
echo "Ocrdesktop is installed."
|
||||||
else
|
else
|
||||||
@ -241,7 +246,7 @@ game_removal() {
|
|||||||
# remove the game
|
# remove the game
|
||||||
rm -rf "${HOME}/.local/wine/${game%|*}"
|
rm -rf "${HOME}/.local/wine/${game%|*}"
|
||||||
# remove the launcher
|
# remove the launcher
|
||||||
awk -i inplace -vLine="${game//\\/\\\\}" '!index($0,Line)' "$configFile"
|
gawk -i inplace -vLine="${game//\\/\\\\}" '!index($0,Line)' "$configFile"
|
||||||
echo "The selected game has been deleted."
|
echo "The selected game has been deleted."
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
@ -380,11 +385,13 @@ gameList=(
|
|||||||
#"Entombed"
|
#"Entombed"
|
||||||
"Finger Panic"
|
"Finger Panic"
|
||||||
"Fuck That Bird"
|
"Fuck That Bird"
|
||||||
|
"GMA Tank Commander"
|
||||||
"Hunter"
|
"Hunter"
|
||||||
"Kitchensinc Games"
|
"Kitchensinc Games"
|
||||||
"Kringle Crash"
|
"Kringle Crash"
|
||||||
"Light Cars"
|
"Light Cars"
|
||||||
"Lockpick"
|
"Lockpick"
|
||||||
|
"Lone Wolf"
|
||||||
"Manamon"
|
"Manamon"
|
||||||
"Manamon 2"
|
"Manamon 2"
|
||||||
"Oh Shit!"
|
"Oh Shit!"
|
||||||
@ -532,6 +539,28 @@ case "${game}" in
|
|||||||
unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip"
|
unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip"
|
||||||
add_launcher "c:\Program Files\fuck that bird/game.exe"
|
add_launcher "c:\Program Files\fuck that bird/game.exe"
|
||||||
;;
|
;;
|
||||||
|
"GMA Tank Commander")
|
||||||
|
install_wine_bottle vb6run dx8vb speechsdk
|
||||||
|
download "http://www.gmagames.com/gtc120.exe"
|
||||||
|
wine "${cache}/gtc120.exe" /silent &
|
||||||
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||||
|
xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Return 2> /dev/null
|
||||||
|
xdotool sleep 10 key --clearmodifiers Return 2> /dev/null
|
||||||
|
wineserver -w
|
||||||
|
echo "To accurately set your information, edit the file:"
|
||||||
|
echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat"
|
||||||
|
echo "The default country is US. The fields are:"
|
||||||
|
echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\""
|
||||||
|
add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe"
|
||||||
|
;;
|
||||||
"Hunter")
|
"Hunter")
|
||||||
install_wine_bottle vb6run dx8vb
|
install_wine_bottle vb6run dx8vb
|
||||||
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
||||||
@ -606,6 +635,23 @@ case "${game}" in
|
|||||||
wine "${cache}/lockpicksetup.exe" /silent
|
wine "${cache}/lockpicksetup.exe" /silent
|
||||||
add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe"
|
add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe"
|
||||||
;;
|
;;
|
||||||
|
"Lone Wolf")
|
||||||
|
install_wine_bottle vb6run dx8vb speechsdk
|
||||||
|
download "http://www.gmagames.com/lw350.exe"
|
||||||
|
wine "${cache}/lw350.exe" /silent &
|
||||||
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "$USER" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool type --clearmodifiers --delay 100 "$HOSTNAME" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool type --clearmodifiers --delay 100 "uuuuuu" 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||||
|
xdotool key --clearmodifiers Return 2> /dev/null
|
||||||
|
wineserver -w
|
||||||
|
add_launcher "c:\Program Files\Lone Wolf\lw.exe"
|
||||||
|
;;
|
||||||
"Manamon")
|
"Manamon")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
|
Loading…
Reference in New Issue
Block a user