# ~/local/cfg/retroarch/retroarch.cfg :
# Configuration for the retroarch emulation suite

config_save_on_exit = false

# Auto save when exiting; if there is an autosave, load it automatically
savestate_auto_save = false
savestate_auto_load = true

# A directory for where to search for libretro core implementations.
libretro_directory = "/usr/lib/libretro"

# Path to a libretro implementation.
#libretro_path = "/usr/lib/libretro/libretro-snes9x-next.so"

# A directory for where to search for libretro core information.
libretro_info_path = "/usr/lib/libretro"

# Sets log level for libretro cores (GET_LOG_INTERFACE).
# If a log level issued by a libretro core is below libretro_log_level, it is ignored.
# DEBUG logs are always ignored unless verbose mode is activated (--verbose).
# DEBUG = 0, INFO = 1, WARN = 2, ERROR = 3.
libretro_log_level = 3

# Path to content load history file.
content_history_path = "~/local/data/retroarch/history.lpl"
content_history_dir = "~/local/data/retroarch/"
game_history_path = "~/local/data/retroarch/games.history"

# Sets the "system" directory. Implementations can query for
# this directory to load BIOSes, system-specific configs, etc.
system_directory = "~/local/data/retroarch/system"

# Save all input remapping files to this directory.
input_remapping_directory = "~/local/data/retroarch/input/"

# Assets directory. This location is queried by default when menu interfaces try to look for
# loadable assets, etc.
assets_directory = "~/local/data/retroarch/assets/"

# Directory to dump screenshots to.
screenshot_directory = "~/local/data/retroarch/screenshots/"

# Save all playlist files to this directory.
playlist_directory = "~/local/data/retroarch/playlists/"

# Load up a specific config file based on the core being used.
core_specific_config = true

# Audio driver backend.
audio_driver = pulse

# Defines a directory where overlays are kept for easy access.
overlay_directory = "~/local/data/retroarch/overlays/"

#### Video

# Path to a font used for rendering messages.
video_font_path = /usr/share/fonts/TTF/LinBiolinum_R_G.ttf

# Color for message. The value is treated as a hexadecimal value.
video_message_color = 00a900

# Defines a directory where shaders (Cg, CGP, GLSL) are kept for easy access.
video_shader_dir = "~/local/data/retroarch/shaders"

# Defines a directory where CPU-based video filters are kept.
video_filter_dir = "~/local/data/retroarch/filters"

#### Input

# Maximum amount of users supported by RetroArch.
input_max_users = 1
input_autodetect_enable = true

# Directory for joypad autoconfigs.
joypad_autoconfig_dir = "~/local/cfg/retroarch/joypads"

# Menu buttons.
menu_ok_btn = "2"
menu_cancel_btn = "0"
menu_search_btn = "3"
menu_info_btn = "6"
menu_default_btn = "7"
menu_scroll_down_btn = "h0down"
menu_scroll_up_btn = "h0up"

# Axis for RetroArch D-Pad.
# Needs to be either '+' or '-' in the first character
# signaling either positive or negative direction of the
# axis, then the axis number.
input_player1_left_axis = "-0"
input_player1_right_axis = "+0"
input_player1_up_axis = "-1"
input_player1_down_axis = "+1"

# Reset the content.
input_reset = nul

# Pause gameplay when window focus is lost.
pause_nonactive = false

# Path to cheat database directory.
cheat_database_path = "~/local/data/retroarch/cheat"

# Path to XML cheat config, a file which keeps track of which
# cheat settings are used for individual games.
cheat_settings_path = "~/local/cfg/retroarch/cheats.xml"
