Repository navigation
Expand file tree
/
Copy pathpatch-auto-exec.html
More file actions
794 lines (767 loc) · 67.7 KB
/
Copy pathpatch-auto-exec.html
File metadata and controls
794 lines (767 loc) · 67.7 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Optional: auto exec, run plugins from any noexec drive (no setup) - Open MPC - Plugin Catalog</title>
<meta name="description" content="Recommended for a noexec drive. MPC cannot load a plugin from a drive mounted noexec (SSD, USB stick, SD card): it is listed but only shows Load Plugin. This makes the Synths folder of every noexec drive executable through a small boot-time service, with nothing to choose; the drives stay noexec. Tried on a Force with two USB sticks, a plugin loaded and survived a power cycle (not yet tried: an eject without its release command); 0.3.1 also starts after a reboot when an overlay is mounted on /usr (tried on a second Force, two reboots), and 0.3.2 finds drives with a space in the name. Apply updates an installed 0.3.0 or 0.3.1 in place. Replaces drive exec.">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Titillium+Web:wght@400;600;700&display=swap">
<style>
/* Layout: sticky bar, masthead with a line-drawn MPC (screen, Q-Link encoders, jog wheel, buttons, 16 pads), filters, card grid.
One committed look: light studio faceplate. Fonts are the two MPC resolves: Titillium Web (labels, headings) and Roboto (text). */
:root {
--bg: #e9e7e2;
--panel: #f7f6f3;
--panel-2: #eeede8;
--line: #cdcac2;
--fg: #1b1c1f;
--muted: #64666d;
--accent: #d63a30;
--accent-fg: #ffffff;
--amber: #e0a100;
--amber-ink: #7a5600;
--lcd-bg: #1b1c1f;
--lcd-fg: #f4f4f4;
--body-fill: #dedbd4;
--display: "Titillium Web", "Arial Narrow", sans-serif;
--text: "Roboto", system-ui, sans-serif;
--radius: 6px;
color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font: 400 15px/1.55 var(--text); margin: 0;
padding-inline: 16px; padding-block: 0 48px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1080px; margin-inline: auto; }
/* top: 0, with the safe-area inset as padding: sticking at the inset left a gap above the bar that page content scrolled through (seen in
Facebook's in-app browser on a phone, 2026-11-06) */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg);
border-bottom: 1px solid var(--line); margin-inline: -16px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; }
.brand { font: 700 19px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.mast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 16px 40px; align-items: center; padding-block: 20px 8px; }
.mast h1 { font: 700 clamp(30px, 5vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 10px; text-wrap: balance; }
.mast p { margin: 0; color: var(--muted); max-width: 52ch; }
.mpc { width: 100%; height: auto; display: block; }
.mpc .body { fill: var(--body-fill); stroke: var(--line); stroke-width: 1.5; }
.mpc .screen { fill: var(--lcd-bg); }
.mpc .ui { fill: none; stroke: var(--lcd-fg); stroke-width: 1.5; opacity: .55; stroke-linecap: round; }
.mpc .ui-hot { fill: var(--accent); }
.mpc .knob { fill: var(--panel); stroke: var(--muted); stroke-width: 1.5; }
.mpc .tick { stroke: var(--fg); stroke-width: 2; stroke-linecap: round; }
.mpc .wheel { fill: var(--panel); stroke: var(--muted); stroke-width: 1.5; }
.mpc .wheel-in { fill: var(--panel-2); stroke: var(--line); stroke-width: 1.5; }
.mpc .btn { fill: var(--panel); stroke: var(--line); stroke-width: 1.2; }
.mpc .btn.rec { fill: var(--accent); stroke: none; }
.mpc .pad { fill: var(--lcd-bg); opacity: .82; }
.mpc .pad.on { fill: var(--accent); opacity: 1; }
.mpc .pad.alt { fill: var(--amber); opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .mpc .pulse { animation: pulse 2.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .5; } }
.sample { font: 400 12px/1.5 var(--text); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius);
padding: 8px 12px; margin-bottom: 20px; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.tools .search { grid-column: 1 / -1; }
.tools label { display: flex; flex-direction: column; gap: 4px; font: 600 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.tools input, .tools select { font: 400 14px var(--text); letter-spacing: 0; text-transform: none; color: var(--fg); background: var(--panel);
border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%; min-width: 0; }
.status { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.status label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.linkbtn { font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: none; border: 0; padding: 6px 0; cursor: pointer; }
.dir { font: 600 13px/1 var(--display); color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; cursor: pointer; }
.vers { border-top: 1px solid var(--line); padding-top: 10px; font-size: 12px; color: var(--muted); }
.vers summary { cursor: pointer; font: 600 11px/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.vers table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.vers td { padding: 4px 8px 4px 0; vertical-align: top; }
.vers .y { text-decoration: line-through; }
.stat { font-size: 12px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .shot { display: block; margin: -18px -18px 0; aspect-ratio: 2 / 1; overflow: hidden; background: var(--lcd-bg);
border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.card .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card a.shot { cursor: zoom-in; }
.card a.shot img { transition: transform .2s ease; }
.card a.shot:hover img { transform: scale(1.03); }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 14, .82); display: flex; align-items: flex-start;
justify-content: center; padding: 56px 16px 32px; overflow-y: auto; overscroll-behavior: contain; }
.modal[hidden] { display: none; }
.modal-in { position: relative; width: min(900px, 100%); }
.modal-x { position: absolute; top: -46px; right: -4px; width: 40px; height: 40px; border: 0; background: none; color: #fff;
font: 400 34px/1 var(--text); cursor: pointer; opacity: .8; }
.modal-x:hover, .modal-x:focus-visible { opacity: 1; }
.modal-tools { position: absolute; top: -40px; left: 0; display: flex; gap: 8px; }
.modal-share { height: 30px; display: inline-flex; align-items: center; text-decoration: none; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 15px;
background: none; color: #fff; font: 500 13px/1 var(--text); letter-spacing: .02em; cursor: pointer; opacity: .85; }
.modal-share:hover, .modal-share:focus-visible { opacity: 1; border-color: #fff; }
.card.big { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.card.big .shot { aspect-ratio: auto; }
.card.big .shot img { height: auto; object-fit: contain; }
body.modal-open { overflow: hidden; }
.card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 12px; flex-wrap: wrap; }
.card header > div:first-child { flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; }
.card h2 { font: 700 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.card h2 a.open { color: inherit; text-decoration: none; }
.card h2 a.open:hover { color: var(--accent); }
.by { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ver { font: 500 13px/1 var(--text); background: var(--lcd-bg); color: var(--lcd-fg); border-radius: 3px; padding: 7px 9px;
letter-spacing: .05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card p { margin: 0; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 600 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
border: 1px solid var(--line); border-radius: 3px; padding: 6px 8px; }
.tag.ok { color: var(--fg); border-color: var(--fg); }
.tag.warn { color: var(--amber-ink); border-color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, var(--panel)); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font: 400 12px/1.5 var(--text); color: var(--muted);
border-top: 1px solid var(--line); padding-top: 12px; margin: 0; }
.meta dt { font: 600 11px/1.9 var(--display); text-transform: uppercase; letter-spacing: .1em; }
.meta dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
.actions { display: flex; gap: 8px; }
.btn-l { font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
padding: 11px 15px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--fg); background: var(--panel-2); }
.btn-l.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-l small { display: block; margin-top: 5px; font: 500 11px/1.2 var(--body, system-ui, sans-serif); letter-spacing: .02em; text-transform: none; opacity: .85; }
.tag.compat { opacity: .4; border-style: dashed; font-weight: 500; }
.tag.compat.on { opacity: 1; border-style: solid; font-weight: 700; color: var(--lcd-fg); background: var(--lcd-bg); border-color: var(--lcd-bg); }
.metarow { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; }
.metarow .ver { margin-left: auto; }
.compatrow { display: flex; gap: 4px; justify-content: flex-start; flex-wrap: wrap; }
.compatrow .tag { padding: 4px 6px; font-size: 10px; }
.dlmenu { position: relative; display: flex; }
.dlmenu > summary { list-style: none; cursor: pointer; flex: 1; display: flex; align-items: center; }
.dlmenu > summary::-webkit-details-marker { display: none; }
.dlmenu > summary::after { content: " \25BE"; }
.dlpop { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 260px; display: flex; flex-direction: column; padding: 4px;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.dlpop a { padding: 9px 10px; border-radius: var(--radius); color: var(--fg); text-decoration: none; font-size: 14px; }
.dlpop a:hover, .dlpop a:focus-visible { background: var(--panel-2); }
.dlpop a b { display: block; font-weight: 600; }
.dlpop a small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); padding: 24px 0; }
footer { margin-top: 36px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 640px) { .mast { grid-template-columns: minmax(0, 1fr); } .mpc { max-width: 380px; } }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.nav ul { display: flex; gap: 4px 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
color: var(--muted); padding: 9px 11px; border-radius: 4px; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--accent-fg); background: var(--accent); }
.brand a { text-decoration: none; }
.doc { max-width: 760px; padding-block: 36px 8px; }
.doc h1 { font: 700 clamp(32px, 5vw, 48px)/1.02 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 10px; text-wrap: balance; }
.doc .lede { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.doc h2 { font: 700 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc h3 { font: 700 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc code { font: 500 .88em/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--panel-2); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; overflow-wrap: anywhere; }
.doc pre { background: var(--lcd-bg); color: var(--lcd-fg); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; margin: 14px 0; }
.doc pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 13px; line-height: 1.55; overflow-wrap: normal; }
.doc blockquote { margin: 16px 0; padding: 10px 14px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 12%, var(--panel)); border-radius: 0 var(--radius) var(--radius) 0; }
.doc blockquote p { margin: 4px 0; }
.doc figure.shot { margin: 14px 0; }
.doc figure.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line, #8884); border-radius: var(--radius); }
.doc figure.shot img[src*="phone"] { max-width: 320px; }
.tablewrap { overflow-x: auto; margin: 14px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font: 600 12px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc a { color: var(--accent); }
.pagelist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 8px 0 28px; }
.pagelist a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.pagelist b { font: 700 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.pagelist span { color: var(--muted); font-size: 13px; }
.tag.build { color: var(--fg); border-color: var(--fg); }
.tag.tier-verified { color: var(--accent); border-color: var(--accent); } /* red is for the Verified badges only */
.tag.tier-experimental { color: var(--amber-ink); border-color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, var(--panel)); }
.tag.gen { color: var(--fg); border-color: var(--fg); } /* a Gen2 (aarch64) build exists; whether it was tested is the Verified Gen2 badge */
.card.by { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.need { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.need h3 { font: 700 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 8px 0 4px; }
.need ul { margin: 0; padding-left: 18px; font-size: 14px; }
.need li { margin: 3px 0; }
.card .need .also { margin: 6px 0 0; font-size: 13px; color: var(--muted); flex: none; }
.cmd { margin: 0 0 4px; background: var(--lcd-bg); color: var(--lcd-fg); border-radius: 4px; padding: 10px 12px; }
.cmd code { font: 500 12px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.card .fw { margin: 0; flex: none; font-size: 13px; padding: 8px 12px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 14%, var(--panel)); border-radius: 0 var(--radius) var(--radius) 0; }
.actions { flex-wrap: wrap; }
.actions .btn-l { white-space: nowrap; }
.grid { align-items: start; }
.card .needline { margin: 0; flex: none; font-size: 14px; }
.card .cmd { margin: 0; }
.card .how { flex: none; font-size: 13px; color: var(--muted); }
.card .how summary { cursor: pointer; font: 600 11px/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.card .how ul { margin: 6px 0 0; padding-left: 18px; }
.card .how li { margin: 3px 0; color: var(--fg); }
.card .how .also { margin: 6px 0 0; flex: none; }
.card .fw { font-size: 12px; padding: 6px 10px; }
.card .line { margin: 0; flex: none; font-size: 12px; color: var(--muted); }
.card .fw { font-size: 11.5px; line-height: 1.4; }
.grid { grid-auto-flow: dense; }
@media (min-width: 720px) { .card.by { grid-column: span 2; } }
/* Install list: tick plugins, get one command to paste into a terminal */
.pick { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 10px 4px; }
.pick input { width: 18px; height: 18px; accent-color: var(--accent); }
.install { position: sticky; bottom: 12px; z-index: 4; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
box-shadow: 0 6px 24px rgb(0 0 0 / .18); margin-top: 16px; }
.install[hidden] { display: none; }
.install > summary { cursor: pointer; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font: 700 15px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.install > summary .hint { color: var(--accent); }
.install .body { padding: 0 16px 16px; max-height: min(70vh, 640px); overflow: auto; }
.install .body > p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.install .lab { font: 600 12px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.install .ipl { display: flex; flex-direction: column; gap: 4px; font: 600 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 320px; margin-bottom: 10px; }
.install .ipl input { font: 400 14px var(--text); letter-spacing: 0; text-transform: none; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.install .ipbad { color: var(--accent); }
.install .copied { align-self: center; color: var(--muted); font-size: 13px; }
.install .how { margin-top: 12px; }
.install code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; }
/* collapsible sections in guide pages (::: details Title) */
.doc details.fold { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; }
.doc details.fold > summary { cursor: pointer; padding: 12px 16px; font: 700 16px/1.3 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.doc details.fold[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.doc details.fold > :not(summary) { margin-inline: 16px; }
.doc details.fold > :last-child { margin-bottom: 16px; }
/* Tabs: Plugins | Device patches | Companion apps. A mid-grey bar, darker than the page, with the open tab raised in the page colour. */
.tabs { --bar: #c9c6bd; display: flex; gap: 4px; background: var(--bar); border-radius: var(--radius) var(--radius) 0 0; padding: 8px 8px 0; margin: 12px 0 0; overflow-x: auto; }
/* Thin scrollbars on the sideways-scrolling rows. Chrome and Firefox take scrollbar-*; Safari only the ::-webkit- rules
(Chrome ignores those once scrollbar-color is set). */
.tabs, .tablewrap, .doc pre { scrollbar-width: thin; scrollbar-color: rgba(27, 28, 31, .28) transparent; }
.doc pre { scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.tabs::-webkit-scrollbar, .tablewrap::-webkit-scrollbar, .doc pre::-webkit-scrollbar { height: 6px; }
.tabs::-webkit-scrollbar-track, .tablewrap::-webkit-scrollbar-track, .doc pre::-webkit-scrollbar-track { background: transparent; }
.tabs::-webkit-scrollbar-thumb, .tablewrap::-webkit-scrollbar-thumb { background: rgba(27, 28, 31, .28); border-radius: 3px; }
.doc pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 3px; }
.tabs::-webkit-scrollbar-thumb:hover, .tablewrap::-webkit-scrollbar-thumb:hover { background: rgba(27, 28, 31, .45); }
.tabs [role=tab] { font: 700 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #4a4c52; background: transparent; border: 0;
border-radius: var(--radius) var(--radius) 0 0; padding: 14px 18px 12px; cursor: pointer; white-space: nowrap; }
.tabs [role=tab]:hover { color: var(--fg); background: #d6d3cb; }
.tabs [role=tab][aria-selected=true] { color: var(--fg); background: var(--bg); box-shadow: inset 0 3px 0 var(--accent); }
.tabs .n { font: 500 12px var(--text); letter-spacing: 0; background: #b7b4aa; color: var(--fg); border-radius: 10px; padding: 1px 7px; margin-left: 4px; }
.tabs [aria-selected=true] .n { background: var(--panel-2); border: 1px solid var(--line); padding: 0 6px; }
[role=tabpanel] { padding-top: 20px; }
.tabintro { color: var(--muted); max-width: 70ch; margin: 0 0 16px; }
[hidden] { display: none !important; }
/* Collections (docs/CATALOG.md, "Collections"): one card for several plugins from one repo, drawn as a small stack of cards.
The popup (#c=<id>) lists every member by kind with its install checkbox and Pick all per group. */
.card.coll { border-color: color-mix(in srgb, var(--fg) 45%, var(--line)); box-shadow: 5px 5px 0 -1px var(--panel), 5px 5px 0 0 var(--line); }
.card.coll.big { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.tag.coll { color: var(--lcd-fg); background: var(--lcd-bg); border-color: var(--lcd-bg); }
.card .counts { flex: none; font: 600 14px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.card .matchline { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 13px/1 var(--text); text-decoration: none; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 7px 11px; }
.chip:hover { border-color: var(--fg); }
.chip.more { color: var(--accent); border-color: var(--accent); font-weight: 700; }
.card .shot.collage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 2px; }
.card .shot.collage.n1 { grid-template-columns: 1fr; }
.card .shot.collage.n3 img:first-child { grid-row: span 2; }
.card .shot.collage img { min-height: 0; height: 100%; object-fit: cover; }
.card.big .shot.collage { aspect-ratio: 2 / 1; }
.card .shot:empty { display: none; }
.crumb { flex: none; font: 600 12px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--accent); }
.cgroup { border-top: 1px solid var(--line); padding-top: 12px; }
.cg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cg-head h3 { font: 700 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.members { list-style: none; margin: 6px 0 0; padding: 0; }
.member { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.member:last-child { border-bottom: 0; }
.member .pick { padding: 2px 4px; }
.member .mrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.member .nm { font: 700 17px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.member .nm:hover { color: var(--accent); }
.member .ver { padding: 4px 6px; font-size: 11px; }
.member .tag { padding: 4px 6px; }
.member .sum { font-size: 13px; color: var(--muted); margin-top: 2px; }
/* Install page guide (guide.js): the desktop installer's question cards */
.doc .guide{margin:22px 0 28px}
.doc .gcard{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px 24px 18px;max-width:720px}
.doc .gdots{display:flex;gap:6px;margin:0 0 14px}.doc .gdots i{height:4px;flex:1;background:var(--line);border-radius:2px}.doc .gdots i.on{background:var(--accent)}
.doc .gcard h2.gq{font-size:24px;margin:0 0 6px;border:0;padding:0}
.doc .gsub{color:var(--muted);margin:0 0 12px;font-size:14px}
.doc .ggrp{font:600 11px "Titillium Web",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px}
.doc .gmodels{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.doc .gopts{display:grid;gap:10px}
.doc .gopt{display:flex;align-items:center;text-align:left;width:100%;background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 16px;font:400 15px/1.4 Roboto,sans-serif;color:var(--fg);cursor:pointer}
.doc .gopt:hover{border-color:var(--fg)}.doc .gopt b{display:block;font-weight:600}.doc .gopt small{display:block;color:var(--muted);font-size:13px}
.doc .gopts .gopt b{font-size:16px;font-weight:700}
.doc ol.gplan{max-width:none;counter-reset:s;list-style:none;padding:0;margin:4px 0 14px}
.doc ol.gplan li{counter-increment:s;display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line);margin:0}
.doc ol.gplan li::before{content:counter(s);flex:0 0 26px;height:26px;border-radius:50%;background:var(--accent);color:var(--accent-fg);display:grid;place-items:center;font:700 14px "Titillium Web",sans-serif}
.doc ol.gplan li>span{flex:1;max-width:none}.doc ol.gplan li>small{flex:none;color:var(--muted);font-size:12px;white-space:nowrap;padding-top:3px}
.doc details.gway{border:1px solid var(--line);border-radius:8px;padding:10px 14px;margin:8px 0;background:#fff}
.doc details.gway summary{cursor:pointer}.doc details.gway summary small{color:var(--muted)}
.doc details.gothers{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.doc details.gothers summary{cursor:pointer;color:var(--muted);margin-bottom:8px}
.doc .gdl{margin:6px 0 12px}
.doc .gbtn{display:inline-block;padding:9px 14px;border-radius:8px;background:var(--accent);color:var(--accent-fg);text-decoration:none;font-weight:600;margin-bottom:8px}
.doc .gnav{display:flex;gap:14px;align-items:center;margin-top:16px}
.doc .gback{background:none;border:1px solid var(--line);border-radius:8px;padding:7px 14px;cursor:pointer;font:inherit;color:var(--fg)}
.doc .gfor{color:var(--muted);font-size:13px}
.doc .gcard li,.doc .gcard p{max-width:none}
.doc details.sec>summary h2{display:inline;margin:0;padding:0;border:0;font-size:20px}
.doc .gwrite{border:1px solid var(--accent);border-radius:10px;padding:12px 14px;margin:12px 0;background:#fff}
.doc .gwrow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.doc .gwrow .gbtn{margin:0;border:0;cursor:pointer;font:600 15px Roboto,sans-serif}
.doc .gwrow .gbtn:disabled{opacity:.45;cursor:default}
.doc .gstatus{margin:8px 0 0;font-size:14px}.doc .gstatus.ok{color:#1d7a3a;font-weight:600}.doc .gstatus.bad{color:var(--accent);font-weight:600}
.doc .gthen{display:block;font-style:normal;color:var(--muted);font-size:13.5px;margin-top:3px}
/* Community signals (preview, ?signals=1): docs/COMMUNITY_SIGNALS.md */
.sig { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin: 10px 0 2px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 14px; }
.sig-n { white-space: nowrap; }
.sig-n strong { font-size: 16px; }
.sig-btn, .sig-like, .sig-who { font: 600 12px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; padding: 7px 7px; min-height: 32px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 6px; cursor: pointer; }
.sig[data-sig-coll] { flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; }
.sig-read { display: flex; align-items: center; gap: 2px 10px; flex-wrap: wrap; flex: 1 1 0; min-width: 0; }
.sig-acts { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; margin-left: auto; }
.sig-points { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.sig-points li { margin: 3px 0; }
.sig-btn.done { color: var(--muted); }
.sig-primary { background: var(--amber); color: var(--fg); border-color: var(--amber); } /* the theme's yellow, so it is not mistaken for the red current-page tab */
.sig-primary:hover, .sig-primary:focus-visible { background: color-mix(in srgb, var(--amber) 85%, #000); border-color: color-mix(in srgb, var(--amber) 85%, #000); }
.sig-like { letter-spacing: 0; font-size: 14px; }
.sig-like[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sig-acct { position: relative; list-style: none; }
.sig-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 180px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); padding: 4px; }
.sig-menu[hidden] { display: none; }
.sig-menu button { text-align: left; font: 600 13px/1 var(--text); padding: 10px; border: 0; background: none; color: var(--fg); cursor: pointer; border-radius: 6px; }
.sig-menu button:hover, .sig-menu button:focus-visible { background: var(--bg); }
.sig-toast { position: fixed; z-index: 120; top: 66px; right: 16px; max-width: min(360px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 8px; background: #222; color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.sig-toast[hidden] { display: none; }
.sig-detail { margin: 14px 0 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.sig-detail .sig-fold > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 8px; font-size: 14px; }
.sig-detail .sig-fold > summary::-webkit-details-marker { display: none; }
.sig-detail .sig-fold > summary::before { content: "\25B8"; display: inline-block; width: 10px; color: var(--muted); transition: transform .15s; }
.sig-detail .sig-fold[open] > summary::before { transform: rotate(90deg); }
.sig-detail .sig-h { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sig-detail .sig-vers details.fold { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.sig-detail .sig-vers details.fold > summary { cursor: pointer; padding: 6px 0; }
.sig-detail h3 { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.sig-head { margin: 0 0 6px; font-size: 15px; }
.sig-v { color: var(--muted); font-size: 13px; }
.sig-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0 10px; }
.sig-table caption { text-align: left; font-weight: 600; color: var(--muted); padding: 4px 0; }
.sig-table td { padding: 4px 8px 4px 0; border-top: 1px solid var(--line); vertical-align: top; }
.sig-issues, .sig-mine { margin: 4px 0; padding-left: 18px; font-size: 14px; }
.sig-issues li { margin: 4px 0; }
.sig-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 10px 0 2px; }
.sig-note { color: var(--muted); font-size: 13px; margin: 4px 0; }
.sig-dialog { max-width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--bg); color: var(--fg); }
.sig-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.sig-dialog h2 { margin: 0 0 8px; font-size: 18px; }
.sig-dialog form { display: grid; gap: 10px; margin: 12px 0; }
.sig-dialog label { display: grid; gap: 4px; font-size: 13px; }
.sig-dialog select, .sig-dialog input { font: inherit; padding: 8px; min-height: 40px; }
.sig-err { color: var(--accent); font-size: 13px; min-height: 1em; margin: 6px 0 0; }
.sig-vc { white-space: nowrap; color: var(--muted); }
.sig-vi td { padding: 2px 0 8px 18px; border: 0; }
.sig-vi[hidden] { display: none; }
.sig-closed, .sig-closed a { color: var(--muted); }
.sig-closed a { text-decoration: line-through; text-decoration-thickness: 1px; }
button.tag { appearance: none; cursor: pointer; }
button.tag:hover, button.tag:focus-visible { border-color: var(--accent); color: var(--accent); }
.tagbar { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.tagx { font: 600 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--accent); border-radius: 999px; background: none; color: var(--accent); cursor: pointer; }
.modal-share[aria-pressed="true"] { border-color: #fff; background: rgba(255, 255, 255, .2); opacity: 1; }
.sig-dialog input[readonly] { width: 100%; box-sizing: border-box; font: 13px/1.3 monospace; }
.sig-dialog h3 { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.sig.mini { margin: 6px 0 0; padding: 4px 8px; font-size: 13px; gap: 4px 10px; }
.sig.mini .sig-n strong { font-size: 14px; }
.sig.mini .sig-btn, .sig.mini .sig-like { min-height: 28px; padding: 6px 8px; }
.sig-who { border-color: var(--amber); color: var(--fg); }
.sig .sig-v { white-space: nowrap; }
.sig .sig-line { white-space: normal; flex-basis: 100%; font-size: 12px; }
details.more { margin: 10px 0 0; }
details.more > summary { cursor: pointer; list-style: none; font: 700 12px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "\25B8"; display: inline-block; margin-right: 6px; transition: transform .15s; }
details.more[open] > summary::before { transform: rotate(90deg); }
details.more > summary .hint { font: 400 13px/1.3 var(--text); letter-spacing: 0; text-transform: none; margin-left: 10px; }
details.more > dl.meta { margin-top: 4px; }
/* The card's folded sections (Details, To improve this listing, Versions) sit together under the buttons and look the same:
one row each, a divider between them, the same caret and label. */
.card .folds { margin-top: 14px; border-top: 1px solid var(--line); }
.card .folds > details.fold { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card .folds > details.fold > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; padding: 9px 0;
font: 700 11px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .folds > details.fold > summary::-webkit-details-marker { display: none; }
.card .folds > details.fold > summary::before { content: "\25B8"; display: inline-block; width: 10px; transition: transform .15s; }
.card .folds > details.fold[open] > summary::before { transform: rotate(90deg); }
.card .folds > details.fold > summary:hover { color: var(--fg); }
.card .folds > details.fold > summary .hint { margin: 0 0 0 auto; font: 400 12px/1.4 var(--text); letter-spacing: 0; text-transform: none; }
.card .folds > details.fold[open] { padding-bottom: 10px; }
.card .folds > details.fold > :not(summary) { margin-top: 0; }
.card .folds > details.fold ul { margin: 0; padding-left: 20px; }
.card .folds > details.fold > summary::before { margin: 0; }
.card .folds > details.fold > dl.meta { margin: 0; padding-top: 0; border-top: 0; }
/* Device switch at the top of the filters: MPC / Force or MPC Sample, as two big buttons with counts like the tabs. */
.plat { margin: 24px 0 0; display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: max-content; max-width: 100%; }
.plat button { font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--panel);
border: 0; padding: 12px 20px; cursor: pointer; white-space: nowrap; }
.plat button + button { border-left: 1px solid var(--line); }
.plat button:hover { color: var(--fg); }
.plat button[aria-pressed=true] { color: #fff; background: var(--accent); }
.plat .n { font: 500 12px var(--text); letter-spacing: 0; margin-left: 6px; opacity: .8; }
@media (max-width: 520px) { .plat { width: 100%; } .plat button { flex: 1; padding: 12px 10px; } }
.notice310 { margin-top: .6em; padding: 8px 12px; font-size: 14px; line-height: 1.45; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 4px; }
.notice310 ul { margin: .25em 0 .25em 1.1em; padding: 0; }
.notice310 li { margin: .05em 0; }
</style>
</head>
<body>
<div class="bar"><div class="wrap nav">
<div class="brand"><span class="dot"></span><a href="index.html">Open MPC - Plugin Catalog</a></div>
<nav aria-label="Site"><ul><li><a href="index.html">Catalog</a></li><li><a href="install.html">Install</a></li><li><a href="faq.html">FAQ</a></li><li><a href="build.html">Build</a></li><li><a href="workflow.html">Workflow</a></li></ul></nav>
</div></div>
<main class="wrap doc">
<h1>Optional: auto exec, run plugins from any noexec drive (no setup)</h1>
<p class="lede">Recommended for a noexec drive. MPC cannot load a plugin from a drive mounted noexec (SSD, USB stick, SD card): it is listed but only shows Load Plugin. This makes the Synths folder of every noexec drive executable through a small boot-time service, with nothing to choose; the drives stay noexec. Tried on a Force with two USB sticks, a plugin loaded and survived a power cycle (not yet tried: an eject without its release command); 0.3.1 also starts after a reboot when an overlay is mounted on /usr (tried on a second Force, two reboots), and 0.3.2 finds drives with a space in the name. Apply updates an installed 0.3.0 or 0.3.1 in place. Replaces drive exec.</p>
<p><strong>Device-verified 2026-10-14 on a Force Gen1</strong> with two USB sticks: install, a plugin loaded from the stick, a power cycle, release. Not yet tried: the SSD, an eject without <code>release</code>. This replaces <code>drive exec</code> (<code>../drive_exec</code>, one named drive), which stays only so it can be uninstalled. Offline tests: <code>tools/test_auto_exec.py</code>.</p>
<h2 id="what-the-device-does-device-verified-2026-10-14-notes">What the device does (device-verified 2026-10-14, NOTES)</h2>
<p>On a Force Gen1 the mount daemon <code>edisksd</code> mounts external drives <code>nosuid,nodev,noexec</code> (a USB stick showed it; the SSD report earlier). It has no config option for that, and MPC shares the shell's mount namespace. So the patch does not change how drives are mounted.</p>
<h2 id="what-the-patch-does">What the patch does</h2>
<p>A systemd timer (5 s after boot, then every 5 s) looks at the mounts. For every drive mounted <code>noexec</code> directly under <code>/media</code> (not the internal storage) that has a <code>Synths</code> folder, it makes a private bind mount of that folder and remounts only it with <code>exec</code>. The drive stays <code>noexec</code>. A drive that is already executable, has no <code>Synths</code> folder, or already has a foreign mount there is left alone. Drives plugged in later are picked up on the next pass; a drive that is gone is cleaned up. No folder is ever created. A backup of the mount table and unit files goes to <code>/data/mpc-vst-plugins/backups</code>. MPC is not restarted; <code>fstab</code> and <code>MPC.settings</code> are not touched.</p>
<h2 id="use">Use</h2>
<pre><code>scp tools/mpc_patch/auto_exec/auto-exec-patch.sh root@<device-ip>:/tmp/
ssh root@<device-ip>
sh /tmp/auto-exec-patch.sh status # changes nothing
sh /tmp/auto-exec-patch.sh install # asks you to type PATCH
sh /tmp/auto-exec-patch.sh verify # does MPC itself see the executable folders; lists plugin folders
sh /tmp/auto-exec-patch.sh release # before ejecting a drive
sh /tmp/auto-exec-patch.sh uninstall # asks you to type REMOVE</code></pre>
<p>Plugins go into a drive's <code>Synths</code> folder (the installer app: Create Synths folder, then Install to). The <code>verify</code> last line is <code>VERIFY result=ok|not-installed|not-active|mpc-blind|mpc-stopped|no-plugins</code>.</p>
<h2 id="limits">Limits</h2>
<ul><li><strong>Eject:</strong> a drive with an executable folder on it is busy until the folder is released. Run <code>release</code> first (the timer then re-applies it on its next pass; stop the timer if you want it to stay off). An unplugged drive is cleaned up by the next pass.</li><li>A plugin loaded from the drive keeps it busy: <code>release</code>/<code>uninstall</code> refuse then (save, stop MPC).</li><li>A drive whose Synths folder is made after the patch is picked up within 5 s; MPC may already have dropped the plugin entries (run the app's Register plugin folders).</li><li>A firmware update may remove the bootstrap unit in the system image: run <code>status</code>, then <code>install</code> again.</li><li><strong>0.3.1 (2026-10-22; device-verified the same day on a tester's Force: two reboots with a USB stick as the exec drive):</strong> the bootstrap unit is written through a bind mount of <code>/</code>, so it lands in the root filesystem even when an overlay is mounted over <code>/usr</code> (seen on a tester's Force). 0.3.0 wrote it into that overlay, which systemd cannot see at boot, so the patch never started after a reboot there. <code>status</code> now says <code>reason=bootstrap-missing</code> when the unit is not in the root filesystem. </li><li><strong>0.3.2 (2026-10-22, offline; BusyBox awk checked in Docker):</strong> drives whose name has a space (<code>/media/Force SSD</code>) are found. BusyBox awk, the device's, read the old pattern <code>[^\/]</code> as "no backslash", so a mount point written <code>Force\040SSD</code> in mountinfo was skipped. <strong>Updating (2026-10-22, offline):</strong> 0.3.2 updates 0.3.0 and 0.3.1 in place: <code>status</code> says <code>state=old-patch</code>, and <code>install</code> (or Apply in the installer app) removes the old version with its own uninstaller, then installs. <code>uninstall</code> also removes those versions.</li><li>It cannot be installed next to drive exec or the original ForceHD VST Exec (<code>status</code> says so); uninstall those first.</li><li>32-bit ARM (Gen1) only. Credit: mount logic and rollback after "ForceHD VST Exec 0.1.3" by timomacquis (#150).</li></ul>
<h2 id="files">Files</h2>
<p><code>src/</code> has the files that get installed; <code>build_script.py</code> embeds them into <code>script.template.sh</code> and writes <code>auto-exec-patch.sh</code>. Tests: <code>sudo python3 tools/test_auto_exec.py</code> (or <code>DEX_IN_NS=1 unshare -rm --propagation private python3 tools/test_auto_exec.py</code> as a normal user).</p>
<p><a href="patches.html">All device patches</a></p>
</main>
<script>
/* a link to a collapsible section (page.html#its-title) opens it */
function openFold() {
var h = decodeURIComponent(location.hash.slice(1)), e = h ? document.getElementById(h) : null;
if (!e) return;
for (var n = e; n; n = n.parentElement) if (n.tagName === "DETAILS") n.open = true;
e.scrollIntoView();
}
addEventListener("hashchange", openFold); openFold();
</script>
<script>
/* Write a zip the user downloaded onto a USB stick, SD card or MPC drive, in the browser (Chrome/Edge: the File System Access API).
The desktop installer's stick writers in a web page: nothing is uploaded, the zip is read and written on this computer.
- folderZip(): an OpenMPC "just the folder" zip (one top folder with plugin.json) into <drive>/VST2 Plugins/<folder>/.
- stickZip(): a prebuilt stick (pinned by SHA-256, it runs as root on the MPC) onto an empty drive, like the installer.
Used by guide.js; also loaded by tools/test_drivewrite.mjs under Node. */
var DriveWrite = (function () {
var HOUSEKEEPING = { "system volume information": 1, "$recycle.bin": 1, ".trashes": 1, ".spotlight-v100": 1, ".fseventsd": 1, ".ds_store": 1 };
var MAX = 64 << 20;
function supported() { return typeof window !== "undefined" && typeof window.showDirectoryPicker === "function" && typeof DecompressionStream === "function"; }
/* A zip's entries: [{name, dir, size, data()}]. Plain and deflate entries; no zip64, no encryption. */
function readZip(buf) {
var u = new Uint8Array(buf), v = new DataView(buf);
if (u.length > MAX) throw new Error("That file is too big to be a Plugin Manager zip.");
var e = -1;
for (var i = u.length - 22; i >= Math.max(0, u.length - 65557); i--) if (v.getUint32(i, true) === 0x06054b50) { e = i; break; }
if (e < 0) throw new Error("That file is not a zip.");
var n = v.getUint16(e + 10, true), p = v.getUint32(e + 16, true), out = [];
for (var k = 0; k < n; k++) {
if (v.getUint32(p, true) !== 0x02014b50) throw new Error("The zip is damaged.");
var flags = v.getUint16(p + 8, true), method = v.getUint16(p + 10, true), csize = v.getUint32(p + 20, true), size = v.getUint32(p + 24, true);
var nl = v.getUint16(p + 28, true), xl = v.getUint16(p + 30, true), cl = v.getUint16(p + 32, true), off = v.getUint32(p + 42, true);
var name = new TextDecoder().decode(u.subarray(p + 46, p + 46 + nl));
if (flags & 1) throw new Error("The zip is encrypted.");
if (method !== 0 && method !== 8) throw new Error("The zip uses a compression this page can't read.");
if (csize === 0xffffffff || size === 0xffffffff) throw new Error("The zip is too large.");
var start = off + 30 + v.getUint16(off + 26, true) + v.getUint16(off + 28, true);
out.push(entry(name, u.subarray(start, start + csize), method, size));
p += 46 + nl + xl + cl;
}
return out;
}
function entry(name, raw, method, size) {
return { name: name, dir: /\/$/.test(name), size: size, data: function () {
if (method === 0) return Promise.resolve(raw);
var s = new Blob([raw]).stream().pipeThrough(new DecompressionStream("deflate-raw"));
return new Response(s).arrayBuffer().then(function (b) {
if (b.byteLength !== size) throw new Error("The zip is damaged (" + name + ").");
return new Uint8Array(b);
});
} };
}
function parts(name) { /* the path's folders and file, refusing anything that could land outside the drive */
var ps = name.replace(/\/$/, "").split("/");
if (!name || /^\//.test(name) || /[\\:]/.test(name) || ps.some(function (x) { return x === "" || x === "." || x === ".."; }))
throw new Error("The zip has an unsafe file name: " + name);
return ps;
}
function sha256(buf) {
return crypto.subtle.digest("SHA-256", buf).then(function (h) {
return Array.prototype.map.call(new Uint8Array(h), function (b) { return ("0" + b.toString(16)).slice(-2); }).join("");
});
}
/* The one plugin folder in a folder zip, or an error saying what is wrong. */
function pluginFolder(entries) {
var tops = {};
entries.forEach(function (x) { tops[parts(x.name)[0]] = 1; });
var t = Object.keys(tops);
if (t.length !== 1) throw new Error("This zip doesn't hold one plugin folder. Download the Gen1 or Gen2 zip from the Plugin Manager release.");
if (!entries.some(function (x) { return x.name === t[0] + "/plugin.json"; })) throw new Error("This zip's folder has no plugin.json, so MPC OS 3.10.1 won't load it.");
return t[0];
}
function dirIn(root, ps) {
return ps.reduce(function (pr, x) { return pr.then(function (d) { return d.getDirectoryHandle(x, { create: true }); }); }, Promise.resolve(root));
}
function writeAll(root, entries, prefix, progress) {
var files = entries.filter(function (x) { return !x.dir; }), done = 0;
return files.reduce(function (pr, x) {
return pr.then(function () {
var ps = prefix.concat(parts(x.name)), file = ps.pop();
return Promise.all([dirIn(root, ps), x.data()]).then(function (r) {
return r[0].getFileHandle(file, { create: true }).then(function (fh) { return fh.createWritable(); }).then(function (w) {
return w.write(r[1]).then(function () { return w.close(); });
});
}).then(function () { done++; if (progress) progress(done, files.length); });
});
}, Promise.resolve()).then(function () { return files.length; });
}
function contents(root) {
var it = root.values(), seen = [];
function next() {
return it.next().then(function (r) {
if (r.done) return seen;
var n = r.value.name;
if (n.charAt(0) !== "." && !HOUSEKEEPING[n.toLowerCase()]) seen.push(n);
return seen.length >= 3 ? seen : next();
});
}
return next(); /* up to three names that make the drive "not empty", to say why */
}
function pick() { return window.showDirectoryPicker({ id: "mpc-drive", mode: "readwrite" }); }
/* file: the downloaded folder zip; root: a directory handle (the drive). Resolves to the folder name. */
function checked(buf, sha) {
if (!sha) return Promise.resolve(buf);
return sha256(buf).then(function (h) { if (h !== sha) throw new Error("The download didn't match its checksum. Reload the page and try again."); return buf; });
}
/* The file at a path on this site (same origin), with a progress callback; resolves to a file-like {arrayBuffer}. */
function download(path, progress) {
return fetch(path, { cache: "no-cache" }).then(function (r) {
if (!r.ok) throw new Error("Couldn't download " + path + " (" + r.status + ").");
var total = +r.headers.get("content-length") || 0, got = 0, chunks = [], rd = r.body.getReader();
function pump() {
return rd.read().then(function (x) {
if (x.done) { var b = new Blob(chunks); return { fromSite: true, arrayBuffer: function () { return b.arrayBuffer(); } }; }
chunks.push(x.value); got += x.value.length; if (progress) progress(got, total); return pump();
});
}
return pump();
});
}
function folderZip(file, root, progress, sha) {
return file.arrayBuffer().then(function (b) { return checked(b, sha); }).then(function (buf) {
var es = readZip(buf), folder = pluginFolder(es);
return dirIn(root, ["VST2 Plugins"]).then(function (v) {
return v.removeEntry(folder, { recursive: true }).catch(function () {}).then(function () { return writeAll(v, es, [], progress); });
}).then(function () { return folder; });
});
}
/* file: the stick zip; pin: {sha256, need:[paths]}; root must be empty. */
function stickZip(file, root, pin, progress) {
return file.arrayBuffer().then(function (buf) {
return sha256(buf).then(function (h) {
if (h !== pin.sha256) throw new Error("This isn't the expected stick zip (its checksum differs). Download it again from the link above.");
var es = readZip(buf);
es.forEach(function (x) { parts(x.name); });
pin.need.forEach(function (n) { if (!es.some(function (x) { return x.name === n; })) throw new Error("The stick zip is missing " + n + "."); });
return contents(root).then(function (found) {
if (found.length) throw new Error("That drive isn't empty (it has " + found.join(", ") + "). The stick runs on the MPC, so it must hold only its own files: pick an empty, freshly formatted USB stick.");
return writeAll(root, es, [], progress);
});
});
});
}
return { supported: supported, pick: pick, download: download, readZip: readZip, pluginFolder: pluginFolder, folderZip: folderZip, stickZip: stickZip, sha256: sha256 };
})();
if (typeof module !== "undefined") module.exports = DriveWrite;
/* Install page guide: the desktop installer's questions (model, MPC OS), then the steps for this MPC with the download it needs.
Runs only on a page with the guide block (catalog_md "::: guide"). Everything it says is also in the page below it. */
(function () {
var root = document.getElementById("guide");
if (!root) return;
var REL = "https://github.com/open-mpc/mpc-vst-plugins/releases";
var PM = "https://github.com/open-mpc/plugin-manager/releases/download/plugin-manager-g2-v1.3.7/OpenMPC-Plugin-Manager-1.3.7-";
var PMSDK = "https://github.com/open-mpc/plugin-manager/releases/download/plugin-manager-g2-v1.3.7/Plugin-Manager-G2-1.3.7-mpc-sdk.zip"; /* one zip for every MPC on MPC OS 3.10.1+; used when the site publishes it (dl/downloads.json "pm-sdk") */
var HERE = "on your computer", MPC = "on the MPC";
var GROUPS = [["Gen1", 1, ["MPC Live / Live II", "MPC One / One+", "MPC X / X SE", "MPC Key 61 / Key 37", "Akai Force"]],
["Gen2", 2, ["MPC Live III", "MPC One G2", "MPC Key G2", "MPC XL"]]];
var S = {}, hist = [];
function el(tag, cls, text) { var e = document.createElement(tag); if (cls) e.className = cls; if (text) e.textContent = text; return e; }
function link(text, href, cls) { var a = el("a", cls, text); a.href = href; return a; }
function opt(title, sub, fn) {
var b = el("button", "gopt"); b.type = "button";
var s = el("span"); s.appendChild(el("b", null, title)); if (sub) s.appendChild(el("small", null, sub));
b.appendChild(s); b.onclick = function () { hist.push(JSON.stringify(S)); fn(); draw(); }; return b;
}
function computer() {
var u = navigator.userAgent;
if (/Windows/.test(u)) return ["Windows", "-windows.zip"];
if (/Mac OS X/.test(u)) return ["Mac", "-mac-apple-silicon.tar.gz (Apple chip) or -mac-intel.tar.gz (Intel)"];
if (/Linux/.test(u) && !/Android/.test(u)) return ["Linux", "-linux.tar.gz"];
return null;
}
function parts(li, p) { (typeof p === "string" ? [p] : p).forEach(function (x) { li.appendChild(typeof x === "string" ? document.createTextNode(x) : x); }); }
function plan(list) { /* [[text or parts, where, what happens next], ...] as the installer's numbered steps */
var ol = el("ol", "gplan");
list.forEach(function (s) { var li = el("li"), sp = el("span"); parts(sp, s[0]); if (s[2]) sp.appendChild(el("em", "gthen", s[2])); li.appendChild(sp); if (s[1]) li.appendChild(el("small", null, s[1])); ol.appendChild(li); });
return ol;
}
function card(step, of, q, sub) {
var c = el("section", "gcard"), dots = el("div", "gdots");
for (var i = 1; i <= of; i++) dots.appendChild(el("i", i <= step ? "on" : null));
c.appendChild(dots); c.appendChild(el("h2", "gq", q)); if (sub) c.appendChild(el("p", "gsub", sub));
return c;
}
function nav(c) {
var n = el("div", "gnav");
if (hist.length) { var b = el("button", "gback", "Back"); b.type = "button"; b.onclick = function () { S = JSON.parse(hist.pop()); draw(); }; n.appendChild(b); }
if (S.model) n.appendChild(el("span", "gfor", S.model + (S.os ? " · MPC OS " + (S.os === "new" ? "3.10.1 or later" : S.os === "2x" ? "2.x" : "3.0 to 3.9.1") : "")));
c.appendChild(n);
}
function installer(c, why) {
var b = el("div", "gdl"), k = computer();
b.appendChild(link("Download the desktop installer app", REL + "/latest", "gbtn"));
var p = el("p", "gsub", why + " " + (k ? "For " + k[0] + ", get the file ending in " + k[1] + ". " : "") + "Unpack it and double-click mpc-installer. ");
p.appendChild(link("How to start it", "#the-desktop-installer-app")); b.appendChild(p); c.appendChild(b);
}
var EASY = {"url": "https://github.com/open-mpc/mpc-vst-plugins/releases/download/g2-stick-v1.3.7/Plugin-Manager-G2-Stick-1.3.7.zip", "sha256": "367ea05fafe62ad891a60cabca00499e80e6005303c6d32e9d99845404ad87a1", "version": "1.3.7", "need": ["autorun/autorun.json", "autorun/autorun.check", "autorun/open.sh", "autorun/runtime/run.sh", "autorun/runtime/payload.sha256", ".mpc-g2-stick"]};
var DL = null; /* dl/downloads.json: the files this site publishes (tools/site_downloads.py); none on a local preview */
/* The write box: with a file on this site, one button (choose the drive; the page downloads and writes). Otherwise, or as a
fallback, choose a zip you downloaded, then the drive. run(file, root, progress) resolves to the message to show. */
function writer(c, title, dl, zipName, hint, run) {
var box = el("div", "gwrite");
box.appendChild(el("b", null, title));
if (typeof DriveWrite === "undefined" || !DriveWrite.supported()) {
var brave = navigator.brave && typeof navigator.brave.isBrave === "function";
var m = el("p", "gsub", brave ? "Brave turns this off. To use it, open " : "Writing from this page needs Chrome or Edge on a computer. Use one of the ways below instead.");
if (brave) { m.appendChild(el("code", null, "brave://flags/#file-system-access-api")); m.appendChild(document.createTextNode(", set it to Enabled and relaunch Brave. Or use one of the ways below.")); }
box.appendChild(m);
c.appendChild(box); return;
}
var st = el("p", "gstatus");
function go(getFile, btns) {
DriveWrite.pick().then(function (root) {
btns.forEach(function (b) { b.disabled = true; });
st.className = "gstatus"; st.textContent = "Getting the files…";
return getFile(function (d, n) { st.textContent = "Downloading: " + Math.round(d / 1048576) + (n ? " of " + Math.round(n / 1048576) : "") + " MB"; }).then(function (file) {
st.textContent = "Writing to " + root.name + "…";
return run(file, root, function (d, n) { st.textContent = "Writing to " + root.name + ": " + d + " of " + n + " files"; });
}).then(function (msg) { st.className = "gstatus ok"; st.textContent = msg + " Eject the drive before you unplug it."; });
}).catch(function (e) {
if (e && e.name === "AbortError") return;
st.className = "gstatus bad"; st.textContent = (e && e.message) || String(e);
}).then(function () { btns.forEach(function (b) { b.disabled = b.dataset.need === "file" && !f; }); });
}
var f = null, row = el("div", "gwrow"), all = [];
box.appendChild(el("p", "gsub", hint));
if (dl) {
var one = el("button", "gbtn", "Choose the drive and write"); one.type = "button"; all.push(one);
one.onclick = function () { go(function (p) { return DriveWrite.download(dl.path, p); }, all); };
row.appendChild(one); box.appendChild(row);
}
var inp = el("input"); inp.type = "file"; inp.accept = ".zip"; inp.hidden = true;
var pz = el("button", "gback", "1. Choose the downloaded " + zipName), pd = el("button", dl ? "gback" : "gbtn", "2. Choose the drive and write");
pz.type = pd.type = "button"; pd.disabled = true; pd.dataset.need = "file"; all.push(pd);
inp.onchange = function () { f = inp.files[0] || null; pd.disabled = !f; st.className = "gstatus"; st.textContent = f ? "Zip: " + f.name : ""; };
pz.onclick = function () { inp.click(); };
pd.onclick = function () { go(function () { return Promise.resolve(f); }, all); };
var r2 = el("div", "gwrow"); r2.appendChild(pz); r2.appendChild(pd); r2.appendChild(inp);
if (dl) { var fb = el("details", "gothers"); fb.appendChild(el("summary", null, "Or use a zip you downloaded")); fb.appendChild(r2); box.appendChild(fb); }
else box.appendChild(r2);
box.appendChild(st); c.appendChild(box);
}
function draw() {
root.textContent = "";
var c;
if (!S.model) {
c = card(1, 3, "Which MPC do you have?", "A couple of questions, then the steps for your MPC.");
GROUPS.forEach(function (g) {
c.appendChild(el("div", "ggrp", g[0]));
var m = el("div", "gmodels");
g[2].forEach(function (name) { m.appendChild(opt(name, "", function () { S.model = name; S.gen = g[1]; S.force = /Force/.test(name); })); });
c.appendChild(m);
});
} else if (!S.os) {
c = card(2, 3, "Which MPC OS is on it?", "On the MPC: Menu > Preferences > Info shows the version.");
var o = el("div", "gopts");
o.appendChild(opt("3.10.1 or later", "Preferences has an Enhancements page", function () { S.os = "new"; }));
o.appendChild(opt("3.0 to 3.9.1", "", function () { S.os = "old"; }));
o.appendChild(opt("2.x", "", function () { S.os = "2x"; }));
c.appendChild(o);
} else if (S.os === "2x") {
c = card(3, 3, "MPC OS 2.x: install over SSH", "The Plugin Manager and its stick need MPC OS 3.x. On 2.x you install plugins over SSH (root SSH access to the MPC).");
c.appendChild(plan([["In the catalog, pick plugins whose card says MPC OS: 2.x and 3.x", HERE, "Plugins made only for 3.x don't show their screen on 2.x."],
["Install them with the desktop installer app over Wi-Fi: choose 2.x, then Connect with the MPC's IP address and pick plugins", HERE, "It warns you before installing a plugin made only for 3.x. MPC restarts once."]]));
installer(c, "The desktop installer app installs over SSH.");
var x2 = el("p", "gsub", "Or update the MPC to MPC OS 3.x first, or install by hand: ");
x2.appendChild(link("MPC OS 2.x", "#mpc-os-2-x")); c.appendChild(x2);
} else if (S.os === "new") {
var g = S.gen === 2 ? "Gen2" : "Gen1";
c = card(3, 3, "Put the Plugin Manager on your MPC", "Once it is on a track, you install everything else from its screen, or from your phone or computer.");
c.appendChild(plan([["Menu > Preferences > Enhancements: tick Enable Enhancements and External Plugin Support, accept the warning, wait a few seconds, then restart", MPC, "MPC now looks for plugins in folders called VST2 Plugins."],
[["Download ", (DL && DL["pm-sdk"]) ? link("Plugin-Manager-G2-1.3.7-mpc-sdk.zip", PMSDK) : link("OpenMPC-Plugin-Manager-1.3.7-" + g + ".zip", PM + g + ".zip"), " and unzip it", " (or let this page write it for you, below)"], HERE, "You get one folder, OpenMPC - VST - Plugin Manager."],
["Copy that whole folder into a VST2 Plugins folder on the MPC. Pick a way below", HERE, "MPC lists it in its plugin browser. On a stick or card that is as soon as you plug it in."],
["Press Menu, add a new Plugin track, tap its plugin slot and browse to External VST Plugins > OpenMPC > Plugin Manager", MPC, "Its screen lists the catalog. Install from there, or open the web address on its status line on your phone or computer (same Wi-Fi)."]]));
var pdl = DL && (DL["pm-sdk"] || DL["pm-gen" + S.gen]); /* the SDK zip holds both builds; else this generation's folder zip */
writer(c, "Write it to a USB stick from this page (Chrome or Edge)", pdl, "Plugin Manager zip",
"Plug in a USB stick or SD card, or connect the MPC in Controller Mode, then choose that drive. This page puts the folder in VST2 Plugins on it.",
function (file, root, prog) { return DriveWrite.folderZip(file, root, prog, file.fromSite ? pdl.sha256 : null).then(function (folder) {
return "Done: VST2 Plugins/" + folder + " is on " + root.name + ". Plug it into the MPC (no restart needed; it shows up within a few seconds), or after Controller Mode tap Standalone. Then do step 4."; }); });
c.appendChild(el("p", "gsub", "Or copy it yourself:"));
[["Over Wi-Fi", "Developer mode on", [["Turn on Developer mode and note the MPC's IP address", MPC, "Your computer can now open the MPC's files over Wi-Fi."],
["Connect with a file app (WinSCP, Cyberduck, FileZilla) as root, no password", HERE],
[["Copy the folder into ", el("code", null, S.gen === 2 ? "/nvme/VST2 Plugins/" : "/sdcard/VST2 Plugins/"), ", then restart the MPC"], HERE, "After the restart, MPC lists the Plugin Manager in its plugin browser."]], "#a-over-wi-fi-developer-mode"],
["With a USB cable", "Controller Mode", /Live III|XL/.test(S.model) ? [ /* only these mount their internal drives (Akai's support articles) */
["Connect the MPC to your computer with a USB cable", MPC],
["Menu, the computer icon: Controller Mode", MPC, "Two drives appear on your computer: MPC User (the MPC's internal drive) and MPC Content. On Windows they appear only once Akai's MPC USB driver is installed (from akaipro.com)."],
["Copy the folder into VST2 Plugins on the MPC User drive, eject it, then tap Standalone on the MPC and confirm", HERE, "If the Plugin Manager isn't in the plugin browser yet, restart the MPC: the internal drive is read at start-up."]]
: [["Put an SD card or USB drive in the MPC and connect the MPC to your computer", MPC, "This MPC's internal drive doesn't show on a computer, only a card or drive in it."],
["Menu, the computer icon: Controller Mode", MPC, "The card or drive appears on your computer like a USB stick."],
["Copy the folder into VST2 Plugins on it, eject it, then tap Standalone on the MPC and confirm", HERE, "MPC finds the Plugin Manager on it. Leave the card or drive in."]], "#b-with-a-usb-cable-controller-mode"],
["With a USB stick or SD card", "", [["Make a folder called VST2 Plugins on the stick or card and copy the folder into it", HERE],
["Plug it into the MPC", MPC, "No restart needed: the Plugin Manager shows up in the plugin browser within a few seconds. Leave it in: the plugin runs from there. Don't unplug it while a track uses the Plugin Manager: the plugin stops and its screen goes black until you plug it back in."]], "#c-with-a-usb-stick-or-sd-card"]].forEach(function (w) {
var d = el("details", "gway"), s = el("summary"); s.appendChild(el("b", null, w[0])); if (w[1]) s.appendChild(el("small", null, " (" + w[1] + ")"));
d.appendChild(s); d.appendChild(plan(w[2]));
var m = el("p", "gsub"); m.appendChild(link("More detail", w[3])); d.appendChild(m); c.appendChild(d);
});
var a = el("details", "gothers"); a.appendChild(el("summary", null, "Rather use the desktop app?"));
installer(a, "It can write the stick for you, or install over Wi-Fi with Developer mode."); c.appendChild(a);
} else {
c = card(3, 3, "Plugin Manager stick", "A stick that installs the Plugin Manager: you confirm one prompt and MPC restarts with it.");
if (EASY) {
if (!(DL && DL["pm-stick"])) { var dl = el("div", "gdl"); dl.appendChild(link("Download the Plugin Manager stick zip (" + EASY.version + ")", EASY.url, "gbtn")); c.appendChild(dl); }
writer(c, "Write the stick from this page (Chrome or Edge)", DL && DL["pm-stick"], "stick zip", "Use an empty, freshly formatted USB stick, then choose it.",
function (file, root, prog) { return DriveWrite.stickZip(file, root, EASY, prog).then(function (n) { return "Done: the stick is ready (" + n + " files). Now do step 1 below."; }); });
c.appendChild(plan([["Save your project, plug the stick into the MPC and choose Open on the prompt", MPC, "The stick installs the Plugin Manager and MPC restarts by itself. You can then unplug the stick."],
["Create a new Plugin track, tap its plugin slot and choose OpenMPC Plugin Manager from the plugin list", MPC, "Its screen lists the catalog. Install from there, or open the web address on its status line on your phone or computer (same Wi-Fi)."]]));
var o2 = el("details", "gothers"); o2.appendChild(el("summary", null, "Other browser, or rather use the desktop app?"));
installer(o2, "The desktop installer app makes the same stick."); c.appendChild(o2);
}
else installer(c, "On 3.9.1 or earlier the desktop installer app makes the stick.");
if (!EASY) c.appendChild(plan([["Start the app, choose 3.9.1 or earlier and follow it to Plugin Manager stick. Write it to an empty USB stick", HERE],
["Save your project, plug the stick into the MPC and choose Open on the prompt", MPC, "The stick installs the Plugin Manager and MPC restarts by itself. You can then unplug the stick."],
["Create a new Plugin track, tap its plugin slot and choose OpenMPC Plugin Manager from the plugin list", MPC, "Its screen lists the catalog. Install from there, or open the web address on its status line on your phone or computer (same Wi-Fi)."]]));
var adv = el("p", "gsub", "With root SSH the same app also installs over Wi-Fi, removes plugins, and manages backups and patches: ");
adv.appendChild(link("details", "#installing-over-wi-fi-with-the-app-mpc-os-3-9-1-or-earlier")); c.appendChild(adv);
}
nav(c); root.appendChild(c);
}
root.hidden = false;
draw();
if (typeof fetch === "function") fetch("dl/downloads.json", { cache: "no-cache" }).then(function (r) { return r.ok ? r.json() : null; })
.then(function (d) { if (d) { DL = d; draw(); } }).catch(function () {});
})();
</script>
<footer class="wrap">Community-provided software. Installing runs a script as root on your device: check the source and the checksum first. Not affiliated with or endorsed by Akai Professional. Use at your own risk, with no warranty: a plugin or patch can crash MPC, lose unsaved work or, at worst, leave the device needing a reinstall of its OS. Back up first.<br>Questions, testing and release news: <a href="https://discord.gg/sRRysZSgu3">Open MPC on Discord</a>. <a href="privacy.html">Privacy</a>.</footer>
</body>
</html>