summaryrefslogtreecommitdiff
path: root/includes/cd-list.sh
diff options
context:
space:
mode:
authorNick Daly <myownlittlworld@hotmail.com>2009-06-06 22:19:17 -0500
committerNick Daly <myownlittlworld@hotmail.com>2009-06-06 22:19:17 -0500
commit84a273cfaed391a8008396e595cc1fa347aa2a5c (patch)
tree14cf7ad4febb5fa9e78e35f9478837c0e16062a9 /includes/cd-list.sh
parentdd34bc368e59b1760cb4c0c56fa8f2ad14e6f8c6 (diff)
downloadgemrb-gameinstallers-84a273cfaed391a8008396e595cc1fa347aa2a5c.tar.bz2
gemrb-gameinstallers-84a273cfaed391a8008396e595cc1fa347aa2a5c.zip
Installer doesn't crash when installing BG2-SOA.
Still not sure how if it works though.
Diffstat (limited to 'includes/cd-list.sh')
-rw-r--r--includes/cd-list.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/cd-list.sh b/includes/cd-list.sh
index ce1d8e5..83584bd 100644
--- a/includes/cd-list.sh
+++ b/includes/cd-list.sh
@@ -52,9 +52,11 @@ function get_game
MINSCRIPT="bg2/install-soa-4cd-us-minimal.sh"
EXTRASCRIPT="bg2/install-soa-4cd-us-extra.sh"
EXPANSIONSCRIPT="bg2/install-soa-4cd-us-tobMinimal.sh"
+ EXPANSIONNAME="Throne of Bhaal"
PATCHES="" # TODO: fill in patches
# bg2/install-patch-soa-us.sh bg2/install-patch-baldurdash-fix.sh bg2/install-patch-soa-baldurdash-text.sh"
WINDOWSFILES="bgdxtest.exe bggltest.exe glsetup.exe bgconfig.exe bgmain.exe charview.exe"
+ CDNO=4
;;
$BG2_TOB_1CD_US_MD5 )
FULLGAMENAME="Baldurs Gate 2 - Throne of Bhaal: 1CD US version"
@@ -102,13 +104,13 @@ function get_game
CDNO=2
;;
* )
- echo "Unrecognised CD - please select game from menu"
+ echo "Unrecognised CD - please select game from menu or change the disc in ${CDMOUNT}"
choosegame
;;
esac
done
- export FULLGAMENAME SHORTGAMENAME MINSCRIPT EXTRASCRIPT EXPANSIONSCRIPT PATCHES WINDOWSFILES CDNO
+ export FULLGAMENAME SHORTGAMENAME MINSCRIPT EXTRASCRIPT EXPANSIONSCRIPT EXPANSIONNAME PATCHES WINDOWSFILES CDNO
}
function choosegame
@@ -126,9 +128,7 @@ function choosegame
echo "7 | Planescape: Torment (4CD version)"
echo "8 | Icewind Dale (2CD UK version)"
echo "9 | Icewind Dale 2 (2CD International version)"
- echo
echo "Z | My game isn't listed."
- echo
echo "Q | Quit"
read -n 1 choice