1 # This is a sample .dgenrc file
2 # It simply sets everything to their default values
3 # Lines that BEGIN with a hash (#) (i.e. NOTHING before it) are comments.
4 # Also, everything after the "field = value" is ignored (but don't count on it)
6 # Note that your own RC file doesn't need to include every field like this
7 # one does, any ones you exclude simply have their compiled-in default values.
9 # Also, you can have multiple RC files, and use the -r option to dgen
10 # to pick the rc you want to load.
12 # Fields beginning with "key_" take key names. The valid key names are listed
13 # in the dgenrc(5) manpage.
15 # Fields beginning with "bool_" are boolean, i.e. they take a true or false
17 # "true", "yes", any number except 0: true
18 # "false", "no", "0" : false
20 # Fields beginning with "int_" take a _positive_ integer. Simple enough, huh? ;)
22 # The syntax and fields of this file are documented in a bit more detail in the
25 # These are the controls for pad 1
29 key_pad1_right = right
36 key_pad1_mode = backspace
37 key_pad1_start = return
39 # If you prefer W.A.S.D type controls (again player 1):
50 #key_pad1_mode = backspace
51 #key_pad1_start = return
53 # Joystick/joypad definitions for pad 1
54 # Defaults are tailored for Gravis GamePad Pros. (10 button)
55 joy_pad1_up = joystick0-axis1-min
56 joy_pad1_down = joystick0-axis1-max
57 joy_pad1_left = joystick0-axis0-min
58 joy_pad1_right = joystick0-axis0-max
59 joy_pad1_a = joystick0-button0
60 joy_pad1_b = joystick0-button3
61 joy_pad1_c = joystick0-button1
62 joy_pad1_x = joystick0-button6
63 joy_pad1_y = joystick0-button4
64 joy_pad1_z = joystick0-button5
65 joy_pad1_mode = joystick0-button9
66 joy_pad1_start = joystick0-button8
69 # Yes, I KNOW the default player 2 keys are awful. Pick your own!
71 key_pad2_down = kp_down
72 key_pad2_left = kp_left
73 key_pad2_right = kp_right
76 key_pad2_c = page_down
80 key_pad2_mode = kp_plus
81 key_pad2_start = kp_enter
83 # Joystick/joypad definitions for pad 2
84 # Defaults are tailored for Gravis GamePad Pros. (10 button)
85 joy_pad2_up = joystick1-axis1-min
86 joy_pad2_down = joystick1-axis1-max
87 joy_pad2_left = joystick1-axis0-min
88 joy_pad2_right = joystick1-axis0-max
89 joy_pad2_a = joystick1-button0
90 joy_pad2_b = joystick1-button3
91 joy_pad2_c = joystick1-button1
92 joy_pad2_x = joystick1-button6
93 joy_pad2_y = joystick1-button4
94 joy_pad2_z = joystick1-button5
95 joy_pad2_mode = joystick1-button9
96 joy_pad2_start = joystick1-button8
98 # Fix checksum, needed by some games with Game Genie codes
100 joy_fix_checksum = ''
102 # Quit DGen or switch to the next ROM on the command-line.
106 key_craptv_toggle = f5
107 joy_craptv_toggle = ''
108 # Toggle scaling algorithm.
109 key_scaling_toggle = f6
110 joy_scaling_toggle = ''
117 # Toggle fullscreen mode
118 key_fullscreen_toggle = alt-enter
119 joy_fullscreen_toggle = ''
121 # Use this to toggle which CPU core to use, no need to reset! :)
122 # If you don't have multiple CPU cores, it won't do anything!
126 # Same as above, for Z80 core.
130 # This pauses emulation :)
134 # Display interactive prompt.
138 # This prompts for a Game Genie code.
142 # Press this to break into the debugger.
167 # Save/load game to current slot
173 # VDP plane debugging.
174 # Won't do anything unless VDP debugging is enabled at compile time.
175 bool_vdp_hide_plane_a = no
176 bool_vdp_hide_plane_b = no
177 bool_vdp_hide_plane_w = no
178 bool_vdp_hide_sprites = no
179 # Sprites boxing also requires VDP debugging.
180 bool_vdp_sprites_boxing = false
181 int_vdp_sprites_boxing_fg = 0xffff00 # yellow
182 int_vdp_sprites_boxing_bg = 0x00ff00 # green
184 # There are now multiple CTV effects to try. Pick your favorite:
186 # blur - Blur bitmap (this is the CTV from older versions)
187 # scanline - Attenuate every other scanline, by Phillip K. Hornung <redx@pknet.com>
188 # interlace - Unstable crappy television (I had one that looked like this ;), by me!
189 # swab - Swap video output endianness.
190 ctv_craptv_startup = off
192 # M68K and Z80 cores to use at startup.
193 emu_m68k_startup = musa
194 emu_z80_startup = cz80
196 # These decide whether DGen should automatically load slot 0 on startup,
197 # and/or autosave to slot 0 on exit.
201 # When true, automatically dump the current configuration to dgenrc.auto before
202 # exiting. This file is always loaded before dgenrc at startup.
205 # Skip frames to keep time? (faster, but can make things look bad)
206 # This doesn't matter if you have sound enabled, since the sound code has its
209 # Show cartridge header info at startup.
210 bool_show_carthead = no
212 # Directory where DGen should look for ROMs by default. It's relative to
213 # DGen's home directory, unless an absolute path is provided.
214 str_rom_path = "roms"
218 # The sound rate to use.
219 int_soundrate = 44100
220 # Number of sound segments to use for sound buffering. Lower values guarantee
221 # low latency. Increment this only if the sound becomes choppy.
223 # Size of the system sound buffer, in samples (samples are the sound unit,
224 # sound rate is how many of them are played every second). Specifying 0
225 # automatically choses the safest value. If you experience sound issues
226 # int_soundsegs is unable to solve, try to change this. Increasing it will
227 # cause noticeable audio lag (it is unfortunately often required on slower
231 # MJazz option - puts 2 more FM chips in the Megadrive for a sort of 22 channel
232 # sound boost. Can sound good. Slows things down a lot.
235 # Volume level, in percent.
244 # Binding arbitrary actions is also supported. In the following example,
245 # pressing button 2 of the first joystick loads a ROM:
247 #bind_j0-b2 = 'load test_rom.bin'
249 # Unbinding dangerous keys defined by default (quit and reset) and rebinding
250 # them using combinations.
252 # Buttons 3, 4 and 6 of the first joystick must be pressed simultaneously to
257 #bind_'j0-b3 j0-b6 j0-b4' = joy_quit
259 # Button 3 of the first joystick and keys "q" "w" and "e" must be pressed
260 # simultaneously to reset the console:
264 #bind_'j0-b3 q w e' = joy_reset
266 # This is how many microseconds DGen should sleep every frame. Even little
267 # amounts can decrease CPU overhead significantly, and the default of 20
268 # doesn't hurt performance terribly. Of course, set it to 0 if you don't
269 # mind DGen eating all your CPU (like me ;)
272 # Desired window width and height.
276 # Color depth (bits per pixel). Allowed values are 0 (automatic), 8, 15, 16,
277 # 24 and 32. Ignored in OpenGL mode.
280 # Video refresh rate. The default is 60 as in NTSC consoles.
283 # When true, a PAL console is emulated. This should be used in combination
284 # with int_hz above for 50Hz emulation.
287 # Region to emulate: U for America (NTSC), E for Europe (PAL),
288 # J for Japan (NTSC), X for Japan (PAL), or empty space for autodetection
290 # Overrides bool_pal and int_hz.
293 # Regions DGen is allowed to emulate when autodetection is enabled,
294 # ordered by preference.
295 str_region_order = JUEX
300 # Prevent screen tearing.
301 bool_doublebuffer = yes
303 # Additional thread to offload the displaying of frames in specific cases,
305 bool_screen_thread = no
307 # If you want to increase the size of the rendered screen, increase this value.
308 # It currently must be a whole number. See scaling filters.
313 # Display the current number of frames per second.
316 # Display pressed buttons. Can be used to help configuring them.
319 # Swap bytes in the video output.
322 # Scaler to use when display resolution is larger than original screen.
323 # Choose between "stretch", "scale", "hqx", "hqx stretch", "scale2x",
324 # "scale2x stretch" and "none".
325 scaling_startup = stretch
330 # Number of milliseconds to wait after the last mouse motion event to release
331 # buttons bound to such events.
337 # Let OpenGL stretch the screen.
338 bool_opengl_stretch = yes
340 # Retain original aspect ratio when resizing window.
343 # Use GL_LINEAR for textures filtering instead of GL_NEAREST.
344 bool_opengl_linear = true
346 # Use 32 bit textures. They require more memory but are usually faster than
348 bool_opengl_32bit = true
350 # Use a square OpenGL texture. Wastes memory.
351 bool_opengl_square = false
353 # Height of the text area at the bottom of the screen, in pixels.
356 # Generate unfiltered screenshots.
357 bool_raw_screenshots = false
359 # The following variables aren't supported anymore. They have been replaced
360 # with the joy_* bindings. They are still mentioned here to help convert
361 # existing configuration files.
363 # Specifying joysticks identifiers, axes and buttons separately isn't required
364 # anymore, because each joy_* binding provides all the necessary information
365 # using the following format (see dgenrc.5):
367 # joy_padX_{control} = joystick{X}-button{Y}
368 # joy_padX_{control} = joystick{X}-axis{Y}-(min|max)
369 # joy_padX_{control} = joystick{X}-hat{Y}-{direction}
371 # This allows more than a single joystick/joypad to manage a game controller,
372 # bind joystick/joypad axes to arbitrary actions, and a single joystick/joypad
373 # event to several actions.
375 # Additionally, you can use the "calibrate" command to define controls easily.
377 # Joystick device selection.
378 #int_joystick1_dev = 0 # not supported anymore
379 #int_joystick2_dev = 1 # not supported anymore
382 #int_joystick1_axisX = 0 # not supported anymore
383 #int_joystick1_axisY = 1 # not supported anymore
384 #int_joystick2_axisX = 0 # not supported anymore
385 #int_joystick2_axisY = 1 # not supported anymore
387 # Don't reverse axes by default
388 #bool_joystick1_axisX = false # not supported anymore
389 #bool_joystick1_axisY = false # not supported anymore
390 #bool_joystick2_axisX = false # not supported anymore
391 #bool_joystick2_axisY = false # not supported anymore
394 #joypad1_b0 = A # not supported anymore
395 #joypad1_b1 = C # not supported anymore
396 #joypad1_b2 = A # not supported anymore
397 #joypad1_b3 = B # not supported anymore
398 #joypad1_b4 = Y # not supported anymore
399 #joypad1_b5 = Z # not supported anymore
400 #joypad1_b6 = X # not supported anymore
401 #joypad1_b7 = X # not supported anymore
402 #joypad1_b8 = START # not supported anymore
403 #joypad1_b9 = MODE # not supported anymore
404 #joypad1_b10 = # not supported anymore
405 #joypad1_b11 = # not supported anymore
406 #joypad1_b12 = # not supported anymore
407 #joypad1_b13 = # not supported anymore
408 #joypad1_b14 = # not supported anymore
409 #joypad1_b15 = # not supported anymore
412 #joypad2_b0 = A # not supported anymore
413 #joypad2_b1 = C # not supported anymore
414 #joypad2_b2 = A # not supported anymore
415 #joypad2_b3 = B # not supported anymore
416 #joypad2_b4 = Y # not supported anymore
417 #joypad2_b5 = Z # not supported anymore
418 #joypad2_b6 = X # not supported anymore
419 #joypad2_b7 = X # not supported anymore
420 #joypad2_b8 = START # not supported anymore
421 #joypad2_b9 = MODE # not supported anymore
422 #joypad2_b10 = # not supported anymore
423 #joypad2_b11 = # not supported anymore
424 #joypad2_b12 = # not supported anymore
425 #joypad2_b13 = # not supported anymore
426 #joypad2_b14 = # not supported anymore
427 #joypad2_b15 = # not supported anymore