-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathreadme.txt
275 lines (246 loc) · 9.09 KB
/
readme.txt
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
Java Space Alert Mission Generator
==================================
Download executable: https://www.dropbox.com/s/5l1gt2zl5dujrvb/JSpaceAlertMissionGenerator.jar?dl=1
Start with: java -jar JSpaceAlertMissionGenerator.jar
Options:
--alarm
Set background alarm (normal,none,fixed). Fixed means that background
alarm will not become louder.
Default: normal
--allow-double-threats
Enable double threats ("The New Frontier": one external and internal
threat will occur on one time slot)
Default: false
--chance-for-ambush-1
Chance in percent for ambush in phase 4
Default: 40
--chance-for-ambush-2
Chance in percent for ambush in phase 8
Default: 40
--clips-folder, -c
Folder in which MP3 clips are stored
Default: clips
--debug, -D
Debug mode
Default: false
--filename, -f
Output file name prefix
Default: mission
--gui, -g
Start GUI
Default: false
--help, -h
Print help and exit
Default: false
--list-renderers, --renderers, -L
List available renderers and exit
Default: false
--max-data-operations-1
Maximum data operations in phase 1
Default: 3
--max-data-operations-2
Maximum data operations in phase 2
Default: 3
--max-data-operations-3
Maximum data operations in phase 3
Default: 1
--max-data-transfers-1
Maximum data transfers (data operation and incoming data) in phase 1
Default: 1
--max-data-transfers-2
Maximum data transfers (data operation and incoming data) in phase 2
Default: 2
--max-data-transfers-3
Maximum data transfers (data operation and incoming data) in phase 3
Default: 1
--max-incoming-data-1
Maximum incoming data in phase 1
Default: 3
--max-incoming-data-2
Maximum incoming data in phase 2
Default: 2
--max-incoming-data-3
Maximum incoming data in phase 3
Default: 2
--max-internal-level, -I
Maximum levels of internal threats
Default: 3
--max-internal-threats
Maximum number of internal threats
Default: 2
--max-phase-time-1
Maximum phase time for phase 1
Default: 240
--max-phase-time-2
Maximum phase time for phase 2
Default: 225
--max-phase-time-3
Maximum phase time for phase 3
Default: 155
--max-time-for-threat-1
Maximum time for first threat to appear in phase 1
Default: 20
--max-time-for-threat-2
Maximum time for first threat to appear in phase 2
Default: 40
--max-time-normal-external
Maximum time in which normal external threats will occur
Default: 8
--max-time-normal-internal
Maximum time in which normal internal threats will occur
Default: 7
--max-time-serious-external
Maximum time in which serious external threats will occur
Default: 7
--max-time-serious-internal
Maximum time in which serious internal threats will occur
Default: 6
--max-whitenoise-single
Maximum time of whitenoise of a single communication break
Default: 20
--max-whitenoise-total
Maximum time of whitenoise in total
Default: 60
--min-data-operations-1
Minimum data operations in phase 1
Default: 2
--min-data-operations-2
Minimum data operations in phase 2
Default: 2
--min-data-operations-3
Minimum data operations in phase 3
Default: 0
--min-data-transfers
Minimum data transfers (data operation and incoming data) in all phases
Default: 3
--min-data-transfers-1
Minimum data transfers (data operation and incoming data) in phase 1
Default: 0
--min-data-transfers-2
Minimum data transfers (data operation and incoming data) in phase 2
Default: 1
--min-data-transfers-3
Minimum data transfers (data operation and incoming data) in phase 3
Default: 1
--min-incoming-data
Minimum incoming data in all phases
Default: 2
--min-incoming-data-1
Minimum incoming data in phase 1
Default: 1
--min-incoming-data-2
Minimum incoming data in phase 2
Default: 0
--min-incoming-data-3
Minimum incoming data in phase 3
Default: 0
--min-internal-level, -i
Minimum levels of internal threats
Default: 1
--min-phase-time-1
Minimum phase time for phase 1
Default: 205
--min-phase-time-2
Minimum phase time for phase 2
Default: 180
--min-phase-time-3
Minimum phase time for phase 3
Default: 140
--min-time-for-threat-1
Minimum time for first threat to appear in phase 1
Default: 10
--min-time-for-threat-2
Minimum time for first threat to appear in phase 2
Default: 10
--min-time-normal-external
Minimum time in which normal external threats will occur
Default: 1
--min-time-normal-internal
Minimum time in which normal internal threats will occur
Default: 2
--min-time-serious-external
Minimum time in which serious external threats will occur
Default: 2
--min-time-serious-internal
Minimum time in which serious internal threats will occur
Default: 3
--min-whitenoise-single
Minimum time of whitenoise of a single communication break
Default: 9
--min-whitenoise-total
Minimum time of whitenoise in total
Default: 45
--output, -o
Write mission to file using renderer, can be repeated for more renderes
Default: []
--play, -x
Play MP3 after printing and outputting
Default: false
--print, -p
Print mission to screen using renderer, can be repeated for more
renderes
Default: []
--seed, -S
Set a random number generator seed
--silent, -s
Silent mode
Default: false
--threat-level, -l
Threat level of mission (should be <= 14)
Default: 8
--threats-within-percent
Threats appear within this percentage of a phase
Default: 70
--unconfirmed-threat-level, -u
Threat level unconfirmed threats
Default: 1
Available renderers:
- text
- XML
- MP3
- FlashPlayerCode
Some Examples:
java -jar JSpaceAlertMissionGenerator.jar -p text --play
- Print mission as English text file and start playing MP3s.
java -jar JSpaceAlertMissionGenerator.jar -o XML -p text -p MP3
- Print mission as text on screen, save it as XML and start playing MP3 ("print" MP3 translates to --play).
java -jar JSpaceAlertMissionGenerator.jar -p text -l 10 -u 2 -i 2 -I 4 --allow-double-threats --max-time-serious-external 8 --max-time-normal-internal 8
- Create "Standard Mission" for "The New Frontier" expansion using double actions.
Right now, the generator is quite basic: Start it from the command line and it will output a mission profile.
It will also play the mission if you provide MP3 files in a directory called "clips" in the same directory where you execute the jar.
In order to play the MP3 clips, you need to download a set of MP3 files and save them in "clips".
Look at https://github.com/nibuen/SpaceAlertMissionGenerator/tree/master/app/src/main/res/raw for the English files.
Other languages:
* Czech: https://boardgamegeek.com/filepage/41495/space-alert-mp3-random-mission-generator-czech-voi
* French: https://boardgamegeek.com/filepage/146086/voice-text-french-pack-space-alert-mission-generat
* German: https://github.com/mkalus/AndroidSpaceAlertApplicationDE/tree/master/res/raw
* Greek: https://boardgamegeek.com/filepage/70048/greek-male-voice-pack
* Japanese: https://boardgamegeek.com/filepage/52302/japanese-voice-files-spacealertmissiongenerator
* Japanese "Yukkuri" pack: https://boardgamegeek.com/filepage/56305/japanese-yukkuri-voice-pack
* Russian: https://boardgamegeek.com/filepage/120033/russian-voice-pack
* Spanish: https://boardgamegeek.com/filepage/41392/voces-en-espanol-para-el-generador-de-misiones-en
Special voice files:
* Female 1: https://boardgamegeek.com/filepage/46941/female-voice-file-pack-random-mission-generator
* Female 2: https://boardgamegeek.com/filepage/54664/female-voice-pack-random-mission-generator
* GLaDOS: https://boardgamegeek.com/filepage/114996/glados-soundpack-android-mission-generator
Have fun!
Known bugs:
- currently none
Planed additions and wishlist:
- configuration via command line options
- import of XML, Flash File Code and text
- MP3 file export (generating an MP3 file of the whole mission)
- graphical GUI
Compiling Java Space Alert Mission Generator:
You can compile the generator yourself if you do not want to download the JAR above, you can compile the source yourself:
Download using git:
git clone git://github.com/mkalus/JSpaceAlertMissionGenerator.git
Change to directory JSpaceAlertMissionGenerator:
cd JSpaceAlertMissionGenerator
Compile using Maven2-Build System and Java:
mvn install
The executable will be compiled in:
target/JSpaceAlertMissionGenerator-1.3.1-jar-with-dependencies.jar
If you do not use Maven2, you will need following libraries:
- JLayer is an MP3 player (LGPL-Licence): http://www.javazoom.net/javalayer/javalayer.html
- Options Parser (Apache Licence): http://jcommander.org/