--[[------------------SPAGHETTICODE-------------------]]--
--[[█▀█ ██▀ ▀█▀ █▀█ █▀█ █    ▄▄ ▄ ▄ ▄▄▄ ▄▄▄ █▄▄ ▄▄  ▄▄]]--
--[[█▀▄ █▄▄  █  █▀▄ █▄█ █▄▄ ▀▄█ █▄█ █ █ █▄▄ █ █ ██▄ █ ]]--
--[[----------------------v1.0------------------------]]--

-- Cargar medios multimedia. ------------------------------------------------------------
actual = System.currentDirectory();
Font.ftInit();
fontARCA = Font.ftLoad(actual .."/System/Medios/Font/PublicPixel.ttf");
FONDO_LOAD = Graphics.loadImage(actual .."/System/Medios/Default/FONDO.png");
LOADING_LOAD = Graphics.loadImage(actual .."/System/Medios/Default/LOADING.png");

--- Refrescar pantalla. -----------------------------------------------------------------
function refrescar()
	Screen.flip()
end

--- Verifica si la configuración es PAL. ------------------------------------------------
function PAL_Test()
	if doesFileExist(actual .."/System/Respaldo/PAL") == true and doesFileExist(actual .."/System/Respaldo/NTSC") == false then
		Screen.setMode(PAL, 640, 512, CT24, INTERLACED, FIELD)
	end
end
PAL_Test()

--- Verifica que el programa no se ejecute desde el segundo puerto. ---------------------
function puerto_usb()
	local buscar = System.listDirectory("mass1:")
	local res_y_tex = 0
	if doesFileExist(actual .."/System/Respaldo/PAL") then
		res_y_tex = 34
	end
	if string.sub(actual, 1, 6) == "mass1:" or buscar ~= nil then
		while true do
			Screen.clear(Color.new(0, 0, 0))
			if string.sub(actual, 1, 6) == "mass1:" then
				Font.ftPrint(fontARCA, 5, 140+res_y_tex, 0, 640, 448, "Warning\nThis program was created to run from the first\nport(USB) of PS2.\nPlease, reconnect the USB to the first port and\nrestart the program.", Color.new(128, 128, 128))
			elseif buscar ~= nil then
				Font.ftPrint(fontARCA, 5, 140+res_y_tex, 0, 640, 448, "Warning\nUSB storage device detected on second port(USB)\nPlease, Disconnect the USB from the second port\nand restart the program.", Color.new(128, 128, 128))
			end
			refrescar()
		end
	end
end
puerto_usb()

--- Confirmar reubicación. --------------------------------------------------------------
function confirmar()
	Font.ftSetPixelSize(fontARCA, 18, 18)
	Screen.clear(Color.new(0, 0, 0))
	local res_x, res_y_tex, res_y = 640, 0, 448
	if doesFileExist(actual .."/System/Respaldo/PAL") then
		res_x, res_y_tex, res_y = 640, 34, 512
	end
	Graphics.drawScaleImage(FONDO_LOAD, -5, 0, res_x+5, res_y, Color.new(0, 80, 120))
	Graphics.drawScaleImage(LOADING_LOAD, 0, 0, res_x, res_y)
	Graphics.drawRect(0, 0, res_x, res_y, Color.new(0, 0, 0, 80))
	Graphics.drawRect(0, 200+res_y_tex, res_x, 198, Color.new(128, 128, 128))
	Graphics.drawRect(0, 202+res_y_tex, res_x, 194, Color.new(0, 0, 0))
	Font.ftPrint(fontARCA, (res_x//2), (202+8)+res_y_tex, 8, res_x, 25, "The current directory does not match", Color.new(128, 128, 128))
	Font.ftPrint(fontARCA, (res_x//2), 230+res_y_tex, 8, res_x, 25, "your configuration.", Color.new(128, 128, 128))
	Font.ftPrint(fontARCA, (res_x//2), 250+res_y_tex, 8, res_x, 25, "Do you want to relocate the", Color.new(128, 128, 128))
	Font.ftPrint(fontARCA, (res_x//2), 270+res_y_tex, 8, res_x, 25, "configurations to this directory?", Color.new(128, 128, 128))
	local SQUARE = Graphics.loadImage(actual .."/System/Medios/Pads/square.png")
	local CIRCLE = Graphics.loadImage(actual .."/System/Medios/Pads/circle.png")
	Graphics.drawScaleImage(SQUARE, 300-35, 298+res_y_tex, 20, 20)
	Font.ftPrint(fontARCA, 290, 298+res_y_tex, 0, 160, 25, "RELOCATE", Color.new(128, 128, 128))
	Graphics.drawScaleImage(CIRCLE, 300-35, 322+res_y_tex, 20, 20)
	Font.ftPrint(fontARCA, 290, 322+res_y_tex, 0, 160, 25, "CANCEL", Color.new(128, 128, 128))
	Font.ftPrint(fontARCA, (res_x//2), 350+res_y_tex, 8, res_x, 50, "WARNING !", Color.new(128, 128, 128))
	Font.ftPrint(fontARCA, (res_x//2), 370+res_y_tex, 8, res_x, 50, "ALL RETROARCH OPTIONS WILL RESET", Color.new(128, 128, 128))
	refrescar()
	local pregunta = true
	while pregunta do
		PAD = Pads.get(0)
		if Pads.check(PAD, PAD_SQUARE) then
			pregunta = false
		elseif Pads.check(PAD, PAD_CIRCLE) then
			System.exitToBrowser()
		end
	end
	Graphics.freeImage(SQUARE)
	Graphics.freeImage(CIRCLE)
end

--- Mostrar barra de progreso durante la reubicación de archivos. -----------------------
function barra_de_progreso(estado, indi_rest, pal, LOADING)
	Screen.clear(Color.new(0, 0, 0))
	local res_x, res_y_tex, res_y = 640, 0, 448
	if doesFileExist(actual .."/System/Respaldo/PAL") then
		res_x, res_y_tex, res_y = 640, 34, 512
	end
	Graphics.drawScaleImage(FONDO_LOAD, -5, 0, res_x+5, res_y, Color.new(0, 80, 120))
	Graphics.drawScaleImage(LOADING_LOAD, 0, 0, res_x, res_y)
	Graphics.drawRect(-5, 278-3+res_y_tex, 650, 25, Color.new(0, 0, 0))
	local lista_indi_rest = {"Atari 2600"; "Neo Geo Pocket"; "Nintendo Famicom"; "Nintendo Game Boy";
	"Nintendo Game Boy Advance"; "Nintendo Game Boy Color"; "Nintendo Super Famicom"; "Sega Game Gear";
	"Sega Master System"; "Sega Megadrive"; "Sega SG-1000"}
	if pal == false then
		Font.ftPrint(fontARCA, (640//2), 278+res_y_tex, 8, 640, 25, "-RELOCATING ".. lista_indi_rest[indi_rest] .."-", Color.new(128, 128, 128))
	elseif pal == true then
		Font.ftPrint(fontARCA, (640//2), 278+res_y_tex, 8, 640, 25, "-RELOCATING ".. lista_indi_rest[indi_rest] .." PAL-", Color.new(128, 128, 128))
	elseif pal == nil and estado == 70 then
		Font.ftPrint(fontARCA, (640//2), 278+res_y_tex, 8, 640, 25, "-RELOCATING SNESticle-", Color.new(128, 128, 128))
	elseif pal == nil then
		Font.ftPrint(fontARCA, (640//2), 278+res_y_tex, 8, 640, 25, "-RELOCATING ALL SETTINGS-", Color.new(128, 128, 128))
	end
	Font.ftPrint(fontARCA, (640//2), 304+res_y_tex, 8, 640, 25, "█████████████████████████", Color.new(128, 128, 128))
	if estado ~= 0 then
		Font.ftPrint(fontARCA, (640//2), 304+res_y_tex, 8, 640, 25, string.sub("█████████████████████████", 1, estado), Color.new(0, 80, 120))
	end
	refrescar()
end

--- Crear archivos "retroarch.cfg" para los sistemas de Retroarch. ----------------------
function relocation_dir()
	-- Confirmar reubicación. -----------------------------------------------------------
	confirmar()

	-- Líneas de directorios. -----------------------------------------------------------
	local directorios_ori = {"Atari 2600/"; "Neo Geo Pocket/"; "Nintendo Famicom/"; "Nintendo Game Boy/"; "Nintendo Game Boy Advance/";
	"Nintendo Game Boy Color/"; "Nintendo Super Famicom/"; "Sega Game Gear/"; "Sega Master System/"; "Sega Megadrive/"; "Sega SG-1000/"}

	-- Líneas de video. -----------------------------------------------------------------
	local video_scale = "3"
	local video_scale_integer_overscale = {"true", "true", "true", "true", "true", "true", "false", "true", "false", "true", "true"}
	local video_refresh_rate = "59.940063"
	local aspect_ratio_index = {"12", "11", "11", "0", "11", "0", "11", "22", "12", "11", "12"}
	local video_scale_integer = {"false", "true", "true", "true", "false", "true", "true", "true", "false", "true", "false"}
	local current_resolution_id = "0"
	local video_vsync = "true"
	local vrr_runloop_enable = "false"

	-- Líneas de video relacionadas con la configuración PAL. ---------------------------
	local video_refresh_rate_PAL = "54.500000"
	local aspect_ratio_index_PAL = "12"
	local video_scale_integer_PAL = "false"
	local current_resolution_id_PAL = "1"
	local video_vsync_PAL = {"true", "false", "true", "false", "true", "false", "false", "true", "true", "true", "true"}
	local vrr_runloop_enable_PAL = "true"

	-- Líneas de audio. -----------------------------------------------------------------
	local audio_latency = {"64", "64", "64", "64", "128", "64", "128", "64", "64", "64", "64"}
	local audio_out_rate = {"48000", "48000", "48000", "48000", "12000", "48000", "24000", "48000", "48000", "48000", "48000"}
	local audio_rate_control = {"false", "false", "false", "false", "true", "false", "false", "false", "false", "true", "false"}
	local audio_resampler = {"sinc", "sinc", "sinc", "sinc", "CC", "sinc", "sinc", "sinc", "sinc", "sinc", "sinc"}

	-- Líneas de configuración de controles. --------------------------------------------
	local input_max_users = {"2", "1", "4", "2", "1", "2", "4", "2", "4", "4", "4"}
	local input_sensors_enable = {"true", "true", "true", "true", "false", "true", "true", "true", "true", "true", "true"}
	local remap = {"config/remaps", "config/remaps", "remaps", "config/remaps", "config/remaps", "config/remaps", "config/remaps", "config/remaps", "config/remaps", "config/remaps", "config/remaps"}

	-- Líneas de configuración de notificaciones. ---------------------------------------
	local notification_show_when_menu_is_alive = {"true", "true", "true", "false", "false", "false", "true", "true", "true", "true", "true"}
	local rgui_menu_color_theme = {"2", "10", "14", "4", "6", "3", "9", "10", "5", "35", "23"}

	-- Líneas de Save State. ------------------------------------------------------------
	local core_info_savestate_bypass = {"true", "false", "true", "true", "true", "true", "true", "true", "true", "true", "true"}

	-- Líneas de interfaz de usuario. ---------------------------------------------------
	local settings_show_user_interface = "true"

	-- Crear archivos NTSC. -------------------------------------------------------------
	for sistema = 1, #directorios_ori do
		barra_de_progreso(6*(sistema+1), sistema, false, LOADING_LOAD)
		if sistema == 1 then
			directorios_ori[1] = "Atari 2600"
		end
		local new_cof_text = {"accessibility_enable = \"false\"";
		"accessibility_narrator_speech_speed = \"5\"";
		"ai_service_enable = \"false\"";
		"ai_service_mode = \"1\"";
		"ai_service_pause = \"false\"";
		"ai_service_poll_delay = \"0\"";
		"ai_service_source_lang = \"0\"";
		"ai_service_target_lang = \"0\"";
		"ai_service_text_padding = \"5\"";
		"ai_service_text_position = \"0\"";
		"all_users_control_menu = \"false\"";
		"always_reload_core_on_run_content = \"true\"";
		"app_icon = \"default\"";
		"apply_cheats_after_load = \"false\"";
		"apply_cheats_after_toggle = \"false\"";
		"aspect_ratio_index = \"".. aspect_ratio_index[sistema] .."\"";
		"assets_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/assets\"";
		"audio_block_frames = \"0\"";
		"audio_device = \"\"";
		"audio_driver = \"ps2\"";
		"audio_dsp_plugin = \"\"";
		"audio_enable = \"true\"";
		"audio_enable_menu = \"false\"";
		"audio_enable_menu_bgm = \"false\"";
		"audio_enable_menu_cancel = \"false\"";
		"audio_enable_menu_notice = \"false\"";
		"audio_enable_menu_ok = \"false\"";
		"audio_enable_menu_scroll = \"false\"";
		"audio_fastforward_mute = \"false\"";
		"audio_fastforward_speedup = \"false\"";
		"audio_filter_dir = \"default\"";
		"audio_latency = \"".. audio_latency[sistema] .."\"";
		"audio_max_timing_skew = \"0.050000\"";
		"audio_mixer_mute_enable = \"true\"";
		"audio_mixer_volume = \"0.000000\"";
		"audio_mute_enable = \"false\"";
		"audio_out_rate = \"".. audio_out_rate[sistema] .."\"";
		"audio_rate_control = \"".. audio_rate_control[sistema] .."\"";
		"audio_rate_control_delta = \"0.005000\"";
		"audio_resampler = \"".. audio_resampler[sistema] .."\"";
		"audio_resampler_quality = \"1\"";
		"audio_sync = \"true\"";
		"audio_volume = \"0.000000\"";
		"auto_overrides_enable = \"false\"";
		"auto_remaps_enable = \"true\"";
		"auto_screenshot_filename = \"true\"";
		"auto_shaders_enable = \"true\"";
		"autosave_interval = \"0\"";
		"block_sram_overwrite = \"false\"";
		"bluetooth_driver = \"null\"";
		"builtin_imageviewer_enable = \"false\"";
		"builtin_mediaplayer_enable = \"false\"";
		"bundle_assets_dst_path = \"\"";
		"bundle_assets_dst_path_subdir = \"\"";
		"bundle_assets_extract_enable = \"false\"";
		"bundle_assets_extract_last_version = \"0\"";
		"bundle_assets_extract_version_current = \"0\"";
		"bundle_assets_src_path = \"\"";
		"cache_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/temp\"";
		"camera_allow = \"false\"";
		"camera_device = \"\"";
		"camera_driver = \"null\"";
		"cheat_database_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/cheats\"";
		"check_firmware_before_loading = \"false\"";
		"cloud_sync_destructive = \"false\"";
		"cloud_sync_driver = \"\"";
		"cloud_sync_enable = \"false\"";
		"cloud_sync_sync_configs = \"true\"";
		"cloud_sync_sync_saves = \"true\"";
		"cloud_sync_sync_system = \"false\"";
		"cloud_sync_sync_thumbs = \"false\"";
		"config_save_on_exit = \"true\"";
		"content_database_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/database/rdb\"";
		"content_favorites_directory = \"default\"";
		"content_favorites_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_favorites.lpl\"";
		"content_favorites_size = \"0\"";
		"content_history_directory = \"default\"";
		"content_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_history.lpl\"";
		"content_history_size = \"200\"";
		"content_image_history_directory = \"default\"";
		"content_image_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_image_history.lpl\"";
		"content_music_history_directory = \"default\"";
		"content_music_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_music_history.lpl\"";
		"content_runtime_log = \"false\"";
		"content_runtime_log_aggregate = \"false\"";
		"content_show_add = \"false\"";
		"content_show_add_entry = \"0\"";
		"content_show_contentless_cores = \"2\"";
		"content_show_explore = \"false\"";
		"content_show_favorites = \"false\"";
		"content_show_history = \"false\"";
		"content_show_music = \"false\"";
		"content_show_playlists = \"false\"";
		"content_show_settings = \"true\"";
		"content_show_settings_password = \"\"";
		"content_video_directory = \"default\"";
		"content_video_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_video_history.lpl\"";
		"core_assets_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/downloads\"";
		"core_info_cache_enable = \"true\"";
		"core_info_savestate_bypass = \"".. core_info_savestate_bypass[sistema] .."\"";
		"core_option_category_enable = \"true\"";
		"core_options_path = \"\"";
		"core_set_supports_no_game_enable = \"true\"";
		"core_updater_auto_backup = \"false\"";
		"core_updater_auto_backup_history_size = \"1\"";
		"core_updater_auto_extract_archive = \"true\"";
		"core_updater_buildbot_assets_url = \"http://buildbot.libretro.com/assets/\"";
		"core_updater_buildbot_cores_url = \"\"";
		"core_updater_show_experimental_cores = \"false\"";
		"crt_switch_center_adjust = \"0\"";
		"crt_switch_hires_menu = \"false\"";
		"crt_switch_porch_adjust = \"0\"";
		"crt_switch_resolution = \"0\"";
		"crt_switch_resolution_super = \"2560\"";
		"crt_switch_resolution_use_custom_refresh_rate = \"false\"";
		"crt_switch_timings = \"\"";
		"crt_video_refresh_rate = \"".. video_refresh_rate .."\"";
		"current_resolution_id = \"".. current_resolution_id .."\"";
		"custom_viewport_height = \"0\"";
		"custom_viewport_width = \"0\"";
		"custom_viewport_x = \"0\"";
		"custom_viewport_y = \"0\"";
		"desktop_menu_enable = \"true\"";
		"discord_allow = \"false\"";
		"driver_switch_enable = \"true\"";
		"dynamic_wallpapers_directory = \"default\"";
		"enable_device_vibration = \"false\"";
		"fastforward_frameskip = \"false\"";
		"fastforward_ratio = \"0.000000\"";
		"filter_by_current_core = \"false\"";
		"flicker_filter_enable = \"false\"";
		"flicker_filter_index = \"0\"";
		"fps_show = \"false\"";
		"fps_update_interval = \"256\"";
		"frame_time_counter_reset_after_fastforwarding = \"false\"";
		"frame_time_counter_reset_after_load_state = \"false\"";
		"frame_time_counter_reset_after_save_state = \"false\"";
		"framecount_show = \"false\"";
		"frontend_log_level = \"1\"";
		"game_specific_options = \"true\"";
		"gamemode_enable = \"true\"";
		"gamma_correction = \"0\"";
		"global_core_options = \"false\"";
		"history_list_enable = \"false\"";
		"initial_disk_change_enable = \"false\"";
		"input_ai_service = \"nul\"";
		"input_ai_service_axis = \"nul\"";
		"input_ai_service_btn = \"nul\"";
		"input_ai_service_mbtn = \"nul\"";
		"input_allow_turbo_dpad = \"false\"";
		"input_analog_deadzone = \"0.000000\"";
		"input_analog_sensitivity = \"1.000000\"";
		"input_audio_mute = \"f9\"";
		"input_audio_mute_axis = \"nul\"";
		"input_audio_mute_btn = \"nul\"";
		"input_audio_mute_mbtn = \"nul\"";
		"input_auto_game_focus = \"0\"";
		"input_auto_mouse_grab = \"false\"";
		"input_autodetect_enable = \"true\"";
		"input_axis_threshold = \"0.500000\"";
		"input_bind_hold = \"0\"";
		"input_bind_timeout = \"3\"";
		"input_cheat_index_minus = \"t\"";
		"input_cheat_index_minus_axis = \"nul\"";
		"input_cheat_index_minus_btn = \"nul\"";
		"input_cheat_index_minus_mbtn = \"nul\"";
		"input_cheat_index_plus = \"y\"";
		"input_cheat_index_plus_axis = \"nul\"";
		"input_cheat_index_plus_btn = \"nul\"";
		"input_cheat_index_plus_mbtn = \"nul\"";
		"input_cheat_toggle = \"u\"";
		"input_cheat_toggle_axis = \"nul\"";
		"input_cheat_toggle_btn = \"nul\"";
		"input_cheat_toggle_mbtn = \"nul\"";
		"input_close_content = \"nul\"";
		"input_close_content_axis = \"nul\"";
		"input_close_content_btn = \"nul\"";
		"input_close_content_mbtn = \"nul\"";
		"input_descriptor_hide_unbound = \"false\"";
		"input_descriptor_label_show = \"true\"";
		"input_desktop_menu_toggle = \"f5\"";
		"input_desktop_menu_toggle_axis = \"nul\"";
		"input_desktop_menu_toggle_btn = \"nul\"";
		"input_desktop_menu_toggle_mbtn = \"nul\"";
		"input_device_p1 = \"0\"";
		"input_device_p2 = \"0\"";
		"input_device_p3 = \"0\"";
		"input_device_p4 = \"0\"";
		"input_disk_eject_toggle = \"nul\"";
		"input_disk_eject_toggle_axis = \"nul\"";
		"input_disk_eject_toggle_btn = \"nul\"";
		"input_disk_eject_toggle_mbtn = \"nul\"";
		"input_disk_next = \"nul\"";
		"input_disk_next_axis = \"nul\"";
		"input_disk_next_btn = \"nul\"";
		"input_disk_next_mbtn = \"nul\"";
		"input_disk_prev = \"nul\"";
		"input_disk_prev_axis = \"nul\"";
		"input_disk_prev_btn = \"nul\"";
		"input_disk_prev_mbtn = \"nul\"";
		"input_driver = \"ps2\"";
		"input_duty_cycle = \"3\"";
		"input_enable_hotkey = \"nul\"";
		"input_enable_hotkey_axis = \"nul\"";
		"input_enable_hotkey_btn = \"nul\"";
		"input_enable_hotkey_mbtn = \"nul\"";
		"input_exit_emulator = \"escape\"";
		"input_exit_emulator_axis = \"nul\"";
		"input_exit_emulator_btn = \"nul\"";
		"input_exit_emulator_mbtn = \"nul\"";
		"input_fps_toggle = \"f3\"";
		"input_fps_toggle_axis = \"nul\"";
		"input_fps_toggle_btn = \"nul\"";
		"input_fps_toggle_mbtn = \"nul\"";
		"input_frame_advance = \"k\"";
		"input_frame_advance_axis = \"nul\"";
		"input_frame_advance_btn = \"nul\"";
		"input_frame_advance_mbtn = \"nul\"";
		"input_game_focus_toggle = \"scroll_lock\"";
		"input_game_focus_toggle_axis = \"nul\"";
		"input_game_focus_toggle_btn = \"nul\"";
		"input_game_focus_toggle_mbtn = \"nul\"";
		"input_grab_mouse_toggle = \"f11\"";
		"input_grab_mouse_toggle_axis = \"nul\"";
		"input_grab_mouse_toggle_btn = \"nul\"";
		"input_grab_mouse_toggle_mbtn = \"nul\"";
		"input_halt_replay = \"nul\"";
		"input_halt_replay_axis = \"nul\"";
		"input_halt_replay_btn = \"nul\"";
		"input_halt_replay_mbtn = \"nul\"";
		"input_hold_fast_forward = \"l\"";
		"input_hold_fast_forward_axis = \"nul\"";
		"input_hold_fast_forward_btn = \"nul\"";
		"input_hold_fast_forward_mbtn = \"nul\"";
		"input_hold_slowmotion = \"e\"";
		"input_hold_slowmotion_axis = \"nul\"";
		"input_hold_slowmotion_btn = \"nul\"";
		"input_hold_slowmotion_mbtn = \"nul\"";
		"input_hotkey_block_delay = \"5\"";
		"input_hotkey_device_merge = \"false\"";
		"input_joypad_driver = \"ps2\"";
		"input_keyboard_layout = \"\"";
		"input_load_state = \"f4\"";
		"input_load_state_axis = \"nul\"";
		"input_load_state_btn = \"nul\"";
		"input_load_state_mbtn = \"nul\"";
		"input_max_users = \"".. input_max_users[sistema] .."\"";
		"input_menu_toggle = \"f1\"";
		"input_menu_toggle_axis = \"nul\"";
		"input_menu_toggle_btn = \"nul\"";
		"input_menu_toggle_gamepad_combo = \"10\"";
		"input_menu_toggle_mbtn = \"nul\"";
		"input_netplay_fade_chat_toggle = \"nul\"";
		"input_netplay_fade_chat_toggle_axis = \"nul\"";
		"input_netplay_fade_chat_toggle_btn = \"nul\"";
		"input_netplay_fade_chat_toggle_mbtn = \"nul\"";
		"input_netplay_game_watch = \"i\"";
		"input_netplay_game_watch_axis = \"nul\"";
		"input_netplay_game_watch_btn = \"nul\"";
		"input_netplay_game_watch_mbtn = \"nul\"";
		"input_netplay_host_toggle = \"nul\"";
		"input_netplay_host_toggle_axis = \"nul\"";
		"input_netplay_host_toggle_btn = \"nul\"";
		"input_netplay_host_toggle_mbtn = \"nul\"";
		"input_netplay_ping_toggle = \"nul\"";
		"input_netplay_ping_toggle_axis = \"nul\"";
		"input_netplay_ping_toggle_btn = \"nul\"";
		"input_netplay_ping_toggle_mbtn = \"nul\"";
		"input_netplay_player_chat = \"tilde\"";
		"input_netplay_player_chat_axis = \"nul\"";
		"input_netplay_player_chat_btn = \"nul\"";
		"input_netplay_player_chat_mbtn = \"nul\"";
		"input_osk_toggle = \"nul\"";
		"input_osk_toggle_axis = \"nul\"";
		"input_osk_toggle_btn = \"nul\"";
		"input_osk_toggle_mbtn = \"nul\"";
		"input_overlay_next = \"nul\"";
		"input_overlay_next_axis = \"nul\"";
		"input_overlay_next_btn = \"nul\"";
		"input_overlay_next_mbtn = \"nul\"";
		"input_pause_toggle = \"p\"";
		"input_pause_toggle_axis = \"nul\"";
		"input_pause_toggle_btn = \"nul\"";
		"input_pause_toggle_mbtn = \"nul\"";
		"input_play_replay = \"nul\"";
		"input_play_replay_axis = \"nul\"";
		"input_play_replay_btn = \"nul\"";
		"input_play_replay_mbtn = \"nul\"";
		"input_player1_a = \"x\"";
		"input_player1_a_axis = \"nul\"";
		"input_player1_a_btn = \"nul\"";
		"input_player1_a_mbtn = \"nul\"";
		"input_player1_analog_dpad_mode = \"0\"";
		"input_player1_b = \"z\"";
		"input_player1_b_axis = \"nul\"";
		"input_player1_b_btn = \"nul\"";
		"input_player1_b_mbtn = \"nul\"";
		"input_player1_device_reservation_type = \"0\"";
		"input_player1_down = \"down\"";
		"input_player1_down_axis = \"nul\"";
		"input_player1_down_btn = \"nul\"";
		"input_player1_down_mbtn = \"nul\"";
		"input_player1_gun_aux_a = \"nul\"";
		"input_player1_gun_aux_a_axis = \"nul\"";
		"input_player1_gun_aux_a_btn = \"nul\"";
		"input_player1_gun_aux_a_mbtn = \"nul\"";
		"input_player1_gun_aux_b = \"nul\"";
		"input_player1_gun_aux_b_axis = \"nul\"";
		"input_player1_gun_aux_b_btn = \"nul\"";
		"input_player1_gun_aux_b_mbtn = \"nul\"";
		"input_player1_gun_aux_c = \"nul\"";
		"input_player1_gun_aux_c_axis = \"nul\"";
		"input_player1_gun_aux_c_btn = \"nul\"";
		"input_player1_gun_aux_c_mbtn = \"nul\"";
		"input_player1_gun_dpad_down = \"nul\"";
		"input_player1_gun_dpad_down_axis = \"nul\"";
		"input_player1_gun_dpad_down_btn = \"nul\"";
		"input_player1_gun_dpad_down_mbtn = \"nul\"";
		"input_player1_gun_dpad_left = \"nul\"";
		"input_player1_gun_dpad_left_axis = \"nul\"";
		"input_player1_gun_dpad_left_btn = \"nul\"";
		"input_player1_gun_dpad_left_mbtn = \"nul\"";
		"input_player1_gun_dpad_right = \"nul\"";
		"input_player1_gun_dpad_right_axis = \"nul\"";
		"input_player1_gun_dpad_right_btn = \"nul\"";
		"input_player1_gun_dpad_right_mbtn = \"nul\"";
		"input_player1_gun_dpad_up = \"nul\"";
		"input_player1_gun_dpad_up_axis = \"nul\"";
		"input_player1_gun_dpad_up_btn = \"nul\"";
		"input_player1_gun_dpad_up_mbtn = \"nul\"";
		"input_player1_gun_offscreen_shot = \"nul\"";
		"input_player1_gun_offscreen_shot_axis = \"nul\"";
		"input_player1_gun_offscreen_shot_btn = \"nul\"";
		"input_player1_gun_offscreen_shot_mbtn = \"2\"";
		"input_player1_gun_select = \"nul\"";
		"input_player1_gun_select_axis = \"nul\"";
		"input_player1_gun_select_btn = \"nul\"";
		"input_player1_gun_select_mbtn = \"nul\"";
		"input_player1_gun_start = \"nul\"";
		"input_player1_gun_start_axis = \"nul\"";
		"input_player1_gun_start_btn = \"nul\"";
		"input_player1_gun_start_mbtn = \"nul\"";
		"input_player1_gun_trigger = \"nul\"";
		"input_player1_gun_trigger_axis = \"nul\"";
		"input_player1_gun_trigger_btn = \"nul\"";
		"input_player1_gun_trigger_mbtn = \"1\"";
		"input_player1_joypad_index = \"0\"";
		"input_player1_l = \"q\"";
		"input_player1_l2 = \"nul\"";
		"input_player1_l2_axis = \"nul\"";
		"input_player1_l2_btn = \"nul\"";
		"input_player1_l2_mbtn = \"nul\"";
		"input_player1_l3 = \"nul\"";
		"input_player1_l3_axis = \"nul\"";
		"input_player1_l3_btn = \"nul\"";
		"input_player1_l3_mbtn = \"nul\"";
		"input_player1_l_axis = \"nul\"";
		"input_player1_l_btn = \"nul\"";
		"input_player1_l_mbtn = \"nul\"";
		"input_player1_l_x_minus = \"nul\"";
		"input_player1_l_x_minus_axis = \"nul\"";
		"input_player1_l_x_minus_btn = \"nul\"";
		"input_player1_l_x_minus_mbtn = \"nul\"";
		"input_player1_l_x_plus = \"nul\"";
		"input_player1_l_x_plus_axis = \"nul\"";
		"input_player1_l_x_plus_btn = \"nul\"";
		"input_player1_l_x_plus_mbtn = \"nul\"";
		"input_player1_l_y_minus = \"nul\"";
		"input_player1_l_y_minus_axis = \"nul\"";
		"input_player1_l_y_minus_btn = \"nul\"";
		"input_player1_l_y_minus_mbtn = \"nul\"";
		"input_player1_l_y_plus = \"nul\"";
		"input_player1_l_y_plus_axis = \"nul\"";
		"input_player1_l_y_plus_btn = \"nul\"";
		"input_player1_l_y_plus_mbtn = \"nul\"";
		"input_player1_left = \"left\"";
		"input_player1_left_axis = \"nul\"";
		"input_player1_left_btn = \"nul\"";
		"input_player1_left_mbtn = \"nul\"";
		"input_player1_mouse_index = \"0\"";
		"input_player1_r = \"w\"";
		"input_player1_r2 = \"nul\"";
		"input_player1_r2_axis = \"nul\"";
		"input_player1_r2_btn = \"nul\"";
		"input_player1_r2_mbtn = \"nul\"";
		"input_player1_r3 = \"nul\"";
		"input_player1_r3_axis = \"nul\"";
		"input_player1_r3_btn = \"nul\"";
		"input_player1_r3_mbtn = \"nul\"";
		"input_player1_r_axis = \"nul\"";
		"input_player1_r_btn = \"nul\"";
		"input_player1_r_mbtn = \"nul\"";
		"input_player1_r_x_minus = \"nul\"";
		"input_player1_r_x_minus_axis = \"nul\"";
		"input_player1_r_x_minus_btn = \"nul\"";
		"input_player1_r_x_minus_mbtn = \"nul\"";
		"input_player1_r_x_plus = \"nul\"";
		"input_player1_r_x_plus_axis = \"nul\"";
		"input_player1_r_x_plus_btn = \"nul\"";
		"input_player1_r_x_plus_mbtn = \"nul\"";
		"input_player1_r_y_minus = \"nul\"";
		"input_player1_r_y_minus_axis = \"nul\"";
		"input_player1_r_y_minus_btn = \"nul\"";
		"input_player1_r_y_minus_mbtn = \"nul\"";
		"input_player1_r_y_plus = \"nul\"";
		"input_player1_r_y_plus_axis = \"nul\"";
		"input_player1_r_y_plus_btn = \"nul\"";
		"input_player1_r_y_plus_mbtn = \"nul\"";
		"input_player1_reserved_device = \"\"";
		"input_player1_right = \"right\"";
		"input_player1_right_axis = \"nul\"";
		"input_player1_right_btn = \"nul\"";
		"input_player1_right_mbtn = \"nul\"";
		"input_player1_select = \"rshift\"";
		"input_player1_select_axis = \"nul\"";
		"input_player1_select_btn = \"nul\"";
		"input_player1_select_mbtn = \"nul\"";
		"input_player1_start = \"enter\"";
		"input_player1_start_axis = \"nul\"";
		"input_player1_start_btn = \"nul\"";
		"input_player1_start_mbtn = \"nul\"";
		"input_player1_turbo = \"nul\"";
		"input_player1_turbo_axis = \"nul\"";
		"input_player1_turbo_btn = \"nul\"";
		"input_player1_turbo_mbtn = \"nul\"";
		"input_player1_up = \"up\"";
		"input_player1_up_axis = \"nul\"";
		"input_player1_up_btn = \"nul\"";
		"input_player1_up_mbtn = \"nul\"";
		"input_player1_x = \"s\"";
		"input_player1_x_axis = \"nul\"";
		"input_player1_x_btn = \"nul\"";
		"input_player1_x_mbtn = \"nul\"";
		"input_player1_y = \"a\"";
		"input_player1_y_axis = \"nul\"";
		"input_player1_y_btn = \"nul\"";
		"input_player1_y_mbtn = \"nul\"";
		"input_player2_a = \"nul\"";
		"input_player2_a_axis = \"nul\"";
		"input_player2_a_btn = \"nul\"";
		"input_player2_a_mbtn = \"nul\"";
		"input_player2_analog_dpad_mode = \"0\"";
		"input_player2_b = \"nul\"";
		"input_player2_b_axis = \"nul\"";
		"input_player2_b_btn = \"nul\"";
		"input_player2_b_mbtn = \"nul\"";
		"input_player2_device_reservation_type = \"0\"";
		"input_player2_down = \"nul\"";
		"input_player2_down_axis = \"nul\"";
		"input_player2_down_btn = \"nul\"";
		"input_player2_down_mbtn = \"nul\"";
		"input_player2_gun_aux_a = \"nul\"";
		"input_player2_gun_aux_a_axis = \"nul\"";
		"input_player2_gun_aux_a_btn = \"nul\"";
		"input_player2_gun_aux_a_mbtn = \"nul\"";
		"input_player2_gun_aux_b = \"nul\"";
		"input_player2_gun_aux_b_axis = \"nul\"";
		"input_player2_gun_aux_b_btn = \"nul\"";
		"input_player2_gun_aux_b_mbtn = \"nul\"";
		"input_player2_gun_aux_c = \"nul\"";
		"input_player2_gun_aux_c_axis = \"nul\"";
		"input_player2_gun_aux_c_btn = \"nul\"";
		"input_player2_gun_aux_c_mbtn = \"nul\"";
		"input_player2_gun_dpad_down = \"nul\"";
		"input_player2_gun_dpad_down_axis = \"nul\"";
		"input_player2_gun_dpad_down_btn = \"nul\"";
		"input_player2_gun_dpad_down_mbtn = \"nul\"";
		"input_player2_gun_dpad_left = \"nul\"";
		"input_player2_gun_dpad_left_axis = \"nul\"";
		"input_player2_gun_dpad_left_btn = \"nul\"";
		"input_player2_gun_dpad_left_mbtn = \"nul\"";
		"input_player2_gun_dpad_right = \"nul\"";
		"input_player2_gun_dpad_right_axis = \"nul\"";
		"input_player2_gun_dpad_right_btn = \"nul\"";
		"input_player2_gun_dpad_right_mbtn = \"nul\"";
		"input_player2_gun_dpad_up = \"nul\"";
		"input_player2_gun_dpad_up_axis = \"nul\"";
		"input_player2_gun_dpad_up_btn = \"nul\"";
		"input_player2_gun_dpad_up_mbtn = \"nul\"";
		"input_player2_gun_offscreen_shot = \"nul\"";
		"input_player2_gun_offscreen_shot_axis = \"nul\"";
		"input_player2_gun_offscreen_shot_btn = \"nul\"";
		"input_player2_gun_offscreen_shot_mbtn = \"2\"";
		"input_player2_gun_select = \"nul\"";
		"input_player2_gun_select_axis = \"nul\"";
		"input_player2_gun_select_btn = \"nul\"";
		"input_player2_gun_select_mbtn = \"nul\"";
		"input_player2_gun_start = \"nul\"";
		"input_player2_gun_start_axis = \"nul\"";
		"input_player2_gun_start_btn = \"nul\"";
		"input_player2_gun_start_mbtn = \"nul\"";
		"input_player2_gun_trigger = \"nul\"";
		"input_player2_gun_trigger_axis = \"nul\"";
		"input_player2_gun_trigger_btn = \"nul\"";
		"input_player2_gun_trigger_mbtn = \"1\"";
		"input_player2_joypad_index = \"1\"";
		"input_player2_l = \"nul\"";
		"input_player2_l2 = \"nul\"";
		"input_player2_l2_axis = \"nul\"";
		"input_player2_l2_btn = \"nul\"";
		"input_player2_l2_mbtn = \"nul\"";
		"input_player2_l3 = \"nul\"";
		"input_player2_l3_axis = \"nul\"";
		"input_player2_l3_btn = \"nul\"";
		"input_player2_l3_mbtn = \"nul\"";
		"input_player2_l_axis = \"nul\"";
		"input_player2_l_btn = \"nul\"";
		"input_player2_l_mbtn = \"nul\"";
		"input_player2_l_x_minus = \"nul\"";
		"input_player2_l_x_minus_axis = \"nul\"";
		"input_player2_l_x_minus_btn = \"nul\"";
		"input_player2_l_x_minus_mbtn = \"nul\"";
		"input_player2_l_x_plus = \"nul\"";
		"input_player2_l_x_plus_axis = \"nul\"";
		"input_player2_l_x_plus_btn = \"nul\"";
		"input_player2_l_x_plus_mbtn = \"nul\"";
		"input_player2_l_y_minus = \"nul\"";
		"input_player2_l_y_minus_axis = \"nul\"";
		"input_player2_l_y_minus_btn = \"nul\"";
		"input_player2_l_y_minus_mbtn = \"nul\"";
		"input_player2_l_y_plus = \"nul\"";
		"input_player2_l_y_plus_axis = \"nul\"";
		"input_player2_l_y_plus_btn = \"nul\"";
		"input_player2_l_y_plus_mbtn = \"nul\"";
		"input_player2_left = \"nul\"";
		"input_player2_left_axis = \"nul\"";
		"input_player2_left_btn = \"nul\"";
		"input_player2_left_mbtn = \"nul\"";
		"input_player2_mouse_index = \"1\"";
		"input_player2_r = \"nul\"";
		"input_player2_r2 = \"nul\"";
		"input_player2_r2_axis = \"nul\"";
		"input_player2_r2_btn = \"nul\"";
		"input_player2_r2_mbtn = \"nul\"";
		"input_player2_r3 = \"nul\"";
		"input_player2_r3_axis = \"nul\"";
		"input_player2_r3_btn = \"nul\"";
		"input_player2_r3_mbtn = \"nul\"";
		"input_player2_r_axis = \"nul\"";
		"input_player2_r_btn = \"nul\"";
		"input_player2_r_mbtn = \"nul\"";
		"input_player2_r_x_minus = \"nul\"";
		"input_player2_r_x_minus_axis = \"nul\"";
		"input_player2_r_x_minus_btn = \"nul\"";
		"input_player2_r_x_minus_mbtn = \"nul\"";
		"input_player2_r_x_plus = \"nul\"";
		"input_player2_r_x_plus_axis = \"nul\"";
		"input_player2_r_x_plus_btn = \"nul\"";
		"input_player2_r_x_plus_mbtn = \"nul\"";
		"input_player2_r_y_minus = \"nul\"";
		"input_player2_r_y_minus_axis = \"nul\"";
		"input_player2_r_y_minus_btn = \"nul\"";
		"input_player2_r_y_minus_mbtn = \"nul\"";
		"input_player2_r_y_plus = \"nul\"";
		"input_player2_r_y_plus_axis = \"nul\"";
		"input_player2_r_y_plus_btn = \"nul\"";
		"input_player2_r_y_plus_mbtn = \"nul\"";
		"input_player2_reserved_device = \"\"";
		"input_player2_right = \"nul\"";
		"input_player2_right_axis = \"nul\"";
		"input_player2_right_btn = \"nul\"";
		"input_player2_right_mbtn = \"nul\"";
		"input_player2_select = \"nul\"";
		"input_player2_select_axis = \"nul\"";
		"input_player2_select_btn = \"nul\"";
		"input_player2_select_mbtn = \"nul\"";
		"input_player2_start = \"nul\"";
		"input_player2_start_axis = \"nul\"";
		"input_player2_start_btn = \"nul\"";
		"input_player2_start_mbtn = \"nul\"";
		"input_player2_turbo = \"nul\"";
		"input_player2_turbo_axis = \"nul\"";
		"input_player2_turbo_btn = \"nul\"";
		"input_player2_turbo_mbtn = \"nul\"";
		"input_player2_up = \"nul\"";
		"input_player2_up_axis = \"nul\"";
		"input_player2_up_btn = \"nul\"";
		"input_player2_up_mbtn = \"nul\"";
		"input_player2_x = \"nul\"";
		"input_player2_x_axis = \"nul\"";
		"input_player2_x_btn = \"nul\"";
		"input_player2_x_mbtn = \"nul\"";
		"input_player2_y = \"nul\"";
		"input_player2_y_axis = \"nul\"";
		"input_player2_y_btn = \"nul\"";
		"input_player2_y_mbtn = \"nul\"";
		"input_player3_a = \"nul\"";
		"input_player3_a_axis = \"nul\"";
		"input_player3_a_btn = \"nul\"";
		"input_player3_a_mbtn = \"nul\"";
		"input_player3_analog_dpad_mode = \"0\"";
		"input_player3_b = \"nul\"";
		"input_player3_b_axis = \"nul\"";
		"input_player3_b_btn = \"nul\"";
		"input_player3_b_mbtn = \"nul\"";
		"input_player3_device_reservation_type = \"0\"";
		"input_player3_down = \"nul\"";
		"input_player3_down_axis = \"nul\"";
		"input_player3_down_btn = \"nul\"";
		"input_player3_down_mbtn = \"nul\"";
		"input_player3_gun_aux_a = \"nul\"";
		"input_player3_gun_aux_a_axis = \"nul\"";
		"input_player3_gun_aux_a_btn = \"nul\"";
		"input_player3_gun_aux_a_mbtn = \"nul\"";
		"input_player3_gun_aux_b = \"nul\"";
		"input_player3_gun_aux_b_axis = \"nul\"";
		"input_player3_gun_aux_b_btn = \"nul\"";
		"input_player3_gun_aux_b_mbtn = \"nul\"";
		"input_player3_gun_aux_c = \"nul\"";
		"input_player3_gun_aux_c_axis = \"nul\"";
		"input_player3_gun_aux_c_btn = \"nul\"";
		"input_player3_gun_aux_c_mbtn = \"nul\"";
		"input_player3_gun_dpad_down = \"nul\"";
		"input_player3_gun_dpad_down_axis = \"nul\"";
		"input_player3_gun_dpad_down_btn = \"nul\"";
		"input_player3_gun_dpad_down_mbtn = \"nul\"";
		"input_player3_gun_dpad_left = \"nul\"";
		"input_player3_gun_dpad_left_axis = \"nul\"";
		"input_player3_gun_dpad_left_btn = \"nul\"";
		"input_player3_gun_dpad_left_mbtn = \"nul\"";
		"input_player3_gun_dpad_right = \"nul\"";
		"input_player3_gun_dpad_right_axis = \"nul\"";
		"input_player3_gun_dpad_right_btn = \"nul\"";
		"input_player3_gun_dpad_right_mbtn = \"nul\"";
		"input_player3_gun_dpad_up = \"nul\"";
		"input_player3_gun_dpad_up_axis = \"nul\"";
		"input_player3_gun_dpad_up_btn = \"nul\"";
		"input_player3_gun_dpad_up_mbtn = \"nul\"";
		"input_player3_gun_offscreen_shot = \"nul\"";
		"input_player3_gun_offscreen_shot_axis = \"nul\"";
		"input_player3_gun_offscreen_shot_btn = \"nul\"";
		"input_player3_gun_offscreen_shot_mbtn = \"2\"";
		"input_player3_gun_select = \"nul\"";
		"input_player3_gun_select_axis = \"nul\"";
		"input_player3_gun_select_btn = \"nul\"";
		"input_player3_gun_select_mbtn = \"nul\"";
		"input_player3_gun_start = \"nul\"";
		"input_player3_gun_start_axis = \"nul\"";
		"input_player3_gun_start_btn = \"nul\"";
		"input_player3_gun_start_mbtn = \"nul\"";
		"input_player3_gun_trigger = \"nul\"";
		"input_player3_gun_trigger_axis = \"nul\"";
		"input_player3_gun_trigger_btn = \"nul\"";
		"input_player3_gun_trigger_mbtn = \"1\"";
		"input_player3_joypad_index = \"2\"";
		"input_player3_l = \"nul\"";
		"input_player3_l2 = \"nul\"";
		"input_player3_l2_axis = \"nul\"";
		"input_player3_l2_btn = \"nul\"";
		"input_player3_l2_mbtn = \"nul\"";
		"input_player3_l3 = \"nul\"";
		"input_player3_l3_axis = \"nul\"";
		"input_player3_l3_btn = \"nul\"";
		"input_player3_l3_mbtn = \"nul\"";
		"input_player3_l_axis = \"nul\"";
		"input_player3_l_btn = \"nul\"";
		"input_player3_l_mbtn = \"nul\"";
		"input_player3_l_x_minus = \"nul\"";
		"input_player3_l_x_minus_axis = \"nul\"";
		"input_player3_l_x_minus_btn = \"nul\"";
		"input_player3_l_x_minus_mbtn = \"nul\"";
		"input_player3_l_x_plus = \"nul\"";
		"input_player3_l_x_plus_axis = \"nul\"";
		"input_player3_l_x_plus_btn = \"nul\"";
		"input_player3_l_x_plus_mbtn = \"nul\"";
		"input_player3_l_y_minus = \"nul\"";
		"input_player3_l_y_minus_axis = \"nul\"";
		"input_player3_l_y_minus_btn = \"nul\"";
		"input_player3_l_y_minus_mbtn = \"nul\"";
		"input_player3_l_y_plus = \"nul\"";
		"input_player3_l_y_plus_axis = \"nul\"";
		"input_player3_l_y_plus_btn = \"nul\"";
		"input_player3_l_y_plus_mbtn = \"nul\"";
		"input_player3_left = \"nul\"";
		"input_player3_left_axis = \"nul\"";
		"input_player3_left_btn = \"nul\"";
		"input_player3_left_mbtn = \"nul\"";
		"input_player3_mouse_index = \"2\"";
		"input_player3_r = \"nul\"";
		"input_player3_r2 = \"nul\"";
		"input_player3_r2_axis = \"nul\"";
		"input_player3_r2_btn = \"nul\"";
		"input_player3_r2_mbtn = \"nul\"";
		"input_player3_r3 = \"nul\"";
		"input_player3_r3_axis = \"nul\"";
		"input_player3_r3_btn = \"nul\"";
		"input_player3_r3_mbtn = \"nul\"";
		"input_player3_r_axis = \"nul\"";
		"input_player3_r_btn = \"nul\"";
		"input_player3_r_mbtn = \"nul\"";
		"input_player3_r_x_minus = \"nul\"";
		"input_player3_r_x_minus_axis = \"nul\"";
		"input_player3_r_x_minus_btn = \"nul\"";
		"input_player3_r_x_minus_mbtn = \"nul\"";
		"input_player3_r_x_plus = \"nul\"";
		"input_player3_r_x_plus_axis = \"nul\"";
		"input_player3_r_x_plus_btn = \"nul\"";
		"input_player3_r_x_plus_mbtn = \"nul\"";
		"input_player3_r_y_minus = \"nul\"";
		"input_player3_r_y_minus_axis = \"nul\"";
		"input_player3_r_y_minus_btn = \"nul\"";
		"input_player3_r_y_minus_mbtn = \"nul\"";
		"input_player3_r_y_plus = \"nul\"";
		"input_player3_r_y_plus_axis = \"nul\"";
		"input_player3_r_y_plus_btn = \"nul\"";
		"input_player3_r_y_plus_mbtn = \"nul\"";
		"input_player3_reserved_device = \"\"";
		"input_player3_right = \"nul\"";
		"input_player3_right_axis = \"nul\"";
		"input_player3_right_btn = \"nul\"";
		"input_player3_right_mbtn = \"nul\"";
		"input_player3_select = \"nul\"";
		"input_player3_select_axis = \"nul\"";
		"input_player3_select_btn = \"nul\"";
		"input_player3_select_mbtn = \"nul\"";
		"input_player3_start = \"nul\"";
		"input_player3_start_axis = \"nul\"";
		"input_player3_start_btn = \"nul\"";
		"input_player3_start_mbtn = \"nul\"";
		"input_player3_turbo = \"nul\"";
		"input_player3_turbo_axis = \"nul\"";
		"input_player3_turbo_btn = \"nul\"";
		"input_player3_turbo_mbtn = \"nul\"";
		"input_player3_up = \"nul\"";
		"input_player3_up_axis = \"nul\"";
		"input_player3_up_btn = \"nul\"";
		"input_player3_up_mbtn = \"nul\"";
		"input_player3_x = \"nul\"";
		"input_player3_x_axis = \"nul\"";
		"input_player3_x_btn = \"nul\"";
		"input_player3_x_mbtn = \"nul\"";
		"input_player3_y = \"nul\"";
		"input_player3_y_axis = \"nul\"";
		"input_player3_y_btn = \"nul\"";
		"input_player3_y_mbtn = \"nul\"";
		"input_player4_a = \"nul\"";
		"input_player4_a_axis = \"nul\"";
		"input_player4_a_btn = \"nul\"";
		"input_player4_a_mbtn = \"nul\"";
		"input_player4_analog_dpad_mode = \"0\"";
		"input_player4_b = \"nul\"";
		"input_player4_b_axis = \"nul\"";
		"input_player4_b_btn = \"nul\"";
		"input_player4_b_mbtn = \"nul\"";
		"input_player4_device_reservation_type = \"0\"";
		"input_player4_down = \"nul\"";
		"input_player4_down_axis = \"nul\"";
		"input_player4_down_btn = \"nul\"";
		"input_player4_down_mbtn = \"nul\"";
		"input_player4_gun_aux_a = \"nul\"";
		"input_player4_gun_aux_a_axis = \"nul\"";
		"input_player4_gun_aux_a_btn = \"nul\"";
		"input_player4_gun_aux_a_mbtn = \"nul\"";
		"input_player4_gun_aux_b = \"nul\"";
		"input_player4_gun_aux_b_axis = \"nul\"";
		"input_player4_gun_aux_b_btn = \"nul\"";
		"input_player4_gun_aux_b_mbtn = \"nul\"";
		"input_player4_gun_aux_c = \"nul\"";
		"input_player4_gun_aux_c_axis = \"nul\"";
		"input_player4_gun_aux_c_btn = \"nul\"";
		"input_player4_gun_aux_c_mbtn = \"nul\"";
		"input_player4_gun_dpad_down = \"nul\"";
		"input_player4_gun_dpad_down_axis = \"nul\"";
		"input_player4_gun_dpad_down_btn = \"nul\"";
		"input_player4_gun_dpad_down_mbtn = \"nul\"";
		"input_player4_gun_dpad_left = \"nul\"";
		"input_player4_gun_dpad_left_axis = \"nul\"";
		"input_player4_gun_dpad_left_btn = \"nul\"";
		"input_player4_gun_dpad_left_mbtn = \"nul\"";
		"input_player4_gun_dpad_right = \"nul\"";
		"input_player4_gun_dpad_right_axis = \"nul\"";
		"input_player4_gun_dpad_right_btn = \"nul\"";
		"input_player4_gun_dpad_right_mbtn = \"nul\"";
		"input_player4_gun_dpad_up = \"nul\"";
		"input_player4_gun_dpad_up_axis = \"nul\"";
		"input_player4_gun_dpad_up_btn = \"nul\"";
		"input_player4_gun_dpad_up_mbtn = \"nul\"";
		"input_player4_gun_offscreen_shot = \"nul\"";
		"input_player4_gun_offscreen_shot_axis = \"nul\"";
		"input_player4_gun_offscreen_shot_btn = \"nul\"";
		"input_player4_gun_offscreen_shot_mbtn = \"2\"";
		"input_player4_gun_select = \"nul\"";
		"input_player4_gun_select_axis = \"nul\"";
		"input_player4_gun_select_btn = \"nul\"";
		"input_player4_gun_select_mbtn = \"nul\"";
		"input_player4_gun_start = \"nul\"";
		"input_player4_gun_start_axis = \"nul\"";
		"input_player4_gun_start_btn = \"nul\"";
		"input_player4_gun_start_mbtn = \"nul\"";
		"input_player4_gun_trigger = \"nul\"";
		"input_player4_gun_trigger_axis = \"nul\"";
		"input_player4_gun_trigger_btn = \"nul\"";
		"input_player4_gun_trigger_mbtn = \"1\"";
		"input_player4_joypad_index = \"3\"";
		"input_player4_l = \"nul\"";
		"input_player4_l2 = \"nul\"";
		"input_player4_l2_axis = \"nul\"";
		"input_player4_l2_btn = \"nul\"";
		"input_player4_l2_mbtn = \"nul\"";
		"input_player4_l3 = \"nul\"";
		"input_player4_l3_axis = \"nul\"";
		"input_player4_l3_btn = \"nul\"";
		"input_player4_l3_mbtn = \"nul\"";
		"input_player4_l_axis = \"nul\"";
		"input_player4_l_btn = \"nul\"";
		"input_player4_l_mbtn = \"nul\"";
		"input_player4_l_x_minus = \"nul\"";
		"input_player4_l_x_minus_axis = \"nul\"";
		"input_player4_l_x_minus_btn = \"nul\"";
		"input_player4_l_x_minus_mbtn = \"nul\"";
		"input_player4_l_x_plus = \"nul\"";
		"input_player4_l_x_plus_axis = \"nul\"";
		"input_player4_l_x_plus_btn = \"nul\"";
		"input_player4_l_x_plus_mbtn = \"nul\"";
		"input_player4_l_y_minus = \"nul\"";
		"input_player4_l_y_minus_axis = \"nul\"";
		"input_player4_l_y_minus_btn = \"nul\"";
		"input_player4_l_y_minus_mbtn = \"nul\"";
		"input_player4_l_y_plus = \"nul\"";
		"input_player4_l_y_plus_axis = \"nul\"";
		"input_player4_l_y_plus_btn = \"nul\"";
		"input_player4_l_y_plus_mbtn = \"nul\"";
		"input_player4_left = \"nul\"";
		"input_player4_left_axis = \"nul\"";
		"input_player4_left_btn = \"nul\"";
		"input_player4_left_mbtn = \"nul\"";
		"input_player4_mouse_index = \"3\"";
		"input_player4_r = \"nul\"";
		"input_player4_r2 = \"nul\"";
		"input_player4_r2_axis = \"nul\"";
		"input_player4_r2_btn = \"nul\"";
		"input_player4_r2_mbtn = \"nul\"";
		"input_player4_r3 = \"nul\"";
		"input_player4_r3_axis = \"nul\"";
		"input_player4_r3_btn = \"nul\"";
		"input_player4_r3_mbtn = \"nul\"";
		"input_player4_r_axis = \"nul\"";
		"input_player4_r_btn = \"nul\"";
		"input_player4_r_mbtn = \"nul\"";
		"input_player4_r_x_minus = \"nul\"";
		"input_player4_r_x_minus_axis = \"nul\"";
		"input_player4_r_x_minus_btn = \"nul\"";
		"input_player4_r_x_minus_mbtn = \"nul\"";
		"input_player4_r_x_plus = \"nul\"";
		"input_player4_r_x_plus_axis = \"nul\"";
		"input_player4_r_x_plus_btn = \"nul\"";
		"input_player4_r_x_plus_mbtn = \"nul\"";
		"input_player4_r_y_minus = \"nul\"";
		"input_player4_r_y_minus_axis = \"nul\"";
		"input_player4_r_y_minus_btn = \"nul\"";
		"input_player4_r_y_minus_mbtn = \"nul\"";
		"input_player4_r_y_plus = \"nul\"";
		"input_player4_r_y_plus_axis = \"nul\"";
		"input_player4_r_y_plus_btn = \"nul\"";
		"input_player4_r_y_plus_mbtn = \"nul\"";
		"input_player4_reserved_device = \"\"";
		"input_player4_right = \"nul\"";
		"input_player4_right_axis = \"nul\"";
		"input_player4_right_btn = \"nul\"";
		"input_player4_right_mbtn = \"nul\"";
		"input_player4_select = \"nul\"";
		"input_player4_select_axis = \"nul\"";
		"input_player4_select_btn = \"nul\"";
		"input_player4_select_mbtn = \"nul\"";
		"input_player4_start = \"nul\"";
		"input_player4_start_axis = \"nul\"";
		"input_player4_start_btn = \"nul\"";
		"input_player4_start_mbtn = \"nul\"";
		"input_player4_turbo = \"nul\"";
		"input_player4_turbo_axis = \"nul\"";
		"input_player4_turbo_btn = \"nul\"";
		"input_player4_turbo_mbtn = \"nul\"";
		"input_player4_up = \"nul\"";
		"input_player4_up_axis = \"nul\"";
		"input_player4_up_btn = \"nul\"";
		"input_player4_up_mbtn = \"nul\"";
		"input_player4_x = \"nul\"";
		"input_player4_x_axis = \"nul\"";
		"input_player4_x_btn = \"nul\"";
		"input_player4_x_mbtn = \"nul\"";
		"input_player4_y = \"nul\"";
		"input_player4_y_axis = \"nul\"";
		"input_player4_y_btn = \"nul\"";
		"input_player4_y_mbtn = \"nul\"";
		"input_poll_type_behavior = \"2\"";
		"input_preempt_toggle = \"nul\"";
		"input_preempt_toggle_axis = \"nul\"";
		"input_preempt_toggle_btn = \"nul\"";
		"input_preempt_toggle_mbtn = \"nul\"";
		"input_quit_gamepad_combo = \"0\"";
		"input_record_replay = \"nul\"";
		"input_record_replay_axis = \"nul\"";
		"input_record_replay_btn = \"nul\"";
		"input_record_replay_mbtn = \"nul\"";
		"input_recording_toggle = \"nul\"";
		"input_recording_toggle_axis = \"nul\"";
		"input_recording_toggle_btn = \"nul\"";
		"input_recording_toggle_mbtn = \"nul\"";
		"input_remap_binds_enable = \"true\"";
		"input_remap_sort_by_controller_enable = \"false\"";
		"input_remapping_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/".. remap[sistema] .."\"";
		"input_replay_slot_decrease = \"nul\"";
		"input_replay_slot_decrease_axis = \"nul\"";
		"input_replay_slot_decrease_btn = \"nul\"";
		"input_replay_slot_decrease_mbtn = \"nul\"";
		"input_replay_slot_increase = \"nul\"";
		"input_replay_slot_increase_axis = \"nul\"";
		"input_replay_slot_increase_btn = \"nul\"";
		"input_replay_slot_increase_mbtn = \"nul\"";
		"input_reset = \"h\"";
		"input_reset_axis = \"nul\"";
		"input_reset_btn = \"nul\"";
		"input_reset_mbtn = \"nul\"";
		"input_rewind = \"r\"";
		"input_rewind_axis = \"nul\"";
		"input_rewind_btn = \"nul\"";
		"input_rewind_mbtn = \"nul\"";
		"input_rumble_gain = \"100\"";
		"input_runahead_toggle = \"nul\"";
		"input_runahead_toggle_axis = \"nul\"";
		"input_runahead_toggle_btn = \"nul\"";
		"input_runahead_toggle_mbtn = \"nul\"";
		"input_save_state = \"f2\"";
		"input_save_state_axis = \"nul\"";
		"input_save_state_btn = \"nul\"";
		"input_save_state_mbtn = \"nul\"";
		"input_screenshot = \"f8\"";
		"input_screenshot_axis = \"nul\"";
		"input_screenshot_btn = \"nul\"";
		"input_screenshot_mbtn = \"nul\"";
		"input_sensors_enable = \"".. input_sensors_enable[sistema] .."\"";
		"input_shader_next = \"m\"";
		"input_shader_next_axis = \"nul\"";
		"input_shader_next_btn = \"nul\"";
		"input_shader_next_mbtn = \"nul\"";
		"input_shader_prev = \"n\"";
		"input_shader_prev_axis = \"nul\"";
		"input_shader_prev_btn = \"nul\"";
		"input_shader_prev_mbtn = \"nul\"";
		"input_shader_toggle = \"comma\"";
		"input_shader_toggle_axis = \"nul\"";
		"input_shader_toggle_btn = \"nul\"";
		"input_shader_toggle_mbtn = \"nul\"";
		"input_state_slot_decrease = \"f6\"";
		"input_state_slot_decrease_axis = \"nul\"";
		"input_state_slot_decrease_btn = \"nul\"";
		"input_state_slot_decrease_mbtn = \"nul\"";
		"input_state_slot_increase = \"f7\"";
		"input_state_slot_increase_axis = \"nul\"";
		"input_state_slot_increase_btn = \"nul\"";
		"input_state_slot_increase_mbtn = \"nul\"";
		"input_streaming_toggle = \"nul\"";
		"input_streaming_toggle_axis = \"nul\"";
		"input_streaming_toggle_btn = \"nul\"";
		"input_streaming_toggle_mbtn = \"nul\"";
		"input_toggle_fast_forward = \"space\"";
		"input_toggle_fast_forward_axis = \"nul\"";
		"input_toggle_fast_forward_btn = \"nul\"";
		"input_toggle_fast_forward_mbtn = \"nul\"";
		"input_toggle_fullscreen = \"f\"";
		"input_toggle_fullscreen_axis = \"nul\"";
		"input_toggle_fullscreen_btn = \"nul\"";
		"input_toggle_fullscreen_mbtn = \"nul\"";
		"input_toggle_slowmotion = \"nul\"";
		"input_toggle_slowmotion_axis = \"nul\"";
		"input_toggle_slowmotion_btn = \"nul\"";
		"input_toggle_slowmotion_mbtn = \"nul\"";
		"input_toggle_statistics = \"nul\"";
		"input_toggle_statistics_axis = \"nul\"";
		"input_toggle_statistics_btn = \"nul\"";
		"input_toggle_statistics_mbtn = \"nul\"";
		"input_toggle_vrr_runloop = \"nul\"";
		"input_toggle_vrr_runloop_axis = \"nul\"";
		"input_toggle_vrr_runloop_btn = \"nul\"";
		"input_toggle_vrr_runloop_mbtn = \"nul\"";
		"input_touch_scale = \"1\"";
		"input_turbo_default_button = \"0\"";
		"input_turbo_mode = \"0\"";
		"input_turbo_period = \"6\"";
		"input_volume_down = \"subtract\"";
		"input_volume_down_axis = \"nul\"";
		"input_volume_down_btn = \"nul\"";
		"input_volume_down_mbtn = \"nul\"";
		"input_volume_up = \"add\"";
		"input_volume_up_axis = \"nul\"";
		"input_volume_up_btn = \"nul\"";
		"input_volume_up_mbtn = \"nul\"";
		"joypad_autoconfig_dir = \"\"";
		"keyboard_gamepad_enable = \"true\"";
		"keyboard_gamepad_mapping_type = \"1\"";
		"kiosk_mode_enable = \"false\"";
		"kiosk_mode_password = \"\"";
		"led_driver = \"null\"";
		"libretro_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/cores\"";
		"libretro_info_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/info\"";
		"libretro_log_level = \"1\"";
		"load_dummy_on_core_shutdown = \"false\"";
		"location_allow = \"false\"";
		"location_driver = \"null\"";
		"log_dir = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/logs\"";
		"log_to_file = \"false\"";
		"log_to_file_timestamp = \"false\"";
		"log_verbosity = \"false\"";
		"memory_show = \"false\"";
		"memory_update_interval = \"256\"";
		"menu_battery_level_enable = \"false\"";
		"menu_core_enable = \"true\"";
		"menu_disable_info_button = \"true\"";
		"menu_disable_left_analog = \"false\"";
		"menu_disable_right_analog = \"true\"";
		"menu_disable_search_button = \"true\"";
		"menu_driver = \"rgui\"";
		"menu_dynamic_wallpaper_enable = \"false\"";
		"menu_enable_widgets = \"false\"";
		"menu_footer_opacity = \"1.000000\"";
		"menu_framebuffer_opacity = \"0.900000\"";
		"menu_header_opacity = \"1.000000\"";
		"menu_horizontal_animation = \"true\"";
		"menu_icon_thumbnails = \"0\"";
		"menu_insert_disk_resume = \"true\"";
		"menu_left_thumbnails = \"0\"";
		"menu_linear_filter = \"true\"";
		"menu_mouse_enable = \"false\"";
		"menu_navigation_browser_filter_supported_extensions_enable = \"true\"";
		"menu_navigation_wraparound_enable = \"true\"";
		"menu_pause_libretro = \"true\"";
		"menu_pointer_enable = \"false\"";
		"menu_rgui_full_width_layout = \"true\"";
		"menu_rgui_shadows = \"false\"";
		"menu_rgui_transparency = \"true\"";
		"menu_savestate_resume = \"false\"";
		"menu_scale_factor = \"1.000000\"";
		"menu_screensaver_timeout = \"0\"";
		"menu_scroll_delay = \"256\"";
		"menu_scroll_fast = \"false\"";
		"menu_show_advanced_settings = \"true\"";
		"menu_show_configurations = \"false\"";
		"menu_show_core_updater = \"false\"";
		"menu_show_help = \"false\"";
		"menu_show_information = \"false\"";
		"menu_show_latency = \"false\"";
		"menu_show_load_content = \"false\"";
		"menu_show_load_content_animation = \"false\"";
		"menu_show_load_core = \"false\"";
		"menu_show_online_updater = \"false\"";
		"menu_show_overlays = \"false\"";
		"menu_show_quit_retroarch = \"false\"";
		"menu_show_reboot = \"true\"";
		"menu_show_restart_retroarch = \"true\"";
		"menu_show_rewind = \"false\"";
		"menu_show_shutdown = \"false\"";
		"menu_show_sublabels = \"true\"";
		"menu_swap_ok_cancel_buttons = \"true\"";
		"menu_swap_scroll_buttons = \"false\"";
		"menu_throttle_framerate = \"true\"";
		"menu_thumbnail_upscale_threshold = \"0\"";
		"menu_thumbnails = \"0\"";
		"menu_ticker_smooth = \"true\"";
		"menu_ticker_speed = \"2.000000\"";
		"menu_ticker_type = \"1\"";
		"menu_timedate_date_separator = \"0\"";
		"menu_timedate_enable = \"false\"";
		"menu_timedate_style = \"11\"";
		"menu_unified_controls = \"false\"";
		"menu_use_preferred_system_color_theme = \"false\"";
		"menu_wallpaper = \"\"";
		"menu_wallpaper_opacity = \"1.000000\"";
		"menu_widget_scale_auto = \"true\"";
		"menu_widget_scale_factor = \"1.000000\"";
		"midi_driver = \"null\"";
		"midi_input = \"OFF\"";
		"midi_output = \"OFF\"";
		"midi_volume = \"100\"";
		"notification_show_autoconfig = \"false\"";
		"notification_show_cheats_applied = \"false\"";
		"notification_show_config_override_load = \"false\"";
		"notification_show_disk_control = \"false\"";
		"notification_show_fast_forward = \"true\"";
		"notification_show_patch_applied = \"true\"";
		"notification_show_refresh_rate = \"false\"";
		"notification_show_remap_load = \"false\"";
		"notification_show_save_state = \"true\"";
		"notification_show_screenshot = \"false\"";
		"notification_show_screenshot_duration = \"0\"";
		"notification_show_screenshot_flash = \"0\"";
		"notification_show_set_initial_disk = \"false\"";
		"notification_show_when_menu_is_alive = \"".. notification_show_when_menu_is_alive[sistema] .."\"";
		"pause_nonactive = \"true\"";
		"pause_on_disconnect = \"false\"";
		"perfcnt_enable = \"false\"";
		"playlist_allow_non_png = \"false\"";
		"playlist_compression = \"false\"";
		"playlist_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/playlists\"";
		"playlist_entry_remove_enable = \"2\"";
		"playlist_entry_rename = \"false\"";
		"playlist_fuzzy_archive_match = \"false\"";
		"playlist_portable_paths = \"false\"";
		"playlist_show_entry_idx = \"false\"";
		"playlist_show_history_icons = \"1\"";
		"playlist_show_inline_core_name = \"2\"";
		"playlist_show_sublabels = \"false\"";
		"playlist_sort_alphabetical = \"true\"";
		"playlist_sublabel_last_played_style = \"1\"";
		"playlist_sublabel_runtime_type = \"0\"";
		"playlist_use_filename = \"false\"";
		"playlist_use_old_format = \"false\"";
		"preemptive_frames_enable = \"false\"";
		"preemptive_frames_hide_warnings = \"false\"";
		"quick_menu_show_add_to_favorites = \"false\"";
		"quick_menu_show_add_to_playlist = \"false\"";
		"quick_menu_show_cheats = \"true\"";
		"quick_menu_show_close_content = \"false\"";
		"quick_menu_show_controls = \"true\"";
		"quick_menu_show_core_options_flush = \"false\"";
		"quick_menu_show_information = \"false\"";
		"quick_menu_show_options = \"true\"";
		"quick_menu_show_replay = \"false\"";
		"quick_menu_show_reset_core_association = \"false\"";
		"quick_menu_show_restart_content = \"true\"";
		"quick_menu_show_resume_content = \"true\"";
		"quick_menu_show_save_content_dir_overrides = \"false\"";
		"quick_menu_show_save_core_overrides = \"false\"";
		"quick_menu_show_save_game_overrides = \"false\"";
		"quick_menu_show_save_load_state = \"true\"";
		"quick_menu_show_savestate_submenu = \"true\"";
		"quick_menu_show_set_core_association = \"false\"";
		"quick_menu_show_shaders = \"false\"";
		"quick_menu_show_start_recording = \"false\"";
		"quick_menu_show_start_streaming = \"false\"";
		"quick_menu_show_take_screenshot = \"false\"";
		"quick_menu_show_undo_save_load_state = \"false\"";
		"quit_on_close_content = \"0\"";
		"quit_press_twice = \"false\"";
		"record_driver = \"null\"";
		"recording_config_directory = \"\"";
		"recording_output_directory = \"\"";
		"remap_save_on_exit = \"false\"";
		"replay_auto_index = \"true\"";
		"replay_checkpoint_interval = \"0\"";
		"replay_max_keep = \"0\"";
		"replay_slot = \"0\"";
		"resampler_directory = \"\"";
		"rewind_buffer_size = \"20971520\"";
		"rewind_buffer_size_step = \"10\"";
		"rewind_enable = \"false\"";
		"rewind_granularity = \"1\"";
		"rgui_aspect_ratio = \"11\"";
		"rgui_aspect_ratio_lock = \"0\"";
		"rgui_background_filler_thickness_enable = \"false\"";
		"rgui_border_filler_enable = \"true\"";
		"rgui_border_filler_thickness_enable = \"false\"";
		"rgui_browser_directory = \"default\"";
		"rgui_config_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/config\"";
		"rgui_extended_ascii = \"false\"";
		"rgui_inline_thumbnails = \"false\"";
		"rgui_internal_upscale_level = \"0\"";
		"rgui_menu_color_theme = \"".. rgui_menu_color_theme[sistema] .."\"";
		"rgui_menu_theme_preset = \"\"";
		"rgui_particle_effect = \"0\"";
		"rgui_particle_effect_screensaver = \"true\"";
		"rgui_particle_effect_speed = \"1.000000\"";
		"rgui_show_start_screen = \"false\"";
		"rgui_swap_thumbnails = \"false\"";
		"rgui_switch_icons = \"true\"";
		"rgui_thumbnail_delay = \"256\"";
		"rgui_thumbnail_downscaler = \"0\"";
		"run_ahead_enabled = \"false\"";
		"run_ahead_frames = \"1\"";
		"run_ahead_hide_warnings = \"false\"";
		"run_ahead_secondary_instance = \"true\"";
		"runtime_log_directory = \"default\"";
		"save_file_compression = \"true\"";
		"savefile_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/savefiles\"";
		"savefiles_in_content_dir = \"false\"";
		"savestate_auto_index = \"false\"";
		"savestate_auto_load = \"false\"";
		"savestate_auto_save = \"false\"";
		"savestate_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/savestates\"";
		"savestate_file_compression = \"true\"";
		"savestate_max_keep = \"0\"";
		"savestate_thumbnail_enable = \"false\"";
		"savestates_in_content_dir = \"false\"";
		"scan_serial_and_crc = \"false\"";
		"scan_without_core_match = \"false\"";
		"screen_brightness = \"100\"";
		"screen_orientation = \"0\"";
		"screenshot_directory = \"default\"";
		"screenshots_in_content_dir = \"false\"";
		"settings_show_accessibility = \"false\"";
		"settings_show_achievements = \"false\"";
		"settings_show_ai_service = \"false\"";
		"settings_show_audio = \"false\"";
		"settings_show_configuration = \"false\"";
		"settings_show_core = \"false\"";
		"settings_show_directory = \"false\"";
		"settings_show_drivers = \"false\"";
		"settings_show_file_browser = \"false\"";
		"settings_show_frame_throttle = \"false\"";
		"settings_show_input = \"false\"";
		"settings_show_latency = \"false\"";
		"settings_show_logging = \"false\"";
		"settings_show_network = \"false\"";
		"settings_show_onscreen_display = \"false\"";
		"settings_show_playlists = \"false\"";
		"settings_show_power_management = \"false\"";
		"settings_show_recording = \"false\"";
		"settings_show_saving = \"false\"";
		"settings_show_user = \"false\"";
		"settings_show_user_interface = \"".. settings_show_user_interface .."\"";
		"settings_show_video = \"true\"";
		"show_hidden_files = \"false\"";
		"slowmotion_ratio = \"3.000000\"";
		"soft_filter_enable = \"false\"";
		"soft_filter_index = \"0\"";
		"sort_savefiles_by_content_enable = \"false\"";
		"sort_savefiles_enable = \"false\"";
		"sort_savestates_by_content_enable = \"false\"";
		"sort_savestates_enable = \"false\"";
		"sort_screenshots_by_content_enable = \"false\"";
		"state_slot = \"0\"";
		"statistics_show = \"false\"";
		"suspend_screensaver_enable = \"true\"";
		"sustained_performance_mode = \"false\"";
		"system_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/system\"";
		"systemfiles_in_content_dir = \"false\"";
		"thumbnails_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/thumbnails\"";
		"ui_companion_enable = \"false\"";
		"ui_companion_start_on_boot = \"true\"";
		"ui_companion_toggle = \"false\"";
		"ui_menubar_enable = \"true\"";
		"use_last_start_directory = \"false\"";
		"vibrate_on_keypress = \"false\"";
		"video_adaptive_vsync = \"false\"";
		"video_allow_rotate = \"true\"";
		"video_aspect_ratio = \"1.253300\"";
		"video_aspect_ratio_auto = \"false\"";
		"video_autoswitch_pal_threshold = \"54.500000\"";
		"video_autoswitch_refresh_rate = \"0\"";
		"video_bfi_dark_frames = \"1\"";
		"video_black_frame_insertion = \"0\"";
		"video_context_driver = \"\"";
		"video_crop_overscan = \"true\"";
		"video_ctx_scaling = \"false\"";
		"video_disable_composition = \"false\"";
		"video_driver = \"ps2\"";
		"video_filter = \"\"";
		"video_filter_dir = \"default\"";
		"video_font_enable = \"true\"";
		"video_font_path = \"\"";
		"video_font_size = \"16.000000\"";
		"video_force_aspect = \"true\"";
		"video_force_srgb_disable = \"false\"";
		"video_frame_delay = \"0\"";
		"video_frame_delay_auto = \"false\"";
		"video_frame_rest = \"false\"";
		"video_fullscreen = \"false\"";
		"video_fullscreen_x = \"0\"";
		"video_fullscreen_y = \"0\"";
		"video_gpu_record = \"false\"";
		"video_gpu_screenshot = \"true\"";
		"video_hard_sync = \"false\"";
		"video_hard_sync_frames = \"0\"";
		"video_hdr_display_contrast = \"5.000000\"";
		"video_hdr_enable = \"false\"";
		"video_hdr_expand_gamut = \"true\"";
		"video_hdr_max_nits = \"1000.000000\"";
		"video_hdr_paper_white_nits = \"200.000000\"";
		"video_max_frame_latency = \"1\"";
		"video_max_swapchain_images = \"3\"";
		"video_message_color = \"f6f6f6\"";
		"video_message_pos_x = \"0.050000\"";
		"video_message_pos_y = \"0.050000\"";
		"video_monitor_index = \"0\"";
		"video_msg_bgcolor_blue = \"0\"";
		"video_msg_bgcolor_enable = \"true\"";
		"video_msg_bgcolor_green = \"0\"";
		"video_msg_bgcolor_opacity = \"1.000000\"";
		"video_msg_bgcolor_red = \"0\"";
		"video_notch_write_over_enable = \"false\"";
		"video_post_filter_record = \"false\"";
		"video_record_config = \"\"";
		"video_record_quality = \"2\"";
		"video_record_scale_factor = \"1\"";
		"video_record_threads = \"2\"";
		"video_refresh_rate = \"".. video_refresh_rate .."\"";
		"video_rotation = \"0\"";
		"video_scale = \"".. video_scale .."\"";
		"video_scale_integer = \"".. video_scale_integer[sistema] .."\"";
		"video_scale_integer_axis = \"0\"";
		"video_scale_integer_overscale = \"".. video_scale_integer_overscale[sistema] .."\"";
		"video_scale_integer_scaling = \"0\"";
		"video_scan_subframes = \"false\"";
		"video_shader_delay = \"0\"";
		"video_shader_dir = \"default\"";
		"video_shader_enable = \"true\"";
		"video_shader_preset_save_reference_enable = \"true\"";
		"video_shader_remember_last_dir = \"false\"";
		"video_shader_subframes = \"1\"";
		"video_shader_watch_files = \"false\"";
		"video_shared_context = \"false\"";
		"video_smooth = \"false\"";
		"video_stream_config = \"\"";
		"video_stream_port = \"56400\"";
		"video_stream_quality = \"11\"";
		"video_stream_scale_factor = \"1\"";
		"video_stream_url = \"\"";
		"video_swap_interval = \"1\"";
		"video_threaded = \"false\"";
		"video_viewport_bias_x = \"0.500000\"";
		"video_viewport_bias_y = \"0.500000\"";
		"video_vsync = \"".. video_vsync .."\"";
		"video_waitable_swapchains = \"true\"";
		"video_window_auto_height_max = \"1080\"";
		"video_window_auto_width_max = \"1920\"";
		"video_window_custom_size_enable = \"false\"";
		"video_window_offset_x = \"0\"";
		"video_window_offset_y = \"0\"";
		"video_window_opacity = \"100\"";
		"video_window_save_positions = \"false\"";
		"video_window_show_decorations = \"true\"";
		"video_windowed_fullscreen = \"true\"";
		"video_windowed_position_height = \"720\"";
		"video_windowed_position_width = \"1280\"";
		"video_windowed_position_x = \"0\"";
		"video_windowed_position_y = \"0\"";
		"vrr_runloop_enable = \"".. vrr_runloop_enable .."\"";
		"wifi_driver = \"null\"";
		"wifi_enabled = \"true\"";
		"xmb_font = \"\"";};
		local new_cof = ""
		for linea_ntsc = 1, #new_cof_text do
			new_cof = new_cof .. new_cof_text[linea_ntsc] .. "\r\n"
		end
		if sistema == 1 then
			directorios_ori[1] = "Atari 2600/"
		end
		if doesFileExist(actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg") then
			System.removeFile(actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg")
		end
		local new_retroarch_cfg = System.openFile(actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg", FCREATE)
		System.writeFile(new_retroarch_cfg, new_cof, string.len(new_cof))
		System.closeFile(new_retroarch_cfg)
		System.copyFile(actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg", actual .."/System/Respaldo/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg")
	end

	-- Crear archivos PAL. --------------------------------------------------------------
	for sistema = 1, #directorios_ori do
		barra_de_progreso(6*(sistema+1), sistema, true, LOADING_LOAD)
		if sistema == 1 then
			directorios_ori[1] = "Atari 2600"
		end
		local new_cof_pal_tex = {"accessibility_enable = \"false\"";
		"accessibility_narrator_speech_speed = \"5\"";
		"ai_service_enable = \"false\"";
		"ai_service_mode = \"1\"";
		"ai_service_pause = \"false\"";
		"ai_service_poll_delay = \"0\"";
		"ai_service_source_lang = \"0\"";
		"ai_service_target_lang = \"0\"";
		"ai_service_text_padding = \"5\"";
		"ai_service_text_position = \"0\"";
		"all_users_control_menu = \"false\"";
		"always_reload_core_on_run_content = \"true\"";
		"app_icon = \"default\"";
		"apply_cheats_after_load = \"false\"";
		"apply_cheats_after_toggle = \"false\"";
		"aspect_ratio_index = \"".. aspect_ratio_index_PAL .."\"";
		"assets_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/assets\"";
		"audio_block_frames = \"0\"";
		"audio_device = \"\"";
		"audio_driver = \"ps2\"";
		"audio_dsp_plugin = \"\"";
		"audio_enable = \"true\"";
		"audio_enable_menu = \"false\"";
		"audio_enable_menu_bgm = \"false\"";
		"audio_enable_menu_cancel = \"false\"";
		"audio_enable_menu_notice = \"false\"";
		"audio_enable_menu_ok = \"false\"";
		"audio_enable_menu_scroll = \"false\"";
		"audio_fastforward_mute = \"false\"";
		"audio_fastforward_speedup = \"false\"";
		"audio_filter_dir = \"default\"";
		"audio_latency = \"".. audio_latency[sistema] .."\"";
		"audio_max_timing_skew = \"0.050000\"";
		"audio_mixer_mute_enable = \"true\"";
		"audio_mixer_volume = \"0.000000\"";
		"audio_mute_enable = \"false\"";
		"audio_out_rate = \"".. audio_out_rate[sistema] .."\"";
		"audio_rate_control = \"".. audio_rate_control[sistema] .."\"";
		"audio_rate_control_delta = \"0.005000\"";
		"audio_resampler = \"".. audio_resampler[sistema] .."\"";
		"audio_resampler_quality = \"1\"";
		"audio_sync = \"true\"";
		"audio_volume = \"0.000000\"";
		"auto_overrides_enable = \"false\"";
		"auto_remaps_enable = \"true\"";
		"auto_screenshot_filename = \"true\"";
		"auto_shaders_enable = \"true\"";
		"autosave_interval = \"0\"";
		"block_sram_overwrite = \"false\"";
		"bluetooth_driver = \"null\"";
		"builtin_imageviewer_enable = \"false\"";
		"builtin_mediaplayer_enable = \"false\"";
		"bundle_assets_dst_path = \"\"";
		"bundle_assets_dst_path_subdir = \"\"";
		"bundle_assets_extract_enable = \"false\"";
		"bundle_assets_extract_last_version = \"0\"";
		"bundle_assets_extract_version_current = \"0\"";
		"bundle_assets_src_path = \"\"";
		"cache_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/temp\"";
		"camera_allow = \"false\"";
		"camera_device = \"\"";
		"camera_driver = \"null\"";
		"cheat_database_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/cheats\"";
		"check_firmware_before_loading = \"false\"";
		"cloud_sync_destructive = \"false\"";
		"cloud_sync_driver = \"\"";
		"cloud_sync_enable = \"false\"";
		"cloud_sync_sync_configs = \"true\"";
		"cloud_sync_sync_saves = \"true\"";
		"cloud_sync_sync_system = \"false\"";
		"cloud_sync_sync_thumbs = \"false\"";
		"config_save_on_exit = \"true\"";
		"content_database_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/database/rdb\"";
		"content_favorites_directory = \"default\"";
		"content_favorites_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_favorites.lpl\"";
		"content_favorites_size = \"0\"";
		"content_history_directory = \"default\"";
		"content_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_history.lpl\"";
		"content_history_size = \"200\"";
		"content_image_history_directory = \"default\"";
		"content_image_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_image_history.lpl\"";
		"content_music_history_directory = \"default\"";
		"content_music_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_music_history.lpl\"";
		"content_runtime_log = \"false\"";
		"content_runtime_log_aggregate = \"false\"";
		"content_show_add = \"false\"";
		"content_show_add_entry = \"0\"";
		"content_show_contentless_cores = \"2\"";
		"content_show_explore = \"false\"";
		"content_show_favorites = \"false\"";
		"content_show_history = \"false\"";
		"content_show_music = \"false\"";
		"content_show_playlists = \"false\"";
		"content_show_settings = \"true\"";
		"content_show_settings_password = \"\"";
		"content_video_directory = \"default\"";
		"content_video_history_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/content_video_history.lpl\"";
		"core_assets_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/downloads\"";
		"core_info_cache_enable = \"true\"";
		"core_info_savestate_bypass = \"".. core_info_savestate_bypass[sistema] .."\"";
		"core_option_category_enable = \"true\"";
		"core_options_path = \"\"";
		"core_set_supports_no_game_enable = \"true\"";
		"core_updater_auto_backup = \"false\"";
		"core_updater_auto_backup_history_size = \"1\"";
		"core_updater_auto_extract_archive = \"true\"";
		"core_updater_buildbot_assets_url = \"http://buildbot.libretro.com/assets/\"";
		"core_updater_buildbot_cores_url = \"\"";
		"core_updater_show_experimental_cores = \"false\"";
		"crt_switch_center_adjust = \"0\"";
		"crt_switch_hires_menu = \"false\"";
		"crt_switch_porch_adjust = \"0\"";
		"crt_switch_resolution = \"0\"";
		"crt_switch_resolution_super = \"2560\"";
		"crt_switch_resolution_use_custom_refresh_rate = \"false\"";
		"crt_switch_timings = \"\"";
		"crt_video_refresh_rate = \"".. video_refresh_rate_PAL .."\"";
		"current_resolution_id = \"".. current_resolution_id_PAL .."\"";
		"custom_viewport_height = \"0\"";
		"custom_viewport_width = \"0\"";
		"custom_viewport_x = \"0\"";
		"custom_viewport_y = \"0\"";
		"desktop_menu_enable = \"true\"";
		"discord_allow = \"false\"";
		"driver_switch_enable = \"true\"";
		"dynamic_wallpapers_directory = \"default\"";
		"enable_device_vibration = \"false\"";
		"fastforward_frameskip = \"false\"";
		"fastforward_ratio = \"0.000000\"";
		"filter_by_current_core = \"false\"";
		"flicker_filter_enable = \"false\"";
		"flicker_filter_index = \"0\"";
		"fps_show = \"false\"";
		"fps_update_interval = \"256\"";
		"frame_time_counter_reset_after_fastforwarding = \"false\"";
		"frame_time_counter_reset_after_load_state = \"false\"";
		"frame_time_counter_reset_after_save_state = \"false\"";
		"framecount_show = \"false\"";
		"frontend_log_level = \"1\"";
		"game_specific_options = \"true\"";
		"gamemode_enable = \"true\"";
		"gamma_correction = \"0\"";
		"global_core_options = \"false\"";
		"history_list_enable = \"false\"";
		"initial_disk_change_enable = \"false\"";
		"input_ai_service = \"nul\"";
		"input_ai_service_axis = \"nul\"";
		"input_ai_service_btn = \"nul\"";
		"input_ai_service_mbtn = \"nul\"";
		"input_allow_turbo_dpad = \"false\"";
		"input_analog_deadzone = \"0.000000\"";
		"input_analog_sensitivity = \"1.000000\"";
		"input_audio_mute = \"f9\"";
		"input_audio_mute_axis = \"nul\"";
		"input_audio_mute_btn = \"nul\"";
		"input_audio_mute_mbtn = \"nul\"";
		"input_auto_game_focus = \"0\"";
		"input_auto_mouse_grab = \"false\"";
		"input_autodetect_enable = \"true\"";
		"input_axis_threshold = \"0.500000\"";
		"input_bind_hold = \"0\"";
		"input_bind_timeout = \"3\"";
		"input_cheat_index_minus = \"t\"";
		"input_cheat_index_minus_axis = \"nul\"";
		"input_cheat_index_minus_btn = \"nul\"";
		"input_cheat_index_minus_mbtn = \"nul\"";
		"input_cheat_index_plus = \"y\"";
		"input_cheat_index_plus_axis = \"nul\"";
		"input_cheat_index_plus_btn = \"nul\"";
		"input_cheat_index_plus_mbtn = \"nul\"";
		"input_cheat_toggle = \"u\"";
		"input_cheat_toggle_axis = \"nul\"";
		"input_cheat_toggle_btn = \"nul\"";
		"input_cheat_toggle_mbtn = \"nul\"";
		"input_close_content = \"nul\"";
		"input_close_content_axis = \"nul\"";
		"input_close_content_btn = \"nul\"";
		"input_close_content_mbtn = \"nul\"";
		"input_descriptor_hide_unbound = \"false\"";
		"input_descriptor_label_show = \"true\"";
		"input_desktop_menu_toggle = \"f5\"";
		"input_desktop_menu_toggle_axis = \"nul\"";
		"input_desktop_menu_toggle_btn = \"nul\"";
		"input_desktop_menu_toggle_mbtn = \"nul\"";
		"input_device_p1 = \"0\"";
		"input_device_p2 = \"0\"";
		"input_device_p3 = \"0\"";
		"input_device_p4 = \"0\"";
		"input_disk_eject_toggle = \"nul\"";
		"input_disk_eject_toggle_axis = \"nul\"";
		"input_disk_eject_toggle_btn = \"nul\"";
		"input_disk_eject_toggle_mbtn = \"nul\"";
		"input_disk_next = \"nul\"";
		"input_disk_next_axis = \"nul\"";
		"input_disk_next_btn = \"nul\"";
		"input_disk_next_mbtn = \"nul\"";
		"input_disk_prev = \"nul\"";
		"input_disk_prev_axis = \"nul\"";
		"input_disk_prev_btn = \"nul\"";
		"input_disk_prev_mbtn = \"nul\"";
		"input_driver = \"ps2\"";
		"input_duty_cycle = \"3\"";
		"input_enable_hotkey = \"nul\"";
		"input_enable_hotkey_axis = \"nul\"";
		"input_enable_hotkey_btn = \"nul\"";
		"input_enable_hotkey_mbtn = \"nul\"";
		"input_exit_emulator = \"escape\"";
		"input_exit_emulator_axis = \"nul\"";
		"input_exit_emulator_btn = \"nul\"";
		"input_exit_emulator_mbtn = \"nul\"";
		"input_fps_toggle = \"f3\"";
		"input_fps_toggle_axis = \"nul\"";
		"input_fps_toggle_btn = \"nul\"";
		"input_fps_toggle_mbtn = \"nul\"";
		"input_frame_advance = \"k\"";
		"input_frame_advance_axis = \"nul\"";
		"input_frame_advance_btn = \"nul\"";
		"input_frame_advance_mbtn = \"nul\"";
		"input_game_focus_toggle = \"scroll_lock\"";
		"input_game_focus_toggle_axis = \"nul\"";
		"input_game_focus_toggle_btn = \"nul\"";
		"input_game_focus_toggle_mbtn = \"nul\"";
		"input_grab_mouse_toggle = \"f11\"";
		"input_grab_mouse_toggle_axis = \"nul\"";
		"input_grab_mouse_toggle_btn = \"nul\"";
		"input_grab_mouse_toggle_mbtn = \"nul\"";
		"input_halt_replay = \"nul\"";
		"input_halt_replay_axis = \"nul\"";
		"input_halt_replay_btn = \"nul\"";
		"input_halt_replay_mbtn = \"nul\"";
		"input_hold_fast_forward = \"l\"";
		"input_hold_fast_forward_axis = \"nul\"";
		"input_hold_fast_forward_btn = \"nul\"";
		"input_hold_fast_forward_mbtn = \"nul\"";
		"input_hold_slowmotion = \"e\"";
		"input_hold_slowmotion_axis = \"nul\"";
		"input_hold_slowmotion_btn = \"nul\"";
		"input_hold_slowmotion_mbtn = \"nul\"";
		"input_hotkey_block_delay = \"5\"";
		"input_hotkey_device_merge = \"false\"";
		"input_joypad_driver = \"ps2\"";
		"input_keyboard_layout = \"\"";
		"input_load_state = \"f4\"";
		"input_load_state_axis = \"nul\"";
		"input_load_state_btn = \"nul\"";
		"input_load_state_mbtn = \"nul\"";
		"input_max_users = \"".. input_max_users[sistema] .."\"";
		"input_menu_toggle = \"f1\"";
		"input_menu_toggle_axis = \"nul\"";
		"input_menu_toggle_btn = \"nul\"";
		"input_menu_toggle_gamepad_combo = \"10\"";
		"input_menu_toggle_mbtn = \"nul\"";
		"input_netplay_fade_chat_toggle = \"nul\"";
		"input_netplay_fade_chat_toggle_axis = \"nul\"";
		"input_netplay_fade_chat_toggle_btn = \"nul\"";
		"input_netplay_fade_chat_toggle_mbtn = \"nul\"";
		"input_netplay_game_watch = \"i\"";
		"input_netplay_game_watch_axis = \"nul\"";
		"input_netplay_game_watch_btn = \"nul\"";
		"input_netplay_game_watch_mbtn = \"nul\"";
		"input_netplay_host_toggle = \"nul\"";
		"input_netplay_host_toggle_axis = \"nul\"";
		"input_netplay_host_toggle_btn = \"nul\"";
		"input_netplay_host_toggle_mbtn = \"nul\"";
		"input_netplay_ping_toggle = \"nul\"";
		"input_netplay_ping_toggle_axis = \"nul\"";
		"input_netplay_ping_toggle_btn = \"nul\"";
		"input_netplay_ping_toggle_mbtn = \"nul\"";
		"input_netplay_player_chat = \"tilde\"";
		"input_netplay_player_chat_axis = \"nul\"";
		"input_netplay_player_chat_btn = \"nul\"";
		"input_netplay_player_chat_mbtn = \"nul\"";
		"input_osk_toggle = \"nul\"";
		"input_osk_toggle_axis = \"nul\"";
		"input_osk_toggle_btn = \"nul\"";
		"input_osk_toggle_mbtn = \"nul\"";
		"input_overlay_next = \"nul\"";
		"input_overlay_next_axis = \"nul\"";
		"input_overlay_next_btn = \"nul\"";
		"input_overlay_next_mbtn = \"nul\"";
		"input_pause_toggle = \"p\"";
		"input_pause_toggle_axis = \"nul\"";
		"input_pause_toggle_btn = \"nul\"";
		"input_pause_toggle_mbtn = \"nul\"";
		"input_play_replay = \"nul\"";
		"input_play_replay_axis = \"nul\"";
		"input_play_replay_btn = \"nul\"";
		"input_play_replay_mbtn = \"nul\"";
		"input_player1_a = \"x\"";
		"input_player1_a_axis = \"nul\"";
		"input_player1_a_btn = \"nul\"";
		"input_player1_a_mbtn = \"nul\"";
		"input_player1_analog_dpad_mode = \"0\"";
		"input_player1_b = \"z\"";
		"input_player1_b_axis = \"nul\"";
		"input_player1_b_btn = \"nul\"";
		"input_player1_b_mbtn = \"nul\"";
		"input_player1_device_reservation_type = \"0\"";
		"input_player1_down = \"down\"";
		"input_player1_down_axis = \"nul\"";
		"input_player1_down_btn = \"nul\"";
		"input_player1_down_mbtn = \"nul\"";
		"input_player1_gun_aux_a = \"nul\"";
		"input_player1_gun_aux_a_axis = \"nul\"";
		"input_player1_gun_aux_a_btn = \"nul\"";
		"input_player1_gun_aux_a_mbtn = \"nul\"";
		"input_player1_gun_aux_b = \"nul\"";
		"input_player1_gun_aux_b_axis = \"nul\"";
		"input_player1_gun_aux_b_btn = \"nul\"";
		"input_player1_gun_aux_b_mbtn = \"nul\"";
		"input_player1_gun_aux_c = \"nul\"";
		"input_player1_gun_aux_c_axis = \"nul\"";
		"input_player1_gun_aux_c_btn = \"nul\"";
		"input_player1_gun_aux_c_mbtn = \"nul\"";
		"input_player1_gun_dpad_down = \"nul\"";
		"input_player1_gun_dpad_down_axis = \"nul\"";
		"input_player1_gun_dpad_down_btn = \"nul\"";
		"input_player1_gun_dpad_down_mbtn = \"nul\"";
		"input_player1_gun_dpad_left = \"nul\"";
		"input_player1_gun_dpad_left_axis = \"nul\"";
		"input_player1_gun_dpad_left_btn = \"nul\"";
		"input_player1_gun_dpad_left_mbtn = \"nul\"";
		"input_player1_gun_dpad_right = \"nul\"";
		"input_player1_gun_dpad_right_axis = \"nul\"";
		"input_player1_gun_dpad_right_btn = \"nul\"";
		"input_player1_gun_dpad_right_mbtn = \"nul\"";
		"input_player1_gun_dpad_up = \"nul\"";
		"input_player1_gun_dpad_up_axis = \"nul\"";
		"input_player1_gun_dpad_up_btn = \"nul\"";
		"input_player1_gun_dpad_up_mbtn = \"nul\"";
		"input_player1_gun_offscreen_shot = \"nul\"";
		"input_player1_gun_offscreen_shot_axis = \"nul\"";
		"input_player1_gun_offscreen_shot_btn = \"nul\"";
		"input_player1_gun_offscreen_shot_mbtn = \"2\"";
		"input_player1_gun_select = \"nul\"";
		"input_player1_gun_select_axis = \"nul\"";
		"input_player1_gun_select_btn = \"nul\"";
		"input_player1_gun_select_mbtn = \"nul\"";
		"input_player1_gun_start = \"nul\"";
		"input_player1_gun_start_axis = \"nul\"";
		"input_player1_gun_start_btn = \"nul\"";
		"input_player1_gun_start_mbtn = \"nul\"";
		"input_player1_gun_trigger = \"nul\"";
		"input_player1_gun_trigger_axis = \"nul\"";
		"input_player1_gun_trigger_btn = \"nul\"";
		"input_player1_gun_trigger_mbtn = \"1\"";
		"input_player1_joypad_index = \"0\"";
		"input_player1_l = \"q\"";
		"input_player1_l2 = \"nul\"";
		"input_player1_l2_axis = \"nul\"";
		"input_player1_l2_btn = \"nul\"";
		"input_player1_l2_mbtn = \"nul\"";
		"input_player1_l3 = \"nul\"";
		"input_player1_l3_axis = \"nul\"";
		"input_player1_l3_btn = \"nul\"";
		"input_player1_l3_mbtn = \"nul\"";
		"input_player1_l_axis = \"nul\"";
		"input_player1_l_btn = \"nul\"";
		"input_player1_l_mbtn = \"nul\"";
		"input_player1_l_x_minus = \"nul\"";
		"input_player1_l_x_minus_axis = \"nul\"";
		"input_player1_l_x_minus_btn = \"nul\"";
		"input_player1_l_x_minus_mbtn = \"nul\"";
		"input_player1_l_x_plus = \"nul\"";
		"input_player1_l_x_plus_axis = \"nul\"";
		"input_player1_l_x_plus_btn = \"nul\"";
		"input_player1_l_x_plus_mbtn = \"nul\"";
		"input_player1_l_y_minus = \"nul\"";
		"input_player1_l_y_minus_axis = \"nul\"";
		"input_player1_l_y_minus_btn = \"nul\"";
		"input_player1_l_y_minus_mbtn = \"nul\"";
		"input_player1_l_y_plus = \"nul\"";
		"input_player1_l_y_plus_axis = \"nul\"";
		"input_player1_l_y_plus_btn = \"nul\"";
		"input_player1_l_y_plus_mbtn = \"nul\"";
		"input_player1_left = \"left\"";
		"input_player1_left_axis = \"nul\"";
		"input_player1_left_btn = \"nul\"";
		"input_player1_left_mbtn = \"nul\"";
		"input_player1_mouse_index = \"0\"";
		"input_player1_r = \"w\"";
		"input_player1_r2 = \"nul\"";
		"input_player1_r2_axis = \"nul\"";
		"input_player1_r2_btn = \"nul\"";
		"input_player1_r2_mbtn = \"nul\"";
		"input_player1_r3 = \"nul\"";
		"input_player1_r3_axis = \"nul\"";
		"input_player1_r3_btn = \"nul\"";
		"input_player1_r3_mbtn = \"nul\"";
		"input_player1_r_axis = \"nul\"";
		"input_player1_r_btn = \"nul\"";
		"input_player1_r_mbtn = \"nul\"";
		"input_player1_r_x_minus = \"nul\"";
		"input_player1_r_x_minus_axis = \"nul\"";
		"input_player1_r_x_minus_btn = \"nul\"";
		"input_player1_r_x_minus_mbtn = \"nul\"";
		"input_player1_r_x_plus = \"nul\"";
		"input_player1_r_x_plus_axis = \"nul\"";
		"input_player1_r_x_plus_btn = \"nul\"";
		"input_player1_r_x_plus_mbtn = \"nul\"";
		"input_player1_r_y_minus = \"nul\"";
		"input_player1_r_y_minus_axis = \"nul\"";
		"input_player1_r_y_minus_btn = \"nul\"";
		"input_player1_r_y_minus_mbtn = \"nul\"";
		"input_player1_r_y_plus = \"nul\"";
		"input_player1_r_y_plus_axis = \"nul\"";
		"input_player1_r_y_plus_btn = \"nul\"";
		"input_player1_r_y_plus_mbtn = \"nul\"";
		"input_player1_reserved_device = \"\"";
		"input_player1_right = \"right\"";
		"input_player1_right_axis = \"nul\"";
		"input_player1_right_btn = \"nul\"";
		"input_player1_right_mbtn = \"nul\"";
		"input_player1_select = \"rshift\"";
		"input_player1_select_axis = \"nul\"";
		"input_player1_select_btn = \"nul\"";
		"input_player1_select_mbtn = \"nul\"";
		"input_player1_start = \"enter\"";
		"input_player1_start_axis = \"nul\"";
		"input_player1_start_btn = \"nul\"";
		"input_player1_start_mbtn = \"nul\"";
		"input_player1_turbo = \"nul\"";
		"input_player1_turbo_axis = \"nul\"";
		"input_player1_turbo_btn = \"nul\"";
		"input_player1_turbo_mbtn = \"nul\"";
		"input_player1_up = \"up\"";
		"input_player1_up_axis = \"nul\"";
		"input_player1_up_btn = \"nul\"";
		"input_player1_up_mbtn = \"nul\"";
		"input_player1_x = \"s\"";
		"input_player1_x_axis = \"nul\"";
		"input_player1_x_btn = \"nul\"";
		"input_player1_x_mbtn = \"nul\"";
		"input_player1_y = \"a\"";
		"input_player1_y_axis = \"nul\"";
		"input_player1_y_btn = \"nul\"";
		"input_player1_y_mbtn = \"nul\"";
		"input_player2_a = \"nul\"";
		"input_player2_a_axis = \"nul\"";
		"input_player2_a_btn = \"nul\"";
		"input_player2_a_mbtn = \"nul\"";
		"input_player2_analog_dpad_mode = \"0\"";
		"input_player2_b = \"nul\"";
		"input_player2_b_axis = \"nul\"";
		"input_player2_b_btn = \"nul\"";
		"input_player2_b_mbtn = \"nul\"";
		"input_player2_device_reservation_type = \"0\"";
		"input_player2_down = \"nul\"";
		"input_player2_down_axis = \"nul\"";
		"input_player2_down_btn = \"nul\"";
		"input_player2_down_mbtn = \"nul\"";
		"input_player2_gun_aux_a = \"nul\"";
		"input_player2_gun_aux_a_axis = \"nul\"";
		"input_player2_gun_aux_a_btn = \"nul\"";
		"input_player2_gun_aux_a_mbtn = \"nul\"";
		"input_player2_gun_aux_b = \"nul\"";
		"input_player2_gun_aux_b_axis = \"nul\"";
		"input_player2_gun_aux_b_btn = \"nul\"";
		"input_player2_gun_aux_b_mbtn = \"nul\"";
		"input_player2_gun_aux_c = \"nul\"";
		"input_player2_gun_aux_c_axis = \"nul\"";
		"input_player2_gun_aux_c_btn = \"nul\"";
		"input_player2_gun_aux_c_mbtn = \"nul\"";
		"input_player2_gun_dpad_down = \"nul\"";
		"input_player2_gun_dpad_down_axis = \"nul\"";
		"input_player2_gun_dpad_down_btn = \"nul\"";
		"input_player2_gun_dpad_down_mbtn = \"nul\"";
		"input_player2_gun_dpad_left = \"nul\"";
		"input_player2_gun_dpad_left_axis = \"nul\"";
		"input_player2_gun_dpad_left_btn = \"nul\"";
		"input_player2_gun_dpad_left_mbtn = \"nul\"";
		"input_player2_gun_dpad_right = \"nul\"";
		"input_player2_gun_dpad_right_axis = \"nul\"";
		"input_player2_gun_dpad_right_btn = \"nul\"";
		"input_player2_gun_dpad_right_mbtn = \"nul\"";
		"input_player2_gun_dpad_up = \"nul\"";
		"input_player2_gun_dpad_up_axis = \"nul\"";
		"input_player2_gun_dpad_up_btn = \"nul\"";
		"input_player2_gun_dpad_up_mbtn = \"nul\"";
		"input_player2_gun_offscreen_shot = \"nul\"";
		"input_player2_gun_offscreen_shot_axis = \"nul\"";
		"input_player2_gun_offscreen_shot_btn = \"nul\"";
		"input_player2_gun_offscreen_shot_mbtn = \"2\"";
		"input_player2_gun_select = \"nul\"";
		"input_player2_gun_select_axis = \"nul\"";
		"input_player2_gun_select_btn = \"nul\"";
		"input_player2_gun_select_mbtn = \"nul\"";
		"input_player2_gun_start = \"nul\"";
		"input_player2_gun_start_axis = \"nul\"";
		"input_player2_gun_start_btn = \"nul\"";
		"input_player2_gun_start_mbtn = \"nul\"";
		"input_player2_gun_trigger = \"nul\"";
		"input_player2_gun_trigger_axis = \"nul\"";
		"input_player2_gun_trigger_btn = \"nul\"";
		"input_player2_gun_trigger_mbtn = \"1\"";
		"input_player2_joypad_index = \"1\"";
		"input_player2_l = \"nul\"";
		"input_player2_l2 = \"nul\"";
		"input_player2_l2_axis = \"nul\"";
		"input_player2_l2_btn = \"nul\"";
		"input_player2_l2_mbtn = \"nul\"";
		"input_player2_l3 = \"nul\"";
		"input_player2_l3_axis = \"nul\"";
		"input_player2_l3_btn = \"nul\"";
		"input_player2_l3_mbtn = \"nul\"";
		"input_player2_l_axis = \"nul\"";
		"input_player2_l_btn = \"nul\"";
		"input_player2_l_mbtn = \"nul\"";
		"input_player2_l_x_minus = \"nul\"";
		"input_player2_l_x_minus_axis = \"nul\"";
		"input_player2_l_x_minus_btn = \"nul\"";
		"input_player2_l_x_minus_mbtn = \"nul\"";
		"input_player2_l_x_plus = \"nul\"";
		"input_player2_l_x_plus_axis = \"nul\"";
		"input_player2_l_x_plus_btn = \"nul\"";
		"input_player2_l_x_plus_mbtn = \"nul\"";
		"input_player2_l_y_minus = \"nul\"";
		"input_player2_l_y_minus_axis = \"nul\"";
		"input_player2_l_y_minus_btn = \"nul\"";
		"input_player2_l_y_minus_mbtn = \"nul\"";
		"input_player2_l_y_plus = \"nul\"";
		"input_player2_l_y_plus_axis = \"nul\"";
		"input_player2_l_y_plus_btn = \"nul\"";
		"input_player2_l_y_plus_mbtn = \"nul\"";
		"input_player2_left = \"nul\"";
		"input_player2_left_axis = \"nul\"";
		"input_player2_left_btn = \"nul\"";
		"input_player2_left_mbtn = \"nul\"";
		"input_player2_mouse_index = \"1\"";
		"input_player2_r = \"nul\"";
		"input_player2_r2 = \"nul\"";
		"input_player2_r2_axis = \"nul\"";
		"input_player2_r2_btn = \"nul\"";
		"input_player2_r2_mbtn = \"nul\"";
		"input_player2_r3 = \"nul\"";
		"input_player2_r3_axis = \"nul\"";
		"input_player2_r3_btn = \"nul\"";
		"input_player2_r3_mbtn = \"nul\"";
		"input_player2_r_axis = \"nul\"";
		"input_player2_r_btn = \"nul\"";
		"input_player2_r_mbtn = \"nul\"";
		"input_player2_r_x_minus = \"nul\"";
		"input_player2_r_x_minus_axis = \"nul\"";
		"input_player2_r_x_minus_btn = \"nul\"";
		"input_player2_r_x_minus_mbtn = \"nul\"";
		"input_player2_r_x_plus = \"nul\"";
		"input_player2_r_x_plus_axis = \"nul\"";
		"input_player2_r_x_plus_btn = \"nul\"";
		"input_player2_r_x_plus_mbtn = \"nul\"";
		"input_player2_r_y_minus = \"nul\"";
		"input_player2_r_y_minus_axis = \"nul\"";
		"input_player2_r_y_minus_btn = \"nul\"";
		"input_player2_r_y_minus_mbtn = \"nul\"";
		"input_player2_r_y_plus = \"nul\"";
		"input_player2_r_y_plus_axis = \"nul\"";
		"input_player2_r_y_plus_btn = \"nul\"";
		"input_player2_r_y_plus_mbtn = \"nul\"";
		"input_player2_reserved_device = \"\"";
		"input_player2_right = \"nul\"";
		"input_player2_right_axis = \"nul\"";
		"input_player2_right_btn = \"nul\"";
		"input_player2_right_mbtn = \"nul\"";
		"input_player2_select = \"nul\"";
		"input_player2_select_axis = \"nul\"";
		"input_player2_select_btn = \"nul\"";
		"input_player2_select_mbtn = \"nul\"";
		"input_player2_start = \"nul\"";
		"input_player2_start_axis = \"nul\"";
		"input_player2_start_btn = \"nul\"";
		"input_player2_start_mbtn = \"nul\"";
		"input_player2_turbo = \"nul\"";
		"input_player2_turbo_axis = \"nul\"";
		"input_player2_turbo_btn = \"nul\"";
		"input_player2_turbo_mbtn = \"nul\"";
		"input_player2_up = \"nul\"";
		"input_player2_up_axis = \"nul\"";
		"input_player2_up_btn = \"nul\"";
		"input_player2_up_mbtn = \"nul\"";
		"input_player2_x = \"nul\"";
		"input_player2_x_axis = \"nul\"";
		"input_player2_x_btn = \"nul\"";
		"input_player2_x_mbtn = \"nul\"";
		"input_player2_y = \"nul\"";
		"input_player2_y_axis = \"nul\"";
		"input_player2_y_btn = \"nul\"";
		"input_player2_y_mbtn = \"nul\"";
		"input_player3_a = \"nul\"";
		"input_player3_a_axis = \"nul\"";
		"input_player3_a_btn = \"nul\"";
		"input_player3_a_mbtn = \"nul\"";
		"input_player3_analog_dpad_mode = \"0\"";
		"input_player3_b = \"nul\"";
		"input_player3_b_axis = \"nul\"";
		"input_player3_b_btn = \"nul\"";
		"input_player3_b_mbtn = \"nul\"";
		"input_player3_device_reservation_type = \"0\"";
		"input_player3_down = \"nul\"";
		"input_player3_down_axis = \"nul\"";
		"input_player3_down_btn = \"nul\"";
		"input_player3_down_mbtn = \"nul\"";
		"input_player3_gun_aux_a = \"nul\"";
		"input_player3_gun_aux_a_axis = \"nul\"";
		"input_player3_gun_aux_a_btn = \"nul\"";
		"input_player3_gun_aux_a_mbtn = \"nul\"";
		"input_player3_gun_aux_b = \"nul\"";
		"input_player3_gun_aux_b_axis = \"nul\"";
		"input_player3_gun_aux_b_btn = \"nul\"";
		"input_player3_gun_aux_b_mbtn = \"nul\"";
		"input_player3_gun_aux_c = \"nul\"";
		"input_player3_gun_aux_c_axis = \"nul\"";
		"input_player3_gun_aux_c_btn = \"nul\"";
		"input_player3_gun_aux_c_mbtn = \"nul\"";
		"input_player3_gun_dpad_down = \"nul\"";
		"input_player3_gun_dpad_down_axis = \"nul\"";
		"input_player3_gun_dpad_down_btn = \"nul\"";
		"input_player3_gun_dpad_down_mbtn = \"nul\"";
		"input_player3_gun_dpad_left = \"nul\"";
		"input_player3_gun_dpad_left_axis = \"nul\"";
		"input_player3_gun_dpad_left_btn = \"nul\"";
		"input_player3_gun_dpad_left_mbtn = \"nul\"";
		"input_player3_gun_dpad_right = \"nul\"";
		"input_player3_gun_dpad_right_axis = \"nul\"";
		"input_player3_gun_dpad_right_btn = \"nul\"";
		"input_player3_gun_dpad_right_mbtn = \"nul\"";
		"input_player3_gun_dpad_up = \"nul\"";
		"input_player3_gun_dpad_up_axis = \"nul\"";
		"input_player3_gun_dpad_up_btn = \"nul\"";
		"input_player3_gun_dpad_up_mbtn = \"nul\"";
		"input_player3_gun_offscreen_shot = \"nul\"";
		"input_player3_gun_offscreen_shot_axis = \"nul\"";
		"input_player3_gun_offscreen_shot_btn = \"nul\"";
		"input_player3_gun_offscreen_shot_mbtn = \"2\"";
		"input_player3_gun_select = \"nul\"";
		"input_player3_gun_select_axis = \"nul\"";
		"input_player3_gun_select_btn = \"nul\"";
		"input_player3_gun_select_mbtn = \"nul\"";
		"input_player3_gun_start = \"nul\"";
		"input_player3_gun_start_axis = \"nul\"";
		"input_player3_gun_start_btn = \"nul\"";
		"input_player3_gun_start_mbtn = \"nul\"";
		"input_player3_gun_trigger = \"nul\"";
		"input_player3_gun_trigger_axis = \"nul\"";
		"input_player3_gun_trigger_btn = \"nul\"";
		"input_player3_gun_trigger_mbtn = \"1\"";
		"input_player3_joypad_index = \"2\"";
		"input_player3_l = \"nul\"";
		"input_player3_l2 = \"nul\"";
		"input_player3_l2_axis = \"nul\"";
		"input_player3_l2_btn = \"nul\"";
		"input_player3_l2_mbtn = \"nul\"";
		"input_player3_l3 = \"nul\"";
		"input_player3_l3_axis = \"nul\"";
		"input_player3_l3_btn = \"nul\"";
		"input_player3_l3_mbtn = \"nul\"";
		"input_player3_l_axis = \"nul\"";
		"input_player3_l_btn = \"nul\"";
		"input_player3_l_mbtn = \"nul\"";
		"input_player3_l_x_minus = \"nul\"";
		"input_player3_l_x_minus_axis = \"nul\"";
		"input_player3_l_x_minus_btn = \"nul\"";
		"input_player3_l_x_minus_mbtn = \"nul\"";
		"input_player3_l_x_plus = \"nul\"";
		"input_player3_l_x_plus_axis = \"nul\"";
		"input_player3_l_x_plus_btn = \"nul\"";
		"input_player3_l_x_plus_mbtn = \"nul\"";
		"input_player3_l_y_minus = \"nul\"";
		"input_player3_l_y_minus_axis = \"nul\"";
		"input_player3_l_y_minus_btn = \"nul\"";
		"input_player3_l_y_minus_mbtn = \"nul\"";
		"input_player3_l_y_plus = \"nul\"";
		"input_player3_l_y_plus_axis = \"nul\"";
		"input_player3_l_y_plus_btn = \"nul\"";
		"input_player3_l_y_plus_mbtn = \"nul\"";
		"input_player3_left = \"nul\"";
		"input_player3_left_axis = \"nul\"";
		"input_player3_left_btn = \"nul\"";
		"input_player3_left_mbtn = \"nul\"";
		"input_player3_mouse_index = \"2\"";
		"input_player3_r = \"nul\"";
		"input_player3_r2 = \"nul\"";
		"input_player3_r2_axis = \"nul\"";
		"input_player3_r2_btn = \"nul\"";
		"input_player3_r2_mbtn = \"nul\"";
		"input_player3_r3 = \"nul\"";
		"input_player3_r3_axis = \"nul\"";
		"input_player3_r3_btn = \"nul\"";
		"input_player3_r3_mbtn = \"nul\"";
		"input_player3_r_axis = \"nul\"";
		"input_player3_r_btn = \"nul\"";
		"input_player3_r_mbtn = \"nul\"";
		"input_player3_r_x_minus = \"nul\"";
		"input_player3_r_x_minus_axis = \"nul\"";
		"input_player3_r_x_minus_btn = \"nul\"";
		"input_player3_r_x_minus_mbtn = \"nul\"";
		"input_player3_r_x_plus = \"nul\"";
		"input_player3_r_x_plus_axis = \"nul\"";
		"input_player3_r_x_plus_btn = \"nul\"";
		"input_player3_r_x_plus_mbtn = \"nul\"";
		"input_player3_r_y_minus = \"nul\"";
		"input_player3_r_y_minus_axis = \"nul\"";
		"input_player3_r_y_minus_btn = \"nul\"";
		"input_player3_r_y_minus_mbtn = \"nul\"";
		"input_player3_r_y_plus = \"nul\"";
		"input_player3_r_y_plus_axis = \"nul\"";
		"input_player3_r_y_plus_btn = \"nul\"";
		"input_player3_r_y_plus_mbtn = \"nul\"";
		"input_player3_reserved_device = \"\"";
		"input_player3_right = \"nul\"";
		"input_player3_right_axis = \"nul\"";
		"input_player3_right_btn = \"nul\"";
		"input_player3_right_mbtn = \"nul\"";
		"input_player3_select = \"nul\"";
		"input_player3_select_axis = \"nul\"";
		"input_player3_select_btn = \"nul\"";
		"input_player3_select_mbtn = \"nul\"";
		"input_player3_start = \"nul\"";
		"input_player3_start_axis = \"nul\"";
		"input_player3_start_btn = \"nul\"";
		"input_player3_start_mbtn = \"nul\"";
		"input_player3_turbo = \"nul\"";
		"input_player3_turbo_axis = \"nul\"";
		"input_player3_turbo_btn = \"nul\"";
		"input_player3_turbo_mbtn = \"nul\"";
		"input_player3_up = \"nul\"";
		"input_player3_up_axis = \"nul\"";
		"input_player3_up_btn = \"nul\"";
		"input_player3_up_mbtn = \"nul\"";
		"input_player3_x = \"nul\"";
		"input_player3_x_axis = \"nul\"";
		"input_player3_x_btn = \"nul\"";
		"input_player3_x_mbtn = \"nul\"";
		"input_player3_y = \"nul\"";
		"input_player3_y_axis = \"nul\"";
		"input_player3_y_btn = \"nul\"";
		"input_player3_y_mbtn = \"nul\"";
		"input_player4_a = \"nul\"";
		"input_player4_a_axis = \"nul\"";
		"input_player4_a_btn = \"nul\"";
		"input_player4_a_mbtn = \"nul\"";
		"input_player4_analog_dpad_mode = \"0\"";
		"input_player4_b = \"nul\"";
		"input_player4_b_axis = \"nul\"";
		"input_player4_b_btn = \"nul\"";
		"input_player4_b_mbtn = \"nul\"";
		"input_player4_device_reservation_type = \"0\"";
		"input_player4_down = \"nul\"";
		"input_player4_down_axis = \"nul\"";
		"input_player4_down_btn = \"nul\"";
		"input_player4_down_mbtn = \"nul\"";
		"input_player4_gun_aux_a = \"nul\"";
		"input_player4_gun_aux_a_axis = \"nul\"";
		"input_player4_gun_aux_a_btn = \"nul\"";
		"input_player4_gun_aux_a_mbtn = \"nul\"";
		"input_player4_gun_aux_b = \"nul\"";
		"input_player4_gun_aux_b_axis = \"nul\"";
		"input_player4_gun_aux_b_btn = \"nul\"";
		"input_player4_gun_aux_b_mbtn = \"nul\"";
		"input_player4_gun_aux_c = \"nul\"";
		"input_player4_gun_aux_c_axis = \"nul\"";
		"input_player4_gun_aux_c_btn = \"nul\"";
		"input_player4_gun_aux_c_mbtn = \"nul\"";
		"input_player4_gun_dpad_down = \"nul\"";
		"input_player4_gun_dpad_down_axis = \"nul\"";
		"input_player4_gun_dpad_down_btn = \"nul\"";
		"input_player4_gun_dpad_down_mbtn = \"nul\"";
		"input_player4_gun_dpad_left = \"nul\"";
		"input_player4_gun_dpad_left_axis = \"nul\"";
		"input_player4_gun_dpad_left_btn = \"nul\"";
		"input_player4_gun_dpad_left_mbtn = \"nul\"";
		"input_player4_gun_dpad_right = \"nul\"";
		"input_player4_gun_dpad_right_axis = \"nul\"";
		"input_player4_gun_dpad_right_btn = \"nul\"";
		"input_player4_gun_dpad_right_mbtn = \"nul\"";
		"input_player4_gun_dpad_up = \"nul\"";
		"input_player4_gun_dpad_up_axis = \"nul\"";
		"input_player4_gun_dpad_up_btn = \"nul\"";
		"input_player4_gun_dpad_up_mbtn = \"nul\"";
		"input_player4_gun_offscreen_shot = \"nul\"";
		"input_player4_gun_offscreen_shot_axis = \"nul\"";
		"input_player4_gun_offscreen_shot_btn = \"nul\"";
		"input_player4_gun_offscreen_shot_mbtn = \"2\"";
		"input_player4_gun_select = \"nul\"";
		"input_player4_gun_select_axis = \"nul\"";
		"input_player4_gun_select_btn = \"nul\"";
		"input_player4_gun_select_mbtn = \"nul\"";
		"input_player4_gun_start = \"nul\"";
		"input_player4_gun_start_axis = \"nul\"";
		"input_player4_gun_start_btn = \"nul\"";
		"input_player4_gun_start_mbtn = \"nul\"";
		"input_player4_gun_trigger = \"nul\"";
		"input_player4_gun_trigger_axis = \"nul\"";
		"input_player4_gun_trigger_btn = \"nul\"";
		"input_player4_gun_trigger_mbtn = \"1\"";
		"input_player4_joypad_index = \"3\"";
		"input_player4_l = \"nul\"";
		"input_player4_l2 = \"nul\"";
		"input_player4_l2_axis = \"nul\"";
		"input_player4_l2_btn = \"nul\"";
		"input_player4_l2_mbtn = \"nul\"";
		"input_player4_l3 = \"nul\"";
		"input_player4_l3_axis = \"nul\"";
		"input_player4_l3_btn = \"nul\"";
		"input_player4_l3_mbtn = \"nul\"";
		"input_player4_l_axis = \"nul\"";
		"input_player4_l_btn = \"nul\"";
		"input_player4_l_mbtn = \"nul\"";
		"input_player4_l_x_minus = \"nul\"";
		"input_player4_l_x_minus_axis = \"nul\"";
		"input_player4_l_x_minus_btn = \"nul\"";
		"input_player4_l_x_minus_mbtn = \"nul\"";
		"input_player4_l_x_plus = \"nul\"";
		"input_player4_l_x_plus_axis = \"nul\"";
		"input_player4_l_x_plus_btn = \"nul\"";
		"input_player4_l_x_plus_mbtn = \"nul\"";
		"input_player4_l_y_minus = \"nul\"";
		"input_player4_l_y_minus_axis = \"nul\"";
		"input_player4_l_y_minus_btn = \"nul\"";
		"input_player4_l_y_minus_mbtn = \"nul\"";
		"input_player4_l_y_plus = \"nul\"";
		"input_player4_l_y_plus_axis = \"nul\"";
		"input_player4_l_y_plus_btn = \"nul\"";
		"input_player4_l_y_plus_mbtn = \"nul\"";
		"input_player4_left = \"nul\"";
		"input_player4_left_axis = \"nul\"";
		"input_player4_left_btn = \"nul\"";
		"input_player4_left_mbtn = \"nul\"";
		"input_player4_mouse_index = \"3\"";
		"input_player4_r = \"nul\"";
		"input_player4_r2 = \"nul\"";
		"input_player4_r2_axis = \"nul\"";
		"input_player4_r2_btn = \"nul\"";
		"input_player4_r2_mbtn = \"nul\"";
		"input_player4_r3 = \"nul\"";
		"input_player4_r3_axis = \"nul\"";
		"input_player4_r3_btn = \"nul\"";
		"input_player4_r3_mbtn = \"nul\"";
		"input_player4_r_axis = \"nul\"";
		"input_player4_r_btn = \"nul\"";
		"input_player4_r_mbtn = \"nul\"";
		"input_player4_r_x_minus = \"nul\"";
		"input_player4_r_x_minus_axis = \"nul\"";
		"input_player4_r_x_minus_btn = \"nul\"";
		"input_player4_r_x_minus_mbtn = \"nul\"";
		"input_player4_r_x_plus = \"nul\"";
		"input_player4_r_x_plus_axis = \"nul\"";
		"input_player4_r_x_plus_btn = \"nul\"";
		"input_player4_r_x_plus_mbtn = \"nul\"";
		"input_player4_r_y_minus = \"nul\"";
		"input_player4_r_y_minus_axis = \"nul\"";
		"input_player4_r_y_minus_btn = \"nul\"";
		"input_player4_r_y_minus_mbtn = \"nul\"";
		"input_player4_r_y_plus = \"nul\"";
		"input_player4_r_y_plus_axis = \"nul\"";
		"input_player4_r_y_plus_btn = \"nul\"";
		"input_player4_r_y_plus_mbtn = \"nul\"";
		"input_player4_reserved_device = \"\"";
		"input_player4_right = \"nul\"";
		"input_player4_right_axis = \"nul\"";
		"input_player4_right_btn = \"nul\"";
		"input_player4_right_mbtn = \"nul\"";
		"input_player4_select = \"nul\"";
		"input_player4_select_axis = \"nul\"";
		"input_player4_select_btn = \"nul\"";
		"input_player4_select_mbtn = \"nul\"";
		"input_player4_start = \"nul\"";
		"input_player4_start_axis = \"nul\"";
		"input_player4_start_btn = \"nul\"";
		"input_player4_start_mbtn = \"nul\"";
		"input_player4_turbo = \"nul\"";
		"input_player4_turbo_axis = \"nul\"";
		"input_player4_turbo_btn = \"nul\"";
		"input_player4_turbo_mbtn = \"nul\"";
		"input_player4_up = \"nul\"";
		"input_player4_up_axis = \"nul\"";
		"input_player4_up_btn = \"nul\"";
		"input_player4_up_mbtn = \"nul\"";
		"input_player4_x = \"nul\"";
		"input_player4_x_axis = \"nul\"";
		"input_player4_x_btn = \"nul\"";
		"input_player4_x_mbtn = \"nul\"";
		"input_player4_y = \"nul\"";
		"input_player4_y_axis = \"nul\"";
		"input_player4_y_btn = \"nul\"";
		"input_player4_y_mbtn = \"nul\"";
		"input_poll_type_behavior = \"2\"";
		"input_preempt_toggle = \"nul\"";
		"input_preempt_toggle_axis = \"nul\"";
		"input_preempt_toggle_btn = \"nul\"";
		"input_preempt_toggle_mbtn = \"nul\"";
		"input_quit_gamepad_combo = \"0\"";
		"input_record_replay = \"nul\"";
		"input_record_replay_axis = \"nul\"";
		"input_record_replay_btn = \"nul\"";
		"input_record_replay_mbtn = \"nul\"";
		"input_recording_toggle = \"nul\"";
		"input_recording_toggle_axis = \"nul\"";
		"input_recording_toggle_btn = \"nul\"";
		"input_recording_toggle_mbtn = \"nul\"";
		"input_remap_binds_enable = \"true\"";
		"input_remap_sort_by_controller_enable = \"false\"";
		"input_remapping_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/".. remap[sistema] .."\"";
		"input_replay_slot_decrease = \"nul\"";
		"input_replay_slot_decrease_axis = \"nul\"";
		"input_replay_slot_decrease_btn = \"nul\"";
		"input_replay_slot_decrease_mbtn = \"nul\"";
		"input_replay_slot_increase = \"nul\"";
		"input_replay_slot_increase_axis = \"nul\"";
		"input_replay_slot_increase_btn = \"nul\"";
		"input_replay_slot_increase_mbtn = \"nul\"";
		"input_reset = \"h\"";
		"input_reset_axis = \"nul\"";
		"input_reset_btn = \"nul\"";
		"input_reset_mbtn = \"nul\"";
		"input_rewind = \"r\"";
		"input_rewind_axis = \"nul\"";
		"input_rewind_btn = \"nul\"";
		"input_rewind_mbtn = \"nul\"";
		"input_rumble_gain = \"100\"";
		"input_runahead_toggle = \"nul\"";
		"input_runahead_toggle_axis = \"nul\"";
		"input_runahead_toggle_btn = \"nul\"";
		"input_runahead_toggle_mbtn = \"nul\"";
		"input_save_state = \"f2\"";
		"input_save_state_axis = \"nul\"";
		"input_save_state_btn = \"nul\"";
		"input_save_state_mbtn = \"nul\"";
		"input_screenshot = \"f8\"";
		"input_screenshot_axis = \"nul\"";
		"input_screenshot_btn = \"nul\"";
		"input_screenshot_mbtn = \"nul\"";
		"input_sensors_enable = \"".. input_sensors_enable[sistema] .."\"";
		"input_shader_next = \"m\"";
		"input_shader_next_axis = \"nul\"";
		"input_shader_next_btn = \"nul\"";
		"input_shader_next_mbtn = \"nul\"";
		"input_shader_prev = \"n\"";
		"input_shader_prev_axis = \"nul\"";
		"input_shader_prev_btn = \"nul\"";
		"input_shader_prev_mbtn = \"nul\"";
		"input_shader_toggle = \"comma\"";
		"input_shader_toggle_axis = \"nul\"";
		"input_shader_toggle_btn = \"nul\"";
		"input_shader_toggle_mbtn = \"nul\"";
		"input_state_slot_decrease = \"f6\"";
		"input_state_slot_decrease_axis = \"nul\"";
		"input_state_slot_decrease_btn = \"nul\"";
		"input_state_slot_decrease_mbtn = \"nul\"";
		"input_state_slot_increase = \"f7\"";
		"input_state_slot_increase_axis = \"nul\"";
		"input_state_slot_increase_btn = \"nul\"";
		"input_state_slot_increase_mbtn = \"nul\"";
		"input_streaming_toggle = \"nul\"";
		"input_streaming_toggle_axis = \"nul\"";
		"input_streaming_toggle_btn = \"nul\"";
		"input_streaming_toggle_mbtn = \"nul\"";
		"input_toggle_fast_forward = \"space\"";
		"input_toggle_fast_forward_axis = \"nul\"";
		"input_toggle_fast_forward_btn = \"nul\"";
		"input_toggle_fast_forward_mbtn = \"nul\"";
		"input_toggle_fullscreen = \"f\"";
		"input_toggle_fullscreen_axis = \"nul\"";
		"input_toggle_fullscreen_btn = \"nul\"";
		"input_toggle_fullscreen_mbtn = \"nul\"";
		"input_toggle_slowmotion = \"nul\"";
		"input_toggle_slowmotion_axis = \"nul\"";
		"input_toggle_slowmotion_btn = \"nul\"";
		"input_toggle_slowmotion_mbtn = \"nul\"";
		"input_toggle_statistics = \"nul\"";
		"input_toggle_statistics_axis = \"nul\"";
		"input_toggle_statistics_btn = \"nul\"";
		"input_toggle_statistics_mbtn = \"nul\"";
		"input_toggle_vrr_runloop = \"nul\"";
		"input_toggle_vrr_runloop_axis = \"nul\"";
		"input_toggle_vrr_runloop_btn = \"nul\"";
		"input_toggle_vrr_runloop_mbtn = \"nul\"";
		"input_touch_scale = \"1\"";
		"input_turbo_default_button = \"0\"";
		"input_turbo_mode = \"0\"";
		"input_turbo_period = \"6\"";
		"input_volume_down = \"subtract\"";
		"input_volume_down_axis = \"nul\"";
		"input_volume_down_btn = \"nul\"";
		"input_volume_down_mbtn = \"nul\"";
		"input_volume_up = \"add\"";
		"input_volume_up_axis = \"nul\"";
		"input_volume_up_btn = \"nul\"";
		"input_volume_up_mbtn = \"nul\"";
		"joypad_autoconfig_dir = \"\"";
		"keyboard_gamepad_enable = \"true\"";
		"keyboard_gamepad_mapping_type = \"1\"";
		"kiosk_mode_enable = \"false\"";
		"kiosk_mode_password = \"\"";
		"led_driver = \"null\"";
		"libretro_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/cores\"";
		"libretro_info_path = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/info\"";
		"libretro_log_level = \"1\"";
		"load_dummy_on_core_shutdown = \"false\"";
		"location_allow = \"false\"";
		"location_driver = \"null\"";
		"log_dir = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/logs\"";
		"log_to_file = \"false\"";
		"log_to_file_timestamp = \"false\"";
		"log_verbosity = \"false\"";
		"memory_show = \"false\"";
		"memory_update_interval = \"256\"";
		"menu_battery_level_enable = \"false\"";
		"menu_core_enable = \"true\"";
		"menu_disable_info_button = \"true\"";
		"menu_disable_left_analog = \"false\"";
		"menu_disable_right_analog = \"true\"";
		"menu_disable_search_button = \"true\"";
		"menu_driver = \"rgui\"";
		"menu_dynamic_wallpaper_enable = \"false\"";
		"menu_enable_widgets = \"false\"";
		"menu_footer_opacity = \"1.000000\"";
		"menu_framebuffer_opacity = \"0.900000\"";
		"menu_header_opacity = \"1.000000\"";
		"menu_horizontal_animation = \"true\"";
		"menu_icon_thumbnails = \"0\"";
		"menu_insert_disk_resume = \"true\"";
		"menu_left_thumbnails = \"0\"";
		"menu_linear_filter = \"true\"";
		"menu_mouse_enable = \"false\"";
		"menu_navigation_browser_filter_supported_extensions_enable = \"true\"";
		"menu_navigation_wraparound_enable = \"true\"";
		"menu_pause_libretro = \"true\"";
		"menu_pointer_enable = \"false\"";
		"menu_rgui_full_width_layout = \"true\"";
		"menu_rgui_shadows = \"false\"";
		"menu_rgui_transparency = \"true\"";
		"menu_savestate_resume = \"false\"";
		"menu_scale_factor = \"1.000000\"";
		"menu_screensaver_timeout = \"0\"";
		"menu_scroll_delay = \"256\"";
		"menu_scroll_fast = \"false\"";
		"menu_show_advanced_settings = \"true\"";
		"menu_show_configurations = \"false\"";
		"menu_show_core_updater = \"false\"";
		"menu_show_help = \"false\"";
		"menu_show_information = \"false\"";
		"menu_show_latency = \"false\"";
		"menu_show_load_content = \"false\"";
		"menu_show_load_content_animation = \"false\"";
		"menu_show_load_core = \"false\"";
		"menu_show_online_updater = \"false\"";
		"menu_show_overlays = \"false\"";
		"menu_show_quit_retroarch = \"false\"";
		"menu_show_reboot = \"true\"";
		"menu_show_restart_retroarch = \"true\"";
		"menu_show_rewind = \"false\"";
		"menu_show_shutdown = \"false\"";
		"menu_show_sublabels = \"true\"";
		"menu_swap_ok_cancel_buttons = \"true\"";
		"menu_swap_scroll_buttons = \"false\"";
		"menu_throttle_framerate = \"true\"";
		"menu_thumbnail_upscale_threshold = \"0\"";
		"menu_thumbnails = \"0\"";
		"menu_ticker_smooth = \"true\"";
		"menu_ticker_speed = \"2.000000\"";
		"menu_ticker_type = \"1\"";
		"menu_timedate_date_separator = \"0\"";
		"menu_timedate_enable = \"false\"";
		"menu_timedate_style = \"11\"";
		"menu_unified_controls = \"false\"";
		"menu_use_preferred_system_color_theme = \"false\"";
		"menu_wallpaper = \"\"";
		"menu_wallpaper_opacity = \"1.000000\"";
		"menu_widget_scale_auto = \"true\"";
		"menu_widget_scale_factor = \"1.000000\"";
		"midi_driver = \"null\"";
		"midi_input = \"OFF\"";
		"midi_output = \"OFF\"";
		"midi_volume = \"100\"";
		"notification_show_autoconfig = \"false\"";
		"notification_show_cheats_applied = \"false\"";
		"notification_show_config_override_load = \"false\"";
		"notification_show_disk_control = \"false\"";
		"notification_show_fast_forward = \"true\"";
		"notification_show_patch_applied = \"true\"";
		"notification_show_refresh_rate = \"false\"";
		"notification_show_remap_load = \"false\"";
		"notification_show_save_state = \"true\"";
		"notification_show_screenshot = \"false\"";
		"notification_show_screenshot_duration = \"0\"";
		"notification_show_screenshot_flash = \"0\"";
		"notification_show_set_initial_disk = \"false\"";
		"notification_show_when_menu_is_alive = \"".. notification_show_when_menu_is_alive[sistema] .."\"";
		"pause_nonactive = \"true\"";
		"pause_on_disconnect = \"false\"";
		"perfcnt_enable = \"false\"";
		"playlist_allow_non_png = \"false\"";
		"playlist_compression = \"false\"";
		"playlist_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/playlists\"";
		"playlist_entry_remove_enable = \"2\"";
		"playlist_entry_rename = \"false\"";
		"playlist_fuzzy_archive_match = \"false\"";
		"playlist_portable_paths = \"false\"";
		"playlist_show_entry_idx = \"false\"";
		"playlist_show_history_icons = \"1\"";
		"playlist_show_inline_core_name = \"2\"";
		"playlist_show_sublabels = \"false\"";
		"playlist_sort_alphabetical = \"true\"";
		"playlist_sublabel_last_played_style = \"1\"";
		"playlist_sublabel_runtime_type = \"0\"";
		"playlist_use_filename = \"false\"";
		"playlist_use_old_format = \"false\"";
		"preemptive_frames_enable = \"false\"";
		"preemptive_frames_hide_warnings = \"false\"";
		"quick_menu_show_add_to_favorites = \"false\"";
		"quick_menu_show_add_to_playlist = \"false\"";
		"quick_menu_show_cheats = \"true\"";
		"quick_menu_show_close_content = \"false\"";
		"quick_menu_show_controls = \"true\"";
		"quick_menu_show_core_options_flush = \"false\"";
		"quick_menu_show_information = \"false\"";
		"quick_menu_show_options = \"true\"";
		"quick_menu_show_replay = \"false\"";
		"quick_menu_show_reset_core_association = \"false\"";
		"quick_menu_show_restart_content = \"true\"";
		"quick_menu_show_resume_content = \"true\"";
		"quick_menu_show_save_content_dir_overrides = \"false\"";
		"quick_menu_show_save_core_overrides = \"false\"";
		"quick_menu_show_save_game_overrides = \"false\"";
		"quick_menu_show_save_load_state = \"true\"";
		"quick_menu_show_savestate_submenu = \"true\"";
		"quick_menu_show_set_core_association = \"false\"";
		"quick_menu_show_shaders = \"false\"";
		"quick_menu_show_start_recording = \"false\"";
		"quick_menu_show_start_streaming = \"false\"";
		"quick_menu_show_take_screenshot = \"false\"";
		"quick_menu_show_undo_save_load_state = \"false\"";
		"quit_on_close_content = \"0\"";
		"quit_press_twice = \"false\"";
		"record_driver = \"null\"";
		"recording_config_directory = \"\"";
		"recording_output_directory = \"\"";
		"remap_save_on_exit = \"false\"";
		"replay_auto_index = \"true\"";
		"replay_checkpoint_interval = \"0\"";
		"replay_max_keep = \"0\"";
		"replay_slot = \"0\"";
		"resampler_directory = \"\"";
		"rewind_buffer_size = \"20971520\"";
		"rewind_buffer_size_step = \"10\"";
		"rewind_enable = \"false\"";
		"rewind_granularity = \"1\"";
		"rgui_aspect_ratio = \"11\"";
		"rgui_aspect_ratio_lock = \"0\"";
		"rgui_background_filler_thickness_enable = \"false\"";
		"rgui_border_filler_enable = \"true\"";
		"rgui_border_filler_thickness_enable = \"false\"";
		"rgui_browser_directory = \"default\"";
		"rgui_config_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/config\"";
		"rgui_extended_ascii = \"false\"";
		"rgui_inline_thumbnails = \"false\"";
		"rgui_internal_upscale_level = \"0\"";
		"rgui_menu_color_theme = \"".. rgui_menu_color_theme[sistema] .."\"";
		"rgui_menu_theme_preset = \"\"";
		"rgui_particle_effect = \"0\"";
		"rgui_particle_effect_screensaver = \"true\"";
		"rgui_particle_effect_speed = \"1.000000\"";
		"rgui_show_start_screen = \"false\"";
		"rgui_swap_thumbnails = \"false\"";
		"rgui_switch_icons = \"true\"";
		"rgui_thumbnail_delay = \"256\"";
		"rgui_thumbnail_downscaler = \"0\"";
		"run_ahead_enabled = \"false\"";
		"run_ahead_frames = \"1\"";
		"run_ahead_hide_warnings = \"false\"";
		"run_ahead_secondary_instance = \"true\"";
		"runtime_log_directory = \"default\"";
		"save_file_compression = \"true\"";
		"savefile_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/savefiles\"";
		"savefiles_in_content_dir = \"false\"";
		"savestate_auto_index = \"false\"";
		"savestate_auto_load = \"false\"";
		"savestate_auto_save = \"false\"";
		"savestate_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/savestates\"";
		"savestate_file_compression = \"true\"";
		"savestate_max_keep = \"0\"";
		"savestate_thumbnail_enable = \"false\"";
		"savestates_in_content_dir = \"false\"";
		"scan_serial_and_crc = \"false\"";
		"scan_without_core_match = \"false\"";
		"screen_brightness = \"100\"";
		"screen_orientation = \"0\"";
		"screenshot_directory = \"default\"";
		"screenshots_in_content_dir = \"false\"";
		"settings_show_accessibility = \"false\"";
		"settings_show_achievements = \"false\"";
		"settings_show_ai_service = \"false\"";
		"settings_show_audio = \"false\"";
		"settings_show_configuration = \"false\"";
		"settings_show_core = \"false\"";
		"settings_show_directory = \"false\"";
		"settings_show_drivers = \"false\"";
		"settings_show_file_browser = \"false\"";
		"settings_show_frame_throttle = \"false\"";
		"settings_show_input = \"false\"";
		"settings_show_latency = \"false\"";
		"settings_show_logging = \"false\"";
		"settings_show_network = \"false\"";
		"settings_show_onscreen_display = \"false\"";
		"settings_show_playlists = \"false\"";
		"settings_show_power_management = \"false\"";
		"settings_show_recording = \"false\"";
		"settings_show_saving = \"false\"";
		"settings_show_user = \"false\"";
		"settings_show_user_interface = \"".. settings_show_user_interface .."\"";
		"settings_show_video = \"true\"";
		"show_hidden_files = \"false\"";
		"slowmotion_ratio = \"3.000000\"";
		"soft_filter_enable = \"false\"";
		"soft_filter_index = \"0\"";
		"sort_savefiles_by_content_enable = \"false\"";
		"sort_savefiles_enable = \"false\"";
		"sort_savestates_by_content_enable = \"false\"";
		"sort_savestates_enable = \"false\"";
		"sort_screenshots_by_content_enable = \"false\"";
		"state_slot = \"0\"";
		"statistics_show = \"false\"";
		"suspend_screensaver_enable = \"true\"";
		"sustained_performance_mode = \"false\"";
		"system_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/system\"";
		"systemfiles_in_content_dir = \"false\"";
		"thumbnails_directory = \"".. actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."/retroarch/thumbnails\"";
		"ui_companion_enable = \"false\"";
		"ui_companion_start_on_boot = \"true\"";
		"ui_companion_toggle = \"false\"";
		"ui_menubar_enable = \"true\"";
		"use_last_start_directory = \"false\"";
		"vibrate_on_keypress = \"false\"";
		"video_adaptive_vsync = \"false\"";
		"video_allow_rotate = \"true\"";
		"video_aspect_ratio = \"1.253300\"";
		"video_aspect_ratio_auto = \"false\"";
		"video_autoswitch_pal_threshold = \"54.500000\"";
		"video_autoswitch_refresh_rate = \"0\"";
		"video_bfi_dark_frames = \"1\"";
		"video_black_frame_insertion = \"0\"";
		"video_context_driver = \"\"";
		"video_crop_overscan = \"true\"";
		"video_ctx_scaling = \"false\"";
		"video_disable_composition = \"false\"";
		"video_driver = \"ps2\"";
		"video_filter = \"\"";
		"video_filter_dir = \"default\"";
		"video_font_enable = \"true\"";
		"video_font_path = \"\"";
		"video_font_size = \"16.000000\"";
		"video_force_aspect = \"true\"";
		"video_force_srgb_disable = \"false\"";
		"video_frame_delay = \"0\"";
		"video_frame_delay_auto = \"false\"";
		"video_frame_rest = \"false\"";
		"video_fullscreen = \"false\"";
		"video_fullscreen_x = \"0\"";
		"video_fullscreen_y = \"0\"";
		"video_gpu_record = \"false\"";
		"video_gpu_screenshot = \"true\"";
		"video_hard_sync = \"false\"";
		"video_hard_sync_frames = \"0\"";
		"video_hdr_display_contrast = \"5.000000\"";
		"video_hdr_enable = \"false\"";
		"video_hdr_expand_gamut = \"true\"";
		"video_hdr_max_nits = \"1000.000000\"";
		"video_hdr_paper_white_nits = \"200.000000\"";
		"video_max_frame_latency = \"1\"";
		"video_max_swapchain_images = \"3\"";
		"video_message_color = \"f6f6f6\"";
		"video_message_pos_x = \"0.050000\"";
		"video_message_pos_y = \"0.050000\"";
		"video_monitor_index = \"0\"";
		"video_msg_bgcolor_blue = \"0\"";
		"video_msg_bgcolor_enable = \"true\"";
		"video_msg_bgcolor_green = \"0\"";
		"video_msg_bgcolor_opacity = \"1.000000\"";
		"video_msg_bgcolor_red = \"0\"";
		"video_notch_write_over_enable = \"false\"";
		"video_post_filter_record = \"false\"";
		"video_record_config = \"\"";
		"video_record_quality = \"2\"";
		"video_record_scale_factor = \"1\"";
		"video_record_threads = \"2\"";
		"video_refresh_rate = \"".. video_refresh_rate_PAL .."\"";
		"video_rotation = \"0\"";
		"video_scale = \"".. video_scale .."\"";
		"video_scale_integer = \"".. video_scale_integer_PAL .."\"";
		"video_scale_integer_axis = \"0\"";
		"video_scale_integer_overscale = \"".. video_scale_integer_overscale[sistema] .."\"";
		"video_scale_integer_scaling = \"0\"";
		"video_scan_subframes = \"false\"";
		"video_shader_delay = \"0\"";
		"video_shader_dir = \"default\"";
		"video_shader_enable = \"true\"";
		"video_shader_preset_save_reference_enable = \"true\"";
		"video_shader_remember_last_dir = \"false\"";
		"video_shader_subframes = \"1\"";
		"video_shader_watch_files = \"false\"";
		"video_shared_context = \"false\"";
		"video_smooth = \"false\"";
		"video_stream_config = \"\"";
		"video_stream_port = \"56400\"";
		"video_stream_quality = \"11\"";
		"video_stream_scale_factor = \"1\"";
		"video_stream_url = \"\"";
		"video_swap_interval = \"1\"";
		"video_threaded = \"false\"";
		"video_viewport_bias_x = \"0.500000\"";
		"video_viewport_bias_y = \"0.500000\"";
		"video_vsync = \"".. video_vsync_PAL[sistema] .."\"";
		"video_waitable_swapchains = \"true\"";
		"video_window_auto_height_max = \"1080\"";
		"video_window_auto_width_max = \"1920\"";
		"video_window_custom_size_enable = \"false\"";
		"video_window_offset_x = \"0\"";
		"video_window_offset_y = \"0\"";
		"video_window_opacity = \"100\"";
		"video_window_save_positions = \"false\"";
		"video_window_show_decorations = \"true\"";
		"video_windowed_fullscreen = \"true\"";
		"video_windowed_position_height = \"720\"";
		"video_windowed_position_width = \"1280\"";
		"video_windowed_position_x = \"0\"";
		"video_windowed_position_y = \"0\"";
		"vrr_runloop_enable = \"".. vrr_runloop_enable_PAL .."\"";
		"wifi_driver = \"null\"";
		"wifi_enabled = \"true\"";
		"xmb_font = \"\"";};
		local new_cof_pal = ""
		for linea_pal = 1, #new_cof_pal_tex do
			new_cof_pal = new_cof_pal .. new_cof_pal_tex[linea_pal] .. "\r\n"
		end
		if sistema == 1 then
			directorios_ori[1] = "Atari 2600/"
		end
		if doesFileExist(actual .."/System/Respaldo/RetroarchPS2_PAL/".. directorios_ori[sistema] .."retroarch/retroarch.cfg") then
			System.removeFile(actual .."/System/Respaldo/RetroarchPS2_PAL/".. directorios_ori[sistema] .."retroarch/retroarch.cfg")
		end
		local new_retroarch_cfg_pal = System.openFile(actual .."/System/Respaldo/RetroarchPS2_PAL/".. directorios_ori[sistema] .."retroarch/retroarch.cfg", FCREATE)
		System.writeFile(new_retroarch_cfg_pal, new_cof_pal, string.len(new_cof_pal))
		System.closeFile(new_retroarch_cfg_pal)
		if doesFileExist(actual .."/System/Respaldo/PAL") == true and doesFileExist(actual .."/System/Respaldo/NTSC") == false then
			System.copyFile(actual .."/System/Respaldo/RetroarchPS2_PAL/".. directorios_ori[sistema] .."retroarch/retroarch.cfg", actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch.cfg")
		end
	end
	
	-- Edita los directorios de SNESticle. ----------------------------------------------
	barra_de_progreso(70, sistema, nil, LOADING_LOAD)
	local dirfinal = actual .."/Roms/Roms Nintendo Super Famicom/";
	if string.len(dirfinal) <= 165 then
		System.copyFile(actual .."/System/RetroarchPS2/Nintendo Super Famicom/SNESticle/RETRO", actual .."/System/RetroarchPS2/Nintendo Super Famicom/SNESticle/SNESticle")
		local Snesticle_mod = System.openFile(actual .. "/System/RetroarchPS2/Nintendo Super Famicom/SNESticle/SNESticle", FWRITE)
		System.seekFile(Snesticle_mod, 432448, CUR)
		System.writeFile(Snesticle_mod, dirfinal, string.len(dirfinal))
		System.closeFile(Snesticle_mod)
	else
		System.copyFile(actual .."/System/RetroarchPS2/Nintendo Super Famicom/SNESticle/DEFAULT", actual .."/System/RetroarchPS2/Nintendo Super Famicom/SNESticle/SNESticle")
	end

	-- Crear archivos de retorno a RETROLauncher. ---------------------------------------
	barra_de_progreso(75, sistema, nil, LOADING_LOAD)
	local salamander_def = "libretro_path = \"".. actual .."/RETROLauncher.elf\""
	if doesFileExist(actual .."/System/Respaldo/RetroarchPS2/retroarch-salamander.cfg") then
		System.removeFile(actual .."/System/Respaldo/RetroarchPS2/retroarch-salamander.cfg")
	end
	local salamander = System.openFile(actual .."/System/Respaldo/RetroarchPS2/retroarch-salamander.cfg", FCREATE)
	System.writeFile(salamander, salamander_def, string.len(salamander_def))
	System.closeFile(salamander)
	for sistema = 1, #directorios_ori do
		barra_de_progreso(6*(sistema+1), sistema, nil, LOADING_LOAD)
		System.copyFile(actual .."/System/Respaldo/RetroarchPS2/retroarch-salamander.cfg", actual .."/System/RetroarchPS2/".. directorios_ori[sistema] .."retroarch/retroarch-salamander.cfg")
	end
	System.copyFile(actual .."/System/Respaldo/RetroarchPS2/retroarch-salamander.cfg", actual .."/System/Respaldo/RetroarchPS2_PAL/retroarch-salamander.cfg")

	System.sleep(2)
	Graphics.freeImage(FONDO_LOAD)
	Graphics.freeImage(LOADING_LOAD)
	Font.ftUnload(fontARCA)
	System.loadELF(actual .."/RETROLauncher.elf", 0, actual .. "/System/system.lua")
end

--- Ejecutar reubicación. ---------------------------------------------------------------
while true do
	refrescar()
	relocation_dir()
end
--[[------------------SPAGHETTICODE-------------------]]--