blob: d868b90b564058e9705149277bb40573e6d3fd8a (
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
|
#!/bin/sh
# Installs Planescape Torment 2CD version minimal
FULLGAMENAME="Planescape Torment: 2CD version"
scriptdir="$(dirname $0)"/..
source "$scriptdir/includes/generic-includes.sh"
source "$scriptdir/includes/cd-includes.sh"
parseargs "$@"
checkforbin unshield
getcd 1 640b61443cc86c434f1b6826e63c0e33 data1.cab
mkdir -p "$TARGETDIR" || die
unshield -g MinimumData -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die
unshield -g MinimumData -L x $CDMOUNT/data2.cab -d "$TARGETDIR" || die
cp $CDMOUNT/Manual/Torment.pdf "$TARGETDIR"/manual.pdf || die
cp $CDMOUNT/Torment.ico "$TARGETDIR"/torment.ico || die
cp $CDMOUNT/Torment.ex_ "$TARGETDIR"/torment.exe || die
mv "$TARGETDIR"/minimumdata/* "$TARGETDIR" || die
rmdir "$TARGETDIR"/minimumdata || die
mkdir -p "$TARGETDIR/save" || die
setperms "$TARGETDIR"
|