libretro_path = "/usr/lib/libretro/mame078_libretro.so"
core_options_path = "/recalbox/share_init/system/configs/retroarch/cores/retroarch-core-options.cfg"
video_shader = "/recalbox/share_init/shaders/lcd3x.glslp"
video_shader_enable = "true"

video_rotation = "270"
aspect_ratio_index = "21"
#video_scale_integer = "false"
#custom_viewport_width = "1280"
#custom_viewport_height = "896"
#custom_viewport_x = "0"
#custom_viewport_y = "0"

input_overlay = ""
input_overlay_enable = "false"
input_overlay_enable_autopreferred = "false"
input_overlay_hide_in_menu = "true"
input_overlay_opacity = "0.700000"
input_overlay_scale = "1.000000"

video_vsync = "true"
video_smooth = "false"
video_threaded = "false"
video_hard_sync = "false"
video_hard_sync_frames = "0"


input_device_p1 = "0"
input_player1_joypad_index = "0"
input_libretro_device_p1 = "1"
input_player1_analog_dpad_mode = "0"
##############
## PLAYER 1 ##
##############
## BUTTON B ##
input_player1_b_btn = "1"
input_player1_b = "w"
## BUTTON Y ##
input_player1_y_btn = "0"
input_player1_y = "x"
## BUTTON A ##
input_player1_a_btn = "2"
input_player1_a = "c"
## BUTTON X ##
input_player1_x_btn = "3"
input_player1_x = "v"
## BUTTON LEFT ##
input_player1_l_btn = "4"
input_player1_l = "q"
## BUTTON RIGHT ##
input_player1_r_btn = "5"
input_player1_r = "s"
## BUTTON LEFT 2 ##
input_player1_l2_btn = "6"
input_player1_l2 = "d"
## BUTTON RIGHT 2 ##
input_player1_r2_btn = "7"
input_player1_r2 = "f"
## BUTTON SELECT/COIN ##
input_player1_select_btn = "8"
input_player1_select = "a"
## BUTTON START/1P ##
input_player1_start_btn = "9"
input_player1_start = "z"
## JOYSTICK ##
input_player1_up = "up"
input_player1_up_axis = "-1"
input_player1_down = "down"
input_player1_down_axis = "+1"
input_player1_left = "left"
input_player1_left_axis = "-0"
input_player1_right = "right"
input_player1_right_axis = "+0"

input_device_p2 = "0"
input_player2_joypad_index = "1"
input_libretro_device_p2 = "1"
input_player2_analog_dpad_mode = "0"
##############
## PLAYER 2 ##
##############
## BUTTON B ##
input_player2_b_btn = "1"
input_player2_b = "b"
## BUTTON Y ##
input_player2_y_btn = "0"
input_player2_y = "n"
## BUTTON A ##
input_player2_a_btn = "2"
input_player2_a = ","
## BUTTON X ##
input_player2_x_btn = "3"
input_player2_x = ";"
## BUTTON LEFT ##
input_player2_l_btn = "4"
input_player2_l = "g"
## BUTTON RIGHT ##
input_player2_r_btn = "5"
input_player2_r = "h"
## BUTTON LEFT 2 ##
input_player2_l2_btn = "6"
input_player2_l2 = "j"
## BUTTON RIGHT 2 ##
input_player2_r2_btn = "7"
input_player2_r2 = "k"
## BUTTON SELECT/COIN ##
input_player2_select_btn = "8"
input_player2_select = "e"
## BUTTON START/1P ##
input_player2_start_btn = "9"
input_player2_start = "r"
## JOYSTICK ##
input_player2_up = "up"
input_player2_up_axis = "-1"
input_player2_down = "down"
input_player2_down_axis = "+1"
input_player2_left = "left"
input_player2_left_axis = "-0"
input_player2_right = "right"
input_player2_right_axis = "+0"


#######################
## RETROARCH BUTTONS ##
#######################
menu_ok_btn = "8"
menu_cancel_btn = "0"
menu_search_btn = "9"
menu_info_btn = "2"
menu_default_btn = "3"
menu_scroll_down_btn = "11"
menu_scroll_up_btn = "10"

input_toggle_fast_forward = "space"
input_toggle_fast_forward_btn = "nul"
input_toggle_fast_forward_axis = "nul"
input_hold_fast_forward = "l"
input_hold_fast_forward_btn = "nul"
input_hold_fast_forward_axis = "nul"
input_load_state = "f4"
input_load_state_btn = "6"
input_load_state_axis = "nul"
input_save_state = "nul"
input_save_state_btn = "7"
input_save_state_axis = "nul"
input_toggle_fullscreen = "f"
input_toggle_fullscreen_btn = "nul"
input_toggle_fullscreen_axis = "nul"
input_exit_emulator = "escape"
input_exit_emulator_btn = "8"
input_exit_emulator_axis = "nul"
input_state_slot_increase = "f7"
input_state_slot_increase_btn = "4"
input_state_slot_increase_axis = "nul"
input_state_slot_decrease = "f6"
input_state_slot_decrease_btn = "5"
input_state_slot_decrease_axis = "nul"
input_rewind = "r"
input_rewind_btn = "nul"
input_rewind_axis = "nul"
input_movie_record_toggle = "o"
input_movie_record_toggle_btn = "nul"
input_movie_record_toggle_axis = "nul"
input_pause_toggle = "p"
input_pause_toggle_btn = "0"
input_pause_toggle_axis = "nul"
input_frame_advance = "k"
input_frame_advance_btn = "nul"
input_frame_advance_axis = "nul"
input_reset = "h"
input_reset_btn = "9"
input_reset_axis = "nul"
input_shader_next = "m"
input_shader_next_btn = "3"
input_shader_next_axis = "nul"
input_shader_prev = "n"
input_shader_prev_btn = "nul"
input_shader_prev_axis = "nul"
input_cheat_index_plus = "y"
input_cheat_index_plus_btn = "nul"
input_cheat_index_plus_axis = "nul"
input_cheat_index_minus = "t"
input_cheat_index_minus_btn = "nul"
input_cheat_index_minus_axis = "nul"
input_cheat_toggle = "u"
input_cheat_toggle_btn = "nul"
input_cheat_toggle_axis = "nul"
input_screenshot = "f8"
input_screenshot_btn = "1"
input_screenshot_axis = "nul"
input_audio_mute = "f9"
input_audio_mute_btn = "2"
input_audio_mute_axis = "nul"
input_osk_toggle = "nul"
input_osk_toggle_btn = "nul"
input_osk_toggle_axis = "nul"
input_netplay_flip_players = "i"
input_netplay_flip_players_btn = "nul"
input_netplay_flip_players_axis = "nul"
input_slowmotion = "e"
input_slowmotion_btn = "nul"
input_slowmotion_axis = "nul"
input_enable_hotkey = "f1"
input_enable_hotkey_btn = "11"
input_enable_hotkey_axis = "nul"
input_volume_up = "add"
input_volume_up_btn = "nul"
input_volume_up_axis = "-1"
input_volume_down = "subtract"
input_volume_down_btn = "nul"
input_volume_down_axis = "+1"
input_overlay_next = "nul"
input_overlay_next_btn = "nul"
input_overlay_next_axis = "nul"
input_disk_eject_toggle = "nul"
input_disk_eject_toggle_btn = "nul"
input_disk_eject_toggle_axis = "nul"
input_disk_next = "nul"
input_disk_next_btn = "nul"
input_disk_next_axis = "nul"
input_disk_prev = "nul"
input_disk_prev_btn = "nul"
input_disk_prev_axis = "nul"
input_grab_mouse_toggle = "f11"
input_grab_mouse_toggle_btn = "nul"
input_grab_mouse_toggle_axis = "nul"

input_menu_toggle = "f2"
input_menu_toggle_btn = "10"
input_menu_toggle_axis = "nul"


###########
## VIDEO ##
###########
video_aspect_ratio = "-1.000000"
video_aspect_ratio_auto = "false"
video_windowed_fullscreen = "true"
video_scale = "3.000000"
video_crop_overscan = "false"
video_shared_context = "false"
video_force_srgb_disable = "false"
video_fullscreen = "false"
video_refresh_rate = "59.950001"
video_monitor_index = "0"
video_fullscreen_x = "0"
video_fullscreen_y = "0"
video_frame_delay = "0"
video_black_frame_insertion = "false"
video_disable_composition = "false"
video_gpu_screenshot = "true"
gamma_correction = "false"
soft_filter_enable = "false"
flicker_filter_enable = "false"
console_resolution_width = "0"
console_resolution_height = "0"
flicker_filter_index = "0"
soft_filter_index = "0"
current_resolution_id = "0"

###########
## AUDIO ##
###########
audio_latency = "64"
audio_sync = "true"
audio_block_frames = "0"
audio_device = ""
audio_dsp_plugin = ""
audio_rate_control = "true"
audio_rate_control_delta = "0.005000"
audio_max_timing_skew = "0.050000"
audio_volume = "0.000000"
audio_driver = "alsathread"
audio_enable = "true"
audio_mute_enable = "false"
audio_out_rate = "48000"
audio_resampler = "sinc"


###########
## Paths ##
###########

core_assets_directory = "/recalbox/share/downloads"
screenshot_directory = "/recalbox/share/screenshots"
overlay_directory = "/recalbox/share/overlays"
assets_directory = "/recalbox/share/downloads"
dynamic_wallpapers_directory = "/recalbox/share/downloads"
boxarts_directory = "/recalbox/share/downloads"
playlist_directory = "/recalbox/share/downloads"
rgui_browser_directory = "/recalbox/share/roms"
rgui_config_directory = "/recalbox/configs/retroarch"
libretro_directory = "/usr/lib/libretro"
libretro_info_path = "/usr/lib/libretro"
content_history_path = "/recalbox/configs/retroarch/content_history.lpl"
system_directory = "default"
extraction_directory = "/recalbox/share/extractions"
savefile_directory = "/recalbox/share/saves"
savestate_directory = "/recalbox/share/saves"
video_shader_dir = "/recalbox/share/shaders"
video_filter_dir = "default"
audio_filter_dir = "default"
input_remapping_directory = ""
input_remapping_path = ""
resampler_directory = ""
recording_output_directory = ""
recording_config_directory = ""
content_database_path = ""
cheat_database_path = ""
cursor_directory = ""
content_history_dir = ""
video_filter = ""
joypad_autoconfig_dir = ""


############
## OTHERS ##
############
input_max_users = "2"
input_menu_toggle_gamepad_combo = "0"
input_axis_threshold = "0.500000"
ui_companion_start_on_boot = "true"
video_gpu_record = "false"
input_remap_binds_enable = "false"
back_as_menu_toggle_enable = "true"
netplay_client_swap_input = "false"
input_descriptor_label_show = "false"
autoconfig_descriptor_label_show = "false"
input_descriptor_hide_unbound = "false"
load_dummy_on_core_shutdown = "true"
builtin_mediaplayer_enable = "true"
builtin_imageviewer_enable = "true"
fps_show = "false"
ui_menubar_enable = "true"
core_specific_config = "false"
auto_overrides_enable = "false"
auto_remaps_enable = "false"
sort_savefiles_enable = "false"
sort_savestates_enable = "false"
libretro_log_level = "0"
log_verbosity = "false"
perfcnt_enable = "false"
core_set_supports_no_game_enable = "true"
suspend_screensaver_enable = "true"
rewind_enable = "false"
rewind_granularity = "1"
autosave_interval = "0"
bundle_assets_extract_enable = "false"
bundle_assets_last_extracted_version = ""
video_driver = "gl"
record_driver = "ffmpeg"
camera_driver = "null"
location_driver = "null"
threaded_data_runloop_enable = "true"
dpi_override_enable = "true"
dpi_override_value = "200"
menu_driver = "rgui"
menu_pause_libretro = "true"
menu_mouse_enable = "false"
menu_pointer_enable = "false"
menu_timedate_enable = "true"
menu_core_enable = "true"
menu_dynamic_wallpaper_enable = "false"
menu_boxart_enable = "false"
menu_wallpaper = ""
pause_nonactive = "false"
video_swap_interval = "1"
core_updater_buildbot_url = ""
core_updater_buildbot_assets_url = "http://buildbot.libretro.com/assets/"
core_updater_auto_extract_archive = "true"
camera_device = ""
camera_allow = "false"
video_context_driver = ""
location_allow = "false"
video_font_size = "32.000000"
video_font_enable = "true"
ups_pref = "false"
bps_pref = "false"
ips_pref = "false"
rgui_show_start_screen = "false"
menu_navigation_wraparound_horizontal_enable = "true"
menu_navigation_wraparound_vertical_enable = "true"
menu_navigation_browser_filter_supported_extensions_enable = "true"
menu_collapse_subgroups_enable = "true"
menu_show_advanced_settings = "true"
menu_entry_normal_color = "ffffffff"
menu_entry_hover_color = "ff64ff64"
menu_title_color = "ff64ff64"
video_font_size = "32.000000"
block_sram_overwrite = "false"
savestate_auto_index = "false"
savestate_auto_save = "false"
savestate_auto_load = "false"
history_list_enable = "false"
fastforward_ratio = "1.000000"
fastforward_ratio_throttle_enable = "false"
slowmotion_ratio = "3.000000"
config_save_on_exit = "false"
sound_mode = "0"
state_slot = "0"
netplay_spectator_mode_enable = "false"
netplay_mode = "false"
netplay_ip_address = ""
netplay_ip_port = "0"
netplay_delay_frames = "0"
netplay_nickname = ""
user_language = "0"
custom_bgm_enable = "false"
input_driver = "udev"
input_joypad_driver = "udev"
input_keyboard_layout = ""
osk_overlay_directory = "default"
input_osk_overlay = ""
input_osk_overlay_enable = "false"
video_font_path = ""
video_message_pos_x = "0.050000"
video_message_pos_y = "0.050000"
content_history_size = "100"
input_autodetect_enable = "false"
