-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.cfg
402 lines (390 loc) · 8.9 KB
/
default.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
bindings {
keys {
up gamepads.1.up
down gamepads.1.down
left gamepads.1.left
right gamepads.1.right
a gamepads.1.a
s gamepads.1.b
d gamepads.1.c
q gamepads.1.x
w gamepads.1.y
e gamepads.1.z
f gamepads.1.mode
enter gamepads.1.start
r ui.release_mouse
[ ui.vdp_debug_mode
u ui.enter_debugger
p ui.screenshot
b ui.plane_debug
v ui.vram_debug
c ui.cram_debug
n ui.compositing_debug
m ui.vgm_log
esc ui.exit
` ui.save_state
0 ui.set_speed.0
1 ui.set_speed.1
2 ui.set_speed.2
3 ui.set_speed.3
4 ui.set_speed.4
5 ui.set_speed.5
6 ui.set_speed.6
7 ui.set_speed.7
= ui.next_speed
- ui.prev_speed
f11 ui.toggle_fullscreen
tab ui.soft_reset
f5 ui.reload
z ui.sms_pause
rctrl ui.toggle_keyboard_captured
}
pads {
default {
dpads {
0 {
up gamepads.n.up
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
}
}
buttons {
a gamepads.n.a
b gamepads.n.b
rightshoulder gamepads.n.c
x gamepads.n.x
y gamepads.n.y
leftshoulder gamepads.n.z
back gamepads.n.mode
start gamepads.n.start
guide ui.exit
leftstick ui.save_state
}
axes {
lefty.positive gamepads.n.down
lefty.negative gamepads.n.up
leftx.positive gamepads.n.right
leftx.negative gamepads.n.left
lefttrigger ui.prev_speed
righttrigger ui.next_speed
}
}
ps4_6b_right {
axes {
lefttrigger ui.next_speed
leftx.negative gamepads.n.up
leftx.positive gamepads.n.down
lefty.negative gamepads.n.left
lefty.positive gamepads.n.right
righttrigger gamepads.n.c
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.mode
leftstick ui.save_state
rightshoulder gamepads.n.z
rightstick ui.prev_speed
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
ps3_6b_right {
axes {
lefttrigger ui.next_speed
leftx.negative gamepads.n.up
leftx.positive gamepads.n.down
lefty.negative gamepads.n.left
lefty.positive gamepads.n.right
righttrigger gamepads.n.c
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.mode
leftstick ui.save_state
rightshoulder gamepads.n.z
rightstick ui.prev_speed
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
xbox_360_6b_right {
axes {
lefttrigger ui.next_speed
leftx.negative gamepads.n.up
leftx.positive gamepads.n.down
lefty.negative gamepads.n.left
lefty.positive gamepads.n.right
righttrigger gamepads.n.c
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.mode
leftstick ui.save_state
rightshoulder gamepads.n.z
rightstick ui.prev_speed
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
xbone_6b_right {
axes {
lefttrigger ui.next_speed
leftx.negative gamepads.n.up
leftx.positive gamepads.n.down
lefty.negative gamepads.n.left
lefty.positive gamepads.n.right
righttrigger gamepads.n.c
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.mode
leftstick ui.save_state
rightshoulder gamepads.n.z
rightstick ui.prev_speed
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
genesis_6b_bumpers {
axes {
lefttrigger ui.exit
righttrigger gamepads.n.mode
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.z
rightshoulder gamepads.n.c
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
saturn_6b_bumpers {
axes {
lefttrigger ui.exit
righttrigger gamepads.n.mode
}
buttons {
a gamepads.n.a
b gamepads.n.b
back ui.sms_pause
guide ui.exit
leftshoulder gamepads.n.z
rightshoulder gamepads.n.c
start gamepads.n.start
x gamepads.n.x
y gamepads.n.y
}
dpads {
0 {
down gamepads.n.down
left gamepads.n.left
right gamepads.n.right
up gamepads.n.up
}
}
}
}
mice {
0 {
motion mouse.1.motion
buttons {
1 mouse.1.left
2 mouse.1.middle
3 mouse.1.right
4 mouse.1.start
}
}
#having the second host mouse also mapped to the first emulated
#mouse is useful for laptop users with an external mouse
1 {
motion mouse.1.motion
buttons {
1 mouse.1.left
2 mouse.1.middle
3 mouse.1.right
4 mouse.1.start
}
}
}
}
io {
devices {
1 gamepad6.1
2 gamepad6.2
}
}
video {
#special value "stretch" will cause aspect to match window aspect ratio
aspect 4:3
width 640
#height is normally calculated automatically from width using the aspect setting
#if you would like to set it explicitly, uncomment the line below
#height 480
vertex_shader default.v.glsl
fragment_shader default.f.glsl
scanlines off
vsync off
fullscreen off
#setting gl to off, will force use of the SDL2 fallback renderer
#this is useful for those running on machines with Open GL 2.0 unavailable
#so the warning doesn't display on startup
gl on
#scaling can be linear (for linear interpolation) or nearest (for nearest neighbor)
scaling linear
#When off, a 512x512 texture is used for each field, when turned on a smaller texture is used
#turning this on seems to help performance on certain mobile GPUs like Mali
npot_textures off
ntsc {
overscan {
#these values will result in square pixels in H40 mode
top 2
bottom 1
#if you want to completely hide the border instead
#comment out those two lines and uncomment these
#top 11
#bottom 8
#these values will completely hide the horizontal border
left 13
right 14
}
}
pal {
overscan {
#these values will produce the same size border in V30 mode
#as the default NTSC settings will produce in V24 mode
#this results in a slightly vertically squished picture
#which is probably approximately correct on a properly calibrated TV
top 21
bottom 17
#for square pixels and zero border in V30 mode
#coment out those two lines and uncomment these
#top 30
#bottom 24
#these values will completely hide the horizontal border
left 13
right 14
}
}
}
audio {
rate 48000
buffer 512
lowpass_cutoff 3390
#Use f32 for 32-bit floating point, s16 for signed 16-bit integer
format f32
}
clocks {
m68k_divider 7
max_cycles 3420
speeds {
0 100
1 150
2 200
3 300
4 400
5 25
6 50
7 75
}
}
ui {
#specifies the ROM that implements the Menu UI
rom menu.bin
#starting path for ROM browsing, accepts special variables $HOME, $EXEDIR
#and variables defined in the OS environment
initial_path $HOME
#if this is set to on, then the menu will remember the last path when visited
#if it's set to off, initial_path will always be used on startup
remember_path on
#path for storing internal screenshots, accepts the same variables as initial_path
screenshot_path $HOME
#see strftime for the format specifiers valid in screenshot_template
screenshot_template blastem_%Y%m%d_%H%M%S.png
#path for storing VGM recordings, accepts the same variables as initial_path
vgm_path $HOME
#see strftime for the format specifiers valid in vgm_template
vgm_template blastem_%Y%m%d_%H%M%S.vgm
#path template for saving SRAM, EEPROM and savestates
#accepts special variables $HOME, $EXEDIR, $USERDATA, $ROMNAME
save_path $USERDATA/blastem/$ROMNAME
#space delimited list of file extensions to filter against in menu
extensions bin gen md smd sms gg zip gz
#specifies the preferred save-state format, set to gst for Genecyst compatible states
state_format native
}
system {
#controls how the emulated system is synced to the host
#video provides the smoothest experience when the host and emulated system have similar refresh rates
#audio provides lower audio latency, especially when there is a refresh rate mismatch
sync_source audio
#set this to random to debug initialization bugs
ram_init zero
default_region U
#controls whether MegaWiFi support is enabled or not
#MegaWiFi allows ROMs to make connections to the internet
#so it should only be enabled for ROMs you trust
megawifi off
#Model of the emulated Gen/MD system, see systems.cfg for a list of options
model md1va3
}