forked from CubeCoders/GenericConfigGen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1612 lines (1603 loc) · 108 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
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<title>AMP Configuration Generator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<script>
if (window.matchMedia("(prefers-color-scheme: dark)").media === "not all") {
document.documentElement.style.display = "none";
document.head.insertAdjacentHTML(
"beforeend",
"<link id=\"css\" rel=\"stylesheet\" href=\"../dist/css/bootstrap.css\" onload=\"document.documentElement.style.display = ''\">"
);
}
</script>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap-night.min.css" rel="stylesheet" media="(prefers-color-scheme: dark)">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap.min.css" rel="stylesheet" media="(prefers-color-scheme: light)">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.5.0/knockout-min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/knockout-validation/2.0.4/knockout.validation.min.js"></script>
<script type="text/javascript" src="FileSaver.min.js"></script>
<script type="text/javascript" src="jszip.min.js"></script>
<link href="style.css" rel="stylesheet">
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="knockout.quickmap.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<script type="text/javascript" src="generator.js"></script>
</head>
<body data-spy="scroll" data-target="#navbar" data-offset="0">
<div class="container-fluid">
<div class="row">
<nav class="col-md-2 col-lg-2 d-md-block bg-light sidebar collapse" id="navbar">
<div class="position-sticky pt-3">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#basicInfo">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-server" aria-hidden="true">
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
<polyline points="9 22 9 12 15 12 15 22"></polyline>
</svg>
Basic Information
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#managementConsole">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<polyline points="4 17 10 11 4 5"></polyline>
<line x1="12" y1="19" x2="20" y2="19"></line>
</svg>
Management and Console
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#networking">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<circle cx="12" cy="12" r="10"></circle>
<line x1="2" y1="12" x2="22" y2="12"></line>
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z">
</path>
</svg>
Networking
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#updateSources">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<polyline points="8 17 12 21 16 17"></polyline>
<line x1="12" y1="12" x2="12" y2="21"></line>
<path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path>
</svg>
Update Sources
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#configuration">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<circle cx="12" cy="12" r="3"></circle>
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z">
</path>
</svg>
Configuration and Settings
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#startupShutdown">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path>
<line x1="12" y1="2" x2="12" y2="12"></line>
</svg>
Startup and Shutdown
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#serverEvents">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>
</svg>
Server Events
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#validateReview">
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
Validate and Review
</a>
<!-- div class="mb-3">
<label>Generated Command Line Arguments</label>
<input type="text" readonly class="form-control"
data-bind="value: __SampleCommandLineFlags">
<div class="form-text">
This is generated assuming the default values and default port
numbers, these will change based on user-specified values or assignments made by AMP.
</div>
</div-->
</li>
</ul>
</div>
</nav>
<main class="col-md-7 ms-sm-auto col-lg-7 px-md-4">
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2" id="logoHeader">AMP Configuration Generator</h1>
<small class="d-block text-muted">Version 2.0 - Updated by IceOfWraith<br />©2023 CubeCoders Limited</small>
<div class="btn-toolbar mb-2 mb-md-0">
<div class="btn-group me-2">
<button type="button" class="btn btn-sm btn-outline-primary" data-bind="click: __Share" data-toggle="tooltip" title="Share URL copied to clipboard ✓">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-share" viewBox="0 0 16 16">
<path d="M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5zm-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"></path>
</svg>
Share
</button>
<button type="button" class="btn btn-sm btn-outline-primary" data-bind="click: __Export">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-box-arrow-down" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M3.5 10a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 0 0 1h2A1.5 1.5 0 0 0 14 9.5v-8A1.5 1.5 0 0 0 12.5 0h-9A1.5 1.5 0 0 0 2 1.5v8A1.5 1.5 0 0 0 3.5 11h2a.5.5 0 0 0 0-1h-2z"></path>
<path fill-rule="evenodd" d="M7.646 15.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 14.293V5.5a.5.5 0 0 0-1 0v8.793l-2.146-2.147a.5.5 0 0 0-.708.708l3 3z"></path>
</svg>
Export
</button>
<button type="button" class="btn btn-sm btn-outline-primary" data-bind="click: __Import">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-box-arrow-in-up" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M3.5 10a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 0 0 1h2A1.5 1.5 0 0 0 14 9.5v-8A1.5 1.5 0 0 0 12.5 0h-9A1.5 1.5 0 0 0 2 1.5v8A1.5 1.5 0 0 0 3.5 11h2a.5.5 0 0 0 0-1h-2z"></path>
<path fill-rule="evenodd" d="M7.646 4.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V14.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3z"></path>
</svg>
Import
</button>
</div>
</div>
<div class="btn-toolbar mb-2 mb-md-0">
<button type="button" class="btn btn-sm btn-outline-danger" data-bind="click: __Clear" data-toggle="tooltip" title="Share URL copied to clipboard ✓">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-stars" viewBox="0 0 16 16">
<path d="M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z"></path>
</svg>
Clear
</button>
</div>
</div>
<p>You can find detailed instructions and explanations on the <a href="https://github.com/CubeCoders/AMP/wiki/Configuring-the-%27Generic%27-AMP-module" target="_blank">Generic Configurations Wiki</a>.</p>
<div class="bd-content">
<form id="mainform">
<h4 id="basicInfo">Basic Information</h4>
<div class="row">
<div class="mb-3 col-6">
<label for="applicationNameField">Application Name</label>
<div class="form-text">This is what will show up within AMP as the name of the application.</div>
<input type="text" class="form-control" id="applicationNameField" placeholder="Valheim" data-bind="value: Meta_DisplayName, valueUpdate: 'input'">
</div>
<div class="mb-3 col-6">
<label for="applicationDescriptionField">Description (Optional)</label>
<div class="form-text">Useful for describing different variants/configurations of the same application.</div>
<input type="text" class="form-control" id="applicationDescriptionField" placeholder="Valheim Dedicated Server" data-bind="value: Meta_Description">
</div>
</div>
<div class="row">
<div class="mb-3 col-6">
<label for="applicationAuthorField">Configuration Author</label>
<div class="form-text">Who are you? Take some credit for your work! Please use your GitHub username.</div>
<input type="text" class="form-control" id="applicationAuthorField" data-bind="value: _Meta_Author" placeholder="CubeCoders">
</div>
<div class="mb-3 col-6">
<label for="applicationURLField">Application URL</label>
<div class="form-text">A link to where you can learn more about the application, such as a store listing.</div>
<input type="url" class="form-control" id="applicationURLField" data-bind="value: Meta_URL" placeholder="https://store.steampowered.com/app/892970/Valheim/">
</div>
</div>
<div class="mb-3">
<label>Which operating systems are supported?</label>
<div class="list-group mx-0 list-group-horizontal">
<label class="list-group-item d-flex gap-2" style="flex: 1">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: _SupportsWindows">
<span>
Windows
<small class="d-block text-muted">
Runs on Windows 10/Server 2016 or newer. x86/64 Only.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2" style="flex: 1">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: _SupportsLinux">
<span>
Linux
<small class="d-block text-muted">
Runs on Linux Systems. Recommend validating on Debian 10 x86/64.
</small>
</span>
</label>
</div>
</div>
<div class="mb-3" data-bind="visible: _SupportsLinux">
<label>What compatibility layer is required?</label>
<div class="list-group mx-0">
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="_compatibilityType" value="None" data-bind="checked: _compatibility">
<span>
None
<small class="d-block text-muted">
For applications that can run natively on Linux.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="_compatibilityType" value="Wine" data-bind="checked: _compatibility">
<span>
Wine
<small class="d-block text-muted">
For applications that can run on Linux, but require Wine.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="_compatibilityType" value="WineXvfb" data-bind="checked: _compatibility">
<span>
Wine with Xvfb
<small class="d-block text-muted">
For applications that can run on Linux, but require Wine and Xvfb.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="_compatibilityType" value="Proton" data-bind="checked: _compatibility">
<span>
Proton (Not recommended)
<small class="d-block text-muted">
For applications that can run on Linux, but require Proton. This is not recommended as it requires additional complexity versus Wine. If you are unsure, use Wine.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="_compatibilityType" value="ProtonXvfb" data-bind="checked: _compatibility">
<span>
Proton with Xvfb (Not recommended)
<small class="d-block text-muted">
For applications that can run on Linux, but require Proton and Xvfb. This is not recommended as it requires additional complexity versus Wine. If you are unsure, use Wine.
</small>
</span>
</label>
</div>
<div class="form-text"></div>
</div>
<br /><hr /><br />
<h4 id="managementConsole">Management and Console</h4>
<div class="mb-3">
<label>How is this application managed?</label>
<div class="list-group mx-0">
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="PinballWizard" data-bind="checked: App_AdminMethod">
<span>
None
<small class="d-block text-muted">
For applications that cannot be managed. AMP will only be able to provide basic monitoring.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="STDIO" data-bind="checked: App_AdminMethod">
<span>
Standard IO
<small class="d-block text-muted">
For applications with a normal console that can be read from and/or written to.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="SourceRCON" data-bind="checked: App_AdminMethod">
<span>
Source RCON
<small class="d-block text-muted">
For applications that use the standard Source RCON Protocol.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="TelnetRCON" data-bind="checked: App_AdminMethod">
<span>Telnet</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="BattlEyeRCON" data-bind="checked: App_AdminMethod">
<span>BattleEye</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="WebRCON" data-bind="checked: App_AdminMethod">
<span>WebRCON</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType" value="QuakeRCON" data-bind="checked: App_AdminMethod">
<span>Quake RCON</span>
</label>
<!--label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="manageType"
value="AMP_GSIO" data-bind="checked: App_AdminMethod">
<span>
AMP GS/IO
<small class="d-block text-muted">
For applications that use CubeCoders
GameServer/IO Standard.
</small>
</span>
</label-->
</div>
<div class="form-text"></div>
</div>
<div class="mb-3">
<label>What modes are supported by the applications console?</label>
<div class="form-text">
This is in addition to the applications management type if it accepts management over methods other than Standard IO
</div>
<div class="list-group mx-0 list-group-horizontal">
<label class="list-group-item d-flex gap-2" style="flex: 1">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: App_HasReadableConsole">
<span>
Reading
<small class="d-block text-muted">
This application writes log output to its console that AMP can read.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2" style="flex: 1">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: App_HasWritableConsole">
<span>
Writing
<small class="d-block text-muted">
The console of this application supports having input written to it.
</small>
</span>
</label>
</div>
</div>
<!--div class="mb-3">
<label>Are any compatibility flags required?</label>
<div class="form-text">Generally these are not needed for modern applications</div>
<div class="list-group mx-0">
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="checkbox" value="">
<span>
Linux Console Unbuffering
<small class="d-block text-muted">
Handle Linux applications that only
write to the console in large chunks instead of one line at a
time.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="checkbox" value="">
<span>
Windows Virtual Console
<small class="d-block text-muted">
Handle Windows applications that use a
console window but do not use the actual standard IO
streams.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="checkbox" value="">
<span>
Legacy Windows Unity Compatibility
<small class="d-block text-muted">
Used for older Unity applications that
don't write to their console properly.
</small>
</span>
</label>
</div>
</div-->
<br /><hr /><br />
<h4 id="networking">Networking</h4>
<div class="form-text">
AMP will automatically generate firewall rules to allow the application ports through. You may add any number of ports. Maximum of 1 Main Game, Steam Query, and RCON Port.
</div>
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Number</th>
<th scope="col">Type</th>
<th scope="col">Name</th>
<th scope="col">Description</th>
<th scope="col">Protocol</th>
<th></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _PortMappings -->
<tr>
<td>
<input type="number" min="1024" max="65535" value="7777" data-bind="value: Port">
</td>
<td data-bind="text: _PortType"></td>
<td>
<input type="text" data-bind="value: Name">
</td>
<td>
<input type="text" placeholder="Port for main traffic" data-bind="value: _Description">
</td>
<td>
<select class="form-select" data-bind="value: _Protocol">
<option value="0">Both</option>
<option value="1">TCP</option>
<option value="2">UDP</option>
</select>
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-danger" data-bind="click: __RemovePort">
Delete
</button>
</td>
</tr>
<!-- /ko -->
<!-- ko if: _PortMappings().length == 0 -->
<tr>
<td colspan="3">No ports have been added.</td>
</tr>
<!-- /ko -->
</tbody>
<tfoot>
<tr>
<td>
<input type="number" min="1024" max="65535" value="7777" data-bind="value: __NewPort">
</td>
<td>
<select class="form-select" data-bind="options: _availablePortOptions, value: __NewPortType"></select>
</td>
<td>
<input type="text" placeholder="Main Game Port" data-bind="value: __NewName">
</td>
<td>
<input type="text" placeholder="Port for main traffic" data-bind="value: __NewDescription">
</td>
<td>
<select class="form-select" data-bind="value: __NewProtocol">
<option value="0">Both</option>
<option value="1">TCP</option>
<option value="2">UDP</option>
</select>
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __AddPort">
Add
</button>
</td>
</tr>
</tfoot>
</table>
<br /><hr /><br />
<h4 id="updateSources">Update Sources</h4>
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Stage Name</th>
<th scope="col">Source Type</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _UpdateStages -->
<tr>
<td data-bind="text: UpdateStageName"></td>
<td data-bind="text: UpdateSource"></td>
<td style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __EditStage">
Edit
</button>
<button type="button" class="btn btn-danger" data-bind="click: __RemoveStage">
Delete
</button>
</td>
</tr>
<!-- /ko -->
<!-- ko if: _UpdateStages().length == 0 -->
<tr>
<td colspan="6">No update sources added.</td>
</tr>
<!-- /ko -->
</tbody>
<tfoot>
<tr>
<td colspan="2"></td>
<td colspan="2" style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __AddStage">
Add Stage
</button>
</td>
</tr>
</tfoot>
</table>
<br /><hr /><br />
<h4 id="configuration">Configuration and Settings</h4>
<!-- <h5>Application Settings</h5> -->
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Display Name</th>
<th scope="col">Field Name</th>
<th scope="col">Default Value</th>
<th scope="col">Command Line</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _AppSettings -->
<tr>
<td data-bind="text: DisplayName"></td>
<td data-bind="text: FieldName"></td>
<td data-bind="text: DefaultValue"></td>
<td data-bind="text: IncludeInCommandLine() ? '✓' : '✗'"></td>
<td style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __EditSetting">
Edit
</button>
<button type="button" class="btn btn-danger" data-bind="click: __RemoveSetting">
Delete
</button>
</td>
</tr>
<!-- /ko -->
<!-- ko if: _AppSettings().length == 0 -->
<tr>
<td colspan="6">No settings have been added.</td>
</tr>
<!-- /ko -->
</tbody>
<tfoot>
<tr>
<td colspan="4"></td>
<td colspan="2" style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __AddSetting">
Add Setting
</button>
</td>
</tr>
</tfoot>
</table>
<h5 id="configurationFiles">Configuration Files</h5>
<div class="form-text">
Select the location of any game server configuration files AMP should manage. Location relative to Base Directory.
</div>
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Config File</th>
<th scope="col">Config Type</th>
<th scope="col">AutoMap</th>
<th></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _ConfigFileMappings -->
<tr>
<td>
<input type="text" placeholder="Configs/Network.eco" data-bind="value: ConfigFile">
</td>
<td>
<select class="form-select" data-bind="value: _ConfigType">
<option value="0">JSON</option>
<option value="1">INI</option>
<option value="2">XML</option>
<option value="3">KVP</option>
<option value="4">Other</option>
</select>
</td>
<td>
<input type="checkbox" data-bind="checked: _AutoMap">
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-danger" data-bind="click: __RemoveConfigFile">
Delete Config File
</button>
</td>
</tr>
<!-- /ko -->
<!-- ko if: _ConfigFileMappings().length == 0 -->
<tr>
<td colspan="3">No config files have been added.</td>
</tr>
<!-- /ko -->
</tbody>
<tfoot>
<tr>
<td>
<input type="text" placeholder="Configs/Network.eco" data-bind="value: __NewConfigFile">
</td>
<td>
<select class="form-select" data-bind="value: __NewConfigType">
<option value="0">JSON</option>
<option value="1">INI</option>
<option value="2">XML</option>
<option value="3">KVP</option>
<option value="4">Other</option>
</select>
</td>
<td>
<input type="checkbox" data-bind="checked: __NewAutoMap">
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __AddConfigFile">
Add Config File
</button>
</td>
</tr>
</tfoot>
</table>
<br /><hr /><br />
<h4 id="startupShutdown">Startup and Shutdown</h4>
<h5>Application and Parameters</h5>
<div class="row mb-3">
<div class="mb-3 col-6" data-bind="visible: _SupportsWindows()">
<label for="applicationWinExeField">Windows Executable</label>
<input type="text" class="form-control" id="applicationWinExeField" data-bind="value: _WinExecutableName, valueUpdate: 'input'" placeholder="Application.exe">
</div>
<div class="mb-3 col-6" data-bind="visible: _SupportsLinux() && _compatibility() != 'Wine' && _compatibility() != 'WineXvfb' && _compatibility() != 'Proton' && _compatibility() != 'ProtonXvfb'">
<label for="applicationLinExeField">Linux Executable</label>
<input type="text" class="form-control" id="applicationLinExeField" data-bind="value: _LinuxExecutableName, valueUpdate: 'input'" placeholder="Application.x86_64">
</div>
</div>
<div class="mb-3">
<label for="applicationArgumentsField">Command line arguments</label>
<div class="form-text">
Don't include any arguments that come from the Configuration and Settings section above.
<!-- <button type="button" class="linkButton">Show substitutions reference</button> -->
</div>
<input type="text" class="form-control" id="applicationArgumentsField" data-bind="value: App_CommandLineArgs, valueUpdate: 'input'">
</div>
<div class="row">
<div class="mb-3 col-6" data-bind="visible: _SupportsWindows">
<label for="applicationArgumentsWindowsField">Command line Windows only arguments</label>
<div class="form-text">
Any Windows specific arguments to be used in the command line args in place of {{$PlatformArgs}}.
</div>
<input type="text" class="form-control" id="applicationArgumentsWindowsField" data-bind="value: App_WindowsCommandLineArgs">
</div>
<div class="mb-3 col-6" data-bind="visible: _SupportsLinux">
<label for="applicationArgumentsLinuxField">Command line Linux only arguments</label>
<div class="form-text">
Any Linux specific arguments to be used in the command line args in place of {{$PlatformArgs}}.
</div>
<input type="text" class="form-control" id="applicationArgumentsLinuxField" data-bind="value: _App_LinuxCommandLineArgsInput">
</div>
</div>
<div class="row">
<div class="mb-3 col-6">
<label for="applicationArgumentsFormatField">Command line parameter format</label>
<div class="form-text">
The format to be used to add settings specified above to the command line in place of {{$FormattedArgs}}. {0} is the field name and {1} the value.
</div>
<input type="text" class="form-control" id="applicationArgumentsFormatField" data-bind="value: App_CommandLineParameterFormat">
</div>
<div class="mb-3 col-6">
<label for="applicationArgumentsDelimiterField">Command line parameter delimiter</label>
<div class="form-text">
The character(s) used to separate different arguments in the command line flags generated by settings. By default this is a single space.
</div>
<input type="text" class="form-control" id="applicationArgumentsDelimiterField" data-bind="value: App_CommandLineParameterDelimiter">
</div>
</div>
<div class="row">
<div class="mb-3 col-6" data-bind="visible: Meta_DisplayImageSource().substring(0, 3) != 'url'">
<label for="workshopModsField">Steam Workshop Mods Location</label>
<div class="form-text">
Where should AMP place Steam Workshop mods? This is relative to the Base Directory.
</div>
<input type="text" class="form-control" id="workshopModsField" data-bind="value: _App_SteamWorkshopDownloadLocation" placeholder="ConanSandbox/Mods">
</div>
<div class="mb-3 col-6" data-bind="visible: Meta_DisplayImageSource().substring(0, 3) == 'url'">
<label for="displayImageField">Display Image Source</label>
<div class="form-text">
A URL to an image that AMP can use to represent the application. This is pre-filled for Steam games.
</div>
<input type="text" class="form-control" id="displayImageField" data-bind="value: _DisplayImageSource">
</div>
</div>
<!--
<div class="mb-3">
<label>Startup Mode</label>
<div class="list-group mx-0 list-group-horizontal">
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="startupType"
value="false" data-bind="checked: App_RapidStartup">
<span>
Standard
<small class="d-block text-muted">
For applications that take some time to start.
AMP will display a notification until startup has been confirmed.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="startupType"
value="true" data-bind="checked: App_RapidStartup">
<span>
Rapid
<small class="d-block text-muted">
For applications that can start very quickly
(Under 5 seconds) - AMP will not create a notification/task for
startup.
</small>
</span>
</label>
</div>
</div>
-->
<div class="mb-3">
<label>Startup Confirmation Mode</label>
<div class="list-group mx-0">
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="startConfirmMode" value="Immediate" data-bind="checked: App_ApplicationReadyMode">
<span>
Immediate
<small class="d-block text-muted">
AMP will assume that the application is ready immediately without making any checks.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="startConfirmMode" value="RCONConnected" data-bind="checked: App_ApplicationReadyMode">
<span>
Successful RCON Connection
<small class="d-block text-muted">
Once AMP connects to the game servers RCON successfully, it will treat the server as being ready.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="radio" name="startConfirmMode" value="RegexMatch" data-bind="checked: App_ApplicationReadyMode">
<span>
Wait for message (Regular Expression)
<small class="d-block text-muted">
AMP will wait until the server produces a message matching a regular expression before assuming it's ready.
</small>
</span>
</label>
</div>
</div>
<h5>Shutdown</h5>
<div class="row">
<div class="mb-3 col-6">
<label>Shutdown Method</label>
<select class="form-select" data-bind="value: App_ExitMethod">
<option value="String">Run a command on the server</option>
<option value="OS_CLOSE">Request via OS (Recommended if running a command is not possible)</option>
<option value="Kill">Kill Process Immediately</option>
<option value="EndStream">End STDIO stream</option>
<option value="CtrlC">Send CTRL+C literal (Probably not what you want)</option>
<option value="CtrlD">Send CTRL+D literal</option>
<option value="Esc">Send ESCAPE literal</option>
<option value="WM_CLOSE">Send WM_CLOSE message (Windows Only)</option>
<option value="WM_QUIT">Send WM_QUIT message (Windows Only)</option>
<option value="SIGINT">Send SIGINT signal (Linux only, equivalent to pressing CTRL+C)</option>
<option value="SIGTERM">Send SIGTERM signal (Linux only)</option>
<option value="SIGKILL">Send SIGKILL signal (Linux only)</option>
</select>
</div>
<div class="mb-3 col-6" data-bind="visible: App_ExitMethod() == 'String'">
<label for="applicationStopCommandField">Command to send</label>
<input type="text" class="form-control" id="applicationStopCommandField" data-bind="value: App_ExitString">
</div>
</div>
<br /><hr /><br />
<h4 id="serverEvents">Server Events (Beta)</h4>
<p>
AMP uses the game server's output from either the console (standard output) or RCON to know how to handle certain events:<br />
A successful startup, Users connecting/disconnecting, or Chat messages.
</p>
<p>
The Config Generator will attempt to create regular expressions based on your input.
Paste a line from the console that uniquely represents the events.
Keep all static pieces of the line and replace sections that vary with the *{misc} variable.
Use as many of these variables in place of corresponding sections of the lines:
</p>
<table style="width:100%">
<tr>
<th>Variable</th>
<th>Description</th>
</tr>
<tr>
<td><b>*{username}</b></td>
<td>The Username of the player</td>
</tr>
<tr>
<td><b>*{userid}</b></td>
<td>The User ID of the player (Typically Steam64 ID or Epic ID #)</td>
</tr>
<tr>
<td><b>*{sessionid}</b></td>
<td>Any unique number to identify a player's Session</td>
</tr>
<tr>
<td><b>*{message}</b></td>
<td>The chat message</td>
</tr>
<tr>
<td><b>*{endpoint}</b></td>
<td>The IP of the player</td>
</tr>
<tr>
<td><b>*{misc}</b></td>
<td>Any section of the line that varies</td>
</tr>
</table><br />
<p>
<a href="https://regex101.com" target="_blank">Regex101</a> is an excellent resource to help validate expressions. AMP uses the 'ECMAScript (Javascript)' regex flavour.
</p>
<div class="mb-3">
<label for="appReadyExprField">
Server ready expression
<small class="d-block text-muted">
AMP will transition from the 'starting' to the 'ready' state when matched and using 'Wait for message as the Startup Confirmation Mode.
</small>
</label>
<input type="text" class="form-control" id="appReadyExprField" data-bind="value: _Console_AppReadyRegex" placeholder="Server is ready.">
</div>
<div class="mb-3">
<label for="appUserConnExprField">
User connected expression
<small class="d-block text-muted">
Must contain a *{username}, *{userid}, or *{sessionid} and optionally an *{endpoint}.
</small>
</label>
<input type="text" class="form-control" id="appUserConnExprField" data-bind="value: _Console_UserJoinRegex" placeholder="User *{username} (*{userid}) connected from [*{endpoint}]">
</div>
<div class="mb-3">
<label for="appUserDisconnExprField">
User disconnected expression
<small class="d-block text-muted">
Must contain a *{username}, *{userid}, or *{sessionid}. Must match a variable that was used in the User connected expression.
</small>
</label>
<input type="text" class="form-control" id="appUserDisconnExprField" data-bind="value: _Console_UserLeaveRegex" placeholder="User *{username} (*{userid}) disconnected. Reason: *{misc}">
</div>
<div class="mb-3">
<label for="appChatExprField">
User chat expression
<small class="d-block text-muted">
Must have either a *{username} or *{userid} plus a *{message}.
</small>
</label>
<input type="text" class="form-control" id="appChatExprField" data-bind="value: _Console_UserChatRegex" placeholder="*{username}: *{message}">
</div>
<br /><hr /><br />
<h4 id="validateReview">Validate and Review</h4>
<div class="mb-3">
<label>Generated Command Line Arguments</label>
<div class="form-text">
This is generated assuming the default values and default port numbers, these will change based on user-specified values or assignments made by AMP.
</div>
</div>
<div class="mb-3">
<p>
<button type="button" class="btn btn-primary" data-bind="click: __ValidateConfig">Validate Configuration</button>
</p>
<p data-bind="visible: __ValidationResult() == 0" class="p-3 mb-2 bg-dark text-white">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"></path>
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
</svg>
You have not yet validated your configuration. You will not be able to download your configuration until you have done this.
</p>
<p data-bind="visible: __ValidationResult() == 1" class="p-3 mb-2 bg-danger text-white">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-octagon" viewBox="0 0 16 16">
<path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1 1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"></path>
<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"></path>
</svg>
Validation Failed - You must address the following failures before you may continue.
</p>
<p data-bind="visible: __ValidationResult() == 2" class="p-3 mb-2 bg-warning text-dark">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-triangle" viewBox="0 0 16 16">
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"></path>
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"></path>
</svg>
Validation Passed with Warnings - You should consider addressing the following warnings.
</p>
<p data-bind="visible: __ValidationResult() == 3" class="p-3 mb-2 bg-success text-white">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"></path>
<path d="M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"></path>
</svg>
Validation Passed - Great stuff! You may now download the completed configuration below.
</p>
</div>
<div class="mb-3">
<div class="h5">Validation Issues:</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Category</th>
<th scope="col">Issue</th>
<th scope="col">Recommentation</th>
</tr>
</thead>
<tbody>
<!-- ko foreach: __ValidationResults -->
<tr data-bind="class: gradeClass">
<td data-bind="text: grade"></td>
<td data-bind="text: issue"></td>
<td data-bind="text: recommendation"></td>
</tr>
<!-- ko if: impact != 0 -->
<tr data-bind="class: gradeClass">
<td>Impact:</td>
<td data-bind="text: impact" colspan="2"></td>
</tr>
<!-- /ko -->
<!-- /ko -->
<!-- ko if: __ValidationResults().length == 0 -->
<tr class="table-success">
<td colspan="3">No validation issues</td>
</tr>
<!-- /ko -->
</tbody>
</table>
</div>
<div>
<div>
<button type="button" class="btn btn-primary mb-3" data-bind="enable: __ValidationResult() > 1, click: __DownloadConfig">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"></path>
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"></path>
</svg>
Download Configuration
</button>
</div>
<p class="p-3 mb-2 bg-warning text-dark">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-triangle" viewBox="0 0 16 16">
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"></path>
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"></path>
</svg>
Make sure to keep a backup of your configuration by using the 'Export' option at the top of the page! You will need this to make further changes even after downloading the configuration and manifest.
</p>
</div><hr />
<div class="mb-3">
<h5>Using the generated configuration</h5>
<p>You can find the steps to upload the configuration to GitHub and use them within AMP on the <a href="https://github.com/CubeCoders/AMP/wiki/Configuring-the-%27Generic%27-AMP-module" target="_blank">Generic Configurations Wiki</a>.</p>
</div>
<p> </p>
</form>
</div>
</main>
<div class="col-md-3 col-lg-3 d-md-block bg-light leftLine">
<div class="row rightbar">
<h1 class="h2 pt-3">Generated Data</h1>
<small class="mb-3">Values that are calculated automatically based on your input.</small>
<table class="table table-striped">
<tbody data-bind="foreach: __GenData">
<tr>
<!-- ko if: value.length > 32 -->
<td colspan="2">
<h6 data-bind="text: key"></h6>
<span data-bind="text: value"></span>
<!-- ko if: value == "" -->
<small class="form-text">No Generated Value</small>
<!-- /ko -->
</td>
<!-- /ko -->
<!-- ko if: value.length <= 32 -->
<td class="genTableHeader">
<h6 data-bind="text: key"></h6>
</td>
<td>
<span data-bind="text: value"></span>
<!-- ko if: value == "" -->
<small class="form-text">No Generated Value</small>
<!-- /ko -->
</td>
<!-- /ko -->
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="addEditSettingModal" data-bs-backdrop="static" data-bind="with: __AddEditSetting">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">