summarylogtreecommitdiffstats
path: root/doom3.install
blob: 2eb634fbe5c62bfebfc38397bbb85cc7dcad445d (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
post_install() {
    echo "==> "
    echo "==> IMPORTANT "
    echo "==>  In order to use the software, you have to agree to ID Software's license "
    echo "==>  located in /opt/doom3/License.txt and Punkbuster's license located in "
    echo "==>  /opt/doom3/pb/PB_EULA.txt "
    echo "==>  If you don't, please remove this package (pacman -R doom3) "
    echo "==> IMPORTANT2 "
    echo "==>  If You have x86_64 system and nvidia graphics card, You need to install lib32-nvidia-utils package too. "
    echo "==>  Thanks jarrebylove. "
    echo "==> "
    echo "==> The following files need to be copied from the win32 install CDs "
    echo "==> to your base/ directory ( md5 sums provided below as reference ) "
    echo "==> by default, /opt/doom3/base "
    echo "==> "
    echo "==>     71b8d37b2444d3d86a36fd61783844fe base/pak000.pk4 "
    echo "==>     4bc4f3ba04ec2b4f4837be40e840a3c1 base/pak001.pk4 "
    echo "==>     fa84069e9642ad9aa4b49624150cc345 base/pak002.pk4 "
    echo "==>     f22d8464997924e4913e467e7d62d5fe base/pak003.pk4 "
    echo "==>     38561a3c73f93f2e6fd31abf1d4e9102 base/pak004.pk4 "
    echo "==> "
    echo "==> If you are also installing the Resurrection of Evil Expansion Pack, "
    echo "==> you need to copy the following file to your d3xp/ directory "
    echo "==> by default, /opt/doom3/d3xp "
    echo "==> "
    echo "==>     a883fef0fd10aadeb73d34c462ff865d d3xp/pak000.pk4 "
    echo "==> "
    echo "==> Localization is now supported on Linux. Copy the following file from "
    echo "==> your install media to /opt/doom3/base: "
    echo "==> "
    echo "==>     b9fbe9def3d590a0465d850cc147e0c4 zpak000.pk4"
    echo "==> "
    echo "==> To change the game the language uses, open the ~/doom3/base/DoomConfig.cfg file"
    echo "==> and change the Silk sys_lang variable. For example:"
    echo "==> "
    echo "==>     Silk sys_lang \"italian\""
    echo "==> "
    echo "==> Start the game with the command: doom3 "
    echo "==> Start the dedicated server with the command: doom3-dedicated "
    echo "==> "
    echo "==> If installed, you can start the Expansion Pack directly from the command line with the command: doom3 +set fs_game d3xp "
    echo "==> Or you can select it in the mods menu of the base game. "
    echo "==> "
    echo "==> For troubleshooting and help, see: "
    echo "==> http://zerowing.idsoftware.com/linux/ "
    echo "==> "
}

post_remove() {
    echo "==> To completely remove DOOM 3, you will need to manually remove"
    echo "==>   /opt/doom3/ as root"
}


op=$1
shift

$op $*