forked from q3shafe/trepidation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
32 lines (32 loc) · 919 Bytes
/
build.sh
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
echo "Build from github\n"
echo "This will build you a working snapshot of Trepidation\n";
echo "The working game directory will be trep/build\n";
mkdir trep
cd trep
mkdir build
mkdir build/base
mkdir build/docs
wget http://trepidation.n5net.com/base/xcsv_bq3hi-res.pk3
cp *.pk3 build/base
git clone https://github.com/q3shafe/trepidation.git
cd trepidation/game-media
cp *.dll ../../build
cp trep* ../../build
cd pak0-gpl2data
zip -r ../../../build/base/pak0-gpl2data.pk3 *
cd ..
cd pak1-ccdata
zip -r ../../../build/base/pak1-ccdata.pk3 *
cd ..
cd pak0-vms
zip -r ../../../build/base/pak0-vms.pk3 *
cd ../../../
cp trepidation/Docs/server/* build/base
cp trepidation/Docs/linux/*.sh build/
cp trepidation/Docs/linux/R* build/docs/
cp trepidation/Docs/quake3/* build/docs/
cp trepidation/Docs/*.txt build/docs/
cp trepidation/Docs/*.TXT build/docs/
cp trepidation/Docs/*.bat build/
cd build
#zip -r trep-snapshot.zip *