diff options
Diffstat (limited to 'totsc')
-rwxr-xr-x | totsc/install-3cd-extra.sh | 9 | ||||
-rwxr-xr-x | totsc/install-3cd-minimal.sh | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/totsc/install-3cd-extra.sh b/totsc/install-3cd-extra.sh index 31cc5d7..fe31c32 100755 --- a/totsc/install-3cd-extra.sh +++ b/totsc/install-3cd-extra.sh @@ -24,12 +24,15 @@ parseargs "$@" copylower "$CDMOUNT/cd1/" "$TARGETDIR" -getcd 2 c04758a6af171bf9a35d8e3d4dcd807c CD2/Movies/MovieCD2.bif +CD2_MD5="c04758a6af171bf9a35d8e3d4dcd807c" +CD3_MD5="ba4224f50f890e10561d22f602d6a991" + +getcd 2 $CD2_MD5 CD2/Movies/MovieCD2.bif copylower "$CDMOUNT/cd2/" "$TARGETDIR" copylower "$CDMOUNT/cd5/" "$TARGETDIR" -cp $CDMOUNT/CD2/Manual/Baldur.pdf "$TARGETDIR"/manual || die +cp $CDMOUNT/Manual/Baldur.pdf "$TARGETDIR"/manual || die -getcd 3 ba4224f50f890e10561d22f602d6a991 CD3/Movies/MovieCD3.bif +getcd 3 $CD3_MD5 CD3/Movies/MovieCD3.bif copylower "$CDMOUNT/cd3/" "$TARGETDIR" copylower "$CDMOUNT/cd4/" "$TARGETDIR" copylower "$CDMOUNT/cd6/" "$TARGETDIR" diff --git a/totsc/install-3cd-minimal.sh b/totsc/install-3cd-minimal.sh index 3493cad..57d9173 100755 --- a/totsc/install-3cd-minimal.sh +++ b/totsc/install-3cd-minimal.sh @@ -24,7 +24,7 @@ parseargs "$@" checkforbin unshield -getcd 1 1a6828b97a27967e8c4acc25e1ef48d2 data1.cab +getcd 1 $BG1_TOTSC_3CD_US_MD5 data1.cab mkdir -p "$TARGETDIR" || die @@ -35,9 +35,6 @@ unshield -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die cp -R "$TARGETDIR"/minimumdata/* "$TARGETDIR" || die rm -r "$TARGETDIR"/minimumdata -cp -R "$TARGETDIR"/recommended_music/music/* "$TARGETDIR"/music/ || die -rm -r "$TARGETDIR"/recommended_music - cp -R "$TARGETDIR"/english_sounds/sounds/* "$TARGETDIR"/sounds/ || die rm -r "$TARGETDIR"/english_sounds @@ -48,8 +45,7 @@ mkdir -p "$TARGETDIR"/movies mkdir -p "$TARGETDIR"/manual mkdir -p "$TARGETDIR"/save -mkdir -p "$TARGETDIR"/mpsave -cp -R $CDMOUNT/[Ss]ave/* "$TARGETDIR"/mpsave || die +cp -R $CDMOUNT/[Ss]ave/* "$TARGETDIR"/save || die cp $CDMOUNT/Manual/BGManual.pdf "$TARGETDIR"/manual/ || die cp $CDMOUNT/Manual/TotscManual.pdf "$TARGETDIR"/manual/ || die |