2010-12-30 02:41:40 +00:00
|
|
|
##### Config file for SSNES
|
|
|
|
|
2010-12-30 13:11:56 +00:00
|
|
|
## If enabled, load libsnes from a dynamic location.
|
|
|
|
# libsnes_path = "/path/to/libsnes.so"
|
|
|
|
|
2010-12-30 02:41:40 +00:00
|
|
|
#### Video
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Windowed xscale and yscale (Real x res: 296 * xscale, real y scale: 224 * xscale)
|
|
|
|
# video_xscale = 3.0
|
|
|
|
# video_yscale = 3.0
|
|
|
|
|
|
|
|
# Fullscreen resolution
|
2011-01-07 17:28:41 +00:00
|
|
|
# video_fullscreen_x = 1920
|
|
|
|
# video_fullscreen_y = 1200
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Start in fullscreen. Can be changed at runtime.
|
|
|
|
# video_fullscreen = false
|
|
|
|
|
|
|
|
# Video vsync.
|
|
|
|
# video_vsync = true
|
|
|
|
|
|
|
|
# Smoothens picture with bilinear filtering. Should be disabled if using Cg shaders.
|
|
|
|
# video_smooth = true
|
|
|
|
|
2011-01-06 19:01:32 +00:00
|
|
|
# Forces rendering area to stay equal to SNES aspect ratio 4:3 or as defined in video_aspect_ratio.
|
2010-12-30 11:34:23 +00:00
|
|
|
# video_force_aspect = true
|
|
|
|
|
2011-01-06 19:01:32 +00:00
|
|
|
# A floating point value for video aspect ratio (width / height)
|
|
|
|
# video_aspect_ratio = 1.333
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Path to Cg shader. If enabled
|
|
|
|
# video_cg_shader = "/path/to/cg/shader.cg"
|
|
|
|
|
2011-01-05 16:32:30 +00:00
|
|
|
# Path to bSNES-style XML shader. If both Cg shader path and XML shader path are defined, Cg shader will take priority.
|
|
|
|
# video_bsnes_shader = "/path/to/bsnes/xml/shader.shader"
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# CPU-based filter. Valid ones are: hq2x, hq4x, grayscale, bleed, ntsc.
|
|
|
|
# video_filter = ntsc
|
2010-12-30 02:41:40 +00:00
|
|
|
|
2011-01-23 01:48:06 +00:00
|
|
|
# Path to a TTF font used for rendering messages.
|
|
|
|
# video_font_path =
|
|
|
|
|
|
|
|
# Size of the TTF font rendered.
|
|
|
|
# video_font_size = 48
|
|
|
|
|
2011-01-23 01:59:44 +00:00
|
|
|
# Offset for where messages will be placed on screen. Values are in range 0.0 to 1.0 for both x and y values.
|
|
|
|
# video_message_pos_x = 0.3
|
|
|
|
# video_message_pox_y = 0.3
|
|
|
|
|
2010-12-30 02:41:40 +00:00
|
|
|
#### Audio
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Enable audio.
|
|
|
|
# audio_enable = true
|
|
|
|
|
|
|
|
# Audio output samplerate.
|
2011-01-07 17:28:41 +00:00
|
|
|
# audio_out_rate = 48000
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Audio input samplerate from libsnes.
|
|
|
|
# Lower this (slightly) if you are experiencing frequent audio dropouts while vsync is enabled.
|
|
|
|
# Conversely, increase this slightly if you are experiencing good audio,
|
|
|
|
# but lots of dropped frames. Reasonable values for this is 32000 +/- 100 Hz.
|
2011-01-07 17:28:41 +00:00
|
|
|
# audio_in_rate = 31980
|
2010-12-30 11:34:23 +00:00
|
|
|
|
2011-01-07 17:28:41 +00:00
|
|
|
# Audio driver backend. Depending on configuration possible candidates are: alsa, oss, jack, rsound, roar, openal and sdl
|
|
|
|
# audio_driver =
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Override the default audio device the audio_driver uses.
|
2010-12-30 02:41:40 +00:00
|
|
|
# audio_device =
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Will sync (block) on audio. Recommended.
|
|
|
|
# audio_sync = true
|
|
|
|
|
|
|
|
# Desired audio latency in milliseconds. Might not be honored if driver can't provide given latency.
|
2011-01-07 17:28:41 +00:00
|
|
|
# audio_latency = 64
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# libsamplerate quality. Valid values are from 1 to 5. These values map to zero_order_hold, linear, sinc_fastest, sinc_medium and sinc_best.
|
2010-12-30 02:41:40 +00:00
|
|
|
# audio_src_quality =
|
|
|
|
|
|
|
|
### Input
|
|
|
|
|
2011-01-06 19:01:32 +00:00
|
|
|
# Input driver. Depending on video driver, it might force a different input driver.
|
|
|
|
# input_driver = sdl
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Defines axis threshold. Possible values are [0.0, 1.0]
|
2011-01-07 17:28:41 +00:00
|
|
|
# input_axis_threshold = 0.5
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Keyboard input. Will recognize normal keypresses and special keys like "left", "right", and so on.
|
|
|
|
# input_player1_a = x
|
|
|
|
# input_player1_b = z
|
|
|
|
# input_player1_y = a
|
|
|
|
# input_player1_x = s
|
|
|
|
# input_player1_start = enter
|
|
|
|
# input_player1_select = rshift
|
|
|
|
# input_player1_l = q
|
|
|
|
# input_player1_r = w
|
|
|
|
# input_player1_left = left
|
|
|
|
# input_player1_right = right
|
|
|
|
# input_player1_up = up
|
|
|
|
# input_player1_down = down
|
|
|
|
|
2011-01-10 07:18:03 +00:00
|
|
|
# If desired, it is possible to override which joypads are being used for player 1 and 2. First joypad available is 0.
|
|
|
|
# input_player1_joypad_index = 0
|
|
|
|
# input_player2_joypad_index = 1
|
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Joypad buttons. Figure these out by looking at jstest /dev/input/js0 output.
|
2011-01-08 23:30:56 +00:00
|
|
|
# You can use joypad hats with hnxx, where n is the hat, and xx is a string representing direction.
|
|
|
|
# E.g. "h0up"
|
2010-12-30 11:34:23 +00:00
|
|
|
# input_player1_a_btn = 1
|
|
|
|
# input_player1_b_btn = 0
|
|
|
|
# input_player1_y_btn = 2
|
|
|
|
# input_player1_x_btn = 3
|
|
|
|
# input_player1_start_btn = 7
|
|
|
|
# input_player1_select_btn = 6
|
|
|
|
# input_player1_l_btn = 4
|
|
|
|
# input_player1_r_btn = 5
|
|
|
|
# input_player1_left_btn = 11
|
|
|
|
# input_player1_right_btn = 12
|
|
|
|
# input_player1_up_btn = 13
|
|
|
|
# input_player1_down_btn = 14
|
|
|
|
|
2011-01-08 17:37:45 +00:00
|
|
|
# Axis for DPAD.
|
|
|
|
# Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
|
|
|
|
# Do note that every other input option has the corresponding _btn and _axis binds as well; they are omitted here for clarity.
|
2010-12-30 11:34:23 +00:00
|
|
|
# input_player1_left_axis = -0
|
|
|
|
# input_player1_right_axis = +0
|
|
|
|
# input_player1_up_axis = +1
|
|
|
|
# input_player1_down_axis = -1
|
2010-12-30 03:51:08 +00:00
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# Same stuff, just for player two.
|
2010-12-30 04:40:57 +00:00
|
|
|
# input_player2_a =
|
|
|
|
# input_player2_b =
|
|
|
|
# input_player2_y =
|
|
|
|
# input_player2_x =
|
|
|
|
# input_player2_start =
|
|
|
|
# input_player2_select =
|
|
|
|
# input_player2_l =
|
|
|
|
# input_player2_r =
|
|
|
|
# input_player2_left =
|
|
|
|
# input_player2_right =
|
|
|
|
# input_player2_up =
|
|
|
|
# input_player2_down =
|
2010-12-30 03:51:08 +00:00
|
|
|
|
2010-12-30 11:34:23 +00:00
|
|
|
# input_player2_a_btn = 1
|
|
|
|
# input_player2_b_btn = 0
|
|
|
|
# input_player2_y_btn = 2
|
|
|
|
# input_player2_x_btn = 3
|
|
|
|
# input_player2_start_btn = 7
|
|
|
|
# input_player2_select_btn = 6
|
|
|
|
# input_player2_l_btn = 4
|
|
|
|
# input_player2_r_btn = 5
|
|
|
|
# input_player2_left_btn = 11
|
|
|
|
# input_player2_right_btn = 12
|
|
|
|
# input_player2_up_btn = 13
|
|
|
|
# input_player2_down_btn = 14
|
|
|
|
|
|
|
|
|
|
|
|
# input_player2_left_axis = -0
|
|
|
|
# input_player2_right_axis = +0
|
2011-01-08 17:37:45 +00:00
|
|
|
# input_player2_up_axis = -1
|
|
|
|
# input_player2_down_axis = +1
|
2010-12-30 11:34:23 +00:00
|
|
|
|
|
|
|
# Toggles fullscreen.
|
|
|
|
# input_toggle_fullscreen = f
|
|
|
|
# Saves state.
|
|
|
|
# input_save_state = f2
|
|
|
|
# Loads state.
|
|
|
|
# input_load_state = f4
|
|
|
|
|
|
|
|
# Toggles between fast-forwarding and normal speed.
|
|
|
|
# input_toggle_fast_forward = space
|
|
|
|
|
2011-01-08 17:37:45 +00:00
|
|
|
# Key to exit emulator cleanly.
|
|
|
|
# Killing it in any hard way (SIGTERM, SIGKILL, etc, will terminate emulator without saving RAM, etc.)
|
2010-12-30 11:34:23 +00:00
|
|
|
# input_exit_emulator = escape
|