blob: d1d2ccb31779067ae61af60ca1e01aa74c173084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
# Tales of the Sword Coast 1CD version
scriptdir="$(dirname $0)"/..
source "$scriptdir/includes/generic-includes.sh"
source "$scriptdir/includes/cd-includes.sh"
parseargs "$@"
checkforbin unshield
getcd 1 e27d259ddc0171ff945dbba136e60309 data1.cab
mkdir -p "$TARGETDIR" || die
unshield -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die
cp $CDMOUNT/dialog.tlk "$TARGETDIR" || die
mkdir -p "$TARGETDIR"/save || die
cp -R $CDMOUNT/[Ss]ave/* "$TARGETDIR"/save || die
cp -R "$TARGETDIR"/minimumdata/* "$TARGETDIR" || die
rm -r "$TARGETDIR"/minimumdata
cp -R "$TARGETDIR"/english/* "$TARGETDIR" || die
rm -r "$TARGETDIR"/english
cp -R "$CDMOUNT"/override/* "$TARGETDIR"/override/ || die
mkdir -p "$TARGETDIR"/movies
copylower "$CDMOUNT/cd6/" "$TARGETDIR"
mkdir -p "$TARGETDIR"/mpsave
setperms "$TARGETDIR"
|