-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake_maps.sh
executable file
·42 lines (34 loc) · 1.54 KB
/
make_maps.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
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
INPUT_PATH="../cave_maps/input_3d"
OUTPUT_PATH="../cave_maps/output"
echo "Making Madison map"
mkdir -p $OUTPUT_PATH/madison
python3 ./spelunca.py -o $OUTPUT_PATH/madison/map.svg $INPUT_PATH/MBSP_3Dpas.zip
echo ""
echo "Making Madison mini map"
python3 ./spelunca.py -o $OUTPUT_PATH/madison/mini_map.svg --inset_x1 35 --inset_x2 65 --inset_y1 30 --inset_y2 60 $INPUT_PATH/MBSP_3Dpas.zip
echo ""
echo "Making Madison depth scale"
python3 ./spelunca.py -o $OUTPUT_PATH/madison/depth_scale.svg --depth_scale $INPUT_PATH/MBSP_3Dpas.zip
echo ""
echo "Making Pot Spring map"
mkdir -p $OUTPUT_PATH/pot
BOUNDING_BOX=$(python3 ./find_bounding_box.py $INPUT_PATH/MBSP_3Dpas.zip)
python3 ./spelunca.py -o $OUTPUT_PATH/pot/map.svg --set_bounding_box $BOUNDING_BOX $INPUT_PATH/PotSpring_3Dpas.zip
echo ""
echo "Making David's Disappointment map"
mkdir -p $OUTPUT_PATH/davids_disappointment
BOUNDING_BOX=$(python3 ./find_bounding_box.py $INPUT_PATH/MBSP_3Dpas.zip)
python3 ./spelunca.py -o $OUTPUT_PATH/davids_disappointment/map.svg --set_bounding_box $BOUNDING_BOX $INPUT_PATH/DavidsDisappointment_3Dpas.zip
echo ""
echo "Making M2 map"
mkdir -p $OUTPUT_PATH/m2
python3 ./spelunca.py -o $OUTPUT_PATH/m2/map.svg $INPUT_PATH/'M2 Blue Cave_3Dpas.zip' --width=24 --height=36
echo ""
echo "Making Manatee map"
mkdir -p $OUTPUT_PATH/manatee
python3 ./spelunca.py -o $OUTPUT_PATH/manatee/map.svg $INPUT_PATH/Manatee_3Dpas.zip
echo ""
echo "Making Manatee depth scale"
python3 ./spelunca.py -o $OUTPUT_PATH/manatee/depth_scale.svg --depth_scale $INPUT_PATH/Manatee_3Dpas.zip
echo ""