diff options
Diffstat (limited to 'bg1')
-rwxr-xr-x | bg1/install-3cd-extra.sh | 24 | ||||
-rwxr-xr-x | bg1/install-3cd-minimal.sh | 40 | ||||
-rwxr-xr-x | bg1/install-5cd-minimal.sh | 2 |
3 files changed, 65 insertions, 1 deletions
diff --git a/bg1/install-3cd-extra.sh b/bg1/install-3cd-extra.sh new file mode 100755 index 0000000..95c96a3 --- /dev/null +++ b/bg1/install-3cd-extra.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Extra Baldur's Gate content (so CDs aren't needed) + +scriptdir="$(dirname $0)"/.. +source "$scriptdir/includes/generic-includes.sh" +source "$scriptdir/includes/cd-includes.sh" + +parseargs "$@" + +copylower "$CDMOUNT/cd1/" "$TARGETDIR" + +CD2_MD5="c04758a6af171bf9a35d8e3d4dcd807c" +CD3_MD5="ba4224f50f890e10561d22f602d6a991" + +getcd 2 $CD2_MD5 CD2/Movies/MovieCD2.bif +copylower "$CDMOUNT/cd2/" "$TARGETDIR" +copylower "$CDMOUNT/cd5/" "$TARGETDIR" +cp $CDMOUNT/Manual/Baldur.pdf "$TARGETDIR"/manual || die + +getcd 3 $CD3_MD5 CD3/Movies/MovieCD3.bif +copylower "$CDMOUNT/cd3/" "$TARGETDIR" +copylower "$CDMOUNT/cd4/" "$TARGETDIR" +copylower "$CDMOUNT/cd6/" "$TARGETDIR" +setperms "$TARGETDIR" diff --git a/bg1/install-3cd-minimal.sh b/bg1/install-3cd-minimal.sh new file mode 100755 index 0000000..4169e40 --- /dev/null +++ b/bg1/install-3cd-minimal.sh @@ -0,0 +1,40 @@ +#!/bin/sh +# Baldur's Gate & Tales of the Sword Coast 3CD version minimal + +scriptdir="$(dirname $0)"/.. +source "$scriptdir/includes/generic-includes.sh" +source "$scriptdir/includes/cd-includes.sh" + +parseargs "$@" + +checkforbin unshield + +getcd 1 $BG1_TOTSC_3CD_US_MD5 data1.cab + +mkdir -p "$TARGETDIR" || die + +cp $CDMOUNT/dialog.tlk "$TARGETDIR" || die + +unshield -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die + +cp -R "$TARGETDIR"/minimumdata/* "$TARGETDIR" || die +rm -r "$TARGETDIR"/minimumdata + +cp -R "$TARGETDIR"/english_sounds/sounds/* "$TARGETDIR"/sounds/ || die +rm -r "$TARGETDIR"/english_sounds + +cp -R "$TARGETDIR"/english/* "$TARGETDIR" || die +rm -r "$TARGETDIR"/english + +mkdir -p "$TARGETDIR"/movies +mkdir -p "$TARGETDIR"/manual + +mkdir -p "$TARGETDIR"/save +cp -R $CDMOUNT/[Ss]ave/* "$TARGETDIR"/save || die + +cp $CDMOUNT/Manual/BGManual.pdf "$TARGETDIR"/manual/ || die +cp $CDMOUNT/Manual/TotscManual.pdf "$TARGETDIR"/manual/ || die + +cp $CDMOUNT/baldur.ico "$TARGETDIR" || die + +setperms "$TARGETDIR" diff --git a/bg1/install-5cd-minimal.sh b/bg1/install-5cd-minimal.sh index 002c5a9..2e6ff59 100755 --- a/bg1/install-5cd-minimal.sh +++ b/bg1/install-5cd-minimal.sh @@ -24,7 +24,7 @@ parseargs "$@" checkforbin unshield -getcd 1 138528155dfeb695bd63f90eacee7dc0 data1.cab +getcd 1 $BG1_5CD_INTL_MD5 data1.cab mkdir -p "$TARGETDIR" || die |