diff options
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 99 |
1 files changed, 78 insertions, 21 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index ed9c7d859..f7050a4b0 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp | |||
| @@ -37,13 +37,30 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 37 | QStringLiteral()); | 37 | QStringLiteral()); |
| 38 | 38 | ||
| 39 | // Core | 39 | // Core |
| 40 | INSERT(Settings, use_multi_core, tr("Multicore CPU Emulation"), QStringLiteral()); | 40 | INSERT( |
| 41 | INSERT(Settings, memory_layout_mode, tr("Memory Layout"), QStringLiteral()); | 41 | Settings, use_multi_core, tr("Multicore CPU Emulation"), |
| 42 | tr("This option increases CPU emulation thread use from 1 to the Switch’s maximum of 4.\n" | ||
| 43 | "This is mainly a debug option and shouldn’t be disabled.")); | ||
| 44 | INSERT( | ||
| 45 | Settings, memory_layout_mode, tr("Memory Layout"), | ||
| 46 | tr("Increases the amount of emulated RAM from the stock 4GB of the retail Switch to the " | ||
| 47 | "developer kit's 8/6GB.\nIt’s doesn’t improve stability or performance and is intended " | ||
| 48 | "to let big texture mods fit in the “console's” RAM.\nEnabling it will increase RAM " | ||
| 49 | "use. It is not recommended to enable unless a specific game with a texture mod needs " | ||
| 50 | "it.\n" | ||
| 51 | "8GB is known to break Pokémon Scarlet/Violet.")); | ||
| 42 | INSERT(Settings, use_speed_limit, QStringLiteral(), QStringLiteral()); | 52 | INSERT(Settings, use_speed_limit, QStringLiteral(), QStringLiteral()); |
| 43 | INSERT(Settings, speed_limit, tr("Limit Speed Percent"), QStringLiteral()); | 53 | INSERT( |
| 54 | Settings, speed_limit, tr("Limit Speed Percent"), | ||
| 55 | tr("Controls the game's running speed, but it’s up to each game if they will run faster or " | ||
| 56 | "not.\n200% for a 30 FPS game is 60 FPS, and for a " | ||
| 57 | "60 FPS game it will be 120 FPS.\nDisabling it means unlocking the framerate to the " | ||
| 58 | "maximum your PC can reach.")); | ||
| 44 | 59 | ||
| 45 | // Cpu | 60 | // Cpu |
| 46 | INSERT(Settings, cpu_accuracy, tr("Accuracy:"), QStringLiteral()); | 61 | INSERT(Settings, cpu_accuracy, tr("Accuracy:"), |
| 62 | tr("This setting controls the accuracy of the emulated CPU.\nDon't change this, unless " | ||
| 63 | "you know what you are doing.")); | ||
| 47 | INSERT(Settings, cpu_backend, tr("Backend:"), QStringLiteral()); | 64 | INSERT(Settings, cpu_backend, tr("Backend:"), QStringLiteral()); |
| 48 | 65 | ||
| 49 | // Cpu Debug | 66 | // Cpu Debug |
| @@ -63,34 +80,74 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 63 | tr("This option improves the speed of 32 bits ASIMD floating-point functions by running " | 80 | tr("This option improves the speed of 32 bits ASIMD floating-point functions by running " |
| 64 | "with incorrect rounding modes.")); | 81 | "with incorrect rounding modes.")); |
| 65 | INSERT(Settings, cpuopt_unsafe_inaccurate_nan, tr("Inaccurate NaN handling"), | 82 | INSERT(Settings, cpuopt_unsafe_inaccurate_nan, tr("Inaccurate NaN handling"), |
| 66 | tr("This option improves speed by removing NaN checking. Please note this also reduces " | 83 | tr("This option improves speed by removing NaN checking.\nPlease note this also reduces " |
| 67 | "accuracy of certain floating-point instructions.")); | 84 | "accuracy of certain floating-point instructions.")); |
| 68 | INSERT(Settings, cpuopt_unsafe_fastmem_check, tr("Disable address space checks"), | 85 | INSERT(Settings, cpuopt_unsafe_fastmem_check, tr("Disable address space checks"), |
| 69 | tr("This option improves speed by eliminating a safety check before every memory " | 86 | tr("This option improves speed by eliminating a safety check before every memory " |
| 70 | "read/write " | 87 | "read/write in guest.\nDisabling it may allow a game to read/write the emulator's " |
| 71 | "in guest. Disabling it may allow a game to read/write the emulator's memory.")); | 88 | "memory.")); |
| 72 | INSERT( | 89 | INSERT( |
| 73 | Settings, cpuopt_unsafe_ignore_global_monitor, tr("Ignore global monitor"), | 90 | Settings, cpuopt_unsafe_ignore_global_monitor, tr("Ignore global monitor"), |
| 74 | tr("This option improves speed by relying only on the semantics of cmpxchg to ensure " | 91 | tr("This option improves speed by relying only on the semantics of cmpxchg to ensure " |
| 75 | "safety of exclusive access instructions. Please note this may result in deadlocks and " | 92 | "safety of exclusive access instructions.\nPlease note this may result in deadlocks and " |
| 76 | "other race conditions.")); | 93 | "other race conditions.")); |
| 77 | 94 | ||
| 78 | // Renderer | 95 | // Renderer |
| 79 | INSERT(Settings, renderer_backend, tr("API:"), QStringLiteral()); | 96 | INSERT( |
| 80 | INSERT(Settings, vulkan_device, tr("Device:"), QStringLiteral()); | 97 | Settings, renderer_backend, tr("API:"), |
| 81 | INSERT(Settings, shader_backend, tr("Shader Backend:"), QStringLiteral()); | 98 | tr("Switches between the available graphics APIs.\nVulkan is recommended in most cases.")); |
| 82 | INSERT(Settings, resolution_setup, tr("Resolution:"), QStringLiteral()); | 99 | INSERT(Settings, vulkan_device, tr("Device:"), |
| 100 | tr("This setting selects the GPU to use with the Vulkan backend.")); | ||
| 101 | INSERT(Settings, shader_backend, tr("Shader Backend:"), | ||
| 102 | tr("The shader backend to use for the OpenGL renderer.\nGLSL is the fastest in " | ||
| 103 | "performance and the best in rendering accuracy.\n" | ||
| 104 | "GLASM is a deprecated NVIDIA-only backend that offers much better shader building " | ||
| 105 | "performance at the cost of FPS and rendering accuracy.\n" | ||
| 106 | "SPIR-V is experimental, and no GPU driver makes a good implementation of it yet.")); | ||
| 107 | INSERT(Settings, resolution_setup, tr("Resolution:"), | ||
| 108 | tr("Forces the game to render at a different resolution.\nHigher resolutions require " | ||
| 109 | "much more VRAM and bandwidth.\n" | ||
| 110 | "Options lower than 1X can cause rendering issues.")); | ||
| 83 | INSERT(Settings, scaling_filter, tr("Window Adapting Filter:"), QStringLiteral()); | 111 | INSERT(Settings, scaling_filter, tr("Window Adapting Filter:"), QStringLiteral()); |
| 84 | INSERT(Settings, fsr_sharpening_slider, tr("FSR Sharpness:"), QStringLiteral()); | 112 | INSERT(Settings, fsr_sharpening_slider, tr("FSR Sharpness:"), |
| 85 | INSERT(Settings, anti_aliasing, tr("Anti-Aliasing Method:"), QStringLiteral()); | 113 | tr("Determines how sharpened the image will look while using FSR’s dynamic contrast.")); |
| 86 | INSERT(Settings, fullscreen_mode, tr("Fullscreen Mode:"), QStringLiteral()); | 114 | INSERT(Settings, anti_aliasing, tr("Anti-Aliasing Method:"), |
| 87 | INSERT(Settings, aspect_ratio, tr("Aspect Ratio:"), QStringLiteral()); | 115 | tr("The anti-aliasing method to use.\nSMAA offers the best quality.\nFXAA has a " |
| 88 | INSERT(Settings, use_disk_shader_cache, tr("Use disk pipeline cache"), QStringLiteral()); | 116 | "lower performance impact and can produce a better and more stable picture under " |
| 117 | "very low resolutions.")); | ||
| 118 | INSERT( | ||
| 119 | Settings, fullscreen_mode, tr("Fullscreen Mode:"), | ||
| 120 | tr("The method used to render the window in fullscreen.\nBorderless offers the best " | ||
| 121 | "compatibility with the on-screen keyboard that some games request for input.\nExclusive " | ||
| 122 | "fullscreen may offer better performance and better Freesync/Gsync support.")); | ||
| 123 | INSERT(Settings, aspect_ratio, tr("Aspect Ratio:"), | ||
| 124 | tr("Stretches the game to fit the specified aspect ratio.\nSwitch games only support " | ||
| 125 | "16:9, so custom game mods are required to get other ratios.\nAlso controls the " | ||
| 126 | "aspect ratio of captured screenshots.")); | ||
| 127 | INSERT( | ||
| 128 | Settings, use_disk_shader_cache, tr("Use disk pipeline cache"), | ||
| 129 | tr("Allows saving shaders to storage for faster loading on following game boots.\nDisabling " | ||
| 130 | "it is only intended for debugging.")); | ||
| 89 | INSERT(Settings, use_asynchronous_gpu_emulation, tr("Use asynchronous GPU emulation"), | 131 | INSERT(Settings, use_asynchronous_gpu_emulation, tr("Use asynchronous GPU emulation"), |
| 90 | QStringLiteral()); | 132 | tr("Uses an extra CPU thread for rendering.\nThis option should always remain enabled.")); |
| 91 | INSERT(Settings, nvdec_emulation, tr("NVDEC emulation:"), QStringLiteral()); | 133 | INSERT(Settings, nvdec_emulation, tr("NVDEC emulation:"), |
| 92 | INSERT(Settings, accelerate_astc, tr("ASTC Decoding Method:"), QStringLiteral()); | 134 | tr("Specifies how videos should be decoded.\nIt can either use the CPU or the GPU for " |
| 93 | INSERT(Settings, astc_recompression, tr("ASTC Recompression Method:"), QStringLiteral()); | 135 | "decoding, or perform no decoding at all (black screen on videos).\n" |
| 136 | "In most cases, GPU decoding provides the best performance.")); | ||
| 137 | INSERT(Settings, accelerate_astc, tr("ASTC Decoding Method:"), | ||
| 138 | tr("This option controls how ASTC textures should be decoded.\n" | ||
| 139 | "CPU: Use the CPU for decoding, slowest but safest method.\n" | ||
| 140 | "GPU: Use the GPU's compute shaders to decode ASTC textures, recommended for most " | ||
| 141 | "games and users.\n" | ||
| 142 | "CPU Asynchronously: Use the CPU to decode ASTC textures as they arrive. Completely " | ||
| 143 | "eliminates ASTC decoding stuttering at the cost of rendering issues, while the " | ||
| 144 | "texture is being decoded.")); | ||
| 145 | INSERT( | ||
| 146 | Settings, astc_recompression, tr("ASTC Recompression Method:"), | ||
| 147 | tr("Almost all desktop and laptop dedicated GPUs lack support for ASTC textures, forcing " | ||
| 148 | "the emulator to recompress to an intermediate format any card supports, RGBA8.\n" | ||
| 149 | "This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but " | ||
| 150 | "negatively affecting image quality.")); | ||
| 94 | INSERT( | 151 | INSERT( |
| 95 | Settings, vsync_mode, tr("VSync Mode:"), | 152 | Settings, vsync_mode, tr("VSync Mode:"), |
| 96 | tr("FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen " | 153 | tr("FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen " |