Added BG 15 Puzzle, Boggle, and Sudoku.

This commit is contained in:
Storm Dragon 2021-07-01 03:49:03 -04:00
parent 5352a68178
commit efd1922ec6

View File

@ -184,6 +184,12 @@ checklist() {
errorList+=("Critical: Winetricks is not installed. This means wine cannot be configured, dependancies cannot be installed, and only self-voicing games have any chance of working.") errorList+=("Critical: Winetricks is not installed. This means wine cannot be configured, dependancies cannot be installed, and only self-voicing games have any chance of working.")
fi fi
packageList+=("winetricks") packageList+=("winetricks")
if command -v curl &> /dev/null ; then
[[ $# -eq 0 ]] && echo "Curl is installed."
else
errorList+=("Critical: Curl is not installed. Critical functionality will not work.")
fi
packageList+=("curl")
if command -v wget &> /dev/null ; then if command -v wget &> /dev/null ; then
[[ $# -eq 0 ]] && echo "Wget is installed." [[ $# -eq 0 ]] && echo "Wget is installed."
else else
@ -710,6 +716,8 @@ gameList=(
"Battle of the Hunter" "Battle of the Hunter"
"Battle Zone" "Battle Zone"
"Beatstar Pro" "Beatstar Pro"
"BG 15 Puzzle"
"BG Boggle"
"BG Cribbage" "BG Cribbage"
"BG Free Cell Solitaire" "BG Free Cell Solitaire"
"BG Hearts" "BG Hearts"
@ -718,6 +726,7 @@ gameList=(
"BG Mine Sweeper" "BG Mine Sweeper"
"BG Penguin Solitaire" "BG Penguin Solitaire"
"BG Scorpion Solitaire" "BG Scorpion Solitaire"
"BG Sudoku"
"BG Uno" "BG Uno"
"Bloodshed" "Bloodshed"
"Bombercats" "Bombercats"
@ -805,11 +814,13 @@ gameList=(
#"World of War" #"World of War"
) )
# Make sure sox is installed # Make sure the minimum of curl, sox, wget, wine, and winetricks are installed
if ! command -v sox &> /dev/null ; then for i in curl sox wget wine winetricks ; do
echo "Please install sox before continuing." if ! command -v $i &> /dev/null ; then
exit 1 echo "Please install $i before continuing."
fi exit 1
fi
done
# Get latest news if available # Get latest news if available
check_news check_news
# With no arguments, open the game launcher. # With no arguments, open the game launcher.
@ -921,6 +932,22 @@ case "${game}" in
unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/beat_windows.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/beat_windows.zip"
add_launcher "c:\Program Files\Beatstar Pro/beatstar.exe" add_launcher "c:\Program Files\Beatstar Pro/beatstar.exe"
;; ;;
"BG 15 Puzzle")
bgInstaller="FPB32Setup10a.exe"
export bottle="bg"
get_installer "$bgInstaller"
install_wine_bottle speechsdk
wine "${cache}/${bgInstaller}" /silent
add_launcher "c:\Program Files\Games\FifteenB\FifteenB.exe"
;;
"BG Boggle")
bgInstaller="BGB32Setup10a.exe"
export bottle="bg"
get_installer "$bgInstaller"
install_wine_bottle speechsdk
wine "${cache}/${bgInstaller}" /silent
add_launcher "c:\Program Files\Games\BoggleB\BoggleB.exe"
;;
"BG Cribbage") "BG Cribbage")
bgInstaller="BGC32Setup12e.exe" bgInstaller="BGC32Setup12e.exe"
export bottle="bg" export bottle="bg"
@ -985,6 +1012,14 @@ case "${game}" in
wine "${cache}/${bgInstaller}" /silent wine "${cache}/${bgInstaller}" /silent
add_launcher "c:\Program Files\Games\ScorpionB\ScorpionB.exe" add_launcher "c:\Program Files\Games\ScorpionB\ScorpionB.exe"
;; ;;
"BG Sudoku")
bgInstaller="SDB32Setup10a.exe"
export bottle="bg"
get_installer "$bgInstaller"
install_wine_bottle speechsdk
wine "${cache}/${bgInstaller}" /silent
add_launcher "c:\Program Files\Games\SudokuB\SudokuB.exe"
;;
"BG Uno") "BG Uno")
bgInstaller="BGU32Setup11a.exe" bgInstaller="BGU32Setup11a.exe"
export bottle="bg" export bottle="bg"