summaryrefslogtreecommitdiff
path: root/bg2/install-soa-4cd-us-tobMinimal.sh
diff options
context:
space:
mode:
authornick <myownlittlworld@hotmail.com>2009-06-06 17:38:22 -0500
committernick <myownlittlworld@hotmail.com>2009-06-06 17:38:22 -0500
commitf197b4b654ec882a333e9d488163a75cb3fb83e5 (patch)
treeeb92f7a0f28716517b76655aeedff32e8ea40a5c /bg2/install-soa-4cd-us-tobMinimal.sh
parent127841dbea17073ab698a45e0e4a720bf0d7c46a (diff)
downloadgemrb-gameinstallers-f197b4b654ec882a333e9d488163a75cb3fb83e5.tar.bz2
gemrb-gameinstallers-f197b4b654ec882a333e9d488163a75cb3fb83e5.zip
Created BG2-SOA installer.
Created list of game CDs.
Diffstat (limited to 'bg2/install-soa-4cd-us-tobMinimal.sh')
-rwxr-xr-xbg2/install-soa-4cd-us-tobMinimal.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/bg2/install-soa-4cd-us-tobMinimal.sh b/bg2/install-soa-4cd-us-tobMinimal.sh
new file mode 100755
index 0000000..a65ea7b
--- /dev/null
+++ b/bg2/install-soa-4cd-us-tobMinimal.sh
@@ -0,0 +1,32 @@
+#! /bin/bash
+#
+# Baldur's Gate 2 Shadows of Amn (4CD US version) Minimal TOB Install
+# Copyright (C) 2009 GemRB Installers, Nick Daly
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# See <http://www.gnu.org/licenses/> for a copy of the GNU General
+# Public License.
+
+scriptdir="$(dirname $0)"/..
+source "${scriptdir}/includes/generic-includes.sh"
+source "${scriptdir}/includes/cd-includes.sh"
+
+parseargs "$@"
+
+checkforbin unshield
+
+CD2_MD5="c78f41ff4cb47ea04fdf25ea6f55eb8b"
+
+getcd 2 $CD2_MD5 "data3.cab"
+copylower "${CDMOUNT}/CD2/" "$TARGETDIR"
+
+teardown "$TARGETDIR"