1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-01 07:54:27 +00:00
RetroArch/msg_hash.h

4283 lines
161 KiB
C
Raw Permalink Normal View History

2015-07-01 12:37:20 +00:00
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
2017-03-22 02:09:18 +00:00
* Copyright (C) 2011-2017 - Daniel De Matteis
2019-01-09 22:19:19 +00:00
* Copyright (C) 2016-2019 - Brad Parker
2016-10-02 20:04:09 +00:00
*
2015-07-01 12:37:20 +00:00
* 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/>.
*/
#ifndef __MSG_HASH_H
#define __MSG_HASH_H
#include <stdint.h>
#include <stddef.h>
#include <limits.h>
2019-11-16 03:08:49 +00:00
#include <boolean.h>
2016-06-03 00:39:35 +00:00
#include <retro_common_api.h>
2016-09-11 14:31:23 +00:00
#include "input/input_defines.h"
2016-07-06 23:52:10 +00:00
2016-11-23 16:51:45 +00:00
#define MSG_HASH(Id, str) case Id: return str;
#define MENU_LABEL(STR) \
MENU_ENUM_LABEL_##STR, \
MENU_ENUM_SUBLABEL_##STR, \
MENU_ENUM_LABEL_VALUE_##STR
#define MENU_LBL_H(STR) \
MENU_ENUM_LABEL_##STR, \
MENU_ENUM_SUBLABEL_##STR, \
MENU_ENUM_LABEL_VALUE_##STR, \
MENU_ENUM_LABEL_HELP_##STR
2016-06-20 01:35:09 +00:00
RETRO_BEGIN_DECLS
enum msg_hash_action
{
MSG_HASH_NONE = 0,
MSG_HASH_USER_LANGUAGE
};
2016-06-28 10:19:18 +00:00
enum msg_file_type
{
2016-06-20 13:50:37 +00:00
FILE_TYPE_NONE = 0,
FILE_TYPE_PLAIN,
FILE_TYPE_DIRECTORY,
FILE_TYPE_PARENT_DIRECTORY,
FILE_TYPE_PATH,
FILE_TYPE_DEVICE,
FILE_TYPE_CORE,
FILE_TYPE_PLAYLIST_ENTRY,
FILE_TYPE_CONTENTLIST_ENTRY,
FILE_TYPE_SHADER_PRESET,
FILE_TYPE_SHADER,
FILE_TYPE_VIDEOFILTER,
FILE_TYPE_AUDIOFILTER,
FILE_TYPE_CHEAT,
FILE_TYPE_OVERLAY,
FILE_TYPE_FONT,
FILE_TYPE_CONFIG,
FILE_TYPE_USE_DIRECTORY,
FILE_TYPE_SCAN_DIRECTORY,
FILE_TYPE_CARCHIVE,
FILE_TYPE_IN_CARCHIVE,
FILE_TYPE_IMAGE,
FILE_TYPE_IMAGEVIEWER,
FILE_TYPE_REMAP,
FILE_TYPE_DOWNLOAD_CORE,
2016-06-20 23:40:55 +00:00
FILE_TYPE_DOWNLOAD_URL,
2016-06-20 13:50:37 +00:00
FILE_TYPE_DOWNLOAD_CORE_CONTENT,
FILE_TYPE_DOWNLOAD_CORE_INFO,
FILE_TYPE_DOWNLOAD_THUMBNAIL_CONTENT,
FILE_TYPE_DOWNLOAD_LAKKA,
FILE_TYPE_RDB,
FILE_TYPE_RDB_ENTRY,
FILE_TYPE_RPL_ENTRY,
FILE_TYPE_BOOL_ON,
FILE_TYPE_BOOL_OFF,
FILE_TYPE_RECORD_CONFIG,
2018-09-26 21:50:29 +00:00
FILE_TYPE_STREAM_CONFIG,
2016-06-20 13:50:37 +00:00
FILE_TYPE_PLAYLIST_COLLECTION,
FILE_TYPE_PLAYLIST_ASSOCIATION,
FILE_TYPE_MOVIE,
FILE_TYPE_MUSIC,
FILE_TYPE_SHADER_SLANG,
FILE_TYPE_SHADER_GLSL,
FILE_TYPE_SHADER_HLSL,
FILE_TYPE_SHADER_CG,
FILE_TYPE_SHADER_PRESET_GLSLP,
FILE_TYPE_SHADER_PRESET_HLSLP,
FILE_TYPE_SHADER_PRESET_CGP,
FILE_TYPE_SHADER_PRESET_SLANGP,
FILE_TYPE_DOWNLOAD_THUMBNAIL,
FILE_TYPE_MORE,
FILE_TYPE_COMPRESSED,
FILE_TYPE_SHA1,
FILE_TYPE_MD5,
FILE_TYPE_CRC,
FILE_TYPE_RGUI_THEME_PRESET,
2019-03-29 18:24:33 +00:00
FILE_TYPE_VIDEO_LAYOUT,
2016-06-20 13:50:37 +00:00
FILE_TYPE_WEBM,
FILE_TYPE_F4F,
FILE_TYPE_F4V,
FILE_TYPE_OGM,
FILE_TYPE_MKV,
FILE_TYPE_AVI,
FILE_TYPE_M4A,
FILE_TYPE_3GP,
FILE_TYPE_3G2,
2016-06-20 13:50:37 +00:00
FILE_TYPE_MP4,
FILE_TYPE_MP3,
FILE_TYPE_FLAC,
FILE_TYPE_OGG,
FILE_TYPE_FLV,
FILE_TYPE_WAV,
FILE_TYPE_MOV,
FILE_TYPE_WMA,
2016-06-20 13:50:37 +00:00
FILE_TYPE_WMV,
FILE_TYPE_MPG,
FILE_TYPE_MPEG,
FILE_TYPE_VOB,
FILE_TYPE_ASF,
FILE_TYPE_DIVX,
FILE_TYPE_M2P,
FILE_TYPE_M2TS,
FILE_TYPE_PS,
FILE_TYPE_TS,
FILE_TYPE_MXF,
2016-06-20 13:50:37 +00:00
FILE_TYPE_JPEG,
FILE_TYPE_PNG,
FILE_TYPE_TGA,
FILE_TYPE_BMP,
FILE_TYPE_MOD,
FILE_TYPE_S3M,
FILE_TYPE_XM,
2016-06-20 15:55:34 +00:00
FILE_TYPE_CUE,
2017-09-18 00:40:04 +00:00
FILE_TYPE_GDI,
2016-06-20 15:55:34 +00:00
FILE_TYPE_ISO,
FILE_TYPE_LUTRO,
2017-09-17 05:30:47 +00:00
FILE_TYPE_CHD,
FILE_TYPE_WBFS,
FILE_TYPE_RVZ,
FILE_TYPE_WIA,
2016-06-20 15:55:34 +00:00
FILE_TYPE_DIRECT_LOAD,
2019-01-05 23:33:29 +00:00
FILE_TYPE_GONG,
/* Note: New entries must be added at the end, otherwise
* menu_cbs_init_bind_get_string_representation_compare_type() breaks... */
FILE_TYPE_DOWNLOAD_PL_THUMBNAIL_CONTENT,
2019-11-29 17:13:35 +00:00
FILE_TYPE_MANUAL_SCAN_DIRECTORY,
FILE_TYPE_MANUAL_SCAN_DAT,
2019-11-29 17:13:35 +00:00
2020-01-09 14:13:21 +00:00
FILE_TYPE_SIDELOAD_CORE,
FILE_TYPE_VIDEO_FONT,
FILE_TYPE_DOWNLOAD_CORE_SYSTEM_FILES,
FILE_TYPE_OSK_OVERLAY,
2016-06-20 13:50:37 +00:00
FILE_TYPE_LAST
};
2016-06-14 13:04:49 +00:00
enum msg_hash_enums
{
MSG_UNKNOWN = 0,
MSG_ROOM_PASSWORDED,
MSG_INTERNET,
MSG_INTERNET_RELAY,
MSG_INTERNET_NOT_CONNECTABLE,
MSG_READ_WRITE,
MSG_READ_ONLY,
MSG_LOCAL,
2016-10-22 03:05:07 +00:00
MSG_SETTING_DISK_IN_TRAY,
MSG_FAILED_TO_SET_DISK,
MSG_FAILED_TO_SET_INITIAL_DISK,
MSG_NETPLAY_NEED_CONTENT_LOADED,
MSG_FAILED_TO_CONNECT_TO_CLIENT,
MSG_FAILED_TO_CONNECT_TO_HOST,
MSG_NETPLAY_HOST_FULL,
MSG_NETPLAY_BANNED,
MSG_FAILED_TO_RECEIVE_HEADER_FROM_HOST,
MSG_NETPLAY_FAILED,
MSG_NETPLAY_UNSUPPORTED,
2016-10-22 03:23:45 +00:00
MSG_UNKNOWN_NETPLAY_COMMAND_RECEIVED,
MSG_CONNECTING_TO_NETPLAY_HOST,
2016-12-03 03:40:26 +00:00
MSG_NETPLAY_LAN_SCAN_COMPLETE,
MSG_NETPLAY_LAN_SCANNING,
2016-10-22 03:23:45 +00:00
MSG_WAITING_FOR_CLIENT,
MSG_ROOM_NOT_CONNECTABLE,
MSG_NETPLAY_YOU_HAVE_LEFT_THE_GAME,
MSG_NETPLAY_YOU_HAVE_JOINED_AS_PLAYER_N,
MSG_NETPLAY_YOU_HAVE_JOINED_WITH_INPUT_DEVICES_S,
MSG_NETPLAY_PLAYER_S_LEFT,
MSG_NETPLAY_S_HAS_JOINED_AS_PLAYER_N,
MSG_NETPLAY_S_HAS_JOINED_WITH_INPUT_DEVICES_S,
2017-09-12 21:00:30 +00:00
MSG_NETPLAY_NOT_RETROARCH,
MSG_NETPLAY_OUT_OF_DATE,
MSG_NETPLAY_DIFFERENT_VERSIONS,
MSG_NETPLAY_DIFFERENT_CORES,
MSG_NETPLAY_DIFFERENT_CORE_VERSIONS,
MSG_NETPLAY_ENDIAN_DEPENDENT,
MSG_NETPLAY_PLATFORM_DEPENDENT,
MSG_NETPLAY_ENTER_PASSWORD,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MSG_NETPLAY_ENTER_CHAT,
MSG_NETPLAY_INCORRECT_PASSWORD,
MSG_NETPLAY_SERVER_NAMED_HANGUP,
MSG_NETPLAY_SERVER_HANGUP,
MSG_NETPLAY_CLIENT_HANGUP,
MSG_NETPLAY_CANNOT_PLAY_UNPRIVILEGED,
MSG_NETPLAY_CANNOT_PLAY_NO_SLOTS,
MSG_NETPLAY_CANNOT_PLAY_NOT_AVAILABLE,
MSG_NETPLAY_CANNOT_PLAY,
MSG_NETPLAY_PEER_PAUSED,
MSG_NETPLAY_CHANGED_NICK,
MSG_NETPLAY_KICKED_CLIENT_S,
MSG_NETPLAY_FAILED_TO_KICK_CLIENT_S,
2022-07-07 14:08:46 +00:00
MSG_NETPLAY_BANNED_CLIENT_S,
MSG_NETPLAY_FAILED_TO_BAN_CLIENT_S,
MSG_NETPLAY_STATUS_PLAYING,
MSG_NETPLAY_STATUS_SPECTATING,
MSG_NETPLAY_CLIENT_DEVICES,
MSG_NETPLAY_CHAT_SUPPORTED,
MSG_NETPLAY_SLOWDOWNS_CAUSED,
2018-11-02 14:29:29 +00:00
MSG_RESAMPLER_QUALITY_LOWEST,
MSG_RESAMPLER_QUALITY_LOWER,
MSG_RESAMPLER_QUALITY_NORMAL,
MSG_RESAMPLER_QUALITY_HIGHER,
MSG_RESAMPLER_QUALITY_HIGHEST,
MSG_DISCORD_CONNECTION_REQUEST,
MSG_ADDED_TO_FAVORITES,
MSG_ADD_TO_FAVORITES_FAILED,
MSG_SET_CORE_ASSOCIATION,
MSG_RESET_CORE_ASSOCIATION,
MSG_CORE_ASSOCIATION_RESET,
2016-10-22 02:57:46 +00:00
MSG_AUTODETECT,
2016-10-22 03:05:07 +00:00
MSG_AUDIO_VOLUME,
2017-06-08 20:58:43 +00:00
MSG_AUDIO_MIXER_VOLUME,
2016-06-20 01:54:42 +00:00
MSG_LIBRETRO_FRONTEND,
2016-11-08 14:17:02 +00:00
MSG_CAPABILITIES,
MSG_DEVICE_CONFIGURED_IN_PORT, /* deprecated */
MSG_DEVICE_CONFIGURED_IN_PORT_NR,
MSG_DEVICE_NOT_CONFIGURED, /* deprecated */
MSG_DEVICE_NOT_CONFIGURED_NR,
MSG_DEVICE_NOT_CONFIGURED_FALLBACK, /* deprecated */
MSG_DEVICE_NOT_CONFIGURED_FALLBACK_NR,
MSG_DEVICE_DISCONNECTED_FROM_PORT, /* deprecated */
MSG_DEVICE_DISCONNECTED_FROM_PORT_NR,
2016-11-08 14:17:02 +00:00
MSG_NO_ARGUMENTS_SUPPLIED_AND_NO_MENU_BUILTIN,
MSG_COMPILER,
MSG_NATIVE,
2019-02-12 10:51:06 +00:00
MSG_DYNAMIC,
2016-11-08 14:17:02 +00:00
MSG_UNKNOWN_COMPILER,
MSG_AUTOLOADING_SAVESTATE_FAILED,
MSG_AUTOLOADING_SAVESTATE_SUCCEEDED,
2016-06-20 02:17:03 +00:00
MSG_LOADING,
MSG_FIRMWARE,
2016-10-22 03:05:07 +00:00
MSG_CONNECTING_TO_PORT,
2016-06-29 01:06:15 +00:00
MSG_CONNECTED_TO,
2016-06-20 02:17:03 +00:00
MSG_FAILED_TO_LOAD,
MSG_USING_CORE_NAME_FOR_NEW_CONFIG,
MSG_SAVED_NEW_CONFIG_TO,
MSG_FAILED_SAVING_CONFIG_TO,
2016-07-01 06:35:12 +00:00
MSG_INFLATED_CHECKSUM_DID_NOT_MATCH_CRC32,
MSG_FAILED_TO_EXTRACT_CONTENT_FROM_COMPRESSED_FILE,
MSG_FILE_NOT_FOUND,
2016-08-22 11:41:11 +00:00
MSG_VALUE_SHUTTING_DOWN,
MSG_VALUE_REBOOTING,
MSG_FAILED_TO_START_AUDIO_DRIVER,
MSG_FOUND_LAST_STATE_SLOT,
MSG_FOUND_LAST_REPLAY_SLOT,
MSG_REPLAY_LOAD_STATE_HALT_INCOMPAT,
MSG_REPLAY_LOAD_STATE_FAILED_INCOMPAT,
MSG_RESTORED_OLD_SAVE_STATE,
MSG_NO_STATE_HAS_BEEN_LOADED_YET,
2016-10-22 02:47:50 +00:00
MSG_GOT_CONNECTION_FROM,
2016-12-10 04:38:30 +00:00
MSG_GOT_CONNECTION_FROM_NAME,
2016-10-22 02:49:04 +00:00
MSG_CONNECTION_SLOT,
MSG_PUBLIC_ADDRESS,
MSG_PRIVATE_OR_SHARED_ADDRESS,
MSG_UPNP_FAILED,
MSG_NO_SAVE_STATE_HAS_BEEN_OVERWRITTEN_YET,
MSG_CANNOT_INFER_NEW_CONFIG_PATH,
MSG_UNDID_LOAD_STATE,
MSG_UNDID_SAVE_STATE,
2016-08-22 11:11:40 +00:00
MSG_CONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_VALUE_CONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_DISCONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_DISCONNECTING_DEVICE_FROM_PORT, /* deprecated */
MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT, /* deprecated */
2016-08-22 00:38:19 +00:00
MSG_BRINGING_UP_COMMAND_INTERFACE_ON_PORT,
2016-06-28 10:08:30 +00:00
MSG_FAILED_TO_ACCEPT_INCOMING_SPECTATOR,
MSG_FAILED_TO_GET_NICKNAME_FROM_CLIENT,
MSG_FAILED_TO_SEND_NICKNAME_TO_CLIENT,
2016-06-29 01:06:15 +00:00
MSG_FAILED_TO_SEND_NICKNAME_TO_HOST,
MSG_FAILED_TO_RECEIVE_NICKNAME_SIZE_FROM_HOST,
MSG_FAILED_TO_RECEIVE_NICKNAME,
MSG_FAILED_TO_RECEIVE_NICKNAME_FROM_HOST,
MSG_FAILED_TO_RECEIVE_HEADER_FROM_CLIENT,
MSG_FAILED_TO_RECEIVE_SRAM_DATA_FROM_HOST,
MSG_FAILED_TO_SEND_NICKNAME_SIZE,
MSG_FAILED_TO_SEND_NICKNAME,
MSG_FAILED_TO_SEND_SRAM_DATA_TO_CLIENT,
2016-07-01 04:02:57 +00:00
MSG_GAME_SPECIFIC_CORE_OPTIONS_FOUND_AT,
MSG_FOLDER_SPECIFIC_CORE_OPTIONS_FOUND_AT,
2016-06-29 01:06:15 +00:00
MSG_INVALID_NICKNAME_SIZE,
2016-06-20 02:23:00 +00:00
MSG_VERSION_OF_LIBRETRO_API,
MSG_COMPILED_AGAINST_API,
2016-06-20 02:17:03 +00:00
MSG_ERROR_LIBRETRO_CORE_REQUIRES_SPECIAL_CONTENT,
MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT,
MSG_ERROR_LIBRETRO_CORE_REQUIRES_VFS,
2016-07-01 07:45:04 +00:00
MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED,
MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH,
MSG_FAILED_TO_ALLOCATE_MEMORY_FOR_PATCHED_CONTENT,
2016-06-20 02:17:03 +00:00
MSG_CONTENT_LOADING_SKIPPED_IMPLEMENTATION_WILL_DO_IT,
2016-06-14 13:04:49 +00:00
MSG_PROGRAM,
2016-06-30 03:23:22 +00:00
MSG_ERROR,
2016-06-30 03:58:05 +00:00
MSG_FOUND_DISK_LABEL,
MSG_READING_FIRST_DATA_TRACK,
MSG_COULD_NOT_FIND_COMPATIBLE_SYSTEM,
MSG_COMPARING_WITH_KNOWN_MAGIC_NUMBERS,
MSG_COULD_NOT_FIND_VALID_DATA_TRACK,
MSG_COULD_NOT_OPEN_DATA_TRACK,
MSG_FOUND_FIRST_DATA_TRACK_ON_FILE,
2016-06-30 03:41:53 +00:00
MSG_FRAMES,
2016-06-14 13:04:49 +00:00
MSG_FOUND_SHADER,
MSG_LOADING_HISTORY_FILE,
MSG_LOADING_FAVORITES_FILE,
2016-06-28 10:08:30 +00:00
MSG_COULD_NOT_READ_STATE_FROM_MOVIE,
MSG_MOVIE_FILE_IS_NOT_A_VALID_REPLAY_FILE,
MSG_OVERRIDES_NOT_SAVED,
MSG_OVERRIDES_ACTIVE_NOT_SAVING,
2016-10-20 16:08:31 +00:00
MSG_OVERRIDES_SAVED_SUCCESSFULLY,
MSG_OVERRIDES_REMOVED_SUCCESSFULLY,
MSG_OVERRIDES_UNLOADED_SUCCESSFULLY,
MSG_OVERRIDES_ERROR_SAVING,
MSG_OVERRIDES_ERROR_REMOVING,
2016-06-28 10:08:30 +00:00
MSG_AUTOCONFIG_FILE_SAVED_SUCCESSFULLY,
MSG_AUTOCONFIG_FILE_SAVED_SUCCESSFULLY_NAMED,
2016-06-28 10:08:30 +00:00
MSG_AUTOCONFIG_FILE_ERROR_SAVING,
2016-10-22 03:13:37 +00:00
MSG_FILE_ALREADY_EXISTS_SAVING_TO_BACKUP_BUFFER,
2016-10-20 16:08:31 +00:00
MSG_AUTOLOADING_SAVESTATE_FROM,
2016-10-20 16:23:34 +00:00
MSG_FOUND_AUTO_SAVESTATE_IN,
2016-06-14 13:04:49 +00:00
MSG_SRAM_WILL_NOT_BE_SAVED,
2016-10-20 16:23:34 +00:00
MSG_FAILED_TO_BIND_SOCKET,
MSG_AUTO_SAVE_STATE_TO,
MSG_RESTORING_DEFAULT_SHADER_PRESET_TO,
MSG_SORRY_UNIMPLEMENTED_CORES_DONT_DEMAND_CONTENT_NETPLAY,
2016-06-14 13:04:49 +00:00
MSG_LOADING_CONTENT_FILE,
2016-06-20 01:54:42 +00:00
MSG_FATAL_ERROR_RECEIVED_IN,
2016-06-20 02:01:58 +00:00
MSG_FAILED_TO_PATCH,
MSG_COULD_NOT_READ_MOVIE_HEADER,
MSG_CRC32_CHECKSUM_MISMATCH,
2016-06-14 13:04:49 +00:00
MSG_USING_LIBRETRO_DUMMY_CORE_RECORDING_SKIPPED,
2016-06-20 02:07:49 +00:00
MSG_FAILED_TO_OPEN_LIBRETRO_CORE,
MSG_COULD_NOT_FIND_ANY_NEXT_DRIVER,
2016-06-20 02:01:58 +00:00
MSG_MOVIE_FORMAT_DIFFERENT_SERIALIZER_VERSION,
2016-06-29 01:06:15 +00:00
MSG_CONTENT_CRC32S_DIFFER,
MSG_CONTENT_NETPACKET_CRC32S_DIFFER,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MSG_PING_TOO_HIGH,
2016-06-14 13:04:49 +00:00
MSG_RECORDING_TERMINATED_DUE_TO_RESIZE,
MSG_FAILED_TO_START_RECORDING,
2016-06-20 01:54:42 +00:00
MSG_REVERTING_SAVEFILE_DIRECTORY_TO,
MSG_ERROR_PARSING_ARGUMENTS,
MSG_REVERTING_SAVESTATE_DIRECTORY_TO,
2016-07-01 03:42:53 +00:00
MSG_DOWNLOAD_FAILED,
MSG_APPLYING_CHEAT,
MSG_APPLYING_PATCH,
2016-07-01 03:42:53 +00:00
MSG_INPUT_CHEAT,
MSG_INPUT_CHEAT_FILENAME,
MSG_INPUT_PRESET_FILENAME,
MSG_INPUT_OVERRIDE_FILENAME,
MSG_INPUT_REMAP_FILENAME,
2017-08-14 18:07:43 +00:00
MSG_INPUT_RENAME_ENTRY,
MSG_INPUT_ENABLE_SETTINGS_PASSWORD,
MSG_INPUT_ENABLE_SETTINGS_PASSWORD_OK,
MSG_INPUT_ENABLE_SETTINGS_PASSWORD_NOK,
MSG_INPUT_KIOSK_MODE_PASSWORD,
MSG_INPUT_KIOSK_MODE_PASSWORD_OK,
MSG_INPUT_KIOSK_MODE_PASSWORD_NOK,
2016-07-01 03:42:53 +00:00
MSG_REMAP_FILE_SAVED_SUCCESSFULLY,
2017-08-05 05:37:26 +00:00
MSG_REMAP_FILE_REMOVED_SUCCESSFULLY,
MSG_REMAP_FILE_RESET,
MSG_INPUT_BIND_PRESS,
MSG_INPUT_BIND_RELEASE,
MSG_INPUT_BIND_TIMEOUT,
MSG_INPUT_BIND_HOLD,
MSG_OVERRIDE_UNLOAD,
2016-07-27 23:11:58 +00:00
MSG_SHADER_PRESET_SAVED_SUCCESSFULLY,
2019-08-23 23:44:50 +00:00
MSG_SHADER_PRESET_REMOVED_SUCCESSFULLY,
2016-07-01 03:42:53 +00:00
MSG_ERROR_SAVING_REMAP_FILE,
2017-08-05 05:37:26 +00:00
MSG_ERROR_REMOVING_REMAP_FILE,
2016-07-27 23:11:58 +00:00
MSG_ERROR_SAVING_SHADER_PRESET,
2019-08-23 23:44:50 +00:00
MSG_ERROR_REMOVING_SHADER_PRESET,
2016-07-01 03:42:53 +00:00
MSG_FAILED_TO_CREATE_THE_DIRECTORY,
MSG_ERROR_SAVING_CORE_OPTIONS_FILE,
MSG_ERROR_REMOVING_CORE_OPTIONS_FILE,
2016-07-01 03:42:53 +00:00
MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY,
MSG_CORE_OPTIONS_FILE_REMOVED_SUCCESSFULLY,
MSG_CORE_OPTIONS_RESET,
MSG_CORE_OPTIONS_FLUSHED,
MSG_CORE_OPTIONS_FLUSH_FAILED,
2016-07-01 03:42:53 +00:00
MSG_DECOMPRESSION_ALREADY_IN_PROGRESS,
MSG_DECOMPRESSION_FAILED,
2016-06-27 06:19:39 +00:00
MSG_DISK_EJECTED,
MSG_DISK_CLOSED,
MSG_REWIND_UNSUPPORTED,
2016-06-14 13:04:49 +00:00
MSG_REWIND_INIT,
MSG_REWIND_INIT_FAILED,
MSG_REWIND_INIT_FAILED_THREADED_AUDIO,
MSG_LIBRETRO_ABI_BREAK,
MSG_DETECTED_VIEWPORT_OF,
MSG_RECORDING_TO,
MSG_HW_RENDERED_MUST_USE_POSTSHADED_RECORDING,
MSG_VIEWPORT_SIZE_CALCULATION_FAILED,
MSG_AUTOSAVE_FAILED,
MSG_MOVIE_RECORD_STOPPED,
MSG_MOVIE_PLAYBACK_ENDED,
MSG_TAKING_SCREENSHOT,
MSG_SCREENSHOT_SAVED,
MSG_ACHIEVEMENT_UNLOCKED,
MSG_RARE_ACHIEVEMENT_UNLOCKED,
MSG_LEADERBOARD_STARTED,
MSG_LEADERBOARD_FAILED,
MSG_LEADERBOARD_SUBMISSION,
2019-03-11 12:31:27 +00:00
MSG_CHANGE_THUMBNAIL_TYPE,
2020-04-29 16:54:49 +00:00
MSG_TOGGLE_FULLSCREEN_THUMBNAILS,
MSG_TOGGLE_CONTENT_METADATA,
MSG_NO_THUMBNAIL_AVAILABLE,
MSG_NO_THUMBNAIL_DOWNLOAD_POSSIBLE,
2019-02-25 18:12:50 +00:00
MSG_PRESS_AGAIN_TO_QUIT,
MSG_BLUETOOTH_PAIRING_REMOVED,
2020-06-17 11:56:44 +00:00
MSG_BLUETOOTH_SCAN_COMPLETE,
2016-11-30 23:49:48 +00:00
MSG_WIFI_SCAN_COMPLETE,
MSG_WIFI_CONNECTING_TO,
MSG_WIFI_EMPTY_SSID,
2020-06-17 11:56:44 +00:00
MSG_SCANNING_BLUETOOTH_DEVICES,
2016-11-30 23:49:48 +00:00
MSG_SCANNING_WIRELESS_NETWORKS,
MSG_ENABLING_WIRELESS,
MSG_DISABLING_WIRELESS,
MSG_DISCONNECTING_WIRELESS,
2016-06-14 13:04:49 +00:00
MSG_FAILED_TO_TAKE_SCREENSHOT,
MSG_CUSTOM_TIMING_GIVEN,
MSG_SAVING_STATE,
2016-10-02 20:04:09 +00:00
MSG_UNDOING_SAVE_STATE,
2016-06-14 13:04:49 +00:00
MSG_LOADING_STATE,
MSG_FAILED_TO_SAVE_STATE_TO,
MSG_FAILED_TO_SAVE_SRAM,
MSG_FAILED_TO_LOAD_SRAM,
2016-06-14 13:04:49 +00:00
MSG_STATE_SIZE,
MSG_FAILED_TO_LOAD_CONTENT,
MSG_COULD_NOT_READ_CONTENT_FILE,
MSG_SAVED_SUCCESSFULLY_TO,
MSG_BYTES,
MSG_BLOCKING_SRAM_OVERWRITE,
MSG_UNRECOGNIZED_COMMAND,
MSG_SENDING_COMMAND,
MSG_RESTARTING_RECORDING_DUE_TO_DRIVER_REINIT,
MSG_REWINDING,
MSG_SLOW_MOTION_REWIND,
MSG_SLOW_MOTION,
MSG_FAST_FORWARD,
2016-06-14 13:04:49 +00:00
MSG_REWIND_REACHED_END,
MSG_FAILED_TO_START_MOVIE_RECORD,
MSG_CHEEVOS_HARDCORE_MODE_ENABLE,
MSG_STATE_SLOT,
MSG_REPLAY_SLOT,
2016-06-14 13:04:49 +00:00
MSG_STARTING_MOVIE_RECORD_TO,
MSG_FAILED_TO_APPLY_SHADER,
MSG_FAILED_TO_APPLY_SHADER_PRESET,
2016-06-14 13:04:49 +00:00
MSG_APPLYING_SHADER,
MSG_SHADER,
MSG_REDIRECTING_SAVESTATE_TO,
MSG_REDIRECTING_SAVEFILE_TO,
MSG_REDIRECTING_CHEATFILE_TO,
MSG_PREPARING_FOR_CONTENT_SCAN,
2016-06-14 13:04:49 +00:00
MSG_SCANNING,
MSG_SCANNING_OF_DIRECTORY_FINISHED,
MSG_SCANNING_OF_FILE_FINISHED,
2016-06-14 13:04:49 +00:00
MSG_LOADED_STATE_FROM_SLOT,
MSG_LOADED_STATE_FROM_SLOT_AUTO,
2016-06-14 13:04:49 +00:00
MSG_REMOVING_TEMPORARY_CONTENT_FILE,
MSG_FAILED_TO_REMOVE_TEMPORARY_FILE,
MSG_STARTING_MOVIE_PLAYBACK,
MSG_APPENDED_DISK,
MSG_FAILED_TO_APPEND_DISK,
2016-06-14 13:04:49 +00:00
MSG_SKIPPING_SRAM_LOAD,
MSG_CONFIG_DIRECTORY_NOT_SET,
MSG_SAVED_STATE_TO_SLOT,
MSG_SAVED_STATE_TO_SLOT_AUTO,
2016-06-14 13:04:49 +00:00
MSG_CORE_DOES_NOT_SUPPORT_SAVESTATES,
MSG_FAILED_TO_LOAD_STATE,
MSG_FAILED_TO_UNDO_LOAD_STATE,
MSG_FAILED_TO_UNDO_SAVE_STATE,
2016-06-14 13:04:49 +00:00
MSG_RESET,
MSG_AUDIO_MUTED,
MSG_AUDIO_UNMUTED,
MSG_FAILED_TO_UNMUTE_AUDIO,
MSG_FAILED_TO_LOAD_OVERLAY,
MSG_OSK_OVERLAY_NOT_SET,
2016-06-14 13:04:49 +00:00
MSG_PAUSED,
MSG_UNPAUSED,
MSG_CORE_DOES_NOT_SUPPORT_DISK_OPTIONS,
MSG_GRAB_MOUSE_STATE,
MSG_GAME_FOCUS_ON,
MSG_GAME_FOCUS_OFF,
2016-06-14 13:04:49 +00:00
MSG_FAILED_TO_LOAD_MOVIE_FILE,
MSG_FAILED_TO,
MSG_SAVING_RAM_TYPE,
MSG_TO,
MSG_REMOVED_DISK_FROM_TRAY,
MSG_FAILED_TO_REMOVE_DISK_FROM_TRAY,
MSG_VIRTUAL_DISK_TRAY_EJECT,
MSG_VIRTUAL_DISK_TRAY_CLOSE,
2016-06-14 13:04:49 +00:00
MSG_GOT_INVALID_DISK_INDEX,
MSG_INDEX_FILE,
2016-06-14 13:04:49 +00:00
MSG_DOWNLOADING,
MSG_EXTRACTING,
2016-07-01 06:35:12 +00:00
MSG_EXTRACTING_FILE,
MSG_NO_CONTENT_STARTING_DUMMY_CORE,
MSG_CONFIG_OVERRIDE_LOADED,
MSG_GAME_REMAP_FILE_LOADED,
MSG_DIRECTORY_REMAP_FILE_LOADED,
MSG_CORE_REMAP_FILE_LOADED,
MSG_REMAP_FILE_FLUSHED,
MSG_REMAP_FILE_FLUSH_FAILED,
MSG_RUNAHEAD_ENABLED,
MSG_RUNAHEAD_ENABLED_WITH_SECOND_INSTANCE,
MSG_RUNAHEAD_DISABLED,
MSG_RUNAHEAD_CORE_DOES_NOT_SUPPORT_SAVESTATES,
MSG_RUNAHEAD_CORE_DOES_NOT_SUPPORT_RUNAHEAD,
MSG_RUNAHEAD_FAILED_TO_SAVE_STATE,
MSG_RUNAHEAD_FAILED_TO_LOAD_STATE,
MSG_RUNAHEAD_FAILED_TO_CREATE_SECONDARY_INSTANCE,
MSG_PREEMPT_ENABLED,
MSG_PREEMPT_DISABLED,
MSG_PREEMPT_CORE_DOES_NOT_SUPPORT_SAVESTATES,
MSG_PREEMPT_CORE_DOES_NOT_SUPPORT_PREEMPT,
MSG_PREEMPT_FAILED_TO_ALLOCATE,
MSG_PREEMPT_FAILED_TO_SAVE_STATE,
MSG_PREEMPT_FAILED_TO_LOAD_STATE,
2018-11-17 13:34:37 +00:00
MSG_MISSING_ASSETS,
2020-12-09 16:48:09 +00:00
MSG_RGUI_MISSING_FONTS,
MSG_RGUI_INVALID_LANGUAGE,
#ifdef HAVE_LAKKA
MSG_LOCALAP_SWITCHING_OFF,
MSG_WIFI_DISCONNECT_FROM,
MSG_LOCALAP_ALREADY_RUNNING,
MSG_LOCALAP_NOT_RUNNING,
MSG_LOCALAP_STARTING,
MSG_LOCALAP_ERROR_CONFIG_CREATE,
MSG_LOCALAP_ERROR_CONFIG_PARSE,
#endif
MSG_UNSUPPORTED_VIDEO_MODE,
MSG_CORE_INFO_CACHE_UNSUPPORTED,
MSG_LOADING_ENTRY_STATE_FROM,
MSG_FOUND_ENTRY_STATE_IN,
MSG_FAILED_TO_ENTER_GAMEMODE,
MSG_FAILED_TO_ENTER_GAMEMODE_LINUX,
MSG_VRR_RUNLOOP_ENABLED,
MSG_VRR_RUNLOOP_DISABLED,
MSG_VIDEO_REFRESH_RATE_CHANGED,
2018-11-17 13:34:37 +00:00
MSG_IOS_TOUCH_MOUSE_ENABLED,
MSG_IOS_TOUCH_MOUSE_DISABLED,
/* Add To Playlist*/
MSG_ADDED_TO_PLAYLIST,
MSG_ADD_TO_PLAYLIST_FAILED,
MENU_ENUM_LABEL_ADD_ENTRY_TO_PLAYLIST,
MENU_ENUM_LABEL_DEFERRED_ADD_TO_PLAYLIST_LIST,
MENU_LABEL(ADD_TO_PLAYLIST),
MENU_LABEL(CREATE_NEW_PLAYLIST),
MENU_LABEL(MENU_XMB_ANIMATION_HORIZONTAL_HIGHLIGHT),
MENU_LABEL(MENU_XMB_ANIMATION_MOVE_UP_DOWN),
MENU_LABEL(MENU_XMB_ANIMATION_OPENING_MAIN_MENU),
2019-05-05 19:54:49 +00:00
MENU_LABEL(SCAN_WITHOUT_CORE_MATCH),
MENU_LABEL(SCAN_SERIAL_AND_CRC),
2018-09-27 11:38:32 +00:00
MENU_LABEL(STREAMING_TITLE),
2018-09-26 21:34:45 +00:00
MENU_LABEL(STREAMING_MODE),
MENU_ENUM_LABEL_VALUE_VIDEO_STREAMING_MODE_TWITCH,
MENU_ENUM_LABEL_VALUE_VIDEO_STREAMING_MODE_YOUTUBE,
MENU_ENUM_LABEL_VALUE_VIDEO_STREAMING_MODE_FACEBOOK,
MENU_ENUM_LABEL_VALUE_VIDEO_STREAMING_MODE_LOCAL,
MENU_ENUM_LABEL_VALUE_VIDEO_STREAMING_MODE_CUSTOM,
MENU_LABEL(VIDEO_RECORD_QUALITY),
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_CUSTOM,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_LOW_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_MED_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_HIGH_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_LOSSLESS_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_WEBM_FAST,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_WEBM_HIGH_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_GIF,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_RECORDING_APNG,
MENU_LABEL(VIDEO_STREAM_QUALITY),
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_STREAMING_CUSTOM,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_STREAMING_LOW_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_STREAMING_MED_QUALITY,
MENU_ENUM_LABEL_VALUE_VIDEO_RECORD_CONFIG_TYPE_STREAMING_HIGH_QUALITY,
MENU_LABEL(STREAMING_URL),
MENU_LABEL(UDP_STREAM_PORT),
MENU_LABEL(MIXER_STREAM),
MENU_LABEL(ADD_TO_MIXER),
2018-05-02 18:27:01 +00:00
MENU_LABEL(ADD_TO_MIXER_AND_PLAY),
MENU_LABEL(ADD_TO_MIXER_AND_COLLECTION),
2018-05-02 19:09:53 +00:00
MENU_LABEL(ADD_TO_MIXER_AND_COLLECTION_AND_PLAY),
MENU_ENUM_LABEL_VALUE_AUDIO_STREAM_STATE_NONE,
MENU_ENUM_LABEL_VALUE_AUDIO_STREAM_STATE_STOPPED,
MENU_ENUM_LABEL_VALUE_AUDIO_STREAM_STATE_PLAYING,
MENU_ENUM_LABEL_VALUE_AUDIO_STREAM_STATE_PLAYING_LOOPED,
MENU_ENUM_LABEL_VALUE_AUDIO_STREAM_STATE_PLAYING_SEQUENTIAL,
2018-09-26 21:22:12 +00:00
MENU_LABEL(TWITCH_STREAM_KEY),
MENU_LABEL(YOUTUBE_STREAM_KEY),
2020-12-19 12:14:14 +00:00
MENU_LABEL(FACEBOOK_STREAM_KEY),
MENU_ENUM_LABEL_MENU_TOGGLE,
2016-11-22 12:29:27 +00:00
2017-05-31 22:25:13 +00:00
MENU_LABEL(FILTER_BY_CURRENT_CORE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(NO_HISTORY_AVAILABLE),
MENU_LABEL(NO_MUSIC_AVAILABLE),
MENU_LABEL(NO_VIDEOS_AVAILABLE),
MENU_LABEL(NO_IMAGES_AVAILABLE),
2018-11-05 13:30:08 +00:00
MENU_LABEL(NO_FAVORITES_AVAILABLE),
2018-05-29 09:14:21 +00:00
MENU_ENUM_LABEL_DISCORD_IN_MENU,
MENU_ENUM_LABEL_VALUE_DISCORD_IN_MENU,
MENU_ENUM_LABEL_DISCORD_IN_GAME,
MENU_ENUM_LABEL_VALUE_DISCORD_IN_GAME,
MENU_ENUM_LABEL_DISCORD_IN_GAME_PAUSED,
MENU_ENUM_LABEL_VALUE_DISCORD_IN_GAME_PAUSED,
MENU_ENUM_LABEL_DISCORD_STATUS_PLAYING,
MENU_ENUM_LABEL_VALUE_DISCORD_STATUS_PLAYING,
MENU_ENUM_LABEL_DISCORD_STATUS_PAUSED,
MENU_ENUM_LABEL_VALUE_DISCORD_STATUS_PAUSED,
2018-05-29 09:14:21 +00:00
2016-07-14 22:11:16 +00:00
MENU_ENUM_LABEL_VALUE_CHEAT_FILE,
MENU_ENUM_LABEL_VALUE_CHEAT_FILE_APPEND,
MENU_ENUM_LABEL_HELP_INPUT_RETROPAD_BINDS,
2016-07-10 12:49:41 +00:00
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN,
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END = MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN + RARCH_BIND_LIST_END,
2019-10-09 10:33:02 +00:00
MENU_LABEL(MENU_SCALE_FACTOR),
MENU_LABEL(MENU_WIDGET_SCALE_AUTO),
2020-02-13 17:26:16 +00:00
MENU_LABEL(MENU_WIDGET_SCALE_FACTOR),
MENU_LABEL(MENU_WIDGET_SCALE_FACTOR_FULLSCREEN),
MENU_LABEL(MENU_WIDGET_SCALE_FACTOR_WINDOWED),
2016-11-22 12:29:27 +00:00
MENU_LABEL(MENU_WALLPAPER_OPACITY),
MENU_LABEL(MENU_FRAMEBUFFER_OPACITY),
MENU_LABEL(MENU_USE_PREFERRED_SYSTEM_COLOR_THEME),
2016-07-09 13:13:06 +00:00
2016-07-14 22:11:16 +00:00
MENU_ENUM_LABEL_VALUE_CONFIG,
MENU_ENUM_LABEL_VALUE_OVERLAY,
2016-07-14 22:00:57 +00:00
MENU_ENUM_LABEL_VALUE_AUTO,
MENU_LABEL(MATERIALUI_ICONS_ENABLE),
2022-12-25 17:17:16 +00:00
MENU_LABEL(MATERIALUI_SWITCH_ICONS),
MENU_LABEL(MATERIALUI_PLAYLIST_ICONS_ENABLE),
MENU_LABEL(MATERIALUI_SHOW_NAV_BAR),
MENU_LABEL(MATERIALUI_AUTO_ROTATE_NAV_BAR),
2019-11-08 16:25:36 +00:00
MENU_LABEL(MATERIALUI_DUAL_THUMBNAIL_LIST_VIEW_ENABLE),
2019-11-11 16:11:32 +00:00
MENU_LABEL(MATERIALUI_THUMBNAIL_BACKGROUND_ENABLE),
2019-01-09 10:44:38 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CUSTOM,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_RED,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_ORANGE,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_YELLOW,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_GREEN,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_BLUE,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_VIOLET,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_CLASSIC_GREY,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_LEGACY_RED,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_DARK_PURPLE,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_MIDNIGHT_BLUE,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_GOLDEN,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_ELECTRIC_BLUE,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_APPLE_GREEN,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_VOLCANIC_RED,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_LAGOON,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_BROGRAMMER,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_DRACULA,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_FAIRYFLOSS,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_FLATUI,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_GRUVBOX_DARK,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_GRUVBOX_LIGHT,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_HACKING_THE_KERNEL,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_NORD,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_NOVA,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_ONE_DARK,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_PALENIGHT,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_SOLARIZED_DARK,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_SOLARIZED_LIGHT,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_TANGO_DARK,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_TANGO_LIGHT,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_ZENBURN,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_ANTI_ZENBURN,
2019-11-02 14:33:51 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_FLUX,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_DYNAMIC,
2022-03-22 13:42:00 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_GRAY_DARK,
MENU_ENUM_LABEL_VALUE_RGUI_MENU_COLOR_THEME_GRAY_LIGHT,
2019-01-09 10:44:38 +00:00
2018-10-27 14:50:48 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_BASIC_WHITE,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_BASIC_BLACK,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_NORD,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_GRUVBOX_DARK,
2020-08-12 15:37:22 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_BOYSENBERRY,
2020-11-03 02:07:20 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_HACKING_THE_KERNEL,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_TWILIGHT_ZONE,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_DRACULA,
new ozone theme: solarized dark (#1) * feat: adding solarized dark theme to ozone * fix: variable not defined in header * fix: added string for selecting theme in menu * fix: added message hash for string * feat: copied solarized dark translations into msg hashes * fix: forgot to change name of enum label after copying * first pass of new colors * added selection border and fixed sublabel color * sublabel color from blue to muted gray * trying cyan for sublabel * adjusted selected text color to match philosophy from solarized website * testing what the entries_ colors do * chose colors for entries_, adjusted other border and bgs * match selection border to sublabel color * trying gray for sublabel * accidentally put the color in the wrong place, reverting and updating * trying to change selected option color to orange * not feeling orange, lets try teal * try for orange border * try for magenta border * try for violet border * trying blue border again * trying omar blue bc why not * reverting to regular blue for icons and green for border * try magenta for footer border * trying font color for footer border * trying to get message background to show * can't get it to render, but changed message background to violet * testing sidebar changes * sidebar colors * lighter sidebar color * trying gray sidebar * try a gradient * screwed up one of the coordinates * reversing gradient * attempting gradient with colors i made up * accidentally wrote gradient to dracula instead of solarized dark * adding gradient to the top, reversing bottom gradient * randomly trying shuffling bottom gradient coords * moving top right coordinate somewhere else * swapped top two bottom coords to see * swapped them back, i got lucky and things were right * think i figured out the order, BL, BR, TL, TR * making background gradient lil darker * fixed coords * lessening gradient effect * lessening gradient effect, but by making darker instead of lighter * of course, messed up two coords * removed top and bottom gradients * dark and flat sidebar * forgot to change running background * made running background a bit less transparent since this is a low contrast theme
2021-10-15 07:16:13 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_SOLARIZED_DARK,
feat: solarized light ozone theme (#5) * feat: adding solarized dark theme to ozone * fix: variable not defined in header * fix: added string for selecting theme in menu * fix: added message hash for string * feat: copied solarized dark translations into msg hashes * fix: forgot to change name of enum label after copying * first pass of new colors * added selection border and fixed sublabel color * sublabel color from blue to muted gray * trying cyan for sublabel * adjusted selected text color to match philosophy from solarized website * testing what the entries_ colors do * chose colors for entries_, adjusted other border and bgs * match selection border to sublabel color * trying gray for sublabel * accidentally put the color in the wrong place, reverting and updating * trying to change selected option color to orange * not feeling orange, lets try teal * try for orange border * try for magenta border * try for violet border * trying blue border again * trying omar blue bc why not * reverting to regular blue for icons and green for border * try magenta for footer border * trying font color for footer border * trying to get message background to show * can't get it to render, but changed message background to violet * testing sidebar changes * sidebar colors * lighter sidebar color * trying gray sidebar * try a gradient * screwed up one of the coordinates * reversing gradient * attempting gradient with colors i made up * accidentally wrote gradient to dracula instead of solarized dark * adding gradient to the top, reversing bottom gradient * randomly trying shuffling bottom gradient coords * moving top right coordinate somewhere else * swapped top two bottom coords to see * swapped them back, i got lucky and things were right * think i figured out the order, BL, BR, TL, TR * making background gradient lil darker * fixed coords * lessening gradient effect * lessening gradient effect, but by making darker instead of lighter * of course, messed up two coords * removed top and bottom gradients * dark and flat sidebar * forgot to change running background * made running background a bit less transparent since this is a low contrast theme * added underscore to theme name * adjusting message background color * fixing message background color * fixed cursor color border * adjusting text to be one notch brighter, base0 -> base1, base01 -> base0 * adjusting sublabel text to use base00 instead, its in between base01 and base0 * added message hashes for light theme name * added defines and enums for the light theme * added solarized light structs into ozone.c, theyre all clones of dark for now * fixing solarized dark ozone theme fixing name of theme in ozone.c so assets load properly, fixing cursor and message colors to be green instead of purple * added message hashes for light theme name * added defines and enums for the light theme * added solarized light structs into ozone.c, theyre all clones of dark for now * i had based this branch on the wrong branch, fixed * first pass, only changing background and regular text * trying orange and magenta highlights * Revert "trying orange and magenta highlights" This reverts commit 1f1e107888cee0e97c6354a8d114863b39af8d00. * applying the new colors to the right theme this time :) * trying red instead of pink * trying magenta icons in a desperate attempt to justify the use of the color * trying magenta icons, orange labels and selector * back to orange and red, sigh * trying sidebar colors * fixing sidebar gradient * light theme red animated border colors * trying magenta for second border color * that was bad, trying a less light red * going even darker * made cursor border get darker instead of lighter * that was a little too dark * changed light theme running background to be..light
2021-10-16 20:17:16 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_SOLARIZED_LIGHT,
2022-03-21 17:38:05 +00:00
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_GRAY_DARK,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_GRAY_LIGHT,
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_PURPLE_RAIN,
2018-10-27 14:50:48 +00:00
2016-07-14 22:00:57 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_MONOCHROME,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_MONOCHROME_INVERTED,
2016-07-14 22:00:57 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_FLATUI,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_FLATUX,
2017-11-17 22:42:03 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_RETROSYSTEM,
2016-07-14 22:00:57 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_PIXEL,
2016-12-09 05:39:39 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_SYSTEMATIC,
2017-01-31 02:13:44 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_DOTART,
2016-07-14 22:00:57 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_CUSTOM,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_AUTOMATIC,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_AUTOMATIC_INVERTED,
2022-08-05 02:27:34 +00:00
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_DAITE,
2016-07-14 22:00:57 +00:00
2016-07-10 12:35:27 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_LEGACY_RED,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_DARK_PURPLE,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_MIDNIGHT_BLUE,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_GOLDEN,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_ELECTRIC_BLUE,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_APPLE_GREEN,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_UNDERSEA,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_VOLCANIC_RED,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_DARK,
2017-12-27 22:33:39 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_LIGHT,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_PLAIN,
2018-03-12 00:37:49 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_MORNING_BLUE,
2019-10-19 11:50:58 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_SUNBEAM,
2020-03-01 09:39:45 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_LIME,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_PIKACHU_YELLOW,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_GAMECUBE_PURPLE,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_FAMICOM_RED,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_FLAMING_HOT,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_ICE_COLD,
2020-03-01 09:58:59 +00:00
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_MIDGAR,
2016-07-10 12:35:27 +00:00
MENU_LABEL(SHADER_PIPELINE_RIBBON_SIMPLIFIED),
MENU_LABEL(SHADER_PIPELINE_RIBBON),
MENU_LABEL(SHADER_PIPELINE_SIMPLE_SNOW),
MENU_LABEL(SHADER_PIPELINE_SNOW),
2017-01-08 02:56:47 +00:00
MENU_LABEL(SHADER_PIPELINE_BOKEH),
2017-12-03 03:47:16 +00:00
MENU_LABEL(SHADER_PIPELINE_SNOWFLAKE),
2016-07-10 12:35:27 +00:00
2019-05-05 18:52:09 +00:00
MENU_LABEL(VIDEO_SHADERS_ENABLE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(MATERIALUI_MENU_HEADER_OPACITY),
MENU_LABEL(MATERIALUI_MENU_FOOTER_OPACITY),
2016-07-10 14:11:03 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_BLUE,
2016-07-10 19:23:57 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_BLUE_GREY,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_RED,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_GREEN,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_YELLOW,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_NVIDIA_SHIELD,
2016-07-10 14:11:03 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_DARK_BLUE,
2019-10-16 16:16:35 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_MATERIALUI,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_MATERIALUI_DARK,
2019-10-17 16:14:48 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_OZONE_DARK,
2019-10-23 14:34:17 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_NORD,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_GRUVBOX_DARK,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_SOLARIZED_DARK,
2019-10-28 23:24:34 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_BLUE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_CYAN,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_GREEN,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_ORANGE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_PINK,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_PURPLE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_RED,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY,
2020-08-20 09:13:27 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_HACKING_THE_KERNEL,
2022-03-22 11:39:19 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_GRAY_DARK,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_GRAY_LIGHT,
2019-10-23 14:34:17 +00:00
MENU_LABEL(MATERIALUI_MENU_TRANSITION_ANIMATION),
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_AUTO,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_FADE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_SLIDE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_NONE,
2016-07-10 12:35:27 +00:00
2019-10-31 17:24:24 +00:00
MENU_LABEL(MATERIALUI_MENU_THUMBNAIL_VIEW_PORTRAIT),
MENU_LABEL(MATERIALUI_MENU_THUMBNAIL_VIEW_LANDSCAPE),
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_PORTRAIT_DISABLED,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_PORTRAIT_LIST_SMALL,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_PORTRAIT_LIST_MEDIUM,
2019-11-08 16:25:36 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_PORTRAIT_DUAL_ICON,
2019-10-31 17:24:24 +00:00
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_LANDSCAPE_DISABLED,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_LANDSCAPE_LIST_SMALL,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_LANDSCAPE_LIST_MEDIUM,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_LANDSCAPE_LIST_LARGE,
MENU_ENUM_LABEL_VALUE_MATERIALUI_THUMBNAIL_VIEW_LANDSCAPE_DESKTOP,
2019-10-31 17:24:24 +00:00
2019-11-08 16:25:36 +00:00
MENU_LABEL(MATERIALUI_LANDSCAPE_LAYOUT_OPTIMIZATION),
MENU_ENUM_LABEL_VALUE_MATERIALUI_LANDSCAPE_LAYOUT_OPTIMIZATION_DISABLED,
MENU_ENUM_LABEL_VALUE_MATERIALUI_LANDSCAPE_LAYOUT_OPTIMIZATION_ALWAYS,
MENU_ENUM_LABEL_VALUE_MATERIALUI_LANDSCAPE_LAYOUT_OPTIMIZATION_EXCLUDE_THUMBNAIL_VIEWS,
2016-07-10 12:35:27 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_POLL_TYPE_BEHAVIOR_LATE,
MENU_ENUM_LABEL_VALUE_INPUT_POLL_TYPE_BEHAVIOR_NORMAL,
MENU_ENUM_LABEL_VALUE_INPUT_POLL_TYPE_BEHAVIOR_EARLY,
2016-11-22 12:29:27 +00:00
MENU_LABEL(CHEEVOS_UNLOCKED_ENTRY),
2017-11-24 01:35:54 +00:00
MENU_LABEL(CHEEVOS_UNLOCKED_ENTRY_HARDCORE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(CHEEVOS_LOCKED_ENTRY),
MENU_LABEL(CHEEVOS_UNSUPPORTED_ENTRY),
MENU_LABEL(CHEEVOS_UNOFFICIAL_ENTRY),
MENU_ENUM_LABEL_VALUE_CHEEVOS_RECENTLY_UNLOCKED_ENTRY,
MENU_ENUM_LABEL_VALUE_CHEEVOS_ALMOST_THERE_ENTRY,
MENU_ENUM_LABEL_VALUE_CHEEVOS_ACTIVE_CHALLENGES_ENTRY,
MENU_ENUM_LABEL_VALUE_CHEEVOS_TRACKERS_ONLY,
MENU_ENUM_LABEL_VALUE_CHEEVOS_NOTIFICATIONS_ONLY,
2016-11-22 12:29:27 +00:00
2016-07-07 00:21:33 +00:00
MENU_ENUM_LABEL_SHADER_PARAMETERS_ENTRY,
MENU_ENUM_LABEL_RDB_ENTRY,
2016-07-07 00:51:29 +00:00
MENU_ENUM_LABEL_URL_ENTRY,
2020-05-27 16:00:47 +00:00
MENU_ENUM_LABEL_CORE_UPDATER_ENTRY,
2016-07-07 00:51:29 +00:00
MENU_ENUM_LABEL_CORE_OPTION_ENTRY,
MENU_ENUM_LABEL_NETWORK_INFO_ENTRY,
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,
MENU_ENUM_LABEL_SYSTEM_INFO_CONTROLLER_ENTRY,
2016-07-04 14:50:58 +00:00
MENU_ENUM_LABEL_CORE_INFO_ENTRY,
2020-06-11 13:12:20 +00:00
MENU_ENUM_LABEL_CORE_MANAGER_ENTRY,
#ifdef HAVE_MIST
MENU_ENUM_LABEL_CORE_MANAGER_STEAM_ENTRY,
#endif
2023-08-22 06:07:16 +00:00
MENU_ENUM_LABEL_PLAYLIST_COLLECTION_ENTRY,
2016-07-04 15:35:59 +00:00
MENU_ENUM_LABEL_PLAYLIST_ENTRY,
2016-11-22 12:29:27 +00:00
MENU_LABEL(START_VIDEO_PROCESSOR),
MENU_LABEL(START_NET_RETROPAD),
2019-12-22 02:08:02 +00:00
MENU_LABEL(START_GONG),
/* System information */
2016-11-22 08:25:57 +00:00
MENU_LABEL(CPU_CORES),
2016-11-22 10:14:29 +00:00
MENU_LABEL(CPU_ARCHITECTURE),
MENU_LABEL(JIT_AVAILABLE),
/* Input */
2016-10-02 20:04:09 +00:00
MENU_ENUM_LABEL_INPUT_LIBRETRO_DEVICE,
2016-07-21 19:35:50 +00:00
MENU_ENUM_LABEL_INPUT_LIBRETRO_DEVICE_LAST = MENU_ENUM_LABEL_INPUT_LIBRETRO_DEVICE + MAX_USERS,
MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE,
2016-07-21 19:35:50 +00:00
MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE_LAST = MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE + MAX_USERS,
2021-02-05 16:15:10 +00:00
MENU_ENUM_LABEL_INPUT_DEVICE_INDEX,
MENU_ENUM_LABEL_INPUT_DEVICE_INDEX_LAST = MENU_ENUM_LABEL_INPUT_DEVICE_INDEX + MAX_USERS,
MENU_ENUM_LABEL_INPUT_DEVICE_RESERVATION_TYPE,
MENU_ENUM_LABEL_INPUT_DEVICE_RESERVATION_TYPE_LAST = MENU_ENUM_LABEL_INPUT_DEVICE_RESERVATION_TYPE + MAX_USERS,
MENU_ENUM_LABEL_INPUT_DEVICE_RESERVED_DEVICE_NAME,
MENU_ENUM_LABEL_INPUT_DEVICE_RESERVED_DEVICE_NAME_LAST = MENU_ENUM_LABEL_INPUT_DEVICE_RESERVED_DEVICE_NAME + MAX_USERS,
2021-02-05 23:59:54 +00:00
MENU_ENUM_LABEL_INPUT_MOUSE_INDEX,
MENU_ENUM_LABEL_INPUT_MOUSE_INDEX_LAST = MENU_ENUM_LABEL_INPUT_MOUSE_INDEX + MAX_USERS,
MENU_ENUM_LABEL_INPUT_REMAP_PORT,
MENU_ENUM_LABEL_INPUT_REMAP_PORT_LAST = MENU_ENUM_LABEL_INPUT_REMAP_PORT + MAX_USERS,
MENU_ENUM_LABEL_INPUT_SETTINGS_BEGIN,
2016-11-21 19:32:15 +00:00
MENU_LABEL(INPUT_RETROPAD_BINDS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(INPUT_HOTKEY_BINDS),
MENU_LABEL(INPUT_HOTKEY_BLOCK_DELAY),
MENU_LABEL(INPUT_HOTKEY_DEVICE_MERGE),
2018-09-30 21:39:31 +00:00
MENU_LABEL(INPUT_SPLIT_JOYCON),
2016-11-22 08:25:57 +00:00
2016-11-22 08:14:55 +00:00
MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS_BEGIN,
2016-11-21 19:32:15 +00:00
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_TURBO_PERIOD),
MENU_LABEL(INPUT_TURBO_MODE),
MENU_ENUM_LABEL_VALUE_TURBO_MODE_CLASSIC,
MENU_ENUM_LABEL_VALUE_TURBO_MODE_CLASSIC_TOGGLE,
MENU_ENUM_LABEL_VALUE_TURBO_MODE_SINGLEBUTTON,
MENU_ENUM_LABEL_VALUE_TURBO_MODE_SINGLEBUTTON_HOLD,
MENU_ENUM_LABEL_HELP_TURBO_MODE_CLASSIC,
MENU_ENUM_LABEL_HELP_TURBO_MODE_CLASSIC_TOGGLE,
MENU_ENUM_LABEL_HELP_TURBO_MODE_SINGLEBUTTON,
MENU_ENUM_LABEL_HELP_TURBO_MODE_SINGLEBUTTON_HOLD,
MENU_LABEL(INPUT_TURBO_DEFAULT_BUTTON),
MENU_LABEL(INPUT_ALLOW_TURBO_DPAD),
2016-11-22 07:33:36 +00:00
/* MENU_ENUM_LABEL_INPUT_PLAYER1_JOYPAD_INDEX,
MENU_ENUM_LABEL_INPUT_PLAYER2_JOYPAD_INDEX,
MENU_ENUM_LABEL_INPUT_PLAYER3_JOYPAD_INDEX,
MENU_ENUM_LABEL_INPUT_PLAYER4_JOYPAD_INDEX,
MENU_ENUM_LABEL_INPUT_PLAYER5_JOYPAD_INDEX,*/
MENU_ENUM_LABEL_INPUT_BIND_DEVICE_TYPE,
2021-02-05 16:15:10 +00:00
MENU_ENUM_LABEL_INPUT_BIND_DEVICE_INDEX,
MENU_ENUM_LABEL_INPUT_DRIVER_ANDROID,
MENU_ENUM_LABEL_INPUT_DRIVER_PS4,
MENU_ENUM_LABEL_INPUT_DRIVER_PS3,
MENU_ENUM_LABEL_INPUT_DRIVER_PSP,
MENU_ENUM_LABEL_INPUT_DRIVER_PS2,
MENU_ENUM_LABEL_INPUT_DRIVER_CTR,
MENU_ENUM_LABEL_INPUT_DRIVER_SWITCH,
MENU_ENUM_LABEL_INPUT_DRIVER_SDL,
MENU_ENUM_LABEL_INPUT_DRIVER_SDL2,
MENU_ENUM_LABEL_INPUT_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_INPUT_DRIVER_DINPUT,
MENU_ENUM_LABEL_INPUT_DRIVER_WINRAW,
MENU_ENUM_LABEL_INPUT_DRIVER_X,
MENU_ENUM_LABEL_INPUT_DRIVER_WAYLAND,
MENU_ENUM_LABEL_INPUT_DRIVER_XENON360,
MENU_ENUM_LABEL_INPUT_DRIVER_XINPUT,
MENU_ENUM_LABEL_INPUT_DRIVER_UWP,
MENU_ENUM_LABEL_INPUT_DRIVER_WII,
MENU_ENUM_LABEL_INPUT_DRIVER_WIIU,
MENU_ENUM_LABEL_INPUT_DRIVER_UDEV,
MENU_ENUM_LABEL_INPUT_DRIVER_LINUXRAW,
MENU_ENUM_LABEL_INPUT_DRIVER_COCOA,
MENU_ENUM_LABEL_INPUT_DRIVER_QNX,
MENU_ENUM_LABEL_INPUT_DRIVER_RWEBINPUT,
MENU_ENUM_LABEL_INPUT_DRIVER_DOS,
MENU_ENUM_LABEL_INPUT_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_ANDROID,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_PS4,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_PS3,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_PSP,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_PS2,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_CTR,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_SWITCH,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_SDL,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_SDL2,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_DINPUT,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_WINRAW,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_X,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_WAYLAND,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_XENON360,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_XINPUT,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_UWP,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_WII,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_WIIU,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_UDEV,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_LINUXRAW,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_COCOA,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_QNX,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_RWEBINPUT,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_DOS,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_INPUT_DRIVER_NO_DETAILS,
MENU_ENUM_LABEL_JOYPAD_DRIVER_ANDROID,
MENU_ENUM_LABEL_JOYPAD_DRIVER_CTR,
MENU_ENUM_LABEL_JOYPAD_DRIVER_DINPUT,
MENU_ENUM_LABEL_JOYPAD_DRIVER_DOS,
MENU_ENUM_LABEL_JOYPAD_DRIVER_GX,
MENU_ENUM_LABEL_JOYPAD_DRIVER_HID,
MENU_ENUM_LABEL_JOYPAD_DRIVER_LINUXRAW,
MENU_ENUM_LABEL_JOYPAD_DRIVER_PARPORT,
MENU_ENUM_LABEL_JOYPAD_DRIVER_PS2,
MENU_ENUM_LABEL_JOYPAD_DRIVER_PS3,
MENU_ENUM_LABEL_JOYPAD_DRIVER_PS4,
MENU_ENUM_LABEL_JOYPAD_DRIVER_PSP,
MENU_ENUM_LABEL_JOYPAD_DRIVER_QNX,
MENU_ENUM_LABEL_JOYPAD_DRIVER_RWEBPAD,
MENU_ENUM_LABEL_JOYPAD_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_JOYPAD_DRIVER_SDL,
MENU_ENUM_LABEL_JOYPAD_DRIVER_SWITCH,
MENU_ENUM_LABEL_JOYPAD_DRIVER_UDEV,
MENU_ENUM_LABEL_JOYPAD_DRIVER_WIIU,
MENU_ENUM_LABEL_JOYPAD_DRIVER_XDK,
MENU_ENUM_LABEL_JOYPAD_DRIVER_XINPUT,
MENU_ENUM_LABEL_JOYPAD_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_ANDROID,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_CTR,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_DINPUT,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_DOS,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_GX,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_HID,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_LINUXRAW,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_PARPORT,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_PS2,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_PS3,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_PS4,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_PSP,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_QNX,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_RWEBPAD,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_SDL,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_SWITCH,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_UDEV,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_WIIU,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_XDK,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_XINPUT,
MENU_ENUM_LABEL_HELP_JOYPAD_DRIVER_NULL,
MENU_ENUM_LABEL_INPUT_USER_1_BINDS,
MENU_ENUM_LABEL_INPUT_USER_2_BINDS,
MENU_ENUM_LABEL_INPUT_USER_3_BINDS,
MENU_ENUM_LABEL_INPUT_USER_4_BINDS,
MENU_ENUM_LABEL_INPUT_USER_5_BINDS,
MENU_ENUM_LABEL_INPUT_USER_6_BINDS,
MENU_ENUM_LABEL_INPUT_USER_7_BINDS,
MENU_ENUM_LABEL_INPUT_USER_8_BINDS,
MENU_ENUM_LABEL_INPUT_USER_9_BINDS,
MENU_ENUM_LABEL_INPUT_USER_10_BINDS,
MENU_ENUM_LABEL_INPUT_USER_11_BINDS,
MENU_ENUM_LABEL_INPUT_USER_12_BINDS,
MENU_ENUM_LABEL_INPUT_USER_13_BINDS,
MENU_ENUM_LABEL_INPUT_USER_14_BINDS,
MENU_ENUM_LABEL_INPUT_USER_15_BINDS,
MENU_ENUM_LABEL_INPUT_USER_16_BINDS,
MENU_ENUM_LABEL_INPUT_RETROPAD_SETTINGS,
MENU_ENUM_LABEL_INPUT_HOTKEY_SETTINGS,
2016-11-22 09:45:43 +00:00
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_REMAPPING_DIRECTORY),
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_INPUT_OVERLAY,
MENU_ENUM_LABEL_INPUT_OSK_OVERLAY,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_B,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_Y,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_SELECT,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_START,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_UP,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_DOWN,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_LEFT,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_RIGHT,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_A,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_X,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_L,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_R,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_L2,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_R2,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_L3,
MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_R3,
MENU_ENUM_LABEL_VALUE_INPUT_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_LEFT,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_RIGHT,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_MIDDLE,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_BUTTON4,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_BUTTON5,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_WHEEL_UP,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_WHEEL_DOWN,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_HORIZ_WHEEL_UP,
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_HORIZ_WHEEL_DOWN,
2016-10-25 17:57:04 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_X,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_Y,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_X,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_Y,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_X_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_X_MINUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_Y_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_LEFT_Y_MINUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_X_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_X_MINUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_Y_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_Y_MINUS,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_TRIGGER,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_RELOAD,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_AUX_A,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_AUX_B,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_AUX_C,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_START,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_SELECT,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_DPAD_UP,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_DPAD_DOWN,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_DPAD_LEFT,
MENU_ENUM_LABEL_VALUE_INPUT_LIGHTGUN_DPAD_RIGHT,
MENU_ENUM_LABEL_VALUE_INPUT_TURBO_ENABLE,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_ENABLE_HOTKEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_MENU_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_QUIT_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_RESTART_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_CLOSE_CONTENT_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_RESET,
MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_FAST_FORWARD_HOLD_KEY,
2018-03-10 17:42:45 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_SLOWMOTION_HOLD_KEY,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_PAUSE_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_FRAMEADVANCE,
MENU_ENUM_LABEL_VALUE_INPUT_META_MUTE,
MENU_ENUM_LABEL_VALUE_INPUT_META_VOLUME_UP,
MENU_ENUM_LABEL_VALUE_INPUT_META_VOLUME_DOWN,
MENU_ENUM_LABEL_VALUE_INPUT_META_LOAD_STATE_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_SAVE_STATE_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_STATE_SLOT_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_META_STATE_SLOT_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_PLAY_REPLAY_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_RECORD_REPLAY_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_HALT_REPLAY_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_REPLAY_SLOT_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_META_REPLAY_SLOT_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_EJECT_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_NEXT,
MENU_ENUM_LABEL_VALUE_INPUT_META_DISK_PREV,
MENU_ENUM_LABEL_VALUE_INPUT_META_SHADER_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_SHADER_NEXT,
MENU_ENUM_LABEL_VALUE_INPUT_META_SHADER_PREV,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_INDEX_PLUS,
MENU_ENUM_LABEL_VALUE_INPUT_META_CHEAT_INDEX_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_SCREENSHOT,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_RECORDING_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_STREAMING_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_GRAB_MOUSE_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_GAME_FOCUS_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_FULLSCREEN_TOGGLE_KEY,
MENU_ENUM_LABEL_VALUE_INPUT_META_UI_COMPANION_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_VRR_RUNLOOP_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_RUNAHEAD_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_PREEMPT_TOGGLE,
2018-11-29 12:12:11 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_FPS_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_STATISTICS_TOGGLE,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_AI_SERVICE,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_PING_TOGGLE,
2019-03-09 22:48:03 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_HOST_TOGGLE,
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_GAME_WATCH,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_PLAYER_CHAT,
MENU_ENUM_LABEL_VALUE_INPUT_META_NETPLAY_FADE_CHAT_TOGGLE,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_OVERLAY_NEXT, /* Hidden */
MENU_ENUM_LABEL_VALUE_INPUT_META_OSK,
2022-11-22 13:45:30 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_META_SEND_DEBUG_INFO, /* Deprecated */
MENU_ENUM_LABEL_VALUE_INPUT_DEVICE_INDEX,
MENU_ENUM_LABEL_VALUE_INPUT_DEVICE_TYPE,
MENU_ENUM_LABEL_VALUE_INPUT_ADC_TYPE,
MENU_ENUM_LABEL_VALUE_INPUT_BIND_ALL,
MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL,
MENU_ENUM_LABEL_VALUE_INPUT_SAVE_AUTOCONFIG,
2017-06-08 14:13:45 +00:00
MENU_ENUM_LABEL_VALUE_INPUT_MOUSE_INDEX,
MENU_ENUM_LABEL_INPUT_JOYPAD_INDEX,
MENU_ENUM_LABEL_VALUE_INPUT_DEVICE_RESERVED_DEVICE_NAME,
MENU_ENUM_LABEL_VALUE_INPUT_DEVICE_RESERVATION_TYPE,
MENU_ENUM_LABEL_VALUE_DEVICE_RESERVATION_NONE,
MENU_ENUM_LABEL_VALUE_DEVICE_RESERVATION_PREFERRED,
MENU_ENUM_LABEL_VALUE_DEVICE_RESERVATION_RESERVED,
MENU_ENUM_LABEL_INPUT_BIND_ALL_INDEX,
MENU_ENUM_LABEL_INPUT_SAVE_AUTOCONFIG_INDEX,
MENU_ENUM_LABEL_INPUT_BIND_DEFAULTS_INDEX,
MENU_ENUM_LABEL_VALUE_INPUT_REMAP_PORT,
MENU_ENUM_SUBLABEL_INPUT_DEVICE_TYPE,
MENU_ENUM_SUBLABEL_INPUT_DEVICE_INDEX,
MENU_ENUM_SUBLABEL_INPUT_DEVICE_RESERVED_DEVICE_NAME,
MENU_ENUM_SUBLABEL_INPUT_DEVICE_RESERVATION_TYPE,
MENU_ENUM_LABEL_HELP_INPUT_DEVICE_RESERVATION_TYPE,
MENU_ENUM_SUBLABEL_INPUT_MOUSE_INDEX,
MENU_ENUM_SUBLABEL_INPUT_ADC_TYPE,
MENU_ENUM_LABEL_HELP_INPUT_ADC_TYPE,
MENU_ENUM_SUBLABEL_INPUT_BIND_ALL,
MENU_ENUM_SUBLABEL_INPUT_SAVE_AUTOCONFIG,
MENU_ENUM_SUBLABEL_INPUT_BIND_DEFAULTS,
MENU_ENUM_SUBLABEL_INPUT_REMAP_PORT,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_ENABLE_HOTKEY,
MENU_ENUM_SUBLABEL_INPUT_META_MENU_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_QUIT_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_RESTART_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_CLOSE_CONTENT_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_RESET,
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_FAST_FORWARD_HOLD_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_SLOWMOTION_HOLD_KEY,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY,
MENU_ENUM_SUBLABEL_INPUT_META_PAUSE_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_FRAMEADVANCE,
MENU_ENUM_SUBLABEL_INPUT_META_MUTE,
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_UP,
MENU_ENUM_SUBLABEL_INPUT_META_VOLUME_DOWN,
MENU_ENUM_SUBLABEL_INPUT_META_LOAD_STATE_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_SAVE_STATE_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_PLUS,
MENU_ENUM_SUBLABEL_INPUT_META_STATE_SLOT_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_PLAY_REPLAY_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_RECORD_REPLAY_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_HALT_REPLAY_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_REPLAY_SLOT_PLUS,
MENU_ENUM_SUBLABEL_INPUT_META_REPLAY_SLOT_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_DISK_EJECT_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_DISK_NEXT,
MENU_ENUM_SUBLABEL_INPUT_META_DISK_PREV,
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_NEXT,
MENU_ENUM_SUBLABEL_INPUT_META_SHADER_PREV,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_PLUS,
MENU_ENUM_SUBLABEL_INPUT_META_CHEAT_INDEX_MINUS,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_SCREENSHOT,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_RECORDING_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_STREAMING_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_GRAB_MOUSE_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_GAME_FOCUS_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_FULLSCREEN_TOGGLE_KEY,
MENU_ENUM_SUBLABEL_INPUT_META_UI_COMPANION_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_VRR_RUNLOOP_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_RUNAHEAD_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_PREEMPT_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_FPS_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_STATISTICS_TOGGLE,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_AI_SERVICE,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_PING_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_HOST_TOGGLE,
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_GAME_WATCH,
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_PLAYER_CHAT,
MENU_ENUM_SUBLABEL_INPUT_META_NETPLAY_FADE_CHAT_TOGGLE,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_OVERLAY_NEXT, /* Hidden */
MENU_ENUM_SUBLABEL_INPUT_META_OSK,
2022-11-22 13:45:30 +00:00
MENU_ENUM_SUBLABEL_INPUT_META_SEND_DEBUG_INFO, /* Deprecated */
2020-07-23 16:19:41 +00:00
MENU_ENUM_LABEL_INPUT_DESCRIPTION,
MENU_ENUM_LABEL_INPUT_DESCRIPTION_KBD,
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_MAX_USERS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(INPUT_USER_BINDS),
MENU_ENUM_SUBLABEL_INPUT_USER_REMAPS,
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_DUTY_CYCLE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_AUTODETECT_ENABLE),
#if defined(HAVE_DINPUT) || defined(HAVE_WINRAWINPUT)
MENU_LABEL(INPUT_NOWINKEY_ENABLE),
#endif
#ifdef ANDROID
MENU_LBL_H(INPUT_SELECT_PHYSICAL_KEYBOARD),
#endif
MENU_LABEL(INPUT_SENSORS_ENABLE),
2021-07-28 21:28:26 +00:00
MENU_LABEL(INPUT_AUTO_MOUSE_GRAB),
MENU_LABEL(INPUT_AUTO_GAME_FOCUS),
MENU_ENUM_LABEL_VALUE_INPUT_AUTO_GAME_FOCUS_OFF,
MENU_ENUM_LABEL_VALUE_INPUT_AUTO_GAME_FOCUS_ON,
MENU_ENUM_LABEL_VALUE_INPUT_AUTO_GAME_FOCUS_DETECT,
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_DESCRIPTOR_LABEL_SHOW),
MENU_LABEL(INPUT_DESCRIPTOR_HIDE_UNBOUND),
MENU_LABEL(INPUT_BUTTON_AXIS_THRESHOLD),
2019-09-14 22:46:02 +00:00
#if defined(GEKKO)
MENU_LABEL(INPUT_MOUSE_SCALE),
#endif
MENU_LABEL(INPUT_TOUCH_SCALE),
MENU_LABEL(INPUT_ANALOG_DEADZONE),
MENU_LABEL(INPUT_ANALOG_SENSITIVITY),
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_BIND_TIMEOUT),
2018-04-04 08:33:59 +00:00
MENU_LABEL(INPUT_BIND_HOLD),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_REMAP_BINDS_ENABLE),
MENU_LABEL(MENU_INPUT_SWAP_OK_CANCEL),
MENU_LABEL(MENU_INPUT_SWAP_SCROLL),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_OVERLAY_ENABLE),
MENU_LABEL(INPUT_OSK_OVERLAY_ENABLE),
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO),
MENU_LABEL(INPUT_QUIT_GAMEPAD_COMBO),
MENU_LABEL(INPUT_OVERLAY_BEHIND_MENU),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_OVERLAY_HIDE_IN_MENU),
MENU_LABEL(INPUT_OVERLAY_HIDE_WHEN_GAMEPAD_CONNECTED),
#ifdef UDEV_TOUCH_SUPPORT
MENU_LABEL(INPUT_TOUCH_VMOUSE_POINTER),
MENU_LABEL(INPUT_TOUCH_VMOUSE_MOUSE),
MENU_LABEL(INPUT_TOUCH_VMOUSE_TOUCHPAD),
MENU_LABEL(INPUT_TOUCH_VMOUSE_TRACKBALL),
MENU_LABEL(INPUT_TOUCH_VMOUSE_GESTURE),
#endif
#if defined(ANDROID)
MENU_ENUM_SUBLABEL_INPUT_OVERLAY_HIDE_WHEN_GAMEPAD_CONNECTED_ANDROID,
#endif
/* Legacy enums - no longer needed, but cannot
* delete because they are used by Crowdin
* translations... */
MENU_LABEL(INPUT_OVERLAY_SHOW_PHYSICAL_INPUTS),
MENU_LABEL(INPUT_OVERLAY_SHOW_PHYSICAL_INPUTS_PORT),
MENU_LABEL(INPUT_OVERLAY_SHOW_INPUTS),
MENU_LABEL(INPUT_OVERLAY_SHOW_INPUTS_PORT),
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_SHOW_INPUTS_NONE,
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_SHOW_INPUTS_TOUCHED,
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_SHOW_INPUTS_PHYSICAL,
MENU_LABEL(INPUT_OVERLAY_SHOW_MOUSE_CURSOR),
MENU_LABEL(INPUT_OVERLAY_AUTO_ROTATE),
MENU_LABEL(INPUT_OVERLAY_AUTO_SCALE),
MENU_LABEL(INPUT_OSK_OVERLAY_AUTO_SCALE),
MENU_LABEL(INPUT_OVERLAY_DPAD_DIAGONAL_SENSITIVITY),
MENU_LABEL(INPUT_OVERLAY_ABXY_DIAGONAL_SENSITIVITY),
MENU_LABEL(INPUT_OVERLAY_POINTER_ENABLE),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_PORT),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_TRIGGER_ON_TOUCH),
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_LIGHTGUN_PORT_ANY,
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_TRIGGER_DELAY),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_ALLOW_OFFSCREEN),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_TWO_TOUCH_INPUT),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_THREE_TOUCH_INPUT),
MENU_LABEL(INPUT_OVERLAY_LIGHTGUN_FOUR_TOUCH_INPUT),
MENU_LABEL(INPUT_OVERLAY_MOUSE_SPEED),
MENU_LABEL(INPUT_OVERLAY_MOUSE_HOLD_TO_DRAG),
MENU_LABEL(INPUT_OVERLAY_MOUSE_HOLD_MSEC),
MENU_LABEL(INPUT_OVERLAY_MOUSE_DTAP_TO_DRAG),
MENU_LABEL(INPUT_OVERLAY_MOUSE_DTAP_MSEC),
MENU_LABEL(INPUT_OVERLAY_MOUSE_SWIPE_THRESHOLD),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE),
MENU_LABEL(INPUT_SMALL_KEYBOARD_ENABLE),
MENU_LABEL(INPUT_TOUCH_ENABLE),
MENU_LBL_H(INPUT_PREFER_FRONT_TOUCH),
2016-11-22 12:29:27 +00:00
MENU_LABEL(INPUT_ICADE_ENABLE),
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_ALL_USERS_CONTROL_MENU),
MENU_LBL_H(INPUT_POLL_TYPE_BEHAVIOR),
2016-12-11 00:29:53 +00:00
MENU_LABEL(INPUT_UNIFIED_MENU_CONTROLS),
MENU_LABEL(INPUT_DISABLE_INFO_BUTTON),
MENU_LABEL(INPUT_DISABLE_SEARCH_BUTTON),
MENU_LABEL(INPUT_RUMBLE_GAIN),
2016-11-21 09:28:17 +00:00
2019-02-25 18:12:50 +00:00
MENU_LABEL(QUIT_PRESS_TWICE),
MENU_LABEL(QUIT_ON_CLOSE_CONTENT),
MENU_LABEL(ANDROID_INPUT_DISCONNECT_WORKAROUND),
MENU_ENUM_LABEL_VALUE_QUIT_ON_CLOSE_CONTENT_DISABLED,
MENU_ENUM_LABEL_VALUE_QUIT_ON_CLOSE_CONTENT_ENABLED,
MENU_ENUM_LABEL_VALUE_QUIT_ON_CLOSE_CONTENT_CLI,
2019-02-25 18:12:50 +00:00
/* Video */
MENU_LABEL(BRIGHTNESS_CONTROL),
MENU_LABEL(CRT_SWITCH_RESOLUTION),
2018-03-26 14:07:46 +00:00
MENU_LABEL(CRT_SWITCH_RESOLUTION_SUPER),
2018-09-17 01:25:34 +00:00
MENU_LABEL(CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID),
Ver 0.9.2 SR2 (Switchres API) Implimantation Fixed SR close match refresh bug. Added menu high resolution option. Fixed desktop restore bug cuusing endless resolution change requests. Fixed file conflicts Added destop restore resolution back in for manu only. Pulled Switchres fixes. Added better PI rsolution support. Ver 0.7 SR2 (Switchres API) Implimantation Removed HH experimetal check. This is better done via teh switchres.ini at present. Fixed refresh rate bug. Now new resolution and refesh is added correctly. Removed SR deinit from menu restore. Meanu now stays at last content resolution. Ver 0.6.2 SR2 (Switchres API) Implimantation Fixed super resolution bug casuing abnormal video size and aspect ratio Fixed logging issue casuing seg falts on RA exit Ver 0.6 SR2 (Switchres API) Implimantation Ver 0.2 SR2 (Switchres API) Implimantation Added forced super resolutions. Added Multi-monitor/monitor selection support. Added desktop resolution restore when switching back to menu only. Added new menu items for 31KHz standard and 120hz monitor profiles. Added new menu item INI. load monitor profile from switchrss.ini. Fixed winraw driver. Coordinates new refreshed after a resolution change. Fixed Menu aspect ratio in super resolutions. Removed static glabals. These have been added to videocrt_switch struct. Ver 0.1 SR2 (Switchres API) Implimantation Removed old CRTSwitchRes method. Added new SR2 API implimantaion. Resolution swithcing is now done by switchres libs. Both Linux and Windows working with native and super resolutions. Working multi-monitor support with monitor index selection. Working 31KHz support with standard and 120Hxz modes. The monitor index selection is still done via the RA UI. Only choose native and 15KHz form the CRT options in the RA UI as all options are now set in the switchres.ini. All other CRT optoins in the RA UI currently do nothing. Added SR wrapper to fix compile issues. Added back RPi functionality Fixed windows resize/scaling issues on resolution change Thanks @Calamity no more need for crt_switch_driver_refresh() Fix broken case after prevous commit Monitor preset options 15/31KHz now active. Added new meu option. Moitor persets can now be choosen fom the RA UI. 15KHz and 31KHz will set arcade_15 and aracde_31 respectivly. New option INI, if this is chosen your monitor preset will be selected from your switchres.ini file. Added 3KHhz, 120Hz. for old RA users. Renamed 31KHz to 31 KHz, Standard Fixed winraw input coordinates after switching resolution. Code cleanup Fixed menu aspect ratio issue Added menu resolution restore after closing content Fixed aspect ratio after menu resolution restore. code clean up Fxed menu Resulition Restore Aspect Ratio. When SR uses non integer scalled resolution. super width bug with restoring menu resolution fix added super resolution check after setting desktop resolutoion variables when menu active only sr_deinit() used to restore desktop mode. Fixed menu sr_deinit bug. now setting sr_active false Removed static globals, added them to video_switch struct Fixex compile bug due to comment // Fixed compile issues doe to c++ comments in teh switchres_wrapper.h Temporarily removed SR2 logging to fix compile isses for c90 added logging back in. Removed support for winnt and osx Added define for C89. Disabled SR if defined C89 Removed all RA compile fixes fro C89 C90 etc. Swithing now working again. Put Switchres behind HAVE_SR2. HAVE_SR2=no by default. --enable-sr2 Ver 0.5 SR2 Implimentation. Ver 0.4 SR2 Implimantation. Bake SR inside RA Removed temporary log files Disable switchres when C89/C99 builds. Removed C89 and C90 checks for SR Fixed switchres_wrapper.h location Ver 0.3 SR2 Implimenation Dissable logging for C89 __STDC__ Fix For RPi fixed missing EOL fixed RPi function definition added vidrocrt_switch stuct to RPI funcion fixed xoffset for RPi Removed old RPi function call SR disabled for videocore until VC4 switching ported Reverted back to state 5c8a56c Bake SR inside RA Use native win32 api for threads. Fix static lib linking LIBERROR would be defined twice otherwise + improper function names prefixed by __imp_ Added lidstc++ to makefile.common for switchres Fixed RPi switching. Disabled Switchres for videocore unill it is ported. removed RAA.log. Should not exist Added check for when SR fails to set mode with an aspect ratio fix. added video driver re init for RPi GB, GBA and GBC core check, adjusted reseolutions and scale. Please turn on integer scalling in the RA UI Added logas back in. Checking STDC verstion >= C11 Fixed c89 for loop declaration. Code clean up. Added new functions Fix resolution switching bug introduces with HH code clean up. Fixed menu restore bug on closw content after code clean up Moved SR logging to relevant RA logs Update makefile. Checks for X11 and xrandr fixed makefile Use native win32 api for threads. Fix static lib linking LIBERROR would be defined twice otherwise + improper function names prefixed by __imp_ Update switchres_wrapper.* header comments Update year copyright DRMKMS: build only if libdrm has the required version XRANDR: build only if xrandr is available Simplified maklefile Fixed RPI compile error with unsued functions. As before Disable Griffin. No switching support available. Never has been Removed log file 1 Added Win32 static define Added SR source Removed Videocore check on destroy SR Moved SR deinit to trigger earlier on RA exit. Fixed compile error after upstream rebase Fixed aspect ration bug cused by super resolutions. Temporarily disbabled SR logging Re inabled runtim eSR loggind. Disableed all RARCH logging on retro_deinit_drivers Removed srdeinit from menu restore. Menu stays in current reolution until a fix can be found Fixed refresh rate changes when no reolution change is detected. Forgot to add teh resolution cahge in with the refresh change oops Fixed endless no detection log. Removed HH check. This can been better adjusted using the switchres.ini fixed compile issue Added better PI crt switching and fixed typo Pulled Swicthres fixes. Updated desktop restore resolution. removed unused makefile Lockec menu refresh to 60hz fixed missing new line Fixed file conflicts Forced 640x480@60 for menu Added high resolution menu option Removed item logg checker Fixed typos Removed unused functions Fixed SR close match refesh bug. Fixed typo
2021-05-11 09:08:15 +00:00
MENU_LABEL(CRT_SWITCH_HIRES_MENU),
2018-09-16 23:56:18 +00:00
MENU_LABEL(CRT_SWITCH_RESOLUTION_USE_CUSTOM_REFRESH_RATE),
MENU_LABEL(CRT_SWITCH_X_AXIS_CENTERING),
MENU_LABEL(CRT_SWITCH_PORCH_ADJUST),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_FONT_ENABLE),
MENU_LABEL(VIDEO_FONT_PATH),
MENU_LABEL(VIDEO_FONT_SIZE),
MENU_LABEL(VIDEO_MESSAGE_POS_X),
MENU_LABEL(VIDEO_MESSAGE_POS_Y),
2017-10-12 18:26:17 +00:00
MENU_LABEL(VIDEO_MESSAGE_COLOR_RED),
MENU_LABEL(VIDEO_MESSAGE_COLOR_GREEN),
MENU_LABEL(VIDEO_MESSAGE_COLOR_BLUE),
MENU_LABEL(VIDEO_MESSAGE_BGCOLOR_ENABLE),
MENU_LABEL(VIDEO_MESSAGE_BGCOLOR_RED),
MENU_LABEL(VIDEO_MESSAGE_BGCOLOR_GREEN),
MENU_LABEL(VIDEO_MESSAGE_BGCOLOR_BLUE),
MENU_LABEL(VIDEO_MESSAGE_BGCOLOR_OPACITY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_FILTER_FLICKER),
MENU_LABEL(VIDEO_SOFT_FILTER),
MENU_LBL_H(VIDEO_MAX_SWAPCHAIN_IMAGES),
MENU_LABEL(VIDEO_WAITABLE_SWAPCHAINS),
MENU_LABEL(VIDEO_MAX_FRAME_LATENCY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_GPU_SCREENSHOT),
MENU_LBL_H(VIDEO_BLACK_FRAME_INSERTION),
MENU_LBL_H(VIDEO_BFI_DARK_FRAMES),
MENU_LBL_H(VIDEO_SHADER_SUBFRAMES),
MENU_LBL_H(VIDEO_SCAN_SUBFRAMES),
MENU_LBL_H(VIDEO_FRAME_DELAY),
MENU_LBL_H(VIDEO_FRAME_DELAY_AUTO),
2022-06-08 22:29:06 +00:00
MENU_ENUM_LABEL_VALUE_VIDEO_FRAME_DELAY_AUTOMATIC,
MENU_ENUM_LABEL_VALUE_VIDEO_FRAME_DELAY_EFFECTIVE,
MENU_LABEL(VIDEO_SHADER_DELAY),
2016-11-22 08:25:57 +00:00
MENU_LABEL(VIDEO_VSYNC),
MENU_LABEL(VIDEO_ADAPTIVE_VSYNC),
2016-11-22 08:25:57 +00:00
MENU_LABEL(VIDEO_HARD_SYNC),
MENU_LBL_H(VIDEO_HARD_SYNC_FRAMES),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_WINDOWED_FULLSCREEN),
MENU_LABEL(VIDEO_AUTOSWITCH_REFRESH_RATE),
MENU_LABEL(VIDEO_AUTOSWITCH_PAL_THRESHOLD),
MENU_ENUM_LABEL_VALUE_VIDEO_AUTOSWITCH_REFRESH_RATE_EXCLUSIVE_FULLSCREEN,
MENU_ENUM_LABEL_VALUE_VIDEO_AUTOSWITCH_REFRESH_RATE_WINDOWED_FULLSCREEN,
MENU_ENUM_LABEL_VALUE_VIDEO_AUTOSWITCH_REFRESH_RATE_ALL_FULLSCREEN,
2016-11-24 00:43:50 +00:00
MENU_LABEL(VIDEO_WINDOW_WIDTH),
MENU_LABEL(VIDEO_WINDOW_HEIGHT),
MENU_LABEL(VIDEO_WINDOW_AUTO_WIDTH_MAX),
MENU_LABEL(VIDEO_WINDOW_AUTO_HEIGHT_MAX),
MENU_LABEL(VIDEO_WINDOW_OPACITY),
MENU_LABEL(VIDEO_FULLSCREEN_X),
MENU_LABEL(VIDEO_FULLSCREEN_Y),
2021-04-20 09:47:32 +00:00
MENU_LABEL(VIDEO_FORCE_RESOLUTION),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_FORCE_SRGB_DISABLE),
MENU_LABEL(VIDEO_ROTATION),
MENU_LABEL(SCREEN_ORIENTATION),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_SCALE),
2018-11-25 20:41:26 +00:00
MENU_LABEL(VIDEO_RECORD_THREADS),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_SMOOTH),
MENU_LABEL(VIDEO_CTX_SCALING),
#ifdef HAVE_ODROIDGO2
MENU_LABEL(VIDEO_RGA_SCALING),
#endif
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_CROP_OVERSCAN),
MENU_LABEL(VIDEO_NOTCH_WRITE_OVER),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_SCALE_INTEGER),
2021-06-23 21:56:52 +00:00
MENU_LABEL(VIDEO_SCALE_INTEGER_OVERSCALE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(VIDEO_VIEWPORT_CUSTOM_X),
MENU_LABEL(VIDEO_VIEWPORT_CUSTOM_Y),
MENU_LABEL(VIDEO_VIEWPORT_CUSTOM_WIDTH),
MENU_LABEL(VIDEO_VIEWPORT_CUSTOM_HEIGHT),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_GAMMA),
2016-11-22 08:25:57 +00:00
MENU_LABEL(VIDEO_ALLOW_ROTATE),
MENU_ENUM_LABEL_VALUE_VIDEO_ROTATION_NORMAL,
MENU_ENUM_LABEL_VALUE_VIDEO_ROTATION_90_DEG,
MENU_ENUM_LABEL_VALUE_VIDEO_ROTATION_180_DEG,
MENU_ENUM_LABEL_VALUE_VIDEO_ROTATION_270_DEG,
MENU_ENUM_LABEL_VALUE_VIDEO_ORIENTATION_NORMAL,
MENU_ENUM_LABEL_VALUE_VIDEO_ORIENTATION_VERTICAL,
MENU_ENUM_LABEL_VALUE_VIDEO_ORIENTATION_FLIPPED,
MENU_ENUM_LABEL_VALUE_VIDEO_ORIENTATION_FLIPPED_ROTATED,
2016-11-22 08:25:57 +00:00
MENU_LABEL(VIDEO_SHARED_CONTEXT),
MENU_LABEL(DRIVER_SWITCH_ENABLE),
MENU_LBL_H(VIDEO_THREADED),
2016-11-21 19:32:15 +00:00
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_SWAP_INTERVAL),
MENU_ENUM_LABEL_VALUE_VIDEO_SWAP_INTERVAL_AUTO,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_120,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_180,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_240,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_300,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_360,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_420,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_480,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_540,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_600,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_660,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_720,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_780,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_840,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_900,
MENU_ENUM_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION_VALUE_960,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_120,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_180,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_240,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_300,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_360,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_420,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_480,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_540,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_600,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_660,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_720,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_780,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_840,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_900,
MENU_ENUM_LABEL_VALUE_VIDEO_SHADER_SUBFRAMES_VALUE_960,
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_FULLSCREEN),
MENU_LBL_H(VIDEO_MONITOR_INDEX),
MENU_LABEL(VIDEO_WIIU_PREFER_DRC),
2016-11-24 01:23:56 +00:00
MENU_LABEL(VIDEO_WINDOW_SCALE),
MENU_LABEL(VIDEO_WINDOW_OFFSET_X),
MENU_LABEL(VIDEO_WINDOW_OFFSET_Y),
2016-11-22 08:25:57 +00:00
MENU_LABEL(VIDEO_REFRESH_RATE),
MENU_LBL_H(VIDEO_REFRESH_RATE_AUTO),
MENU_LABEL(VIDEO_REFRESH_RATE_POLLED),
2016-11-21 19:32:15 +00:00
MENU_LABEL(VIDEO_HDR_ENABLE),
Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917) * Add HDR support * Attempt to fix Mingw build and Metal builds * (D3D12) Fix relative header includes * Add missing hdr_sm5.hlsl.h * (d3d12_common.c) Some C89 build fixes * Fix MSVC build * - Attempt to fix build on mingw/msys unix with dirty hack - Fix shader compilation of hdr_sm5.hlsl.h on MSVC/Visual Studio - the define was seen as an error and was causing the first pipeline to error out - Make sure we manually set handle of backBuffer to NULL * Moving the release of the texture above the freeing of desc.srv_heap and desc.rtv_heap solves the hard crashes on teardown/setup in RA - it was crashing hard in d3d12_release_texture before * Add HAVE_D3D12_HDR ifdef - needs to be disabled for WinRT for now because of several things that are Windows desktop-specific right now (GetWindowRect) * Add dirty GUID hack - should work for both mingw/msys on Windows/Linux as well as MSVC/Visual Studio (hopefully) * Change HAVE_D3D12_HDR to HAVE_DXGI_HDR * Move away from camelcase named variables * Fix RARCH_ERR logs - they need a newline at the end * d3d12_check_display_hdr_support - make it return a bool on return and set d3d12->hdr.support and d3d12->hdr.enable outside of the function * (DXGI) Remove D3D12 dependencies from dxgi_check_display_hdr_support and move it to dxgi_common.c instead * (DXGI) move d3d12_swapchain_color_space over to dxgi_common.c and rename it dxgi_swapchain_color_space * (DXGI) move d3d12_set_hdr_metadata to dxgi_common.c and rename it dxgi_set_hdr_metadata * (DXGI) dxgi_check_display_hdr_support - better error handling? * Fix typo * Remove video_force_resolution * (D3D12) Address TODO/FIXME * (D3D12) Backport https://github.com/libretro/RetroArch/pull/12916/commits/c1b6c0bff2aa33cde035b43cb31ac7e78ff2a07a - Fixed resource transition for present when HDR is off Fixed cel shader displaying all black as blending was enabled when the hdr shader was being applied - turned off blending during this shader * Move d3d12_hdr_uniform_t to dxgi_common.h and rename it dxgi_hdr_uniform_t * (D3D11) Add HDR support * Add TODO/FIXME notes * Cache hdr_enable in video_frame_info_t * Update comment
2021-09-03 04:15:25 +00:00
MENU_LABEL(VIDEO_HDR_MAX_NITS),
MENU_LABEL(VIDEO_HDR_PAPER_WHITE_NITS),
MENU_LABEL(VIDEO_HDR_CONTRAST),
MENU_LABEL(VIDEO_HDR_EXPAND_GAMUT),
2019-03-29 18:24:33 +00:00
MENU_LABEL(VIDEO_LAYOUT_ENABLE),
MENU_LABEL(VIDEO_LAYOUT_PATH),
MENU_LABEL(VIDEO_LAYOUT_SELECTED_VIEW),
MENU_LBL_H(PARENT_DIRECTORY),
MENU_LBL_H(FILE_BROWSER_OPEN_UWP_PERMISSIONS),
MENU_LABEL(FILE_BROWSER_OPEN_PICKER),
MENU_ENUM_LABEL_CONTENT_ACTIONS,
/* Menu settings */
MENU_LABEL(MENU_SHOW_LOAD_CORE),
MENU_LABEL(MENU_SHOW_LOAD_CONTENT),
2019-07-21 10:16:16 +00:00
MENU_LABEL(MENU_SHOW_LOAD_DISC),
MENU_LABEL(MENU_SHOW_DUMP_DISC),
#ifdef HAVE_LAKKA
MENU_LABEL(MENU_SHOW_EJECT_DISC),
#endif
MENU_LABEL(MENU_SHOW_INFORMATION),
MENU_LABEL(MENU_SHOW_CONFIGURATIONS),
MENU_LABEL(MENU_SHOW_HELP),
MENU_LABEL(MENU_SHOW_QUIT_RETROARCH),
MENU_ENUM_SUBLABEL_QUIT_RETROARCH_NOSAVE,
MENU_LABEL(MENU_SHOW_RESTART_RETROARCH),
MENU_LABEL(MENU_SHOW_REBOOT),
MENU_LABEL(MENU_SHOW_SHUTDOWN),
2017-06-19 23:42:28 +00:00
MENU_LABEL(MENU_SHOW_ONLINE_UPDATER),
2017-06-20 00:22:07 +00:00
MENU_LABEL(MENU_SHOW_CORE_UPDATER),
MENU_LABEL(MENU_SHOW_LEGACY_THUMBNAIL_UPDATER), /* Thumbnailpack removal - deprecated*/
MENU_LABEL(MENU_SCROLL_FAST),
2021-03-26 01:06:56 +00:00
MENU_LABEL(MENU_SCROLL_DELAY),
MENU_LABEL(MENU_ENABLE_KIOSK_MODE),
MENU_LABEL(MENU_DISABLE_KIOSK_MODE),
MENU_LABEL(MENU_KIOSK_MODE_PASSWORD),
MENU_LABEL(RUN_MUSIC),
2017-02-02 06:18:24 +00:00
MENU_LABEL(RUN),
2016-11-22 09:45:43 +00:00
MENU_LABEL(MENU_WALLPAPER),
MENU_LABEL(DYNAMIC_WALLPAPER),
MENU_LABEL(PAUSE_NONACTIVE),
MENU_LABEL(PAUSE_ON_DISCONNECT),
2021-04-01 16:25:45 +00:00
MENU_LABEL(MENU_SCREENSAVER_TIMEOUT),
MENU_LABEL(MENU_SCREENSAVER_ANIMATION),
MENU_LABEL(MENU_SCREENSAVER_ANIMATION_SPEED),
MENU_ENUM_LABEL_VALUE_MENU_SCREENSAVER_ANIMATION_SNOW,
MENU_ENUM_LABEL_VALUE_MENU_SCREENSAVER_ANIMATION_STARFIELD,
MENU_ENUM_LABEL_VALUE_MENU_SCREENSAVER_ANIMATION_VORTEX,
2016-11-22 09:45:43 +00:00
MENU_LABEL(MOUSE_ENABLE),
MENU_LABEL(POINTER_ENABLE),
2018-04-24 14:01:51 +00:00
MENU_LABEL(MENU_RGUI_BORDER_FILLER_ENABLE),
MENU_LABEL(MENU_RGUI_BACKGROUND_FILLER_THICKNESS_ENABLE),
MENU_LABEL(MENU_RGUI_BORDER_FILLER_THICKNESS_ENABLE),
2019-02-13 11:02:15 +00:00
MENU_LABEL(MENU_RGUI_INTERNAL_UPSCALE_LEVEL),
2019-03-19 11:48:22 +00:00
MENU_LABEL(MENU_RGUI_ASPECT_RATIO),
MENU_LABEL(MENU_RGUI_ASPECT_RATIO_LOCK),
2019-02-25 12:24:59 +00:00
MENU_LABEL(MENU_RGUI_FULL_WIDTH_LAYOUT),
MENU_LABEL(MENU_RGUI_TRANSPARENCY),
2019-04-01 12:52:10 +00:00
MENU_LABEL(MENU_RGUI_SHADOWS),
MENU_LABEL(MENU_RGUI_PARTICLE_EFFECT),
MENU_LABEL(MENU_RGUI_PARTICLE_EFFECT_SPEED),
2021-04-01 16:25:45 +00:00
MENU_LABEL(MENU_RGUI_PARTICLE_EFFECT_SCREENSAVER),
MENU_LABEL(MENU_RGUI_EXTENDED_ASCII),
MENU_LABEL(MENU_RGUI_SWITCH_ICONS),
2016-11-22 12:29:27 +00:00
MENU_LABEL(MENU_LINEAR_FILTER),
2017-07-14 19:11:27 +00:00
MENU_LABEL(MENU_HORIZONTAL_ANIMATION),
2016-11-22 12:29:27 +00:00
MENU_LABEL(NAVIGATION_WRAPAROUND),
MENU_LABEL(SHOW_ADVANCED_SETTINGS),
MENU_LABEL(THREADED_DATA_RUNLOOP_ENABLE),
MENU_LABEL(XMB_ALPHA_FACTOR),
MENU_LABEL(MENU_FONT_COLOR_RED),
MENU_LABEL(MENU_FONT_COLOR_GREEN),
MENU_LABEL(MENU_FONT_COLOR_BLUE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(XMB_FONT),
MENU_LABEL(XMB_LAYOUT),
2016-11-22 12:29:27 +00:00
MENU_LABEL(XMB_THEME),
2022-12-25 17:17:16 +00:00
MENU_LABEL(XMB_SWITCH_ICONS),
MENU_LABEL(XMB_MAIN_MENU_ENABLE_SETTINGS),
2016-11-22 12:59:06 +00:00
MENU_LABEL(XMB_SHADOWS_ENABLE),
MENU_LABEL(CONTENT_SHOW_REWIND),
MENU_LABEL(CONTENT_SHOW_LATENCY),
MENU_LABEL(CONTENT_SHOW_OVERLAYS),
2019-03-29 18:24:33 +00:00
MENU_LABEL(CONTENT_SHOW_VIDEO_LAYOUT),
MENU_LABEL(CONTENT_SHOW_SETTINGS),
MENU_LABEL(CONTENT_SHOW_SETTINGS_PASSWORD),
MENU_LABEL(CONTENT_SHOW_FAVORITES),
MENU_LABEL(CONTENT_SHOW_IMAGES),
MENU_LABEL(CONTENT_SHOW_MUSIC),
MENU_LABEL(CONTENT_SHOW_VIDEO),
MENU_LABEL(CONTENT_SHOW_NETPLAY),
MENU_LABEL(CONTENT_SHOW_HISTORY),
MENU_LABEL(CONTENT_SHOW_ADD),
MENU_LABEL(CONTENT_SHOW_ADD_ENTRY),
2018-04-17 15:53:24 +00:00
MENU_LABEL(CONTENT_SHOW_PLAYLISTS),
MENU_LABEL(CONTENT_SHOW_EXPLORE),
2022-02-22 18:23:48 +00:00
MENU_LABEL(CONTENT_SHOW_CONTENTLESS_CORES),
MENU_ENUM_LABEL_VALUE_SHOW_CONTENTLESS_CORES_ALL,
MENU_ENUM_LABEL_VALUE_SHOW_CONTENTLESS_CORES_SINGLE_PURPOSE,
MENU_ENUM_LABEL_VALUE_SHOW_CONTENTLESS_CORES_CUSTOM,
2016-11-22 12:59:06 +00:00
MENU_LABEL(XMB_RIBBON_ENABLE),
MENU_LABEL(THUMBNAILS),
MENU_LABEL(THUMBNAILS_RGUI),
2019-11-08 16:25:36 +00:00
MENU_LABEL(THUMBNAILS_MATERIALUI),
MENU_LABEL(LEFT_THUMBNAILS),
MENU_LABEL(LEFT_THUMBNAILS_RGUI),
MENU_LABEL(LEFT_THUMBNAILS_OZONE),
2019-11-08 16:25:36 +00:00
MENU_LABEL(LEFT_THUMBNAILS_MATERIALUI),
2018-04-04 22:52:46 +00:00
MENU_LABEL(XMB_VERTICAL_THUMBNAILS),
2019-06-07 15:38:17 +00:00
MENU_LABEL(MENU_XMB_THUMBNAIL_SCALE_FACTOR),
MENU_LABEL(MENU_XMB_VERTICAL_FADE_FACTOR),
MENU_LABEL(MENU_XMB_SHOW_TITLE_HEADER),
2022-03-18 10:56:16 +00:00
MENU_LABEL(MENU_XMB_TITLE_MARGIN),
MENU_LABEL(MENU_XMB_TITLE_MARGIN_HORIZONTAL_OFFSET),
MENU_LABEL(MENU_THUMBNAIL_UPSCALE_THRESHOLD),
MENU_LABEL(MENU_RGUI_INLINE_THUMBNAILS),
MENU_LABEL(MENU_RGUI_SWAP_THUMBNAILS),
MENU_LABEL(MENU_RGUI_THUMBNAIL_DOWNSCALER),
MENU_LABEL(MENU_RGUI_THUMBNAIL_DELAY),
2016-11-22 12:59:06 +00:00
MENU_LABEL(TIMEDATE_ENABLE),
MENU_LABEL(TIMEDATE_STYLE),
MENU_LABEL(TIMEDATE_DATE_SEPARATOR),
MENU_LABEL(BATTERY_LEVEL_ENABLE),
2019-02-11 14:38:10 +00:00
MENU_LABEL(MENU_SHOW_SUBLABELS),
2019-01-09 10:44:38 +00:00
MENU_LABEL(RGUI_MENU_COLOR_THEME),
MENU_LABEL(RGUI_MENU_THEME_PRESET),
2018-10-27 14:50:48 +00:00
MENU_LABEL(XMB_MENU_COLOR_THEME),
MENU_LABEL(OZONE_MENU_COLOR_THEME),
MENU_LABEL(OZONE_COLLAPSE_SIDEBAR),
MENU_LABEL(OZONE_TRUNCATE_PLAYLIST_NAME),
MENU_LABEL(OZONE_SORT_AFTER_TRUNCATE_PLAYLIST_NAME),
MENU_LABEL(OZONE_SCROLL_CONTENT_METADATA),
MENU_LABEL(OZONE_THUMBNAIL_SCALE_FACTOR),
2016-11-22 12:59:06 +00:00
MENU_LABEL(MATERIALUI_MENU_COLOR_THEME),
MENU_LABEL(QUICK_MENU_OVERRIDE_OPTIONS),
MENU_LABEL(SETTINGS_SHOW_DRIVERS),
MENU_LABEL(SETTINGS_SHOW_VIDEO),
MENU_LABEL(SETTINGS_SHOW_AUDIO),
2019-08-20 22:27:40 +00:00
MENU_LABEL(SETTINGS_SHOW_INPUT),
MENU_LABEL(SETTINGS_SHOW_LATENCY),
MENU_LABEL(SETTINGS_SHOW_CORE),
MENU_LABEL(SETTINGS_SHOW_CONFIGURATION),
MENU_LABEL(SETTINGS_SHOW_SAVING),
MENU_LABEL(SETTINGS_SHOW_LOGGING),
MENU_LABEL(SETTINGS_SHOW_FILE_BROWSER),
MENU_LABEL(SETTINGS_SHOW_FRAME_THROTTLE),
MENU_LABEL(SETTINGS_SHOW_RECORDING),
MENU_LABEL(SETTINGS_SHOW_ONSCREEN_DISPLAY),
MENU_LABEL(SETTINGS_SHOW_USER_INTERFACE),
MENU_LABEL(SETTINGS_SHOW_AI_SERVICE),
MENU_LABEL(SETTINGS_SHOW_ACCESSIBILITY),
MENU_LABEL(SETTINGS_SHOW_POWER_MANAGEMENT),
MENU_LABEL(SETTINGS_SHOW_ACHIEVEMENTS),
MENU_LABEL(SETTINGS_SHOW_NETWORK),
MENU_LABEL(SETTINGS_SHOW_PLAYLISTS),
MENU_LABEL(SETTINGS_SHOW_USER),
MENU_LABEL(SETTINGS_SHOW_DIRECTORY),
MENU_LABEL(SETTINGS_SHOW_STEAM),
MENU_LABEL(QUICK_MENU_SHOW_RESUME_CONTENT),
MENU_LABEL(QUICK_MENU_SHOW_RESTART_CONTENT),
MENU_LABEL(QUICK_MENU_SHOW_CLOSE_CONTENT),
MENU_LABEL(QUICK_MENU_SHOW_TAKE_SCREENSHOT),
2022-04-05 22:58:48 +00:00
MENU_LABEL(QUICK_MENU_SHOW_SAVESTATE_SUBMENU),
MENU_LABEL(QUICK_MENU_SHOW_SAVE_LOAD_STATE),
MENU_LABEL(QUICK_MENU_SHOW_UNDO_SAVE_LOAD_STATE),
MENU_LABEL(QUICK_MENU_SHOW_REPLAY),
MENU_LABEL(QUICK_MENU_SHOW_ADD_TO_FAVORITES),
2024-05-05 10:48:20 +00:00
MENU_LABEL(QUICK_MENU_SHOW_ADD_TO_PLAYLIST),
MENU_LABEL(QUICK_MENU_SHOW_START_RECORDING),
MENU_LABEL(QUICK_MENU_SHOW_START_STREAMING),
MENU_LABEL(QUICK_MENU_SHOW_SET_CORE_ASSOCIATION),
MENU_LABEL(QUICK_MENU_SHOW_RESET_CORE_ASSOCIATION),
MENU_LABEL(QUICK_MENU_SHOW_OPTIONS),
MENU_LABEL(QUICK_MENU_SHOW_CORE_OPTIONS_FLUSH),
MENU_LABEL(QUICK_MENU_SHOW_CONTROLS),
MENU_LABEL(QUICK_MENU_SHOW_CHEATS),
MENU_LABEL(QUICK_MENU_SHOW_SHADERS),
MENU_LABEL(QUICK_MENU_SHOW_SAVE_CORE_OVERRIDES),
MENU_LABEL(QUICK_MENU_SHOW_SAVE_CONTENT_DIR_OVERRIDES),
MENU_LABEL(QUICK_MENU_SHOW_SAVE_GAME_OVERRIDES),
MENU_LABEL(QUICK_MENU_SHOW_INFORMATION),
MENU_LABEL(QUICK_MENU_START_RECORDING),
MENU_LABEL(QUICK_MENU_STOP_RECORDING),
MENU_LABEL(QUICK_MENU_START_STREAMING),
MENU_LABEL(QUICK_MENU_STOP_STREAMING),
MENU_LABEL(QUICK_MENU_SHOW_DOWNLOAD_THUMBNAILS),
MENU_LABEL(MENU_TICKER_TYPE),
MENU_LABEL(MENU_TICKER_SPEED),
MENU_LABEL(MENU_TICKER_SMOOTH),
MENU_ENUM_LABEL_VALUE_MENU_TICKER_TYPE_BOUNCE,
MENU_ENUM_LABEL_VALUE_MENU_TICKER_TYPE_LOOP,
MENU_ENUM_LABEL_VALUE_SCROLL_NORMAL,
MENU_ENUM_LABEL_VALUE_SCROLL_FAST,
MENU_ENUM_LABEL_VALUE_MENU_ADD_CONTENT_ENTRY_DISPLAY_MAIN_TAB,
MENU_ENUM_LABEL_VALUE_MENU_ADD_CONTENT_ENTRY_DISPLAY_PLAYLISTS_TAB,
MENU_LABEL(MENU_REMEMBER_SELECTION),
MENU_ENUM_LABEL_VALUE_MENU_REMEMBER_SELECTION_ALWAYS,
MENU_ENUM_LABEL_VALUE_MENU_REMEMBER_SELECTION_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_MENU_REMEMBER_SELECTION_MAIN,
/* UI settings */
MENU_LBL_H(VIDEO_DISABLE_COMPOSITION),
2016-11-22 09:45:43 +00:00
MENU_LABEL(UI_COMPANION_ENABLE),
MENU_LBL_H(UI_COMPANION_START_ON_BOOT),
2018-04-30 18:33:05 +00:00
MENU_LABEL(UI_COMPANION_TOGGLE),
MENU_LABEL(DESKTOP_MENU_ENABLE),
2016-11-22 09:45:43 +00:00
MENU_LABEL(UI_MENUBAR_ENABLE),
2022-08-17 06:23:07 +00:00
#ifdef _3DS
MENU_LABEL(NEW3DS_SPEEDUP_ENABLE),
MENU_LABEL(VIDEO_3DS_LCD_BOTTOM),
MENU_LABEL(VIDEO_3DS_DISPLAY_MODE),
MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_3D,
MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D,
2020-06-02 07:28:00 +00:00
MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_400X240,
MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_800X240,
2022-08-17 06:23:07 +00:00
MENU_LABEL(BOTTOM_ASSETS_DIRECTORY),
MENU_LABEL(BOTTOM_FONT_ENABLE),
MENU_LABEL(BOTTOM_FONT_COLOR_RED),
MENU_LABEL(BOTTOM_FONT_COLOR_GREEN),
MENU_LABEL(BOTTOM_FONT_COLOR_BLUE),
MENU_LABEL(BOTTOM_FONT_COLOR_OPACITY),
MENU_LABEL(BOTTOM_FONT_SCALE),
#endif
2016-07-27 19:01:39 +00:00
MENU_ENUM_LABEL_FILE_CONFIG,
MENU_ENUM_LABEL_HELP_FILE_CONFIG,
2016-07-27 19:28:33 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_COMPRESSED_ARCHIVE,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_COMPRESSED_ARCHIVE,
2016-07-27 19:01:39 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_CONFIG,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_CONFIG,
2016-07-27 18:47:54 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_RECORD_CONFIG,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_RECORD_CONFIG,
2016-07-27 18:47:54 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_CURSOR,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_CURSOR,
2016-07-26 06:10:48 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_DIRECTORY,
2016-07-26 06:10:48 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_PLAIN_FILE,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_SHADER_PRESET,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_SHADER_PRESET,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_SHADER,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_SHADER,
2016-07-27 14:49:13 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_REMAP,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_REMAP,
2016-07-26 06:10:48 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_CORE,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_CORE,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_OVERLAY,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_OVERLAY,
2019-03-29 18:24:33 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_VIDEO_LAYOUT,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_CHEAT,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_CHEAT,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_FONT,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_FONT,
2016-07-27 14:37:28 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_RDB,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_RDB,
MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION,
MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION_CURRENT_CORE,
2016-07-26 06:10:48 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_CORE_DETECTED,
2016-07-26 08:24:20 +00:00
MENU_ENUM_LABEL_FILE_BROWSER_IMAGE,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_IMAGE,
MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER,
MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_MOVIE_OPEN,
MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN,
MENU_ENUM_LABEL_HELP_FILE_BROWSER_MUSIC_OPEN,
2016-07-26 06:10:48 +00:00
/* Menu file browser */
2016-11-22 12:29:27 +00:00
MENU_LABEL(NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
/* Playlists */
2016-11-22 10:14:29 +00:00
MENU_LABEL(HISTORY_LIST_ENABLE),
MENU_LABEL(CONTENT_HISTORY_SIZE),
MENU_LABEL(CONTENT_FAVORITES_SIZE),
MENU_LABEL(PLAYLIST_ENTRY_REMOVE),
MENU_LABEL(PLAYLIST_ENTRY_RENAME),
MENU_LABEL(GOTO_FAVORITES),
MENU_LABEL(GOTO_MUSIC),
MENU_LABEL(GOTO_IMAGES),
MENU_LABEL(GOTO_VIDEO),
MENU_LABEL(GOTO_EXPLORE),
2022-02-22 18:23:48 +00:00
MENU_LABEL(GOTO_CONTENTLESS_CORES),
2017-08-12 14:04:12 +00:00
MENU_LABEL(ADD_TO_FAVORITES),
MENU_LABEL(ADD_TO_FAVORITES_PLAYLIST),
MENU_LABEL(SET_CORE_ASSOCIATION),
MENU_LABEL(RESET_CORE_ASSOCIATION),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_ACHIEVEMENTS_TO_DISPLAY),
MENU_LABEL(NOT_LOGGED_IN),
MENU_LABEL(NETWORK_ERROR),
MENU_LABEL(UNKNOWN_GAME),
MENU_LABEL(CANNOT_ACTIVATE_ACHIEVEMENTS_WITH_THIS_CORE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_ENTRIES_TO_DISPLAY),
MENU_LABEL(DOWNLOAD_PL_ENTRY_THUMBNAILS),
/* Help */
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_SCROLL_UP,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_SCROLL_DOWN,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM,
2018-10-27 03:48:44 +00:00
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_OK,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_START,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_INFO,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_TOGGLE_MENU,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_QUIT,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_TOGGLE_KEYBOARD,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_SCROLL_UP,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_CONFIRM,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_START,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_INFO,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_TOGGLE_MENU,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_QUIT,
MENU_ENUM_LABEL_VALUE_BASIC_MENU_ENUM_CONTROLS_TOGGLE_KEYBOARD,
2017-06-20 00:04:23 +00:00
MENU_LABEL(MENU_VIEWS_SETTINGS),
MENU_LABEL(QUICK_MENU_VIEWS_SETTINGS),
MENU_LABEL(SETTINGS_VIEWS_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(MENU_SETTINGS),
2023-12-22 08:44:43 +00:00
MENU_LABEL(APPICON_SETTINGS),
2022-08-17 06:23:07 +00:00
#ifdef _3DS
MENU_LABEL(MENU_BOTTOM_SETTINGS),
#endif
MENU_LABEL(THUMBNAILS_UPDATER_LIST), /* Thumbnailpack removal - deprecated*/
MENU_LABEL(PL_THUMBNAILS_UPDATER_LIST),
2020-01-10 11:08:36 +00:00
MENU_LABEL(PL_THUMBNAILS_UPDATER_ENTRY),
2016-11-22 08:25:57 +00:00
MENU_LABEL(USER_INTERFACE_SETTINGS),
2018-06-19 04:23:38 +00:00
MENU_LABEL(POWER_MANAGEMENT_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(RETRO_ACHIEVEMENTS_SETTINGS),
2016-11-22 10:14:29 +00:00
MENU_LABEL(MENU_FILE_BROWSER_SETTINGS),
MENU_LABEL(UPDATER_SETTINGS),
2020-06-17 11:56:44 +00:00
MENU_LABEL(BLUETOOTH_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(WIFI_SETTINGS),
MENU_LABEL(WIFI_NETWORKS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(USER_SETTINGS),
MENU_LABEL(DIRECTORY_SETTINGS),
MENU_LABEL(PRIVACY_SETTINGS),
2018-06-04 05:48:08 +00:00
MENU_LABEL(MIDI_SETTINGS),
MENU_LABEL(SUBSYSTEM_SETTINGS),
MENU_ENUM_LABEL_VALUE_SUBSYSTEM_CONTENT_INFO,
2019-12-30 02:01:52 +00:00
MENU_LABEL(NETWORK_HOSTING_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(NETWORK_SETTINGS),
MENU_LABEL(NETPLAY_LOBBY_FILTERS),
2016-12-03 03:40:26 +00:00
MENU_LABEL(NETPLAY_LAN_SCAN_SETTINGS),
MENU_LABEL(WIFI_ENABLED),
MENU_LABEL(WIFI_NETWORK_SCAN),
MENU_LABEL(WIFI_DISCONNECT),
2016-11-21 14:44:59 +00:00
2020-06-17 11:56:44 +00:00
MENU_ENUM_LABEL_CONNECT_BLUETOOTH,
MENU_ENUM_LABEL_CONNECT_WIFI,
2017-01-19 14:31:01 +00:00
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
2016-12-03 03:40:26 +00:00
MENU_ENUM_LABEL_CONNECT_NETPLAY_LAN,
2016-11-22 12:59:06 +00:00
MENU_LABEL(MENU_ENUM_LINEAR_FILTER),
MENU_LABEL(MENU_THROTTLE_FRAMERATE),
MENU_LABEL(MENU_ENUM_THROTTLE_FRAMERATE),
2016-11-22 09:45:43 +00:00
MENU_LABEL(STATE_SLOT),
MENU_ENUM_LABEL_PLAYLIST_SETTINGS_BEGIN,
2016-11-15 23:50:16 +00:00
MENU_ENUM_LABEL_VALUE_CHEEVOS_SETTINGS,
2017-02-02 00:03:14 +00:00
MENU_LABEL(CHEEVOS_USERNAME),
MENU_LABEL(CHEEVOS_PASSWORD),
MENU_ENUM_LABEL_VALUE_ACCOUNTS_CHEEVOS_SETTINGS,
MENU_ENUM_LABEL_VALUE_ACCOUNTS_CHEEVOS_PASSWORD,
2016-11-22 12:29:27 +00:00
MENU_LABEL(ACCOUNTS_CHEEVOS_USERNAME),
2016-11-22 08:25:57 +00:00
MENU_LABEL(CHEEVOS_HARDCORE_MODE_ENABLE),
2017-10-31 05:58:35 +00:00
MENU_LABEL(CHEEVOS_LEADERBOARDS_ENABLE),
MENU_LABEL(CHEEVOS_RICHPRESENCE_ENABLE),
2017-11-23 16:55:53 +00:00
MENU_LABEL(CHEEVOS_BADGES_ENABLE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(CHEEVOS_TEST_UNOFFICIAL),
MENU_LABEL(CHEEVOS_VERBOSE_ENABLE),
MENU_LABEL(CHEEVOS_UNLOCK_SOUND_ENABLE),
2018-03-14 07:49:48 +00:00
MENU_LABEL(CHEEVOS_AUTO_SCREENSHOT),
2020-05-15 14:00:48 +00:00
MENU_LABEL(CHEEVOS_START_ACTIVE),
MENU_LABEL(CHEEVOS_CHALLENGE_INDICATORS),
2016-11-22 12:29:27 +00:00
MENU_LABEL(CHEEVOS_ENABLE),
MENU_LABEL(CHEEVOS_DESCRIPTION),
MENU_LABEL(CHEEVOS_APPEARANCE_SETTINGS),
MENU_LABEL(CHEEVOS_APPEARANCE_ANCHOR),
MENU_LABEL(CHEEVOS_APPEARANCE_PADDING_AUTO),
MENU_LABEL(CHEEVOS_APPEARANCE_PADDING_H),
MENU_LABEL(CHEEVOS_APPEARANCE_PADDING_V),
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_TOPLEFT,
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_TOPCENTER,
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_TOPRIGHT,
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_BOTTOMLEFT,
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_BOTTOMCENTER,
MENU_ENUM_LABEL_VALUE_CHEEVOS_APPEARANCE_ANCHOR_BOTTOMRIGHT,
MENU_LABEL(CHEEVOS_VISIBILITY_SETTINGS),
MENU_LABEL(CHEEVOS_VISIBILITY_SUMMARY),
MENU_LABEL(CHEEVOS_VISIBILITY_UNLOCK),
MENU_LABEL(CHEEVOS_VISIBILITY_MASTERY),
MENU_LABEL(CHEEVOS_VISIBILITY_ACCOUNT),
MENU_LABEL(CHEEVOS_VISIBILITY_LBOARD_START),
MENU_LABEL(CHEEVOS_VISIBILITY_LBOARD_SUBMIT),
MENU_LABEL(CHEEVOS_VISIBILITY_LBOARD_CANCEL),
MENU_LABEL(CHEEVOS_VISIBILITY_LBOARD_TRACKERS),
2023-05-14 19:42:01 +00:00
MENU_LABEL(CHEEVOS_VISIBILITY_PROGRESS_TRACKER),
MENU_ENUM_LABEL_VALUE_CHEEVOS_VISIBILITY_SUMMARY_ALLGAMES,
MENU_ENUM_LABEL_VALUE_CHEEVOS_VISIBILITY_SUMMARY_HASCHEEVOS,
MENU_LBL_H(ACCOUNTS_RETRO_ACHIEVEMENTS),
2018-09-26 21:00:00 +00:00
MENU_LABEL(ACCOUNTS_TWITCH),
MENU_LABEL(ACCOUNTS_YOUTUBE),
2020-12-19 12:14:14 +00:00
MENU_LABEL(ACCOUNTS_FACEBOOK),
2016-11-22 12:59:06 +00:00
MENU_LABEL(ACCOUNTS_LIST),
MENU_ENUM_LABEL_VALUE_ACCOUNTS_LIST_END,
MENU_ENUM_LABEL_VALUE_MENU_ENUM_CONTROLS_PROLOG,
2016-11-22 09:45:43 +00:00
MENU_LABEL(HELP_WHAT_IS_A_CORE),
MENU_LABEL(HELP_LOADING_CONTENT),
2016-11-22 08:25:57 +00:00
MENU_LABEL(HELP_LIST),
2016-11-22 09:45:43 +00:00
MENU_LABEL(HELP_CONTROLS),
MENU_LABEL(HELP_CHEEVOS_DESCRIPTION),
MENU_ENUM_LABEL_VALUE_EXTRACTING_PLEASE_WAIT,
MENU_ENUM_LABEL_WELCOME_TO_RETROARCH,
2016-12-26 05:39:12 +00:00
MENU_LABEL(BROWSE_URL),
MENU_LABEL(BROWSE_START),
/* Deferred */
2019-08-23 23:44:50 +00:00
MENU_ENUM_LABEL_DEFERRED_VIDEO_SHADER_PRESET_REMOVE_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_SHADER_PRESET_SAVE_LIST,
2019-07-11 04:34:27 +00:00
MENU_ENUM_LABEL_DEFERRED_CDROM_INFO_LIST,
MENU_ENUM_LABEL_DEFERRED_CDROM_INFO_DETAIL_LIST,
2019-07-05 17:55:04 +00:00
MENU_ENUM_LABEL_DEFERRED_LOAD_DISC_LIST,
MENU_ENUM_LABEL_DEFERRED_DUMP_DISC_LIST,
#ifdef HAVE_LAKKA
MENU_ENUM_LABEL_DEFERRED_EJECT_DISC,
#endif
MENU_ENUM_LABEL_DEFERRED_REMAP_FILE_MANAGER_LIST,
MENU_ENUM_LABEL_DEFERRED_REMAPPINGS_PORT_LIST,
MENU_ENUM_LABEL_DEFERRED_OVERRIDE_FILE_MANAGER_LIST,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_SPECIAL,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_RESOLUTION,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_AUDIO_DEVICE,
Add microphone support via a new driver (#14731) * Some slight fixes * Update libretro.h * Log calls to RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE * Finish proof-of-concept for mic support - It works, but doesn't support floating-point audio yet - It may need to be resampled, too * Add macros that aren't available in SDL 2 * Comment out a variable definition for now - For C89 compliance * Add some comments for clarity * Let ALSA tolerate a null new_rate * Partial ALSA microphone support - Not yet tested - Mic is created and destroyed - Mic can also be paused or unpaused - Mic is paused or unpaused with the rest of the driver - Microphone is not yet read * Install error logging in the ALSA driver - It defers to RARCH_ERR * Free the ALSA microphone in alsa_free * Fix an indent * First draft of alsa_read_microphone * Deinitialize SDL Audio in sdl_audio_free * Save and restore the ALSA error logger - You should always practice safe global state * Add newlines to some RARCH_ERRs * Add some logging * Check for the mic being active via settings instead of via flags * Adjusted a log entry to be less misleading - A frequency of 0Hz looks weird to the uninformed - In reality, it means the driver used the requested frequency * Fix an incorrect format string * Tidy up logging in alsa.c * Rename audio_enable_microphone to audio_enable_input * Rename microphone_device to audio_input_device * Add audio_input_latency and audio_input_block_frames settings * Add all mic-related settings to the options menu * Adjust logging for alsa.c - Log the ALSA library version - Add errno details * Refer to the microphone in logs by name * Use %u instead of %d for some log items * Add input_samples_buf * Remove an inaccurate comment * Change type of input_samples_buf * Clean up audio_driver_flush_microphone_input * Comment convert_float_to_s16 - It helped me understand what it's doing - Turns out it'll work just fine on mono audio * Don't use the resampler for mic input * Fix crash in the ALSA driver when reading from a mic * Update some logging messages * ALSA support now works for mics * Reuse some common functions in alsa.c * Add alsa_thread_microphone_t * Refactor alsa.c - Introduce alsa_init_pcm to init any PCM that we're using - Vastly simplifies the implementation of alsa_init and alsa_init_microphone - Will be used for the read-based versions next * Make ALSA logging a little more consistent * Clean up the mic with alsa_free_microphone if alsa_init_microphone fails * Remove an unused function * Move some cleanup in alsa.c to a common function * First crack at mic support for alsathread - Refactor some duplicate code into functions - Use functions introduced in alsa.c - Create and destroy the mic * Slight cleanups for clarity * Implement alsa_thread_set/get_microphone_state * More work on alsathread - No more crashing, but the mic just returns silence * Slight cleanups for clarity * Add alsa_set_mic_enabled_internal - For setting the state of a microphone while considering its current state * Use alsa_set_mic_enabled_internal * Log a little more info * Log when the audio driver is started/stopped * Move base microphone driver code into a new directory - Add microphone_driver.c to Makefile.common - Rename functions as needed * Initialize and deinitialize the microphone driver * Implement sdl_microphone.c * Un-const an argument - In case the driver context needs to do any locking * Revise comments for microphone_driver.h * Remove an unimplemented function * Remove some functions from the mic driver * Remove mic functions from audio_thread_wrapper * Remove mic functions from sdl_audio * Fix microphone_null * Split the mic code for the alsa audio drivers into microphone drivers * Fix an extra struct member * Add a setting for the mic driver * Add a command to reinitialize the microphone driver * Rename mic-related settings * Add DRIVER_MICROPHONE_MASK to DRIVERS_CMD_ALL * Rename audio_enable_input to microphone_enable * Remove some labels from qt_options * Search for microphone_driver within find_driver_nonempty * Clean up some mic driver code * Pending mics now return silence * Adjust some logging and comments * Some cleanup in the microphone driver * Invert a flag check - Oops * Fix a log message * Fix the wrong flags being checked * Slight refactor of wasapi_init_device - Add a data_flow parameter - Declare it in a header - In preparation for WASAPI mic support * Add some WASAPI macros for _IAudioCaptureClient * Move some common WASAPI functions to audio/common/wasapi.c - They'll be used by the mic and the audio drivers * Add wasapi_log_hr * Generalize mmdevice_list_new to look for capture devices, too * Fix a function declaration * Move driver-specific device_list_new functions into their respective files * Clean up some declarations * First draft of wasapi microphone driver * Add wasapi_microphone_device_list_free * Change function parameter names to be consistent with microphone_driver * Partially implement wasapi_microphone_read - Mostly copied from the audio driver so far - It doesn't compile yet - But it'll be beautiful when I'm done with it * Refactor the mic driver's functions - Rename get_mic_active to mic_alive - Split set_mic_active into start_mic and stop_mic - Refactor the SDL mic driver accordingly * Edit some WASAPI functions for logging and clarity * Implement more of the WASAPI mic driver * Rename write_event to read_event * Pass the WASAPI driver context to the various read functions * Mostly implement the read function for the WASAPI mic driver * Fix a crash in microphone_driver - Forgot to move the position of the name of null_driver * Reduce some logging in wasapi common functions - Only log the chosen audio client format, not all attempted ones * Add some macro wrappers for IAudioClient methods * Update mic driver configuration - Make the mic driver configurable in the menu - Add config items for WASAPI-related options similar to the audio driver * Fix a menu entry scrolling through audio devices instead of mic devices * Add some utility functions * Expose the new utility functions in wasapi.h * Add extra logging in the WASAPI common functions * Add sharemode_name * Use _IAudioClient_Initialize macro in some places * Pass channels to wasapi_init_client - Remember, mics are in mono * Use _IAudioClient_Initialize macro some more * Forgot to pass channels in some places * Add some utility functions * Forgot an #include * Add wasapi_select_device_format * Simplify the format selection logic in wasapi_init_client_sh * Unset the microphone in wasapi_microphone_close_mic - Ought to prevent a potential segfault * Simplify some logging * Fix incorrect value being passed to _IAudioCaptureClient_ReleaseBuffer * Remove some unneeded logging * Add some values to hresult_name * Polish up wasapi_select_device_format - Test for formats manually when Windows can't - Add some debug logging - Check for channels * Compute the fields of WAVEFORMATEXTENSIBLE correctly - As per the doc's stated requirements * Simplify logic for WASAPI client creation * Fix a potential hang in wasapi_microphone_read_shared_buffered * Stop the microphone if the driver is stopped * Don't name the microphone event * Ensure that wasapi_init_client reports the correct format and rate * Implement exclusive microphone read access for WASAPI * Add _IAudioCaptureClient_GetNextPacketSize macro * Organize cases in hresult_name * Clear some extra fields if wasapi_set_format is setting a Pcm format * Adjust some logs * Adjust some logs * Remove unneeded local vars * Add a log * Update wasapi.c * Update wasapi.c * Fix shared-mode mic support in WASAPI producing broken input - Turns out it had nothing to do with shared mode * Reuse a common function - Remove wasapi_microphone_read_shared_buffered - Rename wasapi_microphone_read_exclusive to wasapi_microphone_read_buffered * Remove some code I was using for test purposes * Clarify some language * Double the default shared-mode mic buffer length * Split getting a device's name into a separate function, then use it * Fix the ALSA mic drivers - To comply with changes I previously made to the mic driver interface * Remove unused synchronization primitives from the SDL microphone driver * Add sdl_microphone_mic_use_float * Document audio_driver_state_flags - I needed to understand these to see if similar flags were required for the mic driver * Remove an unused function in wasapi.c * Add and document flags in microphone_driver.h * Remove driver-specific mic start/stop functions - The mic driver itself doesn't do much processing - That honor goes to individual mics * Remove some unused fields in microphone_driver.h * Add CMD_EVENT_MICROPHONE_STOP/START * Remove unused functions from microphone_null * Change how the mic driver state is referenced in some places * Simplify the SDL microphone driver - The driver backend no longer keeps a reference to the mic (the frontend does that) - Remove functions that are no longer needed - Don't track paused state, just query the mic itself * Simplify the WASAPI microphone driver - Don't track the driver running state or the microphone handle, the frontend does that now - Remove support for unbuffered input (hunterk suggested that it wasn't necessary) * Make microphone_wasapi_sh_buffer_length a uint, not an int - It won't be negative anymore - 0 now represents the default value * Make the microphone frontend more robust - Improve documentation for how various functions should be implemented - Closes all microphones before freeing the driver (so backends don't have to) - Tracks the enabled state of each microphone, so backends don't have to (but they still can) * Stop the mic driver in core_unload_game * Ensure mic support is compatible with the revised menu code * Move alsa.h into audio/common * Remove RETRO_ENVIRONMENT_GET_MICROPHONE_ENABLED - It was never really needed * Refactor the ALSA microphone driver - Move common ALSA functions to audio/common/alsa.c - Replace alsa_set_mic_enabled_internal with alsa_start/stop_pcm - Don't track the microphone handle in the ALSA driver context - Remove unneeded fields * Move some common alsathread code into audio/common/alsathread.c * Change return type of mic_driver_open_mic_internal to bool * First crack at resampling mic input * Remove an extraneous check - I think something distracted me when I was writing this line * Add stereo/mono conversion functions * Make alsa_start_pcm and alsa_stop_pcm more robust - They now return success if the stream is already running and stopped, respectively * Revise some mic-related comments in libretro.h * First crack at resampling mic input * Simplify an expression * Simplify an expression * Fix a log tag * Allow mic resampler to be configured separately from audio resampler * Add some comments * Set the source ratio to something sensible * Stop deadlock in `alsathread` mic driver * Allow mics to be initialized even when core is loaded from CLI - When loading content from CLI, the drivers are initialized a little differently - That threw off the mic initialization code * Rename the functions in retro_microphone_interface * Revise some mic-related comments in libretro.h * Update retro_microphone_interface - Add get_mic_rate - Add a parameter to open_mic - The modifications don't do anything yet * Use parameter objects in the microphone handle * Replace get_mic_rate with get_params * Add a microphone interface version * Remove part of a comment * Set the effective params in mic_driver_microphone_handle_init * Drop a stray newline * Change where the mic interface is zeroed - I was accidentally throwing out the version that the core was asking for * Reduce logspam for wasapi_set_nonblock_state - Now it only logs when the sync mode is changed * Change DEFAULT_WASAPI_SH_BUFFER_LENGTH to 0 - -16 is no longer a valid value * Set the new_rate in wasapi_init * Change description of microphone sample rate in the settings * First attempt at resampling configured mic input * Forgot a section * Fix some input samples being skipped * Rename a variable for clarity * Add microphone.outgoing_samples * Update the mic driver - Processed samples are now buffered - The resampler is skipped if the ratio is (very close to) 1 * Remove part of a comment * Update some comments in audio_resampler.h * Slightly refactor the SDL microphone driver - Move SDL_AudioSpec to a field of sdl_microphone_handle_t - Allow SDL to change the requested format and sample rate - Request floating-point input - Implement sdl_microphone_mic_use_float * Fix a non-C89-compliant declaration * Add new files to griffin.c * Remove a C++-style comment * Add two more files to griffin.c * Remove some unneeded declarations in microphone_driver.h * Remove a stray comma in configuration.c - For C89 compliance * Fix compilation on some platforms * Change some function signatures * Make the ALSA drivers always set the audio rate * Fix the alsathread mic driver * Make state_manager_frame_is_reversed return false if HAVE_REWIND isn't defined * Mute the microphone if the core is running in fast-forward, slow-mo, or rewind * Clarify a comment * Clarify a comment * Add a comment * Don't allocate memory for slowmo samples in the mic driver - We're not supporting slowmo for mics, so it's not needed * Fix a { * Add my name to AUTHORS.h * Add driver_lifetime_flags - For drivers that have special setup/teardown needs * Ensure that resetting the mic driver maintains active mic handles - Prevents fullscreen toggle from stopping all mic input * Update CHANGES.md * Move some default microphone settings to a new part of the config file * Ensure that RetroArch can use the audio format that Windows suggests * Remove references to mic support in the SDL audio driver * Remove unused WASAPI functions * Return failure if RetroArch couldn't select a WASAPI format * Ensure that Windows uses the WASAPI mic driver by default * Treat disabled mic support as a warning, not an error * Clarify some WASAPI-related microphone settings * Remove some unused variables * Add or revise microphone-related comments * Rearrange doc comments for microphone types in libretro.h * Remove a space * Remove some unused flags * Remove ALSA error logger - It was never used anyway * Remove unneeded microphone-related arguments * Document a parameter * Remove a logging call * Add a constant for the microphone's shared buffer length for WASAPI * Fix stylistic inconsistencies * Make mic_driver_get_sample_size a macro instead of a function * Move the microphone implementation to the audio directory * Make microphone support optional (but enabled by default) * Fix the griffin build
2023-06-06 19:55:06 +00:00
#ifdef HAVE_MICROPHONE
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_MICROPHONE_DEVICE,
#endif
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_VIDEO_SHADER_PARAMETER,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_VIDEO_SHADER_PRESET_PARAMETER,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_VIDEO_SHADER_NUM_PASSES,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_PLAYLIST_DEFAULT_CORE,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_PLAYLIST_LABEL_DISPLAY_MODE,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_PLAYLIST_RIGHT_THUMBNAIL_MODE,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_PLAYLIST_LEFT_THUMBNAIL_MODE,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_PLAYLIST_SORT_MODE,
2019-11-29 17:13:35 +00:00
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_MANUAL_CONTENT_SCAN_SYSTEM_NAME,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_MANUAL_CONTENT_SCAN_CORE_NAME,
2020-01-14 12:28:10 +00:00
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_DISK_INDEX,
2021-02-04 15:06:19 +00:00
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_INPUT_DEVICE_TYPE,
2020-07-23 16:19:41 +00:00
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_INPUT_DESCRIPTION,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_INPUT_DESCRIPTION_KBD,
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_INPUT_SELECT_RESERVED_DEVICE,
#ifdef ANDROID
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_INPUT_SELECT_PHYSICAL_KEYBOARD,
#endif
MENU_ENUM_LABEL_DEFERRED_DROPDOWN_BOX_LIST_NETPLAY_MITM_SERVER,
MENU_ENUM_LABEL_DEFERRED_MIXER_STREAM_SETTINGS_LIST,
2018-02-06 13:45:04 +00:00
MENU_ENUM_LABEL_DEFERRED_CONFIGURATIONS_LIST,
MENU_ENUM_LABEL_DEFERRED_FAVORITES_LIST,
2017-10-04 06:26:41 +00:00
MENU_ENUM_LABEL_DEFERRED_PLAYLIST_LIST,
MENU_ENUM_LABEL_DEFERRED_IMAGES_LIST,
MENU_ENUM_LABEL_DEFERRED_MUSIC_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_LIST,
MENU_ENUM_LABEL_DEFERRED_EXPLORE_LIST,
2022-02-22 18:23:48 +00:00
MENU_ENUM_LABEL_DEFERRED_CONTENTLESS_CORES_LIST,
2017-06-07 22:11:00 +00:00
MENU_ENUM_LABEL_DEFERRED_NETPLAY,
MENU_ENUM_LABEL_DEFERRED_MUSIC,
2016-12-26 23:02:09 +00:00
MENU_ENUM_LABEL_DEFERRED_BROWSE_URL_START,
2016-12-26 05:39:12 +00:00
MENU_ENUM_LABEL_DEFERRED_BROWSE_URL_LIST,
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_ACTION_DETECT_CORE,
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_ACTION,
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE,
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN,
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_LIST,
2016-06-20 22:46:55 +00:00
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_SUBDIR_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_SYSTEM_FILES_LIST,
MENU_ENUM_LABEL_DEFERRED_LAKKA_LIST,
MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST,
MENU_ENUM_LABEL_DEFERRED_INPUT_RETROPAD_BINDS_LIST,
MENU_ENUM_LABEL_DEFERRED_DATABASE_MANAGER_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_FILTER,
MENU_ENUM_LABEL_DEFERRED_CORE_LIST_SET,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_DEVELOPER,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_PUBLISHER,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_ORIGIN,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_FRANCHISE,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_EDGE_MAGAZINE_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_EDGE_MAGAZINE_ISSUE,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_FAMITSU_MAGAZINE_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_ENHANCEMENT_HW,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_RELEASEMONTH,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_RELEASEYEAR,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_ESRB_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_ELSPA_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_PEGI_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_CERO_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_BBFC_RATING,
MENU_ENUM_LABEL_DEFERRED_CURSOR_MANAGER_LIST_RDB_ENTRY_MAX_USERS,
MENU_ENUM_LABEL_DEFERRED_RDB_ENTRY_DETAIL,
MENU_ENUM_LABEL_DEFERRED_RPL_ENTRY_ACTIONS,
MENU_ENUM_LABEL_DEFERRED_CORE_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_UPDATER_LIST,
2020-06-11 13:12:20 +00:00
MENU_ENUM_LABEL_DEFERRED_CORE_MANAGER_LIST,
#ifdef HAVE_MIST
MENU_ENUM_LABEL_DEFERRED_STEAM_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_MANAGER_STEAM_LIST,
#endif
#if 0
/* Thumbnailpack removal */
MENU_ENUM_LABEL_DEFERRED_THUMBNAILS_UPDATER_LIST,
#endif
MENU_ENUM_LABEL_DEFERRED_PL_THUMBNAILS_UPDATER_LIST,
2016-10-08 13:05:31 +00:00
MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_PLAYLIST_MANAGER_LIST,
MENU_ENUM_LABEL_DEFERRED_PLAYLIST_MANAGER_SETTINGS,
MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST,
2021-03-25 16:45:31 +00:00
MENU_ENUM_LABEL_DEFERRED_INPUT_TURBO_FIRE_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_INPUT_HAPTIC_FEEDBACK_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_INPUT_MENU_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_LATENCY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_DRIVER_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_WINDOWED_MODE_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_FULLSCREEN_MODE_SETTINGS_LIST,
2019-12-19 18:15:57 +00:00
MENU_ENUM_LABEL_DEFERRED_VIDEO_OUTPUT_SETTINGS_LIST,
2019-12-19 18:39:02 +00:00
MENU_ENUM_LABEL_DEFERRED_VIDEO_SYNCHRONIZATION_SETTINGS_LIST,
Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917) * Add HDR support * Attempt to fix Mingw build and Metal builds * (D3D12) Fix relative header includes * Add missing hdr_sm5.hlsl.h * (d3d12_common.c) Some C89 build fixes * Fix MSVC build * - Attempt to fix build on mingw/msys unix with dirty hack - Fix shader compilation of hdr_sm5.hlsl.h on MSVC/Visual Studio - the define was seen as an error and was causing the first pipeline to error out - Make sure we manually set handle of backBuffer to NULL * Moving the release of the texture above the freeing of desc.srv_heap and desc.rtv_heap solves the hard crashes on teardown/setup in RA - it was crashing hard in d3d12_release_texture before * Add HAVE_D3D12_HDR ifdef - needs to be disabled for WinRT for now because of several things that are Windows desktop-specific right now (GetWindowRect) * Add dirty GUID hack - should work for both mingw/msys on Windows/Linux as well as MSVC/Visual Studio (hopefully) * Change HAVE_D3D12_HDR to HAVE_DXGI_HDR * Move away from camelcase named variables * Fix RARCH_ERR logs - they need a newline at the end * d3d12_check_display_hdr_support - make it return a bool on return and set d3d12->hdr.support and d3d12->hdr.enable outside of the function * (DXGI) Remove D3D12 dependencies from dxgi_check_display_hdr_support and move it to dxgi_common.c instead * (DXGI) move d3d12_swapchain_color_space over to dxgi_common.c and rename it dxgi_swapchain_color_space * (DXGI) move d3d12_set_hdr_metadata to dxgi_common.c and rename it dxgi_set_hdr_metadata * (DXGI) dxgi_check_display_hdr_support - better error handling? * Fix typo * Remove video_force_resolution * (D3D12) Address TODO/FIXME * (D3D12) Backport https://github.com/libretro/RetroArch/pull/12916/commits/c1b6c0bff2aa33cde035b43cb31ac7e78ff2a07a - Fixed resource transition for present when HDR is off Fixed cel shader displaying all black as blending was enabled when the hdr shader was being applied - turned off blending during this shader * Move d3d12_hdr_uniform_t to dxgi_common.h and rename it dxgi_hdr_uniform_t * (D3D11) Add HDR support * Add TODO/FIXME notes * Cache hdr_enable in video_frame_info_t * Update comment
2021-09-03 04:15:25 +00:00
MENU_ENUM_LABEL_DEFERRED_VIDEO_HDR_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_VIDEO_SCALING_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CRT_SWITCHRES_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CONFIGURATION_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_SAVING_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CLOUD_SYNC_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_FRAME_THROTTLE_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_REWIND_SETTINGS_LIST,
2019-08-24 16:18:24 +00:00
MENU_ENUM_LABEL_DEFERRED_FRAME_TIME_COUNTER_SETTINGS_LIST,
2019-08-21 18:43:32 +00:00
MENU_ENUM_LABEL_DEFERRED_AI_SERVICE_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_ACCESSIBILITY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CHEAT_DETAILS_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CHEAT_SEARCH_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_ONSCREEN_DISPLAY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_OSK_OVERLAY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_OVERLAY_LIGHTGUN_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_OVERLAY_MOUSE_SETTINGS_LIST,
2019-03-29 18:24:33 +00:00
MENU_ENUM_LABEL_DEFERRED_ONSCREEN_VIDEO_LAYOUT_SETTINGS_LIST,
2016-11-23 13:28:15 +00:00
MENU_ENUM_LABEL_DEFERRED_ONSCREEN_NOTIFICATIONS_SETTINGS_LIST,
2020-07-16 15:30:38 +00:00
MENU_ENUM_LABEL_DEFERRED_ONSCREEN_NOTIFICATIONS_VIEWS_SETTINGS_LIST,
2017-06-20 00:04:23 +00:00
MENU_ENUM_LABEL_DEFERRED_MENU_VIEWS_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_QUICK_MENU_VIEWS_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_SETTINGS_VIEWS_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_QUICK_MENU_OVERRIDE_OPTIONS,
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST,
2022-08-17 06:23:07 +00:00
#ifdef _3DS
MENU_ENUM_LABEL_DEFERRED_MENU_BOTTOM_SETTINGS_LIST,
#endif
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_USER_INTERFACE_SETTINGS_LIST,
2018-06-19 04:23:38 +00:00
MENU_ENUM_LABEL_DEFERRED_POWER_MANAGEMENT_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CPU_PERFPOWER_LIST,
MENU_ENUM_LABEL_DEFERRED_CPU_POLICY_ENTRY,
2019-01-27 16:22:16 +00:00
MENU_ENUM_LABEL_DEFERRED_MENU_SOUNDS_LIST,
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_MENU_FILE_BROWSER_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_RETRO_ACHIEVEMENTS_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CHEEVOS_APPEARANCE_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CHEEVOS_VISIBILITY_SETTINGS_LIST,
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_UPDATER_SETTINGS_LIST,
2020-06-17 11:56:44 +00:00
MENU_ENUM_LABEL_DEFERRED_BLUETOOTH_SETTINGS_LIST,
2016-09-21 19:58:43 +00:00
MENU_ENUM_LABEL_DEFERRED_WIFI_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_WIFI_NETWORKS_LIST,
MENU_ENUM_LABEL_DEFERRED_SUBSYSTEM_SETTINGS_LIST,
2019-12-30 02:01:52 +00:00
MENU_ENUM_LABEL_DEFERRED_NETWORK_HOSTING_SETTINGS_LIST,
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_NETWORK_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_NETPLAY_LOBBY_FILTERS_LIST,
MENU_ENUM_LABEL_DEFERRED_NETPLAY_LAN_SCAN_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_LAKKA_SERVICES_LIST,
MENU_ENUM_LABEL_DEFERRED_LAKKA_SWITCH_OPTIONS_LIST,
2016-07-02 18:40:27 +00:00
MENU_ENUM_LABEL_DEFERRED_USER_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_PRIVACY_SETTINGS_LIST,
2018-06-04 05:48:08 +00:00
MENU_ENUM_LABEL_DEFERRED_MIDI_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_LOGGING_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_AUDIO_RESAMPLER_SETTINGS_LIST, /* deprecated */
MENU_ENUM_LABEL_DEFERRED_AUDIO_OUTPUT_SETTINGS_LIST,
Add microphone support via a new driver (#14731) * Some slight fixes * Update libretro.h * Log calls to RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE * Finish proof-of-concept for mic support - It works, but doesn't support floating-point audio yet - It may need to be resampled, too * Add macros that aren't available in SDL 2 * Comment out a variable definition for now - For C89 compliance * Add some comments for clarity * Let ALSA tolerate a null new_rate * Partial ALSA microphone support - Not yet tested - Mic is created and destroyed - Mic can also be paused or unpaused - Mic is paused or unpaused with the rest of the driver - Microphone is not yet read * Install error logging in the ALSA driver - It defers to RARCH_ERR * Free the ALSA microphone in alsa_free * Fix an indent * First draft of alsa_read_microphone * Deinitialize SDL Audio in sdl_audio_free * Save and restore the ALSA error logger - You should always practice safe global state * Add newlines to some RARCH_ERRs * Add some logging * Check for the mic being active via settings instead of via flags * Adjusted a log entry to be less misleading - A frequency of 0Hz looks weird to the uninformed - In reality, it means the driver used the requested frequency * Fix an incorrect format string * Tidy up logging in alsa.c * Rename audio_enable_microphone to audio_enable_input * Rename microphone_device to audio_input_device * Add audio_input_latency and audio_input_block_frames settings * Add all mic-related settings to the options menu * Adjust logging for alsa.c - Log the ALSA library version - Add errno details * Refer to the microphone in logs by name * Use %u instead of %d for some log items * Add input_samples_buf * Remove an inaccurate comment * Change type of input_samples_buf * Clean up audio_driver_flush_microphone_input * Comment convert_float_to_s16 - It helped me understand what it's doing - Turns out it'll work just fine on mono audio * Don't use the resampler for mic input * Fix crash in the ALSA driver when reading from a mic * Update some logging messages * ALSA support now works for mics * Reuse some common functions in alsa.c * Add alsa_thread_microphone_t * Refactor alsa.c - Introduce alsa_init_pcm to init any PCM that we're using - Vastly simplifies the implementation of alsa_init and alsa_init_microphone - Will be used for the read-based versions next * Make ALSA logging a little more consistent * Clean up the mic with alsa_free_microphone if alsa_init_microphone fails * Remove an unused function * Move some cleanup in alsa.c to a common function * First crack at mic support for alsathread - Refactor some duplicate code into functions - Use functions introduced in alsa.c - Create and destroy the mic * Slight cleanups for clarity * Implement alsa_thread_set/get_microphone_state * More work on alsathread - No more crashing, but the mic just returns silence * Slight cleanups for clarity * Add alsa_set_mic_enabled_internal - For setting the state of a microphone while considering its current state * Use alsa_set_mic_enabled_internal * Log a little more info * Log when the audio driver is started/stopped * Move base microphone driver code into a new directory - Add microphone_driver.c to Makefile.common - Rename functions as needed * Initialize and deinitialize the microphone driver * Implement sdl_microphone.c * Un-const an argument - In case the driver context needs to do any locking * Revise comments for microphone_driver.h * Remove an unimplemented function * Remove some functions from the mic driver * Remove mic functions from audio_thread_wrapper * Remove mic functions from sdl_audio * Fix microphone_null * Split the mic code for the alsa audio drivers into microphone drivers * Fix an extra struct member * Add a setting for the mic driver * Add a command to reinitialize the microphone driver * Rename mic-related settings * Add DRIVER_MICROPHONE_MASK to DRIVERS_CMD_ALL * Rename audio_enable_input to microphone_enable * Remove some labels from qt_options * Search for microphone_driver within find_driver_nonempty * Clean up some mic driver code * Pending mics now return silence * Adjust some logging and comments * Some cleanup in the microphone driver * Invert a flag check - Oops * Fix a log message * Fix the wrong flags being checked * Slight refactor of wasapi_init_device - Add a data_flow parameter - Declare it in a header - In preparation for WASAPI mic support * Add some WASAPI macros for _IAudioCaptureClient * Move some common WASAPI functions to audio/common/wasapi.c - They'll be used by the mic and the audio drivers * Add wasapi_log_hr * Generalize mmdevice_list_new to look for capture devices, too * Fix a function declaration * Move driver-specific device_list_new functions into their respective files * Clean up some declarations * First draft of wasapi microphone driver * Add wasapi_microphone_device_list_free * Change function parameter names to be consistent with microphone_driver * Partially implement wasapi_microphone_read - Mostly copied from the audio driver so far - It doesn't compile yet - But it'll be beautiful when I'm done with it * Refactor the mic driver's functions - Rename get_mic_active to mic_alive - Split set_mic_active into start_mic and stop_mic - Refactor the SDL mic driver accordingly * Edit some WASAPI functions for logging and clarity * Implement more of the WASAPI mic driver * Rename write_event to read_event * Pass the WASAPI driver context to the various read functions * Mostly implement the read function for the WASAPI mic driver * Fix a crash in microphone_driver - Forgot to move the position of the name of null_driver * Reduce some logging in wasapi common functions - Only log the chosen audio client format, not all attempted ones * Add some macro wrappers for IAudioClient methods * Update mic driver configuration - Make the mic driver configurable in the menu - Add config items for WASAPI-related options similar to the audio driver * Fix a menu entry scrolling through audio devices instead of mic devices * Add some utility functions * Expose the new utility functions in wasapi.h * Add extra logging in the WASAPI common functions * Add sharemode_name * Use _IAudioClient_Initialize macro in some places * Pass channels to wasapi_init_client - Remember, mics are in mono * Use _IAudioClient_Initialize macro some more * Forgot to pass channels in some places * Add some utility functions * Forgot an #include * Add wasapi_select_device_format * Simplify the format selection logic in wasapi_init_client_sh * Unset the microphone in wasapi_microphone_close_mic - Ought to prevent a potential segfault * Simplify some logging * Fix incorrect value being passed to _IAudioCaptureClient_ReleaseBuffer * Remove some unneeded logging * Add some values to hresult_name * Polish up wasapi_select_device_format - Test for formats manually when Windows can't - Add some debug logging - Check for channels * Compute the fields of WAVEFORMATEXTENSIBLE correctly - As per the doc's stated requirements * Simplify logic for WASAPI client creation * Fix a potential hang in wasapi_microphone_read_shared_buffered * Stop the microphone if the driver is stopped * Don't name the microphone event * Ensure that wasapi_init_client reports the correct format and rate * Implement exclusive microphone read access for WASAPI * Add _IAudioCaptureClient_GetNextPacketSize macro * Organize cases in hresult_name * Clear some extra fields if wasapi_set_format is setting a Pcm format * Adjust some logs * Adjust some logs * Remove unneeded local vars * Add a log * Update wasapi.c * Update wasapi.c * Fix shared-mode mic support in WASAPI producing broken input - Turns out it had nothing to do with shared mode * Reuse a common function - Remove wasapi_microphone_read_shared_buffered - Rename wasapi_microphone_read_exclusive to wasapi_microphone_read_buffered * Remove some code I was using for test purposes * Clarify some language * Double the default shared-mode mic buffer length * Split getting a device's name into a separate function, then use it * Fix the ALSA mic drivers - To comply with changes I previously made to the mic driver interface * Remove unused synchronization primitives from the SDL microphone driver * Add sdl_microphone_mic_use_float * Document audio_driver_state_flags - I needed to understand these to see if similar flags were required for the mic driver * Remove an unused function in wasapi.c * Add and document flags in microphone_driver.h * Remove driver-specific mic start/stop functions - The mic driver itself doesn't do much processing - That honor goes to individual mics * Remove some unused fields in microphone_driver.h * Add CMD_EVENT_MICROPHONE_STOP/START * Remove unused functions from microphone_null * Change how the mic driver state is referenced in some places * Simplify the SDL microphone driver - The driver backend no longer keeps a reference to the mic (the frontend does that) - Remove functions that are no longer needed - Don't track paused state, just query the mic itself * Simplify the WASAPI microphone driver - Don't track the driver running state or the microphone handle, the frontend does that now - Remove support for unbuffered input (hunterk suggested that it wasn't necessary) * Make microphone_wasapi_sh_buffer_length a uint, not an int - It won't be negative anymore - 0 now represents the default value * Make the microphone frontend more robust - Improve documentation for how various functions should be implemented - Closes all microphones before freeing the driver (so backends don't have to) - Tracks the enabled state of each microphone, so backends don't have to (but they still can) * Stop the mic driver in core_unload_game * Ensure mic support is compatible with the revised menu code * Move alsa.h into audio/common * Remove RETRO_ENVIRONMENT_GET_MICROPHONE_ENABLED - It was never really needed * Refactor the ALSA microphone driver - Move common ALSA functions to audio/common/alsa.c - Replace alsa_set_mic_enabled_internal with alsa_start/stop_pcm - Don't track the microphone handle in the ALSA driver context - Remove unneeded fields * Move some common alsathread code into audio/common/alsathread.c * Change return type of mic_driver_open_mic_internal to bool * First crack at resampling mic input * Remove an extraneous check - I think something distracted me when I was writing this line * Add stereo/mono conversion functions * Make alsa_start_pcm and alsa_stop_pcm more robust - They now return success if the stream is already running and stopped, respectively * Revise some mic-related comments in libretro.h * First crack at resampling mic input * Simplify an expression * Simplify an expression * Fix a log tag * Allow mic resampler to be configured separately from audio resampler * Add some comments * Set the source ratio to something sensible * Stop deadlock in `alsathread` mic driver * Allow mics to be initialized even when core is loaded from CLI - When loading content from CLI, the drivers are initialized a little differently - That threw off the mic initialization code * Rename the functions in retro_microphone_interface * Revise some mic-related comments in libretro.h * Update retro_microphone_interface - Add get_mic_rate - Add a parameter to open_mic - The modifications don't do anything yet * Use parameter objects in the microphone handle * Replace get_mic_rate with get_params * Add a microphone interface version * Remove part of a comment * Set the effective params in mic_driver_microphone_handle_init * Drop a stray newline * Change where the mic interface is zeroed - I was accidentally throwing out the version that the core was asking for * Reduce logspam for wasapi_set_nonblock_state - Now it only logs when the sync mode is changed * Change DEFAULT_WASAPI_SH_BUFFER_LENGTH to 0 - -16 is no longer a valid value * Set the new_rate in wasapi_init * Change description of microphone sample rate in the settings * First attempt at resampling configured mic input * Forgot a section * Fix some input samples being skipped * Rename a variable for clarity * Add microphone.outgoing_samples * Update the mic driver - Processed samples are now buffered - The resampler is skipped if the ratio is (very close to) 1 * Remove part of a comment * Update some comments in audio_resampler.h * Slightly refactor the SDL microphone driver - Move SDL_AudioSpec to a field of sdl_microphone_handle_t - Allow SDL to change the requested format and sample rate - Request floating-point input - Implement sdl_microphone_mic_use_float * Fix a non-C89-compliant declaration * Add new files to griffin.c * Remove a C++-style comment * Add two more files to griffin.c * Remove some unneeded declarations in microphone_driver.h * Remove a stray comma in configuration.c - For C89 compliance * Fix compilation on some platforms * Change some function signatures * Make the ALSA drivers always set the audio rate * Fix the alsathread mic driver * Make state_manager_frame_is_reversed return false if HAVE_REWIND isn't defined * Mute the microphone if the core is running in fast-forward, slow-mo, or rewind * Clarify a comment * Clarify a comment * Add a comment * Don't allocate memory for slowmo samples in the mic driver - We're not supporting slowmo for mics, so it's not needed * Fix a { * Add my name to AUTHORS.h * Add driver_lifetime_flags - For drivers that have special setup/teardown needs * Ensure that resetting the mic driver maintains active mic handles - Prevents fullscreen toggle from stopping all mic input * Update CHANGES.md * Move some default microphone settings to a new part of the config file * Ensure that RetroArch can use the audio format that Windows suggests * Remove references to mic support in the SDL audio driver * Remove unused WASAPI functions * Return failure if RetroArch couldn't select a WASAPI format * Ensure that Windows uses the WASAPI mic driver by default * Treat disabled mic support as a warning, not an error * Clarify some WASAPI-related microphone settings * Remove some unused variables * Add or revise microphone-related comments * Rearrange doc comments for microphone types in libretro.h * Remove a space * Remove some unused flags * Remove ALSA error logger - It was never used anyway * Remove unneeded microphone-related arguments * Document a parameter * Remove a logging call * Add a constant for the microphone's shared buffer length for WASAPI * Fix stylistic inconsistencies * Make mic_driver_get_sample_size a macro instead of a function * Move the microphone implementation to the audio directory * Make microphone support optional (but enabled by default) * Fix the griffin build
2023-06-06 19:55:06 +00:00
#ifdef HAVE_MICROPHONE
MENU_ENUM_LABEL_DEFERRED_MICROPHONE_SETTINGS_LIST,
#endif
MENU_ENUM_LABEL_DEFERRED_AUDIO_SYNCHRONIZATION_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_AUDIO_MIXER_SETTINGS_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_SETTINGS_LIST,
2020-05-28 16:48:18 +00:00
MENU_ENUM_LABEL_DEFERRED_CORE_INFORMATION_LIST,
#ifdef HAVE_MIST
MENU_ENUM_LABEL_DEFERRED_CORE_INFORMATION_STEAM_LIST,
#endif
MENU_ENUM_LABEL_DEFERRED_CORE_RESTORE_BACKUP_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_DELETE_BACKUP_LIST,
MENU_ENUM_LABEL_DEFERRED_CORE_OPTION_OVERRIDE_LIST,
MENU_ENUM_LABEL_DEFERRED_USER_BINDS_LIST,
MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_CHEEVOS_LIST,
2018-09-26 21:00:00 +00:00
MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_TWITCH_LIST,
MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_YOUTUBE_LIST,
2020-12-19 12:14:14 +00:00
MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_FACEBOOK_LIST,
MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_LIST,
MENU_ENUM_LABEL_DEFERRED_INFORMATION,
2019-11-29 17:13:35 +00:00
MENU_ENUM_LABEL_DEFERRED_MANUAL_CONTENT_SCAN_LIST,
MENU_LABEL(FILE_DETECT_CORE_LIST_PUSH_DIR),
2016-11-22 10:14:29 +00:00
MENU_LABEL(DOWNLOADED_FILE_DETECT_CORE_LIST),
MENU_ENUM_LABEL_VALUE_SEARCH,
2022-10-19 01:32:21 +00:00
MENU_ENUM_LABEL_VALUE_CYCLE_THUMBNAILS,
2016-11-22 09:45:43 +00:00
MENU_LABEL(DOWNLOAD_CORE_CONTENT),
MENU_LABEL(DOWNLOAD_CORE_CONTENT_DIRS),
MENU_LABEL(DOWNLOAD_CORE_SYSTEM_FILES),
MENU_LBL_H(SCAN_THIS_DIRECTORY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(SCAN_DIRECTORY),
MENU_LABEL(SCAN_FILE),
MENU_LABEL(NETPLAY_SHOW_ONLY_CONNECTABLE),
MENU_LABEL(NETPLAY_SHOW_ONLY_INSTALLED_CORES),
MENU_LABEL(NETPLAY_SHOW_PASSWORDED),
2017-01-19 05:52:53 +00:00
MENU_LABEL(NETPLAY_REFRESH_ROOMS),
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_LABEL(NETPLAY_REFRESH_LAN),
2017-01-25 16:30:19 +00:00
MENU_LABEL(NETPLAY_ROOM_NICKNAME),
2017-02-28 02:58:39 +00:00
MENU_LABEL(NETPLAY_ROOM_NICKNAME_LAN),
2016-11-22 08:25:57 +00:00
MENU_LABEL(ADD_CONTENT_LIST),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CONFIGURATIONS_LIST),
MENU_ENUM_LABEL_VALUE_DONT_CARE,
MENU_ENUM_LABEL_VALUE_LINEAR,
MENU_ENUM_LABEL_VALUE_NEAREST,
MENU_ENUM_LABEL_VALUE_MAIN,
MENU_ENUM_LABEL_VALUE_CONTENT,
MENU_ENUM_LABEL_VALUE_UNKNOWN,
MENU_ENUM_LABEL_VALUE_USER,
2017-09-10 05:04:18 +00:00
MENU_ENUM_LABEL_VALUE_KEYBOARD,
MENU_ENUM_LABEL_VALUE_CHEAT,
MENU_ENUM_LABEL_VALUE_SHADER,
MENU_ENUM_LABEL_VALUE_DIRECTORY_CONTENT,
MENU_ENUM_LABEL_VALUE_DIRECTORY_NONE,
MENU_ENUM_LABEL_VALUE_DIRECTORY_DEFAULT,
MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE,
MENU_ENUM_LABEL_VALUE_ASK_ARCHIVE,
/* Online Updater */
2016-11-22 10:14:29 +00:00
MENU_LABEL(UPDATE_ASSETS),
MENU_LABEL(UPDATE_LAKKA),
MENU_LABEL(UPDATE_CHEATS),
MENU_LABEL(UPDATE_AUTOCONFIG_PROFILES),
MENU_LABEL(UPDATE_DATABASES),
MENU_LABEL(UPDATE_CG_SHADERS),
MENU_LABEL(UPDATE_OVERLAYS),
MENU_LABEL(UPDATE_GLSL_SHADERS),
MENU_LABEL(UPDATE_SLANG_SHADERS),
MENU_LABEL(UPDATE_CORE_INFO_FILES),
2016-11-22 09:45:43 +00:00
MENU_LABEL(INFORMATION),
MENU_LABEL(INFORMATION_LIST),
MENU_LABEL(USE_BUILTIN_PLAYER),
2017-06-07 22:19:43 +00:00
MENU_LABEL(NETPLAY_SETTINGS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CONTENT_SETTINGS),
MENU_LBL_H(LOAD_CONTENT_LIST),
2017-07-10 05:22:30 +00:00
MENU_LABEL(LOAD_CONTENT_SPECIAL),
2016-11-22 09:45:43 +00:00
MENU_LABEL(NO_SETTINGS_FOUND),
MENU_LABEL(NO_PRESETS_FOUND),
2020-06-17 11:56:44 +00:00
MENU_LABEL(NO_BT_DEVICES_FOUND),
2016-11-30 23:35:20 +00:00
MENU_LABEL(NO_NETWORKS_FOUND),
2016-11-22 09:45:43 +00:00
MENU_LABEL(NO_PERFORMANCE_COUNTERS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(FRAME_THROTTLE_SETTINGS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(FRAME_THROTTLE_ENABLE),
MENU_LABEL(CORE_ENABLE),
/* Netplay */
2016-11-22 10:14:29 +00:00
MENU_LABEL(NETPLAY_ENABLE_HOST),
MENU_LABEL(NETPLAY_DISABLE_HOST),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NETPLAY_ENABLE_CLIENT),
MENU_LABEL(NETPLAY_DISCONNECT),
MENU_LABEL(NETPLAY_CONNECT_TO),
MENU_LABEL(NETPLAY_KICK),
MENU_ENUM_LABEL_DEFERRED_NETPLAY_KICK_LIST,
MENU_ENUM_LABEL_NETPLAY_KICK_CLIENT,
2022-07-07 14:08:46 +00:00
MENU_LABEL(NETPLAY_BAN),
MENU_ENUM_LABEL_DEFERRED_NETPLAY_BAN_LIST,
MENU_ENUM_LABEL_NETPLAY_BAN_CLIENT,
MENU_LABEL(NO_NETPLAY_HOSTS_FOUND),
MENU_LABEL(NO_NETPLAY_CLIENTS_FOUND),
MENU_ENUM_LABEL_RESET,
2018-03-10 17:42:45 +00:00
MENU_ENUM_LABEL_SLOWMOTION_HOLD,
MENU_ENUM_LABEL_HOLD_FAST_FORWARD,
MENU_ENUM_LABEL_CHEAT_TOGGLE,
MENU_ENUM_LABEL_PAUSE_TOGGLE,
2016-11-22 10:14:29 +00:00
MENU_LABEL(PAUSE_LIBRETRO),
MENU_LABEL(MENU_SAVESTATE_RESUME),
2020-01-14 12:28:10 +00:00
MENU_LABEL(MENU_INSERT_DISK_RESUME),
2016-11-23 13:42:59 +00:00
MENU_LABEL(DIRECTORY_NOT_FOUND),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_ITEMS),
MENU_LABEL(NO_PLAYLISTS),
2016-06-30 03:35:45 +00:00
MSG_INTERFACE,
MSG_MEMORY,
MSG_IN_BYTES,
MSG_IN_MEGABYTES,
MSG_IN_GIGABYTES,
2016-11-28 22:03:03 +00:00
MSG_INTERNAL_STORAGE,
MSG_REMOVABLE_STORAGE,
MSG_APPLICATION_DIR,
MSG_EXTERNAL_APPLICATION_DIR,
2016-11-22 09:45:43 +00:00
MENU_LABEL(SHADER_OPTIONS),
MENU_LBL_H(USE_THIS_DIRECTORY),
2022-04-05 22:58:48 +00:00
MENU_LABEL(SAVESTATE_LIST),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CORE_OPTIONS),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_SHADER_PARAMETERS),
MENU_LABEL(NO_CORE_INFORMATION_AVAILABLE),
MENU_LABEL(NO_CORE_BACKUPS_AVAILABLE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_CORES_AVAILABLE),
/* Audio */
2016-11-22 08:25:57 +00:00
MENU_LABEL(AUDIO_ENABLE),
2018-04-28 22:41:53 +00:00
MENU_LABEL(AUDIO_ENABLE_MENU),
MENU_LBL_H(AUDIO_MAX_TIMING_SKEW),
2016-11-22 10:14:29 +00:00
MENU_LABEL(AUDIO_OUTPUT_RATE),
MENU_LBL_H(AUDIO_DEVICE),
MENU_ENUM_LABEL_AUDIO_DEVICE_LIST,
MENU_ENUM_LABEL_HELP_AUDIO_DEVICE_ALSA,
MENU_ENUM_LABEL_HELP_AUDIO_DEVICE_OSS,
MENU_ENUM_LABEL_HELP_AUDIO_DEVICE_JACK,
MENU_ENUM_LABEL_HELP_AUDIO_DEVICE_RSOUND,
2016-11-22 10:14:29 +00:00
MENU_LABEL(AUDIO_BLOCK_FRAMES),
MENU_LABEL(AUDIO_DSP_PLUGIN),
2020-10-19 10:30:28 +00:00
MENU_LABEL(AUDIO_DSP_PLUGIN_REMOVE),
2016-11-22 08:25:57 +00:00
MENU_LABEL(AUDIO_MUTE),
2017-06-08 21:53:24 +00:00
MENU_LABEL(AUDIO_MIXER_MUTE),
MENU_LABEL(AUDIO_RESPECT_SILENT_MODE),
MENU_LABEL(AUDIO_FASTFORWARD_MUTE),
MENU_LABEL(AUDIO_FASTFORWARD_SPEEDUP),
2016-11-22 08:25:57 +00:00
MENU_LABEL(AUDIO_SYNC),
MENU_LBL_H(AUDIO_VOLUME),
2017-06-08 20:58:43 +00:00
MENU_LABEL(AUDIO_MIXER_VOLUME),
MENU_LBL_H(AUDIO_RATE_CONTROL_DELTA),
2016-11-22 08:25:57 +00:00
MENU_LABEL(AUDIO_LATENCY),
MENU_LABEL(AUDIO_RESAMPLER_QUALITY),
MENU_LABEL(AUDIO_WASAPI_EXCLUSIVE_MODE),
MENU_LABEL(AUDIO_WASAPI_FLOAT_FORMAT),
MENU_LABEL(AUDIO_WASAPI_SH_BUFFER_LENGTH),
Add microphone support via a new driver (#14731) * Some slight fixes * Update libretro.h * Log calls to RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE * Finish proof-of-concept for mic support - It works, but doesn't support floating-point audio yet - It may need to be resampled, too * Add macros that aren't available in SDL 2 * Comment out a variable definition for now - For C89 compliance * Add some comments for clarity * Let ALSA tolerate a null new_rate * Partial ALSA microphone support - Not yet tested - Mic is created and destroyed - Mic can also be paused or unpaused - Mic is paused or unpaused with the rest of the driver - Microphone is not yet read * Install error logging in the ALSA driver - It defers to RARCH_ERR * Free the ALSA microphone in alsa_free * Fix an indent * First draft of alsa_read_microphone * Deinitialize SDL Audio in sdl_audio_free * Save and restore the ALSA error logger - You should always practice safe global state * Add newlines to some RARCH_ERRs * Add some logging * Check for the mic being active via settings instead of via flags * Adjusted a log entry to be less misleading - A frequency of 0Hz looks weird to the uninformed - In reality, it means the driver used the requested frequency * Fix an incorrect format string * Tidy up logging in alsa.c * Rename audio_enable_microphone to audio_enable_input * Rename microphone_device to audio_input_device * Add audio_input_latency and audio_input_block_frames settings * Add all mic-related settings to the options menu * Adjust logging for alsa.c - Log the ALSA library version - Add errno details * Refer to the microphone in logs by name * Use %u instead of %d for some log items * Add input_samples_buf * Remove an inaccurate comment * Change type of input_samples_buf * Clean up audio_driver_flush_microphone_input * Comment convert_float_to_s16 - It helped me understand what it's doing - Turns out it'll work just fine on mono audio * Don't use the resampler for mic input * Fix crash in the ALSA driver when reading from a mic * Update some logging messages * ALSA support now works for mics * Reuse some common functions in alsa.c * Add alsa_thread_microphone_t * Refactor alsa.c - Introduce alsa_init_pcm to init any PCM that we're using - Vastly simplifies the implementation of alsa_init and alsa_init_microphone - Will be used for the read-based versions next * Make ALSA logging a little more consistent * Clean up the mic with alsa_free_microphone if alsa_init_microphone fails * Remove an unused function * Move some cleanup in alsa.c to a common function * First crack at mic support for alsathread - Refactor some duplicate code into functions - Use functions introduced in alsa.c - Create and destroy the mic * Slight cleanups for clarity * Implement alsa_thread_set/get_microphone_state * More work on alsathread - No more crashing, but the mic just returns silence * Slight cleanups for clarity * Add alsa_set_mic_enabled_internal - For setting the state of a microphone while considering its current state * Use alsa_set_mic_enabled_internal * Log a little more info * Log when the audio driver is started/stopped * Move base microphone driver code into a new directory - Add microphone_driver.c to Makefile.common - Rename functions as needed * Initialize and deinitialize the microphone driver * Implement sdl_microphone.c * Un-const an argument - In case the driver context needs to do any locking * Revise comments for microphone_driver.h * Remove an unimplemented function * Remove some functions from the mic driver * Remove mic functions from audio_thread_wrapper * Remove mic functions from sdl_audio * Fix microphone_null * Split the mic code for the alsa audio drivers into microphone drivers * Fix an extra struct member * Add a setting for the mic driver * Add a command to reinitialize the microphone driver * Rename mic-related settings * Add DRIVER_MICROPHONE_MASK to DRIVERS_CMD_ALL * Rename audio_enable_input to microphone_enable * Remove some labels from qt_options * Search for microphone_driver within find_driver_nonempty * Clean up some mic driver code * Pending mics now return silence * Adjust some logging and comments * Some cleanup in the microphone driver * Invert a flag check - Oops * Fix a log message * Fix the wrong flags being checked * Slight refactor of wasapi_init_device - Add a data_flow parameter - Declare it in a header - In preparation for WASAPI mic support * Add some WASAPI macros for _IAudioCaptureClient * Move some common WASAPI functions to audio/common/wasapi.c - They'll be used by the mic and the audio drivers * Add wasapi_log_hr * Generalize mmdevice_list_new to look for capture devices, too * Fix a function declaration * Move driver-specific device_list_new functions into their respective files * Clean up some declarations * First draft of wasapi microphone driver * Add wasapi_microphone_device_list_free * Change function parameter names to be consistent with microphone_driver * Partially implement wasapi_microphone_read - Mostly copied from the audio driver so far - It doesn't compile yet - But it'll be beautiful when I'm done with it * Refactor the mic driver's functions - Rename get_mic_active to mic_alive - Split set_mic_active into start_mic and stop_mic - Refactor the SDL mic driver accordingly * Edit some WASAPI functions for logging and clarity * Implement more of the WASAPI mic driver * Rename write_event to read_event * Pass the WASAPI driver context to the various read functions * Mostly implement the read function for the WASAPI mic driver * Fix a crash in microphone_driver - Forgot to move the position of the name of null_driver * Reduce some logging in wasapi common functions - Only log the chosen audio client format, not all attempted ones * Add some macro wrappers for IAudioClient methods * Update mic driver configuration - Make the mic driver configurable in the menu - Add config items for WASAPI-related options similar to the audio driver * Fix a menu entry scrolling through audio devices instead of mic devices * Add some utility functions * Expose the new utility functions in wasapi.h * Add extra logging in the WASAPI common functions * Add sharemode_name * Use _IAudioClient_Initialize macro in some places * Pass channels to wasapi_init_client - Remember, mics are in mono * Use _IAudioClient_Initialize macro some more * Forgot to pass channels in some places * Add some utility functions * Forgot an #include * Add wasapi_select_device_format * Simplify the format selection logic in wasapi_init_client_sh * Unset the microphone in wasapi_microphone_close_mic - Ought to prevent a potential segfault * Simplify some logging * Fix incorrect value being passed to _IAudioCaptureClient_ReleaseBuffer * Remove some unneeded logging * Add some values to hresult_name * Polish up wasapi_select_device_format - Test for formats manually when Windows can't - Add some debug logging - Check for channels * Compute the fields of WAVEFORMATEXTENSIBLE correctly - As per the doc's stated requirements * Simplify logic for WASAPI client creation * Fix a potential hang in wasapi_microphone_read_shared_buffered * Stop the microphone if the driver is stopped * Don't name the microphone event * Ensure that wasapi_init_client reports the correct format and rate * Implement exclusive microphone read access for WASAPI * Add _IAudioCaptureClient_GetNextPacketSize macro * Organize cases in hresult_name * Clear some extra fields if wasapi_set_format is setting a Pcm format * Adjust some logs * Adjust some logs * Remove unneeded local vars * Add a log * Update wasapi.c * Update wasapi.c * Fix shared-mode mic support in WASAPI producing broken input - Turns out it had nothing to do with shared mode * Reuse a common function - Remove wasapi_microphone_read_shared_buffered - Rename wasapi_microphone_read_exclusive to wasapi_microphone_read_buffered * Remove some code I was using for test purposes * Clarify some language * Double the default shared-mode mic buffer length * Split getting a device's name into a separate function, then use it * Fix the ALSA mic drivers - To comply with changes I previously made to the mic driver interface * Remove unused synchronization primitives from the SDL microphone driver * Add sdl_microphone_mic_use_float * Document audio_driver_state_flags - I needed to understand these to see if similar flags were required for the mic driver * Remove an unused function in wasapi.c * Add and document flags in microphone_driver.h * Remove driver-specific mic start/stop functions - The mic driver itself doesn't do much processing - That honor goes to individual mics * Remove some unused fields in microphone_driver.h * Add CMD_EVENT_MICROPHONE_STOP/START * Remove unused functions from microphone_null * Change how the mic driver state is referenced in some places * Simplify the SDL microphone driver - The driver backend no longer keeps a reference to the mic (the frontend does that) - Remove functions that are no longer needed - Don't track paused state, just query the mic itself * Simplify the WASAPI microphone driver - Don't track the driver running state or the microphone handle, the frontend does that now - Remove support for unbuffered input (hunterk suggested that it wasn't necessary) * Make microphone_wasapi_sh_buffer_length a uint, not an int - It won't be negative anymore - 0 now represents the default value * Make the microphone frontend more robust - Improve documentation for how various functions should be implemented - Closes all microphones before freeing the driver (so backends don't have to) - Tracks the enabled state of each microphone, so backends don't have to (but they still can) * Stop the mic driver in core_unload_game * Ensure mic support is compatible with the revised menu code * Move alsa.h into audio/common * Remove RETRO_ENVIRONMENT_GET_MICROPHONE_ENABLED - It was never really needed * Refactor the ALSA microphone driver - Move common ALSA functions to audio/common/alsa.c - Replace alsa_set_mic_enabled_internal with alsa_start/stop_pcm - Don't track the microphone handle in the ALSA driver context - Remove unneeded fields * Move some common alsathread code into audio/common/alsathread.c * Change return type of mic_driver_open_mic_internal to bool * First crack at resampling mic input * Remove an extraneous check - I think something distracted me when I was writing this line * Add stereo/mono conversion functions * Make alsa_start_pcm and alsa_stop_pcm more robust - They now return success if the stream is already running and stopped, respectively * Revise some mic-related comments in libretro.h * First crack at resampling mic input * Simplify an expression * Simplify an expression * Fix a log tag * Allow mic resampler to be configured separately from audio resampler * Add some comments * Set the source ratio to something sensible * Stop deadlock in `alsathread` mic driver * Allow mics to be initialized even when core is loaded from CLI - When loading content from CLI, the drivers are initialized a little differently - That threw off the mic initialization code * Rename the functions in retro_microphone_interface * Revise some mic-related comments in libretro.h * Update retro_microphone_interface - Add get_mic_rate - Add a parameter to open_mic - The modifications don't do anything yet * Use parameter objects in the microphone handle * Replace get_mic_rate with get_params * Add a microphone interface version * Remove part of a comment * Set the effective params in mic_driver_microphone_handle_init * Drop a stray newline * Change where the mic interface is zeroed - I was accidentally throwing out the version that the core was asking for * Reduce logspam for wasapi_set_nonblock_state - Now it only logs when the sync mode is changed * Change DEFAULT_WASAPI_SH_BUFFER_LENGTH to 0 - -16 is no longer a valid value * Set the new_rate in wasapi_init * Change description of microphone sample rate in the settings * First attempt at resampling configured mic input * Forgot a section * Fix some input samples being skipped * Rename a variable for clarity * Add microphone.outgoing_samples * Update the mic driver - Processed samples are now buffered - The resampler is skipped if the ratio is (very close to) 1 * Remove part of a comment * Update some comments in audio_resampler.h * Slightly refactor the SDL microphone driver - Move SDL_AudioSpec to a field of sdl_microphone_handle_t - Allow SDL to change the requested format and sample rate - Request floating-point input - Implement sdl_microphone_mic_use_float * Fix a non-C89-compliant declaration * Add new files to griffin.c * Remove a C++-style comment * Add two more files to griffin.c * Remove some unneeded declarations in microphone_driver.h * Remove a stray comma in configuration.c - For C89 compliance * Fix compilation on some platforms * Change some function signatures * Make the ALSA drivers always set the audio rate * Fix the alsathread mic driver * Make state_manager_frame_is_reversed return false if HAVE_REWIND isn't defined * Mute the microphone if the core is running in fast-forward, slow-mo, or rewind * Clarify a comment * Clarify a comment * Add a comment * Don't allocate memory for slowmo samples in the mic driver - We're not supporting slowmo for mics, so it's not needed * Fix a { * Add my name to AUTHORS.h * Add driver_lifetime_flags - For drivers that have special setup/teardown needs * Ensure that resetting the mic driver maintains active mic handles - Prevents fullscreen toggle from stopping all mic input * Update CHANGES.md * Move some default microphone settings to a new part of the config file * Ensure that RetroArch can use the audio format that Windows suggests * Remove references to mic support in the SDL audio driver * Remove unused WASAPI functions * Return failure if RetroArch couldn't select a WASAPI format * Ensure that Windows uses the WASAPI mic driver by default * Treat disabled mic support as a warning, not an error * Clarify some WASAPI-related microphone settings * Remove some unused variables * Add or revise microphone-related comments * Rearrange doc comments for microphone types in libretro.h * Remove a space * Remove some unused flags * Remove ALSA error logger - It was never used anyway * Remove unneeded microphone-related arguments * Document a parameter * Remove a logging call * Add a constant for the microphone's shared buffer length for WASAPI * Fix stylistic inconsistencies * Make mic_driver_get_sample_size a macro instead of a function * Move the microphone implementation to the audio directory * Make microphone support optional (but enabled by default) * Fix the griffin build
2023-06-06 19:55:06 +00:00
#ifdef HAVE_MICROPHONE
/* Microphone */
MENU_LABEL(MICROPHONE_ENABLE),
MENU_LABEL(MICROPHONE_INPUT_RATE),
MENU_LABEL(MICROPHONE_LATENCY),
MENU_LABEL(MICROPHONE_RESAMPLER_QUALITY),
MENU_LBL_H(MICROPHONE_DEVICE),
MENU_ENUM_LABEL_MICROPHONE_DEVICE_LIST,
MENU_LABEL(MICROPHONE_BLOCK_FRAMES),
MENU_LABEL(MICROPHONE_WASAPI_EXCLUSIVE_MODE),
MENU_LABEL(MICROPHONE_WASAPI_FLOAT_FORMAT),
MENU_LABEL(MICROPHONE_WASAPI_SH_BUFFER_LENGTH),
#endif
2016-11-22 12:29:27 +00:00
MENU_LABEL(SAVE_STATE),
MENU_LABEL(LOAD_STATE),
MENU_LABEL(UNDO_LOAD_STATE),
MENU_LABEL(UNDO_SAVE_STATE),
2016-11-21 06:40:54 +00:00
MENU_LABEL(PLAY_REPLAY),
MENU_LABEL(RECORD_REPLAY),
MENU_LABEL(HALT_REPLAY),
MENU_LABEL(REPLAY_SLOT),
MENU_LABEL(NETPLAY_GAME_WATCH),
2016-11-25 23:31:29 +00:00
MENU_LABEL(CHEAT_INDEX_MINUS),
MENU_LABEL(CHEAT_INDEX_PLUS),
MENU_LABEL(SHADER_NEXT),
MENU_LABEL(SHADER_PREV),
MENU_LABEL(SHADER_TOGGLE),
2016-11-25 23:31:29 +00:00
MENU_LABEL(FRAME_ADVANCE),
2016-11-22 08:25:57 +00:00
MENU_LABEL(FPS_SHOW),
MENU_LABEL(FPS_UPDATE_INTERVAL),
MENU_LABEL(MEMORY_SHOW),
MENU_LABEL(MEMORY_UPDATE_INTERVAL),
MENU_LABEL(STATISTICS_SHOW),
MENU_LABEL(FRAMECOUNT_SHOW),
MENU_ENUM_LABEL_L_X_PLUS,
MENU_ENUM_LABEL_L_X_MINUS,
MENU_ENUM_LABEL_L_Y_PLUS,
MENU_ENUM_LABEL_L_Y_MINUS,
MENU_ENUM_LABEL_R_X_PLUS,
MENU_ENUM_LABEL_R_X_MINUS,
MENU_ENUM_LABEL_R_Y_MINUS,
MENU_ENUM_LABEL_R_Y_PLUS,
2016-11-22 12:59:06 +00:00
MENU_LABEL(BLOCK_SRAM_OVERWRITE),
MENU_LABEL(GAME_SPECIFIC_OPTIONS),
MENU_LABEL(CORE_OPTION_OVERRIDE_LIST),
MENU_LABEL(GAME_SPECIFIC_CORE_OPTIONS_CREATE),
MENU_LABEL(GAME_SPECIFIC_CORE_OPTIONS_REMOVE),
MENU_LABEL(FOLDER_SPECIFIC_CORE_OPTIONS_CREATE),
MENU_LABEL(FOLDER_SPECIFIC_CORE_OPTIONS_REMOVE),
MENU_LABEL(CORE_OPTION_OVERRIDE_INFO),
MENU_LABEL(CORE_OPTIONS_RESET),
MENU_LABEL(CORE_OPTIONS_FLUSH),
/* Legacy (unused)
* > Cannot remove these because they are
* referenced in the translation files,
* which are handled via Crowdin */
2016-11-22 12:59:06 +00:00
MENU_LABEL(GAME_SPECIFIC_OPTIONS_CREATE),
MENU_LABEL(GAME_SPECIFIC_OPTIONS_IN_USE),
2016-11-22 12:59:06 +00:00
MENU_LABEL(AUTO_OVERRIDES_ENABLE),
MENU_LABEL(AUTO_REMAPS_ENABLE),
MENU_LABEL(INITIAL_DISK_CHANGE_ENABLE),
MENU_LABEL(GLOBAL_CORE_OPTIONS),
2016-11-22 12:59:06 +00:00
MENU_LABEL(AUTO_SHADERS_ENABLE),
MENU_LABEL(RGUI_SHOW_START_SCREEN),
2016-11-25 23:31:29 +00:00
MENU_LABEL(SCREENSHOT),
MENU_LABEL(REWIND),
2016-11-22 12:59:06 +00:00
MENU_LABEL(REWIND_GRANULARITY),
MENU_LABEL(REWIND_BUFFER_SIZE),
MENU_LABEL(REWIND_BUFFER_SIZE_STEP),
/* TODO/FIXME: INPUT_META_REWIND is incorrectly defined;
* the LABEL/SUBLABEL enums should be entered 'manually',
* like all the other hotkeys. Moreover, the resultant
* MENU_ENUM_SUBLABEL_INPUT_META_REWIND enum is incorrectly
* used for the MENU_ENUM_LABEL_REWIND_SETTINGS menu entry.
* Because of this mistake, we now have improper entries
* in all the translation files, which cannot easily be removed
* now that everything is handled via Crowdin.
* To work around this error, we have to use a separate
* MENU_ENUM_SUBLABEL_INPUT_META_REWIND_HOTKEY enum
* for the actual rewind hotkey sublabel... */
2017-02-02 08:01:58 +00:00
MENU_LABEL(INPUT_META_REWIND),
MENU_LABEL(INPUT_META_CHEAT_DETAILS),
MENU_LABEL(INPUT_META_CHEAT_SEARCH),
MENU_LABEL(CHEAT_IDX),
MENU_LABEL(CHEAT_DESC),
MENU_LABEL(CHEAT_STATE),
MENU_LABEL(CHEAT_CODE),
MENU_LABEL(CHEAT_HANDLER),
MENU_LABEL(CHEAT_MEMORY_SEARCH_SIZE),
MENU_LABEL(CHEAT_TYPE),
MENU_LABEL(CHEAT_VALUE),
MENU_LABEL(CHEAT_ADDRESS),
MENU_LABEL(CHEAT_ADDRESS_BIT_POSITION),
MENU_LABEL(CHEAT_REPEAT_COUNT),
MENU_LABEL(CHEAT_REPEAT_ADD_TO_VALUE),
MENU_LABEL(CHEAT_REPEAT_ADD_TO_ADDRESS),
MENU_LABEL(CHEAT_RUMBLE_TYPE),
MENU_LABEL(CHEAT_RUMBLE_VALUE),
MENU_LABEL(CHEAT_RUMBLE_PORT),
MENU_LABEL(CHEAT_RUMBLE_PRIMARY_STRENGTH),
MENU_LABEL(CHEAT_RUMBLE_PRIMARY_DURATION),
MENU_LABEL(CHEAT_RUMBLE_SECONDARY_STRENGTH),
MENU_LABEL(CHEAT_RUMBLE_SECONDARY_DURATION),
MENU_LABEL(CHEAT_ADD_NEW_AFTER),
MENU_LABEL(CHEAT_ADD_NEW_BEFORE),
MENU_LABEL(CHEAT_COPY_AFTER),
MENU_LABEL(CHEAT_COPY_BEFORE),
MENU_LABEL(CHEAT_DELETE),
MENU_LBL_H(CHEAT_START_OR_CONT),
MENU_LABEL(CHEAT_START_OR_RESTART),
MENU_LABEL(CHEAT_SEARCH_EXACT),
MENU_LABEL(CHEAT_SEARCH_LT),
MENU_LABEL(CHEAT_SEARCH_GT),
MENU_LABEL(CHEAT_SEARCH_LTE),
MENU_LABEL(CHEAT_SEARCH_GTE),
MENU_LABEL(CHEAT_SEARCH_EQ),
MENU_LABEL(CHEAT_SEARCH_NEQ),
MENU_LABEL(CHEAT_SEARCH_EQPLUS),
MENU_LABEL(CHEAT_SEARCH_EQMINUS),
MENU_LABEL(CHEAT_ADD_MATCHES),
MENU_LABEL(CHEAT_CREATE_OPTION),
MENU_LABEL(CHEAT_DELETE_OPTION),
MENU_LABEL(CHEAT_ADD_NEW_TOP),
MENU_LABEL(CHEAT_ADD_NEW_BOTTOM),
MENU_LABEL(CHEAT_DELETE_ALL),
MENU_LABEL(CHEAT_RELOAD_CHEATS),
MENU_LABEL(CHEAT_BIG_ENDIAN),
MENU_LABEL(CHEAT_MATCH_IDX),
MENU_LABEL(CHEAT_MATCH),
MENU_LABEL(CHEAT_BROWSE_MEMORY),
MENU_LABEL(CHEAT_COPY_MATCH),
MENU_LABEL(CHEAT_DELETE_MATCH),
2016-11-22 12:59:06 +00:00
MENU_LABEL(SCREEN_RESOLUTION),
MSG_SCREEN_RESOLUTION_FORMAT_NO_DESC,
MSG_SCREEN_RESOLUTION_FORMAT_DESC,
MSG_SCREEN_RESOLUTION_DEFAULT,
MSG_SCREEN_RESOLUTION_NO_DESC,
MSG_SCREEN_RESOLUTION_DESC,
MSG_SCREEN_RESOLUTION_APPLYING_DEFAULT,
MSG_SCREEN_RESOLUTION_APPLYING_NO_DESC,
MSG_SCREEN_RESOLUTION_APPLYING_DESC,
MSG_SCREEN_RESOLUTION_RESETTING_DEFAULT,
MSG_SCREEN_RESOLUTION_RESETTING_NO_DESC,
MSG_SCREEN_RESOLUTION_RESETTING_DESC,
2016-11-22 10:14:29 +00:00
MENU_LABEL(SAVESTATE_AUTO_INDEX),
MENU_LABEL(SAVESTATE_MAX_KEEP),
MENU_LABEL(REPLAY_AUTO_INDEX),
MENU_LABEL(REPLAY_MAX_KEEP),
2016-11-22 10:14:29 +00:00
MENU_LABEL(SAVESTATE_AUTO_SAVE),
MENU_LABEL(SAVESTATE_AUTO_LOAD),
MENU_LABEL(SAVESTATE_THUMBNAIL_ENABLE),
MENU_LABEL(SAVE_FILE_COMPRESSION),
2020-04-15 14:48:41 +00:00
MENU_LABEL(SAVESTATE_FILE_COMPRESSION),
2016-11-21 19:32:15 +00:00
MENU_LBL_H(SUSPEND_SCREENSAVER_ENABLE),
MENU_ENUM_LABEL_VOLUME_UP,
MENU_ENUM_LABEL_VOLUME_DOWN,
2016-11-21 19:32:15 +00:00
2016-11-22 08:25:57 +00:00
MENU_LABEL(LOG_VERBOSITY),
MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY_DEBUG,
MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY_INFO,
MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY_WARNING,
MENU_ENUM_LABEL_VALUE_LOG_VERBOSITY_ERROR,
2019-03-21 16:56:24 +00:00
MENU_LABEL(LOG_TO_FILE),
MENU_LABEL(LOG_TO_FILE_TIMESTAMP),
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_OVERLAY_NEXT,
2016-11-21 19:32:15 +00:00
2016-11-22 12:59:06 +00:00
MENU_LABEL(NETPLAY_ENABLE),
#ifdef HAVE_LAKKA
2016-11-22 08:25:57 +00:00
MENU_LABEL(SSH_ENABLE),
MENU_LABEL(SAMBA_ENABLE),
MENU_LABEL(BLUETOOTH_ENABLE),
MENU_LABEL(LOCALAP_ENABLE),
MENU_LBL_H(TIMEZONE),
#endif
#ifdef HAVE_LAKKA_SWITCH
MENU_LABEL(SWITCH_OC_ENABLE),
MENU_LABEL(SWITCH_CEC_ENABLE),
MENU_LABEL(BLUETOOTH_ERTM_DISABLE),
#endif
MENU_LABEL(NETPLAY_DELAY_FRAMES), /* deprecated */
MENU_LABEL(NETPLAY_PUBLIC_ANNOUNCE),
MENU_LBL_H(NETPLAY_START_AS_SPECTATOR),
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_LABEL(NETPLAY_FADE_CHAT),
MENU_LABEL(NETPLAY_CHAT_COLOR_NAME),
MENU_LABEL(NETPLAY_CHAT_COLOR_MSG),
MENU_LABEL(NETPLAY_ALLOW_PAUSING),
MENU_LABEL(NETPLAY_ALLOW_SLAVES),
MENU_LABEL(NETPLAY_REQUIRE_SLAVES),
MENU_LBL_H(NETPLAY_CHECK_FRAMES),
MENU_LBL_H(NETPLAY_INPUT_LATENCY_FRAMES_MIN),
MENU_LBL_H(NETPLAY_INPUT_LATENCY_FRAMES_RANGE),
MENU_LABEL(NETPLAY_SPECTATOR_MODE_ENABLE), /* deprecated */
2016-11-22 12:59:06 +00:00
MENU_LABEL(NETPLAY_TCP_UDP_PORT),
MENU_LABEL(NETPLAY_MAX_CONNECTIONS),
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_LABEL(NETPLAY_MAX_PING),
MENU_LABEL(NETPLAY_NAT_TRAVERSAL),
MENU_LABEL(NETPLAY_REQUEST_DEVICE_I),
Netplay Stuff (#13375) * Netplay Stuff ## PROTOCOL FALLBACK In order to support older clients a protocol fallback system was introduced. The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on. Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on. To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host. Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host. ## NETPLAY CHAT Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command. Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5. Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected. Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages. As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback. If a new overlay and/or input system is desired, no backwards compatibility changes need to be made. Only clients in playing mode (as opposed to spectating mode) can send and receive chat. ## SETTINGS SHARING Some settings are better used when both host and clients share the same configuration. As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing. ## NETPLAY TUNNEL/MITM With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system. This new system uses a tunneling approach, which is similar to most VPN and tunneling services around. Tunnel commands: RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host. RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client. RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive. Operations: Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server. Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server. Improvements (from current MITM system): No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server. Very little cpu usage. About 95% net I/O bound now. Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers. No longer operates the host in client mode, which was a source of many of the current problems. Cleaner and more maintainable system and code. Notable functions: netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server. init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client. handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance). ## MISC Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake. Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host. LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button. ## FIXES Many minor fixes to the current netplay implementation are also included. * Remove NETPLAY_TEST_BUILD
2021-12-19 15:58:01 +00:00
MENU_LABEL(NETPLAY_PING_SHOW),
MENU_ENUM_LABEL_NETPLAY_REQUEST_DEVICE_1,
MENU_ENUM_LABEL_NETPLAY_REQUEST_DEVICE_LAST = MENU_ENUM_LABEL_NETPLAY_REQUEST_DEVICE_1 + MAX_USERS,
2017-09-11 02:49:25 +00:00
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_NONE,
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_NO_PREFERENCE,
MENU_LABEL(NETPLAY_SHARE_DIGITAL),
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_DIGITAL_OR,
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_DIGITAL_XOR,
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_DIGITAL_VOTE,
MENU_LABEL(NETPLAY_SHARE_ANALOG),
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_ANALOG_MAX,
MENU_ENUM_LABEL_VALUE_NETPLAY_SHARE_ANALOG_AVERAGE,
2016-11-22 12:59:06 +00:00
MENU_LABEL(SORT_SAVEFILES_ENABLE),
MENU_LABEL(SORT_SAVESTATES_ENABLE),
MENU_LABEL(SORT_SAVEFILES_BY_CONTENT_ENABLE),
MENU_LABEL(SORT_SAVESTATES_BY_CONTENT_ENABLE),
2017-08-05 18:14:26 +00:00
MENU_LABEL(SAVEFILES_IN_CONTENT_DIR_ENABLE),
MENU_LABEL(SAVESTATES_IN_CONTENT_DIR_ENABLE),
MENU_LABEL(SYSTEMFILES_IN_CONTENT_DIR_ENABLE),
MENU_LABEL(SCREENSHOTS_IN_CONTENT_DIR_ENABLE),
MENU_LABEL(SORT_SCREENSHOTS_BY_CONTENT_ENABLE),
2016-11-22 12:59:06 +00:00
MENU_LABEL(NETPLAY_IP_ADDRESS),
2016-12-14 03:03:10 +00:00
MENU_LABEL(NETPLAY_PASSWORD),
2016-12-15 03:25:46 +00:00
MENU_LABEL(NETPLAY_SPECTATE_PASSWORD),
MENU_LABEL(NETPLAY_MODE), /* deprecated */
2016-11-22 10:14:29 +00:00
MENU_LABEL(PERFCNT_ENABLE),
2020-09-08 12:36:45 +00:00
MENU_LABEL(OVERLAY_SCALE_LANDSCAPE),
MENU_LABEL(OVERLAY_ASPECT_ADJUST_LANDSCAPE),
MENU_LABEL(OVERLAY_X_SEPARATION_LANDSCAPE),
MENU_LABEL(OVERLAY_Y_SEPARATION_LANDSCAPE),
MENU_LABEL(OVERLAY_X_OFFSET_LANDSCAPE),
MENU_LABEL(OVERLAY_Y_OFFSET_LANDSCAPE),
MENU_LABEL(OVERLAY_SCALE_PORTRAIT),
MENU_LABEL(OVERLAY_ASPECT_ADJUST_PORTRAIT),
MENU_LABEL(OVERLAY_X_SEPARATION_PORTRAIT),
MENU_LABEL(OVERLAY_Y_SEPARATION_PORTRAIT),
2020-09-08 12:36:45 +00:00
MENU_LABEL(OVERLAY_X_OFFSET_PORTRAIT),
MENU_LABEL(OVERLAY_Y_OFFSET_PORTRAIT),
MENU_LABEL(OVERLAY_PRESET),
MENU_LABEL(OSK_OVERLAY_PRESET),
2020-09-08 12:36:45 +00:00
MENU_LABEL(OVERLAY_OPACITY),
MENU_LABEL(OSK_OVERLAY_OPACITY),
2020-09-08 12:36:45 +00:00
/* TODO/FIXME: These legacy enums are no longer
* required, but we cannot delete them until the
* corresponding translation file entries have
* been removed via Crowdin... */
2016-11-22 10:14:29 +00:00
MENU_LABEL(OVERLAY_SCALE),
MENU_LABEL(OVERLAY_CENTER_X),
MENU_LABEL(OVERLAY_CENTER_Y),
2016-11-22 10:14:29 +00:00
MENU_LBL_H(FASTFORWARD_RATIO),
MENU_LABEL(FASTFORWARD_FRAMESKIP),
MENU_LBL_H(VRR_RUNLOOP_ENABLE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(REWIND_ENABLE),
MENU_LABEL(CHEAT_APPLY_AFTER_TOGGLE),
MENU_LABEL(CHEAT_APPLY_AFTER_LOAD),
2016-11-22 10:14:29 +00:00
MENU_ENUM_LABEL_ENABLE_HOTKEY,
MENU_ENUM_LABEL_HELP_ENABLE_HOTKEY,
MENU_ENUM_LABEL_DISK_EJECT_TOGGLE,
MENU_ENUM_LABEL_DISK_NEXT,
MENU_ENUM_LABEL_GRAB_MOUSE_TOGGLE,
MENU_ENUM_LABEL_GAME_FOCUS_TOGGLE,
2016-11-22 10:14:29 +00:00
MENU_LABEL(STATE_SLOT_DECREASE),
MENU_LABEL(STATE_SLOT_INCREASE),
MENU_LABEL(REPLAY_SLOT_DECREASE),
MENU_LABEL(REPLAY_SLOT_INCREASE),
2016-11-21 19:32:15 +00:00
2019-08-19 23:18:26 +00:00
MENU_LABEL(FRONTEND_LOG_LEVEL),
MENU_LBL_H(LIBRETRO_LOG_LEVEL),
MENU_LBL_H(AUTOSAVE_INTERVAL),
MENU_LBL_H(REPLAY_CHECKPOINT_INTERVAL),
MENU_LBL_H(CONFIG_SAVE_ON_EXIT),
MENU_LABEL(REMAP_SAVE_ON_EXIT),
2016-12-08 15:44:02 +00:00
MENU_LABEL(CONFIGURATION_LIST),
2016-11-22 10:14:29 +00:00
MENU_LABEL(CONFIRM_ON_EXIT),
2016-11-22 08:25:57 +00:00
MENU_LABEL(SHOW_HIDDEN_FILES),
MENU_LABEL(USE_LAST_START_DIRECTORY),
/* Driver settings */
2016-11-22 10:14:29 +00:00
MENU_LABEL(AUDIO_DRIVER),
MENU_LABEL(JOYPAD_DRIVER),
MENU_LABEL(MENU_DRIVER),
MENU_LABEL(LOCATION_DRIVER),
MENU_LABEL(CAMERA_DRIVER),
2020-06-17 11:56:44 +00:00
MENU_LABEL(BLUETOOTH_DRIVER),
2016-11-22 10:14:29 +00:00
MENU_LABEL(WIFI_DRIVER),
MENU_LABEL(AUDIO_RESAMPLER_DRIVER),
Add microphone support via a new driver (#14731) * Some slight fixes * Update libretro.h * Log calls to RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE * Finish proof-of-concept for mic support - It works, but doesn't support floating-point audio yet - It may need to be resampled, too * Add macros that aren't available in SDL 2 * Comment out a variable definition for now - For C89 compliance * Add some comments for clarity * Let ALSA tolerate a null new_rate * Partial ALSA microphone support - Not yet tested - Mic is created and destroyed - Mic can also be paused or unpaused - Mic is paused or unpaused with the rest of the driver - Microphone is not yet read * Install error logging in the ALSA driver - It defers to RARCH_ERR * Free the ALSA microphone in alsa_free * Fix an indent * First draft of alsa_read_microphone * Deinitialize SDL Audio in sdl_audio_free * Save and restore the ALSA error logger - You should always practice safe global state * Add newlines to some RARCH_ERRs * Add some logging * Check for the mic being active via settings instead of via flags * Adjusted a log entry to be less misleading - A frequency of 0Hz looks weird to the uninformed - In reality, it means the driver used the requested frequency * Fix an incorrect format string * Tidy up logging in alsa.c * Rename audio_enable_microphone to audio_enable_input * Rename microphone_device to audio_input_device * Add audio_input_latency and audio_input_block_frames settings * Add all mic-related settings to the options menu * Adjust logging for alsa.c - Log the ALSA library version - Add errno details * Refer to the microphone in logs by name * Use %u instead of %d for some log items * Add input_samples_buf * Remove an inaccurate comment * Change type of input_samples_buf * Clean up audio_driver_flush_microphone_input * Comment convert_float_to_s16 - It helped me understand what it's doing - Turns out it'll work just fine on mono audio * Don't use the resampler for mic input * Fix crash in the ALSA driver when reading from a mic * Update some logging messages * ALSA support now works for mics * Reuse some common functions in alsa.c * Add alsa_thread_microphone_t * Refactor alsa.c - Introduce alsa_init_pcm to init any PCM that we're using - Vastly simplifies the implementation of alsa_init and alsa_init_microphone - Will be used for the read-based versions next * Make ALSA logging a little more consistent * Clean up the mic with alsa_free_microphone if alsa_init_microphone fails * Remove an unused function * Move some cleanup in alsa.c to a common function * First crack at mic support for alsathread - Refactor some duplicate code into functions - Use functions introduced in alsa.c - Create and destroy the mic * Slight cleanups for clarity * Implement alsa_thread_set/get_microphone_state * More work on alsathread - No more crashing, but the mic just returns silence * Slight cleanups for clarity * Add alsa_set_mic_enabled_internal - For setting the state of a microphone while considering its current state * Use alsa_set_mic_enabled_internal * Log a little more info * Log when the audio driver is started/stopped * Move base microphone driver code into a new directory - Add microphone_driver.c to Makefile.common - Rename functions as needed * Initialize and deinitialize the microphone driver * Implement sdl_microphone.c * Un-const an argument - In case the driver context needs to do any locking * Revise comments for microphone_driver.h * Remove an unimplemented function * Remove some functions from the mic driver * Remove mic functions from audio_thread_wrapper * Remove mic functions from sdl_audio * Fix microphone_null * Split the mic code for the alsa audio drivers into microphone drivers * Fix an extra struct member * Add a setting for the mic driver * Add a command to reinitialize the microphone driver * Rename mic-related settings * Add DRIVER_MICROPHONE_MASK to DRIVERS_CMD_ALL * Rename audio_enable_input to microphone_enable * Remove some labels from qt_options * Search for microphone_driver within find_driver_nonempty * Clean up some mic driver code * Pending mics now return silence * Adjust some logging and comments * Some cleanup in the microphone driver * Invert a flag check - Oops * Fix a log message * Fix the wrong flags being checked * Slight refactor of wasapi_init_device - Add a data_flow parameter - Declare it in a header - In preparation for WASAPI mic support * Add some WASAPI macros for _IAudioCaptureClient * Move some common WASAPI functions to audio/common/wasapi.c - They'll be used by the mic and the audio drivers * Add wasapi_log_hr * Generalize mmdevice_list_new to look for capture devices, too * Fix a function declaration * Move driver-specific device_list_new functions into their respective files * Clean up some declarations * First draft of wasapi microphone driver * Add wasapi_microphone_device_list_free * Change function parameter names to be consistent with microphone_driver * Partially implement wasapi_microphone_read - Mostly copied from the audio driver so far - It doesn't compile yet - But it'll be beautiful when I'm done with it * Refactor the mic driver's functions - Rename get_mic_active to mic_alive - Split set_mic_active into start_mic and stop_mic - Refactor the SDL mic driver accordingly * Edit some WASAPI functions for logging and clarity * Implement more of the WASAPI mic driver * Rename write_event to read_event * Pass the WASAPI driver context to the various read functions * Mostly implement the read function for the WASAPI mic driver * Fix a crash in microphone_driver - Forgot to move the position of the name of null_driver * Reduce some logging in wasapi common functions - Only log the chosen audio client format, not all attempted ones * Add some macro wrappers for IAudioClient methods * Update mic driver configuration - Make the mic driver configurable in the menu - Add config items for WASAPI-related options similar to the audio driver * Fix a menu entry scrolling through audio devices instead of mic devices * Add some utility functions * Expose the new utility functions in wasapi.h * Add extra logging in the WASAPI common functions * Add sharemode_name * Use _IAudioClient_Initialize macro in some places * Pass channels to wasapi_init_client - Remember, mics are in mono * Use _IAudioClient_Initialize macro some more * Forgot to pass channels in some places * Add some utility functions * Forgot an #include * Add wasapi_select_device_format * Simplify the format selection logic in wasapi_init_client_sh * Unset the microphone in wasapi_microphone_close_mic - Ought to prevent a potential segfault * Simplify some logging * Fix incorrect value being passed to _IAudioCaptureClient_ReleaseBuffer * Remove some unneeded logging * Add some values to hresult_name * Polish up wasapi_select_device_format - Test for formats manually when Windows can't - Add some debug logging - Check for channels * Compute the fields of WAVEFORMATEXTENSIBLE correctly - As per the doc's stated requirements * Simplify logic for WASAPI client creation * Fix a potential hang in wasapi_microphone_read_shared_buffered * Stop the microphone if the driver is stopped * Don't name the microphone event * Ensure that wasapi_init_client reports the correct format and rate * Implement exclusive microphone read access for WASAPI * Add _IAudioCaptureClient_GetNextPacketSize macro * Organize cases in hresult_name * Clear some extra fields if wasapi_set_format is setting a Pcm format * Adjust some logs * Adjust some logs * Remove unneeded local vars * Add a log * Update wasapi.c * Update wasapi.c * Fix shared-mode mic support in WASAPI producing broken input - Turns out it had nothing to do with shared mode * Reuse a common function - Remove wasapi_microphone_read_shared_buffered - Rename wasapi_microphone_read_exclusive to wasapi_microphone_read_buffered * Remove some code I was using for test purposes * Clarify some language * Double the default shared-mode mic buffer length * Split getting a device's name into a separate function, then use it * Fix the ALSA mic drivers - To comply with changes I previously made to the mic driver interface * Remove unused synchronization primitives from the SDL microphone driver * Add sdl_microphone_mic_use_float * Document audio_driver_state_flags - I needed to understand these to see if similar flags were required for the mic driver * Remove an unused function in wasapi.c * Add and document flags in microphone_driver.h * Remove driver-specific mic start/stop functions - The mic driver itself doesn't do much processing - That honor goes to individual mics * Remove some unused fields in microphone_driver.h * Add CMD_EVENT_MICROPHONE_STOP/START * Remove unused functions from microphone_null * Change how the mic driver state is referenced in some places * Simplify the SDL microphone driver - The driver backend no longer keeps a reference to the mic (the frontend does that) - Remove functions that are no longer needed - Don't track paused state, just query the mic itself * Simplify the WASAPI microphone driver - Don't track the driver running state or the microphone handle, the frontend does that now - Remove support for unbuffered input (hunterk suggested that it wasn't necessary) * Make microphone_wasapi_sh_buffer_length a uint, not an int - It won't be negative anymore - 0 now represents the default value * Make the microphone frontend more robust - Improve documentation for how various functions should be implemented - Closes all microphones before freeing the driver (so backends don't have to) - Tracks the enabled state of each microphone, so backends don't have to (but they still can) * Stop the mic driver in core_unload_game * Ensure mic support is compatible with the revised menu code * Move alsa.h into audio/common * Remove RETRO_ENVIRONMENT_GET_MICROPHONE_ENABLED - It was never really needed * Refactor the ALSA microphone driver - Move common ALSA functions to audio/common/alsa.c - Replace alsa_set_mic_enabled_internal with alsa_start/stop_pcm - Don't track the microphone handle in the ALSA driver context - Remove unneeded fields * Move some common alsathread code into audio/common/alsathread.c * Change return type of mic_driver_open_mic_internal to bool * First crack at resampling mic input * Remove an extraneous check - I think something distracted me when I was writing this line * Add stereo/mono conversion functions * Make alsa_start_pcm and alsa_stop_pcm more robust - They now return success if the stream is already running and stopped, respectively * Revise some mic-related comments in libretro.h * First crack at resampling mic input * Simplify an expression * Simplify an expression * Fix a log tag * Allow mic resampler to be configured separately from audio resampler * Add some comments * Set the source ratio to something sensible * Stop deadlock in `alsathread` mic driver * Allow mics to be initialized even when core is loaded from CLI - When loading content from CLI, the drivers are initialized a little differently - That threw off the mic initialization code * Rename the functions in retro_microphone_interface * Revise some mic-related comments in libretro.h * Update retro_microphone_interface - Add get_mic_rate - Add a parameter to open_mic - The modifications don't do anything yet * Use parameter objects in the microphone handle * Replace get_mic_rate with get_params * Add a microphone interface version * Remove part of a comment * Set the effective params in mic_driver_microphone_handle_init * Drop a stray newline * Change where the mic interface is zeroed - I was accidentally throwing out the version that the core was asking for * Reduce logspam for wasapi_set_nonblock_state - Now it only logs when the sync mode is changed * Change DEFAULT_WASAPI_SH_BUFFER_LENGTH to 0 - -16 is no longer a valid value * Set the new_rate in wasapi_init * Change description of microphone sample rate in the settings * First attempt at resampling configured mic input * Forgot a section * Fix some input samples being skipped * Rename a variable for clarity * Add microphone.outgoing_samples * Update the mic driver - Processed samples are now buffered - The resampler is skipped if the ratio is (very close to) 1 * Remove part of a comment * Update some comments in audio_resampler.h * Slightly refactor the SDL microphone driver - Move SDL_AudioSpec to a field of sdl_microphone_handle_t - Allow SDL to change the requested format and sample rate - Request floating-point input - Implement sdl_microphone_mic_use_float * Fix a non-C89-compliant declaration * Add new files to griffin.c * Remove a C++-style comment * Add two more files to griffin.c * Remove some unneeded declarations in microphone_driver.h * Remove a stray comma in configuration.c - For C89 compliance * Fix compilation on some platforms * Change some function signatures * Make the ALSA drivers always set the audio rate * Fix the alsathread mic driver * Make state_manager_frame_is_reversed return false if HAVE_REWIND isn't defined * Mute the microphone if the core is running in fast-forward, slow-mo, or rewind * Clarify a comment * Clarify a comment * Add a comment * Don't allocate memory for slowmo samples in the mic driver - We're not supporting slowmo for mics, so it's not needed * Fix a { * Add my name to AUTHORS.h * Add driver_lifetime_flags - For drivers that have special setup/teardown needs * Ensure that resetting the mic driver maintains active mic handles - Prevents fullscreen toggle from stopping all mic input * Update CHANGES.md * Move some default microphone settings to a new part of the config file * Ensure that RetroArch can use the audio format that Windows suggests * Remove references to mic support in the SDL audio driver * Remove unused WASAPI functions * Return failure if RetroArch couldn't select a WASAPI format * Ensure that Windows uses the WASAPI mic driver by default * Treat disabled mic support as a warning, not an error * Clarify some WASAPI-related microphone settings * Remove some unused variables * Add or revise microphone-related comments * Rearrange doc comments for microphone types in libretro.h * Remove a space * Remove some unused flags * Remove ALSA error logger - It was never used anyway * Remove unneeded microphone-related arguments * Document a parameter * Remove a logging call * Add a constant for the microphone's shared buffer length for WASAPI * Fix stylistic inconsistencies * Make mic_driver_get_sample_size a macro instead of a function * Move the microphone implementation to the audio directory * Make microphone support optional (but enabled by default) * Fix the griffin build
2023-06-06 19:55:06 +00:00
#ifdef HAVE_MICROPHONE
MENU_LABEL(MICROPHONE_DRIVER),
MENU_LABEL(MICROPHONE_RESAMPLER_DRIVER),
#endif
2016-11-22 10:14:29 +00:00
MENU_LABEL(RECORD_DRIVER),
MENU_LABEL(VIDEO_DRIVER),
MENU_LABEL(INPUT_DRIVER),
2018-06-04 05:48:08 +00:00
MENU_LABEL(MIDI_DRIVER),
MENU_ENUM_LABEL_AUDIO_DRIVER_RSOUND,
MENU_ENUM_LABEL_AUDIO_DRIVER_AUDIOIO,
MENU_ENUM_LABEL_AUDIO_DRIVER_OSS,
MENU_ENUM_LABEL_AUDIO_DRIVER_ALSA,
MENU_ENUM_LABEL_AUDIO_DRIVER_ALSATHREAD,
MENU_ENUM_LABEL_AUDIO_DRIVER_TINYALSA,
MENU_ENUM_LABEL_AUDIO_DRIVER_ROAR,
MENU_ENUM_LABEL_AUDIO_DRIVER_COREAUDIO,
MENU_ENUM_LABEL_AUDIO_DRIVER_COREAUDIO3,
MENU_ENUM_LABEL_AUDIO_DRIVER_AL,
MENU_ENUM_LABEL_AUDIO_DRIVER_SL,
MENU_ENUM_LABEL_AUDIO_DRIVER_SDL,
MENU_ENUM_LABEL_AUDIO_DRIVER_SDL2,
MENU_ENUM_LABEL_AUDIO_DRIVER_DSOUND,
MENU_ENUM_LABEL_AUDIO_DRIVER_WASAPI,
MENU_ENUM_LABEL_AUDIO_DRIVER_XAUDIO,
MENU_ENUM_LABEL_AUDIO_DRIVER_PULSE,
MENU_ENUM_LABEL_AUDIO_DRIVER_EXT,
MENU_ENUM_LABEL_AUDIO_DRIVER_XENON360,
MENU_ENUM_LABEL_AUDIO_DRIVER_PS3,
MENU_ENUM_LABEL_AUDIO_DRIVER_WII,
MENU_ENUM_LABEL_AUDIO_DRIVER_WIIU,
MENU_ENUM_LABEL_AUDIO_DRIVER_PSP,
MENU_ENUM_LABEL_AUDIO_DRIVER_PS2,
MENU_ENUM_LABEL_AUDIO_DRIVER_CTR,
MENU_ENUM_LABEL_AUDIO_DRIVER_SWITCH,
MENU_ENUM_LABEL_AUDIO_DRIVER_RWEBAUDIO,
MENU_ENUM_LABEL_AUDIO_DRIVER_JACK,
MENU_ENUM_LABEL_AUDIO_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_RSOUND,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_AUDIOIO,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_OSS,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_ALSA,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_ALSATHREAD,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_TINYALSA,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_ROAR,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_COREAUDIO,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_COREAUDIO3,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_AL,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_SL,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_SDL,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_SDL2,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_DSOUND,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_WASAPI,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_XAUDIO,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_PULSE,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_EXT,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_XENON360,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_PS3,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_WII,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_WIIU,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_PSP,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_PS2,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_CTR,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_SWITCH,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_RWEBAUDIO,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_JACK,
MENU_ENUM_LABEL_HELP_AUDIO_DRIVER_NULL,
MENU_ENUM_LABEL_VIDEO_DRIVER_GL,
MENU_ENUM_LABEL_VIDEO_DRIVER_GL1,
MENU_ENUM_LABEL_VIDEO_DRIVER_GL_CORE,
MENU_ENUM_LABEL_VIDEO_DRIVER_VULKAN,
MENU_ENUM_LABEL_VIDEO_DRIVER_METAL,
MENU_ENUM_LABEL_VIDEO_DRIVER_DRM,
MENU_ENUM_LABEL_VIDEO_DRIVER_WII,
MENU_ENUM_LABEL_VIDEO_DRIVER_WIIU,
MENU_ENUM_LABEL_VIDEO_DRIVER_XENON360,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D8,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D9_CG,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D9_HLSL,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D10,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D11,
MENU_ENUM_LABEL_VIDEO_DRIVER_D3D12,
MENU_ENUM_LABEL_VIDEO_DRIVER_PSP1,
MENU_ENUM_LABEL_VIDEO_DRIVER_PS2,
MENU_ENUM_LABEL_VIDEO_DRIVER_VITA2D,
MENU_ENUM_LABEL_VIDEO_DRIVER_CTR,
MENU_ENUM_LABEL_VIDEO_DRIVER_SWITCH,
MENU_ENUM_LABEL_VIDEO_DRIVER_XVIDEO,
MENU_ENUM_LABEL_VIDEO_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_VIDEO_DRIVER_SDL_RS90,
MENU_ENUM_LABEL_VIDEO_DRIVER_SDL1,
MENU_ENUM_LABEL_VIDEO_DRIVER_SDL2,
MENU_ENUM_LABEL_VIDEO_DRIVER_EXT,
MENU_ENUM_LABEL_VIDEO_DRIVER_VG,
MENU_ENUM_LABEL_VIDEO_DRIVER_OMAP,
MENU_ENUM_LABEL_VIDEO_DRIVER_EXYNOS,
MENU_ENUM_LABEL_VIDEO_DRIVER_DISPMANX,
MENU_ENUM_LABEL_VIDEO_DRIVER_SUNXI,
MENU_ENUM_LABEL_VIDEO_DRIVER_CACA,
MENU_ENUM_LABEL_VIDEO_DRIVER_GDI,
MENU_ENUM_LABEL_VIDEO_DRIVER_VGA,
MENU_ENUM_LABEL_VIDEO_DRIVER_FPGA,
MENU_ENUM_LABEL_VIDEO_DRIVER_RSX,
MENU_ENUM_LABEL_VIDEO_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_GL,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_GL1,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_GL_CORE,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_VULKAN,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_METAL,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_DRM,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_WII,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_WIIU,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_XENON360,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D8,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D9_CG,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D9_HLSL,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D10,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D11,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_D3D12,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_PSP1,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_PS2,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_VITA2D,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_CTR,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SWITCH,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_XVIDEO,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SDL_DINGUX,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SDL_RS90,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SDL1,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SDL2,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_EXT,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_VG,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_OMAP,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_EXYNOS,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_DISPMANX,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_SUNXI,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_CACA,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_GDI,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_VGA,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_FPGA,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_RSX,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_VIDEO_DRIVER_NO_DETAILS,
2016-11-22 10:14:29 +00:00
MENU_LABEL(MENU_ENUM_DRIVER),
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_SINC,
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_CC,
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_NEAREST,
MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER_NULL,
MENU_ENUM_LABEL_HELP_AUDIO_RESAMPLER_DRIVER_SINC,
MENU_ENUM_LABEL_HELP_AUDIO_RESAMPLER_DRIVER_CC,
MENU_ENUM_LABEL_HELP_AUDIO_RESAMPLER_DRIVER_NEAREST,
MENU_ENUM_LABEL_HELP_AUDIO_RESAMPLER_DRIVER_NULL,
MENU_ENUM_LABEL_MENU_DRIVER_RGUI,
MENU_ENUM_LABEL_MENU_DRIVER_OZONE,
MENU_ENUM_LABEL_MENU_DRIVER_MATERIALUI,
MENU_ENUM_LABEL_MENU_DRIVER_XMB,
MENU_ENUM_LABEL_HELP_MENU_DRIVER_RGUI,
MENU_ENUM_LABEL_HELP_MENU_DRIVER_OZONE,
MENU_ENUM_LABEL_HELP_MENU_DRIVER_MATERIALUI,
MENU_ENUM_LABEL_HELP_MENU_DRIVER_XMB,
MENU_LBL_H(SAVEFILE_DIRECTORY),
2016-11-22 10:14:29 +00:00
MENU_LABEL(SAVESTATE_DIRECTORY),
MENU_LABEL(DYNAMIC_WALLPAPERS_DIRECTORY),
MENU_LABEL(THUMBNAILS_DIRECTORY),
2016-11-22 10:14:29 +00:00
MENU_LABEL(SLOWMOTION_RATIO),
MENU_LABEL(RUN_AHEAD_UNSUPPORTED),
2018-03-28 19:22:07 +00:00
MENU_LABEL(RUN_AHEAD_ENABLED),
MENU_LABEL(RUN_AHEAD_SECONDARY_INSTANCE),
MENU_LABEL(RUN_AHEAD_HIDE_WARNINGS),
2018-03-28 19:22:07 +00:00
MENU_LABEL(RUN_AHEAD_FRAMES),
MENU_LABEL(PREEMPT_UNSUPPORTED),
MENU_LABEL(PREEMPT_ENABLE),
MENU_LABEL(PREEMPT_FRAMES),
MENU_LABEL(PREEMPT_HIDE_WARNINGS),
MENU_LABEL(INPUT_BLOCK_TIMEOUT),
2016-11-25 23:31:29 +00:00
MENU_LABEL(TURBO),
/* Privacy settings */
2016-11-22 08:25:57 +00:00
MENU_LABEL(CAMERA_ALLOW),
2018-05-29 10:18:01 +00:00
MENU_LABEL(DISCORD_ALLOW),
2016-11-22 08:25:57 +00:00
MENU_LABEL(LOCATION_ALLOW),
/* RDB Settings */
2016-11-21 19:32:15 +00:00
2016-11-22 12:59:06 +00:00
MENU_LABEL(RDB_ENTRY_ANALOG),
MENU_LABEL(RDB_ENTRY_SERIAL),
MENU_LABEL(RDB_ENTRY_RUMBLE),
MENU_LABEL(RDB_ENTRY_COOP),
MENU_LABEL(RDB_ENTRY_START_CONTENT),
MENU_LABEL(RDB_ENTRY_DESCRIPTION),
MENU_LABEL(RDB_ENTRY_GENRE),
MENU_LABEL(RDB_ENTRY_ACHIEVEMENTS),
MENU_LABEL(RDB_ENTRY_CATEGORY),
MENU_LABEL(RDB_ENTRY_LANGUAGE),
MENU_LABEL(RDB_ENTRY_REGION),
MENU_LABEL(RDB_ENTRY_CONSOLE_EXCLUSIVE),
MENU_LABEL(RDB_ENTRY_PLATFORM_EXCLUSIVE),
MENU_LABEL(RDB_ENTRY_SCORE),
MENU_LABEL(RDB_ENTRY_MEDIA),
MENU_LABEL(RDB_ENTRY_CONTROLS),
MENU_LABEL(RDB_ENTRY_ARTSTYLE),
MENU_LABEL(RDB_ENTRY_GAMEPLAY),
MENU_LABEL(RDB_ENTRY_NARRATIVE),
MENU_LABEL(RDB_ENTRY_PACING),
MENU_LABEL(RDB_ENTRY_PERSPECTIVE),
MENU_LABEL(RDB_ENTRY_SETTING),
MENU_LABEL(RDB_ENTRY_VISUAL),
MENU_LABEL(RDB_ENTRY_VEHICULAR),
2016-11-22 12:59:06 +00:00
MENU_LABEL(RDB_ENTRY_ENHANCEMENT_HW),
MENU_LABEL(RDB_ENTRY_FRANCHISE),
MENU_LABEL(RDB_ENTRY_ORIGIN),
MENU_LABEL(RDB_ENTRY_DEVELOPER),
MENU_LABEL(RDB_ENTRY_NAME),
MENU_LABEL(RDB_ENTRY_PUBLISHER),
MENU_LABEL(RDB_ENTRY_ESRB_RATING),
MENU_LABEL(RDB_ENTRY_BBFC_RATING),
MENU_LABEL(RDB_ENTRY_ELSPA_RATING),
MENU_LABEL(RDB_ENTRY_PEGI_RATING),
MENU_LABEL(RDB_ENTRY_CERO_RATING),
MENU_LABEL(RDB_ENTRY_EDGE_MAGAZINE_RATING),
MENU_LABEL(RDB_ENTRY_EDGE_MAGAZINE_ISSUE),
MENU_LABEL(RDB_ENTRY_EDGE_MAGAZINE_REVIEW),
MENU_LABEL(RDB_ENTRY_FAMITSU_MAGAZINE_RATING),
MENU_LABEL(RDB_ENTRY_TGDB_RATING),
MENU_LABEL(RDB_ENTRY_RELEASE_MONTH),
MENU_LABEL(RDB_ENTRY_RELEASE_YEAR),
MENU_LABEL(RDB_ENTRY_MAX_USERS),
MENU_LABEL(RDB_ENTRY_SHA1),
MENU_LABEL(RDB_ENTRY_MD5),
MENU_LABEL(RDB_ENTRY_CRC32),
MENU_LABEL(RDB_ENTRY_DETAIL),
/* Explore tab */
MENU_LABEL(EXPLORE_INITIALISING_LIST),
MENU_ENUM_LABEL_VALUE_EXPLORE_CATEGORY_RELEASE_YEAR,
MENU_ENUM_LABEL_VALUE_EXPLORE_CATEGORY_PLAYER_COUNT,
MENU_ENUM_LABEL_VALUE_EXPLORE_CATEGORY_REGION,
MENU_ENUM_LABEL_VALUE_EXPLORE_CATEGORY_TAG,
MENU_ENUM_LABEL_VALUE_EXPLORE_SEARCH_NAME,
MENU_ENUM_LABEL_VALUE_EXPLORE_SHOW_ALL,
MENU_ENUM_LABEL_VALUE_EXPLORE_ADDITIONAL_FILTER,
MENU_ENUM_LABEL_VALUE_EXPLORE_ALL,
MENU_ENUM_LABEL_VALUE_EXPLORE_ADD_ADDITIONAL_FILTER,
2020-08-01 20:09:39 +00:00
MENU_ENUM_LABEL_VALUE_EXPLORE_ITEMS_COUNT,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_DEVELOPER,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_PUBLISHER,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_RELEASE_YEAR,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_PLAYER_COUNT,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_GENRE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_ACHIEVEMENTS,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_CATEGORY,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_LANGUAGE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_CONSOLE_EXCLUSIVE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_PLATFORM_EXCLUSIVE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_RUMBLE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_SCORE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_MEDIA,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_CONTROLS,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_ARTSTYLE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_GAMEPLAY,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_NARRATIVE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_PACING,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_PERSPECTIVE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_SETTING,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_VISUAL,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_VEHICULAR,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_ORIGIN,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_REGION,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_FRANCHISE,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_TAG,
MENU_ENUM_LABEL_VALUE_EXPLORE_BY_SYSTEM_NAME,
MENU_ENUM_LABEL_EXPLORE_RANGE_FILTER,
MENU_ENUM_LABEL_EXPLORE_VIEW,
MENU_ENUM_LABEL_EXPLORE_SAVE_VIEW,
MENU_ENUM_LABEL_EXPLORE_DELETE_VIEW,
MENU_ENUM_LABEL_EXPLORE_NEW_VIEW,
MENU_ENUM_LABEL_EXPLORE_VIEW_EXISTS,
MENU_ENUM_LABEL_EXPLORE_VIEW_SAVED,
MENU_ENUM_LABEL_EXPLORE_VIEW_DELETED,
/* Content information settings */
MENU_LABEL(CONTENT_INFO_LABEL),
MENU_LABEL(CONTENT_INFO_PATH),
MENU_LABEL(CONTENT_INFO_ENTRY_IDX),
MENU_LABEL(CONTENT_INFO_CORE_NAME),
MENU_LABEL(CONTENT_INFO_DATABASE),
MENU_LABEL(CONTENT_INFO_RUNTIME),
MENU_LABEL(CONTENT_INFO_LAST_PLAYED),
MENU_LABEL(CONTENT_INFO_CHEEVOS_HASH),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NO_PLAYLIST_ENTRIES_AVAILABLE),
MENU_ENUM_LABEL_VIDEO_SHADER_DEFAULT_FILTER,
MENU_ENUM_LABEL_VIDEO_SHADER_FILTER_PASS,
MENU_ENUM_LABEL_HELP_VIDEO_SHADER_FILTER_PASS,
MENU_ENUM_LABEL_VIDEO_SHADER_SCALE_PASS,
MENU_ENUM_LABEL_HELP_VIDEO_SHADER_SCALE_PASS,
2016-11-22 12:59:06 +00:00
MENU_LBL_H(VIDEO_SHADER_NUM_PASSES),
2016-11-22 12:59:06 +00:00
MENU_LABEL(CHEAT_NUM_PASSES),
2016-11-25 23:31:29 +00:00
MENU_LABEL(NO_DISK),
MENU_ENUM_LABEL_VALUE_MD5,
MENU_ENUM_LABEL_VALUE_SHA1,
MENU_ENUM_LABEL_VALUE_CRC,
MENU_ENUM_LABEL_VALUE_MORE,
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_TAB),
MENU_LABEL(MUSIC_TAB),
MENU_LABEL(IMAGES_TAB),
MENU_LABEL(HORIZONTAL_MENU),
MENU_LABEL(SETTINGS_TAB),
MENU_LABEL(HISTORY_TAB),
MENU_LABEL(FAVORITES_TAB),
MENU_ENUM_LABEL_EXPLORE_TAB,
MENU_ENUM_LABEL_EXPLORE_ITEM,
MENU_ENUM_LABEL_VALUE_EXPLORE_TAB,
2022-02-22 18:23:48 +00:00
MENU_LABEL(CONTENTLESS_CORES_TAB),
MENU_LABEL(CONTENTLESS_CORE),
2016-11-22 09:45:43 +00:00
MENU_LABEL(ADD_TAB),
MENU_LABEL(NETPLAY_TAB),
2016-11-22 09:45:43 +00:00
MENU_LABEL(PLAYLISTS_TAB),
MENU_LABEL(MAIN_MENU),
2016-11-22 08:25:57 +00:00
MENU_LABEL(INPUT_SETTINGS),
MENU_LABEL(INPUT_MENU_SETTINGS),
2021-03-25 16:45:31 +00:00
MENU_LABEL(INPUT_TURBO_FIRE_SETTINGS),
MENU_LABEL(INPUT_HAPTIC_FEEDBACK_SETTINGS),
MENU_LABEL(ACCESSIBILITY_SETTINGS),
MENU_LABEL(ACCESSIBILITY_ENABLED),
MENU_LABEL(ACCESSIBILITY_NARRATOR_SPEECH_SPEED),
2019-08-21 18:43:32 +00:00
MENU_LABEL(AI_SERVICE_SETTINGS),
2019-08-22 05:07:07 +00:00
MENU_LABEL(AI_SERVICE_MODE),
2019-08-22 17:39:00 +00:00
MENU_LABEL(AI_SERVICE_TARGET_LANG),
MENU_LABEL(AI_SERVICE_SOURCE_LANG),
2019-08-22 05:07:07 +00:00
MENU_LABEL(AI_SERVICE_URL),
MENU_LABEL(AI_SERVICE_ENABLE),
2019-10-19 18:53:17 +00:00
MENU_LABEL(AI_SERVICE_PAUSE),
2016-11-21 19:32:15 +00:00
MSG_ACCESSIBILITY_STARTUP,
MSG_AI_SERVICE_STOPPED,
2016-11-25 21:00:18 +00:00
MENU_LABEL(ON),
MENU_LABEL(OFF),
2016-11-25 22:04:00 +00:00
MENU_LABEL(DISABLED),
MENU_LABEL(ENABLED),
MENU_ENUM_LABEL_VALUE_TRUE,
MENU_ENUM_LABEL_VALUE_FALSE,
MENU_ENUM_LABEL_VALUE_COMP,
MENU_ENUM_LABEL_VALUE_MUSIC,
MENU_ENUM_LABEL_VALUE_IMAGE,
MENU_ENUM_LABEL_VALUE_MOVIE,
MENU_ENUM_LABEL_VALUE_CORE,
MENU_ENUM_LABEL_VALUE_CURSOR,
MENU_ENUM_LABEL_VALUE_FILE,
MENU_ENUM_LABEL_VALUE_MISSING_REQUIRED,
MENU_ENUM_LABEL_VALUE_PRESENT_OPTIONAL,
MENU_ENUM_LABEL_VALUE_MISSING_OPTIONAL,
MENU_ENUM_LABEL_VALUE_PRESENT_REQUIRED,
MENU_ENUM_LABEL_VALUE_RDB,
MENU_ENUM_LABEL_VALUE_DIR,
MENU_ENUM_LABEL_VALUE_NO_CORE,
MENU_ENUM_LABEL_VALUE_DETECT,
MENU_ENUM_LABEL_VALUE_GLSLP,
MENU_ENUM_LABEL_VALUE_CGP,
MENU_ENUM_LABEL_VALUE_GLSL,
MENU_ENUM_LABEL_VALUE_CG,
MENU_ENUM_LABEL_VALUE_SLANG,
MENU_ENUM_LABEL_VALUE_SLANGP,
MENU_ENUM_LABEL_VALUE_RETROPAD,
MENU_ENUM_LABEL_VALUE_RETROPAD_WITH_ANALOG,
MENU_ENUM_LABEL_VALUE_RETROKEYBOARD,
2016-11-22 10:14:29 +00:00
MENU_LABEL(SYSTEM_BGM_ENABLE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(NETWORK_CMD_ENABLE),
MENU_LABEL(NETWORK_CMD_PORT),
MENU_LABEL(STDIN_CMD_ENABLE),
MENU_LABEL(NETWORK_REMOTE_ENABLE),
MENU_LABEL(NETWORK_REMOTE_PORT),
MENU_LABEL(NETWORK_ON_DEMAND_THUMBNAILS),
2016-07-06 23:52:10 +00:00
MENU_ENUM_LABEL_NETWORK_REMOTE_USER_1_ENABLE,
MENU_ENUM_LABEL_NETWORK_REMOTE_USER_LAST_ENABLE = MENU_ENUM_LABEL_NETWORK_REMOTE_USER_1_ENABLE + MAX_USERS,
MENU_LABEL(NETWORK_USER_REMOTE_ENABLE),
MENU_LBL_H(DUMMY_ON_CORE_SHUTDOWN),
MENU_LBL_H(CHECK_FOR_MISSING_FIRMWARE),
MENU_LABEL(CORE_INFO_SAVESTATE_BYPASS),
MENU_LABEL(CORE_OPTION_CATEGORY_ENABLE),
MENU_LABEL(CORE_INFO_CACHE_ENABLE),
#ifndef HAVE_DYNAMIC
MENU_LABEL(ALWAYS_RELOAD_CORE_ON_RUN_CONTENT),
#endif
2016-11-22 07:48:37 +00:00
MENU_LABEL(DETECT_CORE_LIST_OK_CURRENT_CORE),
2016-11-25 23:31:29 +00:00
MENU_LABEL(DETECT_CORE_LIST_OK),
2016-12-13 00:06:28 +00:00
MENU_LABEL(FAVORITES),
2016-11-22 10:14:29 +00:00
MENU_LABEL(START_CORE),
MENU_LABEL(CORE_UPDATER_LIST),
2020-06-11 13:12:20 +00:00
MENU_LABEL(CORE_MANAGER_LIST),
#ifdef HAVE_MIST
/* Steam settings */
MENU_LABEL(STEAM_SETTINGS),
MENU_LABEL(STEAM_RICH_PRESENCE_ENABLE),
MENU_LABEL(STEAM_RICH_PRESENCE_FORMAT),
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_CONTENT,
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_CORE,
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_SYSTEM,
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_CONTENT_SYSTEM,
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_CONTENT_CORE,
MENU_ENUM_LABEL_VALUE_STEAM_RICH_PRESENCE_FORMAT_CONTENT_SYSTEM_CORE,
/* Steam Core Manager */
MENU_LABEL(CORE_MANAGER_STEAM_LIST),
MENU_LABEL(CORE_STEAM_INSTALL),
MENU_LABEL(CORE_STEAM_UNINSTALL),
MENU_LABEL(MENU_SHOW_CORE_MANAGER_STEAM),
MSG_CORE_STEAM_INSTALLING,
MSG_CORE_STEAM_UNINSTALLED,
MSG_CORE_STEAM_CURRENTLY_DOWNLOADING,
#endif
2016-11-22 10:14:29 +00:00
MENU_LABEL(CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
2020-05-27 16:00:47 +00:00
MENU_LABEL(CORE_UPDATER_SHOW_EXPERIMENTAL_CORES),
MENU_LABEL(CORE_UPDATER_AUTO_BACKUP),
MENU_LABEL(CORE_UPDATER_AUTO_BACKUP_HISTORY_SIZE),
2016-11-22 10:14:29 +00:00
MENU_LABEL(CORE_UPDATER_BUILDBOT_URL),
MENU_LABEL(BUILDBOT_ASSETS_URL),
MENU_LABEL(CORE_SET_SUPPORTS_NO_CONTENT_ENABLE),
MENU_LABEL(CLOSE_CONTENT),
MENU_LABEL(SHOW_WIMP),
MENU_LBL_H(QUIT_RETROARCH),
MENU_LABEL(RESTART_RETROARCH),
2016-11-22 10:14:29 +00:00
MENU_LABEL(SHUTDOWN),
MENU_LABEL(REBOOT),
MENU_LABEL(DISK_IMAGE_APPEND),
MENU_ENUM_SUBLABEL_DISK_IMAGE_APPEND_TRAY_OPEN,
MENU_LABEL(SUBSYSTEM_ADD),
2018-02-11 01:23:24 +00:00
MENU_LABEL(SUBSYSTEM_LOAD),
MENU_LBL_H(CORE_LIST),
MENU_LABEL(DOWNLOAD_CORE),
2018-12-06 20:54:25 +00:00
MENU_LABEL(SIDELOAD_CORE_LIST),
MENU_LABEL(SIDELOAD_CORE_ERROR),
MENU_LABEL(SIDELOAD_CORE_SUCCESS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(MANAGEMENT),
2020-06-17 11:56:44 +00:00
MENU_LABEL(BT_CONNECTED),
2016-11-22 09:45:43 +00:00
MENU_LABEL(ONLINE),
2016-11-22 08:25:57 +00:00
MENU_LABEL(ONLINE_UPDATER),
MENU_LABEL(NETPLAY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(SETTINGS),
MENU_LABEL(FRONTEND_COUNTERS),
MENU_LABEL(CORE_COUNTERS),
MENU_LBL_H(LOAD_CONTENT_HISTORY),
2019-07-02 23:08:20 +00:00
MENU_LABEL(LOAD_DISC),
MENU_LABEL(DUMP_DISC),
#ifdef HAVE_LAKKA
MENU_LABEL(EJECT_DISC),
#endif
2016-11-22 09:45:43 +00:00
MENU_LABEL(NETWORK_INFORMATION),
MENU_LABEL(SYSTEM_INFORMATION),
MENU_LABEL(ACHIEVEMENT_LIST),
MENU_LABEL(ACHIEVEMENT_LIST_HARDCORE),
MENU_LABEL(ACHIEVEMENT_PAUSE_MENU),
MENU_LABEL(ACHIEVEMENT_PAUSE_CANCEL),
MENU_LABEL(ACHIEVEMENT_RESUME_CANCEL),
MENU_LABEL(ACHIEVEMENT_PAUSE),
MENU_LABEL(ACHIEVEMENT_RESUME),
MENU_LABEL(ACHIEVEMENT_SERVER_UNREACHABLE),
MENU_LABEL(CHEEVOS_SERVER_DISCONNECTED),
MENU_LABEL(CHEEVOS_SERVER_RECONNECTED),
MENU_LABEL(CHEEVOS_IDENTIFYING_GAME),
MENU_LABEL(CHEEVOS_FETCHING_GAME_DATA),
MENU_LABEL(CHEEVOS_STARTING_SESSION),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CORE_INFORMATION),
2019-07-11 03:45:31 +00:00
MENU_LABEL(DISC_INFORMATION),
MENU_LABEL(CORE_LOCK),
MENU_LABEL(CORE_SET_STANDALONE_EXEMPT),
MENU_LABEL(CORE_DELETE),
2016-11-21 19:32:15 +00:00
MSG_CORE_LOCK_FAILED,
MSG_CORE_UNLOCK_FAILED,
MSG_CORE_SET_STANDALONE_EXEMPT_FAILED,
MSG_CORE_UNSET_STANDALONE_EXEMPT_FAILED,
MSG_CORE_DELETE_DISABLED,
/* Core updater */
MENU_LABEL(UPDATE_INSTALLED_CORES),
MENU_LABEL(SWITCH_INSTALLED_CORES_PFD),
MSG_FETCHING_CORE_LIST,
MSG_CORE_LIST_FAILED,
MSG_LATEST_CORE_INSTALLED,
MSG_UPDATING_CORE,
MSG_DOWNLOADING_CORE,
MSG_EXTRACTING_CORE,
MSG_CORE_INSTALLED,
MSG_CORE_INSTALL_FAILED,
MSG_SCANNING_CORES,
MSG_CHECKING_CORE,
MSG_ALL_CORES_UPDATED,
MSG_ALL_CORES_SWITCHED_PFD,
MSG_NUM_CORES_UPDATED,
MSG_NUM_CORES_LOCKED,
MSG_CORE_UPDATE_DISABLED,
/* Core backup/restore */
MENU_LABEL(CORE_CREATE_BACKUP),
MENU_LABEL(CORE_RESTORE_BACKUP_LIST),
MENU_LABEL(CORE_DELETE_BACKUP_LIST),
MENU_ENUM_LABEL_CORE_RESTORE_BACKUP_ENTRY,
MENU_ENUM_LABEL_CORE_DELETE_BACKUP_ENTRY,
MENU_ENUM_LABEL_VALUE_CORE_BACKUP_MODE_AUTO,
MENU_ENUM_LABEL_VALUE_CORE_BACKUP_CRC,
MSG_CORE_BACKUP_SCANNING_CORE,
MSG_CORE_BACKUP_ALREADY_EXISTS,
MSG_BACKING_UP_CORE,
MSG_PRUNING_CORE_BACKUP_HISTORY,
MSG_CORE_BACKUP_COMPLETE,
MSG_CORE_RESTORATION_ALREADY_INSTALLED,
MSG_RESTORING_CORE,
MSG_CORE_RESTORATION_COMPLETE,
MSG_CORE_INSTALLATION_ALREADY_INSTALLED,
MSG_INSTALLING_CORE,
MSG_CORE_INSTALLATION_COMPLETE,
MSG_CORE_RESTORATION_INVALID_CONTENT,
MSG_CORE_BACKUP_FAILED,
MSG_CORE_RESTORATION_FAILED,
MSG_CORE_INSTALLATION_FAILED,
MSG_CORE_RESTORATION_DISABLED,
MSG_CORE_INSTALLATION_DISABLED,
2016-11-22 12:29:27 +00:00
MENU_LABEL(VIDEO_SHADER_PARAMETERS),
MENU_LABEL(VIDEO_SHADER_PRESET_PARAMETERS),
MENU_LABEL(DISK_OPTIONS),
MENU_LABEL(DISK_CYCLE_TRAY_STATUS),
2020-01-14 12:28:10 +00:00
MENU_LABEL(DISK_TRAY_EJECT),
MENU_LABEL(DISK_TRAY_INSERT),
2016-11-22 12:29:27 +00:00
MENU_LABEL(NO_CORE_OPTIONS_AVAILABLE),
MENU_LABEL(DISK_INDEX),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CORE_CHEAT_OPTIONS),
MENU_LABEL(CORE_INPUT_REMAPPING_OPTIONS),
2017-02-02 07:40:06 +00:00
MENU_LABEL(DATABASE_MANAGER),
MENU_LABEL(CURSOR_MANAGER),
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_DATABASE_MANAGER_LIST,
MENU_ENUM_LABEL_CURSOR_MANAGER_LIST,
2016-07-14 22:11:16 +00:00
MENU_ENUM_LABEL_VALUE_SUPPORTED_CORES,
MENU_ENUM_LABEL_VIDEO_SHADER_PASS,
MENU_ENUM_LABEL_HELP_VIDEO_SHADER_PASS,
2016-07-14 22:11:16 +00:00
MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_TWO,
MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_PREPEND_TWO,
MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_APPEND_TWO,
2016-11-22 09:45:43 +00:00
MENU_LBL_H(VIDEO_SHADER_PRESET),
MENU_LABEL(VIDEO_SHADER_PRESET_PREPEND),
MENU_LABEL(VIDEO_SHADER_PRESET_APPEND),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CHEAT_FILE_LOAD),
MENU_LABEL(CHEAT_FILE_LOAD_APPEND),
MENU_LABEL(CHEAT_FILE_SAVE_AS),
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_MESSAGE,
MENU_ENUM_LABEL_INFO_SCREEN,
2016-11-22 09:45:43 +00:00
2016-11-22 12:29:27 +00:00
MENU_LABEL(CUSTOM_RATIO),
MENU_LABEL(HELP),
MENU_ENUM_LABEL_VALUE_CLEAR_SETTING,
MENU_ENUM_LABEL_VALUE_SCAN_ENTRY,
MENU_ENUM_LABEL_VALUE_MANAGE,
2016-11-22 12:29:27 +00:00
MENU_LABEL(CHEAT_DATABASE_PATH),
2016-11-22 09:45:43 +00:00
MENU_LABEL(OSK_OVERLAY_DIRECTORY),
MENU_LABEL(RECORDING_OUTPUT_DIRECTORY),
MENU_LABEL(RECORDING_CONFIG_DIRECTORY),
MENU_LBL_H(VIDEO_FILTER),
MENU_ENUM_LABEL_HELP_VIDEO_FILTER_BUILTIN,
2020-10-01 14:54:11 +00:00
MENU_LABEL(VIDEO_FILTER_REMOVE),
2016-11-22 12:29:27 +00:00
MENU_LABEL(PAL60_ENABLE),
2016-11-22 09:45:43 +00:00
2016-11-25 23:35:59 +00:00
MENU_LABEL(CONTENT_HISTORY_PATH),
2016-11-22 09:45:43 +00:00
MENU_LABEL(RGUI_BROWSER_DIRECTORY),
MENU_LABEL(CONTENT_DATABASE_DIRECTORY),
MENU_LABEL(PLAYLIST_DIRECTORY),
MENU_LABEL(CONTENT_FAVORITES_DIRECTORY),
MENU_LABEL(CONTENT_HISTORY_DIRECTORY),
MENU_LABEL(CONTENT_IMAGE_HISTORY_DIRECTORY),
MENU_LABEL(CONTENT_MUSIC_HISTORY_DIRECTORY),
MENU_LABEL(CONTENT_VIDEO_HISTORY_DIRECTORY),
MENU_LABEL(RUNTIME_LOG_DIRECTORY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CORE_ASSETS_DIRECTORY),
MENU_LABEL(SCREENSHOT_DIRECTORY),
MENU_LABEL(CONTENT_DIRECTORY),
MENU_LABEL(VIDEO_SHADER_DIR),
MENU_LABEL(VIDEO_FILTER_DIR),
MENU_LABEL(AUDIO_FILTER_DIR),
2019-03-21 16:56:24 +00:00
MENU_LABEL(LOG_DIR),
2016-11-22 09:45:43 +00:00
MENU_LABEL(TURBO_DEADZONE_LIST),
MENU_LABEL(LIBRETRO_DIR_PATH),
MENU_LABEL(LIBRETRO_INFO_PATH),
MENU_LABEL(RGUI_CONFIG_DIRECTORY),
MENU_LABEL(OVERLAY_DIRECTORY),
2019-03-29 18:24:33 +00:00
MENU_LABEL(VIDEO_LAYOUT_DIRECTORY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(SYSTEM_DIRECTORY),
MENU_LABEL(ASSETS_DIRECTORY),
MENU_LABEL(CACHE_DIRECTORY),
MENU_LABEL(JOYPAD_AUTOCONFIG_DIR),
2016-11-22 08:25:57 +00:00
MENU_LABEL(DRIVER_SETTINGS),
MENU_LABEL(VIDEO_SETTINGS),
MENU_LABEL(VIDEO_WINDOWED_MODE_SETTINGS),
MENU_LABEL(VIDEO_FULLSCREEN_MODE_SETTINGS),
2019-12-19 18:15:57 +00:00
MENU_LABEL(VIDEO_OUTPUT_SETTINGS),
2019-12-19 18:39:02 +00:00
MENU_LABEL(VIDEO_SYNCHRONIZATION_SETTINGS),
MENU_LABEL(VIDEO_SCALING_SETTINGS),
Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917) * Add HDR support * Attempt to fix Mingw build and Metal builds * (D3D12) Fix relative header includes * Add missing hdr_sm5.hlsl.h * (d3d12_common.c) Some C89 build fixes * Fix MSVC build * - Attempt to fix build on mingw/msys unix with dirty hack - Fix shader compilation of hdr_sm5.hlsl.h on MSVC/Visual Studio - the define was seen as an error and was causing the first pipeline to error out - Make sure we manually set handle of backBuffer to NULL * Moving the release of the texture above the freeing of desc.srv_heap and desc.rtv_heap solves the hard crashes on teardown/setup in RA - it was crashing hard in d3d12_release_texture before * Add HAVE_D3D12_HDR ifdef - needs to be disabled for WinRT for now because of several things that are Windows desktop-specific right now (GetWindowRect) * Add dirty GUID hack - should work for both mingw/msys on Windows/Linux as well as MSVC/Visual Studio (hopefully) * Change HAVE_D3D12_HDR to HAVE_DXGI_HDR * Move away from camelcase named variables * Fix RARCH_ERR logs - they need a newline at the end * d3d12_check_display_hdr_support - make it return a bool on return and set d3d12->hdr.support and d3d12->hdr.enable outside of the function * (DXGI) Remove D3D12 dependencies from dxgi_check_display_hdr_support and move it to dxgi_common.c instead * (DXGI) move d3d12_swapchain_color_space over to dxgi_common.c and rename it dxgi_swapchain_color_space * (DXGI) move d3d12_set_hdr_metadata to dxgi_common.c and rename it dxgi_set_hdr_metadata * (DXGI) dxgi_check_display_hdr_support - better error handling? * Fix typo * Remove video_force_resolution * (D3D12) Address TODO/FIXME * (D3D12) Backport https://github.com/libretro/RetroArch/pull/12916/commits/c1b6c0bff2aa33cde035b43cb31ac7e78ff2a07a - Fixed resource transition for present when HDR is off Fixed cel shader displaying all black as blending was enabled when the hdr shader was being applied - turned off blending during this shader * Move d3d12_hdr_uniform_t to dxgi_common.h and rename it dxgi_hdr_uniform_t * (D3D11) Add HDR support * Add TODO/FIXME notes * Cache hdr_enable in video_frame_info_t * Update comment
2021-09-03 04:15:25 +00:00
MENU_LABEL(VIDEO_HDR_SETTINGS),
MENU_LABEL(CRT_SWITCHRES_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(AUDIO_SETTINGS),
MENU_LABEL(AUDIO_RESAMPLER_SETTINGS), /* deprecated */
MENU_LABEL(AUDIO_OUTPUT_SETTINGS),
Add microphone support via a new driver (#14731) * Some slight fixes * Update libretro.h * Log calls to RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE * Finish proof-of-concept for mic support - It works, but doesn't support floating-point audio yet - It may need to be resampled, too * Add macros that aren't available in SDL 2 * Comment out a variable definition for now - For C89 compliance * Add some comments for clarity * Let ALSA tolerate a null new_rate * Partial ALSA microphone support - Not yet tested - Mic is created and destroyed - Mic can also be paused or unpaused - Mic is paused or unpaused with the rest of the driver - Microphone is not yet read * Install error logging in the ALSA driver - It defers to RARCH_ERR * Free the ALSA microphone in alsa_free * Fix an indent * First draft of alsa_read_microphone * Deinitialize SDL Audio in sdl_audio_free * Save and restore the ALSA error logger - You should always practice safe global state * Add newlines to some RARCH_ERRs * Add some logging * Check for the mic being active via settings instead of via flags * Adjusted a log entry to be less misleading - A frequency of 0Hz looks weird to the uninformed - In reality, it means the driver used the requested frequency * Fix an incorrect format string * Tidy up logging in alsa.c * Rename audio_enable_microphone to audio_enable_input * Rename microphone_device to audio_input_device * Add audio_input_latency and audio_input_block_frames settings * Add all mic-related settings to the options menu * Adjust logging for alsa.c - Log the ALSA library version - Add errno details * Refer to the microphone in logs by name * Use %u instead of %d for some log items * Add input_samples_buf * Remove an inaccurate comment * Change type of input_samples_buf * Clean up audio_driver_flush_microphone_input * Comment convert_float_to_s16 - It helped me understand what it's doing - Turns out it'll work just fine on mono audio * Don't use the resampler for mic input * Fix crash in the ALSA driver when reading from a mic * Update some logging messages * ALSA support now works for mics * Reuse some common functions in alsa.c * Add alsa_thread_microphone_t * Refactor alsa.c - Introduce alsa_init_pcm to init any PCM that we're using - Vastly simplifies the implementation of alsa_init and alsa_init_microphone - Will be used for the read-based versions next * Make ALSA logging a little more consistent * Clean up the mic with alsa_free_microphone if alsa_init_microphone fails * Remove an unused function * Move some cleanup in alsa.c to a common function * First crack at mic support for alsathread - Refactor some duplicate code into functions - Use functions introduced in alsa.c - Create and destroy the mic * Slight cleanups for clarity * Implement alsa_thread_set/get_microphone_state * More work on alsathread - No more crashing, but the mic just returns silence * Slight cleanups for clarity * Add alsa_set_mic_enabled_internal - For setting the state of a microphone while considering its current state * Use alsa_set_mic_enabled_internal * Log a little more info * Log when the audio driver is started/stopped * Move base microphone driver code into a new directory - Add microphone_driver.c to Makefile.common - Rename functions as needed * Initialize and deinitialize the microphone driver * Implement sdl_microphone.c * Un-const an argument - In case the driver context needs to do any locking * Revise comments for microphone_driver.h * Remove an unimplemented function * Remove some functions from the mic driver * Remove mic functions from audio_thread_wrapper * Remove mic functions from sdl_audio * Fix microphone_null * Split the mic code for the alsa audio drivers into microphone drivers * Fix an extra struct member * Add a setting for the mic driver * Add a command to reinitialize the microphone driver * Rename mic-related settings * Add DRIVER_MICROPHONE_MASK to DRIVERS_CMD_ALL * Rename audio_enable_input to microphone_enable * Remove some labels from qt_options * Search for microphone_driver within find_driver_nonempty * Clean up some mic driver code * Pending mics now return silence * Adjust some logging and comments * Some cleanup in the microphone driver * Invert a flag check - Oops * Fix a log message * Fix the wrong flags being checked * Slight refactor of wasapi_init_device - Add a data_flow parameter - Declare it in a header - In preparation for WASAPI mic support * Add some WASAPI macros for _IAudioCaptureClient * Move some common WASAPI functions to audio/common/wasapi.c - They'll be used by the mic and the audio drivers * Add wasapi_log_hr * Generalize mmdevice_list_new to look for capture devices, too * Fix a function declaration * Move driver-specific device_list_new functions into their respective files * Clean up some declarations * First draft of wasapi microphone driver * Add wasapi_microphone_device_list_free * Change function parameter names to be consistent with microphone_driver * Partially implement wasapi_microphone_read - Mostly copied from the audio driver so far - It doesn't compile yet - But it'll be beautiful when I'm done with it * Refactor the mic driver's functions - Rename get_mic_active to mic_alive - Split set_mic_active into start_mic and stop_mic - Refactor the SDL mic driver accordingly * Edit some WASAPI functions for logging and clarity * Implement more of the WASAPI mic driver * Rename write_event to read_event * Pass the WASAPI driver context to the various read functions * Mostly implement the read function for the WASAPI mic driver * Fix a crash in microphone_driver - Forgot to move the position of the name of null_driver * Reduce some logging in wasapi common functions - Only log the chosen audio client format, not all attempted ones * Add some macro wrappers for IAudioClient methods * Update mic driver configuration - Make the mic driver configurable in the menu - Add config items for WASAPI-related options similar to the audio driver * Fix a menu entry scrolling through audio devices instead of mic devices * Add some utility functions * Expose the new utility functions in wasapi.h * Add extra logging in the WASAPI common functions * Add sharemode_name * Use _IAudioClient_Initialize macro in some places * Pass channels to wasapi_init_client - Remember, mics are in mono * Use _IAudioClient_Initialize macro some more * Forgot to pass channels in some places * Add some utility functions * Forgot an #include * Add wasapi_select_device_format * Simplify the format selection logic in wasapi_init_client_sh * Unset the microphone in wasapi_microphone_close_mic - Ought to prevent a potential segfault * Simplify some logging * Fix incorrect value being passed to _IAudioCaptureClient_ReleaseBuffer * Remove some unneeded logging * Add some values to hresult_name * Polish up wasapi_select_device_format - Test for formats manually when Windows can't - Add some debug logging - Check for channels * Compute the fields of WAVEFORMATEXTENSIBLE correctly - As per the doc's stated requirements * Simplify logic for WASAPI client creation * Fix a potential hang in wasapi_microphone_read_shared_buffered * Stop the microphone if the driver is stopped * Don't name the microphone event * Ensure that wasapi_init_client reports the correct format and rate * Implement exclusive microphone read access for WASAPI * Add _IAudioCaptureClient_GetNextPacketSize macro * Organize cases in hresult_name * Clear some extra fields if wasapi_set_format is setting a Pcm format * Adjust some logs * Adjust some logs * Remove unneeded local vars * Add a log * Update wasapi.c * Update wasapi.c * Fix shared-mode mic support in WASAPI producing broken input - Turns out it had nothing to do with shared mode * Reuse a common function - Remove wasapi_microphone_read_shared_buffered - Rename wasapi_microphone_read_exclusive to wasapi_microphone_read_buffered * Remove some code I was using for test purposes * Clarify some language * Double the default shared-mode mic buffer length * Split getting a device's name into a separate function, then use it * Fix the ALSA mic drivers - To comply with changes I previously made to the mic driver interface * Remove unused synchronization primitives from the SDL microphone driver * Add sdl_microphone_mic_use_float * Document audio_driver_state_flags - I needed to understand these to see if similar flags were required for the mic driver * Remove an unused function in wasapi.c * Add and document flags in microphone_driver.h * Remove driver-specific mic start/stop functions - The mic driver itself doesn't do much processing - That honor goes to individual mics * Remove some unused fields in microphone_driver.h * Add CMD_EVENT_MICROPHONE_STOP/START * Remove unused functions from microphone_null * Change how the mic driver state is referenced in some places * Simplify the SDL microphone driver - The driver backend no longer keeps a reference to the mic (the frontend does that) - Remove functions that are no longer needed - Don't track paused state, just query the mic itself * Simplify the WASAPI microphone driver - Don't track the driver running state or the microphone handle, the frontend does that now - Remove support for unbuffered input (hunterk suggested that it wasn't necessary) * Make microphone_wasapi_sh_buffer_length a uint, not an int - It won't be negative anymore - 0 now represents the default value * Make the microphone frontend more robust - Improve documentation for how various functions should be implemented - Closes all microphones before freeing the driver (so backends don't have to) - Tracks the enabled state of each microphone, so backends don't have to (but they still can) * Stop the mic driver in core_unload_game * Ensure mic support is compatible with the revised menu code * Move alsa.h into audio/common * Remove RETRO_ENVIRONMENT_GET_MICROPHONE_ENABLED - It was never really needed * Refactor the ALSA microphone driver - Move common ALSA functions to audio/common/alsa.c - Replace alsa_set_mic_enabled_internal with alsa_start/stop_pcm - Don't track the microphone handle in the ALSA driver context - Remove unneeded fields * Move some common alsathread code into audio/common/alsathread.c * Change return type of mic_driver_open_mic_internal to bool * First crack at resampling mic input * Remove an extraneous check - I think something distracted me when I was writing this line * Add stereo/mono conversion functions * Make alsa_start_pcm and alsa_stop_pcm more robust - They now return success if the stream is already running and stopped, respectively * Revise some mic-related comments in libretro.h * First crack at resampling mic input * Simplify an expression * Simplify an expression * Fix a log tag * Allow mic resampler to be configured separately from audio resampler * Add some comments * Set the source ratio to something sensible * Stop deadlock in `alsathread` mic driver * Allow mics to be initialized even when core is loaded from CLI - When loading content from CLI, the drivers are initialized a little differently - That threw off the mic initialization code * Rename the functions in retro_microphone_interface * Revise some mic-related comments in libretro.h * Update retro_microphone_interface - Add get_mic_rate - Add a parameter to open_mic - The modifications don't do anything yet * Use parameter objects in the microphone handle * Replace get_mic_rate with get_params * Add a microphone interface version * Remove part of a comment * Set the effective params in mic_driver_microphone_handle_init * Drop a stray newline * Change where the mic interface is zeroed - I was accidentally throwing out the version that the core was asking for * Reduce logspam for wasapi_set_nonblock_state - Now it only logs when the sync mode is changed * Change DEFAULT_WASAPI_SH_BUFFER_LENGTH to 0 - -16 is no longer a valid value * Set the new_rate in wasapi_init * Change description of microphone sample rate in the settings * First attempt at resampling configured mic input * Forgot a section * Fix some input samples being skipped * Rename a variable for clarity * Add microphone.outgoing_samples * Update the mic driver - Processed samples are now buffered - The resampler is skipped if the ratio is (very close to) 1 * Remove part of a comment * Update some comments in audio_resampler.h * Slightly refactor the SDL microphone driver - Move SDL_AudioSpec to a field of sdl_microphone_handle_t - Allow SDL to change the requested format and sample rate - Request floating-point input - Implement sdl_microphone_mic_use_float * Fix a non-C89-compliant declaration * Add new files to griffin.c * Remove a C++-style comment * Add two more files to griffin.c * Remove some unneeded declarations in microphone_driver.h * Remove a stray comma in configuration.c - For C89 compliance * Fix compilation on some platforms * Change some function signatures * Make the ALSA drivers always set the audio rate * Fix the alsathread mic driver * Make state_manager_frame_is_reversed return false if HAVE_REWIND isn't defined * Mute the microphone if the core is running in fast-forward, slow-mo, or rewind * Clarify a comment * Clarify a comment * Add a comment * Don't allocate memory for slowmo samples in the mic driver - We're not supporting slowmo for mics, so it's not needed * Fix a { * Add my name to AUTHORS.h * Add driver_lifetime_flags - For drivers that have special setup/teardown needs * Ensure that resetting the mic driver maintains active mic handles - Prevents fullscreen toggle from stopping all mic input * Update CHANGES.md * Move some default microphone settings to a new part of the config file * Ensure that RetroArch can use the audio format that Windows suggests * Remove references to mic support in the SDL audio driver * Remove unused WASAPI functions * Return failure if RetroArch couldn't select a WASAPI format * Ensure that Windows uses the WASAPI mic driver by default * Treat disabled mic support as a warning, not an error * Clarify some WASAPI-related microphone settings * Remove some unused variables * Add or revise microphone-related comments * Rearrange doc comments for microphone types in libretro.h * Remove a space * Remove some unused flags * Remove ALSA error logger - It was never used anyway * Remove unneeded microphone-related arguments * Document a parameter * Remove a logging call * Add a constant for the microphone's shared buffer length for WASAPI * Fix stylistic inconsistencies * Make mic_driver_get_sample_size a macro instead of a function * Move the microphone implementation to the audio directory * Make microphone support optional (but enabled by default) * Fix the griffin build
2023-06-06 19:55:06 +00:00
#ifdef HAVE_MICROPHONE
MENU_LABEL(MICROPHONE_SETTINGS),
#endif
MENU_LABEL(AUDIO_SYNCHRONIZATION_SETTINGS),
MENU_LABEL(AUDIO_MIXER_SETTINGS),
MENU_LABEL(LATENCY_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(CORE_SETTINGS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CONFIGURATION_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(LOGGING_SETTINGS),
MENU_LABEL(SAVING_SETTINGS),
MENU_LABEL(CLOUD_SYNC_SETTINGS),
MENU_LABEL(CLOUD_SYNC_ENABLE),
MENU_LABEL(CLOUD_SYNC_DESTRUCTIVE),
MENU_LABEL(CLOUD_SYNC_SYNC_SAVES),
MENU_LABEL(CLOUD_SYNC_SYNC_CONFIGS),
MENU_LABEL(CLOUD_SYNC_DRIVER),
MENU_LABEL(CLOUD_SYNC_URL),
MENU_LABEL(CLOUD_SYNC_USERNAME),
MENU_LABEL(CLOUD_SYNC_PASSWORD),
2016-11-22 08:25:57 +00:00
MENU_LABEL(RECORDING_SETTINGS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(OVERLAY_SETTINGS),
MENU_LABEL(REWIND_SETTINGS),
2019-08-24 16:18:24 +00:00
MENU_LABEL(FRAME_TIME_COUNTER_SETTINGS),
MENU_LABEL(FRAME_TIME_COUNTER_RESET_AFTER_FASTFORWARDING),
MENU_LABEL(FRAME_TIME_COUNTER_RESET_AFTER_LOAD_STATE),
MENU_LABEL(FRAME_TIME_COUNTER_RESET_AFTER_SAVE_STATE),
MENU_LABEL(CHEAT_SETTINGS),
MENU_LABEL(CHEAT_DETAILS_SETTINGS),
MENU_LABEL(CHEAT_SEARCH_SETTINGS),
2016-11-22 09:45:43 +00:00
/* Core option category placeholders for icons */
MENU_LABEL(HACKS_SETTINGS),
MENU_LABEL(MAPPING_SETTINGS),
MENU_LABEL(MEDIA_SETTINGS),
MENU_LABEL(PERFORMANCE_SETTINGS),
MENU_LABEL(SOUND_SETTINGS),
MENU_LABEL(SPECS_SETTINGS),
MENU_LABEL(STORAGE_SETTINGS),
MENU_LABEL(SYSTEM_SETTINGS),
MENU_LABEL(TIMING_SETTINGS),
2016-12-08 15:44:02 +00:00
MENU_ENUM_LABEL_ONSCREEN_KEYBOARD_OVERLAY_SETTINGS,
2016-11-21 19:32:15 +00:00
2016-11-23 13:48:08 +00:00
MENU_LABEL(MULTIMEDIA_SETTINGS),
2016-11-22 08:25:57 +00:00
MENU_LABEL(PLAYLIST_SETTINGS),
MENU_LABEL(PLAYLIST_MANAGER_LIST),
MENU_LABEL(PLAYLIST_MANAGER_SETTINGS),
MENU_LABEL(PLAYLIST_MANAGER_DEFAULT_CORE),
MENU_LABEL(PLAYLIST_MANAGER_RESET_CORES),
MSG_PLAYLIST_MANAGER_RESETTING_CORES,
MSG_PLAYLIST_MANAGER_CORES_RESET,
MENU_LABEL(PLAYLIST_MANAGER_LABEL_DISPLAY_MODE),
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_DEFAULT,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_REMOVE_PARENS,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_REMOVE_BRACKETS,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_REMOVE_PARENS_AND_BRACKETS,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_KEEP_REGION,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_KEEP_DISC_INDEX,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_LABEL_DISPLAY_MODE_KEEP_REGION_AND_DISC_INDEX,
MENU_LABEL(PLAYLIST_MANAGER_RIGHT_THUMBNAIL_MODE),
MENU_LABEL(PLAYLIST_MANAGER_LEFT_THUMBNAIL_MODE),
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT,
MENU_LABEL(PLAYLIST_MANAGER_SORT_MODE),
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_SORT_MODE_DEFAULT,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_SORT_MODE_ALPHABETICAL,
MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_SORT_MODE_OFF,
MENU_LABEL(PLAYLIST_MANAGER_CLEAN_PLAYLIST),
MSG_PLAYLIST_MANAGER_CLEANING_PLAYLIST,
MSG_PLAYLIST_MANAGER_PLAYLIST_CLEANED,
MENU_LABEL(PLAYLIST_MANAGER_REFRESH_PLAYLIST),
MSG_PLAYLIST_MANAGER_REFRESH_MISSING_CONFIG,
MSG_PLAYLIST_MANAGER_REFRESH_INVALID_CONTENT_DIR,
MSG_PLAYLIST_MANAGER_REFRESH_INVALID_SYSTEM_NAME,
MSG_PLAYLIST_MANAGER_REFRESH_INVALID_CORE,
MSG_PLAYLIST_MANAGER_REFRESH_INVALID_DAT_FILE,
MSG_PLAYLIST_MANAGER_REFRESH_DAT_FILE_TOO_LARGE,
2016-11-22 10:14:29 +00:00
MENU_LABEL(CORE_UPDATER_SETTINGS),
MENU_LABEL(LAKKA_SERVICES),
#ifdef HAVE_LAKKA_SWITCH
MENU_LABEL(LAKKA_SWITCH_OPTIONS),
#endif
MENU_LBL_H(SHADER_APPLY_CHANGES),
MENU_LBL_H(SHADER_WATCH_FOR_CHANGES),
MENU_LABEL(VIDEO_SHADER_REMEMBER_LAST_DIR),
2016-11-22 10:14:29 +00:00
MENU_LABEL(SAVE_NEW_CONFIG),
2016-11-22 08:25:57 +00:00
MENU_LABEL(ONSCREEN_DISPLAY_SETTINGS),
2016-11-22 10:14:29 +00:00
MENU_LABEL(ONSCREEN_OVERLAY_SETTINGS),
MENU_LABEL(OVERLAY_LIGHTGUN_SETTINGS),
MENU_LABEL(OVERLAY_MOUSE_SETTINGS),
MENU_LABEL(OSK_OVERLAY_SETTINGS),
2019-03-29 18:24:33 +00:00
MENU_LABEL(ONSCREEN_VIDEO_LAYOUT_SETTINGS),
2016-11-23 13:28:15 +00:00
MENU_LABEL(ONSCREEN_NOTIFICATIONS_SETTINGS),
2020-07-16 15:30:38 +00:00
MENU_LABEL(ONSCREEN_NOTIFICATIONS_VIEWS_SETTINGS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(CHEAT_APPLY_CHANGES),
MENU_LABEL(CHEAT_START_SEARCH),
MENU_LABEL(CHEAT_CONTINUE_SEARCH),
MENU_LABEL(CHEAT_VIEW_MATCHES),
2016-11-22 09:45:43 +00:00
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_COLLECTION,
2016-11-22 09:45:43 +00:00
MENU_LABEL(CONFIGURATIONS),
2016-12-26 05:39:12 +00:00
MENU_LABEL(BROWSE_URL_LIST),
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_CUSTOM_BIND,
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_CUSTOM_BIND_ALL,
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_CUSTOM_BIND_DEFAULTS,
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_EXIT_EMULATOR,
MENU_ENUM_LABEL_OSK_ENABLE,
MENU_ENUM_LABEL_VALUE_REMAP_FILE,
MENU_LABEL(REMAP_FILE_MANAGER_LIST),
MENU_LABEL(REMAP_FILE_INFO),
MENU_LABEL(REMAP_FILE_LOAD),
MENU_LABEL(REMAP_FILE_SAVE_AS),
2016-11-22 09:45:43 +00:00
MENU_LABEL(REMAP_FILE_SAVE_CORE),
MENU_LABEL(REMAP_FILE_SAVE_CONTENT_DIR),
2016-11-22 09:45:43 +00:00
MENU_LABEL(REMAP_FILE_SAVE_GAME),
2017-08-05 05:37:26 +00:00
MENU_LABEL(REMAP_FILE_REMOVE_CORE),
MENU_LABEL(REMAP_FILE_REMOVE_CONTENT_DIR),
2017-08-05 05:37:26 +00:00
MENU_LABEL(REMAP_FILE_REMOVE_GAME),
MENU_LABEL(REMAP_FILE_RESET),
MENU_LABEL(REMAP_FILE_FLUSH),
MENU_LABEL(OVERRIDE_FILE_INFO),
MENU_LABEL(OVERRIDE_FILE_LOAD),
MENU_LABEL(OVERRIDE_FILE_SAVE_AS),
MENU_LABEL(OVERRIDE_UNLOAD),
2016-11-22 09:45:43 +00:00
MENU_LABEL(RESTART_CONTENT),
2017-02-02 07:54:08 +00:00
MENU_LABEL(RESUME),
2016-11-22 09:45:43 +00:00
MENU_LABEL(RESUME_CONTENT),
2016-11-22 09:45:43 +00:00
MENU_LABEL(DELETE_ENTRY),
MENU_LABEL(RENAME_ENTRY),
2016-11-22 09:45:43 +00:00
MENU_LABEL(TAKE_SCREENSHOT),
2016-11-22 09:45:43 +00:00
MENU_ENUM_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE,
2019-08-23 23:44:50 +00:00
MENU_LABEL(VIDEO_SHADER_PRESET_REMOVE),
MENU_LABEL(VIDEO_SHADER_PRESET_REMOVE_GLOBAL),
MENU_LABEL(VIDEO_SHADER_PRESET_REMOVE_CORE),
MENU_LABEL(VIDEO_SHADER_PRESET_REMOVE_PARENT),
MENU_LABEL(VIDEO_SHADER_PRESET_REMOVE_GAME),
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE),
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_REFERENCE),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_AS),
2019-08-17 18:05:20 +00:00
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_GLOBAL),
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_CORE),
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_PARENT),
2019-08-17 18:05:20 +00:00
MENU_LABEL(VIDEO_SHADER_PRESET_SAVE_GAME),
MENU_LBL_H(USER_LANGUAGE),
2016-11-22 09:45:43 +00:00
MENU_LABEL(NETPLAY_NICKNAME),
MENU_LABEL(VIDEO_VI_WIDTH),
MENU_LABEL(VIDEO_OVERSCAN_CORRECTION_TOP),
MENU_LABEL(VIDEO_OVERSCAN_CORRECTION_BOTTOM),
MENU_LABEL(VIDEO_ASPECT_RATIO),
MENU_LABEL(VIDEO_VIEWPORT_BIAS_X),
MENU_LABEL(VIDEO_VIEWPORT_BIAS_Y),
#if defined(RARCH_MOBILE)
MENU_LABEL(VIDEO_VIEWPORT_BIAS_PORTRAIT_X),
MENU_LABEL(VIDEO_VIEWPORT_BIAS_PORTRAIT_Y),
#endif
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_FORCE_ASPECT),
MENU_LABEL(VIDEO_ASPECT_RATIO_AUTO),
MENU_LABEL(VIDEO_ASPECT_RATIO_INDEX),
MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_CONFIG,
MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_SQUARE_PIXEL,
MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_CORE_PROVIDED,
MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_CUSTOM,
MENU_ENUM_LABEL_VALUE_VIDEO_ASPECT_RATIO_FULL,
2020-10-01 14:54:11 +00:00
#if defined(DINGUX)
MENU_LABEL(VIDEO_DINGUX_IPU_KEEP_ASPECT),
MENU_LABEL(VIDEO_DINGUX_IPU_FILTER_TYPE),
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_IPU_FILTER_BICUBIC,
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_IPU_FILTER_BILINEAR,
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_IPU_FILTER_NEAREST,
2021-04-06 13:02:40 +00:00
#if defined(DINGUX_BETA)
MENU_LABEL(VIDEO_DINGUX_REFRESH_RATE),
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_REFRESH_RATE_60HZ,
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_REFRESH_RATE_50HZ,
#endif
#if defined(RS90) || defined(MIYOO)
MENU_LABEL(VIDEO_DINGUX_RS90_SOFTFILTER_TYPE),
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_RS90_SOFTFILTER_POINT,
MENU_ENUM_LABEL_VALUE_VIDEO_DINGUX_RS90_SOFTFILTER_BRESENHAM_HORZ,
#endif
2020-10-01 14:54:11 +00:00
#endif
2016-11-22 09:45:43 +00:00
MENU_LABEL(VIDEO_VFILTER),
MENU_LABEL(VIDEO_GPU_RECORD),
MENU_LABEL(RECORD_USE_OUTPUT_DIRECTORY),
MENU_LABEL(RECORD_CONFIG),
2018-09-24 00:02:12 +00:00
MENU_LABEL(STREAM_CONFIG),
2016-11-22 09:45:43 +00:00
MENU_LABEL(RECORD_PATH),
MENU_LABEL(VIDEO_POST_FILTER_RECORD),
MENU_LABEL(RECORD_ENABLE),
2016-11-25 22:06:36 +00:00
MENU_LABEL(SECONDS),
MENU_LABEL(STATUS),
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_NAME,
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_LABEL,
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_VERSION,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_NAME,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER,
MENU_ENUM_LABEL_VALUE_CORE_INFO_CATEGORIES,
MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS,
MENU_ENUM_LABEL_VALUE_CORE_INFO_PERMISSIONS,
MENU_ENUM_LABEL_VALUE_CORE_INFO_LICENSES,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS,
MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE,
MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE_IN_CONTENT_DIRECTORY,
MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE_PATH,
MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API,
MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_PATH,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_SUPPORT_LEVEL,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_DISABLED,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_BASIC,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_SERIALIZED,
MENU_ENUM_LABEL_VALUE_CORE_INFO_SAVESTATE_DETERMINISTIC,
/* System information */
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LAKKA_VERSION,
2016-11-23 13:42:59 +00:00
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DYNAMIC_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_BUILD_DATE,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RETROARCH_VERSION,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GIT_VERSION,
2019-05-22 14:50:21 +00:00
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_CPU_MODEL,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_CPU_FEATURES,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_NAME,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_OS,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RETRORATING_LEVEL,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_NO_SOURCE,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_CHARGING,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_CHARGED,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_POWER_SOURCE_DISCHARGING,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_VIDEO_CONTEXT_DRIVER,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_MM_WIDTH,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_MM_HEIGHT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DISPLAY_METRIC_DPI,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LIBRETRODB_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OVERLAY_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_COMMAND_IFACE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETWORK_COMMAND_IFACE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETWORK_REMOTE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_COCOA_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RTGA_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RBMP_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RJPEG_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RPNG_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL2_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_VULKAN_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_METAL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OPENGL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OPENGLES_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_THREADING_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_KMS_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_UDEV_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OPENVG_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_EGL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_X11_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_WAYLAND_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_XVIDEO_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_ALSA_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OSS_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OPENAL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_COREAUDIO_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_COREAUDIO3_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_OPENSL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_RSOUND_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_ROARAUDIO_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_JACK_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_PULSEAUDIO_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DSOUND_SUPPORT,
2017-04-09 21:53:55 +00:00
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_WASAPI_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_XAUDIO2_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_ZLIB_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_7ZIP_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_DYLIB_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_CG_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_GLSL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SLANG_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_HLSL_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_SDL_IMAGE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FBO_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FFMPEG_SUPPORT,
2018-06-20 02:50:58 +00:00
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_MPV_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_CORETEXT_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FREETYPE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_STB_TRUETYPE_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_NETPLAY_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_V4L2_SUPPORT,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_LIBUSB_SUPPORT,
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_VALUE_CORE_ASSETS_DIR,
2016-06-20 19:47:11 +00:00
2017-02-02 08:43:07 +00:00
MENU_LABEL(CONTENT_DIR),
2016-11-25 17:45:47 +00:00
MENU_LABEL(DATABASE_SELECTION),
MENU_LABEL(DATABASE_CURSOR_LIST),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_DEVELOPER),
2016-11-25 17:48:50 +00:00
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_PUBLISHER),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_ORIGIN),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_FRANCHISE),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_ESRB_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_ELSPA_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_PEGI_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_CERO_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_BBFC_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_MAX_USERS),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_EDGE_MAGAZINE_ISSUE),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_EDGE_MAGAZINE_RATING),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_RELEASEDATE_BY_MONTH),
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_RELEASEDATE_BY_YEAR),
2016-11-26 00:43:37 +00:00
MENU_LABEL(DATABASE_CURSOR_LIST_ENTRY_DATABASE_INFO),
2016-06-20 19:47:11 +00:00
MENU_ENUM_LABEL_VALUE_NO,
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_VALUE_YES,
MENU_ENUM_LABEL_VALUE_PORT,
MENU_ENUM_LABEL_VALUE_PORT_DEVICE_NAME,
MENU_ENUM_LABEL_VALUE_PORT_DEVICE_INFO,
MENU_ENUM_LABEL_VALUE_LEFT_ANALOG,
MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG,
MENU_ENUM_LABEL_VALUE_LEFT_ANALOG_FORCED,
MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG_FORCED,
MENU_ENUM_LABEL_VALUE_LANG_ENGLISH,
MENU_ENUM_LABEL_VALUE_LANG_JAPANESE,
MENU_ENUM_LABEL_VALUE_LANG_FRENCH,
MENU_ENUM_LABEL_VALUE_LANG_SPANISH,
MENU_ENUM_LABEL_VALUE_LANG_GERMAN,
MENU_ENUM_LABEL_VALUE_LANG_ITALIAN,
MENU_ENUM_LABEL_VALUE_LANG_DUTCH,
MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
MENU_ENUM_LABEL_VALUE_LANG_CHINESE_TRADITIONAL,
MENU_ENUM_LABEL_VALUE_LANG_CHINESE_SIMPLIFIED,
MENU_ENUM_LABEL_VALUE_LANG_ESPERANTO,
MENU_ENUM_LABEL_VALUE_LANG_POLISH,
MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE,
2018-02-05 19:54:55 +00:00
MENU_ENUM_LABEL_VALUE_LANG_ARABIC,
MENU_ENUM_LABEL_VALUE_LANG_GREEK,
MENU_ENUM_LABEL_VALUE_LANG_TURKISH,
MENU_ENUM_LABEL_VALUE_LANG_ASTURIAN,
MENU_ENUM_LABEL_VALUE_LANG_BRITISH_ENGLISH,
2019-08-22 19:33:02 +00:00
MENU_ENUM_LABEL_VALUE_LANG_CZECH,
MENU_ENUM_LABEL_VALUE_LANG_DANISH,
MENU_ENUM_LABEL_VALUE_LANG_SWEDISH,
MENU_ENUM_LABEL_VALUE_LANG_CROATIAN,
MENU_ENUM_LABEL_VALUE_LANG_CATALAN,
MENU_ENUM_LABEL_VALUE_LANG_BULGARIAN,
MENU_ENUM_LABEL_VALUE_LANG_BENGALI,
MENU_ENUM_LABEL_VALUE_LANG_BASQUE,
MENU_ENUM_LABEL_VALUE_LANG_AZERBAIJANI,
MENU_ENUM_LABEL_VALUE_LANG_ALBANIAN,
MENU_ENUM_LABEL_VALUE_LANG_AFRIKAANS,
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
2019-08-22 20:20:31 +00:00
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
2019-08-22 19:33:02 +00:00
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
MENU_ENUM_LABEL_VALUE_LANG_GALICIAN,
MENU_ENUM_LABEL_VALUE_LANG_GEORGIAN,
MENU_ENUM_LABEL_VALUE_LANG_GUJARATI,
MENU_ENUM_LABEL_VALUE_LANG_HAITIAN_CREOLE,
MENU_ENUM_LABEL_VALUE_LANG_HEBREW,
MENU_ENUM_LABEL_VALUE_LANG_HINDI,
MENU_ENUM_LABEL_VALUE_LANG_HUNGARIAN,
MENU_ENUM_LABEL_VALUE_LANG_ICELANDIC,
MENU_ENUM_LABEL_VALUE_LANG_INDONESIAN,
MENU_ENUM_LABEL_VALUE_LANG_IRISH,
MENU_ENUM_LABEL_VALUE_LANG_KANNADA,
MENU_ENUM_LABEL_VALUE_LANG_LATIN,
MENU_ENUM_LABEL_VALUE_LANG_LATVIAN,
MENU_ENUM_LABEL_VALUE_LANG_LITHUANIAN,
MENU_ENUM_LABEL_VALUE_LANG_MACEDONIAN,
MENU_ENUM_LABEL_VALUE_LANG_MALAY,
MENU_ENUM_LABEL_VALUE_LANG_MALTESE,
MENU_ENUM_LABEL_VALUE_LANG_NORWEGIAN,
MENU_ENUM_LABEL_VALUE_LANG_PERSIAN,
MENU_ENUM_LABEL_VALUE_LANG_ROMANIAN,
MENU_ENUM_LABEL_VALUE_LANG_SERBIAN,
MENU_ENUM_LABEL_VALUE_LANG_SLOVAK,
MENU_ENUM_LABEL_VALUE_LANG_SLOVENIAN,
MENU_ENUM_LABEL_VALUE_LANG_SWAHILI,
MENU_ENUM_LABEL_VALUE_LANG_TAMIL,
MENU_ENUM_LABEL_VALUE_LANG_TELUGU,
MENU_ENUM_LABEL_VALUE_LANG_THAI,
MENU_ENUM_LABEL_VALUE_LANG_UKRAINIAN,
MENU_ENUM_LABEL_VALUE_LANG_BELARUSIAN,
2019-08-22 19:33:02 +00:00
MENU_ENUM_LABEL_VALUE_LANG_URDU,
MENU_ENUM_LABEL_VALUE_LANG_CATALAN_VALENCIA,
2019-08-22 19:33:02 +00:00
MENU_ENUM_LABEL_VALUE_LANG_WELSH,
MENU_ENUM_LABEL_VALUE_LANG_YIDDISH,
/* Entries beginning with MENU_ENUM_LABEL_VALUE_LANG will not be uploaded to Crowdin. */
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_95_PLUS,
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_75_PLUS,
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_50_PLUS,
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_PLUS,
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_MINUS,
2019-08-23 18:00:33 +00:00
MENU_ENUM_LABEL_VALUE_AI_SERVICE_IMAGE_MODE,
MENU_ENUM_LABEL_VALUE_AI_SERVICE_SPEECH_MODE,
2019-12-04 07:41:20 +00:00
MENU_ENUM_LABEL_VALUE_AI_SERVICE_NARRATOR_MODE,
MENU_ENUM_LABEL_VALUE_NONE,
MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE,
2016-11-22 09:45:43 +00:00
MENU_LABEL(USE_BUILTIN_IMAGE_VIEWER),
MENU_LABEL(OVERLAY_AUTOLOAD_PREFERRED),
MENU_LABEL(LOAD_ARCHIVE),
MENU_LABEL(OPEN_ARCHIVE),
MENU_ENUM_LABEL_LOAD_ARCHIVE_DETECT_CORE,
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_OPEN_ARCHIVE_DETECT_CORE,
MENU_ENUM_LABEL_VALUE_WHAT_IS_A_CORE_DESC,
2016-11-22 09:45:43 +00:00
MENU_LABEL(HELP_CHANGE_VIRTUAL_GAMEPAD),
MENU_LABEL(HELP_CHANGE_VIRTUAL_GAMEPAD_DESC),
MENU_LABEL(HELP_AUDIO_VIDEO_TROUBLESHOOTING),
MENU_ENUM_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING_DESC,
2016-11-22 09:45:43 +00:00
MENU_LABEL(HELP_SCANNING_CONTENT),
MENU_ENUM_LABEL_VALUE_HELP_SCANNING_CONTENT_DESC,
2018-10-01 00:13:53 +00:00
MENU_LABEL(RESET_TO_DEFAULT_CONFIG),
2016-11-22 09:45:43 +00:00
MENU_LABEL(SAVE_CURRENT_CONFIG),
MENU_LABEL(SAVE_CURRENT_CONFIG_OVERRIDE_CORE),
2018-05-14 03:33:06 +00:00
MENU_LABEL(SAVE_CURRENT_CONFIG_OVERRIDE_CONTENT_DIR),
2016-11-22 09:45:43 +00:00
MENU_LABEL(SAVE_CURRENT_CONFIG_OVERRIDE_GAME),
MENU_LABEL(REMOVE_CURRENT_CONFIG_OVERRIDE_CORE),
MENU_LABEL(REMOVE_CURRENT_CONFIG_OVERRIDE_CONTENT_DIR),
MENU_LABEL(REMOVE_CURRENT_CONFIG_OVERRIDE_GAME),
2016-11-21 19:32:15 +00:00
MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS,
2016-07-01 14:33:43 +00:00
MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS,
MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS,
MENU_ENUM_LABEL_VALUE_RGUI_THUMB_SCALE_POINT,
MENU_ENUM_LABEL_VALUE_RGUI_THUMB_SCALE_BILINEAR,
MENU_ENUM_LABEL_VALUE_RGUI_THUMB_SCALE_SINC,
2019-02-13 11:02:15 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_NONE,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_AUTO,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X2,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X3,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X4,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X5,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X6,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X7,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X8,
MENU_ENUM_LABEL_VALUE_RGUI_UPSCALE_X9,
2019-03-19 11:48:22 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_4_3,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_16_9,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_16_9_CENTRE,
2019-03-19 11:48:22 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_16_10,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_16_10_CENTRE,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_21_9,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_21_9_CENTRE,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_3_2,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_3_2_CENTRE,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_5_3,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_5_3_CENTRE,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_AUTO,
2019-03-19 11:48:22 +00:00
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_LOCK_NONE,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_LOCK_FIT_SCREEN,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_LOCK_INTEGER,
MENU_ENUM_LABEL_VALUE_RGUI_ASPECT_RATIO_LOCK_FILL_SCREEN,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_NONE,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_SNOW,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_SNOW_ALT,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_RAIN,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_VORTEX,
MENU_ENUM_LABEL_VALUE_RGUI_PARTICLE_EFFECT_STARFIELD,
/* Callback strings */
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_CORE_CONTENT_DIRS_LIST,
MENU_ENUM_LABEL_CB_CORE_CONTENT_DOWNLOAD,
MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST,
MENU_ENUM_LABEL_CB_CORE_SYSTEM_FILES_DOWNLOAD,
MENU_ENUM_LABEL_CB_CORE_SYSTEM_FILES_LIST,
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_CORE_THUMBNAILS_DOWNLOAD,
MENU_ENUM_LABEL_CB_CORE_UPDATER_DOWNLOAD,
MENU_ENUM_LABEL_CB_CORE_UPDATER_LIST,
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_DOWNLOAD_URL,
MENU_ENUM_LABEL_CB_LAKKA_DOWNLOAD,
MENU_ENUM_LABEL_CB_LAKKA_LIST,
2016-06-20 14:14:59 +00:00
MENU_ENUM_LABEL_CB_MENU_THUMBNAIL,
MENU_ENUM_LABEL_CB_MENU_LEFT_THUMBNAIL,
2016-12-01 01:43:53 +00:00
MENU_ENUM_LABEL_CB_MENU_SAVESTATE_THUMBNAIL,
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_MENU_WALLPAPER,
MENU_ENUM_LABEL_CB_PL_THUMBNAILS_DOWNLOAD,
#if 0
/* Thumbnailpack removal */
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_DOWNLOAD,
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST,
#endif
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_UPDATE_ASSETS,
MENU_ENUM_LABEL_CB_UPDATE_AUTOCONFIG_PROFILES,
MENU_ENUM_LABEL_CB_UPDATE_CHEATS,
2016-11-16 04:43:42 +00:00
MENU_ENUM_LABEL_CB_UPDATE_CORE_INFO_FILES,
MENU_ENUM_LABEL_CB_UPDATE_DATABASES,
MENU_ENUM_LABEL_CB_UPDATE_OVERLAYS,
MENU_ENUM_LABEL_CB_UPDATE_SHADERS_CG,
MENU_ENUM_LABEL_CB_UPDATE_SHADERS_GLSL,
MENU_ENUM_LABEL_CB_UPDATE_SHADERS_SLANG,
MENU_ENUM_LABEL_CB_DISCORD_AVATAR,
MENU_ENUM_LABEL_CB_SINGLE_THUMBNAIL,
2016-10-20 14:19:14 +00:00
2016-11-16 07:35:57 +00:00
/* Sublabels */
2020-07-27 04:27:35 +00:00
MENU_LABEL(MIXER_ACTION_PLAY),
MENU_LABEL(MIXER_ACTION_PLAY_LOOPED),
MENU_LABEL(MIXER_ACTION_PLAY_SEQUENTIAL),
MENU_LABEL(MIXER_ACTION_STOP),
MENU_LABEL(MIXER_ACTION_REMOVE),
MENU_LABEL(MIXER_ACTION_VOLUME),
2016-11-16 07:35:57 +00:00
MENU_ENUM_SUBLABEL_INFORMATION_LIST_LIST,
#ifdef HAVE_LAKKA
2016-11-25 23:37:33 +00:00
MENU_ENUM_SUBLABEL_SERVICES_SETTINGS,
#endif
2016-11-25 23:37:33 +00:00
MENU_LABEL(MENU_WIDGETS_ENABLE),
MENU_LABEL(MENU_SHOW_LOAD_CONTENT_ANIMATION),
2020-07-16 15:30:38 +00:00
MENU_LABEL(NOTIFICATION_SHOW_AUTOCONFIG),
MENU_LABEL(NOTIFICATION_SHOW_CHEATS_APPLIED),
MENU_LABEL(NOTIFICATION_SHOW_PATCH_APPLIED),
2020-07-16 15:30:38 +00:00
MENU_LABEL(NOTIFICATION_SHOW_REMAP_LOAD),
MENU_LABEL(NOTIFICATION_SHOW_CONFIG_OVERRIDE_LOAD),
MENU_LABEL(NOTIFICATION_SHOW_SET_INITIAL_DISK),
MENU_LABEL(NOTIFICATION_SHOW_DISK_CONTROL),
MENU_LABEL(NOTIFICATION_SHOW_SAVE_STATE),
2020-07-16 15:30:38 +00:00
MENU_LABEL(NOTIFICATION_SHOW_FAST_FORWARD),
MENU_LABEL(NOTIFICATION_SHOW_SCREENSHOT),
MENU_LABEL(NOTIFICATION_SHOW_SCREENSHOT_DURATION),
MENU_LABEL(NOTIFICATION_SHOW_SCREENSHOT_FLASH),
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_DURATION_NORMAL,
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_DURATION_FAST,
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_DURATION_VERY_FAST,
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_DURATION_INSTANT,
2020-07-16 15:30:38 +00:00
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_FLASH_NORMAL,
MENU_ENUM_LABEL_VALUE_NOTIFICATION_SHOW_SCREENSHOT_FLASH_FAST,
MENU_LABEL(NOTIFICATION_SHOW_REFRESH_RATE),
MENU_LABEL(NOTIFICATION_SHOW_NETPLAY_EXTRA),
MENU_LABEL(NOTIFICATION_SHOW_WHEN_MENU_IS_ALIVE),
MENU_LABEL(SELECT_FILE),
MENU_LABEL(SELECT_FROM_PLAYLIST),
MENU_ENUM_LABEL_VALUE_FILTER,
MENU_ENUM_LABEL_VALUE_SCALE,
2016-12-25 05:38:18 +00:00
MENU_ENUM_LABEL_VALUE_NETPLAY_START_WHEN_LOADED,
2017-01-23 03:45:48 +00:00
MENU_ENUM_LABEL_VALUE_NETPLAY_LOAD_CONTENT_MANUALLY,
MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_LOOK,
MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_NO_CORE,
MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_NO_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND,
MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_NOT_FOUND,
2017-03-04 21:03:15 +00:00
MENU_LABEL(NETPLAY_USE_MITM_SERVER),
MENU_LABEL(NETPLAY_MITM_SERVER),
MENU_ENUM_LABEL_NETPLAY_MITM_SERVER_LOCATION,
MENU_LABEL(NETPLAY_CUSTOM_MITM_SERVER),
MENU_ENUM_LABEL_VALUE_NETPLAY_MITM_SERVER_LOCATION_1,
MENU_ENUM_LABEL_VALUE_NETPLAY_MITM_SERVER_LOCATION_2,
MENU_ENUM_LABEL_VALUE_NETPLAY_MITM_SERVER_LOCATION_3,
MENU_ENUM_LABEL_VALUE_NETPLAY_MITM_SERVER_LOCATION_4,
MENU_ENUM_LABEL_VALUE_NETPLAY_MITM_SERVER_LOCATION_CUSTOM,
MENU_LABEL(VIDEO_WINDOW_SHOW_DECORATIONS),
MENU_LABEL(VIDEO_WINDOW_SAVE_POSITION),
MENU_LABEL(VIDEO_WINDOW_CUSTOM_SIZE_ENABLE),
2018-04-30 18:33:05 +00:00
MENU_ENUM_LABEL_VALUE_QT_INFO,
MENU_ENUM_LABEL_VALUE_QT_MENU_FILE,
MENU_ENUM_LABEL_VALUE_QT_MENU_FILE_LOAD_CORE,
MENU_ENUM_LABEL_VALUE_QT_MENU_FILE_UNLOAD_CORE,
MENU_ENUM_LABEL_VALUE_QT_MENU_FILE_EXIT,
MENU_ENUM_LABEL_VALUE_QT_MENU_EDIT,
MENU_ENUM_LABEL_VALUE_QT_MENU_EDIT_SEARCH,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW,
MENU_ENUM_LABEL_VALUE_QT_MENU_SEARCH_CLEAR,
2018-04-30 18:33:05 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_CLOSED_DOCKS,
2018-08-14 04:47:10 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_SHADER_PARAMS,
2018-04-30 18:33:05 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SAVE_DOCK_POSITIONS,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SAVE_GEOMETRY,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SAVE_LAST_TAB,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THEME,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THEME_SYSTEM_DEFAULT,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THEME_DARK,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THEME_CUSTOM,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_TITLE,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_HIGHLIGHT_COLOR,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SUGGEST_LOADED_CORE_FIRST,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_SHOW_HIDDEN_FILES,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_ALL_PLAYLISTS_LIST_MAX_COUNT,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_ALL_PLAYLISTS_GRID_MAX_COUNT,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_STARTUP_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THUMBNAIL_TYPE,
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THUMBNAIL_CACHE_LIMIT,
2020-03-13 21:46:46 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_VIEW_OPTIONS_THUMBNAIL_DROP_SIZE_LIMIT,
MENU_ENUM_LABEL_VALUE_QT_MENU_TOOLS,
2018-08-03 03:21:39 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_HELP,
2018-04-30 18:33:05 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_DOCK_CONTENT_BROWSER,
MENU_ENUM_LABEL_VALUE_QT_THUMBNAIL_BOXART,
MENU_ENUM_LABEL_VALUE_QT_THUMBNAIL_SCREENSHOT,
MENU_ENUM_LABEL_VALUE_QT_THUMBNAIL_TITLE_SCREEN,
MENU_ENUM_LABEL_VALUE_QT_LOAD_CORE,
MENU_ENUM_LABEL_VALUE_QT_LOAD_CUSTOM_CORE,
MENU_ENUM_LABEL_VALUE_QT_LOADING_CORE,
MENU_ENUM_LABEL_VALUE_QT_NAME,
MENU_ENUM_LABEL_VALUE_QT_CORE_VERSION,
MENU_ENUM_LABEL_VALUE_QT_TAB_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_QT_TAB_FILE_BROWSER,
MENU_ENUM_LABEL_VALUE_QT_TAB_FILE_BROWSER_TOP,
MENU_ENUM_LABEL_VALUE_QT_TAB_FILE_BROWSER_UP,
MENU_ENUM_LABEL_VALUE_QT_ALL_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_QT_CORE,
MENU_ENUM_LABEL_VALUE_QT_CORE_INFO,
MENU_ENUM_LABEL_VALUE_QT_CORE_SELECTION_ASK,
MENU_ENUM_LABEL_VALUE_QT_INFORMATION,
MENU_ENUM_LABEL_VALUE_QT_WARNING,
MENU_ENUM_LABEL_VALUE_QT_ERROR,
MENU_ENUM_LABEL_VALUE_QT_RESTART_TO_TAKE_EFFECT,
MENU_ENUM_LABEL_VALUE_QT_LOG,
MENU_ENUM_LABEL_VALUE_QT_SCAN_FINISHED,
MENU_ENUM_LABEL_VALUE_QT_DONT_SHOW_AGAIN,
MENU_ENUM_LABEL_VALUE_QT_STOP,
MENU_ENUM_LABEL_VALUE_QT_ASSOCIATE_CORE,
MENU_ENUM_LABEL_VALUE_QT_HIDDEN_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_QT_HIDE,
MENU_ENUM_LABEL_VALUE_QT_CHOOSE,
MENU_ENUM_LABEL_VALUE_QT_SELECT_COLOR,
MENU_ENUM_LABEL_VALUE_QT_SELECT_THEME,
MENU_ENUM_LABEL_VALUE_QT_CUSTOM_THEME,
MENU_ENUM_LABEL_VALUE_QT_FILE_PATH_IS_BLANK,
MENU_ENUM_LABEL_VALUE_QT_FILE_IS_EMPTY,
MENU_ENUM_LABEL_VALUE_QT_FILE_READ_OPEN_FAILED,
MENU_ENUM_LABEL_VALUE_QT_FILE_WRITE_OPEN_FAILED,
2018-04-30 18:33:05 +00:00
MENU_ENUM_LABEL_VALUE_QT_FILE_DOES_NOT_EXIST,
MENU_ENUM_LABEL_VALUE_QT_ZOOM,
MENU_ENUM_LABEL_VALUE_QT_VIEW,
MENU_ENUM_LABEL_VALUE_QT_VIEW_TYPE_ICONS,
MENU_ENUM_LABEL_VALUE_QT_VIEW_TYPE_LIST,
MENU_ENUM_LABEL_VALUE_QT_PROGRESS,
MENU_ENUM_LABEL_VALUE_QT_NEW_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_ENTER_NEW_PLAYLIST_NAME,
MENU_ENUM_LABEL_VALUE_QT_DELETE_PLAYLIST,
2018-09-18 18:09:25 +00:00
MENU_ENUM_LABEL_VALUE_QT_RENAME_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_CONFIRM_DELETE_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_CONFIRM_DELETE_PLAYLIST_ITEM,
MENU_ENUM_LABEL_VALUE_QT_QUESTION,
MENU_ENUM_LABEL_VALUE_QT_COULD_NOT_DELETE_FILE,
MENU_ENUM_LABEL_VALUE_QT_COULD_NOT_RENAME_FILE,
MENU_ENUM_LABEL_VALUE_QT_GATHERING_LIST_OF_FILES,
MENU_ENUM_LABEL_VALUE_QT_ADDING_FILES_TO_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_NAME,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_PATH,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_CORE,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_DATABASE,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_EXTENSIONS,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_EXTENSIONS_PLACEHOLDER,
MENU_ENUM_LABEL_VALUE_QT_PLAYLIST_ENTRY_FILTER_INSIDE_ARCHIVES,
MENU_ENUM_LABEL_VALUE_QT_FOR_THUMBNAILS,
MENU_ENUM_LABEL_VALUE_QT_CANNOT_ADD_TO_ALL_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_QT_DELETE,
MENU_ENUM_LABEL_VALUE_QT_ADD_ENTRY,
MENU_ENUM_LABEL_VALUE_QT_ADD_FILES,
MENU_ENUM_LABEL_VALUE_QT_ADD_FOLDER,
MENU_ENUM_LABEL_VALUE_QT_EDIT,
MENU_ENUM_LABEL_VALUE_QT_SELECT_FILES,
MENU_ENUM_LABEL_VALUE_QT_SELECT_FOLDER,
MENU_ENUM_LABEL_VALUE_QT_FIELD_MULTIPLE,
MENU_ENUM_LABEL_VALUE_QT_COULD_NOT_UPDATE_PLAYLIST_ENTRY,
MENU_ENUM_LABEL_VALUE_QT_PLEASE_FILL_OUT_REQUIRED_FIELDS,
2018-08-03 03:21:39 +00:00
MENU_ENUM_LABEL_VALUE_QT_MENU_HELP_ABOUT,
MENU_ENUM_LABEL_VALUE_QT_MENU_HELP_ABOUT_CONTRIBUTORS,
MENU_ENUM_LABEL_VALUE_QT_MENU_HELP_DOCUMENTATION,
MENU_ENUM_LABEL_VALUE_QT_NETWORK_ERROR,
MENU_ENUM_LABEL_VALUE_QT_UPDATE_RETROARCH_NIGHTLY,
MENU_ENUM_LABEL_VALUE_QT_UPDATE_RETROARCH_FINISHED,
MENU_ENUM_LABEL_VALUE_QT_UPDATE_RETROARCH_FAILED,
MENU_ENUM_LABEL_VALUE_QT_CURRENT_SHADER,
MENU_ENUM_LABEL_VALUE_QT_MOVE_DOWN,
MENU_ENUM_LABEL_VALUE_QT_MOVE_UP,
MENU_ENUM_LABEL_VALUE_QT_LOAD,
MENU_ENUM_LABEL_VALUE_QT_SAVE,
MENU_ENUM_LABEL_VALUE_QT_REMOVE,
MENU_ENUM_LABEL_VALUE_QT_REMOVE_PASSES,
MENU_ENUM_LABEL_VALUE_QT_APPLY,
MENU_ENUM_LABEL_VALUE_QT_SHADER_ADD_PASS,
MENU_ENUM_LABEL_VALUE_QT_SHADER_CLEAR_ALL_PASSES,
MENU_ENUM_LABEL_VALUE_QT_SHADER_NO_PASSES,
MENU_ENUM_LABEL_VALUE_QT_RESET_PASS,
MENU_ENUM_LABEL_VALUE_QT_RESET_ALL_PASSES,
MENU_ENUM_LABEL_VALUE_QT_RESET_PARAMETER,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_THUMBNAIL,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_ALREADY_IN_PROGRESS,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_ALL_THUMBNAILS,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_ALL_THUMBNAILS_ENTIRE_SYSTEM,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_ALL_THUMBNAILS_THIS_PLAYLIST,
MENU_ENUM_LABEL_VALUE_QT_THUMBNAIL_PACK_DOWNLOADED_SUCCESSFULLY,
MENU_ENUM_LABEL_VALUE_QT_DOWNLOAD_PLAYLIST_THUMBNAIL_PROGRESS,
2018-08-29 15:34:36 +00:00
MENU_ENUM_LABEL_VALUE_QT_CORE_OPTIONS,
MENU_ENUM_LABEL_VALUE_QT_ITEMS_COUNT,
MENU_ENUM_LABEL_VALUE_QT_DROP_IMAGE_HERE,
MENU_ENUM_LABEL_VALUE_QT_RESET,
MENU_ENUM_LABEL_VALUE_QT_RESET_ALL,
2018-04-30 18:33:05 +00:00
MENU_LBL_H(MIDI_INPUT),
MENU_LBL_H(MIDI_OUTPUT),
2018-06-04 05:48:08 +00:00
MENU_LABEL(MIDI_VOLUME),
/* Power Management */
MENU_LABEL(SUSTAINED_PERFORMANCE_MODE),
MENU_LABEL(CPU_PERF_MODE),
MENU_LABEL(CPU_PERFPOWER),
MENU_LABEL(CPU_POLICY_ENTRY),
MENU_LABEL(CPU_POLICY_MIN_FREQ),
MENU_LABEL(CPU_POLICY_MAX_FREQ),
MENU_LABEL(CPU_POLICY_GOVERNOR),
MENU_LABEL(CPU_POLICY_CORE_GOVERNOR),
MENU_LABEL(CPU_POLICY_MENU_GOVERNOR),
MENU_LABEL(CPU_MANAGED_MIN_FREQ),
MENU_LABEL(CPU_MANAGED_MAX_FREQ),
MENU_LBL_H(GAMEMODE_ENABLE),
MENU_ENUM_SUBLABEL_GAMEMODE_ENABLE_LINUX,
MENU_LABEL(VIDEO_FRAME_REST),
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MANAGED_PERF,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MANAGED_PER_CONTEXT,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MAX_PERF,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MIN_POWER,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_BALANCED,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MANUAL,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_MANAGED_PERF,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_MANAGED_PER_CONTEXT,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_MAX_PERF,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_MIN_POWER,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_BALANCED,
MENU_ENUM_SUBLABEL_VALUE_CPU_PERF_MODE_MANUAL,
MENU_ENUM_LABEL_CHEAT_HANDLER_TYPE_EMU,
MENU_ENUM_LABEL_CHEAT_HANDLER_TYPE_RETRO,
MENU_ENUM_LABEL_CHEAT_TYPE_DISABLED,
MENU_ENUM_LABEL_CHEAT_TYPE_SET_TO_VALUE,
MENU_ENUM_LABEL_CHEAT_TYPE_INCREASE_VALUE,
MENU_ENUM_LABEL_CHEAT_TYPE_DECREASE_VALUE,
MENU_ENUM_LABEL_CHEAT_TYPE_RUN_NEXT_IF_EQ,
MENU_ENUM_LABEL_CHEAT_TYPE_RUN_NEXT_IF_NEQ,
MENU_ENUM_LABEL_CHEAT_TYPE_RUN_NEXT_IF_LT,
MENU_ENUM_LABEL_CHEAT_TYPE_RUN_NEXT_IF_GT,
MENU_ENUM_LABEL_RUMBLE_TYPE_DISABLED,
MENU_ENUM_LABEL_RUMBLE_TYPE_CHANGES,
MENU_ENUM_LABEL_RUMBLE_TYPE_DOES_NOT_CHANGE,
MENU_ENUM_LABEL_RUMBLE_TYPE_INCREASE,
MENU_ENUM_LABEL_RUMBLE_TYPE_DECREASE,
MENU_ENUM_LABEL_RUMBLE_TYPE_EQ_VALUE,
MENU_ENUM_LABEL_RUMBLE_TYPE_NEQ_VALUE,
MENU_ENUM_LABEL_RUMBLE_TYPE_LT_VALUE,
MENU_ENUM_LABEL_RUMBLE_TYPE_GT_VALUE,
MENU_ENUM_LABEL_RUMBLE_TYPE_INCREASE_BY_VALUE,
MENU_ENUM_LABEL_RUMBLE_TYPE_DECREASE_BY_VALUE,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_1,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_2,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_4,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_8,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_16,
MENU_ENUM_LABEL_CHEAT_MEMORY_SIZE_32,
MENU_ENUM_LABEL_RUMBLE_PORT_0,
MENU_ENUM_LABEL_RUMBLE_PORT_1,
MENU_ENUM_LABEL_RUMBLE_PORT_2,
MENU_ENUM_LABEL_RUMBLE_PORT_3,
MENU_ENUM_LABEL_RUMBLE_PORT_4,
MENU_ENUM_LABEL_RUMBLE_PORT_5,
MENU_ENUM_LABEL_RUMBLE_PORT_6,
MENU_ENUM_LABEL_RUMBLE_PORT_7,
MENU_ENUM_LABEL_RUMBLE_PORT_8,
MENU_ENUM_LABEL_RUMBLE_PORT_9,
MENU_ENUM_LABEL_RUMBLE_PORT_10,
MENU_ENUM_LABEL_RUMBLE_PORT_11,
MENU_ENUM_LABEL_RUMBLE_PORT_12,
MENU_ENUM_LABEL_RUMBLE_PORT_13,
MENU_ENUM_LABEL_RUMBLE_PORT_14,
MENU_ENUM_LABEL_RUMBLE_PORT_15,
MENU_ENUM_LABEL_RUMBLE_PORT_16,
MENU_ENUM_LABEL_CHEAT_SEARCH_EXACT_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_LT_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_LTE_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_GT_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_GTE_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_EQ_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_NEQ_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_EQPLUS_VAL,
MENU_ENUM_LABEL_CHEAT_SEARCH_EQMINUS_VAL,
MSG_CHEAT_INIT_SUCCESS,
MSG_CHEAT_INIT_FAIL,
MSG_CHEAT_SEARCH_NOT_INITIALIZED,
MSG_CHEAT_SEARCH_FOUND_MATCHES,
MSG_CHEAT_SEARCH_ADDED_MATCHES_SUCCESS,
MSG_CHEAT_SEARCH_ADDED_MATCHES_FAIL,
MSG_CHEAT_SEARCH_ADDED_MATCHES_TOO_MANY,
MSG_CHEAT_DELETE_ALL_INSTRUCTIONS,
MSG_CHEAT_ADD_TOP_SUCCESS,
MSG_CHEAT_ADD_BOTTOM_SUCCESS,
MSG_CHEAT_DELETE_ALL_SUCCESS,
MSG_CHEAT_ADD_AFTER_SUCCESS,
MSG_CHEAT_ADD_BEFORE_SUCCESS,
MSG_CHEAT_COPY_AFTER_SUCCESS,
MSG_CHEAT_COPY_BEFORE_SUCCESS,
MSG_CHEAT_DELETE_SUCCESS,
MSG_CHEAT_SEARCH_ADD_MATCH_SUCCESS,
MSG_CHEAT_SEARCH_ADD_MATCH_FAIL,
MSG_CHEAT_SEARCH_DELETE_MATCH_SUCCESS,
MSG_CHEEVOS_LOAD_STATE_PREVENTED_BY_HARDCORE_MODE,
MSG_CHEEVOS_HARDCORE_MODE_DISABLED,
MSG_CHEEVOS_HARDCORE_MODE_DISABLED_CHEAT,
2022-01-31 15:33:23 +00:00
MSG_CHEEVOS_MASTERED_GAME,
MSG_CHEEVOS_COMPLETED_GAME,
2020-05-21 23:26:06 +00:00
MENU_ENUM_LABEL_VALUE_TIMEDATE_YMD_HMS,
MENU_ENUM_LABEL_VALUE_TIMEDATE_YMD_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_YMD,
MENU_ENUM_LABEL_VALUE_TIMEDATE_YM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MDYYYY_HMS,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MDYYYY_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MD_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MDYYYY,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MD,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMMYYYY_HMS,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMMYYYY_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMM_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMMYYYY,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_HMS,
MENU_ENUM_LABEL_VALUE_TIMEDATE_HM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_YMD_HMS_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_YMD_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MDYYYY_HMS_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MDYYYY_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_MD_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMMYYYY_HMS_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMMYYYY_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_DDMM_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_HMS_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_HM_AMPM,
MENU_ENUM_LABEL_VALUE_TIMEDATE_AGO,
2020-07-27 04:27:35 +00:00
MENU_LABEL(SWITCH_GPU_PROFILE),
MENU_LABEL(SWITCH_CPU_PROFILE),
2018-10-06 12:52:44 +00:00
MENU_ENUM_LABEL_VALUE_DOWN_Y_L_R,
MENU_ENUM_LABEL_VALUE_L3_R3,
MENU_ENUM_LABEL_VALUE_L1_R1_START_SELECT,
MENU_ENUM_LABEL_VALUE_START_SELECT,
MENU_ENUM_LABEL_VALUE_L3_R,
MENU_ENUM_LABEL_VALUE_L_R,
MENU_ENUM_LABEL_VALUE_HOLD_START,
MENU_ENUM_LABEL_VALUE_HOLD_SELECT,
2019-01-28 16:43:57 +00:00
MENU_ENUM_LABEL_VALUE_DOWN_SELECT,
MENU_ENUM_LABEL_VALUE_L2_R2,
2019-01-09 22:13:13 +00:00
MENU_LABEL(PLAYLIST_USE_OLD_FORMAT),
2020-04-21 15:44:26 +00:00
MENU_LABEL(PLAYLIST_COMPRESSION),
2019-01-27 16:22:16 +00:00
MENU_LABEL(MENU_SOUNDS),
MENU_LABEL(MENU_SOUND_OK),
MENU_LABEL(MENU_SOUND_CANCEL),
MENU_LABEL(MENU_SOUND_NOTICE),
MENU_LABEL(MENU_SOUND_BGM),
MENU_LABEL(MENU_SOUND_SCROLL),
MENU_ENUM_LABEL_VALUE_VIDEO_DRIVER_FALLBACK,
MENU_LABEL(CONTENT_RUNTIME_LOG),
MENU_LABEL(CONTENT_RUNTIME_LOG_AGGREGATE),
MENU_LABEL(PLAYLIST_SHOW_INLINE_CORE_NAME),
MENU_LABEL(PLAYLIST_SORT_ALPHABETICAL),
MENU_LABEL(PLAYLIST_SHOW_SUBLABELS),
MENU_LABEL(PLAYLIST_SHOW_HISTORY_ICONS),
MENU_LABEL(PLAYLIST_SHOW_ENTRY_IDX),
MENU_LABEL(PLAYLIST_FUZZY_ARCHIVE_MATCH),
MENU_LABEL(PLAYLIST_SUBLABEL_RUNTIME_TYPE),
MENU_LABEL(PLAYLIST_SUBLABEL_LAST_PLAYED_STYLE),
MENU_LABEL(PLAYLIST_PORTABLE_PATHS),
MENU_LABEL(PLAYLIST_USE_FILENAME),
MENU_ENUM_LABEL_VALUE_PLAYLIST_INLINE_CORE_DISPLAY_HIST_FAV,
MENU_ENUM_LABEL_VALUE_PLAYLIST_INLINE_CORE_DISPLAY_ALWAYS,
MENU_ENUM_LABEL_VALUE_PLAYLIST_INLINE_CORE_DISPLAY_NEVER,
MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_REMOVE_ENABLE_HIST_FAV,
MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_REMOVE_ENABLE_ALL,
MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_REMOVE_ENABLE_NONE,
MENU_ENUM_LABEL_VALUE_PLAYLIST_SUBLABEL_CORE,
MENU_ENUM_LABEL_VALUE_PLAYLIST_SUBLABEL_RUNTIME,
MENU_ENUM_LABEL_VALUE_PLAYLIST_SUBLABEL_LAST_PLAYED,
MENU_ENUM_LABEL_VALUE_PLAYLIST_RUNTIME_PER_CORE,
MENU_ENUM_LABEL_VALUE_PLAYLIST_RUNTIME_AGGREGATE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_SECONDS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_SECONDS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_MINUTES_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_MINUTES_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_HOURS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_HOURS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_DAYS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_DAYS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_WEEKS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_WEEKS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_MONTHS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_MONTHS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_YEARS_SINGLE,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_YEARS_PLURAL,
MENU_ENUM_LABEL_VALUE_TIME_UNIT_AGO,
MENU_LABEL(HELP_SEND_DEBUG_INFO),
MENU_ENUM_LABEL_VALUE_HELP_SEND_DEBUG_INFO_DESC,
MSG_FAILED_TO_SAVE_DEBUG_INFO,
MSG_FAILED_TO_SEND_DEBUG_INFO,
MSG_SENDING_DEBUG_INFO,
MSG_SENT_DEBUG_INFO,
MSG_PRESS_TWO_MORE_TIMES_TO_SEND_DEBUG_INFO,
MSG_PRESS_ONE_MORE_TIME_TO_SEND_DEBUG_INFO,
MENU_LABEL(VIBRATE_ON_KEYPRESS),
MENU_LABEL(ENABLE_DEVICE_VIBRATION),
MENU_LABEL(VIDEO_GPU_INDEX),
2019-07-08 19:32:12 +00:00
MSG_DUMPING_DISC,
MSG_DRIVE_NUMBER,
2019-07-09 15:17:10 +00:00
MSG_LOAD_CORE_FIRST,
MSG_DISC_DUMP_FAILED_TO_READ_FROM_DRIVE,
MSG_DISC_DUMP_FAILED_TO_WRITE_TO_DISK,
MSG_NO_DISC_INSERTED,
2019-09-29 14:46:09 +00:00
MENU_LABEL(DELETE_PLAYLIST),
2019-07-08 19:32:12 +00:00
2019-11-29 17:13:35 +00:00
/* Manual content scan */
MENU_LABEL(MANUAL_CONTENT_SCAN_LIST),
MENU_LABEL(MANUAL_CONTENT_SCAN_DIR),
MENU_LABEL(MANUAL_CONTENT_SCAN_SYSTEM_NAME),
MENU_LABEL(MANUAL_CONTENT_SCAN_SYSTEM_NAME_CUSTOM),
MENU_LABEL(MANUAL_CONTENT_SCAN_CORE_NAME),
MENU_LABEL(MANUAL_CONTENT_SCAN_FILE_EXTS),
MENU_LABEL(MANUAL_CONTENT_SCAN_SEARCH_RECURSIVELY),
MENU_LABEL(MANUAL_CONTENT_SCAN_SEARCH_ARCHIVES),
MENU_LABEL(MANUAL_CONTENT_SCAN_DAT_FILE),
MENU_LABEL(MANUAL_CONTENT_SCAN_DAT_FILE_FILTER),
2019-11-29 17:13:35 +00:00
MENU_LABEL(MANUAL_CONTENT_SCAN_OVERWRITE),
MENU_LABEL(MANUAL_CONTENT_SCAN_VALIDATE_ENTRIES),
2019-11-29 17:13:35 +00:00
MENU_LABEL(MANUAL_CONTENT_SCAN_START),
MENU_ENUM_LABEL_VALUE_MANUAL_CONTENT_SCAN_SYSTEM_NAME_USE_CONTENT_DIR,
MENU_ENUM_LABEL_VALUE_MANUAL_CONTENT_SCAN_SYSTEM_NAME_USE_CUSTOM,
MENU_ENUM_LABEL_VALUE_MANUAL_CONTENT_SCAN_CORE_NAME_DETECT,
MSG_MANUAL_CONTENT_SCAN_DAT_FILE_INVALID,
MSG_MANUAL_CONTENT_SCAN_DAT_FILE_TOO_LARGE,
MSG_MANUAL_CONTENT_SCAN_DAT_FILE_LOAD_ERROR,
2019-11-29 17:13:35 +00:00
MSG_MANUAL_CONTENT_SCAN_INVALID_CONFIG,
MSG_MANUAL_CONTENT_SCAN_INVALID_CONTENT,
MSG_MANUAL_CONTENT_SCAN_START,
MSG_MANUAL_CONTENT_SCAN_PLAYLIST_CLEANUP,
2019-11-29 17:13:35 +00:00
MSG_MANUAL_CONTENT_SCAN_IN_PROGRESS,
MSG_MANUAL_CONTENT_SCAN_M3U_CLEANUP,
2019-11-29 17:13:35 +00:00
MSG_MANUAL_CONTENT_SCAN_END,
MSG_3DS_BOTTOM_MENU_DEFAULT,
MSG_3DS_BOTTOM_MENU_ASSET_NOT_FOUND,
MSG_3DS_BOTTOM_MENU_NO_STATE_DATA,
MSG_3DS_BOTTOM_MENU_NO_STATE_THUMBNAIL,
MSG_3DS_BOTTOM_MENU_RESUME,
MSG_3DS_BOTTOM_MENU_SAVE_STATE,
MSG_3DS_BOTTOM_MENU_LOAD_STATE,
MSG_LAST,
/* Ensure sizeof(enum) == sizeof(int) */
MSG_DUMMY = INT_MAX
2016-06-14 13:04:49 +00:00
};
/* Callback strings */
2016-06-14 13:04:49 +00:00
const char *msg_hash_to_str(enum msg_hash_enums msg);
2015-07-01 12:37:20 +00:00
2016-06-14 13:04:49 +00:00
const char *msg_hash_to_str_us(enum msg_hash_enums msg);
int msg_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len);
2016-06-20 01:35:09 +00:00
int msg_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len);
2015-07-01 12:37:20 +00:00
2016-06-28 10:19:18 +00:00
enum msg_file_type msg_hash_to_file_type(uint32_t hash);
2015-07-01 12:37:20 +00:00
unsigned *msg_hash_get_uint(enum msg_hash_action type);
void msg_hash_set_uint(enum msg_hash_action type, unsigned val);
/* Latin languages typically consist of regular
* alpha numeric characters with a 'standard'
* on-screen pixel width.
* Non-Latin languages (e.g. CJK) typically consist
* of so-called 'wide' Unicode glyphs, which may have
* an on-screen pixel width several times that of Latin
* characters.
* In order to determine efficiently the on-screen width
* of a text string (e.g. when word wrapping), it is
* therefore necessary to:
* - Identify which languages make use of 'wide' Unicode
* glyphs
* - For each of these languages, provide a mechanism for
* measuring the typical on-screen pixel width of
* language-specific 'wide' Unicode glyphs
* As such, msg_hash_get_wideglyph_str() returns a pointer
* to a 'wide' Unicode character of typical on-screen pixel
* width for the currently set user language.
* - If msg_hash_get_wideglyph_str() returns NULL, the current
* language is assumed to be Latin-based, with no usage
* of 'wide' Unicode glyphs
* - If msg_hash_get_wideglyph_str() returns a valid pointer,
* actual 'wide' glyph width for the current language may
* be found by passing said pointer to the current font
* rendering implementation */
const char *msg_hash_get_wideglyph_str(void);
2015-07-01 17:30:34 +00:00
uint32_t msg_hash_calculate(const char *s);
2019-11-16 03:08:49 +00:00
const char *get_user_language_iso639_1(bool limit);
2016-06-03 00:39:35 +00:00
RETRO_END_DECLS
2016-06-03 00:08:27 +00:00
2015-07-01 12:37:20 +00:00
#endif