-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDebra-Ports.sh
139 lines (132 loc) · 3.1 KB
/
Debra-Ports.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#!/bin/sh
mkdir ./Debra-Ports
cd ./Debra-Ports
dialog --msgbox "DO NOT RUN Debra-Ports ON UBUNTU BASED DISTROS" 0 0
cmd=(dialog --keep-tite --menu "Select a Port:" 22 76 16)
options=(1 "Dhewm3"
2 "Eduke32"
3 "Darkplaces"
4 "Minetest"
5 "Ioq3"
6 "worldofpadman"
7 "Yamagi Quake II"
8 "Yamagi Quake II (Git)"
9 "Duckstation (PSX emu.)"
10 "iortcw"
11 "DSDA-Doom"
12 "Exit")
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
for choice in $choices
do
case $choice in
1)
git clone https://github.com/dhewm/dhewm3.git
cd dhewm3/
cmake ./neo/
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
2)
git clone https://voidpoint.io/terminx/eduke32.git
cd eduke32/
make -j$(nproc) USE_OPENGL=0 POLYMER=0 USE_LIBVPX=0 OPTLEVEL=2 WITHOUT_GTK=1
cd ..
cd ..
bash ./Debra-Ports.sh
;;
3)
git clone https://github.com/DarkPlacesEngine/darkplaces.git
cd darkplaces/
make -j$(nproc) sdl-release
cd ..
cd ..
bash ./Debra-Ports.sh
;;
4)
git clone --depth 1 https://github.com/minetest/minetest.git
cd minetest
git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
git clone https://codeberg.org/SumianVoice/backroomtest.git games/backroomtest
cmake . -DRUN_IN_PLACE=TRUE
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
5)
git clone https://github.com/ioquake/ioq3.git
cd ioq3/
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
6)
wget https://github.com/PadWorld-Entertainment/worldofpadman/archive/refs/tags/v1.6.2.zip
unzip *.zip
rm -rf ./*.zip
cd worldofpadman-1.6.2/
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
7)
wget https://github.com/yquake2/yquake2/archive/refs/tags/QUAKE2_8_30.zip
unzip *.zip
rm -rf ./*.zip
cd yquake2-QUAKE2_8_30/
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
8)
git clone https://github.com/yquake2/yquake2.git
cd yquake2
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
9)
git clone https://github.com/stenzek/duckstation.git -b dev
cd duckstation/
cmake ./
make -j$(nproc)
cd ..
cd ..
bash ./Debra-Ports.sh
;;
10)
git clone https://github.com/iortcw/iortcw.git
cd iortcw/
cd SP/
make -j$(nproc)
cd ..
cd MP/
make -j$(nproc)
cd ..
cd ..
cd ..
bash ./Debra-Ports.sh
;;
11)
git clone https://github.com/kraflab/dsda-doom.git
cd ./dsda-doom/
cd ./prboom2/
cmake ./
make -j$(nproc)
cd ..
cd ..
cd ..
bash ./Debra-Ports.sh
;;
12)
exit
;;
esac
done