-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
36 lines (28 loc) · 1.14 KB
/
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
33
34
35
36
#!/bin/bash
PATH=$PATH:/mnt/c/MSFStk
case "$1" in
cleanonly)
rm -rfv Temp Output
exit
;;
clean*)
rm -rfv Temp Output
# mesh: airfield premises in 5m
powershell.exe msfs elev -border '.\Sources\edap-premises.shp' \
-imagery '.\Sources\dem\dgm-edap.tif' \
-res 5 -falloff 50 -priority 2 \
'PackageSources\mesh\mesh-edap.xml'
# mesh: details in 1m
powershell.exe msfs elev -border '.\Sources\edap-rwy11L.shp' \
-imagery '.\Sources\dem\dgm-edap.tif' \
-res 1 -falloff 50 -priority 3 \
-airport 'PackageSources\scene\EDAP.xml' \
'PackageSources\mesh\mesh-edap-rwy11L.xml'
powershell.exe msfs elev -border '.\Sources\edap-fuel.shp' \
-imagery '.\Sources\dem\dgm-edap.tif' \
-res 1 -falloff 5 -priority 3 \
'PackageSources\mesh\mesh-edap-fuel.xml'
;;
esac
# msfs project -type scenery -id EDAP -name "charliebravo-airport-edap-cottbus-neuhausen" -title "Verkehrslandeplatz Cottbus-Neuhausen" -creator charliebravo -version 0.1.1 -aerial -scene -mesh -services EDAP "edap"
fspackagetool.exe -mirroring -nopause '.\charliebravo-airport-edap-cottbus-neuhausen.xml'