mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 19:21:33 +00:00
2655 lines
102 KiB
C
2655 lines
102 KiB
C
/* RetroArch - A frontend for libretro.
|
|
* Copyright (C) 2011-2015 - Daniel De Matteis
|
|
*
|
|
*
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#include <compat/strl.h>
|
|
|
|
#include "../menu_hash.h"
|
|
#include "../../configuration.h"
|
|
|
|
static const char *menu_hash_to_str_us_label(uint32_t hash)
|
|
{
|
|
switch (hash)
|
|
{
|
|
case MENU_LABEL_CHEEVOS_USERNAME:
|
|
return "cheevos_username";
|
|
case MENU_LABEL_CHEEVOS_PASSWORD:
|
|
return "cheevos_password";
|
|
case MENU_LABEL_ACCOUNTS_CHEEVOS_USERNAME:
|
|
return "accounts_cheevos_username";
|
|
case MENU_LABEL_ACCOUNTS_CHEEVOS_PASSWORD:
|
|
return "accounts_cheevos_password";
|
|
case MENU_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS:
|
|
return "retro_achievements";
|
|
case MENU_LABEL_DEFERRED_ACCOUNTS_CHEEVOS_LIST:
|
|
return "deferred_accounts_cheevos_list";
|
|
case MENU_LABEL_DEFERRED_USER_BINDS_LIST:
|
|
return "deferred_user_binds_list";
|
|
case MENU_LABEL_DEFERRED_ACCOUNTS_LIST:
|
|
return "deferred_accounts_list";
|
|
case MENU_LABEL_DEFERRED_INPUT_SETTINGS_LIST:
|
|
return "deferred_input_settings_list";
|
|
case MENU_LABEL_ACCOUNTS_LIST:
|
|
return "accounts_list";
|
|
case MENU_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST:
|
|
return "deferred_input_hotkey_binds";
|
|
case MENU_LABEL_INPUT_HOTKEY_BINDS:
|
|
return "input_hotkey_binds";
|
|
case MENU_LABEL_INPUT_HOTKEY_BINDS_BEGIN:
|
|
return "input_hotkey_binds_begin";
|
|
case MENU_LABEL_INPUT_SETTINGS_BEGIN:
|
|
return "input_settings_begin";
|
|
case MENU_LABEL_PLAYLIST_SETTINGS_BEGIN:
|
|
return "playlist_settings_begin";
|
|
case MENU_LABEL_PLAYLIST_SETTINGS:
|
|
return "playlist_settings";
|
|
case MENU_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
|
return "deferred_playlist_settings";
|
|
case MENU_LABEL_INPUT_SETTINGS:
|
|
return "input_settings";
|
|
case MENU_LABEL_DEBUG_PANEL_ENABLE:
|
|
return "debug_panel_enable";
|
|
case MENU_LABEL_HELP_SCANNING_CONTENT:
|
|
return "help_scanning_content";
|
|
case MENU_LABEL_HELP_AUDIO_VIDEO_TROUBLESHOOTING:
|
|
return "help_audio_video_troubleshooting";
|
|
case MENU_LABEL_HELP_CHANGE_VIRTUAL_GAMEPAD:
|
|
return "help_change_virtual_gamepad";
|
|
case MENU_LABEL_HELP_WHAT_IS_A_CORE:
|
|
return "help_what_is_a_core";
|
|
case MENU_LABEL_HELP_LOADING_CONTENT:
|
|
return "help_loading_content";
|
|
case MENU_LABEL_HELP_LIST:
|
|
return "help_list";
|
|
case MENU_LABEL_HELP_CONTROLS:
|
|
return "help_controls";
|
|
case MENU_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE:
|
|
return "deferred_archive_open_detect_core";
|
|
case MENU_LABEL_DEFERRED_ARCHIVE_OPEN:
|
|
return "deferred_archive_open";
|
|
case MENU_LABEL_LOAD_ARCHIVE_DETECT_CORE:
|
|
return "load_archive_detect_core";
|
|
case MENU_LABEL_LOAD_ARCHIVE:
|
|
return "load_archive";
|
|
case MENU_LABEL_DEFERRED_ARCHIVE_ACTION_DETECT_CORE:
|
|
return "deferred_archive_action_detect_core";
|
|
case MENU_LABEL_DEFERRED_ARCHIVE_ACTION:
|
|
return "deferred_archive_action";
|
|
case MENU_LABEL_OPEN_ARCHIVE_DETECT_CORE:
|
|
return "open_archive_detect_core";
|
|
case MENU_LABEL_OPEN_ARCHIVE:
|
|
return "open_archive";
|
|
case MENU_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE:
|
|
return "back_as_menu_toggle_enable";
|
|
case MENU_LABEL_INPUT_MENU_TOGGLE_GAMEPAD_COMBO:
|
|
return "input_menu_toggle_gamepad_combo";
|
|
case MENU_LABEL_INPUT_OVERLAY_HIDE_IN_MENU:
|
|
return "overlay_hide_in_menu";
|
|
case MENU_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE:
|
|
return "no_playlist_entries_available";
|
|
case MENU_LABEL_DOWNLOADED_FILE_DETECT_CORE_LIST:
|
|
return "downloaded_file_detect_core_list";
|
|
case MENU_LABEL_UPDATE_CORE_INFO_FILES:
|
|
return "update_core_info_files";
|
|
case MENU_LABEL_DEFERRED_CORE_CONTENT_LIST:
|
|
return "deferred_core_content_list";
|
|
case MENU_LABEL_DOWNLOAD_CORE_CONTENT:
|
|
return "download_core_content";
|
|
case MENU_LABEL_SCAN_THIS_DIRECTORY:
|
|
return "scan_this_directory";
|
|
case MENU_LABEL_SCAN_FILE:
|
|
return "scan_file";
|
|
case MENU_LABEL_SCAN_DIRECTORY:
|
|
return "scan_directory";
|
|
case MENU_LABEL_ADD_CONTENT_LIST:
|
|
return "add_content";
|
|
case MENU_LABEL_OVERLAY_AUTOLOAD_PREFERRED:
|
|
return "overlay_autoload_preferred";
|
|
case MENU_LABEL_INFORMATION_LIST:
|
|
return "information_list";
|
|
case MENU_LABEL_USE_BUILTIN_PLAYER:
|
|
return "use_builtin_player";
|
|
case MENU_LABEL_CONTENT_SETTINGS:
|
|
return "quick_menu";
|
|
case MENU_LABEL_LOAD_CONTENT_LIST:
|
|
return "load_content";
|
|
case MENU_LABEL_NO_SETTINGS_FOUND:
|
|
return "menu_label_no_settings_found";
|
|
case MENU_LABEL_SYSTEM_BGM_ENABLE:
|
|
return "system_bgm_enable";
|
|
case MENU_LABEL_AUDIO_BLOCK_FRAMES:
|
|
return "audio_block_frames";
|
|
case MENU_LABEL_AUTOCONFIG_DESCRIPTOR_LABEL_SHOW:
|
|
return "autoconfig_descriptor_label_show";
|
|
case MENU_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW:
|
|
return "input_descriptor_label_show";
|
|
case MENU_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND:
|
|
return "input_descriptor_hide_unbound";
|
|
case MENU_LABEL_VIDEO_FONT_ENABLE:
|
|
return "video_font_enable";
|
|
case MENU_LABEL_VIDEO_FONT_PATH:
|
|
return "video_font_path";
|
|
case MENU_LABEL_VIDEO_FONT_SIZE:
|
|
return "video_font_size";
|
|
case MENU_LABEL_VIDEO_MESSAGE_POS_X:
|
|
return "video_message_pos_x";
|
|
case MENU_LABEL_VIDEO_MESSAGE_POS_Y:
|
|
return "video_message_pos_y";
|
|
case MENU_LABEL_VIDEO_SOFT_FILTER:
|
|
return "soft_filter";
|
|
case MENU_LABEL_VIDEO_FILTER_FLICKER:
|
|
return "video_filter_flicker";
|
|
case MENU_LABEL_INPUT_REMAPPING_DIRECTORY:
|
|
return "input_remapping_directory";
|
|
case MENU_LABEL_JOYPAD_AUTOCONFIG_DIR:
|
|
return "joypad_autoconfig_dir";
|
|
case MENU_LABEL_RECORDING_CONFIG_DIRECTORY:
|
|
return "recording_config_directory";
|
|
case MENU_LABEL_RECORDING_OUTPUT_DIRECTORY:
|
|
return "recording_output_directory";
|
|
case MENU_LABEL_SCREENSHOT_DIRECTORY:
|
|
return "screenshot_directory";
|
|
case MENU_LABEL_PLAYLIST_DIRECTORY:
|
|
return "playlist_directory";
|
|
case MENU_LABEL_SAVEFILE_DIRECTORY:
|
|
return "savefile_directory";
|
|
case MENU_LABEL_SAVESTATE_DIRECTORY:
|
|
return "savestate_directory";
|
|
case MENU_LABEL_STDIN_CMD_ENABLE:
|
|
return "stdin_commands";
|
|
case MENU_LABEL_VIDEO_DRIVER:
|
|
return "video_driver";
|
|
case MENU_LABEL_RECORD_ENABLE:
|
|
return "record_enable";
|
|
case MENU_LABEL_VIDEO_GPU_RECORD:
|
|
return "video_gpu_record";
|
|
case MENU_LABEL_RECORD_PATH:
|
|
return "record_path";
|
|
case MENU_LABEL_RECORD_USE_OUTPUT_DIRECTORY:
|
|
return "record_use_output_directory";
|
|
case MENU_LABEL_RECORD_CONFIG:
|
|
return "record_config";
|
|
case MENU_LABEL_VIDEO_POST_FILTER_RECORD:
|
|
return "video_post_filter_record";
|
|
case MENU_LABEL_CORE_ASSETS_DIRECTORY:
|
|
return "core_assets_directory";
|
|
case MENU_LABEL_ASSETS_DIRECTORY:
|
|
return "assets_directory";
|
|
case MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
|
|
return "dynamic_wallpapers_directory";
|
|
case MENU_LABEL_BOXARTS_DIRECTORY:
|
|
return "boxarts_directory";
|
|
case MENU_LABEL_RGUI_BROWSER_DIRECTORY:
|
|
return "rgui_browser_directory";
|
|
case MENU_LABEL_RGUI_CONFIG_DIRECTORY:
|
|
return "rgui_config_directory";
|
|
case MENU_LABEL_LIBRETRO_INFO_PATH:
|
|
return "libretro_info_path";
|
|
case MENU_LABEL_LIBRETRO_DIR_PATH:
|
|
return "libretro_dir_path";
|
|
case MENU_LABEL_CURSOR_DIRECTORY:
|
|
return "cursor_directory";
|
|
case MENU_LABEL_CONTENT_DATABASE_DIRECTORY:
|
|
return "content_database_path";
|
|
case MENU_LABEL_SYSTEM_DIRECTORY:
|
|
return "system_directory";
|
|
case MENU_LABEL_CACHE_DIRECTORY:
|
|
return "cache_directory";
|
|
case MENU_LABEL_CHEAT_DATABASE_PATH:
|
|
return "cheat_database_path";
|
|
case MENU_LABEL_AUDIO_FILTER_DIR:
|
|
return "audio_filter_dir";
|
|
case MENU_LABEL_VIDEO_FILTER_DIR:
|
|
return "video_filter_dir";
|
|
case MENU_LABEL_VIDEO_SHADER_DIR:
|
|
return "video_shader_dir";
|
|
case MENU_LABEL_OVERLAY_DIRECTORY:
|
|
return "overlay_directory";
|
|
case MENU_LABEL_OSK_OVERLAY_DIRECTORY:
|
|
return "osk_overlay_directory";
|
|
case MENU_LABEL_NETPLAY_CLIENT_SWAP_INPUT:
|
|
return "netplay_client_swap_input";
|
|
case MENU_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE:
|
|
return "netplay_spectator_mode_enable";
|
|
case MENU_LABEL_NETPLAY_IP_ADDRESS:
|
|
return "netplay_ip_address";
|
|
case MENU_LABEL_NETPLAY_TCP_UDP_PORT:
|
|
return "netplay_tcp_udp_port";
|
|
case MENU_LABEL_NETPLAY_ENABLE:
|
|
return "netplay_enable";
|
|
case MENU_LABEL_NETPLAY_DELAY_FRAMES:
|
|
return "netplay_delay_frames";
|
|
case MENU_LABEL_NETPLAY_MODE:
|
|
return "netplay_mode";
|
|
case MENU_LABEL_RGUI_SHOW_START_SCREEN:
|
|
return "rgui_show_start_screen";
|
|
case MENU_LABEL_TITLE_COLOR:
|
|
return "menu_title_color";
|
|
case MENU_LABEL_ENTRY_HOVER_COLOR:
|
|
return "menu_entry_hover_color";
|
|
case MENU_LABEL_TIMEDATE_ENABLE:
|
|
return "menu_timedate_enable";
|
|
case MENU_LABEL_THREADED_DATA_RUNLOOP_ENABLE:
|
|
return "threaded_data_runloop_enable";
|
|
case MENU_LABEL_ENTRY_NORMAL_COLOR:
|
|
return "menu_entry_normal_color";
|
|
case MENU_LABEL_SHOW_ADVANCED_SETTINGS:
|
|
return "menu_show_advanced_settings";
|
|
case MENU_LABEL_MOUSE_ENABLE:
|
|
return "menu_mouse_enable";
|
|
case MENU_LABEL_POINTER_ENABLE:
|
|
return "menu_pointer_enable";
|
|
case MENU_LABEL_CORE_ENABLE:
|
|
return "menu_core_enable";
|
|
case MENU_LABEL_DPI_OVERRIDE_ENABLE:
|
|
return "dpi_override_enable";
|
|
case MENU_LABEL_DPI_OVERRIDE_VALUE:
|
|
return "dpi_override_value";
|
|
case MENU_LABEL_SUSPEND_SCREENSAVER_ENABLE:
|
|
return "suspend_screensaver_enable";
|
|
case MENU_LABEL_VIDEO_DISABLE_COMPOSITION:
|
|
return "video_disable_composition";
|
|
case MENU_LABEL_PAUSE_NONACTIVE:
|
|
return "pause_nonactive";
|
|
case MENU_LABEL_UI_COMPANION_START_ON_BOOT:
|
|
return "ui_companion_start_on_boot";
|
|
case MENU_LABEL_UI_MENUBAR_ENABLE:
|
|
return "ui_menubar_enable";
|
|
case MENU_LABEL_ARCHIVE_MODE:
|
|
return "archive_mode";
|
|
case MENU_LABEL_NETWORK_CMD_ENABLE:
|
|
return "network_cmd_enable";
|
|
case MENU_LABEL_NETWORK_CMD_PORT:
|
|
return "network_cmd_port";
|
|
case MENU_LABEL_HISTORY_LIST_ENABLE:
|
|
return "history_list_enable";
|
|
case MENU_LABEL_CONTENT_HISTORY_SIZE:
|
|
return "Content History Size";
|
|
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
|
|
return "video_refresh_rate_auto";
|
|
case MENU_LABEL_DUMMY_ON_CORE_SHUTDOWN:
|
|
return "dummy_on_core_shutdown";
|
|
case MENU_LABEL_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE:
|
|
return "core_set_supports_no_content_enable";
|
|
case MENU_LABEL_FRAME_THROTTLE_ENABLE:
|
|
return "fastforward_ratio_throttle_enable";
|
|
case MENU_LABEL_FASTFORWARD_RATIO:
|
|
return "fastforward_ratio";
|
|
case MENU_LABEL_AUTO_REMAPS_ENABLE:
|
|
return "auto_remaps_enable";
|
|
case MENU_LABEL_SLOWMOTION_RATIO:
|
|
return "slowmotion_ratio";
|
|
case MENU_LABEL_CORE_SPECIFIC_CONFIG:
|
|
return "core_specific_config";
|
|
case MENU_LABEL_AUTO_OVERRIDES_ENABLE:
|
|
return "auto_overrides_enable";
|
|
case MENU_LABEL_CONFIG_SAVE_ON_EXIT:
|
|
return "config_save_on_exit";
|
|
case MENU_LABEL_VIDEO_SMOOTH:
|
|
return "video_smooth";
|
|
case MENU_LABEL_VIDEO_GAMMA:
|
|
return "video_gamma";
|
|
case MENU_LABEL_VIDEO_ALLOW_ROTATE:
|
|
return "video_allow_rotate";
|
|
case MENU_LABEL_VIDEO_HARD_SYNC:
|
|
return "video_hard_sync";
|
|
case MENU_LABEL_VIDEO_SWAP_INTERVAL:
|
|
return "video_swap_interval";
|
|
case MENU_LABEL_VIDEO_VSYNC:
|
|
return "video_vsync";
|
|
case MENU_LABEL_VIDEO_THREADED:
|
|
return "video_threaded";
|
|
case MENU_LABEL_VIDEO_ROTATION:
|
|
return "video_rotation";
|
|
case MENU_LABEL_VIDEO_GPU_SCREENSHOT:
|
|
return "video_gpu_screenshot";
|
|
case MENU_LABEL_VIDEO_CROP_OVERSCAN:
|
|
return "video_crop_overscan";
|
|
case MENU_LABEL_VIDEO_ASPECT_RATIO_INDEX:
|
|
return "aspect_ratio_index";
|
|
case MENU_LABEL_VIDEO_ASPECT_RATIO_AUTO:
|
|
return "video_aspect_ratio_auto";
|
|
case MENU_LABEL_VIDEO_FORCE_ASPECT:
|
|
return "video_force_aspect";
|
|
case MENU_LABEL_VIDEO_REFRESH_RATE:
|
|
return "video_refresh_rate";
|
|
case MENU_LABEL_VIDEO_FORCE_SRGB_DISABLE:
|
|
return "video_force_srgb_disable";
|
|
case MENU_LABEL_VIDEO_WINDOWED_FULLSCREEN:
|
|
return "video_windowed_fullscreen";
|
|
case MENU_LABEL_PAL60_ENABLE:
|
|
return "pal60_enable";
|
|
case MENU_LABEL_VIDEO_VFILTER:
|
|
return "video_vfilter";
|
|
case MENU_LABEL_VIDEO_VI_WIDTH:
|
|
return "video_vi_width";
|
|
case MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION:
|
|
return "video_black_frame_insertion";
|
|
case MENU_LABEL_VIDEO_HARD_SYNC_FRAMES:
|
|
return "video_hard_sync_frames";
|
|
case MENU_LABEL_SORT_SAVEFILES_ENABLE:
|
|
return "sort_savefiles_enable";
|
|
case MENU_LABEL_SORT_SAVESTATES_ENABLE:
|
|
return "sort_savestates_enable";
|
|
case MENU_LABEL_VIDEO_FULLSCREEN:
|
|
return "video_fullscreen";
|
|
case MENU_LABEL_PERFCNT_ENABLE:
|
|
return "perfcnt_enable";
|
|
case MENU_LABEL_VIDEO_SCALE:
|
|
return "video_scale";
|
|
case MENU_LABEL_VIDEO_SCALE_INTEGER:
|
|
return "video_scale_integer";
|
|
case MENU_LABEL_LIBRETRO_LOG_LEVEL:
|
|
return "libretro_log_level";
|
|
case MENU_LABEL_LOG_VERBOSITY:
|
|
return "log_verbosity";
|
|
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
|
|
return "savestate_auto_save";
|
|
case MENU_LABEL_SAVESTATE_AUTO_LOAD:
|
|
return "savestate_auto_load";
|
|
case MENU_LABEL_SAVESTATE_AUTO_INDEX:
|
|
return "savestate_auto_index";
|
|
case MENU_LABEL_AUTOSAVE_INTERVAL:
|
|
return "autosave_interval";
|
|
case MENU_LABEL_BLOCK_SRAM_OVERWRITE:
|
|
return "block_sram_overwrite";
|
|
case MENU_LABEL_VIDEO_SHARED_CONTEXT:
|
|
return "video_shared_context";
|
|
case MENU_LABEL_RESTART_RETROARCH:
|
|
return "restart_retroarch";
|
|
case MENU_LABEL_NETPLAY_NICKNAME:
|
|
return "netplay_nickname";
|
|
case MENU_LABEL_USER_LANGUAGE:
|
|
return "user_language";
|
|
case MENU_LABEL_CAMERA_ALLOW:
|
|
return "camera_allow";
|
|
case MENU_LABEL_LOCATION_ALLOW:
|
|
return "location_allow";
|
|
case MENU_LABEL_PAUSE_LIBRETRO:
|
|
return "menu_pause_libretro";
|
|
case MENU_LABEL_INPUT_OSK_OVERLAY_ENABLE:
|
|
return "input_osk_overlay_enable";
|
|
case MENU_LABEL_INPUT_OVERLAY_ENABLE:
|
|
return "input_overlay_enable";
|
|
case MENU_LABEL_VIDEO_MONITOR_INDEX:
|
|
return "video_monitor_index";
|
|
case MENU_LABEL_VIDEO_FRAME_DELAY:
|
|
return "video_frame_delay";
|
|
case MENU_LABEL_INPUT_DUTY_CYCLE:
|
|
return "input_duty_cycle";
|
|
case MENU_LABEL_INPUT_TURBO_PERIOD:
|
|
return "input_turbo_period";
|
|
case MENU_LABEL_INPUT_AXIS_THRESHOLD:
|
|
return "input_axis_threshold";
|
|
case MENU_LABEL_INPUT_REMAP_BINDS_ENABLE:
|
|
return "input_remap_binds_enable";
|
|
case MENU_LABEL_INPUT_MAX_USERS:
|
|
return "input_max_users";
|
|
case MENU_LABEL_INPUT_AUTODETECT_ENABLE:
|
|
return "input_autodetect_enable";
|
|
case MENU_LABEL_AUDIO_OUTPUT_RATE:
|
|
return "audio_output_rate";
|
|
case MENU_LABEL_AUDIO_MAX_TIMING_SKEW:
|
|
return "audio_max_timing_skew";
|
|
case MENU_LABEL_CHEAT_APPLY_CHANGES:
|
|
return "cheat_apply_changes";
|
|
case MENU_LABEL_REMAP_FILE_SAVE_CORE:
|
|
return "remap_file_save_core";
|
|
case MENU_LABEL_REMAP_FILE_SAVE_GAME:
|
|
return "remap_file_save_game";
|
|
case MENU_LABEL_CHEAT_NUM_PASSES:
|
|
return "cheat_num_passes";
|
|
case MENU_LABEL_SHADER_APPLY_CHANGES:
|
|
return "shader_apply_changes";
|
|
case MENU_LABEL_COLLECTION:
|
|
return "collection";
|
|
case MENU_LABEL_REWIND_ENABLE:
|
|
return "rewind_enable";
|
|
case MENU_LABEL_CONTENT_COLLECTION_LIST:
|
|
return "select_from_collection";
|
|
case MENU_LABEL_DETECT_CORE_LIST:
|
|
return "detect_core_list";
|
|
case MENU_LABEL_LOAD_CONTENT_HISTORY:
|
|
return "load_recent";
|
|
case MENU_LABEL_AUDIO_ENABLE:
|
|
return "audio_enable";
|
|
case MENU_LABEL_FPS_SHOW:
|
|
return "fps_show";
|
|
case MENU_LABEL_AUDIO_MUTE:
|
|
return "audio_mute_enable";
|
|
case MENU_LABEL_VIDEO_SHADER_PASS:
|
|
return "video_shader_pass";
|
|
case MENU_LABEL_AUDIO_VOLUME:
|
|
return "audio_volume";
|
|
case MENU_LABEL_AUDIO_SYNC:
|
|
return "audio_sync";
|
|
case MENU_LABEL_AUDIO_RATE_CONTROL_DELTA:
|
|
return "audio_rate_control_delta";
|
|
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
|
|
return "video_shader_filter_pass";
|
|
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
|
|
return "video_shader_scale_pass";
|
|
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
|
|
return "video_shader_num_passes";
|
|
case MENU_LABEL_RDB_ENTRY_DESCRIPTION:
|
|
return "rdb_entry_description";
|
|
case MENU_LABEL_RDB_ENTRY_ORIGIN:
|
|
return "rdb_entry_origin";
|
|
case MENU_LABEL_RDB_ENTRY_PUBLISHER:
|
|
return "rdb_entry_publisher";
|
|
case MENU_LABEL_RDB_ENTRY_DEVELOPER:
|
|
return "rdb_entry_developer";
|
|
case MENU_LABEL_RDB_ENTRY_FRANCHISE:
|
|
return "rdb_entry_franchise";
|
|
case MENU_LABEL_RDB_ENTRY_MAX_USERS:
|
|
return "rdb_entry_max_users";
|
|
case MENU_LABEL_RDB_ENTRY_NAME:
|
|
return "rdb_entry_name";
|
|
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_RATING:
|
|
return "rdb_entry_edge_magazine_rating";
|
|
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_REVIEW:
|
|
return "rdb_entry_edge_magazine_review";
|
|
case MENU_LABEL_RDB_ENTRY_FAMITSU_MAGAZINE_RATING:
|
|
return "rdb_entry_famitsu_magazine_rating";
|
|
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_ISSUE:
|
|
return "rdb_entry_edge_magazine_issue";
|
|
case MENU_LABEL_RDB_ENTRY_RELEASE_MONTH:
|
|
return "rdb_entry_releasemonth";
|
|
case MENU_LABEL_RDB_ENTRY_RELEASE_YEAR:
|
|
return "rdb_entry_releaseyear";
|
|
case MENU_LABEL_RDB_ENTRY_ENHANCEMENT_HW:
|
|
return "rdb_entry_enhancement_hw";
|
|
case MENU_LABEL_RDB_ENTRY_SHA1:
|
|
return "rdb_entry_sha1";
|
|
case MENU_LABEL_RDB_ENTRY_CRC32:
|
|
return "rdb_entry_crc32";
|
|
case MENU_LABEL_RDB_ENTRY_MD5:
|
|
return "rdb_entry_md5";
|
|
case MENU_LABEL_RDB_ENTRY_BBFC_RATING:
|
|
return "rdb_entry_bbfc_rating";
|
|
case MENU_LABEL_RDB_ENTRY_ESRB_RATING:
|
|
return "rdb_entry_esrb_rating";
|
|
case MENU_LABEL_RDB_ENTRY_ELSPA_RATING:
|
|
return "rdb_entry_elspa_rating";
|
|
case MENU_LABEL_RDB_ENTRY_PEGI_RATING:
|
|
return "rdb_entry_pegi_rating";
|
|
case MENU_LABEL_RDB_ENTRY_CERO_RATING:
|
|
return "rdb_entry_cero_rating";
|
|
case MENU_LABEL_RDB_ENTRY_ANALOG:
|
|
return "rdb_entry_analog";
|
|
case MENU_LABEL_CONFIGURATIONS:
|
|
return "configurations";
|
|
case MENU_LABEL_LOAD_OPEN_ZIP:
|
|
return "load_open_zip";
|
|
case MENU_LABEL_REWIND_GRANULARITY:
|
|
return "rewind_granularity";
|
|
case MENU_LABEL_REMAP_FILE_LOAD:
|
|
return "remap_file_load";
|
|
case MENU_LABEL_REMAP_FILE_SAVE_AS:
|
|
return "remap_file_save_as";
|
|
case MENU_LABEL_CUSTOM_RATIO:
|
|
return "custom_ratio";
|
|
case MENU_LABEL_USE_THIS_DIRECTORY:
|
|
return "use_this_directory";
|
|
case MENU_LABEL_RDB_ENTRY_START_CONTENT:
|
|
return "rdb_entry_start_content";
|
|
case MENU_LABEL_CUSTOM_BIND:
|
|
return "custom_bind";
|
|
case MENU_LABEL_CUSTOM_BIND_ALL:
|
|
return "custom_bind_all";
|
|
case MENU_LABEL_DISK_OPTIONS:
|
|
return "core_disk_options";
|
|
case MENU_LABEL_CORE_CHEAT_OPTIONS:
|
|
return "core_cheat_options";
|
|
case MENU_LABEL_CORE_OPTIONS:
|
|
return "core_options";
|
|
case MENU_LABEL_DATABASE_MANAGER_LIST:
|
|
return "database_manager_list";
|
|
case MENU_LABEL_DEFERRED_DATABASE_MANAGER_LIST:
|
|
return "deferred_database_manager_list";
|
|
case MENU_LABEL_CURSOR_MANAGER_LIST:
|
|
return "cursor_manager_list";
|
|
case MENU_LABEL_DEFERRED_CURSOR_MANAGER_LIST:
|
|
return "deferred_cursor_manager_list";
|
|
case MENU_LABEL_CHEAT_FILE_LOAD:
|
|
return "cheat_file_load";
|
|
case MENU_LABEL_CHEAT_FILE_SAVE_AS:
|
|
return "cheat_file_save_as";
|
|
case MENU_LABEL_DEFERRED_RDB_ENTRY_DETAIL:
|
|
return "deferred_rdb_entry_detail";
|
|
case MENU_LABEL_FRONTEND_COUNTERS:
|
|
return "frontend_counters";
|
|
case MENU_LABEL_CORE_COUNTERS:
|
|
return "core_counters";
|
|
case MENU_LABEL_DISK_CYCLE_TRAY_STATUS:
|
|
return "disk_cycle_tray_status";
|
|
case MENU_LABEL_DISK_IMAGE_APPEND:
|
|
return "disk_image_append";
|
|
case MENU_LABEL_DEFERRED_CORE_LIST:
|
|
return "deferred_core_list";
|
|
case MENU_LABEL_DEFERRED_CORE_LIST_SET:
|
|
return "deferred_core_list_set";
|
|
case MENU_LABEL_INFO_SCREEN:
|
|
return "info_screen";
|
|
case MENU_LABEL_SETTINGS:
|
|
return "settings";
|
|
case MENU_LABEL_QUIT_RETROARCH:
|
|
return "quit_retroarch";
|
|
case MENU_LABEL_HELP:
|
|
return "help";
|
|
case MENU_LABEL_SAVE_NEW_CONFIG:
|
|
return "save_new_config";
|
|
case MENU_LABEL_RESTART_CONTENT:
|
|
return "restart_content";
|
|
case MENU_LABEL_TAKE_SCREENSHOT:
|
|
return "take_screenshot";
|
|
case MENU_LABEL_CORE_UPDATER_LIST:
|
|
return "core_updater_list";
|
|
case MENU_LABEL_CORE_UPDATER_BUILDBOT_URL:
|
|
return "core_updater_buildbot_url";
|
|
case MENU_LABEL_BUILDBOT_ASSETS_URL:
|
|
return "buildbot_assets_url";
|
|
case MENU_LABEL_NAVIGATION_WRAPAROUND:
|
|
return "menu_navigation_wraparound_enable";
|
|
case MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
|
|
return "menu_navigation_browser_filter_supported_extensions_enable";
|
|
case MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
|
|
return "core_updater_auto_extract_archive";
|
|
case MENU_LABEL_DEBUG_INFORMATION:
|
|
return "debug_information";
|
|
case MENU_LABEL_SYSTEM_INFORMATION:
|
|
return "system_information";
|
|
case MENU_LABEL_ONLINE_UPDATER:
|
|
return "online_updater";
|
|
case MENU_LABEL_CORE_INFORMATION:
|
|
return "core_information";
|
|
case MENU_LABEL_CORE_LIST:
|
|
return "load_core";
|
|
case MENU_LABEL_LOAD_CONTENT:
|
|
return "load_content_default";
|
|
case MENU_LABEL_CLOSE_CONTENT:
|
|
return "unload_core";
|
|
case MENU_LABEL_MANAGEMENT:
|
|
return "database_settings";
|
|
case MENU_LABEL_SAVE_STATE:
|
|
return "savestate";
|
|
case MENU_LABEL_LOAD_STATE:
|
|
return "loadstate";
|
|
case MENU_LABEL_RESUME_CONTENT:
|
|
return "resume_content";
|
|
case MENU_LABEL_INPUT_DRIVER:
|
|
return "input_driver";
|
|
case MENU_LABEL_AUDIO_DRIVER:
|
|
return "audio_driver";
|
|
case MENU_LABEL_JOYPAD_DRIVER:
|
|
return "input_joypad_driver";
|
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER:
|
|
return "audio_resampler_driver";
|
|
case MENU_LABEL_RECORD_DRIVER:
|
|
return "record_driver";
|
|
case MENU_LABEL_MENU_DRIVER:
|
|
return "menu_driver";
|
|
case MENU_LABEL_CAMERA_DRIVER:
|
|
return "camera_driver";
|
|
case MENU_LABEL_LOCATION_DRIVER:
|
|
return "location_driver";
|
|
case MENU_LABEL_OVERLAY_SCALE:
|
|
return "input_overlay_scale";
|
|
case MENU_LABEL_OVERLAY_PRESET:
|
|
return "input_overlay";
|
|
case MENU_LABEL_KEYBOARD_OVERLAY_PRESET:
|
|
return "input_osk_overlay";
|
|
case MENU_LABEL_AUDIO_DEVICE:
|
|
return "audio_device";
|
|
case MENU_LABEL_AUDIO_LATENCY:
|
|
return "audio_latency";
|
|
case MENU_LABEL_OVERLAY_OPACITY:
|
|
return "input_overlay_opacity";
|
|
case MENU_LABEL_MENU_WALLPAPER:
|
|
return "menu_wallpaper";
|
|
case MENU_LABEL_DYNAMIC_WALLPAPER:
|
|
return "menu_dynamic_wallpaper_enable";
|
|
case MENU_LABEL_BOXART:
|
|
return "menu_boxart_enable";
|
|
case MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
|
|
return "core_input_remapping_options";
|
|
case MENU_LABEL_SHADER_OPTIONS:
|
|
return "shader_options";
|
|
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
|
|
return "video_shader_parameters";
|
|
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
|
|
return "video_shader_preset_parameters";
|
|
case MENU_LABEL_VIDEO_SHADER_PRESET_SAVE_AS:
|
|
return "video_shader_preset_save_as";
|
|
case MENU_LABEL_VIDEO_SHADER_PRESET:
|
|
return "video_shader_preset";
|
|
case MENU_LABEL_VIDEO_FILTER:
|
|
return "video_filter";
|
|
case MENU_LABEL_DEFERRED_VIDEO_FILTER:
|
|
return "deferred_video_filter";
|
|
case MENU_LABEL_DEFERRED_CORE_UPDATER_LIST:
|
|
return "core_updater";
|
|
case MENU_LABEL_AUDIO_DSP_PLUGIN:
|
|
return "audio_dsp_plugin";
|
|
case MENU_LABEL_UPDATE_ASSETS:
|
|
return "update_assets";
|
|
case MENU_LABEL_UPDATE_CHEATS:
|
|
return "update_cheats";
|
|
case MENU_LABEL_UPDATE_AUTOCONFIG_PROFILES:
|
|
return "update_autoconfig_profiles";
|
|
case MENU_LABEL_UPDATE_AUTOCONFIG_PROFILES_HID:
|
|
return "update_autoconfig_profiles_hid";
|
|
case MENU_LABEL_UPDATE_DATABASES:
|
|
return "update_databases";
|
|
case MENU_LABEL_UPDATE_OVERLAYS:
|
|
return "update_overlays";
|
|
case MENU_LABEL_UPDATE_CG_SHADERS:
|
|
return "update_cg_shaders";
|
|
case MENU_LABEL_UPDATE_GLSL_SHADERS:
|
|
return "update_glsl_shaders";
|
|
case MENU_LABEL_SCREEN_RESOLUTION:
|
|
return "screen_resolution";
|
|
case MENU_LABEL_USE_BUILTIN_IMAGE_VIEWER:
|
|
return "use_builtin_image_viewer";
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return "null";
|
|
}
|
|
|
|
const char *menu_hash_to_str_us(uint32_t hash)
|
|
{
|
|
const char *ret = menu_hash_to_str_us_label(hash);
|
|
|
|
if (ret && strcmp(ret, "null") != 0)
|
|
return ret;
|
|
|
|
switch (hash)
|
|
{
|
|
case MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_SETTINGS:
|
|
return "Accounts Cheevos";
|
|
case MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_USERNAME:
|
|
return "Username";
|
|
case MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_PASSWORD:
|
|
return "Password";
|
|
case MENU_LABEL_VALUE_ACCOUNTS_RETRO_ACHIEVEMENTS:
|
|
return "Retro Achievements";
|
|
case MENU_LABEL_VALUE_ACCOUNTS_LIST:
|
|
return "Accounts";
|
|
case MENU_LABEL_VALUE_ACCOUNTS_LIST_END:
|
|
return "Accounts List Endpoint";
|
|
case MENU_LABEL_VALUE_DEBUG_PANEL_ENABLE:
|
|
return "Debug Panel Enable";
|
|
case MENU_LABEL_VALUE_HELP_SCANNING_CONTENT:
|
|
return "Scanning For Content";
|
|
case MENU_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING:
|
|
return "Audio/Video Troubleshooting";
|
|
case MENU_LABEL_VALUE_HELP_CHANGE_VIRTUAL_GAMEPAD:
|
|
return "Changing Virtual Gamepad Overlay";
|
|
case MENU_LABEL_VALUE_HELP_WHAT_IS_A_CORE:
|
|
return "What Is A Core?";
|
|
case MENU_LABEL_VALUE_HELP_LOADING_CONTENT:
|
|
return "Loading Content";
|
|
case MENU_LABEL_VALUE_HELP_LIST:
|
|
return "Help";
|
|
case MENU_LABEL_VALUE_HELP_CONTROLS:
|
|
return "Basic Menu Controls";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS:
|
|
return "Basic menu controls";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_SCROLL_UP:
|
|
return "Scroll Up";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_SCROLL_DOWN:
|
|
return "Scroll Down";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM:
|
|
return "Confirm/OK";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK:
|
|
return "Back";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_START:
|
|
return "Defaults";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_INFO:
|
|
return "Info";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_TOGGLE_MENU:
|
|
return "Toggle Menu";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_QUIT:
|
|
return "Quit";
|
|
case MENU_LABEL_VALUE_BASIC_MENU_CONTROLS_TOGGLE_KEYBOARD:
|
|
return "Toggle Keyboard";
|
|
case MENU_LABEL_VALUE_OPEN_ARCHIVE:
|
|
return "Open Archive As Folder";
|
|
case MENU_LABEL_VALUE_LOAD_ARCHIVE:
|
|
return "Load Archive With Core";
|
|
case MENU_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE:
|
|
return "Back As Menu Toggle Enable";
|
|
case MENU_LABEL_VALUE_INPUT_MENU_TOGGLE_GAMEPAD_COMBO:
|
|
return "Menu Toggle Gamepad Combo";
|
|
case MENU_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU:
|
|
return "Hide Overlay In Menu";
|
|
case MENU_VALUE_LANG_POLISH:
|
|
return "Polish";
|
|
case MENU_LABEL_VALUE_OVERLAY_AUTOLOAD_PREFERRED:
|
|
return "Autoload Preferred Overlay";
|
|
case MENU_LABEL_VALUE_UPDATE_CORE_INFO_FILES:
|
|
return "Update Core Info Files";
|
|
case MENU_LABEL_VALUE_DOWNLOAD_CORE_CONTENT:
|
|
return "Download Content";
|
|
case MENU_LABEL_VALUE_SCAN_THIS_DIRECTORY:
|
|
return "<Scan This Directory>";
|
|
case MENU_LABEL_VALUE_SCAN_FILE:
|
|
return "Scan File";
|
|
case MENU_LABEL_VALUE_SCAN_DIRECTORY:
|
|
return "Scan Directory";
|
|
case MENU_LABEL_VALUE_ADD_CONTENT_LIST:
|
|
return "Add Content";
|
|
case MENU_LABEL_VALUE_INFORMATION_LIST:
|
|
return "Information";
|
|
case MENU_LABEL_VALUE_USE_BUILTIN_PLAYER:
|
|
return "Use Builtin Media Player";
|
|
case MENU_LABEL_VALUE_CONTENT_SETTINGS:
|
|
return "Quick Menu";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_CRC32:
|
|
return "CRC32";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_MD5:
|
|
return "MD5";
|
|
case MENU_LABEL_VALUE_LOAD_CONTENT_LIST:
|
|
return "Load Content";
|
|
case MENU_VALUE_ASK_ARCHIVE:
|
|
return "Ask";
|
|
case MENU_LABEL_VALUE_PRIVACY_SETTINGS:
|
|
return "Privacy";
|
|
case MENU_VALUE_HORIZONTAL_MENU:
|
|
return "Horizontal Menu";
|
|
case MENU_VALUE_SETTINGS_TAB:
|
|
return "Settings tab";
|
|
case MENU_VALUE_HISTORY_TAB:
|
|
return "History tab";
|
|
case MENU_VALUE_ADD_TAB:
|
|
return "Add tab";
|
|
case MENU_LABEL_VALUE_NO_SETTINGS_FOUND:
|
|
return "No settings found.";
|
|
case MENU_LABEL_VALUE_NO_PERFORMANCE_COUNTERS:
|
|
return "No performance counters.";
|
|
case MENU_LABEL_VALUE_DRIVER_SETTINGS:
|
|
return "Driver";
|
|
case MENU_LABEL_VALUE_CONFIGURATION_SETTINGS:
|
|
return "Configuration";
|
|
case MENU_LABEL_VALUE_CORE_SETTINGS:
|
|
return "Core";
|
|
case MENU_LABEL_VALUE_VIDEO_SETTINGS:
|
|
return "Video";
|
|
case MENU_LABEL_VALUE_LOGGING_SETTINGS:
|
|
return "Logging";
|
|
case MENU_LABEL_VALUE_SAVING_SETTINGS:
|
|
return "Saving";
|
|
case MENU_LABEL_VALUE_REWIND_SETTINGS:
|
|
return "Rewind";
|
|
case MENU_VALUE_SHADER:
|
|
return "Shader";
|
|
case MENU_VALUE_CHEAT:
|
|
return "Cheat";
|
|
case MENU_VALUE_USER:
|
|
return "User";
|
|
case MENU_LABEL_VALUE_SYSTEM_BGM_ENABLE:
|
|
return "System BGM Enable";
|
|
case MENU_VALUE_RETROPAD:
|
|
return "RetroPad";
|
|
case MENU_VALUE_RETROKEYBOARD:
|
|
return "RetroKeyboard";
|
|
case MENU_LABEL_VALUE_AUDIO_BLOCK_FRAMES:
|
|
return "Block Frames";
|
|
case MENU_LABEL_VALUE_AUTOCONFIG_DESCRIPTOR_LABEL_SHOW:
|
|
return "Display Autoconfig Descriptor Labels";
|
|
case MENU_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW:
|
|
return "Display Core Input Descriptor Labels";
|
|
case MENU_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND:
|
|
return "Hide Unbound Core Input Descriptors";
|
|
case MENU_LABEL_VALUE_VIDEO_FONT_ENABLE:
|
|
return "Display OSD Message";
|
|
case MENU_LABEL_VALUE_VIDEO_FONT_PATH:
|
|
return "OSD Message Font";
|
|
case MENU_LABEL_VALUE_VIDEO_FONT_SIZE:
|
|
return "OSD Message Size";
|
|
case MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_X:
|
|
return "OSD Message X Position";
|
|
case MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_Y:
|
|
return "OSD Message Y Position";
|
|
case MENU_LABEL_VALUE_VIDEO_SOFT_FILTER:
|
|
return "Soft Filter Enable";
|
|
case MENU_LABEL_VALUE_VIDEO_FILTER_FLICKER:
|
|
return "Flicker filter";
|
|
case MENU_VALUE_DIRECTORY_CONTENT:
|
|
return "<Content dir>";
|
|
case MENU_VALUE_UNKNOWN:
|
|
return "Unknown";
|
|
case MENU_VALUE_DONT_CARE:
|
|
return "Don't care";
|
|
case MENU_VALUE_LINEAR:
|
|
return "Linear";
|
|
case MENU_VALUE_NEAREST:
|
|
return "Nearest";
|
|
case MENU_VALUE_DIRECTORY_DEFAULT:
|
|
return "<Default>";
|
|
case MENU_VALUE_DIRECTORY_NONE:
|
|
return "<None>";
|
|
case MENU_VALUE_NOT_AVAILABLE:
|
|
return "N/A";
|
|
case MENU_LABEL_VALUE_INPUT_REMAPPING_DIRECTORY:
|
|
return "Input Remapping Dir";
|
|
case MENU_LABEL_VALUE_JOYPAD_AUTOCONFIG_DIR:
|
|
return "Input Device Autoconfig Dir";
|
|
case MENU_LABEL_VALUE_RECORDING_CONFIG_DIRECTORY:
|
|
return "Recording Config Dir";
|
|
case MENU_LABEL_VALUE_RECORDING_OUTPUT_DIRECTORY:
|
|
return "Recording Output Dir";
|
|
case MENU_LABEL_VALUE_SCREENSHOT_DIRECTORY:
|
|
return "Screenshot Dir";
|
|
case MENU_LABEL_VALUE_PLAYLIST_DIRECTORY:
|
|
return "Playlist Dir";
|
|
case MENU_LABEL_VALUE_SAVEFILE_DIRECTORY:
|
|
return "Savefile Dir";
|
|
case MENU_LABEL_VALUE_SAVESTATE_DIRECTORY:
|
|
return "Savestate Dir";
|
|
case MENU_LABEL_VALUE_STDIN_CMD_ENABLE:
|
|
return "stdin Commands";
|
|
case MENU_LABEL_VALUE_VIDEO_DRIVER:
|
|
return "Video Driver";
|
|
case MENU_LABEL_VALUE_RECORD_ENABLE:
|
|
return "Record Enable";
|
|
case MENU_LABEL_VALUE_VIDEO_GPU_RECORD:
|
|
return "GPU Record Enable";
|
|
case MENU_LABEL_VALUE_RECORD_PATH:
|
|
return "Output File";
|
|
case MENU_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY:
|
|
return "Use Output Dir";
|
|
case MENU_LABEL_VALUE_RECORD_CONFIG:
|
|
return "Record Config";
|
|
case MENU_LABEL_VALUE_VIDEO_POST_FILTER_RECORD:
|
|
return "Post filter record Enable";
|
|
case MENU_LABEL_VALUE_CORE_ASSETS_DIRECTORY:
|
|
return "Downloads Dir";
|
|
case MENU_LABEL_VALUE_ASSETS_DIRECTORY:
|
|
return "Assets Dir";
|
|
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPERS_DIRECTORY:
|
|
return "Dynamic Wallpapers Dir";
|
|
case MENU_LABEL_VALUE_BOXARTS_DIRECTORY:
|
|
return "Boxarts Dir";
|
|
case MENU_LABEL_VALUE_RGUI_BROWSER_DIRECTORY:
|
|
return "File Browser Dir";
|
|
case MENU_LABEL_VALUE_RGUI_CONFIG_DIRECTORY:
|
|
return "Config Dir";
|
|
case MENU_LABEL_VALUE_LIBRETRO_INFO_PATH:
|
|
return "Core Info Dir";
|
|
case MENU_LABEL_VALUE_LIBRETRO_DIR_PATH:
|
|
return "Core Dir";
|
|
case MENU_LABEL_VALUE_CURSOR_DIRECTORY:
|
|
return "Cursor Dir";
|
|
case MENU_LABEL_VALUE_CONTENT_DATABASE_DIRECTORY:
|
|
return "Content Database Dir";
|
|
case MENU_LABEL_VALUE_SYSTEM_DIRECTORY:
|
|
return "System/BIOS Dir";
|
|
case MENU_LABEL_VALUE_CHEAT_DATABASE_PATH:
|
|
return "Cheat File Dir";
|
|
case MENU_LABEL_VALUE_CACHE_DIRECTORY:
|
|
return "Cache Dir";
|
|
case MENU_LABEL_VALUE_AUDIO_FILTER_DIR:
|
|
return "Audio Filter Dir";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_DIR:
|
|
return "Video Shader Dir";
|
|
case MENU_LABEL_VALUE_VIDEO_FILTER_DIR:
|
|
return "Video Filter Dir";
|
|
case MENU_LABEL_VALUE_OVERLAY_DIRECTORY:
|
|
return "Overlay Dir";
|
|
case MENU_LABEL_VALUE_OSK_OVERLAY_DIRECTORY:
|
|
return "OSK Overlay Dir";
|
|
case MENU_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT:
|
|
return "Swap Netplay Input";
|
|
case MENU_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE:
|
|
return "Netplay Spectator Enable";
|
|
case MENU_LABEL_VALUE_NETPLAY_IP_ADDRESS:
|
|
return "IP Address";
|
|
case MENU_LABEL_VALUE_NETPLAY_TCP_UDP_PORT:
|
|
return "Netplay TCP/UDP Port";
|
|
case MENU_LABEL_VALUE_NETPLAY_ENABLE:
|
|
return "Netplay Enable";
|
|
case MENU_LABEL_VALUE_NETPLAY_DELAY_FRAMES:
|
|
return "Netplay Delay Frames";
|
|
case MENU_LABEL_VALUE_NETPLAY_MODE:
|
|
return "Netplay Client Enable";
|
|
case MENU_LABEL_VALUE_RGUI_SHOW_START_SCREEN:
|
|
return "Show Start Screen";
|
|
case MENU_LABEL_VALUE_TITLE_COLOR:
|
|
return "Menu title color";
|
|
case MENU_LABEL_VALUE_ENTRY_HOVER_COLOR:
|
|
return "Menu entry hover color";
|
|
case MENU_LABEL_VALUE_TIMEDATE_ENABLE:
|
|
return "Display time / date";
|
|
case MENU_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE:
|
|
return "Threaded data runloop";
|
|
case MENU_LABEL_VALUE_ENTRY_NORMAL_COLOR:
|
|
return "Menu entry normal color";
|
|
case MENU_LABEL_VALUE_SHOW_ADVANCED_SETTINGS:
|
|
return "Show Advanced Settings";
|
|
case MENU_LABEL_VALUE_MOUSE_ENABLE:
|
|
return "Mouse Support";
|
|
case MENU_LABEL_VALUE_POINTER_ENABLE:
|
|
return "Touch Support";
|
|
case MENU_LABEL_VALUE_CORE_ENABLE:
|
|
return "Display core name";
|
|
case MENU_LABEL_VALUE_DPI_OVERRIDE_ENABLE:
|
|
return "DPI Override Enable";
|
|
case MENU_LABEL_VALUE_DPI_OVERRIDE_VALUE:
|
|
return "DPI Override";
|
|
case MENU_LABEL_VALUE_SUSPEND_SCREENSAVER_ENABLE:
|
|
return "Suspend Screensaver";
|
|
case MENU_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION:
|
|
return "Disable Desktop Composition";
|
|
case MENU_LABEL_VALUE_PAUSE_NONACTIVE:
|
|
return "Don't run in background";
|
|
case MENU_LABEL_VALUE_UI_COMPANION_START_ON_BOOT:
|
|
return "UI Companion Start On Boot";
|
|
case MENU_LABEL_VALUE_UI_MENUBAR_ENABLE:
|
|
return "Menubar";
|
|
case MENU_LABEL_VALUE_ARCHIVE_MODE:
|
|
return "Archive File Assocation Action";
|
|
case MENU_LABEL_VALUE_NETWORK_CMD_ENABLE:
|
|
return "Network Commands";
|
|
case MENU_LABEL_VALUE_NETWORK_CMD_PORT:
|
|
return "Network Command Port";
|
|
case MENU_LABEL_VALUE_HISTORY_LIST_ENABLE:
|
|
return "History List Enable";
|
|
case MENU_LABEL_VALUE_CONTENT_HISTORY_SIZE:
|
|
return "History List Size";
|
|
case MENU_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO:
|
|
return "Estimated Monitor Framerate";
|
|
case MENU_LABEL_VALUE_DUMMY_ON_CORE_SHUTDOWN:
|
|
return "Dummy On Core Shutdown";
|
|
case MENU_LABEL_VALUE_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE:
|
|
return "Don't automatically start a core";
|
|
case MENU_LABEL_VALUE_FRAME_THROTTLE_ENABLE:
|
|
return "Limit Maximum Run Speed";
|
|
case MENU_LABEL_VALUE_FASTFORWARD_RATIO:
|
|
return "Maximum Run Speed";
|
|
case MENU_LABEL_VALUE_AUTO_REMAPS_ENABLE:
|
|
return "Load Remap Files Automatically";
|
|
case MENU_LABEL_VALUE_SLOWMOTION_RATIO:
|
|
return "Slow-Motion Ratio";
|
|
case MENU_LABEL_VALUE_CORE_SPECIFIC_CONFIG:
|
|
return "Configuration Per-Core";
|
|
case MENU_LABEL_VALUE_AUTO_OVERRIDES_ENABLE:
|
|
return "Load Override Files Automatically";
|
|
case MENU_LABEL_VALUE_CONFIG_SAVE_ON_EXIT:
|
|
return "Save Configuration On Exit";
|
|
case MENU_LABEL_VALUE_VIDEO_SMOOTH:
|
|
return "HW Bilinear Filtering";
|
|
case MENU_LABEL_VALUE_VIDEO_GAMMA:
|
|
return "Video Gamma";
|
|
case MENU_LABEL_VALUE_VIDEO_ALLOW_ROTATE:
|
|
return "Allow rotation";
|
|
case MENU_LABEL_VALUE_VIDEO_HARD_SYNC:
|
|
return "Hard GPU Sync";
|
|
case MENU_LABEL_VALUE_VIDEO_SWAP_INTERVAL:
|
|
return "VSync Swap Interval";
|
|
case MENU_LABEL_VALUE_VIDEO_VSYNC:
|
|
return "VSync";
|
|
case MENU_LABEL_VALUE_VIDEO_THREADED:
|
|
return "Threaded Video";
|
|
case MENU_LABEL_VALUE_VIDEO_ROTATION:
|
|
return "Rotation";
|
|
case MENU_LABEL_VALUE_VIDEO_GPU_SCREENSHOT:
|
|
return "GPU Screenshot Enable";
|
|
case MENU_LABEL_VALUE_VIDEO_CROP_OVERSCAN:
|
|
return "Crop Overscan (Reload)";
|
|
case MENU_LABEL_VALUE_VIDEO_ASPECT_RATIO_INDEX:
|
|
return "Aspect Ratio Index";
|
|
case MENU_LABEL_VALUE_VIDEO_ASPECT_RATIO_AUTO:
|
|
return "Auto Aspect Ratio";
|
|
case MENU_LABEL_VALUE_VIDEO_FORCE_ASPECT:
|
|
return "Force aspect ratio";
|
|
case MENU_LABEL_VALUE_VIDEO_REFRESH_RATE:
|
|
return "Refresh Rate";
|
|
case MENU_LABEL_VALUE_VIDEO_FORCE_SRGB_DISABLE:
|
|
return "Force-disable sRGB FBO";
|
|
case MENU_LABEL_VALUE_VIDEO_WINDOWED_FULLSCREEN:
|
|
return "Windowed Fullscreen Mode";
|
|
case MENU_LABEL_VALUE_PAL60_ENABLE:
|
|
return "Use PAL60 Mode";
|
|
case MENU_LABEL_VALUE_VIDEO_VFILTER:
|
|
return "Deflicker";
|
|
case MENU_LABEL_VALUE_VIDEO_VI_WIDTH:
|
|
return "Set VI Screen Width";
|
|
case MENU_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION:
|
|
return "Black Frame Insertion";
|
|
case MENU_LABEL_VALUE_VIDEO_HARD_SYNC_FRAMES:
|
|
return "Hard GPU Sync Frames";
|
|
case MENU_LABEL_VALUE_SORT_SAVEFILES_ENABLE:
|
|
return "Sort Saves In Folders";
|
|
case MENU_LABEL_VALUE_SORT_SAVESTATES_ENABLE:
|
|
return "Sort Savestates In Folders";
|
|
case MENU_LABEL_VALUE_VIDEO_FULLSCREEN:
|
|
return "Use Fullscreen Mode";
|
|
case MENU_LABEL_VALUE_VIDEO_SCALE:
|
|
return "Windowed Scale";
|
|
case MENU_LABEL_VALUE_VIDEO_SCALE_INTEGER:
|
|
return "Integer Scale";
|
|
case MENU_LABEL_VALUE_PERFCNT_ENABLE:
|
|
return "Performance Counters";
|
|
case MENU_LABEL_VALUE_LIBRETRO_LOG_LEVEL:
|
|
return "Core Logging Level";
|
|
case MENU_LABEL_VALUE_LOG_VERBOSITY:
|
|
return "Logging Verbosity";
|
|
case MENU_LABEL_VALUE_SAVESTATE_AUTO_LOAD:
|
|
return "Auto Load State";
|
|
case MENU_LABEL_VALUE_SAVESTATE_AUTO_INDEX:
|
|
return "Save State Auto Index";
|
|
case MENU_LABEL_VALUE_SAVESTATE_AUTO_SAVE:
|
|
return "Auto Save State";
|
|
case MENU_LABEL_VALUE_AUTOSAVE_INTERVAL:
|
|
return "SaveRAM Autosave Interval";
|
|
case MENU_LABEL_VALUE_BLOCK_SRAM_OVERWRITE:
|
|
return "Don't overwrite SaveRAM on loading savestate";
|
|
case MENU_LABEL_VALUE_VIDEO_SHARED_CONTEXT:
|
|
return "HW Shared Context Enable";
|
|
case MENU_LABEL_VALUE_RESTART_RETROARCH:
|
|
return "Restart RetroArch";
|
|
case MENU_LABEL_VALUE_NETPLAY_NICKNAME:
|
|
return "Username";
|
|
case MENU_LABEL_VALUE_USER_LANGUAGE:
|
|
return "Language";
|
|
case MENU_LABEL_VALUE_CAMERA_ALLOW:
|
|
return "Allow Camera";
|
|
case MENU_LABEL_VALUE_LOCATION_ALLOW:
|
|
return "Allow Location";
|
|
case MENU_LABEL_VALUE_PAUSE_LIBRETRO:
|
|
return "Pause when menu activated";
|
|
case MENU_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE:
|
|
return "Display Keyboard Overlay";
|
|
case MENU_LABEL_VALUE_INPUT_OVERLAY_ENABLE:
|
|
return "Display Overlay";
|
|
case MENU_LABEL_VALUE_VIDEO_MONITOR_INDEX:
|
|
return "Monitor Index";
|
|
case MENU_LABEL_VALUE_VIDEO_FRAME_DELAY:
|
|
return "Frame Delay";
|
|
case MENU_LABEL_VALUE_INPUT_DUTY_CYCLE:
|
|
return "Duty Cycle";
|
|
case MENU_LABEL_VALUE_INPUT_TURBO_PERIOD:
|
|
return "Turbo Period";
|
|
case MENU_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
|
|
return "Input Axis Threshold";
|
|
case MENU_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE:
|
|
return "Remap Binds Enable";
|
|
case MENU_LABEL_VALUE_INPUT_MAX_USERS:
|
|
return "Max Users";
|
|
case MENU_LABEL_VALUE_INPUT_AUTODETECT_ENABLE:
|
|
return "Autoconfig Enable";
|
|
case MENU_LABEL_VALUE_AUDIO_OUTPUT_RATE:
|
|
return "Audio Output Rate (KHz)";
|
|
case MENU_LABEL_VALUE_AUDIO_MAX_TIMING_SKEW:
|
|
return "Audio Maximum Timing Skew";
|
|
case MENU_LABEL_VALUE_CHEAT_NUM_PASSES:
|
|
return "Cheat Passes";
|
|
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_CORE:
|
|
return "Save Core Remap File";
|
|
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_GAME:
|
|
return "Save Game Remap File";
|
|
case MENU_LABEL_VALUE_CHEAT_APPLY_CHANGES:
|
|
return "Apply Cheat Changes";
|
|
case MENU_LABEL_VALUE_SHADER_APPLY_CHANGES:
|
|
return "Apply Shader Changes";
|
|
case MENU_LABEL_VALUE_REWIND_ENABLE:
|
|
return "Rewind Enable";
|
|
case MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST:
|
|
return "Select From Collection";
|
|
case MENU_LABEL_VALUE_DETECT_CORE_LIST:
|
|
return "Select File And Detect Core";
|
|
case MENU_LABEL_VALUE_DOWNLOADED_FILE_DETECT_CORE_LIST:
|
|
return "Select Downloaded File And Detect Core";
|
|
case MENU_LABEL_VALUE_LOAD_CONTENT_HISTORY:
|
|
return "Load Recent";
|
|
case MENU_LABEL_VALUE_AUDIO_ENABLE:
|
|
return "Audio Enable";
|
|
case MENU_LABEL_VALUE_FPS_SHOW:
|
|
return "Display Framerate";
|
|
case MENU_LABEL_VALUE_AUDIO_MUTE:
|
|
return "Audio Mute";
|
|
case MENU_LABEL_VALUE_AUDIO_VOLUME:
|
|
return "Audio Volume Level (dB)";
|
|
case MENU_LABEL_VALUE_AUDIO_SYNC:
|
|
return "Audio Sync Enable";
|
|
case MENU_LABEL_VALUE_AUDIO_RATE_CONTROL_DELTA:
|
|
return "Audio Rate Control Delta";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_NUM_PASSES:
|
|
return "Shader Passes";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_SHA1:
|
|
return "SHA1";
|
|
case MENU_LABEL_VALUE_CONFIGURATIONS:
|
|
return "Load Configuration";
|
|
case MENU_LABEL_VALUE_REWIND_GRANULARITY:
|
|
return "Rewind Granularity";
|
|
case MENU_LABEL_VALUE_REMAP_FILE_LOAD:
|
|
return "Load Remap File";
|
|
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_AS:
|
|
return "Save Remap File As";
|
|
case MENU_LABEL_VALUE_CUSTOM_RATIO:
|
|
return "Custom Ratio";
|
|
case MENU_LABEL_VALUE_USE_THIS_DIRECTORY:
|
|
return "<Use this directory>";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT:
|
|
return "Start Content";
|
|
case MENU_LABEL_VALUE_DISK_OPTIONS:
|
|
return "Core Disk Options";
|
|
case MENU_LABEL_VALUE_CORE_OPTIONS:
|
|
return "Core Options";
|
|
case MENU_LABEL_VALUE_CORE_CHEAT_OPTIONS:
|
|
return "Core Cheat Options";
|
|
case MENU_LABEL_VALUE_CHEAT_FILE_LOAD:
|
|
return "Cheat File Load";
|
|
case MENU_LABEL_VALUE_CHEAT_FILE_SAVE_AS:
|
|
return "Cheat File Save As";
|
|
case MENU_LABEL_VALUE_CORE_COUNTERS:
|
|
return "Core Counters";
|
|
case MENU_LABEL_VALUE_TAKE_SCREENSHOT:
|
|
return "Take Screenshot";
|
|
case MENU_LABEL_VALUE_RESUME:
|
|
return "Resume";
|
|
case MENU_LABEL_VALUE_DISK_INDEX:
|
|
return "Disk Index";
|
|
case MENU_LABEL_VALUE_FRONTEND_COUNTERS:
|
|
return "Frontend Counters";
|
|
case MENU_LABEL_VALUE_DISK_IMAGE_APPEND:
|
|
return "Disk Image Append";
|
|
case MENU_LABEL_VALUE_DISK_CYCLE_TRAY_STATUS:
|
|
return "Disk Cycle Tray Status";
|
|
case MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE:
|
|
return "No playlist entries available.";
|
|
case MENU_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE:
|
|
return "No core information available.";
|
|
case MENU_LABEL_VALUE_NO_CORE_OPTIONS_AVAILABLE:
|
|
return "No core options available.";
|
|
case MENU_LABEL_VALUE_NO_CORES_AVAILABLE:
|
|
return "No cores available.";
|
|
case MENU_VALUE_NO_CORE:
|
|
return "No Core";
|
|
case MENU_LABEL_VALUE_DATABASE_MANAGER:
|
|
return "Database Manager";
|
|
case MENU_LABEL_VALUE_CURSOR_MANAGER:
|
|
return "Cursor Manager";
|
|
case MENU_VALUE_MAIN_MENU:
|
|
return "Main Menu";
|
|
case MENU_LABEL_VALUE_SETTINGS:
|
|
return "Settings";
|
|
case MENU_LABEL_VALUE_QUIT_RETROARCH:
|
|
return "Quit RetroArch";
|
|
case MENU_LABEL_VALUE_SHUTDOWN:
|
|
return "Shutdown";
|
|
case MENU_LABEL_VALUE_HELP:
|
|
return "help";
|
|
case MENU_LABEL_VALUE_SAVE_NEW_CONFIG:
|
|
return "Save New Config";
|
|
case MENU_LABEL_VALUE_RESTART_CONTENT:
|
|
return "Restart Content";
|
|
case MENU_LABEL_VALUE_CORE_UPDATER_LIST:
|
|
return "Core Updater";
|
|
case MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL:
|
|
return "Buildbot Cores URL";
|
|
case MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL:
|
|
return "Buildbot Assets URL";
|
|
case MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND:
|
|
return "Navigation Wrap-Around";
|
|
case MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
|
|
return "Filter by supported extensions";
|
|
case MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
|
|
return "Automatically extract downloaded archive";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
|
|
return "System Information";
|
|
case MENU_LABEL_VALUE_DEBUG_INFORMATION:
|
|
return "Debug Information";
|
|
case MENU_LABEL_VALUE_ONLINE_UPDATER:
|
|
return "Online Updater";
|
|
case MENU_LABEL_VALUE_CORE_INFORMATION:
|
|
return "Core Information";
|
|
case MENU_LABEL_VALUE_DIRECTORY_NOT_FOUND:
|
|
return "Directory not found.";
|
|
case MENU_LABEL_VALUE_NO_ITEMS:
|
|
return "No items.";
|
|
case MENU_LABEL_VALUE_CORE_LIST:
|
|
return "Load Core";
|
|
case MENU_LABEL_VALUE_LOAD_CONTENT:
|
|
return "Select File";
|
|
case MENU_LABEL_VALUE_CLOSE_CONTENT:
|
|
return "Close Content";
|
|
case MENU_LABEL_VALUE_MANAGEMENT:
|
|
return "Database Settings";
|
|
case MENU_LABEL_VALUE_SAVE_STATE:
|
|
return "Save State";
|
|
case MENU_LABEL_VALUE_LOAD_STATE:
|
|
return "Load State";
|
|
case MENU_LABEL_VALUE_RESUME_CONTENT:
|
|
return "Resume Content";
|
|
case MENU_LABEL_VALUE_INPUT_DRIVER:
|
|
return "Input Driver";
|
|
case MENU_LABEL_VALUE_AUDIO_DRIVER:
|
|
return "Audio Driver";
|
|
case MENU_LABEL_VALUE_JOYPAD_DRIVER:
|
|
return "Joypad Driver";
|
|
case MENU_LABEL_VALUE_AUDIO_RESAMPLER_DRIVER:
|
|
return "Audio Resampler Driver";
|
|
case MENU_LABEL_VALUE_RECORD_DRIVER:
|
|
return "Record Driver";
|
|
case MENU_LABEL_VALUE_MENU_DRIVER:
|
|
return "Menu Driver";
|
|
case MENU_LABEL_VALUE_CAMERA_DRIVER:
|
|
return "Camera Driver";
|
|
case MENU_LABEL_VALUE_LOCATION_DRIVER:
|
|
return "Location Driver";
|
|
case MENU_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE:
|
|
return "Unable to read compressed file.";
|
|
case MENU_LABEL_VALUE_OVERLAY_SCALE:
|
|
return "Overlay Scale";
|
|
case MENU_LABEL_VALUE_OVERLAY_PRESET:
|
|
return "Overlay Preset";
|
|
case MENU_LABEL_VALUE_AUDIO_LATENCY:
|
|
return "Audio Latency (ms)";
|
|
case MENU_LABEL_VALUE_AUDIO_DEVICE:
|
|
return "Audio Device";
|
|
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
|
|
return "Keyboard Overlay Preset";
|
|
case MENU_LABEL_VALUE_OVERLAY_OPACITY:
|
|
return "Overlay Opacity";
|
|
case MENU_LABEL_VALUE_MENU_WALLPAPER:
|
|
return "Menu Wallpaper";
|
|
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPER:
|
|
return "Dynamic Wallpaper";
|
|
case MENU_LABEL_VALUE_BOXART:
|
|
return "Display Boxart";
|
|
case MENU_LABEL_VALUE_CORE_INPUT_REMAPPING_OPTIONS:
|
|
return "Core Input Options";
|
|
case MENU_LABEL_VALUE_SHADER_OPTIONS:
|
|
return "Shader Options";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_PARAMETERS:
|
|
return "Preview Shader Parameters";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET_PARAMETERS:
|
|
return "Menu Shader Parameters";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET_SAVE_AS:
|
|
return "Shader Preset Save As";
|
|
case MENU_LABEL_VALUE_NO_SHADER_PARAMETERS:
|
|
return "No shader parameters.";
|
|
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET:
|
|
return "Load Shader Preset";
|
|
case MENU_LABEL_VALUE_VIDEO_FILTER:
|
|
return "Video Filter";
|
|
case MENU_LABEL_VALUE_AUDIO_DSP_PLUGIN:
|
|
return "Audio DSP Plugin";
|
|
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
|
|
return "Starting download: ";
|
|
case MENU_VALUE_SECONDS:
|
|
return "seconds";
|
|
case MENU_VALUE_OFF:
|
|
return "OFF";
|
|
case MENU_VALUE_ON:
|
|
return "ON";
|
|
case MENU_LABEL_VALUE_UPDATE_ASSETS:
|
|
return "Update Assets";
|
|
case MENU_LABEL_VALUE_UPDATE_CHEATS:
|
|
return "Update Cheats";
|
|
case MENU_LABEL_VALUE_UPDATE_AUTOCONFIG_PROFILES:
|
|
return "Update Autoconfig Profiles";
|
|
case MENU_LABEL_VALUE_UPDATE_AUTOCONFIG_PROFILES_HID:
|
|
return "Update Autoconfig Profiles (HID)";
|
|
case MENU_LABEL_VALUE_UPDATE_DATABASES:
|
|
return "Update Databases";
|
|
case MENU_LABEL_VALUE_UPDATE_OVERLAYS:
|
|
return "Update Overlays";
|
|
case MENU_LABEL_VALUE_UPDATE_CG_SHADERS:
|
|
return "Update Cg Shaders";
|
|
case MENU_LABEL_VALUE_UPDATE_GLSL_SHADERS:
|
|
return "Update GLSL Shaders";
|
|
case MENU_LABEL_VALUE_CORE_INFO_CORE_NAME:
|
|
return "Core name";
|
|
case MENU_LABEL_VALUE_CORE_INFO_CORE_LABEL:
|
|
return "Core label";
|
|
case MENU_LABEL_VALUE_CORE_INFO_SYSTEM_NAME:
|
|
return "System name";
|
|
case MENU_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER:
|
|
return "System manufacturer";
|
|
case MENU_LABEL_VALUE_CORE_INFO_CATEGORIES:
|
|
return "Categories";
|
|
case MENU_LABEL_VALUE_CORE_INFO_AUTHORS:
|
|
return "Authors";
|
|
case MENU_LABEL_VALUE_CORE_INFO_PERMISSIONS:
|
|
return "Permissions";
|
|
case MENU_LABEL_VALUE_CORE_INFO_LICENSES:
|
|
return "License(s)";
|
|
case MENU_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS:
|
|
return "Supported extensions";
|
|
case MENU_LABEL_VALUE_CORE_INFO_FIRMWARE:
|
|
return "Firmware";
|
|
case MENU_LABEL_VALUE_CORE_INFO_CORE_NOTES:
|
|
return "Core notes";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_BUILD_DATE:
|
|
return "Build date";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION:
|
|
return "Git version";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_CPU_FEATURES:
|
|
return "CPU Features";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER:
|
|
return "Frontend identifier";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FRONTEND_NAME:
|
|
return "Frontend name";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FRONTEND_OS:
|
|
return "Frontend OS";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_RETRORATING_LEVEL:
|
|
return "RetroRating level";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE:
|
|
return "Power source";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_NO_SOURCE:
|
|
return "No source";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_CHARGING:
|
|
return "Charging";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_CHARGED:
|
|
return "Charged";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_DISCHARGING:
|
|
return "Discharging";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_VIDEO_CONTEXT_DRIVER:
|
|
return "Video context driver";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_MM_WIDTH:
|
|
return "Display metric width (mm)";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_MM_HEIGHT:
|
|
return "Display metric height (mm)";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_DPI:
|
|
return "Display metric DPI";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_LIBRETRODB_SUPPORT:
|
|
return "LibretroDB support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OVERLAY_SUPPORT:
|
|
return "Overlay support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_COMMAND_IFACE_SUPPORT:
|
|
return "Command interface support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_NETWORK_COMMAND_IFACE_SUPPORT:
|
|
return "Network Command interface support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_COCOA_SUPPORT:
|
|
return "Cocoa support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_RPNG_SUPPORT:
|
|
return "PNG support (RPNG)";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_SDL_SUPPORT:
|
|
return "SDL1.2 support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT:
|
|
return "SDL2 support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OPENGL_SUPPORT:
|
|
return "OpenGL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OPENGLES_SUPPORT:
|
|
return "OpenGL ES support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_THREADING_SUPPORT:
|
|
return "Threading support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_KMS_SUPPORT:
|
|
return "KMS/EGL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_UDEV_SUPPORT:
|
|
return "Udev support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OPENVG_SUPPORT:
|
|
return "OpenVG support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_EGL_SUPPORT:
|
|
return "EGL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_X11_SUPPORT:
|
|
return "X11 support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_WAYLAND_SUPPORT:
|
|
return "Wayland support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_XVIDEO_SUPPORT:
|
|
return "XVideo support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_ALSA_SUPPORT:
|
|
return "ALSA support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OSS_SUPPORT:
|
|
return "OSS support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OPENAL_SUPPORT:
|
|
return "OpenAL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_OPENSL_SUPPORT:
|
|
return "OpenSL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_RSOUND_SUPPORT:
|
|
return "RSound support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_ROARAUDIO_SUPPORT:
|
|
return "RoarAudio support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_JACK_SUPPORT:
|
|
return "JACK support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_PULSEAUDIO_SUPPORT:
|
|
return "PulseAudio support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_DSOUND_SUPPORT:
|
|
return "DirectSound support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_XAUDIO2_SUPPORT:
|
|
return "XAudio2 support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_ZLIB_SUPPORT:
|
|
return "Zlib support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_7ZIP_SUPPORT:
|
|
return "7zip support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_DYLIB_SUPPORT:
|
|
return "Dynamic library support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_CG_SUPPORT:
|
|
return "Cg support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_GLSL_SUPPORT:
|
|
return "GLSL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_HLSL_SUPPORT:
|
|
return "HLSL support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_LIBXML2_SUPPORT:
|
|
return "libxml2 XML parsing support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_SDL_IMAGE_SUPPORT:
|
|
return "SDL image support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FBO_SUPPORT:
|
|
return "OpenGL/Direct3D render-to-texture (multi-pass shaders) support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FFMPEG_SUPPORT:
|
|
return "FFmpeg support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_CORETEXT_SUPPORT:
|
|
return "CoreText support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_FREETYPE_SUPPORT:
|
|
return "FreeType support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT:
|
|
return "Netplay (peer-to-peer) support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_PYTHON_SUPPORT:
|
|
return "Python (script support in shaders) support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_V4L2_SUPPORT:
|
|
return "Video4Linux2 support";
|
|
case MENU_LABEL_VALUE_SYSTEM_INFO_LIBUSB_SUPPORT:
|
|
return "Libusb support";
|
|
case MENU_LABEL_VALUE_YES:
|
|
return "Yes";
|
|
case MENU_LABEL_VALUE_NO:
|
|
return "No";
|
|
case MENU_VALUE_BACK:
|
|
return "BACK";
|
|
case MENU_LABEL_VALUE_SCREEN_RESOLUTION:
|
|
return "Screen Resolution";
|
|
case MENU_VALUE_DISABLED:
|
|
return "Disabled";
|
|
case MENU_VALUE_PORT:
|
|
return "Port";
|
|
case MENU_VALUE_NONE:
|
|
return "None";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_DEVELOPER:
|
|
return "Developer";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_PUBLISHER:
|
|
return "Publisher";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_DESCRIPTION:
|
|
return "Description";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_NAME:
|
|
return "Name";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_ORIGIN:
|
|
return "Origin";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_FRANCHISE:
|
|
return "Franchise";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_RELEASE_MONTH:
|
|
return "Releasedate Month";
|
|
case MENU_LABEL_VALUE_RDB_ENTRY_RELEASE_YEAR:
|
|
return "Releasedate Year";
|
|
case MENU_VALUE_TRUE:
|
|
return "True";
|
|
case MENU_VALUE_FALSE:
|
|
return "False";
|
|
case MENU_VALUE_MISSING:
|
|
return "Missing";
|
|
case MENU_VALUE_PRESENT:
|
|
return "Present";
|
|
case MENU_VALUE_OPTIONAL:
|
|
return "Optional";
|
|
case MENU_VALUE_REQUIRED:
|
|
return "Required";
|
|
case MENU_VALUE_STATUS:
|
|
return "Status";
|
|
case MENU_LABEL_VALUE_AUDIO_SETTINGS:
|
|
return "Audio";
|
|
case MENU_LABEL_VALUE_INPUT_SETTINGS:
|
|
return "Input";
|
|
case MENU_LABEL_VALUE_ONSCREEN_DISPLAY_SETTINGS:
|
|
return "Onscreen Display";
|
|
case MENU_LABEL_VALUE_OVERLAY_SETTINGS:
|
|
return "Onscreen Overlay";
|
|
case MENU_LABEL_VALUE_MENU_SETTINGS:
|
|
return "Menu";
|
|
case MENU_LABEL_VALUE_MULTIMEDIA_SETTINGS:
|
|
return "Multimedia";
|
|
case MENU_LABEL_VALUE_UI_SETTINGS:
|
|
return "User Interface";
|
|
case MENU_LABEL_VALUE_MENU_FILE_BROWSER_SETTINGS:
|
|
return "Menu File Browser";
|
|
case MENU_LABEL_VALUE_CORE_UPDATER_SETTINGS:
|
|
return "Updater";
|
|
case MENU_LABEL_VALUE_NETWORK_SETTINGS:
|
|
return "Network";
|
|
case MENU_LABEL_VALUE_PLAYLIST_SETTINGS:
|
|
return "Playlists";
|
|
case MENU_LABEL_VALUE_USER_SETTINGS:
|
|
return "User";
|
|
case MENU_LABEL_VALUE_DIRECTORY_SETTINGS:
|
|
return "Directory";
|
|
case MENU_LABEL_VALUE_RECORDING_SETTINGS:
|
|
return "Recording";
|
|
case MENU_LABEL_VALUE_NO_INFORMATION_AVAILABLE:
|
|
return "No information is available.";
|
|
case MENU_LABEL_VALUE_INPUT_USER_BINDS:
|
|
return "Input User %u Binds";
|
|
case MENU_VALUE_LANG_ENGLISH:
|
|
return "English";
|
|
case MENU_VALUE_LANG_JAPANESE:
|
|
return "Japanese";
|
|
case MENU_VALUE_LANG_FRENCH:
|
|
return "French";
|
|
case MENU_VALUE_LANG_SPANISH:
|
|
return "Spanish";
|
|
case MENU_VALUE_LANG_GERMAN:
|
|
return "German";
|
|
case MENU_VALUE_LANG_ITALIAN:
|
|
return "Italian";
|
|
case MENU_VALUE_LANG_DUTCH:
|
|
return "Dutch";
|
|
case MENU_VALUE_LANG_PORTUGUESE:
|
|
return "Portuguese";
|
|
case MENU_VALUE_LANG_RUSSIAN:
|
|
return "Russian";
|
|
case MENU_VALUE_LANG_KOREAN:
|
|
return "Korean";
|
|
case MENU_VALUE_LANG_CHINESE_TRADITIONAL:
|
|
return "Chinese (Traditional)";
|
|
case MENU_VALUE_LANG_CHINESE_SIMPLIFIED:
|
|
return "Chinese (Simplified)";
|
|
case MENU_VALUE_LANG_ESPERANTO:
|
|
return "Esperanto";
|
|
case MENU_VALUE_LEFT_ANALOG:
|
|
return "Left Analog";
|
|
case MENU_VALUE_RIGHT_ANALOG:
|
|
return "Right Analog";
|
|
case MENU_LABEL_VALUE_INPUT_HOTKEY_BINDS:
|
|
return "Input Hotkey Binds";
|
|
case MENU_LABEL_VALUE_FRAME_THROTTLE_SETTINGS:
|
|
return "Frame Throttle";
|
|
case MENU_VALUE_SEARCH:
|
|
return "Search:";
|
|
case MENU_LABEL_VALUE_USE_BUILTIN_IMAGE_VIEWER:
|
|
return "Use Builtin Image Viewer";
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return "null";
|
|
}
|
|
|
|
int menu_hash_get_help_us(uint32_t hash, char *s, size_t len)
|
|
{
|
|
uint32_t driver_hash = 0;
|
|
settings_t *settings = config_get_ptr();
|
|
|
|
switch (hash)
|
|
{
|
|
case MENU_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING_DESC:
|
|
{
|
|
/* Work around C89 limitations */
|
|
char u[501];
|
|
char t[501];
|
|
|
|
strlcpy(t,
|
|
"RetroArch relies on an unique form of\n"
|
|
"audio/video synchronization where it needs to be\n"
|
|
"calibrated against the refresh rate of your\n"
|
|
"display for best performance results.\n"
|
|
" \n"
|
|
"If you experience any audio crackling or video\n"
|
|
"tearing, usually it means that you need to\n"
|
|
"calibrate the settings. Some choices below:\n"
|
|
" \n", sizeof(t));
|
|
snprintf(u, sizeof(u),
|
|
"a) Go to '%s' -> '%s', and enable\n"
|
|
"'Threaded Video'. Refresh rate will not matter\n"
|
|
"in this mode, framerate will be higher,\n"
|
|
"but video might be less smooth.\n"
|
|
"b) Go to '%s' -> '%s', and look at\n"
|
|
"'%s'. Let it run for\n"
|
|
"2048 frames, then press 'OK'.",
|
|
menu_hash_to_str(MENU_LABEL_VALUE_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
|
|
strlcat(s, t, len);
|
|
strlcat(s, u, len);
|
|
}
|
|
break;
|
|
case MENU_LABEL_VALUE_HELP_SCANNING_CONTENT_DESC:
|
|
snprintf(s, len,
|
|
"To scan for content, go to '%s' and\n"
|
|
"select either '%s' or %s'.\n"
|
|
" \n"
|
|
"Files will be compared to database entries.\n"
|
|
"If there is a match, it will add an entry\n"
|
|
"to a collection.\n"
|
|
" \n"
|
|
"You can then easily access this content by\n"
|
|
"going to '%s' ->\n"
|
|
"'%s'\n"
|
|
"instead of having to go through the\n"
|
|
"filebrowser everytime.\n"
|
|
" \n"
|
|
"NOTE: Content for some cores might still not be\n"
|
|
"scannable. Examples include: \n"
|
|
"MAME, FBA, and maybe others."
|
|
,
|
|
menu_hash_to_str(MENU_LABEL_VALUE_ADD_CONTENT_LIST),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_SCAN_DIRECTORY),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_SCAN_FILE),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_LOAD_CONTENT_LIST),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST)
|
|
);
|
|
break;
|
|
case MENU_LABEL_VALUE_MENU_CONTROLS_PROLOG:
|
|
snprintf(s, len,
|
|
"You can use the following controls below \n"
|
|
"on either your gamepad or keyboard in order\n"
|
|
"to control the menu: \n"
|
|
" \n"
|
|
);
|
|
break;
|
|
case MENU_LABEL_VALUE_EXTRACTING_PLEASE_WAIT:
|
|
strlcpy(s, "Extracting, please wait...\n", len);
|
|
break;
|
|
case MENU_LABEL_WELCOME_TO_RETROARCH:
|
|
snprintf(s, len,
|
|
"Welcome to RetroArch\n"
|
|
"\n"
|
|
"For further information, go to Help.\n"
|
|
);
|
|
break;
|
|
case MENU_LABEL_INPUT_DRIVER:
|
|
driver_hash = menu_hash_calculate(settings->input.driver);
|
|
|
|
switch (driver_hash)
|
|
{
|
|
case MENU_LABEL_INPUT_DRIVER_UDEV:
|
|
snprintf(s, len,
|
|
"udev Input driver. \n"
|
|
" \n"
|
|
"This driver can run without X. \n"
|
|
" \n"
|
|
"It uses the recent evdev joypad API \n"
|
|
"for joystick support. It supports \n"
|
|
"hotplugging and force feedback (if \n"
|
|
"supported by device). \n"
|
|
" \n"
|
|
"The driver reads evdev events for keyboard \n"
|
|
"support. It also supports keyboard callback, \n"
|
|
"mice and touchpads. \n"
|
|
" \n"
|
|
"By default in most distros, /dev/input nodes \n"
|
|
"are root-only (mode 600). You can set up a udev \n"
|
|
"rule which makes these accessible to non-root."
|
|
);
|
|
break;
|
|
case MENU_LABEL_INPUT_DRIVER_LINUXRAW:
|
|
snprintf(s, len,
|
|
"linuxraw Input driver. \n"
|
|
" \n"
|
|
"This driver requires an active TTY. Keyboard \n"
|
|
"events are read directly from the TTY which \n"
|
|
"makes it simpler, but not as flexible as udev. \n" "Mice, etc, are not supported at all. \n"
|
|
" \n"
|
|
"This driver uses the older joystick API \n"
|
|
"(/dev/input/js*).");
|
|
break;
|
|
default:
|
|
snprintf(s, len,
|
|
"Input driver.\n"
|
|
" \n"
|
|
"Depending on video driver, it might \n"
|
|
"force a different input driver.");
|
|
break;
|
|
}
|
|
break;
|
|
case MENU_LABEL_LOAD_CONTENT:
|
|
snprintf(s, len,
|
|
"Load Content. \n"
|
|
"Browse for content. \n"
|
|
" \n"
|
|
"To load content, you need a \n"
|
|
"'Core' to use, and a content file.\n"
|
|
" \n"
|
|
"To control where the menu starts \n"
|
|
" to browse for content, set \n"
|
|
"'File Browser Directory'. \n"
|
|
"If not set, it will start in root. \n"
|
|
" \n"
|
|
"The browser will filter out \n"
|
|
"extensions for the last core set \n"
|
|
"in 'Load Core', and use that core \n"
|
|
"when content is loaded."
|
|
);
|
|
break;
|
|
case MENU_LABEL_CORE_LIST:
|
|
snprintf(s, len,
|
|
"Load Core. \n"
|
|
" \n"
|
|
"Browse for a libretro core \n"
|
|
"implementation. Where the browser \n"
|
|
"starts depends on your Core Directory \n"
|
|
"path. If blank, it will start in root. \n"
|
|
" \n"
|
|
"If Core Directory is a directory, the menu \n"
|
|
"will use that as top folder. If Core \n"
|
|
"Directory is a full path, it will start \n"
|
|
"in the folder where the file is.");
|
|
break;
|
|
case MENU_LABEL_LOAD_CONTENT_HISTORY:
|
|
snprintf(s, len,
|
|
"Loading content from history. \n"
|
|
" \n"
|
|
"As content is loaded, content and libretro \n"
|
|
"core combinations are saved to history. \n"
|
|
" \n"
|
|
"The history is saved to a file in the same \n"
|
|
"directory as the RetroArch config file. If \n"
|
|
"no config file was loaded in startup, history \n"
|
|
"will not be saved or loaded, and will not exist \n"
|
|
"in the main menu."
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER:
|
|
driver_hash = menu_hash_calculate(settings->video.driver);
|
|
|
|
switch (driver_hash)
|
|
{
|
|
case MENU_LABEL_VIDEO_DRIVER_GL:
|
|
snprintf(s, len,
|
|
"OpenGL Video driver. \n"
|
|
" \n"
|
|
"This driver allows libretro GL cores to \n"
|
|
"be used in addition to software-rendered \n"
|
|
"core implementations.\n"
|
|
" \n"
|
|
"Performance for software-rendered and \n"
|
|
"libretro GL core implementations is \n"
|
|
"dependent on your graphics card's \n"
|
|
"underlying GL driver).");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER_SDL2:
|
|
snprintf(s, len,
|
|
"SDL 2 Video driver.\n"
|
|
" \n"
|
|
"This is an SDL 2 software-rendered video \n"
|
|
"driver.\n"
|
|
" \n"
|
|
"Performance for software-rendered libretro \n"
|
|
"core implementations is dependent \n"
|
|
"on your platform SDL implementation.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER_SDL1:
|
|
snprintf(s, len,
|
|
"SDL Video driver.\n"
|
|
" \n"
|
|
"This is an SDL 1.2 software-rendered video \n"
|
|
"driver.\n"
|
|
" \n"
|
|
"Performance is considered to be suboptimal. \n"
|
|
"Consider using it only as a last resort.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER_D3D:
|
|
snprintf(s, len,
|
|
"Direct3D Video driver. \n"
|
|
" \n"
|
|
"Performance for software-rendered cores \n"
|
|
"is dependent on your graphic card's \n"
|
|
"underlying D3D driver).");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER_EXYNOS:
|
|
snprintf(s, len,
|
|
"Exynos-G2D Video Driver. \n"
|
|
" \n"
|
|
"This is a low-level Exynos video driver. \n"
|
|
"Uses the G2D block in Samsung Exynos SoC \n"
|
|
"for blit operations. \n"
|
|
" \n"
|
|
"Performance for software rendered cores \n"
|
|
"should be optimal.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DRIVER_SUNXI:
|
|
snprintf(s, len,
|
|
"Sunxi-G2D Video Driver. \n"
|
|
" \n"
|
|
"This is a low-level Sunxi video driver. \n"
|
|
"Uses the G2D block in Allwinner SoCs.");
|
|
break;
|
|
default:
|
|
snprintf(s, len,
|
|
"Current Video driver.");
|
|
break;
|
|
}
|
|
break;
|
|
case MENU_LABEL_AUDIO_DSP_PLUGIN:
|
|
snprintf(s, len,
|
|
"Audio DSP plugin.\n"
|
|
" Processes audio before it's sent to \n"
|
|
"the driver."
|
|
);
|
|
break;
|
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER:
|
|
driver_hash = menu_hash_calculate(settings->audio.resampler);
|
|
|
|
switch (driver_hash)
|
|
{
|
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_SINC:
|
|
snprintf(s, len,
|
|
"Windowed SINC implementation.");
|
|
break;
|
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_CC:
|
|
snprintf(s, len,
|
|
"Convoluted Cosine implementation.");
|
|
break;
|
|
}
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_PRESET:
|
|
snprintf(s, len,
|
|
"Load Shader Preset. \n"
|
|
" \n"
|
|
" Load a "
|
|
#ifdef HAVE_CG
|
|
"Cg"
|
|
#endif
|
|
#ifdef HAVE_GLSL
|
|
#ifdef HAVE_CG
|
|
"/"
|
|
#endif
|
|
"GLSL"
|
|
#endif
|
|
#ifdef HAVE_HLSL
|
|
#if defined(HAVE_CG) || defined(HAVE_HLSL)
|
|
"/"
|
|
#endif
|
|
"HLSL"
|
|
#endif
|
|
" preset directly. \n"
|
|
"The menu shader menu is updated accordingly. \n"
|
|
" \n"
|
|
"If the CGP uses scaling methods which are not \n"
|
|
"simple, (i.e. source scaling, same scaling \n"
|
|
"factor for X/Y), the scaling factor displayed \n"
|
|
"in the menu might not be correct."
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
|
|
snprintf(s, len,
|
|
"Scale for this pass. \n"
|
|
" \n"
|
|
"The scale factor accumulates, i.e. 2x \n"
|
|
"for first pass and 2x for second pass \n"
|
|
"will give you a 4x total scale. \n"
|
|
" \n"
|
|
"If there is a scale factor for last \n"
|
|
"pass, the result is stretched to \n"
|
|
"screen with the filter specified in \n"
|
|
"'Default Filter'. \n"
|
|
" \n"
|
|
"If 'Don't Care' is set, either 1x \n"
|
|
"scale or stretch to fullscreen will \n"
|
|
"be used depending if it's not the last \n"
|
|
"pass or not."
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
|
|
snprintf(s, len,
|
|
"Shader Passes. \n"
|
|
" \n"
|
|
"RetroArch allows you to mix and match various \n"
|
|
"shaders with arbitrary shader passes, with \n"
|
|
"custom hardware filters and scale factors. \n"
|
|
" \n"
|
|
"This option specifies the number of shader \n"
|
|
"passes to use. If you set this to 0, and use \n"
|
|
"Apply Shader Changes, you use a 'blank' shader. \n"
|
|
" \n"
|
|
"The Default Filter option will affect the \n"
|
|
"stretching filter.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
|
|
snprintf(s, len,
|
|
"Shader Parameters. \n"
|
|
" \n"
|
|
"Modifies current shader directly. Will not be \n"
|
|
"saved to CGP/GLSLP preset file.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
|
|
snprintf(s, len,
|
|
"Shader Preset Parameters. \n"
|
|
" \n"
|
|
"Modifies shader preset currently in menu."
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_PASS:
|
|
snprintf(s, len,
|
|
"Path to shader. \n"
|
|
" \n"
|
|
"All shaders must be of the same \n"
|
|
"type (i.e. CG, GLSL or HLSL). \n"
|
|
" \n"
|
|
"Set Shader Directory to set where \n"
|
|
"the browser starts to look for \n"
|
|
"shaders."
|
|
);
|
|
break;
|
|
case MENU_LABEL_CONFIG_SAVE_ON_EXIT:
|
|
snprintf(s, len,
|
|
"Saves config to disk on exit.\n"
|
|
"Useful for menu as settings can be\n"
|
|
"modified. Overwrites the config.\n"
|
|
" \n"
|
|
"#include's and comments are not \n"
|
|
"preserved. \n"
|
|
" \n"
|
|
"By design, the config file is \n"
|
|
"considered immutable as it is \n"
|
|
"likely maintained by the user, \n"
|
|
"and should not be overwritten \n"
|
|
"behind the user's back."
|
|
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
|
"\nThis is not not the case on \n"
|
|
"consoles however, where \n"
|
|
"looking at the config file \n"
|
|
"manually isn't really an option."
|
|
#endif
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
|
|
snprintf(s, len,
|
|
"Hardware filter for this pass. \n"
|
|
" \n"
|
|
"If 'Don't Care' is set, 'Default \n"
|
|
"Filter' will be used."
|
|
);
|
|
break;
|
|
case MENU_LABEL_AUTOSAVE_INTERVAL:
|
|
snprintf(s, len,
|
|
"Autosaves the non-volatile SRAM \n"
|
|
"at a regular interval.\n"
|
|
" \n"
|
|
"This is disabled by default unless set \n"
|
|
"otherwise. The interval is measured in \n"
|
|
"seconds. \n"
|
|
" \n"
|
|
"A value of 0 disables autosave.");
|
|
break;
|
|
case MENU_LABEL_INPUT_BIND_DEVICE_TYPE:
|
|
snprintf(s, len,
|
|
"Input Device Type. \n"
|
|
" \n"
|
|
"Picks which device type to use. This is \n"
|
|
"relevant for the libretro core itself."
|
|
);
|
|
break;
|
|
case MENU_LABEL_LIBRETRO_LOG_LEVEL:
|
|
snprintf(s, len,
|
|
"Sets log level for libretro cores \n"
|
|
"(GET_LOG_INTERFACE). \n"
|
|
" \n"
|
|
" If a log level issued by a libretro \n"
|
|
" core is below libretro_log level, it \n"
|
|
" is ignored.\n"
|
|
" \n"
|
|
" DEBUG logs are always ignored unless \n"
|
|
" verbose mode is activated (--verbose).\n"
|
|
" \n"
|
|
" DEBUG = 0\n"
|
|
" INFO = 1\n"
|
|
" WARN = 2\n"
|
|
" ERROR = 3"
|
|
);
|
|
break;
|
|
case MENU_LABEL_STATE_SLOT_INCREASE:
|
|
case MENU_LABEL_STATE_SLOT_DECREASE:
|
|
snprintf(s, len,
|
|
"State slots.\n"
|
|
" \n"
|
|
" With slot set to 0, save state name is *.state \n"
|
|
" (or whatever defined on commandline).\n"
|
|
"When slot is != 0, path will be (path)(d), \n"
|
|
"where (d) is slot number.");
|
|
break;
|
|
case MENU_LABEL_SHADER_APPLY_CHANGES:
|
|
snprintf(s, len,
|
|
"Apply Shader Changes. \n"
|
|
" \n"
|
|
"After changing shader settings, use this to \n"
|
|
"apply changes. \n"
|
|
" \n"
|
|
"Changing shader settings is a somewhat \n"
|
|
"expensive operation so it has to be \n"
|
|
"done explicitly. \n"
|
|
" \n"
|
|
"When you apply shaders, the menu shader \n"
|
|
"settings are saved to a temporary file (either \n"
|
|
"menu.cgp or menu.glslp) and loaded. The file \n"
|
|
"persists after RetroArch exits. The file is \n"
|
|
"saved to Shader Directory."
|
|
);
|
|
break;
|
|
case MENU_LABEL_INPUT_BIND_DEVICE_ID:
|
|
snprintf(s, len,
|
|
"Input Device. \n"
|
|
" \n"
|
|
"Picks which gamepad to use for user N. \n"
|
|
"The name of the pad is available."
|
|
);
|
|
break;
|
|
case MENU_LABEL_MENU_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggles menu.");
|
|
break;
|
|
case MENU_LABEL_GRAB_MOUSE_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggles mouse grab.\n"
|
|
" \n"
|
|
"When mouse is grabbed, RetroArch hides the \n"
|
|
"mouse, and keeps the mouse pointer inside \n"
|
|
"the window to allow relative mouse input to \n"
|
|
"work better.");
|
|
break;
|
|
case MENU_LABEL_DISK_NEXT:
|
|
snprintf(s, len,
|
|
"Cycles through disk images. Use after \n"
|
|
"ejecting. \n"
|
|
" \n"
|
|
" Complete by toggling eject again.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_FILTER:
|
|
#ifdef HAVE_FILTERS_BUILTIN
|
|
snprintf(s, len,
|
|
"CPU-based video filter.");
|
|
#else
|
|
snprintf(s, len,
|
|
"CPU-based video filter.\n"
|
|
" \n"
|
|
"Path to a dynamic library.");
|
|
#endif
|
|
break;
|
|
case MENU_LABEL_AUDIO_DEVICE:
|
|
snprintf(s, len,
|
|
"Override the default audio device \n"
|
|
"the audio driver uses.\n"
|
|
"This is driver dependent. E.g.\n"
|
|
#ifdef HAVE_ALSA
|
|
" \n"
|
|
"ALSA wants a PCM device."
|
|
#endif
|
|
#ifdef HAVE_OSS
|
|
" \n"
|
|
"OSS wants a path (e.g. /dev/dsp)."
|
|
#endif
|
|
#ifdef HAVE_JACK
|
|
" \n"
|
|
"JACK wants portnames (e.g. system:playback1\n"
|
|
",system:playback_2)."
|
|
#endif
|
|
#ifdef HAVE_RSOUND
|
|
" \n"
|
|
"RSound wants an IP address to an RSound \n"
|
|
"server."
|
|
#endif
|
|
);
|
|
break;
|
|
case MENU_LABEL_DISK_EJECT_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggles eject for disks.\n"
|
|
" \n"
|
|
"Used for multiple-disk content.");
|
|
break;
|
|
case MENU_LABEL_ENABLE_HOTKEY:
|
|
snprintf(s, len,
|
|
"Enable other hotkeys.\n"
|
|
" \n"
|
|
" If this hotkey is bound to either keyboard, \n"
|
|
"joybutton or joyaxis, all other hotkeys will \n"
|
|
"be disabled unless this hotkey is also held \n"
|
|
"at the same time. \n"
|
|
" \n"
|
|
"This is useful for RETRO_KEYBOARD centric \n"
|
|
"implementations which query a large area of \n"
|
|
"the keyboard, where it is not desirable that \n"
|
|
"hotkeys get in the way.");
|
|
break;
|
|
case MENU_LABEL_REWIND_ENABLE:
|
|
snprintf(s, len,
|
|
"Enable rewinding.\n"
|
|
" \n"
|
|
"This will take a performance hit, \n"
|
|
"so it is disabled by default.");
|
|
break;
|
|
case MENU_LABEL_LIBRETRO_DIR_PATH:
|
|
snprintf(s, len,
|
|
"Core Directory. \n"
|
|
" \n"
|
|
"A directory for where to search for \n"
|
|
"libretro core implementations.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
|
|
snprintf(s, len,
|
|
"Refresh Rate Auto.\n"
|
|
" \n"
|
|
"The accurate refresh rate of our monitor (Hz).\n"
|
|
"This is used to calculate audio input rate with \n"
|
|
"the formula: \n"
|
|
" \n"
|
|
"audio_input_rate = game input rate * display \n"
|
|
"refresh rate / game refresh rate\n"
|
|
" \n"
|
|
"If the implementation does not report any \n"
|
|
"values, NTSC defaults will be assumed for \n"
|
|
"compatibility.\n"
|
|
" \n"
|
|
"This value should stay close to 60Hz to avoid \n"
|
|
"large pitch changes. If your monitor does \n"
|
|
"not run at 60Hz, or something close to it, \n"
|
|
"disable VSync, and leave this at its default.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_ROTATION:
|
|
snprintf(s, len,
|
|
"Forces a certain rotation \n"
|
|
"of the screen.\n"
|
|
" \n"
|
|
"The rotation is added to rotations which\n"
|
|
"the libretro core sets (see Video Allow\n"
|
|
"Rotate).");
|
|
break;
|
|
case MENU_LABEL_VIDEO_SCALE:
|
|
snprintf(s, len,
|
|
"Fullscreen resolution.\n"
|
|
" \n"
|
|
"Resolution of 0 uses the \n"
|
|
"resolution of the environment.\n");
|
|
break;
|
|
case MENU_LABEL_FASTFORWARD_RATIO:
|
|
snprintf(s, len,
|
|
"Fastforward ratio."
|
|
" \n"
|
|
"The maximum rate at which content will\n"
|
|
"be run when using fast forward.\n"
|
|
" \n"
|
|
" (E.g. 5.0 for 60 fps content => 300 fps \n"
|
|
"cap).\n"
|
|
" \n"
|
|
"RetroArch will go to sleep to ensure that \n"
|
|
"the maximum rate will not be exceeded.\n"
|
|
"Do not rely on this cap to be perfectly \n"
|
|
"accurate.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_MONITOR_INDEX:
|
|
snprintf(s, len,
|
|
"Which monitor to prefer.\n"
|
|
" \n"
|
|
"0 (default) means no particular monitor \n"
|
|
"is preferred, 1 and up (1 being first \n"
|
|
"monitor), suggests RetroArch to use that \n"
|
|
"particular monitor.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_CROP_OVERSCAN:
|
|
snprintf(s, len,
|
|
"Forces cropping of overscanned \n"
|
|
"frames.\n"
|
|
" \n"
|
|
"Exact behavior of this option is \n"
|
|
"core-implementation specific.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_SCALE_INTEGER:
|
|
snprintf(s, len,
|
|
"Only scales video in integer \n"
|
|
"steps.\n"
|
|
" \n"
|
|
"The base size depends on system-reported \n"
|
|
"geometry and aspect ratio.\n"
|
|
" \n"
|
|
"If Force Aspect is not set, X/Y will be \n"
|
|
"integer scaled independently.");
|
|
break;
|
|
case MENU_LABEL_AUDIO_VOLUME:
|
|
snprintf(s, len,
|
|
"Audio volume, expressed in dB.\n"
|
|
" \n"
|
|
" 0 dB is normal volume. No gain will be applied.\n"
|
|
"Gain can be controlled in runtime with Input\n"
|
|
"Volume Up / Input Volume Down.");
|
|
break;
|
|
case MENU_LABEL_AUDIO_RATE_CONTROL_DELTA:
|
|
snprintf(s, len,
|
|
"Audio rate control.\n"
|
|
" \n"
|
|
"Setting this to 0 disables rate control.\n"
|
|
"Any other value controls audio rate control \n"
|
|
"delta.\n"
|
|
" \n"
|
|
"Defines how much input rate can be adjusted \n"
|
|
"dynamically.\n"
|
|
" \n"
|
|
" Input rate is defined as: \n"
|
|
" input rate * (1.0 +/- (rate control delta))");
|
|
break;
|
|
case MENU_LABEL_AUDIO_MAX_TIMING_SKEW:
|
|
snprintf(s, len,
|
|
"Maximum audio timing skew.\n"
|
|
" \n"
|
|
"Defines the maximum change in input rate.\n"
|
|
"You may want to increase this to enable\n"
|
|
"very large changes in timing, for example\n"
|
|
"running PAL cores on NTSC displays, at the\n"
|
|
"cost of inaccurate audio pitch.\n"
|
|
" \n"
|
|
" Input rate is defined as: \n"
|
|
" input rate * (1.0 +/- (max timing skew))");
|
|
break;
|
|
case MENU_LABEL_OVERLAY_NEXT:
|
|
snprintf(s, len,
|
|
"Toggles to next overlay.\n"
|
|
" \n"
|
|
"Wraps around.");
|
|
break;
|
|
case MENU_LABEL_LOG_VERBOSITY:
|
|
snprintf(s, len,
|
|
"Enable or disable verbosity level \n"
|
|
"of frontend.");
|
|
break;
|
|
case MENU_LABEL_VOLUME_UP:
|
|
snprintf(s, len,
|
|
"Increases audio volume.");
|
|
break;
|
|
case MENU_LABEL_VOLUME_DOWN:
|
|
snprintf(s, len,
|
|
"Decreases audio volume.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_DISABLE_COMPOSITION:
|
|
snprintf(s, len,
|
|
"Forcibly disable composition.\n"
|
|
"Only valid on Windows Vista/7 for now.");
|
|
break;
|
|
case MENU_LABEL_PERFCNT_ENABLE:
|
|
snprintf(s, len,
|
|
"Enable or disable frontend \n"
|
|
"performance counters.");
|
|
break;
|
|
case MENU_LABEL_SYSTEM_DIRECTORY:
|
|
snprintf(s, len,
|
|
"System Directory. \n"
|
|
" \n"
|
|
"Sets the 'system' directory.\n"
|
|
"Cores can query for this\n"
|
|
"directory to load BIOSes, \n"
|
|
"system-specific configs, etc.");
|
|
break;
|
|
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
|
|
snprintf(s, len,
|
|
"Automatically saves a savestate at the \n"
|
|
"end of RetroArch's lifetime.\n"
|
|
" \n"
|
|
"RetroArch will automatically load any savestate\n"
|
|
"with this path on startup if 'Auto Load State\n"
|
|
"is enabled.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_THREADED:
|
|
snprintf(s, len,
|
|
"Use threaded video driver.\n"
|
|
" \n"
|
|
"Using this might improve performance at \n"
|
|
"possible cost of latency and more video \n"
|
|
"stuttering.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_VSYNC:
|
|
snprintf(s, len,
|
|
"Video V-Sync.\n");
|
|
break;
|
|
case MENU_LABEL_VIDEO_HARD_SYNC:
|
|
snprintf(s, len,
|
|
"Attempts to hard-synchronize \n"
|
|
"CPU and GPU.\n"
|
|
" \n"
|
|
"Can reduce latency at cost of \n"
|
|
"performance.");
|
|
break;
|
|
case MENU_LABEL_REWIND_GRANULARITY:
|
|
snprintf(s, len,
|
|
"Rewind granularity.\n"
|
|
" \n"
|
|
" When rewinding defined number of \n"
|
|
"frames, you can rewind several frames \n"
|
|
"at a time, increasing the rewinding \n"
|
|
"speed.");
|
|
break;
|
|
case MENU_LABEL_SCREENSHOT:
|
|
snprintf(s, len,
|
|
"Take screenshot.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_FRAME_DELAY:
|
|
snprintf(s, len,
|
|
"Sets how many milliseconds to delay\n"
|
|
"after VSync before running the core.\n"
|
|
"\n"
|
|
"Can reduce latency at cost of\n"
|
|
"higher risk of stuttering.\n"
|
|
" \n"
|
|
"Maximum is 15.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_HARD_SYNC_FRAMES:
|
|
snprintf(s, len,
|
|
"Sets how many frames CPU can \n"
|
|
"run ahead of GPU when using 'GPU \n"
|
|
"Hard Sync'.\n"
|
|
" \n"
|
|
"Maximum is 3.\n"
|
|
" \n"
|
|
" 0: Syncs to GPU immediately.\n"
|
|
" 1: Syncs to previous frame.\n"
|
|
" 2: Etc ...");
|
|
break;
|
|
case MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION:
|
|
snprintf(s, len,
|
|
"Inserts a black frame inbetween \n"
|
|
"frames.\n"
|
|
" \n"
|
|
"Useful for 120 Hz monitors who want to \n"
|
|
"play 60 Hz material with eliminated \n"
|
|
"ghosting.\n"
|
|
" \n"
|
|
"Video refresh rate should still be \n"
|
|
"configured as if it is a 60 Hz monitor \n"
|
|
"(divide refresh rate by 2).");
|
|
break;
|
|
case MENU_LABEL_RGUI_SHOW_START_SCREEN:
|
|
snprintf(s, len,
|
|
"Show startup screen in menu.\n"
|
|
"Is automatically set to false when seen\n"
|
|
"for the first time.\n"
|
|
" \n"
|
|
"This is only updated in config if\n"
|
|
"'Save Configuration on Exit' is enabled.\n");
|
|
break;
|
|
case MENU_LABEL_CORE_SPECIFIC_CONFIG:
|
|
snprintf(s, len,
|
|
"Load up a specific config file \n"
|
|
"based on the core being used.\n");
|
|
break;
|
|
case MENU_LABEL_VIDEO_FULLSCREEN:
|
|
snprintf(s, len, "Toggles fullscreen.");
|
|
break;
|
|
case MENU_LABEL_BLOCK_SRAM_OVERWRITE:
|
|
snprintf(s, len,
|
|
"Block SRAM from being overwritten \n"
|
|
"when loading save states.\n"
|
|
" \n"
|
|
"Might potentially lead to buggy games.");
|
|
break;
|
|
case MENU_LABEL_PAUSE_NONACTIVE:
|
|
snprintf(s, len,
|
|
"Pause gameplay when window focus \n"
|
|
"is lost.");
|
|
break;
|
|
case MENU_LABEL_VIDEO_GPU_SCREENSHOT:
|
|
snprintf(s, len,
|
|
"Screenshots output of GPU shaded \n"
|
|
"material if available.");
|
|
break;
|
|
case MENU_LABEL_SCREENSHOT_DIRECTORY:
|
|
snprintf(s, len,
|
|
"Screenshot Directory. \n"
|
|
" \n"
|
|
"Directory to dump screenshots to."
|
|
);
|
|
break;
|
|
case MENU_LABEL_VIDEO_SWAP_INTERVAL:
|
|
snprintf(s, len,
|
|
"VSync Swap Interval.\n"
|
|
" \n"
|
|
"Uses a custom swap interval for VSync. Set this \n"
|
|
"to effectively halve monitor refresh rate.");
|
|
break;
|
|
case MENU_LABEL_SAVEFILE_DIRECTORY:
|
|
snprintf(s, len,
|
|
"Savefile Directory. \n"
|
|
" \n"
|
|
"Save all save files (*.srm) to this \n"
|
|
"directory. This includes related files like \n"
|
|
".bsv, .rt, .psrm, etc...\n"
|
|
" \n"
|
|
"This will be overridden by explicit command line\n"
|
|
"options.");
|
|
break;
|
|
case MENU_LABEL_SAVESTATE_DIRECTORY:
|
|
snprintf(s, len,
|
|
"Savestate Directory. \n"
|
|
" \n"
|
|
"Save all save states (*.state) to this \n"
|
|
"directory.\n"
|
|
" \n"
|
|
"This will be overridden by explicit command line\n"
|
|
"options.");
|
|
break;
|
|
case MENU_LABEL_ASSETS_DIRECTORY:
|
|
snprintf(s, len,
|
|
"Assets Directory. \n"
|
|
" \n"
|
|
" This location is queried by default when \n"
|
|
"menu interfaces try to look for loadable \n"
|
|
"assets, etc.");
|
|
break;
|
|
case MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
|
|
snprintf(s, len,
|
|
"Dynamic Wallpapers Directory. \n"
|
|
" \n"
|
|
" The place to store wallpapers that will \n"
|
|
"be loaded dynamically by the menu depending \n"
|
|
"on context.");
|
|
break;
|
|
case MENU_LABEL_SLOWMOTION_RATIO:
|
|
snprintf(s, len,
|
|
"Slowmotion ratio."
|
|
" \n"
|
|
"When slowmotion, content will slow\n"
|
|
"down by factor.");
|
|
break;
|
|
case MENU_LABEL_INPUT_AXIS_THRESHOLD:
|
|
snprintf(s, len,
|
|
"Defines axis threshold.\n"
|
|
" \n"
|
|
"How far an axis must be tilted to result\n"
|
|
"in a button press.\n"
|
|
" Possible values are [0.0, 1.0].");
|
|
break;
|
|
case MENU_LABEL_INPUT_TURBO_PERIOD:
|
|
snprintf(s, len,
|
|
"Turbo period.\n"
|
|
" \n"
|
|
"Describes speed of which turbo-enabled\n"
|
|
"buttons toggle."
|
|
);
|
|
break;
|
|
case MENU_LABEL_INPUT_AUTODETECT_ENABLE:
|
|
snprintf(s, len,
|
|
"Enable input auto-detection.\n"
|
|
" \n"
|
|
"Will attempt to auto-configure \n"
|
|
"joypads, Plug-and-Play style.");
|
|
break;
|
|
case MENU_LABEL_CAMERA_ALLOW:
|
|
snprintf(s, len,
|
|
"Allow or disallow camera access by \n"
|
|
"cores.");
|
|
break;
|
|
case MENU_LABEL_LOCATION_ALLOW:
|
|
snprintf(s, len,
|
|
"Allow or disallow location services \n"
|
|
"access by cores.");
|
|
break;
|
|
case MENU_LABEL_TURBO:
|
|
snprintf(s, len,
|
|
"Turbo enable.\n"
|
|
" \n"
|
|
"Holding the turbo while pressing another \n"
|
|
"button will let the button enter a turbo \n"
|
|
"mode where the button state is modulated \n"
|
|
"with a periodic signal. \n"
|
|
" \n"
|
|
"The modulation stops when the button \n"
|
|
"itself (not turbo button) is released.");
|
|
break;
|
|
case MENU_LABEL_OSK_ENABLE:
|
|
snprintf(s, len,
|
|
"Enable/disable on-screen keyboard.");
|
|
break;
|
|
case MENU_LABEL_AUDIO_MUTE:
|
|
snprintf(s, len,
|
|
"Mute/unmute audio.");
|
|
break;
|
|
case MENU_LABEL_REWIND:
|
|
snprintf(s, len,
|
|
"Hold button down to rewind.\n"
|
|
" \n"
|
|
"Rewind must be enabled.");
|
|
break;
|
|
case MENU_LABEL_EXIT_EMULATOR:
|
|
snprintf(s, len,
|
|
"Key to exit RetroArch cleanly."
|
|
#if !defined(RARCH_MOBILE) && !defined(RARCH_CONSOLE)
|
|
"\nKilling it in any hard way (SIGKILL, \n"
|
|
"etc) will terminate without saving\n"
|
|
"RAM, etc. On Unix-likes,\n"
|
|
"SIGINT/SIGTERM allows\n"
|
|
"a clean deinitialization."
|
|
#endif
|
|
);
|
|
break;
|
|
case MENU_LABEL_LOAD_STATE:
|
|
snprintf(s, len,
|
|
"Loads state.");
|
|
break;
|
|
case MENU_LABEL_SAVE_STATE:
|
|
snprintf(s, len,
|
|
"Saves state.");
|
|
break;
|
|
case MENU_LABEL_NETPLAY_FLIP_PLAYERS:
|
|
snprintf(s, len,
|
|
"Netplay flip users.");
|
|
break;
|
|
case MENU_LABEL_CHEAT_INDEX_PLUS:
|
|
snprintf(s, len,
|
|
"Increment cheat index.\n");
|
|
break;
|
|
case MENU_LABEL_CHEAT_INDEX_MINUS:
|
|
snprintf(s, len,
|
|
"Decrement cheat index.\n");
|
|
break;
|
|
case MENU_LABEL_SHADER_PREV:
|
|
snprintf(s, len,
|
|
"Applies previous shader in directory.");
|
|
break;
|
|
case MENU_LABEL_SHADER_NEXT:
|
|
snprintf(s, len,
|
|
"Applies next shader in directory.");
|
|
break;
|
|
case MENU_LABEL_RESET:
|
|
snprintf(s, len,
|
|
"Reset the content.\n");
|
|
break;
|
|
case MENU_LABEL_PAUSE_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggle between paused and non-paused state.");
|
|
break;
|
|
case MENU_LABEL_CHEAT_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggle cheat index.\n");
|
|
break;
|
|
case MENU_LABEL_HOLD_FAST_FORWARD:
|
|
snprintf(s, len,
|
|
"Hold for fast-forward. Releasing button \n"
|
|
"disables fast-forward.");
|
|
break;
|
|
case MENU_LABEL_SLOWMOTION:
|
|
snprintf(s, len,
|
|
"Hold for slowmotion.");
|
|
break;
|
|
case MENU_LABEL_FRAME_ADVANCE:
|
|
snprintf(s, len,
|
|
"Frame advance when content is paused.");
|
|
break;
|
|
case MENU_LABEL_MOVIE_RECORD_TOGGLE:
|
|
snprintf(s, len,
|
|
"Toggle between recording and not.");
|
|
break;
|
|
case MENU_LABEL_L_X_PLUS:
|
|
case MENU_LABEL_L_X_MINUS:
|
|
case MENU_LABEL_L_Y_PLUS:
|
|
case MENU_LABEL_L_Y_MINUS:
|
|
case MENU_LABEL_R_X_PLUS:
|
|
case MENU_LABEL_R_X_MINUS:
|
|
case MENU_LABEL_R_Y_PLUS:
|
|
case MENU_LABEL_R_Y_MINUS:
|
|
snprintf(s, len,
|
|
"Axis for analog stick (DualShock-esque).\n"
|
|
" \n"
|
|
"Bound as usual, however, if a real analog \n"
|
|
"axis is bound, it can be read as a true analog.\n"
|
|
" \n"
|
|
"Positive X axis is right. \n"
|
|
"Positive Y axis is down.");
|
|
break;
|
|
case MENU_LABEL_VALUE_WHAT_IS_A_CORE_DESC:
|
|
snprintf(s, len,
|
|
"RetroArch by itself does nothing. \n"
|
|
" \n"
|
|
"To make it do things, you need to \n"
|
|
"load a program into it. \n"
|
|
"\n"
|
|
"We call such a program 'Libretro core', \n"
|
|
"or 'core' in short. \n"
|
|
" \n"
|
|
"To load a core, select one from\n"
|
|
"'Load Core'.\n"
|
|
" \n"
|
|
#ifdef HAVE_NETWORKING
|
|
"You can obtain cores in several ways: \n"
|
|
"* Download them by going to\n"
|
|
"'%s' -> '%s'.\n"
|
|
"* Manually move them over to\n"
|
|
"'%s'.",
|
|
menu_hash_to_str(MENU_LABEL_VALUE_ONLINE_UPDATER),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_LIST),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH)
|
|
#else
|
|
"You can obtain cores by\n"
|
|
"manually moving them over to\n"
|
|
"'%s'.",
|
|
menu_hash_to_str(MENU_LABEL_VALUE_LIBRETRO_DIR_PATH)
|
|
#endif
|
|
);
|
|
break;
|
|
case MENU_LABEL_VALUE_HELP_CHANGE_VIRTUAL_GAMEPAD_DESC:
|
|
snprintf(s, len,
|
|
"You can change the virtual gamepad overlay\n"
|
|
"by going to '%s' -> '%s'."
|
|
" \n"
|
|
"From there you can change the overlay,\n"
|
|
"change the size and opacity of the buttons, etc.\n"
|
|
" \n"
|
|
"NOTE: By default, virtual gamepad overlays are\n"
|
|
"hidden when in the menu.\n"
|
|
"If you'd like to change this behavior,\n"
|
|
"you can set '%s' to false.",
|
|
menu_hash_to_str(MENU_LABEL_VALUE_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_OVERLAY_SETTINGS),
|
|
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU)
|
|
);
|
|
default:
|
|
if (s[0] == '\0')
|
|
strlcpy(s, menu_hash_to_str(MENU_LABEL_VALUE_NO_INFORMATION_AVAILABLE), len);
|
|
return -1;
|
|
}
|
|
|
|
return 0;
|
|
}
|