-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
496 lines (466 loc) · 17.5 KB
/
index.html
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>SMW Randomizer</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@smwcommunity">
<meta name="twitter:creator" content="@_authorblues">
<meta name="twitter:title" content="Super Mario World Randomizer">
<meta name="twitter:description" content="Generate fully-customizable randomized Super Mario World roms.">
<meta name="twitter:image" content="http://authorblues.github.io/smwrandomizer/img/twitter-card.png?1">
<link rel="icon" type="image/x-icon" href="dolphin.ico">
<link rel="icon" type="image/png" href="dolphin.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="container">
<div class="float-left">
<h2 class="header">Super Mario World
<span data-en_us="Randomizer" data-en_gb="Randomiser">Randomizer</span>
<span class="version-number"></span> <span class="beta">BETA</span></h2>
<p>by <span id="authorblues">authorblues</span> + kaizoman666</p>
</div>
<div class="float-right">
<button class="btn btn-info btn-lg" id="view-changelog">
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
View Changelog
</button>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<input type="file" id="original-rom" accept=".sfc,.smc">
<button id="select-original-rom" class="btn btn-default btn-full-width">
<span class="glyphicon glyphicon-question-sign" aria-hidden="true" id="original-rom-result"></span>
Select Original NTSC-U (English) ROM
</button>
<div class="input-group top-spaced">
<div class="input-group-addon">
<span><span data-en_us="Randomizer" data-en_gb="Randomiser">Randomizer</span> Preset</span>
</div>
<select class="form-control" id="preset">
<option value="0"><Custom></option>
<option value="1">Gnarly (Easiest)</option>
<option value="2">Tubular</option>
<option value="3">Way Cool</option>
<option value="4">Awesome (Average)</option>
<option value="5">Groovy</option>
<option value="6">Mondo</option>
<option value="7">Outrageous (Hardest)</option>
<option value="8">Funky (Hardcore!)</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="input-group" id="gen-group-container">
<input type="text" class="form-control mono"
placeholder="(Optional) Custom Seed" id="custom-seed">
<span class="input-group-btn" id="gen-btn-container">
<button id="generate-randomized-rom" class="btn btn-default btn-full-width" type="button" disabled>
<span class="glyphicon glyphicon-random" aria-hidden="true"></span>
Generate ROM
</button>
</span>
</div>
<div class="form-group top-spaced">
<input type="text" class="form-control mono hidden"
placeholder=".setgoal" id="setgoal-text">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3><span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Stages</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_stages" class="presetoption" checked>
Randomly Swap Stages (Sorta the point, ya know?)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_sublevels" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Sublevels
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_exits" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Exits (Swap Normal/Secret Randomly)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_warps" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Warps
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_sameworld" class="presetoption">
Keep Same World (<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> only within world)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_sametype" class="presetoption">
Keep Same Type (Ghost, Water, Normal)
</label>
</div>
<h3>Overworld Level Names</h3>
<div class="radio">
<label>
<input type="radio" name="levelnames" value="same_stage" id="levelnames_samestage" class="presetoption" checked>
Match Stage
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="levelnames" value="same_overworld" id="levelnames_overworld" class="presetoption">
Match Overworld
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="levelnames" value="random_stage" id="levelnames_randomstage" class="presetoption">
Random Stage
</label>
</div>
<h3>Enemy Properties</h3>
<div class="radio">
<label>
<input type="radio" name="enemyprop" value="default" id="enemyprop_default" class="presetoption" checked>
Default
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="enemyprop" value="normal" id="enemyprop_normal" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Consistently
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="enemyprop" value="chaos" id="enemyprop_chaos" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Chaotically
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_enemies" class="presetoption">
Shuffle Enemies
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="customyoshipowers" class="presetoption">
Custom Yoshi Color Abilities
</label>
</div>
<h3>Bosses / Enemies</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_koopakids" class="presetoption">
Shuffle Koopa Kids
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_bossdiff" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Boss Difficulty (Koopa Kids, Big Boo, Reznor, Bowser)
</label>
</div>
<h3>Bowser's Castle</h3>
<div class="radio">
<label>
<input type="radio" name="bowser" class="presetoption" id="bowser_default" value="default" checked>
Default
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="bowser" class="presetoption" id="bowser_swapdoors" value="random">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Front/Back Door
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="bowser" class="presetoption" id="bowser_minigauntlet" value="minigauntlet">
Mini-Gauntlet (2-4 rooms)
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="bowser" class="presetoption" id="bowser_gauntlet" value="gauntlet">
The Gauntlet™
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_bowserdoors" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Bowser's 1-8 Doors
</label>
</div>
</div>
<div class="col-md-6">
<h3>Powerups</h3>
<div class="radio">
<label>
<input type="radio" name="powerups" value="default" id="powerup_default" class="presetoption" checked>
Default Powerups
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="powerups" value="random" id="powerup_randomize" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Powerups
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="powerups" value="nocape" id="powerup_nocape" class="presetoption">
No Cape
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="powerups" value="smallonly" id="powerup_smallonly" class="presetoption">
Small Only
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="noyoshi" class="presetoption">
No Yoshi
</label>
</div>
<h3>Stage Properties</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_noyoshi" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> No-Yoshi Entrances
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_levelexits" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Level Exits (Yoshi Wings, Keys, etc.)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_colors" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Stage Color Palettes
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_autoscrollers" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Autoscrollers
</label>
</div>
<h3>Sublevel Physics</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="slippery" class="presetoption">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Slippery/Ice Physics
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="addwater" class="presetoption">
Randomly Add Water to Stages
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="delwater" class="presetoption">
Randomly Remove Water from Stages (Can Be Difficult!)
</label>
</div>
<h3>Saving</h3>
<div class="radio">
<label>
<input type="radio" name="saving" value="all" id="saving_all" class="presetoption">
After Every Level
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="saving" value="default" id="saving_default" class="presetoption" checked>
Default (After Ghost/Castles/Forts + Others)
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="saving" value="original" id="saving_original" class="presetoption">
Original Overworld Locations
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="saving" value="none" id="saving_none" class="presetoption">
No Saving :)
</label>
</div>
<h3>Other</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="customnames" class="presetoption">
Custom Stage Names
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="customtext" class="presetoption">
Custom Text (Message Boxes, Cutscenes, etc.)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="pogyo_mode" class="presetoption">
(☆^O^☆)
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="randomize_music">
<span data-en_us="Randomize" data-en_gb="Randomise">Randomize</span> Music (Please don't!)
</label>
</div>
<div id="cheatmenu" class="hidden">
<h3>Cheats</h3>
<div class="checkbox">
<label>
<input type="checkbox" id="cheat_infinitelives" class="cheat presetoption">
Infinite Lives
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="cheat_devmode" class="cheat presetoption">
Developer Mode
</label>
</div>
</div>
</div>
</div>
</div>
<hr />
<div class="container">
<div class="row">
<div class="col-md-6">
<div>
<a class="btn btn-default btn-full-width" href="http://github.com/authorblues/smwrandomizer/issues" id="bugreport">
<span class="glyphicon glyphicon-fire" aria-hidden="true"></span>
Report a Bug
</a>
<a class="btn btn-default btn-full-width top-spaced" href="http://github.com/authorblues/smwrandomizer">
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
Contribute
</a>
</div>
</div>
<div class="col-md-6">
<h3>Testers</h3>
<p>The following people helped to test out the initial versions of the <span data-en_us="randomizer" data-en_gb="randomiser">randomizer</span>, and helped it to reach the stability it has today: <span id="tester-list"></span></p>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="modal-download-win" tabindex="-1" role="dialog" aria-labelledby="modal-download-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-download-label">
Quick Download
</h4>
</div>
<div class="modal-body">
<p>
You have been directed here to download the <strong class="version-number"></strong> rom with a seed of <strong class="seed"></strong> using
the <strong class="preset"></strong> preset. If this is not correct, close this window to access the customization tools to generate the rom
of your choosing. If you would like to download this specific rom, please click the button labelled with the seed+preset below.
</p>
<button type="button" id="generate-param-rom" class="btn btn-primary btn-full-width" data-dismiss="modal">
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>
Download <span class="preset"></span> <span class="version-number"></span> (<span class="seed"></span>)
</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-error-win" tabindex="-1" role="dialog" aria-labelledby="modal-error-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-error-label">
An Error Has Occurred
</h4>
</div>
<div class="modal-body">
<p id="modal-error-text"></p>
<ul id="modal-error-list"></ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-changelog-win" tabindex="-1" role="dialog" aria-labelledby="modal-changelog-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modal-changelog-label">
SMW Randomizer Changelog
</h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script>
<script src="js/randomizer.js"></script>
<script src="js/randomizer.base.js"></script>
<script src="js/randomizer.lunarmagic.js"></script>
<script src="js/randomizer.patch.js"></script>
<script src="js/randomizer.preset.js"></script>
<script src="js/randomizer.powerup.js"></script>
<script src="js/randomizer.bowser.js"></script>
<script src="js/randomizer.text.js"></script>
<script src="js/randomizer.sound.js"></script>
<script src="js/randomizer.ci2.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/vendor/FileSaver.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>