diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 00dce4d..af42aef 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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.") fi 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 [[ $# -eq 0 ]] && echo "Wget is installed." else @@ -710,6 +716,8 @@ gameList=( "Battle of the Hunter" "Battle Zone" "Beatstar Pro" + "BG 15 Puzzle" + "BG Boggle" "BG Cribbage" "BG Free Cell Solitaire" "BG Hearts" @@ -718,6 +726,7 @@ gameList=( "BG Mine Sweeper" "BG Penguin Solitaire" "BG Scorpion Solitaire" + "BG Sudoku" "BG Uno" "Bloodshed" "Bombercats" @@ -805,11 +814,13 @@ gameList=( #"World of War" ) -# Make sure sox is installed -if ! command -v sox &> /dev/null ; then - echo "Please install sox before continuing." - exit 1 -fi +# Make sure the minimum of curl, sox, wget, wine, and winetricks are installed +for i in curl sox wget wine winetricks ; do + if ! command -v $i &> /dev/null ; then + echo "Please install $i before continuing." + exit 1 + fi +done # Get latest news if available check_news # 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" 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") bgInstaller="BGC32Setup12e.exe" export bottle="bg" @@ -985,6 +1012,14 @@ case "${game}" in wine "${cache}/${bgInstaller}" /silent 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") bgInstaller="BGU32Setup11a.exe" export bottle="bg"