-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
2261 lines (2242 loc) · 162 KB
/
Copy pathindex.html
File metadata and controls
2261 lines (2242 loc) · 162 KB
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 type="text/javascript" src="templateimport.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.1 - 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>
<button type="button" class="btn btn-sm btn-outline-primary" data-bind="click: __ImportFiles">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-folder" viewBox="0 0 16 16">
<path d="M.54 3.87.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.826a2 2 0 0 1-1.991-1.819l-.637-7a2 2 0 0 1 .342-1.31zM2.19 4a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4H2.19zm4.69-1.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139q.323-.119.684-.12h5.396z"></path>
</svg>
Import Template
</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="row">
<div class="mb-3 col-6">
<label for="endpointUriFormatField">Connect URI</label>
<div class="form-text">What AMP's "connect" button opens. Built from the Steam query port if left blank.</div>
<input type="text" class="form-control" id="endpointUriFormatField" data-bind="value: _Meta_EndpointURIFormatRaw, attr: { placeholder: Meta_EndpointURIFormat }">
</div>
<div class="mb-3 col-6">
<label for="dockerImageField">Docker Image</label>
<div class="form-text">The container image AMP runs the application in. Chosen from the compatibility layer if left blank.</div>
<input type="text" class="form-control" id="dockerImageField" data-bind="value: _Meta_SpecificDockerImageRaw, attr: { placeholder: Meta_SpecificDockerImage }">
</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="row">
<div class="mb-3 col-6">
<label for="aarchSupportField">ARM64 (aarch64) support</label>
<div class="form-text">Whether the application runs on ARM64 machines such as Oracle Ampere or a Raspberry Pi.</div>
<select class="form-select" id="aarchSupportField" data-bind="value: Meta_AarchSupport">
<option value="Unknown">Unknown / untested</option>
<option value="NotSupported">Not supported - x86/64 only</option>
<option value="Native">Supported natively</option>
<option value="Emulated">Supported, but only under emulation</option>
</select>
</div>
<div class="mb-3 col-6">
<label for="releaseStateField">Configuration state</label>
<div class="form-text">How finished this configuration is. Anyone using your template can see this.</div>
<select class="form-select" id="releaseStateField" data-bind="value: Meta_ConfigReleaseState">
<option value="NotSpecified">Not specified</option>
<option value="EarlyWorkInProgress">Early work in progress</option>
<option value="MinorIssues">Usable, with minor issues</option>
<option value="Complete">Complete</option>
</select>
</div>
</div>
<div class="mb-3">
<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" data-bind="checked: Meta_NoCommercialUsage">
<span>
No commercial usage
<small class="d-block text-muted">
The application's licence doesn't allow it to be hosted commercially.
</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_HasWriteableConsole">
<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" data-bind="visible: App_AdminMethod() != 'STDIO' && App_AdminMethod() != 'PinballWizard'">
<label>Remote admin password</label>
<div class="form-text">
Pass the password to the application with the {{$RemoteAdminPassword}} template item in its command line arguments or a configuration file.
</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" data-bind="checked: App_UseRandomAdminPassword">
<span>
Generate the password automatically
<small class="d-block text-muted">
AMP makes up a password rather than the user choosing one. Recommended for anything managed over RCON.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2" data-bind="visible: App_UseRandomAdminPassword">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: App_PersistRandomPassword">
<span>
Keep the generated password
<small class="d-block text-muted">
Leave this off and a new password is generated every time the application starts.
</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.
Use 'Derived' for a port that always sits a fixed distance above another one - AMP works its number out from the port it came from and keeps the whole group together when it assigns ports to an instance.
</div>
<div class="table-responsive mb-3">
<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">Ref</th>
<th scope="col">Description</th>
<th scope="col">Protocol</th>
<th scope="col">Range & options</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>
<select class="form-select portTypeSelect" data-bind="options: __PortTypeOptions, value: _PortType"></select>
</td>
<td>
<input type="text" data-bind="value: _Name, enable: _PortType() == 'Custom Port', attr: { placeholder: Name }">
</td>
<td>
<input type="text" data-bind="value: _Ref, attr: { placeholder: Ref }" title="What {{$Ref}} in the command line and config files points at. Follows the name if left blank.">
</td>
<td>
<input type="text" data-bind="value: _Description, enable: _PortType() == 'Custom Port', attr: { placeholder: Description }">
</td>
<td>
<select class="form-select portProtocolSelect" data-bind="value: _Protocol">
<option value="0">Both</option>
<option value="1">TCP</option>
<option value="2">UDP</option>
</select>
</td>
<td class="portFlags">
<input type="number" min="1" max="64511" class="portNarrowNumber" data-bind="value: Range" title="How many ports in a row this one takes up. AMP reserves the whole block for the instance.">
<!-- ko if: __UsesRange -->
<div class="input-group input-group-sm mt-1">
<span class="input-group-text" title="How many of them have to be listening before AMP treats the port as working. 0 means all of them.">min</span>
<input type="number" min="0" max="64511" class="portNarrowNumber" data-bind="value: MinListening">
</div>
<!-- /ko -->
<div class="form-check" title="The application only opens this port later on - AMP says so on the status page instead of showing it as a port that should be listening and isn't.">
<input class="form-check-input" type="checkbox" data-bind="checked: IsDelayedOpen">
<label class="form-check-label"><small>Opens later</small></label>
</div>
<div class="form-check" title="The application can't run without this port.">
<input class="form-check-input" type="checkbox" data-bind="checked: Required">
<label class="form-check-label"><small>Required</small></label>
</div>
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-outline-primary me-1" data-bind="click: __AddChildPort" title="Add a port AMP works out from this one - its number is always this port plus an offset, and AMP keeps them together when it assigns ports.">
Derived
</button>
<button type="button" class="btn btn-danger" data-bind="click: __RemovePort">
Delete
</button>
</td>
</tr>
<!-- ko foreach: _ChildPorts -->
<tr class="table-light">
<td>
<div class="input-group input-group-sm">
<span class="input-group-text">+</span>
<input type="number" min="0" max="64511" class="portNarrowNumber" data-bind="value: Offset" title="How far above the port above this one sits.">
</div>
<small class="text-muted" data-bind="text: __EffectivePort() == '' ? '' : 'Port ' + __EffectivePort()"></small>
</td>
<td>
<small class="text-muted" data-bind="text: 'Derived from ' + (__ParentRef() || 'the port above')"></small>
</td>
<td>
<input type="text" data-bind="value: _Name" placeholder="Query Port">
</td>
<td>
<input type="text" data-bind="value: _Ref, attr: { placeholder: Ref }" title="What {{$Ref}} in the command line and config files points at. Follows the name if left blank.">
</td>
<td>
<input type="text" data-bind="value: _Description">
</td>
<td>
<select class="form-select portProtocolSelect" data-bind="value: _Protocol">
<option value="0">Both</option>
<option value="1">TCP</option>
<option value="2">UDP</option>
</select>
</td>
<td class="portFlags">
<input type="number" min="1" max="64511" class="portNarrowNumber" data-bind="value: Range" title="How many ports in a row this one takes up. AMP sizes the whole group from the furthest a derived port reaches.">
<!-- ko if: __UsesRange -->
<div class="input-group input-group-sm mt-1">
<span class="input-group-text" title="How many of them have to be listening before AMP treats the port as working. 0 means all of them.">min</span>
<input type="number" min="0" max="64511" class="portNarrowNumber" data-bind="value: MinListening">
</div>
<!-- /ko -->
<div class="form-check" title="The application only opens this port later on - AMP says so on the status page instead of showing it as a port that should be listening and isn't.">
<input class="form-check-input" type="checkbox" data-bind="checked: IsDelayedOpen">
<label class="form-check-label"><small>Opens later</small></label>
</div>
<div class="form-check" title="The application can't run without this port.">
<input class="form-check-input" type="checkbox" data-bind="checked: Required">
<label class="form-check-label"><small>Required</small></label>
</div>
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-danger" data-bind="click: __RemoveChildPort">
Delete
</button>
</td>
</tr>
<!-- /ko -->
<!-- /ko -->
<!-- ko if: _PortMappings().length == 0 -->
<tr>
<td colspan="8">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 portTypeSelect" 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="From the name" disabled>
</td>
<td>
<input type="text" placeholder="Port for main traffic" data-bind="value: __NewDescription">
</td>
<td>
<select class="form-select portProtocolSelect" data-bind="value: __NewProtocol">
<option value="0">Both</option>
<option value="1">TCP</option>
<option value="2">UDP</option>
</select>
</td>
<td>
<small class="text-muted">One port</small>
</td>
<td style="text-align: right;">
<button type="button" class="btn btn-primary" data-bind="click: __AddPort">
Add
</button>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="mb-3">
<label>Port roles</label>
<div class="form-text">
Which of the ports above AMP uses for each job. AMP matches these on the port's Ref, and treats a
ref with no port behind it as port 0 without warning anyone.
</div>
<div class="row">
<div class="mb-3 col-6">
<label for="primaryPortRefField">Main application port</label>
<select class="form-select" id="primaryPortRefField" data-bind="options: __PortRefOptions, optionsText: __PortRefText, value: App_PrimaryApplicationPortRef, valueAllowUnset: true"></select>
<div class="form-text">The port players connect to. AMP builds the instance's address and connect button from it.</div>
</div>
<div class="mb-3 col-6" data-bind="visible: App_AdminMethod() != 'STDIO' && App_AdminMethod() != 'None' && App_AdminMethod() != 'PinballWizard' && App_AdminMethod() != 'AMP_GSIO' && App_AdminMethod() != 'FIFO' && App_AdminMethod() != 'TailLogFile'">
<label for="adminPortRefField">RCON port</label>
<select class="form-select" id="adminPortRefField" data-bind="options: __PortRefOptions, optionsText: __PortRefText, value: App_AdminPortRef, valueAllowUnset: true"></select>
<div class="form-text">The port AMP connects to for the console and for running commands.</div>
</div>
</div>
</div>
<div class="mb-3">
<label>Universal Sleep</label>
<div class="form-text">
Lets AMP stop the application while nobody is playing and start it again when someone tries to connect.
AMP answers for the application on the ports below while it's asleep.
</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" data-bind="checked: __SupportsUniversalSleepChecked">
<span>
The application supports sleep mode
<small class="d-block text-muted">
Only turn this on if the application can be stopped and started again without losing anything.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: __UseSteamQueryForStatusChecked">
<span>
Use Steam queries for player counts
<small class="d-block text-muted">
AMP asks the server over the Steam query protocol instead of working the player count out from the console.
</small>
</span>
</label>
</div>
<div class="row mt-3" data-bind="visible: App_SupportsUniversalSleep() == 'True'">
<div class="mb-3 col-4">
<label for="wakeupModeField">Wake-up mode</label>
<select class="form-select" id="wakeupModeField" data-bind="value: App_WakeupMode">
<option value="Any">Anything (Recommended)</option>
<option value="OnUDPPacket">Any UDP packet on the application port</option>
<option value="OnSteamQuery">A Steam server query</option>
<option value="OnSteamQueryUDPPacket">Any UDP packet on the Steam query port</option>
<option value="ManualWake">Only when someone starts it themselves</option>
</select>
</div>
<div class="mb-3 col-4">
<label for="sleepUDPPortRefField">UDP port to listen on</label>
<select class="form-select" id="sleepUDPPortRefField" data-bind="options: __PortRefOptions, optionsText: __PortRefText, value: App_UniversalSleepApplicationUDPPortRef, valueAllowUnset: true"></select>
<div class="form-text">Usually the port the application itself takes traffic on.</div>
</div>
<div class="mb-3 col-4">
<label for="sleepQueryPortRefField">Steam query port to answer on</label>
<select class="form-select" id="sleepQueryPortRefField" data-bind="options: __PortRefOptions, optionsText: __PortRefText, value: App_UniversalSleepSteamQueryPortRef, valueAllowUnset: true"></select>
<div class="form-text">Leave as None for applications that don't use the Steam query protocol.</div>
</div>
</div>
</div>
<div class="mb-3">
<label>IP binding</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="checkbox" data-bind="checked: App_ForceIPBinding">
<span>
Requires a specific IP address
<small class="d-block text-muted">
The application can't bind to 0.0.0.0 or 127.0.0.1. AMP refuses to start the instance until a real IP address is chosen for it.
</small>
</span>
</label>
<label class="list-group-item d-flex gap-2">
<input class="form-check-input flex-shrink-0" type="checkbox" data-bind="checked: App_SupportsIPv6">
<span>
Supports IPv6
<small class="d-block text-muted">
Leave this off unless the application can listen on an IPv6 address - AMP blocks IPv6 bindings otherwise.
</small>
</span>
</label>
</div>
</div>
<br /><hr /><br />
<h4 id="updateSources">Update Sources</h4>
<div class="form-text mb-3">
The stages AMP runs, in order, when it installs or updates the application.
</div>
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Stage Name</th>
<th scope="col">Source Type</th>
<th scope="col">Platform</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _UpdateStages -->
<tr>
<td data-bind="text: UpdateStageName"></td>
<td data-bind="text: __IsUnknown() ? _Unknown().UpdateSource + ' (not editable)' : UpdateSource()"></td>
<td data-bind="text: UpdateSourceArch() == 'All' ? UpdateSourcePlatform() : UpdateSourcePlatform() + ' / ' + UpdateSourceArch()"></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="4">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>
<h5 id="preStartStages">Pre-Start Stages</h5>
<div class="form-text mb-3">
The same kind of stages, but run before every start rather than only when updating. Use them for anything that has to happen each time the application comes up.
</div>
<table class="table mb-3">
<thead>
<tr>
<th scope="col">Stage Name</th>
<th scope="col">Source Type</th>
<th scope="col">Platform</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<!-- ko foreach: _PreStartStages -->
<tr>
<td data-bind="text: UpdateStageName"></td>
<td data-bind="text: __IsUnknown() ? _Unknown().UpdateSource + ' (not editable)' : UpdateSource()"></td>
<td data-bind="text: UpdateSourceArch() == 'All' ? UpdateSourcePlatform() : UpdateSourcePlatform() + ' / ' + UpdateSourceArch()"></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: _PreStartStages().length == 0 -->
<tr>
<td colspan="4">No pre-start stages 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: __AddPreStartStage">
Add Pre-Start 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 scope="col">Importable</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>
<input type="checkbox" data-bind="checked: Importable" title="Lets the user import their own copy of this file over the settings.">
</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="5">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></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() || _compatibility() != 'None'">
<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: _SteamAppID() != '0'">
<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>