-
Notifications
You must be signed in to change notification settings - Fork 0
/
mednafen.cfg
22648 lines (15099 loc) · 610 KB
/
mednafen.cfg
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
;VERSION 1.26.1
;Edit this file at your own risk!
;DO NOT EDIT THIS FILE WHILE AN INSTANCE OF MEDNAFEN THAT USES IT IS RUNNING.
;File format: <key><single space><value><LF or CR+LF>
;
;Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen. Dummy guard line to prevent settings file corruption by accidentally running ancient versions of Mednafen.;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;fs ~
;CD read threads CPU affinity mask.
affinity.cd 0
;Main emulation thread CPU affinity mask.
affinity.emu 0
;Video blitting thread CPU affinity mask.
affinity.video 0
;Enable (automatic) usage of this module.
apple2.enable 1
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 0
apple2.input.keyboard.twopiece.0 keyboard 0x0 39
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 1
apple2.input.keyboard.twopiece.1 keyboard 0x0 30
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 2
apple2.input.keyboard.twopiece.2 keyboard 0x0 31
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 3
apple2.input.keyboard.twopiece.3 keyboard 0x0 32
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 4
apple2.input.keyboard.twopiece.4 keyboard 0x0 33
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 5
apple2.input.keyboard.twopiece.5 keyboard 0x0 34
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 6
apple2.input.keyboard.twopiece.6 keyboard 0x0 35
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 7
apple2.input.keyboard.twopiece.7 keyboard 0x0 36
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 8
apple2.input.keyboard.twopiece.8 keyboard 0x0 37
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: 9
apple2.input.keyboard.twopiece.9 keyboard 0x0 38
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: A
apple2.input.keyboard.twopiece.a keyboard 0x0 4 || keyboard 0x0 82 || keyboard 0x0 96
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: B
apple2.input.keyboard.twopiece.b keyboard 0x0 5
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: ⭠
apple2.input.keyboard.twopiece.bs keyboard 0x0 80 || keyboard 0x0 42 || keyboard 0x0 93 || keyboard 0x0 76
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: C
apple2.input.keyboard.twopiece.c keyboard 0x0 6
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: :
apple2.input.keyboard.twopiece.colon keyboard 0x0 45
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: ,
apple2.input.keyboard.twopiece.comma keyboard 0x0 54
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: RETURN
apple2.input.keyboard.twopiece.cr keyboard 0x0 40 || keyboard 0x0 49 || keyboard 0x0 74
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: CTRL
apple2.input.keyboard.twopiece.ctrl keyboard 0x0 57 || keyboard 0x0 224 || keyboard 0x0 228
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: D
apple2.input.keyboard.twopiece.d keyboard 0x0 7
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: E
apple2.input.keyboard.twopiece.e keyboard 0x0 8
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: ESC
apple2.input.keyboard.twopiece.esc keyboard 0x0 41 || keyboard 0x0 43
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: F
apple2.input.keyboard.twopiece.f keyboard 0x0 9
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: G
apple2.input.keyboard.twopiece.g keyboard 0x0 10
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: H
apple2.input.keyboard.twopiece.h keyboard 0x0 11
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: I
apple2.input.keyboard.twopiece.i keyboard 0x0 12
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: J
apple2.input.keyboard.twopiece.j keyboard 0x0 13
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: K
apple2.input.keyboard.twopiece.k keyboard 0x0 14
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: L
apple2.input.keyboard.twopiece.l keyboard 0x0 15
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Left SHIFT
apple2.input.keyboard.twopiece.lshift keyboard 0x0 225
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: M
apple2.input.keyboard.twopiece.m keyboard 0x0 16
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: -
apple2.input.keyboard.twopiece.minus keyboard 0x0 46
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: N
apple2.input.keyboard.twopiece.n keyboard 0x0 17
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: ⭢
apple2.input.keyboard.twopiece.nak keyboard 0x0 79 || keyboard 0x0 94 || keyboard 0x0 78
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: O
apple2.input.keyboard.twopiece.o keyboard 0x0 18
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: P
apple2.input.keyboard.twopiece.p keyboard 0x0 19
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: .
apple2.input.keyboard.twopiece.period keyboard 0x0 55
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Q
apple2.input.keyboard.twopiece.q keyboard 0x0 20
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: R
apple2.input.keyboard.twopiece.r keyboard 0x0 21
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: REPT
apple2.input.keyboard.twopiece.rept keyboard 0x0 47 || keyboard 0x0 226 || keyboard 0x0 230
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: RESET
apple2.input.keyboard.twopiece.reset keyboard 0x0 73
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Right SHIFT
apple2.input.keyboard.twopiece.rshift keyboard 0x0 229
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: S
apple2.input.keyboard.twopiece.s keyboard 0x0 22
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: ;
apple2.input.keyboard.twopiece.semicolon keyboard 0x0 51 || keyboard 0x0 92
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: /
apple2.input.keyboard.twopiece.slash keyboard 0x0 56 || keyboard 0x0 77
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Space
apple2.input.keyboard.twopiece.sp keyboard 0x0 44
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: T
apple2.input.keyboard.twopiece.t keyboard 0x0 23
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: U
apple2.input.keyboard.twopiece.u keyboard 0x0 24
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: V
apple2.input.keyboard.twopiece.v keyboard 0x0 25
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: W
apple2.input.keyboard.twopiece.w keyboard 0x0 26
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: X
apple2.input.keyboard.twopiece.x keyboard 0x0 27
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Y
apple2.input.keyboard.twopiece.y keyboard 0x0 28
;apple2, Keyboard, Apple II/II+ 2-piece keyboard: Z
apple2.input.keyboard.twopiece.z keyboard 0x0 29 || keyboard 0x0 81 || keyboard 0x0 90
;Input device for Virtual Gameport 1
apple2.input.port1 joystick
;apple2, Virtual Gameport 1, Atari Joystick: Button
apple2.input.port1.atari.button
;apple2, Virtual Gameport 1, Atari Joystick: DOWN ↓
apple2.input.port1.atari.down
;apple2, Virtual Gameport 1, Atari Joystick: LEFT ←
apple2.input.port1.atari.left
;apple2, Virtual Gameport 1, Atari Joystick: RIGHT →
apple2.input.port1.atari.right
;apple2, Virtual Gameport 1, Atari Joystick: UP ↑
apple2.input.port1.atari.up
;apple2, Virtual Gameport 1, Gamepad: Button 1
apple2.input.port1.gamepad.button1
;apple2, Virtual Gameport 1, Gamepad: Button 2
apple2.input.port1.gamepad.button2
;apple2, Virtual Gameport 1, Gamepad: DOWN ↓
apple2.input.port1.gamepad.down
;apple2, Virtual Gameport 1, Gamepad: LEFT ←
apple2.input.port1.gamepad.left
;apple2, Virtual Gameport 1, Gamepad: Resistance
apple2.input.port1.gamepad.resistance_select
;Default position for switch "Resistance".
apple2.input.port1.gamepad.resistance_select.defpos 2
;apple2, Virtual Gameport 1, Gamepad: RIGHT →
apple2.input.port1.gamepad.right
;apple2, Virtual Gameport 1, Gamepad: UP ↑
apple2.input.port1.gamepad.up
;Analog axis scale coefficient for Joystick on Virtual Gameport 1.
apple2.input.port1.joystick.axis_scale 1.00
;apple2, Virtual Gameport 1, Joystick: Button 1
apple2.input.port1.joystick.button1
;apple2, Virtual Gameport 1, Joystick: Button 2
apple2.input.port1.joystick.button2
;apple2, Virtual Gameport 1, Joystick: Resistance
apple2.input.port1.joystick.resistance_select
;Default position for switch "Resistance".
apple2.input.port1.joystick.resistance_select.defpos 2
;apple2, Virtual Gameport 1, Joystick: Stick DOWN ↓
apple2.input.port1.joystick.stick_down
;apple2, Virtual Gameport 1, Joystick: Stick LEFT ←
apple2.input.port1.joystick.stick_left
;apple2, Virtual Gameport 1, Joystick: Stick RIGHT →
apple2.input.port1.joystick.stick_right
;apple2, Virtual Gameport 1, Joystick: Stick UP ↑
apple2.input.port1.joystick.stick_up
;apple2, Virtual Gameport 1, Paddle: Button
apple2.input.port1.paddle.button
;apple2, Virtual Gameport 1, Paddle: Dial LEFT ←
apple2.input.port1.paddle.dial_left
;apple2, Virtual Gameport 1, Paddle: Dial RIGHT →
apple2.input.port1.paddle.dial_right
;Input device for Virtual Gameport 2
apple2.input.port2 paddle
;apple2, Virtual Gameport 2, Atari Joystick: Button
apple2.input.port2.atari.button
;apple2, Virtual Gameport 2, Atari Joystick: DOWN ↓
apple2.input.port2.atari.down
;apple2, Virtual Gameport 2, Atari Joystick: LEFT ←
apple2.input.port2.atari.left
;apple2, Virtual Gameport 2, Atari Joystick: RIGHT →
apple2.input.port2.atari.right
;apple2, Virtual Gameport 2, Atari Joystick: UP ↑
apple2.input.port2.atari.up
;apple2, Virtual Gameport 2, Paddle: Button
apple2.input.port2.paddle.button
;apple2, Virtual Gameport 2, Paddle: Dial LEFT ←
apple2.input.port2.paddle.dial_left
;apple2, Virtual Gameport 2, Paddle: Dial RIGHT →
apple2.input.port2.paddle.dial_right
;Enable scanlines with specified opacity.
apple2.scanlines 0
;Enable specified OpenGL shader.
apple2.shader none
;Force interlaced video to be treated as progressive.
apple2.shader.goat.fprog 0
;Constant RGB horizontal divergence.
apple2.shader.goat.hdiv 0.50
;Mask pattern.
apple2.shader.goat.pat goatron
;Enable scanlines effect.
apple2.shader.goat.slen 1
;Transparency of otherwise-opaque mask areas.
apple2.shader.goat.tp 0.50
;Constant RGB vertical divergence.
apple2.shader.goat.vdiv 0.50
;Enable specified special video scaler.
apple2.special none
;Stretch to fill screen.
apple2.stretch aspect_mult2
;Enable video temporal blur(50/50 previous/current frame by default).
apple2.tblur 0
;Accumulate color data rather than discarding it.
apple2.tblur.accum 0
;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
apple2.tblur.accum.amount 50
;Video brightness.
apple2.video.brightness 0.0
;Color video luma filter.
apple2.video.color_lumafilter -3
;Enable color video smoothing.
apple2.video.color_smooth 0
;Video contrast.
apple2.video.contrast 0.0
;Force monochrome graphics color.
apple2.video.force_mono 0x000000
;Color video hue/tint.
apple2.video.hue 0.0
;Color decoder matrix.
apple2.video.matrix mednafen
;Custom color decoder matrix; blue, I.
apple2.video.matrix.blue.i -1.11
;Custom color decoder matrix; blue, Q.
apple2.video.matrix.blue.q 1.70
;Custom color decoder matrix; green, I.
apple2.video.matrix.green.i -0.28
;Custom color decoder matrix; green, Q.
apple2.video.matrix.green.q -0.64
;Custom color decoder matrix; red, I.
apple2.video.matrix.red.i 0.96
;Custom color decoder matrix; red, Q.
apple2.video.matrix.red.q 0.62
;Enable hack to treat mixed-mode text as monochrome.
apple2.video.mixed_text_mono 0
;Video rendering mode.
apple2.video.mode composite
;Monochrome video luma filter.
apple2.video.mono_lumafilter 5
;Color video saturation.
apple2.video.saturation 0.0
;Enable (bi)linear interpolation.
apple2.videoip x
;Full-screen horizontal resolution.
apple2.xres 0
;Scaling factor for the X axis in windowed mode.
apple2.xscale 4.000000
;Scaling factor for the X axis in fullscreen mode.
apple2.xscalefs 1.000000
;Full-screen vertical resolution.
apple2.yres 0
;Scaling factor for the Y axis in windowed mode.
apple2.yscale 4.000000
;Scaling factor for the Y axis in fullscreen mode.
apple2.yscalefs 1.000000
;Automatically load/save state on game load/close.
autosave 0
;Cache entire CD images in memory.
cd.image_memcache 0
;Enable (automatic) usage of this module.
cdplay.enable 1
;Force monophonic sound output.
cdplay.forcemono 0
;cdplay, Built-In, Controller: Next Track
cdplay.input.builtin.controller.next_track keyboard 0x0 79
;cdplay, Built-In, Controller: Next Track 10
cdplay.input.builtin.controller.next_track_10 keyboard 0x0 82
;cdplay, Built-In, Controller: Play/Pause
cdplay.input.builtin.controller.play_pause keyboard 0x0 44
;cdplay, Built-In, Controller: Previous Track
cdplay.input.builtin.controller.previous_track keyboard 0x0 80
;cdplay, Built-In, Controller: Previous Track 10
cdplay.input.builtin.controller.previous_track_10 keyboard 0x0 81
;cdplay, Built-In, Controller: Scan Forward
cdplay.input.builtin.controller.scan_forward keyboard 0x0 75
;cdplay, Built-In, Controller: Scan Reverse
cdplay.input.builtin.controller.scan_reverse keyboard 0x0 78
;cdplay, Built-In, Controller: Stop
cdplay.input.builtin.controller.stop keyboard 0x0 40
;Enable scanlines with specified opacity.
cdplay.scanlines 0
;Enable specified OpenGL shader.
cdplay.shader none
;Force interlaced video to be treated as progressive.
cdplay.shader.goat.fprog 0
;Constant RGB horizontal divergence.
cdplay.shader.goat.hdiv 0.50
;Mask pattern.
cdplay.shader.goat.pat goatron
;Enable scanlines effect.
cdplay.shader.goat.slen 1
;Transparency of otherwise-opaque mask areas.
cdplay.shader.goat.tp 0.50
;Constant RGB vertical divergence.
cdplay.shader.goat.vdiv 0.50
;Enable specified special video scaler.
cdplay.special none
;Stretch to fill screen.
cdplay.stretch aspect_mult2
;Enable video temporal blur(50/50 previous/current frame by default).
cdplay.tblur 0
;Accumulate color data rather than discarding it.
cdplay.tblur.accum 0
;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
cdplay.tblur.accum.amount 50
;Enable (bi)linear interpolation.
cdplay.videoip 0
;Enable simple waveform visualization.
cdplay.visualization 1
;Full-screen horizontal resolution.
cdplay.xres 0
;Scaling factor for the X axis in windowed mode.
cdplay.xscale 5.000000
;Scaling factor for the X axis in fullscreen mode.
cdplay.xscalefs 1.000000
;Full-screen vertical resolution.
cdplay.yres 0
;Scaling factor for the Y axis in windowed mode.
cdplay.yscale 5.000000
;Scaling factor for the Y axis in fullscreen mode.
cdplay.yscalefs 1.000000
;Enable cheats.
cheats 1
;Save state 0 select
command.0 keyboard 0x0 39
;Save state 1 select
command.1 keyboard 0x0 30
;Save state 2 select
command.2 keyboard 0x0 31
;Save state 3 select
command.3 keyboard 0x0 32
;Save state 4 select
command.4 keyboard 0x0 33
;Save state 5 select
command.5 keyboard 0x0 34
;Save state 6 select
command.6 keyboard 0x0 35
;Save state 7 select
command.7 keyboard 0x0 36
;Save state 8 select
command.8 keyboard 0x0 37
;Save state 9 select
command.9 keyboard 0x0 38
;Activate barcode(for Famicom)
command.activate_barcode keyboard 0x0 65
;Advance frame
command.advance_frame keyboard 0x0 4+alt
;Select virtual device on virtual input port 1
command.device_select1 keyboard 0x0 30+ctrl+shift
;Select virtual device on virtual input port 10
command.device_select10 keyboard 0x0 39+ctrl+shift
;Select virtual device on virtual input port 11
command.device_select11 keyboard 0x0 89+ctrl+shift
;Select virtual device on virtual input port 12
command.device_select12 keyboard 0x0 90+ctrl+shift
;Select virtual device on virtual input port 2
command.device_select2 keyboard 0x0 31+ctrl+shift
;Select virtual device on virtual input port 3
command.device_select3 keyboard 0x0 32+ctrl+shift
;Select virtual device on virtual input port 4
command.device_select4 keyboard 0x0 33+ctrl+shift
;Select virtual device on virtual input port 5
command.device_select5 keyboard 0x0 34+ctrl+shift
;Select virtual device on virtual input port 6
command.device_select6 keyboard 0x0 35+ctrl+shift
;Select virtual device on virtual input port 7
command.device_select7 keyboard 0x0 36+ctrl+shift
;Select virtual device on virtual input port 8
command.device_select8 keyboard 0x0 37+ctrl+shift
;Select virtual device on virtual input port 9
command.device_select9 keyboard 0x0 38+ctrl+shift
;Exit
command.exit keyboard 0x0 69 || keyboard 0x0 41
;Fast-forward
command.fast_forward keyboard 0x0 53
;Configure buttons on virtual port 1
command.input_config1 keyboard 0x0 30+alt+shift
;Configure buttons on virtual port 10
command.input_config10 keyboard 0x0 39+alt+shift
;Configure buttons on virtual port 11
command.input_config11 keyboard 0x0 89+alt+shift
;Configure buttons on virtual port 12
command.input_config12 keyboard 0x0 90+alt+shift
;Configure buttons on virtual port 2
command.input_config2 keyboard 0x0 31+alt+shift
;Configure buttons on virtual port 3
command.input_config3 keyboard 0x0 32+alt+shift
;Configure buttons on virtual port 4
command.input_config4 keyboard 0x0 33+alt+shift
;Configure buttons on virtual port 5
command.input_config5 keyboard 0x0 34+alt+shift
;Configure buttons on virtual port 6
command.input_config6 keyboard 0x0 35+alt+shift
;Configure buttons on virtual port 7
command.input_config7 keyboard 0x0 36+alt+shift
;Configure buttons on virtual port 8
command.input_config8 keyboard 0x0 37+alt+shift
;Configure buttons on virtual port 9
command.input_config9 keyboard 0x0 38+alt+shift
;Detect analog buttons on physical joysticks/gamepads(for use with the input configuration process).
command.input_config_abd keyboard 0x0 60
;Configure command key
command.input_configc keyboard 0x0 59
;Configure command key, for all-pressed-to-trigger mode
command.input_configc_am keyboard 0x0 59+shift
;Insert coin
command.insert_coin keyboard 0x0 65
;Insert/Eject disk/disc
command.insert_eject_disk keyboard 0x0 65
;Load movie
command.load_movie keyboard 0x0 64+shift
;Load state
command.load_state keyboard 0x0 64
;Movie 0 select
command.m0 keyboard 0x0 39+shift
;Movie 1 select
command.m1 keyboard 0x0 30+shift
;Movie 2 select
command.m2 keyboard 0x0 31+shift
;Movie 3 select
command.m3 keyboard 0x0 32+shift
;Movie 4 select
command.m4 keyboard 0x0 33+shift
;Movie 5 select
command.m5 keyboard 0x0 34+shift
;Movie 6 select
command.m6 keyboard 0x0 35+shift
;Movie 7 select
command.m7 keyboard 0x0 36+shift
;Movie 8 select
command.m8 keyboard 0x0 37+shift
;Movie 9 select
command.m9 keyboard 0x0 38+shift
;Pause/Unpause
command.pause keyboard 0x0 72
;Power toggle
command.power keyboard 0x0 68
;Reset
command.reset keyboard 0x0 67
;Rotate screen
command.rotate_screen keyboard 0x0 18+alt
;Return to normal mode after advancing frames
command.run_normal keyboard 0x0 21+alt
;Save movie
command.save_movie keyboard 0x0 62+shift
;Save state
command.save_state keyboard 0x0 62
;Select disk/disc
command.select_disk keyboard 0x0 63
;Select drive
command.select_drive keyboard 0x0 63+shift
;Slow-forward
command.slow_forward keyboard 0x0 49
;Rewind
command.state_rewind keyboard 0x0 42
;Decrease selected save state slot by 1
command.state_slot_dec keyboard 0x0 45
;Increase selected save state slot by 1
command.state_slot_inc keyboard 0x0 46
;Take scaled(and filtered) screen snapshot
command.take_scaled_snapshot keyboard 0x0 66+shift
;Take screen snapshot
command.take_snapshot keyboard 0x0 66
;Toggle graphics layer 1
command.tl1 keyboard 0x0 30+ctrl
;Toggle graphics layer 2
command.tl2 keyboard 0x0 31+ctrl
;Toggle graphics layer 3
command.tl3 keyboard 0x0 32+ctrl
;Toggle graphics layer 4
command.tl4 keyboard 0x0 33+ctrl
;Toggle graphics layer 5
command.tl5 keyboard 0x0 34+ctrl
;Toggle graphics layer 6
command.tl6 keyboard 0x0 35+ctrl
;Toggle graphics layer 7
command.tl7 keyboard 0x0 36+ctrl
;Toggle graphics layer 8
command.tl8 keyboard 0x0 37+ctrl
;Toggle graphics layer 9
command.tl9 keyboard 0x0 38+ctrl
;Toggle debugger
command.toggle_debugger keyboard 0x0 7+alt
;Toggle DIP switch view
command.toggle_dipview keyboard 0x0 63
;Toggle frames-per-second display
command.toggle_fps_view keyboard 0x0 58+shift
;Toggle fullscreen mode
command.toggle_fs keyboard 0x0 40+alt
;Grab input
command.toggle_grab keyboard 0x0 101+ctrl+shift
;Toggle help screen
command.toggle_help keyboard 0x0 58
;Toggle state rewind functionality
command.toggle_state_rewind keyboard 0x0 22+alt
;Enable/Disable cheats
command.togglecheatactive keyboard 0x0 23+alt
;Toggle cheat console
command.togglecheatview keyboard 0x0 6+alt
;Toggle netplay console
command.togglenetview keyboard 0x0 23
;Automatically go into the debugger's step mode after a game is loaded.
debugger.autostepmode 0
;Enable (automatic) usage of this module.
demo.enable 1
;Force monophonic sound output.
demo.forcemono 0
;demo, Port 1, Controller: Rumble Control Strong
demo.input.port1.controller.rcstrong
;demo, Port 1, Controller: Rumble Control Weak
demo.input.port1.controller.rcweak
;demo, Port 1, Controller: Stick DOWN
demo.input.port1.controller.stick_down
;demo, Port 1, Controller: Stick LEFT
demo.input.port1.controller.stick_left
;demo, Port 1, Controller: Stick RIGHT
demo.input.port1.controller.stick_right
;demo, Port 1, Controller: Stick UP
demo.input.port1.controller.stick_up
;demo, Port 1, Controller: Select Test Mode
demo.input.port1.controller.stm
;demo, Port 1, Controller: Switch Meow
demo.input.port1.controller.swt
;Default position for switch "Switch Meow".
demo.input.port1.controller.swt.defpos waffles
;demo, Port 1, Controller: Toggle Interlace Mode
demo.input.port1.controller.toggle_ilace
;demo, Port 2, Controller: Rumble Control Strong
demo.input.port2.controller.rcstrong
;demo, Port 2, Controller: Rumble Control Weak
demo.input.port2.controller.rcweak
;demo, Port 2, Controller: Stick DOWN
demo.input.port2.controller.stick_down
;demo, Port 2, Controller: Stick LEFT
demo.input.port2.controller.stick_left
;demo, Port 2, Controller: Stick RIGHT
demo.input.port2.controller.stick_right
;demo, Port 2, Controller: Stick UP
demo.input.port2.controller.stick_up
;demo, Port 2, Controller: Select Test Mode
demo.input.port2.controller.stm
;demo, Port 2, Controller: Switch Meow
demo.input.port2.controller.swt
;Default position for switch "Switch Meow".
demo.input.port2.controller.swt.defpos waffles
;demo, Port 2, Controller: Toggle Interlace Mode
demo.input.port2.controller.toggle_ilace
;Multi-enum test.
demo.multi_enum
;Sound quality.
demo.resamp_quality 3
;Sound output rate tolerance.
demo.resamp_rate_error 0.0000009
;Enable scanlines with specified opacity.
demo.scanlines 0
;Enable specified OpenGL shader.
demo.shader none
;Force interlaced video to be treated as progressive.
demo.shader.goat.fprog 0
;Constant RGB horizontal divergence.
demo.shader.goat.hdiv 0.50
;Mask pattern.
demo.shader.goat.pat goatron
;Enable scanlines effect.
demo.shader.goat.slen 1
;Transparency of otherwise-opaque mask areas.
demo.shader.goat.tp 0.50
;Constant RGB vertical divergence.
demo.shader.goat.vdiv 0.50
;Enable specified special video scaler.
demo.special none
;Stretch to fill screen.
demo.stretch aspect_mult2
;Enable video temporal blur(50/50 previous/current frame by default).
demo.tblur 0
;Accumulate color data rather than discarding it.
demo.tblur.accum 0
;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
demo.tblur.accum.amount 50
;Enable (bi)linear interpolation.
demo.videoip 1
;Full-screen horizontal resolution.
demo.xres 0
;Scaling factor for the X axis in windowed mode.
demo.xscale 2.000000
;Scaling factor for the X axis in fullscreen mode.
demo.xscalefs 1.000000
;Full-screen vertical resolution.
demo.yres 0
;Scaling factor for the Y axis in windowed mode.
demo.yscale 2.000000
;Scaling factor for the Y axis in fullscreen mode.
demo.yscalefs 1.000000
;Silence sound output when fast-forwarding.
ffnosound 0
;Fast-forwarding speed multiplier.
ffspeed 4
;Treat the fast-forward button as a toggle.
fftoggle 0
;Format string for movie filename.
filesys.fname_movie %f.%M%p.%x
;Format string for save games filename.
filesys.fname_sav %f.%M%x
;Format string for save game backups filename.
filesys.fname_savbackup %f.%m%z%p.%x
;Format string for screen snapshot filenames.
filesys.fname_snap %f-%p.%x
;Format string for state filename.
filesys.fname_state %f.%M%X
;Path to directory for cheats.
filesys.path_cheat cheats
;Path to directory for firmware.
filesys.path_firmware firmware
;Path to directory for movies.
filesys.path_movie mcm
;Path to directory for custom palettes.
filesys.path_palette palettes
;Path to directory for per-game configuration override files.
filesys.path_pgconfig pgconfig
;Path to directory for save games and nonvolatile memory.
filesys.path_sav sav
;Path to directory for backups of save games and nonvolatile memory.
filesys.path_savbackup b
;Path to directory for screen snapshots.
filesys.path_snap snaps
;Path to directory for save states.
filesys.path_state mcs
;Save state file compression level.
filesys.state_comp_level 6
;Enable untrusted file-inclusion path security check.
filesys.untrusted_fip_check 1
;Automatically enable FPS display on startup.
fps.autoenable 0
;FPS display background color.
fps.bgcolor 0x80000000
;FPS display font.
fps.font 5x7
;FPS display position.
fps.position upper_left
;FPS display scale factor.
fps.scale 1
;FPS display text color.
fps.textcolor 0xFFFFFFFF
;Enable (automatic) usage of this module.
gb.enable 1
;Force monophonic sound output.
gb.forcemono 0
;gb, Built-In, Gamepad: A
gb.input.builtin.gamepad.a keyboard 0x0 91
;gb, Built-In, Gamepad: B
gb.input.builtin.gamepad.b keyboard 0x0 90
;gb, Built-In, Gamepad: DOWN ↓
gb.input.builtin.gamepad.down keyboard 0x0 22
;gb, Built-In, Gamepad: LEFT ←
gb.input.builtin.gamepad.left keyboard 0x0 4
;gb, Built-In, Gamepad: Rapid A
gb.input.builtin.gamepad.rapid_a
;gb, Built-In, Gamepad: Rapid B
gb.input.builtin.gamepad.rapid_b
;gb, Built-In, Gamepad: RIGHT →
gb.input.builtin.gamepad.right keyboard 0x0 7