Merged to master.
This commit is contained in:
parent
609edfe111
commit
38a64cdb64
@ -118,7 +118,7 @@ checklist() {
|
|||||||
if command -v xclip &> /dev/null ; then
|
if command -v xclip &> /dev/null ; then
|
||||||
echo "Xclip is installed."
|
echo "Xclip is installed."
|
||||||
else
|
else
|
||||||
errorList+=("Warning: Xclip is not installed. Some games may not speak.")
|
errorList+=("Warning: Xclip is not installed. Some games may not speak or register properly.")
|
||||||
fi
|
fi
|
||||||
if command -v xdotool &> /dev/null ; then
|
if command -v xdotool &> /dev/null ; then
|
||||||
echo "Xdotool is installed."
|
echo "Xdotool is installed."
|
||||||
@ -170,8 +170,8 @@ install_wine_bottle() {
|
|||||||
export WINEPREFIX="$HOME/.local/wine/${bottle}"
|
export WINEPREFIX="$HOME/.local/wine/${bottle}"
|
||||||
# Arguments to the function are dependancies to be installed.
|
# Arguments to the function are dependancies to be installed.
|
||||||
(DISPLAY="" wineboot -u
|
(DISPLAY="" wineboot -u
|
||||||
wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /quiet
|
||||||
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /quiet
|
||||||
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,10 +375,12 @@ gameList=(
|
|||||||
"Bloodshed"
|
"Bloodshed"
|
||||||
"Christmas WhoopAss"
|
"Christmas WhoopAss"
|
||||||
"Crazy Party"
|
"Crazy Party"
|
||||||
|
"Death on the Road"
|
||||||
"Easter Quest"
|
"Easter Quest"
|
||||||
#"Entombed"
|
#"Entombed"
|
||||||
"Finger Panic"
|
"Finger Panic"
|
||||||
"Fuck That Bird"
|
"Fuck That Bird"
|
||||||
|
"Hunter"
|
||||||
"Kitchensinc Games"
|
"Kitchensinc Games"
|
||||||
"Kringle Crash"
|
"Kringle Crash"
|
||||||
"Light Cars"
|
"Light Cars"
|
||||||
@ -390,6 +392,7 @@ gameList=(
|
|||||||
"Pontes Kickups!"
|
"Pontes Kickups!"
|
||||||
"Q9"
|
"Q9"
|
||||||
"Revenge of the Undead"
|
"Revenge of the Undead"
|
||||||
|
"Rhythm Rage"
|
||||||
"RS Games"
|
"RS Games"
|
||||||
"Run For Your Life"
|
"Run For Your Life"
|
||||||
"Sequence Storm"
|
"Sequence Storm"
|
||||||
@ -437,7 +440,7 @@ done
|
|||||||
case "${game}" in
|
case "${game}" in
|
||||||
"A Hero's Call")
|
"A Hero's Call")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle speechsdk corefonts dotnet40 xna31
|
install_wine_bottle dotnet40 xna31 speechsdk corefonts
|
||||||
download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call.zip"
|
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call.zip"
|
||||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||||
@ -480,11 +483,9 @@ case "${game}" in
|
|||||||
"Christmas WhoopAss")
|
"Christmas WhoopAss")
|
||||||
install_wine_bottle vb6run dx8vb
|
install_wine_bottle vb6run dx8vb
|
||||||
download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe"
|
download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe"
|
||||||
if command -v xdotools &> /dev/null ; then
|
wine "${cache}/christmas whoopass setup.exe" /silent &
|
||||||
wine "${cache}/christmas whoopass setup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||||
else
|
wineserver -w
|
||||||
wine "${cache}/christmas whoopass setup.exe" /silent
|
|
||||||
fi
|
|
||||||
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
|
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
|
||||||
;;
|
;;
|
||||||
"Crazy Party")
|
"Crazy Party")
|
||||||
@ -495,6 +496,13 @@ case "${game}" in
|
|||||||
add_launcher "c:\Program Files\Crazy-Party-beta73\Crazy Party.exe"
|
add_launcher "c:\Program Files\Crazy-Party-beta73\Crazy Party.exe"
|
||||||
rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta73/nvdaControllerClient32.dll"
|
rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta73/nvdaControllerClient32.dll"
|
||||||
;;
|
;;
|
||||||
|
"Death on the Road")
|
||||||
|
export winVer="win7"
|
||||||
|
install_wine_bottle
|
||||||
|
download "http://oriolgomez.com/games/road_en.zip"
|
||||||
|
unzip -d "$WINEPREFIX/drive_c/Program Files/death on the road" "${cache}/road_en.zip"
|
||||||
|
add_launcher "c:\Program Files\death on the road/game.exe"
|
||||||
|
;;
|
||||||
"Easter Quest")
|
"Easter Quest")
|
||||||
install_wine_bottle
|
install_wine_bottle
|
||||||
download "https://agarchive.net/games/mt/easter%20quest%20setup.exe"
|
download "https://agarchive.net/games/mt/easter%20quest%20setup.exe"
|
||||||
@ -512,11 +520,9 @@ case "${game}" in
|
|||||||
"Finger Panic")
|
"Finger Panic")
|
||||||
install_wine_bottle dx8vb vb6run
|
install_wine_bottle dx8vb vb6run
|
||||||
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
|
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
|
||||||
if command -v xdotool &> /dev/null ; then
|
wine "${cache}/FingerPanicSetup.exe" /silent &
|
||||||
wine "${cache}/FingerPanicSetup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||||
else
|
wineserver -w
|
||||||
wine "${cache}/FingerPanicSetup.exe" /silent
|
|
||||||
fi
|
|
||||||
add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
|
add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
|
||||||
;;
|
;;
|
||||||
"Fuck That Bird")
|
"Fuck That Bird")
|
||||||
@ -526,6 +532,48 @@ 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"
|
||||||
;;
|
;;
|
||||||
|
"Hunter")
|
||||||
|
install_wine_bottle vb6run dx8vb
|
||||||
|
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
||||||
|
winetricks -q dotnet35
|
||||||
|
wineserver -k # Damn you, dotnet.
|
||||||
|
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
||||||
|
wine "${cache}/HunterSetup.exe" /silent &
|
||||||
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||||
|
wineserver -w
|
||||||
|
mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator"
|
||||||
|
7z e -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z"
|
||||||
|
echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat"
|
||||||
|
test command -v unix2dos &> /dev/null && unix2dos "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat" || echo "Warning! You do not have unix2dos or dos2unix installed, Hunter may not work!"
|
||||||
|
if command -v xclip &> /dev/null && command -v xdotool &> /dev/null ; then
|
||||||
|
wine "c:\Program Files\Hunter\HunterRegistration.exe" &
|
||||||
|
xdotool sleep 10 key Return sleep 2 key Return sleep 2 key Alt+n
|
||||||
|
sleep 1
|
||||||
|
regcode="$(xclip -selection clipboard -o)"
|
||||||
|
xdotool sleep 1 key Shift+Tab sleep 1 key Return
|
||||||
|
# FIXME: Kind of hacky, but let's make sure it actually exitted.
|
||||||
|
sleep 5
|
||||||
|
wineserver -k
|
||||||
|
wine "c:\Program Files\bsc-key-generator\BlindsoftwareUnlockCodeGenerator.exe" &
|
||||||
|
xdotool sleep 10 key Return sleep 2 type hu
|
||||||
|
xdotool sleep 1 key Tab sleep 1 type $regcode
|
||||||
|
xdotool sleep 1 key Tab sleep 1 key Return
|
||||||
|
sleep 2
|
||||||
|
regcode="$(xclip -selection clipboard -o)" # Might as well reuse the variable.
|
||||||
|
# FIXME: Kind of hacky, but let's make sure it actually exitted since I can't find a good way to exit this program.
|
||||||
|
sleep 5
|
||||||
|
wineserver -k
|
||||||
|
wine "c:\Program Files\Hunter\HunterRegistration.exe" &
|
||||||
|
echo "$regcode" | xclip -selection clipboard
|
||||||
|
xdotool sleep 10 key Return sleep 2 key Shift+Tab sleep 1 key Shift+Tab sleep 1 key Return
|
||||||
|
# FIXME: Kind of hacky, but let's make sure it actually exitted.
|
||||||
|
sleep 5
|
||||||
|
wineserver -k
|
||||||
|
else
|
||||||
|
echo "Warning: You need xclip and xdotool for this installer to finish the registration process, however, you don't have them. Either remove the program, install the stated tools, and reinstall it, or go on your own. Caveat Emptor, go to jail, do not pass go, do not collect audiogame rewards and all that stuff."
|
||||||
|
fi
|
||||||
|
add_launcher "c:\Program Files\Hunter\HunterRun.exe"
|
||||||
|
;;
|
||||||
"Kringle Crash")
|
"Kringle Crash")
|
||||||
install_wine_bottle
|
install_wine_bottle
|
||||||
download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe"
|
download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe"
|
||||||
@ -609,6 +657,14 @@ case "${game}" in
|
|||||||
rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll"
|
rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll"
|
||||||
add_launcher "c:\Program Files\rotu\rotu.exe"
|
add_launcher "c:\Program Files\rotu\rotu.exe"
|
||||||
;;
|
;;
|
||||||
|
"Rhythm Rage")
|
||||||
|
export winVer="win7"
|
||||||
|
install_wine_bottle speechsdk
|
||||||
|
download "http://oriolgomez.com/games/rr_en.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||||
|
unzip -d "$WINEPREFIX/drive_c/Program Files/rhythm rage" "${cache}/rr_en.zip"
|
||||||
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||||
|
add_launcher "c:\Program Files\rhythm rage/game.exe"
|
||||||
|
;;
|
||||||
"RS Games")
|
"RS Games")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
@ -643,7 +699,7 @@ case "${game}" in
|
|||||||
;;
|
;;
|
||||||
"Shades of Doom")
|
"Shades of Doom")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle speechsdk vb6run dx8vb
|
install_wine_bottle vb6run dx8vb speechsdk
|
||||||
download "http://www.gmagames.com/sod20022.exe"
|
download "http://www.gmagames.com/sod20022.exe"
|
||||||
wine "${cache}/sod20022.exe" /silent
|
wine "${cache}/sod20022.exe" /silent
|
||||||
add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe"
|
add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe"
|
||||||
|
Loading…
Reference in New Issue
Block a user