diff options
Diffstat (limited to 'bg2/install-tob-1cd-us-minimal.sh')
-rwxr-xr-x | bg2/install-tob-1cd-us-minimal.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bg2/install-tob-1cd-us-minimal.sh b/bg2/install-tob-1cd-us-minimal.sh index 5ae27ab..5ec0f16 100755 --- a/bg2/install-tob-1cd-us-minimal.sh +++ b/bg2/install-tob-1cd-us-minimal.sh @@ -32,10 +32,22 @@ mkdir -p "$TARGETDIR" || die if [ ! -e "${TARGETDIR}/cd2/data/area000a.bif" ] then + echo "You haven't installed BG2-SOA!" die # TODO ask user to run the appropriate preinstaller. fi -# TODO finish everything below here. +unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die + +rm -r "${TARGETDIR}/_"* # remove all the the fake directories. + +move_and_remove "${TARGETDIR}/hd025music" "${TARGETDIR}/music" +move_and_remove "${TARGETDIR}/hd0_english/characters" "${TARGETDIR}/characters" +move_and_remove "${TARGETDIR}/hd0_english/override" "${TARGETDIR}/override" +move_and_remove "${TARGETDIR}/hd0_override" "${TARGETDIR}/override" +move_and_remove "${TARGETDIR}/minimum_25_data" "${TARGETDIR}/data" +move_and_remove "${TARGETDIR}/minimum_25_data_english" "${TARGETDIR}/data" +move_and_remove "${TARGETDIR}/hd0_english/" "${TARGETDIR}/" +move_and_remove "${TARGETDIR}/hd0" "${TARGETDIR}/" teardown "$TARGETDIR" |