diff --git a/.ci/scripts/android/build.sh b/.ci/scripts/android/build.sh new file mode 100755 index 000000000..a5fd1ee18 --- /dev/null +++ b/.ci/scripts/android/build.sh @@ -0,0 +1,15 @@ +#!/bin/bash -ex + +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +export NDK_CCACHE="$(which ccache)" +ccache -s + +BUILD_FLAVOR=mainline + +cd src/android +chmod +x ./gradlew +./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release" + +ccache -s diff --git a/.ci/scripts/android/upload.sh b/.ci/scripts/android/upload.sh new file mode 100755 index 000000000..cfaeff328 --- /dev/null +++ b/.ci/scripts/android/upload.sh @@ -0,0 +1,27 @@ +#!/bin/bash -ex + +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +. ./.ci/scripts/common/pre-upload.sh + +REV_NAME="yuzu-${GITDATE}-${GITREV}" + +BUILD_FLAVOR=mainline + +cp src/android/app/build/outputs/apk/"${BUILD_FLAVOR}/release/app-${BUILD_FLAVOR}-release.apk" \ + "artifacts/${REV_NAME}.apk" +cp src/android/app/build/outputs/bundle/"${BUILD_FLAVOR}Release"/"app-${BUILD_FLAVOR}-release.aab" \ + "artifacts/${REV_NAME}.aab" + +if [ -n "${ANDROID_KEYSTORE_B64}" ] +then + echo "Signing apk..." + base64 --decode <<< "${ANDROID_KEYSTORE_B64}" > ks.jks + + apksigner sign --ks ks.jks \ + --ks-key-alias "${ANDROID_KEY_ALIAS}" \ + --ks-pass env:ANDROID_KEYSTORE_PASS "artifacts/${REV_NAME}.apk" +else + echo "No keystore specified, not signing the APK files." +fi diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index c8bc56c9a..7f6d2ad1b 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh @@ -22,6 +22,7 @@ cmake .. \ -DUSE_DISCORD_PRESENCE=ON \ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \ -DYUZU_USE_BUNDLED_FFMPEG=ON \ + -DYUZU_ENABLE_LTO=ON \ -GNinja ninja diff --git a/.ci/scripts/windows/scan_dll.py b/.ci/scripts/windows/scan_dll.py index f374e0d78..a536f7375 100644 --- a/.ci/scripts/windows/scan_dll.py +++ b/.ci/scripts/windows/scan_dll.py @@ -40,7 +40,7 @@ def parse_imports(file_name): def parse_imports_recursive(file_name, path_list=[]): q = queue.Queue() # create a FIFO queue - # file_name can be a string or a list for the convience + # file_name can be a string or a list for the convenience if isinstance(file_name, str): q.put(file_name) elif isinstance(file_name, list): diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index 21abcd752..492763420 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 @@ -26,7 +26,11 @@ $env:BUILD_ZIP = $MSVC_BUILD_ZIP $env:BUILD_SYMBOLS = $MSVC_BUILD_PDB $env:BUILD_UPDATE = $MSVC_SEVENZIP -$BUILD_DIR = ".\build\bin\Release" +if (Test-Path -Path ".\build\bin\Release") { + $BUILD_DIR = ".\build\bin\Release" +} else { + $BUILD_DIR = ".\build\bin\" +} # Cleanup unneeded data in submodules git submodule foreach git clean -fxd diff --git a/.ci/templates/build-msvc.yml b/.ci/templates/build-msvc.yml index c379dd757..ceb7e0c32 100644 --- a/.ci/templates/build-msvc.yml +++ b/.ci/templates/build-msvc.yml @@ -9,7 +9,7 @@ parameters: steps: - script: choco install vulkan-sdk displayName: 'Install vulkan-sdk' -- script: refreshenv && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw /GA /Gr /Ob2" cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DYUZU_TESTS=OFF -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DDISPLAY_VERSION=${{ parameters['version'] }} -DCMAKE_BUILD_TYPE=Release -DYUZU_CRASH_DUMPS=ON .. && cd .. +- script: refreshenv && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw /GA /Gr /Ob2" cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -DYUZU_ENABLE_LTO=ON -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DYUZU_TESTS=OFF -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DDISPLAY_VERSION=${{ parameters['version'] }} -DCMAKE_BUILD_TYPE=Release -DYUZU_CRASH_DUMPS=ON .. && cd .. displayName: 'Configure CMake' - task: MSBuild@1 displayName: 'Build' diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..01ddd2362 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,6 @@ +; SPDX-FileCopyrightText: 2023 yuzu Emulator Project +; SPDX-License-Identifier: GPL-2.0-or-later + +[codespell] +skip = ./.git,./build,./dist,./Doxyfile,./externals,./LICENSES,./src/android/app/src/main/res +ignore-words-list = aci,allright,ba,deques,froms,hda,inout,lod,masia,nam,nax,nd,optin,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1405ccce8..a28f0473f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -43,7 +43,7 @@ body: id: log attributes: label: Log File - description: A log file will help our developers to better diagnose and fix the issue. + description: A log file will help our developers to better diagnose and fix the issue. Instructions can be found [here](https://yuzu-emu.org/help/reference/log-files). validations: required: true - type: textarea diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 000000000..d873fb725 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later +# GitHub Action to automate the identification of common misspellings in text files. +# https://github.com/codespell-project/actions-codespell +# https://github.com/codespell-project/codespell +name: codespell +on: pull_request +permissions: {} +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false + - uses: codespell-project/actions-codespell@master diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 7cde8380b..bd4141f56 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -122,3 +122,46 @@ jobs: with: name: ${{ env.INDIVIDUAL_EXE }} path: ${{ env.INDIVIDUAL_EXE }} + android: + runs-on: ubuntu-latest + needs: format + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'adopt' + - name: Set up cache + uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + ~/.ccache + key: ${{ runner.os }}-android-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-android- + - name: Query tag name + uses: olegtarasov/get-tag@v2.1.2 + id: tagName + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y ccache apksigner glslang-dev glslang-tools + git -C ./externals/vcpkg/ fetch --all --unshallow + - name: Build + run: ./.ci/scripts/android/build.sh + - name: Copy and sign artifacts + env: + ANDROID_KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_B64 }} + ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} + ANDROID_KEYSTORE_PASS: ${{ secrets.ANDROID_KEYSTORE_PASS }} + run: ./.ci/scripts/android/upload.sh + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: android + path: artifacts/ diff --git a/.gitignore b/.gitignore index a5f7248c7..fbadb208b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,8 @@ CMakeSettings.json # OSX global filetypes # Created by Finder or Spotlight in directories for various OS functionality (indexing, etc) .DS_Store +.DS_Store? +._* .AppleDouble .LSOverride .Spotlight-V100 diff --git a/.gitmodules b/.gitmodules index 8e98ee9cb..9f96b70be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,38 +2,35 @@ # SPDX-License-Identifier: GPL-2.0-or-later [submodule "enet"] - path = externals/enet - url = https://github.com/lsalzman/enet.git + path = externals/enet + url = https://github.com/lsalzman/enet.git [submodule "inih"] - path = externals/inih/inih - url = https://github.com/benhoyt/inih.git + path = externals/inih/inih + url = https://github.com/benhoyt/inih.git [submodule "cubeb"] - path = externals/cubeb - url = https://github.com/mozilla/cubeb.git + path = externals/cubeb + url = https://github.com/mozilla/cubeb.git [submodule "dynarmic"] - path = externals/dynarmic - url = https://github.com/MerryMage/dynarmic.git -[submodule "libressl"] - path = externals/libressl - url = https://github.com/citra-emu/ext-libressl-portable.git + path = externals/dynarmic + url = https://github.com/merryhime/dynarmic.git [submodule "libusb"] path = externals/libusb/libusb url = https://github.com/libusb/libusb.git [submodule "discord-rpc"] - path = externals/discord-rpc - url = https://github.com/yuzu-emu/discord-rpc.git + path = externals/discord-rpc + url = https://github.com/yuzu-emu/discord-rpc.git [submodule "Vulkan-Headers"] - path = externals/Vulkan-Headers - url = https://github.com/KhronosGroup/Vulkan-Headers.git + path = externals/Vulkan-Headers + url = https://github.com/KhronosGroup/Vulkan-Headers.git [submodule "sirit"] - path = externals/sirit - url = https://github.com/yuzu-emu/sirit + path = externals/sirit + url = https://github.com/yuzu-emu/sirit.git [submodule "mbedtls"] - path = externals/mbedtls - url = https://github.com/yuzu-emu/mbedtls + path = externals/mbedtls + url = https://github.com/yuzu-emu/mbedtls.git [submodule "xbyak"] - path = externals/xbyak - url = https://github.com/herumi/xbyak.git + path = externals/xbyak + url = https://github.com/herumi/xbyak.git [submodule "opus"] path = externals/opus/opus url = https://github.com/xiph/opus.git @@ -48,7 +45,16 @@ url = https://github.com/FFmpeg/FFmpeg.git [submodule "vcpkg"] path = externals/vcpkg - url = https://github.com/Microsoft/vcpkg.git + url = https://github.com/microsoft/vcpkg.git [submodule "cpp-jwt"] path = externals/cpp-jwt url = https://github.com/arun11299/cpp-jwt.git +[submodule "libadrenotools"] + path = externals/libadrenotools + url = https://github.com/bylaws/libadrenotools.git +[submodule "tzdb_to_nx"] + path = externals/nx_tzdb/tzdb_to_nx + url = https://github.com/lat9nq/tzdb_to_nx.git +[submodule "VulkanMemoryAllocator"] + path = externals/vma/VulkanMemoryAllocator + url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git diff --git a/.lgtm.yml b/.lgtm.yml deleted file mode 100644 index 7cd3f9926..000000000 --- a/.lgtm.yml +++ /dev/null @@ -1,13 +0,0 @@ -# SPDX-FileCopyrightText: 2020 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -path_classifiers: - library: "externals" -extraction: - cpp: - prepare: - packages: - - "libsdl2-dev" - - "qtmultimedia5-dev" - - "libtbb-dev" - - "libjack-jackd2-dev" diff --git a/.reuse/dep5 b/.reuse/dep5 index 3810f2c41..31178fc4c 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -135,3 +135,15 @@ License: GPL-3.0-or-later Files: .github/ISSUE_TEMPLATE/* Copyright: 2022 yuzu Emulator Project License: GPL-2.0-or-later + +Files: src/android/app/src/ea/res/* +Copyright: 2023 yuzu Emulator Project +License: GPL-3.0-or-later + +Files: src/android/app/src/main/res/* +Copyright: 2023 yuzu Emulator Project +License: GPL-3.0-or-later + +Files: src/android/gradle/wrapper/* +Copyright: 2023 yuzu Emulator Project +License: GPL-3.0-or-later diff --git a/CMakeLists.txt b/CMakeLists.txt index 8896fe0be..f5ef0ef50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modul include(DownloadExternals) include(CMakeDependentOption) include(CTest) +include(FetchContent) # Set bundled sdl2/qt as dependent options. # OFF by default, but if ENABLE_SDL2 and MSVC are true then ON @@ -19,7 +20,7 @@ CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" ON # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ON "ENABLE_SDL2;NOT MSVC" OFF) -option(ENABLE_LIBUSB "Enable the use of LibUSB" ON) +cmake_dependent_option(ENABLE_LIBUSB "Enable the use of LibUSB" ON "NOT ANDROID" OFF) option(ENABLE_OPENGL "Enable OpenGL" ON) mark_as_advanced(FORCE ENABLE_OPENGL) @@ -48,7 +49,7 @@ option(YUZU_TESTS "Compile tests" "${BUILD_TESTING}") option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) -option(YUZU_ROOM "Compile LDN room server" ON) +cmake_dependent_option(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF) CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF) @@ -56,15 +57,82 @@ option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}") option(YUZU_CHECK_SUBMODULES "Check if submodules are present" ON) +option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF) + +option(YUZU_DOWNLOAD_TIME_ZONE_DATA "Always download time zone binaries" OFF) + CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF) +# On Android, fetch and compile libcxx before doing anything else +if (ANDROID) + set(CMAKE_SKIP_INSTALL_RULES ON) + set(LLVM_VERSION "15.0.6") + + # Note: even though libcxx and libcxxabi have separate releases on the project page, + # the separated releases cannot be compiled. Only in-tree builds work. Therefore we + # must fetch the source release for the entire llvm tree. + FetchContent_Declare(llvm + URL "https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-project-${LLVM_VERSION}.src.tar.xz" + URL_HASH SHA256=9d53ad04dc60cb7b30e810faf64c5ab8157dadef46c8766f67f286238256ff92 + TLS_VERIFY TRUE + ) + FetchContent_MakeAvailable(llvm) + + # libcxx has support for most of the range library, but it's gated behind a flag: + add_compile_definitions(_LIBCPP_ENABLE_EXPERIMENTAL) + + # Disable standard header inclusion + set(ANDROID_STL "none") + + # libcxxabi + set(LIBCXXABI_INCLUDE_TESTS OFF) + set(LIBCXXABI_ENABLE_SHARED FALSE) + set(LIBCXXABI_ENABLE_STATIC TRUE) + set(LIBCXXABI_LIBCXX_INCLUDES "${LIBCXX_TARGET_INCLUDE_DIRECTORY}" CACHE STRING "" FORCE) + add_subdirectory("${llvm_SOURCE_DIR}/libcxxabi" "${llvm_BINARY_DIR}/libcxxabi") + link_libraries(cxxabi_static) + + # libcxx + set(LIBCXX_ABI_NAMESPACE "__ndk1" CACHE STRING "" FORCE) + set(LIBCXX_CXX_ABI "libcxxabi") + set(LIBCXX_INCLUDE_TESTS OFF) + set(LIBCXX_INCLUDE_BENCHMARKS OFF) + set(LIBCXX_INCLUDE_DOCS OFF) + set(LIBCXX_ENABLE_SHARED FALSE) + set(LIBCXX_ENABLE_STATIC TRUE) + set(LIBCXX_ENABLE_ASSERTIONS FALSE) + add_subdirectory("${llvm_SOURCE_DIR}/libcxx" "${llvm_BINARY_DIR}/libcxx") + set_target_properties(cxx-headers PROPERTIES INTERFACE_COMPILE_OPTIONS "-isystem${CMAKE_BINARY_DIR}/${LIBCXX_INSTALL_INCLUDE_DIR}") + link_libraries(cxx_static cxx-headers) +endif() + if (YUZU_USE_BUNDLED_VCPKG) + if (ANDROID) + set(ENV{ANDROID_NDK_HOME} "${ANDROID_NDK}") + list(APPEND VCPKG_MANIFEST_FEATURES "android") + + if (CMAKE_ANDROID_ARCH_ABI STREQUAL "arm64-v8a") + set(VCPKG_TARGET_TRIPLET "arm64-android") + # this is to avoid CMake using the host pkg-config to find the host + # libraries when building for Android targets + set(PKG_CONFIG_EXECUTABLE "aarch64-none-linux-android-pkg-config" CACHE FILEPATH "" FORCE) + elseif (CMAKE_ANDROID_ARCH_ABI STREQUAL "x86_64") + set(VCPKG_TARGET_TRIPLET "x64-android") + set(PKG_CONFIG_EXECUTABLE "x86_64-none-linux-android-pkg-config" CACHE FILEPATH "" FORCE) + else() + message(FATAL_ERROR "Unsupported Android architecture ${CMAKE_ANDROID_ARCH_ABI}") + endif() + endif() + if (YUZU_TESTS) list(APPEND VCPKG_MANIFEST_FEATURES "yuzu-tests") endif() if (YUZU_CRASH_DUMPS) list(APPEND VCPKG_MANIFEST_FEATURES "dbghelp") endif() + if (ENABLE_WEB_SERVICE) + list(APPEND VCPKG_MANIFEST_FEATURES "web-service") + endif() include(${CMAKE_SOURCE_DIR}/externals/vcpkg/scripts/buildsystems/vcpkg.cmake) elseif(NOT "$ENV{VCPKG_TOOLCHAIN_FILE}" STREQUAL "") @@ -189,7 +257,7 @@ endif() # boost asio's concept usage doesn't play nicely with some compilers yet. add_definitions(-DBOOST_ASIO_DISABLE_CONCEPTS) if (MSVC) - add_compile_options($<$:/std:c++latest>) + add_compile_options($<$:/std:c++20>) # boost still makes use of deprecated result_of. add_definitions(-D_HAS_DEPRECATED_RESULT_OF) @@ -205,10 +273,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) # ======================================================================= # Enforce the search mode of non-required packages for better and shorter failure messages +find_package(Boost 1.79.0 REQUIRED context) find_package(enet 1.3 MODULE) find_package(fmt 9 REQUIRED) -find_package(inih MODULE) -find_package(LLVM MODULE) +find_package(inih 52 MODULE COMPONENTS INIReader) +find_package(LLVM MODULE COMPONENTS Demangle) find_package(lz4 REQUIRED) find_package(nlohmann_json 3.8 REQUIRED) find_package(Opus 1.3 MODULE) @@ -216,7 +285,7 @@ find_package(ZLIB 1.2 REQUIRED) find_package(zstd 1.5 REQUIRED) if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS) - find_package(Vulkan 1.3.238 REQUIRED) + find_package(Vulkan 1.3.246 REQUIRED) endif() if (ENABLE_LIBUSB) @@ -241,26 +310,13 @@ endif() if (ENABLE_WEB_SERVICE) find_package(cpp-jwt 1.4 CONFIG) - find_package(httplib 0.11 MODULE) + find_package(httplib 0.12 MODULE COMPONENTS OpenSSL) endif() if (YUZU_TESTS) find_package(Catch2 3.0.1 REQUIRED) endif() -find_package(Boost 1.73.0 COMPONENTS context) -if (Boost_FOUND) - set(Boost_LIBRARIES Boost::boost) - # Conditionally add Boost::context only if the found Boost package provides it - # The old version is missing Boost::context, so we want to avoid adding in that case - # The new version requires adding Boost::context to prevent linking issues - if (TARGET Boost::context) - list(APPEND Boost_LIBRARIES Boost::context) - endif() -else() - message(FATAL_ERROR "Boost 1.73.0 or newer not found") -endif() - # boost:asio has functions that require AcceptEx et al if (MINGW) find_library(MSWSOCK_LIBRARY mswsock REQUIRED) @@ -351,12 +407,12 @@ if(ENABLE_QT) find_package(PkgConfig REQUIRED) pkg_check_modules(QT_DEP_GLU QUIET glu>=9.0.0) if (NOT QT_DEP_GLU_FOUND) - message(FATAL_ERROR "Qt bundled pacakge dependency `glu` not found. \ + message(FATAL_ERROR "Qt bundled package dependency `glu` not found. \ Perhaps `libglu1-mesa-dev` needs to be installed?") endif() pkg_check_modules(QT_DEP_MESA QUIET dri>=20.0.8) if (NOT QT_DEP_MESA_FOUND) - message(FATAL_ERROR "Qt bundled pacakge dependency `dri` not found. \ + message(FATAL_ERROR "Qt bundled package dependency `dri` not found. \ Perhaps `mesa-common-dev` needs to be installed?") endif() @@ -433,7 +489,7 @@ if (ENABLE_SDL2) if (YUZU_USE_BUNDLED_SDL2) # Detect toolchain and platform if ((MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS 1940) AND ARCHITECTURE_x86_64) - set(SDL2_VER "SDL2-2.0.18") + set(SDL2_VER "SDL2-2.28.0") else() message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable YUZU_USE_BUNDLED_SDL2 and provide your own.") endif() @@ -453,25 +509,18 @@ if (ENABLE_SDL2) elseif (YUZU_USE_EXTERNAL_SDL2) message(STATUS "Using SDL2 from externals.") else() - find_package(SDL2 2.0.18 REQUIRED) + find_package(SDL2 2.26.4 REQUIRED) endif() endif() -# Reexport some targets that are named differently when using the upstream CmakeConfig -# In order to ALIAS targets to a new name, they first need to be IMPORTED_GLOBAL -# Dynarmic checks for target `boost` and so we want to make sure it can find it through our system instead of using their external -if (TARGET Boost::boost) - set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE) - add_library(boost ALIAS Boost::boost) -endif() - # List of all FFmpeg components required set(FFmpeg_COMPONENTS avcodec + avfilter avutil swscale) -if (UNIX AND NOT APPLE) +if (UNIX AND NOT APPLE AND NOT ANDROID) find_package(PkgConfig REQUIRED) pkg_check_modules(LIBVA libva) endif() @@ -492,8 +541,8 @@ if (APPLE) find_library(COCOA_LIBRARY Cocoa) set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY}) elseif (WIN32) - # WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista) - add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600) + # Target Windows 10 + add_definitions(-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00) set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi) if (MINGW) # PSAPI is the Process Status API @@ -580,11 +629,7 @@ function(create_target_directory_groups target_name) endfunction() # Prevent boost from linking against libs when building -add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY - -DBOOST_SYSTEM_NO_LIB - -DBOOST_DATE_TIME_NO_LIB - -DBOOST_REGEX_NO_LIB -) +target_link_libraries(Boost::headers INTERFACE Boost::disable_autolinking) # Adjustments for MSVC + Ninja if (MSVC AND CMAKE_GENERATOR STREQUAL "Ninja") add_compile_options( diff --git a/CMakeModules/CopyYuzuFFmpegDeps.cmake b/CMakeModules/CopyYuzuFFmpegDeps.cmake index c6231737e..e50696cc0 100644 --- a/CMakeModules/CopyYuzuFFmpegDeps.cmake +++ b/CMakeModules/CopyYuzuFFmpegDeps.cmake @@ -3,8 +3,8 @@ function(copy_yuzu_FFmpeg_deps target_dir) include(WindowsCopyFiles) - set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") + set(DLL_DEST "$/") file(READ "${FFmpeg_PATH}/requirements.txt" FFmpeg_REQUIRED_DLLS) string(STRIP "${FFmpeg_REQUIRED_DLLS}" FFmpeg_REQUIRED_DLLS) - windows_copy_files(${target_dir} ${FFmpeg_DLL_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS}) + windows_copy_files(${target_dir} ${FFmpeg_LIBRARY_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS}) endfunction(copy_yuzu_FFmpeg_deps) diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake index ab56de444..b3a65c347 100644 --- a/CMakeModules/CopyYuzuQt5Deps.cmake +++ b/CMakeModules/CopyYuzuQt5Deps.cmake @@ -4,7 +4,7 @@ function(copy_yuzu_Qt5_deps target_dir) include(WindowsCopyFiles) if (MSVC) - set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") + set(DLL_DEST "$/") set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin") else() set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/") diff --git a/CMakeModules/CopyYuzuSDLDeps.cmake b/CMakeModules/CopyYuzuSDLDeps.cmake index 7ffdd8a1d..464eed5e9 100644 --- a/CMakeModules/CopyYuzuSDLDeps.cmake +++ b/CMakeModules/CopyYuzuSDLDeps.cmake @@ -3,6 +3,6 @@ function(copy_yuzu_SDL_deps target_dir) include(WindowsCopyFiles) - set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") + set(DLL_DEST "$/") windows_copy_files(${target_dir} ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll) endfunction(copy_yuzu_SDL_deps) diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake index 8fe5ba48d..972f5ca74 100644 --- a/CMakeModules/DownloadExternals.cmake +++ b/CMakeModules/DownloadExternals.cmake @@ -7,6 +7,7 @@ # prefix_var: name of a variable which will be set with the path to the extracted contents function(download_bundled_external remote_path lib_name prefix_var) +set(package_base_url "https://github.com/yuzu-emu/") set(package_repo "no_platform") set(package_extension "no_platform") if (WIN32) @@ -15,10 +16,13 @@ if (WIN32) elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") set(package_repo "ext-linux-bin/raw/main/") set(package_extension ".tar.xz") +elseif (ANDROID) + set(package_repo "ext-android-bin/raw/main/") + set(package_extension ".tar.xz") else() message(FATAL_ERROR "No package available for this platform") endif() -set(package_url "https://github.com/yuzu-emu/${package_repo}") +set(package_url "${package_base_url}${package_repo}") set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}") if (NOT EXISTS "${prefix}") diff --git a/CMakeModules/FindFFmpeg.cmake b/CMakeModules/FindFFmpeg.cmake index eedf28aea..5cb1f3c8a 100644 --- a/CMakeModules/FindFFmpeg.cmake +++ b/CMakeModules/FindFFmpeg.cmake @@ -14,7 +14,7 @@ # FFmpeg_LIBRARIES: aggregate all the paths to the libraries # FFmpeg_FOUND: True if all components have been found # -# This module defines the following targets, which are prefered over variables: +# This module defines the following targets, which are preferred over variables: # # FFmpeg::: Target to use directly, with include path, # library and dependencies set up. If you are using a static build, you are diff --git a/CMakeModules/FindLLVM.cmake b/CMakeModules/FindLLVM.cmake index 513d9a536..efbd0ca46 100644 --- a/CMakeModules/FindLLVM.cmake +++ b/CMakeModules/FindLLVM.cmake @@ -2,15 +2,25 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -find_package(LLVM QUIET CONFIG) +find_package(LLVM QUIET COMPONENTS CONFIG) +if (LLVM_FOUND) + separate_arguments(LLVM_DEFINITIONS) + if (LLVMDemangle IN_LIST LLVM_AVAILABLE_LIBS) + set(LLVM_Demangle_FOUND TRUE) + endif() +endif() include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(LLVM CONFIG_MODE) +find_package_handle_standard_args(LLVM HANDLE_COMPONENTS CONFIG_MODE) -if (LLVM_FOUND AND NOT TARGET LLVM::Demangle) +if (LLVM_FOUND AND LLVM_Demangle_FOUND AND NOT TARGET LLVM::Demangle) add_library(LLVM::Demangle INTERFACE IMPORTED) - llvm_map_components_to_libnames(LLVM_LIBRARIES demangle) target_compile_definitions(LLVM::Demangle INTERFACE ${LLVM_DEFINITIONS}) target_include_directories(LLVM::Demangle INTERFACE ${LLVM_INCLUDE_DIRS}) + # prefer shared LLVM: https://github.com/llvm/llvm-project/issues/34593 + # but use ugly hack because llvm_config doesn't support interface library + add_library(_dummy_lib SHARED EXCLUDE_FROM_ALL src/yuzu/main.cpp) + llvm_config(_dummy_lib USE_SHARED demangle) + get_target_property(LLVM_LIBRARIES _dummy_lib LINK_LIBRARIES) target_link_libraries(LLVM::Demangle INTERFACE ${LLVM_LIBRARIES}) endif() diff --git a/CMakeModules/Findhttplib.cmake b/CMakeModules/Findhttplib.cmake index 861207eb5..48967add9 100644 --- a/CMakeModules/Findhttplib.cmake +++ b/CMakeModules/Findhttplib.cmake @@ -6,13 +6,23 @@ include(FindPackageHandleStandardArgs) find_package(httplib QUIET CONFIG) if (httplib_CONSIDERED_CONFIGS) - find_package_handle_standard_args(httplib CONFIG_MODE) + find_package_handle_standard_args(httplib HANDLE_COMPONENTS CONFIG_MODE) else() find_package(PkgConfig QUIET) pkg_search_module(HTTPLIB QUIET IMPORTED_TARGET cpp-httplib) + if ("-DCPPHTTPLIB_OPENSSL_SUPPORT" IN_LIST HTTPLIB_CFLAGS_OTHER) + set(httplib_OpenSSL_FOUND TRUE) + endif() + if ("-DCPPHTTPLIB_ZLIB_SUPPORT" IN_LIST HTTPLIB_CFLAGS_OTHER) + set(httplib_ZLIB_FOUND TRUE) + endif() + if ("-DCPPHTTPLIB_BROTLI_SUPPORT" IN_LIST HTTPLIB_CFLAGS_OTHER) + set(httplib_Brotli_FOUND TRUE) + endif() find_package_handle_standard_args(httplib REQUIRED_VARS HTTPLIB_INCLUDEDIR VERSION_VAR HTTPLIB_VERSION + HANDLE_COMPONENTS ) endif() diff --git a/CMakeModules/Findinih.cmake b/CMakeModules/Findinih.cmake index b8d38dcff..791befebd 100644 --- a/CMakeModules/Findinih.cmake +++ b/CMakeModules/Findinih.cmake @@ -3,14 +3,25 @@ # SPDX-License-Identifier: GPL-3.0-or-later find_package(PkgConfig QUIET) -pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader) +pkg_search_module(INIH QUIET IMPORTED_TARGET inih) +if (INIReader IN_LIST inih_FIND_COMPONENTS) + pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader) + if (INIREADER_FOUND) + set(inih_INIReader_FOUND TRUE) + endif() +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(inih - REQUIRED_VARS INIREADER_LINK_LIBRARIES - VERSION_VAR INIREADER_VERSION + REQUIRED_VARS INIH_LINK_LIBRARIES + VERSION_VAR INIH_VERSION + HANDLE_COMPONENTS ) -if (inih_FOUND AND NOT TARGET inih::INIReader) +if (inih_FOUND AND NOT TARGET inih::inih) + add_library(inih::inih ALIAS PkgConfig::INIH) +endif() + +if (inih_FOUND AND inih_INIReader_FOUND AND NOT TARGET inih::INIReader) add_library(inih::INIReader ALIAS PkgConfig::INIREADER) endif() diff --git a/LICENSES/MPL-2.0.txt b/LICENSES/MPL-2.0.txt new file mode 100644 index 000000000..14e2f777f --- /dev/null +++ b/LICENSES/MPL-2.0.txt @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/README.md b/README.md index 7f0461e5e..1d5b4626f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-2.0-or-later

yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra.
-It is written in C++ with portability in mind, and we actively maintain builds for Windows and Linux. +It is written in C++ with portability in mind, and we actively maintain builds for Windows, Linux and Android.

@@ -83,5 +83,3 @@ If you wish to support us a different way, please join our [Discord](https://dis ## License yuzu is licensed under the GPLv3 (or any later version). Refer to the [LICENSE.txt](https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt) file. - -The [Skyline-Emulator Team](https://github.com/skyline-emu/skyline) may choose to use the code from these contributors under the GPL-3.0-or-later OR MPL-2.0: [FernandoS27](https://github.com/FernandoS27), [lioncash](https://github.com/lioncash), [bunnei](https://github.com/bunnei), [ReinUsesLisp](https://github.com/ReinUsesLisp), [Morph1984](https://github.com/Morph1984), [ogniK5377](https://github.com/ogniK5377), [german77](https://github.com/german77), [ameerj](https://github.com/ameerj), [Kelebek1](https://github.com/Kelebek1) and [lat9nq](https://github.com/lat9nq) diff --git a/dist/languages/ca.ts b/dist/languages/ca.ts index bee0882c1..770b80a96 100644 --- a/dist/languages/ca.ts +++ b/dist/languages/ca.ts @@ -249,42 +249,42 @@ This would ban both their forum username and their IP address. Yes The game gets past the intro/menu and into gameplay - + Sí El joc supera la introducció/menú i entra en la part jugable. No The game crashes or freezes while loading or using the menu - + No El joc pot fallar o es bloqueja mentre es carrega o s'utilitza el menú <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>El joc arriba a ser jugable?</p></body></html> Yes The game works without crashes - + Sí El joc funciona sense errors No The game crashes or freezes during gameplay - + No El joc pot fallar o es pot bloquejar durant la part jugable. <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Funciona el joc sense fallar, bloquejar-se o en bucle durant la part jugable?</p></body></html> Yes The game can be finished without any workarounds - + Sí El joc es pot acabar sense ninguna configuració extra especifica . No The game can't progress past a certain area - + No El joc no pot avançar més enllà d'una zona determinada @@ -294,12 +294,12 @@ This would ban both their forum username and their IP address. Major The game has major graphical errors - + Important El joc té errors gràfics importants Minor The game has minor graphical errors - + Menys important El joc té errors gràfics menors @@ -372,36 +372,61 @@ This would ban both their forum username and their IP address. - Output Device + Output Device: - Input Device - Dispositiu d'entrada + Input Device: + - + + Sound Output Mode: + + + + + Mono + Mono + + + + Stereo + Estèreo + + + + Surround + Envoltant + + + Use global volume Utilitza el volum global - + Set volume: Configurar volum: - + Volume: Volum: - + 0 % 0 % - + + Mute audio when in background + Silenciar l'àudio quan estigui en segon plà + + + %1% Volume percentage (e.g. 50%) %1% @@ -926,102 +951,112 @@ This would ban both their forum username and their IP address. Desactivar macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + + + + + Disable Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache Quan està marcat, yuzu registrarà estadístiques sobre la cache de canonada compilada - + Enable Shader Feedback Activar informació de shaders - + When checked, it executes shaders without loop logic changes Quan està marcat, s'executaran els shaders sense canvis de lògica de bucle - + Disable Loop safety checks Desactivar comprovacions de seguretat de bucles - + Debugging Depuració - + Enable Verbose Reporting Services** Activa els serveis d'informes detallats** - + Enable FS Access Log Activar registre d'accés al FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Avançat - + Kiosk (Quest) Mode Mode quiosc (Quest) - + Enable CPU Debugging Activar depuració de la CPU - + Enable Debug Asserts Activar alertes de depuració - + Enable Auto-Stub** Activar Auto-Stub** - + Enable All Controller Types Activar tots els tipus de controladors - + Disable Web Applet Desactivar el Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. **Això es restablirà automàticament quan es tanqui yuzu. @@ -1036,12 +1071,12 @@ This would ban both their forum username and their IP address. - + Web applet not compiled - + MiniDump creation not compiled @@ -1091,78 +1126,78 @@ This would ban both their forum username and their IP address. Configuració de yuzu - - + + Audio Àudio - - + + CPU CPU - + Debug Depuració - + Filesystem Sistema de fitxers - - + + General General - - + + Graphics Gràfics - + GraphicsAdvanced GràficsAvançat - + Hotkeys Tecles d'accés ràpid - - + + Controls Controls - + Profiles Perfils - + Network Xarxa - - + + System Sistema - + Game List Llista de jocs - + Web Web @@ -1337,46 +1372,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - Interfície de memòria ampliada (6GB DRAM) - - - Confirm exit while emulation is running Confirmar la sortida mentre s'està executant l'emulació - + Prompt for user on game boot Sol·licitar l'usuari en l'arrencada del joc - + Pause emulation when in background Pausa l'emulació quan la finestra està en segon pla - - Mute audio when in background - Silenciar l'àudio quan estigui en segon plà - - - + Hide mouse on inactivity Ocultar el cursor del ratolí en cas d'inactivitat - + + Disable controller applet + + + + Reset All Settings Reiniciar tots els paràmetres - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Això restablirà tota la configuració i eliminarà totes les configuracions dels jocs. No eliminarà ni els directoris de jocs, ni els perfils, ni els perfils dels controladors. Procedir? @@ -1415,7 +1445,7 @@ This would ban both their forum username and their IP address. - + None Cap @@ -1441,216 +1471,269 @@ This would ban both their forum username and their IP address. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulació NVDEC: - + No Video Output Sense sortida de vídeo - + CPU Video Decoding Descodificació de vídeo a la CPU - + GPU Video Decoding (Default) Descodificació de vídeo a la GPU (Valor Predeterminat) - + Fullscreen Mode: Mode pantalla completa: - + Borderless Windowed Finestra sense vores - + Exclusive Fullscreen Pantalla completa exclusiva - + Aspect Ratio: Relació d'aspecte: - + Default (16:9) Valor predeterminat (16:9) - + Force 4:3 Forçar 4:3 - + Force 21:9 Forçar 21:9 - + Force 16:10 - + Stretch to Window Estirar a la finestra - + Resolution: Resolució: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: Filtre d'adaptació de finestra: - + Nearest Neighbor Veí més proper - + Bilinear Bilineal - + Bicubic Bicúbic - + Gaussian Gaussià - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (només Vulkan) + + AMD FidelityFX™️ Super Resolution + - + Anti-Aliasing Method: Mètode d'anti-aliasing - + FXAA FXAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Utilitza un color de fons global - + Set background color: Configura un color de fons: - + Background Color: Color de fons: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly Shaders, només NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1675,77 +1758,153 @@ This would ban both their forum username and their IP address. Nivell de precisió: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync evita que la pantalla s'esquinci, però algunes tarjetes gràfiques tenen un rendiment menor amb VSync actiu. Mantén-lo actiu si no notes una diferència de rendiment. - - - - Use VSync + + ASTC recompression: - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Activa la compilació asíncrona de shaders, el qual podria reduir el tartamudeig dels shaders. Aquesta funcionalitat és experimental. - - - - Use asynchronous shader building (Hack) - Utilitzar la construcció de shaders asíncrona (Hack) - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - Habilita el temps ràpid de la GPU. Aquesta opció obligarà a la majoria dels jocs a executar-se a la seva resolució nativa més alta. - - Use Fast GPU Time (Hack) - Utilitzar temps ràpid a la GPU (Hack) + Uncompressed (Best quality) + - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Activa la compilació asíncrona de shaders, el qual podria reduir el tartamudeig dels shaders. Aquesta funcionalitat és experimental. + + + + Use asynchronous shader building (Hack) + Utilitzar la construcció de shaders asíncrona (Hack) + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + Habilita el temps ràpid de la GPU. Aquesta opció obligarà a la majoria dels jocs a executar-se a la seva resolució nativa més alta. + + + + Use Fast GPU Time (Hack) + Utilitzar temps ràpid a la GPU (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Filtrat anisotròpic: - + Automatic Automàtic - + Default Valor predeterminat - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1778,70 +1937,65 @@ This would ban both their forum username and their IP address. Restaurar els valors predeterminats - + Action Acció - + Hotkey Tecla d'accés ràpid - + Controller Hotkey Tecla d'accés ràpid del controlador - - - + + + Conflicting Key Sequence Seqüència de tecles en conflicte - - + + The entered key sequence is already assigned to: %1 La seqüència de tecles introduïda ja ha estat assignada a: %1 - - Home+%1 - Inici+%1 - - - + [waiting] [esperant] - + Invalid Invàlid - + Restore Default Restaurar el valor predeterminat - + Clear Esborrar - + Conflicting Button Sequence Seqüència de botons en conflicte - + The default button sequence is already assigned to: %1 La seqüència de botons per defecte ja està assignada a: %1 - + The default key sequence is already assigned to: %1 La seqüència de tecles predeterminada ja ha estat assignada a: %1 @@ -2133,7 +2287,7 @@ This would ban both their forum username and their IP address. - + Configure Configurar @@ -2159,6 +2313,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Necessita reiniciar yuzu @@ -2178,22 +2334,27 @@ This would ban both their forum username and their IP address. Navegació del controlador - - Enable mouse panning - Activar desplaçament del ratolí + + Enable direct JoyCon driver + - - Mouse sensitivity - Sensibilitat del ratolí + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Moviment / Tàctil @@ -2305,7 +2466,7 @@ This would ban both their forum username and their IP address. - + Left Stick Palanca esquerra @@ -2399,14 +2560,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2425,7 +2586,7 @@ This would ban both their forum username and their IP address. - + Plus Més @@ -2438,15 +2599,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2503,236 +2664,257 @@ This would ban both their forum username and their IP address. - + Right Stick Palanca dreta - - - - + + Mouse panning + + + + + Configure + Configurar + + + + + + Clear Esborrar - - - - - + + + + + [not set] [no establert] - - + + + Invert button Botó d'inversió - - + + Toggle button Botó commutador - - + + Turbo button + + + + + Invert axis Invertir eixos - - - + + + Set threshold Configurar llindar - - + + Choose a value between 0% and 100% Esculli un valor entre 0% i 100% - + Toggle axis - + Set gyro threshold Configurar llindar giroscopi - + + Calibrate sensor + + + + Map Analog Stick Configuració de palanca analògica - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Després de prémer D'acord, primer moveu el joystick horitzontalment i després verticalment. Per invertir els eixos, primer moveu el joystick verticalment i després horitzontalment. - + Center axis Centrar eixos - - + + Deadzone: %1% Zona morta: %1% - - + + Modifier Range: %1% Rang del modificador: %1% - - + + Pro Controller Controlador Pro - + Dual Joycons Joycons duals - + Left Joycon Joycon esquerra - + Right Joycon Joycon dret - + Handheld Portàtil - + GameCube Controller Controlador de GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Controlador NES - + SNES Controller Controlador SNES - + N64 Controller Controlador N64 - + Sega Genesis Sega Genesis - + Start / Pause Inici / Pausa - + Z Z - + Control Stick Palanca de control - + C-Stick C-Stick - + Shake! Sacseja! - + [waiting] [esperant] - + New Profile Nou perfil - + Enter a profile name: Introdueixi un nom de perfil: - - + + Create Input Profile Crear perfil d'entrada - + The given profile name is not valid! El nom de perfil introduït no és vàlid! - + Failed to create the input profile "%1" Error al crear el perfil d'entrada "%1" - + Delete Input Profile Eliminar perfil d'entrada - + Failed to delete the input profile "%1" Error al eliminar el perfil d'entrada "%1" - + Load Input Profile Carregar perfil d'entrada - + Failed to load the input profile "%1" Error al carregar el perfil d'entrada "%1" - + Save Input Profile Guardar perfil d'entrada - + Failed to save the input profile "%1" Error al guardar el perfil d'entrada "%1" @@ -2780,7 +2962,7 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo - + Configure Configuració @@ -2816,7 +2998,7 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo - + Test Provar @@ -2836,81 +3018,156 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Més Informació</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters El número de port té caràcters invàlids - + Port has to be in range 0 and 65353 El port ha d'estar entre el rang 0 i 65353 - + IP address is not valid l'Adreça IP no és vàlida - + This UDP server already exists Aquest servidor UDP ja existeix - + Unable to add more than 8 servers No és possible afegir més de 8 servidors - + Testing Provant - + Configuring Configurant - + Test Successful Prova exitosa - + Successfully received data from the server. S'han rebut dades des del servidor correctament. - + Test Failed Prova fallida - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. No s'han pogut rebre dades vàlides des del servidor.<br>Si us plau, verifiqui que el servidor està configurat correctament i que la direcció i el port són correctes.  - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. La prova del UDP o la configuració de la calibració està en curs.<br>Si us plau, esperi a que acabi el procés. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Valor predeterminat + + ConfigureNetwork @@ -2987,47 +3244,47 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo Desenvolupador - + Add-Ons Complements - + General General - + System Sistema - + CPU CPU - + Graphics Gràfics - + Adv. Graphics Gràfics avanç. - + Audio Àudio - + Input Profiles - + Properties Propietats @@ -3229,12 +3486,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3255,33 +3512,95 @@ UUID: %2 Zona morta: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Restaurar els valors predeterminats - + Clear Esborrar - + [not set] [no establert] - + Invert axis Invertir eixos - - + + Deadzone: %1% Zona morta: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Configurant + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [esperant] @@ -3586,8 +3905,8 @@ UUID: %2 - English - Anglès + American English + @@ -3690,54 +4009,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Estèreo - - - - Surround - Envoltant - - - - Console ID: - ID de la consola: - - - - Sound output mode - Mode de sortida del so - - - - Regenerate - Regenerar - - - + System settings are available only when game is not running. Els paràmetres del sistema només estan disponibles quan el joc no s'està executant. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Això reemplaçarà la seva Switch virtual actual amb una nova. La seva Switch virtual actual no serà recuperable. Això podria tenir efectes inesperats en els jocs. Això pot fallar si fa servir una partida guardada amb una configuració desactualitzada. Continuar? - - - - Warning - Avís - - - - Console ID: 0x%1 - ID de la consola: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3806,7 +4090,7 @@ UUID: %2 Configuració TAS - + Select TAS Load Directory... Selecciona el directori de càrrega TAS... @@ -4362,7 +4646,7 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les Controlador J1 - + &Controller P1 &Controlador J1 @@ -4375,42 +4659,37 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4418,12 +4697,12 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les DirectConnectWindow - + Connecting - + Connect @@ -4431,535 +4710,575 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Es recullen dades anònimes</a> per ajudar a millorar yuzu. <br/><br/>Desitja compartir les seves dades d'ús amb nosaltres? - + Telemetry Telemetria - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Carregant Web applet... - - + + Disable Web Applet Desactivar el Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Desactivar l'Applet Web pot provocar comportaments indefinits i només hauria d'utilitzar-se amb Super Mario 3D All-Stars. Estàs segur de que vols desactivar l'Applet Web? (Això pot ser reactivat als paràmetres Debug.) - + The amount of shaders currently being built La quantitat de shaders que s'estan compilant actualment - + The current selected resolution scaling multiplier. El multiplicador d'escala de resolució seleccionat actualment. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Velocitat d'emulació actual. Valors superiors o inferiors a 100% indiquen que l'emulació s'està executant més ràpidament o més lentament que a la Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Quants fotogrames per segon està mostrant el joc actualment. Això variarà d'un joc a un altre i d'una escena a una altra. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Temps que costa emular un fotograma de la Switch, sense tenir en compte la limitació de fotogrames o la sincronització vertical. Per a una emulació òptima, aquest valor hauria de ser com a màxim de 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Esborrar arxius recents - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Continuar - + &Pause &Pausar - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu està executant un joc - - - + Warning Outdated Game Format Advertència format del joc desfasat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Està utilitzant el format de directori de ROM deconstruït per a aquest joc, que és un format desactualitzat que ha sigut reemplaçat per altres, com NCA, NAX, XCI o NSP. Els directoris de ROM deconstruïts careixen d'icones, metadades i suport d'actualitzacions.<br><br>Per a obtenir una explicació dels diversos formats de Switch que suporta yuzu,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>faci una ullada a la nostra wiki</a>. Aquest missatge no es tornarà a mostrar. - - + + Error while loading ROM! Error carregant la ROM! - + The ROM format is not supported. El format de la ROM no està suportat. - + An error occurred initializing the video core. S'ha produït un error inicialitzant el nucli de vídeo. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu ha trobat un error mentre executava el nucli de vídeo. Això sol ser causat per controladors de la GPU obsolets, inclosos els integrats. Si us plau, consulti el registre per a més detalls. Per obtenir més informació sobre com accedir al registre, consulti la següent pàgina: <a href='https://yuzu-emu.org/help/reference/log-files/'>Com carregar el fitxer de registre</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Error al carregar la ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Si us plau, segueixi <a href='https://yuzu-emu.org/help/quickstart/'>la guia d'inici de yuzu</a> per a bolcar de nou els seus fitxers.<br>Pot consultar la wiki de yuzu wiki</a> o el Discord de yuzu</a> per obtenir ajuda. - + An unknown error occurred. Please see the log for more details. S'ha produït un error desconegut. Si us plau, consulti el registre per a més detalls. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + S'està tancant el programari - + Save Data Dades de partides guardades - + Mod Data Dades de mods - + Error Opening %1 Folder Error obrint la carpeta %1 - - + + Folder does not exist! La carpeta no existeix! - + Error Opening Transferable Shader Cache Error obrint la cache transferible de shaders - + Failed to create the shader cache directory for this title. No s'ha pogut crear el directori de la cache dels shaders per aquest títol. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry Eliminar entrada - - - - - - + + + + + + Successfully Removed S'ha eliminat correctament - + Successfully removed the installed base game. S'ha eliminat correctament el joc base instal·lat. - + The base game is not installed in the NAND and cannot be removed. El joc base no està instal·lat a la NAND i no pot ser eliminat. - + Successfully removed the installed update. S'ha eliminat correctament l'actualització instal·lada. - + There is no update installed for this title. No hi ha cap actualització instal·lada per aquest títol. - + There are no DLC installed for this title. No hi ha cap DLC instal·lat per aquest títol. - + Successfully removed %1 installed DLC. S'ha eliminat correctament %1 DLC instal·lat/s. - + Delete OpenGL Transferable Shader Cache? Desitja eliminar la cache transferible de shaders d'OpenGL? - + Delete Vulkan Transferable Shader Cache? Desitja eliminar la cache transferible de shaders de Vulkan? - + Delete All Transferable Shader Caches? Desitja eliminar totes les caches transferibles de shaders? - + Remove Custom Game Configuration? Desitja eliminar la configuració personalitzada del joc? - + + Remove Cache Storage? + + + + Remove File Eliminar arxiu - - + + Error Removing Transferable Shader Cache Error eliminant la cache transferible de shaders - - + + A shader cache for this title does not exist. No existeix una cache de shaders per aquest títol. - + Successfully removed the transferable shader cache. S'ha eliminat correctament la cache transferible de shaders. - + Failed to remove the transferable shader cache. No s'ha pogut eliminar la cache transferible de shaders. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches Error al eliminar les caches de shaders transferibles - + Successfully removed the transferable shader caches. Caches de shaders transferibles eliminades correctament. - + Failed to remove the transferable shader cache directory. No s'ha pogut eliminar el directori de caches de shaders transferibles. - - + + Error Removing Custom Configuration Error eliminant la configuració personalitzada - + A custom configuration for this title does not exist. No existeix una configuració personalitzada per aquest joc. - + Successfully removed the custom game configuration. S'ha eliminat correctament la configuració personalitzada del joc. - + Failed to remove the custom game configuration. No s'ha pogut eliminar la configuració personalitzada del joc. - - + + RomFS Extraction Failed! La extracció de RomFS ha fallat! - + There was an error copying the RomFS files or the user cancelled the operation. S'ha produït un error copiant els arxius RomFS o l'usuari ha cancel·lat la operació. - + Full Completa - + Skeleton Esquelet - + Select RomFS Dump Mode Seleccioni el mode de bolcat de RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Si us plau, seleccioni la forma en que desitja bolcar la RomFS.<br>Completa copiarà tots els arxius al nou directori mentre que<br>esquelet només crearà l'estructura de directoris. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root No hi ha suficient espai lliure a %1 per extreure el RomFS. Si us plau, alliberi espai o esculli un altre directori de bolcat a Emulació > Configuració > Sistema > Sistema d'arxius > Carpeta arrel de bolcat - + Extracting RomFS... Extraient RomFS... - - + + Cancel Cancel·la - + RomFS Extraction Succeeded! Extracció de RomFS completada correctament! - + The operation completed successfully. L'operació s'ha completat correctament. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 Error obrint %1 - + Select Directory Seleccionar directori - + Properties Propietats - + The game properties could not be loaded. Les propietats del joc no s'han pogut carregar. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Executable de Switch (%1);;Tots els Arxius (*.*) - + Load File Carregar arxiu - + Open Extracted ROM Directory Obrir el directori de la ROM extreta - + Invalid Directory Selected Directori seleccionat invàlid - + The directory you have selected does not contain a 'main' file. El directori que ha seleccionat no conté un arxiu 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Arxiu de Switch Instal·lable (*.nca *.nsp *.xci);;Arxiu de Continguts Nintendo (*.nca);;Paquet d'enviament Nintendo (*.nsp);;Imatge de Cartutx NX (*.xci) - + Install Files Instal·lar arxius - + %n file(s) remaining %n arxiu(s) restants%n arxiu(s) restants - + Installing file "%1"... Instal·lant arxiu "%1"... - - + + Install Results Resultats instal·lació - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Per evitar possibles conflictes, no recomanem als usuaris que instal·lin jocs base a la NAND. Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i DLCs. - + %n file(s) were newly installed %n nou(s) arxiu(s) s'ha(n) instal·lat @@ -4967,7 +5286,7 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i - + %n file(s) were overwritten %n arxiu(s) s'han sobreescrit @@ -4975,7 +5294,7 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i - + %n file(s) failed to install %n arxiu(s) no s'han instal·lat @@ -4983,377 +5302,312 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i - + System Application Aplicació del sistema - + System Archive Arxiu del sistema - + System Application Update Actualització de l'aplicació del sistema - + Firmware Package (Type A) Paquet de firmware (Tipus A) - + Firmware Package (Type B) Paquet de firmware (Tipus B) - + Game Joc - + Game Update Actualització de joc - + Game DLC DLC del joc - + Delta Title Títol delta - + Select NCA Install Type... Seleccioni el tipus d'instal·lació NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Seleccioni el tipus de títol que desitja instal·lar aquest NCA com a: (En la majoria dels casos, el valor predeterminat 'Joc' està bé.) - + Failed to Install Ha fallat la instal·lació - + The title type you selected for the NCA is invalid. El tipus de títol seleccionat per el NCA és invàlid. - + File not found Arxiu no trobat - + File "%1" not found Arxiu "%1" no trobat - + OK D'acord - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Falta el compte de yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Per tal d'enviar un cas de prova de compatibilitat de joc, ha de vincular el seu compte de yuzu.<br><br/>Per a vincular el seu compte de yuzu, vagi a Emulació & gt; Configuració & gt; Web. - + Error opening URL Error obrint URL - + Unable to open the URL "%1". No es pot obrir la URL "%1". - + TAS Recording Gravació TAS - + Overwrite file of player 1? Sobreescriure l'arxiu del jugador 1? - + Invalid config detected Configuració invàlida detectada - + Handheld controller can't be used on docked mode. Pro controller will be selected. El controlador del mode portàtil no es pot fer servir en el mode acoblat. Es seleccionarà el controlador Pro en el seu lloc. - - + + Amiibo Amiibo - - + + The current amiibo has been removed L'amiibo actual ha sigut eliminat - + Error Error - - + + The current game is not looking for amiibos El joc actual no està buscant amiibos - + Amiibo File (%1);; All Files (*.*) Arxiu Amiibo (%1);; Tots els Arxius (*.*) - + Load Amiibo Carregar Amiibo - + Error loading Amiibo data Error al carregar les dades d'Amiibo - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Captura de pantalla - + PNG Image (*.png) Imatge PNG (*.png) - + TAS state: Running %1/%2 Estat TAS: executant %1/%2 - + TAS state: Recording %1 Estat TAS: gravant %1 - + TAS state: Idle %1/%2 Estat TAS: inactiu %1/%2 - + TAS State: Invalid Estat TAS: invàlid - + &Stop Running &Parar l'execució - + &Start &Iniciar - + Stop R&ecording Parar g&ravació - + R&ecord G&ravar - + Building: %n shader(s) Construint: %n shader(s)Construint: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Escala: %1x - + Speed: %1% / %2% Velocitat: %1% / %2% - + Speed: %1% Velocitat: %1% - + Game: %1 FPS (Unlocked) Joc: %1 FPS (desbloquejat) - + Game: %1 FPS Joc: %1 FPS - + Frame: %1 ms Fotograma: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU ALTA - - - - GPU EXTREME - GPU EXTREMA - - - - GPU ERROR - ERROR GPU - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - MÉS PROPER - - - - - BILINEAR - BILINEAL - - - - BICUBIC - BICÚBIC - - - - GAUSSIAN - GAUSSIÀ - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA SENSE AA - - FXAA - FXAA - - - - SMAA + + VOLUME: MUTE - + + VOLUME: %1% + Volume percentage (e.g. 50%) + + + + Confirm Key Rederivation Confirmi la clau de rederivació - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5370,37 +5624,37 @@ i opcionalment faci còpies de seguretat. Això eliminarà els arxius de les claus generats automàticament i tornarà a executar el mòdul de derivació de claus. - + Missing fuses Falten fusibles - + - Missing BOOT0 - Falta BOOT0 - + - Missing BCPKG2-1-Normal-Main - Falta BCPKG2-1-Normal-Main - + - Missing PRODINFO - Falta PRODINFO - + Derivation Components Missing Falten components de derivació - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Falten les claus d'encriptació. <br>Si us plau, segueixi <a href='https://yuzu-emu.org/help/quickstart/'>la guia ràpida de yuzu</a> per a obtenir totes les seves claus, firmware i jocs.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5409,39 +5663,49 @@ Això pot prendre fins a un minut depenent del rendiment del seu sistema. - + Deriving Keys Derivant claus - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Seleccioni el destinatari per a bolcar el RomFS - + Please select which RomFS you would like to dump. Si us plau, seleccioni quin RomFS desitja bolcar. - + Are you sure you want to close yuzu? Està segur de que vol tancar yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Està segur de que vol aturar l'emulació? Qualsevol progrés no guardat es perdrà. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5449,6 +5713,101 @@ Would you like to bypass this and exit anyway? Desitja tancar-lo de totes maneres? + + + None + Cap + + + + FXAA + FXAA + + + + SMAA + + + + + Nearest + + + + + Bilinear + Bilineal + + + + Bicubic + Bicúbic + + + + Gaussian + Gaussià + + + + ScaleForce + ScaleForce + + + + Docked + Acoblada + + + + Handheld + Portàtil + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5549,117 +5908,122 @@ Desitja tancar-lo de totes maneres? + Remove Cache Storage + + + + Remove OpenGL Pipeline Cache Eliminar cache de canonada d'OpenGL - + Remove Vulkan Pipeline Cache Eliminar cache de canonada de Vulkan - + Remove All Pipeline Caches Eliminar totes les caches de canonada - + Remove All Installed Contents Eliminar tots els continguts instal·lats - + Dump RomFS Bolcar RomFS - + Dump RomFS to SDMC Bolcar RomFS a SDMC - + Copy Title ID to Clipboard Copiar la ID del títol al porta-retalls - + Navigate to GameDB entry Navegar a l'entrada de GameDB - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Propietats - + Scan Subfolders Escanejar subdirectoris - + Remove Game Directory Eliminar directori de jocs - + ▲ Move Up ▲ Moure amunt - + ▼ Move Down ▼ Move avall - + Open Directory Location Obre ubicació del directori - + Clear Esborrar - + Name Nom - + Compatibility Compatibilitat - + Add-ons Complements - + File type Tipus d'arxiu - + Size Mida @@ -5730,7 +6094,7 @@ Desitja tancar-lo de totes maneres? GameListPlaceholder - + Double-click to add a new folder to the game list Faci doble clic per afegir un nou directori a la llista de jocs @@ -5743,12 +6107,12 @@ Desitja tancar-lo de totes maneres? %1 de %n resultat(s)%1 de %n resultat(s) - + Filter: Filtre: - + Enter pattern to filter Introdueixi patró per a filtrar @@ -5838,138 +6202,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Captura de pantalla - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Pantalla Completa - + Load File Carregar arxiu - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5992,7 +6356,7 @@ Debug Message: Instal·lar - + Install Files to NAND Instal·lar arxius a la NAND @@ -6000,7 +6364,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 El text no pot contenir cap dels següents caràcters @@ -6075,51 +6439,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Jugadors - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6653,7 +7022,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICI/PAUSAR @@ -6702,31 +7071,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [no establert] @@ -6737,14 +7106,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eix %1%2 @@ -6755,264 +7124,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [desconegut] - - - + + + Left Esquerra - - - + + + Right Dreta - - - + + + Down Avall - - - + + + Up Amunt - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Inici - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Cercle - - + + Cross Creu - - + + Square Cuadrat - - + + Triangle Triangle - - + + Share Compartir - - + + Options Opcions - - + + [undefined] [indefinit] - + %1%2 %1%2 - - + + [invalid] [invàlid] - - - - + + %1%2Hat %3 %1%2Rotació %3 - - - - - - + + + + %1%2Axis %3 %1%2Eix %3 - - + + %1%2Axis %3,%4,%5 %1%2Eixos %3,%4,%5 - - + + %1%2Motion %3 %1%2Moviment %3 - - - - + + %1%2Button %3 %1%2Botó %3 - - + + [unused] [sense ús] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Més + + + + Minus + Menys + + + + Home Inici - + + Capture + Captura + + + Touch Tàctil - + Wheel Indicates the mouse wheel Roda - + Backward Enrere - + Forward Endavant - + Task Tasca - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7381,28 +7808,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Codi d'error: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. S'ha produït un error. Si us plau, intenti-ho de nou o contacti el desenvolupador del programari. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. S'ha produït un error a %1 a les %2. Si us plau, intenti-ho de nou o contacti el desenvolupador del programari. - + An error has occurred. %1 @@ -7426,20 +7853,81 @@ Si us plau, intenti-ho de nou o contacti el desenvolupador del programari. - - Select a user: - Seleccioni un usuari: - - - + Users Usuaris - + + Profile Creator + + + + + Profile Selector Selector de perfil + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Seleccioni un usuari: + QtSoftwareKeyboardDialog @@ -7489,51 +7977,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Pila de trucades - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - esperant el mutex 0x%1 - - - - has waiters: %1 - té receptors: %1 - - - - owner handle: 0x%1 - mànec del propietari: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - esperant tots els objectes - - - - waiting for one of the following objects - esperant un dels següents objectes - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread esperat per cap fil @@ -7541,120 +7998,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable executable - + paused pausat - + sleeping dormint - + waiting for IPC reply esperant per resposta IPC - + waiting for objects esperant objectes - + waiting for condition variable esperant variable condicional - + waiting for address arbiter esperant al àrbitre d'adreça - + waiting for suspend resume esperant reanudar la suspensió - + waiting esperant - + initialized inicialitzat - + terminated acabat - + unknown desconegut - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 nucli %1 - + processor = %1 processador = %1 - - ideal core = %1 - nucli ideal = %1 - - - + affinity mask = %1 màscara d'afinitat = %1 - + thread id = %1 id fil = %1 - + priority = %1(current) / %2(normal) prioritat = %1(actual) / %2(normal) - + last running ticks = %1 últims ticks consecutius = %1 - - - not waiting for mutex - no esperant per mutex - WaitTreeThreadList - + waited by thread esperat per fil @@ -7662,7 +8109,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree Arbre d'&espera diff --git a/dist/languages/cs.ts b/dist/languages/cs.ts index d0f71808d..a932dabed 100644 --- a/dist/languages/cs.ts +++ b/dist/languages/cs.ts @@ -372,36 +372,61 @@ This would ban both their forum username and their IP address. - Output Device + Output Device: - Input Device - Vstupní zařízení + Input Device: + - + + Sound Output Mode: + + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Použít globální hlasitost - + Set volume: Nastavit hlasitost: - + Volume: Hlasitost: - + 0 % 0 % - + + Mute audio when in background + + + + %1% Volume percentage (e.g. 50%) %1% @@ -918,102 +943,112 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Zakázat Makro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + + + + + Disable Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache Když je zaškrtnuto, yuzu bude logovat statistiky o kompilované mezipaměti pipelinu - + Enable Shader Feedback Povolit Shader Feedback - + When checked, it executes shaders without loop logic changes Když je zaškrtnuto, shadery budou exekutovány bez změn logických smyček. - + Disable Loop safety checks - + Debugging Ladění - + Enable Verbose Reporting Services** - + Enable FS Access Log - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Pokročilé - + Kiosk (Quest) Mode Předváděcí (Quest/Kiosk) režim - + Enable CPU Debugging - + Enable Debug Asserts Povolit Debug Asserts - + Enable Auto-Stub** - + Enable All Controller Types - + Disable Web Applet Zakázat Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. @@ -1028,12 +1063,12 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Web applet not compiled - + MiniDump creation not compiled @@ -1083,78 +1118,78 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Nastavení yuzu. - - + + Audio Zvuk - - + + CPU CPU - + Debug Ladění - + Filesystem Souborový systém - - + + General Obecné - - + + Graphics Grafika - + GraphicsAdvanced GrafickyPokročilé - + Hotkeys Zkratky - - + + Controls Ovládání - + Profiles Profily - + Network Síť - - + + System Systém - + Game List Seznam her - + Web Web @@ -1329,46 +1364,41 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Potvrzovat exit při spuštěné emulaci - + Prompt for user on game boot Zeptat se na uživatele při spuštění hry - + Pause emulation when in background Pozastavit emulaci, když je aplikace v pozadí - - Mute audio when in background - - - - + Hide mouse on inactivity Skrýt myš při neaktivitě - + + Disable controller applet + + + + Reset All Settings Resetovat všechna nastavení - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Toto vyresetuje všechna nastavení a odstraní konfigurace pro jednotlivé hry. Složky s hrami a profily zůstanou zachovány. Přejete si pokračovat? @@ -1407,7 +1437,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + None Žádné @@ -1433,216 +1463,269 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: - + No Video Output - + CPU Video Decoding - + GPU Video Decoding (Default) - + Fullscreen Mode: Režim celé obrazovky: - + Borderless Windowed Okno bez okrajů - + Exclusive Fullscreen Exkluzivní - + Aspect Ratio: Poměr stran: - + Default (16:9) Výchozí (16:9) - + Force 4:3 Vynutit 4:3 - + Force 21:9 Vynutit 21:9 - + Force 16:10 - + Stretch to Window Roztáhnout podle okna - + Resolution: - + 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) + 1X (720p/1080p) + + + + 1.5X (1080p/1620p) [EXPERIMENTAL] - + 2X (1440p/2160p) - + 3X (2160p/3240p) - + 4X (2880p/4320p) - + 5X (3600p/5400p) - + 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: - + Nearest Neighbor - + Bilinear - + Bicubic - + Gaussian - + ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) + + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: - + FXAA - + FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Použít globální barvu pozadí - + Set background color: Nastavit barvu pozadí: - + Background Color: Barva Pozadí: - + GLASM (Assembly Shaders, NVIDIA Only) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1667,77 +1750,153 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Přesnost: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - V-Sync brání obrazovce před trháním, ale některé grafické karty mají menší výkon se zapnutým V-Sync. Nechte toto zapnuté, pokud si nevšimnete žádných rozdílů ve výkonu. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Zapnout asynchronní kompilaci shaderů, která může snížit zasekávání shaderů. Tato funkce je experimentální. - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) + Uncompressed (Best quality) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Zapnout asynchronní kompilaci shaderů, která může snížit zasekávání shaderů. Tato funkce je experimentální. + + + + Use asynchronous shader building (Hack) + + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + + + + Use Fast GPU Time (Hack) + + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anizotropní filtrování: - + Automatic - + Default Výchozí - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1770,70 +1929,65 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Vrátit výchozí nastavení - + Action Akce - + Hotkey Zkratka - + Controller Hotkey - - - + + + Conflicting Key Sequence Protichůdné klávesové sekvence - - + + The entered key sequence is already assigned to: %1 Vložená klávesová sekvence je již přiřazena k: %1 - - Home+%1 - - - - + [waiting] [čekání] - + Invalid - + Restore Default Vrátit výchozí nastavení - + Clear Vyčistit - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Výchozí klávesová sekvence je již přiřazena k: %1 @@ -2125,7 +2279,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Configure Nastavení @@ -2151,6 +2305,8 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj + + Requires restarting yuzu @@ -2170,22 +2326,27 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - - Enable mouse panning - Povolit naklánění myší + + Enable direct JoyCon driver + - - Mouse sensitivity - Citlivost myši + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Pohyb / Dotyk @@ -2297,7 +2458,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Left Stick Levá Páčka @@ -2391,14 +2552,14 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + L L - + ZL ZL @@ -2417,7 +2578,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Plus Plus @@ -2430,15 +2591,15 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - - + + R R - + ZR ZR @@ -2495,236 +2656,257 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Right Stick Pravá páčka - - - - + + Mouse panning + + + + + Configure + Nastavení + + + + + + Clear Vyčistit - - - - - + + + + + [not set] [nenastaveno] - - + + + Invert button - - + + Toggle button Přepnout tlačítko - - + + Turbo button + + + + + Invert axis Převrátit osy - - - + + + Set threshold - - + + Choose a value between 0% and 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Namapovat analogovou páčku - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Po stisknutí OK nejprve posuňte joystick horizontálně, poté vertikálně. Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontálně. - + Center axis - - + + Deadzone: %1% Deadzone: %1% - - + + Modifier Range: %1% Rozsah modifikátoru: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Dual Joycons - + Left Joycon Levý Joycon - + Right Joycon Pravý Joycon - + Handheld V rukou - + GameCube Controller Ovladač GameCube - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis - + Start / Pause Start / Pause - + Z Z - + Control Stick Control Stick - + C-Stick C-Stick - + Shake! Shake! - + [waiting] [čekání] - + New Profile Nový profil - + Enter a profile name: Zadejte název profilu: - - + + Create Input Profile Vytvořit profil vstupu - + The given profile name is not valid! Zadaný název profilu není platný! - + Failed to create the input profile "%1" Nepodařilo se vytvořit profil vstupu "%1" - + Delete Input Profile Odstranit profil vstupu - + Failed to delete the input profile "%1" Nepodařilo se odstranit profil vstupu "%1" - + Load Input Profile Načíst profil vstupu - + Failed to load the input profile "%1" Nepodařilo se načíst profil vstupu "%1" - + Save Input Profile Uložit profil vstupu - + Failed to save the input profile "%1" Nepodařilo se uložit profil vstupu "%1" @@ -2772,7 +2954,7 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln - + Configure Konfigurovat @@ -2808,7 +2990,7 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln - + Test Test @@ -2828,81 +3010,156 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Dozvědět se více</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Číslo portu obsahuje neplatné znaky - + Port has to be in range 0 and 65353 Port musí být v rozsahu 0 až 65353 - + IP address is not valid IP adresa není platná - + This UDP server already exists UDP server již existuje - + Unable to add more than 8 servers Není možné přidat více než 8 serverů - + Testing Testování - + Configuring Nastavování - + Test Successful Test byl úspěšný - + Successfully received data from the server. Úspěšně jsme získali data ze serveru. - + Test Failed Test byl neúspěšný - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Nedostali jsme platná data ze serveru.<br>Prosím zkontrolujte, že váš server je nastaven správně a že adresa a port jsou zadány správně. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Probíhá test UDP nebo konfigurace kalibrace.<br>Prosím vyčkejte na dokončení. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Výchozí + + ConfigureNetwork @@ -2979,47 +3236,47 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln Vývojář - + Add-Ons Doplňky - + General Obecné - + System Systém - + CPU CPU - + Graphics Grafika - + Adv. Graphics Pokroč. grafika - + Audio Zvuk - + Input Profiles - + Properties Vlastnosti @@ -3221,12 +3478,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3247,33 +3504,95 @@ UUID: %2 Deadzone: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Vrátit výchozí nastavení - + Clear Vymazat - + [not set] [nenastaveno] - + Invert axis Převrátit osy - - + + Deadzone: %1% Deadzone: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Nastavování + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [čekání] @@ -3578,8 +3897,8 @@ UUID: %2 - English - Angličtina (English) + American English + @@ -3682,54 +4001,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - ID Konzole: - - - - Sound output mode - Mód výstupu zvuku - - - - Regenerate - Přegenerovat - - - + System settings are available only when game is not running. Systémová nastavení jsou dostupná pouze, pokud hra neběží. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Toto vymění váš virtuální Switch za nový. Váš aktuální virtuální Switch nebude možno navrátit. Tohle může mít nečekané následky ve hrách. Tohle může selhat pokud použijete starý konfig savu. Pokračovat? - - - - Warning - Varování - - - - Console ID: 0x%1 - ID Konzole: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3798,7 +4082,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -4354,7 +4638,7 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z Ovladač P1 - + &Controller P1 &Ovladač P1 @@ -4367,42 +4651,37 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4410,12 +4689,12 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z DirectConnectWindow - + Connecting - + Connect @@ -4423,922 +4702,897 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymní data jsou sbírána</a> pro vylepšení yuzu. <br/><br/>Chcete s námi sdílet anonymní data? - + Telemetry Telemetry - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Načítání Web Appletu... - - + + Disable Web Applet Zakázat Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built Počet aktuálně sestavovaných shaderů - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Aktuální emulační rychlost. Hodnoty vyšší než 100% indikují, že emulace běží rychleji nebo pomaleji než na Switchi. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Kolik snímků za sekundu aktuálně hra zobrazuje. Tohle závisí na hře od hry a scény od scény. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Čas potřebný na emulaci framu scény, nepočítá se limit nebo v-sync. Pro plnou rychlost by se tohle mělo pohybovat okolo 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Vymazat poslední soubory - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Pokračovat - + &Pause &Pauza - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Varování Zastaralý Formát Hry - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Používáte rozbalený formát hry, který je zastaralý a byl nahrazen jinými jako NCA, NAX, XCI, nebo NSP. Rozbalená ROM nemá ikony, metadata, a podporu updatů.<br><br>Pro vysvětlení všech možných podporovaných typů, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>zkoukni naší wiki</a>. Tato zpráva se nebude znova zobrazovat. - - + + Error while loading ROM! Chyba při načítání ROM! - + The ROM format is not supported. Tento formát ROM není podporován. - + An error occurred initializing the video core. Nastala chyba při inicializaci jádra videa. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Chyba při načítání ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Pro extrakci souborů postupujte podle <a href='https://yuzu-emu.org/help/quickstart/'>rychlého průvodce yuzu</a>. Nápovědu naleznete na <br>wiki</a> nebo na Discordu</a>. - + An unknown error occurred. Please see the log for more details. Nastala chyba. Koukni do logu. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Save Data Uložit data - + Mod Data Módovat Data - + Error Opening %1 Folder Chyba otevírání složky %1 - - + + Folder does not exist! Složka neexistuje! - + Error Opening Transferable Shader Cache Chyba při otevírání přenositelné mezipaměti shaderů - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry Odebrat položku - - - - - - + + + + + + Successfully Removed Úspěšně odebráno - + Successfully removed the installed base game. Úspěšně odebrán nainstalovaný základ hry. - + The base game is not installed in the NAND and cannot be removed. Základ hry není nainstalovaný na NAND a nemůže být odstraněn. - + Successfully removed the installed update. Úspěšně odebrána nainstalovaná aktualizace. - + There is no update installed for this title. Není nainstalovaná žádná aktualizace pro tento titul. - + There are no DLC installed for this title. Není nainstalované žádné DLC pro tento titul. - + Successfully removed %1 installed DLC. Úspěšně odstraněno %1 nainstalovaných DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? Odstranit vlastní konfiguraci hry? - + + Remove Cache Storage? + + + + Remove File Odstranit soubor - - + + Error Removing Transferable Shader Cache Chyba při odstraňování přenositelné mezipaměti shaderů - - + + A shader cache for this title does not exist. Mezipaměť shaderů pro tento titul neexistuje. - + Successfully removed the transferable shader cache. Přenositelná mezipaměť shaderů úspěšně odstraněna - + Failed to remove the transferable shader cache. Nepodařilo se odstranit přenositelnou mezipaměť shaderů - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration Chyba při odstraňování vlastní konfigurace hry - + A custom configuration for this title does not exist. Vlastní konfigurace hry pro tento titul neexistuje. - + Successfully removed the custom game configuration. Úspěšně odstraněna vlastní konfigurace hry. - + Failed to remove the custom game configuration. Nepodařilo se odstranit vlastní konfiguraci hry. - - + + RomFS Extraction Failed! Extrakce RomFS se nepovedla! - + There was an error copying the RomFS files or the user cancelled the operation. Nastala chyba při kopírování RomFS souborů, nebo uživatel operaci zrušil. - + Full Plný - + Skeleton Kostra - + Select RomFS Dump Mode Vyber RomFS Dump Mode - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Vyber jak by si chtěl RomFS vypsat.<br>Plné zkopíruje úplně všechno, ale<br>kostra zkopíruje jen strukturu složky. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Extrahuji RomFS... - - + + Cancel Zrušit - + RomFS Extraction Succeeded! Extrakce RomFS se povedla! - + The operation completed successfully. Operace byla dokončena úspěšně. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 Chyba při otevírání %1 - + Select Directory Vybraná Složka - + Properties Vlastnosti - + The game properties could not be loaded. Herní vlastnosti nemohly být načteny. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch Executable (%1);;Všechny soubory (*.*) - + Load File Načíst soubor - + Open Extracted ROM Directory Otevřít složku s extrahovanou ROM - + Invalid Directory Selected Vybraná složka je neplatná - + The directory you have selected does not contain a 'main' file. Složka kterou jste vybrali neobsahuje soubor "main" - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Instalovatelný soubor pro Switch (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Instalovat Soubory - + %n file(s) remaining - + Installing file "%1"... Instalování souboru "%1"... - - + + Install Results Výsledek instalace - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Abychom předešli možným konfliktům, nedoporučujeme uživatelům instalovat základní hry na paměť NAND. Tuto funkci prosím používejte pouze k instalaci aktualizací a DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Systémová Aplikace - + System Archive Systémový archív - + System Application Update Systémový Update Aplikace - + Firmware Package (Type A) Firmware-ový baliček (Typu A) - + Firmware Package (Type B) Firmware-ový baliček (Typu B) - + Game Hra - + Game Update Update Hry - + Game DLC Herní DLC - + Delta Title Delta Title - + Select NCA Install Type... Vyberte typ instalace NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Vyberte typ title-u, který chcete nainstalovat tenhle NCA jako: (Většinou základní "game" stačí.) - + Failed to Install Chyba v instalaci - + The title type you selected for the NCA is invalid. Tento typ pro tento NCA není platný. - + File not found Soubor nenalezen - + File "%1" not found Soubor "%1" nenalezen - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Chybí účet yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Pro přidání recenze kompatibility je třeba mít účet yuzu<br><br/>Pro nalinkování yuzu účtu jdi do Emulace &gt; Konfigurace &gt; Web. - + Error opening URL Chyba při otevírání URL - + Unable to open the URL "%1". Nelze otevřít URL "%1". - + TAS Recording - + Overwrite file of player 1? - + Invalid config detected Zjištěno neplatné nastavení - + Handheld controller can't be used on docked mode. Pro controller will be selected. Ruční ovladač nelze používat v dokovacím režimu. Bude vybrán ovladač Pro Controller. - - + + Amiibo - - + + The current amiibo has been removed - + Error - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) Soubor Amiibo (%1);; Všechny Soubory (*.*) - + Load Amiibo Načíst Amiibo - + Error loading Amiibo data Chyba načítání Amiiba - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Pořídit Snímek Obrazovky - + PNG Image (*.png) PNG Image (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running - + &Start &Start - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Speed: %1% / %2% Rychlost: %1% / %2% - + Speed: %1% Rychlost: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Hra: %1 FPS - + Frame: %1 ms Frame: %1 ms - - GPU NORMAL - GPU NORMÁLNÍ + + %1 %2 + %1 %2 - - GPU HIGH - GPU VYSOKÝ - - - - GPU EXTREME - GPU EXTRÉMNÍ - - - - GPU ERROR - GPU ERROR - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - - + NO AA - - FXAA + + VOLUME: MUTE - - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) - + Confirm Key Rederivation Potvďte Rederivaci Klíčů - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5355,37 +5609,37 @@ a udělejte si zálohu. Toto vymaže věechny vaše automaticky generované klíče a znova spustí modul derivace klíčů. - + Missing fuses Chybí Fuses - + - Missing BOOT0 - Chybí BOOT0 - + - Missing BCPKG2-1-Normal-Main - Chybí BCPKG2-1-Normal-Main - + - Missing PRODINFO - Chybí PRODINFO - + Derivation Components Missing Chybé odvozené komponenty - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5394,39 +5648,49 @@ Tohle může zabrat až minutu podle výkonu systému. - + Deriving Keys Derivuji Klíče - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Vyberte Cíl vypsaní RomFS - + Please select which RomFS you would like to dump. Vyberte, kterou RomFS chcete vypsat. - + Are you sure you want to close yuzu? Jste si jist, že chcete zavřít yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Jste si jist, že chcete ukončit emulaci? Jakýkolic neuložený postup bude ztracen. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5434,6 +5698,101 @@ Would you like to bypass this and exit anyway? Opravdu si přejete ukončit tuto aplikaci? + + + None + Žádné + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + + + + + Bicubic + + + + + Gaussian + + + + + ScaleForce + + + + + Docked + Zadokovaná + + + + Handheld + Příruční + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5534,117 +5893,122 @@ Opravdu si přejete ukončit tuto aplikaci? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - + Remove All Installed Contents Odstranit všechen nainstalovaný obsah - + Dump RomFS Vypsat RomFS - + Dump RomFS to SDMC - + Copy Title ID to Clipboard Zkopírovat ID Titulu do schránky - + Navigate to GameDB entry Navigovat do GameDB - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Vlastnosti - + Scan Subfolders Prohledat podsložky - + Remove Game Directory Odstranit složku se hrou - + ▲ Move Up ▲ Posunout nahoru - + ▼ Move Down ▼ Posunout dolů - + Open Directory Location Otevřít umístění složky - + Clear Vymazat - + Name Název - + Compatibility Kompatibilita - + Add-ons Modifkace - + File type Typ-Souboru - + Size Velikost @@ -5715,7 +6079,7 @@ Opravdu si přejete ukončit tuto aplikaci? GameListPlaceholder - + Double-click to add a new folder to the game list Dvojitým kliknutím přidáte novou složku do seznamu her @@ -5728,12 +6092,12 @@ Opravdu si přejete ukončit tuto aplikaci? - + Filter: Filtr: - + Enter pattern to filter Zadejte filtr @@ -5823,138 +6187,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Pořídit Snímek Obrazovky - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Celá Obrazovka - + Load File Načíst soubor - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5977,7 +6341,7 @@ Debug Message: Nainstalovat - + Install Files to NAND Instalovat soubory na NAND @@ -5985,7 +6349,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6050,7 +6414,7 @@ Debug Message: Search - + Hledat @@ -6059,51 +6423,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Hráči - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6637,7 +7006,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6686,31 +7055,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [Nenastaveno] @@ -6721,14 +7090,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Osa %1%2 @@ -6739,263 +7108,321 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [Neznámá] - - - + + + Left Doleva - - - + + + Right Doprava - - - + + + Down Dolů - - - + + + Up Nahoru - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 - - + + L2 - - + + L3 - - + + R1 - - + + R2 - - + + R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 - - + + [unused] [nepoužito] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Plus + + + + Minus + Minus + + + + Home Home - + + Capture + Capture + + + Touch Dotyk - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 @@ -7365,28 +7792,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Kód chyby: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Došlo k chybě. Zkuste to prosím znovu nebo kontaktujte vývojáře softwaru. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. V %1 na %2 došlo k chybě. Zkuste to prosím znovu nebo kontaktujte vývojáře softwaru. - + An error has occurred. %1 @@ -7410,20 +7837,81 @@ Zkuste to prosím znovu nebo kontaktujte vývojáře softwaru. %2 - - Select a user: - Vyber Uživatele: - - - + Users Uživatelé - + + Profile Creator + + + + + Profile Selector Profilový Manažer + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Vyber Uživatele: + QtSoftwareKeyboardDialog @@ -7473,51 +7961,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - waiting for mutex 0x%1 - - - - has waiters: %1 - has waiters: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - waiting for all objects - - - - waiting for one of the following objects - waiting for one of the following objects - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread čekání bez přiřazeného vlákna @@ -7525,120 +7982,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable spustitelné - + paused pauznuto - + sleeping spící - + waiting for IPC reply čekání na odpověd IPC - + waiting for objects waiting for objects - + waiting for condition variable čekání na proměnnou podmínky - + waiting for address arbiter waiting for address arbiter - + waiting for suspend resume čekání na obnovení pozastavení - + waiting čekání - + initialized inicializováno - + terminated ukončeno - + unknown neznámý - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideální - + core %1 jádro %1 - + processor = %1 procesor = %1 - - ideal core = %1 - ideální jádro = %1 - - - + affinity mask = %1 affinity mask = %1 - + thread id = %1 id vlákna = %1 - + priority = %1(current) / %2(normal) priorita = %1(aktuální) / %2(normální) - + last running ticks = %1 last running ticks = %1 - - - not waiting for mutex - not waiting for mutex - WaitTreeThreadList - + waited by thread waited by thread @@ -7646,7 +8093,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree Ř&etězec čekání diff --git a/dist/languages/da.ts b/dist/languages/da.ts index 94f90dcea..7a16e813c 100644 --- a/dist/languages/da.ts +++ b/dist/languages/da.ts @@ -380,36 +380,61 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - Output Device - Udgangsenhed + Output Device: + - Input Device - Indgangsenhed + Input Device: + - + + Sound Output Mode: + + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Benyt global lydstyrke - + Set volume: Angiv lydstyrke: - + Volume: Lydstyrke: - + 0 % 0 % - + + Mute audio when in background + Gør lydløs, når i baggrunden + + + %1% Volume percentage (e.g. 50%) %1% @@ -934,102 +959,112 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Deaktivér Makro-JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + + + + + Disable Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache Når valgt, vil yuzu logføre statistikker om det kompilerede rørlinje-mellemlager - + Enable Shader Feedback Aktivér Shader-Tilbagemelding - + When checked, it executes shaders without loop logic changes Når valgt, eksekverer den shadere, uden loop-logik-forandringer - + Disable Loop safety checks Deaktivér Loop-sikkerhedskontrol - + Debugging Fejlfinding - + Enable Verbose Reporting Services** Aktivér Vitterlig Rapporteringstjeneste - + Enable FS Access Log Aktivér FS-Tilgangslog - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. Aktivér dette, for at udgyde den senest genererede lyd-kommandoliste til konsollen. Påvirker kun spil, som gør brug af lyd-renderingen. - + Dump Audio Commands To Console** Dump Lydkommandoer Til Konsol** - + Create Minidump After Crash Opret Minidump Efter Nedbrud - + Advanced Avanceret - + Kiosk (Quest) Mode Kiosk (Rejse)-Tilstand - + Enable CPU Debugging Aktivér CPU-Fejlfinding - + Enable Debug Asserts Aktivér Fejlfindingshævdelser - + Enable Auto-Stub** Aktivér Automatisk Stub** - + Enable All Controller Types Aktivér Alle Kontrolenhedstyper - + Disable Web Applet Deaktivér Net-Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. Gør Yuzu i stand til at kontrollere for et funktionelt Vulkan-miljø, når programmet starter op. Deaktivering af dette forårsager problemer med at eksterne programmer ser Yuzu. - + Perform Startup Vulkan Check Udfør Vulkan-Kontrol Under Opstart - + **This will be reset automatically when yuzu closes. **Dette vil automatisk blive nulstillet, når yuzu lukkes. @@ -1044,12 +1079,12 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Yuzu kræver en genstart, for at anvende denne indstilling. - + Web applet not compiled Net-applet ikke kompileret - + MiniDump creation not compiled MiniDump oprettelse ikke kompileret @@ -1099,78 +1134,78 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.yuzu Konfiguration - - + + Audio Lyd - - + + CPU CPU - + Debug Fejlfind - + Filesystem Filsystem - - + + General Generelt - - + + Graphics Grafik - + GraphicsAdvanced GrafikAvanceret - + Hotkeys Genvejstaster - - + + Controls Styring - + Profiles Profiler - + Network Netværk - - + + System System - + Game List Spilliste - + Web Net @@ -1345,46 +1380,41 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - Extended memory layout (6GB DRAM) - Udvidet hukommelsesopsætning (6GB DRAM) - - - Confirm exit while emulation is running Bekræft afslutning, mens emulering kører - + Prompt for user on game boot Spørg efter bruger, ved opstart af spil - + Pause emulation when in background Sæt emulering på pause, når i baggrund - - Mute audio when in background - Gør lydløs, når i baggrunden - - - + Hide mouse on inactivity Skjul mus ved inaktivitet - + + Disable controller applet + + + + Reset All Settings Nulstil Alle Indstillinger - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? dette nulstiller alle indstillinger og fjerner alle pr-spil-konfigurationer. Dette vil ikke slette spilmapper, -profiler, eller input-profiler. Fortsæt? @@ -1423,7 +1453,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + None Ingen @@ -1449,216 +1479,269 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: NVDEC-emulering: - + No Video Output Ingen Video-Output - + CPU Video Decoding CPU-Video Afkodning - + GPU Video Decoding (Default) GPU-Video Afkodning (Standard) - + Fullscreen Mode: Fuldskærmstilstand: - + Borderless Windowed Uindrammet Vindue - + Exclusive Fullscreen Eksklusiv Fuld Skærm - + Aspect Ratio: Skærmformat: - + Default (16:9) Standard (16:9) - + Force 4:3 Tving 4:3 - + Force 21:9 Tving 21:9 - + Force 16:10 - + Stretch to Window Stræk til Vindue - + Resolution: Opløsning: - + 0.5X (360p/540p) [EXPERIMENTAL] 0,5X (360p/540p) [EKSPERIMENTEL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0,75X (540p/810p) [EKSPERIMENTEL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: Vinduestilpassende Filter: - + Nearest Neighbor Nærmeste Nabo - + Bilinear Bilineær - + Bicubic Bikubisk - + Gaussian Gausisk - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Superopløsning (Kun Vulkan) + + AMD FidelityFX™️ Super Resolution + - + Anti-Aliasing Method: Anti-Aliaseringsmetode: - + FXAA FXAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Brug global baggrundsfarve - + Set background color: Angiv baggrundsfarve: - + Background Color: Baggrundsfarve: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly-Shadere, kun NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1683,77 +1766,153 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Nøjagtighedsniveau - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync forhindrer skærmen i at frynse, men nogle grafikkort har lavere ydeevne med VSync aktiveret. Behold det aktiveret, hvis du ikke bemærker en forskel i ydeevne. - - - - Use VSync - Brug VSync - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Aktiverer asynkron shader-kompilering, hvilket kan reducere shader-stammen. Denne funktion er eksperimentiel. - - - - Use asynchronous shader building (Hack) - Brug asynkron shader-opbygning (Hack) - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - Aktiverer Hurtig GPU-Tid. Denne valgmulighed vil tvinge de fleste spil, til at køre i deres højeste indbyggede opløsning. + + ASTC recompression: + - Use Fast GPU Time (Hack) - Brug Hurtig GPU-Tid (Hack) + Uncompressed (Best quality) + - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Aktiverer asynkron shader-kompilering, hvilket kan reducere shader-stammen. Denne funktion er eksperimentiel. + + + + Use asynchronous shader building (Hack) + Brug asynkron shader-opbygning (Hack) + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + Aktiverer Hurtig GPU-Tid. Denne valgmulighed vil tvinge de fleste spil, til at køre i deres højeste indbyggede opløsning. + + + + Use Fast GPU Time (Hack) + Brug Hurtig GPU-Tid (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anisotropisk Filtrering: - + Automatic - + Default Standard - + 2x - + 4x - + 8x - + 16x @@ -1786,70 +1945,65 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Gendan Standarder - + Action Handling - + Hotkey Genvejstast - + Controller Hotkey - - - + + + Conflicting Key Sequence Modstridende Tastesekvens - - + + The entered key sequence is already assigned to: %1 Den indtastede tastesekvens er allerede tilegnet: %1 - - Home+%1 - - - - + [waiting] [venter] - + Invalid - + Restore Default Gendan Standard - + Clear Ryd - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Standard-tastesekvensen er allerede tilegnet: %1 @@ -2141,7 +2295,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Configure Konfigurér @@ -2167,6 +2321,8 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. + + Requires restarting yuzu Kræver genstart af yuzu @@ -2186,22 +2342,27 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - - Enable mouse panning - Aktivér kig med mus + + Enable direct JoyCon driver + - - Mouse sensitivity - Mus-følsomhed + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Bevægelse / Berøring @@ -2313,7 +2474,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Left Stick Venstre Styrepind @@ -2407,14 +2568,14 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + L L - + ZL ZL @@ -2433,7 +2594,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Plus Plus @@ -2446,15 +2607,15 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - - + + R R - + ZR ZR @@ -2511,236 +2672,257 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Right Stick Højre Styrepind - - - - + + Mouse panning + + + + + Configure + Konfigurér + + + + + + Clear Ryd - - - - - + + + + + [not set] [ikke indstillet] - - + + + Invert button - - + + Toggle button Funktionsskifteknap - - + + Turbo button + + + + + Invert axis Omvend akser - - - + + + Set threshold Angiv tærskel - - + + Choose a value between 0% and 100% Vælg en værdi imellem 0% og 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Tilsted Analog Pind - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Bevæg, efter tryk på OK, først din styrepind vandret og så lodret. Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. - + Center axis - - + + Deadzone: %1% Dødzone: %1% - - + + Modifier Range: %1% Forandringsrækkevidde: %1% - - + + Pro Controller Pro-Styringsenhed - + Dual Joycons Dobbelt-Joycon - + Left Joycon Venstre Joycon - + Right Joycon Højre Joycon - + Handheld Håndholdt - + GameCube Controller GameCube-Styringsenhed - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis - + Start / Pause Start / Pause - + Z Z - + Control Stick Styrepind - + C-Stick C-Pind - + Shake! Ryst! - + [waiting] [venter] - + New Profile Ny Profil - + Enter a profile name: Indtast et profilnavn: - - + + Create Input Profile Opret Input-Profil - + The given profile name is not valid! Det angivne profilnavn er ikke gyldigt! - + Failed to create the input profile "%1" Oprettelse af input-profil "%1" mislykkedes - + Delete Input Profile Slet Input-Profil - + Failed to delete the input profile "%1" Sletning af input-profil "%1" mislykkedes - + Load Input Profile Indlæs Input-Profil - + Failed to load the input profile "%1" Indlæsning af input-profil "%1" mislykkedes - + Save Input Profile Gem Input-Profil - + Failed to save the input profile "%1" Lagring af input-profil "%1" mislykkedes @@ -2788,7 +2970,7 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. - + Configure Konfigurér @@ -2824,7 +3006,7 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. - + Test Afprøv @@ -2844,81 +3026,156 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.<a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Find Ud Af Mere</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Portnummer indeholder ugyldige tegn - + Port has to be in range 0 and 65353 Port skal være imellem 0 and 65353 - + IP address is not valid IP-adresse er ikke gyldig - + This UDP server already exists Denne UDP-server eksisterer allerede - + Unable to add more than 8 servers Ude af stand til, at tilføje mere end 8 servere - + Testing Afprøvning - + Configuring Konfigurér - + Test Successful Afprøvning Lykkedes - + Successfully received data from the server. Modtagelse af data fra serveren lykkedes. - + Test Failed Afprøvning Mislykkedes - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Kunne ikke modtage gyldig data fra serveren.<br>Bekræft venligst, at serveren er opsat korrekt, og at adressen og porten er korrekte. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP-Afprøvnings- eller -kalibreringskonfiguration er i gang.<br>vent venligst på, at de bliver færdige. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standard + + ConfigureNetwork @@ -2995,47 +3252,47 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.Udvikler - + Add-Ons Tilføjelser - + General Generelt - + System System - + CPU CPU - + Graphics Grafik - + Adv. Graphics - + Audio Lyd - + Input Profiles - + Properties Egenskaber @@ -3237,12 +3494,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3263,33 +3520,95 @@ UUID: %2 Dødzone: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Gendan Standarder - + Clear Ryd - + [not set] [ikke indstillet] - + Invert axis Omvend akser - - + + Deadzone: %1% Dødzone: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Konfigurér + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [venter] @@ -3594,8 +3913,8 @@ UUID: %2 - English - Engelsk + American English + @@ -3698,54 +4017,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Konsol-ID: - - - - Sound output mode - Lydoutput-tilstand - - - - Regenerate - Regenerér - - - + System settings are available only when game is not running. Systemindstillinger er kun tilgængelige, når spil ikke kører. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Dette vil erstatte din nuværende virtuelle Switch med en ny. Din nuværende virtuelle Switch vil ikke kunne gendannes. Dette kan have uforudsete konsekvenser i spil. Dette kan fejle, hvis du bruger en forældet konfiguration fra gemte data. Fortsæt? - - - - Warning - Advarsel - - - - Console ID: 0x%1 - Konsol-ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3814,7 +4098,7 @@ UUID: %2 TAS-Konfiguration - + Select TAS Load Directory... Vælg TAS-Indlæsningsmappe... @@ -4370,7 +4654,7 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r Styringsenhed P1 - + &Controller P1 &Styringsenhed P1 @@ -4383,42 +4667,37 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4426,12 +4705,12 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r DirectConnectWindow - + Connecting - + Connect @@ -4439,920 +4718,895 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonym data indsamles</a>, for at hjælp med, at forbedre yuzu. <br/><br/>Kunne du tænke dig, at dele dine brugsdata med os? - + Telemetry Telemetri - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Indlæser Net-Applet... - - + + Disable Web Applet Deaktivér Net-Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Aktuel emuleringshastighed. Værdier højere eller lavere end 100% indikerer, at emulering kører hurtigere eller langsommere end en Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue - + &Pause - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Advarsel, Forældet Spilformat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. - - + + Error while loading ROM! Fejl under indlæsning af ROM! - + The ROM format is not supported. ROM-formatet understøttes ikke. - + An error occurred initializing the video core. Der skete en fejl under initialisering af video-kerne. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. - + (64-bit) - + (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit - + Closing software... - + Save Data - + Mod Data - + Error Opening %1 Folder Fejl ved Åbning af %1 Mappe - - + + Folder does not exist! Mappe eksisterer ikke! - + Error Opening Transferable Shader Cache - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry - - - - - - + + + + + + Successfully Removed - + Successfully removed the installed base game. - + The base game is not installed in the NAND and cannot be removed. - + Successfully removed the installed update. - + There is no update installed for this title. - + There are no DLC installed for this title. - + Successfully removed %1 installed DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? - + + Remove Cache Storage? + + + + Remove File - - + + Error Removing Transferable Shader Cache - - + + A shader cache for this title does not exist. - + Successfully removed the transferable shader cache. - + Failed to remove the transferable shader cache. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration - + A custom configuration for this title does not exist. - + Successfully removed the custom game configuration. - + Failed to remove the custom game configuration. - - + + RomFS Extraction Failed! RomFS-Udpakning Mislykkedes! - + There was an error copying the RomFS files or the user cancelled the operation. Der skete en fejl ved kopiering af RomFS-filerne, eller brugeren afbrød opgaven. - + Full Fuld - + Skeleton Skelet - + Select RomFS Dump Mode Vælg RomFS-Nedfældelsestilstand - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Udpakker RomFS... - - + + Cancel Afbryd - + RomFS Extraction Succeeded! RomFS-Udpakning Lykkedes! - + The operation completed successfully. Fuldførelse af opgaven lykkedes. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 Fejl ved Åbning af %1 - + Select Directory Vælg Mappe - + Properties Egenskaber - + The game properties could not be loaded. Spil-egenskaberne kunne ikke indlæses. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch-Eksekverbar (%1);;Alle filer (*.*) - + Load File Indlæs Fil - + Open Extracted ROM Directory Åbn Udpakket ROM-Mappe - + Invalid Directory Selected Ugyldig Mappe Valgt - + The directory you have selected does not contain a 'main' file. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files - + %n file(s) remaining - + Installing file "%1"... Installér fil "%1"... - - + + Install Results - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Systemapplikation - + System Archive Systemarkiv - + System Application Update Systemapplikationsopdatering - + Firmware Package (Type A) Firmwarepakke (Type A) - + Firmware Package (Type B) Firmwarepakke (Type B) - + Game Spil - + Game Update Spilopdatering - + Game DLC Spiludvidelse - + Delta Title Delta-Titel - + Select NCA Install Type... Vælg NCA-Installationstype... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) - + Failed to Install Installation mislykkedes - + The title type you selected for the NCA is invalid. - + File not found Fil ikke fundet - + File "%1" not found Fil "%1" ikke fundet - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Manglende yuzu-Konto - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. - + Error opening URL - + Unable to open the URL "%1". - + TAS Recording - + Overwrite file of player 1? - + Invalid config detected - + Handheld controller can't be used on docked mode. Pro controller will be selected. - - + + Amiibo - - + + The current amiibo has been removed - + Error - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) Amiibo-Fil (%1);; Alle Filer (*.*) - + Load Amiibo Indlæs Amiibo - + Error loading Amiibo data Fejl ved indlæsning af Amiibo-data - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Optag Skærmbillede - + PNG Image (*.png) PNG-Billede (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running - + &Start - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Speed: %1% / %2% Hastighed: %1% / %2% - + Speed: %1% Hastighed: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Spil: %1 FPS - + Frame: %1 ms Billede: %1 ms - - GPU NORMAL + + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - - - - - VULKAN - - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - - + NO AA - - FXAA - FXAA - - - - SMAA + + VOLUME: MUTE - + + VOLUME: %1% + Volume percentage (e.g. 50%) + + + + Confirm Key Rederivation - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5363,81 +5617,186 @@ This will delete your autogenerated key files and re-run the key derivation modu - + Missing fuses - + - Missing BOOT0 - + - Missing BCPKG2-1-Normal-Main - + - Missing PRODINFO - + Derivation Components Missing - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. - + Deriving Keys - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target - + Please select which RomFS you would like to dump. - + Are you sure you want to close yuzu? Er du sikker på, at du vil lukke yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Er du sikker på, at du vil stoppe emulereingen? Enhver ulagret data, vil gå tabt. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? + + + None + Ingen + + + + FXAA + FXAA + + + + SMAA + + + + + Nearest + + + + + Bilinear + Bilineær + + + + Bicubic + Bikubisk + + + + Gaussian + Gausisk + + + + ScaleForce + ScaleForce + + + + Docked + Dokket + + + + Handheld + Håndholdt + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5538,117 +5897,122 @@ Would you like to bypass this and exit anyway? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - + Remove All Installed Contents - + Dump RomFS - + Dump RomFS to SDMC - + Copy Title ID to Clipboard Kopiér Titel-ID til Udklipsholder - + Navigate to GameDB entry - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Egenskaber - + Scan Subfolders - + Remove Game Directory - + ▲ Move Up - + ▼ Move Down - + Open Directory Location - + Clear Ryd - + Name Navn - + Compatibility Kompatibilitet - + Add-ons Tilføjelser - + File type Filtype - + Size Størrelse @@ -5719,7 +6083,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list @@ -5732,12 +6096,12 @@ Would you like to bypass this and exit anyway? - + Filter: Filter: - + Enter pattern to filter @@ -5827,138 +6191,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Optag Skærmbillede - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Fuldskærm - + Load File Indlæs Fil - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5981,7 +6345,7 @@ Debug Message: Installér - + Install Files to NAND @@ -5989,7 +6353,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6063,51 +6427,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Spillere - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6637,7 +7006,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6686,31 +7055,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Skift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [ikke indstillet] @@ -6721,14 +7090,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Akse %1%2 @@ -6739,263 +7108,321 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [ukendt] - - - + + + Left Venstre - - - + + + Right Højre - - - + + + Down ed - - - + + + Up Op - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 - - + + L2 - - + + L3 - - + + R1 - - + + R2 - - + + R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 - - + + [unused] [ubrugt] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Plus + + + + Minus + Minus + + + + Home Hjem - + + Capture + Optag + + + Touch Berøring - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 @@ -7365,26 +7792,26 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + An error has occurred. %1 @@ -7404,20 +7831,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Vælg en bruger: - - - + Users Brugere - + + Profile Creator + + + + + Profile Selector Profilvælger + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Vælg en bruger: + QtSoftwareKeyboardDialog @@ -7463,51 +7951,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - - - - - waiting for one of the following objects - - - WaitTreeSynchronizationObject - - [%1] %2 %3 + + [%1] %2 - + waited by no thread ventet af ingen tråde @@ -7515,120 +7972,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused sat på pause - + sleeping slumrer - + waiting for IPC reply venter på IPC-svar - + waiting for objects venter på objekter - + waiting for condition variable - + waiting for address arbiter - + waiting for suspend resume - + waiting - + initialized - + terminated - + unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal idéel - + core %1 kerne %1 - + processor = %1 processor = %1 - - ideal core = %1 - idéel kerne = %1 - - - + affinity mask = %1 - + thread id = %1 tråd-id = %1 - + priority = %1(current) / %2(normal) prioritet = %1(aktuel) / %2(normal) - + last running ticks = %1 - - - not waiting for mutex - - WaitTreeThreadList - + waited by thread ventet af tråd @@ -7636,7 +8083,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/de.ts b/dist/languages/de.ts index eae45f337..500dce5f2 100644 --- a/dist/languages/de.ts +++ b/dist/languages/de.ts @@ -138,7 +138,7 @@ p, li { white-space: pre-wrap; } When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Wenn du einen Spieler blockierst, wirst du keine Chatnachricht mehr von Ihm erhalten. <br><br> Bist du sicher mit der Blockierung von %1? @@ -158,7 +158,7 @@ p, li { white-space: pre-wrap; } Are you sure you would like to <b>kick</b> %1? - + Bist du sicher, dass du %1? <b>kicken</b> möchtest? @@ -170,7 +170,8 @@ p, li { white-space: pre-wrap; } Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Bist du sicher, dass du %1? kicken und sperren möchtest? +Dies würde deren Forum Benutzernamen und deren IP-Adresse sperren. @@ -211,7 +212,7 @@ This would ban both their forum username and their IP address. %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 Mitglieder) - verbunden @@ -240,102 +241,102 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body>Startet das Spiel?</p></body></html> Yes The game starts to output video or audio - + Ja Das Spiel beginnt mit der Video- oder Audioausgabe No The game doesn't get past the "Launching..." screen - + Das Spiel kommt nicht über den "Starten..."-Bildschirm hinaus Yes The game gets past the intro/menu and into gameplay - + Ja Das Spiel kommt über das Intro/Menü hinaus und ins Gameplay No The game crashes or freezes while loading or using the menu - + Nein das Spiel stürzt ab oder friert ein während des Ladens des Menüs. <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Erreicht das Spiel den Spielverlauf?</p></body></html> Yes The game works without crashes - + Ja Das Spiel funktioniert ohne Abstürze. No The game crashes or freezes during gameplay - + Nein Das Spiel stürzt ab oder freezed während des spielen. <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Funktioniert das Spiel ohne Abstürze, einfrieren oder dass es sich während des Spielverlaufs aufhängt?</p></body></html> Yes The game can be finished without any workarounds - + Ja Das Spiel kann ohne Workarounds abgeschlossen werden. No The game can't progress past a certain area - + Nein Spezielle Bereiche des Spieles können nicht abgeschlossen werden. <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Ist das Spiel komplett spielbar von Anfang bis Ende?</p></body></html> Major The game has major graphical errors - + Schwerwiegend  Das Spiel hat schwerwiegende graphische Fehler Minor The game has minor graphical errors - + Kleinere Das Spiel hat kleinere graphische Fehler None Everything is rendered as it looks on the Nintendo Switch - + Keine  Alles wird genau so gerendert wie es auf der Nintendo Switch aussieht <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Hat das Spiel irgendwelche grafischen Störungen?</p></body></html> Major The game has major audio errors - + Schwerwiegend Das Spiel hat schwerwiegende Audio Fehler Minor The game has minor audio errors - + Kleinere Das Spiel hat kleinere Audio Fehler None Audio is played perfectly - + Keine Audio wird perfekt abgespielt <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Hat das Spiel irgendwelche Tonstörungen / fehlende Effekte?</p></body></html> @@ -378,36 +379,61 @@ This would ban both their forum username and their IP address. - Output Device - Ausgabegerät + Output Device: + Ausgabegerät: - Input Device - Eingabegerät + Input Device: + Eingabegerät: - + + Sound Output Mode: + Tonausgangsmodus: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Globale Lautstärke verwenden - + Set volume: Lautstärke: - + Volume: Lautstärke: - + 0 % 0 % - + + Mute audio when in background + Audio im Hintergrund stummschalten + + + %1% Volume percentage (e.g. 50%) %1% @@ -551,7 +577,8 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - + +Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen indem diese mit ungenauen Rundungsmodellen laufen. @@ -576,19 +603,23 @@ This would ban both their forum username and their IP address. <div>This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.</div> - + +<div>Diese option verbessert die Geschwindigkeit durch ausschalten eines Sicherheits Check, bevor jeder speicher lesen/schreiben im Gast. Ausschalten erlaubt den Spiel vielleicht den Emulators Speicher zu lesen/schreiben.</div> + Disable address space checks - + Adressraumprüfungen deaktivieren <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + + <div>Diese Option verbessert die Geschwindigkeit, indem sie sich nur auf die Semantik von cmpxchg (compare and swap) verlässt, um die Sicherheit von Anweisungen mit exklusivem Zugriff zu gewährleisten. Bitte beachten Sie, dass dies zu Deadlocks und anderen Race Conditions führen kann.</div> + @@ -621,7 +652,7 @@ This would ban both their forum username and their IP address. <html><head/><body><p><span style=" font-weight:600;">For debugging only.</span><br/>If you're not sure what these do, keep all of these enabled. <br/>These settings, when disabled, only take effect when CPU Debugging is enabled. </p></body></html> - + <html><head/><body><p><span style=" font-weight:600;">Nur für debugging.</span><br/>Wenn du nicht sicher bist was sie tun, dann lasse sie alle an. <br/>Diese Einstellung wenn ausgeschaltet, funktionieren nur wen CPU debugging an ist.</p></body></html> @@ -748,12 +779,14 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Diese Optimierung verschnellert Zugriff auf den Speicher durch ein Gast programm.</div> + <div style="white-space: nowrap"> Enable Host MMU Emulation (general memory instructions) - + Aktiviert Host MMU Emulation (Generale Speicher Anweisung) @@ -762,12 +795,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all exclusive memory accesses to use Software MMU Emulation.</div> - + +<div style="white-space: nowrap"> Diese Optimierung beschleunigt exklusive Speicherzugriffe durch das Gastprogramm.</div> +<div style="white-space: nowrap"> Die Aktivierung führt dazu, dass gastexklusive Speicherlese- und -schreibvorgänge direkt im Speicher erfolgen und die MMU des Hosts verwendet wird.</div> +<div style="white-space: nowrap"> Die Deaktivierung dieser Funktion zwingt alle exklusiven Speicherzugriffe zur Verwendung der Software-MMU-Emulation.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Aktiviere Host MMU Emulation (exlusive memory instructions). @@ -775,12 +812,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + +<div style="white-space: nowrap"> Diese Optimierung beschleunigt exklusive Speicherzugriffe durch das Gastprogramm.</div> +<div style="white-space: nowrap"> Durch die Aktivierung wird der Overhead von Fastmem-Fehlern bei exklusiven Speicherzugriffen reduziert.</div> + Enable recompilation of exclusive memory instructions - + Neukompilierung von Anweisungen mit exklusivem Speicher aktivieren @@ -788,12 +828,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + +<div style="white-space: nowrap"> Diese Optimierung beschleunigt die Speicherzugriffe, indem sie ungültige Speicherzugriffe zulässt.</div> +<div style="white-space: nowrap"> Die Aktivierung reduziert den Overhead aller Speicherzugriffe und hat keine Auswirkungen auf Programme, die nicht auf ungültigen Speicher zugreifen.</div> + Enable fallbacks for invalid memory accesses - + Fallbacks für ungültige Speicherzugriffe einschalten @@ -876,7 +919,7 @@ This would ban both their forum username and their IP address. When checked, it enables Nsight Aftermath crash dumps - + Wenn diese Option aktiviert ist, werden Nsight Aftermath-Crash-Dumps zugelassen. @@ -886,7 +929,7 @@ This would ban both their forum username and their IP address. When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Wenn diese Option aktiviert ist, werden alle Original-Assembler-Shader aus dem Festplatten-Shader-Cache oder welche von dem Spiel gefunden gefunden gedumpt. @@ -896,7 +939,7 @@ This would ban both their forum username and their IP address. When checked, it will dump all the macro programs of the GPU - + Wenn diese Option aktiviert ist, werden alle Makroprogramme der GPU gedumpt @@ -914,102 +957,112 @@ This would ban both their forum username and their IP address. Macro-JIT deaktivieren - - When checked, yuzu will log statistics about the compiled pipeline cache - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + When checked, it disables the macro HLE functions. Enabling this makes games run slower - + + Disable Macro HLE + Deaktiviert Macro-HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache + Wenn ausgewählt wird yuzu Log Statistiken über den kompilierte Pipeline Chache sammeln. + + + Enable Shader Feedback Shader-Feedback aktivieren - + When checked, it executes shaders without loop logic changes - + Wenn diese Option aktiviert ist, werden Shader ohne Änderungen der looplogik ausgeführt. - + Disable Loop safety checks - + Debugging Debugging - + Enable Verbose Reporting Services** - + Ausführliche Berichtsdienste aktivieren** - + Enable FS Access Log FS-Zugriffslog aktivieren - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Aktivieren Sie diese Option, um den zuletzt generierten Audio-Log auf der Konsole auszugeben. Betrifft nur Spiele, die den Audio-Renderer verwenden. - + Dump Audio Commands To Console** - + Audio-Befehle auf die Konsole als Dump abspeichern** - + Create Minidump After Crash - + Minidump nach Absturz erstellen - + Advanced Erweitert - + Kiosk (Quest) Mode Kiosk(Quest)-Modus - + Enable CPU Debugging CPU Debugging aktivieren - + Enable Debug Asserts aktiviere Debug-Meldungen - + Enable Auto-Stub** Auto-Stub** aktivieren - + Enable All Controller Types - + Aktiviere alle Arten von Controllern - + Disable Web Applet Deaktiviere die Web Applikation - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Ermöglicht es yuzu, beim Programmstart nach einer funktionierenden Vulkan-Umgebung zu suchen. Deaktivieren Sie dies, wenn dies zu Problemen mit externen Programmen führt, die yuzu sehen. - + Perform Startup Vulkan Check - + Vulkan-Prüfung beim Start durchführen - + **This will be reset automatically when yuzu closes. **Dies wird automatisch beim Schließen von yuzu zurückgesetzt. @@ -1024,14 +1077,14 @@ This would ban both their forum username and their IP address. yuzu muss neugestartet werden, damit diese Einstellungen übernommen werden können. - + Web applet not compiled - + Web-Applet nicht kompiliert - + MiniDump creation not compiled - + MiniDump-Erstellung nicht kompiliert @@ -1079,78 +1132,78 @@ This would ban both their forum username and their IP address. yuzu-Konfiguration - - + + Audio Audio - - + + CPU CPU - + Debug Debug - + Filesystem Dateisystem - - + + General Allgemein - - + + Graphics Grafik - + GraphicsAdvanced GraphicsAdvanced - + Hotkeys Hotkeys - - + + Controls Steuerung - + Profiles Nutzer - + Network Netzwerk - - + + System System - + Game List Spieleliste - + Web Web @@ -1325,46 +1378,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Schließen des Emulators bestätigen, falls ein Spiel läuft - + Prompt for user on game boot Beim Spielstart nach Nutzer fragen - + Pause emulation when in background Emulation im Hintergrund pausieren - - Mute audio when in background - Audio im Hintergrund stummschalten - - - + Hide mouse on inactivity Mauszeiger verstecken - + + Disable controller applet + + + + Reset All Settings Setze alle Einstellungen zurück - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Hierdurch werden alle Einstellungen zurückgesetzt und alle spielspezifischen Konfigurationen gelöscht. Spiel-Ordner, Profile oder Eingabeprofile werden nicht gelöscht. Fortfahren? @@ -1403,7 +1451,7 @@ This would ban both their forum username and their IP address. - + None Keiner @@ -1425,220 +1473,276 @@ This would ban both their forum username and their IP address. Accelerate ASTC texture decoding - + Beschleunigt ASTC Texturen Decodierung + VSync Mode: + VSync Modus: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) lässt keine Bilder fallen und zeigt kein Tearing, ist aber durch die Bildwiederholfrequenz begrenzt. +FIFO Relaxed ist ähnlich wie FIFO, lässt aber Tearing zu, wenn es sich von einer Verlangsamung erholt. +Mailbox kann eine geringere Latenz als FIFO haben und zeigt kein Tearing, kann aber Bilder fallen lassen. +Immediate (keine Synchronisierung) zeigt direkt, was verfügbar ist und kann Tearing zeigen. + + + NVDEC emulation: NVDEC Emulation: - + No Video Output Keine Videoausgabe - + CPU Video Decoding CPU Video Dekodierung - + GPU Video Decoding (Default) GPU Video Dekodierung (Standard) - + Fullscreen Mode: Vollbild Modus: - + Borderless Windowed Rahmenloses Fenster - + Exclusive Fullscreen Exklusiver Vollbildmodus - + Aspect Ratio: Seitenverhältnis: - + Default (16:9) Standard (16:9) - + Force 4:3 4:3 erzwingen - + Force 21:9 21:9 erzwingen - + Force 16:10 Erzwinge 16:10 - + Stretch to Window Auf Fenster anpassen - + Resolution: Auflösung: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EXPERIMENTELL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EXPERIMENTELL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPERIMENTELL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: - + Bildschirmanpassungsfilter: - + Nearest Neighbor - + Nächste-Nachbarn - + Bilinear Bilinear - + Bicubic Bikubisch - + Gaussian - + Gaussian - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (nur Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️Super Resolution - + Anti-Aliasing Method: Kantenglättungs-Methode: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Verwende Globale FSR Schärfe - + Set FSR Sharpness - + Setze FSR Schärfe - + FSR Sharpness: - + FSR Schärfe - + 100% 100% - - + + Use global background color Globale Hintergrundfarbe verwenden - + Set background color: Hintergrundfarbe: - + Background Color: Hintergrundfarbe: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly Shaders, Nur NVIDIA) - + SPIR-V (Experimental, Mesa Only) SPIR-V (Experimentell, Nur Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Aus + + + + VSync Off + Vsync Aus + + + + Recommended + Empfohlen + + + + On + An + + + + VSync On + Vsync An + ConfigureGraphicsAdvanced @@ -1663,77 +1767,154 @@ This would ban both their forum username and their IP address. Genauigkeit der Emulation: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync verhindert Screen-Tearing, aber manche Grafikkarten haben eine schlechtere Leistung, wenn es aktiviert ist. Wenn du keinen Unterschied merkst, lasse es aktiviert. + + ASTC recompression: + ASTC Rekompression: - - Use VSync - VSync verwenden + + Uncompressed (Best quality) + Unkomprimiert (Beste Qualität) - + + BC1 (Low quality) + BC1 (Niedrige Qualität) + + + + BC3 (Medium quality) + BC3 (Mittlere Qualität) + + + + Enable asynchronous presentation (Vulkan only) + Erlaube Asynchrone Präsentation (Nur Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Lässt im Hintergrund die GPU Aufgaben erledigen während diese auf Grafikbefehle wartet, damit diese nicht herunter taktet. + + + + Force maximum clocks (Vulkan only) + Erzwinge Maximale Taktrate (Vulkan only) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Aktiviere asynchrone ASTC Texturen Dekodierung, welche möglicherweise Ladezeiten stotter verringert. Diese Funktion ist experimentell + + + + Decode ASTC textures asynchronously (Hack) + Dekodiere ASTC-Texturen asynchron (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Verwendet reaktives Flushing anstelle von prädiktivem Flushing. Ermöglicht eine genauere Synchronisierung des Speichers. + + + + Enable Reactive Flushing + Aktiviere Reactives Flushing + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Nutze asynchrone Shader-Kompilierung. Dies kann Stottern durch Shader reduzieren. Dieses Feature ist experimentell. - + Use asynchronous shader building (Hack) - + Aktiviere asynchrones Shader Kompilieren. (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - + Aktiviert Schnelle GPU-Zeit. Diese Option zwingt die meisten Spiele dazu, mit ihrer höchsten nativen Auflösung zu laufen. - + Use Fast GPU Time (Hack) + Verwende Schnelle GPU-Zeit (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Aktiviert den GPU-anbieterspezifischen Pipeline-Cache. Diese Option kann die Shader-Ladezeit in Fällen, in denen der Vulkan-Treiber die Pipeline-Cache-Dateien nicht intern speichert, erheblich verbessern. + + + + Use Vulkan pipeline cache + Vulkan-Pipeline-Cache verwernden + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Aktiviert Compute Pipelines, die von einigen Spielen benötigt werden. Diese Einstellung existiert nur für proprietäre Intel-Treiber und kann bei Aktivierung zum Absturz führen. +Compute-Pipelines sind bei allen anderen Treibern immer aktiviert. + + + + Enable Compute Pipelines (Intel Vulkan only) + Aktiviere Compute Pipelines (nur Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + Lasse das Spiel in der normalen Geschwindigkeit abspielen, trotz freigeschalteter Bildrade (FPS) + + + + Sync to framerate of video playback + Synchronisiere die Bildrate mit der Zwischensequenz + + + + Improves rendering of transparency effects in specific games. + Verbessert das Rendering von Transparenzeffekten in bestimmten Spielen. + + + + Barrier feedback loops - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - + Anisotropic Filtering: Anisotrope Filterung: - + Automatic Automatisch - + Default Standard - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1766,70 +1947,65 @@ This would ban both their forum username and their IP address. Standardwerte wiederherstellen - + Action Aktion - + Hotkey Hotkey - + Controller Hotkey Controller-Hotkey - - - + + + Conflicting Key Sequence Tastensequenz bereits belegt - - + + The entered key sequence is already assigned to: %1 Die eingegebene Sequenz ist bereits vergeben an: %1 - - Home+%1 - Home+%1 - - - + [waiting] [wartet] - + Invalid Ungültig - + Restore Default Standardwerte wiederherstellen - + Clear Löschen - - - Conflicting Button Sequence - - - - - The default button sequence is already assigned to: %1 - - + Conflicting Button Sequence + Widersprüchliche Tastenfolge + + + + The default button sequence is already assigned to: %1 + Die Standard Tastenfolge ist bereits belegt von: %1 + + + The default key sequence is already assigned to: %1 Die Standard-Sequenz ist bereits vergeben an: %1 @@ -2121,7 +2297,7 @@ This would ban both their forum username and their IP address. - + Configure Konfigurieren @@ -2147,13 +2323,15 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Erfordet Neustart von yuzu Enable XInput 8 player support (disables web applet) - + Unterstützung für XInput 8-Player aktivieren (deaktiviert das Web-Applet) @@ -2166,22 +2344,27 @@ This would ban both their forum username and their IP address. Controller-Navigation - - Enable mouse panning - Maus-Panning aktivieren + + Enable direct JoyCon driver + Aktiviere direkten JoyCon-Treiber - - Mouse sensitivity - Maus-Empfindlichkeit + + Enable direct Pro Controller driver [EXPERIMENTAL] + Aktiviere direkten Pro Controller-Treiber [EXPERIMENTELL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Ermöglicht die unbegrenzte Nutzung des gleichen Amiibo's welches andernfalls durch das Spiel limitiert wird. - + + Use random Amiibo ID + Zufällige Amiibo-ID verwenden + + + Motion / Touch Bewegung / Touch @@ -2246,12 +2429,12 @@ This would ban both their forum username and their IP address. Use global input configuration - + Verwende globale Eingabe-Konfiguration Player %1 profile - + Profil Spieler %1 @@ -2293,7 +2476,7 @@ This would ban both their forum username and their IP address. - + Left Stick Linker Analogstick @@ -2387,14 +2570,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2413,7 +2596,7 @@ This would ban both their forum username and their IP address. - + Plus Plus @@ -2426,15 +2609,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2491,236 +2674,257 @@ This would ban both their forum username and their IP address. - + Right Stick Rechter Analogstick - - - - + + Mouse panning + + + + + Configure + Konfigurieren + + + + + + Clear Löschen - - - - - + + + + + [not set] [nicht belegt] - - + + + Invert button Knopf invertieren - - + + Toggle button Taste umschalten - - + + Turbo button + Turbo Knopf + + + + Invert axis Achsen umkehren - - - + + + Set threshold - + Schwellwert festlegen - - + + Choose a value between 0% and 100% Wert zwischen 0% und 100% wählen - + Toggle axis - + Set gyro threshold - + Gyro-Schwelle einstellen - + + Calibrate sensor + Kalibriere den Sensor + + + Map Analog Stick Analog-Stick festlegen - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Nach dem Drücken von OK den Joystick zuerst horizontal, dann vertikal bewegen. Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizontal. - + Center axis Achse zentrieren - - + + Deadzone: %1% Deadzone: %1% - - + + Modifier Range: %1% Modifikator-Radius: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Zwei Joycons - + Left Joycon Linker Joycon - + Right Joycon Rechter Joycon - + Handheld Handheld - + GameCube Controller GameCube-Controller - + Poke Ball Plus Poke-Ball Plus - + NES Controller NES Controller - + SNES Controller SNES Controller - + N64 Controller N64 Controller - + Sega Genesis Sega Genesis - + Start / Pause Start / Pause - + Z Z - + Control Stick Analog Stick - + C-Stick C-Stick - + Shake! Schütteln! - + [waiting] [wartet] - + New Profile Neues Profil - + Enter a profile name: Profilnamen eingeben: - - + + Create Input Profile Eingabeprofil erstellen - + The given profile name is not valid! Angegebener Profilname ist nicht gültig! - + Failed to create the input profile "%1" Erstellen des Eingabeprofils "%1" ist fehlgeschlagen - + Delete Input Profile Eingabeprofil löschen - + Failed to delete the input profile "%1" Löschen des Eingabeprofils "%1" ist fehlgeschlagen - + Load Input Profile Eingabeprofil laden - + Failed to load the input profile "%1" Laden des Eingabeprofils "%1" ist fehlgeschlagen - + Save Input Profile Eingabeprofil speichern - + Failed to save the input profile "%1" Speichern des Eingabeprofils "%1" ist fehlgeschlagen @@ -2768,7 +2972,7 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta - + Configure Einrichtung @@ -2804,7 +3008,7 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta - + Test Testen @@ -2824,81 +3028,156 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Mehr erfahren</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Port-Nummer hat ungültige Zeichen - + Port has to be in range 0 and 65353 Port muss zwischen 0 und 65353 liegen - + IP address is not valid IP Adresse ist ungültig - + This UDP server already exists Dieser UDP-Server existiert bereits - + Unable to add more than 8 servers Es können nicht mehr als 8 Server hinzugefügt werden - + Testing Testen - + Configuring Einrichten - + Test Successful Test erfolgreich - + Successfully received data from the server. Daten wurden erfolgreich vom Server empfangen. - + Test Failed Test fehlgeschlagen - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Konnte keine Daten vom Server empfangen.<br>Prüfe bitte, dass der Server korrekt eingerichtet wurde und dass Adresse und Port korrekt sind. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP-Test oder Kalibration wird gerade durchgeführt.<br>Bitte warte einen Moment. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Aktiviere + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standard + + ConfigureNetwork @@ -2975,47 +3254,47 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta Entwickler - + Add-Ons Add-Ons - + General Allgemeines - + System System - + CPU CPU - + Graphics Grafik - + Adv. Graphics Erw. Grafik - + Audio Audio - + Input Profiles Eingabe-Profile - + Properties Einstellungen @@ -3181,12 +3460,12 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta Error resizing user image - + Fehler bei der Größenänderung des Benutzerbildes Unable to resize image - + Die Bildgröße kann nicht angepasst werden. @@ -3217,13 +3496,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Parameter für den virtuellen Ringsensor @@ -3243,33 +3522,95 @@ UUID: %2 Deadzone: 0% - + + Direct Joycon Driver + Direkter Joycon-Treiber + + + + Enable Ring Input + Ring-Eingabe aktivieren + + + + + Enable + Aktiviere + + + + Ring Sensor Value + Ringsensor-Wert + + + + + Not connected + Nicht verbunden + + + Restore Defaults Standardwerte wiederherstellen - + Clear Löschen - + [not set] [nicht belegt] - + Invert axis Achsen umkehren - - + + Deadzone: %1% Deadzone: %1% - + + Error enabling ring input + Fehler beim Aktivieren des Ring-Inputs + + + + Direct Joycon driver is not enabled + Direkter JoyCon-Treiber ist nicht aktiviert + + + + Configuring + Einrichten + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Unerwartetes Treiber Ergebnis %1 + + + [waiting] [wartet] @@ -3574,8 +3915,8 @@ UUID: %2 - English - Englisch + American English + Amerikanisches Englisch @@ -3675,57 +4016,22 @@ UUID: %2 Device Name - + Gerätename - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Unsicheres erweitertes Speicherlayout (8GB DRAM) - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Konsolen ID: - - - - Sound output mode - Soundausgabe - - - - Regenerate - Neu generieren - - - + System settings are available only when game is not running. Die Systemeinstellungen sind nur verfügbar, wenn kein Spiel aktiv ist. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Dieser Vorgang wird deine momentane "virtuelle Switch" mit einer Neuen ersetzen. Deine momentane "virtuelle Switch" wird nicht wiederherstellbar sein. Dies könnte einige unerwartete Effekte in manchen Spielen mit sich bringen. Zudem könnte der Prozess fehlschlagen, wenn zu alte Daten verwendet werden. Möchtest du den Vorgang fortsetzen? - - - - Warning - Warnung - - - - Console ID: 0x%1 - Konsolen ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Achtung: "%1" ist keine valide Sprache für die Region "%2" @@ -3738,17 +4044,17 @@ UUID: %2 <html><head/><body><p>Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation, please consult the <a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;">help page</span></a> on the yuzu website.</p></body></html> - + <html><head/><body><p>Liest Controller-Eingaben von Skripten im gleichen Format wie TAS-nx-Skripte.<br/>Für eine detailliertere Erklärung, konsultiere bitte die <a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;"> Hilfe Seite </span></a> auf der yuzu website.</p></body></html> To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -> General -> Hotkeys). - + Um zu überprüfen, welche Hotkeys die Wiedergabe/Aufnahme steuern, sehen Sie bitte in den Hotkey-Einstellungen nach (Konfigurieren -> Allgemein -> Hotkeys). WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. - + ACHTUNG: Dies ist ein experimentes Feature.<br/>Es wird scripts nicht perfekt mit der momentanen, unperfekten Synchronisationsmethode abspielen. @@ -3794,9 +4100,9 @@ UUID: %2 TAS-Konfiguration - + Select TAS Load Directory... - + TAS-Lade-Verzeichnis auswählen... @@ -4350,7 +4656,7 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf Controller P1 - + &Controller P1 &Controller P1 @@ -4363,42 +4669,37 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf Direkt verbinden - - IP Address - IP-Addresse + + Server Address + Serveradresse - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Serveradresse des Hosts</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>IPv4 Addresse des Hosts</p></body></html> - - - + Port Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname Nickname - + Password Passwort - + Connect Verbinden @@ -4406,12 +4707,12 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf DirectConnectWindow - + Connecting Verbinde - + Connect Verbinden @@ -4419,534 +4720,576 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonyme Daten werden gesammelt,</a> um yuzu zu verbessern.<br/><br/>Möchstest du deine Nutzungsdaten mit uns teilen? - + Telemetry Telemetrie - + Broken Vulkan Installation Detected Defekte Vulkan-Installation erkannt - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. + Vulkan Initialisierung fehlgeschlagen.<br><br>Klicken Sie auf <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>für Instruktionen zur Problembehebung.</a>. + + + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + Loading Web Applet... Lade Web-Applet... - - + + Disable Web Applet Deaktiviere die Web Applikation - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built Wie viele Shader im Moment kompiliert werden - + The current selected resolution scaling multiplier. - + Der momentan ausgewählte Auflösungsskalierung Multiplikator. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Derzeitige Emulations-Geschwindigkeit. Werte höher oder niedriger als 100% zeigen, dass die Emulation scheller oder langsamer läuft als auf einer Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Wie viele Bilder pro Sekunde angezeigt werden variiert von Spiel zu Spiel und von Szene zu Szene. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Zeit, die gebraucht wurde, um einen Switch-Frame zu emulieren, ohne Framelimit oder V-Sync. Für eine Emulation bei voller Geschwindigkeit sollte dieser Wert bei höchstens 16.67ms liegen. - + + Unmute + Ton aktivieren + + + + Mute + Stummschalten + + + + Reset Volume + Ton zurücksetzen + + + &Clear Recent Files &Zuletzt geladene Dateien leeren - + + Emulated mouse is enabled + Emulierte Maus ist aktiviert + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Echte Mauseingabe und Mausschwenken sind nicht kompatibel. Bitte deaktivieren Sie die emulierte Maus in den erweiterten Eingabeeinstellungen, um das Schwenken der Maus zu ermöglichen. + + + &Continue &Fortsetzen - + &Pause &Pause - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu betreibt ein Speil - - - + Warning Outdated Game Format Warnung veraltetes Spielformat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Du nutzt eine entpackte ROM-Ordnerstruktur für dieses Spiel, welches ein veraltetes Format ist und von anderen Formaten wie NCA, NAX, XCI oder NSP überholt wurde. Entpackte ROM-Ordner unterstützen keine Icons, Metadaten oder Updates.<br><br><a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>Unser Wiki</a> enthält eine Erklärung der verschiedenen Formate, die yuzu unterstützt. Diese Nachricht wird nicht noch einmal angezeigt. - - + + Error while loading ROM! ROM konnte nicht geladen werden! - + The ROM format is not supported. ROM-Format wird nicht unterstützt. - + An error occurred initializing the video core. Beim Initialisieren des Video-Kerns ist ein Fehler aufgetreten. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Yuzu ist auf einen Fehler gestoßen beim Ausführen des Videokerns. +Dies ist in der Regel auf veraltete GPU Treiber zurückzuführen, integrierte GPUs eingeschlossen. +Bitte öffnen Sie die Log Datei für weitere Informationen. Für weitere Informationen wie Sie auf die Log Datei zugreifen, öffnen Sie bitte die folgende Seite: <a href='https://yuzu-emu.org/help/reference/log-files/'>Wie wird eine Log Datei hochgeladen?</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. ROM konnte nicht geladen werden! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Bitte folge der <a href='https://yuzu-emu.org/help/quickstart/'>yuzu-Schnellstart-Anleitung</a> um deine Dateien zu extrahieren.<br>Hilfe findest du im yuzu-Wiki</a> oder dem yuzu-Discord</a>. - + An unknown error occurred. Please see the log for more details. Ein unbekannter Fehler ist aufgetreten. Bitte prüfe die Log-Dateien auf mögliche Fehlermeldungen. - + (64-bit) (64-Bit) - + (32-bit) (32-Bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... Schließe Software... - + Save Data Speicherdaten - + Mod Data Mod-Daten - + Error Opening %1 Folder Konnte Verzeichnis %1 nicht öffnen - - + + Folder does not exist! Verzeichnis existiert nicht! - + Error Opening Transferable Shader Cache Fehler beim Öffnen des transferierbaren Shader-Caches - + Failed to create the shader cache directory for this title. - + Fehler beim erstellen des Shader-Cache-Ordner für den ausgewählten Titel. - + Error Removing Contents - + Fehler beim Entfernen des Inhalts - + Error Removing Update Fehler beim Entfernen des Updates - + Error Removing DLC Fehler beim Entfernen des DLCs - + Remove Installed Game Contents? - + Installierten Spiele-Content entfernen? - + Remove Installed Game Update? Installierte Spiele-Updates entfernen? - + Remove Installed Game DLC? Installierte Spiele-DLCs entfernen? - + Remove Entry Eintrag entfernen - - - - - - + + + + + + Successfully Removed Erfolgreich entfernt - + Successfully removed the installed base game. Das Spiel wurde entfernt. - + The base game is not installed in the NAND and cannot be removed. Das Spiel ist nicht im NAND installiert und kann somit nicht entfernt werden. - + Successfully removed the installed update. Das Update wurde entfernt. - + There is no update installed for this title. Es ist kein Update für diesen Titel installiert. - + There are no DLC installed for this title. Es sind keine DLC für diesen Titel installiert. - + Successfully removed %1 installed DLC. %1 DLC entfernt. - + Delete OpenGL Transferable Shader Cache? Transferierbaren OpenGL Shader Cache löschen? - + Delete Vulkan Transferable Shader Cache? Transferierbaren Vulkan Shader Cache löschen? - + Delete All Transferable Shader Caches? Alle transferierbaren Shader Caches löschen? - + Remove Custom Game Configuration? Spiel-Einstellungen entfernen? - + + Remove Cache Storage? + Cache-Speicher entfernen? + + + Remove File Datei entfernen - - + + Error Removing Transferable Shader Cache Fehler beim Entfernen - - + + A shader cache for this title does not exist. Es existiert kein Shader-Cache für diesen Titel. - + Successfully removed the transferable shader cache. Der transferierbare Shader-Cache wurde entfernt. - + Failed to remove the transferable shader cache. Konnte den transferierbaren Shader-Cache nicht entfernen. - - + + Error Removing Vulkan Driver Pipeline Cache + Fehler beim Entfernen des Vulkan-Pipeline-Cache + + + + Failed to remove the driver pipeline cache. + Fehler beim Entfernen des Driver-Pipeline-Cache + + + + Error Removing Transferable Shader Caches Fehler beim Entfernen der transferierbaren Shader Caches - + Successfully removed the transferable shader caches. - + Die übertragbaren Shader-Caches wurden erfolgreich entfernt. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration Fehler beim Entfernen - + A custom configuration for this title does not exist. Es existieren keine Spiel-Einstellungen für dieses Spiel. - + Successfully removed the custom game configuration. Die Spiel-Einstellungen wurden entfernt. - + Failed to remove the custom game configuration. Die Spiel-Einstellungen konnten nicht entfernt werden. - - + + RomFS Extraction Failed! RomFS-Extraktion fehlgeschlagen! - + There was an error copying the RomFS files or the user cancelled the operation. Das RomFS konnte wegen eines Fehlers oder Abbruchs nicht kopiert werden. - + Full Komplett - + Skeleton Nur Ordnerstruktur - + Select RomFS Dump Mode RomFS Extraktions-Modus auswählen - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Bitte wähle, wie das RomFS gespeichert werden soll.<br>"Full" wird alle Dateien des Spiels extrahieren, während <br>"Skeleton" nur die Ordnerstruktur erstellt. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Es ist nicht genügend Speicher (%1) vorhanden um das RomFS zu entpacken. Bitte sorge für genügend Speicherplatze oder wähle ein anderes Verzeichnis aus. (Emulation > Konfiguration > System > Dateisystem > Dump Root) - + Extracting RomFS... RomFS wird extrahiert... - - + + Cancel Abbrechen - + RomFS Extraction Succeeded! RomFS wurde extrahiert! - + The operation completed successfully. Der Vorgang wurde erfolgreich abgeschlossen. - - - - - + + + + + Create Shortcut Verknüpfung erstellen - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Icon erstellen - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Symboldatei konnte nicht erstellt werden. Der Pfad "%1" existiert nicht oder kann nicht erstellt werden. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Verknüpfung konnte nicht unter %1 erstellt werden. - + Successfully created a shortcut to %1 - + Verknüpfung wurde erfolgreich erstellt unter %1 - + Error Opening %1 Fehler beim Öffnen von %1 - + Select Directory Verzeichnis auswählen - + Properties Einstellungen - + The game properties could not be loaded. Spiel-Einstellungen konnten nicht geladen werden. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch-Programme (%1);;Alle Dateien (*.*) - + Load File Datei laden - + Open Extracted ROM Directory Öffne das extrahierte ROM-Verzeichnis - + Invalid Directory Selected Ungültiges Verzeichnis ausgewählt - + The directory you have selected does not contain a 'main' file. Das Verzeichnis, das du ausgewählt hast, enthält keine 'main'-Datei. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Installierbares Switch-Programm (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submissions Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Dateien installieren - + %n file(s) remaining %n Datei verbleibend%n Dateien verbleibend - + Installing file "%1"... Datei "%1" wird installiert... - - + + Install Results NAND-Installation - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Um Konflikte zu vermeiden, raten wir Nutzern davon ab, Spiele im NAND zu installieren. Bitte nutze diese Funktion nur zum Installieren von Updates und DLC. - + %n file(s) were newly installed %n file was newly installed @@ -4954,389 +5297,324 @@ Bitte nutze diese Funktion nur zum Installieren von Updates und DLC. - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Systemanwendung - + System Archive Systemarchiv - + System Application Update Systemanwendungsupdate - + Firmware Package (Type A) Firmware-Paket (Typ A) - + Firmware Package (Type B) Firmware-Paket (Typ B) - + Game Spiel - + Game Update Spiel-Update - + Game DLC Spiel-DLC - + Delta Title Delta-Titel - + Select NCA Install Type... Wähle den NCA-Installationstyp aus... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Bitte wähle, als was diese NCA installiert werden soll: (In den meisten Fällen sollte die Standardeinstellung 'Spiel' ausreichen.) - + Failed to Install Installation fehlgeschlagen - + The title type you selected for the NCA is invalid. Der Titel-Typ, den du für diese NCA ausgewählt hast, ist ungültig. - + File not found Datei nicht gefunden - + File "%1" not found Datei "%1" nicht gefunden - + OK OK - - + + Hardware requirements not met Hardwareanforderungen nicht erfüllt - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Dein System erfüllt nicht die empfohlenen Mindestanforderungen der Hardware. Meldung der Komptabilität wurde deaktiviert. - + Missing yuzu Account Fehlender yuzu-Account - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Um einen Kompatibilitätsbericht abzuschicken, musst du einen yuzu-Account mit yuzu verbinden.<br><br/>Um einen yuzu-Account zu verbinden, prüfe die Einstellungen unter Emulation &gt; Konfiguration &gt; Web. - + Error opening URL Fehler beim Öffnen der URL - + Unable to open the URL "%1". URL "%1" kann nicht geöffnet werden. - + TAS Recording TAS Aufnahme - + Overwrite file of player 1? Datei von Spieler 1 überschreiben? - + Invalid config detected Ungültige Konfiguration erkannt - + Handheld controller can't be used on docked mode. Pro controller will be selected. Handheld-Controller können nicht im Dock verwendet werden. Der Pro-Controller wird verwendet. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Das aktuelle Amiibo wurde entfernt - + Error Fehler - - + + The current game is not looking for amiibos Das aktuelle Spiel sucht nicht nach Amiibos - + Amiibo File (%1);; All Files (*.*) Amiibo-Datei (%1);; Alle Dateien (*.*) - + Load Amiibo Amiibo laden - + Error loading Amiibo data Fehler beim Laden der Amiibo-Daten - + The selected file is not a valid amiibo Die ausgewählte Datei ist keine gültige Amiibo - + The selected file is already on use Die ausgewählte Datei wird bereits verwendet - + An unknown error occurred Ein unbekannter Fehler ist aufgetreten - + Capture Screenshot Screenshot aufnehmen - + PNG Image (*.png) PNG Bild (*.png) - + TAS state: Running %1/%2 TAS Zustand: Läuft %1/%2 - + TAS state: Recording %1 TAS Zustand: Aufnahme %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid TAS Zustand: Ungültig - + &Stop Running - + &Start &Start - + Stop R&ecording - + Aufnahme stoppen - + R&ecord - + Aufnahme - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Skalierung: %1x - + Speed: %1% / %2% Geschwindigkeit: %1% / %2% - + Speed: %1% Geschwindigkeit: %1% - + Game: %1 FPS (Unlocked) Spiel: %1 FPS (Unbegrenzt) - + Game: %1 FPS Spiel: %1 FPS - + Frame: %1 ms Frame: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU HOCH - - - - GPU EXTREME - GPU EXTREM - - - - GPU ERROR - GPU FEHLER - - - - DOCKED - DOCKED - - - - HANDHELD - HANDHELD - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NÄCHSTER - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BIKUBISCH - - - - GAUSSIAN - GAUSSIAN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA - + KEIN AA - - FXAA - FXAA + + VOLUME: MUTE + LAUTSTÄRKE: STUMM - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + LAUTSTÄRKE: %1% - + Confirm Key Rederivation Schlüsselableitung bestätigen - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5349,37 +5627,37 @@ This will delete your autogenerated key files and re-run the key derivation modu Dieser Prozess wird die generierten Schlüsseldateien löschen und die Schlüsselableitung neu starten. - + Missing fuses Fuses fehlen - + - Missing BOOT0 - BOOT0 fehlt - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main fehlt - + - Missing PRODINFO - PRODINFO fehlt - + Derivation Components Missing Derivationskomponenten fehlen - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Die Verschlüsselungsschlüssel fehlen. <br>Bitte folgen Sie <a href='https://yuzu-emu.org/help/quickstart/'>dem Yuzu Schnellstart Guide</a> um ihre benötigten Schlüssel, Firmware und Spiele zu erhalten.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5387,39 +5665,49 @@ on your system's performance. Dies könnte, je nach Leistung deines Systems, bis zu einer Minute dauern. - + Deriving Keys Schlüsselableitung - + + System Archive Decryption Failed + Die Systemarchiventschlüsselung ist gescheitert. + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target RomFS wählen - + Please select which RomFS you would like to dump. Wähle, welches RomFS du speichern möchtest. - + Are you sure you want to close yuzu? Bist du sicher, dass du yuzu beenden willst? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Bist du sicher, dass du die Emulation stoppen willst? Jeder nicht gespeicherte Fortschritt geht verloren. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5427,6 +5715,101 @@ Would you like to bypass this and exit anyway? Möchtest du dies umgehen und sie trotzdem beenden? + + + None + Keiner + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bikubisch + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Im Dock + + + + Handheld + Handheld + + + + Normal + Normal + + + + High + Hoch + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5439,7 +5822,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? OpenGL shared contexts are not supported. - + Gemeinsame OpenGL-Kontexte werden nicht unterstützt. @@ -5527,117 +5910,122 @@ Möchtest du dies umgehen und sie trotzdem beenden? + Remove Cache Storage + Cache-Speicher entfernen + + + Remove OpenGL Pipeline Cache OpenGL-Pipeline-Cache entfernen - + Remove Vulkan Pipeline Cache Vulkan-Pipeline-Cache entfernen - + Remove All Pipeline Caches Alle Pipeline-Caches entfernen - + Remove All Installed Contents Alle installierten Inhalte entfernen - + Dump RomFS RomFS speichern - + Dump RomFS to SDMC - + RomFS nach SDMC dumpen - + Copy Title ID to Clipboard Title-ID in die Zwischenablage kopieren - + Navigate to GameDB entry GameDB-Eintrag öffnen - + Create Shortcut Verknüpfung erstellen - + Add to Desktop - + Zum Desktop hinzufügen - + Add to Applications Menu - + Properties Eigenschaften - + Scan Subfolders Unterordner scannen - + Remove Game Directory Spieleverzeichnis entfernen - + ▲ Move Up ▲ Nach Oben - + ▼ Move Down ▼ Nach Unten - + Open Directory Location Verzeichnis öffnen - + Clear Löschen - + Name Name - + Compatibility Kompatibilität - + Add-ons Add-ons - + File type Dateityp - + Size Größe @@ -5647,7 +6035,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? Ingame - + Im Spiel @@ -5672,7 +6060,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? Game functions with minor graphical or audio glitches and is playable from start to finish. - + Das Spiel funktioniert mit minimalen grafischen oder Tonstörungen und ist komplett spielbar. @@ -5682,7 +6070,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? Game loads, but is unable to progress past the Start Screen. - + Das Spiel lädt, ist jedoch nicht im Stande den Startbildschirm zu passieren. @@ -5708,7 +6096,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? GameListPlaceholder - + Double-click to add a new folder to the game list Doppelklicke, um einen neuen Ordner zur Spieleliste hinzuzufügen. @@ -5718,15 +6106,15 @@ Möchtest du dies umgehen und sie trotzdem beenden? %1 of %n result(s) - %1 von %n Ergebnis%1 von %n Ergebnisse + %1 von %n Ergebnis%1 von %n Ergebnisse(n) - + Filter: Filter: - + Enter pattern to filter Wörter zum Filtern eingeben @@ -5816,138 +6204,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - + Audio aktivieren / deaktivieren - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Hauptfenster - + Audio Volume Down Lautstärke verringern - + Audio Volume Up Lautstärke erhöhen - + Capture Screenshot Screenshot aufnehmen - + Change Adapting Filter Adaptiven Filter ändern - + Change Docked Mode - + Change GPU Accuracy GPU-Genauigkeit ändern - + Continue/Pause Emulation Emulation fortsetzen/pausieren - + Exit Fullscreen Vollbild verlassen - + Exit yuzu yuzu verlassen - + Fullscreen Vollbild - + Load File Datei laden - + Load/Remove Amiibo Amiibo laden/entfernen - + Restart Emulation Emulation neustarten - + Stop Emulation Emulation stoppen - + TAS Record TAS aufnehmen - + TAS Reset TAS neustarten - + TAS Start/Stop TAS starten/stoppen - + Toggle Filter Bar - + Filterleiste umschalten - + Toggle Framerate Limit - + Aktiviere Bildraten Limitierung - + Toggle Mouse Panning - + Mausschwenk umschalten - + Toggle Status Bar @@ -5970,7 +6358,7 @@ Debug Message: Installieren - + Install Files to NAND Dateien im NAND installieren @@ -5978,10 +6366,10 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 - + Der Text darf keines der folgenden Zeichen enthalten: %1 @@ -6052,51 +6440,56 @@ Debug Message: + Hide Empty Rooms + Leere Räume verbergen + + + Hide Full Rooms Volle Räume verbergen - + Refresh Lobby Lobby aktualisieren - + Password Required to Join Passwort zum Joinen benötigt - + Password: Passwort: - + Players Spieler - + Room Name Raumname - + Preferred Game Bevorzugtes Spiel - + Host Host - + Refreshing Aktualisiere - + Refresh List Liste aktualisieren @@ -6351,7 +6744,7 @@ Debug Message: R&ecord - + Aufnahme @@ -6485,7 +6878,7 @@ Debug Message: Unable to find an internet connection. Check your internet settings. - + Es konnte keine Internetverbindung hergestellt werden. Überprüfe deine Interneteinstellungen. @@ -6505,7 +6898,7 @@ Debug Message: The host of the room has banned you. Speak with the host to unban you or try a different room. - + Der Ersteller des Raumes hat dich gebannt. Wende dich an den Ersteller, um den Bann aufzuheben oder probiere einen anderen Raum aus. @@ -6553,7 +6946,8 @@ Eventuell hat dieser den Raum verlassen. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Es ist keine gültige Netzwerkschnittstelle ausgewählt. +Bitte gehen Sie zu Konfigurieren -> System -> Netzwerk und treffen Sie eine Auswahl. @@ -6564,7 +6958,7 @@ Please go to Configure -> System -> Network and make a selection. Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Einen Raum beizutreten während das Spiel bereits läuft wird nicht empfohlen und könnte zu Problemen mit dem Raum führen. Trotzdem fortfahren? @@ -6574,7 +6968,7 @@ Proceed anyway? You are about to close the room. Any network connections will be closed. - + Du bist dabei den Raum zu schließen. Jede Verbindung zum Netzwerk wird geschlossen. @@ -6584,7 +6978,7 @@ Proceed anyway? You are about to leave the room. Any network connections will be closed. - + Du bist dabei den Raum zu verlassen. Jede Verbindung zum Netzwerk wird geschlossen. @@ -6631,7 +7025,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6680,31 +7074,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Strg - - + + Alt Alt - - - - + + + + [not set] [nicht gesetzt] @@ -6715,14 +7109,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Achse %1%2 @@ -6733,264 +7127,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [unbekannt] - - - + + + Left Links - - - + + + Right Rechts - - - + + + Down Runter - - - + + + Up Hoch - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Kreis - - + + Cross Kreuz - - + + Square Quadrat - - + + Triangle Dreieck - - + + Share Teilen - - + + Options Optionen - - + + [undefined] [undefiniert] - + %1%2 %1%2 - - + + [invalid] [ungültig] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 %1%2Achse %3 - - + + %1%2Axis %3,%4,%5 %1%2Achse %3,%4,%5 - - + + %1%2Motion %3 %1%2Bewegung %3 - - - - + + %1%2Button %3 %1%2Knopf %3 - - + + [unused] [unbenutzt] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Stick L + + + + Stick R + Stick R + + + + Plus + Plus + + + + Minus + Minus + + + + Home Home - + + Capture + Screenshot + + + Touch Touch - + Wheel Indicates the mouse wheel Mausrad - + Backward Rückwärts - + Forward Vorwärts - + Task Aufgabe - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7038,7 +7490,7 @@ p, li { white-space: pre-wrap; } Creation Date - + Erstellungsdatum @@ -7048,7 +7500,7 @@ p, li { white-space: pre-wrap; } Modification Date - + Modifizierungsdatum @@ -7058,17 +7510,17 @@ p, li { white-space: pre-wrap; } Game Data - + Spieldaten Game Id - + Spiel ID Mount Amiibo - + Amiibo einbinden @@ -7083,7 +7535,7 @@ p, li { white-space: pre-wrap; } No game data present - + Keine Spieldaten vorhanden @@ -7093,12 +7545,12 @@ p, li { white-space: pre-wrap; } The following game data will removed: - + Die folgenden Spieldaten werden entfernt: Set nickname and owner: - + Spitzname und Besitzer festlegen: @@ -7359,28 +7811,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Fehlercode: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Ein Fehler ist aufgetreten. Bitte versuche es noch einmal oder kontaktiere den Entwickler der Software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Ein Fehler ist in %1 bei %2 aufgetreten. Bitte versuche es noch einmal oder kontaktiere den Entwickler der Software. - + An error has occurred. %1 @@ -7404,20 +7856,81 @@ Bitte versuche es noch einmal oder kontaktiere den Entwickler der Software. - - Select a user: - Wähle einen Benutzer aus: - - - + Users Nutzer - + + Profile Creator + Profil Ersteller + + + + Profile Selector Profilauswahl + + + Profile Icon Editor + Profil-Icon Editor + + + + Profile Nickname Editor + Profil-Spitzname Editor + + + + Who will receive the points? + Wer wird die Punkte erhalten? + + + + Who is using Nintendo eShop? + Wer verwendet den Nintendo eShop? + + + + Who is making this purchase? + Wer macht den Einkauf? + + + + Who is posting? + Wer postet? + + + + Select a user to link to a Nintendo Account. + Wähle einen Nutzer aus, den du mit dem Nintendo Account verknüpfen willst. + + + + Change settings for which user? + Für welchen Nutzer sollen die Einstellungen geändert werden? + + + + Format data for which user? + Daten für welchen Nutzer formatieren? + + + + Which user will be transferred to another console? + Welcher Nutzer wird auf eine andere Konsole übertragen? + + + + Send save data for which user? + + + + + Select a user: + Wähle einen Benutzer aus: + QtSoftwareKeyboardDialog @@ -7467,51 +7980,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Stack aufrufen - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - Warten auf Mutex 0x%1 - - - - has waiters: %1 - has waiters: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - Warten auf alle Objekte - - - - waiting for one of the following objects - Warten auf eines der folgenden Objekte - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread von keinem Thread pausiert @@ -7519,120 +8001,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable lauffähig - + paused pausiert - + sleeping schläft - + waiting for IPC reply Warten auf IPC-Antwort - + waiting for objects Warten auf Objekte - + waiting for condition variable wartet auf condition variable - + waiting for address arbiter Warten auf den Adressarbiter - + waiting for suspend resume warten auf Fortsetzen nach Unterbrechung - + waiting warten - + initialized initialisiert - + terminated beendet - + unknown unbekannt - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 Kern %1 - + processor = %1 Prozessor = %1 - - ideal core = %1 - ideal core = %1 - - - + affinity mask = %1 Affinitätsmaske = %1 - + thread id = %1 Thread-ID = %1 - + priority = %1(current) / %2(normal) Priorität = %1(aktuell) / %2(normal) - + last running ticks = %1 Letzte laufende Ticks = %1 - - - not waiting for mutex - nicht auf Mutex warten - WaitTreeThreadList - + waited by thread gewartet von Thread @@ -7640,7 +8112,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/languages/el.ts b/dist/languages/el.ts index 09e3ff297..712f5241e 100644 --- a/dist/languages/el.ts +++ b/dist/languages/el.ts @@ -25,7 +25,13 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Το yuzu είναι ένας πειραματικός εξομοιωτής ανοιχτού κώδικα για το Nintendo Switch κάτω από την άδεια χρήσης GPLv3.0+.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Αυτό το λογισμικό δεν πρέπει να χρησιμοποιείται για την αναπαραγωγή παιχνιδιών που δεν έχετε αποκτήσει νόμιμα.</span></p></body></html> @@ -35,7 +41,7 @@ p, li { white-space: pre-wrap; } <html><head/><body><p><span style=" font-size:7pt;">&quot;Nintendo Switch&quot; is a trademark of Nintendo. yuzu is not affiliated with Nintendo in any way.</span></p></body></html> - <html><head/><body><p><span style=" font-size:7pt;">Το &quot;Nintendo Switch&quot; είναι ένα εμπορικό σήμα της Nintendo. Ο yuzu δε συνδέεται με την Nintendo με κανέναν τρόπο.</span></p></body></html> + <html><head/><body><p><span style=" font-size:7pt;">Το &quot;Nintendo Switch&quot; είναι ένα εμπορικό σήμα της Nintendo. Το yuzu δεν συνδέεται με την Nintendo με κανέναν τρόπο.</span></p></body></html> @@ -68,7 +74,7 @@ p, li { white-space: pre-wrap; } OK - OK + Εντάξει @@ -76,95 +82,97 @@ p, li { white-space: pre-wrap; } Room Window - + Παράθυρο Δωματίου Send Chat Message - + Αποστολή Μηνύματος Συνομιλίας Send Message - + Αποστολή Μηνύματος Members - + Μέλη %1 has joined - + Ο %1 έχει συνδεθεί %1 has left - + Ο %1 αποχώρησε %1 has been kicked - + Ο %1 έχει διωχθεί %1 has been banned - + Ο %1 έχει αποκλειστεί %1 has been unbanned - + Ο %1 έχει καταργηθεί από τους αποκλεισμένους View Profile - + Εμφάνιση Προφίλ Block Player - + Αποκλεισμός Παίχτη When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Όταν αποκλείετε έναν παίκτη, δεν θα λαμβάνετε πλέον μηνύματα συνομιλίας από αυτόν. Είστε βέβαιοι ότι θέλετε να αποκλείσετε τον %1; Kick - + Διώξιμο Ban - + Αποκλεισμός Kick Player - + Διώξιμο Παίχτη Are you sure you would like to <b>kick</b> %1? - + Είστε βέβαιοι ότι θέλετε να <b>διώξετε</b> τον %1; Ban Player - + Αποκλεισμός Παίκτη Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Είστε βέβαιοι ότι θέλετε να <b>διώξετε και να αποκλείσετε</b> τον %1; + +Αυτό θα απαγόρευε τόσο το όνομα χρήστη του φόρουμ όσο και τη διεύθυνση IP τους. @@ -172,12 +180,12 @@ This would ban both their forum username and their IP address. Room Window - + Παράθυρο Δωματίου Room Description - + Περιγραφή Δωματίου @@ -187,7 +195,7 @@ This would ban both their forum username and their IP address. Leave Room - Αποχωρήσει από το δωμάτιο + Αποχώρηση Δωματίου @@ -200,7 +208,7 @@ This would ban both their forum username and their IP address. Disconnected - + Αποσυνδεμένο @@ -213,7 +221,7 @@ This would ban both their forum username and their IP address. Report Compatibility - Αναφορά συμβατότητας + Αναφορά Συμβατότητας @@ -224,12 +232,12 @@ This would ban both their forum username and their IP address. Report Game Compatibility - Αναφορά συμβατότητας παιχνιδιού + Αναφορά Συμβατότητας Παιχνιδιού <html><head/><body><p><span style=" font-size:10pt;">Should you choose to submit a test case to the </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">yuzu Compatibility List</span></a><span style=" font-size:10pt;">, The following information will be collected and displayed on the site:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hardware Information (CPU / GPU / Operating System)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Which version of yuzu you are running</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The connected yuzu account</li></ul></body></html> - <html><head/><body><p><span style=" font-size:10pt;">Αν επιλέξετε να υποβάλλετε μια υπόθεση για τεστ στη </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Λίστα Συμβατότητας του yuzu</span></a><span style=" font-size:10pt;">, Οι ακόλουθες πληροφορίες θα μαζευτούν και θα προβληθούν στο site:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Πληροφορίες Υλικού (CPU / GPU / Λειτουργικό Σύστημα)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ποιά έκδοση του yuzu τρέχετε </li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Τον συνδεδεμένο λογαριασμό yuzu</li></ul></body></html> + <html><head/><body><p><span style=" font-size:10pt;">Εάν επιλέξετε να υποβάλετε μια υπόθεση δοκιμής στη </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Λίστα Συμβατότητας του yuzu</span></a><span style=" font-size:10pt;">, Οι ακόλουθες πληροφορίες θα συλλεχθούν και θα προβληθούν στον ιστότοπο:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Πληροφορίες Υλικού (CPU / GPU / Λειτουργικό Σύστημα)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ποιά έκδοση του yuzu τρέχετε </li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Τον συνδεδεμένο λογαριασμό yuzu</li></ul></body></html> @@ -372,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device + Output Device: - Input Device - Συσκευή Εισόδου + Input Device: + - + + Sound Output Mode: + + + + + Mono + Μονοφωνικό + + + + Stereo + Στέρεοφωνικό + + + + Surround + + + + Use global volume Χρήση καθολικής έντασης ήχου - + Set volume: Ένταση ήχου: - + Volume: Ένταση: - + 0 % 0 % - + + Mute audio when in background + Σίγαση ήχου όταν βρίσκεται στο παρασκήνιο + + + %1% Volume percentage (e.g. 50%) %1% @@ -452,7 +485,7 @@ This would ban both their forum username and their IP address. Auto - + Αυτόματη @@ -480,7 +513,7 @@ This would ban both their forum username and their IP address. Auto - + Αυτόματη @@ -918,102 +951,112 @@ This would ban both their forum username and their IP address. Απενεργοποίηση του Macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + + + + + Disable Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache - + Enable Shader Feedback Ενεργοποίηση Shader Feedback - + When checked, it executes shaders without loop logic changes Όταν είναι επιλεγμένο, εκτελεί shaders χωρίς αλλαγές στη λογική του βρόχου - + Disable Loop safety checks Απενεργοποίηση των ελέγχων ασφαλείας βρόχου - + Debugging Εντοπισμός Σφαλμάτων - + Enable Verbose Reporting Services** - + Enable FS Access Log - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash Δημιουργία Minidump μετά από κατάρρευση - + Advanced Προχωρημένα - + Kiosk (Quest) Mode - + Enable CPU Debugging Ενεργοποίηση Εντοπισμού Σφαλμάτων CPU - + Enable Debug Asserts Ενεργοποίηση Βεβαιώσεων Εντοπισμού Σφαλμάτων - + Enable Auto-Stub** Ενεργοποίηση Auto-Stub** - + Enable All Controller Types - + Disable Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. Επιτρέπει στο yuzu να ελέγχει για ένα λειτουργικό περιβάλλον Vulkan κατά την εκκίνηση του προγράμματος. Απενεργοποιήστε το αν αυτό προκαλεί προβλήματα με τα εξωτερικά προγράμματα που βλέπουν το yuzu. - + Perform Startup Vulkan Check Εκτέλεση ελέγχου Vulkan κατά την εκκίνηση - + **This will be reset automatically when yuzu closes. **Αυτό θα μηδενιστεί αυτόματα όταν το yuzu κλείσει. @@ -1028,12 +1071,12 @@ This would ban both their forum username and their IP address. το yuzu πρέπει να επανεκκινηθεί για να εφαρμοστεί αυτή η ρύθμιση. - + Web applet not compiled Το web applet δεν έχει συσταθεί - + MiniDump creation not compiled Δημιουργία MiniDump που δεν έχει συσταθεί @@ -1083,78 +1126,78 @@ This would ban both their forum username and their IP address. Διαμόρφωση yuzu - - + + Audio Ήχος - - + + CPU CPU - + Debug Αποσφαλμάτωση - + Filesystem Σύστημα Αρχείων - - + + General Γενικά - - + + Graphics Γραφικά - + GraphicsAdvanced - + Hotkeys Πλήκτρα Συντόμευσης - - + + Controls Χειρισμός - + Profiles Τα προφίλ - + Network Δίκτυο - - + + System Σύστημα - + Game List Λίστα Παιχνιδιών - + Web Ιστός @@ -1329,46 +1372,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - Διάταξη εκτεταμένης μνήμης (6GB DRAM) - - - Confirm exit while emulation is running Επιβεβαίωση εξόδου κατά την εκτέλεση εξομοίωσης - + Prompt for user on game boot Επιλογή χρήστη κατά την εκκίνηση παιχνιδιού - + Pause emulation when in background Παύση εξομοίωσης όταν βρίσκεται στο παρασκήνιο - - Mute audio when in background - Σίγαση ήχου όταν βρίσκεται στο παρασκήνιο - - - + Hide mouse on inactivity Απόκρυψη δρομέα ποντικιού στην αδράνεια - + + Disable controller applet + + + + Reset All Settings Επαναφορά Όλων των Ρυθμίσεων - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Επαναφέρει όλες τις ρυθμίσεις και καταργεί όλες τις επιλογές ανά παιχνίδι. Δεν θα διαγράψει καταλόγους παιχνιδιών, προφίλ ή προφίλ εισόδου. Συνέχιση; @@ -1407,7 +1445,7 @@ This would ban both their forum username and their IP address. - + None Κανένα @@ -1433,216 +1471,269 @@ This would ban both their forum username and their IP address. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Εξομοίωση NVDEC: - + No Video Output Χωρίς Έξοδο Βίντεο - + CPU Video Decoding Αποκωδικοποίηση Βίντεο CPU - + GPU Video Decoding (Default) Αποκωδικοποίηση Βίντεο GPU (Προεπιλογή) - + Fullscreen Mode: Λειτουργία Πλήρους Οθόνης: - + Borderless Windowed Παραθυροποιημένο Χωρίς Όρια - + Exclusive Fullscreen Αποκλειστική Πλήρης Οθόνη - + Aspect Ratio: Αναλογία Απεικόνισης: - + Default (16:9) Προεπιλογή (16:9) - + Force 4:3 Επιβολή 4:3 - + Force 21:9 Επιβολή 21:9 - + Force 16:10 Επιβολή 16:10 - + Stretch to Window Επέκταση στο Παράθυρο - + Resolution: Ανάλυση: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [ΠΕΙΡΑΜΑΤΙΚΟ] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [ΠΕΙΡΑΜΑΤΙΚΟ] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: Φίλτρο Προσαρμογής Παραθύρου: - + Nearest Neighbor Πλησιέστερος Γείτονας - + Bilinear Διγραμμικό - + Bicubic Δικυβικό - + Gaussian Gaussian - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (μόνο Vulkan) + + AMD FidelityFX™️ Super Resolution + - + Anti-Aliasing Method: Μέθοδος Anti-Aliasing: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - + 100% - - + + Use global background color Χρησιμοποιήστε καθολικό χρώμα φόντου - + Set background color: Ορισμός χρώματος φόντου: - + Background Color: Χρώμα Φόντου: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Shaders Γλώσσας Μηχανής, μόνο NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1667,77 +1758,153 @@ This would ban both their forum username and their IP address. Επίπεδο Ακρίβειας: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - Το VSync αποτρέπει το "σκίσιμο" της οθόνης, αλλά ορισμένες κάρτες γραφικών έχουν χαμηλότερη απόδοση με ενεργοποιημένο το VSync. Διατηρήστε το ενεργοποιημένο εάν δεν παρατηρείτε διαφορά απόδοσης. + + ASTC recompression: + - - Use VSync - Χρήση VSync + + Uncompressed (Best quality) + - + + BC1 (Low quality) + + + + + BC3 (Medium quality) + + + + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Ενεργοποιεί τη σύνταξη ασύγχρονων shader, η οποία μπορεί να μειώσει το shader stutter. Αυτή η δυνατότητα είναι πειραματική. - + Use asynchronous shader building (Hack) Χρήση ασύγχρονης σύνταξης σκίασης (Τέχνασμα) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Ενεργοποιεί τον Γοργό Ρυθμό GPU. Αυτή η επιλογή θα αναγκάσει τα περισσότερα παιχνίδια να εκτελούνται στην υψηλότερη εγγενή τους ανάλυση. - + Use Fast GPU Time (Hack) Χρήση Γοργού Ρυθμού GPU (Τέχνασμα) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - Ενεργοποιεί περιστασιακές εκκαθαρίσεις των ρυθμιστικών διαύλων. Αυτή η επιλογή θα αναγκάσει τους μη τροποποιημένους ρυθμιστικούς διαύλους να εκκαθαριστούν, πράγμα που μπορεί να κοστίσει σε απόδοση. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + - - Use pessimistic buffer flushes (Hack) - Χρήση περιστασιακών εκκαθαρίσεων ρυθμιστικού διαύλου (Hack) + + Use Vulkan pipeline cache + - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Ανισοτροπικό Φιλτράρισμα: - + Automatic Αυτόματα - + Default Προεπιλεγμένο - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1770,70 +1937,65 @@ This would ban both their forum username and their IP address. Επαναφορά Προεπιλογών - + Action Δράση - + Hotkey Πλήκτρο Συντόμευσης - + Controller Hotkey Πλήκτρο Συντόμευσης Χειριστηρίου - - - + + + Conflicting Key Sequence Αντικρουόμενη Ακολουθία Πλήκτρων - - + + The entered key sequence is already assigned to: %1 Η εισαγόμενη ακολουθία πλήκτρων έχει ήδη αντιστοιχιστεί στο: %1 - - Home+%1 - - - - + [waiting] [αναμονή] - + Invalid Μη Έγκυρο - + Restore Default Επαναφορά Προκαθορισμένων - + Clear Καθαρισμός - + Conflicting Button Sequence Αντικρουόμενη Ακολουθία Κουμπιών - + The default button sequence is already assigned to: %1 Η προεπιλεγμένη ακολουθία κουμπιών έχει ήδη αντιστοιχιστεί στο: %1 - + The default key sequence is already assigned to: %1 Η προεπιλεγμένη ακολουθία πλήκτρων έχει ήδη αντιστοιχιστεί στο: %1 @@ -2125,7 +2287,7 @@ This would ban both their forum username and their IP address. - + Configure Διαμόρφωση @@ -2151,6 +2313,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Απαιτεί επανεκκίνηση του yuzu @@ -2170,22 +2334,27 @@ This would ban both their forum username and their IP address. Πλοήγηση χειριστηρίου - - Enable mouse panning - Ενεργοποιήστε τη μετατόπιση του ποντικιού + + Enable direct JoyCon driver + - - Mouse sensitivity - Ευαισθησία ποντικιού + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch @@ -2297,7 +2466,7 @@ This would ban both their forum username and their IP address. - + Left Stick Αριστερό Stick @@ -2391,14 +2560,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2417,7 +2586,7 @@ This would ban both their forum username and their IP address. - + Plus Συν @@ -2430,15 +2599,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2495,236 +2664,257 @@ This would ban both their forum username and their IP address. - + Right Stick Δεξιός Μοχλός - - - - + + Mouse panning + + + + + Configure + Διαμόρφωση + + + + + + Clear Καθαρισμός - - - - - + + + + + [not set] [άδειο] - - + + + Invert button Κουμπί αντιστροφής - - + + Toggle button Κουμπί εναλλαγής - - + + Turbo button + + + + + Invert axis Αντιστροφή άξονα - - - + + + Set threshold Ορισμός ορίου - - + + Choose a value between 0% and 100% Επιλέξτε μια τιμή μεταξύ 0% και 100% - + Toggle axis Εναλλαγή αξόνων - + Set gyro threshold Ρύθμιση κατωφλίου γυροσκοπίου - + + Calibrate sensor + + + + Map Analog Stick Χαρτογράφηση Αναλογικού Stick - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Αφού πατήσετε OK, μετακινήστε πρώτα το joystick σας οριζόντια και μετά κατακόρυφα. Για να αντιστρέψετε τους άξονες, μετακινήστε πρώτα το joystick κατακόρυφα και μετά οριζόντια. - + Center axis Κεντρικός άξονας - - + + Deadzone: %1% Νεκρή Ζώνη: %1% - - + + Modifier Range: %1% Εύρος Τροποποιητή: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Διπλά Joycons - + Left Joycon Αριστερό Joycon - + Right Joycon Δεξί Joycon - + Handheld Handheld - + GameCube Controller Χειριστήριο GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Χειριστήριο NES - + SNES Controller Χειριστήριο SNES - + N64 Controller Χειριστήριο N64 - + Sega Genesis Sega Genesis - + Start / Pause - + Z Z - + Control Stick - + C-Stick C-Stick - + Shake! - + [waiting] [αναμονή] - + New Profile Νέο Προφίλ - + Enter a profile name: Εισαγάγετε ένα όνομα προφίλ: - - + + Create Input Profile Δημιουργία Προφίλ Χειρισμού - + The given profile name is not valid! Το όνομα του προφίλ δεν είναι έγκυρο! - + Failed to create the input profile "%1" Η δημιουργία του προφίλ χειρισμού "%1" απέτυχε - + Delete Input Profile Διαγραφή Προφίλ Χειρισμού - + Failed to delete the input profile "%1" Η διαγραφή του προφίλ χειρισμού "%1" απέτυχε - + Load Input Profile Φόρτωση Προφίλ Χειρισμού - + Failed to load the input profile "%1" Η φόρτωση του προφίλ χειρισμού "%1" απέτυχε - + Save Input Profile Αποθήκευση Προφίλ Χειρισμού - + Failed to save the input profile "%1" Η αποθήκευση του προφίλ χειρισμού "%1" απέτυχε @@ -2772,7 +2962,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Διαμόρφωση @@ -2784,7 +2974,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< CemuhookUDP Config - + CemuhookUDP Config @@ -2808,7 +2998,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Τεστ @@ -2828,81 +3018,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Ο αριθμός θύρας έχει μη έγκυρους χαρακτήρες - + Port has to be in range 0 and 65353 Η θύρα πρέπει να ανήκει στο εύρος 0 και 65353 - + IP address is not valid Η διεύθυνση IP δεν είναι έγκυρη - + This UDP server already exists Αυτός ο διακομιστής UDP υπάρχει ήδη - + Unable to add more than 8 servers Δεν είναι δυνατή η προσθήκη περισσότερων από 8 διακομιστών - + Testing Δοκιμή - + Configuring Διαμόρφωση - + Test Successful Τεστ Επιτυχές - + Successfully received data from the server. Λήφθηκαν με επιτυχία δεδομένα από τον διακομιστή. - + Test Failed Η Δοκιμή Απέτυχε - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Δεν ήταν δυνατή η λήψη έγκυρων δεδομένων από τον διακομιστή.<br>Βεβαιωθείτε ότι ο διακομιστής έχει ρυθμιστεί σωστά και ότι η διεύθυνση και η θύρα είναι σωστές. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Η δοκιμή UDP ή η διαμόρφωση βαθμονόμησης είναι σε εξέλιξη.<br>Παρακαλώ περιμένετε να τελειώσουν. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Προεπιλεγμένο + + ConfigureNetwork @@ -2979,47 +3244,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Προγραμματιστής - + Add-Ons Πρόσθετα - + General Γενικά - + System Σύστημα - + CPU CPU - + Graphics Γραφικά - + Adv. Graphics Προχ. Γραφικά - + Audio Ήχος - + Input Profiles - + Properties Ιδιότητες @@ -3221,12 +3486,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3247,33 +3512,95 @@ UUID: %2 Νεκρή Ζώνη: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Επαναφορά Προεπιλογών - + Clear Καθαρισμός - + [not set] [μη ορισμένο] - + Invert axis Αντιστροφή άξονα - - + + Deadzone: %1% Νεκρή Ζώνη: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Διαμόρφωση + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [αναμονή] @@ -3303,7 +3630,7 @@ UUID: %2 Auto - + Αυτόματη @@ -3578,8 +3905,8 @@ UUID: %2 - English - Αγγλικά + American English + @@ -3682,54 +4009,19 @@ UUID: %2 - - Mono - Μονοφωνικό - - - - Stereo - Στέρεοφωνικό - - - - Surround + + Unsafe extended memory layout (8GB DRAM) - - Console ID: - - - - - Sound output mode - Λειτουργία εξόδου ήχου - - - - Regenerate - Εκ Νέου Αντικατάσταση - - - + System settings are available only when game is not running. Οι ρυθμίσεις συστήματος είναι διαθέσιμες μόνο όταν το παιχνίδι δεν εκτελείται. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Αυτό θα αντικαταστήσει το τρέχων εικονικό σας Switch με ένα νέο, και το παλιό δεν θα είναι πια ανακτήσιμο. Αυτό μπορεί να έχει απροσδόκητα αποτελέσματα στα παιχνίδια. Επίσης, μπορεί να αποτύχει εάν χρησιμοποιείτε ένα ξεπερασμένο μέσο αποθήκευσης παιχνιδιού. Συνέχιση; - - - - Warning - Προσοχή - - - - Console ID: 0x%1 - Console ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3798,7 +4090,7 @@ UUID: %2 Ρυθμίσεις TAS - + Select TAS Load Directory... @@ -4353,7 +4645,7 @@ Drag points to change position, or double-click table cells to edit values. - + &Controller P1 @@ -4366,42 +4658,37 @@ Drag points to change position, or double-click table cells to edit values. - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4409,12 +4696,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4422,95 +4709,120 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? - + Telemetry Τηλεμετρία - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... - - + + Disable Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Πόσα καρέ ανά δευτερόλεπτο εμφανίζει το παιχνίδι αυτή τη στιγμή. Αυτό διαφέρει από παιχνίδι σε παιχνίδι και από σκηνή σε σκηνή. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Συνέχεια - + &Pause &Παύση - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Μη μεταφρασμένη συμβολοσειρά @@ -4518,829 +4830,779 @@ Drag points to change position, or double-click table cells to edit values. - - + + Error while loading ROM! Σφάλμα κατά τη φόρτωση της ROM! - + The ROM format is not supported. - + An error occurred initializing the video core. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. Εμφανίστηκε ένα απροσδιόριστο σφάλμα. Ανατρέξτε στο αρχείο καταγραφής για περισσότερες λεπτομέρειες. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Save Data Αποθήκευση δεδομένων - + Mod Data - + Error Opening %1 Folder - - + + Folder does not exist! Ο φάκελος δεν υπάρχει! - + Error Opening Transferable Shader Cache - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry - - - - - - + + + + + + Successfully Removed - + Successfully removed the installed base game. - + The base game is not installed in the NAND and cannot be removed. - + Successfully removed the installed update. - + There is no update installed for this title. - + There are no DLC installed for this title. - + Successfully removed %1 installed DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? - + + Remove Cache Storage? + + + + Remove File Αφαίρεση Αρχείου - - + + Error Removing Transferable Shader Cache - - + + A shader cache for this title does not exist. - + Successfully removed the transferable shader cache. - + Failed to remove the transferable shader cache. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration - + A custom configuration for this title does not exist. - + Successfully removed the custom game configuration. - + Failed to remove the custom game configuration. - - + + RomFS Extraction Failed! - + There was an error copying the RomFS files or the user cancelled the operation. - + Full - + Skeleton - + Select RomFS Dump Mode Επιλογή λειτουργίας απόρριψης RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Μη αποθηκευμένη μετάφραση. Παρακαλούμε επιλέξτε τον τρόπο με τον οποίο θα θέλατε να γίνει η απόρριψη της RomFS.<br> Η επιλογή Πλήρης θα αντιγράψει όλα τα αρχεία στο νέο κατάλογο, ενώ η επιλογή <br> Σκελετός θα δημιουργήσει μόνο τη δομή του καταλόγου. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... - - + + Cancel Ακύρωση - + RomFS Extraction Succeeded! - + The operation completed successfully. Η επέμβαση ολοκληρώθηκε με επιτυχία. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 - + Select Directory Επιλογή καταλόγου - + Properties Ιδιότητες - + The game properties could not be loaded. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. - + Load File Φόρτωση αρχείου - + Open Extracted ROM Directory - + Invalid Directory Selected - + The directory you have selected does not contain a 'main' file. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files - + %n file(s) remaining - + Installing file "%1"... - - + + Install Results Αποτελέσματα εγκατάστασης - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Εφαρμογή συστήματος - + System Archive - + System Application Update - + Firmware Package (Type A) - + Firmware Package (Type B) - + Game Παιχνίδι - + Game Update Ενημέρωση παιχνιδιού - + Game DLC DLC παιχνιδιού - + Delta Title - + Select NCA Install Type... Επιλέξτε τον τύπο εγκατάστασης NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) - + Failed to Install - + The title type you selected for the NCA is invalid. - + File not found Το αρχείο δεν βρέθηκε - + File "%1" not found Το αρχείο "%1" δεν βρέθηκε - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. - + Error opening URL Σφάλμα κατα το άνοιγμα του URL - + Unable to open the URL "%1". Αδυναμία ανοίγματος του URL "%1". - + TAS Recording - + Overwrite file of player 1? - + Invalid config detected - + Handheld controller can't be used on docked mode. Pro controller will be selected. - - + + Amiibo Amiibo - - + + The current amiibo has been removed - + Error Σφάλμα - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) - + Load Amiibo Φόρτωση Amiibo - + Error loading Amiibo data Σφάλμα φόρτωσης δεδομένων Amiibo - + The selected file is not a valid amiibo Το επιλεγμένο αρχείο δεν αποτελεί έγκυρο amiibo - + The selected file is already on use Το επιλεγμένο αρχείο χρησιμοποιείται ήδη - + An unknown error occurred - + Capture Screenshot Λήψη στιγμιότυπου οθόνης - + PNG Image (*.png) Εικόνα PBG (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running - + &Start &Έναρξη - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Κλίμακα: %1x - + Speed: %1% / %2% Ταχύτητα: %1% / %2% - + Speed: %1% Ταχύτητα: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS - + Frame: %1 ms Καρέ: %1 ms - - GPU NORMAL - + + %1 %2 + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR FSR - - + NO AA - - FXAA - FXAA - - - - SMAA + + VOLUME: MUTE - + + VOLUME: %1% + Volume percentage (e.g. 50%) + + + + Confirm Key Rederivation - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5351,81 +5613,186 @@ This will delete your autogenerated key files and re-run the key derivation modu - + Missing fuses - + - Missing BOOT0 - Λείπει το BOOT0 - + - Missing BCPKG2-1-Normal-Main - Λείπει το BCPKG2-1-Normal-Main - + - Missing PRODINFO - Λείπει το PRODINFO - + Derivation Components Missing - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. - + Deriving Keys - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target - + Please select which RomFS you would like to dump. - + Are you sure you want to close yuzu? Είστε σίγουροι ότι θέλετε να κλείσετε το yuzu; - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? + + + None + Κανένα + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Διγραμμικό + + + + Bicubic + Δικυβικό + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Docked + + + + Handheld + Handheld + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5526,117 +5893,122 @@ Would you like to bypass this and exit anyway? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches Καταργήστε Όλη την Κρυφή μνήμη του Pipeline - + Remove All Installed Contents Καταργήστε Όλο το Εγκατεστημένο Περιεχόμενο - + Dump RomFS Απόθεση του RomFS - + Dump RomFS to SDMC Απόθεση του RomFS στο SDMC - + Copy Title ID to Clipboard Αντιγραφή του Title ID στο Πρόχειρο - + Navigate to GameDB entry Μεταβείτε στην καταχώρηση GameDB - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Ιδιότητες - + Scan Subfolders Σκανάρισμα Υποφακέλων - + Remove Game Directory Αφαίρεση Φακέλου Παιχνιδιών - + ▲ Move Up ▲ Μετακίνηση Επάνω - + ▼ Move Down ▼ Μετακίνηση Κάτω - + Open Directory Location Ανοίξτε την Τοποθεσία Καταλόγου - + Clear Καθαρισμός - + Name Όνομα - + Compatibility Συμβατότητα - + Add-ons Πρόσθετα - + File type Τύπος αρχείου - + Size Μέγεθος @@ -5707,7 +6079,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Διπλο-κλικ για προσθήκη νεου φακέλου στη λίστα παιχνιδιών @@ -5720,12 +6092,12 @@ Would you like to bypass this and exit anyway? - + Filter: Φίλτρο: - + Enter pattern to filter Εισαγάγετε μοτίβο για φιλτράρισμα @@ -5775,7 +6147,7 @@ Would you like to bypass this and exit anyway? Room Description - + Περιγραφή Δωματίου @@ -5815,138 +6187,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Λήψη στιγμιότυπου οθόνης - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Πλήρη Οθόνη - + Load File Φόρτωση αρχείου - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5969,7 +6341,7 @@ Debug Message: Εγκατάσταση - + Install Files to NAND @@ -5977,7 +6349,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6042,7 +6414,7 @@ Debug Message: Search - + Αναζήτηση @@ -6051,51 +6423,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6628,7 +7005,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6677,31 +7054,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [μη ορισμένο] @@ -6712,14 +7089,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Άξονας%1%2 @@ -6730,264 +7107,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [άγνωστο] - - - + + + Left Αριστερά - - - + + + Right Δεξιά - - - + + + Down Κάτω - - - + + + Up Πάνω - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X Χ - - + + Y Υ - - + + Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 - - + + [unused] [άδειο] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Συν + + + + Minus + Μείον + + + + Home Αρχική - + + Capture + Στιγμιότυπο + + + Touch - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7356,26 +7791,26 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + An error has occurred. %1 @@ -7395,20 +7830,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Επιλογή Χρήστη - - - + Users Χρήστες - + + Profile Creator + + + + + Profile Selector + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Επιλογή Χρήστη + QtSoftwareKeyboardDialog @@ -7458,51 +7954,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Κλήση stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - αναμονή για όλα τα αντικείμενα - - - - waiting for one of the following objects - - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread @@ -7510,120 +7975,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused - + sleeping - + waiting for IPC reply - + waiting for objects αναμονή αντικειμένων - + waiting for condition variable - + waiting for address arbiter - + waiting for suspend resume - + waiting - + initialized - + terminated - + unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + core %1 πυρήνας %1 - + processor = %1 επεξεργαστής = %1 - - ideal core = %1 - - - - + affinity mask = %1 - + thread id = %1 - + priority = %1(current) / %2(normal) προτεραιότητα = %1(τρέχον) / %2(κανονικό) - + last running ticks = %1 - - - not waiting for mutex - - WaitTreeThreadList - + waited by thread @@ -7631,7 +8086,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/es.ts b/dist/languages/es.ts index c4025d9c4..7032c726e 100644 --- a/dist/languages/es.ts +++ b/dist/languages/es.ts @@ -29,9 +29,9 @@ p, li { white-space: pre-wrap; } <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu es un emulador experimental código abierto de Nintendo Switch licenciada bajo GPLv3.0+.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu es un emulador experimental de código abierto de Nintendo Switch licenciada bajo GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Este software no debe ser utilizado para jugar a juegos que no se hayan obtenido legalmente.</span></p></body></html> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Este software no debe ser utilizado para jugar a juegos que no se hayan obtenido de forma legal.</span></p></body></html> @@ -380,36 +380,61 @@ Esto banearía su nombre del foro y su dirección IP. - Output Device - Dispositivo de salida + Output Device: + Dispositivo de salida: - Input Device - Dispositivo de entrada + Input Device: + Dispositivo de entrada: - + + Sound Output Mode: + Método de salida de sonido: + + + + Mono + Mono + + + + Stereo + Estéreo + + + + Surround + Envolvente + + + Use global volume Usar volumen global - + Set volume: Ajustar volumen: - + Volume: Volumen: - + 0 % 0 % - + + Mute audio when in background + Silenciar audio en segundo plano + + + %1% Volume percentage (e.g. 50%) %1% @@ -784,7 +809,7 @@ Esto banearía su nombre del foro y su dirección IP. Enable Host MMU Emulation (exclusive memory instructions) - Habilitar Emulacion MMU del anfitrión (Instrucciones de memoria exclusiva) + Activar emulación MMU del anfitrión (Instrucciones de memoria exclusiva) @@ -800,7 +825,7 @@ Esto banearía su nombre del foro y su dirección IP. Enable recompilation of exclusive memory instructions - Habilitar recompilación de las instrucciones de memoria exclusiva + Activar recompilación de las instrucciones de memoria exclusiva @@ -808,12 +833,15 @@ Esto banearía su nombre del foro y su dirección IP. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Esta optimización acelera los accesos a la memoria al permitir que los accesos no válidos tengan éxito.</div> + <div style="white-space: nowrap">Activarlo reduce la sobrecarga de todos los accesos a la memoria y no tiene ningún impacto en los programas que no acceden a la memoria no válida.</div> + Enable fallbacks for invalid memory accesses - + Activar fallbacks para accesos inválidos de memoria @@ -861,7 +889,7 @@ Esto banearía su nombre del foro y su dirección IP. When checked, the max size of the log increases from 100 MB to 1 GB - Cuando se marque, el tamaño maximo del registro aumenta de 100 MB a 1 GB + Al activarlo, el tamaño máximo del registro aumenta de 100 MB a 1 GB. @@ -886,7 +914,7 @@ Esto banearía su nombre del foro y su dirección IP. When checked, the graphics API enters a slower debugging mode - Cuando esté marcado, la API gráfica entrará en un modo de depuración más lento. + Al activarlo, la API gráfica entrará en un modo de depuración más lento. @@ -896,7 +924,7 @@ Esto banearía su nombre del foro y su dirección IP. When checked, it enables Nsight Aftermath crash dumps - Cuando esté marcado, activará los volcados de los fallos Nsight Aftermath + Al activarlo, se habilitan los volcados Nsight Aftermath de bloqueos o errores. @@ -906,17 +934,17 @@ Esto banearía su nombre del foro y su dirección IP. When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Al activarlo, esto volcará todos los sombreadores originales del ensamblador de la caché de sombreadores en disco o del juego encontrado + Al activarlo, se volcarán todos los shaders del ensamblador original de la caché de sombreadores en disco o del juego tal y como se encuentren. Dump Game Shaders - Volcar sombreadores del juego + Volcar shaders del juego When checked, it will dump all the macro programs of the GPU - Cuando esté activado, se volcarán todos los programas macro de la GPU + Al activarlo, se volcarán todos los programas macro de la GPU. @@ -926,7 +954,7 @@ Esto banearía su nombre del foro y su dirección IP. When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Cuando esté marcado, se desactiva el compilador de macro Just In Time. Activar esto hace que los juegos se ejecuten más lento. + Al activarlo, se desactiva el compilador de macro Just In Time. Activar esto hace que los juegos se ejecuten más lento. @@ -934,102 +962,112 @@ Esto banearía su nombre del foro y su dirección IP. Desactivar macro JIT - - When checked, yuzu will log statistics about the compiled pipeline cache - Cuando esté marcado, yuzu hará un registro de las estadísticas del caché de tubería compilado + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Al activarlo, desactiva las funciones de macro HLE. Activar esto hace que los juegos se ejecuten más lento. - + + Disable Macro HLE + Desactivar Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache + Al activarlo, yuzu realizará un registro de estadísticas del caché de canalización compilado. + + + Enable Shader Feedback Activar información de shaders - + When checked, it executes shaders without loop logic changes - Cuando esté marcado, se ejecutarán los shaders sin cambios de bucles lógicos. + Al activarlo, se ejecutarán los shaders sin cambios en bucles lógicos. - + Disable Loop safety checks Desactivar comprobaciones de seguridad de bucles - + Debugging Depuración - + Enable Verbose Reporting Services** Activar servicios de reporte detallados** - + Enable FS Access Log Activar registro de acceso FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. Activa esta opción para mostrar en la consola la última lista de comandos de audio generada. Solo afecta a los juegos que utilizan el renderizador de audio. - + Dump Audio Commands To Console** Volcar comandos de audio a la consola** - + Create Minidump After Crash Crear mini volcado tras un crash - + Advanced Avanzado - + Kiosk (Quest) Mode Modo quiosco (Quest) - + Enable CPU Debugging Activar depuración de la CPU - + Enable Debug Asserts Activar alertas de depuración - + Enable Auto-Stub** Activar Auto-Stub** - + Enable All Controller Types - Habilitar todo tipo de controles + Activar todos los tipos de controladores - + Disable Web Applet Desactivar Web applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - Permite que yuzu compruebe si el entorno de Vulkan funciona cuando el programa se inicia. Desactiva esto si está causando problemas con los programas externos ligados a yuzu. + Permite a yuzu comprobar si el entorno de Vulkan funciona cuando el programa se inicia. Desactiva esto si está causando problemas con los programas externos ligados a yuzu. - + Perform Startup Vulkan Check Realizar comprobación de Vulkan al ejecutar - + **This will be reset automatically when yuzu closes. **Esto se reiniciará automáticamente cuando yuzu se cierre. @@ -1044,12 +1082,12 @@ Esto banearía su nombre del foro y su dirección IP. Para aplicar estos ajustes es necesario reiniciar yuzu. - + Web applet not compiled La web applet no se ha compilado - + MiniDump creation not compiled La creación del mini volcado no se ha compilado @@ -1099,78 +1137,78 @@ Esto banearía su nombre del foro y su dirección IP. Configuración de yuzu - - + + Audio Audio - - + + CPU CPU - + Debug Depuración - + Filesystem Sistema de archivos - - + + General General - - + + Graphics Gráficos - + GraphicsAdvanced Gráficosavanzados - + Hotkeys Teclas de acceso rápido - - + + Controls Controles - + Profiles Perfiles - + Network Red - - + + System Sistema - + Game List Lista de juegos - + Web Web @@ -1345,46 +1383,41 @@ Esto banearía su nombre del foro y su dirección IP. - Extended memory layout (6GB DRAM) - Interfaz de memoria extendida (6GB DRAM) - - - Confirm exit while emulation is running Confirmar salida mientras se ejecuta la emulación - + Prompt for user on game boot Mostrar usuario actual al abrir el juego - + Pause emulation when in background Pausar emulación cuando la ventana esté en segundo plano - - Mute audio when in background - Silenciar audio cuando esté en segundo plano - - - + Hide mouse on inactivity Ocultar el cursor en caso de inactividad. - + + Disable controller applet + Desactivar applet de control + + + Reset All Settings Reiniciar todos los ajustes - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Esto reiniciará y eliminará todas las configuraciones de los juegos. No eliminará ni los directorios de juego, ni los perfiles, ni los perfiles de los mandos. ¿Continuar? @@ -1423,7 +1456,7 @@ Esto banearía su nombre del foro y su dirección IP. - + None Ninguno @@ -1435,7 +1468,7 @@ Esto banearía su nombre del foro y su dirección IP. Use disk pipeline cache - Usar caché de shaders de tubería + Usar caché de canalización en disco @@ -1449,216 +1482,272 @@ Esto banearía su nombre del foro y su dirección IP. + VSync Mode: + Modo VSync: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) no pierde frames ni muestra tearing, pero está limitado por la tasa de refresco de la pantalla. +FIFO Relaxed es similar a FIFO, pero permite el tearing tan pronto como se recupera de una ralentización. +Mailbox puede tener una latencia más baja que FIFO y no causa tearing, pero podría hacer perder frames. +Inmediato (sin sincronización) sólo muestra lo que está disponible y puede mostrar tearing. + + + NVDEC emulation: Emulación NVDEC: - + No Video Output Sin salida de vídeo - + CPU Video Decoding Decodificación de vídeo en la CPU - + GPU Video Decoding (Default) Decodificación de vídeo en GPU (Por defecto) - + Fullscreen Mode: Modo pantalla completa: - + Borderless Windowed Ventana sin bordes - + Exclusive Fullscreen Pantalla completa - + Aspect Ratio: Relación de aspecto: - + Default (16:9) Valor predeterminado (16:9) - + Force 4:3 Forzar a 4:3 - + Force 21:9 Forzar a 21:9 - + Force 16:10 Forzar 16:10 - + Stretch to Window Ajustar a la ventana - + Resolution: Resolución: - + 0.5X (360p/540p) [EXPERIMENTAL] x0.5 (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] x0.75 (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) x1 (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + x1.5 (1080p/1620p) [EXPERIMENTAL] + + + 2X (1440p/2160p) x2 (1440p/2160p) - + 3X (2160p/3240p) x3 (2160p/3240p) - + 4X (2880p/4320p) x4 (2880p/4320p) - + 5X (3600p/5400p) x5 (3600p/5400p) - + 6X (4320p/6480p) x6 (4320p/6480p) - + + 7X (5040p/7560p) + x7 (5040p/7560p) + + + + 8X (5760p/8640p) + x8 (5760p/8640p) + + + Window Adapting Filter: Filtro adaptable de ventana: - + Nearest Neighbor Vecino más próximo - + Bilinear Bilineal - + Bicubic Bicúbico - + Gaussian Gaussiano - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Solo Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Método de Anti-Aliasing: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Usar nitidez global FSR - + Set FSR Sharpness - + Ajustar nitidez FSR - + FSR Sharpness: - + Nitidez FSR: - + 100% - + 100% - - + + Use global background color Usar el color de fondo global - + Set background color: Establecer el color de fondo: - + Background Color: Color de fondo: - + GLASM (Assembly Shaders, NVIDIA Only) - GLASM (Assembly shaders, sólo NVIDIA) + GLASM (Shaders de ensamblado, sólo NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Experimental, sólo Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Desactivado + + + + VSync Off + VSync Desactivado + + + + Recommended + Recomendado + + + + On + Activado + + + + VSync On + VSync Activado + ConfigureGraphicsAdvanced @@ -1683,77 +1772,154 @@ Esto banearía su nombre del foro y su dirección IP. Nivel de precisión: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - El VSync evita que la pantalla se distorsione, pero algunas tarjetas gráficas tienen un menor rendimiento con el VSync activado. Mantenlo activado si no notas diferencias en el rendimiento. + + ASTC recompression: + Recompresión ASTC: - - Use VSync - Usar VSync + + Uncompressed (Best quality) + Sin compresión (Calidad óptima) - + + BC1 (Low quality) + BC1 (Calidad baja) + + + + BC3 (Medium quality) + BC3 (Calidad media) + + + + Enable asynchronous presentation (Vulkan only) + Activar presentación asíncrona (sólo Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Ejecuta los procesos en segundo plano mientras espera las instrucciones gráficas para evitar que la GPU reduzca su velocidad de reloj. + + + + Force maximum clocks (Vulkan only) + Forzar relojes máximos (sólo Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Activa la decodificación de texturas asíncrona de ASTC, lo cuál podría reducir la duración de los parones. Esta función es experimental. + + + + Decode ASTC textures asynchronously (Hack) + Decodificar texturas ASTC de manera asíncrona (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Usa una limpieza reactiva en vez de una limpieza predictiva, permitiendo así una sincronización de memoria más precisa. + + + + Enable Reactive Flushing + Activar Limpieza Reactiva + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Activa la compilación de shaders en modo asíncrono, lo que puede reducir la sobrecarga de shaders. Esta función es experimental. - + Use asynchronous shader building (Hack) Usar la construcción de shaders asíncronos (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Activa el tiempo rápido de GPU. Esta opción hará que muchos juegos estén forzados a ejecutarse en su resolución nativa máxima. - + Use Fast GPU Time (Hack) Usar tiempo rápido en la GPU (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - Activa el flujo de búferes pesado. Esta opción forzará el flujo de los búferes no modificados, lo que puede afectar al rendimiento. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Activa la caché de canalización específica del fabricante de la GPU. Esta opción puede mejorar significativamente el tiempo de carga de sombreadores en los casos en los que el controlador de Vulkan no almacena internamente archivos de caché de canalización. - - Use pessimistic buffer flushes (Hack) - Utilizar flujos de búferes pesados (Hack) + + Use Vulkan pipeline cache + Usar caché de canalización de Vulkan - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Activa las canalizaciones de cómputo, que son necesarias en algunos juegos. Esta opción sólo está para los drivers propietarios de AMD, y puede colgarse si se activa. +Las canalizaciones de cómputo están siempre activadas en los otros drivers. + + + + Enable Compute Pipelines (Intel Vulkan only) + Activar canalizaciones de cómputo (sólo Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + Corre el juego a la velocidad normal durante la reproducción de vídeos, incluso cuando no hay límite de fotogramas. + + + + Sync to framerate of video playback + Sincronizar a fotogramas de reproducción de vídeo + + + + Improves rendering of transparency effects in specific games. + Mejora la renderización de los efectos de transparencia en ciertos juegos. + + + + Barrier feedback loops + Bucles de feedback de barrera + + + Anisotropic Filtering: Filtrado anisotrópico: - + Automatic Automático - + Default Valor predeterminado - + 2x x2 - + 4x x4 - + 8x x8 - + 16x x16 @@ -1786,70 +1952,65 @@ Esto banearía su nombre del foro y su dirección IP. Restaurar valores predeterminados - + Action Acción - + Hotkey Tecla de acceso rápido - + Controller Hotkey Teclas de atajo del control - - - + + + Conflicting Key Sequence Combinación de teclas en conflicto - - + + The entered key sequence is already assigned to: %1 La combinación de teclas introducida ya ha sido asignada a: %1 - - Home+%1 - Home+%1 - - - + [waiting] [esperando] - + Invalid No válido - + Restore Default Restaurar valor predeterminado - + Clear Eliminar - + Conflicting Button Sequence Secuencia de botones en conflicto - + The default button sequence is already assigned to: %1 La secuencia de botones por defecto ya esta asignada a: %1 - + The default key sequence is already assigned to: %1 La combinación de teclas predeterminada ya ha sido asignada a: %1 @@ -2141,7 +2302,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Configure Configurar @@ -2167,6 +2328,8 @@ Esto banearía su nombre del foro y su dirección IP. + + Requires restarting yuzu Requiere reiniciar yuzu @@ -2186,22 +2349,27 @@ Esto banearía su nombre del foro y su dirección IP. Navegación de controles - - Enable mouse panning - Activar desplazamiento del ratón + + Enable direct JoyCon driver + Activar driver directo JoyCon - - Mouse sensitivity - Sensibilidad del ratón + + Enable direct Pro Controller driver [EXPERIMENTAL] + Activar driver directo Pro Controller [EXPERIMENTAL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Permite usos ilimitados del mismo Amiibo en juegos que, de otra manera, sólo te permiten usarlo una vez. - + + Use random Amiibo ID + Usar un ID de Amiibo aleatorio + + + Motion / Touch Movimiento / táctil @@ -2221,57 +2389,57 @@ Esto banearía su nombre del foro y su dirección IP. Input Profiles - + Perfiles de entrada Player 1 Profile - + Perfil del jugador 1 Player 2 Profile - + Perfil del jugador 2 Player 3 Profile - + Perfil del jugador 3 Player 4 Profile - + Perfil del jugador 4 Player 5 Profile - + Perfil del jugador 5 Player 6 Profile - + Perfil del jugador 6 Player 7 Profile - + Perfil del jugador 7 Player 8 Profile - + Perfil del jugador 8 Use global input configuration - + Utilizar la configuración global de entrada Player %1 profile - + Perfil del jugador %1 @@ -2313,7 +2481,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Left Stick Palanca izquierda @@ -2407,14 +2575,14 @@ Esto banearía su nombre del foro y su dirección IP. - + L L - + ZL ZL @@ -2433,7 +2601,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Plus Más @@ -2446,15 +2614,15 @@ Esto banearía su nombre del foro y su dirección IP. - - + + R R - + ZR ZR @@ -2511,236 +2679,257 @@ Esto banearía su nombre del foro y su dirección IP. - + Right Stick Palanca derecha - - - - + + Mouse panning + Desplazamiento del ratón + + + + Configure + Configurar + + + + + + Clear Borrar - - - - - + + + + + [not set] [no definido] - - + + + Invert button Invertir botón - - + + Toggle button Alternar botón - - + + Turbo button + Botón turbo + + + + Invert axis Invertir ejes - - - + + + Set threshold Configurar umbral - - + + Choose a value between 0% and 100% Seleccione un valor entre 0% y 100%. - + Toggle axis Alternar ejes - + Set gyro threshold Configurar umbral del Giroscopio - + + Calibrate sensor + Calibrar sensor + + + Map Analog Stick Configuración de palanca analógico - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Después de pulsar OK, mueve primero el joystick de manera horizontal, y luego verticalmente. Para invertir los ejes, mueve primero el joystick de manera vertical, y luego horizontalmente. - + Center axis Centrar ejes - - + + Deadzone: %1% Punto muerto: %1% - - + + Modifier Range: %1% Rango del modificador: %1% - - + + Pro Controller Controlador Pro - + Dual Joycons Joycons duales - + Left Joycon Joycon izquierdo - + Right Joycon Joycon derecho - + Handheld Portátil - + GameCube Controller Controlador de GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Controlador NES - + SNES Controller Controlador SNES - + N64 Controller Controlador N64 - + Sega Genesis Sega Genesis - + Start / Pause Inicio / Pausa - + Z Z - + Control Stick Palanca de control - + C-Stick C-Stick - + Shake! ¡Agita! - + [waiting] [esperando] - + New Profile Nuevo perfil - + Enter a profile name: Introduce un nombre de perfil: - - + + Create Input Profile Crear perfil de entrada - + The given profile name is not valid! ¡El nombre de perfil introducido no es válido! - + Failed to create the input profile "%1" Error al crear el perfil de entrada "%1" - + Delete Input Profile Eliminar perfil de entrada - + Failed to delete the input profile "%1" Error al eliminar el perfil de entrada "%1" - + Load Input Profile Cargar perfil de entrada - + Failed to load the input profile "%1" Error al cargar el perfil de entrada "%1" - + Save Input Profile Guardar perfil de entrada - + Failed to save the input profile "%1" Error al guardar el perfil de entrada "%1" @@ -2788,7 +2977,7 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho - + Configure Configurar @@ -2824,7 +3013,7 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho - + Test Probar @@ -2844,81 +3033,156 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Más información</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters El número del puerto tiene caracteres que no son válidos - + Port has to be in range 0 and 65353 El puerto debe estar en un rango entre 0 y 65353 - + IP address is not valid Dirección IP no válida - + This UDP server already exists Este servidor UDP ya existe - + Unable to add more than 8 servers No es posible añadir más de 8 servidores - + Testing Probando - + Configuring Configurando - + Test Successful Prueba existosa - + Successfully received data from the server. Se han recibido con éxito los datos del servidor. - + Test Failed Prueba fallida - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. No se han podido recibir datos válidos del servidor.<br>Por favor, verifica que el servidor esté configurado correctamente y que la dirección y el puerto sean correctos. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. La prueba de UDP o la configuración de la calibración está en curso.<br>Por favor, espera a que termine el proceso. + + ConfigureMousePanning + + + Configure mouse panning + Configurar desplazamiento del ratón + + + + Enable + Activar + + + + Can be toggled via a hotkey + Puede ser activada con una tecla de acceso rápido + + + + Sensitivity + Sensibilidad + + + + + Horizontal + Horizontal + + + + + + + + + % + % + + + + + Vertical + Vertical + + + + Deadzone counterweight + Contrapeso de la zona muerta + + + + Counteracts a game's built-in deadzone + Contrarresta la zona muerta por defecto de un juego + + + + Stick decay + Decaída del stick + + + + Strength + Fuerza + + + + Minimum + Mínimo + + + + Default + Predeterminado + + ConfigureNetwork @@ -2995,47 +3259,47 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho Desarrollador - + Add-Ons Extras / Add-Ons - + General General - + System Sistema - + CPU CPU - + Graphics Gráficos - + Adv. Graphics Gráficos avanz. - + Audio Audio - + Input Profiles - + Perfiles de entrada - + Properties Propiedades @@ -3238,13 +3502,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Si quieres usar este control configura el jugador 1 como el control derecho y el jugador 2 como joycon dual antes de iniciar el juego para permitir al control ser detectado apropiadamente. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + Para usar el Ring-Con, configura al jugador 1 como el Joy-Con derecho (tanto físico como emulado) y al jugador 2 como el Joy-Con izquierdo (tanto físico como emulado) antes de correr el juego. - Ring Sensor Parameters - Parámetros del sensor Ring + Virtual Ring Sensor Parameters + Parámetros del sensor Ring virtual @@ -3264,33 +3528,95 @@ UUID: %2 Punto muerto: 0% - + + Direct Joycon Driver + Driver directo del JoyCon + + + + Enable Ring Input + Activar entrada del Ring + + + + + Enable + Activar + + + + Ring Sensor Value + Valor del sensor Ring + + + + + Not connected + No conectado + + + Restore Defaults Restaurar valores predeterminados - + Clear Limpiar - + [not set] [no definido] - + Invert axis Invertir ejes - - + + Deadzone: %1% Punto muerto: %1% - + + Error enabling ring input + Error al activar la entrada del Ring + + + + Direct Joycon driver is not enabled + El driver directo JoyCon no está activo. + + + + Configuring + Configurando + + + + The current mapped device doesn't support the ring controller + El dispositivo de entrada actual no soporta el control Ring. + + + + The current mapped device doesn't have a ring attached + El dispositivo de entrada actual no tiene el Ring incorporado + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Resultado inesperado del driver %1 + + + [waiting] [esperando] @@ -3595,8 +3921,8 @@ UUID: %2 - English - Inglés (english) + American English + Inglés estadounidense @@ -3696,57 +4022,22 @@ UUID: %2 Device Name - + Nombre del dispositivo - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Interfaz de memoria extendida no segura (8GB DRAM) - - Stereo - Estéreo - - - - Surround - Envolvente - - - - Console ID: - ID de la consola: - - - - Sound output mode - Método de salida de sonido: - - - - Regenerate - Regenerar - - - + System settings are available only when game is not running. Los ajustes del sistema sólo se encuentran disponibles cuando no se esté ejecutando ningún juego. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Esto reemplazará tu Switch virtual con una nueva. Tu Switch virtual actual no será recuperable. Esto podría causar efectos inesperados en determinados juegos. Si usas un archivo de guardado de configuración obsoleto, esto podría fallar. ¿Continuar? - - - - Warning - Advertencia - - - - Console ID: 0x%1 - ID de consola: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Aviso: "%1" no es un idioma válido para la región "%2" @@ -3815,7 +4106,7 @@ UUID: %2 Configuración TAS - + Select TAS Load Directory... Selecciona el directorio de carga TAS... @@ -4371,7 +4662,7 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de Controlador J1 - + &Controller P1 &Controlador J1 @@ -4384,42 +4675,37 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de Conexión directa - - IP Address - Dirección IP + + Server Address + Dirección del Servidor - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Dirección del servidor del anfitrión</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>Dirección IPv4 del anfitrión</p></body></html> - - - + Port Puerto - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Número de puerto en el que el anfitrión está trabajando</p></body></html> - + Nickname Apodo - + Password Contraseña - + Connect Conectar @@ -4427,12 +4713,12 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de DirectConnectWindow - + Connecting Conectando - + Connect Conectar @@ -4440,535 +4726,575 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Los datos de uso anónimos se recogen</a> para ayudar a mejorar yuzu. <br/><br/>¿Deseas compartir tus datos de uso con nosotros? - + Telemetry Telemetría - + Broken Vulkan Installation Detected Se ha detectado una instalación corrupta de Vulkan - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. La inicialización de Vulkan ha fallado durante la ejecución. Haz clic <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>aquí para más información sobre como arreglar el problema</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + Ejecutando un juego + + + Loading Web Applet... Cargando Web applet... - - + + Disable Web Applet Desactivar Web applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Deshabilitar el Applet Web puede causar comportamientos imprevistos y debería solo ser usado con Super Mario 3D All-Stars. ¿Estas seguro que quieres deshabilitar el Applet Web? (Puede ser reactivado en las configuraciones de Depuración.) - + The amount of shaders currently being built La cantidad de shaders que se están construyendo actualmente - + The current selected resolution scaling multiplier. El multiplicador de escala de resolución seleccionado actualmente. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. La velocidad de emulación actual. Los valores superiores o inferiores al 100% indican que la emulación se está ejecutando más rápido o más lento que en una Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. La cantidad de fotogramas por segundo que se está mostrando el juego actualmente. Esto variará de un juego a otro y de una escena a otra. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tiempo que lleva emular un fotograma de la Switch, sin tener en cuenta la limitación de fotogramas o sincronización vertical. Para una emulación óptima, este valor debería ser como máximo de 16.67 ms. - + + Unmute + Desmutear + + + + Mute + Mutear + + + + Reset Volume + Restablecer Volumen + + + &Clear Recent Files &Eliminar archivos recientes - + + Emulated mouse is enabled + El ratón emulado está activado + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + La entrada de un ratón real y la panoramización del ratón son incompatibles. Por favor, desactive el ratón emulado en la configuración avanzada de entrada para permitir así la panoramización del ratón. + + + &Continue &Continuar - + &Pause &Pausar - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu está ejecutando un juego - - - + Warning Outdated Game Format Advertencia: formato del juego obsoleto - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Está utilizando el formato de directorio de ROM deconstruido para este juego, que es un formato desactualizado que ha sido reemplazado por otros, como los NCA, NAX, XCI o NSP. Los directorios de ROM deconstruidos carecen de íconos, metadatos y soporte de actualizaciones.<br><br>Para ver una explicación de los diversos formatos de Switch que soporta yuzu,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>echa un vistazo a nuestra wiki</a>. Este mensaje no se volverá a mostrar. - - + + Error while loading ROM! ¡Error al cargar la ROM! - + The ROM format is not supported. El formato de la ROM no es compatible. - + An error occurred initializing the video core. Se ha producido un error al inicializar el núcleo de video. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu ha encontrado un error al ejecutar el núcleo de video. Esto suele ocurrir al no tener los controladores de la GPU actualizados, incluyendo los integrados. Por favor, revisa el registro para más detalles. Para más información sobre cómo acceder al registro, por favor, consulta la siguiente página: <a href='https://yuzu-emu.org/help/reference/log-files/'>Como cargar el archivo de registro</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. ¡Error al cargar la ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Por favor, sigue <a href='https://yuzu-emu.org/help/quickstart/'>la guía de inicio rápido de yuzu</a> para revolcar los archivos.<br>Puedes consultar la wiki de yuzu</a> o el Discord de yuzu</a> para obtener ayuda. - + An unknown error occurred. Please see the log for more details. Error desconocido. Por favor, consulte el archivo de registro para ver más detalles. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Cerrando software... - + Save Data Datos de guardado - + Mod Data Datos de mods - + Error Opening %1 Folder Error al abrir la carpeta %1 - - + + Folder does not exist! ¡La carpeta no existe! - + Error Opening Transferable Shader Cache Error al abrir el caché transferible de shaders - + Failed to create the shader cache directory for this title. No se pudo crear el directorio de la caché de los shaders para este título. - + Error Removing Contents Error al eliminar el contenido - + Error Removing Update Error al eliminar la actualización - + Error Removing DLC Error al eliminar el DLC - + Remove Installed Game Contents? - ¿Eliminar el contenido del juego instalado? + ¿Eliminar contenido del juego instalado? - + Remove Installed Game Update? - ¿Eliminar la actualización del juego instalado? + ¿Eliminar actualización del juego instalado? - + Remove Installed Game DLC? ¿Eliminar el DLC del juego instalado? - + Remove Entry Eliminar entrada - - - - - - + + + + + + Successfully Removed Se ha eliminado con éxito - + Successfully removed the installed base game. Se ha eliminado con éxito el juego base instalado. - + The base game is not installed in the NAND and cannot be removed. El juego base no está instalado en el NAND y no se puede eliminar. - + Successfully removed the installed update. Se ha eliminado con éxito la actualización instalada. - + There is no update installed for this title. No hay ninguna actualización instalada para este título. - + There are no DLC installed for this title. No hay ningún DLC instalado para este título. - + Successfully removed %1 installed DLC. Se ha eliminado con éxito %1 DLC instalado(s). - + Delete OpenGL Transferable Shader Cache? ¿Deseas eliminar el caché transferible de shaders de OpenGL? - + Delete Vulkan Transferable Shader Cache? ¿Deseas eliminar el caché transferible de shaders de Vulkan? - + Delete All Transferable Shader Caches? ¿Deseas eliminar todo el caché transferible de shaders? - + Remove Custom Game Configuration? ¿Deseas eliminar la configuración personalizada del juego? - + + Remove Cache Storage? + ¿Quitar almacenamiento de caché? + + + Remove File Eliminar archivo - - + + Error Removing Transferable Shader Cache Error al eliminar la caché de shaders transferibles - - + + A shader cache for this title does not exist. No existe caché de shaders para este título. - + Successfully removed the transferable shader cache. El caché de shaders transferibles se ha eliminado con éxito. - + Failed to remove the transferable shader cache. No se ha podido eliminar la caché de shaders transferibles. - - + + Error Removing Vulkan Driver Pipeline Cache + Error al eliminar la caché de canalización del controlador Vulkan + + + + Failed to remove the driver pipeline cache. + No se ha podido eliminar la caché de canalización del controlador. + + + + Error Removing Transferable Shader Caches Error al eliminar las cachés de shaders transferibles - + Successfully removed the transferable shader caches. Cachés de shaders transferibles eliminadas con éxito. - + Failed to remove the transferable shader cache directory. No se ha podido eliminar el directorio de cachés de shaders transferibles. - - + + Error Removing Custom Configuration Error al eliminar la configuración personalizada del juego - + A custom configuration for this title does not exist. No existe una configuración personalizada para este título. - + Successfully removed the custom game configuration. Se eliminó con éxito la configuración personalizada del juego. - + Failed to remove the custom game configuration. No se ha podido eliminar la configuración personalizada del juego. - - + + RomFS Extraction Failed! ¡La extracción de RomFS ha fallado! - + There was an error copying the RomFS files or the user cancelled the operation. Se ha producido un error al copiar los archivos RomFS o el usuario ha cancelado la operación. - + Full Completo - + Skeleton En secciones - + Select RomFS Dump Mode Elegir método de volcado de RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Por favor, selecciona el método en que quieres volcar el RomFS.<br>Completo copiará todos los archivos al nuevo directorio <br> mientras que en secciones solo creará la estructura del directorio. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root No hay suficiente espacio en %1 para extraer el RomFS. Por favor, libera espacio o elige otro directorio de volcado en Emulación > Configuración > Sistema > Sistema de archivos > Raíz de volcado - + Extracting RomFS... Extrayendo RomFS... - - + + Cancel Cancelar - + RomFS Extraction Succeeded! ¡La extracción RomFS ha tenido éxito! - + The operation completed successfully. La operación se completó con éxito. - - - - - + + + + + Create Shortcut - + Crear acceso directo - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Esto creará un acceso directo a la AppImage actual. Esto puede no funcionar bien si se actualiza. ¿Continuar? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + No se puede crear un acceso directo en el escritorio. La ruta "%1" no existe. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + No se puede crear un acceso directo en el menú de aplicaciones. La ruta "%1" no existe y no se puede crear. - + Create Icon - + Crear icono - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + No se puede crear el archivo de icono. La ruta "%1" no existe y no se ha podido crear. - + Start %1 with the yuzu Emulator - + Iniciar %1 con el Emulador yuzu - + Failed to create a shortcut at %1 - + Error al crear un acceso directo en %1 - + Successfully created a shortcut to %1 - + Se ha creado un acceso directo a %1 - + Error Opening %1 Error al intentar abrir %1 - + Select Directory Seleccionar directorio - + Properties Propiedades - + The game properties could not be loaded. No se pueden cargar las propiedades del juego. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Ejecutable de Switch (%1);;Todos los archivos (*.*) - + Load File Cargar archivo - + Open Extracted ROM Directory Abrir el directorio de la ROM extraída - + Invalid Directory Selected Directorio seleccionado no válido - + The directory you have selected does not contain a 'main' file. El directorio que ha seleccionado no contiene ningún archivo 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Archivo de Switch Instalable (*.nca *.nsp *.xci);;Archivo de contenidos de Nintendo (*.nca);;Paquete de envío de Nintendo (*.nsp);;Imagen de cartucho NX (*.xci) - + Install Files Instalar archivos - + %n file(s) remaining %n archivo(s) restantes%n archivo(s) restantes%n archivo(s) restantes - + Installing file "%1"... Instalando el archivo "%1"... - - + + Install Results Instalar resultados - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Para evitar posibles conflictos, no se recomienda a los usuarios que instalen juegos base en el NAND. Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs. - + %n file(s) were newly installed %n archivo(s) recién instalado/s @@ -4977,7 +5303,7 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs. - + %n file(s) were overwritten %n archivo(s) recién sobreescrito/s @@ -4986,7 +5312,7 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs. - + %n file(s) failed to install %n archivo(s) no se instaló/instalaron @@ -4995,377 +5321,312 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs. - + System Application Aplicación del sistema - + System Archive Archivo del sistema - + System Application Update Actualización de la aplicación del sistema - + Firmware Package (Type A) Paquete de firmware (Tipo A) - + Firmware Package (Type B) Paquete de firmware (Tipo B) - + Game Juego - + Game Update Actualización de juego - + Game DLC DLC del juego - + Delta Title Titulo delta - + Select NCA Install Type... Seleccione el tipo de instalación NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Seleccione el tipo de título en el que deseas instalar este NCA como: (En la mayoría de los casos, el 'Juego' predeterminado está bien). - + Failed to Install Fallo en la instalación - + The title type you selected for the NCA is invalid. El tipo de título que seleccionó para el NCA no es válido. - + File not found Archivo no encontrado - + File "%1" not found Archivo "%1" no encontrado - + OK Aceptar - - + + Hardware requirements not met No se cumplen los requisitos de hardware - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - El sistema no cumple los requisitos de hardware recomendados. Los informes de compatibilidad se han desactivado. + El sistema no cumple con los requisitos de hardware recomendados. Los informes de compatibilidad se han desactivado. - + Missing yuzu Account Falta la cuenta de Yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Para enviar un caso de prueba de compatibilidad de juegos, debes vincular tu cuenta de yuzu.<br><br/> Para vincular tu cuenta de yuzu, ve a Emulación &gt; Configuración &gt; Web. - + Error opening URL Error al abrir la URL - + Unable to open the URL "%1". No se puede abrir la URL "%1". - + TAS Recording Grabación TAS - + Overwrite file of player 1? ¿Sobrescribir archivo del jugador 1? - + Invalid config detected Configuración no válida detectada - + Handheld controller can't be used on docked mode. Pro controller will be selected. El controlador del modo portátil no puede ser usado en el modo sobremesa. Se seleccionará el controlador Pro en su lugar. - - + + Amiibo Amiibo - - + + The current amiibo has been removed El amiibo actual ha sido eliminado - + Error Error - - + + The current game is not looking for amiibos El juego actual no está buscando amiibos - + Amiibo File (%1);; All Files (*.*) Archivo amiibo (%1);; Todos los archivos (*.*) - + Load Amiibo Cargar amiibo - + Error loading Amiibo data Error al cargar los datos Amiibo - + The selected file is not a valid amiibo El archivo seleccionado no es un amiibo válido - + The selected file is already on use El archivo seleccionado ya se encuentra en uso - + An unknown error occurred Ha ocurrido un error inesperado - + Capture Screenshot Captura de pantalla - + PNG Image (*.png) Imagen PNG (*.png) - + TAS state: Running %1/%2 Estado TAS: ejecutando %1/%2 - + TAS state: Recording %1 Estado TAS: grabando %1 - + TAS state: Idle %1/%2 Estado TAS: inactivo %1/%2 - + TAS State: Invalid Estado TAS: nulo - + &Stop Running &Parar de ejecutar - + &Start &Iniciar - + Stop R&ecording Pausar g&rabación - + R&ecord G&rabar - + Building: %n shader(s) Creando: %n shader(s)Construyendo: %n shader(s)Construyendo: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Escalado: %1x - + Speed: %1% / %2% Velocidad: %1% / %2% - + Speed: %1% Velocidad: %1% - + Game: %1 FPS (Unlocked) Juego: %1 FPS (desbloqueado) - + Game: %1 FPS Juego: %1 FPS - + Frame: %1 ms Fotogramas: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU ALTA - - - - GPU EXTREME - GPU EXTREMA - - - - GPU ERROR - GPU ERROR - - - - DOCKED - SOBREMESA - - - - HANDHELD - PORTÁTIL - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - PRÓXIMO - - - - - BILINEAR - BILINEAL - - - - BICUBIC - BICÚBICO - - - - GAUSSIAN - GAUSSIANO - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA NO AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUMEN: SILENCIO - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUMEN: %1% - + Confirm Key Rederivation Confirmar la clave de rederivación - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5382,37 +5643,37 @@ es lo que quieres hacer si es necesario. Esto eliminará los archivos de las claves generadas automáticamente y volverá a ejecutar el módulo de derivación de claves. - + Missing fuses Faltan fuses - + - Missing BOOT0 - Falta BOOT0 - + - Missing BCPKG2-1-Normal-Main - Falta BCPKG2-1-Normal-Main - + - Missing PRODINFO - Falta PRODINFO - + Derivation Components Missing Faltan componentes de derivación - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Faltan las claves de encriptación. <br>Por favor, sigue <a href='https://yuzu-emu.org/help/quickstart/'>la guía rápida de yuzu</a> para obtener todas tus claves, firmware y juegos.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5421,39 +5682,49 @@ Esto puede llevar unos minutos dependiendo del rendimiento de su sistema. - + Deriving Keys Obtención de claves - + + System Archive Decryption Failed + Desencriptación del Sistema de Archivos Fallida + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Las claves de encriptación no han podido desencriptar el firmware. <br>Por favor, siga<a href='https://yuzu-emu.org/help/quickstart/'>la guía de inicio rápido de yuzu</a> para obtener todas tus claves, firmware y juegos. + + + Select RomFS Dump Target Selecciona el destinatario para volcar el RomFS - + Please select which RomFS you would like to dump. Por favor, seleccione los RomFS que deseas volcar. - + Are you sure you want to close yuzu? ¿Estás seguro de que quieres cerrar yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. ¿Estás seguro de que quieres detener la emulación? Cualquier progreso no guardado se perderá. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5461,6 +5732,101 @@ Would you like to bypass this and exit anyway? ¿Quieres salir de todas formas? + + + None + Ninguno + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Mas cercano + + + + Bilinear + Bilineal + + + + Bicubic + Bicúbico + + + + Gaussian + Gaussiano + + + + ScaleForce + ScaleForce + + + + Docked + Sobremesa + + + + Handheld + Portátil + + + + Normal + Normal + + + + High + Alto + + + + Extreme + Extremo + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5473,7 +5839,7 @@ Would you like to bypass this and exit anyway? OpenGL shared contexts are not supported. - + Los contextos compartidos de OpenGL no son compatibles. @@ -5537,7 +5903,7 @@ Would you like to bypass this and exit anyway? Open Transferable Pipeline Cache - Abrir caché transferible de shaders en tubería + Abrir caché de canalización de shaders transferibles @@ -5561,117 +5927,122 @@ Would you like to bypass this and exit anyway? - Remove OpenGL Pipeline Cache - Eliminar caché en tubería de OpenGL + Remove Cache Storage + Quitar almacenamiento de caché - Remove Vulkan Pipeline Cache - Eliminar caché en tubería de Vulkan + Remove OpenGL Pipeline Cache + Eliminar caché de canalización de OpenGL - - Remove All Pipeline Caches - Eliminar todas las cachés en tubería + + Remove Vulkan Pipeline Cache + Eliminar caché de canalización de Vulkan + Remove All Pipeline Caches + Eliminar todas las cachés de canalización + + + Remove All Installed Contents Eliminar todo el contenido instalado - + Dump RomFS Volcar RomFS - + Dump RomFS to SDMC Volcar RomFS a SDMC - + Copy Title ID to Clipboard Copiar la ID del título al portapapeles - + Navigate to GameDB entry Ir a la sección de bases de datos del juego - - - Create Shortcut - - + Create Shortcut + Crear Acceso directo + + + Add to Desktop - + Añadir al Escritorio - + Add to Applications Menu - + Añadir al menú de Aplicaciones - + Properties Propiedades - + Scan Subfolders Escanear subdirectorios - + Remove Game Directory Eliminar directorio de juegos - + ▲ Move Up ▲ Mover hacia arriba - + ▼ Move Down ▼ Mover hacia abajo - + Open Directory Location Abrir ubicación del directorio - + Clear Limpiar - + Name Nombre - + Compatibility Compatibilidad - + Add-ons Extras/Add-ons - + File type Tipo de archivo - + Size Tamaño @@ -5686,7 +6057,7 @@ Would you like to bypass this and exit anyway? Game starts, but crashes or major glitches prevent it from being completed. - El juego se inicia, pero los bloqueos o fallos importantes impiden que se pueda completar. + El juego se inicia, pero se bloquea o se producen fallos importantes que impiden completarlo. @@ -5742,7 +6113,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Haz doble clic para agregar un nuevo directorio a la lista de juegos. @@ -5755,12 +6126,12 @@ Would you like to bypass this and exit anyway? %1 de %n resultado(s)%1 de %n resultado(s)%1 de %n resultado(s) - + Filter: Búsqueda: - + Enter pattern to filter Introduce un patrón para buscar @@ -5795,7 +6166,7 @@ Would you like to bypass this and exit anyway? (Leave blank for open game) - (Dejar en blanco para juego libre) + (Dejar vacío para crear sala abierta) @@ -5815,7 +6186,7 @@ Would you like to bypass this and exit anyway? Load Previous Ban List - Cargar lista de vetos anterior + Cargar lista de vetos anteriores @@ -5851,138 +6222,138 @@ Mensaje de depuración: Hotkeys - + Audio Mute/Unmute Activar/Desactivar audio - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Ventana principal - + Audio Volume Down Bajar volumen del audio - + Audio Volume Up Subir volumen del audio - + Capture Screenshot Captura de pantalla - + Change Adapting Filter Cambiar filtro adaptable - + Change Docked Mode Cambiar a modo sobremesa - + Change GPU Accuracy Cambiar precisión de GPU - + Continue/Pause Emulation Continuar/Pausar emulación - + Exit Fullscreen Salir de pantalla completa - + Exit yuzu Cerrar yuzu - + Fullscreen Pantalla completa - + Load File Cargar archivo - + Load/Remove Amiibo Cargar/Eliminar Amiibo - + Restart Emulation Reiniciar emulación - + Stop Emulation Detener emulación - + TAS Record Grabar TAS - + TAS Reset Reiniciar TAS - + TAS Start/Stop Iniciar/detener TAS - + Toggle Filter Bar Alternar barra de filtro - + Toggle Framerate Limit Alternar limite de fotogramas - + Toggle Mouse Panning Alternar desplazamiento del ratón - + Toggle Status Bar Alternar barra de estado @@ -6005,7 +6376,7 @@ Mensaje de depuración: Instalar - + Install Files to NAND Instalar archivos al NAND... @@ -6013,7 +6384,7 @@ Mensaje de depuración: LimitableInputDialog - + The text can't contain any of the following characters: %1 El texto no puede tener ninguno de estos caracteres: @@ -6088,51 +6459,56 @@ Mensaje de depuración: + Hide Empty Rooms + Ocultar salas vacías + + + Hide Full Rooms Ocultar salas llenas - + Refresh Lobby Actualizar lobby - + Password Required to Join Contraseña necesaria para unirse - + Password: Contraseña: - + Players Jugadores - + Room Name Nombre de sala - + Preferred Game Juego preferente - + Host Anfitrión - + Refreshing Actualizando - + Refresh List Actualizar lista @@ -6312,7 +6688,7 @@ Mensaje de depuración: &Direct Connect to Room - &Conexión directa a la sala + &Conexión directa a una sala @@ -6537,7 +6913,7 @@ Mensaje de depuración: Creating a room failed. Please retry. Restarting yuzu might be necessary. - La creación de la sala ha fallado. Por favor reintente. Reiniciar yuzu puede ser necesario. + Error al crear una sala. Por favor, inténtalo de nuevo. Puede que sea necesario reiniciar yuzu. @@ -6670,7 +7046,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIO/PAUSAR @@ -6719,31 +7095,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [no definido] @@ -6754,14 +7130,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eje %1%2 @@ -6772,264 +7148,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [desconocido] - - - + + + Left Izquierda - - - + + + Right Derecha - - - + + + Down Abajo - - - + + + Up Arriba - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Comenzar - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Círculo - - + + Cross Cruz - - + + Square Cuadrado - - + + Triangle Triángulo - - + + Share Compartir - - + + Options Opciones - - + + [undefined] [sin definir] - + %1%2 %1%2 - - + + [invalid] [inválido] - - - - + + %1%2Hat %3 %1%2Rotación %3 - - - - - - + + + + %1%2Axis %3 %1%2Eje %3 - - + + %1%2Axis %3,%4,%5 %1%2Eje %3,%4,%5 - - + + %1%2Motion %3 %1%2Movimiento %3 - - - - + + %1%2Button %3 %1%2Botón %3 - - + + [unused] [no usado] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Palanca L + + + + Stick R + Palanca R + + + + Plus + Más + + + + Minus + Menos + + + + Home Inicio - + + Capture + Captura + + + Touch Táctil - + Wheel Indicates the mouse wheel Rueda - + Backward Atrás - + Forward Adelante - + Task Tarea - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Rotación %4 + + + + + %1%2%3Axis %4 + %1%2%3Axis %4 + + + + + %1%2%3Button %4 + %1%2%3Botón %4 @@ -7398,28 +7832,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Código de error: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Ha ocurrido un error. Por favor, inténtalo de nuevo o contacta con el desarrollador del software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Ha ocurrido un error en %1 a las %2 Por favor, inténtalo de nuevo o contacta con el desarrollador del software. - + An error has occurred. %1 @@ -7443,20 +7877,81 @@ Por favor, inténtalo de nuevo o contacta con el desarrollador del software. - - Select a user: - Seleccione un usuario: - - - + Users Usuarios - + + Profile Creator + Creador de perfil + + + + Profile Selector Selector de perfil + + + Profile Icon Editor + Editor de icono de perfil + + + + Profile Nickname Editor + Editor de nombre de perfil + + + + Who will receive the points? + ¿Quién recibirá los puntos? + + + + Who is using Nintendo eShop? + ¿Quién va a utilizar Nintendo eShop? + + + + Who is making this purchase? + ¿Quién está haciendo la compra? + + + + Who is posting? + ¿Quién está publicando esto? + + + + Select a user to link to a Nintendo Account. + Elige un usuario para vincularlo a una Cuenta Nintendo. + + + + Change settings for which user? + ¿Para qué usuario desea cambiar la configuración? + + + + Format data for which user? + ¿Para qué usuario se borrarán sus datos? + + + + Which user will be transferred to another console? + ¿Qué usuario será transferido a otra consola? + + + + Send save data for which user? + ¿A qué usuario se le enviarán los datos de guardado? + + + + Select a user: + Seleccione un usuario: + QtSoftwareKeyboardDialog @@ -7506,51 +8001,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Llamadas acumuladas - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - esperando al mutex 0x%1 - - - - has waiters: %1 - tiene receptores: %1 - - - - owner handle: 0x%1 - manejo del propietario: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - esperando a todos los objetos - - - - waiting for one of the following objects - esperando a uno de los siguientes objetos - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread esperado por ningún hilo @@ -7558,120 +8022,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable ejecutable - + paused en pausa - + sleeping reposando - + waiting for IPC reply esperando respuesta IPC - + waiting for objects esperando objetos - + waiting for condition variable esperando variable condicional - + waiting for address arbiter esperando al árbitro de dirección - + waiting for suspend resume esperando a reanudar - + waiting esperando - + initialized inicializado - + terminated terminado - + unknown desconocido - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 núcleo %1 - + processor = %1 procesador = %1 - - ideal core = %1 - núcleo ideal = %1 - - - + affinity mask = %1 máscara de afinidad = %1 - + thread id = %1 id de hilo = %1 - + priority = %1(current) / %2(normal) prioridad = %1(presente) / %2(normal) - + last running ticks = %1 últimos ticks consecutivos = %1 - - - not waiting for mutex - no esperando al mutex - WaitTreeThreadList - + waited by thread esperado por el hilo @@ -7679,7 +8133,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Árbol de espera diff --git a/dist/languages/fr.ts b/dist/languages/fr.ts index d7d94dd30..49d30137f 100644 --- a/dist/languages/fr.ts +++ b/dist/languages/fr.ts @@ -127,7 +127,7 @@ p, li { white-space: pre-wrap; } View Profile - Voir le profile + Voir le profil @@ -381,36 +381,61 @@ Cela bannirait à la fois son nom d'utilisateur du forum et son adresse IP. - Output Device - Périphérique de sortie + Output Device: + Périphérique de sortie : - Input Device - Périphérique d'entrée + Input Device: + Périphérique d'entrée : - + + Sound Output Mode: + Mode de sortie sonore : + + + + Mono + Mono + + + + Stereo + Stéréo + + + + Surround + Surround + + + Use global volume Utiliser le volume global - + Set volume: Régler le volume : - + Volume: Volume : - + 0 % 0 % - + + Mute audio when in background + Couper le son en arrière-plan + + + %1% Volume percentage (e.g. 50%) %1% @@ -936,102 +961,112 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Désactiver les macros JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Lorsque coché, désactive les fonctions macro HLE. L'activer ralentit les jeux + + + + Disable Macro HLE + Désactiver les macros HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Lorsque la case est cochée, yuzu enregistrera les journaux de statistiques à propos de la cache de pipeline compilée - + Enable Shader Feedback Activer le retour d'information des shaders - + When checked, it executes shaders without loop logic changes Lorsque la case est cochée, exécuter les shaders sans changer la boucle de logique - + Disable Loop safety checks Désactiver les vérifications de boucle - + Debugging Débogage - + Enable Verbose Reporting Services** Activer les services de rapport verbeux** - + Enable FS Access Log Activer la journalisation des accès du système de fichiers - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. Activez cette option pour afficher la dernière liste de commandes audio générée sur la console. N'affecte que les jeux utilisant le moteur de rendu audio. - + Dump Audio Commands To Console** Déversez les commandes audio à la console** - + Create Minidump After Crash Crée un Minidump après un crash - + Advanced Avancé - + Kiosk (Quest) Mode Mode Kiosk (Quest) - + Enable CPU Debugging Activer le Débogage CPU - + Enable Debug Asserts Activer les assertions de débogage - + Enable Auto-Stub** Activer l'Auto-Stub** - + Enable All Controller Types Activer tous les types de contrôleurs - + Disable Web Applet Désactiver l'applet web - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. Active yuzu pour chercher pour un environnement Vulkan fonctionnel quand le programme démarre. Desactiver ceci si cela cause des problèmes avec des programmes externes. - + Perform Startup Vulkan Check Performe un check de Vulkan au démarrage - + **This will be reset automatically when yuzu closes. **Ces options seront réinitialisées automatiquement lorsque yuzu fermera. @@ -1046,12 +1081,12 @@ Cette option améliore la vitesse en réduisant la précision des instructions f yuzu doit redémarrer pour appliquer ce paramètre. - + Web applet not compiled Applet Web non compilé - + MiniDump creation not compiled Création de MiniDump non compilé @@ -1101,78 +1136,78 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Configuration de yuzu - - + + Audio Son - - + + CPU CPU - + Debug Débogage - + Filesystem Système de fichiers - - + + General Général - - + + Graphics Vidéo - + GraphicsAdvanced Graphismes avancés - + Hotkeys Raccourcis clavier - - + + Controls Contrôles - + Profiles Profils - + Network Réseau - - + + System Système - + Game List Liste des jeux - + Web Web @@ -1347,46 +1382,41 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - Extended memory layout (6GB DRAM) - Disposition de la mémoire étendue (6GB DRAM) - - - Confirm exit while emulation is running Confirmer la sortie pendent l'émulation en cours - + Prompt for user on game boot Demander un utilisateur au lancement d'un jeu - + Pause emulation when in background Mettre en pause l’émulation lorsque mis en arrière-plan - - Mute audio when in background - Couper le son en arrière-plan - - - + Hide mouse on inactivity Cacher la souris en cas d'inactivité - + + Disable controller applet + Désactiver l'applet du contrôleur + + + Reset All Settings Réinitialiser tous les paramètres - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Ceci réinitialise tout les paramètres et supprime toutes les configurations par jeu. Cela ne va pas supprimer les répertoires de jeu, les profils, ou les profils d'entrée. Continuer ? @@ -1425,7 +1455,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + None Aucune @@ -1451,216 +1481,272 @@ Cette option améliore la vitesse en réduisant la précision des instructions f + VSync Mode: + Mode VSync : + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) ne perd pas de trames ni ne présente de déchirures, mais est limité par le taux de rafraîchissement de l'écran. +FIFO Relaxé est similaire à FIFO mais autorise les déchirures lorsqu'il récupère d'un ralentissement. +Mailbox peut avoir une latence plus faible que FIFO et ne présente pas de déchirures, mais peut perdre des trames. +Immédiat (sans synchronisation) présente simplement ce qui est disponible et peut présenter des déchirures. + + + NVDEC emulation: Émulation NVDEC - + No Video Output Pas de sortie vidéo - + CPU Video Decoding Décodage Vidéo sur le CPU - + GPU Video Decoding (Default) Décodage Vidéo sur le GPU (par défaut) - + Fullscreen Mode: Mode Plein écran : - + Borderless Windowed Fenêtré sans bordure - + Exclusive Fullscreen Plein écran exclusif - + Aspect Ratio: Format : - + Default (16:9) Par défaut (16:9) - + Force 4:3 Forcer le 4:3 - + Force 21:9 Forcer le 21:9 - + Force 16:10 - Forcer 16:10 + Forcer le 16:10 - + Stretch to Window Étirer à la fenêtre - + Resolution: Résolution : - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EXPÉRIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EXPÉRIMENTAL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPÉRIMENTAL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Filtre de fenêtre adaptatif - + Nearest Neighbor Plus proche voisin - + Bilinear Bilinéaire - + Bicubic Bicubique - + Gaussian Gaussien - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Vulkan seulement) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Méthode d'anticrénelage : - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness Utiliser la netteté FSR globale - + Set FSR Sharpness Définir la netteté FSR - + FSR Sharpness: Netteté FSR : - + 100% 100% - - + + Use global background color Utiliser une couleur d'arrière-plan globale - + Set background color: Définir la couleur d'arrière-plan : - + Background Color: Couleur de L’arrière plan : - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Shaders en Assembleur, NVIDIA Seulement) - + SPIR-V (Experimental, Mesa Only) SPIR-V (Expérimental, Mesa seulement) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Désactivé + + + + VSync Off + VSync Désactivée + + + + Recommended + Recommandé + + + + On + Activé + + + + VSync On + VSync Activée + ConfigureGraphicsAdvanced @@ -1685,77 +1771,155 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Niveau de Précision : - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - La VSync empêche les déchirements de l'image, mais cela peut causer des baisses de performances sur certaines cartes graphiques. Gardez la activée si vous ne voyez pas de différence. + + ASTC recompression: + Recompression ASTC : - - Use VSync - Utiliser VSync + + Uncompressed (Best quality) + Non compressé (Meilleure qualité) - + + BC1 (Low quality) + BC1 (Basse qualité) + + + + BC3 (Medium quality) + BC3 (Qualité moyenne) + + + + Enable asynchronous presentation (Vulkan only) + Activer la présentation asynchrone (uniquement pour Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Les exécutions fonctionnent en arrière-plan en attendant les commandes graphiques pour empêcher le GPU de réduire sa vitesse de fréquence d'horloge. + + + + Force maximum clocks (Vulkan only) + Forcer la fréquence d'horloge maximale (Vulkan uniquement) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Active le décodage asynchrone de textures ASTC, qui peut réduire les saccades de chargement. Cette fonctionnalité est expérimentale. + + + + Decode ASTC textures asynchronously (Hack) + Décoder les textures ASTC de manière asynchrone (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Utilise le vidage réactif à la place du vidage prédictif. Permet une synchronisation de mémoire plus précise. + + + + Enable Reactive Flushing + Activer le Vidage Réactif + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Active la compilation de shaders asynchrone, qui peut réduire les saccades des shaders. Cette fonctionnalité est expérimentale. - + Use asynchronous shader building (Hack) Utiliser la compilation asynchrone des shaders (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Active le Temps GPU Rapide. Cette option forcera la plupart des jeux à utiliser leur plus grande résolution native. - + Use Fast GPU Time (Hack) Utiliser le Temps GPU Rapide (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - Active les vidages de tampon pessimistes. Cette option va forcer les tampons non-modifiés à être vidé, cela peut affecter la performance. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Active le cache de pipeline spécifique au fournisseur de GPU. Cette option peut améliorer considérablement le temps de chargement du shader dans les cas où le pilote Vulkan ne stocke pas les fichiers de cache du pipeline en interne. - - Use pessimistic buffer flushes (Hack) - Utiliser des vidages de tampon pessimistes (Hack) + + Use Vulkan pipeline cache + Utiliser le cache de pipeline Vulkan - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Activer les pipelines de calcul, requis par certains jeux. Ce paramètre n'existe que pour les pilotes propriétaires Intel et peut provoquer des plantages s'il est activé. +Les pipelines de calcul sont toujours activés sur tous les autres pilotes. + + + + Enable Compute Pipelines (Intel Vulkan only) + Activer les pipelines de calcul (uniquement pour Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + Éxécuter le jeu à une vitesse normale pendant la relecture du vidéo, +même-ci la fréquence d'image est dévérouillée. + + + + Sync to framerate of video playback + Synchro la fréquence d'image de la relecture du vidéo + + + + Improves rendering of transparency effects in specific games. + Améliore le rendu des effets de transparence dans des jeux spécifiques. + + + + Barrier feedback loops + Boucles de rétroaction de barrière + + + Anisotropic Filtering: Filtrage anisotropique : - + Automatic Automatique - + Default Défaut - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1788,70 +1952,65 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Restaurer les défauts - + Action Action - + Hotkey Raccourci clavier - + Controller Hotkey Raccourci Manette - - - + + + Conflicting Key Sequence Séquence de touches conflictuelle - - + + The entered key sequence is already assigned to: %1 La séquence de touches entrée est déjà attribuée à : %1 - - Home+%1 - Home+%1 - - - + [waiting] [En attente] - + Invalid Invalide - + Restore Default Rétablir les défauts - + Clear Effacer - + Conflicting Button Sequence Séquence de bouton conflictuelle - + The default button sequence is already assigned to: %1 La séquence de bouton par défaut est déjà assignée à : %1 - + The default key sequence is already assigned to: %1 La séquence de touches par défaut est déjà attribuée à : %1 @@ -2143,7 +2302,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Configure Configurer @@ -2169,6 +2328,8 @@ Cette option améliore la vitesse en réduisant la précision des instructions f + + Requires restarting yuzu Nécessite de redémarrer yuzu @@ -2188,22 +2349,27 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Manette de navigation - - Enable mouse panning - Activer le mouvement panorama avec la souris + + Enable direct JoyCon driver + Activer le pilote JoyCon direct - - Mouse sensitivity - Sensibilité de la souris + + Enable direct Pro Controller driver [EXPERIMENTAL] + Activer le pilote Pro Controller direct [EXPERIMENTAL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Permet des utilisations illimitées du même Amiibo dans des jeux qui vous limitent à une seule utilisation. - + + Use random Amiibo ID + Utiliser un ID d'Amiibo aléatoire + + + Motion / Touch La motion / Toucher @@ -2315,7 +2481,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Left Stick Stick Gauche @@ -2409,14 +2575,14 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + L L - + ZL ZL @@ -2435,7 +2601,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Plus Plus @@ -2448,15 +2614,15 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - - + + R R - + ZR ZR @@ -2513,236 +2679,257 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Right Stick Stick Droit - - - - + + Mouse panning + Panoramique de la souris + + + + Configure + Configurer + + + + + + Clear Effacer - - - - - + + + + + [not set] [non défini] - - + + + Invert button Inverser les boutons - - + + Toggle button Bouton d'activation - - + + Turbo button + Bouton Turbo + + + + Invert axis Inverser l'axe - - - + + + Set threshold Définir le seuil - - + + Choose a value between 0% and 100% Choisissez une valeur entre 0% et 100% - + Toggle axis Basculer les axes - + Set gyro threshold Définir le seuil du gyroscope - + + Calibrate sensor + Calibrer le capteur + + + Map Analog Stick Mapper le stick analogique - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Après avoir appuyé sur OK, bougez d'abord votre joystick horizontalement, puis verticalement. Pour inverser les axes, bougez d'abord votre joystick verticalement, puis horizontalement. - + Center axis Axe central - - + + Deadzone: %1% Zone morte : %1% - - + + Modifier Range: %1% Modification de la course : %1% - - + + Pro Controller Pro Controller - + Dual Joycons Deux Joycons - + Left Joycon Joycon de gauche - + Right Joycon Joycon de droit - + Handheld Mode Portable - + GameCube Controller Manette GameCube - + Poke Ball Plus Poké Ball Plus - + NES Controller Manette NES - + SNES Controller Manette SNES - + N64 Controller Manette N64 - + Sega Genesis Sega Genesis - + Start / Pause Start / Pause - + Z Z - + Control Stick Stick de contrôle - + C-Stick C-Stick - + Shake! Secouez ! - + [waiting] [en attente] - + New Profile Nouveau Profil - + Enter a profile name: Entrez un nom de profil : - - + + Create Input Profile Créer un profil d'entrée - + The given profile name is not valid! Le nom de profil donné est invalide ! - + Failed to create the input profile "%1" Échec de la création du profil d'entrée "%1" - + Delete Input Profile Supprimer le profil d'entrée - + Failed to delete the input profile "%1" Échec de la suppression du profil d'entrée "%1" - + Load Input Profile Charger le profil d'entrée - + Failed to load the input profile "%1" Échec du chargement du profil d'entrée "%1" - + Save Input Profile Sauvegarder le profil d'entrée - + Failed to save the input profile "%1" Échec de la sauvegarde du profil d'entrée "%1" @@ -2790,7 +2977,7 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h - + Configure Configurer @@ -2826,7 +3013,7 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h - + Test Tester @@ -2846,81 +3033,156 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Plus d'informations</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Le numéro de port contient des caractères invalides - + Port has to be in range 0 and 65353 Le port doit être entre 0 et 65353 - + IP address is not valid L'adresse IP n'est pas valide - + This UDP server already exists Ce serveur UDP existe déjà - + Unable to add more than 8 servers Impossible d'ajouter plus de 8 serveurs - + Testing Essai - + Configuring Configuration - + Test Successful Test réussi - + Successfully received data from the server. Données reçues du serveur avec succès. - + Test Failed Test échoué - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Impossible de recevoir des données valides du serveur.<br>Veuillez vérifier que le serveur est correctement configuré et que l'adresse et le port sont corrects. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Le test UDP ou la configuration de l'étalonnage est en cours.<br>Veuillez attendre qu'ils se terminent. + + ConfigureMousePanning + + + Configure mouse panning + Configurer le panoramique de la souris + + + + Enable + Activer + + + + Can be toggled via a hotkey + Peut être activé/désactivé via un raccourci clavier + + + + Sensitivity + Sensibilité + + + + + Horizontal + Horizontal + + + + + + + + + % + % + + + + + Vertical + Vertical + + + + Deadzone counterweight + Contrepoids de zone morte + + + + Counteracts a game's built-in deadzone + Contrebalance la zone morte intégrée d'un jeu + + + + Stick decay + Dégradation du stick + + + + Strength + Force + + + + Minimum + Minimum + + + + Default + Défaut + + ConfigureNetwork @@ -2997,47 +3259,47 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h Développeur - + Add-Ons Extensions - + General Général - + System Système - + CPU CPU - + Graphics Graphiques - + Adv. Graphics Adv. Graphiques - + Audio Audio - + Input Profiles Profils d'entrée - + Properties Propriétés @@ -3240,13 +3502,13 @@ UUID : %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Si vous souhaitez utiliser cette manette, configurez le joueur 1 comme manette droite et le joueur 2 comme double joycon avant de lancer le jeu pour permettre à cette manette d'être détectée correctement. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + Pour utiliser le Ring-Con, configurez le joueur 1 comme Joy-Con droit (à la fois physique et émulé), et le joueur 2 comme Joy-Con gauche (gauche physique et double émulé) avant de démarrer le jeu. - Ring Sensor Parameters - Paramètres du Capteur de l'Anneau + Virtual Ring Sensor Parameters + Paramètres du capteur de l'anneau virtuel @@ -3266,33 +3528,95 @@ UUID : %2 Zone morte : 0% - + + Direct Joycon Driver + Pilote Joycon direct + + + + Enable Ring Input + Activer la saisie de l'anneau + + + + + Enable + Activer + + + + Ring Sensor Value + Valeur du capteur de l'anneau + + + + + Not connected + Non connecté + + + Restore Defaults Restaurer les défauts - + Clear Effacer - + [not set] [non défini] - + Invert axis Inverser l'axe - - + + Deadzone: %1% Zone morte : %1% - + + Error enabling ring input + Erreur lors de l'activation de la saisie de l'anneau + + + + Direct Joycon driver is not enabled + Le pilote direct Joycon n'est pas activé + + + + Configuring + Configuration + + + + The current mapped device doesn't support the ring controller + Le périphérique mappé actuel ne prend pas en charge le contrôleur en anneau + + + + The current mapped device doesn't have a ring attached + L'appareil actuellement mappé n'a pas d'anneau attaché + + + + The current mapped device is not connected + L'appareil actuellement mappé n'est pas connecté + + + + Unexpected driver result %1 + Résultat de pilote inattendu %1 + + + [waiting] [En attente] @@ -3597,8 +3921,8 @@ UUID : %2 - English - Anglais + American English + Anglais Américain @@ -3698,57 +4022,22 @@ UUID : %2 Device Name - + Nom de l'appareil - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Disposition de mémoire étendue non sécurisée (8 Go de DRAM) - - Stereo - Stéréo - - - - Surround - Surround - - - - Console ID: - ID de la Console : - - - - Sound output mode - Mode de sortie Audio - - - - Regenerate - Regénérer - - - + System settings are available only when game is not running. Les paramètres systèmes ne sont accessibles que lorsque le jeu n'est pas en cours. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Ceci remplacera la Switch virtuelle actuelle par une nouvelle. La Switch actuelle ne sera plus récupérable. cela peut entrainer des effets non désirés pendant le jeu. Ceci peut échouer si une configuration de sauvegarde périmée est utilisée. Continuer ? - - - - Warning - Avertissement - - - - Console ID: 0x%1 - ID de la Console : 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Attention: "%1" n'est pas une langue valide pour la région "%2" @@ -3817,7 +4106,7 @@ UUID : %2 Configuration du TAS - + Select TAS Load Directory... Sélectionner le dossier de chargement du TAS... @@ -4373,7 +4662,7 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce Contrôleur joueur 1 - + &Controller P1 &Contrôleur joueur 1 @@ -4386,42 +4675,37 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce Connexion directe - - IP Address - Adresse IP + + Server Address + Adresse du serveur - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Adresse du serveur de l'hôte</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>Adresse IPv4 de l'hôte</p></body></html> - - - + Port Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Numéro de port sur lequel l'hôte écoute</p></body></html> - + Nickname Surnom - + Password Mot de passe - + Connect Connecter @@ -4429,12 +4713,12 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce DirectConnectWindow - + Connecting Connexion - + Connect Connecter @@ -4442,923 +4726,898 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Des données anonymes sont collectées</a> pour aider à améliorer yuzu. <br/><br/>Voulez-vous partager vos données d'utilisations avec nous ? - + Telemetry Télémétrie - + Broken Vulkan Installation Detected Installation Vulkan Cassée Détectée - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. L'initialisation de Vulkan a échoué lors du démarrage.<br><br>Cliquez <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>ici pour obtenir des instructions pour résoudre le problème</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + Exécution d'un jeu + + + Loading Web Applet... Chargement du Web Applet... - - + + Disable Web Applet Désactiver l'applet web - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) La désactivation de l'applet Web peut entraîner un comportement indéfini et ne doit être utilisée qu'avec Super Mario 3D All-Stars. Voulez-vous vraiment désactiver l'applet Web ? (Cela peut être réactivé dans les paramètres de débogage.) - + The amount of shaders currently being built La quantité de shaders en cours de construction - + The current selected resolution scaling multiplier. Le multiplicateur de mise à l'échelle de résolution actuellement sélectionné. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Valeur actuelle de la vitesse de l'émulation. Des valeurs plus hautes ou plus basses que 100% indique que l'émulation fonctionne plus vite ou plus lentement qu'une véritable Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Combien d'image par seconde le jeu est en train d'afficher. Ceci vas varier de jeu en jeu et de scènes en scènes. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Temps pris pour émuler une image par seconde de la switch, sans compter le limiteur d'image par seconde ou la synchronisation verticale. Pour une émulation à pleine vitesse, ceci devrait être au maximum à 16.67 ms. - + + Unmute + Remettre le son + + + + Mute + Couper le son + + + + Reset Volume + Réinitialiser le volume + + + &Clear Recent Files &Effacer les fichiers récents - + + Emulated mouse is enabled + La souris émulée est activée + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + La saisie réelle de la souris et le panoramique de la souris sont incompatibles. Veuillez désactiver la souris émulée dans les paramètres avancés d'entrée pour permettre le panoramique de la souris. + + + &Continue &Continuer - + &Pause &Pause - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu exécute un jeu - - - + Warning Outdated Game Format Avertissement : Le Format de jeu est dépassé - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Vous utilisez un format de ROM déconstruite pour ce jeu, qui est donc un format dépassé qui à été remplacer par d'autre. Par exemple les formats NCA, NAX, XCI, ou NSP. Les destinations de ROM déconstruites manque des icônes, des métadonnée et du support de mise à jour.<br><br>Pour une explication des divers formats Switch que yuzu supporte, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>Regardez dans le wiki</a>. Ce message ne sera pas montré une autre fois. - - + + Error while loading ROM! Erreur lors du chargement de la ROM ! - + The ROM format is not supported. Le format de la ROM n'est pas supporté. - + An error occurred initializing the video core. Une erreur s'est produite lors de l'initialisation du noyau dédié à la vidéo. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu a rencontré une erreur en exécutant le cœur vidéo. Cela est généralement causé par des pilotes graphiques trop anciens. Veuillez consulter les logs pour plus d'informations. Pour savoir comment accéder aux logs, veuillez vous référer à la page suivante : <a href='https://yuzu-emu.org/help/reference/log-files/'>Comment partager un fichier de log </a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Erreur lors du chargement de la ROM ! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Veuillez suivre <a href='https://yuzu-emu.org/help/quickstart/'>le guide de démarrage rapide yuzu</a> pour retransférer vos fichiers.<br>Vous pouvez vous référer au wiki yuzu</a> ou le Discord yuzu</a> pour de l'assistance. - + An unknown error occurred. Please see the log for more details. Une erreur inconnue est survenue. Veuillez consulter le journal des logs pour plus de détails. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Fermeture du logiciel... - + Save Data Enregistrer les données - + Mod Data Donnés du Mod - + Error Opening %1 Folder Erreur dans l'ouverture du dossier %1. - - + + Folder does not exist! Le dossier n'existe pas ! - + Error Opening Transferable Shader Cache Erreur lors de l'ouverture des Shader Cache Transferable - + Failed to create the shader cache directory for this title. Impossible de créer le dossier de cache du shader pour ce jeu. - + Error Removing Contents Erreur en enlevant le contenu - + Error Removing Update Erreur en enlevant la Mise à Jour - + Error Removing DLC Erreur en enlevant le DLC - + Remove Installed Game Contents? - Enlever les données des jeux installés ? + Enlever les données du jeu installé ? - + Remove Installed Game Update? Enlever la mise à jour du jeu installé ? - + Remove Installed Game DLC? Enlever le DLC du jeu installé ? - + Remove Entry Supprimer l'entrée - - - - - - + + + + + + Successfully Removed Supprimé avec succès - + Successfully removed the installed base game. Suppression du jeu de base installé avec succès. - + The base game is not installed in the NAND and cannot be removed. Le jeu de base n'est pas installé dans la NAND et ne peut pas être supprimé. - + Successfully removed the installed update. Suppression de la mise à jour installée avec succès. - + There is no update installed for this title. Il n'y a pas de mise à jour installée pour ce titre. - + There are no DLC installed for this title. Il n'y a pas de DLC installé pour ce titre. - + Successfully removed %1 installed DLC. Suppression de %1 DLC installé(s) avec succès. - + Delete OpenGL Transferable Shader Cache? Supprimer la Cache OpenGL de Shader Transférable? - + Delete Vulkan Transferable Shader Cache? Supprimer la Cache Vulkan de Shader Transférable? - + Delete All Transferable Shader Caches? Supprimer Toutes les Caches de Shader Transférable? - + Remove Custom Game Configuration? Supprimer la configuration personnalisée du jeu? - + + Remove Cache Storage? + Supprimer le stockage du cache ? + + + Remove File Supprimer fichier - - + + Error Removing Transferable Shader Cache Erreur lors de la suppression du cache de shader transférable - - + + A shader cache for this title does not exist. Un shader cache pour ce titre n'existe pas. - + Successfully removed the transferable shader cache. Suppression du cache de shader transférable avec succès. - + Failed to remove the transferable shader cache. Échec de la suppression du cache de shader transférable. - - + + Error Removing Vulkan Driver Pipeline Cache + Erreur lors de la suppression du cache de pipeline de pilotes Vulkan + + + + Failed to remove the driver pipeline cache. + Échec de la suppression du cache de pipeline de pilotes. + + + + Error Removing Transferable Shader Caches Erreur durant la Suppression des Caches de Shader Transférable - + Successfully removed the transferable shader caches. Suppression des caches de shader transférable effectuée avec succès. - + Failed to remove the transferable shader cache directory. Impossible de supprimer le dossier de la cache de shader transférable. - - + + Error Removing Custom Configuration Erreur lors de la suppression de la configuration personnalisée - + A custom configuration for this title does not exist. Il n'existe pas de configuration personnalisée pour ce titre. - + Successfully removed the custom game configuration. Suppression de la configuration de jeu personnalisée avec succès. - + Failed to remove the custom game configuration. Échec de la suppression de la configuration personnalisée du jeu. - - + + RomFS Extraction Failed! L'extraction de la RomFS a échoué ! - + There was an error copying the RomFS files or the user cancelled the operation. Une erreur s'est produite lors de la copie des fichiers RomFS ou l'utilisateur a annulé l'opération. - + Full Plein - + Skeleton Squelette - + Select RomFS Dump Mode Sélectionnez le mode d'extraction de la RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Veuillez sélectionner la manière dont vous souhaitez que le fichier RomFS soit extrait.<br>Full copiera tous les fichiers dans le nouveau répertoire, tandis que<br>skeleton créera uniquement la structure de répertoires. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root Il n'y a pas assez d'espace libre dans %1 pour extraire la RomFS. Veuillez libérer de l'espace ou sélectionner un autre dossier d'extraction dans Émulation > Configurer > Système > Système de fichiers > Extraire la racine - + Extracting RomFS... Extraction de la RomFS ... - - + + Cancel Annuler - + RomFS Extraction Succeeded! Extraction de la RomFS réussi ! - + The operation completed successfully. L'opération s'est déroulée avec succès. - - - - - + + + + + Create Shortcut - + Créer un raccourci - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cela créera un raccourci vers l'AppImage actuelle. Cela peut ne pas fonctionner correctement si vous mettez à jour. Continuer ? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Impossible de créer un raccourci sur le bureau. Le chemin "%1" n'existe pas. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Impossible de créer un raccourci dans le menu des applications. Le chemin "%1" n'existe pas et ne peut pas être créé. - + Create Icon - + Créer une icône - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Impossible de créer le fichier d'icône. Le chemin "%1" n'existe pas et ne peut pas être créé. - + Start %1 with the yuzu Emulator - + Démarrer %1 avec l'émulateur Yuzu - + Failed to create a shortcut at %1 - + Impossible de créer un raccourci vers %1 - + Successfully created a shortcut to %1 - + Création réussie d'un raccourci vers %1 - + Error Opening %1 Erreur lors de l'ouverture %1 - + Select Directory Sélectionner un répertoire - + Properties Propriétés - + The game properties could not be loaded. Les propriétés du jeu n'ont pas pu être chargées. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Exécutable Switch (%1);;Tous les fichiers (*.*) - + Load File Charger un fichier - + Open Extracted ROM Directory Ouvrir le dossier des ROM extraites - + Invalid Directory Selected Destination sélectionnée invalide - + The directory you have selected does not contain a 'main' file. Le répertoire que vous avez sélectionné ne contient pas de fichier "main". - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Fichier Switch installable (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Installer les fichiers - + %n file(s) remaining %n fichier restant%n fichiers restants%n fichiers restants - + Installing file "%1"... Installation du fichier "%1" ... - - + + Install Results Résultats d'installation - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Pour éviter d'éventuels conflits, nous déconseillons aux utilisateurs d'installer des jeux de base sur la NAND. Veuillez n'utiliser cette fonctionnalité que pour installer des mises à jour et des DLC. - + %n file(s) were newly installed %n fichier a été nouvellement installé%n fichiers ont été nouvellement installés%n fichiers ont été nouvellement installés - + %n file(s) were overwritten %n fichier a été écrasé%n fichiers ont été écrasés%n fichiers ont été écrasés - + %n file(s) failed to install %n fichier n'a pas pu être installé%n fichiers n'ont pas pu être installés%n fichiers n'ont pas pu être installés - + System Application Application Système - + System Archive Archive Système - + System Application Update Mise à jour de l'application système - + Firmware Package (Type A) Paquet micrologiciel (Type A) - + Firmware Package (Type B) Paquet micrologiciel (Type B) - + Game Jeu - + Game Update Mise à jour de jeu - + Game DLC DLC de jeu - + Delta Title Titre Delta - + Select NCA Install Type... Sélectionner le type d'installation du NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Veuillez sélectionner le type de titre auquel vous voulez installer ce NCA : (Dans la plupart des cas, le titre par défaut : 'Jeu' est correct.) - + Failed to Install Échec de l'installation - + The title type you selected for the NCA is invalid. Le type de titre que vous avez sélectionné pour le NCA n'est pas valide. - + File not found Fichier non trouvé - + File "%1" not found Fichier "%1" non trouvé - + OK OK - - + + Hardware requirements not met Éxigences matérielles non respectées - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. Votre système ne correspond pas aux éxigences matérielles. Les rapports de comptabilité ont été désactivés. - + Missing yuzu Account Compte yuzu manquant - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Pour soumettre un test de compatibilité pour un jeu, vous devez lier votre compte yuzu.<br><br/>Pour lier votre compte yuzu, aller à Emulation &gt; Configuration&gt; Web. - + Error opening URL Erreur lors de l'ouverture de l'URL - + Unable to open the URL "%1". Impossible d'ouvrir l'URL "%1". - + TAS Recording Enregistrement TAS - + Overwrite file of player 1? Écraser le fichier du joueur 1 ? - + Invalid config detected Configuration invalide détectée - + Handheld controller can't be used on docked mode. Pro controller will be selected. Contrôleur portable ne peut pas être utilisé en mode téléviseur. La manette Pro sera sélectionnée. - - + + Amiibo Amiibo - - + + The current amiibo has been removed L'amiibo actuel a été retiré - + Error Erreur - - + + The current game is not looking for amiibos Le jeu actuel ne cherche pas d'amiibos. - + Amiibo File (%1);; All Files (*.*) Fichier Amiibo (%1);; Tous les fichiers (*.*) - + Load Amiibo Charger un Amiibo - + Error loading Amiibo data Erreur lors du chargement des données Amiibo - + The selected file is not a valid amiibo Le fichier choisi n'est pas un amiibo valide - + The selected file is already on use Le fichier sélectionné est déjà utilisé - + An unknown error occurred Une erreur inconnue s'est produite - + Capture Screenshot Capture d'écran - + PNG Image (*.png) Image PNG (*.png) - + TAS state: Running %1/%2 État du TAS : En cours d'exécution %1/%2 - + TAS state: Recording %1 État du TAS : Enregistrement %1 - + TAS state: Idle %1/%2 État du TAS : Inactif %1:%2 - + TAS State: Invalid État du TAS : Invalide - + &Stop Running &Stopper l'exécution - + &Start &Start - + Stop R&ecording Stopper l'en&registrement - + R&ecord En&registrer - + Building: %n shader(s) Compilation: %n shaderCompilation : %n shadersCompilation : %n shaders - + Scale: %1x %1 is the resolution scaling factor Échelle : %1x - + Speed: %1% / %2% Vitesse : %1% / %2% - + Speed: %1% Vitesse : %1% - + Game: %1 FPS (Unlocked) Jeu : %1 IPS (Débloqué) - + Game: %1 FPS Jeu : %1 FPS - + Frame: %1 ms Frame : %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU HAUT - - - - GPU EXTREME - GPU EXTRÊME - - - - GPU ERROR - GPU ERREUR - - - - DOCKED - MODE TV - - - - HANDHELD - PORTABLE - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - NULL - - - - NEAREST - PLUS PROCHE - - - - - BILINEAR - BILINÉAIRE - - - - BICUBIC - BICUBIQUE - - - - GAUSSIAN - GAUSSIEN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA AUCUN AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUME: MUET - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUME: %1% - + Confirm Key Rederivation Confirmer la réinstallation de la clé - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5375,37 +5634,37 @@ et éventuellement faites des sauvegardes. Cela supprimera vos fichiers de clé générés automatiquement et ré exécutera le module d'installation de clé. - + Missing fuses Fusibles manquants - + - Missing BOOT0 - BOOT0 manquant - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main manquant - + - Missing PRODINFO - PRODINFO manquant - + Derivation Components Missing Composants de dérivation manquants - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Les clés de chiffrement sont manquantes. <br>Veuillez suivre <a href='https://yuzu-emu.org/help/quickstart/'>le guide de démarrage rapide yuzu</a> pour obtenir tous vos clés, firmware et jeux.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5414,39 +5673,49 @@ Cela peut prendre jusqu'à une minute en fonction des performances de votre système. - + Deriving Keys Installation des clés - + + System Archive Decryption Failed + Échec du déchiffrement de l'archive système. + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Les clés de chiffrement n'ont pas réussi à déchiffrer le firmware. <br>Veuillez suivre <a href='https://yuzu-emu.org/help/quickstart/'>le guide de démarrage rapide du yuzu</a> pour obtenir toutes vos clés, firmware et jeux. + + + Select RomFS Dump Target Sélectionner la cible d'extraction du RomFS - + Please select which RomFS you would like to dump. Veuillez sélectionner quel RomFS vous voulez extraire. - + Are you sure you want to close yuzu? Êtes vous sûr de vouloir fermer yuzu ? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Êtes-vous sûr d'arrêter l'émulation ? Tout progrès non enregistré sera perdu. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5454,6 +5723,101 @@ Would you like to bypass this and exit anyway? Voulez-vous ignorer ceci and quitter quand même ? + + + None + Aucune + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Le plus proche + + + + Bilinear + Bilinéaire + + + + Bicubic + Bicubique + + + + Gaussian + Gaussien + + + + ScaleForce + ScaleForce + + + + Docked + Mode TV + + + + Handheld + Mode Portable + + + + Normal + Normal + + + + High + Haut + + + + Extreme + Extême + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Nul + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5466,7 +5830,7 @@ Voulez-vous ignorer ceci and quitter quand même ? OpenGL shared contexts are not supported. - + Les contextes OpenGL partagés ne sont pas pris en charge. @@ -5554,117 +5918,122 @@ Voulez-vous ignorer ceci and quitter quand même ? + Remove Cache Storage + Supprimer le stockage du cache + + + Remove OpenGL Pipeline Cache Supprimer la Cache de Pipeline OpenGL - + Remove Vulkan Pipeline Cache Supprimer la Cache de Pipeline Vulkan - + Remove All Pipeline Caches Supprimer Toutes les Caches de Pipeline - + Remove All Installed Contents Supprimer tout le contenu installé - + Dump RomFS Extraire la RomFS - + Dump RomFS to SDMC Décharger RomFS vers SDMC - + Copy Title ID to Clipboard Copier l'ID du titre dans le Presse-papiers - + Navigate to GameDB entry Accédez à l'entrée GameDB - - - Create Shortcut - - + Create Shortcut + Créer un raccourci + + + Add to Desktop - + Ajouter au bureau - + Add to Applications Menu - + Ajouter au menu des applications - + Properties Propriétés - + Scan Subfolders Scanner les sous-dossiers - + Remove Game Directory Supprimer le répertoire du jeu - + ▲ Move Up ▲ Monter - + ▼ Move Down ▼ Descendre - + Open Directory Location Ouvrir l'emplacement du répertoire - + Clear Effacer - + Name Nom - + Compatibility Compatibilité - + Add-ons Extensions - + File type Type de fichier - + Size Taille @@ -5735,7 +6104,7 @@ Voulez-vous ignorer ceci and quitter quand même ? GameListPlaceholder - + Double-click to add a new folder to the game list Double-cliquez pour ajouter un nouveau dossier à la liste de jeux @@ -5748,12 +6117,12 @@ Voulez-vous ignorer ceci and quitter quand même ? %1 sur %n résultat%1 sur %n résultats%1 sur %n résultats - + Filter: Filtre : - + Enter pattern to filter Entrez un motif à filtrer @@ -5844,138 +6213,138 @@ Message de débogage : Hotkeys - + Audio Mute/Unmute Désactiver/Activer le Son - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Fenêtre Principale - + Audio Volume Down Baisser le volume audio - + Audio Volume Up Augmenter le volume audio - + Capture Screenshot Prendre une capture d'ecran - + Change Adapting Filter Modifier le filtre d'adaptation - + Change Docked Mode Changer le mode de la station d'accueil - + Change GPU Accuracy Modifier la précision du GPU - + Continue/Pause Emulation Continuer/Suspendre l'Émulation - + Exit Fullscreen Quitter le plein écran - + Exit yuzu Quitter yuzu - + Fullscreen Plein écran - + Load File Charger un fichier - + Load/Remove Amiibo Charger/Supprimer un Amiibo - + Restart Emulation Redémarrer l'Émulation - + Stop Emulation Arrêter l'Émulation - + TAS Record Enregistrement TAS - + TAS Reset Réinitialiser le TAS - + TAS Start/Stop Démarrer/Arrêter le TAS - + Toggle Filter Bar Activer la barre de filtre - + Toggle Framerate Limit Activer la limite de fréquence d'images - + Toggle Mouse Panning Activer le panoramique de la souris - + Toggle Status Bar Activer la barre d'état @@ -5998,7 +6367,7 @@ Message de débogage : Installer - + Install Files to NAND Installer des fichiers sur la NAND @@ -6006,7 +6375,7 @@ Message de débogage : LimitableInputDialog - + The text can't contain any of the following characters: %1 Le texte ne peut contenir aucun des caractères suivants : @@ -6081,51 +6450,56 @@ Message de débogage : + Hide Empty Rooms + Masquer les salons vides + + + Hide Full Rooms Masquer les salons complets - + Refresh Lobby Rafraichir le menu - + Password Required to Join Mot de passe requis pour rejoindre - + Password: Mot de passe: - + Players Joueurs - + Room Name Nom du salon - + Preferred Game Jeu préféré - + Host Hôte - + Refreshing Rafraîchissement - + Refresh List Rafraîchir la liste @@ -6663,7 +7037,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE Démarrer/Pause @@ -6712,31 +7086,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Maj - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [non défini] @@ -6747,14 +7121,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axe %1%2 @@ -6765,264 +7139,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [inconnu] - - - + + + Left Gauche - - - + + + Right Droite - - - + + + Down Bas - - - + + + Up Haut - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Cercle - - + + Cross Croix - - + + Square Carré - - + + Triangle Triangle - - + + Share Partager - - + + Options Options - - + + [undefined] [non défini] - + %1%2 %1%2 - - + + [invalid] [invalide] - - - - + + %1%2Hat %3 %1%2Chapeau %3 - - - - - - + + + + %1%2Axis %3 %1%2Axe %3 - - + + %1%2Axis %3,%4,%5 %1%2Axe %3,%4,%5 - - + + %1%2Motion %3 %1%2Mouvement %3 - - - - + + %1%2Button %3 %1%2Bouton %3 - - + + [unused] [inutilisé] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Stick Gauche + + + + Stick R + Stick Droit + + + + Plus + Plus + + + + Minus + Moins + + + + Home Home - + + Capture + Capturer + + + Touch Tactile - + Wheel Indicates the mouse wheel Molette - + Backward Reculer - + Forward Avancer - + Task Tâche - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Chapeau %4 + + + + + %1%2%3Axis %4 + %1%2%3Axe %4 + + + + + %1%2%3Button %4 + %1%2%3Bouton %4 @@ -7391,28 +7823,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Code d'erreur : %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Une erreur s'est produite. Veuillez essayer à nouveau ou contactez le développeur du logiciel. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Une erreur s'est produite le %1 à %2. Veuillez essayer à nouveau ou contactez le développeur du logiciel. - + An error has occurred. %1 @@ -7436,20 +7868,81 @@ Veuillez essayer à nouveau ou contactez le développeur du logiciel. - - Select a user: - Choisir un utilisateur : - - - + Users Utilisateurs - + + Profile Creator + Créateur de profil + + + + Profile Selector Sélecteur de profil + + + Profile Icon Editor + Éditeur d'icônes de profil + + + + Profile Nickname Editor + Éditeur de surnom de profil + + + + Who will receive the points? + Qui recevra les points ? + + + + Who is using Nintendo eShop? + Qui utilise le Nintendo eShop ? + + + + Who is making this purchase? + Qui effectue cet achat ? + + + + Who is posting? + Qui publie ? + + + + Select a user to link to a Nintendo Account. + Sélectionnez un utilisateur à associer à un compte Nintendo. + + + + Change settings for which user? + Modifier les paramètres pour quel utilisateur ? + + + + Format data for which user? + Formater les données pour quel utilisateur ? + + + + Which user will be transferred to another console? + Quel utilisateur sera transféré sur une autre console ? + + + + Send save data for which user? + Envoyer les données de sauvegarde pour quel utilisateur ? + + + + Select a user: + Choisir un utilisateur : + QtSoftwareKeyboardDialog @@ -7499,51 +7992,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Pile d'exécution - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - en attente du "mutex" 0x%1 - - - - has waiters: %1 - En attente : %1 - - - - owner handle: 0x%1 - propriétaire de la manche : 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - en attente de tous les objets - - - - waiting for one of the following objects - en attente d'un des objets suivants - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread attendu par aucun thread @@ -7551,120 +8013,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable runnable - + paused en pause - + sleeping en veille - + waiting for IPC reply en attente de réponse IPC - + waiting for objects En attente d'objets - + waiting for condition variable en attente de la variable conditionnelle - + waiting for address arbiter En attente de l'adresse arbitre - + waiting for suspend resume waiting for suspend resume - + waiting en attente - + initialized initialisé - + terminated terminated - + unknown inconnu - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal idéal - + core %1 cœur %1 - + processor = %1 Processeur = %1 - - ideal core = %1 - Cœur idéal = %1 - - - + affinity mask = %1 masque d'affinité = %1 - + thread id = %1 id du fil = %1 - + priority = %1(current) / %2(normal) priorité = %1(courant) / %2(normal) - + last running ticks = %1 dernier tick en cours = %1 - - - not waiting for mutex - en attente du "mutex" - WaitTreeThreadList - + waited by thread attendu par un fil @@ -7672,7 +8124,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/languages/id.ts b/dist/languages/id.ts index e50f6388c..374b18402 100644 --- a/dist/languages/id.ts +++ b/dist/languages/id.ts @@ -372,36 +372,61 @@ This would ban both their forum username and their IP address. - Output Device + Output Device: - Input Device - Perangkat Masukan + Input Device: + - + + Sound Output Mode: + + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Pakai volume global - + Set volume: Atur volume: - + Volume: Volume: - + 0 % 0 % - + + Mute audio when in background + Bisukan audio saat berada di background + + + %1% Volume percentage (e.g. 50%) %1% @@ -893,102 +918,112 @@ Memungkinkan berbagai macam optimasi IR. Matikan Macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + + + + + Disable Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache Saat dinyalakan, yuzu akan mencatat statstik tentang pipeline cache yang disusun - + Enable Shader Feedback Nyalakan Umpan Balik Shader - + When checked, it executes shaders without loop logic changes Saat dinyalakan, akan menjalankan shader tanpa perubahan logika loop - + Disable Loop safety checks Matikan cek keamanan Loop - + Debugging Pengawakutuan - + Enable Verbose Reporting Services** Nyalakan Layanan Laporan Bertele-tele** - + Enable FS Access Log Nyalakan Log Akses FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Lanjutan - + Kiosk (Quest) Mode Mode Kiosk (Pencarian) - + Enable CPU Debugging Nyalakan Pengawakutuan CPU - + Enable Debug Asserts Nyalakan Awakutu Assert - + Enable Auto-Stub** - + Enable All Controller Types Aktifkan Semua Jenis Controller - + Disable Web Applet Matikan Applet Web - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. **Ini akan diatur ulang secara otomatis ketika yuzu ditutup. @@ -1003,12 +1038,12 @@ Memungkinkan berbagai macam optimasi IR. - + Web applet not compiled - + MiniDump creation not compiled @@ -1058,78 +1093,78 @@ Memungkinkan berbagai macam optimasi IR. Komfigurasi yuzu - - + + Audio Audio - - + + CPU CPU - + Debug Awakutu - + Filesystem Sistem berkas - - + + General Umum - - + + Graphics Grafis - + GraphicsAdvanced GrafisLanjutan - + Hotkeys Pintasan - - + + Controls Kendali - + Profiles Profil - + Network Jaringan - - + + System Sistem - + Game List Daftar Permainan - + Web Jejaring @@ -1304,46 +1339,41 @@ Memungkinkan berbagai macam optimasi IR. - Extended memory layout (6GB DRAM) - Tata letak memori yang diperluas (6GB DRAM) - - - Confirm exit while emulation is running Konfirmasi jika ingin keluar saat emulasi berjalan - + Prompt for user on game boot Tanyakan pengguna ketika memulai permainan - + Pause emulation when in background Jeda pengemulasian ketika berada di latar - - Mute audio when in background - Bisukan audio saat berada di background - - - + Hide mouse on inactivity Sembunyikan mouse saat tidak aktif - + + Disable controller applet + + + + Reset All Settings Atur Ulang Semua Pengaturan - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? @@ -1382,7 +1412,7 @@ Memungkinkan berbagai macam optimasi IR. - + None Tak ada @@ -1408,216 +1438,269 @@ Memungkinkan berbagai macam optimasi IR. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulasi NVDEC: - + No Video Output Tidak ada Keluaran Suara - + CPU Video Decoding Penguraian Video menggunakan CPU - + GPU Video Decoding (Default) Penguraian Video menggunakan GPU (Bawaan) - + Fullscreen Mode: Mode Layar Penuh: - + Borderless Windowed Layar Tanpa Batas - + Exclusive Fullscreen Layar Penuh Eksklusif - + Aspect Ratio: Rasio Aspek: - + Default (16:9) Bawaan (16:9) - + Force 4:3 Paksa 4:3 - + Force 21:9 Paksa 21:9 - + Force 16:10 - + Stretch to Window Regangkan ke Layar - + Resolution: Resolusi: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EKSPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EKSPERIMENTAL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: Filter Menyelaraskan dengan Layar: - + Nearest Neighbor Nearest Neighbor - + Bilinear Biliner - + Bicubic Bikubik - + Gaussian Gaussian - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) + + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Metode Anti-Aliasing: - + FXAA FXAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Gunakan warna latar global - + Set background color: Setel warna latar: - + Background Color: Warna Latar: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Shader perakit, hanya NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1642,77 +1725,153 @@ Memungkinkan berbagai macam optimasi IR. Tingkat Akurasi: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync mencegah robekan layar, tapi beberapa kartu grafis memiliki performa yang lebih rendah dengan VSnyc dinyalakan. Biarkan menyala jika anda tidak memerhatikan perbedaan performa. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) + Uncompressed (Best quality) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + + + + + Use asynchronous shader building (Hack) + + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + + + + Use Fast GPU Time (Hack) + + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anisotropic Filtering: - + Automatic Otomatis - + Default Bawaan - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1745,70 +1904,65 @@ Memungkinkan berbagai macam optimasi IR. Kembalikan ke Semula - + Action Tindakan - + Hotkey Pintasan - + Controller Hotkey - - - + + + Conflicting Key Sequence Urutan Tombol yang Konflik - - + + The entered key sequence is already assigned to: %1 Urutan tombol yang dimasukkan sudah menerap ke: %1 - - Home+%1 - - - - + [waiting] [menunggu] - + Invalid - + Restore Default Kembalikan ke Semula - + Clear Bersihkan - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Urutan tombol bawaan sudah diterapkan ke: %1 @@ -2100,7 +2254,7 @@ Memungkinkan berbagai macam optimasi IR. - + Configure Konfigurasi @@ -2126,6 +2280,8 @@ Memungkinkan berbagai macam optimasi IR. + + Requires restarting yuzu Memerlukan mengulang yuzu @@ -2145,22 +2301,27 @@ Memungkinkan berbagai macam optimasi IR. - - Enable mouse panning - Nyalakan geseran tetikus + + Enable direct JoyCon driver + - - Mouse sensitivity - Sensitivitas mouse + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Gerakan / Sentuhan @@ -2272,7 +2433,7 @@ Memungkinkan berbagai macam optimasi IR. - + Left Stick Stik Kiri @@ -2366,14 +2527,14 @@ Memungkinkan berbagai macam optimasi IR. - + L L - + ZL ZL @@ -2392,7 +2553,7 @@ Memungkinkan berbagai macam optimasi IR. - + Plus Tambah @@ -2405,15 +2566,15 @@ Memungkinkan berbagai macam optimasi IR. - - + + R R - + ZR ZR @@ -2470,236 +2631,257 @@ Memungkinkan berbagai macam optimasi IR. - + Right Stick Stik Kanan - - - - + + Mouse panning + + + + + Configure + Konfigurasi + + + + + + Clear Bersihkan - - - - - + + + + + [not set] [belum diatur] - - + + + Invert button Balikkan tombol - - + + Toggle button Atur tombol - - + + Turbo button + + + + + Invert axis Balikkan poros - - - + + + Set threshold Atur batasan - - + + Choose a value between 0% and 100% Pilih sebuah angka diantara 0% dan 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Petakan Stik Analog - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Setelah menekan OK, pertama gerakkan joystik secara mendatar, lalu tegak lurus. Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu mendatar. - + Center axis - - + + Deadzone: %1% Titik Mati: %1% - - + + Modifier Range: %1% Rentang Pengubah: %1% - - + + Pro Controller Kontroler Pro - + Dual Joycons Joycon Dual - + Left Joycon Joycon Kiri - + Right Joycon Joycon Kanan - + Handheld Jinjing - + GameCube Controller Kontroler GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Kontroler NES - + SNES Controller Kontroler SNES - + N64 Controller Kontroler N64 - + Sega Genesis Sega Genesis - + Start / Pause Mulai / Jeda - + Z Z - + Control Stick Stik Kendali - + C-Stick C-Stick - + Shake! Getarkan! - + [waiting] [menunggu] - + New Profile Profil Baru - + Enter a profile name: Masukkan nama profil: - - + + Create Input Profile Ciptakan Profil Masukan - + The given profile name is not valid! Nama profil yang diberi tidak sah! - + Failed to create the input profile "%1" Gagal membuat profil masukan "%1" - + Delete Input Profile Hapus Profil Masukan - + Failed to delete the input profile "%1" Gagal menghapus profil masukan "%1" - + Load Input Profile Muat Profil Masukan - + Failed to load the input profile "%1" Gagal memuat profil masukan "%1" - + Save Input Profile Simpat Profil Masukan - + Failed to save the input profile "%1" Gagal menyimpan profil masukan "%1" @@ -2747,7 +2929,7 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda - + Configure Konfigurasi @@ -2783,7 +2965,7 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda - + Test Uji coba @@ -2803,81 +2985,156 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Pelajari lebih lanjut</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Terdapat karakter tidak sah di angka port - + Port has to be in range 0 and 65353 Port harus berada dalam jangkauan 0 dan 65353 - + IP address is not valid Alamat IP tidak sah - + This UDP server already exists Server UDP ini sudah ada - + Unable to add more than 8 servers Tidak dapat menambah lebih dari 8 server - + Testing Menguji - + Configuring Mengkonfigur - + Test Successful Tes Berhasil - + Successfully received data from the server. Berhasil menerima data dari server. - + Test Failed Uji coba Gagal - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Tidak dapat menerima data yang sah dari server.<br>Mohon periksa bahwa server telah diatur dengan benar dan alamat dan port sudah sesuai. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Uji coba UDP atau kalibrasi konfigurasi sedang berjalan.<br>Mohon tunggu hingga selesai. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Bawaan + + ConfigureNetwork @@ -2954,47 +3211,47 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda Pengembang - + Add-Ons Pengaya (Add-On) - + General Umum - + System Sistem - + CPU CPU - + Graphics Grafis - + Adv. Graphics Ljtan. Grafik - + Audio Audio - + Input Profiles - + Properties Properti @@ -3196,12 +3453,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3222,33 +3479,95 @@ UUID: %2 Titik Mati: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Kembalikan ke Semula - + Clear Bersihkan - + [not set] [belum diatur] - + Invert axis Balikkan poros - - + + Deadzone: %1% Titik Mati: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Mengkonfigur + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [menunggu] @@ -3553,8 +3872,8 @@ UUID: %2 - English - Inggris + American English + @@ -3657,54 +3976,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - ID Konsol: - - - - Sound output mode - Mode keluaran suara - - - - Regenerate - Hasilkan Ulang - - - + System settings are available only when game is not running. Pengaturan sistem hanya tersedia saat permainan tidak dijalankan. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Ini akan mengganti Switch virtual Anda dengan yang baru. Switch virtual Anda saat ini tidak akan bisa dipulihkan. Ini mungkin akan menyebabkan kesan tak terkira di dalam permainan. Ini juga mungkin akan gagal jika Anda menggunakan simpanan konfigurasi yang lawas. Lanjutkan? - - - - Warning - Peringatan - - - - Console ID: 0x%1 - ID Konsol: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3773,7 +4057,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -4328,7 +4612,7 @@ Drag points to change position, or double-click table cells to edit values.Kontroler P1 - + &Controller P1 %Kontroler P1 @@ -4341,42 +4625,37 @@ Drag points to change position, or double-click table cells to edit values. - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4384,12 +4663,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4397,924 +4676,899 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Data anonim dikumpulkan</a> untuk membantu yuzu. <br/><br/>Apa Anda ingin membagi data penggunaan dengan kami? - + Telemetry Telemetri - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Memuat Applet Web... - - + + Disable Web Applet Matikan Applet Web - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built Jumlah shader yang sedang dibuat - + The current selected resolution scaling multiplier. Pengali skala resolusi yang terpilih. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Kecepatan emulasi saat ini. Nilai yang lebih tinggi atau rendah dari 100% menandakan pengemulasian berjalan lebih cepat atau lambat dibanding Switch aslinya. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Berapa banyak frame per second (bingkai per detik) permainan akan ditampilkan. Ini akan berubah dari berbagai permainan dan pemandangan. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Waktu yang diperlukan untuk mengemulasikan bingkai Switch, tak menghitung pembatas bingkai atau v-sync. Agar emulasi berkecepatan penuh, ini harus 16.67 mdtk. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Bersihkan Berkas Baru-baru Ini - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Lanjutkan - + &Pause &Jeda - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu sedang menjalankan game - - - + Warning Outdated Game Format Peringatan Format Permainan yang Usang - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Anda menggunakan format direktori ROM yang sudah didekonstruksi untuk permainan ini, yang mana itu merupakan format lawas yang sudah tergantikan oleh yang lain seperti NCA, NAX, XCI, atau NSP. Direktori ROM yang sudah didekonstruksi kekurangan ikon, metadata, dan dukungan pembaruan.<br><br>Untuk penjelasan berbagai format Switch yang didukung yuzu, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>periksa wiki kami</a>. Pesan ini tidak akan ditampilkan lagi. - - + + Error while loading ROM! Kesalahan ketika memuat ROM! - + The ROM format is not supported. Format ROM tak didukung. - + An error occurred initializing the video core. Terjadi kesalahan ketika menginisialisasi inti video. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu telah mengalami error saat menjalankan inti video. Ini biasanya disebabkan oleh pemicu piranti (driver) GPU yang usang, termasuk yang terintegrasi. Mohon lihat catatan untuk informasi lebih rinci. Untuk informasi cara mengakses catatan, mohon lihat halaman berikut: <a href='https://yuzu-emu.org/help/reference/log-files/'>Cara Mengupload Berkas Catatan</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. Terjadi kesalahan yang tak diketahui. Mohon lihat catatan untuk informasi lebih rinci. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Save Data Simpan Data - + Mod Data Mod Data - + Error Opening %1 Folder Gagal Membuka Folder %1 - - + + Folder does not exist! Folder tak ada! - + Error Opening Transferable Shader Cache Gagal Ketika Membuka Tembolok Shader yang Dapat Ditransfer - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry Hapus Masukan - - - - - - + + + + + + Successfully Removed - + Successfully removed the installed base game. - + The base game is not installed in the NAND and cannot be removed. - + Successfully removed the installed update. - + There is no update installed for this title. - + There are no DLC installed for this title. Tidak ada DLC yang terinstall untuk judul ini. - + Successfully removed %1 installed DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? - + + Remove Cache Storage? + + + + Remove File Hapus File - - + + Error Removing Transferable Shader Cache Kesalahan Menghapus Transferable Shader Cache - - + + A shader cache for this title does not exist. Cache shader bagi judul ini tidak ada - + Successfully removed the transferable shader cache. - + Failed to remove the transferable shader cache. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration Kesalahan Menghapus Konfigurasi Buatan - + A custom configuration for this title does not exist. - + Successfully removed the custom game configuration. - + Failed to remove the custom game configuration. - - + + RomFS Extraction Failed! Pengekstrakan RomFS Gagal! - + There was an error copying the RomFS files or the user cancelled the operation. Terjadi kesalahan ketika menyalin berkas RomFS atau dibatalkan oleh pengguna. - + Full Penuh - + Skeleton Skeleton - + Select RomFS Dump Mode Pilih Mode Dump RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Mohon pilih cara RomFS akan di-dump.<br>FPenuh akan menyalin seluruh berkas ke dalam direktori baru sementara <br>jerangkong hanya akan menciptakan struktur direktorinya saja. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Mengekstrak RomFS... - - + + Cancel Batal - + RomFS Extraction Succeeded! Pengekstrakan RomFS Berhasil! - + The operation completed successfully. Operasi selesai dengan sukses, - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 Gagal membuka %1 - + Select Directory Pilih Direktori - + Properties Properti - + The game properties could not be loaded. Properti permainan tak dapat dimuat. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Eksekutabel Switch (%1);;Semua Berkas (*.*) - + Load File Muat Berkas - + Open Extracted ROM Directory Buka Direktori ROM Terekstrak - + Invalid Directory Selected Direktori Terpilih Tidak Sah - + The directory you have selected does not contain a 'main' file. Direktori yang Anda pilih tak memiliki berkas 'utama.' - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Install File - + %n file(s) remaining - + Installing file "%1"... Memasang berkas "%1"... - - + + Install Results Hasil Install - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed %n file(s) baru diinstall - + %n file(s) were overwritten %n file(s) telah ditimpa - + %n file(s) failed to install %n file(s) gagal di install - + System Application Aplikasi Sistem - + System Archive Arsip Sistem - + System Application Update Pembaruan Aplikasi Sistem - + Firmware Package (Type A) Paket Perangkat Tegar (Tipe A) - + Firmware Package (Type B) Paket Perangkat Tegar (Tipe B) - + Game Permainan - + Game Update Pembaruan Permainan - + Game DLC DLC Permainan - + Delta Title Judul Delta - + Select NCA Install Type... Pilih Tipe Pemasangan NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Mohon pilih jenis judul yang Anda ingin pasang sebagai NCA ini: (Dalam kebanyakan kasus, pilihan bawaan 'Permainan' tidak apa-apa`.) - + Failed to Install Gagal Memasang - + The title type you selected for the NCA is invalid. Jenis judul yang Anda pilih untuk NCA tidak sah. - + File not found Berkas tak ditemukan - + File "%1" not found Berkas "%1" tak ditemukan - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Akun yuzu Hilang - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Agar dapat mengirimkan berkas uju kompatibilitas permainan, Anda harus menautkan akun yuzu Anda.<br><br/>TUntuk mennautkan akun yuzu Anda, pergi ke Emulasi &gt; Konfigurasi &gt; Web. - + Error opening URL Kesalahan saat membuka URL - + Unable to open the URL "%1". Tidak dapat membuka URL "%1". - + TAS Recording Rekaman TAS - + Overwrite file of player 1? Timpa file pemain 1? - + Invalid config detected Konfigurasi tidak sah terdeteksi - + Handheld controller can't be used on docked mode. Pro controller will be selected. Kontroller jinjing tidak bisa digunakan dalam mode dock. Kontroller Pro akan dipilih - - + + Amiibo - - + + The current amiibo has been removed - + Error - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) Berkas Amiibo (%1);; Semua Berkas (*.*) - + Load Amiibo Muat Amiibo - + Error loading Amiibo data Gagal memuat data Amiibo - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Tangkapan Layar - + PNG Image (*.png) Berkas PNG (*.png) - + TAS state: Running %1/%2 Status TAS: Berjalan %1/%2 - + TAS state: Recording %1 Status TAS: Merekam %1 - + TAS state: Idle %1/%2 Status TAS: Diam %1/%2 - + TAS State: Invalid Status TAS: Tidak Valid - + &Stop Running &Matikan - + &Start &Mulai - + Stop R&ecording Berhenti Mer&ekam - + R&ecord R&ekam - + Building: %n shader(s) Membangun: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Skala: %1x - + Speed: %1% / %2% Kecepatan: %1% / %2% - + Speed: %1% Kecepatan: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Permainan: %1 FPS - + Frame: %1 ms Frame: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU TINGGI - - - - GPU EXTREME - GPU EKSTRIM - - - - GPU ERROR - KESALAHAN GPU - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NEAREST - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICUBIC - - - - GAUSSIAN - GAUSSIAN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA TANPA AA - - FXAA - FXAA - - - - SMAA + + VOLUME: MUTE - + + VOLUME: %1% + Volume percentage (e.g. 50%) + + + + Confirm Key Rederivation - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5325,81 +5579,188 @@ This will delete your autogenerated key files and re-run the key derivation modu - + Missing fuses - + - Missing BOOT0 - Kehilangan BOOT0 - + - Missing BCPKG2-1-Normal-Main - Kehilangan BCPKG2-1-Normal-Main - + - Missing PRODINFO - Kehilangan PRODINFO - + Derivation Components Missing - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. - + Memuat kunci... +Ini mungkin memakan waktu hingga satu menit +tergantung dari sistem performa Anda. - + Deriving Keys - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target - + Pilih Target Dump RomFS - + Please select which RomFS you would like to dump. - + Silahkan pilih jenis RomFS yang ingin Anda buang. - + Are you sure you want to close yuzu? Apakah anda yakin ingin menutup yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. - + Apakah Anda yakin untuk menghentikan emulasi? Setiap progres yang tidak tersimpan akan hilang. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? + + + None + Tak ada + + + + FXAA + FXAA + + + + SMAA + + + + + Nearest + + + + + Bilinear + Biliner + + + + Bicubic + Bikubik + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Terpasang + + + + Handheld + Jinjing + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5500,117 +5861,122 @@ Would you like to bypass this and exit anyway? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - - - Remove All Installed Contents - - - - Dump RomFS - + Remove All Installed Contents + Hapus semua konten terinstall. + + Dump RomFS + Dump RomFS + + + Dump RomFS to SDMC - - - Copy Title ID to Clipboard - - - Navigate to GameDB entry - + Copy Title ID to Clipboard + Salin Judul ID ke Clipboard. - + + Navigate to GameDB entry + Pindah ke tampilan GameDB + + + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Properti - + Scan Subfolders - + Remove Game Directory - + ▲ Move Up - + ▼ Move Down - + Open Directory Location - + Buka Lokasi Direktori - + Clear Bersihkan - + Name Nama - + Compatibility Kompatibilitas - + Add-ons Pengaya (Add-On) - + File type - + Tipe berkas - + Size Ukuran @@ -5665,25 +6031,25 @@ Would you like to bypass this and exit anyway? The game crashes when attempting to startup. - + Gim rusak saat mencoba untuk memulai. Not Tested - + Belum dites The game has not yet been tested. - + Gim belum pernah dites. GameListPlaceholder - + Double-click to add a new folder to the game list - + Klik dua kali untuk menambahkan folder sebagai daftar permainan. @@ -5694,14 +6060,14 @@ Would you like to bypass this and exit anyway? - + Filter: - + Enter pattern to filter - + Masukkan pola untuk memfilter @@ -5789,138 +6155,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Tangkapan Layar - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen - + Load File Muat Berkas - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5943,7 +6309,7 @@ Debug Message: Install - + Install Files to NAND Install File ke NAND @@ -5951,7 +6317,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -5972,7 +6338,7 @@ Debug Message: Estimated Time 5m 4s - + Waktu yang diperlukan 5m 4d @@ -6025,51 +6391,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Pemain - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6229,7 +6600,7 @@ Debug Message: Show Status Bar - + Munculkan Status Bar @@ -6599,7 +6970,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6639,7 +7010,7 @@ p, li { white-space: pre-wrap; } Add New Game Directory - + Tambahkan direktori permainan @@ -6648,31 +7019,31 @@ p, li { white-space: pre-wrap; } - - + + Shift - + Ubah - - + + Ctrl - - + + Alt - + Alt - - - - + + + + [not set] [belum diatur] @@ -6683,14 +7054,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 @@ -6701,263 +7072,321 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] - - - - - - - Left - Kiri + [tidak diketahui] - - Right - Kanan + + Left + Kiri - - Down - Bawah + + Right + Kanan - - Up - Atas + + Down + Bawah - Z - Z + + Up + Atas - R - R + Z + Z - L - L + R + R + L + L + + + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Mulai - - + + L1 - - + + L2 - - + + L3 - - + + R1 - - + + R2 - - + + R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 %1%2Gerakan %3 - - - - + + %1%2Button %3 - - + + [unused] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Tambah + + + + Minus + Kurang + + + + Home Home - + + Capture + Tangkapan + + + Touch Sentuh - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 @@ -7327,26 +7756,26 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + An error has occurred. %1 @@ -7366,20 +7795,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - - - - + Users Pengguna - - Profile Selector + + Profile Creator + + + + Profile Selector + Pemilih Profil + + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Pilih akun: + QtSoftwareKeyboardDialog @@ -7419,57 +7909,26 @@ p, li { white-space: pre-wrap; } Enter a hotkey - + Masukkan hotkey. WaitTreeCallstack - + Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - - - - - waiting for one of the following objects - - - WaitTreeSynchronizationObject - - [%1] %2 %3 + + [%1] %2 - + waited by no thread @@ -7477,120 +7936,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused - + sleeping - + waiting for IPC reply - + menunggu respon IPC - + waiting for objects - + Menunggu objek - + waiting for condition variable - + waiting for address arbiter - + waiting for suspend resume - + waiting - + initialized - + terminated - + unknown - + PC = 0x%1 LR = 0x%2 - + ideal - + core %1 - + processor = %1 - - ideal core = %1 - - - - + affinity mask = %1 - + thread id = %1 - + priority = %1(current) / %2(normal) - + last running ticks = %1 - - - not waiting for mutex - - WaitTreeThreadList - + waited by thread @@ -7598,7 +8047,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/it.ts b/dist/languages/it.ts index b41728cb7..fbd1247f6 100644 --- a/dist/languages/it.ts +++ b/dist/languages/it.ts @@ -242,67 +242,67 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. <html><head/><body><p>Does the game boot?</p></body></html> - + il gioco parte? Yes The game starts to output video or audio - + Sì Il gioco inizia a produrre video o audio No The game doesn't get past the "Launching..." screen - + No il gioco non passa avanti la schermata d'avvio Yes The game gets past the intro/menu and into gameplay - + sì il gioco passa l'intro/menu e va nel gameplay No The game crashes or freezes while loading or using the menu - + no il gioco si freeza e crasha durante il caricamento o usando il menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + il gioco arriva al gameplay? Yes The game works without crashes - + si il gioco funziona senza crashare No The game crashes or freezes during gameplay - + no il gioco crasha/si blocca durante il gameplay <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + Il gioco funziona senza crashare o bloccarsi durante il gameplay? Yes The game can be finished without any workarounds - + Sì Il gioco può essere finito senza alcuna soluzione alternativa No The game can't progress past a certain area - + no il gioco non va avanti dopo una certa area <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + Il gioco è completamente giocabile dall'inizio alla fine? Major The game has major graphical errors - + il gioco ha gravi errori grafici @@ -380,36 +380,61 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - Output Device - Dispositivo di output + Output Device: + Dispositivo di output: - Input Device - Dispositivo di input + Input Device: + Dispositivo di input: - + + Sound Output Mode: + Modalità di output del suono: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Usa il volume globale - + Set volume: Imposta il volume: - + Volume: Volume: - + 0 % 0 % - + + Mute audio when in background + Silenzia l'audio quando la finestra è in background + + + %1% Volume percentage (e.g. 50%) %1% @@ -922,102 +947,112 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Disabilita JIT macro - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Quando l'opzione è selezionata, disabilita le funzioni HLE delle macro. Abilitare questa opzione rende i giochi più lenti + + + + Disable Macro HLE + Disabilita HLE macro + + + When checked, yuzu will log statistics about the compiled pipeline cache - + Enable Shader Feedback - + When checked, it executes shaders without loop logic changes - + Disable Loop safety checks - + Debugging Debug - + Enable Verbose Reporting Services** - + Enable FS Access Log Abilita log di accesso al FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash Crea Minidump dopo un arresto anomalo - + Advanced Avanzate - + Kiosk (Quest) Mode Modalità Kiosk (Quest) - + Enable CPU Debugging Abilita il debug della CPU - + Enable Debug Asserts Abilita le asserzioni di debug - + Enable Auto-Stub** Abilita stub automatico** - + Enable All Controller Types Abilita tutti i tipi di controller - + Disable Web Applet Disabilita l'applet web - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check Esegui controllo di Vulkan all'avvio - + **This will be reset automatically when yuzu closes. **L'opzione verrà automaticamente ripristinata alla chiusura di yuzu. @@ -1032,12 +1067,12 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.yuzu dev'essere riavviato affinché questa opzione venga applicata. - + Web applet not compiled Applet web non compilato - + MiniDump creation not compiled Creazione MiniDump non compilata @@ -1087,78 +1122,78 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Configurazione di yuzu - - + + Audio Audio - - + + CPU CPU - + Debug Debug - + Filesystem Filesystem - - + + General Generale - - + + Graphics Grafica - + GraphicsAdvanced Grafica avanzata - + Hotkeys Scorciatoie - - + + Controls Comandi - + Profiles Profili - + Network Rete - - + + System Sistema - + Game List Lista dei giochi - + Web Web @@ -1333,46 +1368,41 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - Extended memory layout (6GB DRAM) - Layout di memoria esteso (6GB DRAM) - - - Confirm exit while emulation is running Richiedi conferma di uscire mentre l'emulazione è in corso - + Prompt for user on game boot Richiedi utente all'avvio di un gioco - + Pause emulation when in background Metti in pausa l'emulazione quando la finestra è in background - - Mute audio when in background - Silenzia l'audio quando la finestra è in background - - - + Hide mouse on inactivity Nascondi il puntatore del mouse se inattivo - + + Disable controller applet + + + + Reset All Settings Ripristina tutte le impostazioni - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Tutte le impostazioni verranno ripristinate e tutte le configurazioni dei giochi verranno rimosse. Le cartelle di gioco, i profili e i profili di input non saranno cancellati. Vuoi procedere? @@ -1411,7 +1441,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + None Nessuno @@ -1437,216 +1467,269 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. + VSync Mode: + Modalità VSync: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulazione NVDEC: - + No Video Output Nessun output video - + CPU Video Decoding Decodifica video CPU - + GPU Video Decoding (Default) Decodifica video GPU (predefinita) - + Fullscreen Mode: Modalità schermo intero: - + Borderless Windowed Finestra senza bordi - + Exclusive Fullscreen Esclusivamente a schermo intero - + Aspect Ratio: Rapporto d'aspetto: - + Default (16:9) Predefinito (16:9) - + Force 4:3 Forza 4:3 - + Force 21:9 Forza 21:9 - + Force 16:10 Forza 16:10 - + Stretch to Window Allunga a finestra - + Resolution: Risoluzione: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [SPERIMENTALE] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [SPERIMENTALE] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [SPERIMENTALE] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Filtro di adattamento alla finestra: - + Nearest Neighbor Nearest neighbor - + Bilinear Bilineare - + Bicubic Bicubico - + Gaussian Gaussiano - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (solo Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Metodo di anti-aliasing: - + FXAA FXAA - + SMAA SMAA - + Use global FSR Sharpness Usa la nitidezza FSR globale - + Set FSR Sharpness Imposta la nitidezza FSR - + FSR Sharpness: Nitidezza FSR: - + 100% 100% - - + + Use global background color Usa il colore di sfondo globale - + Set background color: Imposta il colore di sfondo: - + Background Color: Colore dello sfondo: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (shader assembly, solo NVIDIA) - + SPIR-V (Experimental, Mesa Only) SPIR-V (sperimentale, solo Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1671,77 +1754,153 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Livello di accuratezza: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - Il VSync evita il tearing dello schermo, ma alcune schede video hanno prestazioni peggiori quando il VSync è abilitato. Lascialo abilitato se non noti una differenza nelle prestazioni. + + ASTC recompression: + Ricompressione ASTC: - - Use VSync - Utilizza VSync + + Uncompressed (Best quality) + Nessuna compressione (qualità migliore) - + + BC1 (Low quality) + BC1 (qualità bassa) + + + + BC3 (Medium quality) + BC3 (qualità media) + + + + Enable asynchronous presentation (Vulkan only) + Abilita la presentazione asincrona (solo Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Esegue del lavoro in background durante l'attesa dei comandi grafici per evitare che la GPU diminuisca la sua velocità di clock. + + + + Force maximum clocks (Vulkan only) + Forza clock massimi (solo Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Abilita la decodifica asincrona delle texture ASTC, che può ridurre gli scatti durante il caricamento. Questa funzione è sperimentale. + + + + Decode ASTC textures asynchronously (Hack) + Decodifica le texture ASTC in maniera asincrona (espediente) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Abilita la compilazione degli shader asincrona, che può ridurre gli scatti causati dagli shader. Questa funzione è sperimentale. - + Use asynchronous shader building (Hack) Utilizza la compilazione asincrona degli shader (espediente) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - + Use Fast GPU Time (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. - - Use pessimistic buffer flushes (Hack) + + Use Vulkan pipeline cache + Utilizza la cache delle pipeline di Vulkan + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. - + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Filtro anisotropico: - + Automatic Automatico - + Default Predefinito - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1771,73 +1930,68 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. Restore Defaults - Ripristina predefiniti + Ripristina predefinite - + Action Azione - + Hotkey Scorciatoia - + Controller Hotkey Scorciatoia del controller - - - + + + Conflicting Key Sequence Sequenza di tasti in conflitto - - + + The entered key sequence is already assigned to: %1 La sequenza di tasti inserita è già assegnata a: %1 - - Home+%1 - Home+%1 - - - + [waiting] [in attesa] - + Invalid Non valido - + Restore Default - Ripristina predefinito + Ripristina predefinita - + Clear Cancella - + Conflicting Button Sequence Sequenza di pulsanti in conflitto - + The default button sequence is already assigned to: %1 La sequenza di pulsanti predefinita è già assegnata a: %1 - + The default key sequence is already assigned to: %1 La sequenza di tasti predefinita è già assegnata a: %1 @@ -2129,7 +2283,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Configure Configura @@ -2155,6 +2309,8 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. + + Requires restarting yuzu Richiede il riavvio di yuzu @@ -2174,22 +2330,27 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Navigazione con il controller - - Enable mouse panning - Abilita il mouse panning + + Enable direct JoyCon driver + Abilita il driver Joycon diretto - - Mouse sensitivity - Sensibilità del mouse + + Enable direct Pro Controller driver [EXPERIMENTAL] + Abilita il driver Pro Controller diretto [SPERIMENTALE] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Movimento/tocco @@ -2301,7 +2462,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Left Stick Levetta sinistra @@ -2395,14 +2556,14 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + L L - + ZL ZL @@ -2421,7 +2582,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Plus Più @@ -2434,15 +2595,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - - + + R R - + ZR ZR @@ -2499,236 +2660,257 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Right Stick Levetta destra - - - - + + Mouse panning + + + + + Configure + Configura + + + + + + Clear Cancella - - - - - + + + + + [not set] [non impost.] - - + + + Invert button Inverti pulsante - - + + Toggle button Premi il pulsante - - + + Turbo button + + + + + Invert axis Inverti asse - - - + + + Set threshold Imposta soglia - - + + Choose a value between 0% and 100% Scegli un valore compreso tra 0% e 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Mappa la levetta analogica - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Dopo aver premuto OK, prima muovi la levetta orizzontalmente, e poi verticalmente. Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalmente. - + Center axis Centra asse - - + + Deadzone: %1% Zona morta: %1% - - + + Modifier Range: %1% Modifica raggio: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Due Joycon - + Left Joycon Joycon sinistro - + Right Joycon Joycon destro - + Handheld Portatile - + GameCube Controller Controller GameCube - + Poke Ball Plus Poké Ball Plus - + NES Controller Controller NES - + SNES Controller Controller SNES - + N64 Controller Controller N64 - + Sega Genesis Sega Genesis - + Start / Pause Avvia / Metti in pausa - + Z Z - + Control Stick Levetta di Controllo - + C-Stick Levetta C - + Shake! Scuoti! - + [waiting] [in attesa] - + New Profile Nuovo profilo - + Enter a profile name: Inserisci un nome profilo: - - + + Create Input Profile Crea un profilo di input - + The given profile name is not valid! Il nome profilo inserito non è valido! - + Failed to create the input profile "%1" Impossibile creare il profilo di input "%1" - + Delete Input Profile Elimina un profilo di input - + Failed to delete the input profile "%1" Impossibile eliminare il profilo di input "%1" - + Load Input Profile Carica un profilo di input - + Failed to load the input profile "%1" Impossibile caricare il profilo di input "%1" - + Save Input Profile Salva un profilo di Input - + Failed to save the input profile "%1" Impossibile creare il profilo di input "%1" @@ -2776,7 +2958,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme - + Configure Configura @@ -2793,7 +2975,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme You may use any Cemuhook compatible UDP input source to provide motion and touch input. - Dovresti utilizzare qualsiasi sorgente di ingresso UDP compatibile con Cemuhook per fornire input di movimento e tocco. + Puoi utilizzare una qualsiasi sorgente di ingresso UDP compatibile con Cemuhook per fornire input di movimento e tocco. @@ -2812,7 +2994,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme - + Test Test @@ -2832,81 +3014,156 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Per saperne di più</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Il numero di porta contiene caratteri non validi - + Port has to be in range 0 and 65353 La valore della porta deve essere compreso tra 0 e 65353 inclusi - + IP address is not valid Indirizzo IP non valido - + This UDP server already exists Questo server UDP esiste già - + Unable to add more than 8 servers Impossibile aggiungere più di 8 server - + Testing Testando - + Configuring Configurando - + Test Successful Test riuscito - + Successfully received data from the server. Ricevuti con successo dati dal server. - + Test Failed Test fallito - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Impossibile ricevere dati validi dal server.<br> Verificare che il server sia impostato correttamente e che indirizzo e porta siano corretti. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. È in corso il test UDP o la configurazione della calibrazione,<br> attendere che finiscano. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Abilita + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Predefinito + + ConfigureNetwork @@ -2983,47 +3240,47 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme Sviluppatore - + Add-Ons Add-on - + General Generale - + System Sistema - + CPU CPU - + Graphics Grafica - + Adv. Graphics Grafica (Avanzate) - + Audio Audio - + Input Profiles Profili di input - + Properties Proprietà @@ -3169,7 +3426,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme Error creating user image directory - Errore durante la creazione della cartella delle immagini dell'utente + Impossibile creare la cartella delle immagini dell'utente @@ -3189,7 +3446,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme Error resizing user image - Errore durante il ridimensionamento dell'immagine utente + Impossibile ridimensionare l'immagine utente @@ -3226,12 +3483,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3252,33 +3509,95 @@ UUID: %2 Zona morta: 0% - + + Direct Joycon Driver + Driver Joycon diretto + + + + Enable Ring Input + Abilita Ring-Con + + + + + Enable + Abilita + + + + Ring Sensor Value + + + + + + Not connected + Non connesso + + + Restore Defaults Ripristina valori predefiniti - + Clear Cancella - + [not set] [non impost.] - + Invert axis Inverti asse - - + + Deadzone: %1% Zona morta: %1% - + + Error enabling ring input + Impossibile abilitare il Ring-Con + + + + Direct Joycon driver is not enabled + Il driver Joycon diretto non è abilitato + + + + Configuring + Configurando + + + + The current mapped device doesn't support the ring controller + L'attuale dispositivo mappato non supporta il Ring-Con + + + + The current mapped device doesn't have a ring attached + L'attuale dispositivo mappato non è collegato a un Ring-Con + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Risultato imprevisto del driver: %1 + + + [waiting] [in attesa] @@ -3583,8 +3902,8 @@ UUID: %2 - English - Inglese (English) + American English + Inglese americano @@ -3687,54 +4006,19 @@ UUID: %2 Nome del dispositivo - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Layout di memoria esteso non sicuro (8GB DRAM) - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - ID Console: - - - - Sound output mode - Modalità di output del sonoro - - - - Regenerate - Rigenera - - - + System settings are available only when game is not running. Le impostazioni di sistema sono disponibili solamente quando il gioco non è in esecuzione. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Questo rimpiazzerà la tua Switch virtuale con una nuova. La tua Switch virtuale non sarà recuperabile. Questo potrebbe avere effetti indesiderati nei giochi. Questo potrebbe fallire, se usi un salvataggio non aggiornato. Desideri continuare? - - - - Warning - Attenzione - - - - Console ID: 0x%1 - ID Console: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Attenzione: "%1" non è una lingua valida per la regione "%2" @@ -3777,7 +4061,7 @@ UUID: %2 Pause execution during loads - + Metti in pausa l'esecuzione durante i caricamenti @@ -3803,7 +4087,7 @@ UUID: %2 Configurazione TAS - + Select TAS Load Directory... Seleziona la cartella di caricamento TAS... @@ -4359,7 +4643,7 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab Controller G1 - + &Controller P1 &Controller G1 @@ -4372,42 +4656,37 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab Collegamento diretto - - IP Address - Indirizzo IP + + Server Address + Indirizzo del server - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Indirizzo del server dell'host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>Indirizzo IPv4 dell'host</p></body></html> - - - + Port Porta - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Numero della porta sulla quale l'host è in ascolto</p></body></html> - + Nickname Nickname - + Password Password - + Connect Connetti @@ -4415,12 +4694,12 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab DirectConnectWindow - + Connecting Connessione in corso - + Connect Connetti @@ -4428,534 +4707,574 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Vengono raccolti dati anonimi</a> per aiutarci a migliorare yuzu. <br/><br/>Desideri condividere i tuoi dati di utilizzo con noi? - + Telemetry Telemetria - + Broken Vulkan Installation Detected Rilevata installazione di Vulkan non funzionante - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. L'inizializzazione di Vulkan è fallita durante l'avvio.<br><br>Clicca <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>qui per istruzioni su come risolvere il problema</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Caricamento dell'applet web... - - + + Disable Web Applet Disabilita l'applet web - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built Il numero di shaders al momento in costruzione - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Velocità corrente dell'emulazione. Valori più alti o più bassi di 100% indicano che l'emulazione sta funzionando più velocemente o lentamente rispetto a una Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Il numero di fotogrammi al secondo che il gioco visualizza attualmente. Può variare in base al gioco e alla situazione. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tempo necessario per emulare un fotogramma della Switch, senza tenere conto del limite al framerate o del V-Sync. Per un'emulazione alla massima velocità, il valore non dovrebbe essere superiore a 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Cancella i file recenti - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Continua - + &Pause &Pausa - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Formato del gioco obsoleto - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Stai usando una cartella con dentro una ROM decostruita come formato per avviare questo gioco, è un formato obsoleto ed è stato sostituito da altri come NCA, NAX, XCI o NSP. Le ROM decostruite non hanno icone, metadata e non supportano gli aggiornamenti. <br><br>Per una spiegazione sui vari formati di Switch che yuzu supporta, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>controlla la nostra wiki</a>. Questo messaggio non verrà più mostrato. - - + + Error while loading ROM! Errore nel caricamento della ROM! - + The ROM format is not supported. Il formato della ROM non è supportato. - + An error occurred initializing the video core. È stato riscontrato un errore nell'inizializzazione del core video. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Errore nel caricamento della ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Segui <a href='https://yuzu-emu.org/help/quickstart/'>la guida introduttiva di yuzu</a> per rifare il dump dei file.<br>Puoi fare riferimento alla wiki di yuzu</a> o al server Discord di yuzu</a> per assistenza. - + An unknown error occurred. Please see the log for more details. Si è verificato un errore sconosciuto. Visualizza il log per maggiori dettagli. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... Chiusura del software in corso... - + Save Data Dati di salvataggio - + Mod Data Dati delle mod - + Error Opening %1 Folder - Errore nell'apertura della cartella %1 + Impossibile aprire la cartella %1 - - + + Folder does not exist! La cartella non esiste! - + Error Opening Transferable Shader Cache - Errore nell'apertura della cache trasferibile degli shader + Impossibile aprire la cache trasferibile degli shader - + Failed to create the shader cache directory for this title. Impossibile creare la cartella della cache degli shader per questo titolo. - + Error Removing Contents - Errore nella rimozione del contentuto + Impossibile rimuovere il contentuto - + Error Removing Update - Errore nella rimozione dell'aggiornamento + Impossibile rimuovere l'aggiornamento - + Error Removing DLC - Errore nella rimozione del DLC + Impossibile rimuovere il DLC - + Remove Installed Game Contents? Rimuovere il contenuto del gioco installato? - + Remove Installed Game Update? Rimuovere l'aggiornamento installato? - + Remove Installed Game DLC? Rimuovere il DLC installato? - + Remove Entry Rimuovi voce - - - - - - + + + + + + Successfully Removed Rimozione completata - + Successfully removed the installed base game. Il gioco base installato è stato rimosso con successo. - + The base game is not installed in the NAND and cannot be removed. Il gioco base non è installato su NAND e non può essere rimosso. - + Successfully removed the installed update. Aggiornamento rimosso con successo. - + There is no update installed for this title. Non c'è alcun aggiornamento installato per questo gioco. - + There are no DLC installed for this title. Non c'è alcun DLC installato per questo gioco. - + Successfully removed %1 installed DLC. %1 DLC rimossi con successo. - + Delete OpenGL Transferable Shader Cache? Vuoi rimuovere la cache trasferibile degli shader OpenGL? - + Delete Vulkan Transferable Shader Cache? Vuoi rimuovere la cache trasferibile degli shader Vulkan? - + Delete All Transferable Shader Caches? Vuoi rimuovere tutte le cache trasferibili degli shader? - + Remove Custom Game Configuration? Rimuovere la configurazione personalizzata del gioco? - + + Remove Cache Storage? + + + + Remove File Rimuovi file - - + + Error Removing Transferable Shader Cache - Errore nella rimozione della cache trasferibile degli shader + Impossibile rimuovere la cache trasferibile degli shader - - + + A shader cache for this title does not exist. Per questo titolo non esiste una cache degli shader. - + Successfully removed the transferable shader cache. La cache trasferibile degli shader è stata rimossa con successo. - + Failed to remove the transferable shader cache. Impossibile rimuovere la cache trasferibile degli shader. - - - Error Removing Transferable Shader Caches - Errore nella rimozione delle cache trasferibili degli shader + + Error Removing Vulkan Driver Pipeline Cache + Impossibile rimuovere la cache delle pipeline del driver Vulkan - + + Failed to remove the driver pipeline cache. + Impossibile rimuovere la cache delle pipeline del driver. + + + + + Error Removing Transferable Shader Caches + Impossibile rimuovere le cache trasferibili degli shader + + + Successfully removed the transferable shader caches. Le cache trasferibili degli shader sono state rimosse con successo. - + Failed to remove the transferable shader cache directory. Impossibile rimuovere la cartella della cache trasferibile degli shader. - - + + Error Removing Custom Configuration - Errore nella rimozione della configurazione personalizzata + Impossibile rimuovere la configurazione personalizzata - + A custom configuration for this title does not exist. Non esiste una configurazione personalizzata per questo gioco. - + Successfully removed the custom game configuration. La configurazione personalizzata del gioco è stata rimossa con successo. - + Failed to remove the custom game configuration. Impossibile rimuovere la configurazione personalizzata del gioco. - - + + RomFS Extraction Failed! Estrazione RomFS fallita! - + There was an error copying the RomFS files or the user cancelled the operation. C'è stato un errore nella copia dei file del RomFS o l'operazione è stata annullata dall'utente. - + Full Completa - + Skeleton Cartelle - + Select RomFS Dump Mode Seleziona la modalità di estrazione della RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Seleziona come vorresti estrarre la RomFS. <br>La modalità Completa copierà tutti i file in una nuova cartella mentre<br>la modalità Cartelle creerà solamente le cartelle e le sottocartelle. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Estrazione RomFS in corso... - - + + Cancel Annulla - + RomFS Extraction Succeeded! Estrazione RomFS riuscita! - + The operation completed successfully. L'operazione è stata completata con successo. - - - - - + + + + + Create Shortcut Crea scorciatoia - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? Verrà creata una scorciatoia all'AppImage attuale. Potrebbe non funzionare correttamente se effettui un aggiornamento. Vuoi continuare? - + Cannot create shortcut on desktop. Path "%1" does not exist. Impossibile creare la scorciatoia sul desktop. Il percorso "%1" non esiste. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. Impossibile creare la scorciatoia nel menù delle applicazioni. Il percorso "%1" non esiste e non può essere creato. - + Create Icon Crea icona - + Cannot create icon file. Path "%1" does not exist and cannot be created. Impossibile creare il file dell'icona. Il percorso "%1" non esiste e non può essere creato. - + Start %1 with the yuzu Emulator Avvia %1 con l'emulatore yuzu - + Failed to create a shortcut at %1 Impossibile creare la scorciatoia in %1 - + Successfully created a shortcut to %1 Scorciatoia creata con successo in %1 - + Error Opening %1 - Errore nell'apertura di %1 + Impossibile aprire %1 - + Select Directory Seleziona cartella - + Properties Proprietà - + The game properties could not be loaded. Non è stato possibile caricare le proprietà del gioco. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Eseguibile Switch (%1);;Tutti i file (*.*) - + Load File Carica file - + Open Extracted ROM Directory Apri cartella ROM estratta - + Invalid Directory Selected Cartella selezionata non valida - + The directory you have selected does not contain a 'main' file. La cartella che hai selezionato non contiene un file "main". - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) File installabili Switch (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Installa file - + %n file(s) remaining %n file rimanente%n file rimanenti%n file rimanenti - + Installing file "%1"... Installazione del file "%1"... - - + + Install Results Risultati dell'installazione - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Per evitare possibli conflitti, sconsigliamo di installare i giochi base su NAND. Usa questa funzione solo per installare aggiornamenti e DLC. - + %n file(s) were newly installed %n nuovo file è stato installato @@ -4964,7 +5283,7 @@ Usa questa funzione solo per installare aggiornamenti e DLC. - + %n file(s) were overwritten %n file è stato sovrascritto @@ -4973,7 +5292,7 @@ Usa questa funzione solo per installare aggiornamenti e DLC. - + %n file(s) failed to install %n file non è stato installato a causa di errori @@ -4982,378 +5301,313 @@ Usa questa funzione solo per installare aggiornamenti e DLC. - + System Application Applicazione di sistema - + System Archive Archivio di sistema - + System Application Update Aggiornamento di un'applicazione di sistema - + Firmware Package (Type A) Pacchetto firmware (tipo A) - + Firmware Package (Type B) Pacchetto firmware (tipo B) - + Game Gioco - + Game Update Aggiornamento di gioco - + Game DLC DLC - + Delta Title Titolo delta - + Select NCA Install Type... Seleziona il tipo di installazione NCA - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Seleziona il tipo del file NCA da installare: (Nella maggior parte dei casi, il valore predefinito 'Gioco' va bene.) - + Failed to Install Installazione fallita - + The title type you selected for the NCA is invalid. Il tipo che hai selezionato per l'NCA non è valido. - + File not found File non trovato - + File "%1" not found File "%1" non trovato - + OK OK - - + + Hardware requirements not met Requisiti hardware non soddisfatti - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. Il tuo sistema non soddisfa i requisiti hardware consigliati. La funzionalità di segnalazione della compatibilità è stata disattivata. - + Missing yuzu Account Account di yuzu non trovato - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Per segnalare la compatibilità di un gioco, devi collegare il tuo account yuzu. <br><br/>Per collegare il tuo account yuzu, vai su Emulazione &gt; Configurazione &gt; Web. - + Error opening URL - Errore aprendo l'URL + Impossibile aprire l'URL - + Unable to open the URL "%1". - Impossibile aprire l'URL "% 1". + Non è stato possibile aprire l'URL "%1". - + TAS Recording - + Overwrite file of player 1? Vuoi sovrascrivere il file del giocatore 1? - + Invalid config detected Trovata configurazione invalida - + Handheld controller can't be used on docked mode. Pro controller will be selected. Il controller portatile non può essere utilizzato in modalità dock. Verrà selezionato il controller Pro. - - + + Amiibo Amiibo - - + + The current amiibo has been removed L'Amiibo corrente è stato rimosso - + Error Errore - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) File Amiibo (%1);; Tutti i file (*.*) - + Load Amiibo Carica Amiibo - + Error loading Amiibo data - Errore nel caricamento dei dati dell'Amiibo + Impossibile caricare i dati dell'Amiibo - + The selected file is not a valid amiibo Il file selezionato non è un Amiibo valido - + The selected file is already on use Il file selezionato è già in uso - + An unknown error occurred Si è verificato un errore sconosciuto - + Capture Screenshot Cattura screenshot - + PNG Image (*.png) Immagine PNG (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running &Interrompi - + &Start &Avvia - + Stop R&ecording Interrompi r&egistrazione - + R&ecord R&egistra - + Building: %n shader(s) Compilazione di %n shaderCompilazione di %n shaderCompilazione di %n shader - + Scale: %1x %1 is the resolution scaling factor - + Risoluzione: %1x - + Speed: %1% / %2% Velocità: %1% / %2% - + Speed: %1% Velocità: %1% - + Game: %1 FPS (Unlocked) Gioco: %1 FPS (Sbloccati) - + Game: %1 FPS Gioco: %1 FPS - + Frame: %1 ms Frame: %1 ms - - GPU NORMAL - GPU NORMALE + + %1 %2 + %1 %2 - - GPU HIGH - GPU ALTA - - - - GPU EXTREME - GPU ESTREMA - - - - GPU ERROR - ERRORE GPU - - - - DOCKED - DOCK - - - - HANDHELD - PORTATILE - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - NULL - - - - NEAREST - NEAREST - - - - - BILINEAR - BILINEARE - - - - BICUBIC - BICUBICO - - - - GAUSSIAN - GAUSSIANO - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA NO AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUME: MUTO - - SMAA - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUME: %1% - + Confirm Key Rederivation Conferma ri-derivazione chiavi - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5370,37 +5624,37 @@ e facoltativamente fai dei backup. Questo eliminerà i tuoi file di chiavi autogenerati e ri-avvierà il processo di derivazione delle chiavi. - + Missing fuses Fusi mancanti - + - Missing BOOT0 - BOOT0 mancante - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main mancante - + - Missing PRODINFO - PRODINFO mancante - + Derivation Components Missing Componenti di derivazione mancanti - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Chiavi di crittografia mancanti. <br>Segui <a href='https://yuzu-emu.org/help/quickstart/'>la guida introduttiva di yuzu</a> per ottenere tutte le tue chiavi, il tuo firmware e i tuoi giochi.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5409,39 +5663,49 @@ Questa operazione potrebbe durare fino a un minuto in base alle prestazioni del tuo sistema. - + Deriving Keys Derivazione chiavi - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Seleziona Target dell'Estrazione del RomFS - + Please select which RomFS you would like to dump. Seleziona quale RomFS vorresti estrarre. - + Are you sure you want to close yuzu? Sei sicuro di voler chiudere yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Sei sicuro di voler arrestare l'emulazione? Tutti i progressi non salvati verranno perduti. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5449,6 +5713,101 @@ Would you like to bypass this and exit anyway? Desideri uscire comunque? + + + None + Nessuna + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Nearest + + + + Bilinear + Bilineare + + + + Bicubic + Bicubico + + + + Gaussian + Gaussiano + + + + ScaleForce + ScaleForce + + + + Docked + Dock + + + + Handheld + Portatile + + + + Normal + Normale + + + + High + Alta + + + + Extreme + Estrema + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5466,7 +5825,7 @@ Desideri uscire comunque? yuzu has not been compiled with OpenGL support. - yuzu non è stato compilato con il supporto OpenGL. + yuzu è stato compilato senza il supporto a OpenGL. @@ -5549,117 +5908,122 @@ Desideri uscire comunque? + Remove Cache Storage + + + + Remove OpenGL Pipeline Cache Rimuovi la cache delle pipeline OpenGL - + Remove Vulkan Pipeline Cache Rimuovi la cache delle pipeline Vulkan - + Remove All Pipeline Caches Rimuovi tutte le cache delle pipeline - + Remove All Installed Contents Rimuovi tutti i contenuti installati - + Dump RomFS Estrai RomFS - + Dump RomFS to SDMC Estrai RomFS su SDMC - + Copy Title ID to Clipboard Copia il Title ID negli Appunti - + Navigate to GameDB entry Vai alla pagina di GameDB - + Create Shortcut Crea scorciatoia - + Add to Desktop Aggiungi al desktop - + Add to Applications Menu Aggiungi al menù delle applicazioni - + Properties Proprietà - + Scan Subfolders Scansiona le sottocartelle - + Remove Game Directory Rimuovi cartella dei giochi - + ▲ Move Up ▲ Sposta in alto - + ▼ Move Down ▼ Sposta in basso - + Open Directory Location Apri cartella - + Clear Cancella - + Name Nome - + Compatibility Compatibilità - + Add-ons Add-on - + File type Tipo di file - + Size Dimensione @@ -5674,7 +6038,7 @@ Desideri uscire comunque? Game starts, but crashes or major glitches prevent it from being completed. - Il gioco parte, ma presenta degli arresti anomali o dei glitch importanti che ne impediscono il completamento. + Il gioco parte, ma non può essere completato a causa di arresti anomali o di glitch importanti. @@ -5730,7 +6094,7 @@ Desideri uscire comunque? GameListPlaceholder - + Double-click to add a new folder to the game list Clicca due volte per aggiungere una nuova cartella alla lista dei giochi @@ -5743,12 +6107,12 @@ Desideri uscire comunque? %1 di %n risultato%1 di %n risultati%1 di %n risultati - + Filter: Filtro: - + Enter pattern to filter Inserisci pattern per filtrare @@ -5839,138 +6203,138 @@ Messaggio di debug: Hotkeys - + Audio Mute/Unmute Attiva/disattiva l'audio - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Finestra principale - + Audio Volume Down Abbassa il volume dell'audio - + Audio Volume Up Alza il volume dell'audio - + Capture Screenshot Cattura screenshot - + Change Adapting Filter Cambia filtro di adattamento - + Change Docked Mode Cambia modalità console - + Change GPU Accuracy Cambia accuratezza GPU - + Continue/Pause Emulation Continua/Metti in pausa l'emulazione - + Exit Fullscreen Esci dalla modalità schermo intero - + Exit yuzu Esci da yuzu - + Fullscreen Schermo intero - + Load File Carica file - + Load/Remove Amiibo Carica/Rimuovi Amiibo - + Restart Emulation Riavvia l'emulazione - + Stop Emulation Arresta l'emulazione - + TAS Record Registra TAS - + TAS Reset Reimposta TAS - + TAS Start/Stop Avvia/interrompi TAS - + Toggle Filter Bar Mostra/nascondi la barra del filtro - + Toggle Framerate Limit Attiva/disattiva il limite del framerate - + Toggle Mouse Panning Attiva/disattiva il mouse panning - + Toggle Status Bar Mostra/nascondi la barra di stato @@ -5993,7 +6357,7 @@ Messaggio di debug: Installa - + Install Files to NAND Installa file su NAND @@ -6001,7 +6365,7 @@ Messaggio di debug: LimitableInputDialog - + The text can't contain any of the following characters: %1 Il testo non può contenere i seguenti caratteri: @@ -6076,51 +6440,56 @@ Messaggio di debug: + Hide Empty Rooms + Nascondi stanze vuote + + + Hide Full Rooms Nascondi stanze piene - + Refresh Lobby Aggiorna lobby - + Password Required to Join Password richiesta per entrare - + Password: Password: - + Players Giocatori - + Room Name Nome stanza - + Preferred Game Gioco preferito - + Host Host - + Refreshing Aggiornamento in corso - + Refresh List Aggiorna lista @@ -6657,7 +7026,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE AVVIA/PAUSA @@ -6706,31 +7075,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [non impost.] @@ -6741,14 +7110,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Asse %1%2 @@ -6759,264 +7128,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [sconosciuto] - - - + + + Left Sinistra - - - + + + Right Destra - - - + + + Down Giù - - - + + + Up Su - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Cerchio - - + + Cross Croce - - + + Square Quadrato - - + + Triangle Triangolo - - + + Share Condividi - - + + Options Opzioni - - + + [undefined] - + %1%2 %1%2 - - + + [invalid] [non valido] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 %1%2Asse %3 - - + + %1%2Axis %3,%4,%5 %1%2Asse %3,%4,%5 - - + + %1%2Motion %3 - + %1%2Movimento %3 - - - - + + %1%2Button %3 %1%2Pulsante %3 - - + + [unused] [inutilizzato] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Levetta L + + + + Stick R + Levetta R + + + + Plus + Più + + + + Minus + Meno + + + + Home Home - + + Capture + Cattura + + + Touch Touch - + Wheel Indicates the mouse wheel Rotella - + Backward Indietro - + Forward Avanti - + Task - + Extra + Extra + + + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 - - %1%2%3 - %1%2%3 + + + %1%2%3Axis %4 + %1%2%3Asse %4 + + + + + %1%2%3Button %4 + %1%2%3Pulsante %4 @@ -7385,28 +7812,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Codice di errore: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Si è verificato un errore. Riprova o contatta gli sviluppatori del programma. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Si è verificato un errore su %1 a %2. Riprova o contatta gli sviluppatori del programma. - + An error has occurred. %1 @@ -7430,20 +7857,81 @@ Riprova o contatta gli sviluppatori del programma. %2 - - Select a user: - Seleziona un utente: - - - + Users Utenti - + + Profile Creator + + + + + Profile Selector Selettore profili + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Seleziona un utente: + QtSoftwareKeyboardDialog @@ -7493,51 +7981,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Stack chiamata - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - attende il mutex 0x%1 - - - - has waiters: %1 - ha dei waiter: %1 - - - - owner handle: 0x%1 - proprietario handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - attende tutti gli oggetti - - - - waiting for one of the following objects - attende uno dei seguenti oggetti - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread atteso da nessun thread @@ -7545,120 +8002,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable eseguibile - + paused in pausa - + sleeping dormendo - + waiting for IPC reply attende una risposta dell'IPC - + waiting for objects attende degli oggetti - + waiting for condition variable aspettando la condition variable - + waiting for address arbiter attende un indirizzo arbitro - + waiting for suspend resume in attesa di riprendere la sospensione - + waiting attendere - + initialized inizializzato - + terminated terminato - + unknown sconosciuto - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideale - + core %1 core %1 - + processor = %1 processore = %1 - - ideal core = %1 - core ideale = %1 - - - + affinity mask = %1 affinity mask = %1 - + thread id = %1 id thread = %1 - + priority = %1(current) / %2(normal) priorità = %1(corrente) / %2(normale) - + last running ticks = %1 Ultimi ticks in esecuzione = %1. - - - not waiting for mutex - Non in attesa per la sincronizzazione dei processi concorrenti aka Mutex. - WaitTreeThreadList - + waited by thread atteso dal thread @@ -7666,7 +8113,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/languages/ja_JP.ts b/dist/languages/ja_JP.ts index 59f4aa738..74094f48b 100644 --- a/dist/languages/ja_JP.ts +++ b/dist/languages/ja_JP.ts @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - 出力デバイス + Output Device: + 出力デバイス: - Input Device - 入力デバイス + Input Device: + 入力デバイス: - + + Sound Output Mode: + 音声出力モード: + + + + Mono + モノラル + + + + Stereo + ステレオ + + + + Surround + サラウンド + + + Use global volume 共通設定を使用 - + Set volume: カスタム設定 - + Volume: 音量: - + 0 % 0 % - + + Mute audio when in background + 非アクティブ時にサウンドをミュート + + + %1% Volume percentage (e.g. 50%) %1% @@ -513,7 +538,7 @@ This would ban both their forum username and their IP address. Unsafe CPU Optimization Settings - CPU最適化設定 + 不安定なCPU最適化設定 @@ -808,12 +833,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">この最適化により、無効なメモリアクセスを成功させることで、メモリアクセスを高速化することができます。</div> + <div style="white-space: nowrap">有効にすると、すべてのメモリアクセスのオーバーヘッドが減少するうえ、無効なメモリにアクセスしないプログラムには影響はありません。</div> + Enable fallbacks for invalid memory accesses - + 無効なメモリアクセスに対するフォールバックを有効にする @@ -934,102 +962,112 @@ This would ban both their forum username and their IP address. Macro JITを無効化 - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 有効化すると、マクロHLE機能を無効にします。これを有効にすると、ゲームの動作が遅くなります + + + + Disable Macro HLE + Macro HLE を無効化 + + + When checked, yuzu will log statistics about the compiled pipeline cache チェックすると、コンパイルしたパイプラインキャッシュの統計情報をロギングします - + Enable Shader Feedback シェーダフィードバックの有効j化 - + When checked, it executes shaders without loop logic changes チェックすると、ループロジックを変更せずにシェーダーを実行します。 - + Disable Loop safety checks ループ安全性チェックの無効化 - + Debugging デバッグ - + Enable Verbose Reporting Services** 詳細なレポートサービスの有効化** - + Enable FS Access Log FSアクセスログの有効化 - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. これを有効にすると、最新のオーディオコマンドリストがコンソールに出力されます。オーディオレンダラーを使用するゲームにのみ影響します。 - + Dump Audio Commands To Console** - + Create Minidump After Crash クラッシュ時にミニダンプを生成 - + Advanced 高度 - + Kiosk (Quest) Mode Kiosk (Quest) Mode - + Enable CPU Debugging CPUデバッグの有効化 - + Enable Debug Asserts デバッグアサートの有効化 - + Enable Auto-Stub** 自動スタブの有効化** - + Enable All Controller Types すべてのコントローラタイプを有効にする - + Disable Web Applet Webアプレットの無効化 - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + プログラム起動時にyuzuがVulkan環境が動作しているかどうかを確認するようにします。外部プログラムがyuzuを参照する際に問題がある場合は、これを無効にしてください。 - + Perform Startup Vulkan Check - + スタートアップ時にVulkanのチェックを実行する - + **This will be reset automatically when yuzu closes. ** yuzuを終了したときに自動的にリセットされます。 @@ -1044,12 +1082,12 @@ This would ban both their forum username and their IP address. この設定を適用するには yuzu を再起動する必要があります. - + Web applet not compiled - + ウェブアプレットがコンパイルされていません - + MiniDump creation not compiled @@ -1099,78 +1137,78 @@ This would ban both their forum username and their IP address. yuzuの設定 - - + + Audio サウンド - - + + CPU CPU - + Debug デバッグ - + Filesystem ファイルシステム - - + + General 全般 - - + + Graphics グラフィック - + GraphicsAdvanced 拡張グラフィック - + Hotkeys ホットキー - - + + Controls 操作 - + Profiles プロファイル - + Network ネットワーク - - + + System システム - + Game List ゲームリスト - + Web Web @@ -1345,46 +1383,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - 拡張メモリレイアウト(6GB DRAM) + Confirm exit while emulation is running + エミュレーションの停止を確認 - Confirm exit while emulation is running - エミュレーション停止時に確認 - - - Prompt for user on game boot ゲーム起動時に確認を表示 - + Pause emulation when in background 非アクティブ時にエミュレーションを一時停止 - - Mute audio when in background - 非アクティブ時にサウンドをミュート - - - + Hide mouse on inactivity 非アクティブ時にマウスカーソルを隠す - + + Disable controller applet + + + + Reset All Settings すべての設定をリセット - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? すべての設定がリセットされ、ゲームごとの設定もすべて削除されます。ゲームディレクトリ、プロファイル、入力プロファイルは削除されません。続行しますか? @@ -1423,7 +1456,7 @@ This would ban both their forum username and their IP address. - + None なし @@ -1449,216 +1482,269 @@ This would ban both their forum username and their IP address. + VSync Mode: + 垂直同期: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: NVDEC エミュレーション: - + No Video Output ビデオ出力しない - + CPU Video Decoding ビデオをCPUでデコード - + GPU Video Decoding (Default) ビデオをGPUでデコード (デフォルト) - + Fullscreen Mode: 全画面モード: - + Borderless Windowed ボーダーレスウィンドウ - + Exclusive Fullscreen 排他的フルスクリーン - + Aspect Ratio: アスペクト比: - + Default (16:9) デフォルト (16:9) - + Force 4:3 - 強制的に 4:3 にする + 強制 4:3 - + Force 21:9 - 強制的に 21:9 にする + 強制 21:9 - + Force 16:10 - + 強制 16:10 - + Stretch to Window ウィンドウに合わせる - + Resolution: 解像度: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [実験的] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [実験的] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [実験的] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - - Window Adapting Filter: - ウィンドウ アダプティング フィルター: + + 7X (5040p/7560p) + 7X (5040p/7560p) - + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + + Window Adapting Filter: + ウィンドウ アダプティング フィルター: + + + Nearest Neighbor Nearest Neighbor - + Bilinear Bilinear - + Bicubic Bicubic - + Gaussian Gaussian - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Vulkan のみ) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: アンチエイリアス方式: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + 共通設定を使用 - + Set FSR Sharpness - + FSR シャープネスを設定 - + FSR Sharpness: - + FSR シャープネス: - + 100% - + 100% - - + + Use global background color 共通設定を使用 - + Set background color: 背景色の設定: - + Background Color: 背景色: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (アセンブリシェーダ、NVIDIA のみ) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (実験的, Mesa のみ) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + オフ + + + + VSync Off + VSync オフ + + + + Recommended + 推奨 + + + + On + オン + + + + VSync On + VSync オン + ConfigureGraphicsAdvanced @@ -1683,77 +1769,153 @@ This would ban both their forum username and their IP address. 精度: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSyncは画面のちらつきを防ぎますが、一部のグラフィックカードではパフォーマンスが低下します。パフォーマンス低下を感じない限り、有効のままにしてください。 + + ASTC recompression: + ASTC 再圧縮: - - Use VSync - VSyncを使用 + + Uncompressed (Best quality) + 圧縮しない (最高品質) - + + BC1 (Low quality) + BC1 (低品質) + + + + BC3 (Medium quality) + BC3 (中品質) + + + + Enable asynchronous presentation (Vulkan only) + 非同期プレゼンテーション (Vulkan のみ) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + GPUのクロックスピードを下げないように、グラフィックコマンドを待っている間、バックグラウンドで作業を実行させます。 + + + + Force maximum clocks (Vulkan only) + 最大クロック強制 (Vulkan のみ) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + 非同期ASTCテクスチャーデコードを有効にし、ロード時間のスタッターを減らすことができます。この機能は実験的なものです。 + + + + Decode ASTC textures asynchronously (Hack) + ASTCテクスチャを非同期でデコードする(ハック) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. 非同期でのシェーダーのコンパイルを有効にします。シェーダーのスタッターが減少する場合があります。この機能は実験的です。 - + Use asynchronous shader building (Hack) 非同期でのシェーダー構築を使用 (ハック) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. 高速なGPUタイミングを有効にします。このオプションは、ほとんどのゲームをその最高のネイティブ解像度で実行することを強制します。 - + Use Fast GPU Time (Hack) - 高速なGPUタイミングを有効化(ハック) + 高速なGPUタイミング(ハック) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 悲観的なバッファフラッシュを有効にします. このオプションは, 変更されていないバッファを強制的にフラッシュさせるので, パフォーマンスが低下する可能性があります. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + GPU ベンダー固有のパイプラインキャッシュを有効にします。このオプションは、Vulkanドライバがパイプラインキャッシュファイルを内部に保存していない場合に、シェーダのロード時間を大幅に改善することができます。 - - Use pessimistic buffer flushes (Hack) - 悲観的なバッファフラッシュを使用 (ハック) + + Use Vulkan pipeline cache + Vulkan パイプラインキャッシュを使用 - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: 異方性フィルタリング: - + Automatic 自動 - + Default デフォルト - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1786,70 +1948,65 @@ This would ban both their forum username and their IP address. デフォルトに戻す - + Action 操作 - + Hotkey ホットキー - + Controller Hotkey コントローラホットキー - - - + + + Conflicting Key Sequence 入力された組合せの衝突 - - + + The entered key sequence is already assigned to: %1 入力された組合せは既に次の操作に割り当てられています:%1 - - Home+%1 - - - - + [waiting] [入力待ち] - + Invalid 無効 - + Restore Default デフォルトに戻す - + Clear 消去 - + Conflicting Button Sequence ボタンが競合しています - + The default button sequence is already assigned to: %1 デフォルトのボタン配列はすでに %1 に割り当てられています。 - + The default key sequence is already assigned to: %1 デフォルトの組合せはすでに %1 に割り当てられています。 @@ -2141,7 +2298,7 @@ This would ban both their forum username and their IP address. - + Configure 設定 @@ -2167,6 +2324,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu yuzuの再起動が必要 @@ -2186,22 +2345,27 @@ This would ban both their forum username and their IP address. - - Enable mouse panning + + Enable direct JoyCon driver - - Mouse sensitivity - マウス感度 + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + ランダムな Amiibo ID を使用 + + + Motion / Touch モーション / タッチ @@ -2221,57 +2385,57 @@ This would ban both their forum username and their IP address. Input Profiles - + 入力プロファイル Player 1 Profile - + プレイヤー1 プロファイル Player 2 Profile - + プレイヤー2 プロファイル Player 3 Profile - + プレイヤー3 プロファイル Player 4 Profile - + プレイヤー4 プロファイル Player 5 Profile - + プレイヤー5 プロファイル Player 6 Profile - + プレイヤー6 プロファイル Player 7 Profile - + プレイヤー7 プロファイル Player 8 Profile - + プレイヤー8 プロファイル Use global input configuration - + グローバル入力設定を使用 Player %1 profile - + プレイヤー%1 プロファイル @@ -2313,7 +2477,7 @@ This would ban both their forum username and their IP address. - + Left Stick Lスティック @@ -2407,14 +2571,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2433,7 +2597,7 @@ This would ban both their forum username and their IP address. - + Plus + @@ -2446,15 +2610,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2511,236 +2675,257 @@ This would ban both their forum username and their IP address. - + Right Stick Rスティック - - - - + + Mouse panning + + + + + Configure + 設定 + + + + + + Clear クリア - - - - - + + + + + [not set] [未設定] - - + + + Invert button ボタンを反転 - - + + Toggle button - - + + Turbo button + ターボボタン + + + + Invert axis 軸を反転 - - - + + + Set threshold しきい値を設定 - - + + Choose a value between 0% and 100% 0%から100%の間の値を選択してください - + Toggle axis - + Set gyro threshold ジャイロのしきい値を設定 - + + Calibrate sensor + センサーを補正 + + + Map Analog Stick アナログスティックをマップ - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. OKを押した後、スティックを水平方向に動かし、次に垂直方向に動かしてください。 軸を反転させる場合、 最初に垂直方向に動かし、次に水平方向に動かしてください。 - + Center axis - - + + Deadzone: %1% デッドゾーン:%1% - - + + Modifier Range: %1% 変更範囲:%1% - - + + Pro Controller Proコントローラ - + Dual Joycons Joy-Con(L/R) - + Left Joycon Joy-Con(L) - + Right Joycon Joy-Con(R) - + Handheld 携帯モード - + GameCube Controller ゲームキューブコントローラ - + Poke Ball Plus モンスターボールプラス - + NES Controller ファミコン・コントローラー - + SNES Controller スーパーファミコン・コントローラー - + N64 Controller ニンテンドウ64・コントローラー - + Sega Genesis メガドライブ - + Start / Pause スタート/ ポーズ - + Z Z - + Control Stick - + C-Stick Cスティック - + Shake! 振ってください - + [waiting] [待機中] - + New Profile 新規プロファイル - + Enter a profile name: プロファイル名を入力: - - + + Create Input Profile 入力プロファイルを作成 - + The given profile name is not valid! プロファイル名が無効です! - + Failed to create the input profile "%1" 入力プロファイル "%1" の作成に失敗しました - + Delete Input Profile 入力プロファイルを削除 - + Failed to delete the input profile "%1" 入力プロファイル "%1" の削除に失敗しました - + Load Input Profile 入力プロファイルをロード - + Failed to load the input profile "%1" 入力プロファイル "%1" のロードに失敗しました - + Save Input Profile 入力プロファイルをセーブ - + Failed to save the input profile "%1" 入力プロファイル "%1" のセーブに失敗しました @@ -2788,7 +2973,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 設定 @@ -2824,7 +3009,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test テスト @@ -2844,81 +3029,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">さらに詳しく</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters ポート番号に無効な文字が含まれています - + Port has to be in range 0 and 65353 ポート番号は0から65353の間で設定してください - + IP address is not valid IPアドレスが無効です - + This UDP server already exists このUDPサーバはすでに存在してます - + Unable to add more than 8 servers 8個以上のサーバを追加することはできません - + Testing テスト中 - + Configuring 設定中 - + Test Successful テスト成功 - + Successfully received data from the server. サーバーからのデータ受信に成功しました。 - + Test Failed テスト失敗 - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. 有効なデータを受信できませんでした。<br>サーバーが正しくセットアップされ、アドレスとポートが正しいことを確認してください。 - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDPテストまたはキャリブレーション実行中です。<br>完了までお待ちください。 + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + 有効 + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + デフォルト + + ConfigureNetwork @@ -2995,47 +3255,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< 開発元 - + Add-Ons アドオン - + General 全般 - + System システム - + CPU CPU - + Graphics グラフィック - + Adv. Graphics 高度なグラフィック - + Audio サウンド - + Input Profiles - + 入力プロファイル - + Properties プロパティ @@ -3214,7 +3474,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Delete this user? All of the user's save data will be deleted. - + このユーザを削除しますか? このユーザのすべてのセーブデータが削除されます. @@ -3225,7 +3485,8 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Name: %1 UUID: %2 - + 名称: %1 +UUID: %2 @@ -3237,13 +3498,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - このコントローラを使用する場合は、ゲームを開始する前に、プレイヤー1を右コントローラ、プレイヤー2をデュアルジョイコンに設定し、このコントローラを正しく認識させるようにしてください。 + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - センサーパラメータ + Virtual Ring Sensor Parameters + 仮想リングセンサー パラメータ @@ -3263,33 +3524,95 @@ UUID: %2 デッドゾーン:0% - + + Direct Joycon Driver + + + + + Enable Ring Input + リングコン入力を有効化 + + + + + Enable + 有効 + + + + Ring Sensor Value + リングコン センサー値 + + + + + Not connected + 接続なし + + + Restore Defaults デフォルトに戻す - + Clear クリア - + [not set] [未設定] - + Invert axis 軸を反転 - - + + Deadzone: %1% デッドゾーン:%1% - + + Error enabling ring input + リングコン入力の有効化エラー + + + + Direct Joycon driver is not enabled + + + + + Configuring + 設定中 + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [入力待ち] @@ -3590,92 +3913,92 @@ UUID: %2 Japanese (日本語) - Japanese (日本語) + 日本語 - English - English + American English + アメリカ英語 French (français) - French (français) + フランス語 (français) German (Deutsch) - German (Deutsch) + ドイツ語 (Deutsch) Italian (italiano) - Italian (italiano) + イタリア語 (italiano) Spanish (español) - Spanish (español) + スペイン語 (español) Chinese - Chinese + 中国語 Korean (한국어) - Korean (한국어) + 韓国語 (한국어) Dutch (Nederlands) - Dutch (Nederlands) + オランダ語 (Nederlands) Portuguese (português) - Portuguese (português) + ポルトガル語 (português) Russian (Русский) - Russian (Русский) + ロシア語 (Русский) Taiwanese - Taiwanese + 台湾語 British English - British English + イギリス英語 Canadian French - Canadian French + カナダフランス語 Latin American Spanish - Latin American Spanish + ラテンアメリカスペイン語 Simplified Chinese - Simplified Chinese + 簡体字中国語 Traditional Chinese (正體中文) - Traditional Chinese (正體中文) + 繁体字中国語 (正體中文) Brazilian Portuguese (português do Brasil) - Brazilian Portuguese (português do Brasil) + ブラジルポルトガル語 (português do Brasil) @@ -3695,57 +4018,22 @@ UUID: %2 Device Name - + デバイス名 - - Mono - モノラル + + Unsafe extended memory layout (8GB DRAM) + 不安定な拡張メモリレイアウト (8GB DRAM) - - Stereo - ステレオ - - - - Surround - サラウンド - - - - Console ID: - コンソールID: - - - - Sound output mode - サウンド出力モード - - - - Regenerate - 再作成 - - - + System settings are available only when game is not running. システム設定はゲーム未実行時にのみ変更できます。 - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - 仮想Switchコンソールを再作成しようとしています。現在使用中の仮想Switchコンソールを後から復旧させることはできません。ゲームに予期せぬ影響を与える可能性があり、古い設定などを使うと失敗するかもしれませんが、それでも続行しますか? - - - - Warning - 警告 - - - - Console ID: 0x%1 - コンソールID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3814,7 +4102,7 @@ UUID: %2 TAS 設定 - + Select TAS Load Directory... TAS ロードディレクトリを選択... @@ -4054,7 +4342,7 @@ Drag points to change position, or double-click table cells to edit values. Show Compatibility List - + 互換性リストを表示 @@ -4064,12 +4352,12 @@ Drag points to change position, or double-click table cells to edit values. Show Size Column - + サイズ列を表示 Show File Types Column - + ファイルタイプ列を表示 @@ -4370,7 +4658,7 @@ Drag points to change position, or double-click table cells to edit values.Controller P1 - + &Controller P1 &Controller P1 @@ -4383,42 +4671,37 @@ Drag points to change position, or double-click table cells to edit values.ダイレクト接続 - - IP Address - IPアドレス + + Server Address + サーバアドレス - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>ホストのIPv4アドレス</p></body></html> - - - + Port ポート - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>ホストの待ち受けポート番号</p></body></html> - + Nickname ニックネーム - + Password パスワード - + Connect 接続 @@ -4426,12 +4709,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 接続中 - + Connect 接続 @@ -4439,926 +4722,901 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? - yuzuを改善するための<a href='https://yuzu-emu.org/help/feature/telemetry/'>匿名データが収集されました</a>。<br/><br/>統計情報データを共有しますか? + yuzuの改善に役立てるため、<a href='https://yuzu-emu.org/help/feature/telemetry/'>匿名データが収集されます</a>。<br/><br/>統計情報を共有しますか? - + Telemetry テレメトリ - + Broken Vulkan Installation Detected 壊れたVulkanのインストールが検出されました。 - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - ブート時にVulkanの初期化に失敗しました。<br><br>この問題を解決するための手順は<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>こちら</a>。 + 起動時にVulkanの初期化に失敗しました。<br><br>この問題を解決するための手順は<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>こちら</a>。 - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Webアプレットをロード中... - - + + Disable Web Applet Webアプレットの無効化 - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Webアプレットを無効にすると、未定義の動作になる可能性があるため、スーパーマリオ3Dオールスターズでのみ使用するようにしてください。本当にWebアプレットを無効化しますか? (デバッグ設定で再度有効にすることができます)。 - + The amount of shaders currently being built ビルド中のシェーダー数 - + The current selected resolution scaling multiplier. 現在選択されている解像度の倍率。 - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. 現在のエミュレーション速度。値が100%より高いか低い場合、エミュレーション速度がSwitchより速いか遅いことを示します。 - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. ゲームが現在表示している1秒あたりのフレーム数。これはゲームごと、シーンごとに異なります。 - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Switchフレームをエミュレートするのにかかる時間で、フレームリミットやV-Syncは含まれません。フルスピードエミュレーションの場合、最大で16.67ミリ秒になります。 - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files 最近のファイルをクリア(&C) - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue 再開(&C) - + &Pause 中断(&P) - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzuはゲームを起動しています - - - + Warning Outdated Game Format 古いゲームフォーマットの警告 - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. このゲームでは、分解されたROMディレクトリフォーマットを使用しています。これは、NCA、NAX、XCI、またはNSPなどに取って代わられた古いフォーマットです。分解されたROMディレクトリには、アイコン、メタデータ、およびアップデートサポートがありません。<br><br>yuzuがサポートするSwitchフォーマットの説明については、<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>wikiをチェックしてください</a>。このメッセージは二度と表示されません。 - - + + Error while loading ROM! ROMロード中にエラーが発生しました! - + The ROM format is not supported. このROMフォーマットはサポートされていません。 - + An error occurred initializing the video core. ビデオコア初期化中にエラーが発生しました。 - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzuは、ビデオコアの実行中にエラーが発生しました。これは通常、内蔵GPUも含め、古いGPUドライバが原因です。詳しくはログをご覧ください。ログへのアクセス方法については、以下のページをご覧ください:<a href='https://yuzu-emu.org/help/reference/log-files/'>ログファイルのアップロード方法について</a>。 - + Error while loading ROM! %1 %1 signifies a numeric error code. ROMのロード中にエラー! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br><a href='https://yuzu-emu.org/help/quickstart/'>yuzuクイックスタートガイド</a>を参照してファイルを再ダンプしてください。<br>またはyuzu wiki及び</a>yuzu Discord</a>を参照するとよいでしょう。 - + An unknown error occurred. Please see the log for more details. 不明なエラーが発生しました。詳細はログを確認して下さい。 - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + ソフトウェアを終了中... - + Save Data データのセーブ - + Mod Data Modデータ - + Error Opening %1 Folder ”%1”フォルダを開けませんでした - - + + Folder does not exist! フォルダが存在しません! - + Error Opening Transferable Shader Cache シェーダキャッシュを開けませんでした - + Failed to create the shader cache directory for this title. このタイトル用のシェーダキャッシュディレクトリの作成に失敗しました - + Error Removing Contents - + コンテンツの削除エラー - + Error Removing Update - + アップデートの削除エラー - + Error Removing DLC - + DLC の削除エラー - + Remove Installed Game Contents? - + インストールされたゲームのコンテンツを削除しますか? - + Remove Installed Game Update? - + インストールされたゲームのアップデートを削除しますか? - + Remove Installed Game DLC? - + インストールされたゲームの DLC を削除しますか? - + Remove Entry エントリ削除 - - - - - - + + + + + + Successfully Removed 削除しました - + Successfully removed the installed base game. インストールされたゲームを正常に削除しました。 - + The base game is not installed in the NAND and cannot be removed. ゲームはNANDにインストールされていないため、削除できません。 - + Successfully removed the installed update. インストールされたアップデートを正常に削除しました。 - + There is no update installed for this title. このタイトルのアップデートはインストールされていません。 - + There are no DLC installed for this title. このタイトルにはDLCがインストールされていません。 - + Successfully removed %1 installed DLC. %1にインストールされたDLCを正常に削除しました。 - + Delete OpenGL Transferable Shader Cache? 転送可能なOpenGLシェーダキャッシュを削除しますか? - + Delete Vulkan Transferable Shader Cache? 転送可能なVulkanシェーダキャッシュを削除しますか? - + Delete All Transferable Shader Caches? 転送可能なすべてのシェーダキャッシュを削除しますか? - + Remove Custom Game Configuration? このタイトルのカスタム設定を削除しますか? - + + Remove Cache Storage? + キャッシュストレージを削除しますか? + + + Remove File ファイル削除 - - + + Error Removing Transferable Shader Cache 転送可能なシェーダーキャッシュの削除エラー - - + + A shader cache for this title does not exist. このタイトル用のシェーダキャッシュは存在しません。 - + Successfully removed the transferable shader cache. 転送可能なシェーダーキャッシュが正常に削除されました。 - + Failed to remove the transferable shader cache. 転送可能なシェーダーキャッシュを削除できませんでした。 - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches 転送可能なシェーダキャッシュの削除エラー - + Successfully removed the transferable shader caches. 転送可能なシェーダキャッシュを正常に削除しました。 - + Failed to remove the transferable shader cache directory. 転送可能なシェーダキャッシュディレクトリの削除に失敗しました。 - - + + Error Removing Custom Configuration カスタム設定の削除エラー - + A custom configuration for this title does not exist. このタイトルのカスタム設定は存在しません。 - + Successfully removed the custom game configuration. カスタム設定を正常に削除しました。 - + Failed to remove the custom game configuration. カスタム設定の削除に失敗しました。 - - + + RomFS Extraction Failed! - RomFSの解析に失敗しました! + RomFSの抽出に失敗しました! - + There was an error copying the RomFS files or the user cancelled the operation. RomFSファイルをコピー中にエラーが発生したか、ユーザー操作によりキャンセルされました。 - + Full フル - + Skeleton スケルトン - + Select RomFS Dump Mode RomFSダンプモードの選択 - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. RomFSのダンプ方法を選択してください。<br>”完全”はすべてのファイルが新しいディレクトリにコピーされます。<br>”スケルトン”はディレクトリ構造を作成するだけです。 - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root %1 に RomFS を展開するための十分な空き領域がありません。Emulation > Configure > System > Filesystem > Dump Root で、空き容量を確保するか、別のダンプディレクトリを選択してください。 - + Extracting RomFS... - RomFSを解析中... + RomFSを抽出中... - - + + Cancel キャンセル - + RomFS Extraction Succeeded! - RomFS解析成功! + RomFS抽出成功! - + The operation completed successfully. 操作は成功しました。 - - - - - + + + + + Create Shortcut - + ショートカットを作成 - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + アイコンを作成 - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 ”%1”を開けませんでした - + Select Directory ディレクトリの選択 - + Properties プロパティ - + The game properties could not be loaded. ゲームプロパティをロード出来ませんでした。 - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch実行ファイル (%1);;すべてのファイル (*.*) - + Load File ファイルのロード - + Open Extracted ROM Directory 展開されているROMディレクトリを開く - + Invalid Directory Selected 無効なディレクトリが選択されました - + The directory you have selected does not contain a 'main' file. 選択されたディレクトリに”main”ファイルが見つかりませんでした。 - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) インストール可能なスイッチファイル (*.nca *.nsp *.xci);;任天堂コンテンツアーカイブ (*.nca);;任天堂サブミッションパッケージ (*.nsp);;NXカートリッジイメージ (*.xci) - + Install Files ファイルのインストール - + %n file(s) remaining 残り %n ファイル - + Installing file "%1"... "%1"ファイルをインストールしています・・・ - - + + Install Results インストール結果 - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. 競合を避けるため、NANDにゲーム本体をインストールすることはお勧めしません。 この機能は、アップデートやDLCのインストールにのみ使用してください。 - + %n file(s) were newly installed %n ファイルが新たにインストールされました - + %n file(s) were overwritten %n ファイルが上書きされました - + %n file(s) failed to install %n ファイルのインストールに失敗しました - + System Application システムアプリケーション - + System Archive システムアーカイブ - + System Application Update システムアプリケーションアップデート - + Firmware Package (Type A) ファームウェアパッケージ(Type A) - + Firmware Package (Type B) ファームウェアパッケージ(Type B) - + Game ゲーム - + Game Update ゲームアップデート - + Game DLC ゲームDLC - + Delta Title 差分タイトル - + Select NCA Install Type... NCAインストール種別を選択・・・ - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) インストールするNCAタイトル種別を選択して下さい: (ほとんどの場合、デフォルトの”ゲーム”で問題ありません。) - + Failed to Install インストール失敗 - + The title type you selected for the NCA is invalid. 選択されたNCAのタイトル種別が無効です。 - + File not found ファイルが存在しません - + File "%1" not found ファイル”%1”が存在しません - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account yuzuアカウントが存在しません - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. ゲームの互換性テストケースを送信するには、yuzuアカウントをリンクする必要があります。<br><br/>yuzuアカウントをリンクするには、エミュレーション > 設定 > Web から行います。 - + Error opening URL URLオープンエラー - + Unable to open the URL "%1". URL"%1"を開けません。 - + TAS Recording TAS 記録中 - + Overwrite file of player 1? プレイヤー1のファイルを上書きしますか? - + Invalid config detected 無効な設定を検出しました - + Handheld controller can't be used on docked mode. Pro controller will be selected. 携帯コントローラはドックモードで使用できないため、Proコントローラが選択されます。 - - + + Amiibo Amiibo - - + + The current amiibo has been removed 現在の amiibo は削除されました - + Error エラー - - + + The current game is not looking for amiibos 現在のゲームはamiiboを要求しません - + Amiibo File (%1);; All Files (*.*) amiiboファイル (%1);;すべてのファイル (*.*) - + Load Amiibo amiiboのロード - + Error loading Amiibo data amiiboデータ読み込み中にエラーが発生しました - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + 不明なエラーが発生しました - + Capture Screenshot スクリーンショットのキャプチャ - + PNG Image (*.png) PNG画像 (*.png) - + TAS state: Running %1/%2 TAS 状態: 実行中 %1/%2 - + TAS state: Recording %1 TAS 状態: 記録中 %1 - + TAS state: Idle %1/%2 TAS 状態: アイドル %1/%2 - + TAS State: Invalid TAS 状態: 無効 - + &Stop Running 実行停止(&S) - + &Start 実行(&S) - + Stop R&ecording 記録停止(&R) - + R&ecord 記録(&R) - + Building: %n shader(s) - 構築中: %n シェーダー + 構築中: %n 個のシェーダー - + Scale: %1x %1 is the resolution scaling factor 拡大率: %1x - + Speed: %1% / %2% 速度:%1% / %2% - + Speed: %1% 速度:%1% - + Game: %1 FPS (Unlocked) Game: %1 FPS(制限解除) - + Game: %1 FPS ゲーム:%1 FPS - + Frame: %1 ms フレーム:%1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU HIGH - - - - GPU EXTREME - GPU EXTREME - - - - GPU ERROR - GPU ERROR - - - - DOCKED - DOCKED - - - - HANDHELD - HANDHELD - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NEAREST - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICUBIC - - - - GAUSSIAN - GAUSSIAN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA NO AA - - FXAA - FXAA + + VOLUME: MUTE + 音量: ミュート - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + 音量: %1% - + Confirm Key Rederivation キーの再取得確認 - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5375,37 +5633,37 @@ This will delete your autogenerated key files and re-run the key derivation modu 実行すると、自動生成された鍵ファイルが削除され、鍵生成モジュールが再実行されます。 - + Missing fuses ヒューズがありません - + - Missing BOOT0 - BOOT0がありません - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Mainがありません - + - Missing PRODINFO - PRODINFOがありません - + Derivation Components Missing 派生コンポーネントがありません - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> 暗号化キーがありません。<br>キー、ファームウェア、ゲームを取得するには<a href='https://yuzu-emu.org/help/quickstart/'>yuzu クイックスタートガイド</a>を参照ください。<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5414,39 +5672,49 @@ on your system's performance. 1分以上かかります。 - + Deriving Keys 派生キー - + + System Archive Decryption Failed + システムアーカイブの復号に失敗しました + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target RomFSダンプターゲットの選択 - + Please select which RomFS you would like to dump. ダンプしたいRomFSを選択して下さい。 - + Are you sure you want to close yuzu? yuzuを終了しますか? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. エミュレーションを停止しますか?セーブされていない進行状況は失われます。 - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5454,6 +5722,101 @@ Would you like to bypass this and exit anyway? 無視してとにかく終了しますか? + + + None + なし + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Docked + + + + Handheld + 携帯モード + + + + Normal + 標準 + + + + High + 高い + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5554,117 +5917,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + キャッシュストレージを削除 + + + Remove OpenGL Pipeline Cache OpenGLパイプラインキャッシュを削除 - + Remove Vulkan Pipeline Cache Vulkanパイプラインキャッシュを削除 - + Remove All Pipeline Caches すべてのパイプラインキャッシュを削除 - + Remove All Installed Contents 全てのインストールされているコンテンツを削除 - + Dump RomFS RomFSをダンプ - + Dump RomFS to SDMC RomFSをSDMCにダンプ - + Copy Title ID to Clipboard タイトルIDをクリップボードへコピー - + Navigate to GameDB entry GameDBエントリを表示 - - - Create Shortcut - - + Create Shortcut + ショートカットを作成 + + + Add to Desktop - + デスクトップに追加 - + Add to Applications Menu - + アプリケーションメニューに追加 - + Properties プロパティ - + Scan Subfolders サブフォルダをスキャンする - + Remove Game Directory ゲームディレクトリを削除する - + ▲ Move Up ▲ 上へ移動 - + ▼ Move Down ▼ 下へ移動 - + Open Directory Location ディレクトリの場所を開く - + Clear クリア - + Name ゲーム名 - + Compatibility 互換性 - + Add-ons アドオン - + File type ファイル種別 - + Size ファイルサイズ @@ -5694,7 +6062,7 @@ Would you like to bypass this and exit anyway? Playable - + プレイ可 @@ -5735,7 +6103,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 新しいゲームリストフォルダを追加するにはダブルクリックしてください。 @@ -5748,12 +6116,12 @@ Would you like to bypass this and exit anyway? - + Filter: フィルター: - + Enter pattern to filter フィルターパターンを入力 @@ -5773,7 +6141,7 @@ Would you like to bypass this and exit anyway? Preferred Game - + 優先ゲーム @@ -5808,7 +6176,7 @@ Would you like to bypass this and exit anyway? Load Previous Ban List - + 以前の BAN リストをロード @@ -5844,138 +6212,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute 音声ミュート/解除 - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window メイン画面 - + Audio Volume Down 音量を下げる - + Audio Volume Up 音量を上げる - + Capture Screenshot スクリーンショットを撮る - + Change Adapting Filter アダプティングフィルターの変更 - + Change Docked Mode ドックモードを変更 - + Change GPU Accuracy GPU精度を変更 - + Continue/Pause Emulation エミュレーションの一時停止/再開 - + Exit Fullscreen フルスクリーンをやめる - + Exit yuzu yuzuを終了 - + Fullscreen フルスクリーン - + Load File ファイルのロード - + Load/Remove Amiibo 読み込み/解除 Amiibo - + Restart Emulation エミュレーションをリスタート - + Stop Emulation エミュレーションをやめる - + TAS Record TAS 記録 - + TAS Reset TAS リセット - + TAS Start/Stop TAS 開始/停止 - + Toggle Filter Bar フィルタバー切り替え - + Toggle Framerate Limit フレームレート制限切り替え - + Toggle Mouse Panning - + Toggle Status Bar ステータスバー切り替え @@ -5998,7 +6366,7 @@ Debug Message: インストール - + Install Files to NAND ファイルをNANDへインストール @@ -6006,7 +6374,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 テキストに以下の文字を含めることはできません: @@ -6081,51 +6449,56 @@ Debug Message: + Hide Empty Rooms + 空のルームを隠す + + + Hide Full Rooms 満室のルームを隠す - + Refresh Lobby ロビー更新 - + Password Required to Join 参加にはパスワードが必要です。 - + Password: パスワード: - + Players プレイヤー - + Room Name ルーム名 - + Preferred Game - + 優先ゲーム - + Host ホスト - + Refreshing 更新中 - + Refresh List リスト更新 @@ -6200,7 +6573,7 @@ Debug Message: &Multiplayer - + マルチプレイヤー (&M) @@ -6290,27 +6663,27 @@ Debug Message: &Browse Public Game Lobby - + 公開ゲームロビーを参照 (&B) &Create Room - + ルームを作成 (&C) &Leave Room - + ルームを退出 (&L) &Direct Connect to Room - + ルームに直接接続 (&D) &Show Current Room - + 現在のルームを表示 (&S) @@ -6662,7 +7035,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE スタート/ ポーズ @@ -6711,31 +7084,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未設定] @@ -6746,16 +7119,16 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 - 軸 %1%2 + スティック %1%2 @@ -6764,264 +7137,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [不明] - - - + + + Left - - - + + + Right - - - + + + Down - - - + + + Up - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start 開始 - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle マル - - + + Cross バツ - - + + Square 四角 - - + + Triangle 三角 - - + + Share Share - - + + Options Options - - + + [undefined] [未定義] - + %1%2 %1%2 - - + + [invalid] [無効] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 %1%2ボタン %3 - - + + [unused] [未使用] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + L スティック + + + + Stick R + R スティック + + + + Plus + + + + + + Minus + - + + + + Home HOME - + + Capture + キャプチャ + + + Touch タッチの設定 - + Wheel Indicates the mouse wheel ホイール - + Backward 後ろ - + Forward - + Task - + タスク - + Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7029,17 +7460,17 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo 設定 Amiibo Info - + Amiibo 情報 Series - + シリーズ @@ -7054,7 +7485,7 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Amiibo データ @@ -7064,37 +7495,37 @@ p, li { white-space: pre-wrap; } Owner - + オーナー Creation Date - + 作成日時 dd/MM/yyyy - + yyyy/MM/dd Modification Date - + 更新日時 dd/MM/yyyy - + yyyy/MM/dd Game Data - + ゲームデータ Game Id - + ゲームID @@ -7109,7 +7540,7 @@ p, li { white-space: pre-wrap; } File Path - + ファイルパス @@ -7390,28 +7821,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) エラーコード: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. エラーが発生しました。 もう一度試すか、開発者に報告してください。 - + An error occurred on %1 at %2. Please try again or contact the developer of the software. %1の%2でエラーが発生しました。 再試行するか、ソフトウェアの開発者に連絡してください。 - + An error has occurred. %1 @@ -7435,20 +7866,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - ユーザー選択: - - - + Users ユーザー - + + Profile Creator + + + + + Profile Selector プロファイル選択 + + + Profile Icon Editor + プロファイル アイコンエディタ + + + + Profile Nickname Editor + プロファイル ニックネームエディタ + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + ユーザー選択: + QtSoftwareKeyboardDialog @@ -7498,51 +7990,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - waiting for mutex 0x%1 - - - - has waiters: %1 - has waiters: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - waiting for all objects - - - - waiting for one of the following objects - waiting for one of the following objects - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread waited by no thread @@ -7550,120 +8011,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable runnable - + paused paused - + sleeping sleeping - + waiting for IPC reply waiting for IPC reply - + waiting for objects waiting for objects - + waiting for condition variable waiting for condition variable - + waiting for address arbiter waiting for address arbiter - + waiting for suspend resume waiting for suspend resume - + waiting waiting - + initialized initialized - + terminated terminated - + unknown unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 core %1 - + processor = %1 processor = %1 - - ideal core = %1 - ideal core = %1 - - - + affinity mask = %1 affinity mask = %1 - + thread id = %1 thread id = %1 - + priority = %1(current) / %2(normal) priority = %1(current) / %2(normal) - + last running ticks = %1 last running ticks = %1 - - - not waiting for mutex - not waiting for mutex - WaitTreeThreadList - + waited by thread waited by thread @@ -7671,7 +8122,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/languages/ko_KR.ts b/dist/languages/ko_KR.ts index 120ec1c21..8ebdf1d04 100644 --- a/dist/languages/ko_KR.ts +++ b/dist/languages/ko_KR.ts @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - 출력 장치 + Output Device: + 출력 장치: - Input Device - 입력 장치 + Input Device: + 입력 장치: - + + Sound Output Mode: + 소리 출력 모드: + + + + Mono + 모노 + + + + Stereo + 스테레오 + + + + Surround + 서라운드 + + + Use global volume 전역 볼륨 설정 사용 - + Set volume: 볼륨 설정: - + Volume: 볼륨: - + 0 % 0 % - + + Mute audio when in background + 백그라운드에서 오디오 음소거 + + + %1% Volume percentage (e.g. 50%) %1% @@ -809,12 +834,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">이 최적화는 유효하지 않은 메모리 접속에 성공하도록 허용하여 메모리 접속 속도를 높입니다.</div> + <div style="white-space: nowrap">이를 활성화하면 모든 메모리 접속의 오버헤드가 줄어들고 유효하지 않은 메모리에 접속하지 않는 프로그램에는 영향을 미치지 않습니다.</div> + Enable fallbacks for invalid memory accesses - + 유효하지 않은 메모리 접속에 대한 폴백 활성화 @@ -935,102 +963,112 @@ This would ban both their forum username and their IP address. Macro JIT 비활성화 - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 선택하면 매크로 HLE 기능이 비활성화됩니다. 이 기능을 활성화하면 게임 실행 속도가 느려짐 + + + + Disable Macro HLE + 매크로 HLE 비활성화 + + + When checked, yuzu will log statistics about the compiled pipeline cache 선택하면 yuzu는 컴파일된 파이프라인 캐시에 대한 통계를 기록합니다. - + Enable Shader Feedback 셰이더 피드백 활성화 - + When checked, it executes shaders without loop logic changes 체크 시 루프 로직 변경 없이 셰이더 실행 - + Disable Loop safety checks 루프 안전 검사 비활성화 - + Debugging 디버깅 - + Enable Verbose Reporting Services** 자세한 리포팅 서비스 활성화** - + Enable FS Access Log FS 액세스 로그 활성화 - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. 이 옵션을 활성화하면 가장 최근에 생성된 오디오 명령어 목록을 콘솔에 출력할 수 있습니다. 오디오 렌더러를 사용하는 게임에만 영향을 줍니다. - + Dump Audio Commands To Console** 콘솔에 오디오 명령어 덤프 - + Create Minidump After Crash 충돌후 미니덤프 생성 - + Advanced 고급 - + Kiosk (Quest) Mode Kiosk (Quest) 모드 - + Enable CPU Debugging CPU 디버깅 활성화 - + Enable Debug Asserts 디버그 에러 검출 활성화 - + Enable Auto-Stub** 자동 스텁 활성화** - + Enable All Controller Types 모든 컨트롤러 유형 활성화 - + Disable Web Applet 웹 애플릿 비활성화 - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. 프로그램 시작시 yuzu가 Vulkan 환경을 확인할 수 있도록 합니다. 외부 프로그램에서 유자를 보는 데 문제가 있는 경우 이 기능을 비활성화합니다. - + Perform Startup Vulkan Check 시작시 Vulkan 검사 수행 - + **This will be reset automatically when yuzu closes. **Yuzu가 종료되면 자동으로 재설정됩니다. @@ -1045,12 +1083,12 @@ This would ban both their forum username and their IP address. 이 설정을 적용하려면 yuzu를 다시 시작해야 합니다. - + Web applet not compiled 웹 애플릿이 컴파일되지 않음 - + MiniDump creation not compiled MiniDump 생성이 컴파일되지 않음 @@ -1100,78 +1138,78 @@ This would ban both their forum username and their IP address. yuzu 설정 - - + + Audio 오디오 - - + + CPU CPU - + Debug 디버그 - + Filesystem 파일 시스템 - - + + General 일반 - - + + Graphics 그래픽 - + GraphicsAdvanced 그래픽 고급 - + Hotkeys 단축키 - - + + Controls 조작 - + Profiles 프로필 - + Network 네트워크 - - + + System 시스템 - + Game List 게임 목록 - + Web @@ -1346,46 +1384,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - 확장 메모리 레이아웃(6GB DRAM) - - - Confirm exit while emulation is running 에뮬레이터가 작동 중일 때 종료 시 확인 - + Prompt for user on game boot 게임 부팅시 유저 선택 화면 표시 - + Pause emulation when in background 백그라운드에 있을 시 에뮬레이션 일시중지 - - Mute audio when in background - 백그라운드에서 오디오 음소거 - - - + Hide mouse on inactivity 비활성 상태일 때 마우스 숨기기 - + + Disable controller applet + + + + Reset All Settings 모든 설정 초기화 - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? 모든 환경 설정과 게임별 맞춤 설정이 초기화됩니다. 게임 디렉토리나 프로필, 또는 입력 프로필은 삭제되지 않습니다. 진행하시겠습니까? @@ -1424,7 +1457,7 @@ This would ban both their forum username and their IP address. - + None 없음 @@ -1450,216 +1483,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + VSync 모드: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (수직동기화)는 프레임이 떨어지거나 티어링 현상이 나타나지 않지만 화면 재생률에 의해 제한됩니다. +FIFO 릴랙스드는 FIFO와 유사하지만 속도가 느려진 후 복구할 때 끊김 현상이 발생할 수 있습니다. +메일박스는 FIFO보다 지연 시간이 짧고 티어링이 발생하지 않지만 프레임이 떨어질 수 있습니다. +즉시 (동기화 없음)는 사용 가능한 모든 것을 표시하며 티어링이 나타날 수 있습니다. + + + NVDEC emulation: NVDEC 에뮬레이션: - + No Video Output 비디오 출력 없음 - + CPU Video Decoding CPU 비디오 디코딩 - + GPU Video Decoding (Default) GPU 비디오 디코딩(기본값) - + Fullscreen Mode: 전체 화면 모드: - + Borderless Windowed 경계 없는 창 모드 - + Exclusive Fullscreen 독점 전체화면 모드 - + Aspect Ratio: 화면비: - + Default (16:9) 기본 (16:9) - + Force 4:3 강제 4:3 - + Force 21:9 강제 21:9 - + Force 16:10 강제 16:10 - + Stretch to Window 창에 맞게 늘림 - + Resolution: 해상도: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [실험적] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [실험적] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [실험적] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: 윈도우 적응형 필터: - + Nearest Neighbor Nearest Neighbor - + Bilinear 이중선형 - + Bicubic 고등차수보간 - + Gaussian 가우시안 - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 슈퍼 해상도 (Vulkan 전용) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: 안티에일리어싱 방식: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness 글로벌 FSR 선명도 사용 - + Set FSR Sharpness FSR 선명도 설정 - + FSR Sharpness: FSR 선명도: - + 100% 100% - - + + Use global background color 전역 배경색 사용 - + Set background color: 배경색 설정: - + Background Color: 배경색: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM(어셈블리 셰이더, NVIDIA 전용) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (실험적, Mesa 전용) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + 수직동기화 끔 + + + + Recommended + 추천 + + + + On + + + + + VSync On + 수직동기화 켬 + ConfigureGraphicsAdvanced @@ -1684,77 +1773,154 @@ This would ban both their forum username and their IP address. 정확도 수준: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - 수직 동기화는 화면 찢어짐 현상을 예방하지만, 몇몇의 그래픽카드는 수직 동기화로 인해 성능이 감소합니다. 성능의 변화를 느끼지 않는다면 활성화하는 것이 좋습니다. + + ASTC recompression: + ASTC 재압축: - - Use VSync - 수직 동기화 사용 + + Uncompressed (Best quality) + 비압축(최고 품질) - + + BC1 (Low quality) + BC1(저품질) + + + + BC3 (Medium quality) + BC3(중간 품질) + + + + Enable asynchronous presentation (Vulkan only) + 비동기 프레젠테이션 활성화(Vulkan만 해당) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + 실행은 GPU가 클럭 속도를 낮추지 않도록 그래픽 명령을 기다리는 동안 백그라운드에서 작동합니다. + + + + Force maximum clocks (Vulkan only) + 강제 최대 클록 (Vulkan 전용) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + 로드 시간 끊김을 줄일 수 있는 비동기 ASTC 텍스처 디코딩을 활성화합니다. 이 기능은 실험적입니다. + + + + Decode ASTC textures asynchronously (Hack) + ASTC 텍스처를 비동기식으로 디코딩(해킹) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + 예측 플러싱 대신 반응형 플러싱 를 사용합니다. 보다 정확한 메모리 동기화를 허용합니다. + + + + Enable Reactive Flushing + 반응형 플러싱 활성화 + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. 비동기 셰이더 컴파일을 활성화하여 셰이더의 버벅임을 감소시킬 수 있습니다. 이 기능은 실험적 기능입니다. - + Use asynchronous shader building (Hack) 비동기식 셰이더 빌드 사용(Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. 빠른 GPU 시간을 활성화합니다. 이 옵션을 사용하면 대부분의 게임이 가장 높은 기본 해상도에서 실행됩니다. - + Use Fast GPU Time (Hack) 빠른 GPU 시간 사용(Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 비관적 버퍼 플러시를 활성화합니다. 이 옵션은 수정되지 않은 버퍼를 강제로 비우므로 성능이 저하될 수 있습니다. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + GPU 공급업체별 파이프라인 캐시를 활성화합니다. 이 옵션은 Vulkan 드라이버가 파이프라인 캐시 파일을 내부에 저장하지 않는 경우 셰이더 로딩 시간을 크게 개선할 수 있습니다. - - Use pessimistic buffer flushes (Hack) - 비관적 버퍼 플러시 사용(Hack) + + Use Vulkan pipeline cache + Vulkan 파이프라인 캐시 사용 - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + 일부 게임에 필요한 컴퓨팅 파이프라인을 활성화합니다. 이 설정은 인텔 독점 드라이버에만 존재하며 활성화된 경우 충돌이 발생할 수 있습니다. +컴퓨팅 파이프라인은 다른 모든 드라이버에서 항상 활성화됩니다. + + + + Enable Compute Pipelines (Intel Vulkan only) + 컴퓨팅 파이프라인 활성화(Intel Vulkan만 해당) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + 프레임 속도가 잠금 해제된 상태에서도 동영상 재생 중에 일반 속도로 게임을 실행합니다. + + + + Sync to framerate of video playback + 동영상 재생 프레임 속도에 동기화 + + + + Improves rendering of transparency effects in specific games. + 특정 게임에서 투명도 효과의 렌더링을 개선합니다. + + + + Barrier feedback loops + 차단 피드백 루프 + + + Anisotropic Filtering: 비등방성 필터링: - + Automatic 자동 - + Default 기본값 - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1787,70 +1953,65 @@ This would ban both their forum username and their IP address. 초기화 - + Action 액션 - + Hotkey 단축키 - + Controller Hotkey 컨트롤러 단축키 - - - + + + Conflicting Key Sequence 키 시퀀스 충돌 - - + + The entered key sequence is already assigned to: %1 입력한 키 시퀀스가 %1에 이미 할당되었습니다. - - Home+%1 - Home+%1 - - - + [waiting] [대기중] - + Invalid 유효하지않음 - + Restore Default 초기화 - + Clear 비우기 - + Conflicting Button Sequence 키 시퀀스 충돌 - + The default button sequence is already assigned to: %1 기본 키 시퀀스가 %1에 이미 할당되었습니다. - + The default key sequence is already assigned to: %1 기본 키 시퀀스가 %1에 이미 할당되었습니다. @@ -2142,7 +2303,7 @@ This would ban both their forum username and their IP address. - + Configure 설정 @@ -2168,6 +2329,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu yuzu를 다시 시작해야 합니다. @@ -2187,22 +2350,27 @@ This would ban both their forum username and their IP address. 컨트롤러 탐색 - - Enable mouse panning - 마우스 패닝 활성화 + + Enable direct JoyCon driver + 다이렉트 JoyCon 드라이버 활성화 - - Mouse sensitivity - 마우스 감도 + + Enable direct Pro Controller driver [EXPERIMENTAL] + 다이렉트 Pro 컨트롤러 드라이버 활성화[실험적]  - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + 한 번으로 사용이 제한되는 게임에서 동일한 아미보를 무제한으로 사용할 수 있습니다. - + + Use random Amiibo ID + 무작위 아미보 ID 사용 + + + Motion / Touch 모션 컨트롤/ 터치 @@ -2222,57 +2390,57 @@ This would ban both their forum username and their IP address. Input Profiles - + 입력 프로파일 Player 1 Profile - + 플레이어 1 프로파일 Player 2 Profile - + 플레이어 2 프로파일 Player 3 Profile - + 플레이어 3 프로파일 Player 4 Profile - + 플레이어 4 프로파일 Player 5 Profile - + 플레이어 5 프로파일 Player 6 Profile - + 플레이어 6 프로파일 Player 7 Profile - + 플레이어 7 프로파일 Player 8 Profile - + 플레이어 8 프로파일 Use global input configuration - + 글로벌 입력 구성 사용 Player %1 profile - + 플레이어 %1 프로파일 @@ -2314,7 +2482,7 @@ This would ban both their forum username and their IP address. - + Left Stick L 스틱 @@ -2408,14 +2576,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2434,7 +2602,7 @@ This would ban both their forum username and their IP address. - + Plus + @@ -2447,15 +2615,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2512,236 +2680,257 @@ This would ban both their forum username and their IP address. - + Right Stick R 스틱 - - - - + + Mouse panning + + + + + Configure + 설정 + + + + + + Clear 초기화 - - - - - + + + + + [not set] [설정 안 됨] - - + + + Invert button 버튼 반전 - - + + Toggle button 토글 버튼 - - + + Turbo button + 터보 버튼 + + + + Invert axis 축 뒤집기 - - - + + + Set threshold 임계값 설정 - - + + Choose a value between 0% and 100% 0%에서 100% 안의 값을 고르세요 - + Toggle axis axis 토글 - + Set gyro threshold 자이로 임계값 설정 - + + Calibrate sensor + 센서 보정 + + + Map Analog Stick 아날로그 스틱 맵핑 - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. OK 버튼을 누른 후에 먼저 조이스틱을 수평으로 움직이고, 그 다음 수직으로 움직이세요. 축을 뒤집으려면 수직으로 먼저 움직인 뒤에 수평으로 움직이세요. - + Center axis 중심축 - - + + Deadzone: %1% 데드존: %1% - - + + Modifier Range: %1% 수정자 범위: %1% - - + + Pro Controller 프로 컨트롤러 - + Dual Joycons 듀얼 조이콘 - + Left Joycon 왼쪽 조이콘 - + Right Joycon 오른쪽 조이콘 - + Handheld 휴대 모드 - + GameCube Controller GameCube 컨트롤러 - + Poke Ball Plus 몬스터볼 Plus - + NES Controller NES 컨트롤러 - + SNES Controller SNES 컨트롤러 - + N64 Controller N64 컨트롤러 - + Sega Genesis 세가 제네시스 - + Start / Pause 시작 / 일시중지 - + Z Z - + Control Stick 컨트롤 스틱 - + C-Stick C-Stick - + Shake! 흔드세요! - + [waiting] [대기중] - + New Profile 새 프로필 - + Enter a profile name: 프로필 이름을 입력하세요: - - + + Create Input Profile 입력 프로필 생성 - + The given profile name is not valid! 해당 프로필 이름은 사용할 수 없습니다! - + Failed to create the input profile "%1" "%1" 입력 프로필 생성 실패 - + Delete Input Profile 입력 프로필 삭제 - + Failed to delete the input profile "%1" "%1" 입력 프로필 삭제 실패 - + Load Input Profile 입력 프로필 불러오기 - + Failed to load the input profile "%1" "%1" 입력 프로필 불러오기 실패 - + Save Input Profile 입력 프로필 저장 - + Failed to save the input profile "%1" "%1" 입력 프로필 저장 실패 @@ -2789,7 +2978,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 설정 @@ -2825,7 +3014,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 테스트 @@ -2845,81 +3034,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">자세히 알아보기</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters 포트 번호에 유효하지 않은 글자가 있습니다. - + Port has to be in range 0 and 65353 포트 번호는 0부터 65353까지이어야 합니다. - + IP address is not valid IP 주소가 유효하지 않습니다. - + This UDP server already exists 해당 UDP 서버는 이미 존재합니다. - + Unable to add more than 8 servers 8개보다 많은 서버를 추가하실 수는 없습니다. - + Testing 테스트 중 - + Configuring 설정 중 - + Test Successful 테스트 성공 - + Successfully received data from the server. 서버에서 성공적으로 데이터를 받았습니다. - + Test Failed 테스트 실패 - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. 서버에서 유효한 데이터를 수신할 수 없습니다.<br>서버가 올바르게 설정되어 있고 주소와 포트가 올바른지 확인하십시오. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP 테스트와 교정 설정이 진행 중입니다.<br>끝날 때까지 기다려주세요. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + 활성화 + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + 기본값 + + ConfigureNetwork @@ -2996,47 +3260,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< 개발자 - + Add-Ons 부가 기능 - + General 일반 - + System 시스템 - + CPU CPU - + Graphics 그래픽 - + Adv. Graphics 고급 그래픽 - + Audio 오디오 - + Input Profiles - + 입력 프로파일 - + Properties 속성 @@ -3239,13 +3503,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - 이 컨트롤러를 사용하려면 이 컨트롤러가 제대로 감지될 수 있도록 게임을 시작하기 전에 플레이어 1을 오른쪽 컨트롤러로, 플레이어 2를 듀얼 조이콘으로 구성하십시오. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - 링 센서 매개변수 + Virtual Ring Sensor Parameters + 가상 링 센서 파라미터 @@ -3265,33 +3529,95 @@ UUID: %2 데드존: 0% - + + Direct Joycon Driver + 다이렉트 조이콘 드라이버 + + + + Enable Ring Input + 링 입력 활성화 + + + + + Enable + 활성화 + + + + Ring Sensor Value + 링 센서 값 + + + + + Not connected + 연결되지 않음 + + + Restore Defaults 기본값으로 초기화 - + Clear 초기화 - + [not set] [설정 안 됨] - + Invert axis 축 뒤집기 - - + + Deadzone: %1% 데드존: %1% - + + Error enabling ring input + 링 입력 활성화 오류 + + + + Direct Joycon driver is not enabled + 다이렉트 조이콘 드라이버가 활성화되지 않았음 + + + + Configuring + 설정 중 + + + + The current mapped device doesn't support the ring controller + 현재 매핑된 장치가 링 컨트롤러를 지원하지 않음 + + + + The current mapped device doesn't have a ring attached + 현재 매핑된 장치에 링이 연결되어 있지 않음 + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + 예기치 않은 드라이버 결과 %1 + + + [waiting] [대기중] @@ -3596,8 +3922,8 @@ UUID: %2 - English - 영어 (English) + American English + 미국 영어 @@ -3697,57 +4023,22 @@ UUID: %2 Device Name - + 장치 이름 - - Mono - 모노 + + Unsafe extended memory layout (8GB DRAM) + 안전하지 않은 확장 메모리 레이아웃 (8GB DRAM) - - Stereo - 스테레오 - - - - Surround - 서라운드 - - - - Console ID: - 콘솔 ID: - - - - Sound output mode - 소리 출력 모드: - - - - Regenerate - 재생성 - - - + System settings are available only when game is not running. 시스템 설정은 게임이 꺼져 있을 때만 수정 가능합니다. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - 현재 사용하는 가상 Switch를 새로운 가상 Switch로 교체 합니다. 기존의 가상 Switch는 복구가 불가능해집니다. 게임에 예상치 못한 영향을 끼칠 수도 있습니다. 오래된 게임 설정을 사용할 경우 실패할 수도 있습니다. 계속하시겠습니까? - - - - Warning - 경고 - - - - Console ID: 0x%1 - 콘솔 ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + 경고: "%1"은(는) 지역 "%2"에 유효한 언어가 아님 @@ -3816,7 +4107,7 @@ UUID: %2 TAS 설정 - + Select TAS Load Directory... TAS 로드 디렉토리 선택... @@ -4372,7 +4663,7 @@ Drag points to change position, or double-click table cells to edit values.컨트롤러 P1 - + &Controller P1 컨트롤러 P1(&C) @@ -4385,42 +4676,37 @@ Drag points to change position, or double-click table cells to edit values.직접 연결 - - IP Address - IP 주소 + + Server Address + 서버 주소 - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>호스트의 서버 주소</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>호스트의 IPv4 주소</p></body></html> - - - + Port 포트 - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>호스트가 수신 대기 중인 포트 번호</p></body></html> - + Nickname 별명 - + Password 비밀번호 - + Connect 연결 @@ -4428,12 +4714,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 연결중 - + Connect 연결 @@ -4441,926 +4727,901 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? yuzu를 개선하기 위해 <a href='https://yuzu-emu.org/help/feature/telemetry/'>익명 데이터가 수집됩니다.</a> <br/><br/>사용 데이터를 공유하시겠습니까? - + Telemetry 원격 측정 - + Broken Vulkan Installation Detected 망가진 Vulkan 설치 감지됨 - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. 부팅하는 동안 Vulkan 초기화에 실패했습니다.<br><br>문제 해결 지침을 보려면 <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>여기</a>를 클릭하세요. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... 웹 애플릿을 로드하는 중... - - + + Disable Web Applet 웹 애플릿 비활성화 - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) 웹 애플릿을 비활성화하면 정의되지 않은 동작이 발생할 수 있으며 Super Mario 3D All-Stars에서만 사용해야 합니다. 웹 애플릿을 비활성화하시겠습니까? (디버그 설정에서 다시 활성화할 수 있습니다.) - + The amount of shaders currently being built 현재 생성중인 셰이더의 양 - + The current selected resolution scaling multiplier. 현재 선택된 해상도 배율입니다. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. 현재 에뮬레이션 속도. 100%보다 높거나 낮은 값은 에뮬레이션이 Switch보다 빠르거나 느린 것을 나타냅니다. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. 게임이 현재 표시하고 있는 초당 프레임 수입니다. 이것은 게임마다 다르고 장면마다 다릅니다. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. 프레임 제한이나 수직 동기화를 계산하지 않고 Switch 프레임을 에뮬레이션 하는 데 걸린 시간. 최대 속도로 에뮬레이트 중일 때에는 대부분 16.67 ms 근처입니다. - + + Unmute + 음소거 해제 + + + + Mute + 음소거 + + + + Reset Volume + 볼륨 재설정 + + + &Clear Recent Files Clear Recent Files(&C) - + + Emulated mouse is enabled + 에뮬레이트 마우스 사용 + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + 실제 마우스 입력과 마우스 패닝은 호환되지 않습니다. 마우스 패닝을 허용하려면 입력 고급 설정에서 에뮬레이트 마우스를 비활성화하세요. + + + &Continue 재개(&C) - + &Pause 일시중지(&P) - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu가 게임을 실행중입니다 - - - + Warning Outdated Game Format 오래된 게임 포맷 경고 - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. 이 게임 파일은 '분해된 ROM 디렉토리'라는 오래된 포맷을 사용하고 있습니다. 해당 포맷은 NCA, NAX, XCI 또는 NSP와 같은 다른 포맷으로 대체되었으며 분해된 ROM 디렉토리에는 아이콘, 메타 데이터 및 업데이트가 지원되지 않습니다.<br><br>yuzu가 지원하는 다양한 Switch 포맷에 대한 설명은 <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>위키를 확인하세요.</a> 이 메시지는 다시 표시되지 않습니다. - - + + Error while loading ROM! ROM 로드 중 오류 발생! - + The ROM format is not supported. 지원되지 않는 롬 포맷입니다. - + An error occurred initializing the video core. 비디오 코어를 초기화하는 동안 오류가 발생했습니다. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. 비디오 코어를 실행하는 동안 yuzu에 오류가 발생했습니다. 이것은 일반적으로 통합 드라이버를 포함하여 오래된 GPU 드라이버로 인해 발생합니다. 자세한 내용은 로그를 참조하십시오. 로그 액세스에 대한 자세한 내용은 <a href='https://yuzu-emu.org/help/reference/log-files/'>로그 파일 업로드 방법</a> 페이지를 참조하세요. - + Error while loading ROM! %1 %1 signifies a numeric error code. ROM 불러오는 중 오류 발생! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>파일들을 다시 덤프하기 위해<a href='https://yuzu-emu.org/help/quickstart/'>yuzu 빠른 시작 가이드</a> 를 따라주세요.<br>도움이 필요할 시 yuzu 위키</a> 를 참고하거나 yuzu 디스코드</a> 를 이용해보세요. - + An unknown error occurred. Please see the log for more details. 알 수 없는 오류가 발생했습니다. 자세한 내용은 로그를 참고하십시오. - + (64-bit) (64비트) - + (32-bit) (32비트) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + 소프트웨어를 닫는 중... - + Save Data 세이브 데이터 - + Mod Data 모드 데이터 - + Error Opening %1 Folder %1 폴더 열기 오류 - - + + Folder does not exist! 폴더가 존재하지 않습니다! - + Error Opening Transferable Shader Cache 전송 가능한 셰이더 캐시 열기 오류 - + Failed to create the shader cache directory for this title. 이 타이틀에 대한 셰이더 캐시 디렉토리를 생성하지 못했습니다. - + Error Removing Contents 콘텐츠 제거 중 오류 발생 - + Error Removing Update 업데이트 제거 오류 - + Error Removing DLC DLC 제거 오류 - + Remove Installed Game Contents? 설치된 게임 콘텐츠를 제거하겠습니까? - + Remove Installed Game Update? 설치된 게임 업데이트를 제거하겠습니까? - + Remove Installed Game DLC? 설치된 게임 DLC를 제거하겠습니까? - + Remove Entry 항목 제거 - - - - - - + + + + + + Successfully Removed 삭제 완료 - + Successfully removed the installed base game. 설치된 기본 게임을 성공적으로 제거했습니다. - + The base game is not installed in the NAND and cannot be removed. 기본 게임은 NAND에 설치되어 있지 않으며 제거 할 수 없습니다. - + Successfully removed the installed update. 설치된 업데이트를 성공적으로 제거했습니다. - + There is no update installed for this title. 이 타이틀에 대해 설치된 업데이트가 없습니다. - + There are no DLC installed for this title. 이 타이틀에 설치된 DLC가 없습니다. - + Successfully removed %1 installed DLC. 설치된 %1 DLC를 성공적으로 제거했습니다. - + Delete OpenGL Transferable Shader Cache? OpenGL 전송 가능한 셰이더 캐시를 삭제하시겠습니까? - + Delete Vulkan Transferable Shader Cache? Vulkan 전송 가능한 셰이더 캐시를 삭제하시겠습니까? - + Delete All Transferable Shader Caches? 모든 전송 가능한 셰이더 캐시를 삭제하시겠습니까? - + Remove Custom Game Configuration? 사용자 지정 게임 구성을 제거 하시겠습니까? - + + Remove Cache Storage? + 캐시 저장소를 제거하겠습니까? + + + Remove File 파일 제거 - - + + Error Removing Transferable Shader Cache 전송 가능한 셰이더 캐시 제거 오류 - - + + A shader cache for this title does not exist. 이 타이틀에 대한 셰이더 캐시가 존재하지 않습니다. - + Successfully removed the transferable shader cache. 전송 가능한 셰이더 캐시를 성공적으로 제거했습니다. - + Failed to remove the transferable shader cache. 전송 가능한 셰이더 캐시를 제거하지 못했습니다. - - + + Error Removing Vulkan Driver Pipeline Cache + Vulkan 드라이버 파이프라인 캐시 제거 오류 + + + + Failed to remove the driver pipeline cache. + 드라이버 파이프라인 캐시를 제거하지 못했습니다. + + + + Error Removing Transferable Shader Caches 전송 가능한 셰이더 캐시 제거 오류 - + Successfully removed the transferable shader caches. 전송 가능한 셰이더 캐시를 성공적으로 제거했습니다. - + Failed to remove the transferable shader cache directory. 전송 가능한 셰이더 캐시 디렉토리를 제거하지 못했습니다. - - + + Error Removing Custom Configuration 사용자 지정 구성 제거 오류 - + A custom configuration for this title does not exist. 이 타이틀에 대한 사용자 지정 구성이 존재하지 않습니다. - + Successfully removed the custom game configuration. 사용자 지정 게임 구성을 성공적으로 제거했습니다. - + Failed to remove the custom game configuration. 사용자 지정 게임 구성을 제거하지 못했습니다. - - + + RomFS Extraction Failed! RomFS 추출 실패! - + There was an error copying the RomFS files or the user cancelled the operation. RomFS 파일을 복사하는 중에 오류가 발생했거나 사용자가 작업을 취소했습니다. - + Full 전체 - + Skeleton 뼈대 - + Select RomFS Dump Mode RomFS 덤프 모드 선택 - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. RomFS 덤프 방법을 선택하십시오.<br>전체는 모든 파일을 새 디렉토리에 복사하고<br>뼈대는 디렉토리 구조 만 생성합니다. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root %1에 RomFS를 추출하기에 충분한 여유 공간이 없습니다. 공간을 확보하거나 에뮬레이견 > 설정 > 시스템 > 파일시스템 > 덤프 경로에서 다른 덤프 디렉토리를 선택하십시오. - + Extracting RomFS... RomFS 추출 중... - - + + Cancel 취소 - + RomFS Extraction Succeeded! RomFS 추출이 성공했습니다! - + The operation completed successfully. 작업이 성공적으로 완료되었습니다. - - - - - + + + + + Create Shortcut - + 바로가기 만들기 - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + 현재 AppImage에 대한 바로 가기가 생성됩니다. 업데이트하면 제대로 작동하지 않을 수 있습니다. 계속합니까? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + 바탕 화면에 바로가기를 만들 수 없습니다. 경로 "%1"이(가) 존재하지 않습니다. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + 애플리케이션 메뉴에서 바로가기를 만들 수 없습니다. 경로 "%1"이(가) 존재하지 않으며 생성할 수 없습니다. - + Create Icon - + 아이콘 만들기 - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + 아이콘 파일을 만들 수 없습니다. 경로 "%1"이(가) 존재하지 않으며 생성할 수 없습니다. - + Start %1 with the yuzu Emulator - + yuzu 에뮬레이터로 %1 시작 - + Failed to create a shortcut at %1 - + %1에서 바로가기를 만들기 실패 - + Successfully created a shortcut to %1 - + %1 바로가기를 성공적으로 만듬 - + Error Opening %1 %1 열기 오류 - + Select Directory 경로 선택 - + Properties 속성 - + The game properties could not be loaded. 게임 속성을 로드 할 수 없습니다. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch 실행파일 (%1);;모든 파일 (*.*) - + Load File 파일 로드 - + Open Extracted ROM Directory 추출된 ROM 디렉토리 열기 - + Invalid Directory Selected 잘못된 디렉토리 선택 - + The directory you have selected does not contain a 'main' file. 선택한 디렉토리에 'main'파일이 없습니다. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) 설치 가능한 Switch 파일 (*.nca *.nsp *.xci);;Nintendo 컨텐츠 아카이브 (*.nca);;Nintendo 서브미션 패키지 (*.nsp);;NX 카트리지 이미지 (*.xci) - + Install Files 파일 설치 - + %n file(s) remaining %n개의 파일이 남음 - + Installing file "%1"... 파일 "%1" 설치 중... - - + + Install Results 설치 결과 - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. 충돌을 피하기 위해, 낸드에 베이스 게임을 설치하는 것을 권장하지 않습니다. 이 기능은 업데이트나 DLC를 설치할 때에만 사용해주세요. - + %n file(s) were newly installed %n개의 파일이 새로 설치되었습니다. - + %n file(s) were overwritten %n개의 파일을 덮어썼습니다. - + %n file(s) failed to install %n개의 파일을 설치하지 못했습니다. - + System Application 시스템 애플리케이션 - + System Archive 시스템 아카이브 - + System Application Update 시스템 애플리케이션 업데이트 - + Firmware Package (Type A) 펌웨어 패키지 (A타입) - + Firmware Package (Type B) 펌웨어 패키지 (B타입) - + Game 게임 - + Game Update 게임 업데이트 - + Game DLC 게임 DLC - + Delta Title 델타 타이틀 - + Select NCA Install Type... NCA 설치 유형 선택... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) 이 NCA를 설치할 타이틀 유형을 선택하세요: (대부분의 경우 기본값인 '게임'이 괜찮습니다.) - + Failed to Install 설치 실패 - + The title type you selected for the NCA is invalid. NCA 타이틀 유형이 유효하지 않습니다. - + File not found 파일을 찾을 수 없음 - + File "%1" not found 파일 "%1"을 찾을 수 없습니다 - + OK OK - - + + Hardware requirements not met 하드웨어 요구 사항이 충족되지 않음 - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. 시스템이 권장 하드웨어 요구 사항을 충족하지 않습니다. 호환성 보고가 비활성화되었습니다. - + Missing yuzu Account yuzu 계정 누락 - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. 게임 호환성 테스트 결과를 제출하려면 yuzu 계정을 연결해야합니다.<br><br/>yuzu 계정을 연결하려면 에뮬레이션 &gt; 설정 &gt; 웹으로 가세요. - + Error opening URL URL 열기 오류 - + Unable to open the URL "%1". URL "%1"을 열 수 없습니다. - + TAS Recording TAS 레코딩 - + Overwrite file of player 1? 플레이어 1의 파일을 덮어쓰시겠습니까? - + Invalid config detected 유효하지 않은 설정 감지 - + Handheld controller can't be used on docked mode. Pro controller will be selected. 휴대 모드용 컨트롤러는 거치 모드에서 사용할 수 없습니다. 프로 컨트롤러로 대신 선택됩니다. - - + + Amiibo Amiibo - - + + The current amiibo has been removed 현재 amiibo가 제거되었습니다. - + Error 오류 - - + + The current game is not looking for amiibos 현재 게임은 amiibo를 찾고 있지 않습니다 - + Amiibo File (%1);; All Files (*.*) Amiibo 파일 (%1);; 모든 파일 (*.*) - + Load Amiibo Amiibo 로드 - + Error loading Amiibo data Amiibo 데이터 로드 오류 - + The selected file is not a valid amiibo 선택한 파일은 유효한 amiibo가 아닙니다 - + The selected file is already on use 선택한 파일은 이미 사용 중입니다 - + An unknown error occurred 알수없는 오류가 발생했습니다 - + Capture Screenshot 스크린샷 캡처 - + PNG Image (*.png) PNG 이미지 (*.png) - + TAS state: Running %1/%2 TAS 상태: %1/%2 실행 중 - + TAS state: Recording %1 TAS 상태: 레코딩 %1 - + TAS state: Idle %1/%2 TAS 상태: 유휴 %1/%2 - + TAS State: Invalid TAS 상태: 유효하지 않음 - + &Stop Running 실행 중지(&S) - + &Start 시작(&S) - + Stop R&ecording 레코딩 중지(&e) - + R&ecord 레코드(&R) - + Building: %n shader(s) 빌드중: %n개 셰이더 - + Scale: %1x %1 is the resolution scaling factor 스케일: %1x - + Speed: %1% / %2% 속도: %1% / %2% - + Speed: %1% 속도: %1% - + Game: %1 FPS (Unlocked) 게임: %1 FPS (제한없음) - + Game: %1 FPS 게임: %1 FPS - + Frame: %1 ms 프레임: %1 ms - - GPU NORMAL - GPU 보통 + + %1 %2 + %1 %2 - - GPU HIGH - GPU 높음 - - - - GPU EXTREME - GPU 굉장함 - - - - GPU ERROR - GPU 오류 - - - - DOCKED - 거치 모드 - - - - HANDHELD - 휴대 모드 - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NEAREST - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICUBIC - - - - GAUSSIAN - GAUSSIAN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA AA 없음 - - FXAA - FXAA + + VOLUME: MUTE + 볼륨: 음소거 - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + 볼륨: %1% - + Confirm Key Rederivation 키 재생성 확인 - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5377,37 +5638,37 @@ This will delete your autogenerated key files and re-run the key derivation modu 자동 생성되었던 키 파일들이 삭제되고 키 생성 모듈이 다시 실행됩니다. - + Missing fuses fuses 누락 - + - Missing BOOT0 - BOOT0 누락 - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main 누락 - + - Missing PRODINFO - PRODINFO 누락 - + Derivation Components Missing 파생 구성 요소 누락 - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> 암호화 키가 없습니다. <br>모든 키, 펌웨어 및 게임을 얻으려면 <a href='https://yuzu-emu.org/help/quickstart/'>yuzu 빠른 시작 가이드</a>를 따르세요.<br><br> <small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5416,39 +5677,49 @@ on your system's performance. 소요될 수 있습니다. - + Deriving Keys 파생 키 - + + System Archive Decryption Failed + 시스템 아카이브 암호 해독 실패 + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + 암호화 키가 펌웨어를 해독하지 못했습니다. <br> 모든 키, 펌웨어 및 게임을 받으려면<a href='https://yuzu-emu.org/help/quickstart/'> Yuzu 빠른 시작 가이드 </a>를 따르세요. + + + Select RomFS Dump Target RomFS 덤프 대상 선택 - + Please select which RomFS you would like to dump. 덤프할 RomFS를 선택하십시오. - + Are you sure you want to close yuzu? yuzu를 닫으시겠습니까? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. 에뮬레이션을 중지하시겠습니까? 모든 저장되지 않은 진행 상황은 사라집니다. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5456,6 +5727,101 @@ Would you like to bypass this and exit anyway? 이를 무시하고 나가시겠습니까? + + + None + 없음 + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + 가장 가까운 + + + + Bilinear + 이중선형 + + + + Bicubic + 고등차수보간 + + + + Gaussian + 가우시안 + + + + ScaleForce + 스케일포스 + + + + Docked + 거치 모드 + + + + Handheld + 휴대 모드 + + + + Normal + 보통 + + + + High + 높음 + + + + Extreme + 익스트림 + + + + Vulkan + 불칸 + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5468,7 +5834,7 @@ Would you like to bypass this and exit anyway? OpenGL shared contexts are not supported. - + OpenGL 공유 컨텍스트는 지원되지 않습니다. @@ -5556,117 +5922,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + 캐시 스토리지 제거 + + + Remove OpenGL Pipeline Cache OpenGL 파이프라인 캐시 제거 - + Remove Vulkan Pipeline Cache Vulkan 파이프라인 캐시 제거 - + Remove All Pipeline Caches 모든 파이프라인 캐시 제거 - + Remove All Installed Contents 설치된 모든 컨텐츠 제거 - + Dump RomFS RomFS를 덤프 - + Dump RomFS to SDMC RomFS를 SDMC로 덤프 - + Copy Title ID to Clipboard 클립보드에 타이틀 ID 복사 - + Navigate to GameDB entry GameDB 항목으로 이동 - - - Create Shortcut - - + Create Shortcut + 바로가기 만들기 + + + Add to Desktop - + 데스크톱에 추가 - + Add to Applications Menu - + 애플리케이션 메뉴에 추가 - + Properties 속성 - + Scan Subfolders 하위 폴더 스캔 - + Remove Game Directory 게임 디렉토리 제거 - + ▲ Move Up ▲ 위로 이동 - + ▼ Move Down ▼ 아래로 이동 - + Open Directory Location 디렉토리 위치 열기 - + Clear 초기화 - + Name 이름 - + Compatibility 호환성 - + Add-ons 부가 기능 - + File type 파일 형식 - + Size 크기 @@ -5737,7 +6108,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 더블 클릭하여 게임 목록에 새 폴더 추가 @@ -5750,12 +6121,12 @@ Would you like to bypass this and exit anyway? %1 중의 %n 결과 - + Filter: 필터: - + Enter pattern to filter 검색 필터 입력 @@ -5846,138 +6217,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute 오디오 음소거/음소거 해제 - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window 메인 윈도우 - + Audio Volume Down 오디오 볼륨 낮추기 - + Audio Volume Up 오디오 볼륨 키우기 - + Capture Screenshot 스크린샷 캡처 - + Change Adapting Filter 적응형 필터 변경 - + Change Docked Mode 독 모드 변경 - + Change GPU Accuracy GPU 정확성 변경 - + Continue/Pause Emulation 재개/에뮬레이션 일시중지 - + Exit Fullscreen 전체화면 종료 - + Exit yuzu yuzu 종료 - + Fullscreen 전체화면 - + Load File 파일 로드 - + Load/Remove Amiibo Amiibo 로드/제거 - + Restart Emulation 에뮬레이션 재시작 - + Stop Emulation 에뮬레이션 중단 - + TAS Record TAS 기록 - + TAS Reset TAS 리셋 - + TAS Start/Stop TAS 시작/멈춤 - + Toggle Filter Bar 상태 표시줄 전환 - + Toggle Framerate Limit 프레임속도 제한 토글 - + Toggle Mouse Panning 마우스 패닝 활성화 - + Toggle Status Bar 상태 표시줄 전환 @@ -6000,7 +6371,7 @@ Debug Message: 설치 - + Install Files to NAND NAND에 파일 설치 @@ -6008,7 +6379,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 텍스트는 다음 문자를 포함할 수 없습니다: @@ -6083,51 +6454,56 @@ Debug Message: + Hide Empty Rooms + 빈 방 숨기기 + + + Hide Full Rooms 전체 방 숨기기 - + Refresh Lobby 로비 새로 고침 - + Password Required to Join 입장시 비밀번호가 필요합니다 - + Password: 비밀번호: - + Players 플레이어 - + Room Name 방 이름 - + Preferred Game 선호하는 게임 - + Host 호스트 - + Refreshing 새로 고치는 중 - + Refresh List 새로 고침 목록 @@ -6665,7 +7041,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 시작/일시중지 @@ -6714,31 +7090,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [설정 안 됨] @@ -6749,14 +7125,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 축 %1%2 @@ -6767,264 +7143,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [알 수 없음] - - - + + + Left 왼쪽 - - - + + + Right 오른쪽 - - - + + + Down 아래 - - - + + + Up - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle 동그라미 - - + + Cross 엑스 - - + + Square 네모 - - + + Triangle 세모 - - + + Share Share - - + + Options Options - - + + [undefined] [설정안됨] - + %1%2 %1%2 - - + + [invalid] [유효하지않음] - - - - + + %1%2Hat %3 %1%2방향키 %3 - - - - - - + + + + %1%2Axis %3 %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 %1%2모션 %3 - - - - + + %1%2Button %3 %1%2버튼 %3 - - + + [unused] [미사용] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + L 스틱 + + + + Stick R + R 스틱 + + + + Plus + Plus + + + + Minus + Minus + + + + Home - + + Capture + 캡쳐 + + + Touch 터치 - + Wheel Indicates the mouse wheel - + Backward 뒤로가기 - + Forward 앞으로가기 - + Task Task - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3방향키%4 + + + + + %1%2%3Axis %4 + %1%2%3Axis %4 + + + + + %1%2%3Button %4 + %1%2%3버튼%4 @@ -7393,28 +7827,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) 에러 코드: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. 오류가 발생했습니다. 다시 시도해 보시거나 해당 소프트웨어 개발자에게 연락하십시오. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. %2에서 %1에 대한 오류가 발생했습니다. 다시 시도해 보시거나 해당 소프트웨어 개발자에게 문의 하십시오. - + An error has occurred. %1 @@ -7438,20 +7872,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - 사용자를 선택하세요: - - - + Users 사용자 - + + Profile Creator + 프로필 생성기 + + + + Profile Selector 프로필 선택 + + + Profile Icon Editor + 프로필 아이콘 에디터 + + + + Profile Nickname Editor + 프로필 이름 에디터 + + + + Who will receive the points? + 누가 포인트를 받을까요? + + + + Who is using Nintendo eShop? + 누가 Nintendo eShop을 사용하고 있습니까? + + + + Who is making this purchase? + 누가 이 구매를 하고 있습니까? + + + + Who is posting? + 누가 게시하고 있습니까? + + + + Select a user to link to a Nintendo Account. + Nintendo 계정에 연결할 사용자를 선택하십시오. + + + + Change settings for which user? + 어떤 사용자의 설정을 변경하시겠습니까? + + + + Format data for which user? + 어떤 사용자의 데이터를 포맷하시겠습니까? + + + + Which user will be transferred to another console? + 어떤 사용자가 다른 본체로 이전되나요? + + + + Send save data for which user? + 어떤 사용자의 저장 데이터를 보내시겠습니까? + + + + Select a user: + 사용자를 선택하세요: + QtSoftwareKeyboardDialog @@ -7501,51 +7996,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack 콜 스택 - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - 뮤텍스 0x%1을 기다립니다 - - - - has waiters: %1 - 대기: %1 - - - - owner handle: 0x%1 - 소유자 핸들: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - 모든 개체를 기다립니다 - - - - waiting for one of the following objects - 다음 개체 중 하나를 기다리는 중입니다 - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread 스레드를 기다리고 있지 않습니다 @@ -7553,120 +8017,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable 실행 가능 - + paused 일시중지 - + sleeping 수면중 - + waiting for IPC reply IPC 회신을 기다립니다 - + waiting for objects 개체를 기다립니다 - + waiting for condition variable 조건 변수를 기다립니다 - + waiting for address arbiter 주소 결정인을 기다립니다 - + waiting for suspend resume 보류 재개를 기다리는 중 - + waiting 기다리는 중 - + initialized 초기화됨 - + terminated 종료됨 - + unknown 알 수 없음 - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal 이상적 - + core %1 코어 %1 - + processor = %1 프로세서 = %1 - - ideal core = %1 - 이상적인 코어 = %1 - - - + affinity mask = %1 선호도 마스크 = %1 - + thread id = %1 스레드 아이디 = %1 - + priority = %1(current) / %2(normal) 우선순위 = %1(현재) / %2(일반) - + last running ticks = %1 마지막 실행 틱 = %1 - - - not waiting for mutex - 뮤텍스를 기다리지 않음 - WaitTreeThreadList - + waited by thread 스레드에서 기다림 @@ -7674,7 +8128,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree 대기 트리(&W) diff --git a/dist/languages/nb.ts b/dist/languages/nb.ts index 105fab761..6e86588f6 100644 --- a/dist/languages/nb.ts +++ b/dist/languages/nb.ts @@ -25,12 +25,18 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu er en eksperimentell åpen kildekode emulator til Nintendo Switch lisensiert under GPLv3.0+.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Denne programvaren skal ikke brukes til å spille spill du ikke eier lovlig.</span></p></body></html> <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Website</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Source Code</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Contributors</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">License</span></a></p></body></html> - + <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Nettside</span></a>|<a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Kildekode</span></a>|<a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Bidragsytere</span></a>|<a href="https://github.com/yuzu-emu/yuzu/blob/master/license.txt"><span style=" text-decoration: underline; color:#039be5;">Lisens</span></a></p></body></html> @@ -76,95 +82,97 @@ p, li { white-space: pre-wrap; } Room Window - + Rom Vindu Send Chat Message - + Send Chat Melding Send Message - + Send Melding Members - + Medlemmer %1 has joined - + %1 ble med %1 has left - + %1 har forlatt %1 has been kicked - + %1 har blitt sparket %1 has been banned - + %1 har blitt utestengt %1 has been unbanned - + %1 har fått opphevet utestengelsen View Profile - + Vis Profil Block Player - + Blokker Spiller When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Når du blokkerer en spiller vil du ikke lengere kunne motta chat meldinger fra dem.<br><br>Er du sikker på at du vil blokkere %1? Kick - + Spark ut Ban - + Bannlys Kick Player - + Spark Ut Spiller Are you sure you would like to <b>kick</b> %1? - + Er du sikker på at du vil <b>spake ut</b> %1? Ban Player - + Bannlys Spiller Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Er du sikker på at du vil <b>sparke ut og bannlyse</b> %1? + +Dette vil bannlyse både deres forum brukernavn og deres IP adresse. @@ -172,22 +180,22 @@ This would ban both their forum username and their IP address. Room Window - + Rom Vindu Room Description - + Rom Beskrivelse Moderation... - + Moderasjon... Leave Room - + Forlat Rommet @@ -200,12 +208,12 @@ This would ban both their forum username and their IP address. Disconnected - + Frakoblet %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 medlemmer) - tilkoblet @@ -234,102 +242,102 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Starter spillet?</p></body></html> Yes The game starts to output video or audio - + Ja Spillet begynner å sende ut video eller lyd No The game doesn't get past the "Launching..." screen - + Nei Spillet kommer ikke forbi "Starter..." skjermen Yes The game gets past the intro/menu and into gameplay - + Ja Spillet kommer forbi introen/menyen og inn i spillet No The game crashes or freezes while loading or using the menu - + Nei Spillet kræsjer eller fryser mens den laster eller mens man bruker menyen <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Kommer spillet til spillingen?</p></body></html> Yes The game works without crashes - + Ja Spillet fungerer uten noen kræsj No The game crashes or freezes during gameplay - + Nei Spillet kræsjer eller fryser under spilling <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Fungerer spillet uten å kræsje, fryse eller låse seg under spilling?</p></body></html> Yes The game can be finished without any workarounds - + Ja Spillet kan bli fullført uten noen omveier No The game can't progress past a certain area - + Nei Spillet kommer ikke forbi et vist punkt <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Er spillet fullstendig spillbart fra start til slutt?</p></body></html> Major The game has major graphical errors - + Større Spillet har større grafiske problemer Minor The game has minor graphical errors - + Mindre Spillet har mindre grafiske problemer None Everything is rendered as it looks on the Nintendo Switch - + Ingen Alt er gjengitt slik det ser ut på Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Har spillet noen grafiske glicher?</p></body></html> Major The game has major audio errors - + Større Spillet har større lydproblemer Minor The game has minor audio errors - + Mindre Spillet har mindre lydproblemer None Audio is played perfectly - + Ingen Lyden spilles av perfekt <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Har spillet noen glicher med lyd / manglende effekter?</p></body></html> @@ -372,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - + Output Device: + Utgangsenhet: - Input Device - Inndataenhet + Input Device: + Inngangsenhet: - + + Sound Output Mode: + Lydutgangsmodus: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Bruk globalt volum - + Set volume: Sett volum: - + Volume: Volum: - + 0 % 0 % - + + Mute audio when in background + Demp lyden når yuzu kjører i bakgrunnen + + + %1% Volume percentage (e.g. 50%) %1% @@ -412,37 +445,37 @@ This would ban both their forum username and their IP address. Configure Infrared Camera - + Konfigurer Infrarødt Kamera Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - + Velg hvor bildet for the emulerte kameraet kommer fra. Det kan være et virituelt kamera eller et ekte kamera. Camera Image Source: - + Kilde For Kamerabilde Input device: - + Inngangsenhet: Preview - + Forhåndsvisning Resolution: 320*240 - + Oppløsning: 320*240 Click to preview - + Klikk for å forhåndsvise @@ -495,7 +528,7 @@ This would ban both their forum username and their IP address. Paranoid (disables most optimizations) - + Paranoid (deaktiverer de fleste optimaliseringer) @@ -594,7 +627,7 @@ This would ban both their forum username and their IP address. Ignore global monitor - + Ignorer global overvåkning @@ -622,7 +655,7 @@ This would ban both their forum username and their IP address. <html><head/><body><p><span style=" font-weight:600;">For debugging only.</span><br/>If you're not sure what these do, keep all of these enabled. <br/>These settings, when disabled, only take effect when CPU Debugging is enabled. </p></body></html> - + <html><head/><body><p><span style=" font-weight:600;">Kun for feilsøking.</span><br/>Hvis du ikke vet hva disse gjør, behold alle disse aktivert. <br/>Disse innstillingene, når deaktivert, Trer bare i kraft når CPU feilsøking er aktivert. </p></body></html> @@ -631,72 +664,86 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it inlines accesses to PageTable::pointers into emitted code.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.</div> - + + <div style="white-space: nowrap">Denne optimaliseringen gir raskere minnetilgang for gjesteprogrammet.</div> + <div style="white-space: nowrap">Ved å aktivere den innbygger tilgang til PageTable::pointere i utstedt kode.</div> + <div style="white-space: nowrap">Deaktivering av dette tvinger alle minnetilganger til å gå gjennom funksjonene Memory::Read/Memory::Write.</div> + Enable inline page tables - + Aktiver innebygde sidetabeller <div>This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.</div> - + + <div>Denne optimaliseringen unngår dispatcher-oppslag ved å la utsendte grunnblokker hoppe direkte til andre grunnblokker hvis destinasjons-PC-en er statisk.</div> + Enable block linking - + Aktiver kobling av blokker <div>This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.</div> - + + <div>Denne optimaliseringen unngår dispatcher-oppslag ved å holde oversikt over potensielle returadresser for BL-instruksjoner. Dette er tilnærmet hva som skjer med en returbuffer på en ekte CPU.</div> + Enable return stack buffer - + Aktiver returstabelbuffer <div>Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.</div> - + + <div>Aktiver et todelt utsendingssystem. En raskere utsender skrevet i assembly har en liten MRU-cache med hoppdestinasjoner som brukes først. Hvis det mislykkes, faller utsendelsen tilbake til den tregere C++ utsenderen.</div> + Enable fast dispatcher - + Aktiver rask avsender <div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div> - + + <div>Muliggjør en IR-optimalisering som reduserer unødvendige tilganger til CPU-kontekststrukturen.</div> + Enable context elimination - + Aktiver Konteksteliminering <div>Enables IR optimizations that involve constant propagation.</div> - + + <div>Muliggjør IR-optimaliseringer som innebærer konstant utbredelse.</div> + Enable constant propagation - + Aktiver konstant utbredelse @@ -718,12 +765,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">When enabled, a misalignment is only triggered when an access crosses a page boundary.</div> <div style="white-space: nowrap">When disabled, a misalignment is triggered on all misaligned accesses.</div> - + + <div style="white-space: nowrap">Når dette er aktivert, utløses en feiljustering bare når en tilgang krysser en sidegrense.</div> + <div style="white-space: nowrap">Når dette er deaktivert, utløses en feiljustering på alle feiljusterte tilganger.</div> + Enable misalignment check reduction - + Aktiver reduksjon av feiljusteringskontroll @@ -783,12 +833,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Denne optimaliseringen gir raskere minnetilgang ved å la ugyldige minnetilganger lykkes.</div> + <div style="white-space: nowrap">Aktivering av det reduserer overhead for alle minnetilganger og har ingen innvirkning på programmer som ikke har tilgang til ugyldig minne.</div> + Enable fallbacks for invalid memory accesses - + Aktiver tilbakefall for ugyldige minnetilganger @@ -801,7 +854,7 @@ This would ban both their forum username and their IP address. Debugger - + Feilsøker @@ -871,162 +924,172 @@ This would ban both their forum username and their IP address. When checked, it enables Nsight Aftermath crash dumps - + Når avhuket, aktiverer Nsight Aftermath kræsjdumper Enable Nsight Aftermath - + Aktiver Nsight Aftermath When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Når det er merket av, vil det dumpe alle de originale assembler shaders fra disk shader cache eller spillet som funnet Dump Game Shaders - + Dump Spill Shadere When checked, it will dump all the macro programs of the GPU - + Når det er merket av, vil det dumpe alle makroprogrammene til GPUen Dump Maxwell Macros - + Dump Maxwell Makroer When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - + Når den er merket av, deaktiverer den makrokompilatoren Just In Time. Aktivering av dette gjør at spill kjører saktere Disable Macro JIT - - - - - When checked, yuzu will log statistics about the compiled pipeline cache - + Deaktiver Macro JIT + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Når det er merket av, deaktiverer det makro HLE-funksjonene. Aktivering av dette gjør at spillene kjører saktere + + + + Disable Macro HLE + Deaktiver Macro HLE + + + + When checked, yuzu will log statistics about the compiled pipeline cache + Når det er merket av, vil yuzu logge statistikk om den kompilerte rørledningsbufferen + + + Enable Shader Feedback Slå på shader-tilbakemelding - + When checked, it executes shaders without loop logic changes Når dette er på kjører shader-e uten endring i løkkelogikk - + Disable Loop safety checks - + Deaktive Loop sikkerhetssjekker - + Debugging Feilsøking - + Enable Verbose Reporting Services** - + Aktiver Verbose Reporting Services** - + Enable FS Access Log - + Aktiver FS Tilgangs Logg - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Aktiver dette for å sende den siste genererte lydkommandolisten til konsollen. Påvirker bare spill som bruker lydrenderen. - + Dump Audio Commands To Console** - + Dump Lydkommandoer Til Konsollen** - + Create Minidump After Crash - + Lag Minidump Etter Kræsj - + Advanced Avansert - + Kiosk (Quest) Mode - + Kiosk (Quest) Modus - + Enable CPU Debugging Slå på prosessorfeilsøking - + Enable Debug Asserts - + Aktiver Feilsøkingsoppgaver - + Enable Auto-Stub** - + Aktiver Auto-Stub** - + Enable All Controller Types - + Aktiver Alle Kontrollertyper - + Disable Web Applet Slå av web-applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Gjør det mulig for yuzu å se etter et fungerende Vulkan-miljø når programmet starter opp. Deaktiver dette hvis dette forårsaker problemer ved at eksterne programmer ser yuzu. - + Perform Startup Vulkan Check - + Utfør Vulkan-Sjekk Ved Oppstart - + **This will be reset automatically when yuzu closes. **Dette blir automatisk tilbakestilt når yuzu lukkes. Restart Required - + Omstart Nødvendig yuzu is required to restart in order to apply this setting. - + yuzu må startes på nytt for å bruke denne innstillingen. - + Web applet not compiled - + Web-applet ikke kompilert - + MiniDump creation not compiled - + MiniDump-opprettelse ikke kompilert @@ -1074,78 +1137,78 @@ This would ban both their forum username and their IP address. yuzu Konfigurasjon - - + + Audio Lyd - - + + CPU CPU - + Debug Feilsøk - + Filesystem Filsystem - - + + General Generelt - - + + Graphics Grafikk - + GraphicsAdvanced - + AvnsertGrafikk - + Hotkeys Hurtigtaster - - + + Controls Kontrollere - + Profiles Profiler - + Network Nettverk - - + + System System - + Game List Spill Liste - + Web Nett @@ -1224,7 +1287,7 @@ This would ban both their forum username and their IP address. Mod Load Root - + Modifikasjonlastingsopprinnelsen @@ -1239,7 +1302,7 @@ This would ban both their forum username and their IP address. Cache Game List Metadata - + Mellomlagre Spillistens Metadata @@ -1247,7 +1310,7 @@ This would ban both their forum username and their IP address. Reset Metadata Cache - + Tilbakestill Mellomlagringen for Metadata @@ -1267,7 +1330,7 @@ This would ban both their forum username and their IP address. Select Dump Directory... - + Velg Dump-Katalog @@ -1277,7 +1340,7 @@ This would ban both their forum username and their IP address. The metadata cache is already empty. - + Mellomlagringen for metadata er allerede tom. @@ -1287,7 +1350,7 @@ This would ban both their forum username and their IP address. The metadata cache couldn't be deleted. It might be in use or non-existent. - + Mellomlagringen for metadata kunne ikke slettes. Den kan være i bruk eller ikke-eksisterende. @@ -1320,46 +1383,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - Utvidet minneutforming (6GB DRAM) - - - Confirm exit while emulation is running Bekreft lukking mens emuleringen kjører - + Prompt for user on game boot Spør om bruker når et spill starter - + Pause emulation when in background Paus emulering når yuzu kjører i bakgrunnen - - Mute audio when in background - Demp lyden når yuzu kjører i bakgrunnen - - - + Hide mouse on inactivity Gjem mus under inaktivitet - + + Disable controller applet + Deaktiver kontroller-appleten + + + Reset All Settings Tilbakestill alle innstillinger - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Dette tilbakestiller alle innstillinger og fjerner alle spillinnstillinger. Spillmapper, profiler og inndataprofiler blir ikke slettet. Fortsett? @@ -1398,7 +1456,7 @@ This would ban both their forum username and their IP address. - + None Ingen @@ -1410,7 +1468,7 @@ This would ban both their forum username and their IP address. Use disk pipeline cache - + Bruk diskens rørledningsmellomlagring @@ -1424,216 +1482,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + VSync Modus: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) slipper ikke bilder eller viser tearing, men er begrenset av skjermoppdateringsfrekvensen. +FIFO Relaxed ligner på FIFO, men tillater riving etter hvert som den kommer seg etter en oppbremsing. +Mailbox kan ha lavere ventetid enn FIFO og river ikke, men kan slippe rammer. +Umiddelbar (ingen synkronisering) presenterer bare det som er tilgjengelig og kan vise riving. + + + NVDEC emulation: NVDEC-emulering: - + No Video Output Ingen videoutdata - + CPU Video Decoding Prosessorvideodekoding - + GPU Video Decoding (Default) GPU-videodekoding (standard) - + Fullscreen Mode: Fullskjermmodus: - + Borderless Windowed Rammeløst vindu - + Exclusive Fullscreen Eksklusiv fullskjerm - + Aspect Ratio: Størrelsesforhold: - + Default (16:9) Standard (16:9) - + Force 4:3 Tving 4:3 - + Force 21:9 Tving 21:9 - + Force 16:10 - + Tving 16:10 - + Stretch to Window Strekk til Vindu - + Resolution: Oppløsning: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EKSPERIMENTELL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EKSPERIMENTELL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPERIMENTELL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - - Window Adapting Filter: - + + 7X (5040p/7560p) + 7X (5040p/7560p) - + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + + Window Adapting Filter: + Vindustilpasningsfilter: + + + Nearest Neighbor Nærmeste nabo - + Bilinear Bilineær - + Bicubic Bikubisk - + Gaussian Gaussisk - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (kun med Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Anti-aliasing–metode: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Bruk global FSR skarphet - + Set FSR Sharpness - + Sett FSR skarphet - + FSR Sharpness: - + FSR Skarphet: - + 100% - + 100% - - + + Use global background color Bruk global bakgrunnsfarge - + Set background color: Velg bakgrunnsfarge: - + Background Color: Bakgrunnsfarge: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (assembly-shader-e, kun med NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Eksperimentell, Kun Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Av + + + + VSync Off + VSync Av + + + + Recommended + Anbefalt + + + + On + + + + + VSync On + VSync På + ConfigureGraphicsAdvanced @@ -1658,77 +1772,154 @@ This would ban both their forum username and their IP address. Nøyaktighetsnivå: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync hindrer skjermen fra å brytes, men noen grafikkort har lavere ytelse med VSync på. Behold det på hvis du ikke legger merke til forskjell i ytelse. + + ASTC recompression: + ASTC rekomprimering: - - Use VSync - + + Uncompressed (Best quality) + Ukomprimert (beste kvalitet) - + + BC1 (Low quality) + BC1 (Lav kvalitet) + + + + BC3 (Medium quality) + BC3 (Medium kvalitet) + + + + Enable asynchronous presentation (Vulkan only) + Aktiver asynkron presentasjon (kun Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Kjører arbeid i bakgrunnen mens den venter på grafikkommandoer for å forhindre at GPU-en senker klokkehastigheten. + + + + Force maximum clocks (Vulkan only) + Tving maksikal klokkehastighet (kun Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Aktiverer asynkron ASTC-teksturavkoding, noe som kan redusere hakking i lastetiden. Denne funksjonen er eksperimentell. + + + + Decode ASTC textures asynchronously (Hack) + Dekode ASTC-teksturer asynkront (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Bruker reaktiv tømming i stedet for prediktiv tømming. Tillater en mer nøyaktig synkronisering av minnet. + + + + Enable Reactive Flushing + Aktiver Reaktiv Tømming + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Slår på asynkron shader-kompilering, som kan redusere shader-hakking. Denne funksjonaliteten er eksperimentell. - + Use asynchronous shader building (Hack) Bruk asynkron shader-bygging (hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - + Aktiverer rask GPU-tid. Dette alternativet vil tvinge de fleste spill til å kjøre med sin høyeste opprinnelige oppløsning. - + Use Fast GPU Time (Hack) - + Bruk Rask GPU-Tid (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Aktiverer GPU-leverandørspesifikk rørledningsbuffer. Dette alternativet kan forbedre shader-innlastingstiden betydelig i tilfeller der Vulkan-driveren ikke lagrer rørledningsbufferfiler internt. - - Use pessimistic buffer flushes (Hack) - + + Use Vulkan pipeline cache + Bruk Vulkan rørledningsbuffer - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Aktiver beregningsrørledninger, kreves av noen spill. Denne innstillingen finnes bare for Intel-proprietære drivere, og kan krasje hvis den er aktivert. +Beregningsrørledninger er alltid aktivert på alle andre drivere. + + + + Enable Compute Pipelines (Intel Vulkan only) + Aktiver beregningsrørledninger (kun Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + Kjør spillet i normal hastighet under videoavspilling, selv når bildefrekvensen er låst opp. + + + + Sync to framerate of video playback + Synkroniser med bildefrekvensen for videoavspilling + + + + Improves rendering of transparency effects in specific games. + Forbedrer gjengivelsen av transparenseffekter i spesifikke spill. + + + + Barrier feedback loops + Tilbakekoblingssløyfer for barrierer + + + Anisotropic Filtering: Anisotropisk filtrering: - + Automatic Automatisk - + Default Standard - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1761,70 +1952,65 @@ This would ban both their forum username and their IP address. Gjenopprett Standardverdier - + Action Handling - + Hotkey Hurtigtast - + Controller Hotkey Kontrollerhurtigtast - - - + + + Conflicting Key Sequence Mostridende tastesekvens - - + + The entered key sequence is already assigned to: %1 Den inntastede tastesekvensen er allerede tildelt til: %1 - - Home+%1 - Hjem+%1 - - - + [waiting] [venter] - + Invalid Ugyldig - + Restore Default Gjenopprett Standardverdi - + Clear Fjern - + Conflicting Button Sequence Motstridende knappesekvens - + The default button sequence is already assigned to: %1 Standardknappesekvensen er allerede tildelt til: %1 - + The default key sequence is already assigned to: %1 Standardtastesekvensen er allerede tildelt til: %1 @@ -2116,19 +2302,19 @@ This would ban both their forum username and their IP address. - + Configure Konfigurer Ring Controller - + Ring-Kontroller Infrared Camera - + Infrarødt Kamera @@ -2142,6 +2328,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Krever omstart av yuzu @@ -2161,22 +2349,27 @@ This would ban both their forum username and their IP address. Kontrollernavigasjon - - Enable mouse panning - Slå på musepanorering + + Enable direct JoyCon driver + Aktiver driver for direkte JoyCon tilkobling - - Mouse sensitivity - Musesensitivitet + + Enable direct Pro Controller driver [EXPERIMENTAL] + Aktiver driver for direkte Pro Controller tilkobling (EKSPERIMENTELL) - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Tillater ubegrenset bruk av samme Amiibo i spill som ellers ville begrenset deg til én bruk. - + + Use random Amiibo ID + Bruk tilfeldig Amiibo ID + + + Motion / Touch Bevegelse / Touch @@ -2196,57 +2389,57 @@ This would ban both their forum username and their IP address. Input Profiles - + Inndataprofiler Player 1 Profile - + Spiller 1 Profil Player 2 Profile - + Spiller 2 Profil Player 3 Profile - + Spiller 3 Profil Player 4 Profile - + Spiller 4 Profil Player 5 Profile - + Spiller 5 Profil Player 6 Profile - + Spiller 6 Profil Player 7 Profile - + Spiller 7 Profil Player 8 Profile - + Spiller 8 Profil Use global input configuration - + Bruk global inndatakonfigurasjon Player %1 profile - + Spiller %1 profile @@ -2288,7 +2481,7 @@ This would ban both their forum username and their IP address. - + Left Stick Venstre Pinne @@ -2382,14 +2575,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2403,12 +2596,12 @@ This would ban both their forum username and their IP address. Capture - + Opptak - + Plus Pluss @@ -2421,15 +2614,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2486,236 +2679,257 @@ This would ban both their forum username and their IP address. - + Right Stick Høyre Pinne - - - - + + Mouse panning + Musepanorering + + + + Configure + Konfigurer + + + + + + Clear Fjern - - - - - + + + + + [not set] [ikke satt] - - + + + Invert button Inverter knapp - - + + Toggle button Veksle knapp - - + + Turbo button + Turbo-Knapp + + + + Invert axis Inverter akse - - - + + + Set threshold Set grense - - + + Choose a value between 0% and 100% Velg en verdi mellom 0% og 100% - + Toggle axis - + veksle akse - + Set gyro threshold - + Angi gyroterskel - + + Calibrate sensor + Kalibrer sensor + + + Map Analog Stick - + Kartlegg Analog Spak - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Etter du har trykker på OK, flytt først stikken horisontalt, og så vertikalt. For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. - + Center axis Senterakse - - + + Deadzone: %1% Dødsone: %1% - - + + Modifier Range: %1% Modifikatorområde: %1% - - + + Pro Controller Pro-Kontroller - + Dual Joycons Doble Joycons - + Left Joycon Venstre Joycon - + Right Joycon Høyre Joycon - + Handheld Håndholdt - + GameCube Controller GameCube-kontroller - + Poke Ball Plus Poke Ball Plus - + NES Controller NES-kontroller - + SNES Controller SNES-kontroller - + N64 Controller N64-kontroller - + Sega Genesis Sega Genesis - + Start / Pause Start / paus - + Z Z - + Control Stick Kontrollstikke - + C-Stick C-stikke - + Shake! Rist! - + [waiting] [venter] - + New Profile Ny Profil - + Enter a profile name: Skriv inn et profilnavn: - - + + Create Input Profile Lag inndataprofil - + The given profile name is not valid! Det oppgitte profilenavnet er ugyldig! - + Failed to create the input profile "%1" Klarte ikke lage inndataprofil "%1" - + Delete Input Profile Slett inndataprofil - + Failed to delete the input profile "%1" Klarte ikke slette inndataprofil "%1" - + Load Input Profile Last inn inndataprofil - + Failed to load the input profile "%1" Klarte ikke laste inn inndataprofil "%1" - + Save Input Profile Lagre inndataprofil - + Failed to save the input profile "%1" Klarte ikke lagre inndataprofil "%1" @@ -2763,14 +2977,14 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. - + Configure Konfigurer Touch from button profile: - + Trykk fra knappens profil: @@ -2799,7 +3013,7 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. - + Test Test @@ -2819,81 +3033,156 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.<a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Lær Mer</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Portnummeret har ugyldige tegn - + Port has to be in range 0 and 65353 Porten må være i intervallet 0 til 65353 - + IP address is not valid IP-adressen er ugyldig - + This UDP server already exists Denne UDP-tjeneren eksisterer allerede - + Unable to add more than 8 servers Kan ikke legge til mer enn 8 tjenere - + Testing Testing - + Configuring Konfigurering - + Test Successful Test Vellykket - + Successfully received data from the server. Mottatt data fra serveren vellykket. - + Test Failed Test Feilet - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Kunne ikke motta gyldig data fra serveren.<br>Vennligst bekreft at serveren er satt opp riktig og at adressen og porten er riktige. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP-Test eller kalibrasjonskonfigurering er i fremgang.<br>Vennligst vent for dem til å bli ferdig. + + ConfigureMousePanning + + + Configure mouse panning + Konfigurer musepanorering + + + + Enable + Aktiver + + + + Can be toggled via a hotkey + Kan veksles via en hurtigtast + + + + Sensitivity + Følsomhet + + + + + Horizontal + Horisontal + + + + + + + + + % + % + + + + + Vertical + Vertikal + + + + Deadzone counterweight + Motvekt for dødssone + + + + Counteracts a game's built-in deadzone + Motvirker spillets innebygde dødsone + + + + Stick decay + Forfall av spaken + + + + Strength + Styrke + + + + Minimum + Minimum + + + + Default + Standard + + ConfigureNetwork @@ -2970,47 +3259,47 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.Utvikler - + Add-Ons Tillegg - + General Generelt - + System System - + CPU CPU - + Graphics Grafikk - + Adv. Graphics Avn. Grafikk - + Audio Lyd - + Input Profiles - + Inndataprofiler - + Properties Egenskaper @@ -3189,7 +3478,7 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. Delete this user? All of the user's save data will be deleted. - + Slett denne brukeren? Alle brukerens lagrede data vil bli slettet. @@ -3200,7 +3489,8 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. Name: %1 UUID: %2 - + Navn: %1 +UUID: %2 @@ -3208,29 +3498,29 @@ UUID: %2 Configure Ring Controller - + Konfigurer Ring-Kontroller - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + For å bruke Ring-Con konfigurerer du spiller 1 som høyre Joy-Con (både fysisk og emulert) og spiller 2 som venstre Joy-Con (venstre fysisk og dobbelt emulert) før du starter spillet. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Parametre For Virituell Ringsensor Pull - + Dra Push - + Skyv @@ -3238,33 +3528,95 @@ UUID: %2 Dødsone: 0% - + + Direct Joycon Driver + Driver For Direkte JoyCon Tilkobling + + + + Enable Ring Input + Aktiver Ringinndata + + + + + Enable + Aktiver + + + + Ring Sensor Value + Sensorverdier For Ring + + + + + Not connected + Ikke Tilkoblet + + + Restore Defaults Gjenopprett Standardverdier - + Clear Fjern - + [not set] [ikke satt] - + Invert axis Inverter akse - - + + Deadzone: %1% Dødsone: %1% - + + Error enabling ring input + Feil ved aktivering av ringinndata + + + + Direct Joycon driver is not enabled + Driver for direkte JoyCon tilkobling er ikke aktivert + + + + Configuring + Konfigurering + + + + The current mapped device doesn't support the ring controller + Den gjeldende tilordnede enheten støtter ikke ringkontrolleren. + + + + The current mapped device doesn't have a ring attached + Den gjeldende kartlagte enheten har ikke en ring festet + + + + The current mapped device is not connected + Den tilordnede enheten er ikke tilkoblet + + + + Unexpected driver result %1 + Uventet driverresultat %1 + + + [waiting] [venter] @@ -3569,8 +3921,8 @@ UUID: %2 - English - Engelsk + American English + Amerikans Engelsk @@ -3665,62 +4017,27 @@ UUID: %2 RNG Seed - + Frø For Tilfeldig Nummergenerering Device Name - + Enhetsnavn - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Usikkert utvidet minneoppsett (8 GB DRAM) - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Konsoll-ID: - - - - Sound output mode - Lydutgangsmodus - - - - Regenerate - Regenerer - - - + System settings are available only when game is not running. Systeminnstillinger er bare tilgjengelige når ingen spill kjører. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Dette vil erstatte din nåværende virtuelle Switch med en ny en. Din nåværende virtuelle Switch vil ikke kunne bli gjenopprettet. Dette kan ha uventede effekter i spill. Dette kan feile om du bruker en utdatert lagret-spill konfigurasjon. Fortsette? - - - - Warning - Advarsel - - - - Console ID: 0x%1 - Konsoll-ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Advarsel: "%1" er ikke et gyldig språk for region "%2" @@ -3758,7 +4075,7 @@ UUID: %2 Loop script - + Loop script @@ -3789,7 +4106,7 @@ UUID: %2 TAS-konfigurasjon - + Select TAS Load Directory... Velg TAS-lastemappe... @@ -3799,12 +4116,12 @@ UUID: %2 Configure Touchscreen Mappings - + Konfigurer Kartlegging av Berøringsskjerm Mapping: - + Kartlegging: @@ -4009,7 +4326,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Note: Changing language will apply your configuration. - + Merk: Hvis du endrer språk, brukes konfigurasjonen din. @@ -4029,7 +4346,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Show Compatibility List - + Vis Kompabilitetsliste @@ -4039,12 +4356,12 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Show Size Column - + Vis Kolonne For Størrelse Show File Types Column - + Vis Kolonne For Filtype @@ -4107,7 +4424,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Press any controller button to vibrate the controller. - + Trykk hvilken som helst knapp for å vibrere kontrolleren @@ -4228,7 +4545,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Web Service configuration can only be changed when a public room isn't being hosted. - + Webtjenestekonfigurasjonen kan bare endres når et offentlig rom ikke blir arangert. @@ -4300,13 +4617,13 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Token was not verified. The change to your token has not been saved. - + Token ble ikke bekreftet. Endringen av tokenet ditt er ikke lagret. Unverified, please click Verify before saving configuration Tooltip - + Ubekreftet, klikk på Bekreft før du lagrer konfigurasjonen. @@ -4318,7 +4635,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Verified Tooltip - + Bekreftet @@ -4334,7 +4651,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Verification failed. Check that you have entered your token correctly, and that your internet connection is working. - + Bekreftelsen mislyktes. Kontroller at du har tastet inn tokenet ditt riktig, og at internettforbindelsen din fungerer. @@ -4345,9 +4662,9 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Kontroller P1 - + &Controller P1 - + &Controller P1 @@ -4355,600 +4672,637 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Direct Connect - + Direkte Tilkobling - - IP Address - + + Server Address + Server Adresse - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Server addressen til verten</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Portnummeret verten lytter på</p></body></html> - + Nickname - + Kallenavn - + Password - + Passord - + Connect - + Koble Til DirectConnectWindow - + Connecting - + Kobler Til - + Connect - + Koble Til GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonym data blir samlet inn</a>for å hjelpe til med å forbedre yuzu.<br/><br/>Vil du dele din bruksdata med oss? - + Telemetry Telemetri - + Broken Vulkan Installation Detected - + Ødelagt Vulkan-installasjon oppdaget - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + Vulkan-initialisering mislyktes under oppstart.<br><br>Klikk<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>her for instruksjoner for å løse problemet</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + Kjører et spill + + + Loading Web Applet... Laster web-applet... - - + + Disable Web Applet Slå av web-applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + Deaktivering av webappleten kan føre til udefinert oppførsel og bør bare brukes med Super Mario 3D All-Stars. Er du sikker på at du vil deaktivere webappleten? +(Dette kan aktiveres på nytt i feilsøkingsinnstillingene). - + The amount of shaders currently being built Antall shader-e som bygges for øyeblikket - + The current selected resolution scaling multiplier. Den valgte oppløsningsskaleringsfaktoren. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Nåværende emuleringshastighet. Verdier høyere eller lavere en 100% indikerer at emuleringen kjører raskere eller tregere enn en Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Hvor mange bilder per sekund spiller viser. Dette vil variere fra spill til spill og scene til scene. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tid det tar for å emulere et Switch bilde. Teller ikke med bildebegrensing eller v-sync. For full-hastighet emulering burde dette være 16.67 ms. på det høyeste. - + + Unmute + Slå på lyden + + + + Mute + Lydløs + + + + Reset Volume + Tilbakestill volum + + + &Clear Recent Files - + &Tøm Nylige Filer - + + Emulated mouse is enabled + Emulert mus er aktivert + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Ekte museinndata og musepanning er inkompatible. Deaktiver den emulerte musen i avanserte innstillinger for inndata for å tillate musepanning. + + + &Continue - + &Fortsett - + &Pause &Paus - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - Et spill kjører i yuzu - - - + Warning Outdated Game Format Advarsel: Utdatert Spillformat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Du bruker en dekonstruert ROM-mappe for dette spillet, som er et utdatert format som har blitt erstattet av andre formater som NCA, NAX, XCI, eller NSP. Dekonstruerte ROM-mapper mangler ikoner, metadata, og oppdateringsstøtte.<br><br>For en forklaring på diverse Switch-formater som yuzu støtter,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>sjekk vår wiki</a>. Denne meldingen vil ikke bli vist igjen. - - + + Error while loading ROM! Feil under innlasting av ROM! - + The ROM format is not supported. Dette ROM-formatet er ikke støttet. - + An error occurred initializing the video core. En feil oppstod under initialisering av videokjernen. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu har oppdaget en feil under kjøring av videokjernen. Dette er vanligvis forårsaket av utdaterte GPU-drivere, inkludert for integrert grafikk. Vennligst sjekk loggen for flere detaljer. For mer informasjon om å finne loggen, besøk følgende side: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Uploadd the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Feil under lasting av ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + %1<br>Vennligst følg <a href='https://yuzu-emu.org/help/quickstart/'>hurtigstartsguiden</a> for å redumpe filene dine. <br>Du kan henvise til yuzu wikien</a> eller yuzu Discorden</a> for hjelp. - + An unknown error occurred. Please see the log for more details. En ukjent feil oppstod. Se loggen for flere detaljer. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Lukker programvare... - + Save Data Lagre Data - + Mod Data Mod Data - + Error Opening %1 Folder Feil Under Åpning av %1 Mappen - - + + Folder does not exist! Mappen eksisterer ikke! - + Error Opening Transferable Shader Cache - + Feil ved åpning av overførbar shaderbuffer - + Failed to create the shader cache directory for this title. - + Kunne ikke opprette shader cache-katalogen for denne tittelen. - + Error Removing Contents - + Feil ved fjerning av innhold - + Error Removing Update - + Feil ved fjerning av oppdatering - + Error Removing DLC - + Feil ved fjerning av DLC - + Remove Installed Game Contents? - + Fjern Innstallert Spillinnhold? - + Remove Installed Game Update? - + Fjern Installert Spilloppdatering? - + Remove Installed Game DLC? - + Fjern Installert Spill DLC? - + Remove Entry Fjern oppføring - - - - - - + + + + + + Successfully Removed Fjerning lykkes - + Successfully removed the installed base game. - + Vellykket fjerning av det installerte basisspillet. - + The base game is not installed in the NAND and cannot be removed. Grunnspillet er ikke installert i NAND og kan ikke bli fjernet. - + Successfully removed the installed update. Fjernet vellykket den installerte oppdateringen. - + There is no update installed for this title. Det er ingen oppdatering installert for denne tittelen. - + There are no DLC installed for this title. Det er ingen DLC installert for denne tittelen. - + Successfully removed %1 installed DLC. Fjernet vellykket %1 installerte DLC-er. - + Delete OpenGL Transferable Shader Cache? - + Slette OpenGL Overførbar Shaderbuffer? - + Delete Vulkan Transferable Shader Cache? - + Slette Vulkan Overførbar Shaderbuffer? - + Delete All Transferable Shader Caches? - + Slette Alle Overførbare Shaderbuffere? - + Remove Custom Game Configuration? Fjern Tilpasset Spillkonfigurasjon? - + + Remove Cache Storage? + Fjerne Hurtiglagringen? + + + Remove File Fjern Fil - - + + Error Removing Transferable Shader Cache Feil under fjerning av overførbar shader cache - - + + A shader cache for this title does not exist. - + En shaderbuffer for denne tittelen eksisterer ikke. - + Successfully removed the transferable shader cache. Lykkes i å fjerne den overførbare shader cachen. - + Failed to remove the transferable shader cache. Feil under fjerning av den overførbare shader cachen. - - + + Error Removing Vulkan Driver Pipeline Cache + Feil ved fjerning av Vulkan Driver-Rørledningsbuffer + + + + Failed to remove the driver pipeline cache. + Kunne ikke fjerne driverens rørledningsbuffer. + + + + Error Removing Transferable Shader Caches - + Feil ved fjerning av overførbare shaderbuffere - + Successfully removed the transferable shader caches. - + Vellykket fjerning av overførbare shaderbuffere. - + Failed to remove the transferable shader cache directory. - + Feil ved fjerning av overførbar shaderbuffer katalog. - - + + Error Removing Custom Configuration Feil Under Fjerning Av Tilpasset Konfigurasjon - + A custom configuration for this title does not exist. En tilpasset konfigurasjon for denne tittelen finnes ikke. - + Successfully removed the custom game configuration. Fjernet vellykket den tilpassede spillkonfigurasjonen. - + Failed to remove the custom game configuration. Feil under fjerning av den tilpassede spillkonfigurasjonen. - - + + RomFS Extraction Failed! Utvinning av RomFS Feilet! - + There was an error copying the RomFS files or the user cancelled the operation. Det oppstod en feil under kopiering av RomFS filene eller så kansellerte brukeren operasjonen. - + Full Fullstendig - + Skeleton Skjelett - + Select RomFS Dump Mode Velg RomFS Dump Modus - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Velg hvordan du vil dumpe RomFS.<br>Fullstendig vil kopiere alle filene til en ny mappe mens <br>skjelett vil bare skape mappestrukturen. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Det er ikke nok ledig plass på %1 til å pakke ut RomFS. Vennligst frigjør plass eller velg en annen dump-katalog under Emulering > Konfigurer > System > Filsystem > Dump Root. - + Extracting RomFS... Utvinner RomFS... - - + + Cancel Avbryt - + RomFS Extraction Succeeded! RomFS Utpakking lyktes! - + The operation completed successfully. Operasjonen fullført vellykket. - - - - - + + + + + Create Shortcut - + Lag Snarvei - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Dette vil opprette en snarvei til gjeldende AppImage. Dette fungerer kanskje ikke bra hvis du oppdaterer. Fortsette? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Kan ikke opprette snarvei på skrivebordet. Stien "%1" finnes ikke. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Kan ikke opprette snarvei i applikasjonsmenyen. Stien "%1" finnes ikke og kan ikke opprettes. - + Create Icon - + Lag Ikon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Kan ikke opprette ikonfil. Stien "%1" finnes ikke og kan ikke opprettes. - + Start %1 with the yuzu Emulator - + Start %1 med yuzu-emulatoren - + Failed to create a shortcut at %1 - + Mislyktes i å opprette en snarvei ved %1 - + Successfully created a shortcut to %1 - + Opprettet en snarvei til %1 - + Error Opening %1 Feil ved åpning av %1 - + Select Directory Velg Mappe - + Properties Egenskaper - + The game properties could not be loaded. Spillets egenskaper kunne ikke bli lastet inn. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch Kjørbar Fil (%1);;Alle Filer (*.*) - + Load File Last inn Fil - + Open Extracted ROM Directory Åpne Utpakket ROM Mappe - + Invalid Directory Selected Ugyldig Mappe Valgt - + The directory you have selected does not contain a 'main' file. Mappen du valgte inneholder ikke en 'main' fil. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Installerbar Switch-Fil (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xcI) - + Install Files Installer Filer - + %n file(s) remaining %n fil gjenstår%n filer gjenstår - + Installing file "%1"... Installerer fil "%1"... - - + + Install Results Insallasjonsresultater - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + For å unngå mulige konflikter fraråder vi brukere å installere basisspill på NAND. +Bruk kun denne funksjonen til å installere oppdateringer og DLC. - + %n file(s) were newly installed %n fil ble nylig installert -%n filer ble nylig installert +%n fil(er) ble nylig installert - + %n file(s) were overwritten %n fil ble overskrevet @@ -4956,7 +5310,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n fil ble ikke installert @@ -4964,377 +5318,312 @@ Please, only use this feature to install updates and DLC. - + System Application Systemapplikasjon - + System Archive Systemarkiv - + System Application Update Systemapplikasjonsoppdatering - + Firmware Package (Type A) Firmware Pakke (Type A) - + Firmware Package (Type B) Firmware-Pakke (Type B) - + Game Spill - + Game Update Spilloppdatering - + Game DLC Spill tilleggspakke - + Delta Title Delta Tittel - + Select NCA Install Type... Velg NCA Installasjonstype... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Vennligst velg typen tittel du vil installere denne NCA-en som: (I de fleste tilfellene, standarden 'Spill' fungerer.) - + Failed to Install Feil under Installasjon - + The title type you selected for the NCA is invalid. Titteltypen du valgte for NCA-en er ugyldig. - + File not found Fil ikke funnet - + File "%1" not found Filen "%1" ikke funnet - + OK OK - - + + Hardware requirements not met - + Krav til maskinvare ikke oppfylt - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Systemet ditt oppfyller ikke de anbefalte maskinvarekravene. Kompatibilitetsrapportering er deaktivert. - + Missing yuzu Account Mangler yuzu Bruker - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. For å sende inn et testtilfelle for spillkompatibilitet, må du linke yuzu-brukeren din.<br><br/>For å linke yuzu-brukeren din, gå til Emulasjon &gt; Konfigurasjon &gt; Nett. - + Error opening URL Feil under åpning av URL - + Unable to open the URL "%1". Kunne ikke åpne URL "%1". - + TAS Recording TAS-innspilling - + Overwrite file of player 1? Overskriv filen til spiller 1? - + Invalid config detected Ugyldig konfigurasjon oppdaget - + Handheld controller can't be used on docked mode. Pro controller will be selected. Håndholdt kontroller kan ikke brukes i dokket modus. Pro-kontroller vil bli valgt. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Den valgte amiibo-en har blitt fjernet - + Error Feil - - + + The current game is not looking for amiibos Det kjørende spillet sjekker ikke for amiibo-er - + Amiibo File (%1);; All Files (*.*) Amiibo-Fil (%1);; Alle Filer (*.*) - + Load Amiibo Last inn Amiibo - + Error loading Amiibo data Feil ved lasting av Amiibo data - + The selected file is not a valid amiibo - + Den valgte filen er ikke en gyldig amiibo - + The selected file is already on use - + Den valgte filen er allerede i bruk - + An unknown error occurred - + En ukjent feil oppso - + Capture Screenshot Ta Skjermbilde - + PNG Image (*.png) PNG Bilde (*.png) - + TAS state: Running %1/%2 TAS-tilstand: Kjører %1/%2 - + TAS state: Recording %1 TAS-tilstand: Spiller inn %1 - + TAS state: Idle %1/%2 TAS-tilstand: Venter %1%2 - + TAS State: Invalid TAS-tilstand: Ugyldig - + &Stop Running &Stopp kjøring - + &Start &Start - + Stop R&ecording - + Stopp innspilling (&E) - + R&ecord - + Spill inn (%E) - + Building: %n shader(s) Bygger: %n shaderBygger: %n shader-e - + Scale: %1x %1 is the resolution scaling factor Skala: %1x - + Speed: %1% / %2% Hastighet: %1% / %2% - + Speed: %1% Hastighet: %1% - + Game: %1 FPS (Unlocked) Spill: %1 FPS (ubegrenset) - + Game: %1 FPS Spill: %1 FPS - + Frame: %1 ms Ramme: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU HØY - - - - GPU EXTREME - GPU EKSTREM - - - - GPU ERROR - GPU FEIL - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NÆRMESTE - - - - - BILINEAR - BILINEÆR - - - - BICUBIC - BIKUBISK - - - - GAUSSIAN - GAUSSISK - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA INGEN AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUM: DEMPET - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUM: %1% - + Confirm Key Rederivation Bekreft Nøkkel-Redirevasjon - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5351,37 +5640,37 @@ og eventuelt lag backups. Dette vil slette dine autogenererte nøkkel-filer og kjøre nøkkel-derivasjonsmodulen på nytt. - + Missing fuses Mangler fuses - + - Missing BOOT0 - Mangler BOOT0 - + - Missing BCPKG2-1-Normal-Main - Mangler BCPKG2-1-Normal-Main - + - Missing PRODINFO - Mangler PRODINFO - + Derivation Components Missing Derivasjonskomponenter Mangler - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Krypteringsnøkler mangler. <br>Vennligst følg <a href='https://yuzu-emu.org/help/quickstart/'>yuzus oppstartsguide</a> for å få alle nøklene, fastvaren og spillene dine.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5390,39 +5679,49 @@ Dette kan ta opp til et minutt avhengig av systemytelsen din. - + Deriving Keys Deriverer Nøkler - + + System Archive Decryption Failed + Dekryptering av systemarkiv mislyktes + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Krypteringsnøkler klarte ikke å dekryptere firmware. <br>Vennligst følg <a href='https://yuzu-emu.org/help/quickstart/'>quickstartguiden for yuzu </a> for å få alle nøkler, firmware og spill. + + + Select RomFS Dump Target Velg RomFS Dump-Mål - + Please select which RomFS you would like to dump. Vennligst velg hvilken RomFS du vil dumpe. - + Are you sure you want to close yuzu? Er du sikker på at du vil lukke yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Er du sikker på at du vil stoppe emulasjonen? All ulagret fremgang vil bli tapt. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5430,6 +5729,101 @@ Would you like to bypass this and exit anyway? Vil du overstyre dette og lukke likevel? + + + None + Ingen + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Nærmest + + + + Bilinear + Bilineær + + + + Bicubic + Bikubisk + + + + Gaussian + Gaussisk + + + + ScaleForce + ScaleForce + + + + Docked + Dokket + + + + Handheld + Håndholdt + + + + Normal + Normal + + + + High + Høy + + + + Extreme + Ekstrem + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5442,7 +5836,7 @@ Vil du overstyre dette og lukke likevel? OpenGL shared contexts are not supported. - + Delte OpenGL-kontekster støttes ikke. @@ -5486,12 +5880,12 @@ Vil du overstyre dette og lukke likevel? Start Game - + Start Spill Start Game without Custom Configuration - + Star Spill Uten Tilpasset Konfigurasjon @@ -5506,7 +5900,7 @@ Vil du overstyre dette og lukke likevel? Open Transferable Pipeline Cache - + Åpne Overførbar Rørledningsbuffer @@ -5530,117 +5924,122 @@ Vil du overstyre dette og lukke likevel? - Remove OpenGL Pipeline Cache - + Remove Cache Storage + Fjern Hurtiglagring - Remove Vulkan Pipeline Cache - + Remove OpenGL Pipeline Cache + Fjer OpenGL Rørledningsbuffer - - Remove All Pipeline Caches - + + Remove Vulkan Pipeline Cache + Fjern Vulkan Rørledningsbuffer + Remove All Pipeline Caches + Fjern Alle Rørledningsbuffere + + + Remove All Installed Contents Fjern All Installert Innhold - + Dump RomFS Dump RomFS - + Dump RomFS to SDMC - + Dump RomFS til SDMC - + Copy Title ID to Clipboard Kopier Tittel-ID til Utklippstavle - + Navigate to GameDB entry Naviger til GameDB-oppføring - - - Create Shortcut - - + Create Shortcut + lag Snarvei + + + Add to Desktop - + Legg Til På Skrivebordet - + Add to Applications Menu - + Legg Til Applikasjonsmenyen - + Properties Egenskaper - + Scan Subfolders Skann Undermapper - + Remove Game Directory Fjern Spillmappe - + ▲ Move Up ▲ Flytt Opp - + ▼ Move Down ▼ Flytt Ned - + Open Directory Location Åpne Spillmappe - + Clear Fjern - + Name Navn - + Compatibility Kompatibilitet - + Add-ons Tilleggsprogrammer - + File type Fil Type - + Size Størrelse @@ -5650,12 +6049,12 @@ Vil du overstyre dette og lukke likevel? Ingame - + i Spillet Game starts, but crashes or major glitches prevent it from being completed. - + Spillet starter, men krasjer eller større feil gjør at det ikke kan fullføres. @@ -5665,17 +6064,17 @@ Vil du overstyre dette og lukke likevel? Game can be played without issues. - + Spillet kan spilles uten problemer. Playable - + Spillbart Game functions with minor graphical or audio glitches and is playable from start to finish. - + Spillet fungerer med mindre grafiske eller lydfeil og kan spilles fra start til slutt. @@ -5685,7 +6084,7 @@ Vil du overstyre dette og lukke likevel? Game loads, but is unable to progress past the Start Screen. - + Spillet lastes inn, men kan ikke gå videre forbi startskjermen. @@ -5711,7 +6110,7 @@ Vil du overstyre dette og lukke likevel? GameListPlaceholder - + Double-click to add a new folder to the game list Dobbeltrykk for å legge til en ny mappe i spillisten @@ -5724,14 +6123,14 @@ Vil du overstyre dette og lukke likevel? %1 of %n resultat%1 of %n resultater - + Filter: Filter: - + Enter pattern to filter - + Angi mønster for å filtrere @@ -5739,22 +6138,22 @@ Vil du overstyre dette og lukke likevel? Create Room - + Opprett Rom Room Name - + Romnavn Preferred Game - + Foretrukket spill Max Players - + Maks Spillere @@ -5764,42 +6163,42 @@ Vil du overstyre dette og lukke likevel? (Leave blank for open game) - + (La stå tomt for åpent spill) Password - + Passord Port - + Port Room Description - + Rombeskrivelse Load Previous Ban List - + Last inn tidligere forbudsliste Public - + Offentlig Unlisted - + Ikke oppført Host Room - + Bli vertskap for et rom @@ -5813,146 +6212,147 @@ Vil du overstyre dette og lukke likevel? Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -> Configure -> Web. If you do not want to publish a room in the public lobby, then select Unlisted instead. Debug Message: - + Kunne ikke annonsere rommet til den offentlige lobbyen. For å være vert for et rom offentlig, må du ha en gyldig yuzu-konto konfigurert i Emulering -> Konfigurer -> Web. Hvis du ikke vil publisere et rom i den offentlige lobbyen, velger du ikke oppført i stedet. +Feilmelding: Hotkeys - + Audio Mute/Unmute - + Lyd av/på - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Hovedvindu - + Audio Volume Down - + Lydvolum Ned - + Audio Volume Up - + Lydvolum Opp - + Capture Screenshot Ta Skjermbilde - + Change Adapting Filter - + Endre tilpasningsfilter - + Change Docked Mode - + Endre forankret modus - + Change GPU Accuracy - + Endre GPU-nøyaktighet - + Continue/Pause Emulation - + Fortsett/Pause Emuleringen - + Exit Fullscreen - + Avslutt fullskjerm - + Exit yuzu - + Avslutt yuzu - + Fullscreen Fullskjerm - + Load File Last inn Fil - + Load/Remove Amiibo - + Last/Fjern Amiibo - + Restart Emulation - + Omstart Emuleringen - + Stop Emulation - + Stopp Emuleringen - + TAS Record - + Spill inn TAS - + TAS Reset - + Tilbakestill TAS - + TAS Start/Stop - + Start/Stopp TAS - + Toggle Filter Bar - + Veksle Filterlinje - + Toggle Framerate Limit - + Veksle Bildefrekvensgrense - + Toggle Mouse Panning - + Veksle Muspanorering - + Toggle Status Bar - + Veksle Statuslinje @@ -5965,7 +6365,7 @@ Debug Message: Installing an Update or DLC will overwrite the previously installed one. - + Installering av en oppdatering eller DLC vil overskrive den tidligere installerte. @@ -5973,7 +6373,7 @@ Debug Message: Installer - + Install Files to NAND Installer filer til NAND @@ -5981,7 +6381,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 Teksten kan ikke inneholde noen av de følgende tegnene: @@ -6031,78 +6431,83 @@ Debug Message: Public Room Browser - + Nettleser for offentlige rom Nickname - + Kallenavn Filters - + Filtre Search - + Søk Games I Own - + Spill Jeg Eier + Hide Empty Rooms + Gjem Tomme Rom + + + Hide Full Rooms - + Gjem Fulle Rom - + Refresh Lobby - + Oppdater Lobbyen - + Password Required to Join - + Passord Kreves For Å Delta - + Password: - + Passord: - + Players Spillere - - - Room Name - - - Preferred Game - + Room Name + Romnavn + Preferred Game + Foretrukket spill + + + Host - + Vert - + Refreshing - + Oppdaterer - + Refresh List - + Oppdater liste @@ -6140,7 +6545,7 @@ Debug Message: &Debugging - + Feilsøking (&D) @@ -6175,7 +6580,7 @@ Debug Message: &Multiplayer - + Flerspiller (&M) @@ -6200,12 +6605,12 @@ Debug Message: L&oad File... - + Last inn fil... (&O) Load &Folder... - + Last inn mappe (&F) @@ -6230,12 +6635,12 @@ Debug Message: &About yuzu - + Om yuzu (&A) Single &Window Mode - + Énvindusmodus (&W) @@ -6245,7 +6650,7 @@ Debug Message: Display D&ock Widget Headers - + Vis Overskrifter for Dock Widget (&O) @@ -6265,27 +6670,27 @@ Debug Message: &Browse Public Game Lobby - + Bla gjennom den offentlige spillobbyen (&B) &Create Room - + Opprett Rom (&C) &Leave Room - + Forlat Rommet (&L) &Direct Connect to Room - + Direkte Tilkobling Til Rommet (&D) &Show Current Room - + Vis nåværende rom (&S) @@ -6295,52 +6700,52 @@ Debug Message: &Restart - + Omstart (&R) Load/Remove &Amiibo... - + Last/Fjern Amiibo (&A) &Report Compatibility - + Rapporter kompatibilitet (&R) Open &Mods Page - + Åpne Modifikasjonssiden (&M) Open &Quickstart Guide - + Åpne Hurtigstartsguiden (&Q) &FAQ - + &FAQ Open &yuzu Folder - + Åpne &yuzu Mappen &Capture Screenshot - + Ta Skjermbilde (&C) &Configure TAS... - + Konfigurer TAS (&C) Configure C&urrent Game... - + Konfigurer Gjeldende Spill (&U) @@ -6350,12 +6755,12 @@ Debug Message: &Reset - + Tilbakestill (&R) R&ecord - + Spill inn (%E) @@ -6363,7 +6768,7 @@ Debug Message: &MicroProfile - + Mikroprofil (&M) @@ -6371,48 +6776,48 @@ Debug Message: Moderation - + Moderasjon Ban List - + Utestengelsesliste Refreshing - + Oppdaterer Unban - + Fjern Utestengning Subject - + Emne Type - + Type Forum Username - + Forum Brukernavn IP Address - + IP Adresse Refresh - + Oppdater @@ -6420,17 +6825,17 @@ Debug Message: Current connection status - + Gjeldende tilkoblingsstatus Not Connected. Click here to find a room! - + Ikke tilkoblet. Klikk her for å finne et rom! Not Connected - + Ikke Tilkoblet @@ -6440,7 +6845,7 @@ Debug Message: New Messages Received - + Nye meldinger mottatt @@ -6451,7 +6856,8 @@ Debug Message: Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Kunne ikke oppdatere rominformasjonen. Kontroller Internett-tilkoblingen din og prøv å være vert for rommet på nytt. +Feilsøkingsmelding: @@ -6459,135 +6865,138 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Brukernavnet er ikke gyldig. Må være mellom 4 og 20 alfanumeriske karakterer. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Romnavnet er ikke gyldig. Må være mellom 4 og 20 alfanumeriske karakterer. Username is already in use or not valid. Please choose another. - + Brukernavnet er i bruk eller ikke gyldig. Vennligs velg et annet. IP is not a valid IPv4 address. - + IP er ikke en gyldig IPv4 adresse. Port must be a number between 0 to 65535. - + Porten må være et nummer mellom 0 og 65535. You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list. - + Du må velge et foretrukket spill for å være vert for et rom. Hvis du ikke har noen spill i spillelisten din ennå, kan du legge til en spillmappe ved å klikke på plussikonet i spillelisten. Unable to find an internet connection. Check your internet settings. - + Finner ikke en internettforbindelse. Sjekk internettinnstillingene dine. Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Kan ikke koble til verten. Kontroller at tilkoblingsinnstillingene er riktige. Hvis du fortsatt ikke kan koble til, kontakt romverten og kontroller at verten er riktig konfigurert med den eksterne porten videresendt. Unable to connect to the room because it is already full. - + Kan ikke koble til rommet fordi det allerede er fullt. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Opprettelse av rom mislyktes. Vennligst prøv på nytt. Det kan være nødvendig å starte yuzu på nytt. The host of the room has banned you. Speak with the host to unban you or try a different room. - + Verten for rommet har utestengt deg. Snakk med verten for å oppheve utestengingen eller prøv et annet rom. Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server. - + Feil versjon! Vennligst oppdater til den nyeste versjonen av yuzu. Hvis problemet vedvarer, kontakt romverten og be dem om å oppdatere serveren. Incorrect password. - + Feil passord. An unknown error occurred. If this error continues to occur, please open an issue - + Det oppstod en ukjent feil. Hvis denne feilen fortsetter å oppstå, vennligst åpne et problem. Connection to room lost. Try to reconnect. - + Forbindelsen til rommet er brutt. Prøv å koble til igjen. You have been kicked by the room host. - + Du har blitt sparket av romverten. IP address is already in use. Please choose another. - + IP-adressen er allerede i bruk. Vennligst velg en annen. You do not have enough permission to perform this action. - + Du har ikke tilstrekkelig tillatelse til å utføre denne handlingen. The user you are trying to kick/ban could not be found. They may have left the room. - + Brukeren du prøver å utestenge ble ikke funnet. +De kan ha forlatt rommet. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Ingen gyldig nettverksgrensesnitt er valgt. +Gå til Konfigurer -> System -> Nettverk og gjør et valg. Game already running - + Spillet kjører allerede Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Å bli med i et rom når spillet allerede er i gang frarådes og kan føre til at romfunksjonen ikke fungerer som den skal. +Fortsette likevel? Leave Room - + Forlat Rommet You are about to close the room. Any network connections will be closed. - + Du er i ferd med å lukke rommet. Eventuelle nettverkstilkoblinger vil bli stengt. Disconnect - + Koble Fra You are about to leave the room. Any network connections will be closed. - + Du er i ferd med å forlate rommet. Eventuelle nettverkstilkoblinger vil bli stengt. @@ -6634,7 +7043,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUS @@ -6644,17 +7053,17 @@ p, li { white-space: pre-wrap; } %1 is not playing a game - + %1 spiller ikke et spill %1 is playing %2 - + %1 spiller %2 Not playing a game - + Spiller ikke et spill @@ -6683,31 +7092,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [ikke satt] @@ -6718,14 +7127,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Akse %1%2 @@ -6736,264 +7145,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [ukjent] - - - + + + Left Venstre - - - + + + Right Høyre - - - + + + Down Ned - - - + + + Up Opp - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Sirkel - - + + Cross Kryss - - + + Square Firkant - - + + Triangle Trekant - - + + Share Del - - + + Options Instillinger - - + + [undefined] [udefinert] - + %1%2 - + %1%2 - - + + [invalid] [ugyldig] - - - - + + %1%2Hat %3 - + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 %1%2Akse %3 - - + + %1%2Axis %3,%4,%5 %1%2Akse %3,%4,%5 - - + + %1%2Motion %3 %1%2Bevegelse %3 - - - - + + %1%2Button %3 %1%2Knapp %3 - - + + [unused] [ubrukt] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Venstre Stikke + + + + Stick R + Høyre Stikke + + + + Plus + Pluss + + + + Minus + Minus + + + + Home Hjem - + + Capture + Opptak + + + Touch Touch - + Wheel Indicates the mouse wheel Hjul - + Backward Bakover - + Forward Fremover - + Task - + oppgave - + Extra Ekstra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Hat %4 + + + + + %1%2%3Axis %4 + %1%2%3Akse %4 + + + + + %1%2%3Button %4 + %1%2%3Knapp %4 @@ -7001,22 +7468,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo Innstillinger Amiibo Info - + Amiibo Info Series - + Serie Type - + TypeType @@ -7026,52 +7493,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Amiibo Data Custom Name - + Tilpasset Navn Owner - + Eier Creation Date - + Skapelsesdato dd/MM/yyyy - + dd/MM/yyyy Modification Date - + Modifiseringsdato dd/MM/yyyy - + dd/MM/yyyy Game Data - + Spilldata Game Id - + Spillid Mount Amiibo - + Monter Amiibo @@ -7081,32 +7548,32 @@ p, li { white-space: pre-wrap; } File Path - + Filbane No game data present - + Ingen spilldata til stede The following amiibo data will be formatted: - + Følgende amiibo-data vil bli formatert: The following game data will removed: - + Følgende spilldata vil bli fjernet: Set nickname and owner: - + Angi kallenavn og eier: Do you wish to restore this amiibo? - + Ønsker du å gjenopprette denne amiiboen? @@ -7114,7 +7581,7 @@ p, li { white-space: pre-wrap; } Controller Applet - + Applet for kontroller @@ -7362,27 +7829,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Feilkode: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. En feil har oppstått. Vennligst prøv igjen eller kontakt programmets utvikler. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + Det oppstod en feil på %1 ved %2. +Prøv igjen eller kontakt utvikleren av programvaren. - + An error has occurred. %1 @@ -7406,20 +7874,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Velg en bruker: - - - + Users Brukere - + + Profile Creator + Profilskaper + + + + Profile Selector Profilvelger + + + Profile Icon Editor + Redigering av profilikon + + + + Profile Nickname Editor + Redigering av kallenavn + + + + Who will receive the points? + Hvem vil motta poengene? + + + + Who is using Nintendo eShop? + Hvem bruker Nintendo eShop? + + + + Who is making this purchase? + Hvem foretar dette kjøpet? + + + + Who is posting? + Hvem legger ut? + + + + Select a user to link to a Nintendo Account. + Velg en bruker for å koble til en Nintendo-konto. + + + + Change settings for which user? + Endre innstillinger for hvilken bruker? + + + + Format data for which user? + Formater data for hvilken bruker? + + + + Which user will be transferred to another console? + Hvilken bruker vil bli overført til en annen konsoll? + + + + Send save data for which user? + Send lagrede data for hvilken bruker? + + + + Select a user: + Velg en bruker: + QtSoftwareKeyboardDialog @@ -7469,182 +7998,141 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack - - - - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - venter på alle objekter - - - - waiting for one of the following objects - venter på ett av de følgende objektene + Anropsstabel WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread - + ventet på ingen tråd WaitTreeThread - + runnable - + kjørbar - + paused pauset - + sleeping sover - + waiting for IPC reply venter på IPC-svar - + waiting for objects venter på objekter - + waiting for condition variable - + venter på tilstandsvariabel - + waiting for address arbiter - + venter på adresseforhandler - + waiting for suspend resume - + venter på gjenopptakelse av suspensjon - + waiting venter - + initialized - + initialisert - + terminated - + terminert - + unknown ukjent - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideell - + core %1 kjerne %1 - + processor = %1 prosessor = %1 - - ideal core = %1 - ideell Kjerne = %1 - - - + affinity mask = %1 - + affinitetsmaske = %1 - + thread id = %1 tråd id = %1 - + priority = %1(current) / %2(normal) prioritet = %1(nåværende) / %2(normal) - + last running ticks = %1 - - - - - not waiting for mutex - + siste løpende tick = %1 WaitTreeThreadList - + waited by thread - + ventet med tråd WaitTreeWidget - + &Wait Tree - + Ventetre (&W) \ No newline at end of file diff --git a/dist/languages/nl.ts b/dist/languages/nl.ts index 280e974cb..070e4dba7 100644 --- a/dist/languages/nl.ts +++ b/dist/languages/nl.ts @@ -25,7 +25,13 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is een experimentele open-source emulator voor de Nintendo Switch met een licentie onder GPLv3.0+.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Deze software mag niet worden gebruikt om spellen te spelen die je niet legaal hebt verkregen.</span></p></body></html> @@ -48,17 +54,17 @@ p, li { white-space: pre-wrap; } Cancel - Annuleren + Annuleer Touch the top left corner <br>of your touchpad. - Raak de linkerbovenhoek <br> van uw touchpad aan. + Raak de linkerbovenhoek <br> van je touchpad aan. Now touch the bottom right corner <br>of your touchpad. - klik nu op toets <br> op je toetsenbord + Raak nu de rechterbenedenhoek <br>van je touchpad aan. @@ -76,17 +82,17 @@ p, li { white-space: pre-wrap; } Room Window - + Kamerraam Send Chat Message - Stuur Chatbericht + Verzend Chatbericht Send Message - Stuur Bericht + Verzend Bericht @@ -106,7 +112,7 @@ p, li { white-space: pre-wrap; } %1 has been kicked - %1 is verwijderd + %1 is kicked @@ -116,55 +122,57 @@ p, li { white-space: pre-wrap; } %1 has been unbanned - %1's ban is ongedaan gemaakt + Ban van %1 is ongedaan gemaakt View Profile - Profiel Bekijken + Bekijk Profiel Block Player - Speler Blokkeren + Blokkeer Speler When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Als je een speler blokkeert, ontvang je geen chatberichten meer van ze.<br><br>Weet je zeker dat je %1 wilt blokkeren? Kick - Verwijderen + Kick Ban - Verwijderen + Ban Kick Player - Speler verwijderen + Kick Speler Are you sure you would like to <b>kick</b> %1? - Weet je zeker dat je %1 wil <b>verwijderen</b>? + Weet je zeker dat je %1 wil <b>kicken</b>? Ban Player - Speler Verbannen + Ban Speler Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Weet je zeker dat je %1 wilt <b>kicken en bannen</b>? + +Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen. @@ -172,12 +180,12 @@ This would ban both their forum username and their IP address. Room Window - + Kamervenster Room Description - Kamer Beschrijving + Kamerbeschrijving @@ -187,7 +195,7 @@ This would ban both their forum username and their IP address. Leave Room - + Verlaat Kamer @@ -200,12 +208,12 @@ This would ban both their forum username and their IP address. Disconnected - + Verbinding verbroken %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 leden) - verbonden @@ -224,112 +232,112 @@ This would ban both their forum username and their IP address. Report Game Compatibility - Rapporteer Game Compatibiliteit + Rapporteer Spelcompatibiliteit <html><head/><body><p><span style=" font-size:10pt;">Should you choose to submit a test case to the </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">yuzu Compatibility List</span></a><span style=" font-size:10pt;">, The following information will be collected and displayed on the site:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hardware Information (CPU / GPU / Operating System)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Which version of yuzu you are running</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The connected yuzu account</li></ul></body></html> - <html><head/><body><p><span style=" font-size:10pt;">Als je kiest een test case op te sturen naar de </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">yuzu compatibiliteitslijst</span></a><span style=" font-size:10pt;">, zal de volgende informatie worden verzameld en getoond op de site:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hardware Informatie (CPU / GPU / Besturingssysteem)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Welke versie van yuzu je draait</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Het verbonden yuzu account</li></ul></body></html> + <html><head/><body><p><span style=" font-size:10pt;">Als je kiest een test case op te sturen naar de </span><a href="https://yuzu-emu.org/game/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">yuzu-compatibiliteitslijst</span></a><span style=" font-size:10pt;">, zal de volgende informatie worden verzameld en getoond op de site:</span></p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hardware-informatie (CPU / GPU / Besturingssysteem)</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Welke versie van yuzu je draait</li><li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Het verbonden yuzu-account</li></ul></body></html> <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Start het spel op?</p></body></html> Yes The game starts to output video or audio - + Ja Het spel begint video of audio te produceren No The game doesn't get past the "Launching..." screen - + Nee Het spel komt niet voorbij het "Starten..." scherm Yes The game gets past the intro/menu and into gameplay - + Ja Het spel komt voorbij het intro/menu en begint met het spel No The game crashes or freezes while loading or using the menu - + Nee Het spel loopt vast tijdens het laden of gebruik van het menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Bereikt het spel de gameplay?</p></body></html> Yes The game works without crashes - + Ja Het spel werkt zonder crashes No The game crashes or freezes during gameplay - + Nee Het spel loopt vast of loopt vast tijdens het spelen <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Werkt het spel zonder te crashen, te bevriezen of vast te lopen tijdens het spelen?</p></body></html> Yes The game can be finished without any workarounds - + Ja Het spel kan zonder omwegen worden uitgespeeld No The game can't progress past a certain area - + Nee Het spel kan niet verder dan een bepaald gebied <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Is het spel volledig speelbaar van begin tot eind?</p></body></html> Major The game has major graphical errors - + Major Het spel heeft aanzienlijke grafische fouten Minor The game has minor graphical errors - + Minor Het spel heeft lichte grafische fouten None Everything is rendered as it looks on the Nintendo Switch - + Geen Alles wordt weergegeven zoals het eruit ziet op de Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Heeft het spel grafische glitches?</p></body></html> Major The game has major audio errors - + Major Het spel heeft aanzienlijke audiofouten Minor The game has minor audio errors - + Minor Het spel heeft lichte audiofouten None Audio is played perfectly - + Geen Audio wordt perfect afgespeeld <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Heeft het spel audio-glitches / ontbrekende effecten?</p></body></html> @@ -363,45 +371,70 @@ This would ban both their forum username and their IP address. Audio - Geluid + Audio Output Engine: - Output Engine: + Uitvoer-engine: - Output Device - + Output Device: + Uitvoerapparaat: - Input Device - Invoer Apparaat + Input Device: + Invoerapparaat: - + + Sound Output Mode: + Geluidsuitvoermodus: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Gebruik globaal volume - + Set volume: - stel volume in: + Stel volume in: - + Volume: Volume: - + 0 % 0 % - + + Mute audio when in background + Demp audio op de achtergrond + + + %1% Volume percentage (e.g. 50%) %1% @@ -412,37 +445,37 @@ This would ban both their forum username and their IP address. Configure Infrared Camera - + Configureer Infraroodcamera Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - + Selecteer waar het beeld van de geëmuleerde camera vandaan komt. Het kan een virtuele camera of een echte camera zijn. Camera Image Source: - + Camera Beeldbron: Input device: - + Invoerapparaat: Preview - + Preview Resolution: 320*240 - + Resolutie: 320*240 Click to preview - + Klik om een preview te zien @@ -475,7 +508,7 @@ This would ban both their forum username and their IP address. Accuracy: - Accuratie: + Nauwkeurigheid: @@ -495,7 +528,7 @@ This would ban both their forum username and their IP address. Paranoid (disables most optimizations) - + Paranoid (schakelt de meeste optimalisaties uit) @@ -505,7 +538,7 @@ This would ban both their forum username and their IP address. Unsafe CPU Optimization Settings - Onveilige CPU optimalisatie instellingen + Onveilige CPU-optimalisatie-instellingen @@ -518,8 +551,7 @@ This would ban both their forum username and their IP address. <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> -<div>Deze optie verbeterd de prestatie door de accuratie van fused-multiply-add instructies te verminderen op CPU's zonder native FMA support.</div> - +<div>Deze optie verbeterd de prestatie door de accuratie van fused-multiply-add-instructies te verminderen op CPU's zonder native FMA support.</div> @@ -545,13 +577,12 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> -<div>Deze optie verbetert de snelheid of 32-bit ASIMD floating-point functies door incorrecte afronding modellen te gebruiken.</div> - +<div>Deze optie verbetert de snelheid of 32-bit ASIMD floating-point functies door incorrecte afronding modellen te gebruiken.</div> Faster ASIMD instructions (32 bits only) - + Snellere ASIMD-instructies (alleen 32-bits) @@ -564,36 +595,38 @@ This would ban both their forum username and their IP address. Inaccurate NaN handling - Onnauwkeurige verwerking van NaN + Onnauwkeurige NaN-verwerking <div>This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.</div> - + +<div>Deze optie verbetert de snelheid door het elimineren van een veiligheidscontrole voor elk geheugen lezen/schrijven in de gast. Door deze optie uit te schakelen kan een spel het geheugen van de emulator lezen/schrijven.</div> Disable address space checks - + Schakel adresruimtecontroles uit <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + +<div>Deze optie verbetert de snelheid door alleen de semantiek van cmpxchg te gebruiken om de veiligheid van exclusieve toegangsinstructies te garanderen. Dit kan resulteren in deadlocks en andere "race conditions".</div> Ignore global monitor - + Negeer globale monitor CPU settings are available only when game is not running. - CPU settings zijn alleen toegankelijk als er geen spel draait + CPU-instellingen zijn alleen toegankelijk als er geen spel draait. @@ -601,13 +634,12 @@ This would ban both their forum username and their IP address. Form - Formulier + Vorm CPU - CPU - + CPU @@ -617,7 +649,7 @@ This would ban both their forum username and their IP address. <html><head/><body><p><span style=" font-weight:600;">For debugging only.</span><br/>If you're not sure what these do, keep all of these enabled. <br/>These settings, when disabled, only take effect when CPU Debugging is enabled. </p></body></html> - + <html><head/><body><p><span style=" font-weight:600;">Alleen voor debugging.</span><br/> Als u niet zeker weet wat deze doen, laat ze dan allemaal ingeschakeld. <br/>Deze instellingen, indien uitgeschakeld, hebben alleen effect wanneer CPU Debugging is ingeschakeld.</p></body></html> @@ -627,14 +659,14 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.</div> -<div style="white-space: nowrap">Deze optimazie versneld geheugen toegang door het gastprogramma.</div> -<div style="white-space: nowrap">Door dit aan te leggen geeft toegang tot PageTable::pointers in uitgezonden code.</div> -<div style="white-space: nowrap">Door dit uit te leggen forceerd u alle geheugen toegang door Memory::Read/Memory::Write functies te gaan.</div> +<div style="white-space: nowrap">Deze optimalisatie versnelt exclusieve geheugentoegang door het gastprogramma.</div> +<div style="white-space: nowrap">Inschakelen zorgt ervoor dat exclusieve geheugenlees/schrijfacties van de gast rechtstreeks in het geheugen plaatsvinden en gebruik maken van de MMU van de host.</div> +<div style="white-space: nowrap">Uitschakelen forceert het gebruik van Software MMU-emulatie voor alle exclusieve geheugentoepassingen.</div> Enable inline page tables - Schakel inlijne pagina tafles in + Schakel inline paginatabellen in @@ -647,7 +679,7 @@ This would ban both their forum username and their IP address. Enable block linking - Schakel block linking in + Schakel blocklinking in @@ -655,13 +687,12 @@ This would ban both their forum username and their IP address. <div>This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.</div> -<div>Deze optimalisatie vermijdt het opzoeken van dispatchers door potentiële retouradressen van BL-instructies bij te houden. Dit benadert wat er gebeurt met een retourstackbuffer op een echte CPU.</div> +<div>Deze optimalisatie vermijdt dispatcher lookups door potentiële terugkeeradressen van BL-instructies bij te houden. Dit benadert wat er gebeurt met een return stack buffer op een echte CPU.</div> Enable return stack buffer - Return-stackbuffer inschakelen -  + Schakel return-stackbuffer in @@ -674,7 +705,7 @@ This would ban both their forum username and their IP address. Enable fast dispatcher - Shakel snelle dispatcher in + Schakel snelle dispatcher in @@ -687,7 +718,7 @@ This would ban both their forum username and their IP address. Enable context elimination - Shakel context eliminatie in + Schakel context eliminatie in @@ -700,7 +731,7 @@ This would ban both their forum username and their IP address. Enable constant propagation - Constante verspreiding inschakelen + Schakel constante verspreiding in @@ -713,7 +744,7 @@ This would ban both their forum username and their IP address. Enable miscellaneous optimizations - Diverse optimalisaties inschakelen + Schakel diverse optimalisaties in @@ -728,7 +759,7 @@ This would ban both their forum username and their IP address. Enable misalignment check reduction - Schakel verkeerde uitlijning vermindering in + Schakel verkeerde uitlijningsvermindering in @@ -738,14 +769,14 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> -<div style="white-space: nowrap">Deze optimazie versneld geheugen toegang door het gastprogramma.</div> -<div style="white-space: nowrap">Door dit aan te leggen geeft toegang tot PageTable::pointers in uitgezonden code.</div> -<div style="white-space: nowrap">Door dit uit te leggen forceerd u alle geheugen toegang door Memory::Read/Memory::Write functies te gaan.</div> +<div style="white-space: nowrap">Deze optimalisatie versnelt exclusieve geheugentoegang door het gastprogramma.</div> +<div style="white-space: nowrap">Inschakelen zorgt ervoor dat geheugenlees/schrijfacties rechtstreeks in het geheugen plaatsvinden en gebruik maken van de MMU van de host.</div> +<div style="white-space: nowrap">Uitschakelen forceert het gebruik van Software MMU-emulatie voor alle exclusieve geheugentoepassingen.</div> Enable Host MMU Emulation (general memory instructions) - + Schakel Host MMU-emulatie in (algemene geheugeninstructies) @@ -754,12 +785,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all exclusive memory accesses to use Software MMU Emulation.</div> - + +<div style="white-space: nowrap">Deze optimalisatie versnelt exclusieve geheugentoegang door het gastprogramma.</div> +<div style="white-space: nowrap">Inschakelen zorgt ervoor dat exclusieve geheugenlees/schrijfacties van de gast rechtstreeks in het geheugen plaatsvinden en gebruik maken van de MMU van de host.</div> +<div style="white-space: nowrap">Uitschakelen forceert het gebruik van Software MMU-emulatie voor alle exclusieve geheugentoepassingen.</div> Enable Host MMU Emulation (exclusive memory instructions) - + Schakel Host MMU-emulatie in (exclusieve geheugeninstructies) @@ -767,12 +801,14 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + +<div style="white-space: nowrap">Deze optimalisatie versnelt exclusieve geheugentoegang door het gastprogramma.</div> +<div style="white-space: nowrap">Het inschakelen ervan vermindert de overhead van fastmem falen van exclusieve geheugentoegang.</div> Enable recompilation of exclusive memory instructions - + Schakel hercompilatie van exclusieve geheugeninstructies in @@ -780,12 +816,14 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + +<div style="white-space: nowrap">Deze optimalisering versnelt geheugentoepassingen door ongeldige geheugentoepassingen te laten slagen.</div> +<div style="white-space: nowrap">Het inschakelen ervan vermindert de overhead van alle geheugentoepassingen en heeft geen invloed op programma's die geen ongeldig geheugen gebruiken.</div> Enable fallbacks for invalid memory accesses - + Schakel fallbacks in voor ongeldige geheugentoegang @@ -798,12 +836,12 @@ This would ban both their forum username and their IP address. Debugger - + Debugger Enable GDB Stub - GDB Stub Aanzetten + Schakel GDB Stub in @@ -823,12 +861,12 @@ This would ban both their forum username and their IP address. Show Log in Console - Laat Log Venster Zien + Toon Login-console Open Log Location - Open Log Locatie + Open Loglocatie @@ -838,7 +876,7 @@ This would ban both their forum username and their IP address. Enable Extended Logging** - Activeer Uitgebreid Loggen** + Schakel Uitgebreid Loggen** in @@ -848,7 +886,7 @@ This would ban both their forum username and their IP address. Arguments String - Argumenten Rij + Argumentenrij @@ -863,167 +901,177 @@ This would ban both their forum username and their IP address. Enable Graphics Debugging - Grafische foutopsporing inschakelen + Schakel Graphics Foutopsporing in When checked, it enables Nsight Aftermath crash dumps - + Indien aangevinkt schakelt het Nsight Aftermath crashdumps in Enable Nsight Aftermath - + Schakel Nsight Aftermath in When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Indien aangevinkt, zal het alle originele assembler shaders van de disk shader cache of het gevonden spel dumpen Dump Game Shaders - + Dump Spel-shaders When checked, it will dump all the macro programs of the GPU - + Indien aangevinkt, worden alle macroprogramma's van de GPU gedumpt Dump Maxwell Macros - + Dump Maxwell-macro's When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Indien aangevinkt, wordt de macro Just In Time-compiler uitgeschakeld. Als u dit inschakelt, worden games langzamer + Indien aangevinkt, wordt de macro Just In Time-compiler uitgeschakeld. Als je dit inschakelt, worden spellen langzamer Disable Macro JIT Schakel Macro JIT uit - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - Enable Shader Feedback - + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Indien aangevinkt, schakelt het de macro HLE functies uit. Inschakelen maakt spellen langzamer - - When checked, it executes shaders without loop logic changes - + + Disable Macro HLE + Schakel Macro HLE uit - Disable Loop safety checks - + When checked, yuzu will log statistics about the compiled pipeline cache + Indien aangevinkt, zal yuzu statistieken registreren over de gecompileerde pijplijn-cache + + + + Enable Shader Feedback + Schakel Shader Feedback in + When checked, it executes shaders without loop logic changes + Indien aangevinkt, voert het shaders uit zonder wijzigingen in de luslogica + + + + Disable Loop safety checks + Schakel Lusveiligheidscontroles uit + + + Debugging Debugging - + Enable Verbose Reporting Services** - + Schakel Verbose Reporting Services** in - + Enable FS Access Log - + Schakel FS-toegangslogboek in - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Zet dit aan om de laatst gegenereerde audio commandolijst naar de console te sturen. Alleen van invloed op spellen die de audio renderer gebruiken. - + Dump Audio Commands To Console** - + Dump Audio-opdrachten naar Console** - + Create Minidump After Crash - + Maak Minidump na Crash - + Advanced Geavanceerd - + Kiosk (Quest) Mode - Kiosk (Quest) Modus + Kiosk-modus (Quest) - + Enable CPU Debugging - + Schakel CPU-foutopsporing in - + Enable Debug Asserts - Schakel Debug asserties in + Schakel Debug-asserts in - + Enable Auto-Stub** - + Schakel Auto-Stub** in - + Enable All Controller Types - + Schakel Alle Controler-soorten in - + Disable Web Applet - + Schakel Webapplet uit - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Laat yuzu controleren op een werkende Vulkan-omgeving wanneer het programma opstart. Schakel dit uit als dit problemen veroorzaakt met externe programma's die yuzu zien. - + Perform Startup Vulkan Check - + Voer Vulkan-controle bij het opstarten uit - + **This will be reset automatically when yuzu closes. **Deze optie wordt automatisch gereset wanneer yuzu is gesloten. Restart Required - + Herstart Vereist yuzu is required to restart in order to apply this setting. - + yuzu moet opnieuw opstarten om deze instelling toe te passen. - + Web applet not compiled - + Webapplet niet gecompileerd - + MiniDump creation not compiled - + MiniDump-creatie niet gecompileerd @@ -1031,12 +1079,12 @@ This would ban both their forum username and their IP address. Configure Debug Controller - Debug-controller configureren + Configureer Debug-controller Clear - Verwijder + Wis @@ -1049,7 +1097,7 @@ This would ban both their forum username and their IP address. Form - Formulier + Vorm @@ -1060,8 +1108,7 @@ This would ban both their forum username and their IP address. CPU - CPU - + CPU @@ -1069,81 +1116,81 @@ This would ban both their forum username and their IP address. yuzu Configuration - yuzu Configuratie + yuzu-configuratie - - + + Audio - Geluid + Audio - - + + CPU CPU - + Debug Debug - + Filesystem Bestandssysteem - - + + General Algemeen - - + + Graphics - Grafisch + Graphics - + GraphicsAdvanced - GeAdvanceerdeGrafisch + Geavanceerde Graphics - + Hotkeys Sneltoetsen - - + + Controls Bediening - + Profiles Profielen - + Network - + Netwerk - - + + System Systeem - + Game List - Game Lijst + Spellijst - + Web Web @@ -1163,7 +1210,7 @@ This would ban both their forum username and their IP address. Storage Directories - Opslag Folders + Opslagmappen @@ -1182,12 +1229,12 @@ This would ban both their forum username and their IP address. SD Card - SD Kaart + SD-kaart Gamecard - Gamekaart + Spelkaart @@ -1197,7 +1244,7 @@ This would ban both their forum username and their IP address. Inserted - Ingevoerd + Geplaatst @@ -1207,7 +1254,7 @@ This would ban both their forum username and their IP address. Patch Manager - Patch Beheer + Patch-beheer @@ -1237,7 +1284,7 @@ This would ban both their forum username and their IP address. Cache Game List Metadata - Cache Spel Lijst Metadata + Cache Metagegevens van Spellijst @@ -1245,37 +1292,37 @@ This would ban both their forum username and their IP address. Reset Metadata Cache - Herstel Metadata Cache + Herstel Metagegevenscache Select Emulated NAND Directory... - Selecteer Geëmuleerde NAND Folder + Selecteer Geëmuleerde NAND-map... Select Emulated SD Directory... - Selecteer Geëmuleerde SD Folder + Selecteer Geëmuleerde SD-map... Select Gamecard Path... - Selecteer Gamekaart Pad + Selecteer Spelkaartpad... Select Dump Directory... - Selecteer Dump Folder + Selecteer Dump-map... Select Mod Load Directory... - Selecteer Mod Laad Folder + Selecteer Mod-laadmap... The metadata cache is already empty. - De metadata cache is al leeg. + De metagegevenscache is al leeg. @@ -1285,7 +1332,7 @@ This would ban both their forum username and their IP address. The metadata cache couldn't be deleted. It might be in use or non-existent. - De metadata cache kon niet worden verwijderd. Het wordt mogelijk gebruikt of bestaat niet. + De metagegevenscache kon niet worden verwijderd. Het wordt mogelijk gebruikt of bestaat niet. @@ -1304,7 +1351,7 @@ This would ban both their forum username and their IP address. Limit Speed Percent - Limiteer Snelheid Percentage + Beperk Snelheidspercentage @@ -1314,50 +1361,45 @@ This would ban both their forum username and their IP address. Multicore CPU Emulation - Multicore CPU Emulatie + Multicore CPU-emulatie - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Bevestig sluiten terwijl emulatie nog bezig is - + Prompt for user on game boot - Vraag voor gebruiker bij het opstartten van het spel. + Vraag aan gebruiker bij opstarten van het spel + + + + Pause emulation when in background + Emulatie onderbreken op de achtergrond - Pause emulation when in background - Pauzeer Emulatie wanneer yuzu op de achtergrond openstaat + Hide mouse on inactivity + Verberg muis wanneer inactief - Mute audio when in background + Disable controller applet - - Hide mouse on inactivity - Verstop muis wanneer inactief - - - + Reset All Settings - Reset alle instellingen + Reset Alle Instellingen - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Hiermee worden alle instellingen gereset en alle configuraties per game verwijderd. Hiermee worden gamedirectory's, profielen of invoerprofielen niet verwijderd. Doorgaan? @@ -1372,17 +1414,17 @@ This would ban both their forum username and their IP address. Graphics - Grafisch + Graphics API Settings - API instellingen + API-instellingen Shader Backend: - + Shader Backend: @@ -1396,7 +1438,7 @@ This would ban both their forum username and their IP address. - + None Geen @@ -1408,242 +1450,298 @@ This would ban both their forum username and their IP address. Use disk pipeline cache - + Gebruik schijfpijplijn-cache Use asynchronous GPU emulation - Gebruik asynchroon GPU emulatie + Gebruik asynchrone GPU-emulatie Accelerate ASTC texture decoding - + Versnel ASTC-textuurdecodering + VSync Mode: + VSync-modus: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) dropt geen frames en vertoont geen scheuren, maar wordt beperkt door de vernieuwingsfrequentie van het scherm. +FIFO Relaxed is vergelijkbaar met FIFO, maar staat scheuren toe wanneer het zich herstelt van een vertraging. +Mailbox kan een lagere latentie hebben dan FIFO en scheurt niet, maar kan frames droppen. +Immediate (geen synchronisatie) presenteert gewoon wat beschikbaar is en kan scheuren vertonen. + + + NVDEC emulation: - + NVDEC-emulatie: - + No Video Output - + Geen Video-uitvoer - + CPU Video Decoding - + CPU Videodecodering - + GPU Video Decoding (Default) - + GPU Videodecodering (Standaard) - + Fullscreen Mode: Volledig scherm modus: - + Borderless Windowed - BoordLoos Venster + Randloos Venster - + Exclusive Fullscreen Exclusief Volledig Scherm - + Aspect Ratio: Aspect Ratio: - + Default (16:9) Standaart (16:9) - + Force 4:3 Forceer 4:3 - + Force 21:9 Forceer 21:9 - + Force 16:10 - + Forceer 16:10 - + Stretch to Window - Rek naar Venster - - - - Resolution: - - - - - 0.5X (360p/540p) [EXPERIMENTAL] - - - - - 0.75X (540p/810p) [EXPERIMENTAL] - - - - - 1X (720p/1080p) - - - - - 2X (1440p/2160p) - - - - - 3X (2160p/3240p) - - - - - 4X (2880p/4320p) - + Uitrekken naar Venster + Resolution: + Resolutie: + + + + 0.5X (360p/540p) [EXPERIMENTAL] + 0.5X (360p/540p) [EXPERIMENTEEL] + + + + 0.75X (540p/810p) [EXPERIMENTAL] + 0.75X (540p/810p) [EXPERIMENTEEL] + + + + 1X (720p/1080p) + 1X (720p/1080p) + + + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPERIMENTEEL] + + + + 2X (1440p/2160p) + 2X (1440p/2160p) + + + + 3X (2160p/3240p) + 3X (2160p/3240p) + + + + 4X (2880p/4320p) + 4X (2880p/4320p) + + + 5X (3600p/5400p) - + 5X (3600p/5400p) - + 6X (4320p/6480p) - + 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: - + Window Adapting Filter: - + Nearest Neighbor - + Nearest Neighbor - + Bilinear - + Bilinear - + Bicubic - + Bicubic - + Gaussian - + Gaussian - + ScaleForce - + ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: - + Antialiasing-methode: - + FXAA - + FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Gebruik globale FSR-scherpte - + Set FSR Sharpness - + Stel FSR-scherpte in - + FSR Sharpness: - + FSR-scherpte: - + 100% - + 100% - - + + Use global background color Gebruik globale achtergrondkleur - + Set background color: Gebruik achtergrondkleur: - + Background Color: Achtergrondkleur: - + GLASM (Assembly Shaders, NVIDIA Only) - + GLASM (Assembly Shaders, alleen NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Experimenteel, alleen Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Uit + + + + VSync Off + VSync Uit + + + + Recommended + Aanbevolen + + + + On + Aan + + + + VSync On + VSync Aan + ConfigureGraphicsAdvanced Form - Formulier + Vorm Advanced - Gedadvanceerd + Geavanceerd @@ -1656,77 +1754,154 @@ This would ban both their forum username and their IP address. Nauwkeurigheidsniveau: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync voorkomt dat het scherm beweegt, maar sommige grafische kaarten geven lagere prestaties wanneer VSync is ingeschakeld. Hou het aan als je geen prestatie verschil merkt. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Laat shaders asynchroon compileren, wat haperingen kunnen verminderen. Deze instelling is experimenteel. - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) + Uncompressed (Best quality) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - + + BC1 (Low quality) + BC1 (Lage Kwaliteit) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) + BC3 (Gemiddelde kwaliteit) + + + + Enable asynchronous presentation (Vulkan only) + Schakel asynchrone presentatie in (alleen Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Werkt op de achtergrond terwijl er wordt gewacht op grafische opdrachten om te voorkomen dat de GPU zijn kloksnelheid verlaagt. + + + + Force maximum clocks (Vulkan only) + Forceer maximale klokken (alleen Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Maakt asynchrone ASTC-textuurdecodering mogelijk, waardoor de laadtijd minder stottert. Deze functie is experimenteel. + + + + Decode ASTC textures asynchronously (Hack) + Decodeer ASTC-texturen asynchroon (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Gebruikt reactieve flushing in plaats van predictieve flushing. Maakt een nauwkeuriger synchronisatie van het geheugen mogelijk. + + + + Enable Reactive Flushing + Schakel Reactive Flushing In + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Laat shaders asynchroon compileren, wat haperingen kunnen verminderen. Deze instelling is experimenteel. + + + + Use asynchronous shader building (Hack) + Gebruik asynchrone shaderbouw (Hack) + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + Schakelt Snelle GPU-tijd in. Deze optie forceert de meeste games om op hun hoogste native resolutie te draaien. + + + + Use Fast GPU Time (Hack) + Gebruik Snelle GPU-tijd (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Schakelt GPU-leverancier-specifieke pijplijn-cache in. Deze optie kan de laadtijd van shaders aanzienlijk verbeteren in gevallen waarin het Vulkan-stuurprogramma de pijplijncachebestanden niet intern opslaat. + + + + Use Vulkan pipeline cache + Gebruik Vulkan-pijplijn-cache + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Schakel compute pipelines in, vereist door sommige games. Deze instelling bestaat alleen voor Intel-eigen drivers, en kan crashen indien ingeschakeld. +Compute pipelines is altijd ingeschakeld bij alle andere drivers. + + + + Enable Compute Pipelines (Intel Vulkan only) + Schakel Compute Pipelines in (alleen Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. - + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anisotrope Filtering: - + Automatic - + Automatisch - + Default Standaard - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1736,7 +1911,7 @@ This would ban both their forum username and their IP address. Hotkey Settings - Sneltoets Instellingen + Sneltoets-instellingen @@ -1746,7 +1921,7 @@ This would ban both their forum username and their IP address. Double-click on a binding to change it. - Dubbel-klik op een binding om het te veranderen. + Dubbelklik op een instelling om deze te wijzigen. @@ -1759,70 +1934,65 @@ This would ban both their forum username and their IP address. Standaard Herstellen - + Action Actie - + Hotkey Sneltoets - + Controller Hotkey - + Controller-sneltoets - - - + + + Conflicting Key Sequence - Ongeldige Toets Volgorde + Ongeldige Toetsvolgorde - - + + The entered key sequence is already assigned to: %1 De ingevoerde toetsencombinatie is al in gebruik door: %1 - - Home+%1 - - - - + [waiting] [aan het wachten] - + Invalid - + Ongeldig - + Restore Default Standaard Herstellen - + Clear - Verwijder - - - - Conflicting Button Sequence - - - - - The default button sequence is already assigned to: %1 - + Wis + Conflicting Button Sequence + Conflicterende Knoppencombinatie + + + + The default button sequence is already assigned to: %1 + De standaard knoppencombinatie is al toegewezen aan: %1 + + + The default key sequence is already assigned to: %1 De ingevoerde toetsencombinatie is al in gebruik door: %1 @@ -1891,17 +2061,17 @@ This would ban both their forum username and their IP address. Console Mode - Console ID: + Console-modus: Docked - GeDocked + Docked Handheld - Mobiel + Handheld @@ -1977,7 +2147,7 @@ This would ban both their forum username and their IP address. Clear - Verwijder + Wis @@ -1990,7 +2160,7 @@ This would ban both their forum username and their IP address. Joycon Colors - Joycon Kleuren + Joycon-kleuren @@ -2007,7 +2177,7 @@ This would ban both their forum username and their IP address. L Body - L lichaam + L-lichaam @@ -2019,7 +2189,7 @@ This would ban both their forum username and their IP address. L Button - L Knop + L-knop @@ -2031,7 +2201,7 @@ This would ban both their forum username and their IP address. R Body - R lichaam + R-lichaam @@ -2043,7 +2213,7 @@ This would ban both their forum username and their IP address. R Button - R Knop + R-knop @@ -2083,7 +2253,7 @@ This would ban both their forum username and their IP address. Emulated Devices - + Geëmuleerde Apparaten @@ -2103,30 +2273,30 @@ This would ban both their forum username and their IP address. Advanced - Gedadvanceerd + Geavanceerd Debug Controller - Debug Controller + Debug-controller - + Configure Configureer Ring Controller - + Ring Controller Infrared Camera - + Infraroodcamera @@ -2136,45 +2306,52 @@ This would ban both their forum username and their IP address. Emulate Analog with Keyboard Input - Emuleer Anolooge invoer met toetsenbord + Emuleer Analoog met Toetsenbordinvoer + + Requires restarting yuzu - + Vereist het herstarten van yuzu Enable XInput 8 player support (disables web applet) - + Schakel ondersteuning voor XInput 8-speler in (schakelt webapplet uit) Enable UDP controllers (not needed for motion) - + Schakel UDP-controllers in (niet nodig voor beweging) Controller navigation - + Controller-navigering - - Enable mouse panning - Schakel muis panning in + + Enable direct JoyCon driver + Schakel JoyCon-driver in - - Mouse sensitivity - Muis Gevoeligheid + + Enable direct Pro Controller driver [EXPERIMENTAL] + Schakel Pro Controller-driver in [EXPERIMENTEEL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Maakt onbeperkt gebruik van dezelfde Amiibo mogelijk in spellen die je anders zou beperken tot één gebruik. - + + Use random Amiibo ID + Gebruik willekeurige Amiibo-ID + + + Motion / Touch Beweging / Touch @@ -2184,67 +2361,67 @@ This would ban both their forum username and their IP address. Form - Formulier + Vorm Graphics - Grafisch + Graphics Input Profiles - + Invoerprofielen Player 1 Profile - + Profiel Speler 1 Player 2 Profile - + Profiel Speler 2 Player 3 Profile - + Profiel Speler 3 Player 4 Profile - + Profiel Speler 4 Player 5 Profile - + Profiel Speler 5 Player 6 Profile - + Profiel Speler 6 Player 7 Profile - + Profiel Speler 7 Player 8 Profile - + Profiel Speler 8 Use global input configuration - + Gebruik globale invoerconfiguratie Player %1 profile - + Profiel Speler %1 @@ -2257,12 +2434,12 @@ This would ban both their forum username and their IP address. Connect Controller - Verbindt Controller + Verbind Controller Input Device - Invoer Apparaat + Invoerapparaat @@ -2286,7 +2463,7 @@ This would ban both their forum username and their IP address. - + Left Stick Linker Stick @@ -2298,7 +2475,7 @@ This would ban both their forum username and their IP address. Up - Boven: + Omhoog @@ -2309,7 +2486,7 @@ This would ban both their forum username and their IP address. Left - Links: + Links @@ -2320,7 +2497,7 @@ This would ban both their forum username and their IP address. Right - Rechts: + Rechts @@ -2330,7 +2507,7 @@ This would ban both their forum username and their IP address. Down - Beneden: + Omlaag @@ -2338,7 +2515,7 @@ This would ban both their forum username and their IP address. Pressed - Ingedrukt: + Ingedrukt @@ -2346,13 +2523,13 @@ This would ban both their forum username and their IP address. Modifier - Modificatie: + Modificator Range - Berijk + Bereik @@ -2370,7 +2547,7 @@ This would ban both their forum username and their IP address. Modifier Range: 0% - Bewerk Range: 0% + Modificatorbereik: 0% @@ -2380,14 +2557,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2406,28 +2583,28 @@ This would ban both their forum username and their IP address. - + Plus - Plus: + Plus Home - Home: + Home - - + + R - R: + R - + ZR ZR @@ -2456,7 +2633,7 @@ This would ban both their forum username and their IP address. Face Buttons - Gezicht Knoppen + Gezichtsknoppen @@ -2484,238 +2661,259 @@ This would ban both their forum username and their IP address. - + Right Stick Rechter Stick - - - - - Clear - Verwijder + + Mouse panning + - - - - - + + Configure + Configureer + + + + + + + Clear + Wis + + + + + + + [not set] [niet ingesteld] - - + + + Invert button - + Knop omkeren - - + + Toggle button - Shakel Knop + Schakel-knop - - + + Turbo button + Turbo-knop + + + + Invert axis - Spiegel As + Spiegel as - - - + + + Set threshold - + Stel drempel in - - + + Choose a value between 0% and 100% - + Kies een waarde tussen 0% en 100% - + Toggle axis - + Schakel as - + Set gyro threshold - + Stel gyro-drempel in - + + Calibrate sensor + Kalibreer sensor + + + Map Analog Stick - Zet Analoge Stick + Analoge Stick Toewijzen - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. - Na OK in te drukken, beweeg je joystick eerst horizontaal en dan verticaal. -Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. + Nadat je op OK hebt gedrukt, beweeg je de joystick eerst horizontaal en vervolgens verticaal. +Om de assen om te keren, beweeg je de joystick eerst verticaal en vervolgens horizontaal. - + Center axis - + Midden as - - + + Deadzone: %1% Deadzone: %1% - - + + Modifier Range: %1% - Bewerk Range: %1% + Modificatorbereik: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Twee Joycons - + Left Joycon Linker Joycon - + Right Joycon Rechter Joycon - + Handheld - Mobiel + Handheld - + GameCube Controller - GameCube Controller + GameCube-controller - + Poke Ball Plus - + Poke Ball Plus - + NES Controller - + NES-controller - + SNES Controller - + SNES-controller - + N64 Controller - + N64-controller - + Sega Genesis - + Sega Genesis - + Start / Pause - Start / Pauze + Begin / Onderbreken - + Z Z - + Control Stick Control Stick - + C-Stick C-Stick - + Shake! - Shudden! + Schud! - + [waiting] [aan het wachten] - + New Profile Nieuw Profiel - + Enter a profile name: - Voer nieuwe gebruikersnaam in: + Voer een profielnaam in: - - + + Create Input Profile - Creëer een nieuw Invoer Profiel + Maak Invoerprofiel - + The given profile name is not valid! - De ingevoerde Profiel naam is niet geldig + De ingevoerde profielnaam is niet geldig! - + Failed to create the input profile "%1" - Het is mislukt om Invoer Profiel "%1 te Creëer + Kon invoerprofiel "%1" niet maken - + Delete Input Profile - Verwijder invoer profiel + Verwijder Invoerprofiel - + Failed to delete the input profile "%1" - Het is mislukt om Invoer Profiel "%1 te Verwijderen + Kon invoerprofiel "%1" niet verwijderen - + Load Input Profile - Laad invoer profiel + Laad Invoerprofiel - + Failed to load the input profile "%1" - Het is mislukt om Invoer Profiel "%1 te Laden + Kon invoerprofiel "%1" niet laden - + Save Input Profile - Sla Invoer profiel op + Sla Invoerprofiel op - + Failed to save the input profile "%1" - Het is mislukt om Invoer Profiel "%1 Op te slaan + Kon invoerprofiel "%1" niet opslaan @@ -2723,12 +2921,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Create Input Profile - Maak Invoer Profiel + Maak Invoerprofiel Clear - Verwijder + Wis @@ -2751,7 +2949,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. UDP Calibration: - UDP Calibratie: + UDP-calibratie: @@ -2761,24 +2959,24 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. - + Configure Configureer Touch from button profile: - + Raak van knop-profiel: CemuhookUDP Config - CemuhookUDP Configuratie + CemuhookUDP-configuratie You may use any Cemuhook compatible UDP input source to provide motion and touch input. - U kunt elke Cemuhook-compatibele UDP-invoerbron gebruiken voor bewegings- en aanraakinvoer. + Je kunt elke Cemuhook-compatibele UDP-invoerbron gebruiken om beweging en aanraking in te voeren. @@ -2793,11 +2991,11 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Learn More - Leer Meer + Meer Info - + Test Test @@ -2809,87 +3007,162 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Remove Server - Externe Server + Verwijder Server <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Learn More</span></a> - <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Leer Meer</span></a> + <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Meer Info</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu - Yuzu + yuzu - + Port number has invalid characters Poortnummer bevat ongeldige tekens - + Port has to be in range 0 and 65353 Poort moet in bereik 0 en 65353 zijn - + IP address is not valid - IP adress is niet geldig + IP-adress is niet geldig - + This UDP server already exists - Deze UDP server bestaat al + Deze UDP-server bestaat al - + Unable to add more than 8 servers Kan niet meer dan 8 servers toevoegen - + Testing Testen - + Configuring Configureren - + Test Successful - Test Succesvol + Test Succesvol - + Successfully received data from the server. De data van de server is succesvol ontvangen. - + Test Failed Test Gefaald - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. - Kan niet de juiste data van de server ontvangen.<br>Verifieer dat de server is goed opgezet en dat het adres en poort correct zijn. + Kan niet de juiste data van de server ontvangen.<br>Controleer of de server correct is ingesteld en of het adres en de poort correct zijn. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. - UDP Test of calibratie configuratie is bezig.<br>Wacht alstublieft totdat het voltooid is. + UDP-test of kalibratieconfiguratie is bezig.<br>Wacht tot ze klaar zijn. + + + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Inschakelen + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standaard @@ -2897,12 +3170,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Form - Formulier + Vorm Network - + Netwerk @@ -2912,7 +3185,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Network Interface - + Netwerkinterface @@ -2940,7 +3213,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Title ID - Titel ID + Titel-ID @@ -2968,47 +3241,47 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Ontwikkelaar - + Add-Ons Add-Ons - + General Algemeen - + System Systeem - + CPU CPU - + Graphics - Grafisch + Graphics - + Adv. Graphics - Adv. Grafisch - - - - Audio - Geluid - - - - Input Profiles - + Adv. Graphics + Audio + Audio + + + + Input Profiles + Invoerprofielen + + + Properties Eigenschappen @@ -3023,7 +3296,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Form - Formulier + Vorm @@ -3033,7 +3306,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Patch Name - Patch Naam + Patch-naam @@ -3056,7 +3329,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Profile Manager - Profiel Beheer + Profielbeheer @@ -3071,12 +3344,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Set Image - Selecteer Afbeelding + Stel Afbeelding In Add - Voeg Toe + Toevoegen @@ -3091,7 +3364,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Profile management is available only when game is not running. - Profiel beheer is alleen beschikbaar wanneer het spel niet bezig is. + Profielbeheer is alleen beschikbaar wanneer het spel niet bezig is. @@ -3104,7 +3377,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Enter Username - Voer een Gebruikersnaam in + Voer Gebruikersnaam in @@ -3124,12 +3397,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Select User Image - Selecteer gebruiker's foto + Selecteer Gebruikersfoto JPEG Images (*.jpg *.jpeg) - JPEG foto's (*.jpg *.jpeg) + JPEG-foto's (*.jpg *.jpeg) @@ -3174,12 +3447,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Error resizing user image - + Fout bij het aanpassen van grootte van gebruikersafbeelding Unable to resize image - + Kon de grootte van de afbeelding niet wijzigen @@ -3187,7 +3460,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Delete this user? All of the user's save data will be deleted. - + Deze gebruiker verwijderen? Alle opgeslagen gegevens van de gebruiker worden verwijderd. @@ -3198,7 +3471,8 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Name: %1 UUID: %2 - + Naam: %1 +UUID: %2 @@ -3206,29 +3480,29 @@ UUID: %2 Configure Ring Controller - + Configureer Ring-controller - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Parameters Virtuele Ringsensor Pull - + Trek Push - + Duw @@ -3236,33 +3510,95 @@ UUID: %2 Deadzone: 0% - + + Direct Joycon Driver + Direct Joycon-driver + + + + Enable Ring Input + Schakel Ringinvoer in + + + + + Enable + Inschakelen + + + + Ring Sensor Value + Ringsensorwaarde + + + + + Not connected + Niet verbonden + + + Restore Defaults Standaard Herstellen - + Clear - Verwijder + Wis - + [not set] [niet ingesteld] - + Invert axis - Spiegel As + Spiegel as - - + + Deadzone: %1% Deadzone: %1% - + + Error enabling ring input + Fout tijdens inschakelen van ringinvoer + + + + Direct Joycon driver is not enabled + Direct Joycon-driver niet ingeschakeld + + + + Configuring + Configureren + + + + The current mapped device doesn't support the ring controller + Het huidige apparaat ondersteunt de ringcontroller niet + + + + The current mapped device doesn't have a ring attached + Het huidige apparaat heeft geen ring + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Onverwacht driverresultaat %1 + + + [waiting] [aan het wachten] @@ -3292,7 +3628,7 @@ UUID: %2 Auto - Automatisch + Auto @@ -3553,12 +3889,12 @@ UUID: %2 Time Zone: - Tijd Zone: + Tijdzone: Note: this can be overridden when region setting is auto-select - Noot: dit kan worden overschreven wanneer de regio instelling op automatisch selecteren staat. + Opmerking: dit kan worden overschreven wanneer de regio-instelling automatisch wordt geselecteerd @@ -3567,8 +3903,8 @@ UUID: %2 - English - Engels (English) + American English + Amerikaans-Engels @@ -3593,7 +3929,7 @@ UUID: %2 Chinese - Chinees (正體中文 / 简体中文) + Chinees @@ -3623,17 +3959,17 @@ UUID: %2 British English - Brits Engels + Brits-Engels Canadian French - Canadees Frans + Canadees-Frans Latin American Spanish - Latijns Amerikaans Spaans + Latijns-Amerikaans Spaans @@ -3648,12 +3984,12 @@ UUID: %2 Brazilian Portuguese (português do Brasil) - + Braziliaans-Portugees (português do Brasil) Custom RTC - Handmatige RTC + Aangepaste RTC @@ -3668,57 +4004,22 @@ UUID: %2 Device Name - + Apparaatnaam - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Onveilige uitgebreide geheugenindeling (8GB DRAM) - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Console ID: - - - - Sound output mode - Geluid uitvoer mode - - - - Regenerate - Herstel - - - + System settings are available only when game is not running. Systeeminstellingen zijn enkel toegankelijk wanneer er geen game draait. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Dit vervangt je huidige virtuele Switch met een nieuwe. Je huidige virtuele Switch kan dan niet meer worden hersteld. Dit kan onverwachte effecten hebben in spellen. Dit werkt niet als je een oude config savegame gebruikt. Doorgaan? - - - - Warning - Waarschuwing - - - - Console ID: 0x%1 - Console ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Waarschuwing: "%1" is geen geldige taal voor regio "%2" @@ -3726,47 +4027,47 @@ UUID: %2 TAS - + TAS <html><head/><body><p>Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation, please consult the <a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;">help page</span></a> on the yuzu website.</p></body></html> - + <html><head/><body><p>Leest controller-invoer van scripts in hetzelfde formaat als TAS-nx-scripts.<br/>Voor een meer gedetailleerde uitleg kunt u de<a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;">help-pagina</span></a>op de yuzu-website raadplegen.</p></body></html> To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -> General -> Hotkeys). - + Om te controleren welke sneltoetsen het afspelen/opnemen regelen, raadpleeg de sneltoetsinstellingen (Configuratie -> Algemeen -> Sneltoetsen). WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. - + WAARSCHUWING: Dit is een experimentele functie.<br/>Met de huidige, onvolmaakte synchronisatiemethode worden scripts niet perfect afgespeeld. Settings - + Instellingen Enable TAS features - + Schakel TAS-functies in Loop script - + Lus script Pause execution during loads - + Onderbreek de uitvoering tijdens ladingen Script Directory - + Script-map @@ -3784,12 +4085,12 @@ UUID: %2 TAS Configuration - + TAS-configuratie - + Select TAS Load Directory... - + Selecteer TAS-laadmap... @@ -3797,12 +4098,12 @@ UUID: %2 Configure Touchscreen Mappings - Touchscreen Mappings Configureren + Configureer Touchscreen-toewijzingen Mapping: - Mapping: + Toewijzing: @@ -3817,14 +4118,14 @@ UUID: %2 Rename - Hernoemen + Hernoem Click the bottom area to add a point, then press a button to bind. Drag points to change position, or double-click table cells to edit values. - Klik in de onderste vlakte op een punt toe te voegen, daarna druk op een knop om het te verbinden. -Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen om de waardes te veranderen. + Klik op het onderste gebied om een punt toe te voegen en druk vervolgens op een knop om toe te wijzen. +Versleep punten om de positie te veranderen, of dubbelklik op tabelcellen om waarden te bewerken. @@ -3866,7 +4167,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Delete profile %1? - Verwijder Profiel %1? + Verwijder profiel %1? @@ -3894,22 +4195,22 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Warning: The settings in this page affect the inner workings of yuzu's emulated touchscreen. Changing them may result in undesirable behavior, such as the touchscreen partially or not working. You should only use this page if you know what you are doing. - Waarschuwing: Instellingen in deze pagina hebben invloed op de interne werking van yuzu's geemuleerde touchscreen. Veranderingen kunnen ongewenste resultaten hebben, zoals ervoor zorgen dat het touchscreen half of niet werkt. Gebruik deze pagina enkel als je weet wat je doet. + Waarschuwing: De instellingen in deze pagina beïnvloeden de innerlijke werking van yuzu's geëmuleerde touchscreen. Het veranderen ervan kan leiden tot ongewenst gedrag, zoals het gedeeltelijk of niet werken van het touchscreen. Je moet deze pagina alleen gebruiken als je weet wat je doet. Touch Parameters - Touch Parameters + Aanraakparameters Touch Diameter Y - Touch Diameter Y + Aanraakdiameter Y Touch Diameter X - Touch Diameter X + Aanraakdiameter X @@ -3919,7 +4220,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Restore Defaults - Herstel Standaardwaardes + Herstel Standaardwaarden @@ -3934,37 +4235,37 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Small (32x32) - + Klein (32x32) Standard (64x64) - + Standaard (64x64) Large (128x128) - + Groot (128x128) Full Size (256x256) - + Volledige Grootte (256x256) Small (24x24) - + Klein (24x24) Standard (48x48) - + Standaard (48x48) Large (72x72) - + Groot (72x72) @@ -3974,17 +4275,17 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Filetype - + Bestandstype Title ID - Titel ID + Titel-ID Title Name - + Titelnaam @@ -4007,12 +4308,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Note: Changing language will apply your configuration. - Notitie: De taal veranderen past uw configuratie toe. + Opmerking: Als je de taal wijzigt, wordt je configuratie toegepast. Interface language: - Interface taal: + Interfacetaal: @@ -4022,47 +4323,47 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Game List - Game Lijst + Spellijst Show Compatibility List - + Toon Compatibiliteitslijst Show Add-Ons Column - Toon Add-Ons Kolom + Toon Kolom Add-Ons Show Size Column - + Toon Kolomgrootte Show File Types Column - + Toon Kolom Bestandstypen Game Icon Size: - + Grootte Spelicoon: Folder Icon Size: - + Grootte Mapicoon: Row 1 Text: - Rij 1 Text: + Rij 1 Tekst: Row 2 Text: - Rij 2 Text: + Rij 2 Tekst: @@ -4072,12 +4373,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Ask Where To Save Screenshots (Windows Only) - + Vraag waar schermafbeeldingen moeten worden opgeslagen (alleen Windows) Screenshots Path: - + Schermafbeeldingspad: @@ -4087,7 +4388,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Select Screenshots Path... - + Selecteer Schermafbeeldingspad... @@ -4100,12 +4401,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Configure Vibration - + Configureer Trilling Press any controller button to vibrate the controller. - + Druk op een willekeurige knop om de controller te laten trillen. @@ -4167,12 +4468,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Settings - + Instellingen Enable Accurate Vibration - + Schakel Nauwkeurige Trillingen In @@ -4190,12 +4491,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen yuzu Web Service - yuzu Web Service + yuzu-webservice By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information. - Door je gebruikersnaam en token te geven, ga je akkoord dat yuzu extra gebruiksdata verzameld, waaronder mogelijk gebruikersidentificatie-informatie. + Door je gebruikersnaam en token op te geven, ga je ermee akkoord dat yuzu aanvullende gebruiksgegevens verzamelt, die informatie ter identificatie van de gebruiker kunnen bevatten. @@ -4226,7 +4527,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Web Service configuration can only be changed when a public room isn't being hosted. - + De configuratie van de webservice kan alleen worden gewijzigd als er geen openbare ruimte wordt gehost. @@ -4236,17 +4537,17 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Share anonymous usage data with the yuzu team - Deel anonieme gebruiksdata met het yuzu team + Deel anonieme gebruiksdata met het yuzu-team Learn more - Leer meer + Meer info Telemetry ID: - Telemetrie ID: + Telemetrie-ID: @@ -4256,17 +4557,17 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Discord Presence - Discord Presence + Aanwezigheid in Discord Show Current Game in your Discord Status - Toon huidige game in je Discord status + Toon huidige game in uw Discord-status <a href='https://yuzu-emu.org/help/feature/telemetry/'><span style="text-decoration: underline; color:#039be5;">Learn more</span></a> - <a href='https://yuzu-emu.org/help/feature/telemetry/'><span style="text-decoration: underline; color:#039be5;">Leer meer</span></a> + <a href='https://yuzu-emu.org/help/feature/telemetry/'><span style="text-decoration: underline; color:#039be5;">Meer info</span></a> @@ -4282,7 +4583,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Telemetry ID: 0x%1 - Telemetrie ID: 0x%1 + Telemetrie-ID: 0x%1 @@ -4304,7 +4605,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Unverified, please click Verify before saving configuration Tooltip - + Niet geverifieerd, klik op Verifiëren voordat je de configuratie opslaat @@ -4316,7 +4617,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Verified Tooltip - + Geverifiëerd @@ -4332,7 +4633,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Verification failed. Check that you have entered your token correctly, and that your internet connection is working. - Verificatie mislukt. Check dat uw token correct is en dat uw internet werkt. + Verificatie mislukt. Controleer of je je token correct hebt ingevoerd en of je internetverbinding werkt. @@ -4340,12 +4641,12 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Controller P1 - + Controller P1 - + &Controller P1 - + &Controller P1 @@ -4353,980 +4654,958 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Direct Connect - + Directe Verbinding - - IP Address - + + Server Address + Serveradres - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Serveradres van de host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Poort - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Poortnummer waarop de host luistert</p></body></html> - + Nickname - + Gebruikersnaam - + Password - + Wachtwoord - + Connect - + Verbind DirectConnectWindow - + Connecting - + Verbinden - + Connect - + Verbind GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Annonieme gegevens worden verzameld</a> om yuzu te helpen verbeteren. <br/><br/> Zou je jouw gebruiksgegevens met ons willen delen? - + Telemetry Telemetrie - + Broken Vulkan Installation Detected - + Beschadigde Vulkan-installatie gedetecteerd - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + Vulkan-initialisatie mislukt tijdens het opstarten.<br><br>Klik <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>hier voor instructies om het probleem op te lossen</a>. - - Loading Web Applet... - Web Applet Laden... - - - - - Disable Web Applet - - - - - Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? -(This can be re-enabled in the Debug settings.) - - - - - The amount of shaders currently being built - - - - - The current selected resolution scaling multiplier. - - - - - Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. - Huidige emulatie snelheid. Waardes hoger of lager dan 100% betekent dat de emulatie sneller of langzamer loopt dan de Switch. - - - - How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. - Hoeveel frames per seconde de game op dit moment weergeeft. Dit zal veranderen van game naar game en van scène naar scène. - - - - Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. - Tijd gebruikt om een frame van de Switch te emuleren, waarbij framelimiteren of v-sync niet wordt meegerekend. Voor emulatie op volledige snelheid zou dit maximaal 16.67 ms zijn. - - - - &Clear Recent Files - - - - - &Continue - - - - - &Pause - &Pauzeren - - - - yuzu is running a game + + Running a game TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + + Loading Web Applet... + Web Applet Laden... + + + + + Disable Web Applet + Schakel Webapplet uit + + + + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? +(This can be re-enabled in the Debug settings.) + Het uitschakelen van de webapplet kan leiden tot ongedefinieerd gedrag en mag alleen gebruikt worden met Super Mario 3D All-Stars. Weet je zeker dat je de webapplet wilt uitschakelen? +(Deze kan opnieuw worden ingeschakeld in de Debug-instellingen). + + + + The amount of shaders currently being built + Het aantal shaders dat momenteel wordt gebouwd + + + + The current selected resolution scaling multiplier. + De huidige geselecteerde resolutieschaalmultiplier. + + + + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. + Huidige emulatiesnelheid. Waarden hoger of lager dan 100% geven aan dat de emulatie sneller of langzamer werkt dan een Switch. + + + + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. + Hoeveel beelden per seconde het spel momenteel weergeeft. Dit varieert van spel tot spel en van scène tot scène. + + + + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. + Tijd die nodig is om een Switch-beeld te emuleren, beeldbeperking of v-sync niet meegerekend. Voor emulatie op volle snelheid mag dit maximaal 16,67 ms zijn. + + + + Unmute + Dempen opheffen + + + + Mute + Dempen + + + + Reset Volume + Volume resetten + + + + &Clear Recent Files + &Wis Recente Bestanden + + + + Emulated mouse is enabled + Geëmuleerde muis is ingeschakeld + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Echte muisinvoer en muispanning zijn niet compatibel. Schakel de geëmuleerde muis uit in de geavanceerde invoerinstellingen om muispanning mogelijk te maken. + + + + &Continue + &Doorgaan + + + + &Pause + &Onderbreken + + + Warning Outdated Game Format - Waarschuwing Verouderd Spel Formaat + Waarschuwing Verouderd Spelformaat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. - Je gebruikt gedeconstrueerd ROM map formaat voor dit Spel, dit is een verouderd formaat en is vervangen door formaten zoals NCA, NAX, XCI of NSP. Gedeconstrueerd ROM map heeft geen iconen, metadata en update understeuning.<br><br>Voor een uitleg over welke Switch formaten yuzu ondersteund, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>kijk op onze wiki</a>. Dit bericht word niet nog een keer weergegeven. + Je gebruikt het gedeconstrueerde ROM-mapformaat voor dit spel, wat een verouderd formaat is dat vervangen is door andere zoals NCA, NAX, XCI, of NSP. Deconstructed ROM-mappen missen iconen, metadata, en update-ondersteuning.<br><br>Voor een uitleg van de verschillende Switch-formaten die yuzu ondersteunt,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'> bekijk onze wiki</a>. Dit bericht wordt niet meer getoond. - - + + Error while loading ROM! Fout tijdens het laden van een ROM! - + The ROM format is not supported. - Het formaat van de ROM is niet ondersteunt. + Het ROM-formaat wordt niet ondersteund. - + An error occurred initializing the video core. Er is een fout opgetreden tijdens het initialiseren van de videokern. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + yuzu is een fout tegengekomen tijdens het uitvoeren van de videokern. Dit wordt meestal veroorzaakt door verouderde GPU-drivers, inclusief geïntegreerde. Zie het logboek voor meer details. Voor meer informatie over toegang tot het log, zie de volgende pagina: <a href='https://yuzu-emu.org/help/reference/log-files/'>Hoe upload je het logbestand</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + Fout tijdens het laden van ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + %1<br>Volg de <a href='https://yuzu-emu.org/help/quickstart/'>yuzu snelstartgids</a> om je bestanden te redumpen.<br>Je kunt de yuzu-wiki</a>of de yuzu-Discord</a> raadplegen voor hulp. - + An unknown error occurred. Please see the log for more details. Een onbekende fout heeft plaatsgevonden. Kijk in de log voor meer details. - + (64-bit) - + (64-bit) - + (32-bit) - + (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit - + %1 %2 - + Closing software... - + Software sluiten... - + Save Data Save Data - + Mod Data Mod Data - - - Error Opening %1 Folder - Fout tijdens het openen van %1 folder - - - - - Folder does not exist! - Folder bestaat niet! - - - - Error Opening Transferable Shader Cache - Fout Bij Het Openen Van Overdraagbare Shader Cache - - - - Failed to create the shader cache directory for this title. - - - - - Error Removing Contents - - - - - Error Removing Update - - - - - Error Removing DLC - - - - - Remove Installed Game Contents? - - - - - Remove Installed Game Update? - - - - - Remove Installed Game DLC? - - - - - Remove Entry - - - - - - - - - - Successfully Removed - - - - - Successfully removed the installed base game. - - - - - The base game is not installed in the NAND and cannot be removed. - - - - - Successfully removed the installed update. - - - - - There is no update installed for this title. - - - - - There are no DLC installed for this title. - - - Successfully removed %1 installed DLC. - + Error Opening %1 Folder + Fout tijdens het openen van %1 map - - Delete OpenGL Transferable Shader Cache? - + + + Folder does not exist! + Map bestaat niet! - - Delete Vulkan Transferable Shader Cache? - - - - - Delete All Transferable Shader Caches? - + + Error Opening Transferable Shader Cache + Fout bij het openen van overdraagbare shader-cache - Remove Custom Game Configuration? - + Failed to create the shader cache directory for this title. + Kon de shader-cache-map voor dit spel niet aanmaken. - - Remove File - + + Error Removing Contents + Fout bij het verwijderen van de inhoud - - - Error Removing Transferable Shader Cache - + + Error Removing Update + Fout bij het verwijderen van de update - - - A shader cache for this title does not exist. - Er bestaat geen shader cache voor deze game + + Error Removing DLC + Fout bij het verwijderen van DLC - - Successfully removed the transferable shader cache. - + + Remove Installed Game Contents? + Geïnstalleerde Spelinhoud Verwijderen? - - Failed to remove the transferable shader cache. - - - - - - Error Removing Transferable Shader Caches - - - - - Successfully removed the transferable shader caches. - + + Remove Installed Game Update? + Geïnstalleerde Spel-update Verwijderen? + Remove Installed Game DLC? + Geïnstalleerde Spel-DLC Verwijderen? + + + + Remove Entry + Verwijder Invoer + + + + + + + + + Successfully Removed + Met Succes Verwijderd + + + + Successfully removed the installed base game. + Het geïnstalleerde basisspel is succesvol verwijderd. + + + + The base game is not installed in the NAND and cannot be removed. + Het basisspel is niet geïnstalleerd in de NAND en kan niet worden verwijderd. + + + + Successfully removed the installed update. + De geïnstalleerde update is succesvol verwijderd. + + + + There is no update installed for this title. + Er is geen update geïnstalleerd voor dit spel. + + + + There are no DLC installed for this title. + Er is geen DLC geïnstalleerd voor dit spel. + + + + Successfully removed %1 installed DLC. + %1 geïnstalleerde DLC met succes verwijderd. + + + + Delete OpenGL Transferable Shader Cache? + Overdraagbare OpenGL-shader-cache Verwijderen? + + + + Delete Vulkan Transferable Shader Cache? + Overdraagbare Vulkan-shader-cache Verwijderen? + + + + Delete All Transferable Shader Caches? + Alle Overdraagbare Shader-caches Verwijderen? + + + + Remove Custom Game Configuration? + Aangepaste Spelconfiguratie Verwijderen? + + + + Remove Cache Storage? + Cache-opslag verwijderen + + + + Remove File + Verwijder Bestand + + + + + Error Removing Transferable Shader Cache + Fout bij het verwijderen van Overdraagbare Shader-cache + + + + + A shader cache for this title does not exist. + Er bestaat geen shader-cache voor dit spel. + + + + Successfully removed the transferable shader cache. + De overdraagbare shader-cache is verwijderd. + + + + Failed to remove the transferable shader cache. + Kon de overdraagbare shader-cache niet verwijderen. + + + + Error Removing Vulkan Driver Pipeline Cache + Fout bij het verwijderen van Pijplijn-cache van Vulkan-driver + + + + Failed to remove the driver pipeline cache. + Kon de pijplijn-cache van de driver niet verwijderen. + + + + + Error Removing Transferable Shader Caches + Fout bij het verwijderen van overdraagbare shader-caches + + + + Successfully removed the transferable shader caches. + De overdraagbare shader-caches zijn verwijderd. + + + Failed to remove the transferable shader cache directory. - + Kon de overdraagbare shader-cache-map niet verwijderen. - - + + Error Removing Custom Configuration - + Fout bij het verwijderen van aangepaste configuratie - + A custom configuration for this title does not exist. - + Er bestaat geen aangepaste configuratie voor dit spel. - + Successfully removed the custom game configuration. - + De aangepaste spelconfiguratie is verwijderd. - + Failed to remove the custom game configuration. - + Kon de aangepaste spelconfiguratie niet verwijderen. - - + + RomFS Extraction Failed! - RomFS Extractie Mislukt! + RomFS-extractie Mislukt! - + There was an error copying the RomFS files or the user cancelled the operation. - Er was een fout tijdens het kopiëren van de RomFS bestanden of de gebruiker heeft de operatie geannuleerd. + Er is een fout opgetreden bij het kopiëren van de RomFS-bestanden of de gebruiker heeft de bewerking geannuleerd. - + Full - Vol + Volledig - + Skeleton Skelet - + Select RomFS Dump Mode - Selecteer RomFS Dump Mode + Selecteer RomFS-dumpmodus - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. - Selecteer alstublieft hoe je de RomFS wilt dumpen.<br>Volledig kopieërd alle bestanden in een map terwijl <br> skelet maakt alleen het map structuur. + Selecteer hoe je de RomFS gedumpt wilt hebben.<br>Volledig zal alle bestanden naar de nieuwe map kopiëren, terwijl <br>Skelet alleen de mapstructuur zal aanmaken. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Er is niet genoeg vrije ruimte op %1 om de RomFS uit te pakken. Maak ruimte vrij of kies een andere dumpmap bij Emulatie > Configuratie > Systeem > Bestandssysteem > Dump Root. - + Extracting RomFS... RomFS uitpakken... - - + + Cancel Annuleren - + RomFS Extraction Succeeded! - RomFS Extractie Geslaagd! + RomFS-extractie Geslaagd! - + The operation completed successfully. - De operatie is succesvol voltooid. + De bewerking is succesvol voltooid. - - - - - + + + + + Create Shortcut - + Maak Snelkoppeling - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Dit maakt een snelkoppeling naar de huidige AppImage. Dit werkt mogelijk niet goed als je een update uitvoert. Doorgaan? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Kan geen snelkoppeling op het bureaublad maken. Pad "%1" bestaat niet. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Kan geen snelkoppeling maken in toepassingen menu. Pad "%1" bestaat niet en kan niet worden aangemaakt. - + Create Icon - + Maak Icoon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Kan geen icoonbestand maken. Pad "%1" bestaat niet en kan niet worden aangemaakt. - + Start %1 with the yuzu Emulator - + Voer %1 uiit met de yuzu-emulator - + Failed to create a shortcut at %1 - + Er is geen snelkoppeling gemaakt op %1 - + Successfully created a shortcut to %1 - + Succesvol een snelkoppeling naar %1 gemaakt - + Error Opening %1 Fout bij openen %1 - + Select Directory Selecteer Map - + Properties Eigenschappen - + The game properties could not be loaded. - De eigenschappen van de game kunnen niet geladen worden. + De speleigenschappen kunnen niet geladen worden. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. - Switch Executable (%1);;Alle bestanden (*.*) + Switch Executable (%1);;Alle Bestanden (*.*) - + Load File Laad Bestand - + Open Extracted ROM Directory - Open Gedecomprimeerd ROM Map + Open Uitgepakte ROM-map - + Invalid Directory Selected Ongeldige Map Geselecteerd - + The directory you have selected does not contain a 'main' file. - De map die je hebt geselecteerd bevat geen 'main' bestand. + De map die je hebt geselecteerd bevat geen 'main'-bestand. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Installeerbaar Switch-bestand (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files - + Installeer Bestanden - + %n file(s) remaining - + %n bestand(en) resterend%n bestand(en) resterend - + Installing file "%1"... Bestand "%1" Installeren... - - + + Install Results - + Installeerresultaten - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + Om mogelijke conflicten te voorkomen, raden we gebruikers af om basisgames te installeren op de NAND. +Gebruik deze functie alleen om updates en DLC te installeren. - + %n file(s) were newly installed - + %n bestand(en) zijn recent geïnstalleerd +%n bestand(en) zijn recent geïnstalleerd + - + %n file(s) were overwritten - + %n bestand(en) werden overschreven +%n bestand(en) werden overschreven + - + %n file(s) failed to install - + %n bestand(en) niet geïnstalleerd +%n bestand(en) niet geïnstalleerd + - + System Application - Systeem Applicatie + Systeemapplicatie - + System Archive - Systeem Archief + Systeemarchief - + System Application Update - Systeem Applicatie Update + Systeemapplicatie-update - + Firmware Package (Type A) - Filmware Pakket (Type A) + Filmware-pakket (Type A) - + Firmware Package (Type B) - Filmware Pakket (Type B) + Filmware-pakket (Type B) - + Game - Game + Spel - + Game Update - Game Update + Spelupdate - + Game DLC - Game DLC + Spel-DLC - + Delta Title Delta Titel - + Select NCA Install Type... - Selecteer NCA Installatie Type... + Selecteer NCA-installatiesoort... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) - Selecteer het type titel hoe je wilt dat deze NCA installeerd: -(In de meeste gevallen is de standaard 'Game' juist.) + Selecteer het type titel waarin je deze NCA wilt installeren: +(In de meeste gevallen is de standaard "Spel" prima). - + Failed to Install Installatie Mislukt - + The title type you selected for the NCA is invalid. - Het type title dat je hebt geselecteerd voor de NCA is ongeldig. + Het soort title dat je hebt geselecteerd voor de NCA is ongeldig. - + File not found Bestand niet gevonden - + File "%1" not found Bestand "%1" niet gevonden - + OK OK - - + + Hardware requirements not met - + Er is niet voldaan aan de hardwarevereisten - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Je systeem voldoet niet aan de aanbevolen hardwarevereisten. Compatibiliteitsrapportage is uitgeschakeld. - + Missing yuzu Account - Je yuzu account mist + yuzu-account Ontbreekt - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. - Om game campatibiliteit te raporteren, moet je je yuzu account koppelen.<br><br/> Om je yuzu account te koppelen, ga naar Emulatie &gt; Configuratie &gt; Web. + Om een spelcompatibiliteitstest in te dienen, moet je je yuzu-account koppelen.<br><br/>Om je yuzu-account te koppelen, ga naar Emulatie &gt; Configuratie &gt; Web. - + Error opening URL - + Fout bij het openen van URL - + Unable to open the URL "%1". - + Kan de URL "%1" niet openen. - + TAS Recording - + TAS-opname - + Overwrite file of player 1? - + Het bestand van speler 1 overschrijven? - + Invalid config detected - + Ongeldige configuratie gedetecteerd - + Handheld controller can't be used on docked mode. Pro controller will be selected. - + Handheld-controller kan niet gebruikt worden in docked-modus. Pro controller wordt geselecteerd. - - + + Amiibo - + Amiibo - - + + The current amiibo has been removed - + De huidige amiibo is verwijderd - + Error - + Fout - - + + The current game is not looking for amiibos - + Het huidige spel is niet op zoek naar amiibo's - + Amiibo File (%1);; All Files (*.*) - Amiibo Bestand (%1);; Alle Bestanden (*.*) + Amiibo-bestand (%1);; Alle Bestanden (*.*) - + Load Amiibo Laad Amiibo - + Error loading Amiibo data - Fout tijdens het laden van de Amiibo data + Fout tijdens het laden van de Amiibo-gegevens - + The selected file is not a valid amiibo - + Het geselecteerde bestand is geen geldige amiibo - + The selected file is already on use - + Het geselecteerde bestand is al in gebruik - + An unknown error occurred - + Er is een onbekende fout opgetreden - + Capture Screenshot - Screenshot Vastleggen + Leg Schermafbeelding Vast - + PNG Image (*.png) - PNG afbeelding (*.png) + PNG-afbeelding (*.png) - + TAS state: Running %1/%2 - + TAS-status: %1/%2 In werking - + TAS state: Recording %1 - + TAS-status: %1 Aan het opnemen - + TAS state: Idle %1/%2 - + TAS-status: %1/%2 Inactief - + TAS State: Invalid - + TAS-status: Ongeldig - + &Stop Running - + &Stop Uitvoering - + &Start &Start - + Stop R&ecording - + Stop Opname - + R&ecord - + Opnemen - + Building: %n shader(s) - + Bouwen: %n shader(s)Bouwen: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Schaal: %1x - + Speed: %1% / %2% Snelheid: %1% / %2% - + Speed: %1% Snelheid: %1% - + Game: %1 FPS (Unlocked) - + Spel: %1 FPS (Ontgrendeld) - + Game: %1 FPS Game: %1 FPS - + Frame: %1 ms Frame: %1 ms - - GPU NORMAL - + + %1 %2 + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - - - - - VULKAN - - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - + FSR - - + NO AA - + GEEN AA - - FXAA - + + VOLUME: MUTE + VOLUME: GEDEMPT - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUME: %1% - + Confirm Key Rederivation - Bevestig Sleutel Herafleiding + Bevestig Sleutelherhaling - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5334,92 +5613,198 @@ Please make sure this is what you want and optionally make backups. This will delete your autogenerated key files and re-run the key derivation module. - Je bent op het punt al je sleutels geforceerd opnieuw te verkrijgen. -Als je niet weet wat dit doet of wat je aan het doen bent, -dit is potentieel een vernietigende actie. -Zorg ervoor dat je zeker weet dat dit is wat je wilt doen -en optioneel maak backups. + Je staat op het punt om al je sleutels te forceren. +Als je niet weet wat dit betekent of wat je doet, +is dit een potentieel destructieve actie. +Zorg ervoor dat dit is wat je wilt +en maak eventueel back-ups. -Dit zal je automatisch gegenereerde sleutel bestanden verwijderen en de sleutel verkrijger module opnieuw starten +Dit zal je automatisch gegenereerde sleutelbestanden verwijderen en de sleutelafleidingsmodule opnieuw uitvoeren. - + Missing fuses - + Missing fuses - + - Missing BOOT0 - + - BOOT0 Ontbreekt - + - Missing BCPKG2-1-Normal-Main - + - BCPKG2-1-Normal-Main Ontbreekt - + - Missing PRODINFO - + - PRODINFO Ontbreekt - + Derivation Components Missing - + Afleidingscomponenten ontbreken - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Encryptiesleutels ontbreken. <br>Volg <a href='https://yuzu-emu.org/help/quickstart/'>de yuzu-snelstartgids</a> om al je sleutels, firmware en spellen te krijgen.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. - Dit zal misschien een paar minuten duren gebaseerd -op je systeem's performatie. + Sleutels afleiden... +Dit kan tot een minuut duren, +afhankelijk van de prestaties van je systeem. - + Deriving Keys - Sleutels afleiden + Sleutels Afleiden - + + System Archive Decryption Failed + Decryptie van Systeemarchief Mislukt + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Encryptiesleutels zijn mislukt om firmware te decoderen. <br>Volg <a href='https://yuzu-emu.org/help/quickstart/'>de yuzu-snelstartgids</a> om al je sleutels, firmware en games te krijgen. + + + Select RomFS Dump Target - Selecteer RomFS Dump Doel + Selecteer RomFS-dumpdoel - + Please select which RomFS you would like to dump. Selecteer welke RomFS je zou willen dumpen. - + Are you sure you want to close yuzu? Weet je zeker dat je yuzu wilt sluiten? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. - Weet je zeker dat je de emulatie wilt stoppen? Alle onopgeslagen voortgang will verloren gaan. + Weet je zeker dat je de emulatie wilt stoppen? Alle niet opgeslagen voortgang zal verloren gaan. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? De momenteel actieve toepassing heeft yuzu gevraagd om niet af te sluiten. -Wilt u dit omzeilen en toch afsluiten? +Wil je toch afsluiten? + + + + None + Geen + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Docked + + + + Handheld + Handheld + + + + Normal + Normaal + + + + High + Hoog + + + + Extreme + Extreem + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Nul + + + + GLSL + + + + + GLASM + + + + + SPIRV + @@ -5428,43 +5813,43 @@ Wilt u dit omzeilen en toch afsluiten? OpenGL not available! - + OpenGL niet beschikbaar! OpenGL shared contexts are not supported. - + OpenGL gedeelde contexten worden niet ondersteund. yuzu has not been compiled with OpenGL support. - + yuzu is niet gecompileerd met OpenGL-ondersteuning. Error while initializing OpenGL! - + Fout tijdens het initialiseren van OpenGL! Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + Je GPU ondersteunt mogelijk geen OpenGL, of je hebt niet de laatste grafische stuurprogramma. Error while initializing OpenGL 4.6! - + Fout tijdens het initialiseren van OpenGL 4.6! Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.<br><br>GL Renderer:<br>%1 - + Je GPU ondersteunt mogelijk OpenGL 4.6 niet, of je hebt niet het laatste grafische stuurprogramma.<br><br>GL Renderer:<br>%1 Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.<br><br>GL Renderer:<br>%1<br><br>Unsupported extensions:<br>%2 - + Je GPU ondersteunt mogelijk een of meer vereiste OpenGL-extensies niet. Zorg ervoor dat je het laatste grafische stuurprogramma hebt.<br><br>GL Renderer:<br>%1<br><br>Ondersteunde extensies:<br>%2 @@ -5472,32 +5857,32 @@ Wilt u dit omzeilen en toch afsluiten? Favorite - + Favoriet Start Game - + Start Spel Start Game without Custom Configuration - + Start Spel zonder Aangepaste Configuratie Open Save Data Location - Open Locatie Van Save Gegevens + Open Locatie van Save-data Open Mod Data Location - Open Mod Data Locatie + Open Locatie van Mod-data Open Transferable Pipeline Cache - + Open Overdraagbare Pijplijn-cache @@ -5507,131 +5892,136 @@ Wilt u dit omzeilen en toch afsluiten? Remove Installed Update - + Verwijder Geïnstalleerde Update Remove All Installed DLC - + Verwijder Alle Geïnstalleerde DLC's Remove Custom Configuration - + Verwijder Aangepaste Configuraties - Remove OpenGL Pipeline Cache - + Remove Cache Storage + Cache-opslag verwijderen - Remove Vulkan Pipeline Cache - + Remove OpenGL Pipeline Cache + Verwijder OpenGL-pijplijn-cache - - Remove All Pipeline Caches - + + Remove Vulkan Pipeline Cache + Verwijder Vulkan-pijplijn-cache - Remove All Installed Contents - + Remove All Pipeline Caches + Verwijder Alle Pijplijn-caches + Remove All Installed Contents + Verwijder Alle Geïnstalleerde Inhoud + + + Dump RomFS Dump RomFS - - - Dump RomFS to SDMC - - - Copy Title ID to Clipboard - Kopieer Titel ID naar Klembord + Dump RomFS to SDMC + Dump RomFS naar SDMC - Navigate to GameDB entry - Navigeer naar GameDB inzending + Copy Title ID to Clipboard + Kopiëer Titel-ID naar Klembord - - Create Shortcut - + + Navigate to GameDB entry + Navigeer naar GameDB-invoer + Create Shortcut + Maak Snelkoppeling + + + Add to Desktop - + Toevoegen aan Bureaublad - + Add to Applications Menu - + Toevoegen aan menu Toepassingen - + Properties Eigenschappen - + Scan Subfolders - Scan Subfolders + Scan Submappen - + Remove Game Directory - Verwijder Game Directory + Verwijder Spelmap - + ▲ Move Up - + ▲ Omhoog - + ▼ Move Down - + ▼ Omlaag - + Open Directory Location - Open Directory Locatie + Open Maplocatie - + Clear Verwijder - + Name Naam - + Compatibility Compatibiliteit - + Add-ons - Toevoegingen + Add-ons - + File type - Bestands type + Bestandssoort - + Size Grootte @@ -5641,12 +6031,12 @@ Wilt u dit omzeilen en toch afsluiten? Ingame - + In het spel Game starts, but crashes or major glitches prevent it from being completed. - + Het spel start, maar crashes of grote glitches voorkomen dat het wordt voltooid. @@ -5656,17 +6046,17 @@ Wilt u dit omzeilen en toch afsluiten? Game can be played without issues. - + Het spel kan zonder problemen gespeeld worden. Playable - + Speelbaar Game functions with minor graphical or audio glitches and is playable from start to finish. - + Het spel werkt met kleine grafische of audiofouten en is speelbaar van begin tot eind. @@ -5676,17 +6066,17 @@ Wilt u dit omzeilen en toch afsluiten? Game loads, but is unable to progress past the Start Screen. - + Het spel wordt geladen, maar komt niet verder dan het startscherm. Won't Boot - Start Niet + Start niet op The game crashes when attempting to startup. - De Game crasht wanneer hij probeert op te starten. + Het spel loopt vast bij het opstarten. @@ -5696,15 +6086,15 @@ Wilt u dit omzeilen en toch afsluiten? The game has not yet been tested. - Deze Game is nog niet getest. + Het spel is nog niet getest. GameListPlaceholder - + Double-click to add a new folder to the game list - Dubbel-klik om een ​​nieuwe map toe te voegen aan de lijst met games + Dubbel-klik om een ​​nieuwe map toe te voegen aan de spellijst @@ -5712,17 +6102,17 @@ Wilt u dit omzeilen en toch afsluiten? %1 of %n result(s) - + %1 van %n resultaat(en)%1 van %n resultaat(en) - + Filter: Filter: - + Enter pattern to filter - Voer patroon in om te filteren: + Voer patroon in om te filteren @@ -5730,22 +6120,22 @@ Wilt u dit omzeilen en toch afsluiten? Create Room - + Maak Kamer Room Name - + Kamernaam Preferred Game - + Voorkeursspel Max Players - + Maximum Spelers @@ -5755,42 +6145,42 @@ Wilt u dit omzeilen en toch afsluiten? (Leave blank for open game) - + (Laat leeg voor open spel) Password - + Wachtwoord Port - + Poort Room Description - Kamer Beschrijving + Kamerbeschrijving Load Previous Ban List - + Laad Vorige Banlijst Public - + Openbaar Unlisted - + Niet Vermeld Host Room - + Hostkamer @@ -5798,152 +6188,153 @@ Wilt u dit omzeilen en toch afsluiten? Error - + Fout Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -> Configure -> Web. If you do not want to publish a room in the public lobby, then select Unlisted instead. Debug Message: - + Het is niet gelukt om de kamer aan te kondigen in de openbare lobby. Om een kamer openbaar te hosten, moet je een geldige yuzu-account geconfigureerd hebben in Emulatie -> Configuratie -> Web. Als je geen kamer wilt publiceren in de openbare lobby, selecteer dan in plaats daarvan Niet Vermeld. +Debug-bericht: Hotkeys - + Audio Mute/Unmute - + Audio Dempen/Dempen Opheffen - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Hoofdvenster - + Audio Volume Down - + Audiovolume Omlaag - + Audio Volume Up - + Audiovolume Omhoog - + Capture Screenshot - Screenshot Vastleggen + Leg Schermafbeelding Vast - + Change Adapting Filter - + Wijzig Aanpassingsfilter - + Change Docked Mode - + Wijzig Docked-modus - + Change GPU Accuracy - + Wijzig GPU-nauwkeurigheid - + Continue/Pause Emulation - + Emulatie Doorgaan/Onderbreken - + Exit Fullscreen - + Volledig Scherm Afsluiten - + Exit yuzu - + yuzu afsluiten - + Fullscreen Volledig Scherm - + Load File Laad Bestand - + Load/Remove Amiibo - + Laad/Verwijder Amiibo - + Restart Emulation - + Herstart Emulatie - + Stop Emulation - + Stop Emulatie - + TAS Record - + TAS Opname - + TAS Reset - + TAS Reset - + TAS Start/Stop - + TAS Start/Stop - + Toggle Filter Bar - + Schakel Filterbalk - + Toggle Framerate Limit - + Schakel Frameratelimiet - + Toggle Mouse Panning - + Schakel Muispanning - + Toggle Status Bar - + Schakel Statusbalk @@ -5951,20 +6342,20 @@ Debug Message: Please confirm these are the files you wish to install. - + Bevestig dat dit de bestanden zijn die je wilt installeren. Installing an Update or DLC will overwrite the previously installed one. - + Het installeren van een Update of DLC overschrijft de eerder geïnstalleerde. Install - Installeren + Installeer - + Install Files to NAND Installeer Bestanden naar NAND @@ -5972,10 +6363,11 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 - + De tekst kan geen van de volgende tekens bevatten: +%1 @@ -5983,12 +6375,12 @@ Debug Message: Loading Shaders 387 / 1628 - Shaders Laden 387 / 1628 + Shaders Laden 387 / 1628 Loading Shaders %v out of %m - %v Shaders Laden van de %m + Shaders Laden %v van %m @@ -6003,7 +6395,7 @@ Debug Message: Loading Shaders %1 / %2 - Shaders Laden %1 / %2 + Shaders Laden %1 / %2 @@ -6021,78 +6413,83 @@ Debug Message: Public Room Browser - + Browser voor Openbare Ruimten Nickname - + Gebruikersnaam Filters - + Filters Search - + Zoek Games I Own - + Spellen die ik bezit + Hide Empty Rooms + Verberg Lege Kamers + + + Hide Full Rooms - + Verberg Volle Kamers - + Refresh Lobby - + Vernieuw Lobby - + Password Required to Join - + Wachtwoord vereist om toegang te krijgen - + Password: - + Wachtwoord: - + Players Spelers - - - Room Name - - - Preferred Game - + Room Name + Kamernaam + Preferred Game + Voorkeursspel + + + Host - + Host - + Refreshing - + Vernieuwen - + Refresh List - + Vernieuw Lijst @@ -6110,7 +6507,7 @@ Debug Message: &Recent Files - + &Recente Bestanden @@ -6125,57 +6522,57 @@ Debug Message: &Reset Window Size - + &Herstel Venstergrootte &Debugging - + &Debuggen Reset Window Size to &720p - + Herstel Venstergrootte naar &720p Reset Window Size to 720p - + Herstel Venstergrootte naar 720p Reset Window Size to &900p - + Herstel Venstergrootte naar &900p Reset Window Size to 900p - + Herstel Venstergrootte naar 900p Reset Window Size to &1080p - + Herstel Venstergrootte naar &1080p Reset Window Size to 1080p - + Herstel Venstergrootte naar 1080p &Multiplayer - + &Multiplayer &Tools - + &Tools &TAS - + &TAS @@ -6185,17 +6582,17 @@ Debug Message: &Install Files to NAND... - + &Installeer Bestanden naar NAND... L&oad File... - + L&aad Bestand... Load &Folder... - + Laad &Map... @@ -6205,7 +6602,7 @@ Debug Message: &Pause - &Pauzeren + &Onderbreken @@ -6215,122 +6612,122 @@ Debug Message: &Reinitialize keys... - + &Herinitialiseer toetsen... &About yuzu - + &Over yuzu Single &Window Mode - + Modus Enkel Venster Con&figure... - + Con&figureer... Display D&ock Widget Headers - + Toon Dock Widget Kopteksten Show &Filter Bar - + Toon &Filterbalk Show &Status Bar - + Toon &Statusbalk Show Status Bar - Laat status balk zien + Toon Statusbalk &Browse Public Game Lobby - + &Bladeren door Openbare Spellobby &Create Room - + &Maak Kamer &Leave Room - + &Verlaat Kamer &Direct Connect to Room - + &Directe Verbinding met Kamer &Show Current Room - + &Toon Huidige Kamer F&ullscreen - + Volledig Scherm &Restart - + &Herstart Load/Remove &Amiibo... - + Laad/Verwijder &Amiibo... &Report Compatibility - + &Rapporteer Compatibiliteit Open &Mods Page - + Open &Mod-pagina Open &Quickstart Guide - + Open &Snelstartgids &FAQ - + &FAQ Open &yuzu Folder - + Open &yuzu-map &Capture Screenshot - + &Leg Schermafbeelding Vast &Configure TAS... - + &Configureer TAS... Configure C&urrent Game... - + Configureer Huidig Spel... @@ -6340,12 +6737,12 @@ Debug Message: &Reset - + &Herstel R&ecord - + Opnemen @@ -6353,7 +6750,7 @@ Debug Message: &MicroProfile - + &MicroProfile @@ -6361,48 +6758,48 @@ Debug Message: Moderation - + Moderatie Ban List - + Banlijst Refreshing - + Vernieuwen Unban - + Ontban Subject - + Onderwerp Type - + Soort Forum Username - + Forum Gebruikersnaam IP Address - + IP-adres Refresh - + Vernieuw @@ -6410,17 +6807,17 @@ Debug Message: Current connection status - + Huidige verbindingsstatus Not Connected. Click here to find a room! - + Niet Verbonden. Klik hier om een kamer te vinden! Not Connected - + Niet Verbonden @@ -6430,18 +6827,19 @@ Debug Message: New Messages Received - + Nieuwe Berichten Ontvangen Error - + Fout Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Het is niet gelukt om de kamerinformatie bij te werken. Controleer je internetverbinding en probeer de kamer opnieuw te hosten. +Debug-bericht: @@ -6449,135 +6847,138 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Gebruikersnaam is niet geldig. Moet bestaan uit 4 tot 20 alfanumerieke tekens. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Kamernaam is niet geldig. Moet bestaan uit 4 tot 20 alfanumerieke tekens. Username is already in use or not valid. Please choose another. - + Gebruikersnaam is al in gebruik of niet geldig. Kies een andere. IP is not a valid IPv4 address. - + IP is geen geldig IPv4-adres. Port must be a number between 0 to 65535. - + De poort moet een getal zijn tussen 0 en 65535. You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list. - + Je moet een Voorkeursspel kiezen om een kamer te hosten. Als je nog geen spellen in je spellenlijst hebt, voeg dan een spellenmap toe door op het plus-icoon in de spellenlijst te klikken. Unable to find an internet connection. Check your internet settings. - + Kan geen internetverbinding vinden. Controleer je Internetinstellingen. Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Kan geen verbinding maken met de host. Controleer of de verbindingsinstellingen correct zijn. Als je nog steeds geen verbinding kunt maken, neem dan contact op met de ruimtehost en controleer of de host correct is geconfigureerd met de externe poort doorgestuurd. Unable to connect to the room because it is already full. - + Kan geen verbinding maken met de kamer omdat deze al vol is. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Het aanmaken van een kamer is mislukt. Probeer het opnieuw. Het herstarten van yuzu kan nodig zijn. The host of the room has banned you. Speak with the host to unban you or try a different room. - + De host van de kamer heeft je verbannen. Praat met de host om je ban op te heffen of probeer een andere kamer. Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server. - + Versie komt niet overeen! Update naar de laatste versie van yuzu. Als het probleem aanhoudt, neem dan contact op met de room host en vraag hen om de server bij te werken. Incorrect password. - + Verkeerd wachtwoord. An unknown error occurred. If this error continues to occur, please open an issue - + Er is een onbekende fout opgetreden. Als deze fout zich blijft voordoen, open dan een ticket Connection to room lost. Try to reconnect. - + Verbinding met kamer verloren. Probeer opnieuw verbinding te maken. You have been kicked by the room host. - + Je bent gekickt door de kamerhost. IP address is already in use. Please choose another. - + Het IP-adres is al in gebruik. Kies een ander. You do not have enough permission to perform this action. - + Je hebt niet genoeg rechten om deze actie uit te voeren. The user you are trying to kick/ban could not be found. They may have left the room. - + De gebruiker die je probeert te kicken/bannen kon niet gevonden worden. +Ze kunnen de ruimte hebben verlaten. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Er is geen geldige netwerkinterface geselecteerd. +Ga naar Configuratie -> Systeem -> Netwerk en maak een selectie. Game already running - + Het spel draait al Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Het wordt afgeraden om aan een kamer deel te nemen als het spel al bezig is en kan ervoor zorgen dat de kamerfunctie niet correct werkt. +Toch doorgaan? Leave Room - + Verlaat Kamer You are about to close the room. Any network connections will be closed. - + Je staat op het punt de kamer te sluiten. Alle netwerkverbindingen worden afgesloten. Disconnect - + Verbinding Verbreken You are about to leave the room. Any network connections will be closed. - + Je staat op het punt de kamer te verlaten. Alle netwerkverbindingen worden afgesloten. @@ -6585,7 +6986,7 @@ Proceed anyway? Error - + Fout @@ -6614,15 +7015,19 @@ Proceed anyway? p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> PlayerControlPreview - + START/PAUSE - + START/ONDERBREKEN @@ -6630,70 +7035,70 @@ p, li { white-space: pre-wrap; } %1 is not playing a game - + %1 speelt geen spel %1 is playing %2 - + %1 speelt %2 Not playing a game - + Geen spel aan het spelen Installed SD Titles - Geïnstalleerde SD Titels + Geïnstalleerde SD-titels Installed NAND Titles - Geïnstalleerde NAND Titels + Geïnstalleerde NAND-titels System Titles - Systeem Titels + Systeemtitels Add New Game Directory - Voeg Nieuwe Game Map Toe + Voeg Nieuwe Spelmap Toe Favorites - + Favorieten - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [niet aangegeven] @@ -6704,14 +7109,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axis %1%2 @@ -6722,264 +7127,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [onbekend] - - - - - Left - Links: - - - Right - Rechts: + + Left + Links - - Down - Beneden: + + Right + Rechts - - Up - Boven: + + Down + Omlaag - Z - Z + + Up + Omhoog - R - R: + Z + Z - L - L + R + R + L + L + + + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - - - L1 - - - - L2 - + + L1 + L1 - - L3 - + + L2 + L2 - - R1 - + + L3 + L3 - - R2 - + + R1 + R1 - - R3 - + + R2 + R2 - - Circle - + + R3 + R3 - - Cross - + + Circle + Cirkel - - Square - + + Cross + Kruis - - Triangle - + + Square + Vierkant - - Share - + + Triangle + Driehoek - - Options - + + Share + Deel - - [undefined] - + + Options + Opties - + + + [undefined] + [ongedefinieerd] + + + %1%2 %1%2 - - + + [invalid] - + [ongeldig] - - - - + + %1%2Hat %3 - + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - + %1%2As %3 - - - %1%2Axis %3,%4,%5 - - - - - - %1%2Motion %3 - - - - - - + - %1%2Button %3 - + %1%2Axis %3,%4,%5 + %1%2As %3,%4,%5 - - + + + %1%2Motion %3 + %1%2Beweging %3 + + + + + %1%2Button %3 + %1%2Knop %3 + + + + [unused] [ongebruikt] - - Home - Home: + + ZR + ZR - + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Stick L + + + + Stick R + Stick R + + + + Plus + Plus + + + + Minus + Min + + + + + Home + Home + + + + Capture + Vastleggen + + + Touch Touch - + Wheel Indicates the mouse wheel - + Wiel - + Backward - + Achteruit - + Forward - + Vooruit - + Task - + Taak - + Extra - + Extra - - %1%2%3 - + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Hat %4 + + + + + %1%2%3Axis %4 + %1%2%3As %4 + + + + + %1%2%3Button %4 + %1%2%3Knop %4 @@ -6987,22 +7450,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo-instellingen Amiibo Info - + Amiibo-info Series - + Serie Type - + Soort @@ -7012,52 +7475,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Amiibo-gegevens Custom Name - + Aangepaste Naam Owner - + Eigenaar Creation Date - + Aanmaakdatum dd/MM/yyyy - + dd/MM/yyyy Modification Date - + Modificatiedatum dd/MM/yyyy - + dd/MM/yyyy Game Data - + Spelgegevens Game Id - + Spel-ID Mount Amiibo - + Gebruik Amiibo @@ -7067,32 +7530,32 @@ p, li { white-space: pre-wrap; } File Path - + Bestandspad No game data present - + Geen spelgegevens aanwezig The following amiibo data will be formatted: - + De volgende amiibo-gegevens worden zo geformatteerd: The following game data will removed: - + De volgende spelgegevens worden verwijderd: Set nickname and owner: - + Stel gebruikersnaam en eigenaar in: Do you wish to restore this amiibo? - + Wil je deze amiibo herstellen? @@ -7100,27 +7563,27 @@ p, li { white-space: pre-wrap; } Controller Applet - + Controller Applet Supported Controller Types: - + Ondersteunde Controller-typen: Players: - + Spelers: 1 - 8 - + 1 - 8 P4 - + P4 @@ -7184,59 +7647,59 @@ p, li { white-space: pre-wrap; } Use Current Config - + Gebruik Huidige Configuratie P2 - + P2 P1 - + P1 Handheld - Mobiel + Handheld P3 - + P3 P7 - + P7 P8 - + P8 P5 - + P5 P6 - + P6 Console Mode - Console ID: + Console-ID: Docked - GeDocked + Docked @@ -7262,7 +7725,7 @@ p, li { white-space: pre-wrap; } Create - + Maak @@ -7317,63 +7780,69 @@ p, li { white-space: pre-wrap; } GameCube Controller - GameCube Controller + GameCube-controller Poke Ball Plus - + Poke Ball Plus NES Controller - + NES-controller SNES Controller - + SNES-controller N64 Controller - + N64-controller Sega Genesis - + Sega Genesis QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + Foutcode: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + Er is een fout opgetreden. +Probeer het opnieuw of neem contact op met de software-ontwikkelaar. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + Er is een fout opgetreden op %1 bij %2. +Probeer het opnieuw of neem contact op met de software-ontwikkelaar. - + An error has occurred. %1 %2 - + Er is een fout opgetreden. + +%1 + +%2 @@ -7387,19 +7856,80 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Selecteer een gebruiker: - - - + Users Gebruikers - + + Profile Creator + Profielmaker + + + + Profile Selector - Profiel keuzeschakelaar + Profielkiezer + + + + Profile Icon Editor + Profielicoon-editor + + + + Profile Nickname Editor + Profielnaam-editor + + + + Who will receive the points? + Wie krijgt de punten? + + + + Who is using Nintendo eShop? + Wie gebruikt de Nintendo eShop? + + + + Who is making this purchase? + Wie doet deze aankoop? + + + + Who is posting? + Wie post er? + + + + Select a user to link to a Nintendo Account. + Selecteer een gebruiker om te koppelen aan een Nintendo-account. + + + + Change settings for which user? + Instellingen wijzigen voor welke gebruiker? + + + + Format data for which user? + Formatteer gegevens voor welke gebruiker? + + + + Which user will be transferred to another console? + Welke gebruiker wordt overgezet naar een andere console? + + + + Send save data for which user? + Gegevens verzenden voor welke gebruiker? + + + + Select a user: + Selecteer een gebruiker: @@ -7407,12 +7937,12 @@ Please try again or contact the developer of the software. Software Keyboard - Software Toetsenbord + Softwaretoetsenbord Enter Text - + Voer Tekst In @@ -7421,7 +7951,11 @@ Please try again or contact the developer of the software. p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> @@ -7440,188 +7974,147 @@ p, li { white-space: pre-wrap; } Enter a hotkey - Voer een hotkey in + Voer een sneltoets in WaitTreeCallstack - + Call stack Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - wachten op mutex 0x%1 - - - - has waiters: %1 - heeft wachtende: %1 - - - - owner handle: 0x%1 - eigenaar handvat: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - wachten op alle objecten - - - - waiting for one of the following objects - wachten op een van de volgende objecten - - WaitTreeSynchronizationObject - - [%1] %2 %3 - + + [%1] %2 + [%1] %2 - + waited by no thread - wachtend door geen draad + wachtend door geen thread WaitTreeThread - + runnable uitvoerbaar - + paused - gepauzeerd + onderbroken - + sleeping slapen - + waiting for IPC reply - wachten op IPC antwoord + wachten op IPC-antwoord - + waiting for objects wachten op objecten - + waiting for condition variable wachten op conditie variabele - + waiting for address arbiter wachten op adres arbiter - + waiting for suspend resume - + wachtend op hervatten onderbreking - + waiting aan het wachten - + initialized - geinitialiseerd + geïnitialiseerd - + terminated beëindigd - + unknown onbekend - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideaal - + core %1 kern %1 - + processor = %1 processor = %1 - - ideal core = %1 - ideale kern = %1 - - - + affinity mask = %1 affiniteit masker = %1 - + thread id = %1 - draad id = %1 + thread-id = %1 - + priority = %1(current) / %2(normal) prioriteit = %1(huidige) / %2(normaal) - + last running ticks = %1 laatste lopende ticks = %1 - - - not waiting for mutex - Niet wachtend op mutex - WaitTreeThreadList - + waited by thread - Wachtend door draad + wachtend door thread WaitTreeWidget - + &Wait Tree - + &Wait Tree \ No newline at end of file diff --git a/dist/languages/pl.ts b/dist/languages/pl.ts index c198f0381..2ee8cef47 100644 --- a/dist/languages/pl.ts +++ b/dist/languages/pl.ts @@ -82,7 +82,7 @@ p, li { white-space: pre-wrap; } Room Window - + Okno pokoju @@ -180,7 +180,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Room Window - + Okno pokoju @@ -213,7 +213,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 członków) - połączono @@ -242,102 +242,102 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Czy gra się uruchamia?</p></body></html> Yes The game starts to output video or audio - + Tak, gra zaczyna pokazywać obraz lub słychać dźwięk. No The game doesn't get past the "Launching..." screen - + Nie, gra nie przechodzi przez ekran "Ładowania..." Yes The game gets past the intro/menu and into gameplay - + Tak, gra przechodzi przez intro/ekran główny oraz do rozgrywki. No The game crashes or freezes while loading or using the menu - + Nie, gra zawiesza się podczas ładowania lub poruszania się w menu. <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Czy gra dociera do rozgrywki?</p></body></html> Yes The game works without crashes - + Tak, gra działa bezawaryjnie. No The game crashes or freezes during gameplay - + Nie, gra się zawiesza podczas rozgrywki. <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Czy gra działa bezawaryjnie podczas rozgrywki?</p></body></html> Yes The game can be finished without any workarounds - + Tak, gra może być ukończona bez żadnych obejść. No The game can't progress past a certain area - + Nie, w grze nie można przejść do określonego obszaru. <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Czy gra jest kompletnie grywalna od początku aż do jej końca?</p></body></html> Major The game has major graphical errors - + Poważne, gra posiada poważne problemy graficzne. Minor The game has minor graphical errors - + Drobne, gra zawiera drobne błędy graficzne. None Everything is rendered as it looks on the Nintendo Switch - + Żadnych, Wszystko jest renderowane tak jak wygląda na Nintendo Switchu. <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Czy gra posiada jakieś błędy graficzne?</p></body></html> Major The game has major audio errors - + Poważne, gra posiada poważne problemy dźwiękowe. Minor The game has minor audio errors - + Drobne, gra zawiera drobne błędy dźwiękowe. None Audio is played perfectly - + Żadnych, Dźwięk jest odtwarzany perfekcyjnie. <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Czy gra posiada jakiekolwiek błędy dźwiękowe/brakujące efekty?</p></body></html> @@ -380,36 +380,61 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. - Output Device - Urządzenie Wyjściowe + Output Device: + Urządzenie wyjściowe: - Input Device - Urządzenie Wejściowe + Input Device: + Urządzenie wejściowe: - + + Sound Output Mode: + Tryb wyjścia dźwięku: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Użyj globalnej głośności - + Set volume: Ustaw głośność: - + Volume: Głośność: - + 0 % 0 % - + + Mute audio when in background + Wyciszaj audio gdy yuzu działa w tle + + + %1% Volume percentage (e.g. 50%) %1% @@ -425,12 +450,12 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - + Wybierz skąd zdjęcie emulowanej kamery pochodzi. Może być to wirtualna lub prawdziwa kamera. Camera Image Source: - + Źródło zdjęcia kamery: @@ -440,7 +465,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Preview - + Podgląd @@ -450,7 +475,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Click to preview - + Kliknij aby obejrzeć podgląd @@ -503,7 +528,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Paranoid (disables most optimizations) - + Paranoiczne (wyłącza większość optymalizacji) @@ -592,12 +617,13 @@ Wyłączenie tej opcji może pozwolić grze na zapis lub odczyt pamięci emulato <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + + <div>Ta opcja poprawia szybkość, opierając się wyłącznie na semantyce cmpxchg w celu zapewnienia bezpieczeństwa instrukcji dostępu wyłącznego. Należy pamiętać, że może to spowodować awarie gier.</div> Ignore global monitor - + Ignoruj ogólne monitorowanie @@ -760,7 +786,7 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Enable Host MMU Emulation (general memory instructions) - + Włącz emulację MMU gościa (ogólne instrukcje pamięci) @@ -769,12 +795,16 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d <div style="white-space: nowrap">Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all exclusive memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Ta optymalizacja przyspiesza wyłączny dostęp do pamięci przez program gościa. + <div style="white-space: nowrap"> Włączenie tej opcji powoduje, że wyłączne odczyty/zapisy pamięci gościa są wykonywane bezpośrednio w pamięci i korzystają z MMU hosta .</div> + <div style="white-space: nowrap">Wyłączenie tej opcji wymusza, aby wszystkie wyłączne dostępy do pamięci korzystały z programowej emulacji MMU.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Włącz emulację Host MMU (ekskluzywne instrukcje dotyczące pamięci) @@ -782,12 +812,14 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + + <div style="white-space: nowrap">Ta optymalizacja przyspiesza wyłączny dostęp do pamięci przez program gościa.</div> + <div style="white-space: nowrap">Włączenie go zmniejsza narzut związany z awarią fastmem w przypadku wyłącznego dostępu do pamięci.</div> Enable recompilation of exclusive memory instructions - + Włącz rekompilację wyłącznych instrukcji pamięci @@ -795,12 +827,15 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Ta optymalizacja przyspiesza dostęp do pamięci, umożliwiając pomyślne uzyskanie nieprawidłowego dostępu do pamięci.</div> + <div style="white-space: nowrap">Włączenie zmniejsza narzut wszystkich dostępów do pamięci i nie ma wpływu na programy, które nie uzyskują dostępu do nieprawidłowej pamięci.</div> + Enable fallbacks for invalid memory accesses - + Włącz rezerwę dla nieprawidłowych dostępów do pamięci @@ -813,7 +848,7 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Debugger - + Debuger @@ -903,12 +938,12 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d When checked, it will dump all the macro programs of the GPU - + Kiedy jest zaznaczone, będą zrzucane wszystkie makro programy GPU Dump Maxwell Macros - + Zrzuć Makra Maxwell @@ -921,124 +956,134 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Wyłącz Makro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Kiedy jest zaznaczone, wyłączane są funkcje makra HLE. Włączenie tego powoduje spadek wydajności w grach. + + + + Disable Macro HLE + Wyłącz makra HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Po zaznaczeniu, yuzu będzie rejestrować statystyki dotyczące skompilowanej pamięci podręcznej. - + Enable Shader Feedback Włącz funkcję Feedbacku Shaderów - + When checked, it executes shaders without loop logic changes Gdy zaznaczone, używa shaderów bez zmian logicznych pętli - + Disable Loop safety checks Wyłącz Zapętlanie sprawdzania bezpieczeństwa - + Debugging Debugowanie - + Enable Verbose Reporting Services** Włącz Pełne Usługi Raportowania** - + Enable FS Access Log Włącz dziennik Dostępu FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Włącz tę opcję, aby wyświetlić ostatnio wygenerowaną listę poleceń dźwiękowych na konsoli. Wpływa tylko na gry korzystające z renderera dźwięku. - + Dump Audio Commands To Console** - + Zrzuć polecenia audio do konsoli** - + Create Minidump After Crash - + Utwórz mini zrzut po awarii - + Advanced Zaawansowane - + Kiosk (Quest) Mode Tryb Kiosk (Quest) - + Enable CPU Debugging Włącz Debugowanie CPU - + Enable Debug Asserts Włącz potwierdzenia debugowania - + Enable Auto-Stub** Włącz Auto-Stub** - + Enable All Controller Types - + Włącz wszystkie Typy Kontrolerów - + Disable Web Applet Wyłącz Aplet internetowy - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Umożliwia yuzu sprawdzanie działającego środowiska Vulkan podczas uruchamiania programu. Wyłącz to, jeśli powoduje to problemy z zewnętrznymi programami widzącymi yuzu. - + Perform Startup Vulkan Check - + Przeprowadź sprawdzanie uruchamiania Vulkana - + **This will be reset automatically when yuzu closes. **To zresetuje się automatycznie po wyłączeniu yuzu. Restart Required - + Ponowne uruchomienie jest wymagane yuzu is required to restart in order to apply this setting. - + yuzu wymaga ponownego uruchomienia w przypadku zastosowania tego ustawienia. - + Web applet not compiled - + Aplet sieciowy nie został skompilowany - + MiniDump creation not compiled - + Tworzenie mini zrzutów nie zostało skompilowane @@ -1086,78 +1131,78 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Ustawienia yuzu - - + + Audio Dźwięk - - + + CPU CPU - + Debug Wyszukiwanie usterek - + Filesystem System plików - - + + General Ogólne - - + + Graphics Grafika - + GraphicsAdvanced Zaawansowana grafika - + Hotkeys Skróty klawiszowe - - + + Controls Sterowanie - + Profiles Profile - + Network Sieć - - + + System System - + Game List Lista Gier - + Web Web @@ -1332,46 +1377,41 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Potwierdź wyjście podczas emulacji - + Prompt for user on game boot Pytaj o użytkownika podczas uruchamiania gry - + Pause emulation when in background Wstrzymaj emulację w tle - - Mute audio when in background - Wyciszaj audio gdy yuzu działa w tle - - - + Hide mouse on inactivity Ukryj mysz przy braku aktywności - + + Disable controller applet + + + + Reset All Settings Resetuj wszystkie ustawienia - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Spowoduje to zresetowanie wszystkich ustawień i usunięcie wszystkich konfiguracji gier. Nie spowoduje to usunięcia katalogów gier, profili ani profili wejściowych. Kontynuować? @@ -1410,7 +1450,7 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d - + None Żadny @@ -1436,216 +1476,269 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d + VSync Mode: + Tryb synchronizacji pionowej: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulacja NVDEC: - + No Video Output Brak wyjścia wideo - + CPU Video Decoding Dekodowanie Wideo przez CPU - + GPU Video Decoding (Default) Dekodowanie Wideo przez GPU (Domyślne) - + Fullscreen Mode: Tryb Pełnoekranowy: - + Borderless Windowed W oknie (Bezramkowy) - + Exclusive Fullscreen Exclusive Fullscreen - + Aspect Ratio: Format obrazu: - + Default (16:9) Domyślne (16:9) - + Force 4:3 Wymuś 4:3 - + Force 21:9 Wymuś 21:9 - + Force 16:10 - + Wymuś 16:10 - + Stretch to Window Rozciągnij do Okna - + Resolution: Rozdzielczość: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EKSPERYMENTALNE] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EKSPERYMENTALNE] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [Ekperymentalnie] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Filtr Adaptującego Okna: - + Nearest Neighbor Najbliższy Sąsiad - + Bilinear Bilinearny - + Bicubic Bikubiczny - + Gaussian Gauss - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Rozdzielczość (Tylko Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Metoda Anty-Aliasingu: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Użyj globalnej ostrości FSR - + Set FSR Sharpness - + Ustaw ostrość FSR - + FSR Sharpness: - + Ostrość FSR: - + 100% - + 100% - - + + Use global background color Ustaw globalny kolor tła - + Set background color: Ustaw kolor tła: - + Background Color: Kolor tła - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Zgromadzone Shadery, tylko NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Eksperymentalne, Tylko Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Wyłączone + + + + VSync Off + VSync wyłączony + + + + Recommended + Zalecane + + + + On + Włączone + + + + VSync On + VSync aktywny + ConfigureGraphicsAdvanced @@ -1670,78 +1763,153 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Precyzja: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync zapobiega rozwarstwianiu obrazu, ale niektóre karty graficzne mogą działać wolniej używając VSync. -Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. + + ASTC recompression: + Rekompresja ASTC: - - Use VSync - Używaj VSync + + Uncompressed (Best quality) + Brak (najlepsza jakość) - + + BC1 (Low quality) + BC1 (niska jakość) + + + + BC3 (Medium quality) + BC3 (średnia jakość) + + + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Uruchamia pracę w tle podczas oczekiwania na komendy graficzne aby GPU nie obniżało taktowania. + + + + Force maximum clocks (Vulkan only) + Wymuś maksymalne zegary (Tylko Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + Dekoduj tekstury ASTC asynchronicznie (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Włącza asynchroniczną kompilację shaderów, co może zmniejszyć zacinanie się shaderów. Ta funkcja jest eksperymentalna. - + Use asynchronous shader building (Hack) Użyj asynchronicznego budowania shaderów (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Włącza Szybszy Czas GPU. Ta opcja zmusza większość gier do wyświetlania w swojej najwyższej natywnej rozdzielczości. - + Use Fast GPU Time (Hack) Użyj Szybszego Czasu GPU (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Włącza pamięć podręczną strumienia specyficzną dla dostawcy GPU. Ta opcja może znacznie skrócić czas ładowania modułu cieniującego w przypadkach, gdy sterownik Vulkan nie przechowuje wewnętrznie plików pamięci podręcznej strumienia. + + + + Use Vulkan pipeline cache + Użyj pamięci podręcznej strumienia dla Vulkana + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. - - Use pessimistic buffer flushes (Hack) + + Enable Compute Pipelines (Intel Vulkan only) - + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Filtrowanie anizotropowe: - + Automatic Automatyczne - + Default Domyślne - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1774,70 +1942,65 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności.Przywróć domyślne - + Action Akcja - + Hotkey Skrót klawiszowy - + Controller Hotkey Skrót Klawiszowy Kontrolera - - - + + + Conflicting Key Sequence Sprzeczna sekwencja klawiszy - - + + The entered key sequence is already assigned to: %1 Wprowadzona sekwencja klawiszy jest już przypisana do: %1 - - Home+%1 - Menu+%1 - - - + [waiting] [oczekiwanie] - + Invalid Nieprawidłowe - + Restore Default Przywróć ustawienia domyślne - + Clear Wyczyść - + Conflicting Button Sequence Sprzeczna Sekwencja Przycisków - + The default button sequence is already assigned to: %1 Domyślna sekwencja przycisków już jest przypisana do: %1 - + The default key sequence is already assigned to: %1 Domyślna sekwencja klawiszy jest już przypisana do: %1 @@ -2129,19 +2292,19 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Configure Konfiguruj Ring Controller - + Kontroler Ring Infrared Camera - + Kamera podczerwieni @@ -2155,6 +2318,8 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. + + Requires restarting yuzu Należy zrestartować yuzu @@ -2174,22 +2339,27 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności.Nawigacja Kontrolerem - - Enable mouse panning - Włącz panoramowanie myszą + + Enable direct JoyCon driver + - - Mouse sensitivity - Czułość myszy + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Ruch / Dotyk @@ -2209,57 +2379,57 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. Input Profiles - + Profil wejściowy Player 1 Profile - + Profil gracza 1 Player 2 Profile - + Profil gracza 2 Player 3 Profile - + Profil gracza 3 Player 4 Profile - + Profil gracza 4 Player 5 Profile - + Profil gracza 5 Player 6 Profile - + Profil gracza 6 Player 7 Profile - + Profil gracza 7 Player 8 Profile - + Profil gracza 8 Use global input configuration - + Użyj globalnej konfiguracji wejściowej Player %1 profile - + Profil %1 gracza @@ -2301,7 +2471,7 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Left Stick Lewa gałka @@ -2395,14 +2565,14 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + L L - + ZL ZL @@ -2421,7 +2591,7 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Plus Plus @@ -2434,15 +2604,15 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - - + + R R - + ZR ZR @@ -2499,236 +2669,257 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Right Stick Prawa gałka - - - - + + Mouse panning + + + + + Configure + Konfiguruj + + + + + + Clear Wyczyść - - - - - + + + + + [not set] [nie ustawione] - - + + + Invert button Odwróć przycisk - - + + Toggle button Przycisk Toggle - - + + Turbo button + Przycisk TURBO + + + + Invert axis Odwróć oś - - - + + + Set threshold Ustaw próg - - + + Choose a value between 0% and 100% Wybierz wartość od 0% do 100% - + Toggle axis - + Przełącz oś - + Set gyro threshold Ustaw próg gyro - + + Calibrate sensor + Kalibracja sensora + + + Map Analog Stick Przypisz Drążek Analogowy - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Po naciśnięciu OK, najpierw przesuń joystick w poziomie, a następnie w pionie. Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. - + Center axis - + Środkowa oś - - + + Deadzone: %1% Martwa strefa: %1% - - + + Modifier Range: %1% Zasięg Modyfikatora: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Para Joyconów - + Left Joycon Lewy Joycon - + Right Joycon Prawy Joycon - + Handheld Handheld - + GameCube Controller Kontroler GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Kontroler NES/Pegasus - + SNES Controller Kontroler SNES - + N64 Controller Kontroler N64 - + Sega Genesis Sega Mega Drive - + Start / Pause Start / Pauza - + Z Z - + Control Stick Lewa gałka - + C-Stick C-gałka - + Shake! Potrząśnij! - + [waiting] [oczekiwanie] - + New Profile Nowy profil - + Enter a profile name: Wpisz nazwę profilu: - - + + Create Input Profile Utwórz profil wejściowy - + The given profile name is not valid! Podana nazwa profilu jest nieprawidłowa! - + Failed to create the input profile "%1" Nie udało się utworzyć profilu wejściowego "%1" - + Delete Input Profile Usuń profil wejściowy - + Failed to delete the input profile "%1" Nie udało się usunąć profilu wejściowego "%1" - + Load Input Profile Załaduj profil wejściowy - + Failed to load the input profile "%1" Nie udało się wczytać profilu wejściowego "%1" - + Save Input Profile Zapisz profil wejściowy - + Failed to save the input profile "%1" Nie udało się zapisać profilu wejściowego "%1" @@ -2776,7 +2967,7 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. - + Configure Konfiguruj @@ -2812,7 +3003,7 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. - + Test Test @@ -2832,81 +3023,156 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.<a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Dowiedz się więcej</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Port zawiera nieprawidłowe znaki - + Port has to be in range 0 and 65353 Port musi być w zakresie 0-65353 - + IP address is not valid Adres IP nie jest prawidłowy - + This UDP server already exists Ten serwer UDP już istnieje - + Unable to add more than 8 servers Nie można dodać więcej niż 8 serwerów - + Testing Testowanie - + Configuring Konfigurowanie - + Test Successful Test Udany - + Successfully received data from the server. Pomyślnie odebrano dane z serwera. - + Test Failed Test nieudany - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Nie można odebrać poprawnych danych z serwera.<br>Sprawdź, czy serwer jest poprawnie skonfigurowany, a adres i port są prawidłowe. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Trwa konfiguracja testu UDP lub kalibracji.<br>Poczekaj na zakończenie. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Domyślny + + ConfigureNetwork @@ -2983,47 +3249,47 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.Deweloper - + Add-Ons Dodatki - + General Ogólne - + System System - + CPU CPU - + Graphics Grafika - + Adv. Graphics Zaaw. Grafika - + Audio Dźwięk - + Input Profiles - + Profil wejściowy - + Properties Właściwości @@ -3202,7 +3468,7 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. Delete this user? All of the user's save data will be deleted. - + Czy usunąć tego użytkownika? Wszystkie dane zapisu użytkownika zostaną usunięte. @@ -3213,7 +3479,8 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. Name: %1 UUID: %2 - + Nazwa: %1 +UUID: %2 @@ -3225,25 +3492,25 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters Pull - + Ciągnij Push - + Pchaj @@ -3251,33 +3518,95 @@ UUID: %2 Martwa strefa: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + Niepodłączony + + + Restore Defaults Przywróć domyślne - + Clear Wyczyść - + [not set] [nie ustawione] - + Invert axis Odwróć oś - - + + Deadzone: %1% Martwa strefa: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Konfigurowanie + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [oczekiwanie] @@ -3582,8 +3911,8 @@ UUID: %2 - English - Angielski (English) + American English + Angielski Amerykański @@ -3683,57 +4012,22 @@ UUID: %2 Device Name + Nazwa urządzenia + + + + Unsafe extended memory layout (8GB DRAM) - - Mono - Mono - - - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Indentyfikator konsoli: - - - - Sound output mode - Tryb wyjścia dźwięku - - - - Regenerate - Wygeneruj ponownie - - - + System settings are available only when game is not running. Ustawienia systemu są dostępne tylko wtedy, gdy gra nie jest uruchomiona. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - To zamieni twojego obecnego Switch'a z nowym. Twojego obecnego Switch'a nie będzie można przywrócić. To może wywołać nieoczekiwane problemy w grach. To może nie zadziałać, jeśli używasz nieaktualnej konfiguracji zapisu gry. Kontynuować? - - - - Warning - Ostrzeżenie - - - - Console ID: 0x%1 - Identyfikator konsoli: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Uwaga: "%1" nie jest poprawnym językiem dla regionu "%2" @@ -3802,7 +4096,7 @@ UUID: %2 Konfiguracja TAS - + Select TAS Load Directory... Wybierz Ścieżkę Załadowania TAS-a @@ -4042,7 +4336,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Show Compatibility List - + Pokaż listę kompatybilności @@ -4052,12 +4346,12 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Show Size Column - + Pokaż kolumnę rozmiarów Show File Types Column - + Pokaż kolumnę typów plików @@ -4241,7 +4535,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Web Service configuration can only be changed when a public room isn't being hosted. - + Konfigurację usług sieciowych można tylko zmienić kiedy pokój publiczny nie jest hostowany. @@ -4319,7 +4613,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Unverified, please click Verify before saving configuration Tooltip - + Niezweryfikowany, kliknij proszę przycisk Weryfikacji przed zapisaniem konfiguracji @@ -4331,7 +4625,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Verified Tooltip - + Zweryfikowany @@ -4358,7 +4652,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Kontroler P1 - + &Controller P1 &Kontroler P1 @@ -4368,45 +4662,40 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Direct Connect + Bezpośrednie połączenie + + + + Server Address - - IP Address - Adres IP + + <html><head/><body><p>Server address of the host</p></body></html> + - - IP - IP - - - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>Adres IPv4 hosta</p></body></html> - - - + Port Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Numer portu, na którym nasłuchuje host</p></body></html> - + Nickname Nick - + Password Hasło - + Connect Połącz @@ -4414,12 +4703,12 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe DirectConnectWindow - + Connecting Łączenie - + Connect Połącz @@ -4427,536 +4716,576 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Dane anonimowe są gromadzone</a> aby ulepszyć yuzu. <br/><br/>Czy chcesz udostępnić nam swoje dane o użytkowaniu? - + Telemetry Telemetria - + Broken Vulkan Installation Detected - + Wykryto uszkodzoną instalację Vulkana - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. + Inicjalizacja Vulkana nie powiodła się podczas uruchamiania.<br><br>Kliknij<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>tutaj aby uzyskać instrukcje dotyczące rozwiązania tego problemu</a>. + + + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + Loading Web Applet... Ładowanie apletu internetowego... - - + + Disable Web Applet Wyłącz Aplet internetowy - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Wyłączanie web appletu może doprowadzić do nieokreślonych zachowań - wyłączyć applet należy jedynie grając w Super Mario 3D All-Stars. Na pewno chcesz wyłączyć web applet? (Można go ponownie włączyć w ustawieniach debug.) - + The amount of shaders currently being built Ilość budowanych shaderów - + The current selected resolution scaling multiplier. Obecnie wybrany mnożnik rozdzielczości. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Aktualna prędkość emulacji. Wartości większe lub niższe niż 100% wskazują, że emulacja działa szybciej lub wolniej niż Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Ile klatek na sekundę gra aktualnie wyświetla. To będzie się różnić w zależności od gry, od sceny do sceny. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Czas potrzebny do emulacji klatki na sekundę Switcha, nie licząc ograniczania klatek ani v-sync. Dla emulacji pełnej szybkości powinno to wynosić co najwyżej 16,67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Usuń Ostatnie pliki - + + Emulated mouse is enabled + Emulacja myszki jest aktywna + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Kontynuuj - + &Pause &Pauza - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu jest w trakcie gry - - - + Warning Outdated Game Format OSTRZEŻENIE! Nieaktualny format gry - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Używasz zdekonstruowanego formatu katalogu ROM dla tej gry, który jest przestarzałym formatem, który został zastąpiony przez inne, takie jak NCA, NAX, XCI lub NSP. W zdekonstruowanych katalogach ROM brakuje ikon, metadanych i obsługi aktualizacji.<br><br> Aby znaleźć wyjaśnienie różnych formatów Switch obsługiwanych przez yuzu,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'> sprawdź nasze wiki</a>. Ta wiadomość nie pojawi się ponownie. - - + + Error while loading ROM! Błąd podczas wczytywania ROMu! - + The ROM format is not supported. Ten format ROMu nie jest wspierany. - + An error occurred initializing the video core. Wystąpił błąd podczas inicjowania rdzenia wideo. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu napotkał błąd podczas uruchamiania rdzenia wideo. Jest to zwykle spowodowane przestarzałymi sterownikami GPU, w tym zintegrowanymi. Więcej szczegółów znajdziesz w pliku log. Więcej informacji na temat dostępu do log-u można znaleźć na następującej stronie: <a href='https://yuzu-emu.org/help/reference/log-files/'>Jak przesłać plik log</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Błąd podczas wczytywania ROMu! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Postępuj zgodnie z<a href='https://yuzu-emu.org/help/quickstart/'>yuzu quickstart guide</a> aby zrzucić ponownie swoje pliki.<br>Możesz odwołać się do wiki yuzu</a>lub discord yuzu </a> po pomoc. - + An unknown error occurred. Please see the log for more details. Wystąpił nieznany błąd. Więcej informacji można znaleźć w pliku log. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Zamykanie aplikacji... - + Save Data Zapis danych - + Mod Data Dane modów - + Error Opening %1 Folder Błąd podczas otwarcia folderu %1 - - + + Folder does not exist! Folder nie istnieje! - + Error Opening Transferable Shader Cache Błąd podczas otwierania przenośnej pamięci podręcznej Shaderów. - + Failed to create the shader cache directory for this title. Nie udało się stworzyć ścieżki shaderów dla tego tytułu. - + Error Removing Contents - + Błąd podczas usuwania zawartości - + Error Removing Update - + Błąd podczas usuwania aktualizacji - + Error Removing DLC - + Błąd podczas usuwania dodatków - + Remove Installed Game Contents? - + Czy usunąć zainstalowaną zawartość gry? - + Remove Installed Game Update? - + Czy usunąć zainstalowaną aktualizację gry? - + Remove Installed Game DLC? - + Czy usunąć zainstalowane dodatki gry? - + Remove Entry Usuń wpis - - - - - - + + + + + + Successfully Removed Pomyślnie usunięto - + Successfully removed the installed base game. Pomyślnie usunięto zainstalowaną grę. - + The base game is not installed in the NAND and cannot be removed. Gra nie jest zainstalowana w NAND i nie może zostać usunięta. - + Successfully removed the installed update. Pomyślnie usunięto zainstalowaną łatkę. - + There is no update installed for this title. Brak zainstalowanych łatek dla tego tytułu. - + There are no DLC installed for this title. Brak zainstalowanych DLC dla tego tytułu. - + Successfully removed %1 installed DLC. Pomyślnie usunięto %1 zainstalowane DLC. - + Delete OpenGL Transferable Shader Cache? Usunąć Transferowalne Shadery OpenGL? - + Delete Vulkan Transferable Shader Cache? Usunąć Transferowalne Shadery Vulkan? - + Delete All Transferable Shader Caches? Usunąć Wszystkie Transferowalne Shadery? - + Remove Custom Game Configuration? Usunąć niestandardową konfigurację gry? - + + Remove Cache Storage? + Usunąć pamięć podręczną? + + + Remove File Usuń plik - - + + Error Removing Transferable Shader Cache Błąd podczas usuwania przenośnej pamięci podręcznej Shaderów. - - + + A shader cache for this title does not exist. Pamięć podręczna Shaderów dla tego tytułu nie istnieje. - + Successfully removed the transferable shader cache. Pomyślnie usunięto przenośną pamięć podręczną Shaderów. - + Failed to remove the transferable shader cache. Nie udało się usunąć przenośnej pamięci Shaderów. - - + + Error Removing Vulkan Driver Pipeline Cache + Błąd podczas usuwania pamięci podręcznej strumienia sterownika Vulkana + + + + Failed to remove the driver pipeline cache. + Błąd podczas usuwania pamięci podręcznej strumienia sterownika. + + + + Error Removing Transferable Shader Caches Błąd podczas usuwania Transferowalnych Shaderów - + Successfully removed the transferable shader caches. Pomyślnie usunięto transferowalne shadery. - + Failed to remove the transferable shader cache directory. Nie udało się usunąć ścieżki transferowalnych shaderów. - - + + Error Removing Custom Configuration Błąd podczas usuwania niestandardowej konfiguracji - + A custom configuration for this title does not exist. Niestandardowa konfiguracja nie istnieje dla tego tytułu. - + Successfully removed the custom game configuration. Pomyślnie usunięto niestandardową konfiguracje gry. - + Failed to remove the custom game configuration. Nie udało się usunąć niestandardowej konfiguracji gry. - - + + RomFS Extraction Failed! Wypakowanie RomFS nieudane! - + There was an error copying the RomFS files or the user cancelled the operation. Wystąpił błąd podczas kopiowania plików RomFS lub użytkownik anulował operację. - + Full Pełny - + Skeleton Szkielet - + Select RomFS Dump Mode Wybierz tryb zrzutu RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Proszę wybrać w jaki sposób chcesz, aby zrzut pliku RomFS został wykonany. <br>Pełna kopia ze wszystkimi plikami do nowego folderu, gdy <br>skielet utworzy tylko strukturę folderu. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root Nie ma wystarczająco miejsca w %1 aby wyodrębnić RomFS. Zwolnij trochę miejsca, albo zmień ścieżkę zrzutu RomFs w Emulacja> Konfiguruj> System> System Plików> Źródło Zrzutu - + Extracting RomFS... Wypakowywanie RomFS... - - + + Cancel Anuluj - + RomFS Extraction Succeeded! Wypakowanie RomFS zakończone pomyślnie! - + The operation completed successfully. Operacja zakończona sukcesem. - - - - - + + + + + Create Shortcut - + Utwórz skrót - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Utworzy to skrót do obecnego AppImage. Może nie działać dobrze po aktualizacji. Kontynuować? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Nie można utworzyć skrótu na pulpicie. Ścieżka "%1" nie istnieje. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Nie można utworzyć skrótu w menu aplikacji. Ścieżka "%1" nie istnieje oraz nie może być utworzona. - + Create Icon - + Utwórz ikonę - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Nie można utworzyć pliku ikony. Ścieżka "%1" nie istnieje oraz nie może być utworzona. - + Start %1 with the yuzu Emulator - + Włącz %1 z emulatorem yuzu - + Failed to create a shortcut at %1 - + Nie udało się utworzyć skrótu pod %1 - + Successfully created a shortcut to %1 - + Pomyślnie utworzono skrót do %1 - + Error Opening %1 Błąd podczas otwierania %1 - + Select Directory Wybierz folder... - + Properties Właściwości - + The game properties could not be loaded. Właściwości tej gry nie mogły zostać załadowane. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Plik wykonywalny Switcha (%1);;Wszystkie pliki (*.*) - + Load File Załaduj plik... - + Open Extracted ROM Directory Otwórz folder wypakowanego ROMu - + Invalid Directory Selected Wybrano niewłaściwy folder - + The directory you have selected does not contain a 'main' file. Folder wybrany przez ciebie nie zawiera 'głownego' pliku. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Instalacyjne pliki Switch'a (*.nca *.nsp *.xci);;Archiwum zawartości Nintendo (*.nca);;Pakiet poddany Nintendo (*.nsp);;Obraz z kartridża NX (*.xci) - + Install Files Zainstaluj pliki - + %n file(s) remaining 1 plik został%n plików zostało%n plików zostało%n plików zostało - + Installing file "%1"... Instalowanie pliku "%1"... - - + + Install Results Wynik instalacji - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Aby uniknąć ewentualnych konfliktów, odradzamy użytkownikom instalowanie gier na NAND. Proszę, używaj tej funkcji tylko do instalowania łatek i DLC. - + %n file(s) were newly installed 1 nowy plik został zainstalowany @@ -4966,389 +5295,324 @@ Proszę, używaj tej funkcji tylko do instalowania łatek i DLC. - + %n file(s) were overwritten 1 plik został nadpisany%n plików zostało nadpisane%n plików zostało nadpisane%n plików zostało nadpisane - + %n file(s) failed to install 1 pliku nie udało się zainstalować%n plików nie udało się zainstalować%n plików nie udało się zainstalować%n plików nie udało się zainstalować - + System Application Aplikacja systemowa - + System Archive Archiwum systemu - + System Application Update Aktualizacja aplikacji systemowej - + Firmware Package (Type A) Paczka systemowa (Typ A) - + Firmware Package (Type B) Paczka systemowa (Typ B) - + Game Gra - + Game Update Aktualizacja gry - + Game DLC Dodatek do gry - + Delta Title Tytuł Delta - + Select NCA Install Type... Wybierz typ instalacji NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Wybierz typ tytułu, do którego chcesz zainstalować ten NCA, jako: (W większości przypadków domyślna "gra" jest w porządku.) - + Failed to Install Instalacja nieudana - + The title type you selected for the NCA is invalid. Typ tytułu wybrany dla NCA jest nieprawidłowy. - + File not found Nie znaleziono pliku - + File "%1" not found Nie znaleziono pliku "%1" - + OK OK - - + + Hardware requirements not met - + Wymagania sprzętowe nie są spełnione - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Twój system nie spełnia rekomendowanych wymagań sprzętowych. Raportowanie kompatybilności zostało wyłączone. - + Missing yuzu Account Brakuje konta Yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Aby przesłać test zgodności gry, musisz połączyć swoje konto yuzu.<br><br/> Aby połączyć swoje konto yuzu, przejdź do opcji Emulacja &gt; Konfiguracja &gt; Sieć. - + Error opening URL Błąd otwierania adresu URL - + Unable to open the URL "%1". Nie można otworzyć adresu URL "%1". - + TAS Recording Nagrywanie TAS - + Overwrite file of player 1? Nadpisać plik gracza 1? - + Invalid config detected Wykryto nieprawidłową konfigurację - + Handheld controller can't be used on docked mode. Pro controller will be selected. Nie można używać kontrolera handheld w trybie zadokowanym. Zostanie wybrany kontroler Pro. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Amiibo zostało "zdjęte" - + Error Błąd - - + + The current game is not looking for amiibos Ta gra nie szuka amiibo - + Amiibo File (%1);; All Files (*.*) Plik Amiibo (%1);;Wszyskie pliki (*.*) - + Load Amiibo Załaduj Amiibo - + Error loading Amiibo data Błąd podczas ładowania pliku danych Amiibo - + The selected file is not a valid amiibo - + Wybrany plik nie jest poprawnym amiibo - + The selected file is already on use - + Wybrany plik jest już w użyciu - + An unknown error occurred - + Wystąpił nieznany błąd - + Capture Screenshot Zrób zrzut ekranu - + PNG Image (*.png) Obrazek PNG (*.png) - + TAS state: Running %1/%2 Status TAS: Działa %1%2 - + TAS state: Recording %1 Status TAS: Nagrywa %1 - + TAS state: Idle %1/%2 Status TAS: Bezczynny %1%2 - + TAS State: Invalid Status TAS: Niepoprawny - + &Stop Running &Wyłącz - + &Start &Start - + Stop R&ecording Przestań N&agrywać - + R&ecord N&agraj - + Building: %n shader(s) Budowanie shaderaBudowanie: %n shaderówBudowanie: %n shaderówBudowanie: %n shaderów - + Scale: %1x %1 is the resolution scaling factor Skala: %1x - + Speed: %1% / %2% Prędkość: %1% / %2% - + Speed: %1% Prędkość: %1% - + Game: %1 FPS (Unlocked) Gra: %1 FPS (Odblokowane) - + Game: %1 FPS Gra: %1 FPS - + Frame: %1 ms Klatka: %1 ms - - GPU NORMAL - GPU NORMALNE + + %1 %2 + %1 %2 - - GPU HIGH - GPU WYSOKIE - - - - GPU EXTREME - GPU EKSTREMALNE - - - - GPU ERROR - BŁĄD GPU - - - - DOCKED - TRYB ZADOKOWANY - - - - HANDHELD - TRYB PRZENOŚNY - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - NAJBLIŻSZY - - - - - BILINEAR - BILINEARNY - - - - BICUBIC - BIKUBICZNY - - - - GAUSSIAN - GAUSSIAN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA BEZ AA - - FXAA - FXAA + + VOLUME: MUTE + Głośność: Wyciszony - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + Głośność: %1% - + Confirm Key Rederivation Potwierdź ponowną aktywacje klucza - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5365,37 +5629,37 @@ i opcjonalnie tworzyć kopie zapasowe. Spowoduje to usunięcie wygenerowanych automatycznie plików kluczy i ponowne uruchomienie modułu pochodnego klucza. - + Missing fuses Brakujące bezpieczniki - + - Missing BOOT0 - Brak BOOT0 - + - Missing BCPKG2-1-Normal-Main - Brak BCPKG2-1-Normal-Main - + - Missing PRODINFO - Brak PRODINFO - + Derivation Components Missing Brak komponentów wyprowadzania - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Brakuje elementów, które mogą uniemożliwić zakończenie wyprowadzania kluczy. <br>Postępuj zgodnie z <a href='https://yuzu-emu.org/help/quickstart/'>yuzu quickstart guide</a> aby zdobyć wszystkie swoje klucze i gry.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5404,39 +5668,49 @@ Zależnie od tego może potrwać do minuty na wydajność twojego systemu. - + Deriving Keys Wyprowadzanie kluczy... - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Wybierz cel zrzutu RomFS - + Please select which RomFS you would like to dump. Proszę wybrać RomFS, jakie chcesz zrzucić. - + Are you sure you want to close yuzu? Czy na pewno chcesz zamknąć yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Czy na pewno chcesz zatrzymać emulację? Wszystkie niezapisane postępy zostaną utracone. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5444,6 +5718,101 @@ Would you like to bypass this and exit anyway? Czy chcesz to ominąć i mimo to wyjść? + + + None + Żadna (wyłączony) + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinearny + + + + Bicubic + Bikubiczny + + + + Gaussian + Kulisty + + + + ScaleForce + ScaleForce + + + + Docked + Zadokowany + + + + Handheld + Przenośnie + + + + Normal + Normalny + + + + High + Wysoki + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5456,7 +5825,7 @@ Czy chcesz to ominąć i mimo to wyjść? OpenGL shared contexts are not supported. - + Współdzielone konteksty OpenGL nie są obsługiwane. @@ -5544,117 +5913,122 @@ Czy chcesz to ominąć i mimo to wyjść? + Remove Cache Storage + Usuń pamięć podręczną + + + Remove OpenGL Pipeline Cache Usuń Pamięć Podręczną Pipeline OpenGL - + Remove Vulkan Pipeline Cache Usuń Pamięć Podręczną Pipeline Vulkan - + Remove All Pipeline Caches Usuń całą pamięć podręczną Pipeline - + Remove All Installed Contents Usuń całą zainstalowaną zawartość - + Dump RomFS Zrzuć RomFS - + Dump RomFS to SDMC Zrzuć RomFS do SDMC - + Copy Title ID to Clipboard Kopiuj identyfikator gry do schowka - + Navigate to GameDB entry Nawiguj do wpisu kompatybilności gry - - - Create Shortcut - - + Create Shortcut + Utwórz skrót + + + Add to Desktop - + Dodaj do pulpitu - + Add to Applications Menu - + Dodaj do menu aplikacji - + Properties Właściwości - + Scan Subfolders Skanuj podfoldery - + Remove Game Directory Usuń katalog gier - + ▲ Move Up ▲ Przenieś w górę - + ▼ Move Down ▼ Przenieś w dół - + Open Directory Location Otwórz lokalizacje katalogu - + Clear Wyczyść - + Name Nazwa gry - + Compatibility Kompatybilność - + Add-ons Dodatki - + File type Typ pliku - + Size Rozmiar @@ -5664,12 +6038,12 @@ Czy chcesz to ominąć i mimo to wyjść? Ingame - + W grze Game starts, but crashes or major glitches prevent it from being completed. - + Gra uruchamia się, ale awarie lub poważne błędy uniemożliwiają jej ukończenie. @@ -5679,17 +6053,17 @@ Czy chcesz to ominąć i mimo to wyjść? Game can be played without issues. - + Można grać bez problemów. Playable - + Grywalna Game functions with minor graphical or audio glitches and is playable from start to finish. - + Gra działa z drobnymi błędami graficznymi lub dźwiękowymi oraz jest grywalna od początku aż do końca. @@ -5699,7 +6073,7 @@ Czy chcesz to ominąć i mimo to wyjść? Game loads, but is unable to progress past the Start Screen. - + Gra się ładuje, ale nie może przejść przez ekran początkowy. @@ -5725,7 +6099,7 @@ Czy chcesz to ominąć i mimo to wyjść? GameListPlaceholder - + Double-click to add a new folder to the game list Kliknij podwójnie aby dodać folder do listy gier @@ -5738,12 +6112,12 @@ Czy chcesz to ominąć i mimo to wyjść? 1 z %n rezultatów%1 z %n rezultatów%1 z %n rezultatów%1 z %n rezultatów - + Filter: Filter: - + Enter pattern to filter Wpisz typ do filtra @@ -5778,7 +6152,7 @@ Czy chcesz to ominąć i mimo to wyjść? (Leave blank for open game) - + (Zostaw puste dla otwartej gry) @@ -5798,7 +6172,7 @@ Czy chcesz to ominąć i mimo to wyjść? Load Previous Ban List - + Załaduj poprzednią listę banów @@ -5808,12 +6182,12 @@ Czy chcesz to ominąć i mimo to wyjść? Unlisted - + Nie katalogowany Host Room - + Pokój hosta @@ -5827,146 +6201,147 @@ Czy chcesz to ominąć i mimo to wyjść? Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -> Configure -> Web. If you do not want to publish a room in the public lobby, then select Unlisted instead. Debug Message: - + Nie udało się ogłosić pokoju w publicznym lobby. Aby udostępnić pokój publicznie, musisz mieć ważne konto yuzu skonfigurowane w Emulacja -> Konfiguruj... -> Sieć. Jeśli nie chcesz publikować pokoju w publicznym lobby, zamiast tego wybierz opcję Niepubliczny. +Komunikat debugowania: Hotkeys - + Audio Mute/Unmute Wycisz/Odcisz Audio - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Okno główne - + Audio Volume Down - + Zmniejsz głośność dźwięku - + Audio Volume Up - + Zwiększ głośność dźwięku - + Capture Screenshot Zrób zrzut ekranu - + Change Adapting Filter - + Zmień filtr adaptacyjny - + Change Docked Mode - + Zmień tryb dokowania - + Change GPU Accuracy - + Zmień dokładność GPU - + Continue/Pause Emulation Kontynuuj/Zatrzymaj Emulację - + Exit Fullscreen Wyłącz Pełny Ekran - + Exit yuzu Wyjdź z yuzu - + Fullscreen Pełny ekran - + Load File Załaduj plik... - + Load/Remove Amiibo Załaduj/Usuń Amiibo - + Restart Emulation Zrestartuj Emulację - + Stop Emulation Zatrzymaj Emulację - + TAS Record - + Nagrywanie TAS - + TAS Reset - + Reset TAS - + TAS Start/Stop - + TAS Start/Stop - + Toggle Filter Bar - + Pokaż pasek filtrowania - + Toggle Framerate Limit - + Przełącz limit liczby klatek na sekundę - + Toggle Mouse Panning - + Włącz przesuwanie myszką - + Toggle Status Bar - + Przełącz pasek stanu @@ -5987,7 +6362,7 @@ Debug Message: Zainstaluj - + Install Files to NAND Zainstaluj pliki na NAND @@ -5995,7 +6370,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 Tekst nie może zawierać tych znaków: @@ -6045,7 +6420,7 @@ Debug Message: Public Room Browser - + Przeglądarka publicznych pokoi @@ -6061,7 +6436,7 @@ Debug Message: Search - + Szukaj @@ -6070,51 +6445,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms Ukryj Pełne Pokoje - + Refresh Lobby Odśwież Lobby - + Password Required to Join Aby dołączyć, potrzebne jest hasło - + Password: Hasło: - + Players Gracze - + Room Name Nazwa Pokoju - + Preferred Game Preferowana Gra - + Host Host - + Refreshing Odświeżam - + Refresh List Odśwież listę @@ -6189,7 +6569,7 @@ Debug Message: &Multiplayer - + &Multiplayer @@ -6279,27 +6659,27 @@ Debug Message: &Browse Public Game Lobby - + &Przeglądaj publiczne lobby gier &Create Room - + &Utwórz Pokój &Leave Room - + &Wyjdź z Pokoju &Direct Connect to Room - + &Bezpośrednie połączenie z pokojem &Show Current Room - + &Pokaż bieżący pokój @@ -6390,7 +6770,7 @@ Debug Message: Ban List - + Lista banów @@ -6401,22 +6781,22 @@ Debug Message: Unban - + Unban Subject - + Temat Type - + Typ Forum Username - + Nazwa użytkownika forum @@ -6434,12 +6814,12 @@ Debug Message: Current connection status - + Bieżący stan połączenia Not Connected. Click here to find a room! - + Nie połączono. Kliknij tutaj aby znaleźć pokój! @@ -6465,7 +6845,8 @@ Debug Message: Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Nie udało się zaktualizować informacji o pokoju. Sprawdź swoje połączenie internetowe i spróbuj ponownie zahostować pokój. +Komunikat debugowania: @@ -6498,7 +6879,7 @@ Debug Message: You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list. - + Aby hostować pokój, musisz wybrać preferowaną grę. Jeżeli nie posiadasz żadnej gry w twojej liście gier, dodaj folder z grami poprzez kliknięcie ikonki plusa w liście gier. @@ -6508,7 +6889,7 @@ Debug Message: Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Nie można nawiązać połączenia z hostem. Sprawdź czy ustawienia sieciowe są poprawne. Jeżeli wciąż nie będziesz mógł nawiązać połączenia, skontaktuj się z hostem pokoju oraz sprawdźcie czy host ma poprawne skonfigurowane przekazywanie portów. @@ -6533,12 +6914,12 @@ Debug Message: Incorrect password. - + Niepoprawne hasło. An unknown error occurred. If this error continues to occur, please open an issue - + Wystąpił nieznany błąd. Jeśli ten błąd będzie się powtarzał, otwórz problem @@ -6558,7 +6939,7 @@ Debug Message: You do not have enough permission to perform this action. - + Nie masz wystarczających uprawnień żeby przeprowadzić tę czynność. @@ -6571,18 +6952,20 @@ Możliwe, że opuścił/a pokój. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Nie wybrano prawidłowego interfejsu sieciowego. +Przejdź do Konfiguruj... -> System -> Sieć i dokonaj wyboru. Game already running - + Gra już działa Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Dołączanie do pokoju, gdy gra jest już uruchomiona, jest odradzane i może spowodować nieprawidłowe działanie funkcji pokoju. +Czy kontynuować mimo to? @@ -6649,7 +7032,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUZA @@ -6698,31 +7081,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [nie ustawione] @@ -6733,14 +7116,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Oś %1%2 @@ -6751,264 +7134,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [nieznane] - - - + + + Left Lewo - - - + + + Right Prawo - - - + + + Down Dół - - - + + + Up Góra - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Kółko - - + + Cross Krzyż - - + + Square Kwadrat - - + + Triangle Trójkąt - - + + Share Udostępnij - - + + Options Opcje - - + + [undefined] [niezdefiniowane] - + %1%2 %1%2 - - + + [invalid] [niepoprawne] - - - - + + %1%2Hat %3 %1%2Drążek %3 - - - - - - + + + + %1%2Axis %3 %1%2Oś %3 - - + + %1%2Axis %3,%4,%5 %1%2Oś %3,%4,%5 - - + + %1%2Motion %3 %1%2Ruch %3 - - - - + + %1%2Button %3 %1%2Przycisk %3 - - + + [unused] [nieużywane] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Lewa gałka + + + + Stick R + Prawa gałka + + + + Plus + Plus + + + + Minus + Minus + + + + Home Home - + + Capture + Zrzut ekranu + + + Touch Dotyk - + Wheel Indicates the mouse wheel Kółko - + Backward Do tyłu - + Forward Do przodu - + Task Zadanie - + Extra Dodatkowe - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Krzyżak %4 + + + + + %1%2%3Axis %4 + %1%2%3Oś %4 + + + + + %1%2%3Button %4 + %1%2%3Przycisk %4 @@ -7016,22 +7457,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Ustawienia Amiibo Amiibo Info - + Informacje o Amiibo Series - + Seria Type - + Typ @@ -7041,52 +7482,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Dane Amiibo Custom Name - + Niestandardowa Nazwa Owner - + Właściciel Creation Date - + Data Utworzenia dd/MM/yyyy - + dd/MM/yyyy Modification Date - + Data Modyfikacji dd/MM/yyyy - + dd/MM/yyyy Game Data - + Dane gry Game Id - + ID Gry Mount Amiibo - + Zamontuj Amiibo @@ -7096,32 +7537,32 @@ p, li { white-space: pre-wrap; } File Path - + Ścieżka pliku No game data present - + Brak danych gry The following amiibo data will be formatted: - + Następujące dane amiibo zostaną sformatowane: The following game data will removed: - + Następujące dane gry zostaną usunięte: Set nickname and owner: - + Ustaw nick oraz właściciela: Do you wish to restore this amiibo? - + Czy chcesz odnowić to amiibo? @@ -7377,28 +7818,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Kod błędu: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Wystąpił błąd. Spróbuj ponownie lub skontaktuj się z twórcą oprogramowania. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Wystąpił błąd w %1 o %2. Spróbuj ponownie lub skontaktuj się z twórcą oprogramowania. - + An error has occurred. %1 @@ -7422,20 +7863,81 @@ Spróbuj ponownie lub skontaktuj się z twórcą oprogramowania. %2 - - Select a user: - Wybierz użytkownika: - - - + Users Użytkownicy - + + Profile Creator + Kreator profilu + + + + Profile Selector Wybór profilu + + + Profile Icon Editor + Edytor ikony profilu + + + + Profile Nickname Editor + Edytor ksywki profilowej + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Wybierz użytkownika: + QtSoftwareKeyboardDialog @@ -7485,51 +7987,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Stos wywołań - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - czekam na mutex 0x%1 - - - - has waiters: %1 - ma oczekujących: %1 - - - - owner handle: 0x%1 - uchwyt właściciela: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - czekam na wszystkie objekty - - - - waiting for one of the following objects - oczekiwanie na jeden z następujących obiektów - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread czekam bez żadnego wątku @@ -7537,120 +8008,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable Jakoś działa - + paused Spauzowana - + sleeping spanie - + waiting for IPC reply czekam na odpowiedź IPC - + waiting for objects oczekiwanie na obiekty - + waiting for condition variable oczekiwanie na zmienną warunkową - + waiting for address arbiter czekam na arbitra adresu - + waiting for suspend resume czekam na zawieszenie wznowienia - + waiting oczekiwanie - + initialized zainicjowano - + terminated zakończony - + unknown nieznany - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal Idealnie - + core %1 rdzeń %1 - + processor = %1 procesor = %1 - - ideal core = %1 - idealny rdzeń = %1 - - - + affinity mask = %1 maska powinowactwa = %1 - + thread id = %1 identyfikator wątku = %1 - + priority = %1(current) / %2(normal) piorytet = %1(obecny) / %2(normalny) - + last running ticks = %1 ostatnie działające kleszcze = %1 - - - not waiting for mutex - nie czekam na mutex - WaitTreeThreadList - + waited by thread czekanie na wątek @@ -7658,7 +8119,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Drzewo Czekania diff --git a/dist/languages/pt_BR.ts b/dist/languages/pt_BR.ts index 0fb30e3fa..05545c04d 100644 --- a/dist/languages/pt_BR.ts +++ b/dist/languages/pt_BR.ts @@ -213,7 +213,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 membros) - conectado @@ -242,102 +242,102 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>O jogo inicializa?</p></body></html> Yes The game starts to output video or audio - + Sim. O jogo começou por vídeo ou áudio. No The game doesn't get past the "Launching..." screen - + Não O Jogo não passou da tela de inicialização "Launching..." Yes The game gets past the intro/menu and into gameplay - + Sim O Jogo passou da tela de menu/introdução e começou o gameplay No The game crashes or freezes while loading or using the menu - + Não O jogo travou e/ou apresentou falhas graves durante o carregamento ou utilizando o menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>O jogo chega a gameplay?</p></body></html> Yes The game works without crashes - + Sim O jogo funciona sem crashes No The game crashes or freezes during gameplay - + Não O jogo crasha ou congela durante a gameplay <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>O jogo funciona sem crashar, congelar ou travar durante a gameplay?</p></body></html> Yes The game can be finished without any workarounds - + Sim O jogo pode ser concluído sem o uso de soluções alternativas No The game can't progress past a certain area - + Não Não é possível progredir no jogo a partir de uma certa área <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>O jogo é completamente jogável do início ao fim?</p></body></html> Major The game has major graphical errors - + Graves O jogo tem graves erros gráficos Minor The game has minor graphical errors - + Pequenos O jogo tem pequenos erros gráficos None Everything is rendered as it looks on the Nintendo Switch - + Nenhum Tudo é renderizado como no Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>O jogo tem alguma falha gráfica?</p></body></html> Major The game has major audio errors - + Graves O jogo tem graves erros de áudio Minor The game has minor audio errors - + Pequenas O jogo tem pequenos erros de áudio None Audio is played perfectly - + Nenhuma O áudio é reproduzido perfeitamente <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>O jogo tem alguma falha no áudio / efeitos ausentes?</p></body></html> @@ -380,36 +380,61 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - Output Device + Output Device: Dispositivo de Saída - Input Device + Input Device: Dispositivo de Entrada - + + Sound Output Mode: + Modo de saída de som + + + + Mono + Mono + + + + Stereo + Estéreo + + + + Surround + Surround + + + Use global volume Usar volume global - + Set volume: Definir volume: - + Volume: Volume: - + 0 % 0 % - + + Mute audio when in background + Silenciar audio quando a janela ficar em segundo plano + + + %1% Volume percentage (e.g. 50%) %1% @@ -808,12 +833,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + + <div style="white-space: nowrap">Esta otimização acelera os acessos à memória ao permitir que acessos inválidos à memória sejam bem-sucedidos.</div> + <div style="white-space: nowrap">Ativá-la reduz a sobrecarga de todos os acessos à memória e não tem impacto em programas que não tem acessos inválidos à memória.</div> + Enable fallbacks for invalid memory accesses - + Permitir fallbacks para acessos inválidos à memória @@ -934,124 +962,134 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Desativar macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente + + + + Disable Macro HLE + Desabilitar o Macro HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Quando ativado, o yuzu registrará estatísticas sobre o cache de pipeline compilado - + Enable Shader Feedback Ativar Feedback de Shaders - + When checked, it executes shaders without loop logic changes Quando ativado, executa shaders sem mudanças de lógica de loop - + Disable Loop safety checks Desativar verificação de segurança de loops - + Debugging Depuração - + Enable Verbose Reporting Services** Ativar serviços de relatório detalhado** - + Enable FS Access Log Ativar acesso de registro FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio. - + Dump Audio Commands To Console** - + Despejar comandos de áudio no console** - + Create Minidump After Crash - + Criar um despejo resumido após uma falha - + Advanced Avançado - + Kiosk (Quest) Mode Modo quiosque (Quest) - + Enable CPU Debugging Ativar depuração de CPU - + Enable Debug Asserts Ativar asserções de depuração - + Enable Auto-Stub** Ativar auto-esboço** - + Enable All Controller Types Ativar todos os tipos de controles - + Disable Web Applet Desativar o applet da web - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu. - + Perform Startup Vulkan Check - + Executar checagem do Vulkan na inicialização - + **This will be reset automatically when yuzu closes. **Isto será restaurado automaticamente assim que o yuzu for fechado. Restart Required - + É necessário reiniciar yuzu is required to restart in order to apply this setting. - + Será necessário reiniciar o yuzu para aplicar as configurações. - + Web applet not compiled - + Applet Web não compilado - + MiniDump creation not compiled - + Criação do mini despejo não compilada @@ -1099,78 +1137,78 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Configurações do yuzu - - + + Audio Áudio - - + + CPU CPU - + Debug Depuração - + Filesystem Sistema de arquivos - - + + General Geral - - + + Graphics Gráficos - + GraphicsAdvanced GráficosAvançado - + Hotkeys Teclas de atalho - - + + Controls Controles - + Profiles Perfis - + Network Rede - - + + System Sistema - + Game List Lista de jogos - + Web Rede @@ -1345,46 +1383,41 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - Extended memory layout (6GB DRAM) - Layout de memória extendida (6GB DRAM) - - - Confirm exit while emulation is running Confirmar saída quando a emulação estiver em execução - + Prompt for user on game boot Escolher um usuário ao iniciar um jogo - + Pause emulation when in background Pausar emulação quando a janela ficar em segundo plano - - Mute audio when in background - Silenciar audio quando a janela ficar em segundo plano - - - + Hide mouse on inactivity Esconder cursor do mouse quando em inatividade - + + Disable controller applet + + + + Reset All Settings Redefinir todas as configurações - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Isto restaura todas as configurações e exclui as configurações individuais de todos os jogos. As pastas de jogos, perfis de jogos e perfis de controles não serão excluídos. Deseja prosseguir? @@ -1423,7 +1456,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + None Nenhum @@ -1449,216 +1482,269 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. + VSync Mode: + Modo de Sincronização vertical: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulação NVDEC: - + No Video Output Sem saída de vídeo - + CPU Video Decoding Decodificação de vídeo pela CPU - + GPU Video Decoding (Default) Decodificação de vídeo pela GPU (Padrão) - + Fullscreen Mode: Modo de tela cheia: - + Borderless Windowed Janela em tela cheia - + Exclusive Fullscreen Tela cheia exclusiva - + Aspect Ratio: Proporção de tela: - + Default (16:9) Padrão (16:9) - + Force 4:3 Forçar 4:3 - + Force 21:9 Forçar 21:9 - + Force 16:10 - + Forçar 16:10 - + Stretch to Window Esticar para a janela - + Resolution: Resolução: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Filtro de adaptação de janela: - + Nearest Neighbor Vizinho mais próximo - + Bilinear Bilinear - + Bicubic Bicúbico - + Gaussian Gaussiano - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (somente Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Método de Anti-Aliasing - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Usar FSR Sharpness global - + Set FSR Sharpness - + Definir FSR Sharpness - + FSR Sharpness: - + FSR Sharpness: - + 100% - + 100% - - + + Use global background color Usar cor de fundo global - + Set background color: Configurar cor de fundo: - + Background Color: Cor de fundo: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Shaders Assembly, apenas NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Experimental, Somente Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Desligado + + + + VSync Off + Sincronização vertical desligada + + + + Recommended + Recomendado + + + + On + Ligado + + + + VSync On + Sincronização vertical ligada + ConfigureGraphicsAdvanced @@ -1683,77 +1769,153 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Nível de precisão: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - A sincronização vertical (VSync) evita que as imagens do jogo pareçam cortadas, porém algumas placas gráficas apresentam redução de desempenho quando estiver ativa. Deixe-a ativada se você não reparar alguma diferença de desempenho. + + ASTC recompression: + Recompressão ASTC: - - Use VSync + + Uncompressed (Best quality) + Descompactado (Melhor qualidade) + + + + BC1 (Low quality) + BC1 (Baixa qualidade) + + + + BC3 (Medium quality) + BC3 (Média qualidade) + + + + Enable asynchronous presentation (Vulkan only) + Ativar apresentação assíncrona (Somente Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Executa trabalho em segundo plano aguardando pelos comandos gráficos para evitar a GPU de reduzir seu clock. + + + + Force maximum clocks (Vulkan only) + Forçar clock máximo (somente Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Habilitar decodificação assíncrona de texturas ASTC, isso pode reduzir interrupções no tempo de carga. Essa funcionalidade é experimental. + + + + Decode ASTC textures asynchronously (Hack) + Decodificação assíncrona de texturas ASTC (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. - + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Realiza a compilação de shaders de forma assíncrona, o que pode reduzir engasgos de shaders. Esta opção é experimental. - + Use asynchronous shader building (Hack) Usar compilação assíncrona de shaders (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Ativa um tempo de resposta rápido da GPU. Esta opção forçará a maioria dos jogos a rodar em sua resolução nativa mais alta. - + Use Fast GPU Time (Hack) Usar tempo de resposta rápido da GPU (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Habilita cache de pipeline específico do fabricante. Essa opção pode melhorar o tempo de carga dos shaders significativamente nos casos onde o driver do Vulkan não armazena os arquivos cache de pipeline internamente. + + + + Use Vulkan pipeline cache + Utilizar cache de pipeline do Vulkan + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. - - Use pessimistic buffer flushes (Hack) + + Enable Compute Pipelines (Intel Vulkan only) + Ativar Compute Pipelines (Intel Vulkan only) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. - + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Filtragem anisotrópica: - + Automatic Automático - + Default Padrão - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1786,70 +1948,65 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Restaurar padrões - + Action Ação - + Hotkey Atalho - + Controller Hotkey Atalho do controle - - - + + + Conflicting Key Sequence Combinação de teclas já utilizada - - + + The entered key sequence is already assigned to: %1 A sequência de teclas pressionada já esta atribuída para: %1 - - Home+%1 - Home+%1 - - - + [waiting] [aguardando] - + Invalid Inválido - + Restore Default Restaurar padrão - + Clear Limpar - + Conflicting Button Sequence Sequência de botões conflitante - + The default button sequence is already assigned to: %1 A sequência de botões padrão já está vinculada a %1 - + The default key sequence is already assigned to: %1 A sequência de teclas padrão já esta atribuida para: %1 @@ -2141,7 +2298,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Configure Configurar @@ -2153,7 +2310,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Infrared Camera - + Câmera infravermelha @@ -2167,6 +2324,8 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. + + Requires restarting yuzu Requer reiniciar o yuzu @@ -2186,22 +2345,27 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Navegação com controle - - Enable mouse panning - Ativar o giro do mouse + + Enable direct JoyCon driver + Habilitar driver direto do JoyCon - - Mouse sensitivity - Sensibilidade do mouse + + Enable direct Pro Controller driver [EXPERIMENTAL] + Habilitar driver direto do Pro Controller [EXPERIMENTAL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Permite acesso ilimitado ao mesmo Amiibo que limitam o seu uso. - + + Use random Amiibo ID + Utilizar ID Amiibo aleatório + + + Motion / Touch Movimento/toque @@ -2221,57 +2385,57 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Input Profiles - + Perfis de controle Player 1 Profile - + Perfil do Jogador 1 Player 2 Profile - + Perfil do Jogador 2 Player 3 Profile - + Perfil do Jogador 3 Player 4 Profile - + Perfil do Jogador 4 Player 5 Profile - + Perfil do Jogador 5 Player 6 Profile - + Perfil do Jogador 6 Player 7 Profile - + Perfil do Jogador 7 Player 8 Profile - + Perfil do Jogador 8 Use global input configuration - + Usar configuração global de controles Player %1 profile - + Perfil do Jogador %1 @@ -2313,7 +2477,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Left Stick Analógico esquerdo @@ -2407,14 +2571,14 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + L L - + ZL ZL @@ -2433,7 +2597,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Plus Mais @@ -2446,15 +2610,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - - + + R R - + ZR ZR @@ -2511,236 +2675,257 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Right Stick Analógico direito - - - - + + Mouse panning + + + + + Configure + Configurar + + + + + + Clear Limpar - - - - - + + + + + [not set] [não definido] - - + + + Invert button Inverter botão - - + + Toggle button Alternar pressionamento do botão - - + + Turbo button + Botão Turbo + + + + Invert axis Inverter eixo - - - + + + Set threshold Definir limite - - + + Choose a value between 0% and 100% Escolha um valor entre 0% e 100% - + Toggle axis - + Alternar eixos - + Set gyro threshold Definir limite do giroscópio - + + Calibrate sensor + Calibrar sensor + + + Map Analog Stick Mapear analógico - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Após pressionar OK, mova o seu direcional analógico primeiro horizontalmente e depois verticalmente. Para inverter os eixos, mova seu analógico primeiro verticalmente e depois horizontalmente. - + Center axis Eixo central - - + + Deadzone: %1% Zona morta: %1% - - + + Modifier Range: %1% Alcance de modificador: %1% - - + + Pro Controller Pro Controller - + Dual Joycons Par de Joycons - + Left Joycon Joycon Esquerdo - + Right Joycon Joycon Direito - + Handheld Portátil - + GameCube Controller Controle de GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Controle NES - + SNES Controller Controle SNES - + N64 Controller Controle N64 - + Sega Genesis Mega Drive - + Start / Pause Iniciar / Pausar - + Z Z - + Control Stick Direcional de controle - + C-Stick C-Stick - + Shake! Balance! - + [waiting] [esperando] - + New Profile Novo perfil - + Enter a profile name: Insira um nome para o perfil: - - + + Create Input Profile Criar perfil de controle - + The given profile name is not valid! O nome de perfil inserido não é válido! - + Failed to create the input profile "%1" Falha ao criar o perfil de controle "%1" - + Delete Input Profile Excluir perfil de controle - + Failed to delete the input profile "%1" Falha ao excluir o perfil de controle "%1" - + Load Input Profile Carregar perfil de controle - + Failed to load the input profile "%1" Falha ao carregar o perfil de controle "%1" - + Save Input Profile Salvar perfil de controle - + Failed to save the input profile "%1" Falha ao salvar o perfil de controle "%1" @@ -2788,7 +2973,7 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori - + Configure Configurar @@ -2824,7 +3009,7 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori - + Test Teste @@ -2844,81 +3029,156 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Saiba mais</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters O número da porta tem caracteres inválidos - + Port has to be in range 0 and 65353 A porta tem que estar entre 0 e 65353 - + IP address is not valid O endereço IP não é válido - + This UDP server already exists Este servidor UDP já existe - + Unable to add more than 8 servers Não é possível adicionar mais de 8 servidores - + Testing Testando - + Configuring Configurando - + Test Successful Teste bem-sucedido - + Successfully received data from the server. Dados foram recebidos do servidor com sucesso. - + Test Failed O teste falhou - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Não foi possível receber dados válidos do servidor.<br>Verifique se o servidor foi configurado corretamente e o endereço e porta estão corretos. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Um teste UDP ou configuração de calibração está em curso no momento.<br>Aguarde até a sua conclusão. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Habilitar + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Padrão + + ConfigureNetwork @@ -2995,47 +3255,47 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori Desenvolvedor - + Add-Ons Adicionais - + General Geral - + System Sistema - + CPU CPU - + Graphics Gráficos - + Adv. Graphics Gráf. avançados - + Audio Áudio - + Input Profiles - + Perfis de controle - + Properties Propriedades @@ -3214,7 +3474,7 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori Delete this user? All of the user's save data will be deleted. - + Excluir esse usuário? Todos os dados salvos desse usuário serão removidos. @@ -3225,7 +3485,8 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori Name: %1 UUID: %2 - + Nome: %1 +UUID: %2 @@ -3237,12 +3498,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Caso queira usar este controle, configure o jogador 1 como Joycon direito e o jogador 2 como par de Joycons antes de iniciar o jogo. Isso permitirá que o controle seja detectado corretamente. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters + Virtual Ring Sensor Parameters Parâmetros do Sensor de Anel @@ -3263,33 +3524,95 @@ UUID: %2 Zona morta: 0% - + + Direct Joycon Driver + Driver Direto do Joycon + + + + Enable Ring Input + Habilitar Controle de Anel + + + + + Enable + Habilitar + + + + Ring Sensor Value + Valor do Sensor de Anel + + + + + Not connected + Não conectado + + + Restore Defaults Restaurar padrões - + Clear Limpar - + [not set] [não definido] - + Invert axis Inverter eixo - - + + Deadzone: %1% Zona morta: %1% - + + Error enabling ring input + Erro habilitando controle de anel + + + + Direct Joycon driver is not enabled + Driver direto do Joycon não está habilitado + + + + Configuring + Configurando + + + + The current mapped device doesn't support the ring controller + O dispositivo atualmente mapeado não suporta o controle de anel + + + + The current mapped device doesn't have a ring attached + O dispositivo mapeado não tem um anel conectado + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Resultado inesperado do driver %1 + + + [waiting] [aguardando] @@ -3594,8 +3917,8 @@ UUID: %2 - English - Inglês (English) + American English + Inglês Americano @@ -3695,57 +4018,22 @@ UUID: %2 Device Name - + Nome do Dispositivo - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Layout de memória estendida inseguro (8GB DRAM) - - Stereo - Estéreo - - - - Surround - Surround - - - - Console ID: - ID do console: - - - - Sound output mode - Modo de saída de som - - - - Regenerate - Regerar - - - + System settings are available only when game is not running. As configurações de sistema são acessíveis apenas quando não houver nenhum jogo em execução. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Isto substituirá o seu Switch virtual atual por um novo. O seu Switch virtual atual não poderá ser recuperado. Isto pode causar efeitos inesperados em jogos. Isto pode falhar caso você use um jogo salvo com configurações desatualizadas registradas nele. Continuar? - - - - Warning - Aviso - - - - Console ID: 0x%1 - ID do console: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Aviso: "%1" não é um idioma válido para a região "%2" @@ -3814,7 +4102,7 @@ UUID: %2 Configurar TAS - + Select TAS Load Directory... Selecionar diretório de carregamento TAS @@ -4054,7 +4342,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Show Compatibility List - + Exibir Lista de Compatibilidade @@ -4064,12 +4352,12 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Show Size Column - + Exibir Coluna Tamanho Show File Types Column - + Exibir Coluna Tipos de Arquivos @@ -4253,7 +4541,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Web Service configuration can only be changed when a public room isn't being hosted. - + Configuração de Serviço Web só podem ser alteradas quando uma sala pública não está sendo hospedada. @@ -4331,7 +4619,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Unverified, please click Verify before saving configuration Tooltip - + Não verificado, por favor clique sobre Verificar antes de salvar as configurações @@ -4343,7 +4631,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Verified Tooltip - + Verificado @@ -4370,7 +4658,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Controle J1 - + &Controller P1 &Controle J1 @@ -4380,594 +4668,629 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Direct Connect - + Conexão Direta - - IP Address - + + Server Address + Endereço do Servidor - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Endereço do servidor que fará a hospedagem</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Porta - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Número da porta que o servidor de hospedagem está escutando</p></body></html> - + Nickname - + Apelido - + Password - + Senha - + Connect - + Conectar DirectConnectWindow - + Connecting - + Conectando - + Connect - + Conectar GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Dados anônimos são recolhidos</a> para ajudar a melhorar o yuzu. <br/><br/>Gostaria de compartilhar os seus dados de uso conosco? - + Telemetry Telemetria - + Broken Vulkan Installation Detected - + Detectada Instalação Defeituosa do Vulkan - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. + A inicialização do Vulkan falhou durante a carga do programa. <br><br>Clique <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>aqui para instruções de como resolver o problema</a>. + + + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + Loading Web Applet... Carregando applet web... - - + + Disable Web Applet Desativar o applet da web - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) A desativação do applet da web pode causar comportamento inesperado e deve apenas ser usada com Super Mario 3D All-Stars. Você deseja mesmo desativar o applet da web? (Ele pode ser reativado nas configurações de depuração.) - + The amount of shaders currently being built A quantidade de shaders sendo construídos - + The current selected resolution scaling multiplier. O atualmente multiplicador de escala de resolução selecionado. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Velocidade atual de emulação. Valores maiores ou menores que 100% indicam que a emulação está rodando mais rápida ou lentamente que em um Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Quantos quadros por segundo o jogo está exibindo atualmente. Isto irá variar de jogo para jogo e cena para cena. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tempo que leva para emular um quadro do Switch, sem considerar o limitador de taxa de quadros ou a sincronização vertical. Um valor menor ou igual a 16.67 ms indica que a emulação está em velocidade plena. - + + Unmute + Unmute + + + + Mute + Mute + + + + Reset Volume + Redefinir volume + + + &Clear Recent Files &Limpar arquivos recentes - + + Emulated mouse is enabled + Mouse emulado está habilitado + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse. + + + &Continue &Continuar - + &Pause &Pausar - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu está rodando um jogo - - - + Warning Outdated Game Format Aviso - formato de jogo desatualizado - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Você está usando neste jogo o formato de ROM desconstruída e extraída em uma pasta, que é um formato desatualizado que foi substituído por outros, como NCA, NAX, XCI ou NSP. Pastas desconstruídas de ROMs não possuem ícones, metadados e suporte a atualizações.<br><br>Para saber mais sobre os vários formatos de ROMs de Switch compatíveis com o yuzu, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>confira a nossa wiki</a>. Esta mensagem não será exibida novamente. - - + + Error while loading ROM! Erro ao carregar a ROM! - + The ROM format is not supported. O formato da ROM não é suportado. - + An error occurred initializing the video core. Ocorreu um erro ao inicializar o núcleo de vídeo. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu encontrou um erro enquanto rodando o núcleo de vídeo. Normalmente isto é causado por drivers de GPU desatualizados, incluindo integrados. Por favor veja o registro para mais detalhes. Para mais informações em acesso ao registro por favor veja a seguinte página: <a href='https://yuzu-emu.org/help/reference/log-files/'>Como fazer envio de arquivo de registro</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Erro ao carregar a ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Por favor, siga <a href='https://yuzu-emu.org/help/quickstart/'>o guia de início rápido</a> para reextrair os seus arquivos.<br>Você pode consultar a wiki do yuzu</a> ou o Discord do yuzu</a> para obter ajuda. - + An unknown error occurred. Please see the log for more details. Ocorreu um erro desconhecido. Consulte o registro para mais detalhes. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Encerrando software... - + Save Data Dados de jogos salvos - + Mod Data Dados de mods - + Error Opening %1 Folder Erro ao abrir a pasta %1 - - + + Folder does not exist! A pasta não existe! - + Error Opening Transferable Shader Cache Erro ao abrir o cache de shaders transferível - + Failed to create the shader cache directory for this title. Falha ao criar o diretório de cache de shaders para este título. - + Error Removing Contents - + Erro ao Remover Conteúdos - + Error Removing Update - + Erro ao Remover Atualização - + Error Removing DLC - + Erro ao Remover DLC - + Remove Installed Game Contents? - + Remover Conteúdo Instalado do Jogo? - + Remove Installed Game Update? - + Remover Atualização Instalada do Jogo? - + Remove Installed Game DLC? - + Remover DLC Instalada do Jogo? - + Remove Entry Remover item - - - - - - + + + + + + Successfully Removed Removido com sucesso - + Successfully removed the installed base game. O jogo base foi removido com sucesso. - + The base game is not installed in the NAND and cannot be removed. O jogo base não está instalado na NAND e não pode ser removido. - + Successfully removed the installed update. A atualização instalada foi removida com sucesso. - + There is no update installed for this title. Não há nenhuma atualização instalada para este título. - + There are no DLC installed for this title. Não há nenhum DLC instalado para este título. - + Successfully removed %1 installed DLC. %1 DLC(s) instalados foram removidos com sucesso. - + Delete OpenGL Transferable Shader Cache? Apagar o cache de shaders transferível do OpenGL? - + Delete Vulkan Transferable Shader Cache? Apagar o cache de shaders transferível do Vulkan? - + Delete All Transferable Shader Caches? Apagar todos os caches de shaders transferíveis? - + Remove Custom Game Configuration? Remover configurações customizadas do jogo? - + + Remove Cache Storage? + Remover Armazenamento da Cache? + + + Remove File Remover arquivo - - + + Error Removing Transferable Shader Cache Erro ao remover cache de shaders transferível - - + + A shader cache for this title does not exist. Não existe um cache de shaders para este título. - + Successfully removed the transferable shader cache. O cache de shaders transferível foi removido com sucesso. - + Failed to remove the transferable shader cache. Falha ao remover o cache de shaders transferível. - - + + Error Removing Vulkan Driver Pipeline Cache + Erro ao Remover Cache de Pipeline do Driver Vulkan + + + + Failed to remove the driver pipeline cache. + Falha ao remover o pipeline de cache do driver. + + + + Error Removing Transferable Shader Caches Erro ao remover os caches de shaders transferíveis - + Successfully removed the transferable shader caches. Os caches de shaders transferíveis foram removidos com sucesso. - + Failed to remove the transferable shader cache directory. Falha ao remover o diretório do cache de shaders transferível. - - + + Error Removing Custom Configuration Erro ao remover as configurações customizadas do jogo. - + A custom configuration for this title does not exist. Não há uma configuração customizada para este título. - + Successfully removed the custom game configuration. As configurações customizadas do jogo foram removidas com sucesso. - + Failed to remove the custom game configuration. Falha ao remover as configurações customizadas do jogo. - - + + RomFS Extraction Failed! Falha ao extrair RomFS! - + There was an error copying the RomFS files or the user cancelled the operation. Houve um erro ao copiar os arquivos RomFS ou o usuário cancelou a operação. - + Full Extração completa - + Skeleton Apenas estrutura - + Select RomFS Dump Mode Selecione o modo de extração do RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Selecione a forma como você gostaria que o RomFS seja extraído.<br>"Extração completa" copiará todos os arquivos para a nova pasta, enquanto que <br>"Apenas estrutura" criará apenas a estrutura de pastas. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root Não há espaço suficiente em %1 para extrair o RomFS. Por favor abra espaço ou selecione um diretório diferente em Emulação > Configurar > Sistema > Sistema de arquivos > Extrair raiz - + Extracting RomFS... Extraindo RomFS... - - + + Cancel Cancelar - + RomFS Extraction Succeeded! Extração do RomFS concluida! - + The operation completed successfully. A operação foi concluída com sucesso. - - - - - + + + + + Create Shortcut - + Criar Atalho - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Isso irá criar um atalho para o AppImage atual. Isso pode não funcionar corretamente se você fizer uma atualização. Continuar? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Não foi possível criar um atalho na área de trabalho. O caminho "%1" não existe. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Não foi possível criar um atalho no menu de aplicativos. O caminho "%1" não existe e não pode ser criado. - + Create Icon - + Criar Ícone - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Não foi possível criar o arquivo de ícone. O caminho "%1" não existe e não pode ser criado. - + Start %1 with the yuzu Emulator - + Iniciar %1 com o Emulador yuzu - + Failed to create a shortcut at %1 - + Falha ao criar um atalho em %1 - + Successfully created a shortcut to %1 - + Atalho criado com sucesso em %1 - + Error Opening %1 Erro ao abrir %1 - + Select Directory Selecionar pasta - + Properties Propriedades - + The game properties could not be loaded. As propriedades do jogo não puderam ser carregadas. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Executável do Switch (%1);;Todos os arquivos (*.*) - + Load File Carregar arquivo - + Open Extracted ROM Directory Abrir pasta da ROM extraída - + Invalid Directory Selected Pasta inválida selecionada - + The directory you have selected does not contain a 'main' file. A pasta que você selecionou não contém um arquivo 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Arquivo de Switch instalável (*.nca *.nsp *.xci);; Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Instalar arquivos - + %n file(s) remaining %n arquivo restante%n arquivo(s) restante(s)%n arquivo(s) restante(s) - + Installing file "%1"... Instalando arquivo "%1"... - - + + Install Results Resultados da instalação - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Para evitar possíveis conflitos, desencorajamos que os usuários instalem os jogos base na NAND. Por favor, use esse recurso apenas para instalar atualizações e DLCs. - + %n file(s) were newly installed %n arquivo(s) instalado(s) @@ -4976,7 +5299,7 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs. - + %n file(s) were overwritten %n arquivo(s) sobrescrito(s) @@ -4985,7 +5308,7 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs. - + %n file(s) failed to install %n arquivo(s) não instalado(s) @@ -4994,377 +5317,312 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs. - + System Application Aplicativo do sistema - + System Archive Arquivo do sistema - + System Application Update Atualização de aplicativo do sistema - + Firmware Package (Type A) Pacote de firmware (tipo A) - + Firmware Package (Type B) Pacote de firmware (tipo B) - + Game Jogo - + Game Update Atualização de jogo - + Game DLC DLC de jogo - + Delta Title Título delta - + Select NCA Install Type... Selecione o tipo de instalação do NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Selecione o tipo de título como o qual você gostaria de instalar este NCA: (Na maioria dos casos, o padrão 'Jogo' serve bem.) - + Failed to Install Falha ao instalar - + The title type you selected for the NCA is invalid. O tipo de título que você selecionou para o NCA é inválido. - + File not found Arquivo não encontrado - + File "%1" not found Arquivo "%1" não encontrado - + OK OK - - + + Hardware requirements not met - + Requisitos de hardware não atendidos - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Seu sistema não atende os requisitos de harwdare. O relatório de compatibilidade foi desabilitado. - + Missing yuzu Account Conta do yuzu faltando - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Para enviar um caso de teste de compatibilidade de jogo, você precisa entrar com a sua conta do yuzu.<br><br/>Para isso, vá para Emulação &gt; Configurar... &gt; Rede. - + Error opening URL Erro ao abrir URL - + Unable to open the URL "%1". Não foi possível abrir o URL "%1". - + TAS Recording Gravando TAS - + Overwrite file of player 1? Sobrescrever arquivo do jogador 1? - + Invalid config detected Configuração inválida detectada - + Handheld controller can't be used on docked mode. Pro controller will be selected. O controle portátil não pode ser usado no modo encaixado na base. O Pro Controller será selecionado. - - + + Amiibo Amiibo - - + + The current amiibo has been removed O amiibo atual foi removido - + Error Erro - - + + The current game is not looking for amiibos O jogo atual não está procurando amiibos - + Amiibo File (%1);; All Files (*.*) Arquivo Amiibo (%1);; Todos os arquivos (*.*) - + Load Amiibo Carregar Amiibo - + Error loading Amiibo data Erro ao carregar dados do Amiibo - + The selected file is not a valid amiibo - + O arquivo selecionado não é um amiibo válido - + The selected file is already on use - + O arquivo selecionado já está em uso - + An unknown error occurred - + Ocorreu um erro desconhecido - + Capture Screenshot Capturar tela - + PNG Image (*.png) Imagem PNG (*.png) - + TAS state: Running %1/%2 Situação TAS: Rodando %1%2 - + TAS state: Recording %1 Situação TAS: Gravando %1 - + TAS state: Idle %1/%2 Situação TAS: Repouso %1%2 - + TAS State: Invalid Situação TAS: Inválido - + &Stop Running &Parar de rodar - + &Start &Iniciar - + Stop R&ecording Parar G&ravação - + R&ecord G&ravação - + Building: %n shader(s) Compilando: %n shader(s)Compilando: %n shader(s)Compilando: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Escala: %1x - + Speed: %1% / %2% Velocidade: %1% / %2% - + Speed: %1% Velocidade: %1% - + Game: %1 FPS (Unlocked) Jogo: %1 FPS (Desbloqueado) - + Game: %1 FPS Jogo: %1 FPS - + Frame: %1 ms Quadro: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU ALTA - - - - GPU EXTREME - GPU EXTREMA - - - - GPU ERROR - ERRO DE GPU - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - VIZINHO - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICÚBICO - - - - GAUSSIAN - GAUSSIANO - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA Sem AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUME: MUDO - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUME: %1% - + Confirm Key Rederivation Confirmar rederivação de chave - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5381,37 +5639,37 @@ e opcionalmente faça cópias de segurança. Isto excluirá o seus arquivos de chaves geradas automaticamente, e reexecutar o módulo de derivação de chaves. - + Missing fuses Faltando fusíveis - + - Missing BOOT0 - Faltando BOOT0 - + - Missing BCPKG2-1-Normal-Main - Faltando BCPKG2-1-Normal-Main - + - Missing PRODINFO - Faltando PRODINFO - + Derivation Components Missing Faltando componentes de derivação - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Chaves de encriptação faltando. <br>Por favor, siga <a href='https://yuzu-emu.org/help/quickstart/'>o guia de início rápido</a> para extrair suas chaves, firmware e jogos. <br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5420,39 +5678,49 @@ Isto pode demorar até um minuto, dependendo do desempenho do seu sistema. - + Deriving Keys Derivando chaves - + + System Archive Decryption Failed + Falha a desencriptar o arquivo do sistema + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Chaves de encriptação falharam a desencriptar o firmware. <br>Por favor segue <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> para obter todas as tuas chaves, firmware e jogos. + + + Select RomFS Dump Target Selecionar alvo de extração do RomFS - + Please select which RomFS you would like to dump. Selecione qual RomFS você quer extrair. - + Are you sure you want to close yuzu? Você deseja mesmo fechar o yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Deseja mesmo parar a emulação? Qualquer progresso não salvo será perdido. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5460,6 +5728,101 @@ Would you like to bypass this and exit anyway? Deseja ignorar isso e sair mesmo assim? + + + None + Nenhum + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicúbico + + + + Gaussian + Gaussiano + + + + ScaleForce + ScaleForce + + + + Docked + Na base + + + + Handheld + Portátil + + + + Normal + Normal + + + + High + Alto + + + + Extreme + + + + + Vulkan + Vulcano + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5472,7 +5835,7 @@ Deseja ignorar isso e sair mesmo assim? OpenGL shared contexts are not supported. - + Shared contexts do OpenGL não são suportados. @@ -5560,117 +5923,122 @@ Deseja ignorar isso e sair mesmo assim? + Remove Cache Storage + Remove a Cache do Armazenamento + + + Remove OpenGL Pipeline Cache Remover cache de pipeline do OpenGL - + Remove Vulkan Pipeline Cache Remover cache de pipeline do Vulkan - + Remove All Pipeline Caches Remover todos os caches de pipeline - + Remove All Installed Contents Remover todo o conteúdo instalado - + Dump RomFS Extrair RomFS - + Dump RomFS to SDMC Extrair RomFS para SDMC - + Copy Title ID to Clipboard Copiar ID do título para a área de transferência - + Navigate to GameDB entry Abrir artigo do jogo no GameDB - + Create Shortcut - + Criar Atalho - + Add to Desktop Adicionar à Área de Trabalho - + Add to Applications Menu Adicionar ao Menu de Aplicativos - + Properties Propriedades - + Scan Subfolders Examinar subpastas - + Remove Game Directory Remover pasta de jogo - + ▲ Move Up ▲ Mover para cima - + ▼ Move Down ▼ Mover para baixo - + Open Directory Location Abrir local da pasta - + Clear Limpar - + Name Nome - + Compatibility Compatibilidade - + Add-ons Adicionais - + File type Tipo de arquivo - + Size Tamanho @@ -5741,7 +6109,7 @@ Deseja ignorar isso e sair mesmo assim? GameListPlaceholder - + Double-click to add a new folder to the game list Clique duas vezes para adicionar uma pasta à lista de jogos @@ -5754,12 +6122,12 @@ Deseja ignorar isso e sair mesmo assim? %1 de %n resultado(s)%1 de %n resultado(s)%1 de %n resultado(s) - + Filter: Filtro: - + Enter pattern to filter Digite o padrão para filtrar @@ -5774,17 +6142,17 @@ Deseja ignorar isso e sair mesmo assim? Room Name - + Nome da Sala Preferred Game - + Jogo Preferencial Max Players - + Máximo de Jogadores @@ -5794,17 +6162,17 @@ Deseja ignorar isso e sair mesmo assim? (Leave blank for open game) - + (Deixe em branco para um jogo aberto) Password - + Senha Port - + Porta @@ -5814,22 +6182,22 @@ Deseja ignorar isso e sair mesmo assim? Load Previous Ban List - + Carregar Lista de Banimento Anterior Public - + Público Unlisted - + Não listado Host Room - + Hospedar Sala @@ -5843,146 +6211,147 @@ Deseja ignorar isso e sair mesmo assim? Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -> Configure -> Web. If you do not want to publish a room in the public lobby, then select Unlisted instead. Debug Message: - + Falha ao anunciar a sala ao lobby público. Para hospedar uma sala pública você deve ter configurado uma conta válida do yuzu em Emulação -> Configurações -> Web. Se você não quer publicar uma sala no lobby público seleciona a opção Não listado. +Mensagem de depuração: Hotkeys - + Audio Mute/Unmute - + Mutar/Desmutar Áudio - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Janela Principal - + Audio Volume Down - + Volume Menos - + Audio Volume Up - + Volume Mais - + Capture Screenshot Capturar Tela - + Change Adapting Filter - + Alterar Filtro de Adaptação - + Change Docked Mode - + Alterar Modo de Ancoragem - + Change GPU Accuracy - + Alterar Precisão da GPU - + Continue/Pause Emulation - + Continuar/Pausar Emulação - + Exit Fullscreen - + Sair da Tela Cheia - + Exit yuzu - + Sair do yuzu - + Fullscreen Tela Cheia - + Load File Carregar Arquivo - + Load/Remove Amiibo - + Carregar/Remover Amiibo - + Restart Emulation - + Reiniciar Emulação - + Stop Emulation - + Parar Emulação - + TAS Record - + Gravar TAS - + TAS Reset - + Reiniciar TAS - + TAS Start/Stop - + Iniciar/Parar TAS - + Toggle Filter Bar - + Alternar Barra de Filtro - + Toggle Framerate Limit - + Alternar Limite de Quadros por Segundo - + Toggle Mouse Panning - + Alternar o Giro do Mouse - + Toggle Status Bar - + Alternar Barra de Status @@ -6003,7 +6372,7 @@ Debug Message: Instalar - + Install Files to NAND Instalar arquivos para a NAND @@ -6011,7 +6380,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 O texto não pode conter nenhum dos seguintes caracteres: @@ -6061,78 +6430,83 @@ Debug Message: Public Room Browser - + Navegador de Salas Públicas Nickname - + Apelido Filters - + Filtros Search - + Pesquisar Games I Own - + Meus Jogos + Hide Empty Rooms + Esconder Salas Vazias + + + Hide Full Rooms - + Esconder Salas Cheias - + Refresh Lobby - + Atualizar Lobby - + Password Required to Join - + Senha Necessária para Entrar - + Password: - + Senha: - + Players Jogadores - - - Room Name - - - Preferred Game - + Room Name + Nome da Sala + Preferred Game + Jogo Preferencial + + + Host - + Anfitrião - + Refreshing - + Atualizando - + Refresh List - + Atualizar Lista @@ -6205,7 +6579,7 @@ Debug Message: &Multiplayer - + &Multijogador @@ -6295,27 +6669,27 @@ Debug Message: &Browse Public Game Lobby - + &Navegar no Lobby de Salas Públicas &Create Room - + &Criar Sala &Leave Room - + Sai&r da Sala &Direct Connect to Room - + Conectar &Diretamente Numa Sala &Show Current Room - + Exibir &Sala Atual @@ -6401,48 +6775,48 @@ Debug Message: Moderation - + Moderação Ban List - + Lista de Banimentos Refreshing - + Atualizando Unban - + Desbanir Subject - + Assunto Type - + Tipo Forum Username - + Nome de Usuário do Fórum IP Address - + Endereço IP Refresh - + Atualizar @@ -6450,17 +6824,17 @@ Debug Message: Current connection status - + Status da conexão atual Not Connected. Click here to find a room! - + Não conectado. Clique aqui para procurar uma sala! Not Connected - + Não Conectado @@ -6470,7 +6844,7 @@ Debug Message: New Messages Received - + Novas Mensagens Recebidas @@ -6481,7 +6855,8 @@ Debug Message: Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Falha ao atualizar as informações da sala. Por favor verifique sua conexão com a internet e tente hospedar a sala novamente. +Mensagem de Depuração: @@ -6489,67 +6864,67 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Nome de usuário inválido. Deve conter de 4 a 20 caracteres alfanuméricos. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Nome da sala inválido. Deve conter de 4 a 20 caracteres alfanuméricos. Username is already in use or not valid. Please choose another. - + Nome de usuário já está em uso ou não é válido. Por favor escolha outro nome de usuário. IP is not a valid IPv4 address. - + O endereço IP não é um endereço IPv4 válido. Port must be a number between 0 to 65535. - + Porta deve ser um número entre 0 e 65535. You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list. - + Você deve escolher um Jogo Preferível para hospedar uma sala. Se você não possui nenhum jogo na sua lista ainda, adicione um diretório de jogos clicando no ícone de mais na lista de jogos. Unable to find an internet connection. Check your internet settings. - + Não foi possível encontrar uma conexão com a internet. Verifique suas configurações de internet. Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Não foi possível conectar no host. Verifique que as configurações de conexão estão corretas. Se você ainda não conseguir conectar, entre em contato com o anfitrião da sala e verifique que o host está configurado corretamente com a porta externa redirecionada. Unable to connect to the room because it is already full. - + Não foi possível conectar na sala porque a mesma está cheia. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Erro ao criar a sala. Por favor tente novamente. Reiniciar o yuzu pode ser necessário. The host of the room has banned you. Speak with the host to unban you or try a different room. - + O anfitrião da sala baniu você. Fale com o anfitrião para que ele remova seu banimento ou tente uma sala diferente. Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server. - + Versão não compatível! Por favor atualize o yuzu para a última versão. Se o problema persistir entre em contato com o anfitrião da sala e peça que atualize o servidor. Incorrect password. - + Senha inválda. @@ -6559,7 +6934,7 @@ Debug Message: Connection to room lost. Try to reconnect. - + Conexão com a sala encerrada. Tente reconectar. @@ -6664,7 +7039,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIAR/PAUSAR @@ -6713,31 +7088,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [não definido] @@ -6748,14 +7123,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eixo %1%2 @@ -6766,264 +7141,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [desconhecido] - - - + + + Left Esquerda - - - + + + Right Direita - - - + + + Down Baixo - - - + + + Up Cima - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Círculo - - + + Cross Cruz - - + + Square Quadrado - - + + Triangle Triângulo - - + + Share Compartilhar - - + + Options Opções - - + + [undefined] [indefinido] - + %1%2 %1%2 - - + + [invalid] [inválido] - - - - + + %1%2Hat %3 %1%2Direcional %3 - - - - - - + + + + %1%2Axis %3 %1%2Eixo %3 - - + + %1%2Axis %3,%4,%5 %1%2Eixo %3,%4,%5 - - + + %1%2Motion %3 %1%2Movimentação %3 - - - - + + %1%2Button %3 %1%2Botão %3 - - + + [unused] [não utilizado] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Mais + + + + Minus + Menos + + + + Home Botão Home - + + Capture + Capturar + + + Touch Toque - + Wheel Indicates the mouse wheel Volante - + Backward Para trás - + Forward Para a frente - + Task Tarefa - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7046,7 +7479,7 @@ p, li { white-space: pre-wrap; } Type - + Tipo @@ -7392,28 +7825,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Código de erro: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Ocorreu um erro. Tente novamente ou entre em contato com o desenvolvedor do software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Ocorreu um erro em %1 até %2. Tente novamente ou entre em contato com o desenvolvedor do software. - + An error has occurred. %1 @@ -7437,20 +7870,81 @@ Tente novamente ou entre em contato com o desenvolvedor do software. - - Select a user: - Selecione um usuário: - - - + Users Usuários - + + Profile Creator + + + + + Profile Selector Seletor de perfil + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Selecione um usuário: + QtSoftwareKeyboardDialog @@ -7500,51 +7994,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Pilha de chamadas - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - esperando pelo mutex 0x%1 - - - - has waiters: %1 - possui os waiters %1 - - - - owner handle: 0x%1 - manejo de proprietário: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - esperando por todos os objetos - - - - waiting for one of the following objects - esperando por um dos seguintes objetos - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread não aguardando pelo thread @@ -7552,120 +8015,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable rodável - + paused pausado - + sleeping dormindo - + waiting for IPC reply esperando para resposta do IPC - + waiting for objects esperando por objetos - + waiting for condition variable aguardando por variável da condição - + waiting for address arbiter esperando para endereção o árbitro - + waiting for suspend resume esperando pra suspender o resumo - + waiting aguardando - + initialized inicializado - + terminated terminado - + unknown desconhecido - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 núcleo %1 - + processor = %1 processador = %1 - - ideal core = %1 - núcleo ideal = %1 - - - + affinity mask = %1 máscara de afinidade = %1 - + thread id = %1 thread id = %1 - + priority = %1(current) / %2(normal) prioridade = %1(atual) / %2(normal) - + last running ticks = %1 últimos ticks executados = %1 - - - not waiting for mutex - não aguardando para mutex - WaitTreeThreadList - + waited by thread aguardado pelo thread @@ -7673,7 +8126,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Árvore de espera diff --git a/dist/languages/pt_PT.ts b/dist/languages/pt_PT.ts index 4b6c2ec45..704ffa0c4 100644 --- a/dist/languages/pt_PT.ts +++ b/dist/languages/pt_PT.ts @@ -4,7 +4,7 @@ About yuzu - Sobre Yuzu + Sobre o yuzu @@ -213,7 +213,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 membros) - conectado @@ -242,102 +242,102 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>O jogo inicializa?</p></body></html> Yes The game starts to output video or audio - + Sim. O jogo começou por vídeo ou áudio. No The game doesn't get past the "Launching..." screen - + Não. O Jogo não passou da tela de inicialização "Launching..." Yes The game gets past the intro/menu and into gameplay - + Sim O Jogo passou da tela de menu/introdução e começou o gameplay No The game crashes or freezes while loading or using the menu - + Não O jogo travou e/ou apresentou falhas graves durante o carregamento ou utilizando o menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>O jogo chega a gameplay?</p></body></html> Yes The game works without crashes - + Sim O jogo funciona sem crashes No The game crashes or freezes during gameplay - + Não O jogo crasha ou congela durante a gameplay <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>O jogo funciona sem crashar, congelar ou travar durante a gameplay?</p></body></html> Yes The game can be finished without any workarounds - + Sim O jogo pode ser concluido sem o uso de soluções alternativas No The game can't progress past a certain area - + Não Não é possível progredir no jogo a partir de uma certa área <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>O jogo é completamente jogável do início ao fim?</p></body></html> Major The game has major graphical errors - + Grave O jogo tem grandes erros gráficos Minor The game has minor graphical errors - + Pequenos O jogo tem pequenos erros gráficos None Everything is rendered as it looks on the Nintendo Switch - + Nenhum Tudo é renderizado como no Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>O jogo tem alguma falha gráfica?</p></body></html> Major The game has major audio errors - + Graves O jogo tem graves erros de áudio Minor The game has minor audio errors - + Pequenos O jogo tem pequenos erros de audio None Audio is played perfectly - + Nenhum O áudio é reproduzido perfeitamente <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>O jogo tem alguma falha no áudio / efeitos ausentes?</p></body></html> @@ -380,36 +380,61 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - Output Device - Dispositivo de saída + Output Device: + Dispositivo de Saída - Input Device + Input Device: Dispositivo de Entrada - + + Sound Output Mode: + Modo de saída de som + + + + Mono + Mono + + + + Stereo + Estéreo + + + + Surround + Surround + + + Use global volume Usar volume global - + Set volume: Definir volume: - + Volume: Volume: - + 0 % 0 % - + + Mute audio when in background + Silenciar audio quando a janela ficar em segundo plano + + + %1% Volume percentage (e.g. 50%) %1% @@ -798,12 +823,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + + <div style="white-space: nowrap">Esta otimização acelera os acessos à memória ao permitir que acessos inválidos à memória sejam bem-sucedidos.</div> + <div style="white-space: nowrap">Ativá-la reduz a sobrecarga de todos os acessos à memória e não tem impacto em programas que não tem acessos inválidos à memória</div> + Enable fallbacks for invalid memory accesses - + Permitir fallbacks para acessos inválidos à memória @@ -924,124 +952,134 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Desactivar Macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente + + + + Disable Macro HLE + Desabilitar o Macro HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Quando ativado, o yuzu registrará estatísticas sobre o cache de pipeline compilado - + Enable Shader Feedback Ativar Feedback de Shaders - + When checked, it executes shaders without loop logic changes Quando ativado, executa shaders sem mudanças de lógica de loop - + Disable Loop safety checks Desativar verificação de segurança de loops - + Debugging Depuração - + Enable Verbose Reporting Services** Ativar serviços de relatório detalhado** - + Enable FS Access Log Ativar acesso de registro FS - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio. - + Dump Audio Commands To Console** - + Despejar comandos de áudio no console** - + Create Minidump After Crash - + Criar um despejo resumido após uma falha - + Advanced Avançado - + Kiosk (Quest) Mode Modo Quiosque (Quest) - + Enable CPU Debugging Ativar depuração de CPU - + Enable Debug Asserts Ativar asserções de depuração - + Enable Auto-Stub** Ativar auto-esboço** - + Enable All Controller Types Ativar todos os tipos de controles - + Disable Web Applet Desativar Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu. - + Perform Startup Vulkan Check - + Executar checagem do Vulkan na inicialização - + **This will be reset automatically when yuzu closes. **Isto será restaurado automaticamente assim que o yuzu for fechado. Restart Required - + É necessário reiniciar yuzu is required to restart in order to apply this setting. - + Será necessário reiniciar o yuzu para aplicar as configurações. - + Web applet not compiled - + Applet Web não compilado - + MiniDump creation not compiled - + Criação do mini despejo não compilada @@ -1089,78 +1127,78 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Configuração yuzu - - + + Audio Audio - - + + CPU CPU - + Debug Depurar - + Filesystem Sistema de Ficheiros - - + + General Geral - - + + Graphics Gráficos - + GraphicsAdvanced GráficosAvançados - + Hotkeys Teclas de Atalhos - - + + Controls Controlos - + Profiles Perfis - + Network Rede - - + + System Sistema - + Game List Lista de Jogos - + Web Rede @@ -1335,46 +1373,41 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - Extended memory layout (6GB DRAM) - Layout de memória extendida (6GB DRAM) - - - Confirm exit while emulation is running Confirme a saída enquanto a emulação está em execução - + Prompt for user on game boot Solicitar para o utilizador na inicialização do jogo - + Pause emulation when in background Pausar o emulador quando estiver em segundo plano - - Mute audio when in background - Silenciar audio quando a janela ficar em segundo plano - - - + Hide mouse on inactivity Esconder rato quando inactivo. - + + Disable controller applet + + + + Reset All Settings Restaurar todas as configurações - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Isto restaura todas as configurações e remove as configurações específicas de cada jogo. As pastas de jogos, perfis de jogos e perfis de controlo não serão removidos. Continuar? @@ -1413,7 +1446,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + None Nenhum @@ -1439,216 +1472,269 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. + VSync Mode: + Modo de Sincronização vertical: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Emulação NVDEC: - + No Video Output Sem saída de vídeo - + CPU Video Decoding Decodificação de vídeo pela CPU - + GPU Video Decoding (Default) Decodificação de vídeo pela GPU (Padrão) - + Fullscreen Mode: Tela Cheia - + Borderless Windowed Janela sem bordas - + Exclusive Fullscreen Tela cheia exclusiva - + Aspect Ratio: Proporção do Ecrã: - + Default (16:9) Padrão (16:9) - + Force 4:3 Forçar 4:3 - + Force 21:9 Forçar 21:9 - + Force 16:10 - + Forçar 16:10 - + Stretch to Window Esticar à Janela - + Resolution: Resolução: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Filtro de adaptação de janela: - + Nearest Neighbor Vizinho mais próximo - + Bilinear Bilinear - + Bicubic Bicúbico - + Gaussian Gaussiano - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (somente Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Método de Anti-Aliasing - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Usar FSR Sharpness global - + Set FSR Sharpness - + Definir FSR Sharpness - + FSR Sharpness: - + FSR Sharpness: - + 100% - + 100% - - + + Use global background color Usar cor de fundo global - + Set background color: Definir cor de fundo: - + Background Color: Cor de fundo: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Shaders Assembly, apenas NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Experimental, Somente Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Desligado + + + + VSync Off + Sincronização vertical desligada + + + + Recommended + Recomendado + + + + On + Ligado + + + + VSync On + Sincronização vertical ligada + ConfigureGraphicsAdvanced @@ -1673,77 +1759,153 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Nível de Precisão: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - O Vsync previne cortes na imagem, mas algumas placas gráficas têm performance mais baixa com o Vsync activo. Mantém-no activo se não notares diferença na performance. + + ASTC recompression: + Recompressão ASTC: - - Use VSync + + Uncompressed (Best quality) + Descompactado (Melhor Q + + + + BC1 (Low quality) + BC1 (Baixa qualidade) + + + + BC3 (Medium quality) + BC3 (Média qualidade) + + + + Enable asynchronous presentation (Vulkan only) + Ativar apresentação assíncrona (Somente Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Executa trabalho em segundo plano aguardando pelos comandos gráficos para evitar a GPU de reduzir seu clock. + + + + Force maximum clocks (Vulkan only) + Forçar clock máximo (somente Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Habilitar decodificação assíncrona de texturas ASTC, isso pode reduzir interrupções no tempo de carga. Essa funcionalidade é experimental. + + + + Decode ASTC textures asynchronously (Hack) + Decodificação assíncrona de texturas ASTC (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. - + + Enable Reactive Flushing + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Activa a compilação de shader assíncrona, podendo reduzir o engasgue do shader. Esta função é experimental. - + Use asynchronous shader building (Hack) Usar compilação assíncrona de shaders (Hack) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Ativa um tempo de resposta rápido da GPU. Esta opção forçará a maioria dos jogos a rodar em sua resolução nativa mais alta. - + Use Fast GPU Time (Hack) Usar tempo de resposta rápido da GPU (Hack) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Habilita cache de pipeline específico do fabricante. Essa opção pode melhorar o tempo de carga dos shaders significativamente nos casos onde o driver do Vulkan não armazena os arquivos cache de pipeline internamente. + + + + Use Vulkan pipeline cache + Utilizar cache de pipeline do Vulkan + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. - - Use pessimistic buffer flushes (Hack) + + Enable Compute Pipelines (Intel Vulkan only) + Ativar Compute Pipelines (Intel Vulkan only) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. - + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Filtro Anisotrópico: - + Automatic Automático - + Default Padrão - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1776,70 +1938,65 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Restaurar Padrões - + Action Ação - + Hotkey Tecla de Atalho - + Controller Hotkey Atalho do controle - - - + + + Conflicting Key Sequence Sequência de teclas em conflito - - + + The entered key sequence is already assigned to: %1 A sequência de teclas inserida já está atribuída a: %1 - - Home+%1 - Home+%1 - - - + [waiting] [em espera] - + Invalid Inválido - + Restore Default Restaurar Padrão - + Clear Limpar - + Conflicting Button Sequence Sequência de botões conflitante - + The default button sequence is already assigned to: %1 A sequência de botões padrão já está vinculada a %1 - + The default key sequence is already assigned to: %1 A sequência de teclas padrão já está atribuída a: %1 @@ -2131,7 +2288,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Configure Configurar @@ -2143,7 +2300,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Infrared Camera - + Câmera infravermelha @@ -2157,6 +2314,8 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. + + Requires restarting yuzu Requer reiniciar o yuzu @@ -2176,22 +2335,27 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Navegação com controle - - Enable mouse panning - Ativar o giro do mouse + + Enable direct JoyCon driver + Habilitar driver direto do JoyCon - - Mouse sensitivity - Sensibilidade do rato + + Enable direct Pro Controller driver [EXPERIMENTAL] + Habilitar driver direto do Pro Controller [EXPERIMENTAL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Permite acesso ilimitado ao mesmo Amiibo que limitam o seu uso. - + + Use random Amiibo ID + Utilizar ID Amiibo aleatório + + + Motion / Touch Movimento / Toque @@ -2211,57 +2375,57 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Input Profiles - + Perfis de controle Player 1 Profile - + Perfil do Jogador 1 Player 2 Profile - + Perfil do Jogador 2 Player 3 Profile - + Perfil do Jogador 3 Player 4 Profile - + Perfil do Jogador 4 Player 5 Profile - + Perfil do Jogador 5 Player 6 Profile - + Perfil do Jogador 6 Player 7 Profile - + Perfil do Jogador 7 Player 8 Profile - + Perfil do Jogador 8 Use global input configuration - + Usar configuração global de controles Player %1 profile - + Perfil do Jogador %1 @@ -2303,7 +2467,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Left Stick Analógico Esquerdo @@ -2397,14 +2561,14 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + L L - + ZL ZL @@ -2423,7 +2587,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Plus Mais @@ -2436,15 +2600,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - - + + R R - + ZR ZR @@ -2501,236 +2665,257 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Right Stick Analógico Direito - - - - + + Mouse panning + + + + + Configure + Configurar + + + + + + Clear Limpar - - - - - + + + + + [not set] [não definido] - - + + + Invert button Inverter botão - - + + Toggle button Alternar pressionamento do botão - - + + Turbo button + Botão Turbo + + + + Invert axis Inverter eixo - - - + + + Set threshold Definir limite - - + + Choose a value between 0% and 100% Escolha um valor entre 0% e 100% - + Toggle axis - + Alternar eixos - + Set gyro threshold Definir limite do giroscópio - + + Calibrate sensor + Calibrar sensor + + + Map Analog Stick Mapear analógicos - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Após pressionar OK, mova o seu analógico primeiro horizontalmente e depois verticalmente. Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois horizontalmente. - + Center axis Eixo central - - + + Deadzone: %1% Ponto Morto: %1% - - + + Modifier Range: %1% Modificador de Alcance: %1% - - + + Pro Controller Comando Pro - + Dual Joycons Joycons Duplos - + Left Joycon Joycon Esquerdo - + Right Joycon Joycon Direito - + Handheld Portátil - + GameCube Controller Controlador de depuração - + Poke Ball Plus Poke Ball Plus - + NES Controller Controle NES - + SNES Controller Controle SNES - + N64 Controller Controle N64 - + Sega Genesis Mega Drive - + Start / Pause Iniciar / Pausar - + Z Z - + Control Stick Direcional de controle - + C-Stick C-Stick - + Shake! Abane! - + [waiting] [em espera] - + New Profile Novo Perfil - + Enter a profile name: Introduza um novo nome de perfil: - - + + Create Input Profile Criar perfil de controlo - + The given profile name is not valid! O nome de perfil dado não é válido! - + Failed to create the input profile "%1" Falha ao criar o perfil de controlo "%1" - + Delete Input Profile Apagar Perfil de Controlo - + Failed to delete the input profile "%1" Falha ao apagar o perfil de controlo "%1" - + Load Input Profile Carregar perfil de controlo - + Failed to load the input profile "%1" Falha ao carregar o perfil de controlo "%1" - + Save Input Profile Guardar perfil de controlo - + Failed to save the input profile "%1" Falha ao guardar o perfil de controlo "%1" @@ -2778,7 +2963,7 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho - + Configure Configurar @@ -2814,7 +2999,7 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho - + Test Testar @@ -2834,81 +3019,156 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Saber Mais</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters O número da porta tem caracteres inválidos - + Port has to be in range 0 and 65353 A porta tem que estar entre 0 e 65353 - + IP address is not valid O endereço IP não é válido - + This UDP server already exists Este servidor UDP já existe - + Unable to add more than 8 servers Não é possível adicionar mais de 8 servidores - + Testing Testando - + Configuring Configurando - + Test Successful Teste Bem-Sucedido - + Successfully received data from the server. Dados recebidos do servidor com êxito. - + Test Failed Teste Falhou - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Não foi possível receber dados válidos do servidor.<br>Por favor verifica que o servidor está configurado correctamente e o endereço e porta estão correctos. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Teste UDP ou configuração de calibragem em progresso.<br> Por favor espera que termine. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Habilitar + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Padrão + + ConfigureNetwork @@ -2985,47 +3245,47 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho Desenvolvedor - + Add-Ons Add-Ons - + General Geral - + System Sistema - + CPU CPU - + Graphics Gráficos - + Adv. Graphics Gráficos Avç. - + Audio Audio - + Input Profiles - + Perfis de controle - + Properties Propriedades @@ -3204,7 +3464,7 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho Delete this user? All of the user's save data will be deleted. - + Excluir esse usuário? Todos os dados salvos desse usuário serão removidos. @@ -3215,7 +3475,8 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho Name: %1 UUID: %2 - + Nome: %1 +UUID: %2 @@ -3227,13 +3488,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Caso queira usar este controle, configure o jogador 1 como Joycon direito e o jogador 2 como par de Joycons antes de iniciar o jogo. Isso permitirá que o controle seja detectado corretamente. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - Parâmetros do sensor do anel + Virtual Ring Sensor Parameters + Parâmetros do Sensor de Anel @@ -3253,33 +3514,95 @@ UUID: %2 Ponto Morto: 0% - + + Direct Joycon Driver + Driver Direto do Joycon + + + + Enable Ring Input + Habilitar Controle de Anel + + + + + Enable + Habilitar + + + + Ring Sensor Value + Valor do Sensor de Anel + + + + + Not connected + Não conectado + + + Restore Defaults Restaurar Padrões - + Clear Limpar - + [not set] [não definido] - + Invert axis Inverter eixo - - + + Deadzone: %1% Ponto Morto: %1% - + + Error enabling ring input + Erro habilitando controle de anel + + + + Direct Joycon driver is not enabled + Driver direto do Joycon não está habilitado + + + + Configuring + Configurando + + + + The current mapped device doesn't support the ring controller + O dispositivo atualmente mapeado não suporta o controle de anel + + + + The current mapped device doesn't have a ring attached + O dispositivo mapeado não tem um anel conectado + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Resultado inesperado do driver %1 + + + [waiting] [em espera] @@ -3584,8 +3907,8 @@ UUID: %2 - English - Inglês + American English + Inglês Americano @@ -3685,57 +4008,22 @@ UUID: %2 Device Name - + Nome do Dispositivo - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + Layout de memória estendida inseguro (8GB DRAM) - - Stereo - Estéreo - - - - Surround - Surround - - - - Console ID: - ID da consola: - - - - Sound output mode - Modo de saída de som - - - - Regenerate - Regenerar - - - + System settings are available only when game is not running. As configurações do sistema estão disponíveis apenas quando o jogo não está em execução. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Isto substituirá o seu Switch virtual actual por um novo. Seu Switch virtual actual não será recuperável. Isso pode ter efeitos inesperados nos jogos. Isto pode falhar, se você usar uma gravação de jogo de configuração desatualizado. Continuar? - - - - Warning - Aviso - - - - Console ID: 0x%1 - ID da Consola: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Aviso: "%1" não é um idioma válido para a região "%2" @@ -3804,7 +4092,7 @@ UUID: %2 Configurar TAS - + Select TAS Load Directory... Selecionar diretório de carregamento TAS @@ -4044,7 +4332,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Show Compatibility List - + Exibir Lista de Compatibilidade @@ -4054,12 +4342,12 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Show Size Column - + Exibir Coluna Tamanho Show File Types Column - + Exibir Coluna Tipos de Arquivos @@ -4243,7 +4531,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Web Service configuration can only be changed when a public room isn't being hosted. - + Configuração de Serviço Web só podem ser alteradas quando uma sala pública não está sendo hospedada. @@ -4321,7 +4609,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Unverified, please click Verify before saving configuration Tooltip - + Não verificado, por favor clique sobre Verificar antes de salvar as configurações @@ -4333,7 +4621,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Verified Tooltip - + Verificado @@ -4360,7 +4648,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Comando J1 - + &Controller P1 &Comando J1 @@ -4370,982 +4658,952 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Direct Connect - + Conexão Direta - - IP Address - + + Server Address + Endereço do Servidor - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Endereço do host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Porta - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Número da porta que o servidor de hospedagem está escutando</p></body></html> - + Nickname - + Apelido - + Password - + Senha - + Connect - + Conectar DirectConnectWindow - + Connecting - + Conectando - + Connect - + Conectar GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Dados anônimos são coletados</a>para ajudar a melhorar o yuzu.<br/><br/>Gostaria de compartilhar seus dados de uso conosco? - + Telemetry Telemetria - + Broken Vulkan Installation Detected - + Detectada Instalação Defeituosa do Vulkan - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. + A inicialização do Vulkan falhou durante a carga do programa. <br><br>Clique <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>aqui para instruções de como resolver o problema</a>. + + + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + Loading Web Applet... A Carregar o Web Applet ... - - + + Disable Web Applet Desativar Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) A desativação do applet da web pode causar comportamento inesperado e deve apenas ser usada com Super Mario 3D All-Stars. Você deseja mesmo desativar o applet da web? (Ele pode ser reativado nas configurações de depuração.) - + The amount of shaders currently being built Quantidade de shaders a serem construídos - + The current selected resolution scaling multiplier. O atualmente multiplicador de escala de resolução selecionado. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Velocidade da emulação actual. Valores acima ou abaixo de 100% indicam que a emulação está sendo executada mais depressa ou mais devagar do que a Switch - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Quantos quadros por segundo o jogo está exibindo de momento. Isto irá variar de jogo para jogo e de cena para cena. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tempo gasto para emular um frame da Switch, sem contar o a limitação de quadros ou o v-sync. Para emulação de velocidade máxima, esta deve ser no máximo 16.67 ms. - + + Unmute + Unmute + + + + Mute + Mute + + + + Reset Volume + Redefinir volume + + + &Clear Recent Files &Limpar arquivos recentes - + + Emulated mouse is enabled + Mouse emulado está habilitado + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse. + + + &Continue &Continuar - + &Pause &Pausa - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu está rodando um jogo - - - + Warning Outdated Game Format Aviso de Formato de Jogo Desactualizado - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Você está usando o formato de directório ROM desconstruído para este jogo, que é um formato desactualizado que foi substituído por outros, como NCA, NAX, XCI ou NSP. Os directórios de ROM não construídos não possuem ícones, metadados e suporte de actualização.<br><br>Para uma explicação dos vários formatos de Switch que o yuzu suporta,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>Verifique a nossa Wiki</a>. Esta mensagem não será mostrada novamente. - - + + Error while loading ROM! Erro ao carregar o ROM! - + The ROM format is not supported. O formato do ROM não é suportado. - + An error occurred initializing the video core. Ocorreu um erro ao inicializar o núcleo do vídeo. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu encontrou um erro enquanto rodando o núcleo de vídeo. Normalmente isto é causado por drivers de GPU desatualizados, incluindo integrados. Por favor veja o registro para mais detalhes. Para mais informações em acesso ao registro por favor veja a seguinte página: <a href='https://yuzu-emu.org/help/reference/log-files/'>Como fazer envio de arquivo de registro</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Erro ao carregar a ROM! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Por favor, siga <a href='https://yuzu-emu.org/help/quickstart/'>a guia de início rápido do yuzu</a> para fazer o redespejo dos seus arquivos.<br>Você pode consultar a wiki do yuzu</a> ou o Discord do yuzu</a> para obter ajuda. - + An unknown error occurred. Please see the log for more details. Ocorreu um erro desconhecido. Por favor, veja o log para mais detalhes. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Encerrando software... - + Save Data Save Data - + Mod Data Mod Data - + Error Opening %1 Folder Erro ao abrir a pasta %1 - - + + Folder does not exist! A Pasta não existe! - + Error Opening Transferable Shader Cache Erro ao abrir os Shader Cache transferíveis - + Failed to create the shader cache directory for this title. Falha ao criar o diretório de cache de shaders para este título. - + Error Removing Contents - + Erro Removendo Conteúdos - + Error Removing Update - + Erro ao Remover Atualização - + Error Removing DLC - + Erro Removendo DLC - + Remove Installed Game Contents? - + Remover Conteúdo Instalado do Jogo? - + Remove Installed Game Update? - + Remover Atualização Instalada do Jogo? - + Remove Installed Game DLC? - + Remover DLC Instalada do Jogo? - + Remove Entry Remover Entrada - - - - - - + + + + + + Successfully Removed Removido com Sucesso - + Successfully removed the installed base game. Removida a instalação do jogo base com sucesso. - + The base game is not installed in the NAND and cannot be removed. O jogo base não está instalado no NAND e não pode ser removido. - + Successfully removed the installed update. Removida a actualização instalada com sucesso. - + There is no update installed for this title. Não há actualização instalada neste título. - + There are no DLC installed for this title. Não há DLC instalado neste título. - + Successfully removed %1 installed DLC. Removido DLC instalado %1 com sucesso. - + Delete OpenGL Transferable Shader Cache? Apagar o cache de shaders transferível do OpenGL? - + Delete Vulkan Transferable Shader Cache? Apagar o cache de shaders transferível do Vulkan? - + Delete All Transferable Shader Caches? Apagar todos os caches de shaders transferíveis? - + Remove Custom Game Configuration? Remover Configuração Personalizada do Jogo? - + + Remove Cache Storage? + Remover Armazenamento da Cache? + + + Remove File Remover Ficheiro - - + + Error Removing Transferable Shader Cache Error ao Remover Cache de Shader Transferível - - + + A shader cache for this title does not exist. O Shader Cache para este titulo não existe. - + Successfully removed the transferable shader cache. Removido a Cache de Shader Transferível com Sucesso. - + Failed to remove the transferable shader cache. Falha ao remover a cache de shader transferível. - - + + Error Removing Vulkan Driver Pipeline Cache + Erro ao Remover Cache de Pipeline do Driver Vulkan + + + + Failed to remove the driver pipeline cache. + Falha ao remover o pipeline de cache do driver. + + + + Error Removing Transferable Shader Caches Erro ao remover os caches de shaders transferíveis - + Successfully removed the transferable shader caches. Os caches de shaders transferíveis foram removidos com sucesso. - + Failed to remove the transferable shader cache directory. Falha ao remover o diretório do cache de shaders transferível. - - + + Error Removing Custom Configuration Erro ao Remover Configuração Personalizada - + A custom configuration for this title does not exist. Não existe uma configuração personalizada para este titúlo. - + Successfully removed the custom game configuration. Removida a configuração personalizada do jogo com sucesso. - + Failed to remove the custom game configuration. Falha ao remover a configuração personalizada do jogo. - - + + RomFS Extraction Failed! A Extração de RomFS falhou! - + There was an error copying the RomFS files or the user cancelled the operation. Houve um erro ao copiar os arquivos RomFS ou o usuário cancelou a operação. - + Full Cheio - + Skeleton Esqueleto - + Select RomFS Dump Mode Selecione o modo de despejo do RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Por favor, selecione a forma como você gostaria que o RomFS fosse despejado<br>Full irá copiar todos os arquivos para o novo diretório enquanto<br>skeleton criará apenas a estrutura de diretórios. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root Não há espaço suficiente em %1 para extrair o RomFS. Por favor abra espaço ou selecione um diretório diferente em Emulação > Configurar > Sistema > Sistema de arquivos > Extrair raiz - + Extracting RomFS... Extraindo o RomFS ... - - + + Cancel Cancelar - + RomFS Extraction Succeeded! Extração de RomFS Bem-Sucedida! - + The operation completed successfully. A operação foi completa com sucesso. - - - - - + + + + + Create Shortcut - + Criar Atalho - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Isso irá criar um atalho para o AppImage atual. Isso pode não funcionar corretamente se você fizer uma atualização. Continuar? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Não foi possível criar um atalho na área de trabalho. O caminho "%1" não existe. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Não foi possível criar um atalho no menu de aplicativos. O caminho "%1" não existe e não pode ser criado. - + Create Icon - + Criar Ícone - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Não foi possível criar o arquivo de ícone. O caminho "%1" não existe e não pode ser criado. - + Start %1 with the yuzu Emulator - + Iniciar %1 com o Emulador Yuzu - + Failed to create a shortcut at %1 - + Falha ao criar um atalho em %1 - + Successfully created a shortcut to %1 - + Atalho criado com sucesso em %1 - + Error Opening %1 Erro ao abrir %1 - + Select Directory Selecione o Diretório - + Properties Propriedades - + The game properties could not be loaded. As propriedades do jogo não puderam ser carregadas. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Executáveis Switch (%1);;Todos os Ficheiros (*.*) - + Load File Carregar Ficheiro - + Open Extracted ROM Directory Abrir o directório ROM extraído - + Invalid Directory Selected Diretório inválido selecionado - + The directory you have selected does not contain a 'main' file. O diretório que você selecionou não contém um arquivo 'Main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Ficheiro Switch Instalável (*.nca *.nsp *.xci);;Arquivo de Conteúdo Nintendo (*.nca);;Pacote de Envio Nintendo (*.nsp);;Imagem de Cartucho NX (*.xci) - + Install Files Instalar Ficheiros - + %n file(s) remaining - + %n arquivo restante%n ficheiro(s) remanescente(s)%n ficheiro(s) remanescente(s) - + Installing file "%1"... Instalando arquivo "%1"... - - + + Install Results Instalar Resultados - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Para evitar possíveis conflitos, desencorajamos que os utilizadores instalem os jogos base na NAND. Por favor, use esse recurso apenas para instalar atualizações e DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Aplicação do sistema - + System Archive Arquivo do sistema - + System Application Update Atualização do aplicativo do sistema - + Firmware Package (Type A) Pacote de Firmware (Tipo A) - + Firmware Package (Type B) Pacote de Firmware (Tipo B) - + Game Jogo - + Game Update Actualização do Jogo - + Game DLC DLC do Jogo - + Delta Title Título Delta - + Select NCA Install Type... Selecione o tipo de instalação do NCA ... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Por favor, selecione o tipo de título que você gostaria de instalar este NCA como: (Na maioria dos casos, o padrão 'Jogo' é suficiente). - + Failed to Install Falha na instalação - + The title type you selected for the NCA is invalid. O tipo de título que você selecionou para o NCA é inválido. - + File not found Arquivo não encontrado - + File "%1" not found Arquivo "%1" não encontrado - + OK OK - - + + Hardware requirements not met - + Requisitos de hardware não atendidos - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Seu sistema não atende os requisitos de harwdare. O relatório de compatibilidade foi desabilitado. - + Missing yuzu Account Conta Yuzu Ausente - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Para enviar um caso de teste de compatibilidade de jogos, você deve vincular sua conta yuzu.<br><br/>Para vincular sua conta yuzu, vá para Emulação &gt; Configuração &gt; Rede. - + Error opening URL Erro ao abrir URL - + Unable to open the URL "%1". Não foi possível abrir o URL "%1". - + TAS Recording Gravando TAS - + Overwrite file of player 1? Sobrescrever arquivo do jogador 1? - + Invalid config detected Configação inválida detectada - + Handheld controller can't be used on docked mode. Pro controller will be selected. O comando portátil não pode ser usado no modo encaixado na base. O Pro controller será selecionado. - - + + Amiibo Amiibo - - + + The current amiibo has been removed O amiibo atual foi removido - + Error Erro - - + + The current game is not looking for amiibos O jogo atual não está procurando amiibos - + Amiibo File (%1);; All Files (*.*) Arquivo Amiibo (%1);; Todos os Arquivos (*.*) - + Load Amiibo Carregar Amiibo - + Error loading Amiibo data Erro ao carregar dados do Amiibo - + The selected file is not a valid amiibo - + O arquivo selecionado não é um amiibo válido - + The selected file is already on use - + O arquivo selecionado já está em uso - + An unknown error occurred - + Ocorreu um erro desconhecido - + Capture Screenshot Captura de Tela - + PNG Image (*.png) Imagem PNG (*.png) - + TAS state: Running %1/%2 Situação TAS: Rodando %1%2 - + TAS state: Recording %1 Situação TAS: Gravando %1 - + TAS state: Idle %1/%2 Situação TAS: Repouso %1%2 - + TAS State: Invalid Situação TAS: Inválido - + &Stop Running &Parar de rodar - + &Start &Começar - + Stop R&ecording Parar G&ravação - + R&ecord G&ravação - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor Escala: %1x - + Speed: %1% / %2% Velocidade: %1% / %2% - + Speed: %1% Velocidade: %1% - + Game: %1 FPS (Unlocked) Jogo: %1 FPS (Desbloqueado) - + Game: %1 FPS Jogo: %1 FPS - + Frame: %1 ms Quadro: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU ALTA - - - - GPU EXTREME - GPU EXTREMA - - - - GPU ERROR - ERRO DE GPU - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - VIZINHO - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICÚBICO - - - - GAUSSIAN - GAUSSIANO - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA Sem AA - - FXAA - FXAA + + VOLUME: MUTE + VOLUME: MUDO - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + VOLUME: %1% - + Confirm Key Rederivation Confirme a rederivação da chave - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5362,37 +5620,37 @@ e opcionalmente faça backups. Isso irá excluir os seus arquivos de chave gerados automaticamente e executará novamente o módulo de derivação de chave. - + Missing fuses Fusíveis em Falta - + - Missing BOOT0 - BOOT0 em Falta - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main em Falta - + - Missing PRODINFO - PRODINFO em Falta - + Derivation Components Missing Componentes de Derivação em Falta - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Chaves de encriptação faltando. <br>Por favor, siga <a href='https://yuzu-emu.org/help/quickstart/'>o guia de início rápido</a> para extrair suas chaves, firmware e jogos. <br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5401,39 +5659,49 @@ Isto pode demorar até um minuto, dependendo do desempenho do seu sistema. - + Deriving Keys Derivando Chaves - + + System Archive Decryption Failed + Falha a desencriptar o arquivo do sistema + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Chaves de encriptação falharam a desencriptar o firmware. <br>Por favor segue <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> para obter todas as tuas chaves, firmware e jogos. + + + Select RomFS Dump Target Selecione o destino de despejo do RomFS - + Please select which RomFS you would like to dump. Por favor, selecione qual o RomFS que você gostaria de despejar. - + Are you sure you want to close yuzu? Tem a certeza que quer fechar o yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Tem a certeza de que quer parar a emulação? Qualquer progresso não salvo será perdido. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5441,6 +5709,101 @@ Would you like to bypass this and exit anyway? Deseja ignorar isso e sair mesmo assim? + + + None + Nenhum + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicúbico + + + + Gaussian + Gaussiano + + + + ScaleForce + ScaleForce + + + + Docked + Ancorado + + + + Handheld + Portátil + + + + Normal + Normal + + + + High + Alto + + + + Extreme + + + + + Vulkan + Vulcano + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5453,7 +5816,7 @@ Deseja ignorar isso e sair mesmo assim? OpenGL shared contexts are not supported. - + Shared contexts do OpenGL não são suportados. @@ -5541,117 +5904,122 @@ Deseja ignorar isso e sair mesmo assim? + Remove Cache Storage + Remove a Cache do Armazenamento + + + Remove OpenGL Pipeline Cache Remover cache de pipeline do OpenGL - + Remove Vulkan Pipeline Cache Remover cache de pipeline do Vulkan - + Remove All Pipeline Caches Remover todos os caches de pipeline - + Remove All Installed Contents Remover Todos os Conteúdos Instalados - + Dump RomFS Despejar RomFS - + Dump RomFS to SDMC Extrair RomFS para SDMC - + Copy Title ID to Clipboard Copiar título de ID para a área de transferência - + Navigate to GameDB entry Navegue para a Entrada da Base de Dados de Jogos - + Create Shortcut - + Criar Atalho - + Add to Desktop Adicionar à Área de Trabalho - + Add to Applications Menu Adicionar ao Menu de Aplicativos - + Properties Propriedades - + Scan Subfolders Examinar Sub-pastas - + Remove Game Directory Remover diretório do Jogo - + ▲ Move Up ▲ Mover para Cima - + ▼ Move Down ▼ Mover para Baixo - + Open Directory Location Abrir Localização do diretório - + Clear Limpar - + Name Nome - + Compatibility Compatibilidade - + Add-ons Add-ons - + File type Tipo de Arquivo - + Size Tamanho @@ -5722,7 +6090,7 @@ Deseja ignorar isso e sair mesmo assim? GameListPlaceholder - + Double-click to add a new folder to the game list Clique duas vezes para adicionar uma nova pasta à lista de jogos @@ -5735,12 +6103,12 @@ Deseja ignorar isso e sair mesmo assim? - + Filter: Filtro: - + Enter pattern to filter Digite o padrão para filtrar @@ -5755,17 +6123,17 @@ Deseja ignorar isso e sair mesmo assim? Room Name - + Nome da Sala Preferred Game - + Jogo Preferencial Max Players - + Máximo de Jogadores @@ -5775,17 +6143,17 @@ Deseja ignorar isso e sair mesmo assim? (Leave blank for open game) - + (Deixe em branco para um jogo aberto) Password - + Senha Port - + Porta @@ -5795,22 +6163,22 @@ Deseja ignorar isso e sair mesmo assim? Load Previous Ban List - + Carregar Lista de Banimento Anterior Public - + Público Unlisted - + Não listado Host Room - + Hospedar Sala @@ -5824,146 +6192,147 @@ Deseja ignorar isso e sair mesmo assim? Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -> Configure -> Web. If you do not want to publish a room in the public lobby, then select Unlisted instead. Debug Message: - + Falha ao anunciar a sala ao lobby público. Para hospedar uma sala pública você deve ter configurado uma conta válida do yuzu em Emulação -> Configurações -> Web. Se você não quer publicar uma sala no lobby público seleciona a opção Não listado. +Mensagem de depuração: Hotkeys - + Audio Mute/Unmute - + Mutar/Desmutar Áudio - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Janela Principal - + Audio Volume Down - + Volume Menos - + Audio Volume Up - + Volume Mais - + Capture Screenshot Captura de Tela - + Change Adapting Filter - + Alterar Filtro de Adaptação - + Change Docked Mode - + Alterar Modo de Ancoragem - + Change GPU Accuracy - + Alterar Precisão da GPU - + Continue/Pause Emulation - + Continuar/Pausar Emulação - + Exit Fullscreen - + Sair da Tela Cheia - + Exit yuzu - + Sair do yuzu - + Fullscreen Tela Cheia - + Load File Carregar Ficheiro - + Load/Remove Amiibo - + Carregar/Remover Amiibo - + Restart Emulation - + Reiniciar Emulação - + Stop Emulation - + Parar Emulação - + TAS Record - + Gravar TAS - + TAS Reset - + Reiniciar TAS - + TAS Start/Stop - + Iniciar/Parar TAS - + Toggle Filter Bar - + Alternar Barra de Filtro - + Toggle Framerate Limit - + Alternar Limite de Quadros por Segundo - + Toggle Mouse Panning - + Alternar o Giro do Mouse - + Toggle Status Bar - + Alternar Barra de Status @@ -5984,7 +6353,7 @@ Debug Message: Instalar - + Install Files to NAND Instalar Ficheiros no NAND @@ -5992,7 +6361,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 O texto não pode conter nenhum dos seguintes caracteres: @@ -6042,78 +6411,83 @@ Debug Message: Public Room Browser - + Navegador de Salas Públicas Nickname - + Apelido Filters - + Filtros Search - + Pesquisar Games I Own - + Meus Jogos + Hide Empty Rooms + Esconder Salas Vazias + + + Hide Full Rooms - + Esconder Salas Cheias - + Refresh Lobby - + Atualizar Lobby - + Password Required to Join - + Senha Necessária para Entrar - + Password: - + Senha: - + Players Jogadores - - - Room Name - - - Preferred Game - + Room Name + Nome da Sala + Preferred Game + Jogo Preferencial + + + Host - + Anfitrião - + Refreshing - + Atualizando - + Refresh List - + Atualizar Lista @@ -6186,7 +6560,7 @@ Debug Message: &Multiplayer - + &Multijogador @@ -6276,27 +6650,27 @@ Debug Message: &Browse Public Game Lobby - + &Navegar no Lobby de Salas Públicas &Create Room - + &Criar Sala &Leave Room - + &Sair da Sala &Direct Connect to Room - + Conectar &Diretamente Numa Sala &Show Current Room - + Exibir &Sala Atual @@ -6382,48 +6756,48 @@ Debug Message: Moderation - + Moderação Ban List - + Lista de Banimentos Refreshing - + Atualizando Unban - + Desbanir Subject - + Assunto Type - + Tipo Forum Username - + Nome de Usuário do Fórum IP Address - + Endereço IP Refresh - + Atualizar @@ -6431,17 +6805,17 @@ Debug Message: Current connection status - + Status da conexão atual Not Connected. Click here to find a room! - + Não conectado. Clique aqui para procurar uma sala! Not Connected - + Não Conectado @@ -6451,7 +6825,7 @@ Debug Message: New Messages Received - + Novas Mensagens Recebidas @@ -6462,7 +6836,8 @@ Debug Message: Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Falha ao atualizar as informações da sala. Por favor verifique sua conexão com a internet e tente hospedar a sala novamente. +Mensagem de Depuração: @@ -6470,67 +6845,67 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Nome de usuário inválido. Deve conter de 4 a 20 caracteres alfanuméricos. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Nome da sala inválido. Deve conter de 4 a 20 caracteres alfanuméricos. Username is already in use or not valid. Please choose another. - + Nome de usuário já está em uso ou não é válido. Por favor escolha outro nome de usuário. IP is not a valid IPv4 address. - + O endereço IP não é um endereço IPv4 válido. Port must be a number between 0 to 65535. - + Porta deve ser um número entre 0 e 65535. You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list. - + Você deve escolher um Jogo Preferível para hospedar uma sala. Se você não possui nenhum jogo na sua lista ainda, adicione um diretório de jogos clicando no ícone de mais na lista de jogos. Unable to find an internet connection. Check your internet settings. - + Não foi possível encontrar uma conexão com a internet. Verifique suas configurações de internet. Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Não foi possível conectar no host. Verifique que as configurações de conexão estão corretas. Se você ainda não conseguir conectar, entre em contato com o anfitrião da sala e verifique que o host está configurado corretamente com a porta externa redirecionada. Unable to connect to the room because it is already full. - + Não foi possível conectar na sala porque a mesma está cheia. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Erro ao criar a sala. Por favor tente novamente. Reiniciar o yuzu pode ser necessário. The host of the room has banned you. Speak with the host to unban you or try a different room. - + O anfitrião da sala baniu você. Fale com o anfitrião para que ele remova seu banimento ou tente uma sala diferente. Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server. - + Versão não compatível! Por favor atualize o yuzu para a última versão. Se o problema persistir entre em contato com o anfitrião da sala e peça que atualize o servidor. Incorrect password. - + Senha inválda. @@ -6540,7 +6915,7 @@ Debug Message: Connection to room lost. Try to reconnect. - + Conexão com a sala encerrada. Tente reconectar. @@ -6645,7 +7020,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIAR/PAUSAR @@ -6694,31 +7069,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [não configurado] @@ -6729,14 +7104,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eixo %1%2 @@ -6747,264 +7122,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [Desconhecido] - - - + + + Left Esquerda - - - + + + Right Direita - - - + + + Down Baixo - - - + + + Up Cima - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Começar - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Círculo - - + + Cross Cruz - - + + Square Quadrado - - + + Triangle Triângulo - - + + Share Compartilhar - - + + Options Opções - - + + [undefined] [indefinido] - + %1%2 %1%2 - - + + [invalid] [inválido] - - - - + + %1%2Hat %3 %1%2Direcional %3 - - - - - - + + + + %1%2Axis %3 %1%2Eixo %3 - - + + %1%2Axis %3,%4,%5 %1%2Eixo %3,%4,%5 - - + + %1%2Motion %3 %1%2Movimentação %3 - - - - + + %1%2Button %3 %1%2Botão %3 - - + + [unused] [sem uso] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Mais + + + + Minus + Menos + + + + Home Home - + + Capture + Capturar + + + Touch Toque - + Wheel Indicates the mouse wheel Volante - + Backward Para trás - + Forward Para a frente - + Task Tarefa - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7027,7 +7460,7 @@ p, li { white-space: pre-wrap; } Type - + Tipo @@ -7373,28 +7806,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Código de erro: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Ocorreu um erro. Tente novamente ou entre em contato com o desenvolvedor do software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Ocorreu um erro em %1 até %2. Tente novamente ou entre em contato com o desenvolvedor do software. - + An error has occurred. %1 @@ -7418,20 +7851,81 @@ Tente novamente ou entre em contato com o desenvolvedor do software. - - Select a user: - Selecione um usuário: - - - + Users Utilizadores - + + Profile Creator + + + + + Profile Selector Seleccionador de Perfil + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Selecione um usuário: + QtSoftwareKeyboardDialog @@ -7481,51 +7975,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Pilha de Chamadas - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - esperando por mutex 0x% 1 - - - - has waiters: %1 - has waiters: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - esperando por todos os objetos - - - - waiting for one of the following objects - esperando por todos os objectos - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + - + waited by no thread esperado por nenhuma thread @@ -7533,120 +7996,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable executável - + paused pausado - + sleeping dormindo - + waiting for IPC reply aguardando resposta do IPC - + waiting for objects esperando por objectos - + waiting for condition variable A espera da variável de condição - + waiting for address arbiter esperando pelo árbitro de endereço - + waiting for suspend resume esperando pra suspender o resumo - + waiting aguardando - + initialized inicializado - + terminated terminado - + unknown desconhecido - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 núcleo %1 - + processor = %1 processador = %1 - - ideal core = %1 - núcleo ideal =% 1 - - - + affinity mask = %1 máscara de afinidade =% 1 - + thread id = %1 id do segmento =% 1 - + priority = %1(current) / %2(normal) prioridade =%1(atual) / %2(normal) - + last running ticks = %1 últimos tiques em execução =%1 - - - not waiting for mutex - não esperar por mutex - WaitTreeThreadList - + waited by thread esperado por thread @@ -7654,7 +8107,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Árvore de espera diff --git a/dist/languages/ru_RU.ts b/dist/languages/ru_RU.ts index 801532b20..b623a5dbd 100644 --- a/dist/languages/ru_RU.ts +++ b/dist/languages/ru_RU.ts @@ -36,7 +36,7 @@ p, li { white-space: pre-wrap; } <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Website</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Source Code</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Contributors</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">License</span></a></p></body></html> - <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Веб-сайт</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Исходный код</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Соавторы</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">Лицензия</span></a></p></body></html> + <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Веб-сайт</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Исходный код</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Контрибьюторы</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">Лицензия</span></a></p></body></html> @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - Устройство вывода + Output Device: + Устройство вывода: - Input Device - Устройство ввода + Input Device: + Устройство ввода: - + + Sound Output Mode: + Режим вывода звука: + + + + Mono + Моно + + + + Stereo + Стерео + + + + Surround + Объёмный звук + + + Use global volume Использовать общую громкость - + Set volume: Установить громкость: - + Volume: Громкость: - + 0 % 0 % - + + Mute audio when in background + Заглушить звук в фоновом режиме + + + %1% Volume percentage (e.g. 50%) %1% @@ -526,20 +551,22 @@ This would ban both their forum username and their IP address. <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - <div>Эта опция повышает скорость, уменьшая точность сложенных умноженных инструкций на ЦП без поддержки FMA.</div> + <div>Эта опция повышает скорость за счет снижения точности инструкций fused-multiply-add на ЦП без встроенной поддержки FMA.</div> Unfuse FMA (improve performance on CPUs without FMA) - Не использовать FMA (улучшает производительность на ЦП без FMA) + Отключить FMA (улучшает производительность на ЦП без FMA) <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - + + <div>Эта опция повышает скорость некоторых приближенных функций с плавающей точкой за счет использования менее точных нативных приближений</div> + @@ -551,48 +578,56 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - + + <div>Эта опция повышает скорость работы 32-битных ASIMD-функций с плавающей запятой, работая с неправильными режимами округления.</div> + Faster ASIMD instructions (32 bits only) - Более быстрые инструкции ASIMD (только 32 бит) + Ускоренные инструкции ASIMD (только 32 бит) <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - + + <div>Эта опция повышает скорость, удаляя проверку NaN. Обратите внимание, что это также снижает точность некоторых инструкций с плавающей точкой.</div> + Inaccurate NaN handling - Неправильная обработка NaN + Неточная обработка NaN <div>This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.</div> - + + <div>Эта опция повышает скорость за счет исключения проверки безопасности перед каждым чтением/записью памяти в гостевом режиме. Отключение этой опции может позволить игре читать/записывать память эмулятора. + Disable address space checks - + Отключить проверку адресного пространства <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + + <div>Эта опция повышает скорость, полагаясь только на семантику cmpxchg для обеспечения безопасности инструкций исключительного доступа. Обратите внимание, что это может привести к полным зависаниям и другим условиям гонки.</div> + Ignore global monitor - + Игнорировать глобальный мониторинг @@ -629,79 +664,95 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it inlines accesses to PageTable::pointers into emitted code.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.</div> - + + <div style="white-space: nowrap">Эта оптимизация ускоряет доступ гостевой программы к памяти.</div> + <div style="white-space: nowrap"> Включение этой оптимизации встраивает доступ к указателям PageTable::pointers в эмулируемый код.</div> + <div style="white-space: nowrap">Отключение этой функции заставляет все обращения к памяти проходить через функции Memory::Read/Memory::Write.</div> + Enable inline page tables - + Включить встроенные таблицы страниц <div>This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.</div> - + + <div>Эта оптимизация позволяет избежать поиска диспетчера, позволяя эмитированным базовым блокам переходить непосредственно к другим базовым блокам, если конечный ПК статичен.</div> + Enable block linking - + Разрешить связывание блоков <div>This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.</div> - + + <div>Эта оптимизация позволяет избежать поиска диспетчера, отслеживая потенциальные адреса возврата инструкций BL. Это приближено к тому, что происходит с буфером стека возврата на реальном ЦП.</div> + Enable return stack buffer - + Включить буфер стека возврата <div>Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.</div> - + + <div>Включите двухуровневую систему диспетчеризации. Сначала используется более быстрый диспетчер, написанный на ассемблере и имеющий небольшой кэш MRU для мест назначения переходов. Если он не справляется, диспетчеризация возвращается к более медленному диспетчеру на C++.</div> + Enable fast dispatcher - + Включить быстрый диспетчер <div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div> - + + <div>Включает IR-оптимизацию, которая уменьшает ненужные обращения к структуре контекста ЦП.</div> + Enable context elimination - + Включить исключение контекста <div>Enables IR optimizations that involve constant propagation.</div> - + + <div>Включает IR-оптимизацию, которая включает распространение констант.</div> + Enable constant propagation - + Включить распространение констант <div>Enables miscellaneous IR optimizations.</div> - + + <div>Включает различные IR-оптимизации.</div> + @@ -714,12 +765,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">When enabled, a misalignment is only triggered when an access crosses a page boundary.</div> <div style="white-space: nowrap">When disabled, a misalignment is triggered on all misaligned accesses.</div> - + + <div style="white-space: nowrap">Если функция включена, смещение срабатывает только тогда, когда доступ пересекает границу страницы.</div> + <div style="white-space: nowrap">Если отключено, смещение срабатывает при всех смещенных доступах.</div> + Enable misalignment check reduction - + Включить уменьшение проверки несоосности @@ -728,12 +782,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Эта оптимизация ускоряет доступ гостевой программы к памяти.</div> + <div style="white-space: nowrap"> Включение этой оптимизации приводит к тому, что чтение/запись гостевой памяти производится непосредственно в память и использует MMU хоста.</div> + <div style="white-space: nowrap">Отключение этой функции заставляет все обращения к памяти использовать программную эмуляцию MMU.</div> + Enable Host MMU Emulation (general memory instructions) - + Включить эмуляцию MMU хоста (инструкции общей памяти) @@ -742,12 +800,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all exclusive memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Эта оптимизация ускоряет доступ гостевой программы к эксклюзивной памяти.</div> + <div style="white-space: nowrap">Включение этой оптимизации приводит к тому, что чтение/запись в эксклюзивную память гостя выполняется непосредственно в память и использует MMU хоста.</div> + <div style="white-space: nowrap"> Отключение этой функции заставляет все эксклюзивные доступы к памяти использовать эмуляцию программного MMU.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Включить эмуляцию MMU хоста (инструкции исключительной памяти) @@ -755,12 +817,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + + <div style="white-space: nowrap">Эта оптимизация ускоряет обращение гостевой программы к исключительной памяти.</div> + <div style="white-space: nowrap">Ее включение снижает накладные расходы, связанные с отказом fastmem при доступе к исключительной памяти.</div> + Enable recompilation of exclusive memory instructions - + Разрешить перекомпиляцию инструкций исключительной памяти @@ -768,12 +833,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Эта оптимизация ускоряет обращение к памяти, позволяя успешное обращение к недопустимой памяти.</div> + <div style="white-space: nowrap">Включение этой оптимизации снижает накладные расходы на все обращения к памяти и не влияет на программы, которые не обращаются к недопустимой памяти.</div> + Enable fallbacks for invalid memory accesses - + Включить запасные варианты для недопустимых обращений к памяти @@ -856,7 +924,7 @@ This would ban both their forum username and their IP address. When checked, it enables Nsight Aftermath crash dumps - + Если включено, включает дампы крашей Nsight Aftermath @@ -876,7 +944,7 @@ This would ban both their forum username and their IP address. When checked, it will dump all the macro programs of the GPU - + Если включено, будет дампить все макропрограммы ГП @@ -886,110 +954,120 @@ This would ban both their forum username and their IP address. When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - + Если включено, отключает компилятор макроса Just In Time. Включение этого параметра замедляет работу игр Disable Macro JIT - Отключить Макрос JIT + Отключить макрос JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Если флажок установлен, он отключает функции макроса HLE. Включение этого параметра замедляет работу игр + + + + Disable Macro HLE + Выключить макрос HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Если включено, yuzu будет записывать статистику о скомпилированном кэше конвейера - + Enable Shader Feedback Включить обратную связь о шейдерах - - - When checked, it executes shaders without loop logic changes - - - - - Disable Loop safety checks - - + When checked, it executes shaders without loop logic changes + Если включено, шейдеры выполняются без изменения логики цикла + + + + Disable Loop safety checks + Отключить проверку безопасности цикла + + + Debugging Отладка - + Enable Verbose Reporting Services** - + Включить службу отчётов в развернутом виде** - + Enable FS Access Log - + Включить журнал доступа к ФС - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Включите эту опцию, чтобы вывести на консоль последний сгенерированный список аудиокоманд. Влияет только на игры, использующие аудио рендерер. - + Dump Audio Commands To Console** - + Дамп аудиокоманд в консоль** - + Create Minidump After Crash - + Создавать мини-дамп после краша - + Advanced Расширенные - + Kiosk (Quest) Mode Режим киоска (Квест) - + Enable CPU Debugging Включить отладку ЦП - + Enable Debug Asserts - + Включить отладочные утверждения - + Enable Auto-Stub** - + Включить автоподставку** - + Enable All Controller Types Включить все типы контроллеров - + Disable Web Applet Отключить веб-апплет - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. Позволяет yuzu проверять наличие рабочей среды Vulkan при запуске программы. Отключите эту опцию, если это вызывает проблемы с тем, что внешние программы видят yuzu. - + Perform Startup Vulkan Check Выполнять проверку Vulkan при запуске - + **This will be reset automatically when yuzu closes. **Это будет автоматически сброшено после закрытия yuzu. @@ -1004,14 +1082,14 @@ This would ban both their forum username and their IP address. yuzu необходимо перезапустить, чтобы применить эту настройку. - + Web applet not compiled Веб-апплет не скомпилирован - + MiniDump creation not compiled - + Создание мини-дампа не скомпилировано @@ -1059,78 +1137,78 @@ This would ban both their forum username and their IP address. Параметры yuzu - - + + Audio Звук - - + + CPU ЦП - + Debug Отладка - + Filesystem Файловая система - - + + General Общие - - + + Graphics Графика - + GraphicsAdvanced ГрафикаРасширенные - + Hotkeys Горячие клавиши - - + + Controls Управление - + Profiles Профили - + Network Сеть - - + + System Система - + Game List Список игр - + Web Сеть @@ -1305,46 +1383,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - Расширенная компоновка памяти (6 ГБ DRAM) - - - Confirm exit while emulation is running Подтверждать выход во время эмуляции - + Prompt for user on game boot Спрашивать пользователя при запуске игры - + Pause emulation when in background Приостанавливать эмуляцию в фоновом режиме - - Mute audio when in background - Заглушить звук в фоновом режиме - - - + Hide mouse on inactivity Спрятать мышь при неактивности - + + Disable controller applet + + + + Reset All Settings Сбросить все настройки - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Это сбросит все настройки и удалит все конфигурации под отдельные игры. При этом не будут удалены пути для игр, профили или профили ввода. Продолжить? @@ -1383,7 +1456,7 @@ This would ban both their forum username and their IP address. - + None Выкл. @@ -1409,216 +1482,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + Режим верт. синхронизации: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (Верт. синхронизация) не пропускает кадры и не имеет разрывов, но ограничен частотой обновления экрана. +FIFO Relaxed похож на FIFO, но может иметь разрывы при восстановлении после просадок. +Mailbox может иметь меньшую задержку, чем FIFO, и не имеет разрывов, но может пропускать кадры. +Моментальная (без синхронизации) просто показывает все кадры и может иметь разрывы. + + + NVDEC emulation: Эмуляция NVDEC: - + No Video Output Отсутствие видеовыхода - + CPU Video Decoding Декодирование видео на ЦП - + GPU Video Decoding (Default) Декодирование видео на ГП (по умолчанию) - + Fullscreen Mode: Полноэкранный режим: - + Borderless Windowed Окно без границ - + Exclusive Fullscreen Эксклюзивный полноэкранный - + Aspect Ratio: Соотношение сторон: - + Default (16:9) Стандартное (16:9) - + Force 4:3 Заставить 4:3 - + Force 21:9 Заставить 21:9 - + Force 16:10 Заставить 16:10 - + Stretch to Window Растянуть до окна - + Resolution: Разрешение: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [ЭКСПЕРИМЕНТАЛЬНО] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [ЭКСПЕРИМЕНТАЛЬНО] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [ЭКСПЕРИМЕНТАЛЬНО] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Фильтр адаптации окна: - + Nearest Neighbor Ближайший сосед - + Bilinear Билинейный - + Bicubic Бикубический - + Gaussian Гаусс - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Только для Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Метод сглаживания: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness Использовать глобальную резкость FSR - + Set FSR Sharpness Установить резкость FSR - + FSR Sharpness: Резкость FSR: - + 100% 100% - - + + Use global background color Использовать общий фоновый цвет - + Set background color: Установить фоновый цвет: - + Background Color: Фоновый цвет: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (ассемблерные шейдеры, только для NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Экспериментально, только для Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Отключена + + + + VSync Off + Верт. синхронизация отключена + + + + Recommended + Рекомендуется + + + + On + Включена + + + + VSync On + Верт. синхронизация включена + ConfigureGraphicsAdvanced @@ -1643,77 +1772,154 @@ This would ban both their forum username and their IP address. Уровень точности: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - Вертикальная синхронизация предотвращает разрывы экрана, но некоторые видеокарты имеют более низкую производительность при вертикальной синхронизации. Оставляйте включенным если вы не замечаете разницы в производительности. + + ASTC recompression: + Рекомпрессия ASTC: - - Use VSync - Использовать вертикальную синхронизацию + + Uncompressed (Best quality) + Без сжатия (наилучшее качество) - + + BC1 (Low quality) + BC1 (низкое качество) + + + + BC3 (Medium quality) + BC3 (среднее качество) + + + + Enable asynchronous presentation (Vulkan only) + Включите асинхронное отображение (только для Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Выполняет работу в фоновом режиме в ожидании графических команд, не позволяя ГП снижать тактовую частоту. + + + + Force maximum clocks (Vulkan only) + Принудительно заставить максимальную тактовую частоту (только для Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Включает асинхронное декодирование текстур ASTC, что может уменьшить фризы при загрузке. Эта функция является экспериментальной. + + + + Decode ASTC textures asynchronously (Hack) + Асинхронное декодирование текстур ASTC (Хак) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Использует реактивную очистку вместо прогнозируемой. Это позволяет более точно синхронизировать память. + + + + Enable Reactive Flushing + Включить реактивную очистку + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Включает асинхронную компиляцию шейдеров, что уменьшит зависания из-за шейдеров. Функция является экспериментальной. - + Use asynchronous shader building (Hack) Использовать асинхронное построение шейдеров (Хак) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Включает функцию Fast GPU Time. Этот параметр заставит большинство игр работать в максимальном родном разрешении. - + Use Fast GPU Time (Hack) Включить Fast GPU Time (Хак) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - Включает пессимистическую очистку буферов. Эта опция заставляет промывать немодифицированные буферы, что может снизить производительность. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Включает кэш конвейера, специфичный для производителя ГП. Эта опция может значительно улучшить время загрузки шейдеров в тех случаях, когда драйвер Vulkan не хранит внутренние файлы кэша конвейера. - - Use pessimistic buffer flushes (Hack) - Использовать пессимистическую очистку буферов (Хак) + + Use Vulkan pipeline cache + Использовать конвейерный кэш Vulkan - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Включить вычислительные конвейеры, требуемые некоторыми играми. Этот параметр существует только для проприетарных драйверов Intel, и при его включении возможны сбои. +Вычислительные конвейеры всегда включены для всех остальных драйверов. + + + + Enable Compute Pipelines (Intel Vulkan only) + Включить вычислительные конвейеры (только для Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Анизотропная фильтрация: - + Automatic Автоматически - + Default Стандартная - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1746,70 +1952,65 @@ This would ban both their forum username and their IP address. Ввостановить значения по умолчанию. - + Action Действие - + Hotkey Горячая клавиша - + Controller Hotkey Горячая клавиша контроллера - - - + + + Conflicting Key Sequence Конфликтующее сочетание клавиш - - + + The entered key sequence is already assigned to: %1 Введенное сочетание уже назначено на: %1 - - Home+%1 - Домой+%1 - - - + [waiting] [ожидание] - + Invalid Недопустимо - + Restore Default Ввостановить значение по умолчанию - + Clear Очистить - + Conflicting Button Sequence Конфликтующее сочетание кнопок - + The default button sequence is already assigned to: %1 Сочетание кнопок по умолчанию уже назначено на: %1 - + The default key sequence is already assigned to: %1 Сочетание клавиш по умолчанию уже назначено на: %1 @@ -2101,7 +2302,7 @@ This would ban both their forum username and their IP address. - + Configure Настроить @@ -2127,6 +2328,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Требует перезапуск yuzu @@ -2146,22 +2349,27 @@ This would ban both their forum username and their IP address. Навигация контроллера - - Enable mouse panning - Включить панорамирование мыши + + Enable direct JoyCon driver + Включить прямой драйвер JoyCon - - Mouse sensitivity - Чувствительность мыши + + Enable direct Pro Controller driver [EXPERIMENTAL] + Включить прямой драйвер Pro Controller [ЭКСПЕРИМЕНТАЛЬНО] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Позволяет неограниченно использовать один и тот же Amiibo в играх, которые обычно разрешают только одно использование. - + + Use random Amiibo ID + Использовать случайный идентификатор Amiibo + + + Motion / Touch Движение и сенсор @@ -2181,57 +2389,57 @@ This would ban both their forum username and their IP address. Input Profiles - + Профили управления Player 1 Profile - + Профиль игрока 1 Player 2 Profile - + Профиль игрока 2 Player 3 Profile - + Профиль игрока 3 Player 4 Profile - + Профиль игрока 4 Player 5 Profile - + Профиль игрока 5 Player 6 Profile - + Профиль игрока 6 Player 7 Profile - + Профиль игрока 7 Player 8 Profile - + Профиль игрока 8 Use global input configuration - + Использовать глобальную настройку управления Player %1 profile - + Профиль игрока %1 @@ -2273,7 +2481,7 @@ This would ban both their forum username and their IP address. - + Left Stick Левый мини-джойстик @@ -2362,19 +2570,19 @@ This would ban both their forum username and their IP address. D-Pad - Кнопки направлений + Крестовина - + L L - + ZL ZL @@ -2393,7 +2601,7 @@ This would ban both their forum username and their IP address. - + Plus Плюс @@ -2406,15 +2614,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2471,236 +2679,257 @@ This would ban both their forum username and their IP address. - + Right Stick Правый мини-джойстик - - - - + + Mouse panning + + + + + Configure + Настроить + + + + + + Clear Очистить - - - - - + + + + + [not set] [не задано] - - + + + Invert button Инвертировать кнопку - - + + Toggle button Переключить кнопку - - + + Turbo button + Турбо кнопка + + + + Invert axis Инвертировать оси - - - + + + Set threshold Установить порог - - + + Choose a value between 0% and 100% Выберите значение между 0% и 100% - + Toggle axis Переключить оси - + Set gyro threshold Установить порог гироскопа - + + Calibrate sensor + Калибровка датчика + + + Map Analog Stick Задать аналоговый мини-джойстик - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. После нажатия на ОК, двигайте ваш мини-джойстик горизонтально, а затем вертикально. Чтобы инвертировать оси, сначала двигайте ваш мини-джойстик вертикально, а затем горизонтально. - + Center axis Центрировать оси - - + + Deadzone: %1% Мёртвая зона: %1% - - + + Modifier Range: %1% Диапазон модификатора: %1% - - + + Pro Controller Контроллер Pro - + Dual Joycons Двойные Joy-Con'ы - + Left Joycon Левый Joy-Сon - + Right Joycon Правый Joy-Сon - + Handheld Портативный - + GameCube Controller Контроллер GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Контроллер NES - + SNES Controller Контроллер SNES - + N64 Controller Контроллер N64 - + Sega Genesis Sega Genesis - + Start / Pause Старт / Пауза - + Z Z - + Control Stick Мини-джойстик управления - + C-Stick C-Джойстик - + Shake! Встряхните! - + [waiting] [ожидание] - + New Profile Новый профиль - + Enter a profile name: Введите имя профиля: - - + + Create Input Profile Создать профиль управления - + The given profile name is not valid! Заданное имя профиля недействительно! - + Failed to create the input profile "%1" Не удалось создать профиль управления "%1" - + Delete Input Profile Удалить профиль управления - + Failed to delete the input profile "%1" Не удалось удалить профиль управления "%1" - + Load Input Profile Загрузить профиль управления - + Failed to load the input profile "%1" Не удалось загрузить профиль управления "%1" - + Save Input Profile Сохранить профиль управления - + Failed to save the input profile "%1" Не удалось сохранить профиль управления "%1" @@ -2748,7 +2977,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Настроить @@ -2784,7 +3013,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Тест @@ -2804,81 +3033,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Узнать больше</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Номер порта содержит недопустимые символы - + Port has to be in range 0 and 65353 Порт должен быть в районе от 0 до 65353 - + IP address is not valid IP-адрес недействителен - + This UDP server already exists Этот UDP сервер уже существует - + Unable to add more than 8 servers Невозможно добавить более 8 серверов - + Testing Тестирование - + Configuring Настройка - + Test Successful Тест успешен - + Successfully received data from the server. Успешно получена информация с сервера - + Test Failed Тест провален - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Не удалось получить действительные данные с сервера.<br>Убедитесь, что сервер правильно настроен, а также проверьте адрес и порт. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Тест UDP или калибрация в процессе.<br>Пожалуйста, подождите завершения. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Включить + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + По умолчанию + + ConfigureNetwork @@ -2955,47 +3259,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Разработчик - + Add-Ons Дополнения - + General Общие - + System Система - + CPU ЦП - + Graphics Графика - + Adv. Graphics Расш. Графика - + Audio Звук - + Input Profiles - + Профили управления - + Properties Свойства @@ -3198,13 +3502,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Если вы хотите использовать этот контроллер, настройте игрока 1 как правый контроллер, а игрока 2 как двойной Joy-Сon перед началом игры, чтобы этот контроллер был обнаружен правильно. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - Параметры сенсора Ring + Virtual Ring Sensor Parameters + Параметры датчика виртуального Ring @@ -3224,33 +3528,95 @@ UUID: %2 Мёртвая зона: 0% - + + Direct Joycon Driver + Прямой драйвер Joycon + + + + Enable Ring Input + Включить ввод Ring + + + + + Enable + Включить + + + + Ring Sensor Value + Значение датчика Ring + + + + + Not connected + Не подключено + + + Restore Defaults По умолчанию - + Clear Очистить - + [not set] [не задано] - + Invert axis Инвертировать оси - - + + Deadzone: %1% Мёртвая зона: %1% - + + Error enabling ring input + Ошибка при включении ввода кольца + + + + Direct Joycon driver is not enabled + Прямой драйвер Joycon не активен + + + + Configuring + Настройка + + + + The current mapped device doesn't support the ring controller + Текущее выбранное устройство не поддерживает контроллер Ring + + + + The current mapped device doesn't have a ring attached + К текущему устройству не прикреплено кольцо + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Неожиданный результат драйвера %1 + + + [waiting] [ожидание] @@ -3555,8 +3921,8 @@ UUID: %2 - English - Английский (English) + American English + Американский английский @@ -3611,32 +3977,32 @@ UUID: %2 British English - Британский Английский + Британский английский Canadian French - Канадский Французский + Канадский французский Latin American Spanish - Латиноамериканский Испанский + Латиноамериканский испанский Simplified Chinese - Упрощённый Китайский + Упрощённый китайский Traditional Chinese (正體中文) - Традиционный Китайский (正體中文) + Традиционный китайский (正體中文) Brazilian Portuguese (português do Brasil) - Бразильский Португальский (português do Brasil) + Бразильский португальский (português do Brasil) @@ -3656,57 +4022,22 @@ UUID: %2 Device Name - + Название устройства - - Mono - Моно + + Unsafe extended memory layout (8GB DRAM) + Небезопасное расширение компоновки памяти (8 ГБ DRAM) - - Stereo - Стерео - - - - Surround - Объёмный звук - - - - Console ID: - ID консоли: - - - - Sound output mode - Режим вывода звука - - - - Regenerate - Перегенерировать - - - + System settings are available only when game is not running. Настройки системы доступны только тогда, когда игра не запущена. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Это заменит ваш текущий виртуальный Switch новым. Ваш текущий виртуальный Switch будет безвозвратно потерян. Это может иметь неожиданные последствия в играх. Может не сработать, если вы используете устаревшую конфигурацию сохраненных игр. Продолжить? - - - - Warning - Внимание - - - - Console ID: 0x%1 - ID консоли: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Внимание: язык "%1" не подходит для региона "%2" @@ -3775,7 +4106,7 @@ UUID: %2 Настройка TAS - + Select TAS Load Directory... Выбрать папку загрузки TAS... @@ -4331,7 +4662,7 @@ Drag points to change position, or double-click table cells to edit values.Контроллер P1 - + &Controller P1 [&C] Контроллер P1 @@ -4344,42 +4675,37 @@ Drag points to change position, or double-click table cells to edit values.Прямое подключение - - IP Address - IP-адрес + + Server Address + Адрес сервера - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Адрес сервера хоста</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>IPv4-адрес хоста</p></body></html> - - - + Port Порт - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Номер порта, который прослушивается хостом</p></body></html> - + Nickname Псевдоним - + Password Пароль - + Connect Подключиться @@ -4387,12 +4713,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting Подключение - + Connect Подключиться @@ -4400,535 +4726,575 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Анонимные данные собираются для того,</a> чтобы помочь улучшить работу yuzu. <br/><br/>Хотели бы вы делиться данными об использовании с нами? - + Telemetry Телеметрия - + Broken Vulkan Installation Detected Обнаружена поврежденная установка Vulkan - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. Не удалось выполнить инициализацию Vulkan во время загрузки.<br><br>Нажмите <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>здесь для получения инструкций по устранению проблемы</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Загрузка веб-апплета... - - + + Disable Web Applet Отключить веб-апплет - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Отключение веб-апплета может привести к неожиданному поведению и должно использоваться только с Super Mario 3D All-Stars. Вы уверены, что хотите отключить веб-апплет? (Его можно снова включить в настройках отладки.) - + The amount of shaders currently being built Количество создаваемых шейдеров на данный момент - + The current selected resolution scaling multiplier. Текущий выбранный множитель масштабирования разрешения. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Текущая скорость эмуляции. Значения выше или ниже 100% указывают на то, что эмуляция идет быстрее или медленнее, чем на Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Количество кадров в секунду в данный момент. Значение будет меняться между играми и сценами. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Время, которое нужно для эмуляции 1 кадра Switch, не принимая во внимание ограничение FPS или вертикальную синхронизацию. Для эмуляции в полной скорости значение должно быть не больше 16,67 мс. - + + Unmute + Включить звук + + + + Mute + Выключить звук + + + + Reset Volume + Сбросить громкость + + + &Clear Recent Files [&C] Очистить недавние файлы - + + Emulated mouse is enabled + Эмулированная мышь включена + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Ввод реальной мыши и панорамирование мышью несовместимы. Пожалуйста, отключите эмулированную мышь в расширенных настройках ввода, чтобы разрешить панорамирование мышью. + + + &Continue [&C] Продолжить - + &Pause [&P] Пауза - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - В yuzu запущена игра - - - + Warning Outdated Game Format Предупреждение устаревший формат игры - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Для этой игры вы используете разархивированный формат ROM'а, который является устаревшим и был заменен другими, такими как NCA, NAX, XCI или NSP. В разархивированных каталогах ROM'а отсутствуют иконки, метаданные и поддержка обновлений. <br><br>Для получения информации о различных форматах Switch, поддерживаемых yuzu, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>просмотрите нашу вики</a>. Это сообщение больше не будет отображаться. - - + + Error while loading ROM! Ошибка при загрузке ROM'а! - + The ROM format is not supported. Формат ROM'а не поддерживается. - + An error occurred initializing the video core. Произошла ошибка при инициализации видеоядра. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu столкнулся с ошибкой при запуске видеоядра. Обычно это вызвано устаревшими драйверами ГП, включая интегрированные. Проверьте журнал для получения более подробной информации. Дополнительную информацию о доступе к журналу смотрите на следующей странице: <a href='https://yuzu-emu.org/help/reference/log-files/'>Как загрузить файл журнала</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Ошибка при загрузке ROM'а! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Пожалуйста, следуйте <a href='https://yuzu-emu.org/help/quickstart/'>краткому руководству пользователя yuzu</a> чтобы пере-дампить ваши файлы<br>Вы можете обратиться к вики yuzu</a> или Discord yuzu</a> для помощи. - + An unknown error occurred. Please see the log for more details. Произошла неизвестная ошибка. Пожалуйста, проверьте журнал для подробностей. - + (64-bit) (64-х битный) - + (32-bit) (32-х битный) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Закрываем программу... - + Save Data Сохранения - + Mod Data Данные модов - + Error Opening %1 Folder Ошибка при открытии папки %1 - - + + Folder does not exist! Папка не существует! - + Error Opening Transferable Shader Cache Ошибка при открытии переносного кэша шейдеров - + Failed to create the shader cache directory for this title. Не удалось создать папку кэша шейдеров для этой игры. - + Error Removing Contents Ошибка при удалении содержимого - + Error Removing Update Ошибка при удалении обновлений - + Error Removing DLC Ошибка при удалении DLC - + Remove Installed Game Contents? Удалить установленное содержимое игр? - + Remove Installed Game Update? Удалить установленные обновления игры? - + Remove Installed Game DLC? Удалить установленные DLC игры? - + Remove Entry Удалить запись - - - - - - + + + + + + Successfully Removed Успешно удалено - + Successfully removed the installed base game. Установленная игра успешно удалена. - + The base game is not installed in the NAND and cannot be removed. Игра не установлена в NAND и не может быть удалена. - + Successfully removed the installed update. Установленное обновление успешно удалено. - + There is no update installed for this title. Для этой игры не было установлено обновление. - + There are no DLC installed for this title. Для этой игры не были установлены DLC. - + Successfully removed %1 installed DLC. Установленное DLC %1 было успешно удалено - + Delete OpenGL Transferable Shader Cache? Удалить переносной кэш шейдеров OpenGL? - + Delete Vulkan Transferable Shader Cache? Удалить переносной кэш шейдеров Vulkan? - + Delete All Transferable Shader Caches? Удалить весь переносной кэш шейдеров? - + Remove Custom Game Configuration? Удалить пользовательскую настройку игры? - + + Remove Cache Storage? + Убрать хранилище Cache? + + + Remove File Удалить файл - - + + Error Removing Transferable Shader Cache Ошибка при удалении переносного кэша шейдеров - - + + A shader cache for this title does not exist. Кэш шейдеров для этой игры не существует. - + Successfully removed the transferable shader cache. Переносной кэш шейдеров успешно удалён. - + Failed to remove the transferable shader cache. Не удалось удалить переносной кэш шейдеров. - - + + Error Removing Vulkan Driver Pipeline Cache + Ошибка при удалении конвейерного кэша Vulkan + + + + Failed to remove the driver pipeline cache. + Не удалось удалить конвейерный кэш шейдеров. + + + + Error Removing Transferable Shader Caches Ошибка при удалении переносного кэша шейдеров - + Successfully removed the transferable shader caches. Переносной кэш шейдеров успешно удален. - + Failed to remove the transferable shader cache directory. Ошибка при удалении папки переносного кэша шейдеров. - - + + Error Removing Custom Configuration Ошибка при удалении пользовательской настройки - + A custom configuration for this title does not exist. Пользовательская настройка для этой игры не существует. - + Successfully removed the custom game configuration. Пользовательская настройка игры успешно удалена. - + Failed to remove the custom game configuration. Не удалось удалить пользовательскую настройку игры. - - + + RomFS Extraction Failed! Не удалось извлечь RomFS! - + There was an error copying the RomFS files or the user cancelled the operation. Произошла ошибка при копировании файлов RomFS или пользователь отменил операцию. - + Full Полный - + Skeleton Скелет - + Select RomFS Dump Mode Выберите режим дампа RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Пожалуйста, выберите, как вы хотите выполнить дамп RomFS. <br>Полный скопирует все файлы в новую папку, в то время как <br>скелет создаст только структуру папок. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root В %1 недостаточно свободного места для извлечения RomFS. Пожалуйста, освободите место или выберите другую папку для дампа в Эмуляция > Настройка > Система > Файловая система > Корень дампа - + Extracting RomFS... Извлечение RomFS... - - + + Cancel Отмена - + RomFS Extraction Succeeded! Извлечение RomFS прошло успешно! - + The operation completed successfully. Операция выполнена. - - - - - + + + + + Create Shortcut - + Создать ярлык - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Это создаст ярлык для текущего AppImage. Он может не работать после обновлений. Продолжить? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Не удается создать ярлык на рабочем столе. Путь "%1" не существует. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Невозможно создать ярлык в меню приложений. Путь "%1" не существует и не может быть создан. - + Create Icon - + Создать иконку - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Невозможно создать файл иконки. Путь "%1" не существует и не может быть создан. - + Start %1 with the yuzu Emulator - + Запустить %1 с помощью эмулятора yuzu - + Failed to create a shortcut at %1 - + Не удалось создать ярлык в %1 - + Successfully created a shortcut to %1 - + Успешно создан ярлык в %1 - + Error Opening %1 Ошибка открытия %1 - + Select Directory Выбрать папку - + Properties Свойства - + The game properties could not be loaded. Не удалось загрузить свойства игры. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Исполняемый файл Switch (%1);;Все файлы (*.*) - + Load File Загрузить файл - + Open Extracted ROM Directory Открыть папку извлечённого ROM'а - + Invalid Directory Selected Выбрана недопустимая папка - + The directory you have selected does not contain a 'main' file. Папка, которую вы выбрали, не содержит файла 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Устанавливаемый файл Switch (*.nca, *.nsp, *.xci);;Архив контента Nintendo (*.nca);;Пакет подачи Nintendo (*.nsp);;Образ картриджа NX (*.xci) - + Install Files Установить файлы - + %n file(s) remaining Остался %n файлОсталось %n файл(ов)Осталось %n файл(ов)Осталось %n файл(ов) - + Installing file "%1"... Установка файла "%1"... - - + + Install Results Результаты установки - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Чтобы избежать возможных конфликтов, мы не рекомендуем пользователям устанавливать игры в NAND. Пожалуйста, используйте эту функцию только для установки обновлений и DLC. - + %n file(s) were newly installed %n файл был недавно установлен @@ -4938,7 +5304,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) were overwritten %n файл был перезаписан @@ -4948,7 +5314,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n файл не удалось установить @@ -4958,377 +5324,312 @@ Please, only use this feature to install updates and DLC. - + System Application Системное приложение - + System Archive Системный архив - + System Application Update Обновление системного приложения - + Firmware Package (Type A) Пакет прошивки (Тип А) - + Firmware Package (Type B) Пакет прошивки (Тип Б) - + Game Игра - + Game Update Обновление игры - + Game DLC DLC игры - + Delta Title Дельта-титул - + Select NCA Install Type... Выберите тип установки NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Пожалуйста, выберите тип приложения, который вы хотите установить для этого NCA: (В большинстве случаев, подходит стандартный выбор «Игра».) - + Failed to Install Ошибка установки - + The title type you selected for the NCA is invalid. Тип приложения, который вы выбрали для NCA, недействителен. - + File not found Файл не найден - + File "%1" not found Файл "%1" не найден - + OK ОК - - + + Hardware requirements not met Не удовлетворены системные требования - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. Ваша система не соответствует рекомендуемым системным требованиям. Отчеты о совместимости были отключены. - + Missing yuzu Account Отсутствует аккаунт yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Чтобы отправить отчет о совместимости игры, необходимо привязать свою учетную запись yuzu.<br><br/>Чтобы привязать свою учетную запись yuzu, перейдите в раздел Эмуляция &gt; Параметры &gt; Сеть. - + Error opening URL Ошибка при открытии URL - + Unable to open the URL "%1". Не удалось открыть URL: "%1". - + TAS Recording Запись TAS - + Overwrite file of player 1? Перезаписать файл игрока 1? - + Invalid config detected Обнаружена недопустимая конфигурация - + Handheld controller can't be used on docked mode. Pro controller will be selected. Портативный контроллер не может быть использован в режиме док-станции. Будет выбран контроллер Pro. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Текущий amiibo был убран - + Error Ошибка - - + + The current game is not looking for amiibos Текущая игра не ищет amiibo - + Amiibo File (%1);; All Files (*.*) Файл Amiibo (%1);; Все Файлы (*.*) - + Load Amiibo Загрузить Amiibo - + Error loading Amiibo data Ошибка загрузки данных Amiibo - + The selected file is not a valid amiibo Выбранный файл не является допустимым amiibo - + The selected file is already on use Выбранный файл уже используется - + An unknown error occurred Произошла неизвестная ошибка - + Capture Screenshot Сделать скриншот - + PNG Image (*.png) Изображение PNG (*.png) - + TAS state: Running %1/%2 Состояние TAS: Выполняется %1/%2 - + TAS state: Recording %1 Состояние TAS: Записывается %1 - + TAS state: Idle %1/%2 Состояние TAS: Простой %1/%2 - + TAS State: Invalid Состояние TAS: Неверное - + &Stop Running [&S] Остановка - + &Start [&S] Начать - + Stop R&ecording [&E] Закончить запись - + R&ecord [&E] Запись - + Building: %n shader(s) Постройка: %n шейдерПостройка: %n шейдер(ов)Постройка: %n шейдер(ов)Постройка: %n шейдер(ов) - + Scale: %1x %1 is the resolution scaling factor Масштаб: %1x - + Speed: %1% / %2% Скорость: %1% / %2% - + Speed: %1% Скорость: %1% - + Game: %1 FPS (Unlocked) Игра: %1 FPS (Неограниченно) - + Game: %1 FPS Игра: %1 FPS - + Frame: %1 ms Кадр: %1 мс - - GPU NORMAL - ГП НОРМАЛЬНО + + %1 %2 + %1 %2 - - GPU HIGH - ГП ВЫСОКО - - - - GPU EXTREME - ГП ЭКСТРИМ - - - - GPU ERROR - ГП ОШИБКА - - - - DOCKED - В ДОК-СТАНЦИИ - - - - HANDHELD - ПОРТАТИВНЫЙ - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - БЛИЖАЙШИЙ - - - - - BILINEAR - БИЛИНЕЙНЫЙ - - - - BICUBIC - БИКУБИЧЕСКИЙ - - - - GAUSSIAN - ГАУСС - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA БЕЗ СГЛАЖИВАНИЯ - - FXAA - FXAA + + VOLUME: MUTE + ГРОМКОСТЬ: ЗАГЛУШЕНА - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + ГРОМКОСТЬ: %1% - + Confirm Key Rederivation Подтвердите перерасчет ключа - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5339,43 +5640,43 @@ This will delete your autogenerated key files and re-run the key derivation modu Вы собираетесь принудительно пересчитать все ваши ключи. Если вы не знаете, что это значит или что вы делаете, это потенциально разрушительное действие. -Пожалуйста, убедитесь, что это то, что вы хотите +Пожалуйста, убедитесь, что это то, что вы хотите сделать и при желании сделайте резервные копии. Это удалит ваши автоматически сгенерированные файлы ключей и повторно запустит модуль расчета ключей. - + Missing fuses Отсутствуют предохранители - + - Missing BOOT0 - Отсутствует BOOT0 - + - Missing BCPKG2-1-Normal-Main - Отсутствует BCPKG2-1-Normal-Main - + - Missing PRODINFO - Отсутствует PRODINFO - + Derivation Components Missing Компоненты расчета отсутствуют - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Ключи шифрования отсутствуют. <br>Пожалуйста, следуйте <a href='https://yuzu-emu.org/help/quickstart/'>краткому руководству пользователя yuzu</a>, чтобы получить все ваши ключи, прошивку и игры.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5384,39 +5685,49 @@ on your system's performance. от производительности вашей системы. - + Deriving Keys Получение ключей - + + System Archive Decryption Failed + Не удалось расшифровать системный архив + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Ключи шифрования не смогли расшифровать прошивку. <br>Пожалуйста, следуйте <a href='https://yuzu-emu.org/help/quickstart/'>краткому руководству пользователя yuzu</a> чтобы получить все ваши ключи, прошивку и игры. + + + Select RomFS Dump Target Выберите цель для дампа RomFS - + Please select which RomFS you would like to dump. Пожалуйста, выберите, какой RomFS вы хотите сдампить. - + Are you sure you want to close yuzu? Вы уверены, что хотите закрыть yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Вы уверены, что хотите остановить эмуляцию? Любой несохраненный прогресс будет потерян. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5424,6 +5735,101 @@ Would you like to bypass this and exit anyway? Хотите ли вы обойти это и выйти в любом случае? + + + None + Никакой + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Ближайший + + + + Bilinear + Билинейный + + + + Bicubic + Бикубический + + + + Gaussian + Гаусс + + + + ScaleForce + ScaleForce + + + + Docked + В док-станции + + + + Handheld + Портативный + + + + Normal + Нормальная + + + + High + Высокая + + + + Extreme + Экстрим + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5436,7 +5842,7 @@ Would you like to bypass this and exit anyway? OpenGL shared contexts are not supported. - + Общие контексты OpenGL не поддерживаются. @@ -5524,117 +5930,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + Убрать хранилище Cache + + + Remove OpenGL Pipeline Cache Удалить кэш конвейера OpenGL - + Remove Vulkan Pipeline Cache Удалить кэш конвейера Vulkan - + Remove All Pipeline Caches Удалить весь кэш конвейеров - + Remove All Installed Contents Удалить все установленное содержимое - + Dump RomFS Дамп RomFS - + Dump RomFS to SDMC Сдампить RomFS в SDMC - + Copy Title ID to Clipboard Скопировать ID приложения в буфер обмена - + Navigate to GameDB entry Перейти к странице GameDB - - - Create Shortcut - - + Create Shortcut + Создать ярлык + + + Add to Desktop - + Добавить на Рабочий стол - + Add to Applications Menu - + Добавить в меню приложений - + Properties Свойства - + Scan Subfolders Сканировать подпапки - + Remove Game Directory Удалить папку с играми - + ▲ Move Up ▲ Переместить вверх - + ▼ Move Down ▼ Переместить вниз - + Open Directory Location Открыть расположение папки - + Clear Очистить - + Name Имя - + Compatibility Совместимость - + Add-ons Дополнения - + File type Тип файла - + Size Размер @@ -5705,7 +6116,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Нажмите дважды, чтобы добавить новую папку в список игр @@ -5718,12 +6129,12 @@ Would you like to bypass this and exit anyway? %1 из %n результат(ов)%1 из %n результат(ов)%1 из %n результат(ов)%1 из %n результат(ов) - + Filter: Поиск: - + Enter pattern to filter Введите текст для поиска @@ -5814,138 +6225,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute Включение/отключение звука - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Основное окно - + Audio Volume Down Уменьшить громкость звука - + Audio Volume Up Повысить громкость звука - + Capture Screenshot Сделать скриншот - + Change Adapting Filter Изменить адаптирующий фильтр - + Change Docked Mode Изменить режим консоли - + Change GPU Accuracy Изменить точность ГП - + Continue/Pause Emulation Продолжение/Пауза эмуляции - + Exit Fullscreen Выйти из полноэкранного режима - + Exit yuzu Выйти из yuzu - + Fullscreen Полный экран - + Load File Загрузить файл - + Load/Remove Amiibo Загрузить/удалить Amiibo - + Restart Emulation Перезапустить эмуляцию - + Stop Emulation Остановить эмуляцию - + TAS Record Запись TAS - + TAS Reset Сброс TAS - + TAS Start/Stop Старт/Стоп TAS - + Toggle Filter Bar Переключить панель поиска - + Toggle Framerate Limit Переключить ограничение частоты кадров - + Toggle Mouse Panning Переключить панорамирование мыши - + Toggle Status Bar Переключить панель состояния @@ -5968,7 +6379,7 @@ Debug Message: Установить - + Install Files to NAND Установить файлы в NAND @@ -5976,7 +6387,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 В тексте недопустимы следующие символы: @@ -6051,51 +6462,56 @@ Debug Message: + Hide Empty Rooms + Скрыть пустые комнаты + + + Hide Full Rooms Скрыть полные комнаты - + Refresh Lobby Обновить лобби - + Password Required to Join Для входа необходим пароль - + Password: Пароль: - + Players Игроки - + Room Name Название комнаты - + Preferred Game Предпочтительная игра - + Host Хост - + Refreshing Обновление - + Refresh List Обновить список @@ -6633,7 +7049,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE СТАРТ/ПАУЗА @@ -6682,31 +7098,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [не задано] @@ -6717,14 +7133,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Ось %1%2 @@ -6735,264 +7151,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [неизвестно] - - - + + + Left Влево - - - + + + Right Вправо - - - + + + Down Вниз - - - + + + Up Вверх - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Круг - - + + Cross Крестик - - + + Square Квадрат - - + + Triangle Треугольник - - + + Share Share - - + + Options Options - - + + [undefined] [не определено] - + %1%2 %1%2 - - + + [invalid] [недопустимо] - - - - + + %1%2Hat %3 %1%2Крест. %3 - - - - - - + + + + %1%2Axis %3 %1%2Ось %3 - - + + %1%2Axis %3,%4,%5 %1%2Ось %3,%4,%5 - - + + %1%2Motion %3 %1%2Движение %3 - - - - + + %1%2Button %3 %1%2Кнопка %3 - - + + [unused] [не используется] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Левый стик + + + + Stick R + Правый стик + + + + Plus + Плюс + + + + Minus + Минус + + + + Home Home - + + Capture + Захват + + + Touch Сенсор - + Wheel Indicates the mouse wheel Колёсико - + Backward Назад - + Forward Вперёд - + Task Задача - + Extra Дополнительная - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Крест. %4 + + + + + %1%2%3Axis %4 + %1%2%3Ось %4 + + + + + %1%2%3Button %4 + %1%2%3Кнопка %4 @@ -7361,28 +7835,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Код ошибки: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Произошла ошибка. Пожалуйста, попробуйте еще раз или свяжитесь с разработчиком ПО. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Произошла ошибка на %1 в %2. Пожалуйста, попробуйте еще раз или свяжитесь с разработчиком ПО. - + An error has occurred. %1 @@ -7406,20 +7880,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Выберите пользователя: - - - + Users Пользователи - + + Profile Creator + Создатель профиля + + + + Profile Selector Выбор профиля + + + Profile Icon Editor + Редактор иконки профиля + + + + Profile Nickname Editor + Редактор никнейма профиля + + + + Who will receive the points? + Кто будет получать очки? + + + + Who is using Nintendo eShop? + Кто использует Nintendo eShop? + + + + Who is making this purchase? + Кто совершает эту покупку? + + + + Who is posting? + Кто публикует? + + + + Select a user to link to a Nintendo Account. + Выберите пользователя для привязки к учетной записи Nintendo. + + + + Change settings for which user? + Изменить настройки для какого пользователя? + + + + Format data for which user? + Форматировать данные для какого пользователя? + + + + Which user will be transferred to another console? + Какой пользователь будет переходить на другую консоль? + + + + Send save data for which user? + Отправить сохранение какому пользователю? + + + + Select a user: + Выберите пользователя: + QtSoftwareKeyboardDialog @@ -7469,180 +8004,139 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Стэк вызовов - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - - - - - waiting for one of the following objects - - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread - + не ожидается ни одним потоком WaitTreeThread - + runnable - + runnable - + paused - + paused - + sleeping - + sleeping - + waiting for IPC reply - + ожидание ответа IPC - + waiting for objects - + ожидание объектов - + waiting for condition variable - + waiting for condition variable - + waiting for address arbiter - + waiting for address arbiter - + waiting for suspend resume - + waiting for suspend resume - + waiting - + waiting - + initialized - + initialized - + terminated - + terminated - + unknown - + неизвестно - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + ideal - + core %1 - + ядро %1 - + processor = %1 - + процессор = %1 - - ideal core = %1 - - - - + affinity mask = %1 - + маска сходства = %1 - + thread id = %1 - + идентификатор потока = %1 - + priority = %1(current) / %2(normal) - + приоритет = %1(текущий) / %2(обычный) - + last running ticks = %1 - - - - - not waiting for mutex - + last running ticks = %1 WaitTreeThreadList - + waited by thread - + ожидается потоком WaitTreeWidget - + &Wait Tree [&W] Дерево ожидания diff --git a/dist/languages/sv.ts b/dist/languages/sv.ts index 2b9738cb3..245a1f764 100644 --- a/dist/languages/sv.ts +++ b/dist/languages/sv.ts @@ -122,7 +122,7 @@ p, li { white-space: pre-wrap; } %1 has been unbanned - + %1 har haft dess bannlysning upphävd. @@ -242,22 +242,22 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Startar Spelet? </p></body></html> Yes The game starts to output video or audio - + Ja Spelet öppnar till utmatning av video eller audio No The game doesn't get past the "Launching..." screen - + Nej Spelet öppnar ej förbi "Startar..." skärmen Yes The game gets past the intro/menu and into gameplay - + Ja Spelet öppnar förbi introt/menyn och in i själva spelandet @@ -380,36 +380,61 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress. - Output Device + Output Device: - Input Device - Inmatningsenhet + Input Device: + - + + Sound Output Mode: + + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Använd global volym - + Set volume: Ställ in volym: - + Volume: Volym: - + 0 % 0 % - + + Mute audio when in background + + + + %1% Volume percentage (e.g. 50%) %1% @@ -913,103 +938,113 @@ avgjord kod.</div> Disable Macro JIT Stäng av Macro JIT - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - Enable Shader Feedback + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - When checked, it executes shaders without loop logic changes + + Disable Macro HLE - Disable Loop safety checks + When checked, yuzu will log statistics about the compiled pipeline cache + + + + + Enable Shader Feedback - Debugging - Felsökning + When checked, it executes shaders without loop logic changes + - - Enable Verbose Reporting Services** + + Disable Loop safety checks + Debugging + Felsökning + + + + Enable Verbose Reporting Services** + + + + Enable FS Access Log - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Avancerat - + Kiosk (Quest) Mode Kiosk(Quest)-läge - + Enable CPU Debugging - + Enable Debug Asserts - + Enable Auto-Stub** - + Enable All Controller Types - + Disable Web Applet - + Avaktivera Webbappletten - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. @@ -1024,12 +1059,12 @@ avgjord kod.</div> - + Web applet not compiled - + MiniDump creation not compiled @@ -1079,78 +1114,78 @@ avgjord kod.</div> yuzu Konfigurering - - + + Audio Ljud - - + + CPU CPU - + Debug Debug - + Filesystem Filsystem - - + + General Allmänt - - + + Graphics Grafik - + GraphicsAdvanced Avancerade grafikinställningar - + Hotkeys Snabbknappar - - + + Controls Kontroller - + Profiles Profiler - + Network Nätverk - - + + System System - + Game List Spellista - + Web Webb @@ -1325,46 +1360,41 @@ avgjord kod.</div> - Extended memory layout (6GB DRAM) - Utökad minnesöversikt (6GB DRAM) - - - Confirm exit while emulation is running Godkänn avslut medans emulering pågår - + Prompt for user on game boot Fråga efter användare vid spelstart - + Pause emulation when in background Pausa emulationen när fönstret är i bakgrunden - - Mute audio when in background - - - - + Hide mouse on inactivity Göm mus när inaktiv - + + Disable controller applet + + + + Reset All Settings Återställ Alla Inställningar - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? @@ -1403,7 +1433,7 @@ avgjord kod.</div> - + None Ingen @@ -1429,216 +1459,269 @@ avgjord kod.</div> + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: - + No Video Output - + CPU Video Decoding - + GPU Video Decoding (Default) - + Fullscreen Mode: - + Borderless Windowed - + Exclusive Fullscreen - + Aspect Ratio: Bildförhållande: - + Default (16:9) Standard (16:9) - + Force 4:3 Tvinga 4:3 - + Force 21:9 Tvinga 21:9 - + Force 16:10 - + Stretch to Window Tänj över fönster - + Resolution: - + 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + + + + 2X (1440p/2160p) - + 3X (2160p/3240p) - + 4X (2880p/4320p) - + 5X (3600p/5400p) - + 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: - + Nearest Neighbor - + Bilinear - + Bicubic - + Gaussian - + ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) + + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: - + FXAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Använd global bakgrundsfärg - + Set background color: Sätt backgrundsfärg: - + Background Color: Bakgrundsfärg: - + GLASM (Assembly Shaders, NVIDIA Only) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1663,77 +1746,153 @@ avgjord kod.</div> Noggranhetsnivå: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync hindrar skärmen från tearing, men vissa grafikkort har lägre prestanda med VSync på. Ha det på om du inte noterar någon prestandaskillnad. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Sätt på asynchronous shader-kompilering, vilket kan minska shader stutter. Denna funktion är experimentiell. - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) + Uncompressed (Best quality) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Sätt på asynchronous shader-kompilering, vilket kan minska shader stutter. Denna funktion är experimentiell. + + + + Use asynchronous shader building (Hack) + + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + + + + Use Fast GPU Time (Hack) + + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anisotropisk filtrering: - + Automatic - + Default Standard - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1766,70 +1925,65 @@ avgjord kod.</div> Återställ till standard - + Action Handling - + Hotkey Snabbtangent - + Controller Hotkey - - - + + + Conflicting Key Sequence Motstridig Tangentsekvens - - + + The entered key sequence is already assigned to: %1 Den valda tangentsekvensen är redan tilldelad: %1 - - Home+%1 - - - - + [waiting] [väntar] - + Invalid - + Restore Default Återställ standard - + Clear Rensa - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Standardtangentsekvensen är redan tilldelad: %1 @@ -2121,7 +2275,7 @@ avgjord kod.</div> - + Configure Konfigurera @@ -2147,6 +2301,8 @@ avgjord kod.</div> + + Requires restarting yuzu @@ -2166,22 +2322,27 @@ avgjord kod.</div> - - Enable mouse panning + + Enable direct JoyCon driver - - Mouse sensitivity + + Enable direct Pro Controller driver [EXPERIMENTAL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Rörelse / Touch @@ -2293,7 +2454,7 @@ avgjord kod.</div> - + Left Stick Vänster Spak @@ -2387,14 +2548,14 @@ avgjord kod.</div> - + L L - + ZL ZL @@ -2413,7 +2574,7 @@ avgjord kod.</div> - + Plus Pluss @@ -2426,15 +2587,15 @@ avgjord kod.</div> - - + + R R - + ZR ZR @@ -2491,235 +2652,256 @@ avgjord kod.</div> - + Right Stick Höger Spak - - - - + + Mouse panning + + + + + Configure + Konfigurera + + + + + + Clear Rensa - - - - - + + + + + [not set] [ej angett] - - + + + Invert button - - + + Toggle button - - + + Turbo button + + + + + Invert axis - - - + + + Set threshold - - + + Choose a value between 0% and 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. - + Center axis - - + + Deadzone: %1% Dödzon: %1% - - + + Modifier Range: %1% Modifieringsräckvidd: %1% - - + + Pro Controller Prokontroller - + Dual Joycons Dubbla Joycons - + Left Joycon Vänster Joycon - + Right Joycon Höger Joycon - + Handheld Handhållen - + GameCube Controller GameCube-kontroll - + Poke Ball Plus Poke Ball Plus - + NES Controller NES-kontroll - + SNES Controller SNES-kontroll - + N64 Controller N64-kontroll - + Sega Genesis Sega Genesis - + Start / Pause - + Z Z - + Control Stick - + C-Stick - + Shake! - + [waiting] [väntar] - + New Profile Ny profil - + Enter a profile name: - - + + Create Input Profile - + The given profile name is not valid! - + Failed to create the input profile "%1" - + Delete Input Profile - + Failed to delete the input profile "%1" - + Load Input Profile - + Failed to load the input profile "%1" - + Save Input Profile - + Failed to save the input profile "%1" @@ -2767,7 +2949,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Konfigurera @@ -2803,7 +2985,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Test @@ -2823,81 +3005,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Lär dig mer</span></a> - + %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters - + Port has to be in range 0 and 65353 - + IP address is not valid - + This UDP server already exists - + Unable to add more than 8 servers - + Testing Testar - + Configuring Konfigurerar - + Test Successful Test framgångsrikt - + Successfully received data from the server. Tog emot data från servern framgångsrikt - + Test Failed Test misslyckades - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Kunde inte ta emot giltig data från servern.<br>Var vänlig verifiera att servern är korrekt uppsatt och att adressen och porten är korrekta. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP Test eller kalibreringskonfiguration är igång.<br>Var vänlig vänta för dem att slutföras. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Aktivera + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standard + + ConfigureNetwork @@ -2974,47 +3231,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Utvecklare - + Add-Ons Tillägg - + General Allmänt - + System System - + CPU CPU - + Graphics Grafik - + Adv. Graphics Avancerade Grafikinställningar - + Audio Ljud - + Input Profiles - + Properties egenskaper @@ -3216,25 +3473,25 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters Pull - + Dra Push - + Knuff @@ -3242,33 +3499,95 @@ UUID: %2 Dödzon: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + Aktivera + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Återställ till standard - + Clear Rensa - + [not set] [ej angett] - + Invert axis - - + + Deadzone: %1% Dödzon: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Konfigurerar + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [väntar] @@ -3573,8 +3892,8 @@ UUID: %2 - English - Engelska + American English + @@ -3677,54 +3996,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Konsol-ID: - - - - Sound output mode - Ljudutgångsläge - - - - Regenerate - Regenerera - - - + System settings are available only when game is not running. Systeminställningar är endast tillgängliga när spel inte körs. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Detta kommer att ersätta nuvarande virtuell Switch med en ny. Nuvarande virtuell Switch kommer att permanent tas bort. Detta kan ha oväntade konsekvenser i spel. Detta kan misslyckas om en utdaterad konfig sparning används. Vill du fortsätta? - - - - Warning - Varning - - - - Console ID: 0x%1 - Konsol ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3793,7 +4077,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -4349,7 +4633,7 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r - + &Controller P1 @@ -4362,977 +4646,947 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Smeknamn - + Password - + Lösenord - + Connect - + Anslut DirectConnectWindow - + Connecting - + Ansluter - + Connect - + Anslut GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonym data skickas </a>För att förbättra yuzu. <br/><br/>Vill du dela med dig av din användarstatistik med oss? - + Telemetry Telemetri - + Broken Vulkan Installation Detected - + Felaktig Vulkaninstallation Upptäckt - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Laddar WebApplet... - - + + Disable Web Applet - + Avaktivera Webbappletten - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built Mängden shaders som just nu byggs - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Nuvarande emuleringshastighet. Värden över eller under 100% indikerar på att emulationen körs snabbare eller långsammare än en Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Hur många bilder per sekund som spelet just nu visar. Detta varierar från spel till spel och scen till scen. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Tid det tar att emulera en Switch bild, utan att räkna med framelimiting eller v-sync. För emulering på full hastighet så ska det vara som mest 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files - + + Emulated mouse is enabled + Emulerad datormus är aktiverad + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue - + &Pause &Paus - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Varning Föråldrat Spelformat - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Du använder det dekonstruerade ROM-formatet för det här spelet. Det är ett föråldrat format som har överträffats av andra som NCA, NAX, XCI eller NSP. Dekonstruerade ROM-kataloger saknar ikoner, metadata och uppdatering.<br><br>För en förklaring av de olika format som yuzu stöder, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>kolla in vår wiki</a>. Det här meddelandet visas inte igen. - - + + Error while loading ROM! Fel vid laddning av ROM! - + The ROM format is not supported. ROM-formatet stöds inte. - + An error occurred initializing the video core. Ett fel inträffade vid initiering av videokärnan. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. Ett okänt fel har uppstått. Se loggen för mer information. - + (64-bit) - + (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit - + Closing software... - + Save Data Spardata - + Mod Data Mod-data - + Error Opening %1 Folder Fel Öppnar %1 Mappen - - + + Folder does not exist! Mappen finns inte! - + Error Opening Transferable Shader Cache Fel Under Öppning Av Överförbar Shadercache - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry Ta bort katalog - - - - - - + + + + + + Successfully Removed Framgångsrikt borttagen - + Successfully removed the installed base game. Tog bort det installerade basspelet framgångsrikt. - + The base game is not installed in the NAND and cannot be removed. Basspelet är inte installerat i NAND och kan inte tas bort. - + Successfully removed the installed update. Tog bort den installerade uppdateringen framgångsrikt. - + There is no update installed for this title. Det finns ingen uppdatering installerad för denna titel. - + There are no DLC installed for this title. Det finns inga DLC installerade för denna titel. - + Successfully removed %1 installed DLC. Tog framgångsrikt bort den %1 installerade DLCn. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? Ta Bort Anpassad Spelkonfiguration? - + + Remove Cache Storage? + + + + Remove File Radera fil - - + + Error Removing Transferable Shader Cache Fel När Överförbar Shader Cache Raderades - - + + A shader cache for this title does not exist. En shader cache för denna titel existerar inte. - + Successfully removed the transferable shader cache. Raderade den överförbara shadercachen framgångsrikt. - + Failed to remove the transferable shader cache. Misslyckades att ta bort den överförbara shadercache - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration Fel När Anpassad Konfiguration Raderades - + A custom configuration for this title does not exist. En anpassad konfiguration för denna titel existerar inte. - + Successfully removed the custom game configuration. Tog bort den anpassade spelkonfigurationen framgångsrikt. - + Failed to remove the custom game configuration. Misslyckades att ta bort den anpassade spelkonfigurationen. - - + + RomFS Extraction Failed! RomFS Extraktion Misslyckades! - + There was an error copying the RomFS files or the user cancelled the operation. Det uppstod ett fel vid kopiering av RomFS filer eller användaren avbröt operationen. - + Full Full - + Skeleton Skelett - + Select RomFS Dump Mode Välj RomFS Dump-Läge - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Välj hur du vill att RomFS ska dumpas. <br>Full kommer att kopiera alla filer i den nya katalogen medan <br>skelett bara skapar katalogstrukturen. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Extraherar RomFS... - - + + Cancel Avbryt - + RomFS Extraction Succeeded! RomFS Extraktion Lyckades! - + The operation completed successfully. Operationen var lyckad. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 Fel under öppning av %1 - + Select Directory Välj Katalog - + Properties Egenskaper - + The game properties could not be loaded. Spelegenskaperna kunde inte laddas. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch Körbar (%1);;Alla Filer (*.*) - + Load File Ladda Fil - + Open Extracted ROM Directory Öppna Extraherad ROM-Katalog - + Invalid Directory Selected Ogiltig Katalog Vald - + The directory you have selected does not contain a 'main' file. Katalogen du har valt innehåller inte en 'main'-fil. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Installerbar Switch-fil (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Installera filer - + %n file(s) remaining - + Installing file "%1"... Installerar Fil "%1"... - - + + Install Results Installera resultat - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Systemapplikation - + System Archive Systemarkiv - + System Application Update Systemapplikationsuppdatering - + Firmware Package (Type A) Firmwarepaket (Typ A) - + Firmware Package (Type B) Firmwarepaket (Typ B) - + Game Spel - + Game Update Speluppdatering - + Game DLC Spel DLC - + Delta Title Delta Titel - + Select NCA Install Type... Välj NCA-Installationsläge... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Välj vilken typ av titel du vill installera som: (I de flesta fallen, standard 'Spel' är bra.) - + Failed to Install Misslyckades med Installationen - + The title type you selected for the NCA is invalid. Den titeltyp du valt för NCA är ogiltig. - + File not found Filen hittades inte - + File "%1" not found Filen "%1" hittades inte - + OK OK - - + + Hardware requirements not met - + Hårdvarukraven uppfylls ej - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account yuzu Konto hittades inte - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. För att skicka ett spelkompatibilitetstest, du måste länka ditt yuzu-konto.<br><br/>För att länka ditt yuzu-konto, gå till Emulering &gt, Konfigurering &gt, Web. - + Error opening URL Fel när URL öppnades - + Unable to open the URL "%1". Oförmögen att öppna URL:en "%1". - + TAS Recording - + TAS Inspelning - + Overwrite file of player 1? - + Överskriv spelare 1:s fil? - + Invalid config detected - + Ogiltig konfiguration upptäckt - + Handheld controller can't be used on docked mode. Pro controller will be selected. - - + + Amiibo - + Amiibo - - + + The current amiibo has been removed - + Den aktuella amiibon har avlägsnats - + Error Fel - - + + The current game is not looking for amiibos - + Det aktuella spelet letar ej efter amiibos - + Amiibo File (%1);; All Files (*.*) Amiibo Fil (%1);; Alla Filer (*.*) - + Load Amiibo Ladda Amiibo - + Error loading Amiibo data Fel vid laddning av Amiibodata - + The selected file is not a valid amiibo - + Den valda filen är inte en giltig amiibo - + The selected file is already on use - + Den valda filen är redan använd - + An unknown error occurred - + Ett okänt fel har inträffat - + Capture Screenshot Skärmdump - + PNG Image (*.png) PNG Bild (*.png) - + TAS state: Running %1/%2 - + TAStillstånd: pågående %1/%2 - + TAS state: Recording %1 - + TAStillstånd: spelar in %1 - + TAS state: Idle %1/%2 - + TAStillstånd: inaktiv %1/%2 - + TAS State: Invalid - + TAStillstånd: ogiltigt - + &Stop Running - + &Start &Start - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Speed: %1% / %2% Hastighet: %1% / %2% - + Speed: %1% Hastighet: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Spel: %1 FPS - + Frame: %1 ms Ruta: %1 ms - - GPU NORMAL + + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - - + NO AA - - FXAA + + VOLUME: MUTE - - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) - + Confirm Key Rederivation Bekräfta Nyckel Rederivering - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5349,37 +5603,37 @@ och eventuellt göra säkerhetskopior. Detta raderar dina autogenererade nyckelfiler och kör nyckelderivationsmodulen. - + Missing fuses Saknade säkringar - + - Missing BOOT0 - Saknar BOOT0 - + - Missing BCPKG2-1-Normal-Main - Saknar BCPKG2-1-Normal-Main - + - Missing PRODINFO - Saknar PRODINFO - + Derivation Components Missing Deriveringsdelar saknas - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5388,39 +5642,49 @@ Detta kan ta upp till en minut beroende på systemets prestanda. - + Deriving Keys Härleda Nycklar - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Välj RomFS Dumpa Mål - + Please select which RomFS you would like to dump. Välj vilken RomFS du vill dumpa. - + Are you sure you want to close yuzu? Är du säker på att du vill stänga yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Är du säker på att du vill stoppa emuleringen? Du kommer att förlora osparade framsteg. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5428,6 +5692,101 @@ Would you like to bypass this and exit anyway? Vill du strunta i detta och avsluta ändå? + + + None + Ingen + + + + FXAA + + + + + SMAA + + + + + Nearest + + + + + Bilinear + + + + + Bicubic + + + + + Gaussian + + + + + ScaleForce + + + + + Docked + Dockad + + + + Handheld + Handheld + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5528,117 +5887,122 @@ Vill du strunta i detta och avsluta ändå? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - + Remove All Installed Contents Ta Bort Allt Installerat Innehåll - + Dump RomFS Dumpa RomFS - + Dump RomFS to SDMC - + Copy Title ID to Clipboard Kopiera Titel ID till Urklipp - + Navigate to GameDB entry Navigera till GameDB-sida - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Egenskaper - + Scan Subfolders Skanna Underkataloger - + Remove Game Directory Radera Spelkatalog - + ▲ Move Up ▲ Flytta upp - + ▼ Move Down ▼ Flytta ner - + Open Directory Location Öppna Sökvägsplats - + Clear Rensa - + Name Namn - + Compatibility Kompatibilitet - + Add-ons Add-Ons - + File type Filtyp - + Size Storlek @@ -5709,7 +6073,7 @@ Vill du strunta i detta och avsluta ändå? GameListPlaceholder - + Double-click to add a new folder to the game list Dubbelklicka för att lägga till en ny mapp i spellistan. @@ -5722,12 +6086,12 @@ Vill du strunta i detta och avsluta ändå? - + Filter: Filter: - + Enter pattern to filter Ange mönster för att filtrera @@ -5767,7 +6131,7 @@ Vill du strunta i detta och avsluta ändå? Password - + Lösenord @@ -5817,138 +6181,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Skärmdump - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Fullskärm - + Load File Ladda Fil - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5971,7 +6335,7 @@ Debug Message: Installera - + Install Files to NAND Installera filer till NAND @@ -5979,7 +6343,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6034,7 +6398,7 @@ Debug Message: Nickname - + Smeknamn @@ -6053,51 +6417,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Spelare - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6627,7 +6996,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6676,31 +7045,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [inte inställd] @@ -6711,14 +7080,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axel %1%2 @@ -6729,264 +7098,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [okänd] - - - + + + Left Vänster - - - + + + Right Höger - - - + + + Down Ner - - - + + + Up Upp - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Cirkel - - + + Cross Kors - - + + Square Fyrkant - - + + Triangle Triangel - - + + Share Dela - - + + Options Val - - + + [undefined] [odefinerad] - + %1%2 %1%2 - - + + [invalid] [felaktig] - - - - + + %1%2Hat %3 %1%2Hatt %3 - - - - - - + + + + %1%2Axis %3 %1%2Axel %3 - - + + %1%2Axis %3,%4,%5 %1%2Axel %3,%4%5 - - + + %1%2Motion %3 %1%2Rörelse %3 - - - - + + %1%2Button %3 %1%2Knapp %3 - - + + [unused] [oanvänd] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Pluss + + + + Minus + Minus + + + + Home Hem - + + Capture + Fånga + + + Touch Touch - + Wheel Indicates the mouse wheel Hjul - + Backward Bakåt - + Forward Framåt - + Task Åtgärd - + Extra Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + @@ -7355,28 +7782,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Felkod: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Ett fel har inträffat. Vänligen försök igen eller kontakta utvecklaren av programvaran. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Ett fel har inträffat på %1 vid %2. Vänligen försök igen eller kontakta utvecklaren av programvaran. - + An error has occurred. %1 @@ -7400,20 +7827,81 @@ Vänligen försök igen eller kontakta utvecklaren av programvaran. - - Select a user: - Välj en användare: - - - + Users Användare - + + Profile Creator + + + + + Profile Selector Profilväljare + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Välj en användare: + QtSoftwareKeyboardDialog @@ -7459,51 +7947,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Samtal stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - väntar på mutex 0x%1 - - - - has waiters: %1 - har waiters: %1 - - - - owner handle: 0x%1 - ägarhandtag: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - väntar på alla föremål - - - - waiting for one of the following objects - väntar på ett av följande föremål - - WaitTreeSynchronizationObject - - [%1] %2 %3 + + [%1] %2 - + waited by no thread Ej väntad av någon tråd @@ -7511,120 +7968,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused pausad - + sleeping sovande - + waiting for IPC reply väntar på IPC svar - + waiting for objects väntar på föremål - + waiting for condition variable väntar för skickvariabel - + waiting for address arbiter väntar på adressbryter - + waiting for suspend resume - + waiting väntar - + initialized initialiserad - + terminated avslutad - + unknown okänd - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 kärna %1 - + processor = %1 processor = %1 - - ideal core = %1 - idealisk kärna = %1 - - - + affinity mask = %1 affinitetsmask = %1 - + thread id = %1 tråd-id = %1 - + priority = %1(current) / %2(normal) prioritet = %1(nuvarande) / %2(normal) - + last running ticks = %1 sista springande fästingar = %1 - - - not waiting for mutex - väntar inte på mutex - WaitTreeThreadList - + waited by thread väntade med tråd @@ -7632,7 +8079,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/tr_TR.ts b/dist/languages/tr_TR.ts index 4ec3b0bbc..c98e78ddb 100644 --- a/dist/languages/tr_TR.ts +++ b/dist/languages/tr_TR.ts @@ -242,97 +242,97 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Oyun açılıyor mu?</p></body></html> Yes The game starts to output video or audio - + Evet Oyun açılıyor ve ses ve/veya görüntü çıktısı veriyor No The game doesn't get past the "Launching..." screen - + Hayır Oyun "Başlatılıyor..." ekranında takılı kalıyor Yes The game gets past the intro/menu and into gameplay - + Evet Oyun, ana menü/intro bölümü geçildikten sonra asıl oyuna başlatılabiliyor. No The game crashes or freezes while loading or using the menu - + Hayır Oyun yüklenirken veya ana menüdeyken takılı kalıyor. <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Oyun, oynanma aşamasına gelebiliyor mu?</p></body></html> Yes The game works without crashes - + Evet Oyundayken takılı kalma yaşanmıyor. No The game crashes or freezes during gameplay - + Hayır Oyun, oyundayken donuyor veya çöküyor <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Oyun, oynanış sırasında takılmadan veya çökmeden oynanabiliyor mu?</p></body></html> Yes The game can be finished without any workarounds - + Evet Oyun, herhangi bir kısmı atlanmadan bitirilebiliyor No The game can't progress past a certain area - + Hayır Oyun belirli bölgelerde takılı kalıyor veya çalışmıyor <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Oyun, baştan sona oynanıp bitirilebiliyor mu?</p></body></html> Major The game has major graphical errors - + Büyük Oyunda bariz grafik hataları mevcut Minor The game has minor graphical errors - + Küçük Oyunda ufak tefek grafik hataları mevcut None Everything is rendered as it looks on the Nintendo Switch - + Yok Oyun, bir Nintendo Switch'de nasıl görünüyorsa aynı görünüyor <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Oyunda herhangi bir grafik hatası var mı?</p></body></html> Major The game has major audio errors - + Büyük Oyunda bariz ses hataları mevcut Minor The game has minor audio errors - + Küçük Oyunda ufak tefek ses hataları mevcut None Audio is played perfectly - + Yok Oyun sesi mükemmel duyuluyor @@ -380,36 +380,61 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar. - Output Device - Çıkış Cihazı + Output Device: + Çıkış Cihazı: - Input Device - Giriş Cihazı + Input Device: + Giriş Cihazı: - + + Sound Output Mode: + Ses Çıkış Modu: + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Global sesi kullan - + Set volume: Sesi ayarla: - + Volume: Ses: - + 0 % 0 % - + + Mute audio when in background + Arka plandayken sesi kapat + + + %1% Volume percentage (e.g. 50%) %1% @@ -590,7 +615,9 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + + <div>Bu ayar, özel erişim talimatlarının güvenliğini sağlayarak hızı artırmak adına yalnızca semantik cmpxchg kullanır. Kullanılması çıkmaz döngülere ya da başka yarışma durumlarına sebep olabilir.</div> + @@ -757,7 +784,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Enable Host MMU Emulation (general memory instructions) - Host MMU Emülasyonunu Etkinleştir (genel bellek talimatları) + Ana Bilgisayar MMU Emülasyonunu Etkinleştir (genel bellek talimatları) @@ -775,7 +802,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Enable Host MMU Emulation (exclusive memory instructions) - + Ana Bilgisayar MMU Emülasyonunu Etkinleştir (özel bellek talimatları) @@ -783,12 +810,15 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + + <div style="white-space: nowrap">Bu optimizasyon, misafir uygulamanın özel talimat erişim hızını artırır.</div> + <div style="white-space: nowrap">Kullanılırsa, fastmem sebepli özel hafıza erişim hatalarıyla oluşan yükü azaltır.</div> + Enable recompilation of exclusive memory instructions - + Özel hafıza talimatlarının yeniden derlenmesini etkinleştir @@ -796,12 +826,15 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Bu optimizasyon, geçersiz hafıza erişim isteklerine izin vererek genel hafıza erişim hızını artırır.</div> + <div style="white-space: nowrap">Kullanılırsa, bütün hafıza erişim yükünü azaltır. Hatalı hafıza erişimi yapmayan uygulamalar etkilenmez.</div> + Enable fallbacks for invalid memory accesses - + Hatalı hafıza erişimleri için yedeği etkinleştir @@ -894,22 +927,22 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Kullanılırsa, asıl assembler shader dosyaları diskten shader önbelleği ya da oyun bulundukça dump'lanır Dump Game Shaders - + Oyun Shader'larını Dump'la When checked, it will dump all the macro programs of the GPU - + Kullanılırsa, GPU'daki bütün makro uygulamalar dump'lanır Dump Maxwell Macros - + Maxwell Makro'larını Dump'la @@ -922,102 +955,112 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Macro JIT'i devre dışı bırak - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Kullanılırsa makro HLE işlevselliği kapatılır. Bu seçeneği açmak oyunların yavaşlamasına sebep olur + + + + Disable Macro HLE + Makro HLE'yi Kapat + + + When checked, yuzu will log statistics about the compiled pipeline cache Etkinleştirildiğinde, yuzu derlenen pipeline cache istatistiklerini log'a kaydeder. - + Enable Shader Feedback Shader Geribildirimini Etkinleştir - + When checked, it executes shaders without loop logic changes İşaretlendiğinde shaderları döngü mantık değişimleri olmaksızın uygular - + Disable Loop safety checks Döngü güvenliği kontrolünü devre dışı bırak - + Debugging Hata ayıklama - + Enable Verbose Reporting Services** Detaylı Raporlama Hizmetini Etkinleştir - + Enable FS Access Log FS Erişim Kaydını Etkinleştir - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Bu seçenek açıksa son oluşturulan ses komutları konsolda gösterilir. Sadece ses işleyicisi kullanan oyunları etkiler. - + Dump Audio Commands To Console** Konsola Ses Komutlarını Aktar** - + Create Minidump After Crash - + Çöküş Sonrası Küçük Dump Oluştur - + Advanced Gelişmiş - + Kiosk (Quest) Mode Kiosk (Quest) Modu - + Enable CPU Debugging CPU Hata Ayıklama Modu'nu Etkinleştir - + Enable Debug Asserts Hata Ayıklama Assert'lerini Etkinleştir - + Enable Auto-Stub** Auto-Stub'ı Etkinleştir - + Enable All Controller Types Bütün Kontrolcü Türlerini Etkinleştir - + Disable Web Applet Web Uygulamasını Devre Dışı Bırak - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Bu seçenek, program açılırken Vulkan ortam işlevselliğini kontrol etmesini sağlar. Diğer programlar yuzu'yu görmekte sorun yaşıyorsa bu seçeneği kapatın. - + Perform Startup Vulkan Check - + Açılırken Vulkan Taraması Yap - + **This will be reset automatically when yuzu closes. **Bu yuzu kapandığında otomatik olarak eski haline dönecektir. @@ -1032,14 +1075,14 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra yuzu'nun bu ayarı uygulayabilmesi için yeniden başlatılması gereklidir. - + Web applet not compiled - + Web uygulaması derlenmemiş - + MiniDump creation not compiled - + Küçük Dump oluşumu derlenmemiş @@ -1087,78 +1130,78 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra yuzu Yapılandırması - - + + Audio Ses - - + + CPU CPU - + Debug Hata Ayıklama - + Filesystem Dosya sistemi - - + + General Genel - - + + Graphics Grafikler - + GraphicsAdvanced Gelişmiş Grafik Ayarları - + Hotkeys Kısayollar - - + + Controls Kontroller - + Profiles Profiller - + Network - - + + System Sistem - + Game List Oyun Listesi - + Web Web @@ -1333,46 +1376,41 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - Extended memory layout (6GB DRAM) - Artırılmış hafıza düzeni (6GB DRAM) - - - Confirm exit while emulation is running Emülasyon devam ederken çıkışı onaylayın - + Prompt for user on game boot Oyun başlatılırken kullanıcı verisi iste - + Pause emulation when in background Arka plana alındığında emülasyonu duraklat - - Mute audio when in background - Arka plandayken sesi kapat - - - + Hide mouse on inactivity Hareketsizlik durumunda imleci gizle - + + Disable controller applet + + + + Reset All Settings Tüm Ayarları Sıfırla - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Bu seçenek tüm genel ve oyuna özgü ayarları silecektir. Oyun dizinleri, profiller ve giriş profilleri silinmeyecektir. Devam etmek istiyor musunuz? @@ -1411,7 +1449,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + None Yok @@ -1437,216 +1475,269 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: NVDEC emülasyonu: - + No Video Output Video Çıkışı Yok - + CPU Video Decoding CPU Video Decoding - + GPU Video Decoding (Default) GPU Video Decoding (Varsayılan) - + Fullscreen Mode: Tam Ekran Modu: - + Borderless Windowed Kenarlıksız Tam Ekran - + Exclusive Fullscreen Ayrılmış Tam Ekran - + Aspect Ratio: En-Boy Oranı: - + Default (16:9) Varsayılan (16:9) - + Force 4:3 4:3'e Zorla - + Force 21:9 21:9'a Zorla - + Force 16:10 16:10'a Zorla - + Stretch to Window Ekrana Sığdır - + Resolution: Çözünürlük: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [DENEYSEL] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [DENEYSEL] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [DENEYSEL] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Pencereye Uyarlı Filtre: - + Nearest Neighbor En Yakın Komşu Algoritması - + Bilinear Bilinear - + Bicubic Bicubic - + Gaussian Gausyen - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Vulkan'a Özel) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Süper Çözünürlük - + Anti-Aliasing Method: Kenar Yumuşatma Yöntemi: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Evrensel FSR Keskinleştirici Kullan - + Set FSR Sharpness - + FSR Keskinliğini Ayarla - + FSR Sharpness: - + FSR Keskinliği: - + 100% - + 100% - - + + Use global background color Global arka plan rengini kullan - + Set background color: Arka plan rengini ayarla: - + Background Color: Arkaplan Rengi: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly Shaderları, Yalnızca NVIDIA için) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Deneysel, Yalnızca Mesa için) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1671,77 +1762,153 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Kesinlik Düzeyi: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync ekrandaki yırtılmaları önler fakat bazı ekran kartları VSync etkinleştirildiğinde daha düşük performans verebilir. Eğer bir fark görmüyorsanız etkinleştirin. - - - - Use VSync - VSync Kullan - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Asenkronize shader derlemesini aktive eder. Bunu etkinleştirmek takılmaları azaltabilir. Bu özellik deneyseldir. - - - - Use asynchronous shader building (Hack) - Asenkronize shader derlemesini kullan (Hack) - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. - Hızlı GPU Saati'ni etkinleştir. Bu seçenek çoğu oyunu en yüksek gerçek çözünürlükte çalıştırır. + + ASTC recompression: + - Use Fast GPU Time (Hack) - Hızlı GPU Saati Kullan (Hack) + Uncompressed (Best quality) + - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Grafik komutlarını beklerken GPU'nun hızının düşmesini engellemek için arka planda görev yürütür + + + + Force maximum clocks (Vulkan only) + En yüksek hızı zorla (Yalnızca Vulkan için) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Asenkronize ASTC doku çözücüyü aktive eder. Bunu etkinleştirmek takılmaları azaltabilir. Bu özellik deneyseldir. + + + + Decode ASTC textures asynchronously (Hack) + ASTC dokularını asenkronize şekilde çöz (Hack) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Asenkronize shader derlemesini aktive eder. Bunu etkinleştirmek takılmaları azaltabilir. Bu özellik deneyseldir. + + + + Use asynchronous shader building (Hack) + Asenkronize shader derlemesini kullan (Hack) + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + Hızlı GPU Saati'ni etkinleştir. Bu seçenek çoğu oyunu en yüksek gerçek çözünürlükte çalıştırır. + + + + Use Fast GPU Time (Hack) + Hızlı GPU Saati Kullan (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + GPU üreticisine özel pipeline önbelleğini aktive eder. Bu özellik, Vulkan sürücüsünün pipeline önbelleğini depolamadığı zamanlarda shader yüklenme süresini önemli derecede azaltabilir. + + + + Use Vulkan pipeline cache + Vulkan pipeline önbelleği kullan + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Anisotropic Filtering: - + Automatic Otomatik - + Default Varsayılan - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1774,70 +1941,65 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Varsayılana Döndür - + Action İşlem - + Hotkey Kısayol - + Controller Hotkey Kontrolcü Kısayolu - - - + + + Conflicting Key Sequence Tutarsız Anahtar Dizisi - - + + The entered key sequence is already assigned to: %1 Girilen anahtar dizisi zaten %1'e atanmış. - - Home+%1 - Ev+%1 - - - + [waiting] [bekleniyor] - + Invalid Geçersiz - + Restore Default Varsayılana Döndür - + Clear Temizle - + Conflicting Button Sequence - + Tutarsız Tuş Dizisi - + The default button sequence is already assigned to: %1 Varsayılan buton dizisi zaten %1'e atanmış. - + The default key sequence is already assigned to: %1 Varsayılan anahtar dizisi zaten %1'e atanmış. @@ -2129,7 +2291,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Configure Yapılandır @@ -2155,6 +2317,8 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra + + Requires restarting yuzu Yuzu'yu yeniden başlatmayı gerektirir @@ -2174,22 +2338,27 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Kontrolcü navigasyonu - - Enable mouse panning - Mouse ile kaydırmayı etkinleştir + + Enable direct JoyCon driver + Direkt JoyCon sürücüsünü kullan - - Mouse sensitivity - Fare hassasiyeti + + Enable direct Pro Controller driver [EXPERIMENTAL] + Direkt Pro Controller sürücüsünü kullan [DENEYSEL] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Hareket / Dokunmatik @@ -2209,57 +2378,57 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Input Profiles - + Kontrol Profilleri Player 1 Profile - + 1. Oyuncu Profili Player 2 Profile - + 2. Oyuncu Profili Player 3 Profile - + 3. Oyuncu Profili Player 4 Profile - + 4. Oyuncu Profili Player 5 Profile - + 5. Oyuncu Profili Player 6 Profile - + 6. Oyuncu Profili Player 7 Profile - + 7. Oyuncu Profili Player 8 Profile - + 8. Oyuncu Profili Use global input configuration - + Evrensel giriş yapılandırmasını kullan Player %1 profile - + %1 . Oyuncu Profili @@ -2301,7 +2470,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Left Stick Sol Analog @@ -2395,14 +2564,14 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + L L - + ZL ZL @@ -2421,7 +2590,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Plus Artı @@ -2434,15 +2603,15 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - - + + R R - + ZR ZR @@ -2499,236 +2668,257 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Right Stick Sağ Analog - - - - + + Mouse panning + + + + + Configure + Yapılandır + + + + + + Clear Temizle - - - - - + + + + + [not set] [belirlenmedi] - - + + + Invert button Tuşları ters çevir - - + + Toggle button Tuşu Aç/Kapa - - + + Turbo button + Turbo tuşu + + + + Invert axis Ekseni ters çevir - - - + + + Set threshold Alt sınır ayarla - - + + Choose a value between 0% and 100% %0 ve %100 arasında bir değer seçin - + Toggle axis - + Ekseni aç/kapa - + Set gyro threshold + Gyro alt sınırı ayarla + + + + Calibrate sensor - + Map Analog Stick Analog Çubuğu Ayarla - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Tamama bastıktan sonra, joystikinizi önce yatay sonra dikey olarak hareket ettirin. Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak hareket ettirin. - + Center axis - + Ekseni merkezle - - + + Deadzone: %1% Ölü Bölge: %1% - - + + Modifier Range: %1% Düzenleyici Aralığı: %1% - - + + Pro Controller Pro Controller - + Dual Joycons İkili Joyconlar - + Left Joycon Sol Joycon - + Right Joycon Sağ Joycon - + Handheld Handheld - + GameCube Controller GameCube Kontrolcüsü - + Poke Ball Plus Poke Ball Plus - + NES Controller NES Kontrolcüsü - + SNES Controller SNES Kontrolcüsü - + N64 Controller N64 Kontrolcüsü - + Sega Genesis Sega Genesis - + Start / Pause Başlat / Duraklat - + Z Z - + Control Stick Kontrol Çubuğu - + C-Stick C-Çubuğu - + Shake! Salla! - + [waiting] [bekleniyor] - + New Profile Yeni Profil - + Enter a profile name: Bir profil ismi girin: - - + + Create Input Profile Kontrol Profili Oluştur - + The given profile name is not valid! Girilen profil ismi geçerli değil! - + Failed to create the input profile "%1" "%1" kontrol profili oluşturulamadı - + Delete Input Profile Kontrol Profilini Kaldır - + Failed to delete the input profile "%1" "%1" kontrol profili kaldırılamadı - + Load Input Profile Kontrol Profilini Yükle - + Failed to load the input profile "%1" "%1" kontrol profili yüklenemedi - + Save Input Profile Kontrol Profilini Kaydet - + Failed to save the input profile "%1" "%1" kontrol profili kaydedilemedi @@ -2776,7 +2966,7 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har - + Configure Yapılandır @@ -2812,7 +3002,7 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har - + Test Test @@ -2832,81 +3022,156 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Daha Fazlası</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Port numarasında geçersiz karakterler var - + Port has to be in range 0 and 65353 Port 0 ila 65353 aralığında olmalıdır - + IP address is not valid IP adresi geçerli değil - + This UDP server already exists Bu UDP sunucusu zaten var - + Unable to add more than 8 servers 8'den fazla server eklenemez - + Testing Test Ediliyor - + Configuring Yapılandırılıyor - + Test Successful Test Başarılı - + Successfully received data from the server. Bilgi başarıyla sunucudan kaldırıldı. - + Test Failed Test Başarısız - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Serverdan geçerli veri alınamadı.<br>Lütfen sunucunun doğru ayarlandığını ya da adres ve portun doğru olduğunu kontrol edin. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP testi ya da yapılandırılması devrede.<br>Lütfen bitmesini bekleyin. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Varsayılan + + ConfigureNetwork @@ -2983,47 +3248,47 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har Geliştirici - + Add-Ons Eklentiler - + General Genel - + System Sistem - + CPU CPU - + Graphics Grafikler - + Adv. Graphics Gelişmiş Grafikler - + Audio Ses - + Input Profiles - + Kontrol Profilleri - + Properties Özellikler @@ -3202,7 +3467,7 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har Delete this user? All of the user's save data will be deleted. - + Kullanıcıyı silmek istediğinize emin misiniz? Kayıtlı oyun verileri de birlikte silinecek. @@ -3213,7 +3478,8 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har Name: %1 UUID: %2 - + İsim: %1 +UUID: %2 @@ -3225,13 +3491,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Eğer bu kontrolcüyü kullanmak istiyorsanız oyunun doğru düzgün kontrolcüyü algılaması için oyunu açmadan önce oyuncu 1'i sağ kontrolcü ve oyuncu 2'yi çift joycon olarak ayarlayın. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - Ring Sensör Parametreleri + Virtual Ring Sensor Parameters + Sanal Ring Sensör Parametreleri @@ -3251,33 +3517,95 @@ UUID: %2 Ölü Bölge: %0 - + + Direct Joycon Driver + Direkt Joycon Sürücüsü + + + + Enable Ring Input + Ring Girişini Aç + + + + + Enable + + + + + Ring Sensor Value + Ring Sensör Değeri + + + + + Not connected + Bağlantı yok + + + Restore Defaults Varsayılana Döndür - + Clear Temizle - + [not set] [belirlenmedi] - + Invert axis Ekseni ters çevir - - + + Deadzone: %1% Ölü Bölge: %1% - + + Error enabling ring input + Ring giriş hatası + + + + Direct Joycon driver is not enabled + Direkt Joycon sürücüsü açık değil + + + + Configuring + Yapılandırılıyor + + + + The current mapped device doesn't support the ring controller + Atanmış cihaz ring kontrolünü desteklemiyor + + + + The current mapped device doesn't have a ring attached + Atanmış cihaza ring takılı değil + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Beklenmeyen sürücü sonucu %1 + + + [waiting] [bekleniyor] @@ -3582,8 +3910,8 @@ UUID: %2 - English - İngilizce + American English + Amerikan İngilizcesi @@ -3683,57 +4011,22 @@ UUID: %2 Device Name + Cihaz İsmi + + + + Unsafe extended memory layout (8GB DRAM) - - Mono - Mono - - - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - Konsol ID: - - - - Sound output mode - Ses çıkış modu - - - - Regenerate - Yeniden oluştur - - - + System settings are available only when game is not running. Sistem ayarlarına sadece oyun çalışmıyorken erişilebilir. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Bu sanal Switchinizi yeni biriyle değiştirir. Geçerli sanal switchiniz geri getirilemez. Bu oyunlarda beklenmeyen etkilere neden olabilir. Eski bir oyun yapılandırma kayıt dosyası kullanıyorsanız bu başarısız olabilir. Devam? - - - - Warning - Uyarı - - - - Console ID: 0x%1 - Konsol ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Hata: "%1" bölgesi için "%2" geçerli bir dil değil @@ -3802,7 +4095,7 @@ UUID: %2 TAS Yapılandırması - + Select TAS Load Directory... Tas Yükleme Dizini Seçin @@ -4042,7 +4335,7 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne Show Compatibility List - + Uyumluluk Listesini Göster @@ -4052,12 +4345,12 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne Show Size Column - + Boyut Sütununu Göster Show File Types Column - + Dosya Türü Sütununu Göster @@ -4241,7 +4534,7 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne Web Service configuration can only be changed when a public room isn't being hosted. - + Web Sunucu ayarları yalnızca halka açık bir oda sunulmuyorken değiştirilebilir. @@ -4358,7 +4651,7 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne Kontrolcü O1 - + &Controller P1 &Kontrolcü O1 @@ -4371,42 +4664,37 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne Direkt Bağlan - - IP Address - IP Adresi + + Server Address + Sunucu Adresi - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Ana bilgisayarın sunucu adresi</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>Ana bilgisayarın IPv4 adresi</p></body></html> - - - + Port Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Ana bilgisayarın dinlediği port numarası</p></body></html> - + Nickname Lakap - + Password Şifre - + Connect Bağlan @@ -4414,12 +4702,12 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne DirectConnectWindow - + Connecting Bağlanılıyor - + Connect Bağlan @@ -4427,534 +4715,575 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Yuzuyu geliştirmeye yardımcı olmak için </a> anonim veri toplandı. <br/><br/>Kullanım verinizi bizimle paylaşmak ister misiniz? - + Telemetry Telemetri - + Broken Vulkan Installation Detected Bozuk Vulkan Kurulumu Algılandı - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. + Açılışta Vulkan başlatılırken hata. Hata yardımını görüntülemek için <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>buraya tıklayın</a>. + + + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - + Loading Web Applet... Web Uygulaması Yükleniyor... - - + + Disable Web Applet Web Uygulamasını Devre Dışı Bırak - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + Web uygulamasını kapatmak bilinmeyen hatalara neden olabileceğinden dolayı sadece Super Mario 3D All-Stars için kapatılması önerilir. Web uygulamasını kapatmak istediğinize emin misiniz? +(Hata ayıklama ayarlarından tekrar açılabilir) - + The amount of shaders currently being built Şu anda derlenen shader miktarı - + The current selected resolution scaling multiplier. Geçerli seçili çözünürlük ölçekleme çarpanı. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Geçerli emülasyon hızı. %100'den yüksek veya düşük değerler emülasyonun bir Switch'den daha hızlı veya daha yavaş çalıştığını gösterir. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Oyunun şuanda saniye başına kaç kare gösterdiği. Bu oyundan oyuna ve sahneden sahneye değişiklik gösterir. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Bir Switch karesini emüle etmekte geçen zaman, karelimitleme ve v-sync hariç. Tam hız emülasyon için bu en çok 16,67 ms olmalı. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files &Son Dosyaları Temizle - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue &Devam Et - + &Pause &Duraklat - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu şu anda bir oyun çalıştırıyor - - - + Warning Outdated Game Format Uyarı, Eski Oyun Formatı - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Bu oyun için dekonstrükte ROM formatı kullanıyorsunuz, bu fromatın yerine NCA, NAX, XCI ve NSP formatları kullanılmaktadır. Dekonstrükte ROM formatları ikon, üst veri ve güncelleme desteği içermemektedir.<br><br>Yuzu'nun desteklediği çeşitli Switch formatları için<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>Wiki'yi ziyaret edin</a>. Bu mesaj yeniden gösterilmeyecektir. - - + + Error while loading ROM! ROM yüklenirken hata oluştu! - + The ROM format is not supported. Bu ROM biçimi desteklenmiyor. - + An error occurred initializing the video core. Video çekirdeğini başlatılırken bir hata oluştu. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu video çekirdeğini çalıştırırken bir hatayla karşılaştı. Bu sorun genellikle eski GPU sürücüleri sebebiyle ortaya çıkar. Daha fazla detay için lütfen log dosyasına bakın. Log dosyasını incelemeye dair daha fazla bilgi için lütfen bu sayfaya ulaşın: <a href='https://yuzu-emu.org/help/reference/log-files/'>Log dosyası nasıl yüklenir</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. ROM yüklenirken hata oluştu! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Lütfen dosyalarınızı yeniden dump etmek için<a href='https://yuzu-emu.org/help/quickstart/'>yuzu hızlı başlangıç kılavuzu'nu</a> takip edin.<br> Yardım için yuzu wiki</a>veya yuzu Discord'una</a> bakabilirsiniz. - + An unknown error occurred. Please see the log for more details. Bilinmeyen bir hata oluştu. Lütfen daha fazla detay için kütüğe göz atınız. - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Yazılım kapatılıyor... - + Save Data Kayıt Verisi - + Mod Data Mod Verisi - + Error Opening %1 Folder %1 klasörü açılırken hata - - + + Folder does not exist! Klasör mevcut değil! - + Error Opening Transferable Shader Cache Transfer Edilebilir Shader Cache'ini Açarken Bir Hata Oluştu - + Failed to create the shader cache directory for this title. Bu oyun için shader cache konumu oluşturulamadı. - + Error Removing Contents - + İçerik Kaldırma Hatası - + Error Removing Update - + Güncelleme Kaldırma hatası - + Error Removing DLC - + DLC Kaldırma Hatası - + Remove Installed Game Contents? - + Yüklenmiş Oyun İçeriğini Kaldırmak İstediğinize Emin Misiniz? - + Remove Installed Game Update? - + Yüklenmiş Oyun Güncellemesini Kaldırmak İstediğinize Emin Misiniz? - + Remove Installed Game DLC? - + Yüklenmiş DLC'yi Kaldırmak İstediğinize Emin Misiniz? - + Remove Entry Girdiyi Kaldır - - - - - - + + + + + + Successfully Removed Başarıyla Kaldırıldı - + Successfully removed the installed base game. Yüklenmiş oyun başarıyla kaldırıldı. - + The base game is not installed in the NAND and cannot be removed. Asıl oyun NAND'de kurulu değil ve kaldırılamaz. - + Successfully removed the installed update. Yüklenmiş güncelleme başarıyla kaldırıldı. - + There is no update installed for this title. Bu oyun için yüklenmiş bir güncelleme yok. - + There are no DLC installed for this title. Bu oyun için yüklenmiş bir DLC yok. - + Successfully removed %1 installed DLC. %1 yüklenmiş DLC başarıyla kaldırıldı. - + Delete OpenGL Transferable Shader Cache? OpenGL Transfer Edilebilir Shader Cache'ini Kaldırmak İstediğinize Emin Misiniz? - + Delete Vulkan Transferable Shader Cache? Vulkan Transfer Edilebilir Shader Cache'ini Kaldırmak İstediğinize Emin Misiniz? - + Delete All Transferable Shader Caches? Tüm Transfer Edilebilir Shader Cache'leri Kaldırmak İstediğinize Emin Misiniz? - + Remove Custom Game Configuration? Oyuna Özel Yapılandırmayı Kaldırmak İstediğinize Emin Misiniz? - + + Remove Cache Storage? + + + + Remove File Dosyayı Sil - - + + Error Removing Transferable Shader Cache Transfer Edilebilir Shader Cache Kaldırılırken Bir Hata Oluştu - - + + A shader cache for this title does not exist. Bu oyun için oluşturulmuş bir shader cache yok. - + Successfully removed the transferable shader cache. Transfer edilebilir shader cache başarıyla kaldırıldı. - + Failed to remove the transferable shader cache. Transfer edilebilir shader cache kaldırılamadı. - - + + Error Removing Vulkan Driver Pipeline Cache + Vulkan Pipeline Önbelleği Kaldırılırken Hata + + + + Failed to remove the driver pipeline cache. + Sürücü pipeline önbelleği kaldırılamadı. + + + + Error Removing Transferable Shader Caches Transfer Edilebilir Shader Cache'ler Kaldırılırken Bir Hata Oluştu - + Successfully removed the transferable shader caches. Transfer edilebilir shader cacheler başarıyla kaldırıldı. - + Failed to remove the transferable shader cache directory. Transfer edilebilir shader cache konumu kaldırılamadı. - - + + Error Removing Custom Configuration Oyuna Özel Yapılandırma Kaldırılırken Bir Hata Oluştu. - + A custom configuration for this title does not exist. Bu oyun için bir özel yapılandırma yok. - + Successfully removed the custom game configuration. Oyuna özel yapılandırma başarıyla kaldırıldı. - + Failed to remove the custom game configuration. Oyuna özel yapılandırma kaldırılamadı. - - + + RomFS Extraction Failed! RomFS Çıkartımı Başarısız! - + There was an error copying the RomFS files or the user cancelled the operation. RomFS dosyaları kopyalanırken bir hata oluştu veya kullanıcı işlemi iptal etti. - + Full Full - + Skeleton Çerçeve - + Select RomFS Dump Mode RomFS Dump Modunu Seçiniz - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Lütfen RomFS'in nasıl dump edilmesini istediğinizi seçin.<br>"Full" tüm dosyaları yeni bir klasöre kopyalarken <br>"skeleton" sadece klasör yapısını oluşturur. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root %1 konumunda RomFS çıkarmaya yetecek alan yok. Lütfen yer açın ya da Emülasyon > Yapılandırma > Sistem > Dosya Sistemi > Dump konumu kısmından farklı bir çıktı konumu belirleyin. - + Extracting RomFS... RomFS çıkartılıyor... - - + + Cancel İptal - + RomFS Extraction Succeeded! RomFS Çıkartımı Başarılı! - + The operation completed successfully. İşlem başarıyla tamamlandı. - - - - - + + + + + Create Shortcut - + Kısayol Oluştur - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Bu seçenek, şu anki AppImage dosyasının kısayolunu oluşturacak. Uygulama güncellenirse kısayol çalışmayabilir. Devam edilsin mi? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Masaüstünde kısayol oluşturulamadı. "%1" dizini yok. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Uygulamalar menüsünde kısayol oluşturulamadı. "%1" dizini yok ve oluşturulamıyor. - + Create Icon - + Simge Oluştur - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Simge dosyası oluşturulamadı. "%1" dizini yok ve oluşturulamıyor. - + Start %1 with the yuzu Emulator - + yuzu Emülatörü başlatılırken %1 başlatılsın - + Failed to create a shortcut at %1 - + %1 dizininde kısayol oluşturulamadı - + Successfully created a shortcut to %1 - + %1 dizinine kısayol oluşturuldu - + Error Opening %1 %1 Açılırken Bir Hata Oluştu - + Select Directory Klasör Seç - + Properties Özellikler - + The game properties could not be loaded. Oyun özellikleri yüklenemedi. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch Çalıştırılabilir Dosyası (%1);;Tüm Dosyalar (*.*) - + Load File Dosya Aç - + Open Extracted ROM Directory Çıkartılmış ROM klasörünü aç - + Invalid Directory Selected Geçersiz Klasör Seçildi - + The directory you have selected does not contain a 'main' file. Seçtiğiniz klasör bir "main" dosyası içermiyor. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Yüklenilebilir Switch Dosyası (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submissions Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files Dosya Kur - + %n file(s) remaining %n dosya kaldı%n dosya kaldı - + Installing file "%1"... "%1" dosyası kuruluyor... - - + + Install Results Kurulum Sonuçları - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Olası çakışmaları önlemek için oyunları NAND'e yüklememenizi tavsiye ediyoruz. Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın. - + %n file(s) were newly installed %n dosya güncel olarak yüklendi @@ -4962,7 +5291,7 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın. - + %n file(s) were overwritten %n dosyanın üstüne yazıldı @@ -4970,7 +5299,7 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın. - + %n file(s) failed to install %n dosya yüklenemedi @@ -4978,377 +5307,312 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın. - + System Application Sistem Uygulaması - + System Archive Sistem Arşivi - + System Application Update Sistem Uygulama Güncellemesi - + Firmware Package (Type A) Yazılım Paketi (Tür A) - + Firmware Package (Type B) Yazılım Paketi (Tür B) - + Game Oyun - + Game Update Oyun Güncellemesi - + Game DLC Oyun DLC'si - + Delta Title Delta Başlık - + Select NCA Install Type... NCA Kurulum Tipi Seçin... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Lütfen bu NCA dosyası için belirlemek istediğiniz başlık türünü seçiniz: (Çoğu durumda, varsayılan olan 'Oyun' kullanılabilir.) - + Failed to Install Kurulum Başarısız Oldu - + The title type you selected for the NCA is invalid. NCA için seçtiğiniz başlık türü geçersiz - + File not found Dosya Bulunamadı - + File "%1" not found Dosya "%1" Bulunamadı - + OK Tamam - - + + Hardware requirements not met - + Donanım gereksinimleri karşılanmıyor - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Sisteminiz, önerilen donanım gereksinimlerini karşılamıyor. Uyumluluk raporlayıcı kapatıldı. - + Missing yuzu Account Kayıp yuzu Hesabı - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Oyun uyumluluk test çalışması göndermek için öncelikle yuzu hesabınla giriş yapmanız gerekiyor.<br><br/>Yuzu hesabınızla giriş yapmak için, Emülasyon &gt; Yapılandırma &gt; Web'e gidiniz. - + Error opening URL URL açılırken bir hata oluştu - + Unable to open the URL "%1". URL "%1" açılamıyor. - + TAS Recording TAS kayıtta - + Overwrite file of player 1? Oyuncu 1'in dosyasının üstüne yazılsın mı? - + Invalid config detected Geçersiz yapılandırma tespit edildi - + Handheld controller can't be used on docked mode. Pro controller will be selected. Handheld kontrolcü dock modunda kullanılamaz. Pro kontrolcü seçilecek. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Amiibo kaldırıldı - + Error Hata - - + + The current game is not looking for amiibos Aktif oyun amiibo beklemiyor - + Amiibo File (%1);; All Files (*.*) Amiibo Dosyası (%1);; Tüm Dosyalar (*.*) - + Load Amiibo Amiibo Yükle - + Error loading Amiibo data Amiibo verisi yüklenirken hata - + The selected file is not a valid amiibo Seçtiğiniz dosya geçerli bir amiibo değil - + The selected file is already on use Seçtiğiniz dosya hali hazırda kullanılıyor - + An unknown error occurred - + Bilinmeyen bir hata oluştu - + Capture Screenshot Ekran Görüntüsü Al - + PNG Image (*.png) PNG görüntüsü (*.png) - + TAS state: Running %1/%2 TAS durumu: %1%2 çalışıyor - + TAS state: Recording %1 TAS durumu: %1 kaydediliyor - + TAS state: Idle %1/%2 TAS durumu: %1%2 boşta - + TAS State: Invalid TAS durumu: Geçersiz - + &Stop Running &Çalıştırmayı durdur - + &Start &Başlat - + Stop R&ecording K&aydetmeyi Durdur - + R&ecord K&aydet - + Building: %n shader(s) Oluşturuluyor: %n shaderOluşturuluyor: %n shader - + Scale: %1x %1 is the resolution scaling factor Ölçek: %1x - + Speed: %1% / %2% Hız %1% / %2% - + Speed: %1% Hız: %1% - + Game: %1 FPS (Unlocked) Oyun: %1 FPS (Sınırsız) - + Game: %1 FPS Oyun: %1 FPS - + Frame: %1 ms Kare: %1 ms - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU YÜKSEK - - - - GPU EXTREME - GPU EKSTREM - - - - GPU ERROR - GPU HATASI - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - EN YAKIN - - - - - BILINEAR - BILINEAR - - - - BICUBIC - BICUBIC - - - - GAUSSIAN - GAUSYEN - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA AA YOK - - FXAA - FXAA + + VOLUME: MUTE + SES: KAPALI - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + SES: %%1 - + Confirm Key Rederivation Anahtar Yeniden Türetimini Onayla - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5365,37 +5629,37 @@ ve opsiyonel olarak yedekler alın. Bu sizin otomatik oluşturulmuş anahtar dosyalarınızı silecek ve anahtar türetme modülünü tekrar çalıştıracak. - + Missing fuses Anahtarlar Kayıp - + - Missing BOOT0 - BOOT0 Kayıp - + - Missing BCPKG2-1-Normal-Main - BCPKG2-1-Normal-Main Kayıp - + - Missing PRODINFO - PRODINFO Kayıp - + Derivation Components Missing Türeten Bileşenleri Kayıp - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Şifreleme anahtarları eksik. <br>Lütfen takip edin<a href='https://yuzu-emu.org/help/quickstart/'>yuzu hızlı başlangıç kılavuzunu</a>tüm anahtarlarınızı, aygıt yazılımınızı ve oyunlarınızı almada.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5404,39 +5668,49 @@ Bu sistem performansınıza bağlı olarak bir dakika kadar zaman alabilir. - + Deriving Keys Anahtarlar Türetiliyor - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target RomFS Dump Hedefini Seçiniz - + Please select which RomFS you would like to dump. Lütfen dump etmek istediğiniz RomFS'i seçiniz. - + Are you sure you want to close yuzu? yuzu'yu kapatmak istediğinizden emin misiniz? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Emülasyonu durdurmak istediğinizden emin misiniz? Kaydedilmemiş veriler kaybolur. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5444,6 +5718,101 @@ Would you like to bypass this and exit anyway? Görmezden gelip kapatmak ister misiniz? + + + None + Yok + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + Gausyen + + + + ScaleForce + ScaleForce + + + + Docked + Dock Modu Aktif + + + + Handheld + Taşınabilir + + + + Normal + + + + + High + + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5456,7 +5825,7 @@ Görmezden gelip kapatmak ister misiniz? OpenGL shared contexts are not supported. - + OpenGL paylaşılan bağlam desteklenmiyor. @@ -5544,117 +5913,122 @@ Görmezden gelip kapatmak ister misiniz? + Remove Cache Storage + + + + Remove OpenGL Pipeline Cache OpenGL Pipeline Cache'ini Kaldır - + Remove Vulkan Pipeline Cache Vulkan Pipeline Cache'ini Kaldır - + Remove All Pipeline Caches Bütün Pipeline Cache'lerini Kaldır - + Remove All Installed Contents Tüm Yüklenmiş İçeriği Kaldır - + Dump RomFS RomFS Dump Et - + Dump RomFS to SDMC RomFS'i SDMC'ye çıkar. - + Copy Title ID to Clipboard Title ID'yi Panoya Kopyala - + Navigate to GameDB entry GameDB sayfasına yönlendir - - - Create Shortcut - - + Create Shortcut + Kısayol Oluştur + + + Add to Desktop - + Masaüstüne Ekle - + Add to Applications Menu - + Uygulamalar Menüsüne Ekl - + Properties Özellikler - + Scan Subfolders Alt Klasörleri Tara - + Remove Game Directory Oyun Konumunu Kaldır - + ▲ Move Up ▲Yukarı Git - + ▼ Move Down ▼Aşağı Git - + Open Directory Location Oyun Dosyası Konumunu Aç - + Clear Temizle - + Name İsim - + Compatibility Uyumluluk - + Add-ons Eklentiler - + File type Dosya türü - + Size Boyut @@ -5664,12 +6038,12 @@ Görmezden gelip kapatmak ister misiniz? Ingame - + Oyunda Game starts, but crashes or major glitches prevent it from being completed. - + Oyun başlatılabiliyor, fakat bariz hatalardan veya çökme sorunlarından dolayı bitirilemiyor. @@ -5679,17 +6053,17 @@ Görmezden gelip kapatmak ister misiniz? Game can be played without issues. - + Oyun sorunsuz bir şekilde oynanabiliyor. Playable - + Oynanabilir Game functions with minor graphical or audio glitches and is playable from start to finish. - + Oyun küçük grafik veya ses hatalarıyla çalışıyor ve baştan sona kadar oynanabilir. @@ -5699,7 +6073,7 @@ Görmezden gelip kapatmak ister misiniz? Game loads, but is unable to progress past the Start Screen. - + Oyun açılıyor, fakat ana menüden ileri gidilemiyor. @@ -5725,7 +6099,7 @@ Görmezden gelip kapatmak ister misiniz? GameListPlaceholder - + Double-click to add a new folder to the game list Oyun listesine yeni bir klasör eklemek için çift tıklayın. @@ -5738,12 +6112,12 @@ Görmezden gelip kapatmak ister misiniz? %n sonucun %1'i%n sonucun %1'i - + Filter: Filtre: - + Enter pattern to filter Filtrelemek için bir düzen giriniz @@ -5833,138 +6207,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute Sesi Sustur/Aç - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Ana Pencere - + Audio Volume Down Ses Kapa - + Audio Volume Up Ses Aç - + Capture Screenshot Ekran Görüntüsü Al - + Change Adapting Filter Uyarlanan Filtreyi Değiştir - + Change Docked Mode - + Takılı Modu Kullan - + Change GPU Accuracy GPU Doğruluğunu Değiştir - + Continue/Pause Emulation Sürdür/Emülasyonu duraklat - + Exit Fullscreen Tam Ekrandan Çık - + Exit yuzu Yuzu'dan çık - + Fullscreen Tam Ekran - + Load File Dosya Aç - + Load/Remove Amiibo Amiibo Yükle/Kaldır - + Restart Emulation Emülasyonu Yeniden Başlat - + Stop Emulation Emülasyonu Durdur - + TAS Record TAS Kaydet - + TAS Reset TAS Sıfırla - + TAS Start/Stop TAS Başlat/Durdur - + Toggle Filter Bar Filtre Çubuğunu Aç/Kapa - + Toggle Framerate Limit FPS Limitini Aç/Kapa - + Toggle Mouse Panning Mouse ile Kaydırmayı Aç/Kapa - + Toggle Status Bar Durum Çubuğunu Aç/Kapa @@ -5987,7 +6361,7 @@ Debug Message: Kur - + Install Files to NAND NAND'e Dosya Kur @@ -5995,7 +6369,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 Yazı bu karakterleri içeremez: @@ -6070,51 +6444,56 @@ Debug Message: + Hide Empty Rooms + Boş Odaları Gizle + + + Hide Full Rooms Dolu Odaları Gizle - + Refresh Lobby Lobiyi Yenile - + Password Required to Join Katılmak için Gereken Şifre - + Password: Şifre: - + Players Oyuncular - + Room Name Oda Adı - + Preferred Game Tercih Edilen Oyun - + Host Ana bilgisayar - + Refreshing Yenileniyor - + Refresh List Listeyi Yenile @@ -6509,7 +6888,7 @@ Debug Bilgisi: Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded. - + Ana bilgisayara bağlanılamadı. Bağlantı ayarlarının doğru olduğundan emin olun. Hala bağlanamıyorsanız, ana bilgisayar yöneticisiyle iletişime geçip sunucunun doğru ayarlandığından ve dış portun yönlendirildiğinden emin olun. @@ -6652,7 +7031,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE BAŞLAT/DURAKLAT @@ -6701,31 +7080,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [belirlenmedi] @@ -6736,14 +7115,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eksen %1%2 @@ -6754,264 +7133,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [bilinmeyen] - - - + + + Left Sol - - - + + + Right Sağ - - - + + + Down Aşağı - - - + + + Up Yukarı - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Yuvarlak - - + + Cross Çarpı - - + + Square Kare - - + + Triangle Üçgen - - + + Share Share - - + + Options Options - - + + [undefined] [belirsiz] - + %1%2 %1%2 - - + + [invalid] [geçersiz] - - - - + + %1%2Hat %3 %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 %1%2Eksen %3 - - + + %1%2Axis %3,%4,%5 %1%2Eksen %3,%4,%5 - - + + %1%2Motion %3 %1%2Hareket %3 - - - - + + %1%2Button %3 %1%2Tuş %3 - - + + [unused] [kullanılmayan] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + L Çubuğu + + + + Stick R + R Çubuğu + + + + Plus + Artı + + + + Minus + Eksi + + + + Home Home - + + Capture + Kaydet + + + Touch Dokunmatik - + Wheel Indicates the mouse wheel Fare Tekerleği - + Backward Geri - + Forward İleri - + Task - + Görev - + Extra Ekstra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Hat %4 + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 + %1%2%3Tuş %4 @@ -7019,17 +7456,17 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo Ayarları Amiibo Info - + Amiibo Detayları Series - + Seriler @@ -7044,52 +7481,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Amiibo Verisi Custom Name - + Özel İsim Owner - + Sahip Creation Date - + Oluşturulma Tarihi dd/MM/yyyy - + gg/AA/yyyy Modification Date - + Değiştirilme Tarihi dd/MM/yyyy - + gg/AA/yyyy Game Data - + Oyun Verisi Game Id - + Oyun No Mount Amiibo - + Amiibo Tak @@ -7099,32 +7536,32 @@ p, li { white-space: pre-wrap; } File Path - + Dosya Adresi No game data present - + Oyun verisi yok The following amiibo data will be formatted: - + Şu amiibo verisi biçimlendirilecek: The following game data will removed: - + Şu oyun verisi kaldırılacak: Set nickname and owner: - + Kullanıcı adı ve sahip ayarla: Do you wish to restore this amiibo? - + Bu amiibo'yu geri yüklemek istediğinize emin misiniz? @@ -7380,28 +7817,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Hata Kodu: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Bir hata oluştu. Lütfen tekrar deneyin ya da yazılımın geliştiricisiyle iletişime geçin. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. %1 %2'de bir hata oluştu. Lütfen tekrar deneyin ya da yazılımın geliştiricisiyle iletişime geçin. - + An error has occurred. %1 @@ -7425,20 +7862,81 @@ Lütfen tekrar deneyin ya da yazılımın geliştiricisiyle iletişime geçin. - - Select a user: - Kullanıcı Seç: - - - + Users Kullanıcılar - + + Profile Creator + Profil Oluşturucu + + + + Profile Selector Profil Seçici + + + Profile Icon Editor + Profil Simgesi Düzenleyici + + + + Profile Nickname Editor + Profil Kullanıcı İsmi Düzenleyici + + + + Who will receive the points? + Puanları kim kazanacak? + + + + Who is using Nintendo eShop? + Nintendo eShop'u kim kullanıyor? + + + + Who is making this purchase? + Bu satın almayı kim gerçekleştiriyor? + + + + Who is posting? + Gönderiyi kim yapıyor? + + + + Select a user to link to a Nintendo Account. + Nintendo Hesabına bağlanacak bir kullanıcı seçin. + + + + Change settings for which user? + Hangi kullanıcının ayarları değiştirilsin? + + + + Format data for which user? + Hangi kullanıcının verisi biçimlendirilsin? + + + + Which user will be transferred to another console? + Hangi kullanıcı başka bir konsola taşınacak? + + + + Send save data for which user? + Hangi kullanıcı için kayıtlı veri gönderilsin? + + + + Select a user: + Kullanıcı Seç: + QtSoftwareKeyboardDialog @@ -7488,51 +7986,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Çağrı yığını - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - mutex bekleniyor 0x%1 - - - - has waiters: %1 - bekleyenler: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - tüm objeler için bekleniyor - - - - waiting for one of the following objects - bu objeler için bekleniyor - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread hiçbir thread beklemedi @@ -7540,120 +8007,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable çalışabilir - + paused duraklatıldı - + sleeping uyuyor - + waiting for IPC reply IPC cevabı bekleniyor - + waiting for objects objeler bekleniyor - + waiting for condition variable koşul değişkeni bekleniyor - + waiting for address arbiter adres belirleyici bekleniyor - + waiting for suspend resume askıdaki işlemin sürdürülmesi bekleniyor - + waiting bekleniyor - + initialized başlatıldı - + terminated sonlandırıldı - + unknown bilinmeyen - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 çekirdek %1 - + processor = %1 işlemci = %1 - - ideal core = %1 - ideal çekirdek = %1 - - - + affinity mask = %1 affinity mask = %1 - + thread id = %1 izlek id: %1 - + priority = %1(current) / %2(normal) öncelik = %1(geçerli) / %2(normal) - + last running ticks = %1 son çalışan tickler = %1 - - - not waiting for mutex - mutex için beklenmiyor - WaitTreeThreadList - + waited by thread izlek bekledi @@ -7661,7 +8118,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/languages/uk.ts b/dist/languages/uk.ts index 48c77dc80..6c5762e8d 100644 --- a/dist/languages/uk.ts +++ b/dist/languages/uk.ts @@ -36,7 +36,7 @@ p, li { white-space: pre-wrap; } <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Website</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Source Code</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Contributors</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">License</span></a></p></body></html> - <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Веб-сайт</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Вихідний код</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Вкладники</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">Ліцензія</span></a></p></body></html> + <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Веб-сайт</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Першокод</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Вкладники</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">Ліцензія</span></a></p></body></html> @@ -172,7 +172,7 @@ p, li { white-space: pre-wrap; } This would ban both their forum username and their IP address. Ви впевнені що бажаєте <b>вигнати і заблокувати</b> %1? -Ця дія заблокує ім'я користувача на форумі та IP-адресу. +Ця дія заблокує ім'я користувача на форумі та їх IP-адресу. @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - Пристрій виводу + Output Device: + Пристрій відтворення: - Input Device - Пристрій вводу + Input Device: + Пристрій вводу: - + + Sound Output Mode: + Режим відстворення звуку: + + + + Mono + Моно + + + + Stereo + Стерео + + + + Surround + Об'ємний звук + + + Use global volume Використовувати загальну гучність - + Set volume: Встановити гучність: - + Volume: Гучність - + 0 % 0 % - + + Mute audio when in background + Приглушити звук у фоновому режимі + + + %1% Volume percentage (e.g. 50%) %1% @@ -526,7 +551,7 @@ This would ban both their forum username and their IP address. <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - <div>Ця опція підвищує швидкість, зменшуючи точність складених помножених інструкцій на ЦП без підтримки FMA.</div> + <div>Ця опція підвищує швидкість за рахунок зниження точності інструкцій fused-multiply-add на ЦП без вбудованої підтримки FMA.</div> @@ -539,7 +564,9 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - + + <div>Ця опція підвищує швидкість деяких наближених функцій з плаваючою точкою за рахунок використання менш точних нативних наближень</div> + @@ -551,7 +578,9 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - + + <div>Ця опція підвищує швидкість роботи 32-бітних ASIMD-функцій із плаваючою комою, працюючи з неправильними режимами округлення.</div> + @@ -563,7 +592,9 @@ This would ban both their forum username and their IP address. <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - + + <div>Ця опція підвищує швидкість, видаляючи перевірку NaN. Зверніть увагу, що це також знижує точність деяких інструкцій із плаваючою крапкою. </div> + @@ -575,24 +606,28 @@ This would ban both their forum username and their IP address. <div>This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.</div> - + + <div>Ця опція підвищує швидкість за рахунок виключення перевірки безпеки перед кожним читанням/записом пам'яті в гостьовому режимі. Вимкнення цієї опції може дозволити грі читати/записувати пам'ять емулятора.</div> + Disable address space checks - + Вимкнути перевірку адресного простору <div>This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.</div> - + + <div>Ця опція підвищує швидкість, покладаючись тільки на семантику cmpxchg для забезпечення безпеки інструкцій виняткового доступу. Зверніть увагу, що це може призвести до повних зависань та інших умов перегонів.</div> + Ignore global monitor - + Ігнорувати глобальний моніторинг @@ -620,7 +655,7 @@ This would ban both their forum username and their IP address. <html><head/><body><p><span style=" font-weight:600;">For debugging only.</span><br/>If you're not sure what these do, keep all of these enabled. <br/>These settings, when disabled, only take effect when CPU Debugging is enabled. </p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Тільки для налагодження.</span><br/>Якщо ви не впевнені в тому, що вони роблять, залиште всі ці параметри увімкненими. <br/>Коли їх вимкнено, ці параметри набувають чинності лише за увімкненого налагодження ЦП. </p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Тільки для налагодження.</span><br/>Якщо ви не впевнені в тому, що вони роблять, залиште всі ці параметри увімкненими. <br/>Коли їх вимкнено, ці параметри набувають чинності лише за ввімкненого налагодження ЦП. </p></body></html> @@ -629,79 +664,95 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it inlines accesses to PageTable::pointers into emitted code.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.</div> - + + <div style="white-space: nowrap">Ця оптимізація прискорює доступ гостьової програми до пам'яті.</div> + <div style="white-space: nowrap">Увімкнення цієї оптимізації вбудовує доступ до покажчиків PageTable::pointers в емульований код.</div> + <div style="white-space: nowrap">Вимкнення цієї функції змушує всі звернення до пам'яті проходити через функції Memory::Read/Memory::Write.</div> + Enable inline page tables - + Увімкнути вбудовані таблиці сторінок <div>This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.</div> - + + <div>Ця опція дозволяє уникнути запитів диспетчера, дозволяючи випущеним базовим блокам переходити безпосередньо до інших базових блоків, якщо призначений ПК є статичним.</div> + Enable block linking - + Увімкнути зв'язування блоків <div>This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.</div> - + + <div>Ця опція дозволяє уникнути запитів диспетчера шляхом відстеження потенційних адрес повернення інструкцій BL. Це приблизно те, що відбувається з буфером стека повернення на реальному ЦП. </div> + Enable return stack buffer - + Увімкнути буфер стека повернення <div>Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.</div> - + + <div>Увімкнути дворівневу систему диспетчеризації. Швидший диспетчер, написаний на асемблері, має невеликий MRU-кеш, який використовується першим. Якщо це не вдається, система диспетчеризації повертається до повільнішого диспетчера C++.</div> + Enable fast dispatcher - + Увімкнути швидшу систему диспетчеризації <div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div> - + + <div>Вмикає IR-оптимізацію, яка зменшує непотрібні звернення до структури контексту ЦП.</div> + Enable context elimination - + Увімкнути вилучення контексту ЦП <div>Enables IR optimizations that involve constant propagation.</div> - + + <div>Вмикає IR-оптимізацію, яка включає поширення констант.</div> + Enable constant propagation - + Увімкнути постійне поширення <div>Enables miscellaneous IR optimizations.</div> - + + <div>Вмикає різні IR оптимізації.</div> + @@ -714,12 +765,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">When enabled, a misalignment is only triggered when an access crosses a page boundary.</div> <div style="white-space: nowrap">When disabled, a misalignment is triggered on all misaligned accesses.</div> - + + <div style="white-space: nowrap">Якщо ввімкнено, зміщення запускається лише тоді, коли доступ перетинає межу сторінки.</div> + <div style="white-space: nowrap">Якщо вимкнено, зміщення запускається для всіх невирівняних доступів.</div> + Enable misalignment check reduction - + Увімкнути зменшення перевірки зміщення @@ -728,12 +782,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Ця оптимізація прискорює доступ гостьової програми до пам'яті.</div> + <div style="white-space: nowrap"> Увімкнення цієї оптимізації призводить до того, що читання/запис гостьової пам'яті проводиться безпосередньо в пам'ять і використовує MMU хоста.</div> + <div style="white-space: nowrap">Вимкнення цієї функції змушує всі звернення до пам'яті використовувати програмну емуляцію MMU.</div> + Enable Host MMU Emulation (general memory instructions) - + Увімкнути емуляцію MMU хоста (інструкції загальної пам'яті) @@ -742,12 +800,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all exclusive memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Ця оптимізація прискорює доступ гостьової програми до ексклюзивної пам'яті.</div> + <div style="white-space: nowrap">Увімкнення цієї оптимізації призводить до того, що читання/запис в ексклюзивну пам'ять гостя виконується безпосередньо в пам'ять і використовує MMU хоста.</div> + <div style="white-space: nowrap"> Вимкнення цієї функції змушує всі ексклюзивні доступи до пам'яті використовувати емуляцію програмного MMU.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Увімкнути емуляцію MMU хоста (інструкції виняткової пам'яті) @@ -755,12 +817,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up exclusive memory accesses by the guest program.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.</div> - + + <div style="white-space: nowrap">Ця оптимізація прискорює звернення гостьової програми до виняткової пам'яті.</div> + <div style="white-space: nowrap">Її ввімкнення знижує накладні витрати, пов'язані з відмовою fastmem під час доступу до виняткової пам'яті.</div> + Enable recompilation of exclusive memory instructions - + Дозволити перекомпіляцію інструкцій виняткової пам'яті @@ -768,12 +833,15 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.</div> <div style="white-space: nowrap">Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.</div> - + + <div style="white-space: nowrap">Ця оптимізація прискорює звернення до пам'яті, дозволяючи успішне звернення до неприпустимої пам'яті.</div> + <div style="white-space: nowrap">Увімкнення цієї оптимізації знижує накладні витрати на всі звернення до пам'яті та не впливає на програми, які не звертаються до неприпустимої пам'яті.</div> + Enable fallbacks for invalid memory accesses - + Увімкнути запасні варіанти для неприпустимих звернень до пам'яті @@ -856,7 +924,7 @@ This would ban both their forum username and their IP address. When checked, it enables Nsight Aftermath crash dumps - + Якщо ввімкнено, вмикає дампи крашів Nsight Aftermath @@ -876,7 +944,7 @@ This would ban both their forum username and their IP address. When checked, it will dump all the macro programs of the GPU - + Якщо ввімкнено, буде дампити всі макропрограми ГП @@ -886,110 +954,120 @@ This would ban both their forum username and their IP address. When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Якщо увімкнено, макрос компілятор Just In Time вимикається. Якщо ввімкнути це, ігри будуть працювати повільніше + Якщо ввімкнено, вимикає компілятор макросу Just In Time. Увімкнення цього параметра уповільнює роботу ігор Disable Macro JIT - Вимкнути Макрос JIT + Вимкнути макрос JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Якщо прапорець встановлено, він вимикає функції макроса HLE. Увімкнення цього параметра уповільнює роботу ігор + + + + Disable Macro HLE + Вимкнути макрос HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache Якщо увімкнено, yuzu записуватиме статистику про скомпільований кеш конвеєра - + Enable Shader Feedback Увімкнути зворотний зв'язок про шейдери - - - When checked, it executes shaders without loop logic changes - - - - - Disable Loop safety checks - - + When checked, it executes shaders without loop logic changes + Якщо увімкнено, шейдери виконуються без зміни логіки циклу + + + + Disable Loop safety checks + Вимкнути перевірку безпеки циклу + + + Debugging Налагодження - + Enable Verbose Reporting Services** - + Увімкнути службу звітів у розгорнутому вигляді** - + Enable FS Access Log - + Увімкнути журнал доступу до ФС - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Увімкніть це щоб виводити останній згенерирований список аудіо команд в консоль. Впливає лише на ігри, які використовують аудіо рендерер. - + Dump Audio Commands To Console** - + Вивантажувати аудіо команди в консоль** - + Create Minidump After Crash - + Створювати міні-дамп після крашу - + Advanced Розширені - + Kiosk (Quest) Mode Режим кіоску (Квест) - + Enable CPU Debugging Увімкнути налагодження ЦП - + Enable Debug Asserts - + Увімкнути налагоджувальні припущення - + Enable Auto-Stub** - + Увімкнути автопідставку** - + Enable All Controller Types Увімкнути всі типи контролерів - + Disable Web Applet Вимкнути веб-аплет - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. Дозволяє yuzu перевіряти наявність робочого середовища Vulkan під час запуску програми. Вимкніть цю опцію, якщо це викликає проблеми з тим, що зовнішні програми бачать yuzu. - + Perform Startup Vulkan Check Виконувати перевірку Vulkan під час запуску - + **This will be reset automatically when yuzu closes. **Це буде автоматично скинуто після закриття yuzu. @@ -1001,17 +1079,17 @@ This would ban both their forum username and their IP address. yuzu is required to restart in order to apply this setting. - yuzu потрібно перезапустити, щоб застосувати це налаштування. + yuzu необхідно перезапустити, щоб застосувати це налаштування. - + Web applet not compiled Веб-аплет не скомпільовано - + MiniDump creation not compiled - + Створення міні-дампа не скомпільовано @@ -1059,78 +1137,78 @@ This would ban both their forum username and their IP address. Налаштування yuzu - - + + Audio Аудіо - - + + CPU ЦП - + Debug Налагодження - + Filesystem Файлова система - - + + General Загальні - - + + Graphics Графіка - + GraphicsAdvanced ГрафікаРозширені - + Hotkeys Гарячі клавіші - - + + Controls Керування - + Profiles Профілі - + Network Мережа - - + + System Система - + Game List Список ігор - + Web Мережа @@ -1305,46 +1383,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - Розширене компонування пам'яті (6 ГБ DRAM) - - - Confirm exit while emulation is running Підтверджувати вихід під час емуляції - + Prompt for user on game boot Запитувати користувача під час запуску гри - + Pause emulation when in background Призупиняти емуляцію у фоновому режимі - - Mute audio when in background - Приглушити звук у фоновому режимі - - - + Hide mouse on inactivity Приховування миші при бездіяльності - + + Disable controller applet + + + + Reset All Settings Скинути всі налаштування - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Це скине всі налаштування і видалить усі конфігурації під окремі ігри. При цьому не будуть видалені шляхи до ігор, профілів або профілів вводу. Продовжити? @@ -1383,7 +1456,7 @@ This would ban both their forum username and their IP address. - + None Вимкнено @@ -1409,216 +1482,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + Режим верт. синхронізації: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (VSync) не пропускає кадри і не має розривів, але обмежений частотою оновлення екрана. +FIFO Relaxed схожий на FIFO, але може мати розриви під час відновлення після просідань. +Mailbox може мати меншу затримку, ніж FIFO, і не має розривів, але може пропускати кадри. +Моментальний (без синхронізації) просто показує всі кадри і може мати розриви. + + + NVDEC emulation: Емуляція NVDEC: - + No Video Output Відсутність відеовиходу - + CPU Video Decoding Декодування відео на ЦП - + GPU Video Decoding (Default) Декодування відео на ГП (за замовчуванням) - + Fullscreen Mode: Повноекранний режим: - + Borderless Windowed Вікно без рамок - + Exclusive Fullscreen Ексклюзивний повноекранний - + Aspect Ratio: Співвідношення сторін: - + Default (16:9) За замовчуванням (16:9) - + Force 4:3 Змусити 4:3 - + Force 21:9 Змусити 21:9 - + Force 16:10 Змусити 16:10 - + Stretch to Window Розтягнути до вікна - + Resolution: Роздільна здатність: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [ЕКСПЕРИМЕНТАЛЬНЕ] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [ЕКСПЕРИМЕНТАЛЬНЕ] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [ЕКСПЕРИМЕНТАЛЬНО] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: Фільтр адаптації вікна: - + Nearest Neighbor Найближчий сусід - + Bilinear Білінійне - + Bicubic Бікубічне - + Gaussian Гауса - + ScaleForce ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Лише для Vulkan) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: Метод згладжування: - + FXAA FXAA - + SMAA - + SMAA - + Use global FSR Sharpness Використовувати глобальну різкість FSR - + Set FSR Sharpness Встановити різкість FSR - + FSR Sharpness: Різкість FSR: - + 100% 100% - - + + Use global background color Використовувати глобальний фоновий колір - + Set background color: Встановити фоновий колір: - + Background Color: Фоновий колір: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (асемблерні шейдери, лише для NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + SPIR-V (Експериментально, лише для Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + Вимкнено + + + + VSync Off + Верт. синхронізацію вимкнено + + + + Recommended + Рекомендовано + + + + On + Увімкнено + + + + VSync On + Верт. синхронізація увімкнена + ConfigureGraphicsAdvanced @@ -1643,77 +1772,154 @@ This would ban both their forum username and their IP address. Рівень точності: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - Вертикальна синхронізація запобігає розривам екрана, але деякі відеокарти мають нижчу продуктивність при вертикальній синхронізації. Залишайте увімкненим, якщо ви не помічаєте різниці в продуктивності. + + ASTC recompression: + Рекомпресія ASTC: - - Use VSync - Використувати вертикальну сінхронізацію + + Uncompressed (Best quality) + Без стиснення (Найкраща якість) - + + BC1 (Low quality) + ВС1 (Низька якість) + + + + BC3 (Medium quality) + ВС3 (Середня якість) + + + + Enable asynchronous presentation (Vulkan only) + Увімкнути асинхронну презентацію (Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + Виконує роботу у фоновому режимі в очікуванні графічних команд, не даючи змоги ГП знижувати тактову частоту. + + + + Force maximum clocks (Vulkan only) + Примусово змусити максимальну тактову частоту (тільки для Vulkan) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + Включає асинхронне декодування ASTC текстур, що може зменшити зависання під час завантаження. Ця функція є експериментальною. + + + + Decode ASTC textures asynchronously (Hack) + Декодувати ASTC текстури асинхронно (хак) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + Використовує реактивне очищення замість прогнозованого. Це дає змогу точніше синхронізувати пам'ять. + + + + Enable Reactive Flushing + Увімкнути реактивне очищення + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. Вмикає асинхронну компіляцію шейдерів, що зменшить зависання через шейдери. Функція є експериментальною. - + Use asynchronous shader building (Hack) Використовувати асинхронну побудову шейдерів (хак) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. Вмикає функцію Fast GPU Time. Цей параметр змусить більшість ігор працювати в максимальній рідній роздільній здатності. - + Use Fast GPU Time (Hack) - Увімкнути Fast GPU Time (Хак) + Увімкнути Fast GPU Time (хак) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - Вмикає песимістичне очищення буферів. Ця опція змушує промивати немодифіковані буфери, що може знизити продуктивність. + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + Вмикає кеш конвеєра, специфічний для виробника GPU. Ця опція може значно поліпшити час завантаження шейдерів у тих випадках, коли драйвер Vulkan не зберігає внутрішні файли кешу конвеєра. - - Use pessimistic buffer flushes (Hack) - Використовувати песимістичне очищення буферів (Хак) + + Use Vulkan pipeline cache + Використовувати конвеєрний кеш Vulkan - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + Вмикає обчислювальні конвеєри, які обов'язкові для деяких ігор. Цей параметр існує лише для власних драйверів Intel і може призвести до збоїв, якщо його ввімкнути. +Обчислювальні конвеєри завжди увімкнені на всіх інших драйверах. + + + + Enable Compute Pipelines (Intel Vulkan only) + Увімкнути обчислювальні конвеєри (тільки для Intel Vulkan) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Анізотропна фільтрація: - + Automatic Автоматично - + Default За замовчуванням - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1746,70 +1952,65 @@ This would ban both their forum username and their IP address. Відновити значення за замовчуванням. - + Action Дія - + Hotkey Гаряча клавіша - + Controller Hotkey Гаряча клавіша контролера - - - + + + Conflicting Key Sequence Конфліктуюча комбінація клавіш - - + + The entered key sequence is already assigned to: %1 Введена комбінація вже призначена до: %1 - - Home+%1 - Home+%1 - - - + [waiting] [очікування] - + Invalid Неприпустимо - + Restore Default Відновити значення за замовчуванням - + Clear Очистити - + Conflicting Button Sequence Конфліктуюче поєднання кнопок - + The default button sequence is already assigned to: %1 Типова комбінація кнопок вже призначена до: %1 - + The default key sequence is already assigned to: %1 Типова комбінація клавіш вже призначена до: %1 @@ -2101,7 +2302,7 @@ This would ban both their forum username and their IP address. - + Configure Налаштувати @@ -2127,6 +2328,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Потребує перезапуску yuzu @@ -2146,22 +2349,27 @@ This would ban both their forum username and their IP address. Навігація контролера - - Enable mouse panning - Увімкнути панорамування миші + + Enable direct JoyCon driver + Увімкнути прямий драйвер JoyCon - - Mouse sensitivity - Чутливість миші + + Enable direct Pro Controller driver [EXPERIMENTAL] + Увімкнути прямий драйвер Pro Controller [ЕКСПЕРЕМИНТАЛЬНО] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Дозволяє необмежено використовувати один і той самий Amiibo в іграх, які зазвичай дозволяють тільки одне використання. - + + Use random Amiibo ID + Використовувати випадкове Amiibo ID + + + Motion / Touch Рух і сенсор @@ -2181,7 +2389,7 @@ This would ban both their forum username and their IP address. Input Profiles - Профілі Вводу + Профілі вводу @@ -2231,7 +2439,7 @@ This would ban both their forum username and their IP address. Player %1 profile - + Профіль гравця %1 @@ -2273,7 +2481,7 @@ This would ban both their forum username and their IP address. - + Left Stick Лівий міні-джойстик @@ -2367,14 +2575,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2393,7 +2601,7 @@ This would ban both their forum username and their IP address. - + Plus Плюс @@ -2406,15 +2614,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2471,236 +2679,257 @@ This would ban both their forum username and their IP address. - + Right Stick Правий міні-джойстик - - - - + + Mouse panning + + + + + Configure + Налаштувати + + + + + + Clear Очистити - - - - - + + + + + [not set] [не задано] - - + + + Invert button Інвертувати кнопку - - + + Toggle button Переключити кнопку - - + + Turbo button + Турбо кнопка + + + + Invert axis Інвертувати осі - - - + + + Set threshold Встановити поріг - - + + Choose a value between 0% and 100% Оберіть значення між 0% і 100% - + Toggle axis Переключити осі - + Set gyro threshold Встановити поріг гіроскопа - + + Calibrate sensor + Калібрувати сенсор + + + Map Analog Stick Задати аналоговий міні-джойстик - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Після натискання на ОК, рухайте ваш міні-джойстик горизонтально, а потім вертикально. Щоб інвертувати осі, спочатку рухайте ваш міні-джойстик вертикально, а потім горизонтально. - + Center axis Центрувати осі - - + + Deadzone: %1% Мертва зона: %1% - - + + Modifier Range: %1% Діапазон модифікатора: %1% - - + + Pro Controller Контролер Pro - + Dual Joycons Подвійні Joy-Con'и - + Left Joycon Лівий Joy-Con - + Right Joycon Правий Joy-Con - + Handheld Портативний - + GameCube Controller Контролер GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Контролер NES - + SNES Controller Контролер SNES - + N64 Controller Контролер N64 - + Sega Genesis Sega Genesis - + Start / Pause Старт / Пауза - + Z Z - + Control Stick Міні-джойстик керування - + C-Stick C-Джойстик - + Shake! Потрусіть! - + [waiting] [очікування] - + New Profile Новий профіль - + Enter a profile name: Введіть ім'я профілю: - - + + Create Input Profile Створити профіль контролю - + The given profile name is not valid! Задане ім'я профілю недійсне! - + Failed to create the input profile "%1" Не вдалося створити профіль контролю "%1" - + Delete Input Profile Видалити профіль контролю - + Failed to delete the input profile "%1" Не вдалося видалити профіль контролю "%1" - + Load Input Profile Завантажити профіль контролю - + Failed to load the input profile "%1" Не вдалося завантажити профіль контролю "%1" - + Save Input Profile Зберегти профіль контролю - + Failed to save the input profile "%1" Не вдалося зберегти профіль контролю "%1" @@ -2748,7 +2977,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Налаштувати @@ -2784,7 +3013,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Тест @@ -2804,81 +3033,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Дізнатися більше</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Номер порту містить неприпустимі символи - + Port has to be in range 0 and 65353 Порт повинен бути в районі від 0 до 65353 - + IP address is not valid IP-адреса недійсна - + This UDP server already exists Цей UDP сервер уже існує - + Unable to add more than 8 servers Неможливо додати більше 8 серверів - + Testing Тестування - + Configuring Налаштування - + Test Successful Тест успішний - + Successfully received data from the server. Успішно отримано інформацію із сервера - + Test Failed Тест провалено - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Не вдалося отримати дійсні дані з сервера.<br>Переконайтеся, що сервер правильно налаштований, а також перевірте адресу та порт. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. Тест UDP або калібрація в процесі.<br>Будь ласка, зачекайте завершення. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + Увімкнути + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + За замовчуванням + + ConfigureNetwork @@ -2955,47 +3259,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Розробник - + Add-Ons Доповнення - + General Загальні - + System Система - + CPU ЦП - + Graphics Графіка - + Adv. Graphics Розш. Графіка - + Audio Аудіо - + Input Profiles - Профілі Вводу + Профілі вводу - + Properties Властивості @@ -3198,13 +3502,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - Якщо ви хочете використовувати цей контролер, налаштуйте гравця 1 як правий контролер, а гравця 2 як подвійний Joy-Соп перед початком гри, щоб цей контролер був виявлений правильно. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + - Ring Sensor Parameters - Параметри сенсора Ring + Virtual Ring Sensor Parameters + Параметри датчика віртуального Ring @@ -3224,33 +3528,95 @@ UUID: %2 Мертва зона: 0% - + + Direct Joycon Driver + Прямий драйвер Joycon + + + + Enable Ring Input + Увімкнути введення Ring + + + + + Enable + Увімкнути + + + + Ring Sensor Value + Значення датчика Ring + + + + + Not connected + Не під'єднано + + + Restore Defaults За замовчуванням - + Clear Очистити - + [not set] [не задано] - + Invert axis Інвертувати осі - - + + Deadzone: %1% Мертва зона: %1% - + + Error enabling ring input + Помилка під час увімкнення введення кільця + + + + Direct Joycon driver is not enabled + Прямий драйвер Joycon не активний + + + + Configuring + Налаштування + + + + The current mapped device doesn't support the ring controller + Поточний вибраний пристрій не підтримує контролер Ring + + + + The current mapped device doesn't have a ring attached + До поточного пристрою не прикріплено кільце + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + Несподіваний результат драйвера %1 + + + [waiting] [очікування] @@ -3555,8 +3921,8 @@ UUID: %2 - English - Англійська (English) + American English + Американська англійська @@ -3611,32 +3977,32 @@ UUID: %2 British English - Британська Англійська + Британська англійська Canadian French - Канадська Французька + Канадська французька Latin American Spanish - Латиноамериканська Іспанська + Латиноамериканська іспанська Simplified Chinese - Спрощена Китайська + Спрощена китайська Traditional Chinese (正體中文) - Традиційна Китайська (正體中文) + Традиційна китайська (正體中文) Brazilian Portuguese (português do Brasil) - Бразильська Португальська (português do Brasil) + Бразильська португальська (português do Brasil) @@ -3656,57 +4022,22 @@ UUID: %2 Device Name - + Назва пристрою - - Mono - Моно + + Unsafe extended memory layout (8GB DRAM) + Небезпечне розширення компонування пам'яті (8 ГБ DRAM) - - Stereo - Стерео - - - - Surround - Об'ємний звук - - - - Console ID: - Ідентифікатор консолі: - - - - Sound output mode - Режим виводу звуку - - - - Regenerate - Перегенерувати - - - + System settings are available only when game is not running. Налаштування системи доступні тільки тоді, коли гру не запущено. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Це замінить ваш поточний віртуальний Switch новим. Ваш поточний віртуальний Switch буде безповоротно втрачено. Це може мати несподівані наслідки в іграх. Може не спрацювати, якщо ви використовуєте застарілу конфігурацію збережених ігор. Продовжити? - - - - Warning - Увага - - - - Console ID: 0x%1 - Ідентифікатор консолі: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + Увага: мова "%1" не підходить для регіону "%2" @@ -3775,7 +4106,7 @@ UUID: %2 Налаштування TAS - + Select TAS Load Directory... Обрати папку завантаження TAS... @@ -4331,7 +4662,7 @@ Drag points to change position, or double-click table cells to edit values.Контролер P1 - + &Controller P1 [&C] Контролер P1 @@ -4344,42 +4675,37 @@ Drag points to change position, or double-click table cells to edit values.Пряме підключення - - IP Address - IP-адреса + + Server Address + Адреса сервера - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Адреса сервера хоста</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>IPv4 адреса хоста</p></body></html> - - - + Port Порт - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>Номер порту, який прослуховується хостом</p></body></html> - + Nickname Псевдонім - + Password Пароль - + Connect Підключитися @@ -4387,12 +4713,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting Підключення - + Connect Підключитися @@ -4400,535 +4726,575 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Анонімні дані збираються для того,</a> щоб допомогти поліпшити роботу yuzu. <br/><br/>Хотіли б ви ділитися даними про використання з нами? - + Telemetry Телеметрія - + Broken Vulkan Installation Detected Виявлено пошкоджену інсталяцію Vulkan - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. Не вдалося виконати ініціалізацію Vulkan під час завантаження.<br><br>Натисніть <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>тут для отримання інструкцій щодо усунення проблеми</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... Завантаження веб-аплета... - - + + Disable Web Applet Вимкнути веб-аплет - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) Вимкнення веб-апплета може призвести до несподіваної поведінки, і його слід вимикати лише заради Super Mario 3D All-Stars. Ви впевнені, що хочете вимкнути веб-апплет? (Його можна знову ввімкнути в налаштуваннях налагодження.) - + The amount of shaders currently being built Кількість створюваних шейдерів на цей момент - + The current selected resolution scaling multiplier. Поточний обраний множник масштабування роздільної здатності. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Поточна швидкість емуляції. Значення вище або нижче 100% вказують на те, що емуляція йде швидше або повільніше, ніж на Switch. - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Кількість кадрів на секунду в цей момент. Значення буде змінюватися між іграми та сценами. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Час, який потрібен для емуляції 1 кадру Switch, не беручи до уваги обмеження FPS або вертикальну синхронізацію. Для емуляції в повній швидкості значення має бути не більше 16,67 мс. - + + Unmute + Увімкнути звук + + + + Mute + Вимкнути звук + + + + Reset Volume + Скинути гучність + + + &Clear Recent Files [&C] Очистити нещодавні файли - + + Emulated mouse is enabled + Емульована мишка увімкнена + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Введення реальної миші та панорамування мишею несумісні. Будь ласка, вимкніть емульовану мишу в розширених налаштуваннях введення, щоб дозволити панорамування мишею. + + + &Continue [&C] Продовжити - + &Pause [&P] Пауза - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - В yuzu запущено гру - - - + Warning Outdated Game Format Попередження застарілий формат гри - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Для цієї гри ви використовуєте розархівований формат ROM'а, який є застарілим і був замінений іншими, такими як NCA, NAX, XCI або NSP. У розархівованих каталогах ROM'а відсутні іконки, метадані та підтримка оновлень. <br><br>Для отримання інформації про різні формати Switch, підтримувані yuzu, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>перегляньте нашу вікі</a>. Це повідомлення більше не буде відображатися. - - + + Error while loading ROM! Помилка під час завантаження ROM! - + The ROM format is not supported. Формат ROM'а не підтримується. - + An error occurred initializing the video core. Сталася помилка під час ініціалізації відеоядра. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu зіткнувся з помилкою під час запуску відеоядра. Зазвичай це спричинено застарілими драйверами ГП, включно з інтегрованими. Перевірте журнал для отримання більш детальної інформації. Додаткову інформацію про доступ до журналу дивіться на наступній сторінці: <a href='https://yuzu-emu.org/help/reference/log-files/'>Як завантажити файл журналу</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. Помилка під час завантаження ROM'а! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>Будь ласка, дотримуйтесь <a href='https://yuzu-emu.org/help/quickstart/'>короткого керівництва користувача yuzu</a> щоб пере-дампити ваші файли<br>Ви можете звернутися до вікі yuzu</a> або Discord yuzu</a> для допомоги - + An unknown error occurred. Please see the log for more details. Сталася невідома помилка. Будь ласка, перевірте журнал для подробиць. - + (64-bit) (64-бітний) - + (32-bit) (32-бітний) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - + Закриваємо програму... - + Save Data Збереження - + Mod Data Дані модів - + Error Opening %1 Folder Помилка під час відкриття папки %1 - - + + Folder does not exist! Папка не існує! - + Error Opening Transferable Shader Cache Помилка під час відкриття переносного кешу шейдерів - + Failed to create the shader cache directory for this title. Не вдалося створити папку кешу шейдерів для цієї гри. - + Error Removing Contents Помилка під час видалення вмісту - + Error Removing Update Помилка під час видалення оновлень - + Error Removing DLC Помилка під час видалення DLC - + Remove Installed Game Contents? Видалити встановлений вміст ігор? - + Remove Installed Game Update? Видалити встановлені оновлення гри? - + Remove Installed Game DLC? Видалити встановлені DLC гри? - + Remove Entry Видалити запис - - - - - - + + + + + + Successfully Removed Успішно видалено - + Successfully removed the installed base game. Встановлену гру успішно видалено. - + The base game is not installed in the NAND and cannot be removed. Гру не встановлено в NAND і не може буде видалено. - + Successfully removed the installed update. Встановлене оновлення успішно видалено. - + There is no update installed for this title. Для цієї гри не було встановлено оновлення. - + There are no DLC installed for this title. Для цієї гри не було встановлено DLC. - + Successfully removed %1 installed DLC. Встановлений DLC %1 було успішно видалено - + Delete OpenGL Transferable Shader Cache? Видалити переносний кеш шейдерів OpenGL? - + Delete Vulkan Transferable Shader Cache? Видалити переносний кеш шейдерів Vulkan? - + Delete All Transferable Shader Caches? Видалити весь переносний кеш шейдерів? - + Remove Custom Game Configuration? Видалити користувацьке налаштування гри? - + + Remove Cache Storage? + Видалити кеш-сховище? + + + Remove File Видалити файл - - + + Error Removing Transferable Shader Cache Помилка під час видалення переносного кешу шейдерів - - + + A shader cache for this title does not exist. Кеш шейдерів для цієї гри не існує. - + Successfully removed the transferable shader cache. Переносний кеш шейдерів успішно видалено. - + Failed to remove the transferable shader cache. Не вдалося видалити переносний кеш шейдерів. - - + + Error Removing Vulkan Driver Pipeline Cache + Помилка під час видалення конвеєрного кешу Vulkan + + + + Failed to remove the driver pipeline cache. + Не вдалося видалити конвеєрний кеш шейдерів. + + + + Error Removing Transferable Shader Caches Помилка під час видалення переносного кешу шейдерів - + Successfully removed the transferable shader caches. Переносний кеш шейдерів успішно видалено. - + Failed to remove the transferable shader cache directory. Помилка під час видалення папки переносного кешу шейдерів. - - + + Error Removing Custom Configuration Помилка під час видалення користувацького налаштування - + A custom configuration for this title does not exist. Користувацьких налаштувань для цієї гри не існує. - + Successfully removed the custom game configuration. Користувацьке налаштування гри успішно видалено. - + Failed to remove the custom game configuration. Не вдалося видалити користувацьке налаштування гри. - - + + RomFS Extraction Failed! Не вдалося вилучити RomFS! - + There was an error copying the RomFS files or the user cancelled the operation. Сталася помилка під час копіювання файлів RomFS або користувач скасував операцію. - + Full Повний - + Skeleton Скелет - + Select RomFS Dump Mode Виберіть режим дампа RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Будь ласка, виберіть, як ви хочете виконати дамп RomFS <br>Повний скопіює всі файли в нову папку, тоді як <br>скелет створить лише структуру папок. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root В %1 недостатньо вільного місця для вилучення RomFS. Будь ласка, звільніть місце або виберіть іншу папку для дампа в Емуляція > Налаштування > Система > Файлова система > Корінь дампа - + Extracting RomFS... Вилучення RomFS... - - + + Cancel Скасувати - + RomFS Extraction Succeeded! Вилучення RomFS пройшло успішно! - + The operation completed successfully. Операція завершилася успішно. - - - - - + + + + + Create Shortcut - + Створити ярлик - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Це створить ярлик для поточного AppImage. Він може не працювати після оновлень. Продовжити? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Не вдається створити ярлик на робочому столі. Шлях "%1" не існує. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Неможливо створити ярлик у меню додатків. Шлях "%1" не існує і не може бути створений. - + Create Icon - + Створити іконку - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Неможливо створити файл іконки. Шлях "%1" не існує і не може бути створений. - + Start %1 with the yuzu Emulator - + Запустити %1 за допомогою емулятора yuzu - + Failed to create a shortcut at %1 - + Не вдалося створити ярлик у %1 - + Successfully created a shortcut to %1 - + Успішно створено ярлик у %1 - + Error Opening %1 Помилка відкриття %1 - + Select Directory Обрати папку - + Properties Властивості - + The game properties could not be loaded. Не вдалося завантажити властивості гри. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Виконуваний файл Switch (%1);;Усі файли (*.*) - + Load File Завантажити файл - + Open Extracted ROM Directory Відкрити папку вилученого ROM'а - + Invalid Directory Selected Вибрано неприпустиму папку - + The directory you have selected does not contain a 'main' file. Папка, яку ви вибрали, не містить файлу 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Встановлюваний файл Switch (*.nca, *.nsp, *.xci);;Архів контенту Nintendo (*.nca);;Пакет подачі Nintendo (*.nsp);;Образ картриджа NX (*.xci) - + Install Files Встановити файли - + %n file(s) remaining Залишився %n файлЗалишилося %n файл(ів)Залишилося %n файл(ів)Залишилося %n файл(ів) - + Installing file "%1"... Встановлення файлу "%1"... - - + + Install Results Результати встановлення - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. Щоб уникнути можливих конфліктів, ми не рекомендуємо користувачам встановлювати ігри в NAND. Будь ласка, використовуйте цю функцію тільки для встановлення оновлень і завантажуваного контенту. - + %n file(s) were newly installed %n файл було нещодавно встановлено @@ -4938,7 +5304,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) were overwritten %n файл було перезаписано @@ -4948,7 +5314,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n файл не вдалося встановити @@ -4958,377 +5324,312 @@ Please, only use this feature to install updates and DLC. - + System Application Системний додаток - + System Archive Системний архів - + System Application Update Оновлення системного додатку - + Firmware Package (Type A) Пакет прошивки (Тип А) - + Firmware Package (Type B) Пакет прошивки (Тип Б) - + Game Гра - + Game Update Оновлення гри - + Game DLC DLC до гри - + Delta Title Дельта-титул - + Select NCA Install Type... Виберіть тип установки NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Будь ласка, виберіть тип додатку, який ви хочете встановити для цього NCA: (У більшості випадків, підходить стандартний вибір "Гра".) - + Failed to Install Помилка встановлення - + The title type you selected for the NCA is invalid. Тип додатку, який ви вибрали для NCA, недійсний. - + File not found Файл не знайдено - + File "%1" not found Файл "%1" не знайдено - + OK ОК - - + + Hardware requirements not met Не задоволені системні вимоги - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. Ваша система не відповідає рекомендованим системним вимогам. Звіти про сумісність було вимкнено. - + Missing yuzu Account Відсутній обліковий запис yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Щоб надіслати звіт про сумісність гри, необхідно прив'язати свій обліковий запис yuzu. <br><br/>Щоб прив'язати свій обліковий запис yuzu, перейдіть у розділ Емуляція &gt; Параметри &gt; Мережа. - + Error opening URL Помилка під час відкриття URL - + Unable to open the URL "%1". Не вдалося відкрити URL: "%1". - + TAS Recording Запис TAS - + Overwrite file of player 1? Перезаписати файл гравця 1? - + Invalid config detected Виявлено неприпустиму конфігурацію - + Handheld controller can't be used on docked mode. Pro controller will be selected. Портативний контролер не може бути використаний у режимі док-станції. Буде обрано контролер Pro. - - + + Amiibo Amiibo - - + + The current amiibo has been removed Поточний amiibo було прибрано - + Error Помилка - - + + The current game is not looking for amiibos Поточна гра не шукає amiibo - + Amiibo File (%1);; All Files (*.*) Файл Amiibo (%1);; Всі Файли (*.*) - + Load Amiibo Завантажити Amiibo - + Error loading Amiibo data Помилка під час завантаження даних Amiibo - + The selected file is not a valid amiibo Обраний файл не є допустимим amiibo - + The selected file is already on use Обраний файл уже використовується - + An unknown error occurred Виникла невідома помилка - + Capture Screenshot Зробити знімок екрану - + PNG Image (*.png) Зображення PNG (*.png) - + TAS state: Running %1/%2 Стан TAS: Виконується %1/%2 - + TAS state: Recording %1 Стан TAS: Записується %1 - + TAS state: Idle %1/%2 Стан TAS: Простий %1/%2 - + TAS State: Invalid Стан TAS: Неприпустимий - + &Stop Running [&S] Зупинка - + &Start [&S] Почати - + Stop R&ecording [&E] Закінчити запис - + R&ecord [&E] Запис - + Building: %n shader(s) Побудова: %n шейдерПобудова: %n шейдер(ів)Побудова: %n шейдер(ів)Побудова: %n шейдер(ів) - + Scale: %1x %1 is the resolution scaling factor Масштаб: %1x - + Speed: %1% / %2% Швидкість: %1% / %2% - + Speed: %1% Швидкість: %1% - + Game: %1 FPS (Unlocked) Гра: %1 FPS (Необмежено) - + Game: %1 FPS Гра: %1 FPS - + Frame: %1 ms Кадр: %1 мс - - GPU NORMAL - ГП НОРМАЛЬНО + + %1 %2 + %1 %2 - - GPU HIGH - ГП ВИСОКО - - - - GPU EXTREME - ГП ЕКСТРИМ - - - - GPU ERROR - ГП ПОМИЛКА - - - - DOCKED - В ДОК-СТАНЦІЇ - - - - HANDHELD - ПОРТАТИВНИЙ - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - НАЙБЛИЖЧІЙ - - - - - BILINEAR - БІЛІНІЙНИЙ - - - - BICUBIC - БІКУБІЧНИЙ - - - - GAUSSIAN - ГАУС - - - - SCALEFORCE - SCALEFORCE - - - + + FSR FSR - - + NO AA БЕЗ ЗГЛАДЖУВАННЯ - - FXAA - FXAA + + VOLUME: MUTE + ГУЧНІСТЬ: ЗАГЛУШЕНА - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + ГУЧНІСТЬ: %1% - + Confirm Key Rederivation Підтвердіть перерахунок ключа - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5345,37 +5646,37 @@ This will delete your autogenerated key files and re-run the key derivation modu Це видалить ваші автоматично згенеровані файли ключів і повторно запустить модуль розрахунку ключів. - + Missing fuses Відсутні запобіжники - + - Missing BOOT0 - Відсутній BOOT0 - + - Missing BCPKG2-1-Normal-Main - Відсутній BCPKG2-1-Normal-Main - + - Missing PRODINFO - Відсутній PRODINFO - + Derivation Components Missing Компоненти розрахунку відсутні - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> Ключі шифрування відсутні.<br>Будь ласка, дотримуйтесь <a href='https://yuzu-emu.org/help/quickstart/'>короткого керівництва користувача yuzu</a>, щоб отримати всі ваші ключі, прошивку та ігри<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5384,39 +5685,49 @@ on your system's performance. від продуктивності вашої системи. - + Deriving Keys Отримання ключів - + + System Archive Decryption Failed + Не вдалося розшифрувати системний архів + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + Ключі шифрування не змогли розшифрувати прошивку.<br>Будь ласка, дотримуйтесь <a href='https://yuzu-emu.org/help/quickstart/'>короткого керівництва користувача yuzu</a> щоб отримати всі ваші ключі, прошивку та ігри. + + + Select RomFS Dump Target Оберіть ціль для дампа RomFS - + Please select which RomFS you would like to dump. Будь ласка, виберіть, який RomFS ви хочете здампити. - + Are you sure you want to close yuzu? Ви впевнені, що хочете закрити yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Ви впевнені, що хочете зупинити емуляцію? Будь-який незбережений прогрес буде втрачено. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5424,6 +5735,101 @@ Would you like to bypass this and exit anyway? Чи хочете ви обійти це і вийти в будь-якому випадку? + + + None + Вимкнено + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Найближчий + + + + Bilinear + Білінійне + + + + Bicubic + Бікубічне + + + + Gaussian + Гауса + + + + ScaleForce + ScaleForce + + + + Docked + У док-станції + + + + Handheld + Портативний + + + + Normal + Нормальна + + + + High + Висока + + + + Extreme + Екстрим + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5436,7 +5842,7 @@ Would you like to bypass this and exit anyway? OpenGL shared contexts are not supported. - + Загальні контексти OpenGL не підтримуються. @@ -5524,117 +5930,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + Видалити кеш-сховище + + + Remove OpenGL Pipeline Cache Видалити кеш конвеєра OpenGL - + Remove Vulkan Pipeline Cache Видалити кеш конвеєра Vulkan - + Remove All Pipeline Caches Видалити весь кеш конвеєра - + Remove All Installed Contents Видалити весь встановлений вміст - + Dump RomFS Дамп RomFS - + Dump RomFS to SDMC Здампити RomFS у SDMC - + Copy Title ID to Clipboard Скопіювати ідентифікатор додатку в буфер обміну - + Navigate to GameDB entry Перейти до сторінки GameDB - - - Create Shortcut - - + Create Shortcut + Створити ярлик + + + Add to Desktop - + Додати на Робочий стіл - + Add to Applications Menu - + Додати до меню застосунків - + Properties Властивості - + Scan Subfolders Сканувати підпапки - + Remove Game Directory Видалити директорію гри - + ▲ Move Up ▲ Перемістити вверх - + ▼ Move Down ▼ Перемістити вниз - + Open Directory Location Відкрити розташування папки - + Clear Очистити - + Name Назва - + Compatibility Сумісність - + Add-ons Доповнення - + File type Тип файлу - + Size Розмір @@ -5705,7 +6116,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Натисніть двічі, щоб додати нову папку до списку ігор @@ -5718,12 +6129,12 @@ Would you like to bypass this and exit anyway? %1 із %n результат(ів)%1 із %n результат(ів)%1 із %n результат(ів)%1 із %n результат(ів) - + Filter: Пошук: - + Enter pattern to filter Введіть текст для пошуку @@ -5814,138 +6225,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute Увімкнення/вимкнення звуку - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window Основне вікно - + Audio Volume Down Зменшити гучність звуку - + Audio Volume Up Підвищити гучність звуку - + Capture Screenshot Зробити знімок екрану - + Change Adapting Filter Змінити адаптуючий фільтр - + Change Docked Mode Змінити режим консолі - + Change GPU Accuracy Змінити точність ГП - + Continue/Pause Emulation Продовження/Пауза емуляції - + Exit Fullscreen Вийти з повноекранного режиму - + Exit yuzu Вийти з yuzu - + Fullscreen Повний екран - + Load File Завантажити файл - + Load/Remove Amiibo Завантажити/видалити Amiibo - + Restart Emulation Перезапустити емуляцію - + Stop Emulation Зупинити емуляцію - + TAS Record Запис TAS - + TAS Reset Скидання TAS - + TAS Start/Stop Старт/Стоп TAS - + Toggle Filter Bar Переключити панель пошуку - + Toggle Framerate Limit Переключити обмеження частоти кадрів - + Toggle Mouse Panning Переключити панорамування миші - + Toggle Status Bar Переключити панель стану @@ -5968,7 +6379,7 @@ Debug Message: Встановити - + Install Files to NAND Встановити файли в NAND @@ -5976,7 +6387,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 У тексті неприпустимі такі символи: @@ -6051,51 +6462,56 @@ Debug Message: + Hide Empty Rooms + Приховати порожні кімнати + + + Hide Full Rooms Приховати повні кімнати - + Refresh Lobby Оновити фойє - + Password Required to Join Для входу необхідний пароль - + Password: Пароль: - + Players Гравці - + Room Name Назва кімнати - + Preferred Game Переважна гра - + Host Хост - + Refreshing Оновлення - + Refresh List Оновити список @@ -6633,7 +7049,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE СТАРТ/ПАУЗА @@ -6682,31 +7098,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [не задано] @@ -6717,14 +7133,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Ось %1%2 @@ -6735,264 +7151,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [невідомо] - - - + + + Left Вліво - - - + + + Right Вправо - - - + + + Down Вниз - - - + + + Up Вгору - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Start - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle Кружечок - - + + Cross Хрестик - - + + Square Квадратик - - + + Triangle Трикутничок - - + + Share Share - - + + Options Options - - + + [undefined] [невизначено] - + %1%2 %1%2 - - + + [invalid] [неприпустимо] - - - - + + %1%2Hat %3 %1%2Напр. %3 - - - - - - + + + + %1%2Axis %3 %1%2Ось %3 - - + + %1%2Axis %3,%4,%5 %1%2Ось %3,%4,%5 - - + + %1%2Motion %3 %1%2Рух %3 - - - - + + %1%2Button %3 %1%2Кнопка %3 - - + + [unused] [не використаний] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Лівий стік + + + + Stick R + Правий стік + + + + Plus + Плюс + + + + Minus + Мінус + + + + Home Home - + + Capture + Захоплення + + + Touch Сенсор - + Wheel Indicates the mouse wheel Коліщатко - + Backward Назад - + Forward Вперед - + Task Задача - + Extra Додаткова - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Напр. %4 + + + + + %1%2%3Axis %4 + %1%2%3Вісь %4 + + + + + %1%2%3Button %4 + %1%2%3Кнопка %4 @@ -7361,28 +7835,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) Код помилки: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. Сталася помилка. Будь ласка, спробуйте ще раз або зв'яжіться з розробником ПЗ. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. Сталася помилка на %1 у %2. Будь ласка, спробуйте ще раз або зв'яжіться з розробником ПЗ. - + An error has occurred. %1 @@ -7406,20 +7880,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Оберить користувача - - - + Users Користувачі - + + Profile Creator + Творець профілю + + + + Profile Selector Вибір профілю + + + Profile Icon Editor + Редактор іконки профілю + + + + Profile Nickname Editor + Редактор нікнейма профілю + + + + Who will receive the points? + Хто отримуватиме очки? + + + + Who is using Nintendo eShop? + Хто використовує Nintendo eShop? + + + + Who is making this purchase? + Хто здійснює цю покупку? + + + + Who is posting? + Хто публікує? + + + + Select a user to link to a Nintendo Account. + Виберіть користувача для прив'язки до облікового запису Nintendo. + + + + Change settings for which user? + Змінити налаштування для якого користувача? + + + + Format data for which user? + Форматувати дані для якого користувача? + + + + Which user will be transferred to another console? + Який користувач буде переходити на іншу консоль? + + + + Send save data for which user? + Надіслати збереження якому користувачеві? + + + + Select a user: + Оберить користувача + QtSoftwareKeyboardDialog @@ -7469,180 +8004,139 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Стек викликів - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - - - - - has waiters: %1 - - - - - owner handle: 0x%1 - - - - - WaitTreeObjectList - - - waiting for all objects - - - - - waiting for one of the following objects - - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread - + не очікується жодним потоком WaitTreeThread - + runnable - + runnable - + paused - + paused - + sleeping - + sleeping - + waiting for IPC reply - + очікування відповіді IPC - + waiting for objects - + очікування об'єктів - + waiting for condition variable - + waiting for condition variable - + waiting for address arbiter - + waiting for address arbiter - + waiting for suspend resume - + waiting for suspend resume - + waiting - + waiting - + initialized - + initialized - + terminated - + terminated - + unknown - + невідомо - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + ideal - + core %1 - + ядро %1 - + processor = %1 - + процесор = %1 - - ideal core = %1 - - - - + affinity mask = %1 - + маска подібності = %1 - + thread id = %1 - + ідентифікатор потоку = %1 - + priority = %1(current) / %2(normal) - + пріоритет = %1(поточний) / %2(звичайний) - + last running ticks = %1 - - - - - not waiting for mutex - + last running ticks = %1 WaitTreeThreadList - + waited by thread - + очікується потоком WaitTreeWidget - + &Wait Tree [&W] Дерево очікування diff --git a/dist/languages/vi.ts b/dist/languages/vi.ts index 66ba533b8..a9674f644 100644 --- a/dist/languages/vi.ts +++ b/dist/languages/vi.ts @@ -25,12 +25,18 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu là một phần mềm giả lập thử nghiệm mã nguồn mở cho máy Nintendo Switch, được cấp phép theo giấy phép GPLv3.0+.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Bạn không được phép sử dụng phần mềm này cho để chơi game mà bạn kiếm được một cách bất hợp pháp.</span></p></body></html> <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Website</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Source Code</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Contributors</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">License</span></a></p></body></html> - + <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Trang web</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Mã nguồn</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Đóng góp</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/license.txt"><span style=" text-decoration: underline; color:#039be5;">Giấy phép</span></a></p></body></html> @@ -81,90 +87,92 @@ p, li { white-space: pre-wrap; } Send Chat Message - + Gửi tin nhắn Send Message - + Gửi tin nhắn Members - + Thành viên %1 has joined - + %1 đã vô %1 has left - + %1 đã thoát %1 has been kicked - + %1 đã bị kick %1 has been banned - + %1 đã bị ban %1 has been unbanned - + %1 đã được unban View Profile - + Xem hồ sơ Block Player - + Chặn người chơi When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Khi bạn chặn một người chơi, bạn sẽ không còn nhận được tin nhắn từ người chơi đó nữa. Bạn có chắc là muốn chặn %1? Kick - + Kick Ban - + Ban Kick Player - + Kick người chơi Are you sure you would like to <b>kick</b> %1? - + Bạn có chắc là bạn muốn <b>kick</b> %1? Ban Player - + Ban người chơi Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Bạn có chắc là bạn muốn <b>kick và ban</b> %1? + +Điều này sẽ ban tên trên diễn đàn của họ và IP của họ luôn @@ -177,17 +185,17 @@ This would ban both their forum username and their IP address. Room Description - + Nội dung phòng chơi Moderation... - + Quản lý... Leave Room - + Rời khỏi phòng @@ -200,12 +208,12 @@ This would ban both their forum username and their IP address. Disconnected - + Mất kết nối %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 members) - đã kết nối @@ -234,102 +242,102 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Game có chạy lên thành công hay không?</p></body></html> Yes The game starts to output video or audio - + Có Game có xuất ra hình và âm thanh No The game doesn't get past the "Launching..." screen - + Không Game không thể qua khỏi được khúc màn hình "Launching..." Yes The game gets past the intro/menu and into gameplay - + Có Game có thể qua được khúc intro/menu và vô được game No The game crashes or freezes while loading or using the menu - + Không Game crash hoặc đơ khi đang loading hoặc sử dụng menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Game có chạy được tới vô bên trong hay không?</p></body></html> Yes The game works without crashes - + Có Game chạy ổn định, không bị crash No The game crashes or freezes during gameplay - + Không Game crash hoặc đơ trong lúc chơi <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Game chạy có ổn định với không crash, đơ hoặc bị kẹt trong lúc chơi hay không?</p></body></html> Yes The game can be finished without any workarounds - + Có Game có thể hoàn thành mà không cần phải làm gì thêm No The game can't progress past a certain area - + Không Game không thể qua được mốt số khúc <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Game có chơi được từ đầu đến cuối hay không?</p></body></html> Major The game has major graphical errors - + Lỗi nặng Game bị lỗi hình ảnh nặng Minor The game has minor graphical errors - + Lỗi nhẹ Game bị lỗi hình ảnh nhẹ None Everything is rendered as it looks on the Nintendo Switch - + Không lỗi Game nhìn y hệt như trên Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Game có bị lỗi gì về hình ảnh không?</p></body></html> Major The game has major audio errors - + Lỗi nặng Game bị lỗi âm thanh nặng Minor The game has minor audio errors - + Lỗi nhẹ Game bị lỗi âm thanh nhẹ None Audio is played perfectly - + Không lỗi Âm thanh hoạt động hoàn hảo <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Game có bị lỗi âm thanh hay lỗi hiệu ứng hay không?</p></body></html> @@ -372,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - + Output Device: + Đầu ra hệ thống: - Input Device - Thiết bị Nhập + Input Device: + Đầu vào thiết bị: - + + Sound Output Mode: + Chế độ đầu ra âm thanh + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Xung quanh + + + Use global volume Sử dụng âm lượng trong cài đặt - + Set volume: Âm lượng tuỳ chỉnh: - + Volume: Âm lượng: - + 0 % 0 % - + + Mute audio when in background + Tắt âm thanh khi chạy nền + + + %1% Volume percentage (e.g. 50%) %1% @@ -412,37 +445,37 @@ This would ban both their forum username and their IP address. Configure Infrared Camera - + Chỉnh sửa camera hồng ngoại Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - + Chọn hình ảnh từ camera giả lập. Nó có thể là một camera giả hoặc là một camera thật Camera Image Source: - + Camera ảnh gốc: Input device: - + Đầu vào thiết bị: Preview - + Xem trước Resolution: 320*240 - + Độ phân giải: 320*240 Click to preview - + Nhấn để xem @@ -708,7 +741,7 @@ This would ban both their forum username and their IP address. Enable miscellaneous optimizations - + Bật tối ưu hóa tính năng phụ @@ -730,12 +763,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Cái này sẽ tăng tốc độ truy cập bộ nhớ bằng cách truy cập dưới dạng chương trình guest</div> + <div style="white-space: nowrap">Khi bật lên sẽ viết/đọc trực tiếp vô bộ nhớ và sử dụng Host MMU</div> + <div style="white-space: nowrap">Tắt cái này đi sẽ ép mọi phương thức truy cập bộ nhớ đi qua Software MMU Emulation</div> + Enable Host MMU Emulation (general memory instructions) - + Bật Host MMU Emulation (general memory instructions) @@ -895,103 +932,113 @@ This would ban both their forum username and their IP address. Disable Macro JIT Không dùng Macro JIT - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - Enable Shader Feedback + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - When checked, it executes shaders without loop logic changes + + Disable Macro HLE - Disable Loop safety checks + When checked, yuzu will log statistics about the compiled pipeline cache + + + + + Enable Shader Feedback - Debugging - Vá lỗi + When checked, it executes shaders without loop logic changes + - - Enable Verbose Reporting Services** + + Disable Loop safety checks + Debugging + Vá lỗi + + + + Enable Verbose Reporting Services** + + + + Enable FS Access Log - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Nâng Cao - + Kiosk (Quest) Mode - + Enable CPU Debugging Bật Vá Lỗi CPU - + Enable Debug Asserts - + Enable Auto-Stub** - + Enable All Controller Types - + Disable Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. **Sẽ tự động thiết lập lại khi tắt yuzu. @@ -1006,12 +1053,12 @@ This would ban both their forum username and their IP address. - + Web applet not compiled - + MiniDump creation not compiled @@ -1061,78 +1108,78 @@ This would ban both their forum username and their IP address. Thiết lập yuzu - - + + Audio Âm thanh - - + + CPU CPU - + Debug Gỡ lỗi - + Filesystem Hệ thống tệp tin - - + + General Chung - - + + Graphics Đồ hoạ - + GraphicsAdvanced Đồ họa Nâng cao - + Hotkeys Phím tắt - - + + Controls Phím - + Profiles Hồ sơ - + Network Mạng - - + + System Hệ thống - + Game List Danh sách trò chơi - + Web Web @@ -1307,46 +1354,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Xác nhận thoát trong khi đang chạy giả lập - + Prompt for user on game boot Hiển thị cửa sổ chọn người dùng khi bắt đầu trò chơi - + Pause emulation when in background Tạm dừng giả lập khi chạy nền - - Mute audio when in background - - - - + Hide mouse on inactivity Ẩn con trỏ chuột khi không dùng - + + Disable controller applet + + + + Reset All Settings Đặt lại mọi tùy chỉnh - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Quá trình này sẽ thiết lập lại toàn bộ tùy chỉnh và gỡ hết mọi cài đặt cho từng game riêng lẻ. Quá trình này không xóa đường dẫn tới thư mục game, hồ sơ, hay hồ sơ của thiết lập phím. Tiếp tục? @@ -1385,7 +1427,7 @@ This would ban both their forum username and their IP address. - + None Trống @@ -1411,216 +1453,269 @@ This would ban both their forum username and their IP address. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Giả lập NVDEC - + No Video Output Không Video Đầu Ra - + CPU Video Decoding - + GPU Video Decoding (Default) - + Fullscreen Mode: Chế độ Toàn màn hình: - + Borderless Windowed Cửa sổ không viền - + Exclusive Fullscreen Toàn màn hình - + Aspect Ratio: Tỉ lệ khung hình: - + Default (16:9) Mặc định (16:9) - + Force 4:3 Dùng 4:3 - + Force 21:9 Dùng 21:9 - + Force 16:10 - + Dung 16:10 - + Stretch to Window Kéo dãn đến cửa sổ phần mềm - + Resolution: - + 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) + 1X (720p/1080p) + + + + 1.5X (1080p/1620p) [EXPERIMENTAL] - + 2X (1440p/2160p) - + 3X (2160p/3240p) - + 4X (2880p/4320p) - + 5X (3600p/5400p) - + 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: - + Nearest Neighbor - + Nearest Neighbor - + Bilinear - + Bilinear - + Bicubic - + Bicubic - + Gaussian - + ScaleForce - + ScaleForce - + ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: - + FXAA - + FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Dùng màu nền theo cài đặt - + Set background color: Chọn màu nền: - + Background Color: Màu nền: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly Shaders, Chỉ Cho NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1645,77 +1740,153 @@ This would ban both their forum username and their IP address. Độ chính xác: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync tránh cho màn hình bị "xước", tuy nhiên một số cạc đồ hoạ có hiệu năng chậm hơn khi VSync được kích hoạt. Bật chức năng này nếu nó không ảnh hưởng gì đến hiệu năng. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm. - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) - Tăng Tốc Thời Gian GPU (Hack) + Uncompressed (Best quality) + - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm. + + + + Use asynchronous shader building (Hack) + + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + + + + Use Fast GPU Time (Hack) + Tăng Tốc Thời Gian GPU (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Bộ lọc góc nghiêng: - + Automatic - + Default Mặc định - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1748,70 +1919,65 @@ This would ban both their forum username and their IP address. Khôi phục về mặc định - + Action Hành động - + Hotkey Phím tắt - + Controller Hotkey - - - + + + Conflicting Key Sequence Tổ hợp phím bị xung đột - - + + The entered key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 - - Home+%1 - - - - + [waiting] [Chờ] - + Invalid - + Restore Default Khôi phục về mặc định - + Clear Xóa - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 @@ -2103,7 +2269,7 @@ This would ban both their forum username and their IP address. - + Configure Thiết lập @@ -2129,6 +2295,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Phải khởi động lại yuzu @@ -2148,22 +2316,27 @@ This would ban both their forum username and their IP address. - - Enable mouse panning + + Enable direct JoyCon driver - - Mouse sensitivity - Độ nhạy chuột + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Chuyển động / Cảm ứng @@ -2275,7 +2448,7 @@ This would ban both their forum username and their IP address. - + Left Stick Cần trái @@ -2369,14 +2542,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2395,7 +2568,7 @@ This would ban both their forum username and their IP address. - + Plus Cộng @@ -2408,15 +2581,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2473,236 +2646,257 @@ This would ban both their forum username and their IP address. - + Right Stick Cần phải - - - - + + Mouse panning + + + + + Configure + Thiết lập + + + + + + Clear Bỏ trống - - - - - + + + + + [not set] [không đặt] - - + + + Invert button - - + + Toggle button - - + + Turbo button + + + + + Invert axis - - - + + + Set threshold - - + + Choose a value between 0% and 100% Chọn một giá trị giữa 0% và 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Thiết lập Cần Điều Khiển - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Sau khi bấm OK, di chuyển cần sang ngang, rồi sau đó sang dọc. Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần sang dọc trước, rồi sang ngang. - + Center axis - - + + Deadzone: %1% - - + + Modifier Range: %1% - - + + Pro Controller Tay cầm Pro Controller - + Dual Joycons Joycon đôi - + Left Joycon Joycon Trái - + Right Joycon Joycon Phải - + Handheld Cầm tay - + GameCube Controller Tay cầm GameCube - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis - + Start / Pause Bắt đầu / Tạm ngưng - + Z Z - + Control Stick - + C-Stick C-Stick - + Shake! Lắc! - + [waiting] [Chờ] - + New Profile Hồ sơ mới - + Enter a profile name: Nhập tên hồ sơ: - - + + Create Input Profile Tạo Hồ Sơ Phím - + The given profile name is not valid! Tên hồ sơ không hợp lệ! - + Failed to create the input profile "%1" Quá trình tạo hồ sơ phím "%1" thất bại - + Delete Input Profile Xóa Hồ Sơ Phím - + Failed to delete the input profile "%1" Quá trình xóa hồ sơ phím "%1" thất bại - + Load Input Profile Nạp Hồ Sơ Phím - + Failed to load the input profile "%1" Quá trình nạp hồ sơ phím "%1" thất bại - + Save Input Profile Lưu Hồ Sơ Phím - + Failed to save the input profile "%1" Quá trình lưu hồ sơ phím "%1" thất bại @@ -2750,7 +2944,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s - + Configure Thiết lập @@ -2786,7 +2980,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s - + Test Thử nghiệm @@ -2806,81 +3000,156 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Tìm hiểu thêm</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Cổng có kí tự không hợp lệ - + Port has to be in range 0 and 65353 Cổng phải từ 0 đến 65353 - + IP address is not valid Địa chỉ IP không hợp lệ - + This UDP server already exists Server UDP đã tồn tại - + Unable to add more than 8 servers Không thể vượt quá 8 server - + Testing Thử nghiệm - + Configuring Cài đặt - + Test Successful Thử Nghiệm Thành Công - + Successfully received data from the server. Nhận được dữ liệu từ server! - + Test Failed Thử Nghiệm Thất Bại - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Không thể nhận được dữ liệu hợp lệ từ server. <br>Hãy chắc chắn server được thiết lập chính xác, từ địa chỉ lẫn cổng phải được thiết lập đúng. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Mặc định + + ConfigureNetwork @@ -2957,47 +3226,47 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Nhà Phát Hành - + Add-Ons Bổ Sung - + General Chung - + System Hệ thống - + CPU CPU - + Graphics Đồ hoạ - + Adv. Graphics Đồ Họa Nâng Cao - + Audio Âm thanh - + Input Profiles - + Properties Thuộc tính @@ -3199,12 +3468,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3225,33 +3494,95 @@ UUID: %2 - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Khôi phục về mặc định - + Clear Bỏ trống - + [not set] [không đặt] - + Invert axis - - + + Deadzone: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Cài đặt + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [Chờ] @@ -3397,7 +3728,7 @@ UUID: %2 Japan - + Nhật Bản @@ -3512,32 +3843,32 @@ UUID: %2 USA - + Hoa Kỳ Europe - + Châu Âu Australia - + Châu Úc China - + Trung Quốc Korea - + Hàn Quốc Taiwan - + Đài Loan @@ -3556,8 +3887,8 @@ UUID: %2 - English - Tiếng Anh + American English + @@ -3660,54 +3991,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Xung quanh - - - - Console ID: - ID bàn giao tiếp: - - - - Sound output mode - Chế độ đầu ra âm thanh - - - - Regenerate - Tạo mới - - - + System settings are available only when game is not running. Cài đặt hệ thống chỉ khả dụng khi trò chơi không chạy. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Điều này sẽ thay thế Switch ảo hiện tại của bạn bằng một cái mới. Switch ảo hiện tại của bạn sẽ không thể phục hồi lại. Điều này có thể gây ra tác dụng không mong muốn trong trò chơi. Điều này có thể thất bại, nếu thiết lập của bản lưu game đã lỗi thời. Tiếp tục? - - - - Warning - Chú ý - - - - Console ID: 0x%1 - ID của máy: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3735,7 +4031,7 @@ UUID: %2 Settings - + Cài đặt @@ -3776,7 +4072,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -4155,7 +4451,7 @@ Drag points to change position, or double-click table cells to edit values. Settings - + Cài đặt @@ -4331,7 +4627,7 @@ Drag points to change position, or double-click table cells to edit values. - + &Controller P1 @@ -4344,42 +4640,37 @@ Drag points to change position, or double-click table cells to edit values. - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4387,12 +4678,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4400,921 +4691,896 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Dữ liệu ẩn danh được thu thập</a>để hỗ trợ cải thiện yuzu. <br/><br/>Bạn có muốn chia sẽ dữ liệu sử dụng cho chúng tôi? - + Telemetry Viễn trắc - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... - - + + Disable Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Tốc độ giả lập hiện tại. Giá trị cao hơn hoặc thấp hơn 100% chỉ ra giả lập sẽ chạy nhanh hơn hoặc chậm hơn trên máy Switch - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Có bao nhiêu khung hình trên mỗi giây mà trò chơi đang hiển thị. Điều này sẽ thay đổi từ giữa các trò chơi và các khung cảnh khác nhau. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Thời gian mà giả lập lấy từ khung hình Switch, sẽ không kể đến giới hạn khung hình hoặc v-sync. Đối với tốc độ tối đa mà giả lập nhận được nhiều nhất là ở độ khoảng 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue - + &Pause &Tạm dừng - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Chú ý định dạng trò chơi đã lỗi thời - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Bạn đang sử dụng định dạng danh mục ROM giải mã cho trò chơi này, và đó là một định dạng lỗi thời đã được thay thế bởi những thứ khác như NCA, NAX, XCI, hoặc NSP. Danh mục ROM giải mã có thể thiếu các icon, metadata, và hỗ trợ cập nhật.<br><br>Để hiểu thêm về các định dạng khác nhau của Switch mà yuzu hỗ trợ, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>vui lòng kiểm tra trên wiki của chúng tôi</a>. Thông báo này sẽ không hiển thị lại lần sau. - - + + Error while loading ROM! Lỗi xảy ra khi nạp ROM! - + The ROM format is not supported. Định dạng ROM này không hỗ trợ. - + An error occurred initializing the video core. Đã xảy ra lỗi khi khởi tạo lõi đồ hoạ. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. Đã xảy ra lỗi không xác định. Hãy kiểm tra phần báo cáo để biết thêm chi tiết. - + (64-bit) - + (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit - + Closing software... - + Save Data - + Mod Data - + Error Opening %1 Folder Xảy ra lỗi khi mở %1 thư mục - - + + Folder does not exist! Thư mục này không tồn tại! - + Error Opening Transferable Shader Cache - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry - - - - - - + + + + + + Successfully Removed - + Successfully removed the installed base game. - + The base game is not installed in the NAND and cannot be removed. - + Successfully removed the installed update. - + There is no update installed for this title. - + There are no DLC installed for this title. - + Successfully removed %1 installed DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? - + + Remove Cache Storage? + + + + Remove File - - + + Error Removing Transferable Shader Cache - - + + A shader cache for this title does not exist. - + Successfully removed the transferable shader cache. - + Failed to remove the transferable shader cache. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration - + A custom configuration for this title does not exist. - + Successfully removed the custom game configuration. - + Failed to remove the custom game configuration. - - + + RomFS Extraction Failed! Khai thác RomFS không thành công! - + There was an error copying the RomFS files or the user cancelled the operation. Đã xảy ra lỗi khi sao chép tệp tin RomFS hoặc người dùng đã hủy bỏ hoạt động này. - + Full - + Skeleton Sườn - + Select RomFS Dump Mode Chọn chế độ kết xuất RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Vui lòng chọn cách mà bạn muốn RomFS kết xuất.<br>Chế độ Đầy Đủ sẽ sao chép toàn bộ tệp tin vào một danh mục mới trong khi <br>chế độ Sườn chỉ tạo kết cấu danh mục. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Khai thác RomFS... - - + + Cancel Hủy bỏ - + RomFS Extraction Succeeded! Khai thác RomFS thành công! - + The operation completed successfully. Các hoạt động đã hoàn tất thành công. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 - + Select Directory Chọn danh mục - + Properties Thuộc tính - + The game properties could not be loaded. Không thể tải thuộc tính của trò chơi. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Thực thi Switch (%1);;Tất cả tệp tin (*.*) - + Load File Nạp tệp tin - + Open Extracted ROM Directory Mở danh mục ROM đã trích xuất - + Invalid Directory Selected Danh mục đã chọn không hợp lệ - + The directory you have selected does not contain a 'main' file. Danh mục mà bạn đã chọn không có chứa tệp tin 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Những tệp tin Switch cài được (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files - + %n file(s) remaining - + Installing file "%1"... Đang cài đặt tệp tin "%1"... - - + + Install Results - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Ứng dụng hệ thống - + System Archive Hệ thống lưu trữ - + System Application Update Cập nhật hệ thống ứng dụng - + Firmware Package (Type A) Gói phần mềm hệ thống (Loại A) - + Firmware Package (Type B) Gói phần mềm (Loại B) - + Game Trò chơi - + Game Update Cập nhật trò chơi - + Game DLC Nội dung trò chơi có thể tải xuống - + Delta Title Tiêu đề Delta - + Select NCA Install Type... Chọn cách cài đặt NCA... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Vui lòng chọn loại tiêu đề mà bạn muốn cài đặt NCA này: (Trong hầu hết trường hợp, chọn mặc định 'Game' là tốt nhất.) - + Failed to Install Cài đặt đã không thành công - + The title type you selected for the NCA is invalid. Loại tiêu đề NCA mà bạn chọn nó không hợp lệ. - + File not found Không tìm thấy tệp tin - + File "%1" not found Không tìm thấy tệp tin "%1" - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Thiếu tài khoản yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Để gửi trường hợp thử nghiệm trò chơi tương thích, bạn phải liên kết tài khoản yuzu.<br><br/>Để liên kết tải khoản yuzu của bạn, hãy đến Giả lập &gt; Thiết lập &gt; Web. - + Error opening URL - + Unable to open the URL "%1". - + TAS Recording - + Overwrite file of player 1? - + Invalid config detected - + Handheld controller can't be used on docked mode. Pro controller will be selected. - - + + Amiibo - - + + The current amiibo has been removed - + Error - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) Tệp tin Amiibo (%1);; Tất cả tệp tin (*.*) - + Load Amiibo Nạp dữ liệu Amiibo - + Error loading Amiibo data Xảy ra lỗi khi nạp dữ liệu Amiibo - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Chụp ảnh màn hình - + PNG Image (*.png) Hình ảnh PNG (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running - + &Start &Bắt đầu - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Speed: %1% / %2% Tốc độ: %1% / %2% - + Speed: %1% Tốc độ: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Trò chơi: %1 FPS - + Frame: %1 ms Khung hình: %1 ms - - GPU NORMAL + + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - - + NO AA - - FXAA + + VOLUME: MUTE - - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) - + Confirm Key Rederivation Xác nhận mã khóa Rederivation - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5331,37 +5597,37 @@ và phải tạo ra một bản sao lưu lại. Điều này sẽ xóa mã khóa tự động tạo trên tệp tin của bạn và chạy lại mô-đun chiết xuất mã khoá. - + Missing fuses - + - Missing BOOT0 - + - Missing BCPKG2-1-Normal-Main - + - Missing PRODINFO - + Derivation Components Missing - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5370,39 +5636,49 @@ on your system's performance. hệ thống của bạn. - + Deriving Keys Mã khóa xuất phát - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Chọn thư mục để sao chép RomFS - + Please select which RomFS you would like to dump. Vui lòng chọn RomFS mà bạn muốn chiết xuất. - + Are you sure you want to close yuzu? Bạn có chắc chắn muốn đóng yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Bạn có chắc rằng muốn dừng giả lập? Bất kì tiến trình nào chưa được lưu sẽ bị mất. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5410,6 +5686,101 @@ Would you like to bypass this and exit anyway? Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? + + + None + Trống + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + ScaleForce + + + + ScaleForce + ScaleForce + + + + Docked + Chế độ cắm TV + + + + Handheld + Cầm tay + + + + Normal + Trung bình + + + + High + Khỏe + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5510,117 +5881,122 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - + Remove All Installed Contents - + Dump RomFS Kết xuất RomFS - + Dump RomFS to SDMC - + Copy Title ID to Clipboard Sao chép ID tiêu đề vào bộ nhớ tạm - + Navigate to GameDB entry Điều hướng đến mục cơ sở dữ liệu trò chơi - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Thuộc tính - + Scan Subfolders - + Remove Game Directory - + ▲ Move Up - + ▼ Move Down - + Open Directory Location - + Clear Bỏ trống - + Name Tên - + Compatibility Độ tương thích - + Add-ons Tiện ích ngoài - + File type Loại tệp tin - + Size Kích cỡ @@ -5691,7 +6067,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? GameListPlaceholder - + Double-click to add a new folder to the game list @@ -5704,12 +6080,12 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? - + Filter: Bộ lọc: - + Enter pattern to filter Nhập khuôn để lọc @@ -5759,7 +6135,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Room Description - + Nội dung phòng chơi @@ -5799,138 +6175,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Chụp ảnh màn hình - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Toàn màn hình - + Load File Nạp tệp tin - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5953,7 +6329,7 @@ Debug Message: Cài đặt - + Install Files to NAND @@ -5961,7 +6337,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6026,7 +6402,7 @@ Debug Message: Search - + Tìm @@ -6035,51 +6411,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Người chơi - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6551,7 +6932,7 @@ Proceed anyway? Leave Room - + Rời khỏi phòng @@ -6609,7 +6990,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6658,31 +7039,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [chưa đặt nút] @@ -6693,14 +7074,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Trục %1%2 @@ -6711,263 +7092,321 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [không xác định] - - - + + + Left Trái - - - + + + Right Phải - - - + + + Down Xuống - - - + + + Up Lên - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Bắt đầu - - + + L1 - - + + L2 - - + + L3 - - + + R1 - - + + R2 - - + + R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 - - + + [unused] [không sử dụng] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Cộng + + + + Minus + Trừ + + + + Home Home - + + Capture + + + + Touch Cảm Ứng - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 @@ -7337,26 +7776,26 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + An error has occurred. %1 @@ -7376,20 +7815,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Chọn một người dùng: - - - + Users Người Dùng - + + Profile Creator + + + + + Profile Selector Chọn hồ sơ + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Chọn một người dùng: + QtSoftwareKeyboardDialog @@ -7435,51 +7935,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Chùm cuộc gọi - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - chờ đợi loại trừ lẫn nhau 0x%1 - - - - has waiters: %1 - có chờ đợi: %1 - - - - owner handle: 0x%1 - chủ điều khiển: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - chờ đợi toàn bộ đối tượng - - - - waiting for one of the following objects - chờ đợi một đối tượng đang theo dõi - - WaitTreeSynchronizationObject - - [%1] %2 %3 + + [%1] %2 - + waited by no thread chờ đợi bởi vì không có luồng @@ -7487,120 +7956,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused tạm dừng - + sleeping ngủ - + waiting for IPC reply đang đợi IPC phản hồi - + waiting for objects đang đợi đối tượng - + waiting for condition variable - + waiting for address arbiter chờ đợi địa chỉ người đứng giữa - + waiting for suspend resume - + waiting - + initialized - + terminated - + unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + core %1 lõi %1 - + processor = %1 bộ xử lý = %1 - - ideal core = %1 - lõi lý tưởng = %1 - - - + affinity mask = %1 che đậy tánh giống nhau = %1 - + thread id = %1 id luồng = %1 - + priority = %1(current) / %2(normal) quyền ưu tiên = %1(hiện tại) / %2(bình thường) - + last running ticks = %1 các tick chạy cuối cùng = %1 - - - not waiting for mutex - không đợi mutex - WaitTreeThreadList - + waited by thread đợi vì luồng @@ -7608,7 +8067,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/vi_VN.ts b/dist/languages/vi_VN.ts index a4a8e8b8a..4c5961689 100644 --- a/dist/languages/vi_VN.ts +++ b/dist/languages/vi_VN.ts @@ -25,12 +25,18 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">yuzu là một phần mềm giả lập thử nghiệm mã nguồn mở cho máy Nintendo Switch, được cấp phép theo giấy phép GPLv3.0+.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Bạn không được phép sử dụng phần mềm này cho để chơi game mà bạn kiếm được một cách bất hợp pháp.</span></p></body></html> <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Website</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Source Code</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Contributors</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt"><span style=" text-decoration: underline; color:#039be5;">License</span></a></p></body></html> - + <html><head/><body><p><a href="https://yuzu-emu.org/"><span style=" text-decoration: underline; color:#039be5;">Trang web</span></a> | <a href="https://github.com/yuzu-emu"><span style=" text-decoration: underline; color:#039be5;">Mã nguồn</span></a> | <a href="https://github.com/yuzu-emu/yuzu/graphs/contributors"><span style=" text-decoration: underline; color:#039be5;">Đóng góp</span></a> | <a href="https://github.com/yuzu-emu/yuzu/blob/master/license.txt"><span style=" text-decoration: underline; color:#039be5;">Giấy phép</span></a></p></body></html> @@ -81,90 +87,92 @@ p, li { white-space: pre-wrap; } Send Chat Message - + Tin nhắn Send Message - + Gửi tin nhắn Members - + Thành viên %1 has joined - + %1 đã vô %1 has left - + %1 đã thoát %1 has been kicked - + %1 đã bị kick %1 has been banned - + %1 đã bị ban %1 has been unbanned - + %1 đã được unban View Profile - + Xem hồ sơ Block Player - + Chặn người chơi When you block a player, you will no longer receive chat messages from them.<br><br>Are you sure you would like to block %1? - + Khi bạn chặn một người chơi, bạn sẽ không còn nhận được tin nhắn từ người chơi đó nữa.<br><br>Bạn có chắc là muốn chặn %1? Kick - + Kick Ban - + Ban Kick Player - + Kick người chơi Are you sure you would like to <b>kick</b> %1? - + Bạn có chắc là bạn muốn <b>kick</b> %1? Ban Player - + Ban người chơi Are you sure you would like to <b>kick and ban</b> %1? This would ban both their forum username and their IP address. - + Bạn có chắc là bạn muốn <b>kick và ban</b> %1? + +Điều này sẽ ban tên trên diễn đàn của họ và IP của họ luôn @@ -177,17 +185,17 @@ This would ban both their forum username and their IP address. Room Description - + Nội dung phòng chơi Moderation... - + Quản lý... Leave Room - + Rời khỏi phòng @@ -200,12 +208,12 @@ This would ban both their forum username and their IP address. Disconnected - + Mất kết nối %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 members) - đã kết nối @@ -234,102 +242,102 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game boot?</p></body></html> - + <html><head/><body><p>Game có chạy lên thành công hay không?</p></body></html> Yes The game starts to output video or audio - + Có Game có xuất ra hình và âm thanh No The game doesn't get past the "Launching..." screen - + Không Game không thể qua khỏi được khúc màn hình "Launching..." Yes The game gets past the intro/menu and into gameplay - + Có Game có thể qua được khúc intro/menu và vô được game No The game crashes or freezes while loading or using the menu - + Không Game crash hoặc đơ khi đang loading hoặc sử dụng menu <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Game có chạy được tới vô bên trong hay không?</p></body></html> Yes The game works without crashes - + Có Game chạy ổn định, không bị crash No The game crashes or freezes during gameplay - + Không Game crash hoặc đơ trong lúc chơi <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Game chạy có ổn định với không crash, đơ hoặc bị kẹt trong lúc chơi hay không?</p></body></html> Yes The game can be finished without any workarounds - + Có Game có thể hoàn thành mà không cần phải làm gì thêm No The game can't progress past a certain area - + Không Game không thể qua được mốt số khúc <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Game có chơi được từ đầu đến cuối hay không?</p></body></html> Major The game has major graphical errors - + Lỗi nặng Game bị lỗi hình ảnh nặng Minor The game has minor graphical errors - + Lỗi nhẹ Game bị lỗi hình ảnh nhẹ None Everything is rendered as it looks on the Nintendo Switch - + Không lỗi Game nhìn y hệt như trên Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p>Game có bị lỗi gì về hình ảnh không?</p></body></html> Major The game has major audio errors - + Lỗi nặng Game bị lỗi âm thanh nặng Minor The game has minor audio errors - + Lỗi nhẹ Game bị lỗi âm thanh nhẹ None Audio is played perfectly - + Không lỗi Âm thanh hoạt động hoàn hảo <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Game có bị lỗi âm thanh hay lỗi hiệu ứng hay không?</p></body></html> @@ -372,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - + Output Device: + Đầu ra thiết bị: - Input Device - Thiết bị Nhập + Input Device: + Đầu vào thiết bị: - + + Sound Output Mode: + Chế độ đầu ra âm thanh + + + + Mono + Mono + + + + Stereo + Stereo + + + + Surround + Surround + + + Use global volume Sử dụng âm lượng trong cài đặt - + Set volume: Âm lượng tuỳ chỉnh: - + Volume: Âm lượng: - + 0 % 0 % - + + Mute audio when in background + Tắt âm thanh khi chạy nền + + + %1% Volume percentage (e.g. 50%) %1% @@ -412,37 +445,37 @@ This would ban both their forum username and their IP address. Configure Infrared Camera - + Chỉnh sửa camera hồng ngoại Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - + Chọn hình ảnh từ camera giả lập. Nó có thể là một camera giả hoặc là một camera thật Camera Image Source: - + Camera ảnh gốc: Input device: - + Đầu vào thiết bị: Preview - + Xem trước Resolution: 320*240 - + Độ phân giải: 320*240 Click to preview - + Nhấn để xem @@ -708,7 +741,7 @@ This would ban both their forum username and their IP address. Enable miscellaneous optimizations - + Bật tối ưu hóa tính năng phụ @@ -730,12 +763,16 @@ This would ban both their forum username and their IP address. <div style="white-space: nowrap">Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.</div> <div style="white-space: nowrap">Disabling this forces all memory accesses to use Software MMU Emulation.</div> - + + <div style="white-space: nowrap">Cái này sẽ tăng tốc độ truy cập bộ nhớ bằng cách truy cập dưới dạng chương trình guest</div> + <div style="white-space: nowrap">Khi bật lên sẽ viết/đọc trực tiếp vô bộ nhớ và sử dụng Host MMU</div> + <div style="white-space: nowrap">Tắt cái này đi sẽ ép mọi phương thức truy cập bộ nhớ đi qua Software MMU Emulation</div> + Enable Host MMU Emulation (general memory instructions) - + Bật Host MMU Emulation (general memory instructions) @@ -895,103 +932,113 @@ This would ban both their forum username and their IP address. Disable Macro JIT Không dùng Macro JIT - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - Enable Shader Feedback + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - When checked, it executes shaders without loop logic changes + + Disable Macro HLE - Disable Loop safety checks + When checked, yuzu will log statistics about the compiled pipeline cache + + + + + Enable Shader Feedback - Debugging - Vá lỗi + When checked, it executes shaders without loop logic changes + - - Enable Verbose Reporting Services** + + Disable Loop safety checks + Debugging + Vá lỗi + + + + Enable Verbose Reporting Services** + + + + Enable FS Access Log - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + Dump Audio Commands To Console** - + Create Minidump After Crash - + Advanced Nâng Cao - + Kiosk (Quest) Mode - + Enable CPU Debugging Bật Vá Lỗi CPU - + Enable Debug Asserts - + Enable Auto-Stub** - + Enable All Controller Types - + Disable Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. - + Perform Startup Vulkan Check - + **This will be reset automatically when yuzu closes. **Sẽ tự động thiết lập lại khi tắt yuzu. @@ -1006,12 +1053,12 @@ This would ban both their forum username and their IP address. - + Web applet not compiled - + MiniDump creation not compiled @@ -1061,78 +1108,78 @@ This would ban both their forum username and their IP address. Thiết lập yuzu - - + + Audio Âm thanh - - + + CPU CPU - + Debug Gỡ lỗi - + Filesystem Hệ thống tệp tin - - + + General Chung - - + + Graphics Đồ hoạ - + GraphicsAdvanced Đồ họa Nâng cao - + Hotkeys Phím tắt - - + + Controls Phím - + Profiles Hồ sơ - + Network Mạng - - + + System Hệ thống - + Game List Danh sách trò chơi - + Web Web @@ -1307,46 +1354,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - - - - Confirm exit while emulation is running Xác nhận thoát trong khi đang chạy giả lập - + Prompt for user on game boot Hiển thị cửa sổ chọn người dùng khi bắt đầu trò chơi - + Pause emulation when in background Tạm dừng giả lập khi chạy nền - - Mute audio when in background - - - - + Hide mouse on inactivity Ẩn con trỏ chuột khi không dùng - + + Disable controller applet + + + + Reset All Settings Đặt lại mọi tùy chỉnh - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? Quá trình này sẽ thiết lập lại toàn bộ tùy chỉnh và gỡ hết mọi cài đặt cho từng game riêng lẻ. Quá trình này không xóa đường dẫn tới thư mục game, hồ sơ, hay hồ sơ của thiết lập phím. Tiếp tục? @@ -1385,7 +1427,7 @@ This would ban both their forum username and their IP address. - + None Trống @@ -1411,216 +1453,269 @@ This would ban both their forum username and their IP address. + VSync Mode: + + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + + + + NVDEC emulation: Giả lập NVDEC - + No Video Output Không Video Đầu Ra - + CPU Video Decoding - + GPU Video Decoding (Default) - + Fullscreen Mode: Chế độ Toàn màn hình: - + Borderless Windowed Cửa sổ không viền - + Exclusive Fullscreen Toàn màn hình - + Aspect Ratio: Tỉ lệ khung hình: - + Default (16:9) Mặc định (16:9) - + Force 4:3 Dùng 4:3 - + Force 21:9 Dùng 21:9 - + Force 16:10 - + Dung 16:10 - + Stretch to Window Kéo dãn đến cửa sổ phần mềm - + Resolution: - + 0.5X (360p/540p) [EXPERIMENTAL] - + 0.75X (540p/810p) [EXPERIMENTAL] - + 1X (720p/1080p) + 1X (720p/1080p) + + + + 1.5X (1080p/1620p) [EXPERIMENTAL] - + 2X (1440p/2160p) - + 3X (2160p/3240p) - + 4X (2880p/4320p) - + 5X (3600p/5400p) - + 6X (4320p/6480p) - + + 7X (5040p/7560p) + + + + + 8X (5760p/8640p) + + + + Window Adapting Filter: - + Nearest Neighbor - + Nearest Neighbor - + Bilinear - + Bilinear - + Bicubic - + Bicubic - + Gaussian - + ScaleForce - + ScaleForce - + ScaleForce - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ Super Resolution - + Anti-Aliasing Method: - + FXAA - + FXAA - + SMAA - + SMAA - + Use global FSR Sharpness - + Set FSR Sharpness - + FSR Sharpness: - + 100% - - + + Use global background color Dùng màu nền theo cài đặt - + Set background color: Chọn màu nền: - + Background Color: Màu nền: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM (Assembly Shaders, Chỉ Cho NVIDIA) - + SPIR-V (Experimental, Mesa Only) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + + + + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + + ConfigureGraphicsAdvanced @@ -1645,77 +1740,153 @@ This would ban both their forum username and their IP address. Độ chính xác: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - VSync tránh cho màn hình bị "xước", tuy nhiên một số cạc đồ hoạ có hiệu năng chậm hơn khi VSync được kích hoạt. Bật chức năng này nếu nó không ảnh hưởng gì đến hiệu năng. - - - - Use VSync - - - - - Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. - Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm. - - - - Use asynchronous shader building (Hack) - - - - - Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + ASTC recompression: - Use Fast GPU Time (Hack) - Tăng Tốc Thời Gian GPU (Hack) + Uncompressed (Best quality) + - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. + + BC1 (Low quality) - Use pessimistic buffer flushes (Hack) + BC3 (Medium quality) - + + Enable asynchronous presentation (Vulkan only) + + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + + + + + Force maximum clocks (Vulkan only) + + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + + + + + Decode ASTC textures asynchronously (Hack) + + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + + + + + Enable Reactive Flushing + + + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. + Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm. + + + + Use asynchronous shader building (Hack) + + + + + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. + + + + + Use Fast GPU Time (Hack) + Tăng Tốc Thời Gian GPU (Hack) + + + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + + + + + Use Vulkan pipeline cache + + + + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + + + + + Enable Compute Pipelines (Intel Vulkan only) + + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + + + + + Sync to framerate of video playback + + + + + Improves rendering of transparency effects in specific games. + + + + + Barrier feedback loops + + + + Anisotropic Filtering: Bộ lọc góc nghiêng: - + Automatic - + Default Mặc định - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1748,70 +1919,65 @@ This would ban both their forum username and their IP address. Khôi phục về mặc định - + Action Hành động - + Hotkey Phím tắt - + Controller Hotkey - - - + + + Conflicting Key Sequence Tổ hợp phím bị xung đột - - + + The entered key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 - - Home+%1 - - - - + [waiting] [Chờ] - + Invalid - + Restore Default Khôi phục về mặc định - + Clear Xóa - + Conflicting Button Sequence - + The default button sequence is already assigned to: %1 - + The default key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 @@ -2103,7 +2269,7 @@ This would ban both their forum username and their IP address. - + Configure Thiết lập @@ -2129,6 +2295,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Phải khởi động lại yuzu @@ -2148,22 +2316,27 @@ This would ban both their forum username and their IP address. - - Enable mouse panning + + Enable direct JoyCon driver - - Mouse sensitivity - Độ nhạy chuột + + Enable direct Pro Controller driver [EXPERIMENTAL] + - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + - + + Use random Amiibo ID + + + + Motion / Touch Chuyển động / Cảm ứng @@ -2275,7 +2448,7 @@ This would ban both their forum username and their IP address. - + Left Stick Cần trái @@ -2369,14 +2542,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2395,7 +2568,7 @@ This would ban both their forum username and their IP address. - + Plus Cộng @@ -2408,15 +2581,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2473,236 +2646,257 @@ This would ban both their forum username and their IP address. - + Right Stick Cần phải - - - - + + Mouse panning + + + + + Configure + Cài đặt + + + + + + Clear Bỏ trống - - - - - + + + + + [not set] [không đặt] - - + + + Invert button - - + + Toggle button - - + + Turbo button + + + + + Invert axis - - - + + + Set threshold - - + + Choose a value between 0% and 100% Chọn một giá trị giữa 0% và 100% - + Toggle axis - + Set gyro threshold - + + Calibrate sensor + + + + Map Analog Stick Thiết lập Cần Điều Khiển - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. Sau khi bấm OK, di chuyển cần sang ngang, rồi sau đó sang dọc. Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần sang dọc trước, rồi sang ngang. - + Center axis - - + + Deadzone: %1% - - + + Modifier Range: %1% - - + + Pro Controller Tay cầm Pro Controller - + Dual Joycons Joycon đôi - + Left Joycon Joycon Trái - + Right Joycon Joycon Phải - + Handheld Cầm tay - + GameCube Controller Tay cầm GameCube - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis - + Start / Pause Bắt đầu / Tạm ngưng - + Z Z - + Control Stick - + C-Stick C-Stick - + Shake! Lắc! - + [waiting] [Chờ] - + New Profile Hồ sơ mới - + Enter a profile name: Nhập tên hồ sơ: - - + + Create Input Profile Tạo Hồ Sơ Phím - + The given profile name is not valid! Tên hồ sơ không hợp lệ! - + Failed to create the input profile "%1" Quá trình tạo hồ sơ phím "%1" thất bại - + Delete Input Profile Xóa Hồ Sơ Phím - + Failed to delete the input profile "%1" Quá trình xóa hồ sơ phím "%1" thất bại - + Load Input Profile Nạp Hồ Sơ Phím - + Failed to load the input profile "%1" Quá trình nạp hồ sơ phím "%1" thất bại - + Save Input Profile Lưu Hồ Sơ Phím - + Failed to save the input profile "%1" Quá trình lưu hồ sơ phím "%1" thất bại @@ -2750,7 +2944,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s - + Configure Cài đặt @@ -2786,7 +2980,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s - + Test Thử nghiệm @@ -2806,81 +3000,156 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">Tìm hiểu thêm</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters Cổng có kí tự không hợp lệ - + Port has to be in range 0 and 65353 Cổng phải từ 0 đến 65353 - + IP address is not valid Địa chỉ IP không hợp lệ - + This UDP server already exists Server UDP đã tồn tại - + Unable to add more than 8 servers Không thể vượt quá 8 server - + Testing Thử nghiệm - + Configuring Cài đặt - + Test Successful Thử Nghiệm Thành Công - + Successfully received data from the server. Nhận được dữ liệu từ server! - + Test Failed Thử Nghiệm Thất Bại - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. Không thể nhận được dữ liệu hợp lệ từ server. <br>Hãy chắc chắn server được thiết lập chính xác, từ địa chỉ lẫn cổng phải được thiết lập đúng. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. + + ConfigureMousePanning + + + Configure mouse panning + + + + + Enable + + + + + Can be toggled via a hotkey + + + + + Sensitivity + + + + + + Horizontal + + + + + + + + + + % + % + + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Mặc định + + ConfigureNetwork @@ -2957,47 +3226,47 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Nhà Phát Hành - + Add-Ons Bổ Sung - + General Tổng Quan - + System Hệ Thống - + CPU CPU - + Graphics Đồ Họa - + Adv. Graphics Đồ Họa Nâng Cao - + Audio Âm Thanh - + Input Profiles - + Properties Thuộc tính @@ -3199,12 +3468,12 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. - Ring Sensor Parameters + Virtual Ring Sensor Parameters @@ -3225,33 +3494,95 @@ UUID: %2 - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + + + + Restore Defaults Khôi phục về mặc định - + Clear Bỏ trống - + [not set] [không đặt] - + Invert axis - - + + Deadzone: %1% - + + Error enabling ring input + + + + + Direct Joycon driver is not enabled + + + + + Configuring + Cài đặt + + + + The current mapped device doesn't support the ring controller + + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + + + + + Unexpected driver result %1 + + + + [waiting] [Chờ] @@ -3397,7 +3728,7 @@ UUID: %2 Japan - + Nhật Bản @@ -3512,32 +3843,32 @@ UUID: %2 USA - + Hoa Kỳ Europe - + Châu Âu Australia - + Châu Úc China - + Trung Quốc Korea - + Hàn Quốc Taiwan - + Đài Loan @@ -3556,8 +3887,8 @@ UUID: %2 - English - Tiếng Anh + American English + @@ -3660,54 +3991,19 @@ UUID: %2 - - Mono - Mono + + Unsafe extended memory layout (8GB DRAM) + - - Stereo - Stereo - - - - Surround - Surround - - - - Console ID: - ID bàn giao tiếp: - - - - Sound output mode - Chế độ đầu ra âm thanh - - - - Regenerate - Tạo mới - - - + System settings are available only when game is not running. Cài đặt hệ thống chỉ khả dụng khi trò chơi không chạy. - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - Điều này sẽ thay thế Switch ảo hiện tại của bạn sang một cái mới. Switch ảo hiện tại của bạn sẽ không thể hồi phục lại. Điều này có thể gây ra tác dụng không mong muốn trong trò chơi. Điều này có thể gây thất bại, nếu bạn đang sử dụng thiết lập lưu trữ đã lỗi thời. Tiếp tục? - - - - Warning - Chú ý - - - - Console ID: 0x%1 - ID của máy: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + @@ -3735,7 +4031,7 @@ UUID: %2 Settings - + Cài đặt @@ -3776,7 +4072,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -4155,7 +4451,7 @@ Drag points to change position, or double-click table cells to edit values. Settings - + Cài đặt @@ -4331,7 +4627,7 @@ Drag points to change position, or double-click table cells to edit values. - + &Controller P1 @@ -4344,42 +4640,37 @@ Drag points to change position, or double-click table cells to edit values. - - IP Address + + Server Address - - IP + + <html><head/><body><p>Server address of the host</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + Nickname - + Password - + Connect @@ -4387,12 +4678,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4400,921 +4691,896 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>Dữ liệu ẩn danh được thu thập</a>để hỗ trợ cải thiện yuzu. <br/><br/>Bạn có muốn chia sẽ dữ liệu sử dụng cho chúng tôi? - + Telemetry Viễn trắc - + Broken Vulkan Installation Detected - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + + + + Loading Web Applet... - - + + Disable Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) - + The amount of shaders currently being built - + The current selected resolution scaling multiplier. - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. Tốc độ giả lập hiện tại. Giá trị cao hơn hoặc thấp hơn 100% chỉ ra giả lập sẽ chạy nhanh hơn hoặc chậm hơn trên máy Switch - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. Có bao nhiêu khung hình trên mỗi giây mà trò chơi đang hiển thị. Điều này sẽ thay đổi từ trò chơi này đến trò chơi kia và khung cảnh này đến khung cảnh kia. - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. Thời gian mà giả lập lấy từ khung hình Switch, sẽ không kể đến giới hạn khung hình hoặc v-sync. Đối với tốc độ tối đa mà giả lập nhận được nhiều nhất là ở độ khoảng 16.67 ms. - + + Unmute + + + + + Mute + + + + + Reset Volume + + + + &Clear Recent Files - + + Emulated mouse is enabled + + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + + + + &Continue - + &Pause &Tạm dừng - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - - - - + Warning Outdated Game Format Chú ý định dạng trò chơi đã lỗi thời - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. Bạn đang sử dụng định dạng danh mục ROM giải mã cho trò chơi này, và đó là một định dạng lỗi thời đã được thay thế bởi những thứ khác như NCA, NAX, XCI, hoặc NSP. Danh mục ROM giải mã có thể thiếu biểu tượng, metadata, và hỗ trợ cập nhật.<br><br>Để giải thích về các định dạng khác nhau của Switch mà yuzu hỗ trợ, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>vui lòng kiểm tra trên wiki của chúng tôi</a>. Thông báo này sẽ không hiển thị lại lần sau. - - + + Error while loading ROM! Xảy ra lỗi khi đang nạp ROM! - + The ROM format is not supported. Định dạng ROM này không hỗ trợ. - + An error occurred initializing the video core. Đã xảy ra lỗi khi khởi tạo lõi video. - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. - + An unknown error occurred. Please see the log for more details. Đã xảy ra lỗi không xác định. Vui lòng kiểm tra sổ ghi chép để biết thêm chi tiết. - + (64-bit) - + (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit - + Closing software... - + Save Data - + Mod Data - + Error Opening %1 Folder Xảy ra lỗi khi mở %1 thư mục - - + + Folder does not exist! Thư mục này không tồn tại! - + Error Opening Transferable Shader Cache - + Failed to create the shader cache directory for this title. - + Error Removing Contents - + Error Removing Update - + Error Removing DLC - + Remove Installed Game Contents? - + Remove Installed Game Update? - + Remove Installed Game DLC? - + Remove Entry - - - - - - + + + + + + Successfully Removed - + Successfully removed the installed base game. - + The base game is not installed in the NAND and cannot be removed. - + Successfully removed the installed update. - + There is no update installed for this title. - + There are no DLC installed for this title. - + Successfully removed %1 installed DLC. - + Delete OpenGL Transferable Shader Cache? - + Delete Vulkan Transferable Shader Cache? - + Delete All Transferable Shader Caches? - + Remove Custom Game Configuration? - + + Remove Cache Storage? + + + + Remove File - - + + Error Removing Transferable Shader Cache - - + + A shader cache for this title does not exist. - + Successfully removed the transferable shader cache. - + Failed to remove the transferable shader cache. - - + + Error Removing Vulkan Driver Pipeline Cache + + + + + Failed to remove the driver pipeline cache. + + + + + Error Removing Transferable Shader Caches - + Successfully removed the transferable shader caches. - + Failed to remove the transferable shader cache directory. - - + + Error Removing Custom Configuration - + A custom configuration for this title does not exist. - + Successfully removed the custom game configuration. - + Failed to remove the custom game configuration. - - + + RomFS Extraction Failed! Khai thác RomFS không thành công! - + There was an error copying the RomFS files or the user cancelled the operation. Đã xảy ra lỗi khi sao chép tệp tin RomFS hoặc người dùng đã hủy bỏ hoạt động này. - + Full - + Skeleton Sườn - + Select RomFS Dump Mode Chọn chế độ kết xuất RomFS - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. Vui lòng chọn RomFS mà bạn muốn kết xuất như thế nào.<br>Đầy đủ sẽ sao chép toàn bộ tệp tin vào một danh mục mới trong khi <br>bộ xương chỉ tạo kết cấu danh mục. - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root - + Extracting RomFS... Khai thác RomFS... - - + + Cancel Hủy bỏ - + RomFS Extraction Succeeded! Khai thác RomFS thành công! - + The operation completed successfully. Các hoạt động đã hoàn tất thành công. - - - - - + + + + + Create Shortcut - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Create Icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Start %1 with the yuzu Emulator - + Failed to create a shortcut at %1 - + Successfully created a shortcut to %1 - + Error Opening %1 - + Select Directory Chọn danh mục - + Properties Thuộc tính - + The game properties could not be loaded. Thuộc tính của trò chơi không thể nạp được. - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Thực thi Switch (%1);;Tất cả tệp tin (*.*) - + Load File Nạp tệp tin - + Open Extracted ROM Directory Mở danh mục ROM đã trích xuất - + Invalid Directory Selected Danh mục đã chọn không hợp lệ - + The directory you have selected does not contain a 'main' file. Danh mục mà bạn đã chọn không có chứa tệp tin 'main'. - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) Những tệp tin Switch cài được (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - + Install Files - + %n file(s) remaining - + Installing file "%1"... Đang cài đặt tệp tin "%1"... - - + + Install Results - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + %n file(s) were newly installed - + %n file(s) were overwritten - + %n file(s) failed to install - + System Application Hệ thống ứng dụng - + System Archive Hệ thống lưu trữ - + System Application Update Cập nhật hệ thống ứng dụng - + Firmware Package (Type A) Gói phần mềm (Loại A) - + Firmware Package (Type B) Gói phần mềm (Loại B) - + Game Trò chơi - + Game Update Cập nhật trò chơi - + Game DLC Nội dung trò chơi có thể tải xuống - + Delta Title Tiêu đề Delta - + Select NCA Install Type... Chọn loại NCA để cài đặt... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) Vui lòng chọn loại tiêu đề mà bạn muốn cài đặt NCA này: (Trong hầu hết trường hợp, chọn mặc định 'Game' là tốt nhất.) - + Failed to Install Cài đặt đã không thành công - + The title type you selected for the NCA is invalid. Loại tiêu đề NCA mà bạn chọn nó không hợp lệ. - + File not found Không tìm thấy tệp tin - + File "%1" not found Không tìm thấy "%1" tệp tin - + OK OK - - + + Hardware requirements not met - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Missing yuzu Account Thiếu tài khoản yuzu - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. Để gửi trường hợp thử nghiệm trò chơi tương thích, bạn phải liên kết tài khoản yuzu.<br><br/>Để liên kết tải khoản yuzu của bạn, hãy đến Giả lập &gt; Thiết lập &gt; Web. - + Error opening URL - + Unable to open the URL "%1". - + TAS Recording - + Overwrite file of player 1? - + Invalid config detected - + Handheld controller can't be used on docked mode. Pro controller will be selected. - - + + Amiibo - - + + The current amiibo has been removed - + Error - - + + The current game is not looking for amiibos - + Amiibo File (%1);; All Files (*.*) Tệp tin Amiibo (%1);; Tất cả tệp tin (*.*) - + Load Amiibo Nạp dữ liệu Amiibo - + Error loading Amiibo data Xảy ra lỗi khi nạp dữ liệu Amiibo - + The selected file is not a valid amiibo - + The selected file is already on use - + An unknown error occurred - + Capture Screenshot Chụp ảnh màn hình - + PNG Image (*.png) Hình ảnh PNG (*.png) - + TAS state: Running %1/%2 - + TAS state: Recording %1 - + TAS state: Idle %1/%2 - + TAS State: Invalid - + &Stop Running - + &Start &Bắt đầu - + Stop R&ecording - + R&ecord - + Building: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Speed: %1% / %2% Tốc độ: %1% / %2% - + Speed: %1% Tốc độ: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS Trò chơi: %1 FPS - + Frame: %1 ms Khung hình: %1 ms - - GPU NORMAL + + %1 %2 - - GPU HIGH - - - - - GPU EXTREME - - - - - GPU ERROR - - - - - DOCKED - - - - - HANDHELD - - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - - - - - - BILINEAR - - - - - BICUBIC - - - - - GAUSSIAN - - - - - SCALEFORCE - - - - + + FSR - - + NO AA - - FXAA + + VOLUME: MUTE - - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) - + Confirm Key Rederivation Xác nhận mã khóa Rederivation - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5331,37 +5597,37 @@ và phải tạo ra một bản sao lưu lại. Điều này sẽ xóa mã khóa tự động tạo trên tệp tin của bạn và chạy lại mô-đun mã khóa derivation. - + Missing fuses - + - Missing BOOT0 - + - Missing BCPKG2-1-Normal-Main - + - Missing PRODINFO - + Derivation Components Missing - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5370,39 +5636,49 @@ on your system's performance. vào hiệu suất hệ thống của bạn. - + Deriving Keys Mã khóa xuất phát - + + System Archive Decryption Failed + + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + + + + Select RomFS Dump Target Chọn thư mục để sao chép RomFS - + Please select which RomFS you would like to dump. Vui lòng chọn RomFS mà bạn muốn sao chép. - + Are you sure you want to close yuzu? Bạn có chắc chắn muốn đóng yuzu? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. Bạn có chắc rằng muốn dừng giả lập? Bất kì tiến trình nào chưa được lưu sẽ bị mất. - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5410,6 +5686,101 @@ Would you like to bypass this and exit anyway? Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? + + + None + Trống + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + ScaleForce + + + + ScaleForce + ScaleForce + + + + Docked + Chế độ cắm TV + + + + Handheld + Cầm tay + + + + Normal + Trung bình + + + + High + Khỏe + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow @@ -5510,117 +5881,122 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? - Remove OpenGL Pipeline Cache + Remove Cache Storage + Remove OpenGL Pipeline Cache + + + + Remove Vulkan Pipeline Cache - + Remove All Pipeline Caches - + Remove All Installed Contents - + Dump RomFS Kết xuất RomFS - + Dump RomFS to SDMC - + Copy Title ID to Clipboard Sao chép ID tiêu đề vào bộ nhớ tạm - + Navigate to GameDB entry Điều hướng đến mục cơ sở dữ liệu trò chơi - + Create Shortcut - + Add to Desktop - + Add to Applications Menu - + Properties Thuộc tính - + Scan Subfolders - + Remove Game Directory - + ▲ Move Up - + ▼ Move Down - + Open Directory Location - + Clear Bỏ trống - + Name Tên - + Compatibility Tương thích - + Add-ons Tiện ích ngoài - + File type Loại tệp tin - + Size Kích cỡ @@ -5691,7 +6067,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? GameListPlaceholder - + Double-click to add a new folder to the game list @@ -5704,12 +6080,12 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? - + Filter: Bộ lọc: - + Enter pattern to filter Nhập khuôn để lọc @@ -5759,7 +6135,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Room Description - + Nội dung phòng chơi @@ -5799,138 +6175,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Audio Volume Down - + Audio Volume Up - + Capture Screenshot Chụp ảnh màn hình - + Change Adapting Filter - + Change Docked Mode - + Change GPU Accuracy - + Continue/Pause Emulation - + Exit Fullscreen - + Exit yuzu - + Fullscreen Toàn màn hình - + Load File Nạp tệp tin - + Load/Remove Amiibo - + Restart Emulation - + Stop Emulation - + TAS Record - + TAS Reset - + TAS Start/Stop - + Toggle Filter Bar - + Toggle Framerate Limit - + Toggle Mouse Panning - + Toggle Status Bar @@ -5953,7 +6329,7 @@ Debug Message: Cài đặt - + Install Files to NAND @@ -5961,7 +6337,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6026,7 +6402,7 @@ Debug Message: Search - + Tìm @@ -6035,51 +6411,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Password: - + Players Người chơi - + Room Name - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6551,7 +6932,7 @@ Proceed anyway? Leave Room - + Rời khỏi phòng @@ -6609,7 +6990,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6658,31 +7039,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [chưa đặt nút] @@ -6693,14 +7074,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Trục %1%2 @@ -6711,263 +7092,321 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [không xác định] - - - + + + Left Trái - - - + + + Right Phải - - - + + + Down Xuống - - - + + + Up Lên - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start Bắt đầu - - + + L1 - - + + L2 - - + + L3 - - + + R1 - - + + R2 - - + + R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle - - + + Share - - + + Options - - + + [undefined] - + %1%2 - - + + [invalid] - - - - + + %1%2Hat %3 - - - - - - + + + + %1%2Axis %3 - - + + %1%2Axis %3,%4,%5 - - + + %1%2Motion %3 - - - - + + %1%2Button %3 - - + + [unused] [không sử dụng] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + + + + + Stick R + + + + + Plus + Cộng + + + + Minus + Trừ + + + + Home Home - + + Capture + + + + Touch Cảm Ứng - + Wheel Indicates the mouse wheel - + Backward - + Forward - + Task - + Extra - - %1%2%3 + + %1%2%3%4 + + + + + + %1%2%3Hat %4 + + + + + + %1%2%3Axis %4 + + + + + + %1%2%3Button %4 @@ -7337,26 +7776,26 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + An error has occurred. %1 @@ -7376,20 +7815,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - Chọn một người dùng: - - - + Users Người Dùng - + + Profile Creator + + + + + Profile Selector Chọn hồ sơ + + + Profile Icon Editor + + + + + Profile Nickname Editor + + + + + Who will receive the points? + + + + + Who is using Nintendo eShop? + + + + + Who is making this purchase? + + + + + Who is posting? + + + + + Select a user to link to a Nintendo Account. + + + + + Change settings for which user? + + + + + Format data for which user? + + + + + Which user will be transferred to another console? + + + + + Send save data for which user? + + + + + Select a user: + Chọn một người dùng: + QtSoftwareKeyboardDialog @@ -7435,51 +7935,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Chùm cuộc gọi - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - chờ đợi loại trừ lẫn nhau 0x%1 - - - - has waiters: %1 - đã chờ đợi: %1 - - - - owner handle: 0x%1 - chủ điều khiển: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - chờ đợi toàn bộ đối tượng - - - - waiting for one of the following objects - chờ đợi một đối tượng đang theo dõi - - WaitTreeSynchronizationObject - - [%1] %2 %3 + + [%1] %2 - + waited by no thread chờ đợi bởi vì không có luồng @@ -7487,120 +7956,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused tạm dừng - + sleeping ngủ - + waiting for IPC reply chờ đợi IPC phản hồi - + waiting for objects chờ đợi đối tượng - + waiting for condition variable - + waiting for address arbiter chờ đợi địa chỉ người đứng giữa - + waiting for suspend resume - + waiting - + initialized - + terminated - + unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + core %1 lõi %1 - + processor = %1 bộ xử lý = %1 - - ideal core = %1 - lõi lý tưởng = %1 - - - + affinity mask = %1 che đậy tánh giống nhau = %1 - + thread id = %1 id luồng = %1 - + priority = %1(current) / %2(normal) quyền ưu tiên = %1(hiện tại) / %2(bình thường) - + last running ticks = %1 lần chạy cuối cùng = %1 - - - not waiting for mutex - không có chờ đợi loại trừ lẫn nhau - WaitTreeThreadList - + waited by thread chờ đợi bởi vì có luồng @@ -7608,7 +8067,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/zh_CN.ts b/dist/languages/zh_CN.ts index abbe2b408..2c0885dfa 100644 --- a/dist/languages/zh_CN.ts +++ b/dist/languages/zh_CN.ts @@ -267,17 +267,17 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game reach gameplay?</p></body></html> - <html><head/><body><p>游戏是否具有游戏性?</p></body></html> + <html><head/><body><p>游戏是否可玩?</p></body></html> Yes The game works without crashes - 是的,游戏运行时没有崩溃 + 没有,游戏运行时没有崩溃 No The game crashes or freezes during gameplay - 不,游戏运行时出现卡死或崩溃 + 有,游戏运行时出现卡死或崩溃 @@ -287,12 +287,12 @@ This would ban both their forum username and their IP address. Yes The game can be finished without any workarounds - 没有,可以顺利地完成游戏过程 + 是的,可以顺利地完成游戏过程 No The game can't progress past a certain area - 有,游戏在特定区段无法继续 + 不,游戏在特定区段无法继续 @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - 输出设备 + Output Device: + 输出设备: - Input Device - 输入设备 + Input Device: + 输入设备: - + + Sound Output Mode: + 声音输出模式: + + + + Mono + 单声道 + + + + Stereo + 立体声 + + + + Surround + 环绕声 + + + Use global volume 使用全局音量 - + Set volume: 音量: - + Volume: 音量: - + 0 % 0 % - + + Mute audio when in background + 模拟器位于后台时静音 + + + %1% Volume percentage (e.g. 50%) %1% @@ -526,7 +551,7 @@ This would ban both their forum username and their IP address. <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> -<div>该选项通过降低积和熔加运算的精度而提高模拟器在不支持 FMA 指令集 CPU 上的运行速度。</div> +<div>该选项通过降低积和熔加运算的精度来提高模拟器在不支持 FMA 指令集 CPU 上的运行速度。</div> @@ -552,7 +577,7 @@ This would ban both their forum username and their IP address. <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> -<div>该选项通过在不正确的舍入模式下运行,能提高 32 位 ASIMD 浮点函数的运行速度。</div> +<div>该选项通过不正确的舍入模式来提高 32 位 ASIMD 浮点函数的运行速度。</div> @@ -931,105 +956,115 @@ This would ban both their forum username and their IP address. Disable Macro JIT - 禁用宏 JIT + 禁用宏即时编译 - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 启用时,将禁用宏高阶模拟。这会降低游戏运行速度。 + + + + Disable Macro HLE + 禁用宏高阶模拟 + + + When checked, yuzu will log statistics about the compiled pipeline cache 选中时,yuzu 将记录有关已编译着色器缓存的统计信息。 - + Enable Shader Feedback 启用着色器反馈 - + When checked, it executes shaders without loop logic changes 启用后,yuzu 在执行着色器时,不会修改循环结构的条件判断 - + Disable Loop safety checks 禁用循环体安全检查 - + Debugging 调试选项 - + Enable Verbose Reporting Services** 启用详细报告服务** - + Enable FS Access Log 启用文件系统访问记录 - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. 启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。 - + Dump Audio Commands To Console** 将音频命令转储至控制台** - + Create Minidump After Crash 微型故障转储 - + Advanced 高级选项 - + Kiosk (Quest) Mode Kiosk (Quest) 模式 - + Enable CPU Debugging 启用 CPU 模拟调试 - + Enable Debug Asserts 启用调试 - + Enable Auto-Stub** 启用自动函数打桩(Auto-Stub)** - + Enable All Controller Types 启用其他类型的控制器 - + Disable Web Applet 禁用 Web 应用程序 - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. 允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现相关问题,请禁用此选项。 - + Perform Startup Vulkan Check 启动时进行 Vulkan 检测 - + **This will be reset automatically when yuzu closes. **该选项将在 yuzu 关闭时自动重置。 @@ -1044,12 +1079,12 @@ This would ban both their forum username and their IP address. 重启 yuzu 后才能应用此设置。 - + Web applet not compiled Web 应用程序未编译 - + MiniDump creation not compiled 微型转储未编译 @@ -1059,7 +1094,7 @@ This would ban both their forum username and their IP address. Configure Debug Controller - 调试控制器设置 + 控制器调试设置 @@ -1099,78 +1134,78 @@ This would ban both their forum username and their IP address. yuzu 设置 - - + + Audio 声音 - - + + CPU CPU - + Debug 调试 - + Filesystem 文件系统 - - + + General 通用 - - + + Graphics 图形 - + GraphicsAdvanced 高级图形选项 - + Hotkeys 热键 - - + + Controls 控制 - + Profiles 用户配置 - + Network 网络 - - + + System 系统 - + Game List 游戏列表 - + Web 网络 @@ -1320,7 +1355,7 @@ This would ban both their forum username and their IP address. Form - Form + 类型 @@ -1345,46 +1380,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - 扩展的内存布局 (6GB DRAM) - - - Confirm exit while emulation is running 在游戏运行时退出需要确认 - + Prompt for user on game boot 游戏启动时提示选择用户 - + Pause emulation when in background 模拟器位于后台时暂停模拟 - - Mute audio when in background - 模拟器位于后台时静音 - - - + Hide mouse on inactivity 自动隐藏鼠标光标 - + + Disable controller applet + 禁用控制器程序 + + + Reset All Settings 重置所有设置项 - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? 将重置模拟器所有设置并删除所有游戏的单独设置。这不会删除游戏目录、个人文件及输入配置文件。是否继续? @@ -1394,7 +1424,7 @@ This would ban both their forum username and their IP address. Form - Form + 类型 @@ -1423,7 +1453,7 @@ This would ban both their forum username and their IP address. - + None @@ -1449,216 +1479,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + 垂直同步模式: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (垂直同步)不会掉帧或产生画面撕裂,但受到屏幕刷新率的限制。 +FIFO Relaxed 类似于 FIFO,但允许从低 FPS 恢复时产生撕裂。 +Mailbox 具有比 FIFO 更低的延迟,不会产生撕裂但可能会掉帧。 +Immediate (无同步)只显示可用内容,并可能产生撕裂。 + + + NVDEC emulation: NVDEC 模拟方式: - + No Video Output 无视频输出 - + CPU Video Decoding CPU 视频解码 - + GPU Video Decoding (Default) GPU 视频解码 (默认) - + Fullscreen Mode: 全屏模式: - + Borderless Windowed 无边框窗口 - + Exclusive Fullscreen 独占全屏 - + Aspect Ratio: 屏幕纵横比: - + Default (16:9) 默认 (16:9) - + Force 4:3 强制 4:3 - + Force 21:9 强制 21:9 - + Force 16:10 强制 16:10 - + Stretch to Window 拉伸窗口 - + Resolution: 画面分辨率: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [实验性] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [实验性] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [实验性] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: 窗口滤镜: - + Nearest Neighbor 近邻取样 - + Bilinear 双线性过滤 - + Bicubic 双三线过滤 - + Gaussian 高斯模糊 - + ScaleForce 强制缩放 - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 超级分辨率锐画技术 (仅限 Vulkan 模式) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ 超级分辨率锐画技术 - + Anti-Aliasing Method: 抗锯齿方式: - + FXAA 快速近似抗锯齿 - + SMAA 子像素形态学抗锯齿 - + Use global FSR Sharpness - 启用全局 FSR 锐化 + 使用全局 FSR 锐化度 - + Set FSR Sharpness - 设置 FSR 锐化 + 设置 FSR 锐化度 - + FSR Sharpness: FSR 锐化度: - + 100% 100% - - + + Use global background color 使用全局背景颜色 - + Set background color: 设置背景颜色: - + Background Color: 背景颜色: - + GLASM (Assembly Shaders, NVIDIA Only) - GLASM(汇编着色器,仅限 NVIDIA 显卡) + GLASM (汇编着色器,仅限 NVIDIA 显卡) - + SPIR-V (Experimental, Mesa Only) SPIR-V (实验性,仅限 Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + 关闭 + + + + VSync Off + 垂直同步关 + + + + Recommended + 推荐 + + + + On + 开启 + + + + VSync On + 垂直同步开 + ConfigureGraphicsAdvanced @@ -1683,77 +1769,154 @@ This would ban both their forum username and their IP address. 精度: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - 垂直同步可防止画面产生撕裂感。但启用垂直同步后,某些设备性能可能会有所降低。如果您没有感到性能差异,请保持启用状态。 + + ASTC recompression: + ASTC 纹理重压缩: - - Use VSync - 启用垂直同步 + + Uncompressed (Best quality) + 不压缩 (最高质量) - + + BC1 (Low quality) + BC1 (低质量) + + + + BC3 (Medium quality) + BC3 (中等质量) + + + + Enable asynchronous presentation (Vulkan only) + 启用异步帧提交 (仅限 Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + 在后台运行的同时等待图形命令,以防止 GPU 降低时钟速度。 + + + + Force maximum clocks (Vulkan only) + 强制最大时钟 (仅限 Vulkan 模式) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + 启用异步 ASTC 纹理解码,可能减少加载时的卡顿。实验性功能。 + + + + Decode ASTC textures asynchronously (Hack) + 异步 ASTC 纹理解码 (不稳定) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + 使用反应性刷新取代预测性刷新,从而更精确地同步内存。 + + + + Enable Reactive Flushing + 启用反应性刷新 + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. 启用异步着色器编译,这可能会减少着色器卡顿。实验性功能。 - + Use asynchronous shader building (Hack) 启用异步着色器构建 (不稳定) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. 启用快速 GPU 时钟。此选项将强制大多数游戏以其最高分辨率运行。 - + Use Fast GPU Time (Hack) 启用快速 GPU 时钟 (不稳定) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 启用悲观缓冲区刷新。此选项将强制刷新未修改的缓冲区,可能会降低性能。 + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + 启用 GPU 供应商专用的管线缓存。在 Vulkan 驱动程序内部不存储管线缓存的情况下,此选项可显著提高着色器加载速度。 - - Use pessimistic buffer flushes (Hack) - 启用悲观缓冲区刷新 (不稳定) + + Use Vulkan pipeline cache + 启用 Vulkan 管线缓存 - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + 启用某些游戏所需的计算管线。此选项仅适用于英特尔专有驱动程序。如果启用,可能会造成崩溃。 +在其他的驱动程序上将始终启用计算管线。 + + + + Enable Compute Pipelines (Intel Vulkan only) + 启用计算管线 (仅限 Intel 显卡 Vulkan 模式) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + 在视频播放期间以正常速度运行游戏,即使帧率未锁定。 + + + + Sync to framerate of video playback + 播放视频时帧率同步 + + + + Improves rendering of transparency effects in specific games. + 改进某些游戏中透明效果的渲染。 + + + + Barrier feedback loops + 屏障反馈环路 + + + Anisotropic Filtering: 各向异性过滤: - + Automatic 自动 - + Default 系统默认 - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1786,72 +1949,67 @@ This would ban both their forum username and their IP address. 恢复默认 - + Action 作用 - + Hotkey 热键 - + Controller Hotkey 控制器热键 - - - + + + Conflicting Key Sequence 按键冲突 - - + + The entered key sequence is already assigned to: %1 - 输入的密钥序列已分配给: %1 + 输入的按键序列已分配给: %1 - - Home+%1 - Home+%1 - - - + [waiting] [请按键] - + Invalid 无效 - + Restore Default 恢复默认 - + Clear 清除 - + Conflicting Button Sequence 键位冲突 - + The default button sequence is already assigned to: %1 默认的按键序列已分配给: %1 - + The default key sequence is already assigned to: %1 - 默认密钥序列已分配给: %1 + 默认的按键序列已分配给: %1 @@ -2141,7 +2299,7 @@ This would ban both their forum username and their IP address. - + Configure 设置 @@ -2167,6 +2325,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu 需要重启 yuzu @@ -2186,22 +2346,27 @@ This would ban both their forum username and their IP address. 控制器导航 - - Enable mouse panning - 启用鼠标平移 + + Enable direct JoyCon driver + 启用 JoyCon 直接驱动 - - Mouse sensitivity - 鼠标灵敏度 + + Enable direct Pro Controller driver [EXPERIMENTAL] + 启用 Pro Controller 直接驱动 [实验性] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + 此选项允许您在游戏中无限使用相同的 Amiibo。 - + + Use random Amiibo ID + 使用 Amiibo 随机 ID + + + Motion / Touch 体感/触摸 @@ -2313,7 +2478,7 @@ This would ban both their forum username and their IP address. - + Left Stick 左摇杆 @@ -2407,14 +2572,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2433,7 +2598,7 @@ This would ban both their forum username and their IP address. - + Plus @@ -2446,15 +2611,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2511,236 +2676,257 @@ This would ban both their forum username and their IP address. - + Right Stick 右摇杆 - - - - + + Mouse panning + 鼠标平移 + + + + Configure + 设置 + + + + + + Clear 清除 - - - - - + + + + + [not set] [未设置] - - + + + Invert button - 反转按钮 + 反转按键 - - + + Toggle button - 切换按键 + 切换键 - - + + Turbo button + 连发键 + + + + Invert axis 体感方向倒置 - - - + + + Set threshold 阈值设定 - - + + Choose a value between 0% and 100% 选择一个介于 0% 和 100% 之间的值 - + Toggle axis 切换轴 - + Set gyro threshold 陀螺仪阈值设定 - + + Calibrate sensor + 校准传感器 + + + Map Analog Stick 映射摇杆 - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. 在按下确定后,首先水平移动你的手柄,然后垂直移动它。 如果要使体感方向倒置,首先垂直移动你的手柄,然后水平移动它。 - + Center axis 中心轴 - - + + Deadzone: %1% 摇杆死区:%1% - - + + Modifier Range: %1% 摇杆灵敏度:%1% - - + + Pro Controller Pro Controller - + Dual Joycons 双 Joycons 手柄 - + Left Joycon 左 Joycon 手柄 - + Right Joycon 右 Joycon 手柄 - + Handheld 掌机模式 - + GameCube Controller GameCube 控制器 - + Poke Ball Plus 精灵球 PLUS - + NES Controller NES 控制器 - + SNES Controller SNES 控制器 - + N64 Controller N64 控制器 - + Sega Genesis 世嘉创世纪 - + Start / Pause 开始 / 暂停 - + Z Z - + Control Stick 控制摇杆 - + C-Stick C 摇杆 - + Shake! 摇动! - + [waiting] [等待中] - + New Profile - 保存自定义设置 + 新建自定义设置 - + Enter a profile name: 输入配置文件名称: - - + + Create Input Profile 新建输入配置文件 - + The given profile name is not valid! 输入的配置文件名称无效! - + Failed to create the input profile "%1" 新建输入配置文件 "%1" 失败 - + Delete Input Profile 删除输入配置文件 - + Failed to delete the input profile "%1" 删除输入配置文件 "%1" 失败 - + Load Input Profile 加载输入配置文件 - + Failed to load the input profile "%1" 加载输入配置文件 "%1" 失败 - + Save Input Profile 保存输入配置文件 - + Failed to save the input profile "%1" 保存输入配置文件 "%1" 失败 @@ -2788,7 +2974,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 设置 @@ -2824,7 +3010,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 测试 @@ -2844,81 +3030,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">了解更多</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters 端口号中包含无效字符 - + Port has to be in range 0 and 65353 端口必须为 0 到 65353 之间 - + IP address is not valid 无效的 IP 地址 - + This UDP server already exists 此 UDP 服务器已存在 - + Unable to add more than 8 servers 最多只能添加 8 个服务器 - + Testing 测试中 - + Configuring 配置中 - + Test Successful 测试成功 - + Successfully received data from the server. 已成功地从服务器获取数据。 - + Test Failed 测试失败 - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. 无法从服务器获取数据。<br>请验证服务器是否正在运行,以及地址和端口是否配置正确。 - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP 测试或触摸校准正在进行中。<br>请耐心等待。 + + ConfigureMousePanning + + + Configure mouse panning + 设置鼠标平移 + + + + Enable + 启用 + + + + Can be toggled via a hotkey + 可通过热键进行切换 + + + + Sensitivity + 灵敏度 + + + + + Horizontal + 水平方向 + + + + + + + + + % + % + + + + + Vertical + 垂直方向 + + + + Deadzone counterweight + 调整死区平衡 + + + + Counteracts a game's built-in deadzone + 抵消游戏内置的死区 + + + + Stick decay + 摇杆漂移 + + + + Strength + 强烈程度 + + + + Minimum + 最小值 + + + + Default + 系统默认 + + ConfigureNetwork @@ -2995,47 +3256,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< 开发商 - + Add-Ons 附加项 - + General 通用 - + System 系统 - + CPU CPU - + Graphics 图形 - + Adv. Graphics 高级图形 - + Audio 声音 - + Input Profiles 输入配置文件 - + Properties 属性 @@ -3238,13 +3499,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - 如果您想使用这个控制器,请在游戏开始前为玩家 1 设置使用右控制器,玩家 2 使用双 joycon 控制器,从而允许该控制器被正确检测。 + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + 要使用健身环控制器,请在游戏开始前将玩家 1 设置使用右 Joy-Con 控制器(包括物理和模拟层面),玩家 2 使用左 Joy-Con 控制器(物理和模拟层面)。 - Ring Sensor Parameters - 健身环传感器参数 + Virtual Ring Sensor Parameters + 虚拟健身环传感器参数 @@ -3264,33 +3525,95 @@ UUID: %2 摇杆死区:0% - + + Direct Joycon Driver + Joycon 直接驱动 + + + + Enable Ring Input + 启用健身环输入 + + + + + Enable + 启用 + + + + Ring Sensor Value + 健身环传感器参数 + + + + + Not connected + 未连接 + + + Restore Defaults 恢复默认 - + Clear 清除 - + [not set] [未设置] - + Invert axis 体感方向倒置 - - + + Deadzone: %1% 摇杆死区:%1% - + + Error enabling ring input + 启用健身环输入时出错 + + + + Direct Joycon driver is not enabled + 未启用 Joycon 直接驱动 + + + + Configuring + 配置中 + + + + The current mapped device doesn't support the ring controller + 当前映射的设备不支持健身环控制器 + + + + The current mapped device doesn't have a ring attached + 当前映射的设备未连接健身环控制器 + + + + The current mapped device is not connected + 当前映射的设备未连接 + + + + Unexpected driver result %1 + 意外的驱动结果: %1 + + + [waiting] [请按键] @@ -3300,7 +3623,7 @@ UUID: %2 Form - Form + 类型 @@ -3595,8 +3918,8 @@ UUID: %2 - English - 英语 + American English + 美式英语 @@ -3699,54 +4022,19 @@ UUID: %2 设备名称 - - Mono - 单声道 + + Unsafe extended memory layout (8GB DRAM) + 不安全的内存布局扩展 (8GB DRAM) - - Stereo - 立体声 - - - - Surround - 环绕声 - - - - Console ID: - 设备 ID: - - - - Sound output mode - 声音输出模式 - - - - Regenerate - 重置 ID - - - + System settings are available only when game is not running. 只有当游戏不在运行时,系统设置才可用。 - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - 这将使用一个新的虚拟 Switch 取代你当前的虚拟 Switch。您当前的虚拟 Switch 将无法恢复。在部分游戏中可能会出现意外效果。如果你使用一个过时的配置存档这可能会失败。确定要继续吗? - - - - Warning - 警告 - - - - Console ID: 0x%1 - 设备 ID: 0x%1 + + Warning: "%1" is not a valid language for region "%2" + 警告:“ %1 ”并不是“ %2 ”地区的有效语言 @@ -3815,7 +4103,7 @@ UUID: %2 TAS 设置 - + Select TAS Load Directory... 选择 TAS 载入目录... @@ -3879,7 +4167,7 @@ Drag points to change position, or double-click table cells to edit values. New Profile - 保存自定义设置 + 新建自定义设置 @@ -4035,7 +4323,7 @@ Drag points to change position, or double-click table cells to edit values. Note: Changing language will apply your configuration. - 注意: 切换语言将应用您的配置。 + 注意: 切换语言将直接应用您当前的配置。 @@ -4208,7 +4496,7 @@ Drag points to change position, or double-click table cells to edit values. Form - Form + 类型 @@ -4371,7 +4659,7 @@ Drag points to change position, or double-click table cells to edit values.控制器 P1 - + &Controller P1 控制器 P1 (&C) @@ -4384,42 +4672,37 @@ Drag points to change position, or double-click table cells to edit values.直接连接 - - IP Address - IP 地址 + + Server Address + 服务器地址 - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>服务器地址</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>服务器 IPv4 地址</p></body></html> - - - + Port 端口 - + <html><head/><body><p>Port number the host is listening on</p></body></html> - <html><head/><body><p>服务器端口</p></body> + <html><head/><body><p>服务器端口</p></body></html> - + Nickname 昵称 - + Password 密码 - + Connect 连接 @@ -4427,12 +4710,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 连接中 - + Connect 连接 @@ -4440,926 +4723,901 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? <a href='https://yuzu-emu.org/help/feature/telemetry/'>我们收集匿名数据</a>来帮助改进 yuzu 。<br/><br/>您愿意和我们分享您的使用数据吗? - + Telemetry 使用数据共享 - + Broken Vulkan Installation Detected 检测到 Vulkan 的安装已损坏 - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. Vulkan 初始化失败。<br><br>点击<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>这里</a>获取此问题的相关信息。 - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + 游戏正在运行 + + + Loading Web Applet... 正在加载 Web 应用程序... - - + + Disable Web Applet 禁用 Web 应用程序 - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) 禁用 Web 应用程序可能会发生未知的行为,且只能在《超级马里奥 3D 全明星》中使用。您确定要禁用 Web 应用程序吗? (您可以在调试选项中重新启用它。) - + The amount of shaders currently being built 当前正在构建的着色器数量 - + The current selected resolution scaling multiplier. 当前选定的分辨率缩放比例。 - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. - 当前的模拟速度。高于或低于 100% 的值表示模拟正在运行得比实际 Switch 更快或更慢。 + 当前的模拟速度。高于或低于 100% 的值表示运行速度比实际的 Switch 更快或更慢。 - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. 游戏当前运行的帧率。这将因游戏和场景的不同而有所变化。 - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. 在不计算速度限制和垂直同步的情况下,模拟一个 Switch 帧的实际时间。若要进行全速模拟,这个数值不应超过 16.67 毫秒。 - + + Unmute + 取消静音 + + + + Mute + 静音 + + + + Reset Volume + 重置音量 + + + &Clear Recent Files 清除最近文件 (&C) - + + Emulated mouse is enabled + 已启用模拟鼠标 + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + 实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。 + + + &Continue 继续 (&C) - + &Pause 暂停 (&P) - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu 正在运行中 - - - + Warning Outdated Game Format 过时游戏格式警告 - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. 目前使用的游戏为解体的 ROM 目录格式,这是一种过时的格式,已被其他格式替代,如 NCA,NAX,XCI 或 NSP。解体的 ROM 目录缺少图标、元数据和更新支持。<br><br>有关 yuzu 支持的各种 Switch 格式的说明,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>请查看我们的 wiki</a>。此消息将不会再次出现。 - - + + Error while loading ROM! 加载 ROM 时出错! - + The ROM format is not supported. 该 ROM 格式不受支持。 - + An error occurred initializing the video core. - 在初始化视频核心时发生错误。 + 初始化视频核心时发生错误 - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu 在运行视频核心时发生错误。这可能是由 GPU 驱动程序过旧造成的。有关详细信息,请参阅日志文件。关于日志文件的更多信息,请参考以下页面:<a href='https://yuzu-emu.org/help/reference/log-files/'>如何上传日志文件</a>。 - + Error while loading ROM! %1 %1 signifies a numeric error code. 加载 ROM 时出错! %1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>请参考<a href='https://yuzu-emu.org/help/quickstart/'>yuzu 快速导航</a>以获取相关文件。<br>您可以参考 yuzu 的 wiki 页面</a>或 Discord 社区</a>以获得帮助。 - + An unknown error occurred. Please see the log for more details. 发生了未知错误。请查看日志了解详情。 - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... 正在关闭… - + Save Data 保存数据 - + Mod Data Mod 数据 - + Error Opening %1 Folder 打开 %1 文件夹时出错 - - + + Folder does not exist! 文件夹不存在! - + Error Opening Transferable Shader Cache 打开可转移着色器缓存时出错 - + Failed to create the shader cache directory for this title. 为该游戏创建着色器缓存目录时失败。 - + Error Removing Contents 删除内容时出错 - + Error Removing Update 删除更新时出错 - + Error Removing DLC 删除 DLC 时出错 - + Remove Installed Game Contents? 删除已安装的游戏内容? - + Remove Installed Game Update? 删除已安装的游戏更新? - + Remove Installed Game DLC? 删除已安装的游戏 DLC 内容? - + Remove Entry 删除项目 - - - - - - + + + + + + Successfully Removed 删除成功 - + Successfully removed the installed base game. 成功删除已安装的游戏。 - + The base game is not installed in the NAND and cannot be removed. 该游戏未安装于 NAND 中,无法删除。 - + Successfully removed the installed update. 成功删除已安装的游戏更新。 - + There is no update installed for this title. 这个游戏没有任何已安装的更新。 - + There are no DLC installed for this title. 这个游戏没有任何已安装的 DLC 。 - + Successfully removed %1 installed DLC. 成功删除游戏 %1 安装的 DLC 。 - + Delete OpenGL Transferable Shader Cache? 删除 OpenGL 模式的着色器缓存? - + Delete Vulkan Transferable Shader Cache? 删除 Vulkan 模式的着色器缓存? - + Delete All Transferable Shader Caches? 删除所有的着色器缓存? - + Remove Custom Game Configuration? 移除自定义游戏设置? - + + Remove Cache Storage? + 移除缓存? + + + Remove File 删除文件 - - + + Error Removing Transferable Shader Cache 删除着色器缓存时出错 - - + + A shader cache for this title does not exist. 这个游戏的着色器缓存不存在。 - + Successfully removed the transferable shader cache. 成功删除着色器缓存。 - + Failed to remove the transferable shader cache. 删除着色器缓存失败。 - - + + Error Removing Vulkan Driver Pipeline Cache + 删除 Vulkan 驱动程序管线缓存时出错 + + + + Failed to remove the driver pipeline cache. + 删除驱动程序管线缓存失败。 + + + + Error Removing Transferable Shader Caches 删除着色器缓存时出错 - + Successfully removed the transferable shader caches. 着色器缓存删除成功。 - + Failed to remove the transferable shader cache directory. 删除着色器缓存目录失败。 - - + + Error Removing Custom Configuration 移除自定义游戏设置时出错 - + A custom configuration for this title does not exist. 这个游戏的自定义设置不存在。 - + Successfully removed the custom game configuration. 成功移除自定义游戏设置。 - + Failed to remove the custom game configuration. 移除自定义游戏设置失败。 - - + + RomFS Extraction Failed! RomFS 提取失败! - + There was an error copying the RomFS files or the user cancelled the operation. 复制 RomFS 文件时出错,或用户取消了操作。 - + Full 完整 - + Skeleton 框架 - + Select RomFS Dump Mode 选择 RomFS 转储模式 - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. - 请选择希望 RomFS 转储的方式。<br>“Full” 会将所有文件复制到新目录中,而<br>“Skeleton” 只会创建目录结构。 + 请选择 RomFS 转储的方式。<br>“完整” 会将所有文件复制到新目录中,而<br>“框架” 只会创建目录结构。 - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root %1 没有足够的空间用于提取 RomFS。请保持足够的空间或于模拟—>设置—>系统—>文件系统—>转储根目录中选择一个其他目录。 - + Extracting RomFS... 正在提取 RomFS... - - + + Cancel 取消 - + RomFS Extraction Succeeded! RomFS 提取成功! - + The operation completed successfully. 操作成功完成。 - - - - - + + + + + Create Shortcut 创建快捷方式 - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? 这将为当前的游戏创建快捷方式。但在其更新后,快捷方式可能无法正常工作。是否继续? - + Cannot create shortcut on desktop. Path "%1" does not exist. 无法在桌面创建快捷方式。路径“ %1 ”不存在。 - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. 无法在应用程序菜单中创建快捷方式。路径“ %1 ”不存在且无法被创建。 - + Create Icon 创建图标 - + Cannot create icon file. Path "%1" does not exist and cannot be created. 无法创建图标文件。路径“ %1 ”不存在且无法被创建。 - + Start %1 with the yuzu Emulator 使用 yuzu 启动 %1 - + Failed to create a shortcut at %1 在 %1 处创建快捷方式时失败 - + Successfully created a shortcut to %1 成功地在 %1 处创建快捷方式 - + Error Opening %1 打开 %1 时出错 - + Select Directory 选择目录 - + Properties 属性 - + The game properties could not be loaded. 无法加载该游戏的属性信息。 - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch 可执行文件 (%1);;所有文件 (*.*) - + Load File 加载文件 - + Open Extracted ROM Directory 打开提取的 ROM 目录 - + Invalid Directory Selected 选择的目录无效 - + The directory you have selected does not contain a 'main' file. 选择的目录不包含 “main” 文件。 - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) - 可安装的 Switch 文件 (*.nca *.nsp *.xci);;任天堂内容档案 (*.nca);;任天堂应用包 (*.nsp);;NX 卡带镜像 (*.xci) + 可安装 Switch 文件 (*.nca *.nsp *.xci);;任天堂内容档案 (*.nca);;任天堂应用包 (*.nsp);;NX 卡带镜像 (*.xci) - + Install Files 安装文件 - + %n file(s) remaining 剩余 %n 个文件 - + Installing file "%1"... 正在安装文件 "%1"... - - + + Install Results 安装结果 - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. 为了避免可能存在的冲突,我们不建议将游戏本体安装到 NAND 中。 此功能仅用于安装游戏更新和 DLC 。 - + %n file(s) were newly installed 最近安装了 %n 个文件 - + %n file(s) were overwritten %n 个文件被覆盖 - + %n file(s) failed to install %n 个文件安装失败 - + System Application 系统应用 - + System Archive 系统档案 - + System Application Update 系统应用更新 - + Firmware Package (Type A) 固件包 (A型) - + Firmware Package (Type B) 固件包 (B型) - + Game 游戏 - + Game Update 游戏更新 - + Game DLC 游戏 DLC - + Delta Title 差量程序 - + Select NCA Install Type... 选择 NCA 安装类型... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) 请选择此 NCA 的程序类型: (在大多数情况下,选择默认的“游戏”即可。) - + Failed to Install 安装失败 - + The title type you selected for the NCA is invalid. 选择的 NCA 程序类型无效。 - + File not found 找不到文件 - + File "%1" not found 文件 "%1" 未找到 - + OK 确定 - - + + Hardware requirements not met 硬件不满足要求 - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - 您的系统不满足运行 yuzu 推荐的推荐配置。兼容性报告已被禁用。 + 您的系统不满足运行 yuzu 的推荐配置。兼容性报告已被禁用。 - + Missing yuzu Account 未设置 yuzu 账户 - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. 要提交游戏兼容性测试用例,您必须设置您的 yuzu 帐户。<br><br/>要设置您的 yuzu 帐户,请转到模拟 &gt; 设置 &gt; 网络。 - + Error opening URL 打开 URL 时出错 - + Unable to open the URL "%1". 无法打开 URL : "%1" 。 - + TAS Recording TAS 录制中 - + Overwrite file of player 1? 覆盖玩家 1 的文件? - + Invalid config detected 检测到无效配置 - + Handheld controller can't be used on docked mode. Pro controller will be selected. 掌机手柄无法在主机模式中使用。将会选择 Pro controller。 - - + + Amiibo Amiibo - - + + The current amiibo has been removed 当前的 Amiibo 已被移除。 - + Error 错误 - - + + The current game is not looking for amiibos 当前游戏并没有在寻找 Amiibos - + Amiibo File (%1);; All Files (*.*) Amiibo 文件 (%1);; 全部文件 (*.*) - + Load Amiibo 加载 Amiibo - + Error loading Amiibo data 加载 Amiibo 数据时出错 - + The selected file is not a valid amiibo 选择的文件并不是有效的 amiibo - + The selected file is already on use 选择的文件已在使用中 - + An unknown error occurred 发生了未知错误 - + Capture Screenshot 捕获截图 - + PNG Image (*.png) PNG 图像 (*.png) - + TAS state: Running %1/%2 TAS 状态:正在运行 %1/%2 - + TAS state: Recording %1 TAS 状态:正在录制 %1 - + TAS state: Idle %1/%2 TAS 状态:空闲 %1/%2 - + TAS State: Invalid TAS 状态:无效 - + &Stop Running 停止运行 (&S) - + &Start 开始 (&S) - + Stop R&ecording 停止录制 (&E) - + R&ecord 录制 (&E) - + Building: %n shader(s) 正在编译 %n 个着色器文件 - + Scale: %1x %1 is the resolution scaling factor 缩放比例: %1x - + Speed: %1% / %2% 速度: %1% / %2% - + Speed: %1% 速度: %1% - + Game: %1 FPS (Unlocked) - 游戏: %1 FPS (未锁定) + FPS: %1 (未锁定) - + Game: %1 FPS FPS: %1 - + Frame: %1 ms - 帧延迟:%1 毫秒 + 帧延迟: %1 毫秒 - - GPU NORMAL - GPU NORMAL + + %1 %2 + %1 %2 - - GPU HIGH - GPU HIGH - - - - GPU EXTREME - GPU EXTREME - - - - GPU ERROR - GPU ERROR - - - - DOCKED - 主机模式 - - - - HANDHELD - 掌机模式 - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - - - - - NEAREST - 邻近取样 - - - - - BILINEAR - 双线性过滤 - - - - BICUBIC - 双三线过滤 - - - - GAUSSIAN - 高斯模糊 - - - - SCALEFORCE - 强制缩放 - - - + + FSR FSR - - + NO AA 抗锯齿关 - - FXAA - FXAA + + VOLUME: MUTE + 音量: 静音 - - SMAA - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) + 音量: %1% - + Confirm Key Rederivation 确认重新生成密钥 - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5375,37 +5633,37 @@ This will delete your autogenerated key files and re-run the key derivation modu 这将删除您自动生成的密钥文件并重新运行密钥生成模块。 - + Missing fuses 项目丢失 - + - Missing BOOT0 - 丢失 BOOT0 - + - Missing BCPKG2-1-Normal-Main - 丢失 BCPKG2-1-Normal-Main - + - Missing PRODINFO - 丢失 PRODINFO - + Derivation Components Missing 组件丢失 - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> 密钥缺失。<br>请查看<a href='https://yuzu-emu.org/help/quickstart/'>yuzu 快速导航</a>以获得你的密钥、固件和游戏。<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5414,39 +5672,49 @@ on your system's performance. 您的系统性能。 - + Deriving Keys 生成密钥 - + + System Archive Decryption Failed + 系统固件解密失败 + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + 当前密钥无法解密系统固件。<br>请查看<a href='https://yuzu-emu.org/help/quickstart/'>yuzu 快速导航</a>以获得你的密钥、固件和游戏。 + + + Select RomFS Dump Target 选择 RomFS 转储目标 - + Please select which RomFS you would like to dump. 请选择希望转储的 RomFS。 - + Are you sure you want to close yuzu? 您确定要关闭 yuzu 吗? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. 您确定要停止模拟吗?未保存的进度将会丢失。 - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5454,6 +5722,101 @@ Would you like to bypass this and exit anyway? 您希望忽略并退出吗? + + + None + + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + 邻近取样 + + + + Bilinear + 双线性过滤 + + + + Bicubic + 双三线过滤 + + + + Gaussian + 高斯模糊 + + + + ScaleForce + 强制缩放 + + + + Docked + 主机模式 + + + + Handheld + 掌机模式 + + + + Normal + 正常 + + + + High + + + + + Extreme + Extreme + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5554,117 +5917,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + 移除缓存 + + + Remove OpenGL Pipeline Cache 删除 OpenGL 着色器缓存 - + Remove Vulkan Pipeline Cache 删除 Vulkan 着色器缓存 - + Remove All Pipeline Caches 删除所有着色器缓存 - + Remove All Installed Contents 删除所有安装的项目 - + Dump RomFS 转储 RomFS - + Dump RomFS to SDMC 转储 RomFS 到 SDMC - + Copy Title ID to Clipboard 复制游戏 ID 到剪贴板 - + Navigate to GameDB entry 查看兼容性报告 - + Create Shortcut 创建快捷方式 - + Add to Desktop 添加到桌面 - + Add to Applications Menu 添加到应用程序菜单 - + Properties 属性 - + Scan Subfolders 扫描子文件夹 - + Remove Game Directory 移除游戏目录 - + ▲ Move Up ▲ 向上移动 - + ▼ Move Down ▼ 向下移动 - + Open Directory Location 打开目录位置 - + Clear 清除 - + Name 名称 - + Compatibility 兼容性 - + Add-ons 附加项 - + File type 文件类型 - + Size 大小 @@ -5704,7 +6072,7 @@ Would you like to bypass this and exit anyway? Intro/Menu - 开场 / 菜单 + 开场/菜单 @@ -5714,12 +6082,12 @@ Would you like to bypass this and exit anyway? Won't Boot - 无法打开 + 无法启动 The game crashes when attempting to startup. - 在启动游戏时直接崩溃了。 + 在启动游戏时直接崩溃。 @@ -5735,9 +6103,9 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list - 双击以添加新的游戏文件夹 + 双击添加新的游戏文件夹 @@ -5748,12 +6116,12 @@ Would you like to bypass this and exit anyway? %1 / %n 个结果 - + Filter: 搜索: - + Enter pattern to filter 搜索游戏 @@ -5844,138 +6212,138 @@ Debug Message: Hotkeys - + Audio Mute/Unmute 开启/关闭静音 - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window 主窗口 - + Audio Volume Down 调低音量 - + Audio Volume Up 调高音量 - + Capture Screenshot 捕获截图 - + Change Adapting Filter 更改窗口滤镜 - + Change Docked Mode 更改主机运行模式 - + Change GPU Accuracy 更改 GPU 精度 - + Continue/Pause Emulation 继续/暂停模拟 - + Exit Fullscreen 退出全屏 - + Exit yuzu 退出 yuzu - + Fullscreen 全屏 - + Load File 加载文件 - + Load/Remove Amiibo 加载/移除 Amiibo - + Restart Emulation 重新启动模拟 - + Stop Emulation 停止模拟 - + TAS Record TAS 录制 - + TAS Reset 重置 TAS - + TAS Start/Stop TAS 开始/停止 - + Toggle Filter Bar 切换搜索栏 - + Toggle Framerate Limit 切换帧率限制 - + Toggle Mouse Panning 切换鼠标平移 - + Toggle Status Bar 切换状态栏 @@ -5998,7 +6366,7 @@ Debug Message: 安装 - + Install Files to NAND 安装文件到 NAND @@ -6006,7 +6374,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 文本中不能包含以下字符: @@ -6081,51 +6449,56 @@ Debug Message: + Hide Empty Rooms + 隐藏空房间 + + + Hide Full Rooms 隐藏满员的房间 - + Refresh Lobby 刷新游戏大厅 - + Password Required to Join - 加入此房间需要密码 + 需要密码 - + Password: 密码: - + Players 玩家数 - + Room Name 房间名称 - + Preferred Game 首选游戏 - + Host 房主 - + Refreshing 刷新中 - + Refresh List 刷新列表 @@ -6663,7 +7036,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 开始/暂停 @@ -6712,31 +7085,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未设置] @@ -6747,14 +7120,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 轴 %1%2 @@ -6765,264 +7138,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [未知] - - - + + + Left - - - + + + Right - - - + + + Down - - - + + + Up - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start 开始 - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle Δ - - + + Share 分享 - - + + Options 选项 - - + + [undefined] [未指定] - + %1%2 %1%2 - - + + [invalid] [无效] - - - - + + %1%2Hat %3 %1%2Hat 控制器 %3 - - - - - - + + + + %1%2Axis %3 %1%2轴 %3 - - + + %1%2Axis %3,%4,%5 %1%2轴 %3,%4,%5 - - + + %1%2Motion %3 %1%2体感 %3 - - - - + + %1%2Button %3 %1%2按键 %3 - - + + [unused] [未使用] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + 左摇杆 + + + + Stick R + 右摇杆 + + + + Plus + + + + + Minus + + + + + Home Home - + + Capture + 截图 + + + Touch 触摸 - + Wheel Indicates the mouse wheel 鼠标滚轮 - + Backward 后退 - + Forward 前进 - + Task 任务键 - + Extra 额外按键 - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3 控制器 %4 + + + + + %1%2%3Axis %4 + %1%2%3轴 %4 + + + + + %1%2%3Button %4 + %1%2%3 按键 %4 @@ -7391,28 +7822,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) 错误代码: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. 发生了一个错误。 请再试一次或联系开发者。 - + An error occurred on %1 at %2. Please try again or contact the developer of the software. 在 %2 处的 %1 上发生了一个错误。 请再试一次或联系开发者。 - + An error has occurred. %1 @@ -7436,20 +7867,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - 选择一个用户: - - - + Users 用户 - + + Profile Creator + 创建用户 + + + + Profile Selector 选择用户 + + + Profile Icon Editor + 修改用户图像 + + + + Profile Nickname Editor + 修改用户昵称 + + + + Who will receive the points? + 谁将获得黄金点数? + + + + Who is using Nintendo eShop? + 谁正在使用任天堂 eShop? + + + + Who is making this purchase? + 是谁购买了这个? + + + + Who is posting? + 谁在发帖? + + + + Select a user to link to a Nintendo Account. + 选择要链接到任天堂账户的用户。 + + + + Change settings for which user? + 要更改哪个用户的设置? + + + + Format data for which user? + 要为哪个用户格式化数据? + + + + Which user will be transferred to another console? + 哪个用户将被转移到另一个控制台? + + + + Send save data for which user? + 要为哪个用户发送保存数据? + + + + Select a user: + 选择一个用户: + QtSoftwareKeyboardDialog @@ -7493,57 +7985,26 @@ p, li { white-space: pre-wrap; } Enter a hotkey - 键入热键 + 输入热键 WaitTreeCallstack - + Call stack 调用栈 - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - 正在等待互斥锁 0x%1 - - - - has waiters: %1 - 等待中: %1 - - - - owner handle: 0x%1 - 所有者句柄: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - 正在等待所有对象 - - - - waiting for one of the following objects - 正在等待下列对象中的一个 - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread 没有等待的线程 @@ -7551,120 +8012,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable 可运行 - + paused - 暂停 + 已暂停 - + sleeping - 睡眠 + 睡眠中 - + waiting for IPC reply 等待 IPC 响应 - + waiting for objects 等待对象 - + waiting for condition variable 等待条件变量 - + waiting for address arbiter 等待 address arbiter - + waiting for suspend resume 等待挂起的线程 - + waiting 等待中 - + initialized 初始化完毕 - + terminated 线程终止 - + unknown 未知 - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 核心 %1 - + processor = %1 处理器 = %1 - - ideal core = %1 - 理想核心 = %1 - - - + affinity mask = %1 关联掩码 = %1 - + thread id = %1 线程 ID = %1 - + priority = %1(current) / %2(normal) 优先级 = %1 (实时) / %2 (正常) - + last running ticks = %1 最后运行频率 = %1 - - - not waiting for mutex - 未等待互斥锁 - WaitTreeThreadList - + waited by thread 等待中的线程 @@ -7672,7 +8123,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree 等待树 (&W) diff --git a/dist/languages/zh_TW.ts b/dist/languages/zh_TW.ts index 5ef629e41..436f3bdb7 100644 --- a/dist/languages/zh_TW.ts +++ b/dist/languages/zh_TW.ts @@ -122,7 +122,7 @@ p, li { white-space: pre-wrap; } %1 has been unbanned - %1 已被解封 + %1 已被解除禁止 @@ -153,7 +153,7 @@ p, li { white-space: pre-wrap; } Kick Player - 踢出玩家 + 踢除玩家 @@ -267,17 +267,17 @@ This would ban both their forum username and their IP address. <html><head/><body><p>Does the game reach gameplay?</p></body></html> - <html><head/><body><p>游戏是否具有游戏性?</p></body></html> + <html><head/><body><p>是否可以進行遊戲?</p></body></html> Yes The game works without crashes - 是的,游戏运行时没有崩溃 + 是,遊戲正常運作,並無當機 No The game crashes or freezes during gameplay - 不,游戏运行时出现卡死或崩溃 + 否,遊玩過程中會出現當機或凍結 @@ -380,36 +380,61 @@ This would ban both their forum username and their IP address. - Output Device - 输出设备 + Output Device: + 輸出裝置: - Input Device + Input Device: 輸入裝置: - + + Sound Output Mode: + 音訊輸出模式: + + + + Mono + 單聲道 + + + + Stereo + 立體聲 + + + + Surround + 環繞音效 + + + Use global volume 使用全域音量 - + Set volume: 音量: - + Volume: 音量: - + 0 % 0 % - + + Mute audio when in background + 模擬器在背景執行時靜音 + + + %1% Volume percentage (e.g. 50%) %1% @@ -430,27 +455,27 @@ This would ban both their forum username and their IP address. Camera Image Source: - 摄像头图像来源: + 相機圖像來源: Input device: - 输入设备: + 輸入裝置: Preview - 预览 + 預覽 Resolution: 320*240 - 分辨率: 320*240 + 解析度:320*240 Click to preview - 点击进行预览 + 按一下以預覽 @@ -828,7 +853,7 @@ This would ban both their forum username and their IP address. Debugger - 调试器 + 偵錯工具 @@ -936,122 +961,132 @@ This would ban both their forum username and their IP address. 停用 Macro JIT - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 停用macro HLE,將會降低遊戲效能。 + + + + Disable Macro HLE + 停用macro HLE + + + When checked, yuzu will log statistics about the compiled pipeline cache 啟用時 yuzu 將記錄有關編譯著色器快取的統計資訊。 - + Enable Shader Feedback 啟用著色器回饋 - + When checked, it executes shaders without loop logic changes 啟用時 yuzu 在執行著色器時,不會修改循環結構的條件判斷。 - + Disable Loop safety checks 停用循環安全檢查 - + Debugging 偵錯 - + Enable Verbose Reporting Services** 啟用詳細報告服務 - + Enable FS Access Log 啟用檔案系統存取記錄 - + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. 启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。 - + Dump Audio Commands To Console** 将音频命令转储至控制台** - + Create Minidump After Crash 微型故障转储 - + Advanced 進階 - + Kiosk (Quest) Mode Kiosk (Quest) 模式 - + Enable CPU Debugging 啟用 CPU 模擬偵錯 - + Enable Debug Asserts 啟用偵錯 - + Enable Auto-Stub** 啟用自動偵錯** - + Enable All Controller Types 启用其他控制器 - + Disable Web Applet 停用 Web Applet - + Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu. 允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现此问题,请禁用此选项。 - + Perform Startup Vulkan Check 启动时进行 Vulkan 检测 - + **This will be reset automatically when yuzu closes. **當 yuzu 關閉時會自動重設。 Restart Required - 需要重启 + 需要重新啟動 yuzu is required to restart in order to apply this setting. - 重启 yuzu 后才能应用此设置。 + yuzu 需要重新啟動以套用此設定。 - + Web applet not compiled - Web 应用程序未编译 + Web 小程式未編譯 - + MiniDump creation not compiled 小型转储创建未编译 @@ -1101,78 +1136,78 @@ This would ban both their forum username and their IP address. yuzu 設定 - - + + Audio 音訊 - - + + CPU CPU - + Debug 偵錯 - + Filesystem 檔案系統 - - + + General 一般 - - + + Graphics 圖形 - + GraphicsAdvanced 進階圖形 - + Hotkeys 快速鍵 - - + + Controls 控制 - + Profiles 設定檔 - + Network 網路 - - + + System 系統 - + Game List 遊戲清單 - + Web 網路服務 @@ -1347,46 +1382,41 @@ This would ban both their forum username and their IP address. - Extended memory layout (6GB DRAM) - 扩展的内存布局 (6GB DRAM) - - - Confirm exit while emulation is running 退出遊戲時需要確認 - + Prompt for user on game boot 啟動遊戲時提示選擇使用者 - + Pause emulation when in background 模擬器在背景執行時暫停 - - Mute audio when in background - 模拟器位于后台时静音 - - - + Hide mouse on inactivity 滑鼠閒置時自動隱藏 - + + Disable controller applet + 禁用控制器程序 + + + Reset All Settings 重設所有設定 - + yuzu yuzu - + This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed? 這將重設所有遊戲的額外設定,但不會刪除遊戲資料夾、使用者設定檔、輸入設定檔,是否繼續? @@ -1425,7 +1455,7 @@ This would ban both their forum username and their IP address. - + None @@ -1451,216 +1481,272 @@ This would ban both their forum username and their IP address. + VSync Mode: + 垂直同步模式: + + + + FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +Mailbox can have lower latency than FIFO and does not tear but may drop frames. +Immediate (no synchronization) just presents whatever is available and can exhibit tearing. + FIFO (垂直同步)不会掉帧或产生画面撕裂,但受到屏幕刷新率的限制。 +FIFO Relaxed 类似于 FIFO,但允许从低 FPS 恢复时产生撕裂。 +Mailbox 具有比 FIFO 更低的延迟,不会产生撕裂但可能会掉帧。 +Immediate (无同步)只显示可用内容,并可能产生撕裂。 + + + NVDEC emulation: NVDEC 模擬方式: - + No Video Output 無視訊輸出 - + CPU Video Decoding CPU 視訊解碼 - + GPU Video Decoding (Default) GPU 視訊解碼(預設) - + Fullscreen Mode: 全螢幕模式: - + Borderless Windowed 無邊框視窗 - + Exclusive Fullscreen 全螢幕獨占 - + Aspect Ratio: 長寬比: - + Default (16:9) 預設 (16:9) - + Force 4:3 強制 4:3 - + Force 21:9 強制 21:9 - + Force 16:10 - 强制 16:10 + 強制 16:10 - + Stretch to Window 延伸視窗 - + Resolution: 解析度: - + 0.5X (360p/540p) [EXPERIMENTAL] 0.5X (360p/540p) [實驗性] - + 0.75X (540p/810p) [EXPERIMENTAL] 0.75X (540p/810p) [實驗性] - + 1X (720p/1080p) 1X (720p/1080p) - + + 1.5X (1080p/1620p) [EXPERIMENTAL] + 1.5X (1080p/1620p) [實驗性] + + + 2X (1440p/2160p) 2X (1440p/2160p) - + 3X (2160p/3240p) 3X (2160p/3240p) - + 4X (2880p/4320p) 4X (2880p/4320p) - + 5X (3600p/5400p) 5X (3600p/5400p) - + 6X (4320p/6480p) 6X (4320p/6480p) - + + 7X (5040p/7560p) + 7X (5040p/7560p) + + + + 8X (5760p/8640p) + 8X (5760p/8640p) + + + Window Adapting Filter: 視窗濾鏡: - + Nearest Neighbor 最近鄰域 - + Bilinear 雙線性 - + Bicubic 雙三次 - + Gaussian 高斯 - + ScaleForce 強制縮放 - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 超高畫質技術 (僅限 Vulkan 模式) + + AMD FidelityFX™️ Super Resolution + AMD FidelityFX™️ 超級解析度技術 - + Anti-Aliasing Method: 抗鋸齒方式: - + FXAA FXAA - + SMAA SMAA - + Use global FSR Sharpness - 启用全局 FSR 锐化 + 啟用全域 FSR 清晰度 - + Set FSR Sharpness - 设置 FSR 锐化 + 設定 FSR 清晰度 - + FSR Sharpness: - FSR 锐化度: + FSR 清晰度: - + 100% 100% - - + + Use global background color 使用全域背景顏色 - + Set background color: 設定背景顏色: - + Background Color: 背景顏色: - + GLASM (Assembly Shaders, NVIDIA Only) GLASM(組合語言著色器,僅限 NVIDIA) - + SPIR-V (Experimental, Mesa Only) - SPIR-V (实验性,仅限 Mesa) + SPIR-V (實驗性,僅 Mesa) - + %1% FSR sharpening percentage (e.g. 50%) %1% + + + Off + 關閉 + + + + VSync Off + 垂直同步關 + + + + Recommended + 推薦 + + + + On + 開啟 + + + + VSync On + 垂直同步開 + ConfigureGraphicsAdvanced @@ -1685,77 +1771,154 @@ This would ban both their forum username and their IP address. 精度: - - VSync prevents the screen from tearing, but some graphics cards have lower performance with VSync enabled. Keep it enabled if you don't notice a performance difference. - 垂直同步可防止畫面撕裂,但啟用後某些顯示卡效能可能會降低。如果您沒有發現效能降低,請保持啟用。 + + ASTC recompression: + ASTC 重新壓縮: - - Use VSync - 启用垂直同步 + + Uncompressed (Best quality) + 不壓縮 (最高品質) - + + BC1 (Low quality) + BC1 (低品質) + + + + BC3 (Medium quality) + BC3 (中品質) + + + + Enable asynchronous presentation (Vulkan only) + 启用异步帧提交 (仅限 Vulkan) + + + + Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed. + 在后台运行的同时等待图形命令,以防止 GPU 降低时钟速度。 + + + + Force maximum clocks (Vulkan only) + 强制最大时钟 (仅限 Vulkan 模式) + + + + Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental. + 启用异步 ASTC 纹理解码,可能减少加载时的卡顿。实验性功能。 + + + + Decode ASTC textures asynchronously (Hack) + 异步 ASTC 纹理解码 (不稳定) + + + + Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. + 使用反应性刷新取代预测性刷新,从而更精确地同步内存。 + + + + Enable Reactive Flushing + 启用反应性刷新 + + + Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental. 啟用非同步著色器編譯,可能會減少著色器不流暢的問題。實驗性功能。 - + Use asynchronous shader building (Hack) 使用非同步著色器編譯(不穩定) - + Enables Fast GPU Time. This option will force most games to run at their highest native resolution. 啟用快速 GPU 時間。此選項將強制大多數遊戲以其最高解析度執行。 - + Use Fast GPU Time (Hack) 使用快速 GPU 時間(不穩定) - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 启用悲观缓冲区刷新。此选项将强制刷新未修改的缓冲区,可能会降低性能。 + + Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally. + 启用 GPU 专用的管线缓存。在 Vulkan 驱动程序内部不存储管线缓存的情况下,此选项可显著提高着色器加载速度。 - - Use pessimistic buffer flushes (Hack) - 启用悲观缓冲区刷新 (不稳定) + + Use Vulkan pipeline cache + 启用 Vulkan 管线缓存 - + + Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled. +Compute pipelines are always enabled on all other drivers. + 启用某些游戏所需的计算管线。此选项仅适用于英特尔专有驱动程序。如果启用,可能会造成崩溃。 +在其他的驱动程序上将始终启用计算管线。 + + + + Enable Compute Pipelines (Intel Vulkan only) + 启用计算管线 (仅限 Intel 显卡 Vulkan 模式) + + + + Run the game at normal speed during video playback, even when the framerate is unlocked. + 在视频播放期间以正常速度运行游戏,即使帧率未锁定。 + + + + Sync to framerate of video playback + 播放视频时帧率同步 + + + + Improves rendering of transparency effects in specific games. + 改进某些游戏中透明效果的渲染。 + + + + Barrier feedback loops + 屏障反馈循环 + + + Anisotropic Filtering: 各向異性過濾: - + Automatic 自動 - + Default 預設 - + 2x 2x - + 4x 4x - + 8x 8x - + 16x 16x @@ -1788,70 +1951,65 @@ This would ban both their forum username and their IP address. 還原預設值 - + Action 動作 - + Hotkey 快速鍵 - + Controller Hotkey 控制器快捷鍵 - - - + + + Conflicting Key Sequence 按鍵衝突 - - + + The entered key sequence is already assigned to: %1 輸入的金鑰已指定給:%1 - - Home+%1 - Home+%1 - - - + [waiting] [請按按鍵] - + Invalid 無效 - + Restore Default 還原預設值 - + Clear 清除 - + Conflicting Button Sequence 按鍵衝突 - + The default button sequence is already assigned to: %1 預設的按鍵序列已分配給: %1 - + The default key sequence is already assigned to: %1 預設金鑰已指定給:%1 @@ -2143,7 +2301,7 @@ This would ban both their forum username and their IP address. - + Configure 設定 @@ -2169,6 +2327,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu 需要重新啟動 yuzu @@ -2188,22 +2348,27 @@ This would ban both their forum username and their IP address. 控制器导航 - - Enable mouse panning - 啟用滑鼠平移 + + Enable direct JoyCon driver + 启用 JoyCon 直接驱动 - - Mouse sensitivity - 滑鼠靈敏度 + + Enable direct Pro Controller driver [EXPERIMENTAL] + 启用 Pro Controller 直接驱动 [实验性] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + 此选项允许您在游戏中无限使用相同的 Amiibo。 - + + Use random Amiibo ID + 啟用 Amiibo 隨機 ID + + + Motion / Touch 體感/觸控 @@ -2223,47 +2388,47 @@ This would ban both their forum username and their IP address. Input Profiles - 输入配置文件 + 輸入設定檔 Player 1 Profile - 玩家 1 配置文件 + 玩家 1 設定檔 Player 2 Profile - 玩家 2 配置文件 + 玩家 2 設定檔 Player 3 Profile - 玩家 3 配置文件 + 玩家 3 設定檔 Player 4 Profile - 玩家 4 配置文件 + 玩家 4 設定檔 Player 5 Profile - 玩家 5 配置文件 + 玩家 5 設定檔 Player 6 Profile - 玩家 6 配置文件 + 玩家 6 設定檔 Player 7 Profile - 玩家 7 配置文件 + 玩家 7 設定檔 Player 8 Profile - 玩家 8 配置文件 + 玩家 8 設定檔 @@ -2273,7 +2438,7 @@ This would ban both their forum username and their IP address. Player %1 profile - 玩家 %1 配置文件 + 玩家 %1 設定檔 @@ -2291,7 +2456,7 @@ This would ban both their forum username and their IP address. Input Device - 輸入裝置: + 輸入裝置 @@ -2315,7 +2480,7 @@ This would ban both their forum username and their IP address. - + Left Stick 左搖桿 @@ -2409,14 +2574,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2435,7 +2600,7 @@ This would ban both their forum username and their IP address. - + Plus @@ -2448,15 +2613,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2513,236 +2678,257 @@ This would ban both their forum username and their IP address. - + Right Stick 右搖桿 - - - - + + Mouse panning + 鼠标平移 + + + + Configure + 設定 + + + + + + Clear 清除 - - - - - + + + + + [not set] [未設定] - - + + + Invert button 無效按鈕 - - + + Toggle button 切換按鍵 - - + + Turbo button + 连发键 + + + + Invert axis 方向反轉 - - - + + + Set threshold 設定閾值 - - + + Choose a value between 0% and 100% 選擇介於 0% 和 100% 之間的值 - + Toggle axis 切换轴 - + Set gyro threshold 陀螺仪阈值设定 - + + Calibrate sensor + 校准传感器 + + + Map Analog Stick 搖桿映射 - + After pressing OK, first move your joystick horizontally, and then vertically. To invert the axes, first move your joystick vertically, and then horizontally. 按下確定後,先水平再上下移動您的搖桿。 要反轉方向,則先上下再水平移動您的搖桿。 - + Center axis 中心轴 - - + + Deadzone: %1% 無感帶:%1% - - + + Modifier Range: %1% 輕推靈敏度:%1% - - + + Pro Controller Pro 手把 - + Dual Joycons 雙 Joycon 手把 - + Left Joycon 左 Joycon 手把 - + Right Joycon 右 Joycon 手把 - + Handheld 掌機模式 - + GameCube Controller GameCube 手把 - + Poke Ball Plus 精靈球 PLUS - + NES Controller NES 控制器 - + SNES Controller SNES 控制器 - + N64 Controller N64 控制器 - + Sega Genesis Mega Drive - + Start / Pause 開始 / 暫停 - + Z Z - + Control Stick 控制搖桿 - + C-Stick C 搖桿 - + Shake! 搖動! - + [waiting] [等待中] - + New Profile 新增設定檔 - + Enter a profile name: 輸入設定檔名稱: - - + + Create Input Profile 建立輸入設定檔 - + The given profile name is not valid! 輸入的設定檔名稱無效! - + Failed to create the input profile "%1" 建立輸入設定檔「%1」失敗 - + Delete Input Profile 刪除輸入設定檔 - + Failed to delete the input profile "%1" 刪除輸入設定檔「%1」失敗 - + Load Input Profile 載入輸入設定檔 - + Failed to load the input profile "%1" 載入輸入設定檔「%1」失敗 - + Save Input Profile 儲存輸入設定檔 - + Failed to save the input profile "%1" 儲存輸入設定檔「%1」失敗 @@ -2790,7 +2976,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 設定 @@ -2826,7 +3012,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 測試 @@ -2846,81 +3032,156 @@ To invert the axes, first move your joystick vertically, and then horizontally.< <a href='https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input'><span style="text-decoration: underline; color:#039be5;">了解更多</span></a> - + %1:%2 %1:%2 - - - - - - + + + + + + yuzu yuzu - + Port number has invalid characters 連線埠中包含無效字元 - + Port has to be in range 0 and 65353 連線埠必須為 0 到 65353 之間 - + IP address is not valid 無效的 IP 位址 - + This UDP server already exists 此 UDP 伺服器已存在 - + Unable to add more than 8 servers 最多只能新增 8 個伺服器 - + Testing 測試中 - + Configuring 設定中 - + Test Successful 測試成功 - + Successfully received data from the server. 已成功從伺服器取得資料 - + Test Failed 測試失敗 - + Could not receive valid data from the server.<br>Please verify that the server is set up correctly and the address and port are correct. 無法從伺服器取得有效的資料。<br>請檢查伺服器是否正確設定以及位址和連接埠是否正確。 - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. UDP 測試或觸控校正進行中。<br>請耐心等候。 + + ConfigureMousePanning + + + Configure mouse panning + 设置鼠标平移 + + + + Enable + 啟用 + + + + Can be toggled via a hotkey + 可通过热键进行切换 + + + + Sensitivity + 灵敏度 + + + + + Horizontal + 水平方向 + + + + + + + + + % + % + + + + + Vertical + 垂直方向 + + + + Deadzone counterweight + 调整死区范围 + + + + Counteracts a game's built-in deadzone + 调整游戏内置的死区范围 + + + + Stick decay + 摇杆老化 + + + + Strength + 强烈程度 + + + + Minimum + 最小值 + + + + Default + 預設 + + ConfigureNetwork @@ -2997,47 +3258,47 @@ To invert the axes, first move your joystick vertically, and then horizontally.< 出版商 - + Add-Ons 延伸模組 - + General 一般 - + System 系統 - + CPU CPU - + Graphics 圖形 - + Adv. Graphics 進階圖形 - + Audio 音訊 - + Input Profiles - 输入配置文件 + 輸入設定檔 - + Properties 屬性 @@ -3240,13 +3501,13 @@ UUID: %2 - If you want to use this controller configure player 1 as right controller and player 2 as dual joycon before starting the game to allow this controller to be detected properly. - 如果您想使用这个控制器,请在游戏开始前为玩家 1 配置使用右控制器,玩家 2 使用双 joycon 控制器,从而允许该控制器被正确检测。 + To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game. + 要使用健身环控制器,请在游戏开始前将玩家 1 设置使用右 Joy-Con控制器(包括物理和模拟层面),玩家 2 使用左 Joy-Con 控制器(物理和模拟层面)。 - Ring Sensor Parameters - 环形传感器参数 + Virtual Ring Sensor Parameters + 虚拟健身环传感器参数 @@ -3266,33 +3527,95 @@ UUID: %2 無感帶:0% - + + Direct Joycon Driver + Joycon 直接驱动 + + + + Enable Ring Input + 启用健身环输入 + + + + + Enable + 啟用 + + + + Ring Sensor Value + 健身环传感器参数 + + + + + Not connected + 未连接 + + + Restore Defaults 還原預設值 - + Clear 清除 - + [not set] [未設定] - + Invert axis 方向反轉 - - + + Deadzone: %1% 無感帶:%1% - + + Error enabling ring input + 启用健身环输入时出错 + + + + Direct Joycon driver is not enabled + 未启用 Joycon 直接驱动 + + + + Configuring + 設定中 + + + + The current mapped device doesn't support the ring controller + 当前映射的输入设备不支持健身环控制器 + + + + The current mapped device doesn't have a ring attached + 当前映射的设备未连接健身环控制器 + + + + The current mapped device is not connected + 当前映射的设备未连接 + + + + Unexpected driver result %1 + 意外的驱动结果: %1 + + + [waiting] [請按按鍵] @@ -3597,8 +3920,8 @@ UUID: %2 - English - 英文 (English) + American English + 美式英语 @@ -3698,57 +4021,22 @@ UUID: %2 Device Name - 设备名称 + 裝置名稱 - - Mono - 單聲道 + + Unsafe extended memory layout (8GB DRAM) + 不安全的内存布局扩展 (8GB DRAM) - - Stereo - 立體聲 - - - - Surround - 環繞音效 - - - - Console ID: - 主機 ID: - - - - Sound output mode - 聲道 - - - - Regenerate - 重新產生 - - - + System settings are available only when game is not running. 僅在遊戲未執行時才能修改使用者設定檔 - - This will replace your current virtual Switch with a new one. Your current virtual Switch will not be recoverable. This might have unexpected effects in games. This might fail, if you use an outdated config savegame. Continue? - 這會使用新的虛擬 Switch 取代你目前的虛擬 Switch,且將無法還原目前的虛擬 Switch。在部分遊戲中可能會出現意外後果。此動作可能因您使用過時的設定存檔而失敗。確定要繼續嗎? - - - - Warning - 警告 - - - - Console ID: 0x%1 - 主機 ID:0x%1 + + Warning: "%1" is not a valid language for region "%2" + 警告:“ %1 ”并不是“ %2 ”地区的有效语言。 @@ -3817,7 +4105,7 @@ UUID: %2 TAS 設定 - + Select TAS Load Directory... 選擇 TAS 載入資料夾... @@ -3886,7 +4174,7 @@ Drag points to change position, or double-click table cells to edit values. Enter the name for the new profile. - 輸入新設定檔的名稱 + 輸入新設定檔的名稱。 @@ -4373,7 +4661,7 @@ Drag points to change position, or double-click table cells to edit values.Controller P1 - + &Controller P1 &Controller P1 @@ -4383,45 +4671,40 @@ Drag points to change position, or double-click table cells to edit values. Direct Connect - 直接连接 + 直接連線 - - IP Address - IP 地址 + + Server Address + 伺服器地址 - - IP - IP + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>服务器地址</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - <html><head/><body><p>服务器 IPv4 地址</p></body></html> - - - + Port 端口 - + <html><head/><body><p>Port number the host is listening on</p></body></html> <html><head/><body><p>服务器端口</p></body> - + Nickname 昵称 - + Password 密码 - + Connect 连接 @@ -4429,12 +4712,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 连接中 - + Connect 连接 @@ -4442,925 +4725,900 @@ Drag points to change position, or double-click table cells to edit values. GMainWindow - + <a href='https://yuzu-emu.org/help/feature/telemetry/'>Anonymous data is collected</a> to help improve yuzu. <br/><br/>Would you like to share your usage data with us? 我們<a href='https://yuzu-emu.org/help/feature/telemetry/'>蒐集匿名的資料</a>以幫助改善 yuzu。<br/><br/>您願意和我們分享您的使用資料嗎? - + Telemetry 遙測 - + Broken Vulkan Installation Detected 检测到 Vulkan 的安装已损坏 - + Vulkan initialization failed during boot.<br><br>Click <a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for instructions to fix the issue</a>. Vulkan 初始化失败。<br><br>点击<a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>这里</a>获取此问题的相关信息。 - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + 游戏正在运行 + + + Loading Web Applet... 載入 Web Applet... - - + + Disable Web Applet 停用 Web Applet - + Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet? (This can be re-enabled in the Debug settings.) 禁用 Web 应用程序可能会导致未知的行为,且只能在《超级马里奥 3D 全明星》中使用。您确定要禁用 Web 应用程序吗? (您可以在调试选项中重新启用它。) - + The amount of shaders currently being built 目前正在建構的著色器數量 - + The current selected resolution scaling multiplier. 目前選擇的解析度縮放比例。 - + Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch. 目前的模擬速度。高於或低於 100% 表示比實際 Switch 執行速度更快或更慢。 - + How many frames per second the game is currently displaying. This will vary from game to game and scene to scene. 遊戲即時 FPS。會因遊戲和場景的不同而改變。 - + Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms. 在不考慮幀數限制和垂直同步的情況下模擬一個 Switch 畫格的實際時間,若要全速模擬,此數值不得超過 16.67 毫秒。 - + + Unmute + 取消靜音 + + + + Mute + 靜音 + + + + Reset Volume + 重設音量 + + + &Clear Recent Files 清除最近的檔案(&C) - + + Emulated mouse is enabled + 模擬滑鼠已啟用 + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + 实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。 + + + &Continue 繼續(&C) - + &Pause &暫停 - - yuzu is running a game - TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping - yuzu 正在執行中 - - - + Warning Outdated Game Format 過時遊戲格式警告 - + You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.<br><br>For an explanation of the various Switch formats yuzu supports, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our wiki</a>. This message will not be shown again. 此遊戲為解構的 ROM 資料夾格式,這是一種過時的格式,已被其他格式取代,如 NCA、NAX、XCI、NSP。解構的 ROM 目錄缺少圖示、中繼資料和更新支援。<br><br>有關 yuzu 支援的各種 Switch 格式說明,<a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>請參閱我們的 wiki </a>。此訊息將不再顯示。 - - + + Error while loading ROM! 載入 ROM 時發生錯誤! - + The ROM format is not supported. 此 ROM 格式不支援 - + An error occurred initializing the video core. 初始化視訊核心時發生錯誤 - + yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: <a href='https://yuzu-emu.org/help/reference/log-files/'>How to Upload the Log File</a>. yuzu 在執行視訊核心時發生錯誤。 這可能是 GPU 驅動程序過舊造成的。 詳細資訊請查閱日誌檔案。 關於日誌檔案的更多資訊,請參考以下頁面:<a href='https://yuzu-emu.org/help/reference/log-files/'>如何上傳日誌檔案</a>。 - + Error while loading ROM! %1 %1 signifies a numeric error code. 載入 ROM 時發生錯誤!%1 - + %1<br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to redump your files.<br>You can refer to the yuzu wiki</a> or the yuzu Discord</a> for help. %1 signifies an error string. %1<br>請參閱 <a href='https://yuzu-emu.org/help/quickstart/'>yuzu 快速指引</a>以重新傾印檔案。<br>您可以前往 yuzu 的 wiki</a> 或 Discord 社群</a>以獲得幫助。 - + An unknown error occurred. Please see the log for more details. 發生未知錯誤,請檢視紀錄了解細節。 - + (64-bit) (64-bit) - + (32-bit) (32-bit) - + %1 %2 %1 is the title name. %2 indicates if the title is 64-bit or 32-bit %1 %2 - + Closing software... - 正在关闭… + 正在關閉軟體… - + Save Data 儲存資料 - + Mod Data 模組資料 - + Error Opening %1 Folder 開啟資料夾 %1 時發生錯誤 - - + + Folder does not exist! 資料夾不存在 - + Error Opening Transferable Shader Cache 開啟通用著色器快取位置時發生錯誤 - + Failed to create the shader cache directory for this title. 無法新增此遊戲的著色器快取資料夾。 - + Error Removing Contents - 删除内容时出错 + 移除內容時發生錯誤 - + Error Removing Update - 删除更新时出错 + 移除更新時發生錯誤 - + Error Removing DLC - 删除 DLC 时出错 + 移除 DLC 時發生錯誤 - + Remove Installed Game Contents? - 删除已安装的游戏内容? + 移除已安裝的遊戲內容? - + Remove Installed Game Update? - 删除已安装的游戏更新? + 移除已安裝的遊戲更新? - + Remove Installed Game DLC? - 删除已安装的游戏 DLC 内容? + 移除已安裝的遊戲 DLC? - + Remove Entry 移除項目 - - - - - - + + + + + + Successfully Removed 移除成功 - + Successfully removed the installed base game. 成功移除已安裝的遊戲。 - + The base game is not installed in the NAND and cannot be removed. 此遊戲並非安裝在內部儲存空間,因此無法移除。 - + Successfully removed the installed update. 成功移除已安裝的遊戲更新。 - + There is no update installed for this title. 此遊戲沒有已安裝的更新。 - + There are no DLC installed for this title. 此遊戲沒有已安裝的 DLC。 - + Successfully removed %1 installed DLC. 成功移除遊戲 %1 已安裝的 DLC。 - + Delete OpenGL Transferable Shader Cache? 刪除 OpenGL 模式的著色器快取? - + Delete Vulkan Transferable Shader Cache? 刪除 Vulkan 模式的著色器快取? - + Delete All Transferable Shader Caches? 刪除所有的著色器快取? - + Remove Custom Game Configuration? 移除額外遊戲設定? - + + Remove Cache Storage? + 移除快取儲存空間? + + + Remove File 刪除檔案 - - + + Error Removing Transferable Shader Cache 刪除通用著色器快取時發生錯誤 - - + + A shader cache for this title does not exist. 此遊戲沒有著色器快取 - + Successfully removed the transferable shader cache. 成功刪除著色器快取。 - + Failed to remove the transferable shader cache. 刪除通用著色器快取失敗。 - - + + Error Removing Vulkan Driver Pipeline Cache + 移除 Vulkan 驅動程式管線快取時發生錯誤 + + + + Failed to remove the driver pipeline cache. + 無法移除驅動程式管線快取。 + + + + Error Removing Transferable Shader Caches 刪除通用著色器快取時發生錯誤 - + Successfully removed the transferable shader caches. 成功刪除通用著色器快取。 - + Failed to remove the transferable shader cache directory. 無法刪除著色器快取資料夾。 - - + + Error Removing Custom Configuration 移除額外遊戲設定時發生錯誤 - + A custom configuration for this title does not exist. 此遊戲沒有額外設定。 - + Successfully removed the custom game configuration. 成功移除額外遊戲設定。 - + Failed to remove the custom game configuration. 移除額外遊戲設定失敗。 - - + + RomFS Extraction Failed! RomFS 抽取失敗! - + There was an error copying the RomFS files or the user cancelled the operation. 複製 RomFS 檔案時發生錯誤或使用者取消動作。 - + Full 全部 - + Skeleton 部分 - + Select RomFS Dump Mode 選擇RomFS傾印模式 - + Please select the how you would like the RomFS dumped.<br>Full will copy all of the files into the new directory while <br>skeleton will only create the directory structure. 請選擇如何傾印 RomFS。<br>「全部」會複製所有檔案到新資料夾中,而<br>「部分」只會建立資料夾結構。 - + There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation > Configure > System > Filesystem > Dump Root %1 沒有足夠的空間用於抽取 RomFS。請確保有足夠的空間或於模擬 > 設定 >系統 >檔案系統 > 傾印根目錄中選擇其他資料夾。 - + Extracting RomFS... 抽取 RomFS 中... - - + + Cancel 取消 - + RomFS Extraction Succeeded! RomFS 抽取完成! - + The operation completed successfully. 動作已成功完成 - - - - - + + + + + Create Shortcut - 创建快捷方式 + 建立捷徑 - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - 这将为当前的软件镜像创建快捷方式。但在其更新后,快捷方式可能无法正常使用。是否继续? + 這將會為目前的應用程式映像建立捷徑,可能在其更新後無法運作,仍要繼續嗎? - + Cannot create shortcut on desktop. Path "%1" does not exist. - 无法在桌面创建快捷方式。路径“ %1 ”不存在。 + 無法在桌面上建立捷徑,路徑「%1」不存在。 - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - 无法在应用程序菜单中创建快捷方式。路径“ %1 ”不存在且无法被创建。 + 無法在應用程式選單中建立捷徑,路徑「%1」不存在且無法建立。 - + Create Icon - 创建图标 + 建立圖示 - + Cannot create icon file. Path "%1" does not exist and cannot be created. - 无法创建图标文件。路径“ %1 ”不存在且无法被创建。 + 無法建立圖示檔案,路徑「%1」不存在且無法建立。 - + Start %1 with the yuzu Emulator - 使用 yuzu 启动 %1 + 使用 yuzu 模擬器啟動 %1 - + Failed to create a shortcut at %1 - 在 %1 处创建快捷方式时失败 + 無法在 %1 建立捷徑 - + Successfully created a shortcut to %1 - 成功地在 %1 处创建快捷方式 + 已成功在 %1 建立捷徑 - + Error Opening %1 開啟 %1 時發生錯誤 - + Select Directory 選擇資料夾 - + Properties 屬性 - + The game properties could not be loaded. 無法載入遊戲屬性 - + Switch Executable (%1);;All Files (*.*) %1 is an identifier for the Switch executable file extensions. Switch 執行檔 (%1);;所有檔案 (*.*) - + Load File 開啟檔案 - + Open Extracted ROM Directory 開啟已抽取的 ROM 資料夾 - + Invalid Directory Selected 選擇的資料夾無效 - + The directory you have selected does not contain a 'main' file. 選擇的資料夾未包含「main」檔案。 - + Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci) 可安装的 Switch 檔案 (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX 卡帶映像 (*.xci) - + Install Files 安裝檔案 - + %n file(s) remaining 剩餘 %n 個檔案 - + Installing file "%1"... 正在安裝檔案「%1」... - - + + Install Results 安裝結果 - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. 為了避免潛在的衝突,不建議將遊戲本體安裝至內部儲存空間。 此功能僅用於安裝遊戲更新和 DLC。 - + %n file(s) were newly installed 最近安裝了 %n 個檔案 - + %n file(s) were overwritten %n 個檔案被取代 - + %n file(s) failed to install %n 個檔案安裝失敗 - + System Application 系統應用程式 - + System Archive 系統檔案 - + System Application Update 系統應用程式更新 - + Firmware Package (Type A) 韌體包(A型) - + Firmware Package (Type B) 韌體包(B型) - + Game 遊戲 - + Game Update 遊戲更新 - + Game DLC 遊戲 DLC - + Delta Title Delta Title - + Select NCA Install Type... 選擇 NCA 安裝類型... - + Please select the type of title you would like to install this NCA as: (In most instances, the default 'Game' is fine.) 請選擇此 NCA 的安裝類型: (在多數情況下,選擇預設的「遊戲」即可。) - + Failed to Install 安裝失敗 - + The title type you selected for the NCA is invalid. 選擇的 NCA 安裝類型無效。 - + File not found 找不到檔案 - + File "%1" not found 找不到「%1」檔案 - + OK 確定 - - + + Hardware requirements not met - 硬件不满足要求 + 硬體不符合需求 - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - 您的系统不满足运行 yuzu 推荐的推荐配置。兼容性报告已被禁用。 + 您的系統不符合建議的硬體需求,相容性回報已停用。 - + Missing yuzu Account 未設定 yuzu 帳號 - + In order to submit a game compatibility test case, you must link your yuzu account.<br><br/>To link your yuzu account, go to Emulation &gt; Configuration &gt; Web. 為了上傳相容性測試結果,您必須登入 yuzu 帳號。<br><br/>欲登入 yuzu 帳號請至模擬 &gt; 設定 &gt; 網路。 - + Error opening URL 開啟 URL 時發生錯誤 - + Unable to open the URL "%1". 無法開啟 URL:「%1」。 - + TAS Recording TAS 錄製 - + Overwrite file of player 1? 覆寫玩家 1 的檔案? - + Invalid config detected 偵測到無效設定 - + Handheld controller can't be used on docked mode. Pro controller will be selected. 掌機手把無法在主機模式中使用。將會選擇 Pro 手把。 - - + + Amiibo Amiibo - - + + The current amiibo has been removed - 当前的 Amiibo 已被移除。 + 目前 Amiibo 已被移除。 - + Error - 错误 + 錯誤 - - + + The current game is not looking for amiibos - 当前游戏并没有在寻找 Amiibos + 目前遊戲並未在尋找 Amiibos - + Amiibo File (%1);; All Files (*.*) Amiibo 檔案 (%1);; 所有檔案 (*.*) - + Load Amiibo 開啟 Amiibo - + Error loading Amiibo data 載入 Amiibo 資料時發生錯誤 - + The selected file is not a valid amiibo - 选择的文件并不是有效的 amiibo + 選取的檔案不是有效的 Amiibo - + The selected file is already on use - 选择的文件已在使用中 + 選取的檔案已在使用中 - + An unknown error occurred - 发生了未知错误 + 發生了未知錯誤 - + Capture Screenshot 截圖 - + PNG Image (*.png) PNG 圖片 (*.png) - + TAS state: Running %1/%2 TAS 狀態:正在執行 %1/%2 - + TAS state: Recording %1 TAS 狀態:正在錄製 %1 - + TAS state: Idle %1/%2 TAS 狀態:閒置 %1/%2 - + TAS State: Invalid TAS 狀態:無效 - + &Stop Running &停止執行 - + &Start 開始(&S) - + Stop R&ecording 停止錄製 - + R&ecord 錄製 (&E) - + Building: %n shader(s) 正在編譯 %n 個著色器檔案 - + Scale: %1x %1 is the resolution scaling factor 縮放比例:%1x - + Speed: %1% / %2% 速度:%1% / %2% - + Speed: %1% 速度:%1% - + Game: %1 FPS (Unlocked) 遊戲: %1 FPS(未限制) - + Game: %1 FPS 遊戲:%1 FPS - + Frame: %1 ms 畫格延遲:%1 ms - - GPU NORMAL - GPU 一般效能 + + %1 %2 + %1 %2 - - GPU HIGH - GPU 高效能 - - - - GPU EXTREME - GPU 最高效能 - - - - GPU ERROR - GPU 錯誤 - - - - DOCKED - 主机模式 - - - - HANDHELD - 掌机模式 - - - - OPENGL - OPENGL - - - - VULKAN - VULKAN - - - - NULL - NULL - - - - NEAREST - 最近鄰域 - - - - - BILINEAR - 雙線性 - - - - BICUBIC - 雙三次 - - - - GAUSSIAN - 高斯 - - - - SCALEFORCE - 強制縮放 - - - + + FSR FSR - - + NO AA 抗鋸齒關 - - FXAA - FXAA + + VOLUME: MUTE + 音量: 靜音 - - SMAA - SMAA + + VOLUME: %1% + Volume percentage (e.g. 50%) + 音量: %1% - + Confirm Key Rederivation 確認重新產生金鑰 - + You are about to force rederive all of your keys. If you do not know what this means or what you are doing, this is a potentially destructive action. @@ -5376,37 +5634,37 @@ This will delete your autogenerated key files and re-run the key derivation modu 這將刪除您自動產生的金鑰檔案並重新執行產生金鑰模組。 - + Missing fuses 遺失項目 - + - Missing BOOT0 - 遺失 BOOT0 - + - Missing BCPKG2-1-Normal-Main - 遺失 BCPKG2-1-Normal-Main - + - Missing PRODINFO - 遺失 PRODINFO - + Derivation Components Missing 遺失產生元件 - + Encryption keys are missing. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games.<br><br><small>(%1)</small> 缺少加密金鑰。 <br>請按照<a href='https://yuzu-emu.org/help/quickstart/'>《Yuzu快速入門指南》來取得所有金鑰、韌體、遊戲<br><br><small>(%1)。 - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5415,39 +5673,49 @@ on your system's performance. 您的系統效能。 - + Deriving Keys 產生金鑰 - + + System Archive Decryption Failed + 系統封存解密失敗 + + + + Encryption keys failed to decrypt firmware. <br>Please follow <a href='https://yuzu-emu.org/help/quickstart/'>the yuzu quickstart guide</a> to get all your keys, firmware and games. + 加密金鑰無法解密韌體。<br>請依循<a href='https://yuzu-emu.org/help/quickstart/'>yuzu 快速開始指南</a>以取得您的金鑰、韌體和遊戲。 + + + Select RomFS Dump Target 選擇 RomFS 傾印目標 - + Please select which RomFS you would like to dump. 請選擇希望傾印的 RomFS。 - + Are you sure you want to close yuzu? 您確定要關閉 yuzu 嗎? - - - + + + yuzu yuzu - + Are you sure you want to stop the emulation? Any unsaved progress will be lost. 您確定要停止模擬嗎?未儲存的進度將會遺失。 - + The currently running application has requested yuzu to not exit. Would you like to bypass this and exit anyway? @@ -5455,6 +5723,101 @@ Would you like to bypass this and exit anyway? 您希望忽略並退出嗎? + + + None + + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + 最近鄰 + + + + Bilinear + 雙線性 + + + + Bicubic + 雙立方 + + + + Gaussian + 高斯 + + + + ScaleForce + 強制縮放 + + + + Docked + TV + + + + Handheld + 掌机模式 + + + + Normal + 標準 + + + + High + + + + + Extreme + 極高 + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow @@ -5467,7 +5830,7 @@ Would you like to bypass this and exit anyway? OpenGL shared contexts are not supported. - 不支持 OpenGL 共享上下文。 + 不支援 OpenGL 共用的上下文。 @@ -5555,117 +5918,122 @@ Would you like to bypass this and exit anyway? + Remove Cache Storage + 移除快取儲存空間 + + + Remove OpenGL Pipeline Cache 刪除 OpenGL 著色器管線快取 - + Remove Vulkan Pipeline Cache 刪除 Vulkan 著色器管線快取 - + Remove All Pipeline Caches 刪除所有著色器管線快取 - + Remove All Installed Contents 移除所有安裝項目 - + Dump RomFS 傾印 RomFS - + Dump RomFS to SDMC 傾印 RomFS 到 SDMC - + Copy Title ID to Clipboard 複製遊戲 ID 到剪貼簿 - + Navigate to GameDB entry 檢視遊戲相容性報告 - - - Create Shortcut - 创建快捷方式 - + Create Shortcut + 建立捷徑 + + + Add to Desktop - 添加到桌面 + 新增至桌面 - + Add to Applications Menu - 添加到应用程序菜单 + 新增至應用程式選單 - + Properties 屬性 - + Scan Subfolders 包含子資料夾 - + Remove Game Directory 移除遊戲資料夾 - + ▲ Move Up ▲ 向上移動 - + ▼ Move Down ▼ 向下移動 - + Open Directory Location 開啟資料夾位置 - + Clear 清除 - + Name 名稱 - + Compatibility 相容性 - + Add-ons 延伸模組 - + File type 檔案格式 - + Size 大小 @@ -5675,12 +6043,12 @@ Would you like to bypass this and exit anyway? Ingame - 进入游戏 + 遊戲內 Game starts, but crashes or major glitches prevent it from being completed. - 游戏可以开始,但会出现崩溃或严重故障导致游戏无法继续。 + 遊戲可以執行,但可能會出現當機或故障導致遊戲無法正常運作。 @@ -5690,17 +6058,17 @@ Would you like to bypass this and exit anyway? Game can be played without issues. - 游戏可以毫无问题地运行。 + 遊戲可以毫無問題的遊玩。 Playable - 可运行 + 可遊玩 Game functions with minor graphical or audio glitches and is playable from start to finish. - 游戏可以从头到尾完整地运行,但可能出现轻微的图形或音频故障。 + 遊戲自始至終可以正常遊玩,但可能會有一些輕微的圖形或音訊故障。 @@ -5710,7 +6078,7 @@ Would you like to bypass this and exit anyway? Game loads, but is unable to progress past the Start Screen. - 游戏可以加载,但无法通过标题页面。 + 遊戲可以載入,但無法通過開始畫面。 @@ -5736,7 +6104,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 連點兩下以新增資料夾至遊戲清單 @@ -5749,12 +6117,12 @@ Would you like to bypass this and exit anyway? %1 / %n 個結果 - + Filter: 搜尋: - + Enter pattern to filter 輸入文字以搜尋 @@ -5764,22 +6132,22 @@ Would you like to bypass this and exit anyway? Create Room - 创建房间 + 建立房間 Room Name - 房间名称 + 房間名稱 Preferred Game - 首选游戏 + 偏好遊戲 Max Players - 最大玩家数 + 最大玩家數目 @@ -5789,32 +6157,32 @@ Would you like to bypass this and exit anyway? (Leave blank for open game) - (留空表示不限定游戏) + (空白表示開放式遊戲) Password - 密码 + 密碼 Port - 端口 + 連接埠 Room Description - 房间描述 + 房間敘述 Load Previous Ban List - 加载先前的封禁列表 + 載入先前的封鎖清單 Public - 公共 + 公用 @@ -5824,7 +6192,7 @@ Would you like to bypass this and exit anyway? Host Room - 管理房间 + 主機房間 @@ -5832,7 +6200,7 @@ Would you like to bypass this and exit anyway? Error - 错误 + 錯誤 @@ -5845,140 +6213,140 @@ Debug Message: Hotkeys - + Audio Mute/Unmute - 静音/关闭静音 + 靜音/取消靜音 - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - 主窗口 + 主要視窗 - + Audio Volume Down - 调低音量 + 音訊音量降低 - + Audio Volume Up - 调高音量 + 音訊音量提高 - + Capture Screenshot 截圖 - + Change Adapting Filter - 更改窗口滤镜 + 變更自適性過濾器 - + Change Docked Mode - 更改运行模式 + 變更底座模式 - + Change GPU Accuracy - 更改 GPU 精度 + 變更 GPU 精確度 - + Continue/Pause Emulation - 继续/暂停模拟 + 繼續/暫停模擬 - + Exit Fullscreen - 退出全屏 + 離開全螢幕 - + Exit yuzu - 退出 yuzu + 離開 yuzu - + Fullscreen 全屏 - + Load File 開啟檔案 - + Load/Remove Amiibo - 加载/移除 Amiibo + 載入/移除 Amiibo - + Restart Emulation - 重新启动模拟 + 重新啟動模擬 - + Stop Emulation - 停止模拟 + 停止模擬 - + TAS Record - TAS 录制 + TAS 錄製 - + TAS Reset - 重设 TAS + TAS 重設 - + TAS Start/Stop - TAS 开始/停止 + TAS 開始/停止 - + Toggle Filter Bar - 切换搜索栏 + 切換搜尋列 - + Toggle Framerate Limit - 切换帧率限制 + 切換影格速率限制 - + Toggle Mouse Panning - 切换鼠标平移 + 切換滑鼠移動 - + Toggle Status Bar - 切换状态栏 + 切換狀態列 @@ -5999,7 +6367,7 @@ Debug Message: 安裝 - + Install Files to NAND 安裝檔案至內部儲存空間 @@ -6007,7 +6375,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 文字中不能包含以下字元:%1 @@ -6056,78 +6424,83 @@ Debug Message: Public Room Browser - 公共房间浏览器 + 公共房間瀏覽器 Nickname - 昵称 + 暱稱 Filters - 过滤器 + 過濾器 Search - 搜索 + 搜尋 Games I Own - 游戏 I 我的 + 我擁有的遊戲 + Hide Empty Rooms + 隱藏空房間 + + + Hide Full Rooms - 隐藏满员的房间 + 隱藏客滿的房間 - + Refresh Lobby - 刷新游戏大厅 + 重新整理遊戲大廳 - + Password Required to Join - 加入此房间需要密码 + 加入需要密碼 - + Password: - 密码: + 密碼: - + Players 玩家 - - - Room Name - 房间名称 - - Preferred Game - 首选游戏 + Room Name + 房間名稱 + Preferred Game + 偏好遊戲 + + + Host - 管理 + 主機 - + Refreshing - 刷新中 + 正在重新整理 - + Refresh List - 刷新列表 + 重新整理清單 @@ -6200,7 +6573,7 @@ Debug Message: &Multiplayer - 多人游戏 (&M) + 多人遊戲 (&M) @@ -6290,27 +6663,27 @@ Debug Message: &Browse Public Game Lobby - 浏览公共游戏大厅 (&B) + 瀏覽公用遊戲大廳 (&B) &Create Room - 创建房间 (&C) + 建立房間 (&C) &Leave Room - 离开房间 (&L) + 離開房間 (&L) &Direct Connect to Room - 直接连接到房间 (&D) + 直接連線到房間 (&D) &Show Current Room - 显示当前房间 (&S) + 顯示目前的房間 (&S) @@ -6325,7 +6698,7 @@ Debug Message: Load/Remove &Amiibo... - 加载/移除 Amiibo... (&A) + 載入/移除 Amiibo... (&A) @@ -6396,48 +6769,48 @@ Debug Message: Moderation - 审核 + 仲裁 Ban List - 封禁列表 + 封鎖清單 Refreshing - 刷新中 + 正在重新整理 Unban - 解封 + 解除封鎖 Subject - 项目 + 主旨 Type - 类型 + 類型 Forum Username - 论坛用户名 + 論壇使用者名稱 IP Address - IP 地址 + IP 位址 Refresh - 刷新 + 重新整理 @@ -6445,17 +6818,17 @@ Debug Message: Current connection status - 当前连接状态 + 目前連線狀態 Not Connected. Click here to find a room! - 未连接。点击此处查找一个房间! + 尚未連線,按一下這裡以尋找房間! Not Connected - 未连接 + 尚未連線 @@ -6465,12 +6838,12 @@ Debug Message: New Messages Received - 收到了新消息 + 收到了新訊息 Error - 错误 + 錯誤 @@ -6601,7 +6974,7 @@ Proceed anyway? Leave Room - 离开房间 + 離開房間 @@ -6663,7 +7036,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 開始 / 暫停 @@ -6712,31 +7085,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未設定] @@ -6747,14 +7120,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axis %1%2 @@ -6765,264 +7138,322 @@ p, li { white-space: pre-wrap; } - - - - - - + + + + + + [unknown] [未知] - - - + + + Left - - - + + + Right - - - + + + Down - - - + + + Up - - + + Z Z - - + + R R - - + + L L - - + + A A - - + + B B - - + + X X - - + + Y Y - - + + Start 開始 - - + + L1 L1 - - + + L2 L2 - - + + L3 L3 - - + + R1 R1 - - + + R2 R2 - - + + R3 R3 - - + + Circle - - + + Cross - - + + Square - - + + Triangle Δ - - + + Share 分享 - - + + Options 選項 - - + + [undefined] [未指定] - + %1%2 %1%2 - - + + [invalid] [無效] - - - - + + %1%2Hat %3 %1%2Hat 控制器 %3 - - - - - - + + + + %1%2Axis %3 %1%2軸 %3 - - + + %1%2Axis %3,%4,%5 %1%2軸 %3,%4,%5 - - + + %1%2Motion %3 %1%2體感 %3 - - - - + + %1%2Button %3 %1%2按鈕 %3 - - + + [unused] [未使用] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + 左摇杆 + + + + Stick R + 右摇杆 + + + + Plus + + + + + Minus + + + + + Home HOME - + + Capture + 截圖 + + + Touch 觸控 - + Wheel Indicates the mouse wheel 滑鼠滾輪 - + Backward 後退 - + Forward 前進 - + Task 任務鍵 - + Extra 額外按鍵 - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3 控制器 %4 + + + + + %1%2%3Axis %4 + %1%2%3轴 %4 + + + + + %1%2%3Button %4 + %1%2%3 按鍵 %4 @@ -7030,12 +7461,12 @@ p, li { white-space: pre-wrap; } Amiibo Settings - Amiibo 设置 + Amiibo 設定 Amiibo Info - Amiibo 信息 + Amiibo 資訊 @@ -7055,7 +7486,7 @@ p, li { white-space: pre-wrap; } Amiibo Data - Amiibo 数据 + Amiibo 資料 @@ -7100,7 +7531,7 @@ p, li { white-space: pre-wrap; } Mount Amiibo - 挂载 Amiibo + 掛載 Amiibo @@ -7391,28 +7822,28 @@ p, li { white-space: pre-wrap; } QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) 錯誤碼: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. 發生錯誤。 請再試一次或聯絡開發者。 - + An error occurred on %1 at %2. Please try again or contact the developer of the software. 在 %2 處的 %1 上發生錯誤。 請再試一次或聯絡開發者。 - + An error has occurred. %1 @@ -7436,20 +7867,81 @@ Please try again or contact the developer of the software. %2 - - Select a user: - 選擇一位使用者: - - - + Users 使用者 - + + Profile Creator + 创建用户 + + + + Profile Selector 設定檔選擇 + + + Profile Icon Editor + 修改用户图像 + + + + Profile Nickname Editor + 修改用户昵称 + + + + Who will receive the points? + 谁将获得黄金点数? + + + + Who is using Nintendo eShop? + 谁正在使用任天堂 eShop? + + + + Who is making this purchase? + 是谁购买了这个? + + + + Who is posting? + 谁在发帖? + + + + Select a user to link to a Nintendo Account. + 选择要链接到任天堂账户的用户。 + + + + Change settings for which user? + 要更改哪个用户的设置? + + + + Format data for which user? + 要为哪个用户格式化数据? + + + + Which user will be transferred to another console? + 哪个用户将被转移到另一个控制台? + + + + Send save data for which user? + 要为哪个用户发送保存数据? + + + + Select a user: + 選擇一位使用者: + QtSoftwareKeyboardDialog @@ -7499,51 +7991,20 @@ p, li { white-space: pre-wrap; } WaitTreeCallstack - + Call stack Call stack - - WaitTreeMutexInfo - - - waiting for mutex 0x%1 - waiting for mutex 0x%1 - - - - has waiters: %1 - has waiters: %1 - - - - owner handle: 0x%1 - owner handle: 0x%1 - - - - WaitTreeObjectList - - - waiting for all objects - waiting for all objects - - - - waiting for one of the following objects - waiting for one of the following objects - - WaitTreeSynchronizationObject - - [%1] %2 %3 - [%1] %2 %3 + + [%1] %2 + [%1] %2 - + waited by no thread waited by no thread @@ -7551,120 +8012,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable runnable - + paused paused - + sleeping sleeping - + waiting for IPC reply waiting for IPC reply - + waiting for objects waiting for objects - + waiting for condition variable waiting for condition variable - + waiting for address arbiter waiting for address arbiter - + waiting for suspend resume waiting for suspend resume - + waiting waiting - + initialized initialized - + terminated terminated - + unknown unknown - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal ideal - + core %1 core %1 - + processor = %1 processor = %1 - - ideal core = %1 - ideal core = %1 - - - + affinity mask = %1 affinity mask = %1 - + thread id = %1 thread id = %1 - + priority = %1(current) / %2(normal) priority = %1(current) / %2(normal) - + last running ticks = %1 last running ticks = %1 - - - not waiting for mutex - 未等待 mutex - WaitTreeThreadList - + waited by thread waited by thread @@ -7672,7 +8123,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/yuzu.manifest b/dist/yuzu.manifest index 10a8df9b5..f2c8639a2 100644 --- a/dist/yuzu.manifest +++ b/dist/yuzu.manifest @@ -36,12 +36,6 @@ SPDX-License-Identifier: GPL-2.0-or-later - - - - - - +#include +#include +#include + +namespace { + constexpr int BlockWidth = 4; + constexpr int BlockHeight = 4; + + struct BC_color { + void decode(uint8_t *dst, size_t x, size_t y, size_t dstW, size_t dstH, size_t dstPitch, size_t dstBpp, bool hasAlphaChannel, bool hasSeparateAlpha) const { + Color c[4]; + c[0].extract565(c0); + c[1].extract565(c1); + if (hasSeparateAlpha || (c0 > c1)) { + c[2] = ((c[0] * 2) + c[1]) / 3; + c[3] = ((c[1] * 2) + c[0]) / 3; + } else { + c[2] = (c[0] + c[1]) >> 1; + if (hasAlphaChannel) { + c[3].clearAlpha(); + } + } + + for (int j = 0; j < BlockHeight && (y + j) < dstH; j++) { + size_t dstOffset = j * dstPitch; + size_t idxOffset = j * BlockHeight; + for (size_t i = 0; i < BlockWidth && (x + i) < dstW; i++, idxOffset++, dstOffset += dstBpp) { + *reinterpret_cast(dst + dstOffset) = c[getIdx(idxOffset)].pack8888(); + } + } + } + + private: + struct Color { + Color() { + c[0] = c[1] = c[2] = 0; + c[3] = 0xFF000000; + } + + void extract565(const unsigned int c565) { + c[0] = ((c565 & 0x0000001F) << 3) | ((c565 & 0x0000001C) >> 2); + c[1] = ((c565 & 0x000007E0) >> 3) | ((c565 & 0x00000600) >> 9); + c[2] = ((c565 & 0x0000F800) >> 8) | ((c565 & 0x0000E000) >> 13); + } + + unsigned int pack8888() const { + return ((c[0] & 0xFF) << 16) | ((c[1] & 0xFF) << 8) | (c[2] & 0xFF) | c[3]; + } + + void clearAlpha() { + c[3] = 0; + } + + Color operator*(int factor) const { + Color res; + for (int i = 0; i < 4; ++i) { + res.c[i] = c[i] * factor; + } + return res; + } + + Color operator/(int factor) const { + Color res; + for (int i = 0; i < 4; ++i) { + res.c[i] = c[i] / factor; + } + return res; + } + + Color operator>>(int shift) const { + Color res; + for (int i = 0; i < 4; ++i) { + res.c[i] = c[i] >> shift; + } + return res; + } + + Color operator+(Color const &obj) const { + Color res; + for (int i = 0; i < 4; ++i) { + res.c[i] = c[i] + obj.c[i]; + } + return res; + } + + private: + int c[4]; + }; + + size_t getIdx(int i) const { + size_t offset = i << 1; // 2 bytes per index + return (idx & (0x3 << offset)) >> offset; + } + + unsigned short c0; + unsigned short c1; + unsigned int idx; + }; + static_assert(sizeof(BC_color) == 8, "BC_color must be 8 bytes"); + + struct BC_channel { + void decode(uint8_t *dst, size_t x, size_t y, size_t dstW, size_t dstH, size_t dstPitch, size_t dstBpp, size_t channel, bool isSigned) const { + int c[8] = {0}; + + if (isSigned) { + c[0] = static_cast(data & 0xFF); + c[1] = static_cast((data & 0xFF00) >> 8); + } else { + c[0] = static_cast(data & 0xFF); + c[1] = static_cast((data & 0xFF00) >> 8); + } + + if (c[0] > c[1]) { + for (int i = 2; i < 8; ++i) { + c[i] = ((8 - i) * c[0] + (i - 1) * c[1]) / 7; + } + } else { + for (int i = 2; i < 6; ++i) { + c[i] = ((6 - i) * c[0] + (i - 1) * c[1]) / 5; + } + c[6] = isSigned ? -128 : 0; + c[7] = isSigned ? 127 : 255; + } + + for (size_t j = 0; j < BlockHeight && (y + j) < dstH; j++) { + for (size_t i = 0; i < BlockWidth && (x + i) < dstW; i++) { + dst[channel + (i * dstBpp) + (j * dstPitch)] = static_cast(c[getIdx((j * BlockHeight) + i)]); + } + } + } + + private: + uint8_t getIdx(int i) const { + int offset = i * 3 + 16; + return static_cast((data & (0x7ull << offset)) >> offset); + } + + uint64_t data; + }; + static_assert(sizeof(BC_channel) == 8, "BC_channel must be 8 bytes"); + + struct BC_alpha { + void decode(uint8_t *dst, size_t x, size_t y, size_t dstW, size_t dstH, size_t dstPitch, size_t dstBpp) const { + dst += 3; // Write only to alpha (channel 3) + for (size_t j = 0; j < BlockHeight && (y + j) < dstH; j++, dst += dstPitch) { + uint8_t *dstRow = dst; + for (size_t i = 0; i < BlockWidth && (x + i) < dstW; i++, dstRow += dstBpp) { + *dstRow = getAlpha(j * BlockHeight + i); + } + } + } + + private: + uint8_t getAlpha(int i) const { + int offset = i << 2; + int alpha = (data & (0xFull << offset)) >> offset; + return static_cast(alpha | (alpha << 4)); + } + + uint64_t data; + }; + static_assert(sizeof(BC_alpha) == 8, "BC_alpha must be 8 bytes"); + + namespace BC6H { + static constexpr int MaxPartitions = 64; + + // @fmt:off + + static constexpr uint8_t PartitionTable2[MaxPartitions][16] = { + { 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 }, + { 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 }, + { 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 }, + { 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1 }, + { 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1 }, + { 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1 }, + { 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 }, + { 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1 }, + { 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0 }, + { 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0 }, + { 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0 }, + { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 }, + { 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1 }, + { 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 }, + { 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0 }, + { 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0 }, + { 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0 }, + { 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 }, + { 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0 }, + { 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0 }, + { 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 }, + { 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1 }, + { 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0 }, + { 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0 }, + { 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }, + { 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 }, + { 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1 }, + { 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 }, + { 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0 }, + { 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0 }, + { 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0 }, + { 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0 }, + { 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0 }, + { 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1 }, + { 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1 }, + { 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0 }, + { 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 }, + { 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0 }, + { 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0 }, + { 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0 }, + { 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1 }, + { 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1 }, + { 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0 }, + { 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0 }, + { 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1 }, + { 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1 }, + { 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1 }, + { 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1 }, + { 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 }, + { 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 }, + { 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 }, + { 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1 }, + }; + + static constexpr uint8_t AnchorTable2[MaxPartitions] = { + 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, + 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, + 0xf, 0x2, 0x8, 0x2, 0x2, 0x8, 0x8, 0xf, + 0x2, 0x8, 0x2, 0x2, 0x8, 0x8, 0x2, 0x2, + 0xf, 0xf, 0x6, 0x8, 0x2, 0x8, 0xf, 0xf, + 0x2, 0x8, 0x2, 0x2, 0x2, 0xf, 0xf, 0x6, + 0x6, 0x2, 0x6, 0x8, 0xf, 0xf, 0x2, 0x2, + 0xf, 0xf, 0xf, 0xf, 0xf, 0x2, 0x2, 0xf, + }; + + // @fmt:on + + // 1.0f in half-precision floating point format + static constexpr uint16_t halfFloat1 = 0x3C00; + union Color { + struct RGBA { + uint16_t r = 0; + uint16_t g = 0; + uint16_t b = 0; + uint16_t a = halfFloat1; + + RGBA(uint16_t r, uint16_t g, uint16_t b) + : r(r), g(g), b(b) { + } + + RGBA &operator=(const RGBA &other) { + this->r = other.r; + this->g = other.g; + this->b = other.b; + this->a = halfFloat1; + + return *this; + } + }; + + Color(uint16_t r, uint16_t g, uint16_t b) + : rgba(r, g, b) { + } + + Color(int r, int g, int b) + : rgba((uint16_t) r, (uint16_t) g, (uint16_t) b) { + } + + Color() {} + + Color(const Color &other) { + this->rgba = other.rgba; + } + + Color &operator=(const Color &other) { + this->rgba = other.rgba; + + return *this; + } + + RGBA rgba; + uint16_t channel[4]; + }; + static_assert(sizeof(Color) == 8, "BC6h::Color must be 8 bytes long"); + + inline int32_t extendSign(int32_t val, size_t size) { + // Suppose we have a 2-bit integer being stored in 4 bit variable: + // x = 0b00AB + // + // In order to sign extend x, we need to turn the 0s into A's: + // x_extend = 0bAAAB + // + // We can do that by flipping A in x then subtracting 0b0010 from x. + // Suppose A is 1: + // x = 0b001B + // x_flip = 0b000B + // x_minus = 0b111B + // Since A is flipped to 0, subtracting the mask sets it and all the bits above it to 1. + // And if A is 0: + // x = 0b000B + // x_flip = 0b001B + // x_minus = 0b000B + // We unset the bit we flipped, and touch no other bit + uint16_t mask = 1u << (size - 1); + return (val ^ mask) - mask; + } + + static int constexpr RGBfChannels = 3; + struct RGBf { + uint16_t channel[RGBfChannels]; + size_t size[RGBfChannels]; + bool isSigned; + + RGBf() { + static_assert(RGBfChannels == 3, "RGBf must have exactly 3 channels"); + static_assert(sizeof(channel) / sizeof(channel[0]) == RGBfChannels, "RGBf must have exactly 3 channels"); + static_assert(sizeof(channel) / sizeof(channel[0]) == sizeof(size) / sizeof(size[0]), "RGBf requires equally sized arrays for channels and channel sizes"); + + for (int i = 0; i < RGBfChannels; i++) { + channel[i] = 0; + size[i] = 0; + } + + isSigned = false; + } + + void extendSign() { + for (int i = 0; i < RGBfChannels; i++) { + channel[i] = BC6H::extendSign(channel[i], size[i]); + } + } + + // Assuming this is the delta, take the base-endpoint and transform this into + // a proper endpoint. + // + // The final computed endpoint is truncated to the base-endpoint's size; + void resolveDelta(RGBf base) { + for (int i = 0; i < RGBfChannels; i++) { + size[i] = base.size[i]; + channel[i] = (base.channel[i] + channel[i]) & ((1 << base.size[i]) - 1); + } + + // Per the spec: + // "For signed formats, the results of the delta calculation must be sign + // extended as well." + if (isSigned) { + extendSign(); + } + } + + void unquantize() { + if (isSigned) { + unquantizeSigned(); + } else { + unquantizeUnsigned(); + } + } + + void unquantizeUnsigned() { + for (int i = 0; i < RGBfChannels; i++) { + if (size[i] >= 15 || channel[i] == 0) { + continue; + } else if (channel[i] == ((1u << size[i]) - 1)) { + channel[i] = 0xFFFFu; + } else { + // Need 32 bits to avoid overflow + uint32_t tmp = channel[i]; + channel[i] = (uint16_t) (((tmp << 16) + 0x8000) >> size[i]); + } + size[i] = 16; + } + } + + void unquantizeSigned() { + for (int i = 0; i < RGBfChannels; i++) { + if (size[i] >= 16 || channel[i] == 0) { + continue; + } + + int16_t value = (int16_t)channel[i]; + int32_t result = value; + bool signBit = value < 0; + if (signBit) { + value = -value; + } + + if (value >= ((1 << (size[i] - 1)) - 1)) { + result = 0x7FFF; + } else { + // Need 32 bits to avoid overflow + int32_t tmp = value; + result = (((tmp << 15) + 0x4000) >> (size[i] - 1)); + } + + if (signBit) { + result = -result; + } + + channel[i] = (uint16_t) result; + size[i] = 16; + } + } + }; + + struct Data { + uint64_t low64; + uint64_t high64; + + Data() = default; + + Data(uint64_t low64, uint64_t high64) + : low64(low64), high64(high64) { + } + + // Consumes the lowest N bits from from low64 and high64 where N is: + // abs(MSB - LSB) + // MSB and LSB come from the block description of the BC6h spec and specify + // the location of the bits in the returned bitstring. + // + // If MSB < LSB, then the bits are reversed. Otherwise, the bitstring is read and + // shifted without further modification. + // + uint32_t consumeBits(uint32_t MSB, uint32_t LSB) { + bool reversed = MSB < LSB; + if (reversed) { + std::swap(MSB, LSB); + } + assert(MSB - LSB + 1 < sizeof(uint32_t) * 8); + + uint32_t numBits = MSB - LSB + 1; + uint32_t mask = (1 << numBits) - 1; + // Read the low N bits + uint32_t bits = (low64 & mask); + + low64 >>= numBits; + // Put the low N bits of high64 into the high 64-N bits of low64 + low64 |= (high64 & mask) << (sizeof(high64) * 8 - numBits); + high64 >>= numBits; + + if (reversed) { + uint32_t tmp = 0; + for (uint32_t numSwaps = 0; numSwaps < numBits; numSwaps++) { + tmp <<= 1; + tmp |= (bits & 1); + bits >>= 1; + } + + bits = tmp; + } + + return bits << LSB; + } + }; + + struct IndexInfo { + uint64_t value; + int numBits; + }; + +// Interpolates between two endpoints, then does a final unquantization step + Color interpolate(RGBf e0, RGBf e1, const IndexInfo &index, bool isSigned) { + static constexpr uint32_t weights3[] = {0, 9, 18, 27, 37, 46, 55, 64}; + static constexpr uint32_t weights4[] = {0, 4, 9, 13, 17, 21, 26, 30, + 34, 38, 43, 47, 51, 55, 60, 64}; + static constexpr uint32_t const *weightsN[] = { + nullptr, nullptr, nullptr, weights3, weights4 + }; + auto weights = weightsN[index.numBits]; + assert(weights != nullptr); + Color color; + uint32_t e0Weight = 64 - weights[index.value]; + uint32_t e1Weight = weights[index.value]; + + for (int i = 0; i < RGBfChannels; i++) { + int32_t e0Channel = e0.channel[i]; + int32_t e1Channel = e1.channel[i]; + + if (isSigned) { + e0Channel = extendSign(e0Channel, 16); + e1Channel = extendSign(e1Channel, 16); + } + + int32_t e0Value = e0Channel * e0Weight; + int32_t e1Value = e1Channel * e1Weight; + + uint32_t tmp = ((e0Value + e1Value + 32) >> 6); + + // Need to unquantize value to limit it to the legal range of half-precision + // floats. We do this by scaling by 31/32 or 31/64 depending on if the value + // is signed or unsigned. + if (isSigned) { + tmp = ((tmp & 0x80000000) != 0) ? (((~tmp + 1) * 31) >> 5) | 0x8000 : (tmp * 31) >> 5; + // Don't return -0.0f, just normalize it to 0.0f. + if (tmp == 0x8000) + tmp = 0; + } else { + tmp = (tmp * 31) >> 6; + } + + color.channel[i] = (uint16_t) tmp; + } + + return color; + } + + enum DataType { + // Endpoints + EP0 = 0, + EP1 = 1, + EP2 = 2, + EP3 = 3, + Mode, + Partition, + End, + }; + + enum Channel { + R = 0, + G = 1, + B = 2, + None, + }; + + struct DeltaBits { + size_t channel[3]; + + constexpr DeltaBits() + : channel{0, 0, 0} { + } + + constexpr DeltaBits(size_t r, size_t g, size_t b) + : channel{r, g, b} { + } + }; + + struct ModeDesc { + int number; + bool hasDelta; + int partitionCount; + int endpointBits; + DeltaBits deltaBits; + + constexpr ModeDesc() + : number(-1), hasDelta(false), partitionCount(0), endpointBits(0) { + } + + constexpr ModeDesc(int number, bool hasDelta, int partitionCount, int endpointBits, DeltaBits deltaBits) + : number(number), hasDelta(hasDelta), partitionCount(partitionCount), endpointBits(endpointBits), deltaBits(deltaBits) { + } + }; + + struct BlockDesc { + DataType type; + Channel channel; + int MSB; + int LSB; + ModeDesc modeDesc; + + constexpr BlockDesc() + : type(End), channel(None), MSB(0), LSB(0), modeDesc() { + } + + constexpr BlockDesc(const DataType type, Channel channel, int MSB, int LSB, ModeDesc modeDesc) + : type(type), channel(channel), MSB(MSB), LSB(LSB), modeDesc(modeDesc) { + } + + constexpr BlockDesc(DataType type, Channel channel, int MSB, int LSB) + : type(type), channel(channel), MSB(MSB), LSB(LSB), modeDesc() { + } + }; + +// Turns a legal mode into an index into the BlockDesc table. +// Illegal or reserved modes return -1. + static int modeToIndex(uint8_t mode) { + if (mode <= 3) { + return mode; + } else if ((mode & 0x2) != 0) { + if (mode <= 18) { +// Turns 6 into 4, 7 into 5, 10 into 6, etc. + return (mode / 2) + 1 + (mode & 0x1); + } else if (mode == 22 || mode == 26 || mode == 30) { +// Turns 22 into 11, 26 into 12, etc. + return mode / 4 + 6; + } + } + + return -1; + } + +// Returns a description of the bitfields for each mode from the LSB +// to the MSB before the index data starts. +// +// The numbers come from the BC6h block description. Each BlockDesc in the +// {Type, Channel, MSB, LSB} +// * Type describes which endpoint this is, or if this is a mode, a partition +// number, or the end of the block description. +// * Channel describes one of the 3 color channels within an endpoint +// * MSB and LSB specificy: +// * The size of the bitfield being read +// * The position of the bitfield within the variable it is being read to +// * If the bitfield is stored in reverse bit order +// If MSB < LSB then the bitfield is stored in reverse order. The size of +// the bitfield is abs(MSB-LSB+1). And the position of the bitfield within +// the variable is min(LSB, MSB). +// +// Invalid or reserved modes return an empty list. + static constexpr int NumBlocks = 14; +// The largest number of descriptions within a block. + static constexpr int MaxBlockDescIndex = 26; + static constexpr BlockDesc blockDescs[NumBlocks][MaxBlockDescIndex] = { +// @fmt:off +// Mode 0, Index 0 +{ +{ Mode, None, 1, 0, { 0, true, 2, 10, { 5, 5, 5 } } }, +{ EP2, G, 4, 4 }, { EP2, B, 4, 4 }, { EP3, B, 4, 4 }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 4, 0 }, { EP3, G, 4, 4 }, { EP2, G, 3, 0 }, +{ EP1, G, 4, 0 }, { EP3, B, 0, 0 }, { EP3, G, 3, 0 }, +{ EP1, B, 4, 0 }, { EP3, B, 1, 1 }, { EP2, B, 3, 0 }, +{ EP2, R, 4, 0 }, { EP3, B, 2, 2 }, { EP3, R, 4, 0 }, +{ EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 1, Index 1 +{ +{ Mode, None, 1, 0, { 1, true, 2, 7, { 6, 6, 6 } } }, +{ EP2, G, 5, 5 }, { EP3, G, 5, 4 }, { EP0, R, 6, 0 }, +{ EP3, B, 1, 0 }, { EP2, B, 4, 4 }, { EP0, G, 6, 0 }, +{ EP2, B, 5, 5 }, { EP3, B, 2, 2 }, { EP2, G, 4, 4 }, +{ EP0, B, 6, 0 }, { EP3, B, 3, 3 }, { EP3, B, 5, 5 }, +{ EP3, B, 4, 4 }, { EP1, R, 5, 0 }, { EP2, G, 3, 0 }, +{ EP1, G, 5, 0 }, { EP3, G, 3, 0 }, { EP1, B, 5, 0 }, +{ EP2, B, 3, 0 }, { EP2, R, 5, 0 }, { EP3, R, 5, 0 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 2, Index 2 +{ +{ Mode, None, 4, 0, { 2, true, 2, 11, { 5, 4, 4 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 4, 0 }, { EP0, R, 10, 10 }, { EP2, G, 3, 0 }, +{ EP1, G, 3, 0 }, { EP0, G, 10, 10 }, { EP3, B, 0, 0 }, +{ EP3, G, 3, 0 }, { EP1, B, 3, 0 }, { EP0, B, 10, 10 }, +{ EP3, B, 1, 1 }, { EP2, B, 3, 0 }, { EP2, R, 4, 0 }, +{ EP3, B, 2, 2 }, { EP3, R, 4, 0 }, { EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 3, Index 3 +{ +{ Mode, None, 4, 0, { 3, false, 1, 10, { 0, 0, 0 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 9, 0 }, { EP1, G, 9, 0 }, { EP1, B, 9, 0 }, +{ End, None, 0, 0}, +}, +// Mode 6, Index 4 +{ +{ Mode, None, 4, 0, { 6, true, 2, 11, { 4, 5, 4 } } }, // 1 1 +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 3, 0 }, { EP0, R, 10, 10 }, { EP3, G, 4, 4 }, +{ EP2, G, 3, 0 }, { EP1, G, 4, 0 }, { EP0, G, 10, 10 }, +{ EP3, G, 3, 0 }, { EP1, B, 3, 0 }, { EP0, B, 10, 10 }, +{ EP3, B, 1, 1 }, { EP2, B, 3, 0 }, { EP2, R, 3, 0 }, +{ EP3, B, 0, 0 }, { EP3, B, 2, 2 }, { EP3, R, 3, 0 }, // 18 19 +{ EP2, G, 4, 4 }, { EP3, B, 3, 3 }, // 2 21 +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 7, Index 5 +{ +{ Mode, None, 4, 0, { 7, true, 1, 11, { 9, 9, 9 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 8, 0 }, { EP0, R, 10, 10 }, { EP1, G, 8, 0 }, +{ EP0, G, 10, 10 }, { EP1, B, 8, 0 }, { EP0, B, 10, 10 }, +{ End, None, 0, 0}, +}, +// Mode 10, Index 6 +{ +{ Mode, None, 4, 0, { 10, true, 2, 11, { 4, 4, 5 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 3, 0 }, { EP0, R, 10, 10 }, { EP2, B, 4, 4 }, +{ EP2, G, 3, 0 }, { EP1, G, 3, 0 }, { EP0, G, 10, 10 }, +{ EP3, B, 0, 0 }, { EP3, G, 3, 0 }, { EP1, B, 4, 0 }, +{ EP0, B, 10, 10 }, { EP2, B, 3, 0 }, { EP2, R, 3, 0 }, +{ EP3, B, 1, 1 }, { EP3, B, 2, 2 }, { EP3, R, 3, 0 }, +{ EP3, B, 4, 4 }, { EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 11, Index 7 +{ +{ Mode, None, 4, 0, { 11, true, 1, 12, { 8, 8, 8 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 7, 0 }, { EP0, R, 10, 11 }, { EP1, G, 7, 0 }, +{ EP0, G, 10, 11 }, { EP1, B, 7, 0 }, { EP0, B, 10, 11 }, +{ End, None, 0, 0}, +}, +// Mode 14, Index 8 +{ +{ Mode, None, 4, 0, { 14, true, 2, 9, { 5, 5, 5 } } }, +{ EP0, R, 8, 0 }, { EP2, B, 4, 4 }, { EP0, G, 8, 0 }, +{ EP2, G, 4, 4 }, { EP0, B, 8, 0 }, { EP3, B, 4, 4 }, +{ EP1, R, 4, 0 }, { EP3, G, 4, 4 }, { EP2, G, 3, 0 }, +{ EP1, G, 4, 0 }, { EP3, B, 0, 0 }, { EP3, G, 3, 0 }, +{ EP1, B, 4, 0 }, { EP3, B, 1, 1 }, { EP2, B, 3, 0 }, +{ EP2, R, 4, 0 }, { EP3, B, 2, 2 }, { EP3, R, 4, 0 }, +{ EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 15, Index 9 +{ +{ Mode, None, 4, 0, { 15, true, 1, 16, { 4, 4, 4 } } }, +{ EP0, R, 9, 0 }, { EP0, G, 9, 0 }, { EP0, B, 9, 0 }, +{ EP1, R, 3, 0 }, { EP0, R, 10, 15 }, { EP1, G, 3, 0 }, +{ EP0, G, 10, 15 }, { EP1, B, 3, 0 }, { EP0, B, 10, 15 }, +{ End, None, 0, 0}, +}, +// Mode 18, Index 10 +{ +{ Mode, None, 4, 0, { 18, true, 2, 8, { 6, 5, 5 } } }, +{ EP0, R, 7, 0 }, { EP3, G, 4, 4 }, { EP2, B, 4, 4 }, +{ EP0, G, 7, 0 }, { EP3, B, 2, 2 }, { EP2, G, 4, 4 }, +{ EP0, B, 7, 0 }, { EP3, B, 3, 3 }, { EP3, B, 4, 4 }, +{ EP1, R, 5, 0 }, { EP2, G, 3, 0 }, { EP1, G, 4, 0 }, +{ EP3, B, 0, 0 }, { EP3, G, 3, 0 }, { EP1, B, 4, 0 }, +{ EP3, B, 1, 1 }, { EP2, B, 3, 0 }, { EP2, R, 5, 0 }, +{ EP3, R, 5, 0 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 22, Index 11 +{ +{ Mode, None, 4, 0, { 22, true, 2, 8, { 5, 6, 5 } } }, +{ EP0, R, 7, 0 }, { EP3, B, 0, 0 }, { EP2, B, 4, 4 }, +{ EP0, G, 7, 0 }, { EP2, G, 5, 5 }, { EP2, G, 4, 4 }, +{ EP0, B, 7, 0 }, { EP3, G, 5, 5 }, { EP3, B, 4, 4 }, +{ EP1, R, 4, 0 }, { EP3, G, 4, 4 }, { EP2, G, 3, 0 }, +{ EP1, G, 5, 0 }, { EP3, G, 3, 0 }, { EP1, B, 4, 0 }, +{ EP3, B, 1, 1 }, { EP2, B, 3, 0 }, { EP2, R, 4, 0 }, +{ EP3, B, 2, 2 }, { EP3, R, 4, 0 }, { EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 26, Index 12 +{ +{ Mode, None, 4, 0, { 26, true, 2, 8, { 5, 5, 6 } } }, +{ EP0, R, 7, 0 }, { EP3, B, 1, 1 }, { EP2, B, 4, 4 }, +{ EP0, G, 7, 0 }, { EP2, B, 5, 5 }, { EP2, G, 4, 4 }, +{ EP0, B, 7, 0 }, { EP3, B, 5, 5 }, { EP3, B, 4, 4 }, +{ EP1, R, 4, 0 }, { EP3, G, 4, 4 }, { EP2, G, 3, 0 }, +{ EP1, G, 4, 0 }, { EP3, B, 0, 0 }, { EP3, G, 3, 0 }, +{ EP1, B, 5, 0 }, { EP2, B, 3, 0 }, { EP2, R, 4, 0 }, +{ EP3, B, 2, 2 }, { EP3, R, 4, 0 }, { EP3, B, 3, 3 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +}, +// Mode 30, Index 13 +{ +{ Mode, None, 4, 0, { 30, false, 2, 6, { 0, 0, 0 } } }, +{ EP0, R, 5, 0 }, { EP3, G, 4, 4 }, { EP3, B, 0, 0 }, +{ EP3, B, 1, 1 }, { EP2, B, 4, 4 }, { EP0, G, 5, 0 }, +{ EP2, G, 5, 5 }, { EP2, B, 5, 5 }, { EP3, B, 2, 2 }, +{ EP2, G, 4, 4 }, { EP0, B, 5, 0 }, { EP3, G, 5, 5 }, +{ EP3, B, 3, 3 }, { EP3, B, 5, 5 }, { EP3, B, 4, 4 }, +{ EP1, R, 5, 0 }, { EP2, G, 3, 0 }, { EP1, G, 5, 0 }, +{ EP3, G, 3, 0 }, { EP1, B, 5, 0 }, { EP2, B, 3, 0 }, +{ EP2, R, 5, 0 }, { EP3, R, 5, 0 }, +{ Partition, None, 4, 0 }, +{ End, None, 0, 0}, +} +// @fmt:on + }; + + struct Block { + uint64_t low64; + uint64_t high64; + + void decode(uint8_t *dst, size_t dstX, size_t dstY, size_t dstWidth, size_t dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) const { + uint8_t mode = 0; + Data data(low64, high64); + assert(dstBpp == sizeof(Color)); + + if ((data.low64 & 0x2) == 0) { + mode = data.consumeBits(1, 0); + } else { + mode = data.consumeBits(4, 0); + } + + int blockIndex = modeToIndex(mode); + // Handle illegal or reserved mode + if (blockIndex == -1) { + for (int y = 0; y < 4 && y + dstY < dstHeight; y++) { + for (int x = 0; x < 4 && x + dstX < dstWidth; x++) { + auto out = reinterpret_cast(dst + sizeof(Color) * x + dstPitch * y); + out->rgba = {0, 0, 0}; + } + } + return; + } + const BlockDesc *blockDesc = blockDescs[blockIndex]; + + RGBf e[4]; + e[0].isSigned = e[1].isSigned = e[2].isSigned = e[3].isSigned = isSigned; + + int partition = 0; + ModeDesc modeDesc; + for (int index = 0; blockDesc[index].type != End; index++) { + const BlockDesc desc = blockDesc[index]; + + switch (desc.type) { + case Mode: + modeDesc = desc.modeDesc; + assert(modeDesc.number == mode); + + e[0].size[0] = e[0].size[1] = e[0].size[2] = modeDesc.endpointBits; + for (int i = 0; i < RGBfChannels; i++) { + if (modeDesc.hasDelta) { + e[1].size[i] = e[2].size[i] = e[3].size[i] = modeDesc.deltaBits.channel[i]; + } else { + e[1].size[i] = e[2].size[i] = e[3].size[i] = modeDesc.endpointBits; + } + } + break; + case Partition: + partition |= data.consumeBits(desc.MSB, desc.LSB); + break; + case EP0: + case EP1: + case EP2: + case EP3: + e[desc.type].channel[desc.channel] |= data.consumeBits(desc.MSB, desc.LSB); + break; + default: + assert(false); + return; + } + } + + // Sign extension + if (isSigned) { + for (int ep = 0; ep < modeDesc.partitionCount * 2; ep++) { + e[ep].extendSign(); + } + } else if (modeDesc.hasDelta) { + // Don't sign-extend the base endpoint in an unsigned format. + for (int ep = 1; ep < modeDesc.partitionCount * 2; ep++) { + e[ep].extendSign(); + } + } + + // Turn the deltas into endpoints + if (modeDesc.hasDelta) { + for (int ep = 1; ep < modeDesc.partitionCount * 2; ep++) { + e[ep].resolveDelta(e[0]); + } + } + + for (int ep = 0; ep < modeDesc.partitionCount * 2; ep++) { + e[ep].unquantize(); + } + + // Get the indices, calculate final colors, and output + for (int y = 0; y < 4; y++) { + for (int x = 0; x < 4; x++) { + int pixelNum = x + y * 4; + IndexInfo idx; + bool isAnchor = false; + int firstEndpoint = 0; + // Bc6H can have either 1 or 2 petitions depending on the mode. + // The number of petitions affects the number of indices with implicit + // leading 0 bits and the number of bits per index. + if (modeDesc.partitionCount == 1) { + idx.numBits = 4; + // There's an implicit leading 0 bit for the first idx + isAnchor = (pixelNum == 0); + } else { + idx.numBits = 3; + // There are 2 indices with implicit leading 0-bits. + isAnchor = ((pixelNum == 0) || (pixelNum == AnchorTable2[partition])); + firstEndpoint = PartitionTable2[partition][pixelNum] * 2; + } + + idx.value = data.consumeBits(idx.numBits - isAnchor - 1, 0); + + // Don't exit the loop early, we need to consume these index bits regardless if + // we actually output them or not. + if ((y + dstY >= dstHeight) || (x + dstX >= dstWidth)) { + continue; + } + + Color color = interpolate(e[firstEndpoint], e[firstEndpoint + 1], idx, isSigned); + auto out = reinterpret_cast(dst + dstBpp * x + dstPitch * y); + *out = color; + } + } + } + }; + + } // namespace BC6H + + namespace BC7 { +// https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_compression_bptc.txt +// https://docs.microsoft.com/en-us/windows/win32/direct3d11/bc7-format + + struct Bitfield { + int offset; + int count; + + constexpr Bitfield Then(const int bits) { return {offset + count, bits}; } + + constexpr bool operator==(const Bitfield &rhs) { + return offset == rhs.offset && count == rhs.count; + } + }; + + struct Mode { + const int IDX; // Mode index + const int NS; // Number of subsets in each partition + const int PB; // Partition bits + const int RB; // Rotation bits + const int ISB; // Index selection bits + const int CB; // Color bits + const int AB; // Alpha bits + const int EPB; // Endpoint P-bits + const int SPB; // Shared P-bits + const int IB; // Primary index bits per element + const int IBC; // Primary index bits total + const int IB2; // Secondary index bits per element + + constexpr int NumColors() const { return NS * 2; } + + constexpr Bitfield Partition() const { return {IDX + 1, PB}; } + + constexpr Bitfield Rotation() const { return Partition().Then(RB); } + + constexpr Bitfield IndexSelection() const { return Rotation().Then(ISB); } + + constexpr Bitfield Red(int idx) const { + return IndexSelection().Then(CB * idx).Then(CB); + } + + constexpr Bitfield Green(int idx) const { + return Red(NumColors() - 1).Then(CB * idx).Then(CB); + } + + constexpr Bitfield Blue(int idx) const { + return Green(NumColors() - 1).Then(CB * idx).Then(CB); + } + + constexpr Bitfield Alpha(int idx) const { + return Blue(NumColors() - 1).Then(AB * idx).Then(AB); + } + + constexpr Bitfield EndpointPBit(int idx) const { + return Alpha(NumColors() - 1).Then(EPB * idx).Then(EPB); + } + + constexpr Bitfield SharedPBit0() const { + return EndpointPBit(NumColors() - 1).Then(SPB); + } + + constexpr Bitfield SharedPBit1() const { + return SharedPBit0().Then(SPB); + } + + constexpr Bitfield PrimaryIndex(int offset, int count) const { + return SharedPBit1().Then(offset).Then(count); + } + + constexpr Bitfield SecondaryIndex(int offset, int count) const { + return SharedPBit1().Then(IBC + offset).Then(count); + } + }; + + static constexpr Mode Modes[] = { + // IDX NS PB RB ISB CB AB EPB SPB IB IBC, IB2 + /**/ {0x0, 0x3, 0x4, 0x0, 0x0, 0x4, 0x0, 0x1, 0x0, 0x3, 0x2d, 0x0}, +/**/ {0x1, 0x2, 0x6, 0x0, 0x0, 0x6, 0x0, 0x0, 0x1, 0x3, 0x2e, 0x0}, +/**/ {0x2, 0x3, 0x6, 0x0, 0x0, 0x5, 0x0, 0x0, 0x0, 0x2, 0x1d, 0x0}, +/**/ {0x3, 0x2, 0x6, 0x0, 0x0, 0x7, 0x0, 0x1, 0x0, 0x2, 0x1e, 0x0}, +/**/ {0x4, 0x1, 0x0, 0x2, 0x1, 0x5, 0x6, 0x0, 0x0, 0x2, 0x1f, 0x3}, +/**/ {0x5, 0x1, 0x0, 0x2, 0x0, 0x7, 0x8, 0x0, 0x0, 0x2, 0x1f, 0x2}, +/**/ {0x6, 0x1, 0x0, 0x0, 0x0, 0x7, 0x7, 0x1, 0x0, 0x4, 0x3f, 0x0}, +/**/ {0x7, 0x2, 0x6, 0x0, 0x0, 0x5, 0x5, 0x1, 0x0, 0x2, 0x1e, 0x0}, +/**/ {-1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00, 0x0}, + }; + + static constexpr int MaxPartitions = 64; + static constexpr int MaxSubsets = 3; + + static constexpr uint8_t PartitionTable2[MaxPartitions][16] = { + {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1}, + {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1}, + {0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1}, + {0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1}, + {0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1}, + {0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1}, + {0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1}, + {0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1}, + {0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0}, + {0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0}, + {0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0}, + {0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1}, + {0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0}, + {0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0}, + {0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0}, + {0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0}, + {0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0}, + {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, + {0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0}, + {0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0}, + {0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}, + {0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1}, + {0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0}, + {0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0}, + {0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0}, + {0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0}, + {0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1}, + {0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1}, + {0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0}, + {0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0}, + {0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0}, + {0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0}, + {0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0}, + {0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1}, + {0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1}, + {0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0}, + {0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0}, + {0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0}, + {0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0}, + {0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1}, + {0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1}, + {0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0}, + {0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0}, + {0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1}, + {0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1}, + {0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1}, + {0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1}, + {0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1}, + {0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, + {0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0}, + {0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1}, + }; + + static constexpr uint8_t PartitionTable3[MaxPartitions][16] = { + {0, 0, 1, 1, 0, 0, 1, 1, 0, 2, 2, 1, 2, 2, 2, 2}, + {0, 0, 0, 1, 0, 0, 1, 1, 2, 2, 1, 1, 2, 2, 2, 1}, + {0, 0, 0, 0, 2, 0, 0, 1, 2, 2, 1, 1, 2, 2, 1, 1}, + {0, 2, 2, 2, 0, 0, 2, 2, 0, 0, 1, 1, 0, 1, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 1, 1, 2, 2}, + {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 2, 2, 0, 0, 2, 2}, + {0, 0, 2, 2, 0, 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1}, + {0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1}, + {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2}, + {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2}, + {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2}, + {0, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2}, + {0, 1, 1, 2, 0, 1, 1, 2, 0, 1, 1, 2, 0, 1, 1, 2}, + {0, 1, 2, 2, 0, 1, 2, 2, 0, 1, 2, 2, 0, 1, 2, 2}, + {0, 0, 1, 1, 0, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 2}, + {0, 0, 1, 1, 2, 0, 0, 1, 2, 2, 0, 0, 2, 2, 2, 0}, + {0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 2, 1, 1, 2, 2}, + {0, 1, 1, 1, 0, 0, 1, 1, 2, 0, 0, 1, 2, 2, 0, 0}, + {0, 0, 0, 0, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2}, + {0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 1, 1, 1, 1}, + {0, 1, 1, 1, 0, 1, 1, 1, 0, 2, 2, 2, 0, 2, 2, 2}, + {0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 2, 1, 2, 2, 2, 1}, + {0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 2, 2, 0, 1, 2, 2}, + {0, 0, 0, 0, 1, 1, 0, 0, 2, 2, 1, 0, 2, 2, 1, 0}, + {0, 1, 2, 2, 0, 1, 2, 2, 0, 0, 1, 1, 0, 0, 0, 0}, + {0, 0, 1, 2, 0, 0, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2}, + {0, 1, 1, 0, 1, 2, 2, 1, 1, 2, 2, 1, 0, 1, 1, 0}, + {0, 0, 0, 0, 0, 1, 1, 0, 1, 2, 2, 1, 1, 2, 2, 1}, + {0, 0, 2, 2, 1, 1, 0, 2, 1, 1, 0, 2, 0, 0, 2, 2}, + {0, 1, 1, 0, 0, 1, 1, 0, 2, 0, 0, 2, 2, 2, 2, 2}, + {0, 0, 1, 1, 0, 1, 2, 2, 0, 1, 2, 2, 0, 0, 1, 1}, + {0, 0, 0, 0, 2, 0, 0, 0, 2, 2, 1, 1, 2, 2, 2, 1}, + {0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2, 2, 1, 2, 2, 2}, + {0, 2, 2, 2, 0, 0, 2, 2, 0, 0, 1, 2, 0, 0, 1, 1}, + {0, 0, 1, 1, 0, 0, 1, 2, 0, 0, 2, 2, 0, 2, 2, 2}, + {0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 0}, + {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0}, + {0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0}, + {0, 1, 2, 0, 2, 0, 1, 2, 1, 2, 0, 1, 0, 1, 2, 0}, + {0, 0, 1, 1, 2, 2, 0, 0, 1, 1, 2, 2, 0, 0, 1, 1}, + {0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 1, 1}, + {0, 1, 0, 1, 0, 1, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2}, + {0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1}, + {0, 0, 2, 2, 1, 1, 2, 2, 0, 0, 2, 2, 1, 1, 2, 2}, + {0, 0, 2, 2, 0, 0, 1, 1, 0, 0, 2, 2, 0, 0, 1, 1}, + {0, 2, 2, 0, 1, 2, 2, 1, 0, 2, 2, 0, 1, 2, 2, 1}, + {0, 1, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 0, 1, 0, 1}, + {0, 0, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1}, + {0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 2, 2, 2}, + {0, 2, 2, 2, 0, 1, 1, 1, 0, 2, 2, 2, 0, 1, 1, 1}, + {0, 0, 0, 2, 1, 1, 1, 2, 0, 0, 0, 2, 1, 1, 1, 2}, + {0, 0, 0, 0, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2}, + {0, 2, 2, 2, 0, 1, 1, 1, 0, 1, 1, 1, 0, 2, 2, 2}, + {0, 0, 0, 2, 1, 1, 1, 2, 1, 1, 1, 2, 0, 0, 0, 2}, + {0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 2, 2, 2, 2}, + {0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2, 2, 1, 1, 2}, + {0, 1, 1, 0, 0, 1, 1, 0, 2, 2, 2, 2, 2, 2, 2, 2}, + {0, 0, 2, 2, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 2, 2}, + {0, 0, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 0, 0, 2, 2}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2}, + {0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1}, + {0, 2, 2, 2, 1, 2, 2, 2, 0, 2, 2, 2, 1, 2, 2, 2}, + {0, 1, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, + {0, 1, 1, 1, 2, 0, 1, 1, 2, 2, 0, 1, 2, 2, 2, 0}, + }; + + static constexpr uint8_t AnchorTable2[MaxPartitions] = { +// @fmt:off +0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, +0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, +0xf, 0x2, 0x8, 0x2, 0x2, 0x8, 0x8, 0xf, +0x2, 0x8, 0x2, 0x2, 0x8, 0x8, 0x2, 0x2, +0xf, 0xf, 0x6, 0x8, 0x2, 0x8, 0xf, 0xf, +0x2, 0x8, 0x2, 0x2, 0x2, 0xf, 0xf, 0x6, +0x6, 0x2, 0x6, 0x8, 0xf, 0xf, 0x2, 0x2, +0xf, 0xf, 0xf, 0xf, 0xf, 0x2, 0x2, 0xf, +// @fmt:on + }; + + static constexpr uint8_t AnchorTable3a[MaxPartitions] = { +// @fmt:off +0x3, 0x3, 0xf, 0xf, 0x8, 0x3, 0xf, 0xf, +0x8, 0x8, 0x6, 0x6, 0x6, 0x5, 0x3, 0x3, +0x3, 0x3, 0x8, 0xf, 0x3, 0x3, 0x6, 0xa, +0x5, 0x8, 0x8, 0x6, 0x8, 0x5, 0xf, 0xf, +0x8, 0xf, 0x3, 0x5, 0x6, 0xa, 0x8, 0xf, +0xf, 0x3, 0xf, 0x5, 0xf, 0xf, 0xf, 0xf, +0x3, 0xf, 0x5, 0x5, 0x5, 0x8, 0x5, 0xa, +0x5, 0xa, 0x8, 0xd, 0xf, 0xc, 0x3, 0x3, +// @fmt:on + }; + + static constexpr uint8_t AnchorTable3b[MaxPartitions] = { +// @fmt:off +0xf, 0x8, 0x8, 0x3, 0xf, 0xf, 0x3, 0x8, +0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0x8, +0xf, 0x8, 0xf, 0x3, 0xf, 0x8, 0xf, 0x8, +0x3, 0xf, 0x6, 0xa, 0xf, 0xf, 0xa, 0x8, +0xf, 0x3, 0xf, 0xa, 0xa, 0x8, 0x9, 0xa, +0x6, 0xf, 0x8, 0xf, 0x3, 0x6, 0x6, 0x8, +0xf, 0x3, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, +0xf, 0xf, 0xf, 0xf, 0x3, 0xf, 0xf, 0x8, +// @fmt:on + }; + + struct Color { + struct RGB { + RGB() = default; + + RGB(uint8_t r, uint8_t g, uint8_t b) + : b(b), g(g), r(r) {} + + RGB(int r, int g, int b) + : b(static_cast(b)), g(static_cast(g)), r(static_cast(r)) {} + + RGB operator<<(int shift) const { return {r << shift, g << shift, b << shift}; } + + RGB operator>>(int shift) const { return {r >> shift, g >> shift, b >> shift}; } + + RGB operator|(int bits) const { return {r | bits, g | bits, b | bits}; } + + RGB operator|(const RGB &rhs) const { return {r | rhs.r, g | rhs.g, b | rhs.b}; } + + RGB operator+(const RGB &rhs) const { return {r + rhs.r, g + rhs.g, b + rhs.b}; } + + uint8_t b; + uint8_t g; + uint8_t r; + }; + + RGB rgb; + uint8_t a; + }; + + static_assert(sizeof(Color) == 4, "Color size must be 4 bytes"); + + struct Block { + constexpr uint64_t Get(const Bitfield &bf) const { + uint64_t mask = (1ULL << bf.count) - 1; + if (bf.offset + bf.count <= 64) { + return (low >> bf.offset) & mask; + } + if (bf.offset >= 64) { + return (high >> (bf.offset - 64)) & mask; + } + return ((low >> bf.offset) | (high << (64 - bf.offset))) & mask; + } + + const Mode &mode() const { + if ((low & 0b00000001) != 0) { + return Modes[0]; + } + if ((low & 0b00000010) != 0) { + return Modes[1]; + } + if ((low & 0b00000100) != 0) { + return Modes[2]; + } + if ((low & 0b00001000) != 0) { + return Modes[3]; + } + if ((low & 0b00010000) != 0) { + return Modes[4]; + } + if ((low & 0b00100000) != 0) { + return Modes[5]; + } + if ((low & 0b01000000) != 0) { + return Modes[6]; + } + if ((low & 0b10000000) != 0) { + return Modes[7]; + } + return Modes[8]; // Invalid mode + } + + struct IndexInfo { + uint64_t value; + int numBits; + }; + + uint8_t interpolate(uint8_t e0, uint8_t e1, const IndexInfo &index) const { + static constexpr uint16_t weights2[] = {0, 21, 43, 64}; + static constexpr uint16_t weights3[] = {0, 9, 18, 27, 37, 46, 55, 64}; + static constexpr uint16_t weights4[] = {0, 4, 9, 13, 17, 21, 26, 30, + 34, 38, 43, 47, 51, 55, 60, 64}; + static constexpr uint16_t const *weightsN[] = { + nullptr, nullptr, weights2, weights3, weights4 + }; + auto weights = weightsN[index.numBits]; + assert(weights != nullptr); + return (uint8_t) (((64 - weights[index.value]) * uint16_t(e0) + weights[index.value] * uint16_t(e1) + 32) >> 6); + } + + void decode(uint8_t *dst, size_t dstX, size_t dstY, size_t dstWidth, size_t dstHeight, size_t dstPitch) const { + auto const &mode = this->mode(); + + if (mode.IDX < 0) // Invalid mode: + { + for (size_t y = 0; y < 4 && y + dstY < dstHeight; y++) { + for (size_t x = 0; x < 4 && x + dstX < dstWidth; x++) { + auto out = reinterpret_cast(dst + sizeof(Color) * x + dstPitch * y); + out->rgb = {0, 0, 0}; + out->a = 0; + } + } + return; + } + + using Endpoint = std::array; + std::array subsets; + + for (size_t i = 0; i < mode.NS; i++) { + auto &subset = subsets[i]; + subset[0].rgb.r = Get(mode.Red(i * 2 + 0)); + subset[0].rgb.g = Get(mode.Green(i * 2 + 0)); + subset[0].rgb.b = Get(mode.Blue(i * 2 + 0)); + subset[0].a = (mode.AB > 0) ? Get(mode.Alpha(i * 2 + 0)) : 255; + + subset[1].rgb.r = Get(mode.Red(i * 2 + 1)); + subset[1].rgb.g = Get(mode.Green(i * 2 + 1)); + subset[1].rgb.b = Get(mode.Blue(i * 2 + 1)); + subset[1].a = (mode.AB > 0) ? Get(mode.Alpha(i * 2 + 1)) : 255; + } + + if (mode.SPB > 0) { + auto pbit0 = Get(mode.SharedPBit0()); + auto pbit1 = Get(mode.SharedPBit1()); + subsets[0][0].rgb = (subsets[0][0].rgb << 1) | pbit0; + subsets[0][1].rgb = (subsets[0][1].rgb << 1) | pbit0; + subsets[1][0].rgb = (subsets[1][0].rgb << 1) | pbit1; + subsets[1][1].rgb = (subsets[1][1].rgb << 1) | pbit1; + } + + if (mode.EPB > 0) { + for (size_t i = 0; i < mode.NS; i++) { + auto &subset = subsets[i]; + auto pbit0 = Get(mode.EndpointPBit(i * 2 + 0)); + auto pbit1 = Get(mode.EndpointPBit(i * 2 + 1)); + subset[0].rgb = (subset[0].rgb << 1) | pbit0; + subset[1].rgb = (subset[1].rgb << 1) | pbit1; + if (mode.AB > 0) { + subset[0].a = (subset[0].a << 1) | pbit0; + subset[1].a = (subset[1].a << 1) | pbit1; + } + } + } + + auto const colorBits = mode.CB + mode.SPB + mode.EPB; + auto const alphaBits = mode.AB + mode.SPB + mode.EPB; + + for (size_t i = 0; i < mode.NS; i++) { + auto &subset = subsets[i]; + subset[0].rgb = subset[0].rgb << (8 - colorBits); + subset[1].rgb = subset[1].rgb << (8 - colorBits); + subset[0].rgb = subset[0].rgb | (subset[0].rgb >> colorBits); + subset[1].rgb = subset[1].rgb | (subset[1].rgb >> colorBits); + + if (mode.AB > 0) { + subset[0].a = subset[0].a << (8 - alphaBits); + subset[1].a = subset[1].a << (8 - alphaBits); + subset[0].a = subset[0].a | (subset[0].a >> alphaBits); + subset[1].a = subset[1].a | (subset[1].a >> alphaBits); + } + } + + int colorIndexBitOffset = 0; + int alphaIndexBitOffset = 0; + for (int y = 0; y < 4; y++) { + for (int x = 0; x < 4; x++) { + auto texelIdx = y * 4 + x; + auto partitionIdx = Get(mode.Partition()); + assert(partitionIdx < MaxPartitions); + auto subsetIdx = subsetIndex(mode, partitionIdx, texelIdx); + assert(subsetIdx < MaxSubsets); + auto const &subset = subsets[subsetIdx]; + + auto anchorIdx = anchorIndex(mode, partitionIdx, subsetIdx); + auto isAnchor = anchorIdx == texelIdx; + auto colorIdx = colorIndex(mode, isAnchor, colorIndexBitOffset); + auto alphaIdx = alphaIndex(mode, isAnchor, alphaIndexBitOffset); + + if (y + dstY >= dstHeight || x + dstX >= dstWidth) { + // Don't be tempted to skip early at the loops: + // The calls to colorIndex() and alphaIndex() adjust bit + // offsets that need to be carefully tracked. + continue; + } + + Color output; + // Note: We flip r and b channels past this point as the texture storage is BGR while the output is RGB + output.rgb.r = interpolate(subset[0].rgb.b, subset[1].rgb.b, colorIdx); + output.rgb.g = interpolate(subset[0].rgb.g, subset[1].rgb.g, colorIdx); + output.rgb.b = interpolate(subset[0].rgb.r, subset[1].rgb.r, colorIdx); + output.a = interpolate(subset[0].a, subset[1].a, alphaIdx); + + switch (Get(mode.Rotation())) { + default: + break; + case 1: + std::swap(output.a, output.rgb.b); + break; + case 2: + std::swap(output.a, output.rgb.g); + break; + case 3: + std::swap(output.a, output.rgb.r); + break; + } + + auto out = reinterpret_cast(dst + sizeof(Color) * x + dstPitch * y); + *out = output; + } + } + } + + int subsetIndex(const Mode &mode, int partitionIdx, int texelIndex) const { + switch (mode.NS) { + default: + return 0; + case 2: + return PartitionTable2[partitionIdx][texelIndex]; + case 3: + return PartitionTable3[partitionIdx][texelIndex]; + } + } + + int anchorIndex(const Mode &mode, int partitionIdx, int subsetIdx) const { + // ARB_texture_compression_bptc states: + // "In partition zero, the anchor index is always index zero. + // In other partitions, the anchor index is specified by tables + // Table.A2 and Table.A3."" + // Note: This is really confusing - I believe they meant subset instead + // of partition here. + switch (subsetIdx) { + default: + return 0; + case 1: + return mode.NS == 2 ? AnchorTable2[partitionIdx] : AnchorTable3a[partitionIdx]; + case 2: + return AnchorTable3b[partitionIdx]; + } + } + + IndexInfo colorIndex(const Mode &mode, bool isAnchor, + int &indexBitOffset) const { + // ARB_texture_compression_bptc states: + // "The index value for interpolating color comes from the secondary + // index for the texel if the format has an index selection bit and its + // value is one and from the primary index otherwise."" + auto idx = Get(mode.IndexSelection()); + assert(idx <= 1); + bool secondary = idx == 1; + auto numBits = secondary ? mode.IB2 : mode.IB; + auto numReadBits = numBits - (isAnchor ? 1 : 0); + auto index = + Get(secondary ? mode.SecondaryIndex(indexBitOffset, numReadBits) + : mode.PrimaryIndex(indexBitOffset, numReadBits)); + indexBitOffset += numReadBits; + return {index, numBits}; + } + + IndexInfo alphaIndex(const Mode &mode, bool isAnchor, + int &indexBitOffset) const { + // ARB_texture_compression_bptc states: + // "The alpha index comes from the secondary index if the block has a + // secondary index and the block either doesn't have an index selection + // bit or that bit is zero and the primary index otherwise." + auto idx = Get(mode.IndexSelection()); + assert(idx <= 1); + bool secondary = (mode.IB2 != 0) && (idx == 0); + auto numBits = secondary ? mode.IB2 : mode.IB; + auto numReadBits = numBits - (isAnchor ? 1 : 0); + auto index = + Get(secondary ? mode.SecondaryIndex(indexBitOffset, numReadBits) + : mode.PrimaryIndex(indexBitOffset, numReadBits)); + indexBitOffset += numReadBits; + return {index, numBits}; + } + + // Assumes little-endian + uint64_t low; + uint64_t high; + }; + + } // namespace BC7 +} // anonymous namespace + +namespace bcn { + constexpr size_t R8Bpp{1}; //!< The amount of bytes per pixel in R8 + constexpr size_t R8g8Bpp{2}; //!< The amount of bytes per pixel in R8G8 + constexpr size_t R8g8b8a8Bpp{4}; //!< The amount of bytes per pixel in R8G8B8A8 + constexpr size_t R16g16b16a16Bpp{8}; //!< The amount of bytes per pixel in R16G16B16 + + void DecodeBc1(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height) { + const auto *color{reinterpret_cast(src)}; + size_t pitch{R8g8b8a8Bpp * width}; + color->decode(dst, x, y, width, height, pitch, R8g8b8a8Bpp, true, false); + } + + void DecodeBc2(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height) { + const auto *alpha{reinterpret_cast(src)}; + const auto *color{reinterpret_cast(src + 8)}; + size_t pitch{R8g8b8a8Bpp * width}; + color->decode(dst, x, y, width, height, pitch, R8g8b8a8Bpp, false, true); + alpha->decode(dst, x, y, width, height, pitch, R8g8b8a8Bpp); + } + + void DecodeBc3(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height) { + const auto *alpha{reinterpret_cast(src)}; + const auto *color{reinterpret_cast(src + 8)}; + size_t pitch{R8g8b8a8Bpp * width}; + color->decode(dst, x, y, width, height, pitch, R8g8b8a8Bpp, false, true); + alpha->decode(dst, x, y, width, height, pitch, R8g8b8a8Bpp, 3, false); + } + + void DecodeBc4(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { + const auto *red{reinterpret_cast(src)}; + size_t pitch{R8Bpp * width}; + red->decode(dst, x, y, width, height, pitch, R8Bpp, 0, isSigned); + } + + void DecodeBc5(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { + const auto *red{reinterpret_cast(src)}; + const auto *green{reinterpret_cast(src + 8)}; + size_t pitch{R8g8Bpp * width}; + red->decode(dst, x, y, width, height, pitch, R8g8Bpp, 0, isSigned); + green->decode(dst, x, y, width, height, pitch, R8g8Bpp, 1, isSigned); + } + + void DecodeBc6(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { + const auto *block{reinterpret_cast(src)}; + size_t pitch{R16g16b16a16Bpp * width}; + block->decode(dst, x, y, width, height, pitch, R16g16b16a16Bpp, isSigned); + } + + void DecodeBc7(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height) { + const auto *block{reinterpret_cast(src)}; + size_t pitch{R8g8b8a8Bpp * width}; + block->decode(dst, x, y, width, height, pitch); + } +} diff --git a/externals/bc_decoder/bc_decoder.h b/externals/bc_decoder/bc_decoder.h new file mode 100644 index 000000000..4f0ead7d3 --- /dev/null +++ b/externals/bc_decoder/bc_decoder.h @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: MPL-2.0 +// Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/) + +#pragma once + +#include + +namespace bcn { + /** + * @brief Decodes a BC1 encoded image to R8G8B8A8 + */ + void DecodeBc1(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height); + + /** + * @brief Decodes a BC2 encoded image to R8G8B8A8 + */ + void DecodeBc2(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height); + + /** + * @brief Decodes a BC3 encoded image to R8G8B8A8 + */ + void DecodeBc3(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height); + + /** + * @brief Decodes a BC4 encoded image to R8 + */ + void DecodeBc4(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned); + + /** + * @brief Decodes a BC5 encoded image to R8G8 + */ + void DecodeBc5(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned); + + /** + * @brief Decodes a BC6 encoded image to R16G16B16A16 + */ + void DecodeBc6(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned); + + /** + * @brief Decodes a BC7 encoded image to R8G8B8A8 + */ + void DecodeBc7(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height); +} diff --git a/externals/cpp-httplib b/externals/cpp-httplib index 305a7abcb..6d963fbe8 160000 --- a/externals/cpp-httplib +++ b/externals/cpp-httplib @@ -1 +1 @@ -Subproject commit 305a7abcb9b4e9e349843c6d563212e6c1bbbf21 +Subproject commit 6d963fbe8d415399d65e94db7910bbd22fe3741c diff --git a/externals/cubeb b/externals/cubeb index 75d9d125e..48689ae7a 160000 --- a/externals/cubeb +++ b/externals/cubeb @@ -1 +1 @@ -Subproject commit 75d9d125ee655ef80f3bfcd97ae5a805931042b8 +Subproject commit 48689ae7a73caeb747953f9ed664dc71d2f918d8 diff --git a/externals/dynarmic b/externals/dynarmic index befe547d5..7da378033 160000 --- a/externals/dynarmic +++ b/externals/dynarmic @@ -1 +1 @@ -Subproject commit befe547d5631024a70d81d2ccee808bbfcb3854e +Subproject commit 7da378033a7764f955516f75194856d87bbcd7a5 diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt index 0baac8e17..0a926e399 100644 --- a/externals/ffmpeg/CMakeLists.txt +++ b/externals/ffmpeg/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2021 yuzu Emulator Project # SPDX-License-Identifier: GPL-2.0-or-later -if (NOT WIN32) +if (NOT WIN32 AND NOT ANDROID) # Build FFmpeg from externals message(STATUS "Using FFmpeg from externals") @@ -44,10 +44,12 @@ if (NOT WIN32) endforeach() find_package(PkgConfig REQUIRED) - pkg_check_modules(LIBVA libva) - pkg_check_modules(CUDA cuda) - pkg_check_modules(FFNVCODEC ffnvcodec) - pkg_check_modules(VDPAU vdpau) + if (NOT ANDROID) + pkg_check_modules(LIBVA libva) + pkg_check_modules(CUDA cuda) + pkg_check_modules(FFNVCODEC ffnvcodec) + pkg_check_modules(VDPAU vdpau) + endif() set(FFmpeg_HWACCEL_LIBRARIES) set(FFmpeg_HWACCEL_FLAGS) @@ -121,6 +123,26 @@ if (NOT WIN32) list(APPEND FFmpeg_HWACCEL_FLAGS --disable-vdpau) endif() + find_program(BASH_PROGRAM bash REQUIRED) + + set(FFmpeg_CROSS_COMPILE_FLAGS "") + if (ANDROID) + string(TOLOWER "${CMAKE_HOST_SYSTEM_NAME}" FFmpeg_HOST_SYSTEM_NAME) + set(TOOLCHAIN "${ANDROID_NDK}/toolchains/llvm/prebuilt/${FFmpeg_HOST_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}") + set(SYSROOT "${TOOLCHAIN}/sysroot") + set(FFmpeg_CPU "armv8-a") + list(APPEND FFmpeg_CROSS_COMPILE_FLAGS + --arch=arm64 + #--cpu=${FFmpeg_CPU} + --enable-cross-compile + --cross-prefix=${TOOLCHAIN}/bin/aarch64-linux-android- + --sysroot=${SYSROOT} + --target-os=android + --extra-ldflags="--ld-path=${TOOLCHAIN}/bin/ld.lld" + --extra-ldflags="-nostdlib" + ) + endif() + # `configure` parameters builds only exactly what yuzu needs from FFmpeg # `--disable-vdpau` is needed to avoid linking issues set(FFmpeg_CC ${CMAKE_C_COMPILER_LAUNCHER} ${CMAKE_C_COMPILER}) @@ -129,9 +151,8 @@ if (NOT WIN32) OUTPUT ${FFmpeg_MAKEFILE} COMMAND - /bin/bash ${FFmpeg_PREFIX}/configure + ${BASH_PROGRAM} ${FFmpeg_PREFIX}/configure --disable-avdevice - --disable-avfilter --disable-avformat --disable-doc --disable-everything @@ -143,15 +164,18 @@ if (NOT WIN32) --enable-decoder=h264 --enable-decoder=vp8 --enable-decoder=vp9 + --enable-filter=yadif --cc="${FFmpeg_CC}" --cxx="${FFmpeg_CXX}" ${FFmpeg_HWACCEL_FLAGS} + ${FFmpeg_CROSS_COMPILE_FLAGS} WORKING_DIRECTORY ${FFmpeg_BUILD_DIR} ) unset(FFmpeg_CC) unset(FFmpeg_CXX) unset(FFmpeg_HWACCEL_FLAGS) + unset(FFmpeg_CROSS_COMPILE_FLAGS) # Workaround for Ubuntu 18.04's older version of make not being able to call make as a child # with context of the jobserver. Also helps ninja users. @@ -197,19 +221,50 @@ if (NOT WIN32) else() message(FATAL_ERROR "FFmpeg not found") endif() -else(WIN32) +elseif(ANDROID) # Use yuzu FFmpeg binaries - set(FFmpeg_EXT_NAME "ffmpeg-4.4") + if (ARCHITECTURE_arm64) + set(FFmpeg_EXT_NAME "ffmpeg-android-v5.1.LTS-aarch64") + elseif (ARCHITECTURE_x86_64) + set(FFmpeg_EXT_NAME "ffmpeg-android-v5.1.LTS-x86_64") + else() + message(FATAL_ERROR "Unsupported architecture for Android FFmpeg") + endif() + set(FFmpeg_PATH "${CMAKE_BINARY_DIR}/externals/${FFmpeg_EXT_NAME}") + download_bundled_external("ffmpeg/" ${FFmpeg_EXT_NAME} "") + set(FFmpeg_FOUND YES) + set(FFmpeg_INCLUDE_DIR "${FFmpeg_PATH}/include" CACHE PATH "Path to FFmpeg headers" FORCE) + set(FFmpeg_LIBRARY_DIR "${FFmpeg_PATH}/lib" CACHE PATH "Path to FFmpeg library directory" FORCE) + set(FFmpeg_LDFLAGS "" CACHE STRING "FFmpeg linker flags" FORCE) + set(FFmpeg_LIBRARIES + ${FFmpeg_LIBRARY_DIR}/libavcodec.so + ${FFmpeg_LIBRARY_DIR}/libavdevice.so + ${FFmpeg_LIBRARY_DIR}/libavfilter.so + ${FFmpeg_LIBRARY_DIR}/libavformat.so + ${FFmpeg_LIBRARY_DIR}/libavutil.so + ${FFmpeg_LIBRARY_DIR}/libswresample.so + ${FFmpeg_LIBRARY_DIR}/libswscale.so + ${FFmpeg_LIBRARY_DIR}/libvpx.a + ${FFmpeg_LIBRARY_DIR}/libx264.a + CACHE PATH "Paths to FFmpeg libraries" FORCE) + # exported variables + set(FFmpeg_PATH "${FFmpeg_PATH}" PARENT_SCOPE) + set(FFmpeg_LDFLAGS "${FFmpeg_LDFLAGS}" PARENT_SCOPE) + set(FFmpeg_LIBRARIES "${FFmpeg_LIBRARIES}" PARENT_SCOPE) + set(FFmpeg_INCLUDE_DIR "${FFmpeg_INCLUDE_DIR}" PARENT_SCOPE) +elseif(WIN32) + # Use yuzu FFmpeg binaries + set(FFmpeg_EXT_NAME "ffmpeg-5.1.3") set(FFmpeg_PATH "${CMAKE_BINARY_DIR}/externals/${FFmpeg_EXT_NAME}") download_bundled_external("ffmpeg/" ${FFmpeg_EXT_NAME} "") set(FFmpeg_FOUND YES) set(FFmpeg_INCLUDE_DIR "${FFmpeg_PATH}/include" CACHE PATH "Path to FFmpeg headers" FORCE) set(FFmpeg_LIBRARY_DIR "${FFmpeg_PATH}/bin" CACHE PATH "Path to FFmpeg library directory" FORCE) set(FFmpeg_LDFLAGS "" CACHE STRING "FFmpeg linker flags" FORCE) - set(FFmpeg_DLL_DIR "${FFmpeg_PATH}/bin" CACHE PATH "Path to FFmpeg dll's" FORCE) set(FFmpeg_LIBRARIES ${FFmpeg_LIBRARY_DIR}/swscale.lib ${FFmpeg_LIBRARY_DIR}/avcodec.lib + ${FFmpeg_LIBRARY_DIR}/avfilter.lib ${FFmpeg_LIBRARY_DIR}/avutil.lib CACHE PATH "Paths to FFmpeg libraries" FORCE) # exported variables diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txt index 3dfcac2fd..0c8e285a4 100644 --- a/externals/glad/CMakeLists.txt +++ b/externals/glad/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2015 Yuri Kunde Schlesner # SPDX-License-Identifier: GPL-2.0-or-later -add_library(glad STATIC +add_library(glad src/glad.c include/KHR/khrplatform.h include/glad/glad.h diff --git a/externals/libadrenotools b/externals/libadrenotools new file mode 160000 index 000000000..5cd3f5c5c --- /dev/null +++ b/externals/libadrenotools @@ -0,0 +1 @@ +Subproject commit 5cd3f5c5ceea6d9e9d435ccdd922d9b99e55d10b diff --git a/externals/libressl b/externals/libressl deleted file mode 160000 index 8929f818f..000000000 --- a/externals/libressl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8929f818fd748fd31a34fec7c04558399e13014a diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt index 6317ea807..6757b59da 100644 --- a/externals/libusb/CMakeLists.txt +++ b/externals/libusb/CMakeLists.txt @@ -122,7 +122,7 @@ else() # MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") add_compile_options(/utf-8) endif() - add_library(usb STATIC EXCLUDE_FROM_ALL + add_library(usb libusb/libusb/core.c libusb/libusb/core.c libusb/libusb/descriptor.c diff --git a/externals/microprofile/microprofile.h b/externals/microprofile/microprofile.h index 639f3618c..8f75a25aa 100644 --- a/externals/microprofile/microprofile.h +++ b/externals/microprofile/microprofile.h @@ -1697,7 +1697,13 @@ void MicroProfileFlip() { int nTimer = MicroProfileLogTimerIndex(LE); uint8_t nGroup = pTimerToGroup[nTimer]; - MP_ASSERT(nStackPos < MICROPROFILE_STACK_MAX); + + // To avoid crashing due to OOB memory accesses/asserts + // simply skip this iteration + // MP_ASSERT(nStackPos < MICROPROFILE_STACK_MAX); + if (nStackPos >= MICROPROFILE_STACK_MAX) { + break; + } MP_ASSERT(nGroup < MICROPROFILE_MAX_GROUPS); pGroupStackPos[nGroup]++; pStack[nStackPos++] = k; diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt new file mode 100644 index 000000000..593786250 --- /dev/null +++ b/externals/nx_tzdb/CMakeLists.txt @@ -0,0 +1,101 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +set(NX_TZDB_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/include") + +add_library(nx_tzdb INTERFACE) + +find_program(GIT git) +find_program(GNU_MAKE make) +find_program(DATE_PROG date) + +set(CAN_BUILD_NX_TZDB true) + +if (NOT GIT) + set(CAN_BUILD_NX_TZDB false) +endif() +if (NOT GNU_MAKE) + set(CAN_BUILD_NX_TZDB false) +endif() +if (NOT DATE_PROG) + set(CAN_BUILD_NX_TZDB false) +endif() +if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID) + # tzdb_to_nx currently requires a posix-compliant host + # MinGW and Android are handled here due to the executable format being different from the host system + # TODO (lat9nq): cross-compiling support + set(CAN_BUILD_NX_TZDB false) +endif() + +set(NX_TZDB_VERSION "220816") +set(NX_TZDB_ARCHIVE "${CMAKE_CURRENT_BINARY_DIR}/${NX_TZDB_VERSION}.zip") + +set(NX_TZDB_ROMFS_DIR "${CMAKE_CURRENT_BINARY_DIR}/nx_tzdb") + +if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_TZDB_ARCHIVE}) + set(NX_TZDB_DOWNLOAD_URL "https://github.com/lat9nq/tzdb_to_nx/releases/download/${NX_TZDB_VERSION}/${NX_TZDB_VERSION}.zip") + + message(STATUS "Downloading time zone data from ${NX_TZDB_DOWNLOAD_URL}...") + file(DOWNLOAD ${NX_TZDB_DOWNLOAD_URL} ${NX_TZDB_ARCHIVE} + STATUS NX_TZDB_DOWNLOAD_STATUS) + list(GET NX_TZDB_DOWNLOAD_STATUS 0 NX_TZDB_DOWNLOAD_STATUS_CODE) + if (NOT NX_TZDB_DOWNLOAD_STATUS_CODE EQUAL 0) + message(FATAL_ERROR "Time zone data download failed (status code ${NX_TZDB_DOWNLOAD_STATUS_CODE})") + endif() + + file(ARCHIVE_EXTRACT + INPUT + ${NX_TZDB_ARCHIVE} + DESTINATION + ${NX_TZDB_ROMFS_DIR}) +elseif (CAN_BUILD_NX_TZDB AND NOT YUZU_DOWNLOAD_TIME_ZONE_DATA) + add_subdirectory(tzdb_to_nx) + add_dependencies(nx_tzdb x80e) + + set(NX_TZDB_ROMFS_DIR "${NX_TZDB_DIR}") +endif() + +target_include_directories(nx_tzdb + INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include + INTERFACE ${NX_TZDB_INCLUDE_DIR}) + +function(CreateHeader ZONE_PATH HEADER_NAME) + set(HEADER_PATH "${NX_TZDB_INCLUDE_DIR}/nx_tzdb/${HEADER_NAME}.h") + add_custom_command( + OUTPUT + ${NX_TZDB_INCLUDE_DIR}/nx_tzdb/${HEADER_NAME}.h + COMMAND + ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/NxTzdbCreateHeader.cmake + ${ZONE_PATH} + ${HEADER_NAME} + ${NX_TZDB_INCLUDE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + DEPENDS + tzdb_template.h.in + NxTzdbCreateHeader.cmake) + + target_sources(nx_tzdb PRIVATE ${HEADER_PATH}) +endfunction() + +CreateHeader(${NX_TZDB_ROMFS_DIR} base) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo zoneinfo) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Africa africa) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/America america) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/America/Argentina america_argentina) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/America/Indiana america_indiana) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/America/Kentucky america_kentucky) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/America/North_Dakota america_north_dakota) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Antarctica antarctica) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Arctic arctic) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Asia asia) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Atlantic atlantic) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Australia australia) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Brazil brazil) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Canada canada) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Chile chile) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Etc etc) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Europe europe) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Indian indian) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Mexico mexico) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/Pacific pacific) +CreateHeader(${NX_TZDB_ROMFS_DIR}/zoneinfo/US us) diff --git a/externals/nx_tzdb/ListFilesInDirectory.cmake b/externals/nx_tzdb/ListFilesInDirectory.cmake new file mode 100644 index 000000000..35a9e726a --- /dev/null +++ b/externals/nx_tzdb/ListFilesInDirectory.cmake @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +# CMake does not have a way to list the files in a specific directory, +# so we need this script to do that for us in a platform-agnostic fashion + +file(GLOB FILE_LIST LIST_DIRECTORIES false RELATIVE ${CMAKE_SOURCE_DIR} "*") +execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${FILE_LIST};") diff --git a/externals/nx_tzdb/NxTzdbCreateHeader.cmake b/externals/nx_tzdb/NxTzdbCreateHeader.cmake new file mode 100644 index 000000000..8c29e1167 --- /dev/null +++ b/externals/nx_tzdb/NxTzdbCreateHeader.cmake @@ -0,0 +1,46 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +set(ZONE_PATH ${CMAKE_ARGV3}) +set(HEADER_NAME ${CMAKE_ARGV4}) +set(NX_TZDB_INCLUDE_DIR ${CMAKE_ARGV5}) +set(NX_TZDB_SOURCE_DIR ${CMAKE_ARGV6}) + +execute_process( + COMMAND ${CMAKE_COMMAND} -P ${NX_TZDB_SOURCE_DIR}/ListFilesInDirectory.cmake + WORKING_DIRECTORY ${ZONE_PATH} + OUTPUT_VARIABLE FILE_LIST) + +set(DIRECTORY_NAME ${HEADER_NAME}) + +set(FILE_DATA "") +foreach(ZONE_FILE ${FILE_LIST}) + if (ZONE_FILE STREQUAL "\n") + continue() + endif() + + string(APPEND FILE_DATA "{\"${ZONE_FILE}\",\n{") + + file(READ ${ZONE_PATH}/${ZONE_FILE} ZONE_DATA HEX) + string(LENGTH "${ZONE_DATA}" ZONE_DATA_LEN) + foreach(I RANGE 0 ${ZONE_DATA_LEN} 2) + math(EXPR BREAK_LINE "(${I} + 2) % 38") + + string(SUBSTRING "${ZONE_DATA}" "${I}" 2 HEX_DATA) + if (NOT HEX_DATA) + break() + endif() + + string(APPEND FILE_DATA "0x${HEX_DATA},") + if (BREAK_LINE EQUAL 0) + string(APPEND FILE_DATA "\n") + else() + string(APPEND FILE_DATA " ") + endif() + endforeach() + + string(APPEND FILE_DATA "}},\n") +endforeach() + +file(READ ${NX_TZDB_SOURCE_DIR}/tzdb_template.h.in NX_TZDB_TEMPLATE_H_IN) +file(CONFIGURE OUTPUT ${NX_TZDB_INCLUDE_DIR}/nx_tzdb/${HEADER_NAME}.h CONTENT "${NX_TZDB_TEMPLATE_H_IN}") diff --git a/externals/nx_tzdb/include/nx_tzdb.h b/externals/nx_tzdb/include/nx_tzdb.h new file mode 100644 index 000000000..1f7c6069a --- /dev/null +++ b/externals/nx_tzdb/include/nx_tzdb.h @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "nx_tzdb/africa.h" +#include "nx_tzdb/america.h" +#include "nx_tzdb/america_argentina.h" +#include "nx_tzdb/america_indiana.h" +#include "nx_tzdb/america_kentucky.h" +#include "nx_tzdb/america_north_dakota.h" +#include "nx_tzdb/antarctica.h" +#include "nx_tzdb/arctic.h" +#include "nx_tzdb/asia.h" +#include "nx_tzdb/atlantic.h" +#include "nx_tzdb/australia.h" +#include "nx_tzdb/base.h" +#include "nx_tzdb/brazil.h" +#include "nx_tzdb/canada.h" +#include "nx_tzdb/chile.h" +#include "nx_tzdb/etc.h" +#include "nx_tzdb/europe.h" +#include "nx_tzdb/indian.h" +#include "nx_tzdb/mexico.h" +#include "nx_tzdb/pacific.h" +#include "nx_tzdb/us.h" +#include "nx_tzdb/zoneinfo.h" diff --git a/externals/nx_tzdb/tzdb_template.h.in b/externals/nx_tzdb/tzdb_template.h.in new file mode 100644 index 000000000..289d002ea --- /dev/null +++ b/externals/nx_tzdb/tzdb_template.h.in @@ -0,0 +1,18 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include +#include + +namespace NxTzdb { + +// clang-format off +const static std::map> @DIRECTORY_NAME@ = +{ +@FILE_DATA@}; +// clang-format on + +} // namespace NxTzdb diff --git a/externals/nx_tzdb/tzdb_to_nx b/externals/nx_tzdb/tzdb_to_nx new file mode 160000 index 000000000..212afa239 --- /dev/null +++ b/externals/nx_tzdb/tzdb_to_nx @@ -0,0 +1 @@ +Subproject commit 212afa2394a74226dcf1b7996a570aae17debb69 diff --git a/externals/opus/CMakeLists.txt b/externals/opus/CMakeLists.txt index 410ff7c08..d9a03423d 100644 --- a/externals/opus/CMakeLists.txt +++ b/externals/opus/CMakeLists.txt @@ -23,7 +23,7 @@ else() endif() endif() -add_library(opus STATIC +add_library(opus # CELT sources opus/celt/bands.c opus/celt/celt.c diff --git a/externals/stb/stb_dxt.cpp b/externals/stb/stb_dxt.cpp new file mode 100644 index 000000000..64f1f3d03 --- /dev/null +++ b/externals/stb/stb_dxt.cpp @@ -0,0 +1,765 @@ +// SPDX-FileCopyrightText: fabian "ryg" giesen +// SPDX-License-Identifier: MIT + +// stb_dxt.h - v1.12 - DXT1/DXT5 compressor + +#include + +#include +#include + +#if !defined(STBD_FABS) +#include +#endif + +#ifndef STBD_FABS +#define STBD_FABS(x) fabs(x) +#endif + +static const unsigned char stb__OMatch5[256][2] = { + {0, 0}, {0, 0}, {0, 1}, {0, 1}, {1, 0}, {1, 0}, {1, 0}, {1, 1}, {1, 1}, + {1, 1}, {1, 2}, {0, 4}, {2, 1}, {2, 1}, {2, 1}, {2, 2}, {2, 2}, {2, 2}, + {2, 3}, {1, 5}, {3, 2}, {3, 2}, {4, 0}, {3, 3}, {3, 3}, {3, 3}, {3, 4}, + {3, 4}, {3, 4}, {3, 5}, {4, 3}, {4, 3}, {5, 2}, {4, 4}, {4, 4}, {4, 5}, + {4, 5}, {5, 4}, {5, 4}, {5, 4}, {6, 3}, {5, 5}, {5, 5}, {5, 6}, {4, 8}, + {6, 5}, {6, 5}, {6, 5}, {6, 6}, {6, 6}, {6, 6}, {6, 7}, {5, 9}, {7, 6}, + {7, 6}, {8, 4}, {7, 7}, {7, 7}, {7, 7}, {7, 8}, {7, 8}, {7, 8}, {7, 9}, + {8, 7}, {8, 7}, {9, 6}, {8, 8}, {8, 8}, {8, 9}, {8, 9}, {9, 8}, {9, 8}, + {9, 8}, {10, 7}, {9, 9}, {9, 9}, {9, 10}, {8, 12}, {10, 9}, {10, 9}, {10, 9}, + {10, 10}, {10, 10}, {10, 10}, {10, 11}, {9, 13}, {11, 10}, {11, 10}, {12, 8}, {11, 11}, + {11, 11}, {11, 11}, {11, 12}, {11, 12}, {11, 12}, {11, 13}, {12, 11}, {12, 11}, {13, 10}, + {12, 12}, {12, 12}, {12, 13}, {12, 13}, {13, 12}, {13, 12}, {13, 12}, {14, 11}, {13, 13}, + {13, 13}, {13, 14}, {12, 16}, {14, 13}, {14, 13}, {14, 13}, {14, 14}, {14, 14}, {14, 14}, + {14, 15}, {13, 17}, {15, 14}, {15, 14}, {16, 12}, {15, 15}, {15, 15}, {15, 15}, {15, 16}, + {15, 16}, {15, 16}, {15, 17}, {16, 15}, {16, 15}, {17, 14}, {16, 16}, {16, 16}, {16, 17}, + {16, 17}, {17, 16}, {17, 16}, {17, 16}, {18, 15}, {17, 17}, {17, 17}, {17, 18}, {16, 20}, + {18, 17}, {18, 17}, {18, 17}, {18, 18}, {18, 18}, {18, 18}, {18, 19}, {17, 21}, {19, 18}, + {19, 18}, {20, 16}, {19, 19}, {19, 19}, {19, 19}, {19, 20}, {19, 20}, {19, 20}, {19, 21}, + {20, 19}, {20, 19}, {21, 18}, {20, 20}, {20, 20}, {20, 21}, {20, 21}, {21, 20}, {21, 20}, + {21, 20}, {22, 19}, {21, 21}, {21, 21}, {21, 22}, {20, 24}, {22, 21}, {22, 21}, {22, 21}, + {22, 22}, {22, 22}, {22, 22}, {22, 23}, {21, 25}, {23, 22}, {23, 22}, {24, 20}, {23, 23}, + {23, 23}, {23, 23}, {23, 24}, {23, 24}, {23, 24}, {23, 25}, {24, 23}, {24, 23}, {25, 22}, + {24, 24}, {24, 24}, {24, 25}, {24, 25}, {25, 24}, {25, 24}, {25, 24}, {26, 23}, {25, 25}, + {25, 25}, {25, 26}, {24, 28}, {26, 25}, {26, 25}, {26, 25}, {26, 26}, {26, 26}, {26, 26}, + {26, 27}, {25, 29}, {27, 26}, {27, 26}, {28, 24}, {27, 27}, {27, 27}, {27, 27}, {27, 28}, + {27, 28}, {27, 28}, {27, 29}, {28, 27}, {28, 27}, {29, 26}, {28, 28}, {28, 28}, {28, 29}, + {28, 29}, {29, 28}, {29, 28}, {29, 28}, {30, 27}, {29, 29}, {29, 29}, {29, 30}, {29, 30}, + {30, 29}, {30, 29}, {30, 29}, {30, 30}, {30, 30}, {30, 30}, {30, 31}, {30, 31}, {31, 30}, + {31, 30}, {31, 30}, {31, 31}, {31, 31}, +}; +static const unsigned char stb__OMatch6[256][2] = { + {0, 0}, {0, 1}, {1, 0}, {1, 1}, {1, 1}, {1, 2}, {2, 1}, {2, 2}, {2, 2}, + {2, 3}, {3, 2}, {3, 3}, {3, 3}, {3, 4}, {4, 3}, {4, 4}, {4, 4}, {4, 5}, + {5, 4}, {5, 5}, {5, 5}, {5, 6}, {6, 5}, {6, 6}, {6, 6}, {6, 7}, {7, 6}, + {7, 7}, {7, 7}, {7, 8}, {8, 7}, {8, 8}, {8, 8}, {8, 9}, {9, 8}, {9, 9}, + {9, 9}, {9, 10}, {10, 9}, {10, 10}, {10, 10}, {10, 11}, {11, 10}, {8, 16}, {11, 11}, + {11, 12}, {12, 11}, {9, 17}, {12, 12}, {12, 13}, {13, 12}, {11, 16}, {13, 13}, {13, 14}, + {14, 13}, {12, 17}, {14, 14}, {14, 15}, {15, 14}, {14, 16}, {15, 15}, {15, 16}, {16, 14}, + {16, 15}, {17, 14}, {16, 16}, {16, 17}, {17, 16}, {18, 15}, {17, 17}, {17, 18}, {18, 17}, + {20, 14}, {18, 18}, {18, 19}, {19, 18}, {21, 15}, {19, 19}, {19, 20}, {20, 19}, {20, 20}, + {20, 20}, {20, 21}, {21, 20}, {21, 21}, {21, 21}, {21, 22}, {22, 21}, {22, 22}, {22, 22}, + {22, 23}, {23, 22}, {23, 23}, {23, 23}, {23, 24}, {24, 23}, {24, 24}, {24, 24}, {24, 25}, + {25, 24}, {25, 25}, {25, 25}, {25, 26}, {26, 25}, {26, 26}, {26, 26}, {26, 27}, {27, 26}, + {24, 32}, {27, 27}, {27, 28}, {28, 27}, {25, 33}, {28, 28}, {28, 29}, {29, 28}, {27, 32}, + {29, 29}, {29, 30}, {30, 29}, {28, 33}, {30, 30}, {30, 31}, {31, 30}, {30, 32}, {31, 31}, + {31, 32}, {32, 30}, {32, 31}, {33, 30}, {32, 32}, {32, 33}, {33, 32}, {34, 31}, {33, 33}, + {33, 34}, {34, 33}, {36, 30}, {34, 34}, {34, 35}, {35, 34}, {37, 31}, {35, 35}, {35, 36}, + {36, 35}, {36, 36}, {36, 36}, {36, 37}, {37, 36}, {37, 37}, {37, 37}, {37, 38}, {38, 37}, + {38, 38}, {38, 38}, {38, 39}, {39, 38}, {39, 39}, {39, 39}, {39, 40}, {40, 39}, {40, 40}, + {40, 40}, {40, 41}, {41, 40}, {41, 41}, {41, 41}, {41, 42}, {42, 41}, {42, 42}, {42, 42}, + {42, 43}, {43, 42}, {40, 48}, {43, 43}, {43, 44}, {44, 43}, {41, 49}, {44, 44}, {44, 45}, + {45, 44}, {43, 48}, {45, 45}, {45, 46}, {46, 45}, {44, 49}, {46, 46}, {46, 47}, {47, 46}, + {46, 48}, {47, 47}, {47, 48}, {48, 46}, {48, 47}, {49, 46}, {48, 48}, {48, 49}, {49, 48}, + {50, 47}, {49, 49}, {49, 50}, {50, 49}, {52, 46}, {50, 50}, {50, 51}, {51, 50}, {53, 47}, + {51, 51}, {51, 52}, {52, 51}, {52, 52}, {52, 52}, {52, 53}, {53, 52}, {53, 53}, {53, 53}, + {53, 54}, {54, 53}, {54, 54}, {54, 54}, {54, 55}, {55, 54}, {55, 55}, {55, 55}, {55, 56}, + {56, 55}, {56, 56}, {56, 56}, {56, 57}, {57, 56}, {57, 57}, {57, 57}, {57, 58}, {58, 57}, + {58, 58}, {58, 58}, {58, 59}, {59, 58}, {59, 59}, {59, 59}, {59, 60}, {60, 59}, {60, 60}, + {60, 60}, {60, 61}, {61, 60}, {61, 61}, {61, 61}, {61, 62}, {62, 61}, {62, 62}, {62, 62}, + {62, 63}, {63, 62}, {63, 63}, {63, 63}, +}; + +static int stb__Mul8Bit(int a, int b) { + int t = a * b + 128; + return (t + (t >> 8)) >> 8; +} + +static void stb__From16Bit(unsigned char* out, unsigned short v) { + int rv = (v & 0xf800) >> 11; + int gv = (v & 0x07e0) >> 5; + int bv = (v & 0x001f) >> 0; + + // expand to 8 bits via bit replication + out[0] = static_cast((rv * 33) >> 2); + out[1] = static_cast((gv * 65) >> 4); + out[2] = static_cast((bv * 33) >> 2); + out[3] = 0; +} + +static unsigned short stb__As16Bit(int r, int g, int b) { + return (unsigned short)((stb__Mul8Bit(r, 31) << 11) + (stb__Mul8Bit(g, 63) << 5) + + stb__Mul8Bit(b, 31)); +} + +// linear interpolation at 1/3 point between a and b, using desired rounding +// type +static int stb__Lerp13(int a, int b) { +#ifdef STB_DXT_USE_ROUNDING_BIAS + // with rounding bias + return a + stb__Mul8Bit(b - a, 0x55); +#else + // without rounding bias + // replace "/ 3" by "* 0xaaab) >> 17" if your compiler sucks or you really + // need every ounce of speed. + return (2 * a + b) / 3; +#endif +} + +// linear interpolation at 1/2 point between a and b +static int stb__Lerp12(int a, int b) { + return (a + b) / 2; +} + +// lerp RGB color +static void stb__Lerp13RGB(unsigned char* out, unsigned char* p1, unsigned char* p2) { + out[0] = (unsigned char)stb__Lerp13(p1[0], p2[0]); + out[1] = (unsigned char)stb__Lerp13(p1[1], p2[1]); + out[2] = (unsigned char)stb__Lerp13(p1[2], p2[2]); +} + +static void stb__Lerp12RGB(unsigned char* out, unsigned char* p1, unsigned char* p2) { + out[0] = (unsigned char)stb__Lerp12(p1[0], p2[0]); + out[1] = (unsigned char)stb__Lerp12(p1[1], p2[1]); + out[2] = (unsigned char)stb__Lerp12(p1[2], p2[2]); +} + +/****************************************************************************/ + +static void stb__Eval4Colors(unsigned char* color, unsigned short c0, unsigned short c1) { + stb__From16Bit(color + 0, c0); + stb__From16Bit(color + 4, c1); + stb__Lerp13RGB(color + 8, color + 0, color + 4); + stb__Lerp13RGB(color + 12, color + 4, color + 0); +} + +static void stb__Eval3Colors(unsigned char* color, unsigned short c0, unsigned short c1) { + stb__From16Bit(color + 0, c0); + stb__From16Bit(color + 4, c1); + stb__Lerp12RGB(color + 8, color + 0, color + 4); +} + +// The color matching function +static unsigned int stb__MatchColorsBlock(unsigned char* block, unsigned char* color) { + unsigned int mask = 0; + int dirr = color[0 * 4 + 0] - color[1 * 4 + 0]; + int dirg = color[0 * 4 + 1] - color[1 * 4 + 1]; + int dirb = color[0 * 4 + 2] - color[1 * 4 + 2]; + int dots[16]; + int stops[4]; + int i; + int c0Point, halfPoint, c3Point; + + for (i = 0; i < 16; i++) + dots[i] = block[i * 4 + 0] * dirr + block[i * 4 + 1] * dirg + block[i * 4 + 2] * dirb; + + for (i = 0; i < 4; i++) + stops[i] = color[i * 4 + 0] * dirr + color[i * 4 + 1] * dirg + color[i * 4 + 2] * dirb; + + // think of the colors as arranged on a line; project point onto that line, + // then choose next color out of available ones. we compute the crossover + // points for "best color in top half"/"best in bottom half" and then the same + // inside that subinterval. + // + // relying on this 1d approximation isn't always optimal in terms of euclidean + // distance, but it's very close and a lot faster. + // http://cbloomrants.blogspot.com/2008/12/12-08-08-dxtc-summary.html + + c0Point = (stops[1] + stops[3]); + halfPoint = (stops[3] + stops[2]); + c3Point = (stops[2] + stops[0]); + + for (i = 15; i >= 0; i--) { + int dot = dots[i] * 2; + mask <<= 2; + + if (dot < halfPoint) + mask |= (dot < c0Point) ? 1 : 3; + else + mask |= (dot < c3Point) ? 2 : 0; + } + + return mask; +} + +static unsigned int stb__MatchColorsAlphaBlock(unsigned char* block, unsigned char* color) { + unsigned int mask = 0; + int dirr = color[0 * 4 + 0] - color[1 * 4 + 0]; + int dirg = color[0 * 4 + 1] - color[1 * 4 + 1]; + int dirb = color[0 * 4 + 2] - color[1 * 4 + 2]; + int dots[16]; + int stops[3]; + int i; + int c0Point, c2Point; + + for (i = 0; i < 16; i++) + dots[i] = block[i * 4 + 0] * dirr + block[i * 4 + 1] * dirg + block[i * 4 + 2] * dirb; + + for (i = 0; i < 3; i++) + stops[i] = color[i * 4 + 0] * dirr + color[i * 4 + 1] * dirg + color[i * 4 + 2] * dirb; + + c0Point = (stops[1] + stops[2]); + c2Point = (stops[2] + stops[0]); + + for (i = 15; i >= 0; i--) { + int dot = dots[i] * 2; + mask <<= 2; + + if (block[i * 4 + 3] == 0) + mask |= 3; + else if (dot < c2Point) + mask |= (dot < c0Point) ? 0 : 2; + else + mask |= (dot < c0Point) ? 1 : 0; + } + + return mask; +} + +static void stb__ReorderColors(unsigned short* pmax16, unsigned short* pmin16) { + if (*pmin16 < *pmax16) { + unsigned short t = *pmin16; + *pmin16 = *pmax16; + *pmax16 = t; + } +} + +static void stb__FinalizeColors(unsigned short* pmax16, unsigned short* pmin16, + unsigned int* pmask) { + if (*pmax16 < *pmin16) { + unsigned short t = *pmin16; + *pmin16 = *pmax16; + *pmax16 = t; + *pmask ^= 0x55555555; + } +} + +// The color optimization function. (Clever code, part 1) +static void stb__OptimizeColorsBlock(unsigned char* block, unsigned short* pmax16, + unsigned short* pmin16) { + int mind, maxd; + unsigned char *minp, *maxp; + double magn; + int v_r, v_g, v_b; + static const int nIterPower = 4; + float covf[6], vfr, vfg, vfb; + + // determine color distribution + int cov[6]; + int mu[3], min[3], max[3]; + int ch, i, iter; + + for (ch = 0; ch < 3; ch++) { + const unsigned char* bp = ((const unsigned char*)block) + ch; + int muv, minv, maxv; + + muv = minv = maxv = bp[0]; + for (i = 4; i < 64; i += 4) { + muv += bp[i]; + if (bp[i] < minv) + minv = bp[i]; + else if (bp[i] > maxv) + maxv = bp[i]; + } + + mu[ch] = (muv + 8) >> 4; + min[ch] = minv; + max[ch] = maxv; + } + + // determine covariance matrix + for (i = 0; i < 6; i++) + cov[i] = 0; + + for (i = 0; i < 16; i++) { + int r = block[i * 4 + 0] - mu[0]; + int g = block[i * 4 + 1] - mu[1]; + int b = block[i * 4 + 2] - mu[2]; + + cov[0] += r * r; + cov[1] += r * g; + cov[2] += r * b; + cov[3] += g * g; + cov[4] += g * b; + cov[5] += b * b; + } + + // convert covariance matrix to float, find principal axis via power iter + for (i = 0; i < 6; i++) + covf[i] = static_cast(cov[i]) / 255.0f; + + vfr = (float)(max[0] - min[0]); + vfg = (float)(max[1] - min[1]); + vfb = (float)(max[2] - min[2]); + + for (iter = 0; iter < nIterPower; iter++) { + float r = vfr * covf[0] + vfg * covf[1] + vfb * covf[2]; + float g = vfr * covf[1] + vfg * covf[3] + vfb * covf[4]; + float b = vfr * covf[2] + vfg * covf[4] + vfb * covf[5]; + + vfr = r; + vfg = g; + vfb = b; + } + + magn = STBD_FABS(vfr); + if (STBD_FABS(vfg) > magn) + magn = STBD_FABS(vfg); + if (STBD_FABS(vfb) > magn) + magn = STBD_FABS(vfb); + + if (magn < 4.0f) { // too small, default to luminance + v_r = 299; // JPEG YCbCr luma coefs, scaled by 1000. + v_g = 587; + v_b = 114; + } else { + magn = 512.0 / magn; + v_r = (int)(vfr * magn); + v_g = (int)(vfg * magn); + v_b = (int)(vfb * magn); + } + + minp = maxp = block; + mind = maxd = block[0] * v_r + block[1] * v_g + block[2] * v_b; + // Pick colors at extreme points + for (i = 1; i < 16; i++) { + int dot = block[i * 4 + 0] * v_r + block[i * 4 + 1] * v_g + block[i * 4 + 2] * v_b; + + if (dot < mind) { + mind = dot; + minp = block + i * 4; + } + + if (dot > maxd) { + maxd = dot; + maxp = block + i * 4; + } + } + + *pmax16 = stb__As16Bit(maxp[0], maxp[1], maxp[2]); + *pmin16 = stb__As16Bit(minp[0], minp[1], minp[2]); + stb__ReorderColors(pmax16, pmin16); +} + +static void stb__OptimizeColorsAlphaBlock(unsigned char* block, unsigned short* pmax16, + unsigned short* pmin16) { + int mind, maxd; + unsigned char *minp, *maxp; + double magn; + int v_r, v_g, v_b; + static const int nIterPower = 4; + float covf[6], vfr, vfg, vfb; + + // determine color distribution + int cov[6]; + int mu[3], min[3], max[3]; + int ch, i, iter; + + for (ch = 0; ch < 3; ch++) { + const unsigned char* bp = ((const unsigned char*)block) + ch; + int muv = 0, minv = 256, maxv = -1; + int num = 0; + + for (i = 0; i < 64; i += 4) { + if (bp[3 - ch] == 0) { + continue; + } + + muv += bp[i]; + if (bp[i] < minv) + minv = bp[i]; + else if (bp[i] > maxv) + maxv = bp[i]; + + num++; + } + + mu[ch] = num > 0 ? (muv + 8) / num : 0; + min[ch] = minv; + max[ch] = maxv; + } + + // determine covariance matrix + for (i = 0; i < 6; i++) + cov[i] = 0; + + for (i = 0; i < 16; i++) { + if (block[i * 4 + 3] == 0) { + continue; + } + + int r = block[i * 4 + 0] - mu[0]; + int g = block[i * 4 + 1] - mu[1]; + int b = block[i * 4 + 2] - mu[2]; + + cov[0] += r * r; + cov[1] += r * g; + cov[2] += r * b; + cov[3] += g * g; + cov[4] += g * b; + cov[5] += b * b; + } + + // convert covariance matrix to float, find principal axis via power iter + for (i = 0; i < 6; i++) + covf[i] = static_cast(cov[i]) / 255.0f; + + vfr = (float)(max[0] - min[0]); + vfg = (float)(max[1] - min[1]); + vfb = (float)(max[2] - min[2]); + + for (iter = 0; iter < nIterPower; iter++) { + float r = vfr * covf[0] + vfg * covf[1] + vfb * covf[2]; + float g = vfr * covf[1] + vfg * covf[3] + vfb * covf[4]; + float b = vfr * covf[2] + vfg * covf[4] + vfb * covf[5]; + + vfr = r; + vfg = g; + vfb = b; + } + + magn = STBD_FABS(vfr); + if (STBD_FABS(vfg) > magn) + magn = STBD_FABS(vfg); + if (STBD_FABS(vfb) > magn) + magn = STBD_FABS(vfb); + + if (magn < 4.0f) { // too small, default to luminance + v_r = 299; // JPEG YCbCr luma coefs, scaled by 1000. + v_g = 587; + v_b = 114; + } else { + magn = 512.0 / magn; + v_r = (int)(vfr * magn); + v_g = (int)(vfg * magn); + v_b = (int)(vfb * magn); + } + + minp = maxp = NULL; + mind = 0x7fffffff; + maxd = -0x80000000; + + // Pick colors at extreme points + for (i = 0; i < 16; i++) { + if (block[i * 4 + 3] == 0) { + continue; + } + + int dot = block[i * 4 + 0] * v_r + block[i * 4 + 1] * v_g + block[i * 4 + 2] * v_b; + + if (dot < mind) { + mind = dot; + minp = block + i * 4; + } + + if (dot > maxd) { + maxd = dot; + maxp = block + i * 4; + } + } + + if (!maxp) { + // all alpha, no color + *pmin16 = 0xffff; + *pmax16 = 0; + } else { + // endpoint colors found + *pmax16 = stb__As16Bit(maxp[0], maxp[1], maxp[2]); + *pmin16 = stb__As16Bit(minp[0], minp[1], minp[2]); + + if (*pmax16 == *pmin16) { + // modify the endpoints to indicate presence of an alpha block + if (*pmax16 > 0) { + (*pmax16)--; + } else { + (*pmin16)++; + } + } + + stb__ReorderColors(pmax16, pmin16); + } +} + +static const float stb__midpoints5[32] = { + 0.015686f, 0.047059f, 0.078431f, 0.111765f, 0.145098f, 0.176471f, 0.207843f, 0.241176f, + 0.274510f, 0.305882f, 0.337255f, 0.370588f, 0.403922f, 0.435294f, 0.466667f, 0.5f, + 0.533333f, 0.564706f, 0.596078f, 0.629412f, 0.662745f, 0.694118f, 0.725490f, 0.758824f, + 0.792157f, 0.823529f, 0.854902f, 0.888235f, 0.921569f, 0.952941f, 0.984314f, 1.0f}; + +static const float stb__midpoints6[64] = { + 0.007843f, 0.023529f, 0.039216f, 0.054902f, 0.070588f, 0.086275f, 0.101961f, 0.117647f, + 0.133333f, 0.149020f, 0.164706f, 0.180392f, 0.196078f, 0.211765f, 0.227451f, 0.245098f, + 0.262745f, 0.278431f, 0.294118f, 0.309804f, 0.325490f, 0.341176f, 0.356863f, 0.372549f, + 0.388235f, 0.403922f, 0.419608f, 0.435294f, 0.450980f, 0.466667f, 0.482353f, 0.500000f, + 0.517647f, 0.533333f, 0.549020f, 0.564706f, 0.580392f, 0.596078f, 0.611765f, 0.627451f, + 0.643137f, 0.658824f, 0.674510f, 0.690196f, 0.705882f, 0.721569f, 0.737255f, 0.754902f, + 0.772549f, 0.788235f, 0.803922f, 0.819608f, 0.835294f, 0.850980f, 0.866667f, 0.882353f, + 0.898039f, 0.913725f, 0.929412f, 0.945098f, 0.960784f, 0.976471f, 0.992157f, 1.0f}; + +static unsigned short stb__Quantize5(float x) { + unsigned short q; + x = x < 0 ? 0 : x > 1 ? 1 : x; // saturate + q = (unsigned short)(x * 31); + q += (x > stb__midpoints5[q]); + return q; +} + +static unsigned short stb__Quantize6(float x) { + unsigned short q; + x = x < 0 ? 0 : x > 1 ? 1 : x; // saturate + q = (unsigned short)(x * 63); + q += (x > stb__midpoints6[q]); + return q; +} + +// The refinement function. (Clever code, part 2) +// Tries to optimize colors to suit block contents better. +// (By solving a least squares system via normal equations+Cramer's rule) +static int stb__RefineBlock(unsigned char* block, unsigned short* pmax16, unsigned short* pmin16, + unsigned int mask) { + static const int w1Tab[4] = {3, 0, 2, 1}; + static const int prods[4] = {0x090000, 0x000900, 0x040102, 0x010402}; + // ^some magic to save a lot of multiplies in the accumulating loop... + // (precomputed products of weights for least squares system, accumulated + // inside one 32-bit register) + + float f; + unsigned short oldMin, oldMax, min16, max16; + int i, akku = 0, xx, xy, yy; + int At1_r, At1_g, At1_b; + int At2_r, At2_g, At2_b; + unsigned int cm = mask; + + oldMin = *pmin16; + oldMax = *pmax16; + + if ((mask ^ (mask << 2)) < 4) // all pixels have the same index? + { + // yes, linear system would be singular; solve using optimal + // single-color match on average color + int r = 8, g = 8, b = 8; + for (i = 0; i < 16; ++i) { + r += block[i * 4 + 0]; + g += block[i * 4 + 1]; + b += block[i * 4 + 2]; + } + + r >>= 4; + g >>= 4; + b >>= 4; + + max16 = static_cast((stb__OMatch5[r][0] << 11) | (stb__OMatch6[g][0] << 5) | + stb__OMatch5[b][0]); + min16 = static_cast((stb__OMatch5[r][1] << 11) | (stb__OMatch6[g][1] << 5) | + stb__OMatch5[b][1]); + } else { + At1_r = At1_g = At1_b = 0; + At2_r = At2_g = At2_b = 0; + for (i = 0; i < 16; ++i, cm >>= 2) { + int step = cm & 3; + int w1 = w1Tab[step]; + int r = block[i * 4 + 0]; + int g = block[i * 4 + 1]; + int b = block[i * 4 + 2]; + + akku += prods[step]; + At1_r += w1 * r; + At1_g += w1 * g; + At1_b += w1 * b; + At2_r += r; + At2_g += g; + At2_b += b; + } + + At2_r = 3 * At2_r - At1_r; + At2_g = 3 * At2_g - At1_g; + At2_b = 3 * At2_b - At1_b; + + // extract solutions and decide solvability + xx = akku >> 16; + yy = (akku >> 8) & 0xff; + xy = (akku >> 0) & 0xff; + + f = 3.0f / 255.0f / static_cast(xx * yy - xy * xy); + + max16 = static_cast( + stb__Quantize5(static_cast(At1_r * yy - At2_r * xy) * f) << 11); + max16 |= static_cast( + stb__Quantize6(static_cast(At1_g * yy - At2_g * xy) * f) << 5); + max16 |= static_cast( + stb__Quantize5(static_cast(At1_b * yy - At2_b * xy) * f) << 0); + + min16 = static_cast( + stb__Quantize5(static_cast(At2_r * xx - At1_r * xy) * f) << 11); + min16 |= static_cast( + stb__Quantize6(static_cast(At2_g * xx - At1_g * xy) * f) << 5); + min16 |= static_cast( + stb__Quantize5(static_cast(At2_b * xx - At1_b * xy) * f) << 0); + } + + *pmin16 = min16; + *pmax16 = max16; + stb__ReorderColors(pmax16, pmin16); + + return oldMin != min16 || oldMax != max16; +} + +// Color block compression +static void stb__CompressColorBlock(unsigned char* dest, unsigned char* block, int alpha, + int mode) { + unsigned int mask; + int i; + int refinecount; + unsigned short max16, min16; + unsigned char color[4 * 4]; + + refinecount = (mode & STB_DXT_HIGHQUAL) ? 2 : 1; + + // check if block is constant + for (i = 1; i < 16; i++) + if (((unsigned int*)block)[i] != ((unsigned int*)block)[0]) + break; + + if (i == 16 && block[3] == 0 && alpha) { // constant alpha + mask = 0xffffffff; + max16 = 0; + min16 = 0xffff; + } else if (i == 16) { // constant color + int r = block[0], g = block[1], b = block[2]; + mask = 0xaaaaaaaa; + max16 = static_cast((stb__OMatch5[r][0] << 11) | (stb__OMatch6[g][0] << 5) | + stb__OMatch5[b][0]); + min16 = static_cast((stb__OMatch5[r][1] << 11) | (stb__OMatch6[g][1] << 5) | + stb__OMatch5[b][1]); + } else if (alpha) { + stb__OptimizeColorsAlphaBlock(block, &max16, &min16); + stb__Eval3Colors(color, max16, min16); + mask = stb__MatchColorsAlphaBlock(block, color); + } else { + // first step: PCA+map along principal axis + stb__OptimizeColorsBlock(block, &max16, &min16); + if (max16 != min16) { + stb__Eval4Colors(color, max16, min16); + mask = stb__MatchColorsBlock(block, color); + } else + mask = 0; + + // third step: refine (multiple times if requested) + for (i = 0; i < refinecount; i++) { + unsigned int lastmask = mask; + + if (stb__RefineBlock(block, &max16, &min16, mask)) { + if (max16 != min16) { + stb__Eval4Colors(color, max16, min16); + mask = stb__MatchColorsBlock(block, color); + } else { + mask = 0; + break; + } + } + + if (mask == lastmask) + break; + } + } + + // write the color block + if (!alpha) + stb__FinalizeColors(&max16, &min16, &mask); + + dest[0] = (unsigned char)(max16); + dest[1] = (unsigned char)(max16 >> 8); + dest[2] = (unsigned char)(min16); + dest[3] = (unsigned char)(min16 >> 8); + dest[4] = (unsigned char)(mask); + dest[5] = (unsigned char)(mask >> 8); + dest[6] = (unsigned char)(mask >> 16); + dest[7] = (unsigned char)(mask >> 24); +} + +// Alpha block compression (this is easy for a change) +static void stb__CompressAlphaBlock(unsigned char* dest, unsigned char* src, int stride) { + int i, dist, bias, dist4, dist2, bits, mask; + + // find min/max color + int mn, mx; + mn = mx = src[0]; + + for (i = 1; i < 16; i++) { + if (src[i * stride] < mn) + mn = src[i * stride]; + else if (src[i * stride] > mx) + mx = src[i * stride]; + } + + // encode them + dest[0] = (unsigned char)mx; + dest[1] = (unsigned char)mn; + dest += 2; + + // determine bias and emit color indices + // given the choice of mx/mn, these indices are optimal: + // http://fgiesen.wordpress.com/2009/12/15/dxt5-alpha-block-index-determination/ + dist = mx - mn; + dist4 = dist * 4; + dist2 = dist * 2; + bias = (dist < 8) ? (dist - 1) : (dist / 2 + 2); + bias -= mn * 7; + bits = 0, mask = 0; + + for (i = 0; i < 16; i++) { + int a = src[i * stride] * 7 + bias; + int ind, t; + + // select index. this is a "linear scale" lerp factor between 0 (val=min) + // and 7 (val=max). + t = (a >= dist4) ? -1 : 0; + ind = t & 4; + a -= dist4 & t; + t = (a >= dist2) ? -1 : 0; + ind += t & 2; + a -= dist2 & t; + ind += (a >= dist); + + // turn linear scale into DXT index (0/1 are extremal pts) + ind = -ind & 7; + ind ^= (2 > ind); + + // write index + mask |= ind << bits; + if ((bits += 3) >= 8) { + *dest++ = (unsigned char)mask; + mask >>= 8; + bits -= 8; + } + } +} + +void stb_compress_bc1_block(unsigned char* dest, const unsigned char* src, int alpha, int mode) { + stb__CompressColorBlock(dest, (unsigned char*)src, alpha, mode); +} + +void stb_compress_bc3_block(unsigned char* dest, const unsigned char* src, int mode) { + unsigned char data[16][4]; + int i; + + stb__CompressAlphaBlock(dest, (unsigned char*)src + 3, 4); + dest += 8; + // make a new copy of the data in which alpha is opaque, + // because code uses a fast test for color constancy + memcpy(data, src, 4 * 16); + for (i = 0; i < 16; ++i) + data[i][3] = 255; + src = &data[0][0]; + + stb__CompressColorBlock(dest, (unsigned char*)src, 0, mode); +} diff --git a/externals/stb/stb_dxt.h b/externals/stb/stb_dxt.h new file mode 100644 index 000000000..07d1d1de4 --- /dev/null +++ b/externals/stb/stb_dxt.h @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: fabian "ryg" giesen +// SPDX-License-Identifier: MIT + +// stb_dxt.h - v1.12 - DXT1/DXT5 compressor + +#ifndef STB_INCLUDE_STB_DXT_H +#define STB_INCLUDE_STB_DXT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef STB_DXT_STATIC +#define STBDDEF static +#else +#define STBDDEF extern +#endif + +// compression mode (bitflags) +#define STB_DXT_NORMAL 0 +#define STB_DXT_DITHER 1 // use dithering. was always dubious, now deprecated. does nothing! +#define STB_DXT_HIGHQUAL \ + 2 // high quality mode, does two refinement steps instead of 1. ~30-40% slower. + +STBDDEF void stb_compress_bc1_block(unsigned char* dest, + const unsigned char* src_rgba_four_bytes_per_pixel, int alpha, + int mode); + +STBDDEF void stb_compress_bc3_block(unsigned char* dest, const unsigned char* src, int mode); + +#define STB_COMPRESS_DXT_BLOCK + +#ifdef __cplusplus +} +#endif +#endif // STB_INCLUDE_STB_DXT_H diff --git a/externals/vcpkg b/externals/vcpkg index 9b22b40c6..cbf56573a 160000 --- a/externals/vcpkg +++ b/externals/vcpkg @@ -1 +1 @@ -Subproject commit 9b22b40c6c61bf0da2d46346dd44a11e90972cc9 +Subproject commit cbf56573a987527b39272e88cbdd11389b78c6e4 diff --git a/externals/vma/VulkanMemoryAllocator b/externals/vma/VulkanMemoryAllocator new file mode 160000 index 000000000..0aa3989b8 --- /dev/null +++ b/externals/vma/VulkanMemoryAllocator @@ -0,0 +1 @@ +Subproject commit 0aa3989b8f382f185fdf646cc83a1d16fa31d6ab diff --git a/externals/vma/vma.cpp b/externals/vma/vma.cpp new file mode 100644 index 000000000..1fe2cf52b --- /dev/null +++ b/externals/vma/vma.cpp @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#define VMA_IMPLEMENTATION +#define VMA_STATIC_VULKAN_FUNCTIONS 0 +#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 + +#include \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c7283e82c..0696201df 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,7 +43,7 @@ if (MSVC) /Zo /permissive- /EHsc - /std:c++latest + /std:c++20 /utf-8 /volatile:iso /Zc:externConstexpr @@ -51,8 +51,10 @@ if (MSVC) /Zc:throwingNew /GT + # Modules + /experimental:module- # Disable module support explicitly due to conflicts with precompiled headers + # External headers diagnostics - /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later /external:anglebrackets # Treats all headers included by #include

, where the header file is enclosed in angle brackets (< >), as external headers /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers @@ -83,7 +85,7 @@ if (MSVC) ) if (USE_CCACHE OR YUZU_USE_PRECOMPILED_HEADERS) - # when caching, we need to use /Z7 to downgrade debug info to use an older but more cachable format + # when caching, we need to use /Z7 to downgrade debug info to use an older but more cacheable format # Precompiled headers are deleted if not using /Z7. See https://github.com/nanoant/CMakePCHCompiler/issues/21 add_compile_options(/Z7) else() @@ -113,6 +115,9 @@ else() $<$:-Wno-braced-scalar-init> $<$:-Wno-unused-private-field> + $<$:-Werror=shadow-uncaptured-local> + $<$:-Werror=implicit-fallthrough> + $<$:-Werror=type-limits> $<$:-Wno-braced-scalar-init> $<$:-Wno-unused-private-field> ) @@ -126,6 +131,17 @@ else() add_compile_options("-stdlib=libc++") endif() + # GCC bugs + if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + # These diagnostics would be great if they worked, but are just completely broken + # and produce bogus errors on external libraries like fmt. + add_compile_options( + -Wno-array-bounds + -Wno-stringop-overread + -Wno-stringop-overflow + ) + endif() + # Set file offset size to 64 bits. # # On modern Unixes, this is typically already the case. The lone exception is @@ -181,3 +197,8 @@ endif() if (ENABLE_WEB_SERVICE) add_subdirectory(web_service) endif() + +if (ANDROID) + add_subdirectory(android/app/src/main/jni) + target_include_directories(yuzu-android PRIVATE android/app/src/main) +endif() diff --git a/src/android/.gitignore b/src/android/.gitignore new file mode 100644 index 000000000..121cc8484 --- /dev/null +++ b/src/android/.gitignore @@ -0,0 +1,65 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +# Built application files +*.apk +*.ap_ + +# Files for the ART/Dalvik VM +*.dex + +# Java class files +*.class + +# Generated files +bin/ +gen/ +out/ + +# Gradle files +.gradle/ +build/ + +# Local configuration file (sdk path, etc) +local.properties + +# Proguard folder generated by Eclipse +proguard/ + +# Log Files +*.log + +# Android Studio Navigation editor temp files +.navigation/ + +# Android Studio captures folder +captures/ + +# IntelliJ +*.iml +.idea/ + +# Keystore files +# Uncomment the following line if you do not want to check your keystore files in. +#*.jks + +# External native build folder generated in Android Studio 2.2 and later +.externalNativeBuild + +# CXX compile cache +app/.cxx + +# Google Services (e.g. APIs or Firebase) +google-services.json + +# Freeline +freeline.py +freeline/ +freeline_project_description.json + +# fastlane +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots +fastlane/test_output +fastlane/readme.md diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts new file mode 100644 index 000000000..9a47e2bd8 --- /dev/null +++ b/src/android/app/build.gradle.kts @@ -0,0 +1,270 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +import android.annotation.SuppressLint +import kotlin.collections.setOf +import org.jetbrains.kotlin.konan.properties.Properties +import org.jlleitschuh.gradle.ktlint.reporter.ReporterType + +plugins { + id("com.android.application") + id("org.jetbrains.kotlin.android") + id("kotlin-parcelize") + kotlin("plugin.serialization") version "1.8.21" + id("androidx.navigation.safeargs.kotlin") + id("org.jlleitschuh.gradle.ktlint") version "11.4.0" +} + +/** + * Use the number of seconds/10 since Jan 1 2016 as the versionCode. + * This lets us upload a new build at most every 10 seconds for the + * next 680 years. + */ +val autoVersion = (((System.currentTimeMillis() / 1000) - 1451606400) / 10).toInt() + +@Suppress("UnstableApiUsage") +android { + namespace = "org.yuzu.yuzu_emu" + + compileSdkVersion = "android-34" + ndkVersion = "25.2.9519653" + + buildFeatures { + viewBinding = true + } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + + kotlinOptions { + jvmTarget = "17" + } + + packaging { + // This is necessary for libadrenotools custom driver loading + jniLibs.useLegacyPackaging = true + } + + defaultConfig { + // TODO If this is ever modified, change application_id in strings.xml + applicationId = "org.yuzu.yuzu_emu" + minSdk = 30 + targetSdk = 34 + versionName = getGitVersion() + + // If you want to use autoVersion for the versionCode, create a property in local.properties + // named "autoVersioned" and set it to "true" + val properties = Properties() + val versionProperty = try { + properties.load(project.rootProject.file("local.properties").inputStream()) + properties.getProperty("autoVersioned") ?: "" + } catch (e: Exception) { "" } + + versionCode = if (versionProperty == "true") { + autoVersion + } else { + 1 + } + + ndk { + @SuppressLint("ChromeOsAbiSupport") + abiFilters += listOf("arm64-v8a") + } + + buildConfigField("String", "GIT_HASH", "\"${getGitHash()}\"") + buildConfigField("String", "BRANCH", "\"${getBranch()}\"") + } + + // Define build types, which are orthogonal to product flavors. + buildTypes { + + // Signed by release key, allowing for upload to Play Store. + release { + resValue("string", "app_name_suffixed", "yuzu") + signingConfig = signingConfigs.getByName("debug") + isMinifyEnabled = true + isDebuggable = false + proguardFiles( + getDefaultProguardFile("proguard-android.txt"), + "proguard-rules.pro" + ) + } + + // builds a release build that doesn't need signing + // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. + register("relWithDebInfo") { + resValue("string", "app_name_suffixed", "yuzu Debug Release") + signingConfig = signingConfigs.getByName("debug") + isMinifyEnabled = true + isDebuggable = true + proguardFiles( + getDefaultProguardFile("proguard-android.txt"), + "proguard-rules.pro" + ) + versionNameSuffix = "-relWithDebInfo" + applicationIdSuffix = ".relWithDebInfo" + isJniDebuggable = true + } + + // Signed by debug key disallowing distribution on Play Store. + // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. + debug { + resValue("string", "app_name_suffixed", "yuzu Debug") + isDebuggable = true + isJniDebuggable = true + versionNameSuffix = "-debug" + applicationIdSuffix = ".debug" + } + } + + flavorDimensions.add("version") + productFlavors { + create("mainline") { + dimension = "version" + buildConfigField("Boolean", "PREMIUM", "false") + } + + create("ea") { + dimension = "version" + buildConfigField("Boolean", "PREMIUM", "true") + applicationIdSuffix = ".ea" + } + } + + externalNativeBuild { + cmake { + version = "3.22.1" + path = file("../../../CMakeLists.txt") + } + } + + defaultConfig { + externalNativeBuild { + cmake { + arguments( + "-DENABLE_QT=0", // Don't use QT + "-DENABLE_SDL2=0", // Don't use SDL + "-DENABLE_WEB_SERVICE=0", // Don't use telemetry + "-DBUNDLE_SPEEX=ON", + "-DANDROID_ARM_NEON=true", // cryptopp requires Neon to work + "-DYUZU_USE_BUNDLED_VCPKG=ON", + "-DYUZU_USE_BUNDLED_FFMPEG=ON", + "-DYUZU_ENABLE_LTO=ON" + ) + + abiFilters("arm64-v8a", "x86_64") + } + } + } +} + +tasks.getByPath("preBuild").dependsOn("ktlintCheck") + +ktlint { + version.set("0.47.1") + android.set(true) + ignoreFailures.set(false) + disabledRules.set( + setOf( + "no-wildcard-imports", + "package-name", + "import-ordering" + ) + ) + reporters { + reporter(ReporterType.CHECKSTYLE) + } +} + +dependencies { + implementation("androidx.core:core-ktx:1.10.1") + implementation("androidx.appcompat:appcompat:1.6.1") + implementation("androidx.recyclerview:recyclerview:1.3.0") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") + implementation("androidx.fragment:fragment-ktx:1.6.0") + implementation("androidx.documentfile:documentfile:1.0.1") + implementation("com.google.android.material:material:1.9.0") + implementation("androidx.preference:preference:1.2.0") + implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1") + implementation("io.coil-kt:coil:2.2.2") + implementation("androidx.core:core-splashscreen:1.0.1") + implementation("androidx.window:window:1.1.0") + implementation("org.ini4j:ini4j:0.5.4") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") + implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") + implementation("androidx.navigation:navigation-fragment-ktx:2.6.0") + implementation("androidx.navigation:navigation-ui-ktx:2.6.0") + implementation("info.debatty:java-string-similarity:2.0.0") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") +} + +fun getGitVersion(): String { + var versionName = "0.0" + + try { + versionName = ProcessBuilder("git", "describe", "--always", "--long") + .directory(project.rootDir) + .redirectOutput(ProcessBuilder.Redirect.PIPE) + .redirectError(ProcessBuilder.Redirect.PIPE) + .start().inputStream.bufferedReader().use { it.readText() } + .trim() + .replace(Regex("(-0)?-[^-]+$"), "") + } catch (e: Exception) { + logger.error("Cannot find git, defaulting to dummy version number") + } + + if (System.getenv("GITHUB_ACTIONS") != null) { + val gitTag = System.getenv("GIT_TAG_NAME") + versionName = gitTag ?: versionName + } + + return versionName +} + +fun getGitHash(): String { + try { + val processBuilder = ProcessBuilder("git", "rev-parse", "--short", "HEAD") + processBuilder.directory(project.rootDir) + val process = processBuilder.start() + val inputStream = process.inputStream + val errorStream = process.errorStream + process.waitFor() + + return if (process.exitValue() == 0) { + inputStream.bufferedReader() + .use { it.readText().trim() } // return the value of gitHash + } else { + val errorMessage = errorStream.bufferedReader().use { it.readText().trim() } + logger.error("Error running git command: $errorMessage") + "dummy-hash" // return a dummy hash value in case of an error + } + } catch (e: Exception) { + logger.error("$e: Cannot find git, defaulting to dummy build hash") + return "dummy-hash" // return a dummy hash value in case of an error + } +} + +fun getBranch(): String { + try { + val processBuilder = ProcessBuilder("git", "rev-parse", "--abbrev-ref", "HEAD") + processBuilder.directory(project.rootDir) + val process = processBuilder.start() + val inputStream = process.inputStream + val errorStream = process.errorStream + process.waitFor() + + return if (process.exitValue() == 0) { + inputStream.bufferedReader() + .use { it.readText().trim() } // return the value of gitHash + } else { + val errorMessage = errorStream.bufferedReader().use { it.readText().trim() } + logger.error("Error running git command: $errorMessage") + "dummy-hash" // return a dummy hash value in case of an error + } + } catch (e: Exception) { + logger.error("$e: Cannot find git, defaulting to dummy build hash") + return "dummy-hash" // return a dummy hash value in case of an error + } +} diff --git a/src/android/app/proguard-rules.pro b/src/android/app/proguard-rules.pro new file mode 100644 index 000000000..691e08fd0 --- /dev/null +++ b/src/android/app/proguard-rules.pro @@ -0,0 +1,24 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +# To get usable stack traces +-dontobfuscate + +# Prevents crashing when using Wini +-keep class org.ini4j.spi.IniParser +-keep class org.ini4j.spi.IniBuilder +-keep class org.ini4j.spi.IniFormatter + +# Suppress warnings for R8 +-dontwarn org.bouncycastle.jsse.BCSSLParameters +-dontwarn org.bouncycastle.jsse.BCSSLSocket +-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider +-dontwarn org.conscrypt.Conscrypt$Version +-dontwarn org.conscrypt.Conscrypt +-dontwarn org.conscrypt.ConscryptHostnameVerifier +-dontwarn org.openjsse.javax.net.ssl.SSLParameters +-dontwarn org.openjsse.javax.net.ssl.SSLSocket +-dontwarn org.openjsse.net.ssl.OpenJSSE +-dontwarn java.beans.Introspector +-dontwarn java.beans.VetoableChangeListener +-dontwarn java.beans.VetoableChangeSupport diff --git a/src/android/app/src/ea/res/drawable/ic_yuzu.xml b/src/android/app/src/ea/res/drawable/ic_yuzu.xml new file mode 100644 index 000000000..deb8ba53f --- /dev/null +++ b/src/android/app/src/ea/res/drawable/ic_yuzu.xml @@ -0,0 +1,22 @@ + + + + diff --git a/src/android/app/src/ea/res/drawable/ic_yuzu_full.xml b/src/android/app/src/ea/res/drawable/ic_yuzu_full.xml new file mode 100644 index 000000000..4ef472876 --- /dev/null +++ b/src/android/app/src/ea/res/drawable/ic_yuzu_full.xml @@ -0,0 +1,12 @@ + + + + diff --git a/src/android/app/src/ea/res/drawable/ic_yuzu_title.xml b/src/android/app/src/ea/res/drawable/ic_yuzu_title.xml new file mode 100644 index 000000000..29d0cfced --- /dev/null +++ b/src/android/app/src/ea/res/drawable/ic_yuzu_title.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..51d949d65 --- /dev/null +++ b/src/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt new file mode 100644 index 000000000..9c32e044c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt @@ -0,0 +1,571 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu + +import android.app.Dialog +import android.content.DialogInterface +import android.os.Bundle +import android.text.Html +import android.text.method.LinkMovementMethod +import android.view.Surface +import android.view.View +import android.widget.TextView +import androidx.annotation.Keep +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import java.lang.ref.WeakReference +import org.yuzu.yuzu_emu.YuzuApplication.Companion.appContext +import org.yuzu.yuzu_emu.activities.EmulationActivity +import org.yuzu.yuzu_emu.utils.DocumentsTree.Companion.isNativePath +import org.yuzu.yuzu_emu.utils.FileUtil.exists +import org.yuzu.yuzu_emu.utils.FileUtil.getFileSize +import org.yuzu.yuzu_emu.utils.FileUtil.isDirectory +import org.yuzu.yuzu_emu.utils.FileUtil.openContentUri +import org.yuzu.yuzu_emu.utils.Log.error +import org.yuzu.yuzu_emu.utils.Log.verbose +import org.yuzu.yuzu_emu.utils.Log.warning +import org.yuzu.yuzu_emu.utils.SerializableHelper.serializable + +/** + * Class which contains methods that interact + * with the native side of the Yuzu code. + */ +object NativeLibrary { + /** + * Default controller id for each device + */ + const val Player1Device = 0 + const val Player2Device = 1 + const val Player3Device = 2 + const val Player4Device = 3 + const val Player5Device = 4 + const val Player6Device = 5 + const val Player7Device = 6 + const val Player8Device = 7 + const val ConsoleDevice = 8 + + /** + * Controller type for each device + */ + const val ProController = 3 + const val Handheld = 4 + const val JoyconDual = 5 + const val JoyconLeft = 6 + const val JoyconRight = 7 + const val GameCube = 8 + const val Pokeball = 9 + const val NES = 10 + const val SNES = 11 + const val N64 = 12 + const val SegaGenesis = 13 + + @JvmField + var sEmulationActivity = WeakReference(null) + + init { + try { + System.loadLibrary("yuzu-android") + } catch (ex: UnsatisfiedLinkError) { + error("[NativeLibrary] $ex") + } + } + + @Keep + @JvmStatic + fun openContentUri(path: String?, openmode: String?): Int { + return if (isNativePath(path!!)) { + YuzuApplication.documentsTree!!.openContentUri(path, openmode) + } else { + openContentUri(appContext, path, openmode) + } + } + + @Keep + @JvmStatic + fun getSize(path: String?): Long { + return if (isNativePath(path!!)) { + YuzuApplication.documentsTree!!.getFileSize(path) + } else { + getFileSize(appContext, path) + } + } + + @Keep + @JvmStatic + fun exists(path: String?): Boolean { + return if (isNativePath(path!!)) { + YuzuApplication.documentsTree!!.exists(path) + } else { + exists(appContext, path) + } + } + + @Keep + @JvmStatic + fun isDirectory(path: String?): Boolean { + return if (isNativePath(path!!)) { + YuzuApplication.documentsTree!!.isDirectory(path) + } else { + isDirectory(appContext, path) + } + } + + /** + * Returns true if pro controller isn't available and handheld is + */ + external fun isHandheldOnly(): Boolean + + /** + * Changes controller type for a specific device. + * + * @param Device The input descriptor of the gamepad. + * @param Type The NpadStyleIndex of the gamepad. + */ + external fun setDeviceType(Device: Int, Type: Int): Boolean + + /** + * Handles event when a gamepad is connected. + * + * @param Device The input descriptor of the gamepad. + */ + external fun onGamePadConnectEvent(Device: Int): Boolean + + /** + * Handles event when a gamepad is disconnected. + * + * @param Device The input descriptor of the gamepad. + */ + external fun onGamePadDisconnectEvent(Device: Int): Boolean + + /** + * Handles button press events for a gamepad. + * + * @param Device The input descriptor of the gamepad. + * @param Button Key code identifying which button was pressed. + * @param Action Mask identifying which action is happening (button pressed down, or button released). + * @return If we handled the button press. + */ + external fun onGamePadButtonEvent(Device: Int, Button: Int, Action: Int): Boolean + + /** + * Handles joystick movement events. + * + * @param Device The device ID of the gamepad. + * @param Axis The axis ID + * @param x_axis The value of the x-axis represented by the given ID. + * @param y_axis The value of the y-axis represented by the given ID. + */ + external fun onGamePadJoystickEvent( + Device: Int, + Axis: Int, + x_axis: Float, + y_axis: Float + ): Boolean + + /** + * Handles motion events. + * + * @param delta_timestamp The finger id corresponding to this event + * @param gyro_x,gyro_y,gyro_z The value of the accelerometer sensor. + * @param accel_x,accel_y,accel_z The value of the y-axis + */ + external fun onGamePadMotionEvent( + Device: Int, + delta_timestamp: Long, + gyro_x: Float, + gyro_y: Float, + gyro_z: Float, + accel_x: Float, + accel_y: Float, + accel_z: Float + ): Boolean + + /** + * Signals and load a nfc tag + * + * @param data Byte array containing all the data from a nfc tag + */ + external fun onReadNfcTag(data: ByteArray?): Boolean + + /** + * Removes current loaded nfc tag + */ + external fun onRemoveNfcTag(): Boolean + + /** + * Handles touch press events. + * + * @param finger_id The finger id corresponding to this event + * @param x_axis The value of the x-axis. + * @param y_axis The value of the y-axis. + */ + external fun onTouchPressed(finger_id: Int, x_axis: Float, y_axis: Float) + + /** + * Handles touch movement. + * + * @param x_axis The value of the instantaneous x-axis. + * @param y_axis The value of the instantaneous y-axis. + */ + external fun onTouchMoved(finger_id: Int, x_axis: Float, y_axis: Float) + + /** + * Handles touch release events. + * + * @param finger_id The finger id corresponding to this event + */ + external fun onTouchReleased(finger_id: Int) + + external fun reloadSettings() + + external fun getUserSetting(gameID: String?, Section: String?, Key: String?): String? + + external fun setUserSetting(gameID: String?, Section: String?, Key: String?, Value: String?) + + external fun initGameIni(gameID: String?) + + /** + * Gets the embedded icon within the given ROM. + * + * @param filename the file path to the ROM. + * @return a byte array containing the JPEG data for the icon. + */ + external fun getIcon(filename: String): ByteArray + + /** + * Gets the embedded title of the given ISO/ROM. + * + * @param filename The file path to the ISO/ROM. + * @return the embedded title of the ISO/ROM. + */ + external fun getTitle(filename: String): String + + external fun getDescription(filename: String): String + + external fun getGameId(filename: String): String + + external fun getRegions(filename: String): String + + external fun getCompany(filename: String): String + + external fun isHomebrew(filename: String): Boolean + + external fun setAppDirectory(directory: String) + + external fun installFileToNand(filename: String): Int + + external fun initializeGpuDriver( + hookLibDir: String?, + customDriverDir: String?, + customDriverName: String?, + fileRedirectDir: String? + ) + + external fun reloadKeys(): Boolean + + external fun initializeEmulation() + + external fun defaultCPUCore(): Int + + /** + * Begins emulation. + */ + external fun run(path: String?) + + /** + * Begins emulation from the specified savestate. + */ + external fun run(path: String?, savestatePath: String?, deleteSavestate: Boolean) + + // Surface Handling + external fun surfaceChanged(surf: Surface?) + + external fun surfaceDestroyed() + + /** + * Unpauses emulation from a paused state. + */ + external fun unpauseEmulation() + + /** + * Pauses emulation. + */ + external fun pauseEmulation() + + /** + * Stops emulation. + */ + external fun stopEmulation() + + /** + * Resets the in-memory ROM metadata cache. + */ + external fun resetRomMetadata() + + /** + * Returns true if emulation is running (or is paused). + */ + external fun isRunning(): Boolean + + /** + * Returns true if emulation is paused. + */ + external fun isPaused(): Boolean + + /** + * Mutes emulation sound + */ + external fun muteAudio(): Boolean + + /** + * Unmutes emulation sound + */ + external fun unmuteAudio(): Boolean + + /** + * Returns true if emulation audio is muted. + */ + external fun isMuted(): Boolean + + /** + * Returns the performance stats for the current game + */ + external fun getPerfStats(): DoubleArray + + /** + * Notifies the core emulation that the orientation has changed. + */ + external fun notifyOrientationChange(layout_option: Int, rotation: Int) + + enum class CoreError { + ErrorSystemFiles, + ErrorSavestate, + ErrorUnknown + } + + private var coreErrorAlertResult = false + private val coreErrorAlertLock = Object() + + class CoreErrorDialogFragment : DialogFragment() { + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val title = requireArguments().serializable("title") + val message = requireArguments().serializable("message") + + return MaterialAlertDialogBuilder(requireActivity()) + .setTitle(title) + .setMessage(message) + .setPositiveButton(R.string.continue_button, null) + .setNegativeButton(R.string.abort_button) { _: DialogInterface?, _: Int -> + coreErrorAlertResult = false + synchronized(coreErrorAlertLock) { coreErrorAlertLock.notify() } + } + .create() + } + + override fun onDismiss(dialog: DialogInterface) { + coreErrorAlertResult = true + synchronized(coreErrorAlertLock) { coreErrorAlertLock.notify() } + } + + companion object { + fun newInstance(title: String?, message: String?): CoreErrorDialogFragment { + val frag = CoreErrorDialogFragment() + val args = Bundle() + args.putString("title", title) + args.putString("message", message) + frag.arguments = args + return frag + } + } + } + + private fun onCoreErrorImpl(title: String, message: String) { + val emulationActivity = sEmulationActivity.get() + if (emulationActivity == null) { + error("[NativeLibrary] EmulationActivity not present") + return + } + + val fragment = CoreErrorDialogFragment.newInstance(title, message) + fragment.show(emulationActivity.supportFragmentManager, "coreError") + } + + /** + * Handles a core error. + * + * @return true: continue; false: abort + */ + fun onCoreError(error: CoreError?, details: String): Boolean { + val emulationActivity = sEmulationActivity.get() + if (emulationActivity == null) { + error("[NativeLibrary] EmulationActivity not present") + return false + } + + val title: String + val message: String + when (error) { + CoreError.ErrorSystemFiles -> { + title = emulationActivity.getString(R.string.system_archive_not_found) + message = emulationActivity.getString( + R.string.system_archive_not_found_message, + details.ifEmpty { emulationActivity.getString(R.string.system_archive_general) } + ) + } + CoreError.ErrorSavestate -> { + title = emulationActivity.getString(R.string.save_load_error) + message = details + } + CoreError.ErrorUnknown -> { + title = emulationActivity.getString(R.string.fatal_error) + message = emulationActivity.getString(R.string.fatal_error_message) + } + else -> { + return true + } + } + + // Show the AlertDialog on the main thread. + emulationActivity.runOnUiThread(Runnable { onCoreErrorImpl(title, message) }) + + // Wait for the lock to notify that it is complete. + synchronized(coreErrorAlertLock) { coreErrorAlertLock.wait() } + + return coreErrorAlertResult + } + + @Keep + @JvmStatic + fun exitEmulationActivity(resultCode: Int) { + val Success = 0 + val ErrorNotInitialized = 1 + val ErrorGetLoader = 2 + val ErrorSystemFiles = 3 + val ErrorSharedFont = 4 + val ErrorVideoCore = 5 + val ErrorUnknown = 6 + val ErrorLoader = 7 + + val captionId: Int + var descriptionId: Int + when (resultCode) { + ErrorVideoCore -> { + captionId = R.string.loader_error_video_core + descriptionId = R.string.loader_error_video_core_description + } + else -> { + captionId = R.string.loader_error_encrypted + descriptionId = R.string.loader_error_encrypted_roms_description + if (!reloadKeys()) { + descriptionId = R.string.loader_error_encrypted_keys_description + } + } + } + + val emulationActivity = sEmulationActivity.get() + if (emulationActivity == null) { + warning("[NativeLibrary] EmulationActivity is null, can't exit.") + return + } + + val builder = MaterialAlertDialogBuilder(emulationActivity) + .setTitle(captionId) + .setMessage( + Html.fromHtml( + emulationActivity.getString(descriptionId), + Html.FROM_HTML_MODE_LEGACY + ) + ) + .setPositiveButton(android.R.string.ok) { _: DialogInterface?, _: Int -> + emulationActivity.finish() + } + .setOnDismissListener { emulationActivity.finish() } + emulationActivity.runOnUiThread { + val alert = builder.create() + alert.show() + (alert.findViewById(android.R.id.message) as TextView).movementMethod = + LinkMovementMethod.getInstance() + } + } + + fun setEmulationActivity(emulationActivity: EmulationActivity?) { + verbose("[NativeLibrary] Registering EmulationActivity.") + sEmulationActivity = WeakReference(emulationActivity) + } + + fun clearEmulationActivity() { + verbose("[NativeLibrary] Unregistering EmulationActivity.") + sEmulationActivity.clear() + } + + /** + * Logs the Yuzu version, Android version and, CPU. + */ + external fun logDeviceInfo() + + /** + * Submits inline keyboard text. Called on input for buttons that result text. + * @param text Text to submit to the inline software keyboard implementation. + */ + external fun submitInlineKeyboardText(text: String?) + + /** + * Submits inline keyboard input. Used to indicate keys pressed that are not text. + * @param key_code Android Key Code associated with the keyboard input. + */ + external fun submitInlineKeyboardInput(key_code: Int) + + /** + * Button type for use in onTouchEvent + */ + object ButtonType { + const val BUTTON_A = 0 + const val BUTTON_B = 1 + const val BUTTON_X = 2 + const val BUTTON_Y = 3 + const val STICK_L = 4 + const val STICK_R = 5 + const val TRIGGER_L = 6 + const val TRIGGER_R = 7 + const val TRIGGER_ZL = 8 + const val TRIGGER_ZR = 9 + const val BUTTON_PLUS = 10 + const val BUTTON_MINUS = 11 + const val DPAD_LEFT = 12 + const val DPAD_UP = 13 + const val DPAD_RIGHT = 14 + const val DPAD_DOWN = 15 + const val BUTTON_SL = 16 + const val BUTTON_SR = 17 + const val BUTTON_HOME = 18 + const val BUTTON_CAPTURE = 19 + } + + /** + * Stick type for use in onTouchEvent + */ + object StickType { + const val STICK_L = 0 + const val STICK_R = 1 + } + + /** + * Button states + */ + object ButtonState { + const val RELEASED = 0 + const val PRESSED = 1 + } + + /** + * Result from installFileToNand + */ + object InstallFileToNandResult { + const val Success = 0 + const val SuccessFileOverwritten = 1 + const val Error = 2 + const val ErrorBaseGame = 3 + const val ErrorFilenameExtension = 4 + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt new file mode 100644 index 000000000..04ab6a220 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu + +import android.app.Application +import android.app.NotificationChannel +import android.app.NotificationManager +import android.content.Context +import java.io.File +import org.yuzu.yuzu_emu.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.DocumentsTree +import org.yuzu.yuzu_emu.utils.GpuDriverHelper + +fun Context.getPublicFilesDir(): File = getExternalFilesDir(null) ?: filesDir + +class YuzuApplication : Application() { + private fun createNotificationChannels() { + val emulationChannel = NotificationChannel( + getString(R.string.emulation_notification_channel_id), + getString(R.string.emulation_notification_channel_name), + NotificationManager.IMPORTANCE_LOW + ) + emulationChannel.description = getString( + R.string.emulation_notification_channel_description + ) + emulationChannel.setSound(null, null) + emulationChannel.vibrationPattern = null + + val noticeChannel = NotificationChannel( + getString(R.string.notice_notification_channel_id), + getString(R.string.notice_notification_channel_name), + NotificationManager.IMPORTANCE_HIGH + ) + noticeChannel.description = getString(R.string.notice_notification_channel_description) + noticeChannel.setSound(null, null) + + // Register the channel with the system; you can't change the importance + // or other notification behaviors after this + val notificationManager = getSystemService(NotificationManager::class.java) + notificationManager.createNotificationChannel(emulationChannel) + notificationManager.createNotificationChannel(noticeChannel) + } + + override fun onCreate() { + super.onCreate() + application = this + documentsTree = DocumentsTree() + DirectoryInitialization.start(applicationContext) + GpuDriverHelper.initializeDriverParameters(applicationContext) + NativeLibrary.logDeviceInfo() + + createNotificationChannels() + } + + companion object { + var documentsTree: DocumentsTree? = null + lateinit var application: YuzuApplication + + val appContext: Context + get() = application.applicationContext + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt new file mode 100644 index 000000000..ae665ed2e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt @@ -0,0 +1,455 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.activities + +import android.app.Activity +import android.app.PendingIntent +import android.app.PictureInPictureParams +import android.app.RemoteAction +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent +import android.content.IntentFilter +import android.content.res.Configuration +import android.graphics.Rect +import android.graphics.drawable.Icon +import android.hardware.Sensor +import android.hardware.SensorEvent +import android.hardware.SensorEventListener +import android.hardware.SensorManager +import android.os.Build +import android.os.Bundle +import android.util.Rational +import android.view.InputDevice +import android.view.KeyEvent +import android.view.MotionEvent +import android.view.Surface +import android.view.View +import android.view.inputmethod.InputMethodManager +import android.widget.Toast +import androidx.activity.viewModels +import androidx.appcompat.app.AppCompatActivity +import androidx.core.view.WindowCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.WindowInsetsControllerCompat +import androidx.navigation.fragment.NavHostFragment +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.ActivityEmulationBinding +import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel +import org.yuzu.yuzu_emu.model.Game +import org.yuzu.yuzu_emu.utils.ControllerMappingHelper +import org.yuzu.yuzu_emu.utils.ForegroundService +import org.yuzu.yuzu_emu.utils.InputHandler +import org.yuzu.yuzu_emu.utils.MemoryUtil +import org.yuzu.yuzu_emu.utils.NfcReader +import org.yuzu.yuzu_emu.utils.ThemeHelper +import kotlin.math.roundToInt + +class EmulationActivity : AppCompatActivity(), SensorEventListener { + private lateinit var binding: ActivityEmulationBinding + + private var controllerMappingHelper: ControllerMappingHelper? = null + + var isActivityRecreated = false + private lateinit var nfcReader: NfcReader + private lateinit var inputHandler: InputHandler + + private val gyro = FloatArray(3) + private val accel = FloatArray(3) + private var motionTimestamp: Long = 0 + private var flipMotionOrientation: Boolean = false + + private val actionPause = "ACTION_EMULATOR_PAUSE" + private val actionPlay = "ACTION_EMULATOR_PLAY" + private val actionMute = "ACTION_EMULATOR_MUTE" + private val actionUnmute = "ACTION_EMULATOR_UNMUTE" + + private val settingsViewModel: SettingsViewModel by viewModels() + + override fun onDestroy() { + stopForegroundService(this) + super.onDestroy() + } + + override fun onCreate(savedInstanceState: Bundle?) { + ThemeHelper.setTheme(this) + + settingsViewModel.settings.loadSettings() + + super.onCreate(savedInstanceState) + + binding = ActivityEmulationBinding.inflate(layoutInflater) + setContentView(binding.root) + + val navHostFragment = + supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment + val navController = navHostFragment.navController + navController + .setGraph(R.navigation.emulation_navigation, intent.extras) + + isActivityRecreated = savedInstanceState != null + + controllerMappingHelper = ControllerMappingHelper() + + // Set these options now so that the SurfaceView the game renders into is the right size. + enableFullscreenImmersive() + + window.decorView.setBackgroundColor(getColor(android.R.color.black)) + + nfcReader = NfcReader(this) + nfcReader.initialize() + + inputHandler = InputHandler() + inputHandler.initialize() + + val memoryUtil = MemoryUtil(this) + if (memoryUtil.isLessThan(8, MemoryUtil.Gb)) { + Toast.makeText( + this, + getString( + R.string.device_memory_inadequate, + memoryUtil.getDeviceRAM(), + "8 ${getString(R.string.memory_gigabyte)}" + ), + Toast.LENGTH_LONG + ).show() + } + + // Start a foreground service to prevent the app from getting killed in the background + val startIntent = Intent(this, ForegroundService::class.java) + startForegroundService(startIntent) + } + + override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { + if (event.action == KeyEvent.ACTION_DOWN) { + if (keyCode == KeyEvent.KEYCODE_ENTER) { + // Special case, we do not support multiline input, dismiss the keyboard. + val overlayView: View = + this.findViewById(R.id.surface_input_overlay) + val im = + overlayView.context.getSystemService(INPUT_METHOD_SERVICE) as InputMethodManager + im.hideSoftInputFromWindow(overlayView.windowToken, 0) + } else { + val textChar = event.unicodeChar + if (textChar == 0) { + // No text, button input. + NativeLibrary.submitInlineKeyboardInput(keyCode) + } else { + // Text submitted. + NativeLibrary.submitInlineKeyboardText(textChar.toChar().toString()) + } + } + } + return super.onKeyDown(keyCode, event) + } + + override fun onResume() { + super.onResume() + nfcReader.startScanning() + startMotionSensorListener() + + buildPictureInPictureParams() + } + + override fun onPause() { + super.onPause() + nfcReader.stopScanning() + stopMotionSensorListener() + } + + override fun onUserLeaveHint() { + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) { + if (BooleanSetting.PICTURE_IN_PICTURE.boolean && !isInPictureInPictureMode) { + val pictureInPictureParamsBuilder = PictureInPictureParams.Builder() + .getPictureInPictureActionsBuilder().getPictureInPictureAspectBuilder() + enterPictureInPictureMode(pictureInPictureParamsBuilder.build()) + } + } + } + + override fun onNewIntent(intent: Intent) { + super.onNewIntent(intent) + setIntent(intent) + nfcReader.onNewIntent(intent) + } + + override fun dispatchKeyEvent(event: KeyEvent): Boolean { + if (event.source and InputDevice.SOURCE_JOYSTICK != InputDevice.SOURCE_JOYSTICK && + event.source and InputDevice.SOURCE_GAMEPAD != InputDevice.SOURCE_GAMEPAD + ) { + return super.dispatchKeyEvent(event) + } + + return inputHandler.dispatchKeyEvent(event) + } + + override fun dispatchGenericMotionEvent(event: MotionEvent): Boolean { + if (event.source and InputDevice.SOURCE_JOYSTICK != InputDevice.SOURCE_JOYSTICK && + event.source and InputDevice.SOURCE_GAMEPAD != InputDevice.SOURCE_GAMEPAD + ) { + return super.dispatchGenericMotionEvent(event) + } + + // Don't attempt to do anything if we are disconnecting a device. + if (event.actionMasked == MotionEvent.ACTION_CANCEL) { + return true + } + + return inputHandler.dispatchGenericMotionEvent(event) + } + + override fun onSensorChanged(event: SensorEvent) { + val rotation = this.display?.rotation + if (rotation == Surface.ROTATION_90) { + flipMotionOrientation = true + } + if (rotation == Surface.ROTATION_270) { + flipMotionOrientation = false + } + + if (event.sensor.type == Sensor.TYPE_ACCELEROMETER) { + if (flipMotionOrientation) { + accel[0] = event.values[1] / SensorManager.GRAVITY_EARTH + accel[1] = -event.values[0] / SensorManager.GRAVITY_EARTH + } else { + accel[0] = -event.values[1] / SensorManager.GRAVITY_EARTH + accel[1] = event.values[0] / SensorManager.GRAVITY_EARTH + } + accel[2] = -event.values[2] / SensorManager.GRAVITY_EARTH + } + if (event.sensor.type == Sensor.TYPE_GYROSCOPE) { + // Investigate why sensor value is off by 6x + if (flipMotionOrientation) { + gyro[0] = -event.values[1] / 6.0f + gyro[1] = event.values[0] / 6.0f + } else { + gyro[0] = event.values[1] / 6.0f + gyro[1] = -event.values[0] / 6.0f + } + gyro[2] = event.values[2] / 6.0f + } + + // Only update state on accelerometer data + if (event.sensor.type != Sensor.TYPE_ACCELEROMETER) { + return + } + val deltaTimestamp = (event.timestamp - motionTimestamp) / 1000 + motionTimestamp = event.timestamp + NativeLibrary.onGamePadMotionEvent( + NativeLibrary.Player1Device, + deltaTimestamp, + gyro[0], + gyro[1], + gyro[2], + accel[0], + accel[1], + accel[2] + ) + NativeLibrary.onGamePadMotionEvent( + NativeLibrary.ConsoleDevice, + deltaTimestamp, + gyro[0], + gyro[1], + gyro[2], + accel[0], + accel[1], + accel[2] + ) + } + + override fun onAccuracyChanged(sensor: Sensor, i: Int) {} + + private fun enableFullscreenImmersive() { + WindowCompat.setDecorFitsSystemWindows(window, false) + + WindowInsetsControllerCompat(window, window.decorView).let { controller -> + controller.hide(WindowInsetsCompat.Type.systemBars()) + controller.systemBarsBehavior = + WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE + } + } + + private fun PictureInPictureParams.Builder.getPictureInPictureAspectBuilder(): + PictureInPictureParams.Builder { + val aspectRatio = when (IntSetting.RENDERER_ASPECT_RATIO.int) { + 0 -> Rational(16, 9) + 1 -> Rational(4, 3) + 2 -> Rational(21, 9) + 3 -> Rational(16, 10) + else -> null // Best fit + } + return this.apply { aspectRatio?.let { setAspectRatio(it) } } + } + + private fun PictureInPictureParams.Builder.getPictureInPictureActionsBuilder(): + PictureInPictureParams.Builder { + val pictureInPictureActions: MutableList = mutableListOf() + val pendingFlags = PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE + + if (NativeLibrary.isPaused()) { + val playIcon = Icon.createWithResource(this@EmulationActivity, R.drawable.ic_pip_play) + val playPendingIntent = PendingIntent.getBroadcast( + this@EmulationActivity, + R.drawable.ic_pip_play, + Intent(actionPlay), + pendingFlags + ) + val playRemoteAction = RemoteAction( + playIcon, + getString(R.string.play), + getString(R.string.play), + playPendingIntent + ) + pictureInPictureActions.add(playRemoteAction) + } else { + val pauseIcon = Icon.createWithResource(this@EmulationActivity, R.drawable.ic_pip_pause) + val pausePendingIntent = PendingIntent.getBroadcast( + this@EmulationActivity, + R.drawable.ic_pip_pause, + Intent(actionPause), + pendingFlags + ) + val pauseRemoteAction = RemoteAction( + pauseIcon, + getString(R.string.pause), + getString(R.string.pause), + pausePendingIntent + ) + pictureInPictureActions.add(pauseRemoteAction) + } + + if (NativeLibrary.isMuted()) { + val unmuteIcon = Icon.createWithResource( + this@EmulationActivity, + R.drawable.ic_pip_unmute + ) + val unmutePendingIntent = PendingIntent.getBroadcast( + this@EmulationActivity, + R.drawable.ic_pip_unmute, + Intent(actionUnmute), + pendingFlags + ) + val unmuteRemoteAction = RemoteAction( + unmuteIcon, + getString(R.string.unmute), + getString(R.string.unmute), + unmutePendingIntent + ) + pictureInPictureActions.add(unmuteRemoteAction) + } else { + val muteIcon = Icon.createWithResource(this@EmulationActivity, R.drawable.ic_pip_mute) + val mutePendingIntent = PendingIntent.getBroadcast( + this@EmulationActivity, + R.drawable.ic_pip_mute, + Intent(actionMute), + pendingFlags + ) + val muteRemoteAction = RemoteAction( + muteIcon, + getString(R.string.mute), + getString(R.string.mute), + mutePendingIntent + ) + pictureInPictureActions.add(muteRemoteAction) + } + + return this.apply { setActions(pictureInPictureActions) } + } + + fun buildPictureInPictureParams() { + val pictureInPictureParamsBuilder = PictureInPictureParams.Builder() + .getPictureInPictureActionsBuilder().getPictureInPictureAspectBuilder() + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + pictureInPictureParamsBuilder.setAutoEnterEnabled( + BooleanSetting.PICTURE_IN_PICTURE.boolean + ) + } + setPictureInPictureParams(pictureInPictureParamsBuilder.build()) + } + + private var pictureInPictureReceiver = object : BroadcastReceiver() { + override fun onReceive(context: Context?, intent: Intent) { + if (intent.action == actionPlay) { + if (NativeLibrary.isPaused()) NativeLibrary.unpauseEmulation() + } else if (intent.action == actionPause) { + if (!NativeLibrary.isPaused()) NativeLibrary.pauseEmulation() + } + if (intent.action == actionUnmute) { + if (NativeLibrary.isMuted()) NativeLibrary.unmuteAudio() + } else if (intent.action == actionMute) { + if (!NativeLibrary.isMuted()) NativeLibrary.muteAudio() + } + buildPictureInPictureParams() + } + } + + override fun onPictureInPictureModeChanged( + isInPictureInPictureMode: Boolean, + newConfig: Configuration + ) { + super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig) + if (isInPictureInPictureMode) { + IntentFilter().apply { + addAction(actionPause) + addAction(actionPlay) + addAction(actionMute) + addAction(actionUnmute) + }.also { + registerReceiver(pictureInPictureReceiver, it) + } + } else { + try { + unregisterReceiver(pictureInPictureReceiver) + } catch (ignored: Exception) { + } + // Always resume audio, since there is no UI button + if (NativeLibrary.isMuted()) NativeLibrary.unmuteAudio() + } + } + + private fun startMotionSensorListener() { + val sensorManager = this.getSystemService(Context.SENSOR_SERVICE) as SensorManager + val gyroSensor = sensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE) + val accelSensor = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) + sensorManager.registerListener(this, gyroSensor, SensorManager.SENSOR_DELAY_GAME) + sensorManager.registerListener(this, accelSensor, SensorManager.SENSOR_DELAY_GAME) + } + + private fun stopMotionSensorListener() { + val sensorManager = this.getSystemService(Context.SENSOR_SERVICE) as SensorManager + val gyroSensor = sensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE) + val accelSensor = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) + + sensorManager.unregisterListener(this, gyroSensor) + sensorManager.unregisterListener(this, accelSensor) + } + + companion object { + const val EXTRA_SELECTED_GAME = "SelectedGame" + + fun launch(activity: AppCompatActivity, game: Game) { + val launcher = Intent(activity, EmulationActivity::class.java) + launcher.putExtra(EXTRA_SELECTED_GAME, game) + activity.startActivity(launcher) + } + + fun stopForegroundService(activity: Activity) { + val startIntent = Intent(activity, ForegroundService::class.java) + startIntent.action = ForegroundService.ACTION_STOP + activity.startForegroundService(startIntent) + } + + private fun areCoordinatesOutside(view: View?, x: Float, y: Float): Boolean { + if (view == null) { + return true + } + val viewBounds = Rect() + view.getGlobalVisibleRect(viewBounds) + return !viewBounds.contains(x.roundToInt(), y.roundToInt()) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt new file mode 100644 index 000000000..e91277d35 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt @@ -0,0 +1,139 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.graphics.Bitmap +import android.graphics.BitmapFactory +import android.net.Uri +import android.text.TextUtils +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.widget.ImageView +import android.widget.Toast +import androidx.appcompat.app.AppCompatActivity +import androidx.documentfile.provider.DocumentFile +import androidx.lifecycle.ViewModelProvider +import androidx.lifecycle.lifecycleScope +import androidx.navigation.findNavController +import androidx.preference.PreferenceManager +import androidx.recyclerview.widget.AsyncDifferConfig +import androidx.recyclerview.widget.DiffUtil +import androidx.recyclerview.widget.ListAdapter +import androidx.recyclerview.widget.RecyclerView +import coil.load +import kotlinx.coroutines.launch +import org.yuzu.yuzu_emu.HomeNavigationDirections +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.adapters.GameAdapter.GameViewHolder +import org.yuzu.yuzu_emu.databinding.CardGameBinding +import org.yuzu.yuzu_emu.model.Game +import org.yuzu.yuzu_emu.model.GamesViewModel + +class GameAdapter(private val activity: AppCompatActivity) : + ListAdapter(AsyncDifferConfig.Builder(DiffCallback()).build()), + View.OnClickListener { + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): GameViewHolder { + // Create a new view. + val binding = CardGameBinding.inflate(LayoutInflater.from(parent.context), parent, false) + binding.cardGame.setOnClickListener(this) + + // Use that view to create a ViewHolder. + return GameViewHolder(binding) + } + + override fun onBindViewHolder(holder: GameViewHolder, position: Int) { + holder.bind(currentList[position]) + } + + override fun getItemCount(): Int = currentList.size + + /** + * Launches the game that was clicked on. + * + * @param view The card representing the game the user wants to play. + */ + override fun onClick(view: View) { + val holder = view.tag as GameViewHolder + + val gameExists = DocumentFile.fromSingleUri( + YuzuApplication.appContext, + Uri.parse(holder.game.path) + )?.exists() == true + if (!gameExists) { + Toast.makeText( + YuzuApplication.appContext, + R.string.loader_error_file_not_found, + Toast.LENGTH_LONG + ).show() + + ViewModelProvider(activity)[GamesViewModel::class.java].reloadGames(true) + return + } + + val preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + preferences.edit() + .putLong( + holder.game.keyLastPlayedTime, + System.currentTimeMillis() + ) + .apply() + + val action = HomeNavigationDirections.actionGlobalEmulationActivity(holder.game) + view.findNavController().navigate(action) + } + + inner class GameViewHolder(val binding: CardGameBinding) : + RecyclerView.ViewHolder(binding.root) { + lateinit var game: Game + + init { + binding.cardGame.tag = this + } + + fun bind(game: Game) { + this.game = game + + binding.imageGameScreen.scaleType = ImageView.ScaleType.CENTER_CROP + activity.lifecycleScope.launch { + val bitmap = decodeGameIcon(game.path) + binding.imageGameScreen.load(bitmap) { + error(R.drawable.default_icon) + } + } + + binding.textGameTitle.text = game.title.replace("[\\t\\n\\r]+".toRegex(), " ") + + binding.textGameTitle.postDelayed( + { + binding.textGameTitle.ellipsize = TextUtils.TruncateAt.MARQUEE + binding.textGameTitle.isSelected = true + }, + 3000 + ) + } + } + + private class DiffCallback : DiffUtil.ItemCallback() { + override fun areItemsTheSame(oldItem: Game, newItem: Game): Boolean { + return oldItem.gameId == newItem.gameId + } + + override fun areContentsTheSame(oldItem: Game, newItem: Game): Boolean { + return oldItem == newItem + } + } + + private fun decodeGameIcon(uri: String): Bitmap? { + val data = NativeLibrary.getIcon(uri) + return BitmapFactory.decodeByteArray( + data, + 0, + data.size, + BitmapFactory.Options() + ) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt new file mode 100644 index 000000000..d3df3bc81 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.appcompat.app.AppCompatActivity +import androidx.core.content.ContextCompat +import androidx.core.content.res.ResourcesCompat +import androidx.recyclerview.widget.RecyclerView +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.CardHomeOptionBinding +import org.yuzu.yuzu_emu.model.HomeSetting + +class HomeSettingAdapter(private val activity: AppCompatActivity, var options: List) : + RecyclerView.Adapter(), + View.OnClickListener { + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): HomeOptionViewHolder { + val binding = + CardHomeOptionBinding.inflate(LayoutInflater.from(parent.context), parent, false) + binding.root.setOnClickListener(this) + return HomeOptionViewHolder(binding) + } + + override fun getItemCount(): Int { + return options.size + } + + override fun onBindViewHolder(holder: HomeOptionViewHolder, position: Int) { + holder.bind(options[position]) + } + + override fun onClick(view: View) { + val holder = view.tag as HomeOptionViewHolder + holder.option.onClick.invoke() + } + + inner class HomeOptionViewHolder(val binding: CardHomeOptionBinding) : + RecyclerView.ViewHolder(binding.root) { + lateinit var option: HomeSetting + + init { + itemView.tag = this + } + + fun bind(option: HomeSetting) { + this.option = option + binding.optionTitle.text = activity.resources.getString(option.titleId) + binding.optionDescription.text = activity.resources.getString(option.descriptionId) + binding.optionIcon.setImageDrawable( + ResourcesCompat.getDrawable( + activity.resources, + option.iconId, + activity.theme + ) + ) + + when (option.titleId) { + R.string.get_early_access -> + binding.optionLayout.background = + ContextCompat.getDrawable( + binding.optionCard.context, + R.drawable.premium_background + ) + } + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt new file mode 100644 index 000000000..7006651d0 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.appcompat.app.AppCompatActivity +import androidx.recyclerview.widget.RecyclerView +import androidx.recyclerview.widget.RecyclerView.ViewHolder +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.fragments.LicenseBottomSheetDialogFragment +import org.yuzu.yuzu_emu.model.License + +class LicenseAdapter(private val activity: AppCompatActivity, var licenses: List) : + RecyclerView.Adapter(), + View.OnClickListener { + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): LicenseViewHolder { + val binding = + ListItemSettingBinding.inflate(LayoutInflater.from(parent.context), parent, false) + binding.root.setOnClickListener(this) + return LicenseViewHolder(binding) + } + + override fun getItemCount(): Int = licenses.size + + override fun onBindViewHolder(holder: LicenseViewHolder, position: Int) { + holder.bind(licenses[position]) + } + + override fun onClick(view: View) { + val license = (view.tag as LicenseViewHolder).license + LicenseBottomSheetDialogFragment.newInstance(license) + .show(activity.supportFragmentManager, LicenseBottomSheetDialogFragment.TAG) + } + + inner class LicenseViewHolder(val binding: ListItemSettingBinding) : ViewHolder(binding.root) { + lateinit var license: License + + init { + itemView.tag = this + } + + fun bind(license: License) { + this.license = license + + val context = YuzuApplication.appContext + binding.textSettingName.text = context.getString(license.titleId) + binding.textSettingDescription.text = context.getString(license.descriptionId) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt new file mode 100644 index 000000000..481ddd5a5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.text.Html +import android.view.LayoutInflater +import android.view.ViewGroup +import androidx.appcompat.app.AppCompatActivity +import androidx.core.content.res.ResourcesCompat +import androidx.recyclerview.widget.RecyclerView +import com.google.android.material.button.MaterialButton +import org.yuzu.yuzu_emu.databinding.PageSetupBinding +import org.yuzu.yuzu_emu.model.SetupPage + +class SetupAdapter(val activity: AppCompatActivity, val pages: List) : + RecyclerView.Adapter() { + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SetupPageViewHolder { + val binding = PageSetupBinding.inflate(LayoutInflater.from(parent.context), parent, false) + return SetupPageViewHolder(binding) + } + + override fun getItemCount(): Int = pages.size + + override fun onBindViewHolder(holder: SetupPageViewHolder, position: Int) = + holder.bind(pages[position]) + + inner class SetupPageViewHolder(val binding: PageSetupBinding) : + RecyclerView.ViewHolder(binding.root) { + lateinit var page: SetupPage + + init { + itemView.tag = this + } + + fun bind(page: SetupPage) { + this.page = page + binding.icon.setImageDrawable( + ResourcesCompat.getDrawable( + activity.resources, + page.iconId, + activity.theme + ) + ) + binding.textTitle.text = activity.resources.getString(page.titleId) + binding.textDescription.text = + Html.fromHtml(activity.resources.getString(page.descriptionId), 0) + + binding.buttonAction.apply { + text = activity.resources.getString(page.buttonTextId) + if (page.buttonIconId != 0) { + icon = ResourcesCompat.getDrawable( + activity.resources, + page.buttonIconId, + activity.theme + ) + } + iconGravity = + if (page.leftAlignedIcon) { + MaterialButton.ICON_GRAVITY_START + } else { + MaterialButton.ICON_GRAVITY_END + } + setOnClickListener { + page.buttonAction.invoke() + } + } + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard.kt new file mode 100644 index 000000000..e058067c9 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard.kt @@ -0,0 +1,124 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.applets.keyboard + +import android.content.Context +import android.os.Handler +import android.os.Looper +import android.view.KeyEvent +import android.view.View +import android.view.WindowInsets +import android.view.inputmethod.InputMethodManager +import androidx.annotation.Keep +import androidx.core.view.ViewCompat +import java.io.Serializable +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.applets.keyboard.ui.KeyboardDialogFragment + +@Keep +object SoftwareKeyboard { + lateinit var data: KeyboardData + val dataLock = Object() + + private fun executeNormalImpl(config: KeyboardConfig) { + val emulationActivity = NativeLibrary.sEmulationActivity.get() + data = KeyboardData(SwkbdResult.Cancel.ordinal, "") + val fragment = KeyboardDialogFragment.newInstance(config) + fragment.show(emulationActivity!!.supportFragmentManager, KeyboardDialogFragment.TAG) + } + + private fun executeInlineImpl(config: KeyboardConfig) { + val emulationActivity = NativeLibrary.sEmulationActivity.get() + + val overlayView = emulationActivity!!.findViewById(R.id.surface_input_overlay) + val im = + overlayView.context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager + im.showSoftInput(overlayView, InputMethodManager.SHOW_FORCED) + + // There isn't a good way to know that the IMM is dismissed, so poll every 500ms to submit inline keyboard result. + val handler = Handler(Looper.myLooper()!!) + val delayMs = 500 + handler.postDelayed( + object : Runnable { + override fun run() { + val insets = ViewCompat.getRootWindowInsets(overlayView) + val isKeyboardVisible = insets!!.isVisible(WindowInsets.Type.ime()) + if (isKeyboardVisible) { + handler.postDelayed(this, delayMs.toLong()) + return + } + + // No longer visible, submit the result. + NativeLibrary.submitInlineKeyboardInput(KeyEvent.KEYCODE_ENTER) + } + }, + delayMs.toLong() + ) + } + + @JvmStatic + fun executeNormal(config: KeyboardConfig): KeyboardData { + NativeLibrary.sEmulationActivity.get()!!.runOnUiThread { executeNormalImpl(config) } + synchronized(dataLock) { + dataLock.wait() + } + return data + } + + @JvmStatic + fun executeInline(config: KeyboardConfig) { + NativeLibrary.sEmulationActivity.get()!!.runOnUiThread { executeInlineImpl(config) } + } + + // Corresponds to Service::AM::Applets::SwkbdType + enum class SwkbdType { + Normal, + NumberPad, + Qwerty, + Unknown3, + Latin, + SimplifiedChinese, + TraditionalChinese, + Korean + } + + // Corresponds to Service::AM::Applets::SwkbdPasswordMode + enum class SwkbdPasswordMode { + Disabled, + Enabled + } + + // Corresponds to Service::AM::Applets::SwkbdResult + enum class SwkbdResult { + Ok, + Cancel + } + + @Keep + data class KeyboardConfig( + var ok_text: String? = null, + var header_text: String? = null, + var sub_text: String? = null, + var guide_text: String? = null, + var initial_text: String? = null, + var left_optional_symbol_key: Short = 0, + var right_optional_symbol_key: Short = 0, + var max_text_length: Int = 0, + var min_text_length: Int = 0, + var initial_cursor_position: Int = 0, + var type: Int = 0, + var password_mode: Int = 0, + var text_draw_type: Int = 0, + var key_disable_flags: Int = 0, + var use_blur_background: Boolean = false, + var enable_backspace_button: Boolean = false, + var enable_return_button: Boolean = false, + var disable_cancel_button: Boolean = false + ) : Serializable + + // Corresponds to Frontend::KeyboardData + @Keep + data class KeyboardData(var result: Int, var text: String) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt new file mode 100644 index 000000000..607a3d506 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.applets.keyboard.ui + +import android.app.Dialog +import android.content.DialogInterface +import android.os.Bundle +import android.text.InputFilter +import android.text.InputType +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.applets.keyboard.SoftwareKeyboard +import org.yuzu.yuzu_emu.applets.keyboard.SoftwareKeyboard.KeyboardConfig +import org.yuzu.yuzu_emu.databinding.DialogEditTextBinding +import org.yuzu.yuzu_emu.utils.SerializableHelper.serializable + +class KeyboardDialogFragment : DialogFragment() { + private lateinit var binding: DialogEditTextBinding + private lateinit var config: KeyboardConfig + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + binding = DialogEditTextBinding.inflate(layoutInflater) + config = requireArguments().serializable(CONFIG)!! + + // Set up the input + binding.editText.hint = config.initial_text + binding.editText.isSingleLine = !config.enable_return_button + binding.editText.filters = + arrayOf(InputFilter.LengthFilter(config.max_text_length)) + + // Handle input type + var inputType: Int + when (config.type) { + SoftwareKeyboard.SwkbdType.Normal.ordinal, + SoftwareKeyboard.SwkbdType.Qwerty.ordinal, + SoftwareKeyboard.SwkbdType.Unknown3.ordinal, + SoftwareKeyboard.SwkbdType.Latin.ordinal, + SoftwareKeyboard.SwkbdType.SimplifiedChinese.ordinal, + SoftwareKeyboard.SwkbdType.TraditionalChinese.ordinal, + SoftwareKeyboard.SwkbdType.Korean.ordinal -> { + inputType = InputType.TYPE_CLASS_TEXT + if (config.password_mode == SoftwareKeyboard.SwkbdPasswordMode.Enabled.ordinal) { + inputType = inputType or InputType.TYPE_TEXT_VARIATION_PASSWORD + } + } + SoftwareKeyboard.SwkbdType.NumberPad.ordinal -> { + inputType = InputType.TYPE_CLASS_NUMBER + if (config.password_mode == SoftwareKeyboard.SwkbdPasswordMode.Enabled.ordinal) { + inputType = inputType or InputType.TYPE_NUMBER_VARIATION_PASSWORD + } + } + else -> { + inputType = InputType.TYPE_CLASS_TEXT + if (config.password_mode == SoftwareKeyboard.SwkbdPasswordMode.Enabled.ordinal) { + inputType = inputType or InputType.TYPE_TEXT_VARIATION_PASSWORD + } + } + } + binding.editText.inputType = inputType + + val headerText = + config.header_text!!.ifEmpty { resources.getString(R.string.software_keyboard) } + val okText = + config.ok_text!!.ifEmpty { resources.getString(R.string.submit) } + + return MaterialAlertDialogBuilder(requireContext()) + .setTitle(headerText) + .setView(binding.root) + .setPositiveButton(okText) { _, _ -> + SoftwareKeyboard.data.result = SoftwareKeyboard.SwkbdResult.Ok.ordinal + SoftwareKeyboard.data.text = binding.editText.text.toString() + } + .setNegativeButton(resources.getString(android.R.string.cancel)) { _, _ -> + SoftwareKeyboard.data.result = SoftwareKeyboard.SwkbdResult.Cancel.ordinal + } + .create() + } + + override fun onDismiss(dialog: DialogInterface) { + super.onDismiss(dialog) + synchronized(SoftwareKeyboard.dataLock) { + SoftwareKeyboard.dataLock.notifyAll() + } + } + + companion object { + const val TAG = "KeyboardDialogFragment" + const val CONFIG = "keyboard_config" + + fun newInstance(config: KeyboardConfig?): KeyboardDialogFragment { + val frag = KeyboardDialogFragment() + val args = Bundle() + args.putSerializable(CONFIG, config) + frag.arguments = args + return frag + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt new file mode 100644 index 000000000..a18efef19 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt @@ -0,0 +1,51 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.disk_shader_cache + +import androidx.annotation.Keep +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.disk_shader_cache.ui.ShaderProgressDialogFragment + +@Keep +object DiskShaderCacheProgress { + val finishLock = Object() + private lateinit var fragment: ShaderProgressDialogFragment + + private fun prepareDialog() { + val emulationActivity = NativeLibrary.sEmulationActivity.get()!! + emulationActivity.runOnUiThread { + fragment = ShaderProgressDialogFragment.newInstance( + emulationActivity.getString(R.string.loading), + emulationActivity.getString(R.string.preparing_shaders) + ) + fragment.show( + emulationActivity.supportFragmentManager, + ShaderProgressDialogFragment.TAG + ) + } + synchronized(finishLock) { finishLock.wait() } + } + + @JvmStatic + fun loadProgress(stage: Int, progress: Int, max: Int) { + val emulationActivity = NativeLibrary.sEmulationActivity.get() + ?: error("[DiskShaderCacheProgress] EmulationActivity not present") + + when (LoadCallbackStage.values()[stage]) { + LoadCallbackStage.Prepare -> prepareDialog() + LoadCallbackStage.Build -> fragment.onUpdateProgress( + emulationActivity.getString(R.string.building_shaders), + progress, + max + ) + LoadCallbackStage.Complete -> fragment.dismiss() + } + } + + // Equivalent to VideoCore::LoadCallbackStage + enum class LoadCallbackStage { + Prepare, Build, Complete + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt new file mode 100644 index 000000000..bf6f0366d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.disk_shader_cache + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel + +class ShaderProgressViewModel : ViewModel() { + private val _progress = MutableLiveData(0) + val progress: LiveData get() = _progress + + private val _max = MutableLiveData(0) + val max: LiveData get() = _max + + private val _message = MutableLiveData("") + val message: LiveData get() = _message + + fun setProgress(progress: Int) { + _progress.postValue(progress) + } + + fun setMax(max: Int) { + _max.postValue(max) + } + + fun setMessage(msg: String) { + _message.postValue(msg) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt new file mode 100644 index 000000000..8a8e0a6e8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt @@ -0,0 +1,103 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.disk_shader_cache.ui + +import android.app.Dialog +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.appcompat.app.AlertDialog +import androidx.fragment.app.DialogFragment +import androidx.lifecycle.ViewModelProvider +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding +import org.yuzu.yuzu_emu.disk_shader_cache.DiskShaderCacheProgress +import org.yuzu.yuzu_emu.disk_shader_cache.ShaderProgressViewModel + +class ShaderProgressDialogFragment : DialogFragment() { + private var _binding: DialogProgressBarBinding? = null + private val binding get() = _binding!! + + private lateinit var alertDialog: AlertDialog + + private lateinit var shaderProgressViewModel: ShaderProgressViewModel + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + _binding = DialogProgressBarBinding.inflate(layoutInflater) + shaderProgressViewModel = + ViewModelProvider(requireActivity())[ShaderProgressViewModel::class.java] + + val title = requireArguments().getString(TITLE) + val message = requireArguments().getString(MESSAGE) + + isCancelable = false + alertDialog = MaterialAlertDialogBuilder(requireActivity()) + .setView(binding.root) + .setTitle(title) + .setMessage(message) + .create() + return alertDialog + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + shaderProgressViewModel.progress.observe(viewLifecycleOwner) { progress -> + binding.progressBar.progress = progress + setUpdateText() + } + shaderProgressViewModel.max.observe(viewLifecycleOwner) { max -> + binding.progressBar.max = max + setUpdateText() + } + shaderProgressViewModel.message.observe(viewLifecycleOwner) { msg -> + alertDialog.setMessage(msg) + } + synchronized(DiskShaderCacheProgress.finishLock) { + DiskShaderCacheProgress.finishLock.notifyAll() + } + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + fun onUpdateProgress(msg: String, progress: Int, max: Int) { + shaderProgressViewModel.setProgress(progress) + shaderProgressViewModel.setMax(max) + shaderProgressViewModel.setMessage(msg) + } + + private fun setUpdateText() { + binding.progressText.text = String.format( + "%d/%d", + shaderProgressViewModel.progress.value, + shaderProgressViewModel.max.value + ) + } + + companion object { + const val TAG = "ProgressDialogFragment" + const val TITLE = "title" + const val MESSAGE = "message" + + fun newInstance(title: String, message: String): ShaderProgressDialogFragment { + val frag = ShaderProgressDialogFragment() + val args = Bundle() + args.putString(TITLE, title) + args.putString(MESSAGE, message) + frag.arguments = args + return frag + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/DocumentProvider.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/DocumentProvider.kt new file mode 100644 index 000000000..f3be156b5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/DocumentProvider.kt @@ -0,0 +1,341 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// SPDX-License-Identifier: MPL-2.0 +// Copyright © 2023 Skyline Team and Contributors (https://github.com/skyline-emu/) + +package org.yuzu.yuzu_emu.features + +import android.database.Cursor +import android.database.MatrixCursor +import android.os.CancellationSignal +import android.os.ParcelFileDescriptor +import android.provider.DocumentsContract +import android.provider.DocumentsProvider +import android.webkit.MimeTypeMap +import java.io.* +import org.yuzu.yuzu_emu.BuildConfig +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.getPublicFilesDir + +class DocumentProvider : DocumentsProvider() { + private val baseDirectory: File + get() = File(YuzuApplication.application.getPublicFilesDir().canonicalPath) + + companion object { + private val DEFAULT_ROOT_PROJECTION: Array = arrayOf( + DocumentsContract.Root.COLUMN_ROOT_ID, + DocumentsContract.Root.COLUMN_MIME_TYPES, + DocumentsContract.Root.COLUMN_FLAGS, + DocumentsContract.Root.COLUMN_ICON, + DocumentsContract.Root.COLUMN_TITLE, + DocumentsContract.Root.COLUMN_SUMMARY, + DocumentsContract.Root.COLUMN_DOCUMENT_ID, + DocumentsContract.Root.COLUMN_AVAILABLE_BYTES + ) + + private val DEFAULT_DOCUMENT_PROJECTION: Array = arrayOf( + DocumentsContract.Document.COLUMN_DOCUMENT_ID, + DocumentsContract.Document.COLUMN_MIME_TYPE, + DocumentsContract.Document.COLUMN_DISPLAY_NAME, + DocumentsContract.Document.COLUMN_LAST_MODIFIED, + DocumentsContract.Document.COLUMN_FLAGS, + DocumentsContract.Document.COLUMN_SIZE + ) + + const val AUTHORITY: String = BuildConfig.APPLICATION_ID + ".user" + const val ROOT_ID: String = "root" + } + + override fun onCreate(): Boolean { + return true + } + + /** + * @return The [File] that corresponds to the document ID supplied by [getDocumentId] + */ + private fun getFile(documentId: String): File { + if (documentId.startsWith(ROOT_ID)) { + val file = baseDirectory.resolve(documentId.drop(ROOT_ID.length + 1)) + if (!file.exists()) { + throw FileNotFoundException( + "${file.absolutePath} ($documentId) not found" + ) + } + return file + } else { + throw FileNotFoundException("'$documentId' is not in any known root") + } + } + + /** + * @return A unique ID for the provided [File] + */ + private fun getDocumentId(file: File): String { + return "$ROOT_ID/${file.toRelativeString(baseDirectory)}" + } + + override fun queryRoots(projection: Array?): Cursor { + val cursor = MatrixCursor(projection ?: DEFAULT_ROOT_PROJECTION) + + cursor.newRow().apply { + add(DocumentsContract.Root.COLUMN_ROOT_ID, ROOT_ID) + add(DocumentsContract.Root.COLUMN_SUMMARY, null) + add( + DocumentsContract.Root.COLUMN_FLAGS, + DocumentsContract.Root.FLAG_SUPPORTS_CREATE or + DocumentsContract.Root.FLAG_SUPPORTS_IS_CHILD + ) + add(DocumentsContract.Root.COLUMN_TITLE, context!!.getString(R.string.app_name)) + add(DocumentsContract.Root.COLUMN_DOCUMENT_ID, getDocumentId(baseDirectory)) + add(DocumentsContract.Root.COLUMN_MIME_TYPES, "*/*") + add(DocumentsContract.Root.COLUMN_AVAILABLE_BYTES, baseDirectory.freeSpace) + add(DocumentsContract.Root.COLUMN_ICON, R.drawable.ic_yuzu) + } + + return cursor + } + + override fun queryDocument(documentId: String?, projection: Array?): Cursor { + val cursor = MatrixCursor(projection ?: DEFAULT_DOCUMENT_PROJECTION) + return includeFile(cursor, documentId, null) + } + + override fun isChildDocument(parentDocumentId: String?, documentId: String?): Boolean { + return documentId?.startsWith(parentDocumentId!!) ?: false + } + + /** + * @return A new [File] with a unique name based off the supplied [name], not conflicting with any existing file + */ + private fun File.resolveWithoutConflict(name: String): File { + var file = resolve(name) + if (file.exists()) { + var noConflictId = + 1 // Makes sure two files don't have the same name by adding a number to the end + val extension = name.substringAfterLast('.') + val baseName = name.substringBeforeLast('.') + while (file.exists()) + file = resolve("$baseName (${noConflictId++}).$extension") + } + return file + } + + override fun createDocument( + parentDocumentId: String?, + mimeType: String?, + displayName: String + ): String { + val parentFile = getFile(parentDocumentId!!) + val newFile = parentFile.resolveWithoutConflict(displayName) + + try { + if (DocumentsContract.Document.MIME_TYPE_DIR == mimeType) { + if (!newFile.mkdir()) { + throw IOException("Failed to create directory") + } + } else { + if (!newFile.createNewFile()) { + throw IOException("Failed to create file") + } + } + } catch (e: IOException) { + throw FileNotFoundException("Couldn't create document '${newFile.path}': ${e.message}") + } + + return getDocumentId(newFile) + } + + override fun deleteDocument(documentId: String?) { + val file = getFile(documentId!!) + if (!file.delete()) { + throw FileNotFoundException("Couldn't delete document with ID '$documentId'") + } + } + + override fun removeDocument(documentId: String, parentDocumentId: String?) { + val parent = getFile(parentDocumentId!!) + val file = getFile(documentId) + + if (parent == file || file.parentFile == null || file.parentFile!! == parent) { + if (!file.delete()) { + throw FileNotFoundException("Couldn't delete document with ID '$documentId'") + } + } else { + throw FileNotFoundException("Couldn't delete document with ID '$documentId'") + } + } + + override fun renameDocument(documentId: String?, displayName: String?): String { + if (displayName == null) { + throw FileNotFoundException( + "Couldn't rename document '$documentId' as the new name is null" + ) + } + + val sourceFile = getFile(documentId!!) + val sourceParentFile = sourceFile.parentFile + ?: throw FileNotFoundException( + "Couldn't rename document '$documentId' as it has no parent" + ) + val destFile = sourceParentFile.resolve(displayName) + + try { + if (!sourceFile.renameTo(destFile)) { + throw FileNotFoundException( + "Couldn't rename document from '${sourceFile.name}' to '${destFile.name}'" + ) + } + } catch (e: Exception) { + throw FileNotFoundException( + "Couldn't rename document from '${sourceFile.name}' to '${destFile.name}': " + + "${e.message}" + ) + } + + return getDocumentId(destFile) + } + + private fun copyDocument( + sourceDocumentId: String, + sourceParentDocumentId: String, + targetParentDocumentId: String? + ): String { + if (!isChildDocument(sourceParentDocumentId, sourceDocumentId)) { + throw FileNotFoundException( + "Couldn't copy document '$sourceDocumentId' as its parent is not " + + "'$sourceParentDocumentId'" + ) + } + + return copyDocument(sourceDocumentId, targetParentDocumentId) + } + + override fun copyDocument(sourceDocumentId: String, targetParentDocumentId: String?): String { + val parent = getFile(targetParentDocumentId!!) + val oldFile = getFile(sourceDocumentId) + val newFile = parent.resolveWithoutConflict(oldFile.name) + + try { + if (!( + newFile.createNewFile() && newFile.setWritable(true) && + newFile.setReadable(true) + ) + ) { + throw IOException("Couldn't create new file") + } + + FileInputStream(oldFile).use { inStream -> + FileOutputStream(newFile).use { outStream -> + inStream.copyTo(outStream) + } + } + } catch (e: IOException) { + throw FileNotFoundException("Couldn't copy document '$sourceDocumentId': ${e.message}") + } + + return getDocumentId(newFile) + } + + override fun moveDocument( + sourceDocumentId: String, + sourceParentDocumentId: String?, + targetParentDocumentId: String? + ): String { + try { + val newDocumentId = copyDocument( + sourceDocumentId, + sourceParentDocumentId!!, + targetParentDocumentId + ) + removeDocument(sourceDocumentId, sourceParentDocumentId) + return newDocumentId + } catch (e: FileNotFoundException) { + throw FileNotFoundException("Couldn't move document '$sourceDocumentId'") + } + } + + private fun includeFile(cursor: MatrixCursor, documentId: String?, file: File?): MatrixCursor { + val localDocumentId = documentId ?: file?.let { getDocumentId(it) } + val localFile = file ?: getFile(documentId!!) + + var flags = 0 + if (localFile.isDirectory && localFile.canWrite()) { + flags = DocumentsContract.Document.FLAG_DIR_SUPPORTS_CREATE + } else if (localFile.canWrite()) { + flags = DocumentsContract.Document.FLAG_SUPPORTS_WRITE + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_DELETE + + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_REMOVE + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_MOVE + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_COPY + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_RENAME + } + + cursor.newRow().apply { + add(DocumentsContract.Document.COLUMN_DOCUMENT_ID, localDocumentId) + add( + DocumentsContract.Document.COLUMN_DISPLAY_NAME, + if (localFile == baseDirectory) { + context!!.getString(R.string.app_name) + } else { + localFile.name + } + ) + add(DocumentsContract.Document.COLUMN_SIZE, localFile.length()) + add(DocumentsContract.Document.COLUMN_MIME_TYPE, getTypeForFile(localFile)) + add(DocumentsContract.Document.COLUMN_LAST_MODIFIED, localFile.lastModified()) + add(DocumentsContract.Document.COLUMN_FLAGS, flags) + if (localFile == baseDirectory) { + add(DocumentsContract.Root.COLUMN_ICON, R.drawable.ic_yuzu) + } + } + + return cursor + } + + private fun getTypeForFile(file: File): Any { + return if (file.isDirectory) { + DocumentsContract.Document.MIME_TYPE_DIR + } else { + getTypeForName(file.name) + } + } + + private fun getTypeForName(name: String): Any { + val lastDot = name.lastIndexOf('.') + if (lastDot >= 0) { + val extension = name.substring(lastDot + 1) + val mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension) + if (mime != null) { + return mime + } + } + return "application/octect-stream" + } + + override fun queryChildDocuments( + parentDocumentId: String?, + projection: Array?, + sortOrder: String? + ): Cursor { + var cursor = MatrixCursor(projection ?: DEFAULT_DOCUMENT_PROJECTION) + + val parent = getFile(parentDocumentId!!) + for (file in parent.listFiles()!!) + cursor = includeFile(cursor, null, file) + + return cursor + } + + override fun openDocument( + documentId: String?, + mode: String?, + signal: CancellationSignal? + ): ParcelFileDescriptor { + val file = documentId?.let { getFile(it) } + val accessMode = ParcelFileDescriptor.parseMode(mode) + return ParcelFileDescriptor.open(file, accessMode) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt new file mode 100644 index 000000000..a6e9833ee --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +interface AbstractBooleanSetting : AbstractSetting { + var boolean: Boolean +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt new file mode 100644 index 000000000..6fe4bc263 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +interface AbstractFloatSetting : AbstractSetting { + var float: Float +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt new file mode 100644 index 000000000..892b7dcfe --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +interface AbstractIntSetting : AbstractSetting { + var int: Int +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt new file mode 100644 index 000000000..258580209 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +interface AbstractSetting { + val key: String? + val section: String? + val isRuntimeEditable: Boolean + val valueAsString: String + val defaultValue: Any +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt new file mode 100644 index 000000000..0d02c5997 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +interface AbstractStringSetting : AbstractSetting { + var string: String +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt new file mode 100644 index 000000000..d41933766 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +enum class BooleanSetting( + override val key: String, + override val section: String, + override val defaultValue: Boolean +) : AbstractBooleanSetting { + CPU_DEBUG_MODE("cpu_debug_mode", Settings.SECTION_CPU, false), + FASTMEM("cpuopt_fastmem", Settings.SECTION_CPU, true), + FASTMEM_EXCLUSIVES("cpuopt_fastmem_exclusives", Settings.SECTION_CPU, true), + PICTURE_IN_PICTURE("picture_in_picture", Settings.SECTION_GENERAL, true), + USE_CUSTOM_RTC("custom_rtc_enabled", Settings.SECTION_SYSTEM, false); + + override var boolean: Boolean = defaultValue + + override val valueAsString: String + get() = boolean.toString() + + override val isRuntimeEditable: Boolean + get() { + for (setting in NOT_RUNTIME_EDITABLE) { + if (setting == this) { + return false + } + } + return true + } + + companion object { + private val NOT_RUNTIME_EDITABLE = listOf( + PICTURE_IN_PICTURE, + USE_CUSTOM_RTC + ) + + fun from(key: String): BooleanSetting? = + BooleanSetting.values().firstOrNull { it.key == key } + + fun clear() = BooleanSetting.values().forEach { it.boolean = it.defaultValue } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt new file mode 100644 index 000000000..e5545a916 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +enum class FloatSetting( + override val key: String, + override val section: String, + override val defaultValue: Float +) : AbstractFloatSetting { + // No float settings currently exist + EMPTY_SETTING("", "", 0f); + + override var float: Float = defaultValue + + override val valueAsString: String + get() = float.toString() + + override val isRuntimeEditable: Boolean + get() { + for (setting in NOT_RUNTIME_EDITABLE) { + if (setting == this) { + return false + } + } + return true + } + + companion object { + private val NOT_RUNTIME_EDITABLE = emptyList() + + fun from(key: String): FloatSetting? = FloatSetting.values().firstOrNull { it.key == key } + + fun clear() = FloatSetting.values().forEach { it.float = it.defaultValue } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt new file mode 100644 index 000000000..4427a7d9d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt @@ -0,0 +1,141 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +enum class IntSetting( + override val key: String, + override val section: String, + override val defaultValue: Int +) : AbstractIntSetting { + RENDERER_USE_SPEED_LIMIT( + "use_speed_limit", + Settings.SECTION_RENDERER, + 1 + ), + USE_DOCKED_MODE( + "use_docked_mode", + Settings.SECTION_SYSTEM, + 0 + ), + RENDERER_USE_DISK_SHADER_CACHE( + "use_disk_shader_cache", + Settings.SECTION_RENDERER, + 1 + ), + RENDERER_FORCE_MAX_CLOCK( + "force_max_clock", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_ASYNCHRONOUS_SHADERS( + "use_asynchronous_shaders", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_REACTIVE_FLUSHING( + "use_reactive_flushing", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_DEBUG( + "debug", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_SPEED_LIMIT( + "speed_limit", + Settings.SECTION_RENDERER, + 100 + ), + CPU_ACCURACY( + "cpu_accuracy", + Settings.SECTION_CPU, + 0 + ), + REGION_INDEX( + "region_index", + Settings.SECTION_SYSTEM, + -1 + ), + LANGUAGE_INDEX( + "language_index", + Settings.SECTION_SYSTEM, + 1 + ), + RENDERER_BACKEND( + "backend", + Settings.SECTION_RENDERER, + 1 + ), + RENDERER_ACCURACY( + "gpu_accuracy", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_RESOLUTION( + "resolution_setup", + Settings.SECTION_RENDERER, + 2 + ), + RENDERER_VSYNC( + "use_vsync", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_SCALING_FILTER( + "scaling_filter", + Settings.SECTION_RENDERER, + 1 + ), + RENDERER_ANTI_ALIASING( + "anti_aliasing", + Settings.SECTION_RENDERER, + 0 + ), + RENDERER_SCREEN_LAYOUT( + "screen_layout", + Settings.SECTION_RENDERER, + Settings.LayoutOption_MobileLandscape + ), + RENDERER_ASPECT_RATIO( + "aspect_ratio", + Settings.SECTION_RENDERER, + 0 + ), + AUDIO_VOLUME( + "volume", + Settings.SECTION_AUDIO, + 100 + ); + + override var int: Int = defaultValue + + override val valueAsString: String + get() = int.toString() + + override val isRuntimeEditable: Boolean + get() { + for (setting in NOT_RUNTIME_EDITABLE) { + if (setting == this) { + return false + } + } + return true + } + + companion object { + private val NOT_RUNTIME_EDITABLE = listOf( + RENDERER_USE_DISK_SHADER_CACHE, + RENDERER_ASYNCHRONOUS_SHADERS, + RENDERER_DEBUG, + RENDERER_BACKEND, + RENDERER_RESOLUTION, + RENDERER_VSYNC + ) + + fun from(key: String): IntSetting? = IntSetting.values().firstOrNull { it.key == key } + + fun clear() = IntSetting.values().forEach { it.int = it.defaultValue } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt new file mode 100644 index 000000000..474f598a9 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +/** + * A semantically-related group of Settings objects. These Settings are + * internally stored as a HashMap. + */ +class SettingSection(val name: String) { + val settings = HashMap() + + /** + * Convenience method; inserts a value directly into the backing HashMap. + * + * @param setting The Setting to be inserted. + */ + fun putSetting(setting: AbstractSetting) { + settings[setting.key!!] = setting + } + + /** + * Convenience method; gets a value directly from the backing HashMap. + * + * @param key Used to retrieve the Setting. + * @return A Setting object (you should probably cast this before using) + */ + fun getSetting(key: String): AbstractSetting? { + return settings[key] + } + + fun mergeSection(settingSection: SettingSection) { + for (setting in settingSection.settings.values) { + putSetting(setting) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt new file mode 100644 index 000000000..88afb2223 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt @@ -0,0 +1,161 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import android.text.TextUtils +import java.util.* +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivityView +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile + +class Settings { + private var gameId: String? = null + + var isLoaded = false + + /** + * A HashMap, SettingSection> that constructs a new SettingSection instead of returning null + * when getting a key not already in the map + */ + class SettingsSectionMap : HashMap() { + override operator fun get(key: String): SettingSection? { + if (!super.containsKey(key)) { + val section = SettingSection(key) + super.put(key, section) + return section + } + return super.get(key) + } + } + + var sections: HashMap = SettingsSectionMap() + + fun getSection(sectionName: String): SettingSection? { + return sections[sectionName] + } + + val isEmpty: Boolean + get() = sections.isEmpty() + + fun loadSettings(view: SettingsActivityView? = null) { + sections = SettingsSectionMap() + loadYuzuSettings(view) + if (!TextUtils.isEmpty(gameId)) { + loadCustomGameSettings(gameId!!, view) + } + isLoaded = true + } + + private fun loadYuzuSettings(view: SettingsActivityView?) { + for ((fileName) in configFileSectionsMap) { + sections.putAll(SettingsFile.readFile(fileName, view)) + } + } + + private fun loadCustomGameSettings(gameId: String, view: SettingsActivityView?) { + // Custom game settings + mergeSections(SettingsFile.readCustomGameSettings(gameId, view)) + } + + private fun mergeSections(updatedSections: HashMap) { + for ((key, updatedSection) in updatedSections) { + if (sections.containsKey(key)) { + val originalSection = sections[key] + originalSection!!.mergeSection(updatedSection!!) + } else { + sections[key] = updatedSection + } + } + } + + fun loadSettings(gameId: String, view: SettingsActivityView) { + this.gameId = gameId + loadSettings(view) + } + + fun saveSettings(view: SettingsActivityView) { + if (TextUtils.isEmpty(gameId)) { + view.showToastMessage( + YuzuApplication.appContext.getString(R.string.ini_saved), + false + ) + + for ((fileName, sectionNames) in configFileSectionsMap) { + val iniSections = TreeMap() + for (section in sectionNames) { + iniSections[section] = sections[section]!! + } + + SettingsFile.saveFile(fileName, iniSections, view) + } + } else { + // Custom game settings + view.showToastMessage( + YuzuApplication.appContext.getString(R.string.gameid_saved, gameId), + false + ) + + SettingsFile.saveCustomGameSettings(gameId, sections) + } + } + + companion object { + const val SECTION_GENERAL = "General" + const val SECTION_SYSTEM = "System" + const val SECTION_RENDERER = "Renderer" + const val SECTION_AUDIO = "Audio" + const val SECTION_CPU = "Cpu" + const val SECTION_THEME = "Theme" + const val SECTION_DEBUG = "Debug" + + const val PREF_OVERLAY_INIT = "OverlayInit" + const val PREF_CONTROL_SCALE = "controlScale" + const val PREF_CONTROL_OPACITY = "controlOpacity" + const val PREF_TOUCH_ENABLED = "isTouchEnabled" + const val PREF_BUTTON_TOGGLE_0 = "buttonToggle0" + const val PREF_BUTTON_TOGGLE_1 = "buttonToggle1" + const val PREF_BUTTON_TOGGLE_2 = "buttonToggle2" + const val PREF_BUTTON_TOGGLE_3 = "buttonToggle3" + const val PREF_BUTTON_TOGGLE_4 = "buttonToggle4" + const val PREF_BUTTON_TOGGLE_5 = "buttonToggle5" + const val PREF_BUTTON_TOGGLE_6 = "buttonToggle6" + const val PREF_BUTTON_TOGGLE_7 = "buttonToggle7" + const val PREF_BUTTON_TOGGLE_8 = "buttonToggle8" + const val PREF_BUTTON_TOGGLE_9 = "buttonToggle9" + const val PREF_BUTTON_TOGGLE_10 = "buttonToggle10" + const val PREF_BUTTON_TOGGLE_11 = "buttonToggle11" + const val PREF_BUTTON_TOGGLE_12 = "buttonToggle12" + const val PREF_BUTTON_TOGGLE_13 = "buttonToggle13" + const val PREF_BUTTON_TOGGLE_14 = "buttonToggle14" + + const val PREF_MENU_SETTINGS_JOYSTICK_REL_CENTER = "EmulationMenuSettings_JoystickRelCenter" + const val PREF_MENU_SETTINGS_DPAD_SLIDE = "EmulationMenuSettings_DpadSlideEnable" + const val PREF_MENU_SETTINGS_HAPTICS = "EmulationMenuSettings_Haptics" + const val PREF_MENU_SETTINGS_SHOW_FPS = "EmulationMenuSettings_ShowFps" + const val PREF_MENU_SETTINGS_SHOW_OVERLAY = "EmulationMenuSettings_ShowOverlay" + + const val PREF_FIRST_APP_LAUNCH = "FirstApplicationLaunch" + const val PREF_THEME = "Theme" + const val PREF_THEME_MODE = "ThemeMode" + const val PREF_BLACK_BACKGROUNDS = "BlackBackgrounds" + + private val configFileSectionsMap: MutableMap> = HashMap() + + const val LayoutOption_Unspecified = 0 + const val LayoutOption_MobilePortrait = 4 + const val LayoutOption_MobileLandscape = 5 + + init { + configFileSectionsMap[SettingsFile.FILE_NAME_CONFIG] = + listOf( + SECTION_GENERAL, + SECTION_SYSTEM, + SECTION_RENDERER, + SECTION_AUDIO, + SECTION_CPU + ) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt new file mode 100644 index 000000000..bd9233d62 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import androidx.lifecycle.ViewModel + +class SettingsViewModel : ViewModel() { + val settings = Settings() +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt new file mode 100644 index 000000000..6621289fd --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +enum class StringSetting( + override val key: String, + override val section: String, + override val defaultValue: String +) : AbstractStringSetting { + AUDIO_OUTPUT_ENGINE("output_engine", Settings.SECTION_AUDIO, "auto"), + CUSTOM_RTC("custom_rtc", Settings.SECTION_SYSTEM, "0"); + + override var string: String = defaultValue + + override val valueAsString: String + get() = string + + override val isRuntimeEditable: Boolean + get() { + for (setting in NOT_RUNTIME_EDITABLE) { + if (setting == this) { + return false + } + } + return true + } + + companion object { + private val NOT_RUNTIME_EDITABLE = listOf( + CUSTOM_RTC + ) + + fun from(key: String): StringSetting? = StringSetting.values().firstOrNull { it.key == key } + + fun clear() = StringSetting.values().forEach { it.string = it.defaultValue } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt new file mode 100644 index 000000000..bc0bf7788 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting + +class DateTimeSetting( + setting: AbstractSetting?, + titleId: Int, + descriptionId: Int, + val key: String? = null, + private val defaultValue: String? = null +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_DATETIME_SETTING + + val value: String + get() = if (setting != null) { + val setting = setting as AbstractStringSetting + setting.string + } else { + defaultValue!! + } + + fun setSelectedValue(datetime: String): AbstractStringSetting { + val stringSetting = setting as AbstractStringSetting + stringSetting.string = datetime + return stringSetting + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt new file mode 100644 index 000000000..a67001311 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +class HeaderSetting( + titleId: Int +) : SettingsItem(null, titleId, 0) { + override val type = TYPE_HEADER +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt new file mode 100644 index 000000000..caaab50d8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt @@ -0,0 +1,13 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +class RunnableSetting( + titleId: Int, + descriptionId: Int, + val isRuntimeRunnable: Boolean, + val runnable: () -> Unit +) : SettingsItem(null, titleId, descriptionId) { + override val type = TYPE_RUNNABLE +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt new file mode 100644 index 000000000..07520849e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting + +/** + * ViewModel abstraction for an Item in the RecyclerView powering SettingsFragments. + * Each one corresponds to a [AbstractSetting] object, so this class's subclasses + * should vaguely correspond to those subclasses. There are a few with multiple analogues + * and a few with none (Headers, for example, do not correspond to anything in the ini + * file.) + */ +abstract class SettingsItem( + var setting: AbstractSetting?, + val nameId: Int, + val descriptionId: Int +) { + abstract val type: Int + + val isEditable: Boolean + get() { + if (!NativeLibrary.isRunning()) return true + return setting?.isRuntimeEditable ?: false + } + + companion object { + const val TYPE_HEADER = 0 + const val TYPE_SWITCH = 1 + const val TYPE_SINGLE_CHOICE = 2 + const val TYPE_SLIDER = 3 + const val TYPE_SUBMENU = 4 + const val TYPE_STRING_SINGLE_CHOICE = 5 + const val TYPE_DATETIME_SETTING = 6 + const val TYPE_RUNNABLE = 7 + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt new file mode 100644 index 000000000..7306ec458 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting + +class SingleChoiceSetting( + setting: AbstractIntSetting?, + titleId: Int, + descriptionId: Int, + val choicesId: Int, + val valuesId: Int, + val key: String? = null, + val defaultValue: Int? = null +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SINGLE_CHOICE + + val selectedValue: Int + get() = if (setting != null) { + val setting = setting as AbstractIntSetting + setting.int + } else { + defaultValue!! + } + + /** + * Write a value to the backing int. If that int was previously null, + * initializes a new one and returns it, so it can be added to the Hashmap. + * + * @param selection New value of the int. + * @return the existing setting with the new value applied. + */ + fun setSelectedValue(selection: Int): AbstractIntSetting { + val intSetting = setting as AbstractIntSetting + intSetting.int = selection + return intSetting + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt new file mode 100644 index 000000000..92d0167ae --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import kotlin.math.roundToInt +import org.yuzu.yuzu_emu.features.settings.model.AbstractFloatSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.utils.Log + +class SliderSetting( + setting: AbstractSetting?, + titleId: Int, + descriptionId: Int, + val min: Int, + val max: Int, + val units: String, + val key: String? = null, + val defaultValue: Int? = null +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SLIDER + + val selectedValue: Int + get() { + val setting = setting ?: return defaultValue!! + return when (setting) { + is AbstractIntSetting -> setting.int + is AbstractFloatSetting -> setting.float.roundToInt() + else -> { + Log.error("[SliderSetting] Error casting setting type.") + -1 + } + } + } + + /** + * Write a value to the backing int. If that int was previously null, + * initializes a new one and returns it, so it can be added to the Hashmap. + * + * @param selection New value of the int. + * @return the existing setting with the new value applied. + */ + fun setSelectedValue(selection: Int): AbstractIntSetting { + val intSetting = setting as AbstractIntSetting + intSetting.int = selection + return intSetting + } + + /** + * Write a value to the backing float. If that float was previously null, + * initializes a new one and returns it, so it can be added to the Hashmap. + * + * @param selection New value of the float. + * @return the existing setting with the new value applied. + */ + fun setSelectedValue(selection: Float): AbstractFloatSetting { + val floatSetting = setting as AbstractFloatSetting + floatSetting.float = selection + return floatSetting + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt new file mode 100644 index 000000000..3b6731dcd --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting + +class StringSingleChoiceSetting( + setting: AbstractSetting?, + titleId: Int, + descriptionId: Int, + val choices: Array, + val values: Array?, + val key: String? = null, + private val defaultValue: String? = null +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_STRING_SINGLE_CHOICE + + fun getValueAt(index: Int): String? { + if (values == null) return null + return if (index >= 0 && index < values.size) { + values[index] + } else { + "" + } + } + + val selectedValue: String + get() = if (setting != null) { + val setting = setting as AbstractStringSetting + setting.string + } else { + defaultValue!! + } + val selectValueIndex: Int + get() { + val selectedValue = selectedValue + for (i in values!!.indices) { + if (values[i] == selectedValue) { + return i + } + } + return -1 + } + + /** + * Write a value to the backing int. If that int was previously null, + * initializes a new one and returns it, so it can be added to the Hashmap. + * + * @param selection New value of the int. + * @return the existing setting with the new value applied. + */ + fun setSelectedValue(selection: String): AbstractStringSetting { + val stringSetting = setting as AbstractStringSetting + stringSetting.string = selection + return stringSetting + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt new file mode 100644 index 000000000..8a9d13a92 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +class SubmenuSetting( + titleId: Int, + descriptionId: Int, + val menuKey: String +) : SettingsItem(null, titleId, descriptionId) { + override val type = TYPE_SUBMENU +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt new file mode 100644 index 000000000..90b198718 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting + +class SwitchSetting( + setting: AbstractSetting, + titleId: Int, + descriptionId: Int, + val key: String? = null, + val defaultValue: Any? = null +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SWITCH + + val isChecked: Boolean + get() { + if (setting == null) { + return defaultValue as Boolean + } + + // Try integer setting + try { + val setting = setting as AbstractIntSetting + return setting.int == 1 + } catch (_: ClassCastException) { + } + + // Try boolean setting + try { + val setting = setting as AbstractBooleanSetting + return setting.boolean + } catch (_: ClassCastException) { + } + return defaultValue as Boolean + } + + /** + * Write a value to the backing boolean. If that boolean was previously null, + * initializes a new one and returns it, so it can be added to the Hashmap. + * + * @param checked Pretty self explanatory. + * @return the existing setting with the new value applied. + */ + fun setChecked(checked: Boolean): AbstractSetting { + // Try integer setting + try { + val setting = setting as AbstractIntSetting + setting.int = if (checked) 1 else 0 + return setting + } catch (_: ClassCastException) { + } + + // Try boolean setting + val setting = setting as AbstractBooleanSetting + setting.boolean = checked + return setting + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt new file mode 100644 index 000000000..a5af5a7ae --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt @@ -0,0 +1,262 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.content.Context +import android.content.Intent +import android.os.Bundle +import android.view.Menu +import android.view.View +import android.view.ViewGroup.MarginLayoutParams +import android.widget.Toast +import androidx.activity.OnBackPressedCallback +import androidx.activity.result.ActivityResultLauncher +import androidx.activity.viewModels +import androidx.appcompat.app.AppCompatActivity +import androidx.core.view.ViewCompat +import androidx.core.view.WindowCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import com.google.android.material.color.MaterialColors +import java.io.IOException +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding +import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.FloatSetting +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel +import org.yuzu.yuzu_emu.features.settings.model.StringSetting +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.utils.* + +class SettingsActivity : AppCompatActivity(), SettingsActivityView { + private val presenter = SettingsActivityPresenter(this) + + private lateinit var binding: ActivitySettingsBinding + + private val settingsViewModel: SettingsViewModel by viewModels() + + override val settings: Settings get() = settingsViewModel.settings + + override fun onCreate(savedInstanceState: Bundle?) { + ThemeHelper.setTheme(this) + + super.onCreate(savedInstanceState) + + binding = ActivitySettingsBinding.inflate(layoutInflater) + setContentView(binding.root) + + WindowCompat.setDecorFitsSystemWindows(window, false) + + val launcher = intent + val gameID = launcher.getStringExtra(ARG_GAME_ID) + val menuTag = launcher.getStringExtra(ARG_MENU_TAG) + presenter.onCreate(savedInstanceState, menuTag!!, gameID!!) + + // Show "Back" button in the action bar for navigation + setSupportActionBar(binding.toolbarSettings) + supportActionBar!!.setDisplayHomeAsUpEnabled(true) + + if (InsetsHelper.getSystemGestureType(applicationContext) != + InsetsHelper.GESTURE_NAVIGATION + ) { + binding.navigationBarShade.setBackgroundColor( + ThemeHelper.getColorWithOpacity( + MaterialColors.getColor( + binding.navigationBarShade, + com.google.android.material.R.attr.colorSurface + ), + ThemeHelper.SYSTEM_BAR_ALPHA + ) + ) + } + + onBackPressedDispatcher.addCallback( + this, + object : OnBackPressedCallback(true) { + override fun handleOnBackPressed() = navigateBack() + } + ) + + setInsets() + } + + override fun onSupportNavigateUp(): Boolean { + navigateBack() + return true + } + + private fun navigateBack() { + if (supportFragmentManager.backStackEntryCount > 0) { + supportFragmentManager.popBackStack() + } else { + finish() + } + } + + override fun onCreateOptionsMenu(menu: Menu): Boolean { + val inflater = menuInflater + inflater.inflate(R.menu.menu_settings, menu) + return true + } + + override fun onSaveInstanceState(outState: Bundle) { + // Critical: If super method is not called, rotations will be busted. + super.onSaveInstanceState(outState) + presenter.saveState(outState) + } + + override fun onStart() { + super.onStart() + presenter.onStart() + } + + /** + * If this is called, the user has left the settings screen (potentially through the + * home button) and will expect their changes to be persisted. So we kick off an + * IntentService which will do so on a background thread. + */ + override fun onStop() { + super.onStop() + presenter.onStop(isFinishing) + } + + override fun showSettingsFragment(menuTag: String, addToStack: Boolean, gameId: String) { + if (!addToStack && settingsFragment != null) { + return + } + + val transaction = supportFragmentManager.beginTransaction() + if (addToStack) { + if (areSystemAnimationsEnabled()) { + transaction.setCustomAnimations( + R.anim.anim_settings_fragment_in, + R.anim.anim_settings_fragment_out, + 0, + R.anim.anim_pop_settings_fragment_out + ) + } + transaction.addToBackStack(null) + } + transaction.replace( + R.id.frame_content, + SettingsFragment.newInstance(menuTag, gameId), + FRAGMENT_TAG + ) + transaction.commit() + } + + private fun areSystemAnimationsEnabled(): Boolean { + val duration = android.provider.Settings.Global.getFloat( + contentResolver, + android.provider.Settings.Global.ANIMATOR_DURATION_SCALE, + 1f + ) + val transition = android.provider.Settings.Global.getFloat( + contentResolver, + android.provider.Settings.Global.TRANSITION_ANIMATION_SCALE, + 1f + ) + return duration != 0f && transition != 0f + } + + override fun onSettingsFileLoaded() { + val fragment: SettingsFragmentView? = settingsFragment + fragment?.loadSettingsList() + } + + override fun onSettingsFileNotFound() { + val fragment: SettingsFragmentView? = settingsFragment + fragment?.loadSettingsList() + } + + override fun showToastMessage(message: String, is_long: Boolean) { + Toast.makeText( + this, + message, + if (is_long) Toast.LENGTH_LONG else Toast.LENGTH_SHORT + ).show() + } + + override fun onSettingChanged() { + presenter.onSettingChanged() + } + + fun onSettingsReset() { + // Prevents saving to a non-existent settings file + presenter.onSettingsReset() + + // Reset the static memory representation of each setting + BooleanSetting.clear() + FloatSetting.clear() + IntSetting.clear() + StringSetting.clear() + + // Delete settings file because the user may have changed values that do not exist in the UI + val settingsFile = SettingsFile.getSettingsFile(SettingsFile.FILE_NAME_CONFIG) + if (!settingsFile.delete()) { + throw IOException("Failed to delete $settingsFile") + } + + showToastMessage(getString(R.string.settings_reset), true) + finish() + } + + fun setToolbarTitle(title: String) { + binding.toolbarSettingsLayout.title = title + } + + private val settingsFragment: SettingsFragment? + get() = supportFragmentManager.findFragmentByTag(FRAGMENT_TAG) as SettingsFragment? + + private fun setInsets() { + ViewCompat.setOnApplyWindowInsetsListener( + binding.frameContent + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + view.updatePadding( + left = barInsets.left + cutoutInsets.left, + right = barInsets.right + cutoutInsets.right + ) + + val mlpAppBar = binding.appbarSettings.layoutParams as MarginLayoutParams + mlpAppBar.leftMargin = barInsets.left + cutoutInsets.left + mlpAppBar.rightMargin = barInsets.right + cutoutInsets.right + binding.appbarSettings.layoutParams = mlpAppBar + + val mlpShade = binding.navigationBarShade.layoutParams as MarginLayoutParams + mlpShade.height = barInsets.bottom + binding.navigationBarShade.layoutParams = mlpShade + + windowInsets + } + } + + companion object { + private const val ARG_MENU_TAG = "menu_tag" + private const val ARG_GAME_ID = "game_id" + private const val FRAGMENT_TAG = "settings" + + fun launch(context: Context, menuTag: String?, gameId: String?) { + val settings = Intent(context, SettingsActivity::class.java) + settings.putExtra(ARG_MENU_TAG, menuTag) + settings.putExtra(ARG_GAME_ID, gameId) + context.startActivity(settings) + } + + fun launch( + context: Context, + launcher: ActivityResultLauncher, + menuTag: String?, + gameId: String? + ) { + val settings = Intent(context, SettingsActivity::class.java) + settings.putExtra(ARG_MENU_TAG, menuTag) + settings.putExtra(ARG_GAME_ID, gameId) + launcher.launch(settings) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt new file mode 100644 index 000000000..93e677b21 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.content.Context +import android.os.Bundle +import android.text.TextUtils +import java.io.File +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.Log + +class SettingsActivityPresenter(private val activityView: SettingsActivityView) { + val settings: Settings get() = activityView.settings + + private var shouldSave = false + private lateinit var menuTag: String + private lateinit var gameId: String + + fun onCreate(savedInstanceState: Bundle?, menuTag: String, gameId: String) { + this.menuTag = menuTag + this.gameId = gameId + if (savedInstanceState != null) { + shouldSave = savedInstanceState.getBoolean(KEY_SHOULD_SAVE) + } + } + + fun onStart() { + prepareDirectoriesIfNeeded() + } + + private fun loadSettingsUI() { + if (!settings.isLoaded) { + if (!TextUtils.isEmpty(gameId)) { + settings.loadSettings(gameId, activityView) + } else { + settings.loadSettings(activityView) + } + } + activityView.showSettingsFragment(menuTag, false, gameId) + activityView.onSettingsFileLoaded() + } + + private fun prepareDirectoriesIfNeeded() { + val configFile = + File( + "${DirectoryInitialization.userDirectory}/config/" + + "${SettingsFile.FILE_NAME_CONFIG}.ini" + ) + if (!configFile.exists()) { + Log.error( + "${DirectoryInitialization.userDirectory}/config/" + + "${SettingsFile.FILE_NAME_CONFIG}.ini" + ) + Log.error("yuzu config file could not be found!") + } + + if (!DirectoryInitialization.areDirectoriesReady) { + DirectoryInitialization.start(activityView as Context) + } + loadSettingsUI() + } + + fun onStop(finishing: Boolean) { + if (finishing && shouldSave) { + Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...") + settings.saveSettings(activityView) + } + NativeLibrary.reloadSettings() + } + + fun onSettingChanged() { + shouldSave = true + } + + fun onSettingsReset() { + shouldSave = false + } + + fun saveState(outState: Bundle) { + outState.putBoolean(KEY_SHOULD_SAVE, shouldSave) + } + + companion object { + private const val KEY_SHOULD_SAVE = "should_save" + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt new file mode 100644 index 000000000..c186fc388 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import org.yuzu.yuzu_emu.features.settings.model.Settings + +/** + * Abstraction for the Activity that manages SettingsFragments. + */ +interface SettingsActivityView { + /** + * Show a new SettingsFragment. + * + * @param menuTag Identifier for the settings group that should be displayed. + * @param addToStack Whether or not this fragment should replace a previous one. + */ + fun showSettingsFragment(menuTag: String, addToStack: Boolean, gameId: String) + + /** + * Called by a contained Fragment to get access to the Setting HashMap + * loaded from disk, so that each Fragment doesn't need to perform its own + * read operation. + * + * @return A HashMap of Settings. + */ + val settings: Settings + + /** + * Called when a load operation completes. + */ + fun onSettingsFileLoaded() + + /** + * Called when a load operation fails. + */ + fun onSettingsFileNotFound() + + /** + * Display a popup text message on screen. + * + * @param message The contents of the onscreen message. + * @param is_long Whether this should be a long Toast or short one. + */ + fun showToastMessage(message: String, is_long: Boolean) + + /** + * End the activity. + */ + fun finish() + + /** + * Called by a containing Fragment to tell the Activity that a setting was changed; + * unless this has been called, the Activity will not save to disk. + */ + fun onSettingChanged() +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt new file mode 100644 index 000000000..ce0b92c90 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt @@ -0,0 +1,339 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.content.Context +import android.content.DialogInterface +import android.icu.util.Calendar +import android.icu.util.TimeZone +import android.text.format.DateFormat +import android.view.LayoutInflater +import android.view.ViewGroup +import android.widget.TextView +import androidx.appcompat.app.AlertDialog +import androidx.appcompat.app.AppCompatActivity +import androidx.recyclerview.widget.RecyclerView +import com.google.android.material.datepicker.MaterialDatePicker +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.google.android.material.slider.Slider +import com.google.android.material.timepicker.MaterialTimePicker +import com.google.android.material.timepicker.TimeFormat +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.DialogSliderBinding +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.databinding.ListItemSettingSwitchBinding +import org.yuzu.yuzu_emu.databinding.ListItemSettingsHeaderBinding +import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractFloatSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting +import org.yuzu.yuzu_emu.features.settings.model.FloatSetting +import org.yuzu.yuzu_emu.features.settings.model.view.* +import org.yuzu.yuzu_emu.features.settings.ui.viewholder.* + +class SettingsAdapter( + private val fragmentView: SettingsFragmentView, + private val context: Context +) : RecyclerView.Adapter(), DialogInterface.OnClickListener { + private var settings: ArrayList? = null + private var clickedItem: SettingsItem? = null + private var clickedPosition: Int + private var dialog: AlertDialog? = null + private var sliderProgress = 0 + private var textSliderValue: TextView? = null + + private var defaultCancelListener = + DialogInterface.OnClickListener { _: DialogInterface?, _: Int -> closeDialog() } + + init { + clickedPosition = -1 + } + + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SettingViewHolder { + val inflater = LayoutInflater.from(parent.context) + return when (viewType) { + SettingsItem.TYPE_HEADER -> { + HeaderViewHolder(ListItemSettingsHeaderBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_SWITCH -> { + SwitchSettingViewHolder(ListItemSettingSwitchBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_SINGLE_CHOICE, SettingsItem.TYPE_STRING_SINGLE_CHOICE -> { + SingleChoiceViewHolder(ListItemSettingBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_SLIDER -> { + SliderViewHolder(ListItemSettingBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_SUBMENU -> { + SubmenuViewHolder(ListItemSettingBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_DATETIME_SETTING -> { + DateTimeViewHolder(ListItemSettingBinding.inflate(inflater), this) + } + + SettingsItem.TYPE_RUNNABLE -> { + RunnableViewHolder(ListItemSettingBinding.inflate(inflater), this) + } + + else -> { + // TODO: Create an error view since we can't return null now + HeaderViewHolder(ListItemSettingsHeaderBinding.inflate(inflater), this) + } + } + } + + override fun onBindViewHolder(holder: SettingViewHolder, position: Int) { + holder.bind(getItem(position)) + } + + private fun getItem(position: Int): SettingsItem { + return settings!![position] + } + + override fun getItemCount(): Int { + return if (settings != null) { + settings!!.size + } else { + 0 + } + } + + override fun getItemViewType(position: Int): Int { + return getItem(position).type + } + + fun setSettingsList(settings: ArrayList?) { + this.settings = settings + notifyDataSetChanged() + } + + fun onBooleanClick(item: SwitchSetting, position: Int, checked: Boolean) { + val setting = item.setChecked(checked) + fragmentView.putSetting(setting) + fragmentView.onSettingChanged() + } + + private fun onSingleChoiceClick(item: SingleChoiceSetting) { + clickedItem = item + val value = getSelectionForSingleChoiceValue(item) + dialog = MaterialAlertDialogBuilder(context) + .setTitle(item.nameId) + .setSingleChoiceItems(item.choicesId, value, this) + .show() + } + + fun onSingleChoiceClick(item: SingleChoiceSetting, position: Int) { + clickedPosition = position + onSingleChoiceClick(item) + } + + private fun onStringSingleChoiceClick(item: StringSingleChoiceSetting) { + clickedItem = item + dialog = MaterialAlertDialogBuilder(context) + .setTitle(item.nameId) + .setSingleChoiceItems(item.choices, item.selectValueIndex, this) + .show() + } + + fun onStringSingleChoiceClick(item: StringSingleChoiceSetting, position: Int) { + clickedPosition = position + onStringSingleChoiceClick(item) + } + + fun onDateTimeClick(item: DateTimeSetting, position: Int) { + clickedItem = item + clickedPosition = position + val storedTime = java.lang.Long.decode(item.value) * 1000 + + // Helper to extract hour and minute from epoch time + val calendar: Calendar = Calendar.getInstance() + calendar.timeInMillis = storedTime + calendar.timeZone = TimeZone.getTimeZone("UTC") + + var timeFormat: Int = TimeFormat.CLOCK_12H + if (DateFormat.is24HourFormat(fragmentView.activityView as AppCompatActivity)) { + timeFormat = TimeFormat.CLOCK_24H + } + + val datePicker: MaterialDatePicker = MaterialDatePicker.Builder.datePicker() + .setSelection(storedTime) + .setTitleText(R.string.select_rtc_date) + .build() + val timePicker: MaterialTimePicker = MaterialTimePicker.Builder() + .setTimeFormat(timeFormat) + .setHour(calendar.get(Calendar.HOUR_OF_DAY)) + .setMinute(calendar.get(Calendar.MINUTE)) + .setTitleText(R.string.select_rtc_time) + .build() + + datePicker.addOnPositiveButtonClickListener { + timePicker.show( + (fragmentView.activityView as AppCompatActivity).supportFragmentManager, + "TimePicker" + ) + } + timePicker.addOnPositiveButtonClickListener { + var epochTime: Long = datePicker.selection!! / 1000 + epochTime += timePicker.hour.toLong() * 60 * 60 + epochTime += timePicker.minute.toLong() * 60 + val rtcString = epochTime.toString() + if (item.value != rtcString) { + fragmentView.onSettingChanged() + } + notifyItemChanged(clickedPosition) + val setting = item.setSelectedValue(rtcString) + fragmentView.putSetting(setting) + clickedItem = null + } + datePicker.show( + (fragmentView.activityView as AppCompatActivity).supportFragmentManager, + "DatePicker" + ) + } + + fun onSliderClick(item: SliderSetting, position: Int) { + clickedItem = item + clickedPosition = position + sliderProgress = item.selectedValue + + val inflater = LayoutInflater.from(context) + val sliderBinding = DialogSliderBinding.inflate(inflater) + + textSliderValue = sliderBinding.textValue + textSliderValue!!.text = sliderProgress.toString() + sliderBinding.textUnits.text = item.units + + sliderBinding.slider.apply { + valueFrom = item.min.toFloat() + valueTo = item.max.toFloat() + value = sliderProgress.toFloat() + addOnChangeListener { _: Slider, value: Float, _: Boolean -> + sliderProgress = value.toInt() + textSliderValue!!.text = sliderProgress.toString() + } + } + + dialog = MaterialAlertDialogBuilder(context) + .setTitle(item.nameId) + .setView(sliderBinding.root) + .setPositiveButton(android.R.string.ok, this) + .setNegativeButton(android.R.string.cancel, defaultCancelListener) + .setNeutralButton(R.string.slider_default) { dialog: DialogInterface, which: Int -> + sliderBinding.slider.value = item.defaultValue!!.toFloat() + onClick(dialog, which) + } + .show() + } + + fun onSubmenuClick(item: SubmenuSetting) { + fragmentView.loadSubMenu(item.menuKey) + } + + override fun onClick(dialog: DialogInterface, which: Int) { + when (clickedItem) { + is SingleChoiceSetting -> { + val scSetting = clickedItem as SingleChoiceSetting + val value = getValueForSingleChoiceSelection(scSetting, which) + if (scSetting.selectedValue != value) { + fragmentView.onSettingChanged() + } + + // Get the backing Setting, which may be null (if for example it was missing from the file) + val setting = scSetting.setSelectedValue(value) + fragmentView.putSetting(setting) + closeDialog() + } + + is StringSingleChoiceSetting -> { + val scSetting = clickedItem as StringSingleChoiceSetting + val value = scSetting.getValueAt(which) + if (scSetting.selectedValue != value) fragmentView.onSettingChanged() + val setting = scSetting.setSelectedValue(value!!) + fragmentView.putSetting(setting) + closeDialog() + } + + is SliderSetting -> { + val sliderSetting = clickedItem as SliderSetting + if (sliderSetting.selectedValue != sliderProgress) { + fragmentView.onSettingChanged() + } + if (sliderSetting.setting is FloatSetting) { + val value = sliderProgress.toFloat() + val setting = sliderSetting.setSelectedValue(value) + fragmentView.putSetting(setting) + } else { + val setting = sliderSetting.setSelectedValue(sliderProgress) + fragmentView.putSetting(setting) + } + closeDialog() + } + } + clickedItem = null + sliderProgress = -1 + } + + fun onLongClick(setting: AbstractSetting, position: Int): Boolean { + MaterialAlertDialogBuilder(context) + .setMessage(R.string.reset_setting_confirmation) + .setPositiveButton(android.R.string.ok) { dialog: DialogInterface, which: Int -> + when (setting) { + is AbstractBooleanSetting -> setting.boolean = setting.defaultValue as Boolean + is AbstractFloatSetting -> setting.float = setting.defaultValue as Float + is AbstractIntSetting -> setting.int = setting.defaultValue as Int + is AbstractStringSetting -> setting.string = setting.defaultValue as String + } + notifyItemChanged(position) + fragmentView.onSettingChanged() + } + .setNegativeButton(android.R.string.cancel, null) + .show() + + return true + } + + fun closeDialog() { + if (dialog != null) { + if (clickedPosition != -1) { + notifyItemChanged(clickedPosition) + clickedPosition = -1 + } + dialog!!.dismiss() + dialog = null + } + } + + private fun getValueForSingleChoiceSelection(item: SingleChoiceSetting, which: Int): Int { + val valuesId = item.valuesId + return if (valuesId > 0) { + val valuesArray = context.resources.getIntArray(valuesId) + valuesArray[which] + } else { + which + } + } + + private fun getSelectionForSingleChoiceValue(item: SingleChoiceSetting): Int { + val value = item.selectedValue + val valuesId = item.valuesId + if (valuesId > 0) { + val valuesArray = context.resources.getIntArray(valuesId) + for (index in valuesArray.indices) { + val current = valuesArray[index] + if (current == value) { + return index + } + } + } else { + return value + } + return -1 + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt new file mode 100644 index 000000000..70a74c4dd --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt @@ -0,0 +1,127 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.content.Context +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.fragment.app.Fragment +import androidx.recyclerview.widget.LinearLayoutManager +import com.google.android.material.divider.MaterialDividerItemDecoration +import org.yuzu.yuzu_emu.databinding.FragmentSettingsBinding +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem + +class SettingsFragment : Fragment(), SettingsFragmentView { + override var activityView: SettingsActivityView? = null + + private val fragmentPresenter = SettingsFragmentPresenter(this) + private var settingsAdapter: SettingsAdapter? = null + + private var _binding: FragmentSettingsBinding? = null + private val binding get() = _binding!! + + override fun onAttach(context: Context) { + super.onAttach(context) + activityView = requireActivity() as SettingsActivityView + } + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + val menuTag = requireArguments().getString(ARGUMENT_MENU_TAG) + val gameId = requireArguments().getString(ARGUMENT_GAME_ID) + fragmentPresenter.onCreate(menuTag!!, gameId!!) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentSettingsBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + settingsAdapter = SettingsAdapter(this, requireActivity()) + val dividerDecoration = MaterialDividerItemDecoration( + requireContext(), + LinearLayoutManager.VERTICAL + ) + dividerDecoration.isLastItemDecorated = false + binding.listSettings.apply { + adapter = settingsAdapter + layoutManager = LinearLayoutManager(activity) + addItemDecoration(dividerDecoration) + } + fragmentPresenter.onViewCreated() + + setInsets() + } + + override fun onDetach() { + super.onDetach() + activityView = null + if (settingsAdapter != null) { + settingsAdapter!!.closeDialog() + } + } + + override fun showSettingsList(settingsList: ArrayList) { + settingsAdapter!!.setSettingsList(settingsList) + } + + override fun loadSettingsList() { + fragmentPresenter.loadSettingsList() + } + + override fun loadSubMenu(menuKey: String) { + activityView!!.showSettingsFragment( + menuKey, + true, + requireArguments().getString(ARGUMENT_GAME_ID)!! + ) + } + + override fun showToastMessage(message: String?, is_long: Boolean) { + activityView!!.showToastMessage(message!!, is_long) + } + + override fun putSetting(setting: AbstractSetting) { + fragmentPresenter.putSetting(setting) + } + + override fun onSettingChanged() { + activityView!!.onSettingChanged() + } + + private fun setInsets() { + ViewCompat.setOnApplyWindowInsetsListener( + binding.listSettings + ) { view: View, windowInsets: WindowInsetsCompat -> + val insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + view.updatePadding(bottom = insets.bottom) + windowInsets + } + } + + companion object { + private const val ARGUMENT_MENU_TAG = "menu_tag" + private const val ARGUMENT_GAME_ID = "game_id" + + fun newInstance(menuTag: String?, gameId: String?): Fragment { + val fragment = SettingsFragment() + val arguments = Bundle() + arguments.putString(ARGUMENT_MENU_TAG, menuTag) + arguments.putString(ARGUMENT_GAME_ID, gameId) + fragment.arguments = arguments + return fragment + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt new file mode 100644 index 000000000..59c1d9d54 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt @@ -0,0 +1,539 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.content.SharedPreferences +import android.os.Build +import android.text.TextUtils +import androidx.preference.PreferenceManager +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.model.StringSetting +import org.yuzu.yuzu_emu.features.settings.model.view.* +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.fragments.ResetSettingsDialogFragment +import org.yuzu.yuzu_emu.utils.ThemeHelper + +class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView) { + private var menuTag: String? = null + private lateinit var gameId: String + private var settingsList: ArrayList? = null + + private val settingsActivity get() = fragmentView.activityView as SettingsActivity + private val settings get() = fragmentView.activityView!!.settings + + private lateinit var preferences: SharedPreferences + + fun onCreate(menuTag: String, gameId: String) { + this.gameId = gameId + this.menuTag = menuTag + } + + fun onViewCreated() { + preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + loadSettingsList() + } + + fun putSetting(setting: AbstractSetting) { + if (setting.section == null || setting.key == null) { + return + } + + val section = settings.getSection(setting.section!!)!! + if (section.getSetting(setting.key!!) == null) { + section.putSetting(setting) + } + } + + fun loadSettingsList() { + if (!TextUtils.isEmpty(gameId)) { + settingsActivity.setToolbarTitle("Game Settings: $gameId") + } + val sl = ArrayList() + if (menuTag == null) { + return + } + when (menuTag) { + SettingsFile.FILE_NAME_CONFIG -> addConfigSettings(sl) + Settings.SECTION_GENERAL -> addGeneralSettings(sl) + Settings.SECTION_SYSTEM -> addSystemSettings(sl) + Settings.SECTION_RENDERER -> addGraphicsSettings(sl) + Settings.SECTION_AUDIO -> addAudioSettings(sl) + Settings.SECTION_THEME -> addThemeSettings(sl) + Settings.SECTION_DEBUG -> addDebugSettings(sl) + else -> { + fragmentView.showToastMessage("Unimplemented menu", false) + return + } + } + settingsList = sl + fragmentView.showSettingsList(settingsList!!) + } + + private fun addConfigSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.advanced_settings)) + sl.apply { + add( + SubmenuSetting( + R.string.preferences_general, + 0, + Settings.SECTION_GENERAL + ) + ) + add( + SubmenuSetting( + R.string.preferences_system, + 0, + Settings.SECTION_SYSTEM + ) + ) + add( + SubmenuSetting( + R.string.preferences_graphics, + 0, + Settings.SECTION_RENDERER + ) + ) + add( + SubmenuSetting( + R.string.preferences_audio, + 0, + Settings.SECTION_AUDIO + ) + ) + add( + SubmenuSetting( + R.string.preferences_debug, + 0, + Settings.SECTION_DEBUG + ) + ) + add( + RunnableSetting( + R.string.reset_to_default, + 0, + false + ) { + ResetSettingsDialogFragment().show( + settingsActivity.supportFragmentManager, + ResetSettingsDialogFragment.TAG + ) + } + ) + } + } + + private fun addGeneralSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_general)) + sl.apply { + add( + SwitchSetting( + IntSetting.RENDERER_USE_SPEED_LIMIT, + R.string.frame_limit_enable, + R.string.frame_limit_enable_description, + IntSetting.RENDERER_USE_SPEED_LIMIT.key, + IntSetting.RENDERER_USE_SPEED_LIMIT.defaultValue + ) + ) + add( + SliderSetting( + IntSetting.RENDERER_SPEED_LIMIT, + R.string.frame_limit_slider, + R.string.frame_limit_slider_description, + 1, + 200, + "%", + IntSetting.RENDERER_SPEED_LIMIT.key, + IntSetting.RENDERER_SPEED_LIMIT.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.CPU_ACCURACY, + R.string.cpu_accuracy, + 0, + R.array.cpuAccuracyNames, + R.array.cpuAccuracyValues, + IntSetting.CPU_ACCURACY.key, + IntSetting.CPU_ACCURACY.defaultValue + ) + ) + add( + SwitchSetting( + BooleanSetting.PICTURE_IN_PICTURE, + R.string.picture_in_picture, + R.string.picture_in_picture_description, + BooleanSetting.PICTURE_IN_PICTURE.key, + BooleanSetting.PICTURE_IN_PICTURE.defaultValue + ) + ) + } + } + + private fun addSystemSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_system)) + sl.apply { + add( + SwitchSetting( + IntSetting.USE_DOCKED_MODE, + R.string.use_docked_mode, + R.string.use_docked_mode_description, + IntSetting.USE_DOCKED_MODE.key, + IntSetting.USE_DOCKED_MODE.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.REGION_INDEX, + R.string.emulated_region, + 0, + R.array.regionNames, + R.array.regionValues, + IntSetting.REGION_INDEX.key, + IntSetting.REGION_INDEX.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.LANGUAGE_INDEX, + R.string.emulated_language, + 0, + R.array.languageNames, + R.array.languageValues, + IntSetting.LANGUAGE_INDEX.key, + IntSetting.LANGUAGE_INDEX.defaultValue + ) + ) + add( + SwitchSetting( + BooleanSetting.USE_CUSTOM_RTC, + R.string.use_custom_rtc, + R.string.use_custom_rtc_description, + BooleanSetting.USE_CUSTOM_RTC.key, + BooleanSetting.USE_CUSTOM_RTC.defaultValue + ) + ) + add( + DateTimeSetting( + StringSetting.CUSTOM_RTC, + R.string.set_custom_rtc, + 0, + StringSetting.CUSTOM_RTC.key, + StringSetting.CUSTOM_RTC.defaultValue + ) + ) + } + } + + private fun addGraphicsSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_graphics)) + sl.apply { + add( + SingleChoiceSetting( + IntSetting.RENDERER_ACCURACY, + R.string.renderer_accuracy, + 0, + R.array.rendererAccuracyNames, + R.array.rendererAccuracyValues, + IntSetting.RENDERER_ACCURACY.key, + IntSetting.RENDERER_ACCURACY.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_RESOLUTION, + R.string.renderer_resolution, + 0, + R.array.rendererResolutionNames, + R.array.rendererResolutionValues, + IntSetting.RENDERER_RESOLUTION.key, + IntSetting.RENDERER_RESOLUTION.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_VSYNC, + R.string.renderer_vsync, + 0, + R.array.rendererVSyncNames, + R.array.rendererVSyncValues, + IntSetting.RENDERER_VSYNC.key, + IntSetting.RENDERER_VSYNC.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_SCALING_FILTER, + R.string.renderer_scaling_filter, + 0, + R.array.rendererScalingFilterNames, + R.array.rendererScalingFilterValues, + IntSetting.RENDERER_SCALING_FILTER.key, + IntSetting.RENDERER_SCALING_FILTER.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_ANTI_ALIASING, + R.string.renderer_anti_aliasing, + 0, + R.array.rendererAntiAliasingNames, + R.array.rendererAntiAliasingValues, + IntSetting.RENDERER_ANTI_ALIASING.key, + IntSetting.RENDERER_ANTI_ALIASING.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_SCREEN_LAYOUT, + R.string.renderer_screen_layout, + 0, + R.array.rendererScreenLayoutNames, + R.array.rendererScreenLayoutValues, + IntSetting.RENDERER_SCREEN_LAYOUT.key, + IntSetting.RENDERER_SCREEN_LAYOUT.defaultValue + ) + ) + add( + SingleChoiceSetting( + IntSetting.RENDERER_ASPECT_RATIO, + R.string.renderer_aspect_ratio, + 0, + R.array.rendererAspectRatioNames, + R.array.rendererAspectRatioValues, + IntSetting.RENDERER_ASPECT_RATIO.key, + IntSetting.RENDERER_ASPECT_RATIO.defaultValue + ) + ) + add( + SwitchSetting( + IntSetting.RENDERER_USE_DISK_SHADER_CACHE, + R.string.use_disk_shader_cache, + R.string.use_disk_shader_cache_description, + IntSetting.RENDERER_USE_DISK_SHADER_CACHE.key, + IntSetting.RENDERER_USE_DISK_SHADER_CACHE.defaultValue + ) + ) + add( + SwitchSetting( + IntSetting.RENDERER_FORCE_MAX_CLOCK, + R.string.renderer_force_max_clock, + R.string.renderer_force_max_clock_description, + IntSetting.RENDERER_FORCE_MAX_CLOCK.key, + IntSetting.RENDERER_FORCE_MAX_CLOCK.defaultValue + ) + ) + add( + SwitchSetting( + IntSetting.RENDERER_ASYNCHRONOUS_SHADERS, + R.string.renderer_asynchronous_shaders, + R.string.renderer_asynchronous_shaders_description, + IntSetting.RENDERER_ASYNCHRONOUS_SHADERS.key, + IntSetting.RENDERER_ASYNCHRONOUS_SHADERS.defaultValue + ) + ) + add( + SwitchSetting( + IntSetting.RENDERER_REACTIVE_FLUSHING, + R.string.renderer_reactive_flushing, + R.string.renderer_reactive_flushing_description, + IntSetting.RENDERER_REACTIVE_FLUSHING.key, + IntSetting.RENDERER_REACTIVE_FLUSHING.defaultValue + ) + ) + } + } + + private fun addAudioSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_audio)) + sl.apply { + add( + StringSingleChoiceSetting( + StringSetting.AUDIO_OUTPUT_ENGINE, + R.string.audio_output_engine, + 0, + settingsActivity.resources.getStringArray(R.array.outputEngineEntries), + settingsActivity.resources.getStringArray(R.array.outputEngineValues), + StringSetting.AUDIO_OUTPUT_ENGINE.key, + StringSetting.AUDIO_OUTPUT_ENGINE.defaultValue + ) + ) + add( + SliderSetting( + IntSetting.AUDIO_VOLUME, + R.string.audio_volume, + R.string.audio_volume_description, + 0, + 100, + "%", + IntSetting.AUDIO_VOLUME.key, + IntSetting.AUDIO_VOLUME.defaultValue + ) + ) + } + } + + private fun addThemeSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_theme)) + sl.apply { + val theme: AbstractIntSetting = object : AbstractIntSetting { + override var int: Int + get() = preferences.getInt(Settings.PREF_THEME, 0) + set(value) { + preferences.edit() + .putInt(Settings.PREF_THEME, value) + .apply() + settingsActivity.recreate() + } + override val key: String? = null + override val section: String? = null + override val isRuntimeEditable: Boolean = false + override val valueAsString: String + get() = preferences.getInt(Settings.PREF_THEME, 0).toString() + override val defaultValue: Any = 0 + } + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + add( + SingleChoiceSetting( + theme, + R.string.change_app_theme, + 0, + R.array.themeEntriesA12, + R.array.themeValuesA12 + ) + ) + } else { + add( + SingleChoiceSetting( + theme, + R.string.change_app_theme, + 0, + R.array.themeEntries, + R.array.themeValues + ) + ) + } + + val themeMode: AbstractIntSetting = object : AbstractIntSetting { + override var int: Int + get() = preferences.getInt(Settings.PREF_THEME_MODE, -1) + set(value) { + preferences.edit() + .putInt(Settings.PREF_THEME_MODE, value) + .apply() + ThemeHelper.setThemeMode(settingsActivity) + } + override val key: String? = null + override val section: String? = null + override val isRuntimeEditable: Boolean = false + override val valueAsString: String + get() = preferences.getInt(Settings.PREF_THEME_MODE, -1).toString() + override val defaultValue: Any = -1 + } + + add( + SingleChoiceSetting( + themeMode, + R.string.change_theme_mode, + 0, + R.array.themeModeEntries, + R.array.themeModeValues + ) + ) + + val blackBackgrounds: AbstractBooleanSetting = object : AbstractBooleanSetting { + override var boolean: Boolean + get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, value) + .apply() + settingsActivity.recreate() + } + override val key: String? = null + override val section: String? = null + override val isRuntimeEditable: Boolean = false + override val valueAsString: String + get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false) + .toString() + override val defaultValue: Any = false + } + + add( + SwitchSetting( + blackBackgrounds, + R.string.use_black_backgrounds, + R.string.use_black_backgrounds_description + ) + ) + } + } + + private fun addDebugSettings(sl: ArrayList) { + settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_debug)) + sl.apply { + add(HeaderSetting(R.string.gpu)) + add( + SingleChoiceSetting( + IntSetting.RENDERER_BACKEND, + R.string.renderer_api, + 0, + R.array.rendererApiNames, + R.array.rendererApiValues, + IntSetting.RENDERER_BACKEND.key, + IntSetting.RENDERER_BACKEND.defaultValue + ) + ) + add( + SwitchSetting( + IntSetting.RENDERER_DEBUG, + R.string.renderer_debug, + R.string.renderer_debug_description, + IntSetting.RENDERER_DEBUG.key, + IntSetting.RENDERER_DEBUG.defaultValue + ) + ) + + add(HeaderSetting(R.string.cpu)) + add( + SwitchSetting( + BooleanSetting.CPU_DEBUG_MODE, + R.string.cpu_debug_mode, + R.string.cpu_debug_mode_description, + BooleanSetting.CPU_DEBUG_MODE.key, + BooleanSetting.CPU_DEBUG_MODE.defaultValue + ) + ) + + val fastmem = object : AbstractBooleanSetting { + override var boolean: Boolean + get() = + BooleanSetting.FASTMEM.boolean && BooleanSetting.FASTMEM_EXCLUSIVES.boolean + set(value) { + BooleanSetting.FASTMEM.boolean = value + BooleanSetting.FASTMEM_EXCLUSIVES.boolean = value + } + override val key: String? = null + override val section: String = Settings.SECTION_CPU + override val isRuntimeEditable: Boolean = false + override val valueAsString: String = "" + override val defaultValue: Any = true + } + add( + SwitchSetting( + fastmem, + R.string.fastmem, + 0 + ) + ) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt new file mode 100644 index 000000000..1ebe35eaa --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem + +/** + * Abstraction for a screen showing a list of settings. Instances of + * this type of view will each display a layer of the setting hierarchy. + */ +interface SettingsFragmentView { + /** + * Pass an ArrayList to the View so that it can be displayed on screen. + * + * @param settingsList The result of converting the HashMap to an ArrayList + */ + fun showSettingsList(settingsList: ArrayList) + + /** + * Instructs the Fragment to load the settings screen. + */ + fun loadSettingsList() + + /** + * @return The Fragment's containing activity. + */ + val activityView: SettingsActivityView? + + /** + * Tell the Fragment to tell the containing Activity to show a new + * Fragment containing a submenu of settings. + * + * @param menuKey Identifier for the settings group that should be shown. + */ + fun loadSubMenu(menuKey: String) + + /** + * Tell the Fragment to tell the containing activity to display a toast message. + * + * @param message Text to be shown in the Toast + * @param is_long Whether this should be a long Toast or short one. + */ + fun showToastMessage(message: String?, is_long: Boolean) + + /** + * Have the fragment add a setting to the HashMap. + * + * @param setting The (possibly previously missing) new setting. + */ + fun putSetting(setting: AbstractSetting) + + /** + * Have the fragment tell the containing Activity that a setting was modified. + */ + fun onSettingChanged() +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt new file mode 100644 index 000000000..7955532ee --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import java.time.Instant +import java.time.ZoneId +import java.time.ZonedDateTime +import java.time.format.DateTimeFormatter +import java.time.format.FormatStyle +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.features.settings.model.view.DateTimeSetting +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class DateTimeViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + private lateinit var setting: DateTimeSetting + + override fun bind(item: SettingsItem) { + setting = item as DateTimeSetting + binding.textSettingName.setText(item.nameId) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + val epochTime = setting.value.toLong() + val instant = Instant.ofEpochMilli(epochTime * 1000) + val zonedTime = ZonedDateTime.ofInstant(instant, ZoneId.of("UTC")) + val dateFormatter = DateTimeFormatter.ofLocalizedDateTime(FormatStyle.MEDIUM) + binding.textSettingDescription.text = dateFormatter.format(zonedTime) + } + } + + override fun onClick(clicked: View) { + if (setting.isEditable) { + adapter.onDateTimeClick(setting, bindingAdapterPosition) + } + } + + override fun onLongClick(clicked: View): Boolean { + if (setting.isEditable) { + return adapter.onLongClick(setting.setting!!, bindingAdapterPosition) + } + return false + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt new file mode 100644 index 000000000..f5bcf705c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import org.yuzu.yuzu_emu.databinding.ListItemSettingsHeaderBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class HeaderViewHolder(val binding: ListItemSettingsHeaderBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + + init { + itemView.setOnClickListener(null) + } + + override fun bind(item: SettingsItem) { + binding.textHeaderName.setText(item.nameId) + } + + override fun onClick(clicked: View) { + // no-op + } + + override fun onLongClick(clicked: View): Boolean { + // no-op + return true + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt new file mode 100644 index 000000000..5dad5945f --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.features.settings.model.view.RunnableSetting +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class RunnableViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + private lateinit var setting: RunnableSetting + + override fun bind(item: SettingsItem) { + setting = item as RunnableSetting + binding.textSettingName.setText(item.nameId) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + binding.textSettingDescription.visibility = View.GONE + } + } + + override fun onClick(clicked: View) { + if (!setting.isRuntimeRunnable && !NativeLibrary.isRunning()) { + setting.runnable.invoke() + } + } + + override fun onLongClick(clicked: View): Boolean { + // no-op + return true + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt new file mode 100644 index 000000000..f56460893 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import androidx.recyclerview.widget.RecyclerView +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +abstract class SettingViewHolder(itemView: View, protected val adapter: SettingsAdapter) : + RecyclerView.ViewHolder(itemView), View.OnClickListener, View.OnLongClickListener { + + init { + itemView.setOnClickListener(this) + itemView.setOnLongClickListener(this) + } + + /** + * Called by the adapter to set this ViewHolder's child views to display the list item + * it must now represent. + * + * @param item The list item that should be represented by this ViewHolder. + */ + abstract fun bind(item: SettingsItem) + + /** + * Called when this ViewHolder's view is clicked on. Implementations should usually pass + * this event up to the adapter. + * + * @param clicked The view that was clicked on. + */ + abstract override fun onClick(clicked: View) + + abstract override fun onLongClick(clicked: View): Boolean +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt new file mode 100644 index 000000000..e4e321bd3 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.model.view.SingleChoiceSetting +import org.yuzu.yuzu_emu.features.settings.model.view.StringSingleChoiceSetting +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class SingleChoiceViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + private lateinit var setting: SettingsItem + + override fun bind(item: SettingsItem) { + setting = item + binding.textSettingName.setText(item.nameId) + binding.textSettingDescription.visibility = View.VISIBLE + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + } else if (item is SingleChoiceSetting) { + val resMgr = binding.textSettingDescription.context.resources + val values = resMgr.getIntArray(item.valuesId) + for (i in values.indices) { + if (values[i] == item.selectedValue) { + binding.textSettingDescription.text = resMgr.getStringArray(item.choicesId)[i] + return + } + } + } else if (item is StringSingleChoiceSetting) { + for (i in item.values!!.indices) { + if (item.values[i] == item.selectedValue) { + binding.textSettingDescription.text = item.choices[i] + return + } + } + } else { + binding.textSettingDescription.visibility = View.GONE + } + } + + override fun onClick(clicked: View) { + if (!setting.isEditable) { + return + } + + if (setting is SingleChoiceSetting) { + adapter.onSingleChoiceClick( + (setting as SingleChoiceSetting), + bindingAdapterPosition + ) + } else if (setting is StringSingleChoiceSetting) { + adapter.onStringSingleChoiceClick( + (setting as StringSingleChoiceSetting), + bindingAdapterPosition + ) + } + } + + override fun onLongClick(clicked: View): Boolean { + if (setting.isEditable) { + return adapter.onLongClick(setting.setting!!, bindingAdapterPosition) + } + return false + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt new file mode 100644 index 000000000..cc3f39aa5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.model.view.SliderSetting +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class SliderViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + private lateinit var setting: SliderSetting + + override fun bind(item: SettingsItem) { + setting = item as SliderSetting + binding.textSettingName.setText(item.nameId) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + binding.textSettingDescription.visibility = View.GONE + } + } + + override fun onClick(clicked: View) { + if (setting.isEditable) { + adapter.onSliderClick(setting, bindingAdapterPosition) + } + } + + override fun onLongClick(clicked: View): Boolean { + if (setting.isEditable) { + return adapter.onLongClick(setting.setting!!, bindingAdapterPosition) + } + return false + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt new file mode 100644 index 000000000..c545b4174 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.model.view.SubmenuSetting +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class SubmenuViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + private lateinit var item: SubmenuSetting + + override fun bind(item: SettingsItem) { + this.item = item as SubmenuSetting + binding.textSettingName.setText(item.nameId) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + binding.textSettingDescription.visibility = View.GONE + } + } + + override fun onClick(clicked: View) { + adapter.onSubmenuClick(item) + } + + override fun onLongClick(clicked: View): Boolean { + // no-op + return true + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt new file mode 100644 index 000000000..54f531795 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui.viewholder + +import android.view.View +import android.widget.CompoundButton +import org.yuzu.yuzu_emu.databinding.ListItemSettingSwitchBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.model.view.SwitchSetting +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter + +class SwitchSettingViewHolder(val binding: ListItemSettingSwitchBinding, adapter: SettingsAdapter) : + SettingViewHolder(binding.root, adapter) { + + private lateinit var setting: SwitchSetting + + override fun bind(item: SettingsItem) { + setting = item as SwitchSetting + binding.textSettingName.setText(item.nameId) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + binding.textSettingDescription.text = "" + binding.textSettingDescription.visibility = View.GONE + } + binding.switchWidget.isChecked = setting.isChecked + binding.switchWidget.setOnCheckedChangeListener { _: CompoundButton, _: Boolean -> + adapter.onBooleanClick(item, bindingAdapterPosition, binding.switchWidget.isChecked) + } + + binding.switchWidget.isEnabled = setting.isEditable + } + + override fun onClick(clicked: View) { + if (setting.isEditable) { + binding.switchWidget.toggle() + } + } + + override fun onLongClick(clicked: View): Boolean { + if (setting.isEditable) { + return adapter.onLongClick(setting.setting!!, bindingAdapterPosition) + } + return false + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt new file mode 100644 index 000000000..70a52df5d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt @@ -0,0 +1,264 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.utils + +import java.io.* +import java.util.* +import org.ini4j.Wini +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.* +import org.yuzu.yuzu_emu.features.settings.model.Settings.SettingsSectionMap +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivityView +import org.yuzu.yuzu_emu.utils.BiMap +import org.yuzu.yuzu_emu.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.Log + +/** + * Contains static methods for interacting with .ini files in which settings are stored. + */ +object SettingsFile { + const val FILE_NAME_CONFIG = "config" + + private var sectionsMap = BiMap() + + /** + * Reads a given .ini file from disk and returns it as a HashMap of Settings, themselves + * effectively a HashMap of key/value settings. If unsuccessful, outputs an error telling why it + * failed. + * + * @param ini The ini file to load the settings from + * @param isCustomGame + * @param view The current view. + * @return An Observable that emits a HashMap of the file's contents, then completes. + */ + private fun readFile( + ini: File?, + isCustomGame: Boolean, + view: SettingsActivityView? = null + ): HashMap { + val sections: HashMap = SettingsSectionMap() + var reader: BufferedReader? = null + try { + reader = BufferedReader(FileReader(ini)) + var current: SettingSection? = null + var line: String? + while (reader.readLine().also { line = it } != null) { + if (line!!.startsWith("[") && line!!.endsWith("]")) { + current = sectionFromLine(line!!, isCustomGame) + sections[current.name] = current + } else if (current != null) { + val setting = settingFromLine(line!!) + if (setting != null) { + current.putSetting(setting) + } + } + } + } catch (e: FileNotFoundException) { + Log.error("[SettingsFile] File not found: " + e.message) + view?.onSettingsFileNotFound() + } catch (e: IOException) { + Log.error("[SettingsFile] Error reading from: " + e.message) + view?.onSettingsFileNotFound() + } finally { + if (reader != null) { + try { + reader.close() + } catch (e: IOException) { + Log.error("[SettingsFile] Error closing: " + e.message) + } + } + } + return sections + } + + fun readFile(fileName: String, view: SettingsActivityView?): HashMap { + return readFile(getSettingsFile(fileName), false, view) + } + + fun readFile(fileName: String): HashMap = + readFile(getSettingsFile(fileName), false) + + /** + * Reads a given .ini file from disk and returns it as a HashMap of SettingSections, themselves + * effectively a HashMap of key/value settings. If unsuccessful, outputs an error telling why it + * failed. + * + * @param gameId the id of the game to load it's settings. + * @param view The current view. + */ + fun readCustomGameSettings( + gameId: String, + view: SettingsActivityView? + ): HashMap { + return readFile(getCustomGameSettingsFile(gameId), true, view) + } + + /** + * Saves a Settings HashMap to a given .ini file on disk. If unsuccessful, outputs an error + * telling why it failed. + * + * @param fileName The target filename without a path or extension. + * @param sections The HashMap containing the Settings we want to serialize. + * @param view The current view. + */ + fun saveFile( + fileName: String, + sections: TreeMap, + view: SettingsActivityView + ) { + val ini = getSettingsFile(fileName) + try { + val writer = Wini(ini) + val keySet: Set = sections.keys + for (key in keySet) { + val section = sections[key] + writeSection(writer, section!!) + } + writer.store() + } catch (e: IOException) { + Log.error("[SettingsFile] File not found: " + fileName + ".ini: " + e.message) + view.showToastMessage( + YuzuApplication.appContext + .getString(R.string.error_saving, fileName, e.message), + false + ) + } + } + + fun saveCustomGameSettings(gameId: String?, sections: HashMap) { + val sortedSections: Set = TreeSet(sections.keys) + for (sectionKey in sortedSections) { + val section = sections[sectionKey] + val settings = section!!.settings + val sortedKeySet: Set = TreeSet(settings.keys) + for (settingKey in sortedKeySet) { + val setting = settings[settingKey] + NativeLibrary.setUserSetting( + gameId, + mapSectionNameFromIni( + section.name + ), + setting!!.key, + setting.valueAsString + ) + } + } + } + + private fun mapSectionNameFromIni(generalSectionName: String): String? { + return if (sectionsMap.getForward(generalSectionName) != null) { + sectionsMap.getForward(generalSectionName) + } else { + generalSectionName + } + } + + private fun mapSectionNameToIni(generalSectionName: String): String { + return if (sectionsMap.getBackward(generalSectionName) != null) { + sectionsMap.getBackward(generalSectionName).toString() + } else { + generalSectionName + } + } + + fun getSettingsFile(fileName: String): File { + return File( + DirectoryInitialization.userDirectory + "/config/" + fileName + ".ini" + ) + } + + private fun getCustomGameSettingsFile(gameId: String): File { + return File(DirectoryInitialization.userDirectory + "/GameSettings/" + gameId + ".ini") + } + + private fun sectionFromLine(line: String, isCustomGame: Boolean): SettingSection { + var sectionName: String = line.substring(1, line.length - 1) + if (isCustomGame) { + sectionName = mapSectionNameToIni(sectionName) + } + return SettingSection(sectionName) + } + + /** + * For a line of text, determines what type of data is being represented, and returns + * a Setting object containing this data. + * + * @param line The line of text being parsed. + * @return A typed Setting containing the key/value contained in the line. + */ + private fun settingFromLine(line: String): AbstractSetting? { + val splitLine = line.split("=".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray() + if (splitLine.size != 2) { + return null + } + val key = splitLine[0].trim { it <= ' ' } + val value = splitLine[1].trim { it <= ' ' } + if (value.isEmpty()) { + return null + } + + val booleanSetting = BooleanSetting.from(key) + if (booleanSetting != null) { + booleanSetting.boolean = value.toBoolean() + return booleanSetting + } + + val intSetting = IntSetting.from(key) + if (intSetting != null) { + intSetting.int = value.toInt() + return intSetting + } + + val floatSetting = FloatSetting.from(key) + if (floatSetting != null) { + floatSetting.float = value.toFloat() + return floatSetting + } + + val stringSetting = StringSetting.from(key) + if (stringSetting != null) { + stringSetting.string = value + return stringSetting + } + + return null + } + + /** + * Writes the contents of a Section HashMap to disk. + * + * @param parser A Wini pointed at a file on disk. + * @param section A section containing settings to be written to the file. + */ + private fun writeSection(parser: Wini, section: SettingSection) { + // Write the section header. + val header = section.name + + // Write this section's values. + val settings = section.settings + val keySet: Set = settings.keys + for (key in keySet) { + val setting = settings[key] + parser.put(header, setting!!.key, setting.valueAsString) + } + + BooleanSetting.values().forEach { + if (!keySet.contains(it.key)) { + parser.put(header, it.key, it.valueAsString) + } + } + IntSetting.values().forEach { + if (!keySet.contains(it.key)) { + parser.put(header, it.key, it.valueAsString) + } + } + StringSetting.values().forEach { + if (!keySet.contains(it.key)) { + parser.put(header, it.key, it.valueAsString) + } + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt new file mode 100644 index 000000000..2ff827c6b --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt @@ -0,0 +1,131 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.content.ClipData +import android.content.ClipboardManager +import android.content.Context +import android.content.Intent +import android.net.Uri +import android.os.Build +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.ViewGroup.MarginLayoutParams +import android.widget.Toast +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.navigation.findNavController +import com.google.android.material.transition.MaterialSharedAxis +import org.yuzu.yuzu_emu.BuildConfig +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.FragmentAboutBinding +import org.yuzu.yuzu_emu.model.HomeViewModel + +class AboutFragment : Fragment() { + private var _binding: FragmentAboutBinding? = null + private val binding get() = _binding!! + + private val homeViewModel: HomeViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enterTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + returnTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentAboutBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + homeViewModel.setNavigationVisibility(visible = false, animated = true) + homeViewModel.setStatusBarShadeVisibility(visible = false) + + binding.toolbarAbout.setNavigationOnClickListener { + binding.root.findNavController().popBackStack() + } + + binding.imageLogo.setOnLongClickListener { + Toast.makeText( + requireContext(), + R.string.gaia_is_not_real, + Toast.LENGTH_SHORT + ).show() + true + } + + binding.buttonContributors.setOnClickListener { + openLink( + getString(R.string.contributors_link) + ) + } + binding.buttonLicenses.setOnClickListener { + exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + binding.root.findNavController().navigate(R.id.action_aboutFragment_to_licensesFragment) + } + + binding.textBuildHash.text = BuildConfig.GIT_HASH + binding.buttonBuildHash.setOnClickListener { + val clipBoard = + requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager + val clip = ClipData.newPlainText(getString(R.string.build), BuildConfig.GIT_HASH) + clipBoard.setPrimaryClip(clip) + + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) { + Toast.makeText( + requireContext(), + R.string.copied_to_clipboard, + Toast.LENGTH_SHORT + ).show() + } + } + + binding.buttonDiscord.setOnClickListener { openLink(getString(R.string.support_link)) } + binding.buttonWebsite.setOnClickListener { openLink(getString(R.string.website_link)) } + binding.buttonGithub.setOnClickListener { openLink(getString(R.string.github_link)) } + + setInsets() + } + + private fun openLink(link: String) { + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link)) + startActivity(intent) + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { _: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + + val leftInsets = barInsets.left + cutoutInsets.left + val rightInsets = barInsets.right + cutoutInsets.right + + val mlpAppBar = binding.appbarAbout.layoutParams as MarginLayoutParams + mlpAppBar.leftMargin = leftInsets + mlpAppBar.rightMargin = rightInsets + binding.appbarAbout.layoutParams = mlpAppBar + + val mlpScrollAbout = binding.scrollAbout.layoutParams as MarginLayoutParams + mlpScrollAbout.leftMargin = leftInsets + mlpScrollAbout.rightMargin = rightInsets + binding.scrollAbout.layoutParams = mlpScrollAbout + + binding.contentAbout.updatePadding(bottom = barInsets.bottom) + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EarlyAccessFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EarlyAccessFragment.kt new file mode 100644 index 000000000..dbc16da4a --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EarlyAccessFragment.kt @@ -0,0 +1,89 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.navigation.fragment.findNavController +import com.google.android.material.transition.MaterialSharedAxis +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.FragmentEarlyAccessBinding +import org.yuzu.yuzu_emu.model.HomeViewModel + +class EarlyAccessFragment : Fragment() { + private var _binding: FragmentEarlyAccessBinding? = null + private val binding get() = _binding!! + + private val homeViewModel: HomeViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enterTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + returnTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentEarlyAccessBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + homeViewModel.setNavigationVisibility(visible = false, animated = true) + homeViewModel.setStatusBarShadeVisibility(visible = false) + + binding.toolbarAbout.setNavigationOnClickListener { + parentFragmentManager.primaryNavigationFragment?.findNavController()?.popBackStack() + } + + binding.getEarlyAccessButton.setOnClickListener { + openLink( + getString(R.string.play_store_link) + ) + } + + setInsets() + } + + private fun openLink(link: String) { + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link)) + startActivity(intent) + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { _: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + + val leftInsets = barInsets.left + cutoutInsets.left + val rightInsets = barInsets.right + cutoutInsets.right + + val mlpAppBar = binding.appbarEa.layoutParams as ViewGroup.MarginLayoutParams + mlpAppBar.leftMargin = leftInsets + mlpAppBar.rightMargin = rightInsets + binding.appbarEa.layoutParams = mlpAppBar + + binding.scrollEa.updatePadding( + left = leftInsets, + right = rightInsets, + bottom = barInsets.bottom + ) + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt new file mode 100644 index 000000000..09976db62 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt @@ -0,0 +1,733 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.annotation.SuppressLint +import android.app.AlertDialog +import android.content.Context +import android.content.DialogInterface +import android.content.Intent +import android.content.SharedPreferences +import android.content.pm.ActivityInfo +import android.content.res.Configuration +import android.graphics.Color +import android.os.Bundle +import android.os.Handler +import android.os.Looper +import android.util.Rational +import android.view.* +import android.widget.TextView +import androidx.activity.OnBackPressedCallback +import androidx.activity.result.ActivityResultLauncher +import androidx.activity.result.contract.ActivityResultContracts +import androidx.appcompat.widget.PopupMenu +import androidx.core.content.res.ResourcesCompat +import androidx.core.graphics.Insets +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.isVisible +import androidx.fragment.app.Fragment +import androidx.lifecycle.Lifecycle +import androidx.lifecycle.lifecycleScope +import androidx.lifecycle.repeatOnLifecycle +import androidx.navigation.fragment.navArgs +import androidx.preference.PreferenceManager +import androidx.window.layout.FoldingFeature +import androidx.window.layout.WindowInfoTracker +import androidx.window.layout.WindowLayoutInfo +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.google.android.material.slider.Slider +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.launch +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.activities.EmulationActivity +import org.yuzu.yuzu_emu.databinding.DialogOverlayAdjustBinding +import org.yuzu.yuzu_emu.databinding.FragmentEmulationBinding +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.overlay.InputOverlay +import org.yuzu.yuzu_emu.utils.* + +class EmulationFragment : Fragment(), SurfaceHolder.Callback { + private lateinit var preferences: SharedPreferences + private lateinit var emulationState: EmulationState + private var emulationActivity: EmulationActivity? = null + private var perfStatsUpdater: (() -> Unit)? = null + + private var _binding: FragmentEmulationBinding? = null + private val binding get() = _binding!! + + val args by navArgs() + + private var isInFoldableLayout = false + + private lateinit var onReturnFromSettings: ActivityResultLauncher + + override fun onAttach(context: Context) { + super.onAttach(context) + if (context is EmulationActivity) { + emulationActivity = context + NativeLibrary.setEmulationActivity(context) + + lifecycleScope.launch(Dispatchers.Main) { + lifecycle.repeatOnLifecycle(Lifecycle.State.STARTED) { + WindowInfoTracker.getOrCreate(context) + .windowLayoutInfo(context) + .collect { updateFoldableLayout(context, it) } + } + } + + onReturnFromSettings = context.activityResultRegistry.register( + "SettingsResult", + ActivityResultContracts.StartActivityForResult() + ) { updateScreenLayout() } + } else { + throw IllegalStateException("EmulationFragment must have EmulationActivity parent") + } + } + + /** + * Initialize anything that doesn't depend on the layout / views in here. + */ + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + + // So this fragment doesn't restart on configuration changes; i.e. rotation. + retainInstance = true + preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + emulationState = EmulationState(args.game.path) + } + + /** + * Initialize the UI and start emulation in here. + */ + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentEmulationBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + binding.surfaceEmulation.holder.addCallback(this) + binding.showFpsText.setTextColor(Color.YELLOW) + binding.doneControlConfig.setOnClickListener { stopConfiguringControls() } + + // Setup overlay. + updateShowFpsOverlay() + + binding.inGameMenu.getHeaderView(0).findViewById(R.id.text_game_title).text = + args.game.title + binding.inGameMenu.setNavigationItemSelectedListener { + when (it.itemId) { + R.id.menu_pause_emulation -> { + if (emulationState.isPaused) { + emulationState.run(false) + it.title = resources.getString(R.string.emulation_pause) + it.icon = ResourcesCompat.getDrawable( + resources, + R.drawable.ic_pause, + requireContext().theme + ) + } else { + emulationState.pause() + it.title = resources.getString(R.string.emulation_unpause) + it.icon = ResourcesCompat.getDrawable( + resources, + R.drawable.ic_play, + requireContext().theme + ) + } + true + } + + R.id.menu_settings -> { + SettingsActivity.launch( + requireContext(), + onReturnFromSettings, + SettingsFile.FILE_NAME_CONFIG, + "" + ) + true + } + + R.id.menu_overlay_controls -> { + showOverlayOptions() + true + } + + R.id.menu_exit -> { + emulationState.stop() + requireActivity().finish() + true + } + + else -> true + } + } + + setInsets() + + requireActivity().onBackPressedDispatcher.addCallback( + requireActivity(), + object : OnBackPressedCallback(true) { + override fun handleOnBackPressed() { + if (binding.drawerLayout.isOpen) { + binding.drawerLayout.close() + } else { + binding.drawerLayout.open() + } + } + } + ) + + viewLifecycleOwner.lifecycleScope.launch(Dispatchers.Main) { + lifecycle.repeatOnLifecycle(Lifecycle.State.STARTED) { + WindowInfoTracker.getOrCreate(requireContext()) + .windowLayoutInfo(requireActivity()) + .collect { updateFoldableLayout(requireActivity() as EmulationActivity, it) } + } + } + } + + override fun onConfigurationChanged(newConfig: Configuration) { + super.onConfigurationChanged(newConfig) + if (emulationActivity?.isInPictureInPictureMode == true) { + if (binding.drawerLayout.isOpen) { + binding.drawerLayout.close() + } + if (EmulationMenuSettings.showOverlay) { + binding.surfaceInputOverlay.post { binding.surfaceInputOverlay.isVisible = false } + } + } else { + if (EmulationMenuSettings.showOverlay) { + binding.surfaceInputOverlay.post { binding.surfaceInputOverlay.isVisible = true } + } + if (!isInFoldableLayout) { + if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { + binding.surfaceInputOverlay.orientation = InputOverlay.PORTRAIT + } else { + binding.surfaceInputOverlay.orientation = InputOverlay.LANDSCAPE + } + } + if (!binding.surfaceInputOverlay.isInEditMode) { + refreshInputOverlay() + } + } + } + + override fun onResume() { + super.onResume() + if (!DirectoryInitialization.areDirectoriesReady) { + DirectoryInitialization.start(requireContext()) + } + + updateScreenLayout() + + emulationState.run(emulationActivity!!.isActivityRecreated) + } + + override fun onPause() { + if (emulationState.isRunning) { + emulationState.pause() + } + super.onPause() + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + override fun onDetach() { + NativeLibrary.clearEmulationActivity() + super.onDetach() + } + + private fun refreshInputOverlay() { + binding.surfaceInputOverlay.refreshControls() + } + + private fun resetInputOverlay() { + preferences.edit() + .remove(Settings.PREF_CONTROL_SCALE) + .remove(Settings.PREF_CONTROL_OPACITY) + .apply() + binding.surfaceInputOverlay.post { binding.surfaceInputOverlay.resetButtonPlacement() } + } + + private fun updateShowFpsOverlay() { + if (EmulationMenuSettings.showFps) { + val SYSTEM_FPS = 0 + val FPS = 1 + val FRAMETIME = 2 + val SPEED = 3 + perfStatsUpdater = { + val perfStats = NativeLibrary.getPerfStats() + if (perfStats[FPS] > 0 && _binding != null) { + binding.showFpsText.text = String.format("FPS: %.1f", perfStats[FPS]) + } + + if (!emulationState.isStopped) { + perfStatsUpdateHandler.postDelayed(perfStatsUpdater!!, 100) + } + } + perfStatsUpdateHandler.post(perfStatsUpdater!!) + binding.showFpsText.text = resources.getString(R.string.emulation_game_loading) + binding.showFpsText.visibility = View.VISIBLE + } else { + if (perfStatsUpdater != null) { + perfStatsUpdateHandler.removeCallbacks(perfStatsUpdater!!) + } + binding.showFpsText.visibility = View.GONE + } + } + + @SuppressLint("SourceLockedOrientationActivity") + private fun updateOrientation() { + emulationActivity?.let { + it.requestedOrientation = when (IntSetting.RENDERER_SCREEN_LAYOUT.int) { + Settings.LayoutOption_MobileLandscape -> + ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE + Settings.LayoutOption_MobilePortrait -> + ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT + Settings.LayoutOption_Unspecified -> ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED + else -> ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE + } + } + } + + private fun updateScreenLayout() { + binding.surfaceEmulation.setAspectRatio( + when (IntSetting.RENDERER_ASPECT_RATIO.int) { + 0 -> Rational(16, 9) + 1 -> Rational(4, 3) + 2 -> Rational(21, 9) + 3 -> Rational(16, 10) + 4 -> null // Stretch + else -> Rational(16, 9) + } + ) + emulationActivity?.buildPictureInPictureParams() + updateOrientation() + } + + private fun updateFoldableLayout( + emulationActivity: EmulationActivity, + newLayoutInfo: WindowLayoutInfo + ) { + val isFolding = + (newLayoutInfo.displayFeatures.find { it is FoldingFeature } as? FoldingFeature)?.let { + if (it.isSeparating) { + emulationActivity.requestedOrientation = + ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED + if (it.orientation == FoldingFeature.Orientation.HORIZONTAL) { + // Restrict emulation and overlays to the top of the screen + binding.emulationContainer.layoutParams.height = it.bounds.top + binding.overlayContainer.layoutParams.height = it.bounds.top + // Restrict input and menu drawer to the bottom of the screen + binding.inputContainer.layoutParams.height = it.bounds.bottom + binding.inGameMenu.layoutParams.height = it.bounds.bottom + + isInFoldableLayout = true + binding.surfaceInputOverlay.orientation = InputOverlay.FOLDABLE + refreshInputOverlay() + } + } + it.isSeparating + } ?: false + if (!isFolding) { + binding.emulationContainer.layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT + binding.inputContainer.layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT + binding.overlayContainer.layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT + binding.inGameMenu.layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT + isInFoldableLayout = false + updateOrientation() + onConfigurationChanged(resources.configuration) + } + binding.emulationContainer.requestLayout() + binding.inputContainer.requestLayout() + binding.overlayContainer.requestLayout() + binding.inGameMenu.requestLayout() + } + + override fun surfaceCreated(holder: SurfaceHolder) { + // We purposely don't do anything here. + // All work is done in surfaceChanged, which we are guaranteed to get even for surface creation. + } + + override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int) { + Log.debug("[EmulationFragment] Surface changed. Resolution: " + width + "x" + height) + emulationState.newSurface(holder.surface) + } + + override fun surfaceDestroyed(holder: SurfaceHolder) { + emulationState.clearSurface() + } + + private fun showOverlayOptions() { + val anchor = binding.inGameMenu.findViewById(R.id.menu_overlay_controls) + val popup = PopupMenu(requireContext(), anchor) + + popup.menuInflater.inflate(R.menu.menu_overlay_options, popup.menu) + + popup.menu.apply { + findItem(R.id.menu_toggle_fps).isChecked = EmulationMenuSettings.showFps + findItem(R.id.menu_rel_stick_center).isChecked = EmulationMenuSettings.joystickRelCenter + findItem(R.id.menu_dpad_slide).isChecked = EmulationMenuSettings.dpadSlide + findItem(R.id.menu_show_overlay).isChecked = EmulationMenuSettings.showOverlay + findItem(R.id.menu_haptics).isChecked = EmulationMenuSettings.hapticFeedback + } + + popup.setOnMenuItemClickListener { + when (it.itemId) { + R.id.menu_toggle_fps -> { + it.isChecked = !it.isChecked + EmulationMenuSettings.showFps = it.isChecked + updateShowFpsOverlay() + true + } + + R.id.menu_edit_overlay -> { + binding.drawerLayout.close() + binding.surfaceInputOverlay.requestFocus() + startConfiguringControls() + true + } + + R.id.menu_adjust_overlay -> { + adjustOverlay() + true + } + + R.id.menu_toggle_controls -> { + val preferences = + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + val optionsArray = BooleanArray(15) + for (i in 0..14) { + optionsArray[i] = preferences.getBoolean("buttonToggle$i", i < 13) + } + + val dialog = MaterialAlertDialogBuilder(requireContext()) + .setTitle(R.string.emulation_toggle_controls) + .setMultiChoiceItems( + R.array.gamepadButtons, + optionsArray + ) { _, indexSelected, isChecked -> + preferences.edit() + .putBoolean("buttonToggle$indexSelected", isChecked) + .apply() + } + .setPositiveButton(android.R.string.ok) { _, _ -> + refreshInputOverlay() + } + .setNegativeButton(android.R.string.cancel, null) + .setNeutralButton(R.string.emulation_toggle_all) { _, _ -> } + .show() + + // Override normal behaviour so the dialog doesn't close + dialog.getButton(AlertDialog.BUTTON_NEUTRAL) + .setOnClickListener { + val isChecked = !optionsArray[0] + for (i in 0..14) { + optionsArray[i] = isChecked + dialog.listView.setItemChecked(i, isChecked) + preferences.edit() + .putBoolean("buttonToggle$i", isChecked) + .apply() + } + } + true + } + + R.id.menu_show_overlay -> { + it.isChecked = !it.isChecked + EmulationMenuSettings.showOverlay = it.isChecked + refreshInputOverlay() + true + } + + R.id.menu_rel_stick_center -> { + it.isChecked = !it.isChecked + EmulationMenuSettings.joystickRelCenter = it.isChecked + true + } + + R.id.menu_dpad_slide -> { + it.isChecked = !it.isChecked + EmulationMenuSettings.dpadSlide = it.isChecked + true + } + + R.id.menu_haptics -> { + it.isChecked = !it.isChecked + EmulationMenuSettings.hapticFeedback = it.isChecked + true + } + + R.id.menu_reset_overlay -> { + binding.drawerLayout.close() + resetInputOverlay() + true + } + + else -> true + } + } + + popup.show() + } + + @SuppressLint("SourceLockedOrientationActivity") + private fun startConfiguringControls() { + // Lock the current orientation to prevent editing inconsistencies + if (IntSetting.RENDERER_SCREEN_LAYOUT.int == Settings.LayoutOption_Unspecified) { + emulationActivity?.let { + it.requestedOrientation = + if (resources.configuration.orientation == Configuration.ORIENTATION_PORTRAIT) { + ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT + } else { + ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE + } + } + } + binding.doneControlConfig.visibility = View.VISIBLE + binding.surfaceInputOverlay.setIsInEditMode(true) + } + + private fun stopConfiguringControls() { + binding.doneControlConfig.visibility = View.GONE + binding.surfaceInputOverlay.setIsInEditMode(false) + // Unlock the orientation if it was locked for editing + if (IntSetting.RENDERER_SCREEN_LAYOUT.int == Settings.LayoutOption_Unspecified) { + emulationActivity?.let { + it.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED + } + } + } + + @SuppressLint("SetTextI18n") + private fun adjustOverlay() { + val adjustBinding = DialogOverlayAdjustBinding.inflate(layoutInflater) + adjustBinding.apply { + inputScaleSlider.apply { + valueTo = 150F + value = preferences.getInt(Settings.PREF_CONTROL_SCALE, 50).toFloat() + addOnChangeListener( + Slider.OnChangeListener { _, value, _ -> + inputScaleValue.text = "${value.toInt()}%" + setControlScale(value.toInt()) + } + ) + } + inputOpacitySlider.apply { + valueTo = 100F + value = preferences.getInt(Settings.PREF_CONTROL_OPACITY, 100).toFloat() + addOnChangeListener( + Slider.OnChangeListener { _, value, _ -> + inputOpacityValue.text = "${value.toInt()}%" + setControlOpacity(value.toInt()) + } + ) + } + inputScaleValue.text = "${inputScaleSlider.value.toInt()}%" + inputOpacityValue.text = "${inputOpacitySlider.value.toInt()}%" + } + + MaterialAlertDialogBuilder(requireContext()) + .setTitle(R.string.emulation_control_adjust) + .setView(adjustBinding.root) + .setPositiveButton(android.R.string.ok, null) + .setNeutralButton(R.string.slider_default) { _: DialogInterface?, _: Int -> + setControlScale(50) + setControlOpacity(100) + } + .show() + } + + private fun setControlScale(scale: Int) { + preferences.edit() + .putInt(Settings.PREF_CONTROL_SCALE, scale) + .apply() + refreshInputOverlay() + } + + private fun setControlOpacity(opacity: Int) { + preferences.edit() + .putInt(Settings.PREF_CONTROL_OPACITY, opacity) + .apply() + refreshInputOverlay() + } + + private fun setInsets() { + ViewCompat.setOnApplyWindowInsetsListener( + binding.inGameMenu + ) { v: View, windowInsets: WindowInsetsCompat -> + val cutInsets: Insets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + var left = 0 + var right = 0 + if (ViewCompat.getLayoutDirection(v) == ViewCompat.LAYOUT_DIRECTION_LTR) { + left = cutInsets.left + } else { + right = cutInsets.right + } + + v.setPadding(left, cutInsets.top, right, 0) + + // Ensure FPS text doesn't get cut off by rounded display corners + val sidePadding = resources.getDimensionPixelSize(R.dimen.spacing_xtralarge) + if (cutInsets.left == 0) { + binding.showFpsText.setPadding( + sidePadding, + cutInsets.top, + cutInsets.right, + cutInsets.bottom + ) + } else { + binding.showFpsText.setPadding( + cutInsets.left, + cutInsets.top, + cutInsets.right, + cutInsets.bottom + ) + } + windowInsets + } + } + + private class EmulationState(private val gamePath: String) { + private var state: State + private var surface: Surface? = null + private var runWhenSurfaceIsValid = false + + init { + // Starting state is stopped. + state = State.STOPPED + } + + @get:Synchronized + val isStopped: Boolean + get() = state == State.STOPPED + + // Getters for the current state + @get:Synchronized + val isPaused: Boolean + get() = state == State.PAUSED + + @get:Synchronized + val isRunning: Boolean + get() = state == State.RUNNING + + @Synchronized + fun stop() { + if (state != State.STOPPED) { + Log.debug("[EmulationFragment] Stopping emulation.") + NativeLibrary.stopEmulation() + state = State.STOPPED + } else { + Log.warning("[EmulationFragment] Stop called while already stopped.") + } + } + + // State changing methods + @Synchronized + fun pause() { + if (state != State.PAUSED) { + Log.debug("[EmulationFragment] Pausing emulation.") + + NativeLibrary.pauseEmulation() + + state = State.PAUSED + } else { + Log.warning("[EmulationFragment] Pause called while already paused.") + } + } + + @Synchronized + fun run(isActivityRecreated: Boolean) { + if (isActivityRecreated) { + if (NativeLibrary.isRunning()) { + state = State.PAUSED + } + } else { + Log.debug("[EmulationFragment] activity resumed or fresh start") + } + + // If the surface is set, run now. Otherwise, wait for it to get set. + if (surface != null) { + runWithValidSurface() + } else { + runWhenSurfaceIsValid = true + } + } + + // Surface callbacks + @Synchronized + fun newSurface(surface: Surface?) { + this.surface = surface + if (runWhenSurfaceIsValid) { + runWithValidSurface() + } + } + + @Synchronized + fun clearSurface() { + if (surface == null) { + Log.warning("[EmulationFragment] clearSurface called, but surface already null.") + } else { + surface = null + Log.debug("[EmulationFragment] Surface destroyed.") + when (state) { + State.RUNNING -> { + state = State.PAUSED + } + + State.PAUSED -> Log.warning( + "[EmulationFragment] Surface cleared while emulation paused." + ) + else -> Log.warning( + "[EmulationFragment] Surface cleared while emulation stopped." + ) + } + } + } + + private fun runWithValidSurface() { + runWhenSurfaceIsValid = false + when (state) { + State.STOPPED -> { + NativeLibrary.surfaceChanged(surface) + val emulationThread = Thread({ + Log.debug("[EmulationFragment] Starting emulation thread.") + NativeLibrary.run(gamePath) + }, "NativeEmulation") + emulationThread.start() + } + + State.PAUSED -> { + Log.debug("[EmulationFragment] Resuming emulation.") + NativeLibrary.surfaceChanged(surface) + NativeLibrary.unpauseEmulation() + } + + else -> Log.debug("[EmulationFragment] Bug, run called while already running.") + } + state = State.RUNNING + } + + private enum class State { + STOPPED, RUNNING, PAUSED + } + } + + companion object { + private val perfStatsUpdateHandler = Handler(Looper.myLooper()!!) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt new file mode 100644 index 000000000..5a36ffad4 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt @@ -0,0 +1,378 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.Manifest +import android.content.ActivityNotFoundException +import android.content.DialogInterface +import android.content.Intent +import android.content.pm.PackageManager +import android.os.Bundle +import android.provider.DocumentsContract +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.ViewGroup.MarginLayoutParams +import android.widget.Toast +import androidx.appcompat.app.AppCompatActivity +import androidx.core.app.ActivityCompat +import androidx.core.app.NotificationCompat +import androidx.core.app.NotificationManagerCompat +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.documentfile.provider.DocumentFile +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.navigation.fragment.findNavController +import androidx.recyclerview.widget.LinearLayoutManager +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.google.android.material.transition.MaterialSharedAxis +import org.yuzu.yuzu_emu.BuildConfig +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.adapters.HomeSettingAdapter +import org.yuzu.yuzu_emu.databinding.FragmentHomeSettingsBinding +import org.yuzu.yuzu_emu.features.DocumentProvider +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.model.HomeSetting +import org.yuzu.yuzu_emu.model.HomeViewModel +import org.yuzu.yuzu_emu.ui.main.MainActivity +import org.yuzu.yuzu_emu.utils.FileUtil +import org.yuzu.yuzu_emu.utils.GpuDriverHelper + +class HomeSettingsFragment : Fragment() { + private var _binding: FragmentHomeSettingsBinding? = null + private val binding get() = _binding!! + + private lateinit var mainActivity: MainActivity + + private val homeViewModel: HomeViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentHomeSettingsBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + mainActivity = requireActivity() as MainActivity + + val optionsList: MutableList = mutableListOf().apply { + add( + HomeSetting( + R.string.advanced_settings, + R.string.settings_description, + R.drawable.ic_settings + ) { SettingsActivity.launch(requireContext(), SettingsFile.FILE_NAME_CONFIG, "") } + ) + add( + HomeSetting( + R.string.open_user_folder, + R.string.open_user_folder_description, + R.drawable.ic_folder_open + ) { openFileManager() } + ) + add( + HomeSetting( + R.string.preferences_theme, + R.string.theme_and_color_description, + R.drawable.ic_palette + ) { SettingsActivity.launch(requireContext(), Settings.SECTION_THEME, "") } + ) + + if (GpuDriverHelper.supportsCustomDriverLoading()) { + add( + HomeSetting( + R.string.install_gpu_driver, + R.string.install_gpu_driver_description, + R.drawable.ic_exit + ) { driverInstaller() } + ) + } + + add( + HomeSetting( + R.string.install_amiibo_keys, + R.string.install_amiibo_keys_description, + R.drawable.ic_nfc + ) { mainActivity.getAmiiboKey.launch(arrayOf("*/*")) } + ) + add( + HomeSetting( + R.string.install_game_content, + R.string.install_game_content_description, + R.drawable.ic_system_update_alt + ) { mainActivity.installGameUpdate.launch(arrayOf("*/*")) } + ) + add( + HomeSetting( + R.string.select_games_folder, + R.string.select_games_folder_description, + R.drawable.ic_add + ) { + mainActivity.getGamesDirectory.launch( + Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).data + ) + } + ) + add( + HomeSetting( + R.string.manage_save_data, + R.string.import_export_saves_description, + R.drawable.ic_save + ) { + ImportExportSavesFragment().show( + parentFragmentManager, + ImportExportSavesFragment.TAG + ) + } + ) + add( + HomeSetting( + R.string.install_prod_keys, + R.string.install_prod_keys_description, + R.drawable.ic_unlock + ) { mainActivity.getProdKey.launch(arrayOf("*/*")) } + ) + add( + HomeSetting( + R.string.install_firmware, + R.string.install_firmware_description, + R.drawable.ic_firmware + ) { mainActivity.getFirmware.launch(arrayOf("application/zip")) } + ) + add( + HomeSetting( + R.string.share_log, + R.string.share_log_description, + R.drawable.ic_log + ) { shareLog() } + ) + add( + HomeSetting( + R.string.about, + R.string.about_description, + R.drawable.ic_info_outline + ) { + exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + parentFragmentManager.primaryNavigationFragment?.findNavController() + ?.navigate(R.id.action_homeSettingsFragment_to_aboutFragment) + } + ) + } + + if (!BuildConfig.PREMIUM) { + optionsList.add( + 0, + HomeSetting( + R.string.get_early_access, + R.string.get_early_access_description, + R.drawable.ic_diamond + ) { + exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + parentFragmentManager.primaryNavigationFragment?.findNavController() + ?.navigate(R.id.action_homeSettingsFragment_to_earlyAccessFragment) + } + ) + } + + binding.homeSettingsList.apply { + layoutManager = LinearLayoutManager(requireContext()) + adapter = HomeSettingAdapter(requireActivity() as AppCompatActivity, optionsList) + } + + setInsets() + } + + override fun onStart() { + super.onStart() + exitTransition = null + homeViewModel.setNavigationVisibility(visible = true, animated = true) + homeViewModel.setStatusBarShadeVisibility(visible = true) + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + private fun openFileManager() { + // First, try to open the user data folder directly + try { + startActivity(getFileManagerIntentOnDocumentProvider(Intent.ACTION_VIEW)) + return + } catch (_: ActivityNotFoundException) { + } + + try { + startActivity(getFileManagerIntentOnDocumentProvider("android.provider.action.BROWSE")) + return + } catch (_: ActivityNotFoundException) { + } + + // Just try to open the file manager, try the package name used on "normal" phones + try { + startActivity(getFileManagerIntent("com.google.android.documentsui")) + showNoLinkNotification() + return + } catch (_: ActivityNotFoundException) { + } + + try { + // Next, try the AOSP package name + startActivity(getFileManagerIntent("com.android.documentsui")) + showNoLinkNotification() + return + } catch (_: ActivityNotFoundException) { + } + + Toast.makeText( + requireContext(), + resources.getString(R.string.no_file_manager), + Toast.LENGTH_LONG + ).show() + } + + private fun getFileManagerIntent(packageName: String): Intent { + // Fragile, but some phones don't expose the system file manager in any better way + val intent = Intent(Intent.ACTION_MAIN) + intent.setClassName(packageName, "com.android.documentsui.files.FilesActivity") + intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK + return intent + } + + private fun getFileManagerIntentOnDocumentProvider(action: String): Intent { + val authority = "${requireContext().packageName}.user" + val intent = Intent(action) + intent.addCategory(Intent.CATEGORY_DEFAULT) + intent.data = DocumentsContract.buildRootUri(authority, DocumentProvider.ROOT_ID) + intent.addFlags( + Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION or + Intent.FLAG_GRANT_PREFIX_URI_PERMISSION or + Intent.FLAG_GRANT_WRITE_URI_PERMISSION + ) + return intent + } + + private fun showNoLinkNotification() { + val builder = NotificationCompat.Builder( + requireContext(), + getString(R.string.notice_notification_channel_id) + ) + .setSmallIcon(R.drawable.ic_stat_notification_logo) + .setContentTitle(getString(R.string.notification_no_directory_link)) + .setContentText(getString(R.string.notification_no_directory_link_description)) + .setPriority(NotificationCompat.PRIORITY_HIGH) + .setAutoCancel(true) + // TODO: Make the click action for this notification lead to a help article + + with(NotificationManagerCompat.from(requireContext())) { + if (ActivityCompat.checkSelfPermission( + requireContext(), + Manifest.permission.POST_NOTIFICATIONS + ) != PackageManager.PERMISSION_GRANTED + ) { + Toast.makeText( + requireContext(), + resources.getString(R.string.notification_permission_not_granted), + Toast.LENGTH_LONG + ).show() + return + } + notify(0, builder.build()) + } + } + + private fun driverInstaller() { + // Get the driver name for the dialog message. + var driverName = GpuDriverHelper.customDriverName + if (driverName == null) { + driverName = getString(R.string.system_gpu_driver) + } + + MaterialAlertDialogBuilder(requireContext()) + .setTitle(getString(R.string.select_gpu_driver_title)) + .setMessage(driverName) + .setNegativeButton(android.R.string.cancel, null) + .setNeutralButton(R.string.select_gpu_driver_default) { _: DialogInterface?, _: Int -> + GpuDriverHelper.installDefaultDriver(requireContext()) + Toast.makeText( + requireContext(), + R.string.select_gpu_driver_use_default, + Toast.LENGTH_SHORT + ).show() + } + .setPositiveButton(R.string.select_gpu_driver_install) { _: DialogInterface?, _: Int -> + mainActivity.getDriver.launch(arrayOf("application/zip")) + } + .show() + } + + private fun shareLog() { + val file = DocumentFile.fromSingleUri( + mainActivity, + DocumentsContract.buildDocumentUri( + DocumentProvider.AUTHORITY, + "${DocumentProvider.ROOT_ID}/log/yuzu_log.txt" + ) + )!! + if (file.exists()) { + val intent = Intent(Intent.ACTION_SEND) + .setDataAndType(file.uri, FileUtil.TEXT_PLAIN) + .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) + .putExtra(Intent.EXTRA_STREAM, file.uri) + startActivity(Intent.createChooser(intent, getText(R.string.share_log))) + } else { + Toast.makeText( + requireContext(), + getText(R.string.share_log_missing), + Toast.LENGTH_SHORT + ).show() + } + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + val spacingNavigation = resources.getDimensionPixelSize(R.dimen.spacing_navigation) + val spacingNavigationRail = + resources.getDimensionPixelSize(R.dimen.spacing_navigation_rail) + + val leftInsets = barInsets.left + cutoutInsets.left + val rightInsets = barInsets.right + cutoutInsets.right + + binding.scrollViewSettings.updatePadding( + top = barInsets.top, + bottom = barInsets.bottom + ) + + val mlpScrollSettings = binding.scrollViewSettings.layoutParams as MarginLayoutParams + mlpScrollSettings.leftMargin = leftInsets + mlpScrollSettings.rightMargin = rightInsets + binding.scrollViewSettings.layoutParams = mlpScrollSettings + + binding.linearLayoutSettings.updatePadding(bottom = spacingNavigation) + + if (ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_LTR) { + binding.linearLayoutSettings.updatePadding(left = spacingNavigationRail) + } else { + binding.linearLayoutSettings.updatePadding(right = spacingNavigationRail) + } + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt new file mode 100644 index 000000000..e1495ee8c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt @@ -0,0 +1,213 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import android.provider.DocumentsContract +import android.widget.Toast +import androidx.activity.result.ActivityResultLauncher +import androidx.activity.result.contract.ActivityResultContracts +import androidx.appcompat.app.AppCompatActivity +import androidx.documentfile.provider.DocumentFile +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import java.io.BufferedOutputStream +import java.io.File +import java.io.FileOutputStream +import java.io.FilenameFilter +import java.time.LocalDateTime +import java.time.format.DateTimeFormatter +import java.util.zip.ZipEntry +import java.util.zip.ZipOutputStream +import kotlinx.coroutines.CoroutineScope +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.launch +import kotlinx.coroutines.withContext +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.DocumentProvider +import org.yuzu.yuzu_emu.getPublicFilesDir +import org.yuzu.yuzu_emu.utils.FileUtil + +class ImportExportSavesFragment : DialogFragment() { + private val context = YuzuApplication.appContext + private val savesFolder = + "${context.getPublicFilesDir().canonicalPath}/nand/user/save/0000000000000000" + + // Get first subfolder in saves folder (should be the user folder) + private val savesFolderRoot = File(savesFolder).listFiles()?.firstOrNull()?.canonicalPath ?: "" + private var lastZipCreated: File? = null + + private lateinit var startForResultExportSave: ActivityResultLauncher + private lateinit var documentPicker: ActivityResultLauncher> + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + val activity = requireActivity() as AppCompatActivity + + val activityResultRegistry = requireActivity().activityResultRegistry + startForResultExportSave = activityResultRegistry.register( + "startForResultExportSaveKey", + ActivityResultContracts.StartActivityForResult() + ) { + File(context.getPublicFilesDir().canonicalPath, "temp").deleteRecursively() + } + documentPicker = activityResultRegistry.register( + "documentPickerKey", + ActivityResultContracts.OpenDocument() + ) { + it?.let { uri -> importSave(uri, activity) } + } + } + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + return if (savesFolderRoot == "") { + MaterialAlertDialogBuilder(requireContext()) + .setTitle(R.string.manage_save_data) + .setMessage(R.string.import_export_saves_no_profile) + .setPositiveButton(android.R.string.ok, null) + .show() + } else { + MaterialAlertDialogBuilder(requireContext()) + .setTitle(R.string.manage_save_data) + .setMessage(R.string.manage_save_data_description) + .setNegativeButton(R.string.export_saves) { _, _ -> + exportSave() + } + .setPositiveButton(R.string.import_saves) { _, _ -> + documentPicker.launch(arrayOf("application/zip")) + } + .setNeutralButton(android.R.string.cancel, null) + .show() + } + } + + /** + * Zips the save files located in the given folder path and creates a new zip file with the current date and time. + * @return true if the zip file is successfully created, false otherwise. + */ + private fun zipSave(): Boolean { + try { + val tempFolder = File(requireContext().getPublicFilesDir().canonicalPath, "temp") + tempFolder.mkdirs() + val saveFolder = File(savesFolderRoot) + val outputZipFile = File( + tempFolder, + "yuzu saves - ${ + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + }.zip" + ) + outputZipFile.createNewFile() + ZipOutputStream(BufferedOutputStream(FileOutputStream(outputZipFile))).use { zos -> + saveFolder.walkTopDown().forEach { file -> + val zipFileName = + file.absolutePath.removePrefix(savesFolderRoot).removePrefix("/") + if (zipFileName == "") { + return@forEach + } + val entry = ZipEntry("$zipFileName${(if (file.isDirectory) "/" else "")}") + zos.putNextEntry(entry) + if (file.isFile) { + file.inputStream().use { fis -> fis.copyTo(zos) } + } + } + } + lastZipCreated = outputZipFile + } catch (e: Exception) { + return false + } + return true + } + + /** + * Exports the save file located in the given folder path by creating a zip file and sharing it via intent. + */ + private fun exportSave() { + CoroutineScope(Dispatchers.IO).launch { + val wasZipCreated = zipSave() + val lastZipFile = lastZipCreated + if (!wasZipCreated || lastZipFile == null) { + withContext(Dispatchers.Main) { + Toast.makeText(context, "Failed to export save", Toast.LENGTH_LONG).show() + } + return@launch + } + + withContext(Dispatchers.Main) { + val file = DocumentFile.fromSingleUri( + context, + DocumentsContract.buildDocumentUri( + DocumentProvider.AUTHORITY, + "${DocumentProvider.ROOT_ID}/temp/${lastZipFile.name}" + ) + )!! + val intent = Intent(Intent.ACTION_SEND) + .setDataAndType(file.uri, "application/zip") + .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) + .putExtra(Intent.EXTRA_STREAM, file.uri) + startForResultExportSave.launch(Intent.createChooser(intent, "Share save file")) + } + } + } + + /** + * Imports the save files contained in the zip file, and replaces any existing ones with the new save file. + * @param zipUri The Uri of the zip file containing the save file(s) to import. + */ + private fun importSave(zipUri: Uri, activity: AppCompatActivity) { + val inputZip = context.contentResolver.openInputStream(zipUri) + // A zip needs to have at least one subfolder named after a TitleId in order to be considered valid. + var validZip = false + val savesFolder = File(savesFolderRoot) + val cacheSaveDir = File("${context.cacheDir.path}/saves/") + cacheSaveDir.mkdir() + + if (inputZip == null) { + Toast.makeText(context, context.getString(R.string.fatal_error), Toast.LENGTH_LONG) + .show() + return + } + + val filterTitleId = + FilenameFilter { _, dirName -> dirName.matches(Regex("^0100[\\dA-Fa-f]{12}$")) } + + try { + CoroutineScope(Dispatchers.IO).launch { + FileUtil.unzip(inputZip, cacheSaveDir) + cacheSaveDir.list(filterTitleId)?.forEach { savePath -> + File(savesFolder, savePath).deleteRecursively() + File(cacheSaveDir, savePath).copyRecursively(File(savesFolder, savePath), true) + validZip = true + } + + withContext(Dispatchers.Main) { + if (!validZip) { + MessageDialogFragment.newInstance( + R.string.save_file_invalid_zip_structure, + R.string.save_file_invalid_zip_structure_description + ).show(activity.supportFragmentManager, MessageDialogFragment.TAG) + return@withContext + } + Toast.makeText( + context, + context.getString(R.string.save_file_imported_success), + Toast.LENGTH_LONG + ).show() + } + + cacheSaveDir.deleteRecursively() + } + } catch (e: Exception) { + Toast.makeText(context, context.getString(R.string.fatal_error), Toast.LENGTH_LONG) + .show() + } + } + + companion object { + const val TAG = "ImportExportSavesFragment" + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt new file mode 100644 index 000000000..739b26f99 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.os.Bundle +import android.widget.Toast +import androidx.appcompat.app.AppCompatActivity +import androidx.fragment.app.DialogFragment +import androidx.fragment.app.activityViewModels +import androidx.lifecycle.ViewModelProvider +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding +import org.yuzu.yuzu_emu.model.TaskViewModel + +class IndeterminateProgressDialogFragment : DialogFragment() { + private val taskViewModel: TaskViewModel by activityViewModels() + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val titleId = requireArguments().getInt(TITLE) + + val progressBinding = DialogProgressBarBinding.inflate(layoutInflater) + progressBinding.progressBar.isIndeterminate = true + val dialog = MaterialAlertDialogBuilder(requireContext()) + .setTitle(titleId) + .setView(progressBinding.root) + .create() + dialog.setCanceledOnTouchOutside(false) + + taskViewModel.isComplete.observe(this) { complete -> + if (complete) { + dialog.dismiss() + when (val result = taskViewModel.result.value) { + is String -> Toast.makeText(requireContext(), result, Toast.LENGTH_LONG).show() + is MessageDialogFragment -> result.show( + parentFragmentManager, + MessageDialogFragment.TAG + ) + } + taskViewModel.clear() + } + } + + if (taskViewModel.isRunning.value == false) { + taskViewModel.runTask() + } + return dialog + } + + companion object { + const val TAG = "IndeterminateProgressDialogFragment" + + private const val TITLE = "Title" + + fun newInstance( + activity: AppCompatActivity, + titleId: Int, + task: () -> Any + ): IndeterminateProgressDialogFragment { + val dialog = IndeterminateProgressDialogFragment() + val args = Bundle() + ViewModelProvider(activity)[TaskViewModel::class.java].task = task + args.putInt(TITLE, titleId) + dialog.arguments = args + return dialog + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicenseBottomSheetDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicenseBottomSheetDialogFragment.kt new file mode 100644 index 000000000..78419191c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicenseBottomSheetDialogFragment.kt @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import com.google.android.material.bottomsheet.BottomSheetBehavior +import com.google.android.material.bottomsheet.BottomSheetDialogFragment +import org.yuzu.yuzu_emu.databinding.DialogLicenseBinding +import org.yuzu.yuzu_emu.model.License +import org.yuzu.yuzu_emu.utils.SerializableHelper.parcelable + +class LicenseBottomSheetDialogFragment : BottomSheetDialogFragment() { + private var _binding: DialogLicenseBinding? = null + private val binding get() = _binding!! + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = DialogLicenseBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + BottomSheetBehavior.from(view.parent as View).state = + BottomSheetBehavior.STATE_HALF_EXPANDED + + val license = requireArguments().parcelable(LICENSE)!! + + binding.apply { + textTitle.setText(license.titleId) + textLink.setText(license.linkId) + textCopyright.setText(license.copyrightId) + textLicense.setText(license.licenseId) + } + } + + companion object { + const val TAG = "LicenseBottomSheetDialogFragment" + + const val LICENSE = "License" + + fun newInstance( + license: License + ): LicenseBottomSheetDialogFragment { + val dialog = LicenseBottomSheetDialogFragment() + val bundle = Bundle() + bundle.putParcelable(LICENSE, license) + dialog.arguments = bundle + return dialog + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicensesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicensesFragment.kt new file mode 100644 index 000000000..b6e9129f7 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LicensesFragment.kt @@ -0,0 +1,139 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.ViewGroup.MarginLayoutParams +import androidx.appcompat.app.AppCompatActivity +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.navigation.findNavController +import androidx.recyclerview.widget.LinearLayoutManager +import com.google.android.material.transition.MaterialSharedAxis +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.adapters.LicenseAdapter +import org.yuzu.yuzu_emu.databinding.FragmentLicensesBinding +import org.yuzu.yuzu_emu.model.HomeViewModel +import org.yuzu.yuzu_emu.model.License + +class LicensesFragment : Fragment() { + private var _binding: FragmentLicensesBinding? = null + private val binding get() = _binding!! + + private val homeViewModel: HomeViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enterTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + returnTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentLicensesBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + homeViewModel.setNavigationVisibility(visible = false, animated = true) + homeViewModel.setStatusBarShadeVisibility(visible = false) + + binding.toolbarLicenses.setNavigationOnClickListener { + binding.root.findNavController().popBackStack() + } + + val licenses = listOf( + License( + R.string.license_fidelityfx_fsr, + R.string.license_fidelityfx_fsr_description, + R.string.license_fidelityfx_fsr_link, + R.string.license_fidelityfx_fsr_copyright, + R.string.license_fidelityfx_fsr_text + ), + License( + R.string.license_cubeb, + R.string.license_cubeb_description, + R.string.license_cubeb_link, + R.string.license_cubeb_copyright, + R.string.license_cubeb_text + ), + License( + R.string.license_dynarmic, + R.string.license_dynarmic_description, + R.string.license_dynarmic_link, + R.string.license_dynarmic_copyright, + R.string.license_dynarmic_text + ), + License( + R.string.license_ffmpeg, + R.string.license_ffmpeg_description, + R.string.license_ffmpeg_link, + R.string.license_ffmpeg_copyright, + R.string.license_ffmpeg_text + ), + License( + R.string.license_opus, + R.string.license_opus_description, + R.string.license_opus_link, + R.string.license_opus_copyright, + R.string.license_opus_text + ), + License( + R.string.license_sirit, + R.string.license_sirit_description, + R.string.license_sirit_link, + R.string.license_sirit_copyright, + R.string.license_sirit_text + ), + License( + R.string.license_adreno_tools, + R.string.license_adreno_tools_description, + R.string.license_adreno_tools_link, + R.string.license_adreno_tools_copyright, + R.string.license_adreno_tools_text + ) + ) + + binding.listLicenses.apply { + layoutManager = LinearLayoutManager(requireContext()) + adapter = LicenseAdapter(requireActivity() as AppCompatActivity, licenses) + } + + setInsets() + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { _: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + + val leftInsets = barInsets.left + cutoutInsets.left + val rightInsets = barInsets.right + cutoutInsets.right + + val mlpAppBar = binding.appbarLicenses.layoutParams as MarginLayoutParams + mlpAppBar.leftMargin = leftInsets + mlpAppBar.rightMargin = rightInsets + binding.appbarLicenses.layoutParams = mlpAppBar + + val mlpScrollAbout = binding.listLicenses.layoutParams as MarginLayoutParams + mlpScrollAbout.leftMargin = leftInsets + mlpScrollAbout.rightMargin = rightInsets + binding.listLicenses.layoutParams = mlpScrollAbout + + binding.listLicenses.updatePadding(bottom = barInsets.bottom) + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt new file mode 100644 index 000000000..b29b627e9 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R + +class LongMessageDialogFragment : DialogFragment() { + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val titleId = requireArguments().getInt(TITLE) + val description = requireArguments().getString(DESCRIPTION) + val helpLinkId = requireArguments().getInt(HELP_LINK) + + val dialog = MaterialAlertDialogBuilder(requireContext()) + .setPositiveButton(R.string.close, null) + .setTitle(titleId) + .setMessage(description) + + if (helpLinkId != 0) { + dialog.setNeutralButton(R.string.learn_more) { _, _ -> + openLink(getString(helpLinkId)) + } + } + + return dialog.show() + } + + private fun openLink(link: String) { + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link)) + startActivity(intent) + } + + companion object { + const val TAG = "LongMessageDialogFragment" + + private const val TITLE = "Title" + private const val DESCRIPTION = "Description" + private const val HELP_LINK = "Link" + + fun newInstance( + titleId: Int, + description: String, + helpLinkId: Int = 0 + ): LongMessageDialogFragment { + val dialog = LongMessageDialogFragment() + val bundle = Bundle() + bundle.apply { + putInt(TITLE, titleId) + putString(DESCRIPTION, description) + putInt(HELP_LINK, helpLinkId) + } + dialog.arguments = bundle + return dialog + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt new file mode 100644 index 000000000..2db38fdc2 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R + +class MessageDialogFragment : DialogFragment() { + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val titleId = requireArguments().getInt(TITLE) + val descriptionId = requireArguments().getInt(DESCRIPTION) + val helpLinkId = requireArguments().getInt(HELP_LINK) + + val dialog = MaterialAlertDialogBuilder(requireContext()) + .setPositiveButton(R.string.close, null) + .setTitle(titleId) + .setMessage(descriptionId) + + if (helpLinkId != 0) { + dialog.setNeutralButton(R.string.learn_more) { _, _ -> + openLink(getString(helpLinkId)) + } + } + + return dialog.show() + } + + private fun openLink(link: String) { + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link)) + startActivity(intent) + } + + companion object { + const val TAG = "MessageDialogFragment" + + private const val TITLE = "Title" + private const val DESCRIPTION = "Description" + private const val HELP_LINK = "Link" + + fun newInstance( + titleId: Int, + descriptionId: Int, + helpLinkId: Int = 0 + ): MessageDialogFragment { + val dialog = MessageDialogFragment() + val bundle = Bundle() + bundle.apply { + putInt(TITLE, titleId) + putInt(DESCRIPTION, descriptionId) + putInt(HELP_LINK, helpLinkId) + } + dialog.arguments = bundle + return dialog + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/PermissionDeniedDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/PermissionDeniedDialogFragment.kt new file mode 100644 index 000000000..3478b9250 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/PermissionDeniedDialogFragment.kt @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.content.DialogInterface +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import android.provider.Settings +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R + +class PermissionDeniedDialogFragment : DialogFragment() { + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + return MaterialAlertDialogBuilder(requireContext()) + .setPositiveButton(R.string.home_settings) { _: DialogInterface?, _: Int -> + openSettings() + } + .setNegativeButton(android.R.string.cancel, null) + .setTitle(R.string.permission_denied) + .setMessage(R.string.permission_denied_description) + .show() + } + + private fun openSettings() { + val intent = Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) + val uri = Uri.fromParts("package", requireActivity().packageName, null) + intent.data = uri + startActivity(intent) + } + + companion object { + const val TAG = "PermissionDeniedDialogFragment" + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ResetSettingsDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ResetSettingsDialogFragment.kt new file mode 100644 index 000000000..1b4b93ab8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ResetSettingsDialogFragment.kt @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.os.Bundle +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity + +class ResetSettingsDialogFragment : DialogFragment() { + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val settingsActivity = requireActivity() as SettingsActivity + + return MaterialAlertDialogBuilder(requireContext()) + .setTitle(R.string.reset_all_settings) + .setMessage(R.string.reset_all_settings_description) + .setPositiveButton(android.R.string.ok) { _, _ -> + settingsActivity.onSettingsReset() + } + .setNegativeButton(android.R.string.cancel, null) + .show() + } + + companion object { + const val TAG = "ResetSettingsDialogFragment" + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt new file mode 100644 index 000000000..f54dccc69 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt @@ -0,0 +1,227 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.content.Context +import android.content.SharedPreferences +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.inputmethod.InputMethodManager +import androidx.appcompat.app.AppCompatActivity +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.core.widget.doOnTextChanged +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.preference.PreferenceManager +import info.debatty.java.stringsimilarity.Jaccard +import info.debatty.java.stringsimilarity.JaroWinkler +import java.util.Locale +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.adapters.GameAdapter +import org.yuzu.yuzu_emu.databinding.FragmentSearchBinding +import org.yuzu.yuzu_emu.layout.AutofitGridLayoutManager +import org.yuzu.yuzu_emu.model.Game +import org.yuzu.yuzu_emu.model.GamesViewModel +import org.yuzu.yuzu_emu.model.HomeViewModel + +class SearchFragment : Fragment() { + private var _binding: FragmentSearchBinding? = null + private val binding get() = _binding!! + + private val gamesViewModel: GamesViewModel by activityViewModels() + private val homeViewModel: HomeViewModel by activityViewModels() + + private lateinit var preferences: SharedPreferences + + companion object { + private const val SEARCH_TEXT = "SearchText" + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentSearchBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + homeViewModel.setNavigationVisibility(visible = true, animated = false) + preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + if (savedInstanceState != null) { + binding.searchText.setText(savedInstanceState.getString(SEARCH_TEXT)) + } + + binding.gridGamesSearch.apply { + layoutManager = AutofitGridLayoutManager( + requireContext(), + requireContext().resources.getDimensionPixelSize(R.dimen.card_width) + ) + adapter = GameAdapter(requireActivity() as AppCompatActivity) + } + + binding.chipGroup.setOnCheckedStateChangeListener { _, _ -> filterAndSearch() } + + binding.searchText.doOnTextChanged { text: CharSequence?, _: Int, _: Int, _: Int -> + if (text.toString().isNotEmpty()) { + binding.clearButton.visibility = View.VISIBLE + } else { + binding.clearButton.visibility = View.INVISIBLE + } + filterAndSearch() + } + + gamesViewModel.apply { + searchFocused.observe(viewLifecycleOwner) { searchFocused -> + if (searchFocused) { + focusSearch() + gamesViewModel.setSearchFocused(false) + } + } + + games.observe(viewLifecycleOwner) { filterAndSearch() } + searchedGames.observe(viewLifecycleOwner) { + (binding.gridGamesSearch.adapter as GameAdapter).submitList(it) + if (it.isEmpty()) { + binding.noResultsView.visibility = View.VISIBLE + } else { + binding.noResultsView.visibility = View.GONE + } + } + } + + binding.clearButton.setOnClickListener { binding.searchText.setText("") } + + binding.searchBackground.setOnClickListener { focusSearch() } + + setInsets() + filterAndSearch() + } + + private inner class ScoredGame(val score: Double, val item: Game) + + private fun filterAndSearch() { + val baseList = gamesViewModel.games.value!! + val filteredList: List = when (binding.chipGroup.checkedChipId) { + R.id.chip_recently_played -> { + baseList.filter { + val lastPlayedTime = preferences.getLong(it.keyLastPlayedTime, 0L) + lastPlayedTime > (System.currentTimeMillis() - 24 * 60 * 60 * 1000) + } + } + + R.id.chip_recently_added -> { + baseList.filter { + val addedTime = preferences.getLong(it.keyAddedToLibraryTime, 0L) + addedTime > (System.currentTimeMillis() - 24 * 60 * 60 * 1000) + } + } + + R.id.chip_homebrew -> baseList.filter { it.isHomebrew } + + R.id.chip_retail -> baseList.filter { !it.isHomebrew } + + else -> baseList + } + + if (binding.searchText.text.toString().isEmpty() && + binding.chipGroup.checkedChipId != View.NO_ID + ) { + gamesViewModel.setSearchedGames(filteredList) + return + } + + val searchTerm = binding.searchText.text.toString().lowercase(Locale.getDefault()) + val searchAlgorithm = if (searchTerm.length > 1) Jaccard(2) else JaroWinkler() + val sortedList: List = filteredList.mapNotNull { game -> + val title = game.title.lowercase(Locale.getDefault()) + val score = searchAlgorithm.similarity(searchTerm, title) + if (score > 0.03) { + ScoredGame(score, game) + } else { + null + } + }.sortedByDescending { it.score }.map { it.item } + gamesViewModel.setSearchedGames(sortedList) + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + override fun onSaveInstanceState(outState: Bundle) { + super.onSaveInstanceState(outState) + if (_binding != null) { + outState.putString(SEARCH_TEXT, binding.searchText.text.toString()) + } + } + + private fun focusSearch() { + if (_binding != null) { + binding.searchText.requestFocus() + val imm = requireActivity() + .getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager? + imm?.showSoftInput(binding.searchText, InputMethodManager.SHOW_IMPLICIT) + } + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + val extraListSpacing = resources.getDimensionPixelSize(R.dimen.spacing_med) + val spacingNavigation = resources.getDimensionPixelSize(R.dimen.spacing_navigation) + val spacingNavigationRail = + resources.getDimensionPixelSize(R.dimen.spacing_navigation_rail) + val chipSpacing = resources.getDimensionPixelSize(R.dimen.spacing_chip) + + binding.constraintSearch.updatePadding( + left = barInsets.left + cutoutInsets.left, + top = barInsets.top, + right = barInsets.right + cutoutInsets.right + ) + + binding.gridGamesSearch.updatePadding( + top = extraListSpacing, + bottom = barInsets.bottom + spacingNavigation + extraListSpacing + ) + binding.noResultsView.updatePadding(bottom = spacingNavigation + barInsets.bottom) + + val mlpDivider = binding.divider.layoutParams as ViewGroup.MarginLayoutParams + if (ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_LTR) { + binding.frameSearch.updatePadding(left = spacingNavigationRail) + binding.gridGamesSearch.updatePadding(left = spacingNavigationRail) + binding.noResultsView.updatePadding(left = spacingNavigationRail) + binding.chipGroup.updatePadding( + left = chipSpacing + spacingNavigationRail, + right = chipSpacing + ) + mlpDivider.leftMargin = chipSpacing + spacingNavigationRail + mlpDivider.rightMargin = chipSpacing + } else { + binding.frameSearch.updatePadding(right = spacingNavigationRail) + binding.gridGamesSearch.updatePadding(right = spacingNavigationRail) + binding.noResultsView.updatePadding(right = spacingNavigationRail) + binding.chipGroup.updatePadding( + left = chipSpacing, + right = chipSpacing + spacingNavigationRail + ) + mlpDivider.leftMargin = chipSpacing + mlpDivider.rightMargin = chipSpacing + spacingNavigationRail + } + binding.divider.layoutParams = mlpDivider + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt new file mode 100644 index 000000000..6c4ddaf6b --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt @@ -0,0 +1,340 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.Manifest +import android.content.Intent +import android.os.Build +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.activity.OnBackPressedCallback +import androidx.activity.result.contract.ActivityResultContracts +import androidx.annotation.RequiresApi +import androidx.appcompat.app.AppCompatActivity +import androidx.core.app.NotificationManagerCompat +import androidx.core.content.ContextCompat +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.isVisible +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.navigation.findNavController +import androidx.preference.PreferenceManager +import androidx.viewpager2.widget.ViewPager2.OnPageChangeCallback +import com.google.android.material.transition.MaterialFadeThrough +import java.io.File +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.adapters.SetupAdapter +import org.yuzu.yuzu_emu.databinding.FragmentSetupBinding +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.model.HomeViewModel +import org.yuzu.yuzu_emu.model.SetupPage +import org.yuzu.yuzu_emu.ui.main.MainActivity +import org.yuzu.yuzu_emu.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.GameHelper + +class SetupFragment : Fragment() { + private var _binding: FragmentSetupBinding? = null + private val binding get() = _binding!! + + private val homeViewModel: HomeViewModel by activityViewModels() + + private lateinit var mainActivity: MainActivity + + private lateinit var hasBeenWarned: BooleanArray + + companion object { + const val KEY_NEXT_VISIBILITY = "NextButtonVisibility" + const val KEY_BACK_VISIBILITY = "BackButtonVisibility" + const val KEY_HAS_BEEN_WARNED = "HasBeenWarned" + } + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + exitTransition = MaterialFadeThrough() + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentSetupBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + mainActivity = requireActivity() as MainActivity + + homeViewModel.setNavigationVisibility(visible = false, animated = false) + + requireActivity().onBackPressedDispatcher.addCallback( + viewLifecycleOwner, + object : OnBackPressedCallback(true) { + override fun handleOnBackPressed() { + if (binding.viewPager2.currentItem > 0) { + pageBackward() + } else { + requireActivity().finish() + } + } + } + ) + + requireActivity().window.navigationBarColor = + ContextCompat.getColor(requireContext(), android.R.color.transparent) + + val pages = mutableListOf() + pages.apply { + add( + SetupPage( + R.drawable.ic_yuzu_title, + R.string.welcome, + R.string.welcome_description, + 0, + true, + R.string.get_started, + { pageForward() }, + false + ) + ) + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + add( + SetupPage( + R.drawable.ic_notification, + R.string.notifications, + R.string.notifications_description, + 0, + false, + R.string.give_permission, + { permissionLauncher.launch(Manifest.permission.POST_NOTIFICATIONS) }, + true, + R.string.notification_warning, + R.string.notification_warning_description, + 0, + { + NotificationManagerCompat.from(requireContext()) + .areNotificationsEnabled() + } + ) + ) + } + + add( + SetupPage( + R.drawable.ic_key, + R.string.keys, + R.string.keys_description, + R.drawable.ic_add, + true, + R.string.select_keys, + { mainActivity.getProdKey.launch(arrayOf("*/*")) }, + true, + R.string.install_prod_keys_warning, + R.string.install_prod_keys_warning_description, + R.string.install_prod_keys_warning_help, + { File(DirectoryInitialization.userDirectory + "/keys/prod.keys").exists() } + ) + ) + add( + SetupPage( + R.drawable.ic_controller, + R.string.games, + R.string.games_description, + R.drawable.ic_add, + true, + R.string.add_games, + { + mainActivity.getGamesDirectory.launch( + Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).data + ) + }, + true, + R.string.add_games_warning, + R.string.add_games_warning_description, + R.string.add_games_warning_help, + { + val preferences = + PreferenceManager.getDefaultSharedPreferences( + YuzuApplication.appContext + ) + preferences.getString(GameHelper.KEY_GAME_PATH, "")!!.isNotEmpty() + } + ) + ) + add( + SetupPage( + R.drawable.ic_check, + R.string.done, + R.string.done_description, + R.drawable.ic_arrow_forward, + false, + R.string.text_continue, + { finishSetup() }, + false + ) + ) + } + + binding.viewPager2.apply { + adapter = SetupAdapter(requireActivity() as AppCompatActivity, pages) + offscreenPageLimit = 2 + isUserInputEnabled = false + } + + binding.viewPager2.registerOnPageChangeCallback(object : OnPageChangeCallback() { + var previousPosition: Int = 0 + + override fun onPageSelected(position: Int) { + super.onPageSelected(position) + + if (position == 1 && previousPosition == 0) { + showView(binding.buttonNext) + showView(binding.buttonBack) + } else if (position == 0 && previousPosition == 1) { + hideView(binding.buttonBack) + hideView(binding.buttonNext) + } else if (position == pages.size - 1 && previousPosition == pages.size - 2) { + hideView(binding.buttonNext) + } else if (position == pages.size - 2 && previousPosition == pages.size - 1) { + showView(binding.buttonNext) + } + + previousPosition = position + } + }) + + binding.buttonNext.setOnClickListener { + val index = binding.viewPager2.currentItem + val currentPage = pages[index] + + // Checks if the user has completed the task on the current page + if (currentPage.hasWarning) { + if (currentPage.taskCompleted.invoke()) { + pageForward() + return@setOnClickListener + } + + if (!hasBeenWarned[index]) { + SetupWarningDialogFragment.newInstance( + currentPage.warningTitleId, + currentPage.warningDescriptionId, + currentPage.warningHelpLinkId, + index + ).show(childFragmentManager, SetupWarningDialogFragment.TAG) + return@setOnClickListener + } + } + pageForward() + } + binding.buttonBack.setOnClickListener { pageBackward() } + + if (savedInstanceState != null) { + val nextIsVisible = savedInstanceState.getBoolean(KEY_NEXT_VISIBILITY) + val backIsVisible = savedInstanceState.getBoolean(KEY_BACK_VISIBILITY) + hasBeenWarned = savedInstanceState.getBooleanArray(KEY_HAS_BEEN_WARNED)!! + + if (nextIsVisible) { + binding.buttonNext.visibility = View.VISIBLE + } + if (backIsVisible) { + binding.buttonBack.visibility = View.VISIBLE + } + } else { + hasBeenWarned = BooleanArray(pages.size) + } + + setInsets() + } + + override fun onSaveInstanceState(outState: Bundle) { + super.onSaveInstanceState(outState) + outState.putBoolean(KEY_NEXT_VISIBILITY, binding.buttonNext.isVisible) + outState.putBoolean(KEY_BACK_VISIBILITY, binding.buttonBack.isVisible) + outState.putBooleanArray(KEY_HAS_BEEN_WARNED, hasBeenWarned) + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + @RequiresApi(Build.VERSION_CODES.TIRAMISU) + private val permissionLauncher = + registerForActivityResult(ActivityResultContracts.RequestPermission()) { + if (!it && + !shouldShowRequestPermissionRationale(Manifest.permission.POST_NOTIFICATIONS) + ) { + PermissionDeniedDialogFragment().show( + childFragmentManager, + PermissionDeniedDialogFragment.TAG + ) + } + } + + private fun finishSetup() { + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit() + .putBoolean(Settings.PREF_FIRST_APP_LAUNCH, false) + .apply() + mainActivity.finishSetup(binding.root.findNavController()) + } + + private fun showView(view: View) { + view.apply { + alpha = 0f + visibility = View.VISIBLE + isClickable = true + }.animate().apply { + duration = 300 + alpha(1f) + }.start() + } + + private fun hideView(view: View) { + if (view.visibility == View.INVISIBLE) { + return + } + + view.apply { + alpha = 1f + isClickable = false + }.animate().apply { + duration = 300 + alpha(0f) + }.withEndAction { + view.visibility = View.INVISIBLE + } + } + + fun pageForward() { + binding.viewPager2.currentItem = binding.viewPager2.currentItem + 1 + } + + fun pageBackward() { + binding.viewPager2.currentItem = binding.viewPager2.currentItem - 1 + } + + fun setPageWarned(page: Int) { + hasBeenWarned[page] = true + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + view.setPadding( + barInsets.left + cutoutInsets.left, + barInsets.top + cutoutInsets.top, + barInsets.right + cutoutInsets.right, + barInsets.bottom + cutoutInsets.bottom + ) + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupWarningDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupWarningDialogFragment.kt new file mode 100644 index 000000000..b2c1d54af --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupWarningDialogFragment.kt @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.fragments + +import android.app.Dialog +import android.content.DialogInterface +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import androidx.fragment.app.DialogFragment +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.yuzu.yuzu_emu.R + +class SetupWarningDialogFragment : DialogFragment() { + private var titleId: Int = 0 + private var descriptionId: Int = 0 + private var helpLinkId: Int = 0 + private var page: Int = 0 + + private lateinit var setupFragment: SetupFragment + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + titleId = requireArguments().getInt(TITLE) + descriptionId = requireArguments().getInt(DESCRIPTION) + helpLinkId = requireArguments().getInt(HELP_LINK) + page = requireArguments().getInt(PAGE) + + setupFragment = requireParentFragment() as SetupFragment + } + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val builder = MaterialAlertDialogBuilder(requireContext()) + .setPositiveButton(R.string.warning_skip) { _: DialogInterface?, _: Int -> + setupFragment.pageForward() + setupFragment.setPageWarned(page) + } + .setNegativeButton(R.string.warning_cancel, null) + + if (titleId != 0) { + builder.setTitle(titleId) + } else { + builder.setTitle("") + } + if (descriptionId != 0) { + builder.setMessage(descriptionId) + } + if (helpLinkId != 0) { + builder.setNeutralButton(R.string.warning_help) { _: DialogInterface?, _: Int -> + val helpLink = resources.getString(R.string.install_prod_keys_warning_help) + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(helpLink)) + startActivity(intent) + } + } + + return builder.show() + } + + companion object { + const val TAG = "SetupWarningDialogFragment" + + private const val TITLE = "Title" + private const val DESCRIPTION = "Description" + private const val HELP_LINK = "HelpLink" + private const val PAGE = "Page" + + fun newInstance( + titleId: Int, + descriptionId: Int, + helpLinkId: Int, + page: Int + ): SetupWarningDialogFragment { + val dialog = SetupWarningDialogFragment() + val bundle = Bundle() + bundle.apply { + putInt(TITLE, titleId) + putInt(DESCRIPTION, descriptionId) + putInt(HELP_LINK, helpLinkId) + putInt(PAGE, page) + } + dialog.arguments = bundle + return dialog + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/layout/AutofitGridLayoutManager.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/layout/AutofitGridLayoutManager.kt new file mode 100644 index 000000000..bdd6ea628 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/layout/AutofitGridLayoutManager.kt @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.layout + +import android.content.Context +import androidx.recyclerview.widget.GridLayoutManager +import androidx.recyclerview.widget.RecyclerView +import androidx.recyclerview.widget.RecyclerView.Recycler +import org.yuzu.yuzu_emu.R + +/** + * Cut down version of the solution provided here + * https://stackoverflow.com/questions/26666143/recyclerview-gridlayoutmanager-how-to-auto-detect-span-count + */ +class AutofitGridLayoutManager( + context: Context, + columnWidth: Int +) : GridLayoutManager(context, 1) { + private var columnWidth = 0 + private var isColumnWidthChanged = true + private var lastWidth = 0 + private var lastHeight = 0 + + init { + setColumnWidth(checkedColumnWidth(context, columnWidth)) + } + + private fun checkedColumnWidth(context: Context, columnWidth: Int): Int { + var newColumnWidth = columnWidth + if (newColumnWidth <= 0) { + newColumnWidth = context.resources.getDimensionPixelSize(R.dimen.spacing_xtralarge) + } + return newColumnWidth + } + + private fun setColumnWidth(newColumnWidth: Int) { + if (newColumnWidth > 0 && newColumnWidth != columnWidth) { + columnWidth = newColumnWidth + isColumnWidthChanged = true + } + } + + override fun onLayoutChildren(recycler: Recycler, state: RecyclerView.State) { + val width = width + val height = height + if (columnWidth > 0 && width > 0 && height > 0 && + (isColumnWidthChanged || lastWidth != width || lastHeight != height) + ) { + val totalSpace: Int = if (orientation == VERTICAL) { + width - paddingRight - paddingLeft + } else { + height - paddingTop - paddingBottom + } + val spanCount = 1.coerceAtLeast(totalSpace / columnWidth) + setSpanCount(spanCount) + isColumnWidthChanged = false + } + lastWidth = width + lastHeight = height + super.onLayoutChildren(recycler, state) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt new file mode 100644 index 000000000..6527c64ab --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt @@ -0,0 +1,49 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +import android.os.Parcelable +import java.util.HashSet +import kotlinx.parcelize.Parcelize +import kotlinx.serialization.Serializable + +@Parcelize +@Serializable +class Game( + val title: String, + val description: String, + val regions: String, + val path: String, + val gameId: String, + val company: String, + val isHomebrew: Boolean +) : Parcelable { + val keyAddedToLibraryTime get() = "${gameId}_AddedToLibraryTime" + val keyLastPlayedTime get() = "${gameId}_LastPlayed" + + override fun equals(other: Any?): Boolean { + if (other !is Game) { + return false + } + + return hashCode() == other.hashCode() + } + + override fun hashCode(): Int { + var result = title.hashCode() + result = 31 * result + description.hashCode() + result = 31 * result + regions.hashCode() + result = 31 * result + path.hashCode() + result = 31 * result + gameId.hashCode() + result = 31 * result + company.hashCode() + result = 31 * result + isHomebrew.hashCode() + return result + } + + companion object { + val extensions: Set = HashSet( + listOf("xci", "nsp", "nca", "nro") + ) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt new file mode 100644 index 000000000..1fe42f922 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +import android.net.Uri +import androidx.documentfile.provider.DocumentFile +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel +import androidx.lifecycle.viewModelScope +import androidx.preference.PreferenceManager +import java.util.Locale +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.launch +import kotlinx.coroutines.withContext +import kotlinx.serialization.ExperimentalSerializationApi +import kotlinx.serialization.MissingFieldException +import kotlinx.serialization.decodeFromString +import kotlinx.serialization.json.Json +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.utils.GameHelper + +@OptIn(ExperimentalSerializationApi::class) +class GamesViewModel : ViewModel() { + private val _games = MutableLiveData>(emptyList()) + val games: LiveData> get() = _games + + private val _searchedGames = MutableLiveData>(emptyList()) + val searchedGames: LiveData> get() = _searchedGames + + private val _isReloading = MutableLiveData(false) + val isReloading: LiveData get() = _isReloading + + private val _shouldSwapData = MutableLiveData(false) + val shouldSwapData: LiveData get() = _shouldSwapData + + private val _shouldScrollToTop = MutableLiveData(false) + val shouldScrollToTop: LiveData get() = _shouldScrollToTop + + private val _searchFocused = MutableLiveData(false) + val searchFocused: LiveData get() = _searchFocused + + init { + // Ensure keys are loaded so that ROM metadata can be decrypted. + NativeLibrary.reloadKeys() + + // Retrieve list of cached games + val storedGames = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + .getStringSet(GameHelper.KEY_GAMES, emptySet()) + if (storedGames!!.isNotEmpty()) { + val deserializedGames = mutableSetOf() + storedGames.forEach { + val game: Game + try { + game = Json.decodeFromString(it) + } catch (e: MissingFieldException) { + return@forEach + } + + val gameExists = + DocumentFile.fromSingleUri(YuzuApplication.appContext, Uri.parse(game.path)) + ?.exists() + if (gameExists == true) { + deserializedGames.add(game) + } + } + setGames(deserializedGames.toList()) + } + reloadGames(false) + } + + fun setGames(games: List) { + val sortedList = games.sortedWith( + compareBy( + { it.title.lowercase(Locale.getDefault()) }, + { it.path } + ) + ) + + _games.postValue(sortedList) + } + + fun setSearchedGames(games: List) { + _searchedGames.postValue(games) + } + + fun setShouldSwapData(shouldSwap: Boolean) { + _shouldSwapData.postValue(shouldSwap) + } + + fun setShouldScrollToTop(shouldScroll: Boolean) { + _shouldScrollToTop.postValue(shouldScroll) + } + + fun setSearchFocused(searchFocused: Boolean) { + _searchFocused.postValue(searchFocused) + } + + fun reloadGames(directoryChanged: Boolean) { + if (isReloading.value == true) { + return + } + _isReloading.postValue(true) + + viewModelScope.launch { + withContext(Dispatchers.IO) { + NativeLibrary.resetRomMetadata() + setGames(GameHelper.getGames()) + _isReloading.postValue(false) + + if (directoryChanged) { + setShouldSwapData(true) + } + } + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt new file mode 100644 index 000000000..7049f2fa5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +data class HomeSetting( + val titleId: Int, + val descriptionId: Int, + val iconId: Int, + val onClick: () -> Unit +) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt new file mode 100644 index 000000000..263ee7144 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.model + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel + +class HomeViewModel : ViewModel() { + private val _navigationVisible = MutableLiveData>() + val navigationVisible: LiveData> get() = _navigationVisible + + private val _statusBarShadeVisible = MutableLiveData(true) + val statusBarShadeVisible: LiveData get() = _statusBarShadeVisible + + var navigatedToSetup = false + + init { + _navigationVisible.value = Pair(false, false) + } + + fun setNavigationVisibility(visible: Boolean, animated: Boolean) { + if (_navigationVisible.value?.first == visible) { + return + } + _navigationVisible.value = Pair(visible, animated) + } + + fun setStatusBarShadeVisibility(visible: Boolean) { + if (_statusBarShadeVisible.value == visible) { + return + } + _statusBarShadeVisible.value = visible + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/License.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/License.kt new file mode 100644 index 000000000..f24d5cf34 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/License.kt @@ -0,0 +1,16 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +import android.os.Parcelable +import kotlinx.parcelize.Parcelize + +@Parcelize +data class License( + val titleId: Int, + val descriptionId: Int, + val linkId: Int, + val copyrightId: Int, + val licenseId: Int +) : Parcelable diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MinimalDocumentFile.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MinimalDocumentFile.kt new file mode 100644 index 000000000..b4b78e42d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MinimalDocumentFile.kt @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +import android.net.Uri +import android.provider.DocumentsContract + +class MinimalDocumentFile(val filename: String, mimeType: String, val uri: Uri) { + val isDirectory: Boolean = mimeType == DocumentsContract.Document.MIME_TYPE_DIR +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt new file mode 100644 index 000000000..a0c878e1c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt @@ -0,0 +1,19 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +data class SetupPage( + val iconId: Int, + val titleId: Int, + val descriptionId: Int, + val buttonIconId: Int, + val leftAlignedIcon: Boolean, + val buttonTextId: Int, + val buttonAction: () -> Unit, + val hasWarning: Boolean, + val warningTitleId: Int = 0, + val warningDescriptionId: Int = 0, + val warningHelpLinkId: Int = 0, + val taskCompleted: () -> Boolean = { true } +) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt new file mode 100644 index 000000000..27ea725a5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.model + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel +import androidx.lifecycle.viewModelScope +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.launch + +class TaskViewModel : ViewModel() { + private val _result = MutableLiveData() + val result: LiveData = _result + + private val _isComplete = MutableLiveData() + val isComplete: LiveData = _isComplete + + private val _isRunning = MutableLiveData() + val isRunning: LiveData = _isRunning + + lateinit var task: () -> Any + + init { + clear() + } + + fun clear() { + _result.value = Any() + _isComplete.value = false + _isRunning.value = false + } + + fun runTask() { + if (_isRunning.value == true) { + return + } + _isRunning.value = true + + viewModelScope.launch(Dispatchers.IO) { + val res = task() + _result.postValue(res) + _isComplete.postValue(true) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt new file mode 100644 index 000000000..6251ec783 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt @@ -0,0 +1,1181 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.overlay + +import android.app.Activity +import android.content.Context +import android.content.SharedPreferences +import android.graphics.Bitmap +import android.graphics.Canvas +import android.graphics.Point +import android.graphics.Rect +import android.graphics.drawable.Drawable +import android.graphics.drawable.VectorDrawable +import android.os.Build +import android.util.AttributeSet +import android.view.HapticFeedbackConstants +import android.view.MotionEvent +import android.view.SurfaceView +import android.view.View +import android.view.View.OnTouchListener +import android.view.WindowInsets +import androidx.core.content.ContextCompat +import androidx.preference.PreferenceManager +import androidx.window.layout.WindowMetricsCalculator +import kotlin.math.max +import kotlin.math.min +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.NativeLibrary.ButtonType +import org.yuzu.yuzu_emu.NativeLibrary.StickType +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.utils.EmulationMenuSettings + +/** + * Draws the interactive input overlay on top of the + * [SurfaceView] that is rendering emulation. + */ +class InputOverlay(context: Context, attrs: AttributeSet?) : + SurfaceView(context, attrs), + OnTouchListener { + private val overlayButtons: MutableSet = HashSet() + private val overlayDpads: MutableSet = HashSet() + private val overlayJoysticks: MutableSet = HashSet() + + private var inEditMode = false + private var buttonBeingConfigured: InputOverlayDrawableButton? = null + private var dpadBeingConfigured: InputOverlayDrawableDpad? = null + private var joystickBeingConfigured: InputOverlayDrawableJoystick? = null + + private lateinit var windowInsets: WindowInsets + + var orientation = LANDSCAPE + + override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) { + super.onLayout(changed, left, top, right, bottom) + + windowInsets = rootWindowInsets + + if (!preferences.getBoolean("${Settings.PREF_OVERLAY_INIT}$orientation", false)) { + defaultOverlay() + } + + // Load the controls. + refreshControls() + + // Set the on touch listener. + setOnTouchListener(this) + + // Force draw + setWillNotDraw(false) + + // Request focus for the overlay so it has priority on presses. + requestFocus() + } + + override fun draw(canvas: Canvas) { + super.draw(canvas) + for (button in overlayButtons) { + button.draw(canvas) + } + for (dpad in overlayDpads) { + dpad.draw(canvas) + } + for (joystick in overlayJoysticks) { + joystick.draw(canvas) + } + } + + override fun onTouch(v: View, event: MotionEvent): Boolean { + if (inEditMode) { + return onTouchWhileEditing(event) + } + + var shouldUpdateView = false + val playerIndex = + if (NativeLibrary.isHandheldOnly()) { + NativeLibrary.ConsoleDevice + } else { + NativeLibrary.Player1Device + } + + for (button in overlayButtons) { + if (!button.updateStatus(event)) { + continue + } + NativeLibrary.onGamePadButtonEvent( + playerIndex, + button.buttonId, + button.status + ) + playHaptics(event) + shouldUpdateView = true + } + + for (dpad in overlayDpads) { + if (!dpad.updateStatus(event, EmulationMenuSettings.dpadSlide)) { + continue + } + NativeLibrary.onGamePadButtonEvent( + playerIndex, + dpad.upId, + dpad.upStatus + ) + NativeLibrary.onGamePadButtonEvent( + playerIndex, + dpad.downId, + dpad.downStatus + ) + NativeLibrary.onGamePadButtonEvent( + playerIndex, + dpad.leftId, + dpad.leftStatus + ) + NativeLibrary.onGamePadButtonEvent( + playerIndex, + dpad.rightId, + dpad.rightStatus + ) + playHaptics(event) + shouldUpdateView = true + } + + for (joystick in overlayJoysticks) { + if (!joystick.updateStatus(event)) { + continue + } + val axisID = joystick.joystickId + NativeLibrary.onGamePadJoystickEvent( + playerIndex, + axisID, + joystick.xAxis, + joystick.realYAxis + ) + NativeLibrary.onGamePadButtonEvent( + playerIndex, + joystick.buttonId, + joystick.buttonStatus + ) + playHaptics(event) + shouldUpdateView = true + } + + if (shouldUpdateView) { + invalidate() + } + + if (!preferences.getBoolean(Settings.PREF_TOUCH_ENABLED, true)) { + return true + } + + val pointerIndex = event.actionIndex + val xPosition = event.getX(pointerIndex).toInt() + val yPosition = event.getY(pointerIndex).toInt() + val pointerId = event.getPointerId(pointerIndex) + val motionEvent = event.action and MotionEvent.ACTION_MASK + val isActionDown = + motionEvent == MotionEvent.ACTION_DOWN || motionEvent == MotionEvent.ACTION_POINTER_DOWN + val isActionMove = motionEvent == MotionEvent.ACTION_MOVE + val isActionUp = + motionEvent == MotionEvent.ACTION_UP || motionEvent == MotionEvent.ACTION_POINTER_UP + + if (isActionDown && !isTouchInputConsumed(pointerId)) { + NativeLibrary.onTouchPressed(pointerId, xPosition.toFloat(), yPosition.toFloat()) + } + + if (isActionMove) { + for (i in 0 until event.pointerCount) { + val fingerId = event.getPointerId(i) + if (isTouchInputConsumed(fingerId)) { + continue + } + NativeLibrary.onTouchMoved(fingerId, event.getX(i), event.getY(i)) + } + } + + if (isActionUp && !isTouchInputConsumed(pointerId)) { + NativeLibrary.onTouchReleased(pointerId) + } + + return true + } + + private fun playHaptics(event: MotionEvent) { + if (EmulationMenuSettings.hapticFeedback) { + when (event.actionMasked) { + MotionEvent.ACTION_DOWN, + MotionEvent.ACTION_POINTER_DOWN -> + performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY) + + MotionEvent.ACTION_UP, + MotionEvent.ACTION_POINTER_UP -> + performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY_RELEASE) + } + } + } + + private fun isTouchInputConsumed(track_id: Int): Boolean { + for (button in overlayButtons) { + if (button.trackId == track_id) { + return true + } + } + for (dpad in overlayDpads) { + if (dpad.trackId == track_id) { + return true + } + } + for (joystick in overlayJoysticks) { + if (joystick.trackId == track_id) { + return true + } + } + return false + } + + private fun onTouchWhileEditing(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val fingerPositionX = event.getX(pointerIndex).toInt() + val fingerPositionY = event.getY(pointerIndex).toInt() + + for (button in overlayButtons) { + // Determine the button state to apply based on the MotionEvent action flag. + when (event.action and MotionEvent.ACTION_MASK) { + MotionEvent.ACTION_DOWN, + MotionEvent.ACTION_POINTER_DOWN -> + // If no button is being moved now, remember the currently touched button to move. + if (buttonBeingConfigured == null && + button.bounds.contains( + fingerPositionX, + fingerPositionY + ) + ) { + buttonBeingConfigured = button + buttonBeingConfigured!!.onConfigureTouch(event) + } + + MotionEvent.ACTION_MOVE -> if (buttonBeingConfigured != null) { + buttonBeingConfigured!!.onConfigureTouch(event) + invalidate() + return true + } + + MotionEvent.ACTION_UP, + MotionEvent.ACTION_POINTER_UP -> if (buttonBeingConfigured === button) { + // Persist button position by saving new place. + saveControlPosition( + buttonBeingConfigured!!.buttonId, + buttonBeingConfigured!!.bounds.centerX(), + buttonBeingConfigured!!.bounds.centerY(), + orientation + ) + buttonBeingConfigured = null + } + } + } + + for (dpad in overlayDpads) { + // Determine the button state to apply based on the MotionEvent action flag. + when (event.action and MotionEvent.ACTION_MASK) { + MotionEvent.ACTION_DOWN, + MotionEvent.ACTION_POINTER_DOWN -> + // If no button is being moved now, remember the currently touched button to move. + if (buttonBeingConfigured == null && + dpad.bounds.contains(fingerPositionX, fingerPositionY) + ) { + dpadBeingConfigured = dpad + dpadBeingConfigured!!.onConfigureTouch(event) + } + + MotionEvent.ACTION_MOVE -> if (dpadBeingConfigured != null) { + dpadBeingConfigured!!.onConfigureTouch(event) + invalidate() + return true + } + + MotionEvent.ACTION_UP, + MotionEvent.ACTION_POINTER_UP -> if (dpadBeingConfigured === dpad) { + // Persist button position by saving new place. + saveControlPosition( + dpadBeingConfigured!!.upId, + dpadBeingConfigured!!.bounds.centerX(), + dpadBeingConfigured!!.bounds.centerY(), + orientation + ) + dpadBeingConfigured = null + } + } + } + + for (joystick in overlayJoysticks) { + when (event.action) { + MotionEvent.ACTION_DOWN, + MotionEvent.ACTION_POINTER_DOWN -> if (joystickBeingConfigured == null && + joystick.bounds.contains( + fingerPositionX, + fingerPositionY + ) + ) { + joystickBeingConfigured = joystick + joystickBeingConfigured!!.onConfigureTouch(event) + } + + MotionEvent.ACTION_MOVE -> if (joystickBeingConfigured != null) { + joystickBeingConfigured!!.onConfigureTouch(event) + invalidate() + } + + MotionEvent.ACTION_UP, + MotionEvent.ACTION_POINTER_UP -> if (joystickBeingConfigured != null) { + saveControlPosition( + joystickBeingConfigured!!.buttonId, + joystickBeingConfigured!!.bounds.centerX(), + joystickBeingConfigured!!.bounds.centerY(), + orientation + ) + joystickBeingConfigured = null + } + } + } + + return true + } + + private fun addOverlayControls(orientation: String) { + val windowSize = getSafeScreenSize(context) + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_0, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_a, + R.drawable.facebutton_a_depressed, + ButtonType.BUTTON_A, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_1, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_b, + R.drawable.facebutton_b_depressed, + ButtonType.BUTTON_B, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_2, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_x, + R.drawable.facebutton_x_depressed, + ButtonType.BUTTON_X, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_3, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_y, + R.drawable.facebutton_y_depressed, + ButtonType.BUTTON_Y, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_4, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.l_shoulder, + R.drawable.l_shoulder_depressed, + ButtonType.TRIGGER_L, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_5, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.r_shoulder, + R.drawable.r_shoulder_depressed, + ButtonType.TRIGGER_R, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_6, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.zl_trigger, + R.drawable.zl_trigger_depressed, + ButtonType.TRIGGER_ZL, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_7, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.zr_trigger, + R.drawable.zr_trigger_depressed, + ButtonType.TRIGGER_ZR, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_8, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_plus, + R.drawable.facebutton_plus_depressed, + ButtonType.BUTTON_PLUS, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_9, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_minus, + R.drawable.facebutton_minus_depressed, + ButtonType.BUTTON_MINUS, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_10, true)) { + overlayDpads.add( + initializeOverlayDpad( + context, + windowSize, + R.drawable.dpad_standard, + R.drawable.dpad_standard_cardinal_depressed, + R.drawable.dpad_standard_diagonal_depressed, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_11, true)) { + overlayJoysticks.add( + initializeOverlayJoystick( + context, + windowSize, + R.drawable.joystick_range, + R.drawable.joystick, + R.drawable.joystick_depressed, + StickType.STICK_L, + ButtonType.STICK_L, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_12, true)) { + overlayJoysticks.add( + initializeOverlayJoystick( + context, + windowSize, + R.drawable.joystick_range, + R.drawable.joystick, + R.drawable.joystick_depressed, + StickType.STICK_R, + ButtonType.STICK_R, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_13, false)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_home, + R.drawable.facebutton_home_depressed, + ButtonType.BUTTON_HOME, + orientation + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_TOGGLE_14, false)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_screenshot, + R.drawable.facebutton_screenshot_depressed, + ButtonType.BUTTON_CAPTURE, + orientation + ) + ) + } + } + + fun refreshControls() { + // Remove all the overlay buttons from the HashSet. + overlayButtons.clear() + overlayDpads.clear() + overlayJoysticks.clear() + + // Add all the enabled overlay items back to the HashSet. + if (EmulationMenuSettings.showOverlay) { + addOverlayControls(orientation) + } + invalidate() + } + + private fun saveControlPosition(sharedPrefsId: Int, x: Int, y: Int, orientation: String) { + val windowSize = getSafeScreenSize(context) + val min = windowSize.first + val max = windowSize.second + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit() + .putFloat("$sharedPrefsId-X$orientation", (x - min.x).toFloat() / max.x) + .putFloat("$sharedPrefsId-Y$orientation", (y - min.y).toFloat() / max.y) + .apply() + } + + fun setIsInEditMode(editMode: Boolean) { + inEditMode = editMode + } + + private fun defaultOverlay() { + if (!preferences.getBoolean("${Settings.PREF_OVERLAY_INIT}$orientation", false)) { + defaultOverlayByLayout(orientation) + } + + resetButtonPlacement() + preferences.edit() + .putBoolean("${Settings.PREF_OVERLAY_INIT}$orientation", true) + .apply() + } + + fun resetButtonPlacement() { + defaultOverlayByLayout(orientation) + refreshControls() + } + + private val landscapeResources = arrayOf( + R.integer.SWITCH_BUTTON_A_X, + R.integer.SWITCH_BUTTON_A_Y, + R.integer.SWITCH_BUTTON_B_X, + R.integer.SWITCH_BUTTON_B_Y, + R.integer.SWITCH_BUTTON_X_X, + R.integer.SWITCH_BUTTON_X_Y, + R.integer.SWITCH_BUTTON_Y_X, + R.integer.SWITCH_BUTTON_Y_Y, + R.integer.SWITCH_TRIGGER_ZL_X, + R.integer.SWITCH_TRIGGER_ZL_Y, + R.integer.SWITCH_TRIGGER_ZR_X, + R.integer.SWITCH_TRIGGER_ZR_Y, + R.integer.SWITCH_BUTTON_DPAD_X, + R.integer.SWITCH_BUTTON_DPAD_Y, + R.integer.SWITCH_TRIGGER_L_X, + R.integer.SWITCH_TRIGGER_L_Y, + R.integer.SWITCH_TRIGGER_R_X, + R.integer.SWITCH_TRIGGER_R_Y, + R.integer.SWITCH_BUTTON_PLUS_X, + R.integer.SWITCH_BUTTON_PLUS_Y, + R.integer.SWITCH_BUTTON_MINUS_X, + R.integer.SWITCH_BUTTON_MINUS_Y, + R.integer.SWITCH_BUTTON_HOME_X, + R.integer.SWITCH_BUTTON_HOME_Y, + R.integer.SWITCH_BUTTON_CAPTURE_X, + R.integer.SWITCH_BUTTON_CAPTURE_Y, + R.integer.SWITCH_STICK_R_X, + R.integer.SWITCH_STICK_R_Y, + R.integer.SWITCH_STICK_L_X, + R.integer.SWITCH_STICK_L_Y + ) + + private val portraitResources = arrayOf( + R.integer.SWITCH_BUTTON_A_X_PORTRAIT, + R.integer.SWITCH_BUTTON_A_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_B_X_PORTRAIT, + R.integer.SWITCH_BUTTON_B_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_X_X_PORTRAIT, + R.integer.SWITCH_BUTTON_X_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_Y_X_PORTRAIT, + R.integer.SWITCH_BUTTON_Y_Y_PORTRAIT, + R.integer.SWITCH_TRIGGER_ZL_X_PORTRAIT, + R.integer.SWITCH_TRIGGER_ZL_Y_PORTRAIT, + R.integer.SWITCH_TRIGGER_ZR_X_PORTRAIT, + R.integer.SWITCH_TRIGGER_ZR_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_DPAD_X_PORTRAIT, + R.integer.SWITCH_BUTTON_DPAD_Y_PORTRAIT, + R.integer.SWITCH_TRIGGER_L_X_PORTRAIT, + R.integer.SWITCH_TRIGGER_L_Y_PORTRAIT, + R.integer.SWITCH_TRIGGER_R_X_PORTRAIT, + R.integer.SWITCH_TRIGGER_R_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_PLUS_X_PORTRAIT, + R.integer.SWITCH_BUTTON_PLUS_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_MINUS_X_PORTRAIT, + R.integer.SWITCH_BUTTON_MINUS_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_HOME_X_PORTRAIT, + R.integer.SWITCH_BUTTON_HOME_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_CAPTURE_X_PORTRAIT, + R.integer.SWITCH_BUTTON_CAPTURE_Y_PORTRAIT, + R.integer.SWITCH_STICK_R_X_PORTRAIT, + R.integer.SWITCH_STICK_R_Y_PORTRAIT, + R.integer.SWITCH_STICK_L_X_PORTRAIT, + R.integer.SWITCH_STICK_L_Y_PORTRAIT + ) + + private val foldableResources = arrayOf( + R.integer.SWITCH_BUTTON_A_X_FOLDABLE, + R.integer.SWITCH_BUTTON_A_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_B_X_FOLDABLE, + R.integer.SWITCH_BUTTON_B_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_X_X_FOLDABLE, + R.integer.SWITCH_BUTTON_X_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_Y_X_FOLDABLE, + R.integer.SWITCH_BUTTON_Y_Y_FOLDABLE, + R.integer.SWITCH_TRIGGER_ZL_X_FOLDABLE, + R.integer.SWITCH_TRIGGER_ZL_Y_FOLDABLE, + R.integer.SWITCH_TRIGGER_ZR_X_FOLDABLE, + R.integer.SWITCH_TRIGGER_ZR_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_DPAD_X_FOLDABLE, + R.integer.SWITCH_BUTTON_DPAD_Y_FOLDABLE, + R.integer.SWITCH_TRIGGER_L_X_FOLDABLE, + R.integer.SWITCH_TRIGGER_L_Y_FOLDABLE, + R.integer.SWITCH_TRIGGER_R_X_FOLDABLE, + R.integer.SWITCH_TRIGGER_R_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_PLUS_X_FOLDABLE, + R.integer.SWITCH_BUTTON_PLUS_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_MINUS_X_FOLDABLE, + R.integer.SWITCH_BUTTON_MINUS_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_HOME_X_FOLDABLE, + R.integer.SWITCH_BUTTON_HOME_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_CAPTURE_X_FOLDABLE, + R.integer.SWITCH_BUTTON_CAPTURE_Y_FOLDABLE, + R.integer.SWITCH_STICK_R_X_FOLDABLE, + R.integer.SWITCH_STICK_R_Y_FOLDABLE, + R.integer.SWITCH_STICK_L_X_FOLDABLE, + R.integer.SWITCH_STICK_L_Y_FOLDABLE + ) + + private fun getResourceValue(orientation: String, position: Int): Float { + return when (orientation) { + PORTRAIT -> resources.getInteger(portraitResources[position]).toFloat() / 1000 + FOLDABLE -> resources.getInteger(foldableResources[position]).toFloat() / 1000 + else -> resources.getInteger(landscapeResources[position]).toFloat() / 1000 + } + } + + private fun defaultOverlayByLayout(orientation: String) { + // Each value represents the position of the button in relation to the screen size without insets. + preferences.edit() + .putFloat( + ButtonType.BUTTON_A.toString() + "-X$orientation", + getResourceValue(orientation, 0) + ) + .putFloat( + ButtonType.BUTTON_A.toString() + "-Y$orientation", + getResourceValue(orientation, 1) + ) + .putFloat( + ButtonType.BUTTON_B.toString() + "-X$orientation", + getResourceValue(orientation, 2) + ) + .putFloat( + ButtonType.BUTTON_B.toString() + "-Y$orientation", + getResourceValue(orientation, 3) + ) + .putFloat( + ButtonType.BUTTON_X.toString() + "-X$orientation", + getResourceValue(orientation, 4) + ) + .putFloat( + ButtonType.BUTTON_X.toString() + "-Y$orientation", + getResourceValue(orientation, 5) + ) + .putFloat( + ButtonType.BUTTON_Y.toString() + "-X$orientation", + getResourceValue(orientation, 6) + ) + .putFloat( + ButtonType.BUTTON_Y.toString() + "-Y$orientation", + getResourceValue(orientation, 7) + ) + .putFloat( + ButtonType.TRIGGER_ZL.toString() + "-X$orientation", + getResourceValue(orientation, 8) + ) + .putFloat( + ButtonType.TRIGGER_ZL.toString() + "-Y$orientation", + getResourceValue(orientation, 9) + ) + .putFloat( + ButtonType.TRIGGER_ZR.toString() + "-X$orientation", + getResourceValue(orientation, 10) + ) + .putFloat( + ButtonType.TRIGGER_ZR.toString() + "-Y$orientation", + getResourceValue(orientation, 11) + ) + .putFloat( + ButtonType.DPAD_UP.toString() + "-X$orientation", + getResourceValue(orientation, 12) + ) + .putFloat( + ButtonType.DPAD_UP.toString() + "-Y$orientation", + getResourceValue(orientation, 13) + ) + .putFloat( + ButtonType.TRIGGER_L.toString() + "-X$orientation", + getResourceValue(orientation, 14) + ) + .putFloat( + ButtonType.TRIGGER_L.toString() + "-Y$orientation", + getResourceValue(orientation, 15) + ) + .putFloat( + ButtonType.TRIGGER_R.toString() + "-X$orientation", + getResourceValue(orientation, 16) + ) + .putFloat( + ButtonType.TRIGGER_R.toString() + "-Y$orientation", + getResourceValue(orientation, 17) + ) + .putFloat( + ButtonType.BUTTON_PLUS.toString() + "-X$orientation", + getResourceValue(orientation, 18) + ) + .putFloat( + ButtonType.BUTTON_PLUS.toString() + "-Y$orientation", + getResourceValue(orientation, 19) + ) + .putFloat( + ButtonType.BUTTON_MINUS.toString() + "-X$orientation", + getResourceValue(orientation, 20) + ) + .putFloat( + ButtonType.BUTTON_MINUS.toString() + "-Y$orientation", + getResourceValue(orientation, 21) + ) + .putFloat( + ButtonType.BUTTON_HOME.toString() + "-X$orientation", + getResourceValue(orientation, 22) + ) + .putFloat( + ButtonType.BUTTON_HOME.toString() + "-Y$orientation", + getResourceValue(orientation, 23) + ) + .putFloat( + ButtonType.BUTTON_CAPTURE.toString() + "-X$orientation", + getResourceValue(orientation, 24) + ) + .putFloat( + ButtonType.BUTTON_CAPTURE.toString() + "-Y$orientation", + getResourceValue(orientation, 25) + ) + .putFloat( + ButtonType.STICK_R.toString() + "-X$orientation", + getResourceValue(orientation, 26) + ) + .putFloat( + ButtonType.STICK_R.toString() + "-Y$orientation", + getResourceValue(orientation, 27) + ) + .putFloat( + ButtonType.STICK_L.toString() + "-X$orientation", + getResourceValue(orientation, 28) + ) + .putFloat( + ButtonType.STICK_L.toString() + "-Y$orientation", + getResourceValue(orientation, 29) + ) + .apply() + } + + override fun isInEditMode(): Boolean { + return inEditMode + } + + companion object { + private val preferences: SharedPreferences = + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + const val LANDSCAPE = "" + const val PORTRAIT = "_Portrait" + const val FOLDABLE = "_Foldable" + + /** + * Resizes a [Bitmap] by a given scale factor + * + * @param context Context for getting the vector drawable + * @param drawableId The ID of the drawable to scale. + * @param scale The scale factor for the bitmap. + * @return The scaled [Bitmap] + */ + private fun getBitmap(context: Context, drawableId: Int, scale: Float): Bitmap { + val vectorDrawable = ContextCompat.getDrawable(context, drawableId) as VectorDrawable + + val bitmap = Bitmap.createBitmap( + (vectorDrawable.intrinsicWidth * scale).toInt(), + (vectorDrawable.intrinsicHeight * scale).toInt(), + Bitmap.Config.ARGB_8888 + ) + + val dm = context.resources.displayMetrics + val minScreenDimension = min(dm.widthPixels, dm.heightPixels) + + val maxBitmapDimension = max(bitmap.width, bitmap.height) + val bitmapScale = scale * minScreenDimension / maxBitmapDimension + + val scaledBitmap = Bitmap.createScaledBitmap( + bitmap, + (bitmap.width * bitmapScale).toInt(), + (bitmap.height * bitmapScale).toInt(), + true + ) + + val canvas = Canvas(scaledBitmap) + vectorDrawable.setBounds(0, 0, canvas.width, canvas.height) + vectorDrawable.draw(canvas) + return scaledBitmap + } + + /** + * Gets the safe screen size for drawing the overlay + * + * @param context Context for getting the window metrics + * @return A pair of points, the first being the top left corner of the safe area, + * the second being the bottom right corner of the safe area + */ + private fun getSafeScreenSize(context: Context): Pair { + // Get screen size + val windowMetrics = WindowMetricsCalculator.getOrCreate() + .computeCurrentWindowMetrics(context as Activity) + var maxY = windowMetrics.bounds.height().toFloat() + var maxX = windowMetrics.bounds.width().toFloat() + var minY = 0 + var minX = 0 + + // If we have API access, calculate the safe area to draw the overlay + var cutoutLeft = 0 + var cutoutBottom = 0 + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { + val insets = context.windowManager.currentWindowMetrics.windowInsets.displayCutout + if (insets != null) { + if (insets.boundingRectTop.bottom != 0 && + insets.boundingRectTop.bottom > maxY / 2 + ) { + maxY = insets.boundingRectTop.bottom.toFloat() + } + if (insets.boundingRectRight.left != 0 && + insets.boundingRectRight.left > maxX / 2 + ) { + maxX = insets.boundingRectRight.left.toFloat() + } + + minX = insets.boundingRectLeft.right - insets.boundingRectLeft.left + minY = insets.boundingRectBottom.top - insets.boundingRectBottom.bottom + + cutoutLeft = insets.boundingRectRight.right - insets.boundingRectRight.left + cutoutBottom = insets.boundingRectTop.top - insets.boundingRectTop.bottom + } + } + + // This makes sure that if we have an inset on one side of the screen, we mirror it on + // the other side. Since removing space from one of the max values messes with the scale, + // we also have to account for it using our min values. + if (maxX.toInt() != windowMetrics.bounds.width()) minX += cutoutLeft + if (maxY.toInt() != windowMetrics.bounds.height()) minY += cutoutBottom + if (minX > 0 && maxX.toInt() == windowMetrics.bounds.width()) { + maxX -= (minX * 2) + } else if (minX > 0) { + maxX -= minX + } + if (minY > 0 && maxY.toInt() == windowMetrics.bounds.height()) { + maxY -= (minY * 2) + } else if (minY > 0) { + maxY -= minY + } + + return Pair(Point(minX, minY), Point(maxX.toInt(), maxY.toInt())) + } + + /** + * Initializes an InputOverlayDrawableButton, given by resId, with all of the + * parameters set for it to be properly shown on the InputOverlay. + * + * + * This works due to the way the X and Y coordinates are stored within + * the [SharedPreferences]. + * + * + * In the input overlay configuration menu, + * once a touch event begins and then ends (ie. Organizing the buttons to one's own liking for the overlay). + * the X and Y coordinates of the button at the END of its touch event + * (when you remove your finger/stylus from the touchscreen) are then stored + * within a SharedPreferences instance so that those values can be retrieved here. + * + * + * This has a few benefits over the conventional way of storing the values + * (ie. within the yuzu ini file). + * + * * No native calls + * * Keeps Android-only values inside the Android environment + * + * + * + * Technically no modifications should need to be performed on the returned + * InputOverlayDrawableButton. Simply add it to the HashSet of overlay items and wait + * for Android to call the onDraw method. + * + * @param context The current [Context]. + * @param windowSize The size of the window to draw the overlay on. + * @param defaultResId The resource ID of the [Drawable] to get the [Bitmap] of (Default State). + * @param pressedResId The resource ID of the [Drawable] to get the [Bitmap] of (Pressed State). + * @param buttonId Identifier for determining what type of button the initialized InputOverlayDrawableButton represents. + * @return An [InputOverlayDrawableButton] with the correct drawing bounds set. + */ + private fun initializeOverlayButton( + context: Context, + windowSize: Pair, + defaultResId: Int, + pressedResId: Int, + buttonId: Int, + orientation: String + ): InputOverlayDrawableButton { + // Resources handle for fetching the initial Drawable resource. + val res = context.resources + + // SharedPreference to retrieve the X and Y coordinates for the InputOverlayDrawableButton. + val sPrefs = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + // Decide scale based on button ID and user preference + var scale: Float = when (buttonId) { + ButtonType.BUTTON_HOME, + ButtonType.BUTTON_CAPTURE, + ButtonType.BUTTON_PLUS, + ButtonType.BUTTON_MINUS -> 0.07f + + ButtonType.TRIGGER_L, + ButtonType.TRIGGER_R, + ButtonType.TRIGGER_ZL, + ButtonType.TRIGGER_ZR -> 0.26f + + else -> 0.11f + } + scale *= (sPrefs.getInt(Settings.PREF_CONTROL_SCALE, 50) + 50).toFloat() + scale /= 100f + + // Initialize the InputOverlayDrawableButton. + val defaultStateBitmap = getBitmap(context, defaultResId, scale) + val pressedStateBitmap = getBitmap(context, pressedResId, scale) + val overlayDrawable = + InputOverlayDrawableButton(res, defaultStateBitmap, pressedStateBitmap, buttonId) + + // Get the minimum and maximum coordinates of the screen where the button can be placed. + val min = windowSize.first + val max = windowSize.second + + // The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay. + // These were set in the input overlay configuration menu. + val xKey = "$buttonId-X$orientation" + val yKey = "$buttonId-Y$orientation" + val drawableXPercent = sPrefs.getFloat(xKey, 0f) + val drawableYPercent = sPrefs.getFloat(yKey, 0f) + val drawableX = (drawableXPercent * max.x + min.x).toInt() + val drawableY = (drawableYPercent * max.y + min.y).toInt() + val width = overlayDrawable.width + val height = overlayDrawable.height + + // Now set the bounds for the InputOverlayDrawableButton. + // This will dictate where on the screen (and the what the size) the InputOverlayDrawableButton will be. + overlayDrawable.setBounds( + drawableX - (width / 2), + drawableY - (height / 2), + drawableX + (width / 2), + drawableY + (height / 2) + ) + + // Need to set the image's position + overlayDrawable.setPosition( + drawableX - (width / 2), + drawableY - (height / 2) + ) + val savedOpacity = preferences.getInt(Settings.PREF_CONTROL_OPACITY, 100) + overlayDrawable.setOpacity(savedOpacity * 255 / 100) + return overlayDrawable + } + + /** + * Initializes an [InputOverlayDrawableDpad] + * + * @param context The current [Context]. + * @param windowSize The size of the window to draw the overlay on. + * @param defaultResId The [Bitmap] resource ID of the default state. + * @param pressedOneDirectionResId The [Bitmap] resource ID of the pressed state in one direction. + * @param pressedTwoDirectionsResId The [Bitmap] resource ID of the pressed state in two directions. + * @return the initialized [InputOverlayDrawableDpad] + */ + private fun initializeOverlayDpad( + context: Context, + windowSize: Pair, + defaultResId: Int, + pressedOneDirectionResId: Int, + pressedTwoDirectionsResId: Int, + orientation: String + ): InputOverlayDrawableDpad { + // Resources handle for fetching the initial Drawable resource. + val res = context.resources + + // SharedPreference to retrieve the X and Y coordinates for the InputOverlayDrawableDpad. + val sPrefs = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + // Decide scale based on button ID and user preference + var scale = 0.25f + scale *= (sPrefs.getInt(Settings.PREF_CONTROL_SCALE, 50) + 50).toFloat() + scale /= 100f + + // Initialize the InputOverlayDrawableDpad. + val defaultStateBitmap = + getBitmap(context, defaultResId, scale) + val pressedOneDirectionStateBitmap = getBitmap(context, pressedOneDirectionResId, scale) + val pressedTwoDirectionsStateBitmap = + getBitmap(context, pressedTwoDirectionsResId, scale) + + val overlayDrawable = InputOverlayDrawableDpad( + res, + defaultStateBitmap, + pressedOneDirectionStateBitmap, + pressedTwoDirectionsStateBitmap, + ButtonType.DPAD_UP, + ButtonType.DPAD_DOWN, + ButtonType.DPAD_LEFT, + ButtonType.DPAD_RIGHT + ) + + // Get the minimum and maximum coordinates of the screen where the button can be placed. + val min = windowSize.first + val max = windowSize.second + + // The X and Y coordinates of the InputOverlayDrawableDpad on the InputOverlay. + // These were set in the input overlay configuration menu. + val drawableXPercent = sPrefs.getFloat("${ButtonType.DPAD_UP}-X$orientation", 0f) + val drawableYPercent = sPrefs.getFloat("${ButtonType.DPAD_UP}-Y$orientation", 0f) + val drawableX = (drawableXPercent * max.x + min.x).toInt() + val drawableY = (drawableYPercent * max.y + min.y).toInt() + val width = overlayDrawable.width + val height = overlayDrawable.height + + // Now set the bounds for the InputOverlayDrawableDpad. + // This will dictate where on the screen (and the what the size) the InputOverlayDrawableDpad will be. + overlayDrawable.setBounds( + drawableX - (width / 2), + drawableY - (height / 2), + drawableX + (width / 2), + drawableY + (height / 2) + ) + + // Need to set the image's position + overlayDrawable.setPosition(drawableX - (width / 2), drawableY - (height / 2)) + val savedOpacity = preferences.getInt(Settings.PREF_CONTROL_OPACITY, 100) + overlayDrawable.setOpacity(savedOpacity * 255 / 100) + return overlayDrawable + } + + /** + * Initializes an [InputOverlayDrawableJoystick] + * + * @param context The current [Context] + * @param windowSize The size of the window to draw the overlay on. + * @param resOuter Resource ID for the outer image of the joystick (the static image that shows the circular bounds). + * @param defaultResInner Resource ID for the default inner image of the joystick (the one you actually move around). + * @param pressedResInner Resource ID for the pressed inner image of the joystick. + * @param joystick Identifier for which joystick this is. + * @param button Identifier for which joystick button this is. + * @return the initialized [InputOverlayDrawableJoystick]. + */ + private fun initializeOverlayJoystick( + context: Context, + windowSize: Pair, + resOuter: Int, + defaultResInner: Int, + pressedResInner: Int, + joystick: Int, + button: Int, + orientation: String + ): InputOverlayDrawableJoystick { + // Resources handle for fetching the initial Drawable resource. + val res = context.resources + + // SharedPreference to retrieve the X and Y coordinates for the InputOverlayDrawableJoystick. + val sPrefs = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + // Decide scale based on user preference + var scale = 0.3f + scale *= (sPrefs.getInt(Settings.PREF_CONTROL_SCALE, 50) + 50).toFloat() + scale /= 100f + + // Initialize the InputOverlayDrawableJoystick. + val bitmapOuter = getBitmap(context, resOuter, scale) + val bitmapInnerDefault = getBitmap(context, defaultResInner, 1.0f) + val bitmapInnerPressed = getBitmap(context, pressedResInner, 1.0f) + + // Get the minimum and maximum coordinates of the screen where the button can be placed. + val min = windowSize.first + val max = windowSize.second + + // The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay. + // These were set in the input overlay configuration menu. + val drawableXPercent = sPrefs.getFloat("$button-X$orientation", 0f) + val drawableYPercent = sPrefs.getFloat("$button-Y$orientation", 0f) + val drawableX = (drawableXPercent * max.x + min.x).toInt() + val drawableY = (drawableYPercent * max.y + min.y).toInt() + val outerScale = 1.66f + + // Now set the bounds for the InputOverlayDrawableJoystick. + // This will dictate where on the screen (and the what the size) the InputOverlayDrawableJoystick will be. + val outerSize = bitmapOuter.width + val outerRect = Rect( + drawableX - (outerSize / 2), + drawableY - (outerSize / 2), + drawableX + (outerSize / 2), + drawableY + (outerSize / 2) + ) + val innerRect = + Rect(0, 0, (outerSize / outerScale).toInt(), (outerSize / outerScale).toInt()) + + // Send the drawableId to the joystick so it can be referenced when saving control position. + val overlayDrawable = InputOverlayDrawableJoystick( + res, + bitmapOuter, + bitmapInnerDefault, + bitmapInnerPressed, + outerRect, + innerRect, + joystick, + button + ) + + // Need to set the image's position + overlayDrawable.setPosition(drawableX, drawableY) + val savedOpacity = preferences.getInt(Settings.PREF_CONTROL_OPACITY, 100) + overlayDrawable.setOpacity(savedOpacity * 255 / 100) + return overlayDrawable + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.kt new file mode 100644 index 000000000..4a93e0b14 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.kt @@ -0,0 +1,148 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.overlay + +import android.content.res.Resources +import android.graphics.Bitmap +import android.graphics.Canvas +import android.graphics.Rect +import android.graphics.drawable.BitmapDrawable +import android.view.MotionEvent +import org.yuzu.yuzu_emu.NativeLibrary.ButtonState + +/** + * Custom [BitmapDrawable] that is capable + * of storing it's own ID. + * + * @param res [Resources] instance. + * @param defaultStateBitmap [Bitmap] to use with the default state Drawable. + * @param pressedStateBitmap [Bitmap] to use with the pressed state Drawable. + * @param buttonId Identifier for this type of button. + */ +class InputOverlayDrawableButton( + res: Resources, + defaultStateBitmap: Bitmap, + pressedStateBitmap: Bitmap, + val buttonId: Int +) { + // The ID value what motion event is tracking + var trackId: Int + + // The drawable position on the screen + private var buttonPositionX = 0 + private var buttonPositionY = 0 + + val width: Int + val height: Int + + private val defaultStateBitmap: BitmapDrawable + private val pressedStateBitmap: BitmapDrawable + private var pressedState = false + + private var previousTouchX = 0 + private var previousTouchY = 0 + var controlPositionX = 0 + var controlPositionY = 0 + + init { + this.defaultStateBitmap = BitmapDrawable(res, defaultStateBitmap) + this.pressedStateBitmap = BitmapDrawable(res, pressedStateBitmap) + trackId = -1 + width = this.defaultStateBitmap.intrinsicWidth + height = this.defaultStateBitmap.intrinsicHeight + } + + /** + * Updates button status based on the motion event. + * + * @return true if value was changed + */ + fun updateStatus(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val xPosition = event.getX(pointerIndex).toInt() + val yPosition = event.getY(pointerIndex).toInt() + val pointerId = event.getPointerId(pointerIndex) + val motionEvent = event.action and MotionEvent.ACTION_MASK + val isActionDown = + motionEvent == MotionEvent.ACTION_DOWN || motionEvent == MotionEvent.ACTION_POINTER_DOWN + val isActionUp = + motionEvent == MotionEvent.ACTION_UP || motionEvent == MotionEvent.ACTION_POINTER_UP + + if (isActionDown) { + if (!bounds.contains(xPosition, yPosition)) { + return false + } + pressedState = true + trackId = pointerId + return true + } + + if (isActionUp) { + if (trackId != pointerId) { + return false + } + pressedState = false + trackId = -1 + return true + } + + return false + } + + fun setPosition(x: Int, y: Int) { + buttonPositionX = x + buttonPositionY = y + } + + fun draw(canvas: Canvas?) { + currentStateBitmapDrawable.draw(canvas!!) + } + + private val currentStateBitmapDrawable: BitmapDrawable + get() = if (pressedState) pressedStateBitmap else defaultStateBitmap + + fun onConfigureTouch(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val fingerPositionX = event.getX(pointerIndex).toInt() + val fingerPositionY = event.getY(pointerIndex).toInt() + + when (event.action) { + MotionEvent.ACTION_DOWN -> { + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + controlPositionX = fingerPositionX - (width / 2) + controlPositionY = fingerPositionY - (height / 2) + } + + MotionEvent.ACTION_MOVE -> { + controlPositionX += fingerPositionX - previousTouchX + controlPositionY += fingerPositionY - previousTouchY + setBounds( + controlPositionX, + controlPositionY, + width + controlPositionX, + height + controlPositionY + ) + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + } + } + return true + } + + fun setBounds(left: Int, top: Int, right: Int, bottom: Int) { + defaultStateBitmap.setBounds(left, top, right, bottom) + pressedStateBitmap.setBounds(left, top, right, bottom) + } + + fun setOpacity(value: Int) { + defaultStateBitmap.alpha = value + pressedStateBitmap.alpha = value + } + + val status: Int + get() = if (pressedState) ButtonState.PRESSED else ButtonState.RELEASED + val bounds: Rect + get() = defaultStateBitmap.bounds +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.kt new file mode 100644 index 000000000..8aef6f5a5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableDpad.kt @@ -0,0 +1,277 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.overlay + +import android.content.res.Resources +import android.graphics.Bitmap +import android.graphics.Canvas +import android.graphics.Rect +import android.graphics.drawable.BitmapDrawable +import android.view.MotionEvent +import org.yuzu.yuzu_emu.NativeLibrary.ButtonState + +/** + * Custom [BitmapDrawable] that is capable + * of storing it's own ID. + * + * @param res [Resources] instance. + * @param defaultStateBitmap [Bitmap] of the default state. + * @param pressedOneDirectionStateBitmap [Bitmap] of the pressed state in one direction. + * @param pressedTwoDirectionsStateBitmap [Bitmap] of the pressed state in two direction. + * @param buttonUp Identifier for the up button. + * @param buttonDown Identifier for the down button. + * @param buttonLeft Identifier for the left button. + * @param buttonRight Identifier for the right button. + */ +class InputOverlayDrawableDpad( + res: Resources, + defaultStateBitmap: Bitmap, + pressedOneDirectionStateBitmap: Bitmap, + pressedTwoDirectionsStateBitmap: Bitmap, + buttonUp: Int, + buttonDown: Int, + buttonLeft: Int, + buttonRight: Int +) { + /** + * Gets one of the InputOverlayDrawableDpad's button IDs. + * + * @return the requested InputOverlayDrawableDpad's button ID. + */ + // The ID identifying what type of button this Drawable represents. + val upId: Int + val downId: Int + val leftId: Int + val rightId: Int + var trackId: Int + + val width: Int + val height: Int + + private val defaultStateBitmap: BitmapDrawable + private val pressedOneDirectionStateBitmap: BitmapDrawable + private val pressedTwoDirectionsStateBitmap: BitmapDrawable + + private var previousTouchX = 0 + private var previousTouchY = 0 + private var controlPositionX = 0 + private var controlPositionY = 0 + + private var upButtonState = false + private var downButtonState = false + private var leftButtonState = false + private var rightButtonState = false + + init { + this.defaultStateBitmap = BitmapDrawable(res, defaultStateBitmap) + this.pressedOneDirectionStateBitmap = BitmapDrawable(res, pressedOneDirectionStateBitmap) + this.pressedTwoDirectionsStateBitmap = BitmapDrawable(res, pressedTwoDirectionsStateBitmap) + width = this.defaultStateBitmap.intrinsicWidth + height = this.defaultStateBitmap.intrinsicHeight + upId = buttonUp + downId = buttonDown + leftId = buttonLeft + rightId = buttonRight + trackId = -1 + } + + fun updateStatus(event: MotionEvent, dpad_slide: Boolean): Boolean { + val pointerIndex = event.actionIndex + val xPosition = event.getX(pointerIndex).toInt() + val yPosition = event.getY(pointerIndex).toInt() + val pointerId = event.getPointerId(pointerIndex) + val motionEvent = event.action and MotionEvent.ACTION_MASK + val isActionDown = + motionEvent == MotionEvent.ACTION_DOWN || motionEvent == MotionEvent.ACTION_POINTER_DOWN + val isActionUp = + motionEvent == MotionEvent.ACTION_UP || motionEvent == MotionEvent.ACTION_POINTER_UP + if (isActionDown) { + if (!bounds.contains(xPosition, yPosition)) { + return false + } + trackId = pointerId + } + if (isActionUp) { + if (trackId != pointerId) { + return false + } + trackId = -1 + upButtonState = false + downButtonState = false + leftButtonState = false + rightButtonState = false + return true + } + if (trackId == -1) { + return false + } + if (!dpad_slide && !isActionDown) { + return false + } + for (i in 0 until event.pointerCount) { + if (trackId != event.getPointerId(i)) { + continue + } + + var touchX = event.getX(i) + var touchY = event.getY(i) + var maxY = bounds.bottom.toFloat() + var maxX = bounds.right.toFloat() + touchX -= bounds.centerX().toFloat() + maxX -= bounds.centerX().toFloat() + touchY -= bounds.centerY().toFloat() + maxY -= bounds.centerY().toFloat() + val axisX = touchX / maxX + val axisY = touchY / maxY + val oldUpState = upButtonState + val oldDownState = downButtonState + val oldLeftState = leftButtonState + val oldRightState = rightButtonState + + upButtonState = axisY < -VIRT_AXIS_DEADZONE + downButtonState = axisY > VIRT_AXIS_DEADZONE + leftButtonState = axisX < -VIRT_AXIS_DEADZONE + rightButtonState = axisX > VIRT_AXIS_DEADZONE + return oldUpState != upButtonState || + oldDownState != downButtonState || + oldLeftState != leftButtonState || + oldRightState != rightButtonState + } + return false + } + + fun draw(canvas: Canvas) { + val px = controlPositionX + width / 2 + val py = controlPositionY + height / 2 + + // Pressed up + if (upButtonState && !leftButtonState && !rightButtonState) { + pressedOneDirectionStateBitmap.draw(canvas) + return + } + + // Pressed down + if (downButtonState && !leftButtonState && !rightButtonState) { + canvas.save() + canvas.rotate(180f, px.toFloat(), py.toFloat()) + pressedOneDirectionStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Pressed left + if (leftButtonState && !upButtonState && !downButtonState) { + canvas.save() + canvas.rotate(270f, px.toFloat(), py.toFloat()) + pressedOneDirectionStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Pressed right + if (rightButtonState && !upButtonState && !downButtonState) { + canvas.save() + canvas.rotate(90f, px.toFloat(), py.toFloat()) + pressedOneDirectionStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Pressed up left + if (upButtonState && leftButtonState && !rightButtonState) { + pressedTwoDirectionsStateBitmap.draw(canvas) + return + } + + // Pressed up right + if (upButtonState && !leftButtonState && rightButtonState) { + canvas.save() + canvas.rotate(90f, px.toFloat(), py.toFloat()) + pressedTwoDirectionsStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Pressed down right + if (downButtonState && !leftButtonState && rightButtonState) { + canvas.save() + canvas.rotate(180f, px.toFloat(), py.toFloat()) + pressedTwoDirectionsStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Pressed down left + if (downButtonState && leftButtonState && !rightButtonState) { + canvas.save() + canvas.rotate(270f, px.toFloat(), py.toFloat()) + pressedTwoDirectionsStateBitmap.draw(canvas) + canvas.restore() + return + } + + // Not pressed + defaultStateBitmap.draw(canvas) + } + + val upStatus: Int + get() = if (upButtonState) ButtonState.PRESSED else ButtonState.RELEASED + val downStatus: Int + get() = if (downButtonState) ButtonState.PRESSED else ButtonState.RELEASED + val leftStatus: Int + get() = if (leftButtonState) ButtonState.PRESSED else ButtonState.RELEASED + val rightStatus: Int + get() = if (rightButtonState) ButtonState.PRESSED else ButtonState.RELEASED + + fun onConfigureTouch(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val fingerPositionX = event.getX(pointerIndex).toInt() + val fingerPositionY = event.getY(pointerIndex).toInt() + + when (event.action) { + MotionEvent.ACTION_DOWN -> { + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + } + + MotionEvent.ACTION_MOVE -> { + controlPositionX += fingerPositionX - previousTouchX + controlPositionY += fingerPositionY - previousTouchY + setBounds( + controlPositionX, + controlPositionY, + width + controlPositionX, + height + controlPositionY + ) + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + } + } + return true + } + + fun setPosition(x: Int, y: Int) { + controlPositionX = x + controlPositionY = y + } + + fun setBounds(left: Int, top: Int, right: Int, bottom: Int) { + defaultStateBitmap.setBounds(left, top, right, bottom) + pressedOneDirectionStateBitmap.setBounds(left, top, right, bottom) + pressedTwoDirectionsStateBitmap.setBounds(left, top, right, bottom) + } + + fun setOpacity(value: Int) { + defaultStateBitmap.alpha = value + pressedOneDirectionStateBitmap.alpha = value + pressedTwoDirectionsStateBitmap.alpha = value + } + + val bounds: Rect + get() = defaultStateBitmap.bounds + + companion object { + const val VIRT_AXIS_DEADZONE = 0.5f + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.kt new file mode 100644 index 000000000..fb48f584d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.kt @@ -0,0 +1,290 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.overlay + +import android.content.res.Resources +import android.graphics.Bitmap +import android.graphics.Canvas +import android.graphics.Rect +import android.graphics.drawable.BitmapDrawable +import android.view.MotionEvent +import kotlin.math.atan2 +import kotlin.math.cos +import kotlin.math.sin +import kotlin.math.sqrt +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.utils.EmulationMenuSettings + +/** + * Custom [BitmapDrawable] that is capable + * of storing it's own ID. + * + * @param res [Resources] instance. + * @param bitmapOuter [Bitmap] which represents the outer non-movable part of the joystick. + * @param bitmapInnerDefault [Bitmap] which represents the default inner movable part of the joystick. + * @param bitmapInnerPressed [Bitmap] which represents the pressed inner movable part of the joystick. + * @param rectOuter [Rect] which represents the outer joystick bounds. + * @param rectInner [Rect] which represents the inner joystick bounds. + * @param joystickId The ID value what type of joystick this Drawable represents. + * @param buttonId The ID value what type of button this Drawable represents. + */ +class InputOverlayDrawableJoystick( + res: Resources, + bitmapOuter: Bitmap, + bitmapInnerDefault: Bitmap, + bitmapInnerPressed: Bitmap, + rectOuter: Rect, + rectInner: Rect, + val joystickId: Int, + val buttonId: Int +) { + // The ID value what motion event is tracking + var trackId = -1 + + var xAxis = 0f + private var yAxis = 0f + + val width: Int + val height: Int + + private var opacity: Int = 0 + + private var virtBounds: Rect + private var origBounds: Rect + + private val outerBitmap: BitmapDrawable + private val defaultStateInnerBitmap: BitmapDrawable + private val pressedStateInnerBitmap: BitmapDrawable + + private var previousTouchX = 0 + private var previousTouchY = 0 + var controlPositionX = 0 + var controlPositionY = 0 + + private val boundsBoxBitmap: BitmapDrawable + + private var pressedState = false + + // TODO: Add button support + val buttonStatus: Int + get() = + NativeLibrary.ButtonState.RELEASED + var bounds: Rect + get() = outerBitmap.bounds + set(bounds) { + outerBitmap.bounds = bounds + } + + // Nintendo joysticks have y axis inverted + val realYAxis: Float + get() = -yAxis + + private val currentStateBitmapDrawable: BitmapDrawable + get() = if (pressedState) pressedStateInnerBitmap else defaultStateInnerBitmap + + init { + outerBitmap = BitmapDrawable(res, bitmapOuter) + defaultStateInnerBitmap = BitmapDrawable(res, bitmapInnerDefault) + pressedStateInnerBitmap = BitmapDrawable(res, bitmapInnerPressed) + boundsBoxBitmap = BitmapDrawable(res, bitmapOuter) + width = bitmapOuter.width + height = bitmapOuter.height + bounds = rectOuter + defaultStateInnerBitmap.bounds = rectInner + pressedStateInnerBitmap.bounds = rectInner + virtBounds = bounds + origBounds = outerBitmap.copyBounds() + boundsBoxBitmap.alpha = 0 + boundsBoxBitmap.bounds = virtBounds + setInnerBounds() + } + + fun draw(canvas: Canvas?) { + outerBitmap.draw(canvas!!) + currentStateBitmapDrawable.draw(canvas) + boundsBoxBitmap.draw(canvas) + } + + fun updateStatus(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val xPosition = event.getX(pointerIndex).toInt() + val yPosition = event.getY(pointerIndex).toInt() + val pointerId = event.getPointerId(pointerIndex) + val motionEvent = event.action and MotionEvent.ACTION_MASK + val isActionDown = + motionEvent == MotionEvent.ACTION_DOWN || motionEvent == MotionEvent.ACTION_POINTER_DOWN + val isActionUp = + motionEvent == MotionEvent.ACTION_UP || motionEvent == MotionEvent.ACTION_POINTER_UP + + if (isActionDown) { + if (!bounds.contains(xPosition, yPosition)) { + return false + } + pressedState = true + outerBitmap.alpha = 0 + boundsBoxBitmap.alpha = opacity + if (EmulationMenuSettings.joystickRelCenter) { + virtBounds.offset( + xPosition - virtBounds.centerX(), + yPosition - virtBounds.centerY() + ) + } + boundsBoxBitmap.bounds = virtBounds + trackId = pointerId + } + + if (isActionUp) { + if (trackId != pointerId) { + return false + } + pressedState = false + xAxis = 0.0f + yAxis = 0.0f + outerBitmap.alpha = opacity + boundsBoxBitmap.alpha = 0 + virtBounds = Rect( + origBounds.left, + origBounds.top, + origBounds.right, + origBounds.bottom + ) + bounds = Rect( + origBounds.left, + origBounds.top, + origBounds.right, + origBounds.bottom + ) + setInnerBounds() + trackId = -1 + return true + } + + if (trackId == -1) return false + + for (i in 0 until event.pointerCount) { + if (trackId != event.getPointerId(i)) { + continue + } + var touchX = event.getX(i) + var touchY = event.getY(i) + var maxY = virtBounds.bottom.toFloat() + var maxX = virtBounds.right.toFloat() + touchX -= virtBounds.centerX().toFloat() + maxX -= virtBounds.centerX().toFloat() + touchY -= virtBounds.centerY().toFloat() + maxY -= virtBounds.centerY().toFloat() + val axisX = touchX / maxX + val axisY = touchY / maxY + val oldXAxis = xAxis + val oldYAxis = yAxis + + // Clamp the circle pad input to a circle + val angle = atan2(axisY.toDouble(), axisX.toDouble()).toFloat() + var radius = sqrt((axisX * axisX + axisY * axisY).toDouble()).toFloat() + if (radius > 1.0f) { + radius = 1.0f + } + xAxis = cos(angle.toDouble()).toFloat() * radius + yAxis = sin(angle.toDouble()).toFloat() * radius + setInnerBounds() + return oldXAxis != xAxis && oldYAxis != yAxis + } + return false + } + + fun onConfigureTouch(event: MotionEvent): Boolean { + val pointerIndex = event.actionIndex + val fingerPositionX = event.getX(pointerIndex).toInt() + val fingerPositionY = event.getY(pointerIndex).toInt() + + when (event.action) { + MotionEvent.ACTION_DOWN -> { + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + controlPositionX = fingerPositionX - (width / 2) + controlPositionY = fingerPositionY - (height / 2) + } + + MotionEvent.ACTION_MOVE -> { + controlPositionX += fingerPositionX - previousTouchX + controlPositionY += fingerPositionY - previousTouchY + bounds = Rect( + controlPositionX, + controlPositionY, + outerBitmap.intrinsicWidth + controlPositionX, + outerBitmap.intrinsicHeight + controlPositionY + ) + virtBounds = Rect( + controlPositionX, + controlPositionY, + outerBitmap.intrinsicWidth + controlPositionX, + outerBitmap.intrinsicHeight + controlPositionY + ) + setInnerBounds() + bounds = Rect( + Rect( + controlPositionX, + controlPositionY, + outerBitmap.intrinsicWidth + controlPositionX, + outerBitmap.intrinsicHeight + controlPositionY + ) + ) + previousTouchX = fingerPositionX + previousTouchY = fingerPositionY + } + } + origBounds = outerBitmap.copyBounds() + return true + } + + private fun setInnerBounds() { + var x = virtBounds.centerX() + (xAxis * (virtBounds.width() / 2)).toInt() + var y = virtBounds.centerY() + (yAxis * (virtBounds.height() / 2)).toInt() + if (x > virtBounds.centerX() + virtBounds.width() / 2) { + x = + virtBounds.centerX() + virtBounds.width() / 2 + } + if (x < virtBounds.centerX() - virtBounds.width() / 2) { + x = + virtBounds.centerX() - virtBounds.width() / 2 + } + if (y > virtBounds.centerY() + virtBounds.height() / 2) { + y = + virtBounds.centerY() + virtBounds.height() / 2 + } + if (y < virtBounds.centerY() - virtBounds.height() / 2) { + y = + virtBounds.centerY() - virtBounds.height() / 2 + } + val width = pressedStateInnerBitmap.bounds.width() / 2 + val height = pressedStateInnerBitmap.bounds.height() / 2 + defaultStateInnerBitmap.setBounds( + x - width, + y - height, + x + width, + y + height + ) + pressedStateInnerBitmap.bounds = defaultStateInnerBitmap.bounds + } + + fun setPosition(x: Int, y: Int) { + controlPositionX = x + controlPositionY = y + } + + fun setOpacity(value: Int) { + opacity = value + + defaultStateInnerBitmap.alpha = value + pressedStateInnerBitmap.alpha = value + + if (trackId == -1) { + outerBitmap.alpha = value + boundsBoxBitmap.alpha = 0 + } else { + outerBitmap.alpha = 0 + boundsBoxBitmap.alpha = value + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt new file mode 100644 index 000000000..b0156dca5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.ui + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.ViewGroup.MarginLayoutParams +import androidx.appcompat.app.AppCompatActivity +import androidx.core.view.ViewCompat +import androidx.core.view.WindowInsetsCompat +import androidx.core.view.updatePadding +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import com.google.android.material.color.MaterialColors +import com.google.android.material.transition.MaterialFadeThrough +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.adapters.GameAdapter +import org.yuzu.yuzu_emu.databinding.FragmentGamesBinding +import org.yuzu.yuzu_emu.layout.AutofitGridLayoutManager +import org.yuzu.yuzu_emu.model.GamesViewModel +import org.yuzu.yuzu_emu.model.HomeViewModel + +class GamesFragment : Fragment() { + private var _binding: FragmentGamesBinding? = null + private val binding get() = _binding!! + + private val gamesViewModel: GamesViewModel by activityViewModels() + private val homeViewModel: HomeViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enterTransition = MaterialFadeThrough() + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentGamesBinding.inflate(inflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + homeViewModel.setNavigationVisibility(visible = true, animated = false) + + binding.gridGames.apply { + layoutManager = AutofitGridLayoutManager( + requireContext(), + requireContext().resources.getDimensionPixelSize(R.dimen.card_width) + ) + adapter = GameAdapter(requireActivity() as AppCompatActivity) + } + + binding.swipeRefresh.apply { + // Add swipe down to refresh gesture + setOnRefreshListener { + gamesViewModel.reloadGames(false) + } + + // Set theme color to the refresh animation's background + setProgressBackgroundColorSchemeColor( + MaterialColors.getColor( + binding.swipeRefresh, + com.google.android.material.R.attr.colorPrimary + ) + ) + setColorSchemeColors( + MaterialColors.getColor( + binding.swipeRefresh, + com.google.android.material.R.attr.colorOnPrimary + ) + ) + + // Make sure the loading indicator appears even if the layout is told to refresh before being fully drawn + post { + if (_binding == null) { + return@post + } + binding.swipeRefresh.isRefreshing = gamesViewModel.isReloading.value!! + } + } + + gamesViewModel.apply { + // Watch for when we get updates to any of our games lists + isReloading.observe(viewLifecycleOwner) { isReloading -> + binding.swipeRefresh.isRefreshing = isReloading + } + games.observe(viewLifecycleOwner) { + (binding.gridGames.adapter as GameAdapter).submitList(it) + if (it.isEmpty()) { + binding.noticeText.visibility = View.VISIBLE + } else { + binding.noticeText.visibility = View.GONE + } + } + shouldSwapData.observe(viewLifecycleOwner) { shouldSwapData -> + if (shouldSwapData) { + (binding.gridGames.adapter as GameAdapter).submitList( + gamesViewModel.games.value!! + ) + gamesViewModel.setShouldSwapData(false) + } + } + + // Check if the user reselected the games menu item and then scroll to top of the list + shouldScrollToTop.observe(viewLifecycleOwner) { shouldScroll -> + if (shouldScroll) { + scrollToTop() + gamesViewModel.setShouldScrollToTop(false) + } + } + } + + setInsets() + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } + + private fun scrollToTop() { + if (_binding != null) { + binding.gridGames.smoothScrollToPosition(0) + } + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + val extraListSpacing = resources.getDimensionPixelSize(R.dimen.spacing_large) + val spacingNavigation = resources.getDimensionPixelSize(R.dimen.spacing_navigation) + val spacingNavigationRail = + resources.getDimensionPixelSize(R.dimen.spacing_navigation_rail) + + binding.gridGames.updatePadding( + top = barInsets.top + extraListSpacing, + bottom = barInsets.bottom + spacingNavigation + extraListSpacing + ) + + binding.swipeRefresh.setProgressViewEndTarget( + false, + barInsets.top + resources.getDimensionPixelSize(R.dimen.spacing_refresh_end) + ) + + val leftInsets = barInsets.left + cutoutInsets.left + val rightInsets = barInsets.right + cutoutInsets.right + val mlpSwipe = binding.swipeRefresh.layoutParams as MarginLayoutParams + if (ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_LTR) { + mlpSwipe.leftMargin = leftInsets + spacingNavigationRail + mlpSwipe.rightMargin = rightInsets + } else { + mlpSwipe.leftMargin = leftInsets + mlpSwipe.rightMargin = rightInsets + spacingNavigationRail + } + binding.swipeRefresh.layoutParams = mlpSwipe + + binding.noticeText.updatePadding(bottom = spacingNavigation) + + windowInsets + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt new file mode 100644 index 000000000..f7d7aed1e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt @@ -0,0 +1,592 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.ui.main + +import android.content.Intent +import android.net.Uri +import android.os.Bundle +import android.view.View +import android.view.ViewGroup.MarginLayoutParams +import android.view.WindowManager +import android.view.animation.PathInterpolator +import android.widget.Toast +import androidx.activity.result.contract.ActivityResultContracts +import androidx.activity.viewModels +import androidx.appcompat.app.AppCompatActivity +import androidx.core.content.ContextCompat +import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen +import androidx.core.view.ViewCompat +import androidx.core.view.WindowCompat +import androidx.core.view.WindowInsetsCompat +import androidx.lifecycle.lifecycleScope +import androidx.navigation.NavController +import androidx.navigation.fragment.NavHostFragment +import androidx.navigation.ui.setupWithNavController +import androidx.preference.PreferenceManager +import com.google.android.material.color.MaterialColors +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.google.android.material.navigation.NavigationBarView +import java.io.File +import java.io.FilenameFilter +import java.io.IOException +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.launch +import kotlinx.coroutines.withContext +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.activities.EmulationActivity +import org.yuzu.yuzu_emu.databinding.ActivityMainBinding +import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel +import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.fragments.IndeterminateProgressDialogFragment +import org.yuzu.yuzu_emu.fragments.LongMessageDialogFragment +import org.yuzu.yuzu_emu.fragments.MessageDialogFragment +import org.yuzu.yuzu_emu.model.GamesViewModel +import org.yuzu.yuzu_emu.model.HomeViewModel +import org.yuzu.yuzu_emu.utils.* + +class MainActivity : AppCompatActivity(), ThemeProvider { + private lateinit var binding: ActivityMainBinding + + private val homeViewModel: HomeViewModel by viewModels() + private val gamesViewModel: GamesViewModel by viewModels() + private val settingsViewModel: SettingsViewModel by viewModels() + + override var themeId: Int = 0 + + override fun onCreate(savedInstanceState: Bundle?) { + val splashScreen = installSplashScreen() + splashScreen.setKeepOnScreenCondition { !DirectoryInitialization.areDirectoriesReady } + + settingsViewModel.settings.loadSettings() + + ThemeHelper.setTheme(this) + + super.onCreate(savedInstanceState) + + binding = ActivityMainBinding.inflate(layoutInflater) + setContentView(binding.root) + + WindowCompat.setDecorFitsSystemWindows(window, false) + window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING) + + window.statusBarColor = + ContextCompat.getColor(applicationContext, android.R.color.transparent) + window.navigationBarColor = + ContextCompat.getColor(applicationContext, android.R.color.transparent) + + binding.statusBarShade.setBackgroundColor( + ThemeHelper.getColorWithOpacity( + MaterialColors.getColor( + binding.root, + com.google.android.material.R.attr.colorSurface + ), + ThemeHelper.SYSTEM_BAR_ALPHA + ) + ) + if (InsetsHelper.getSystemGestureType(applicationContext) != + InsetsHelper.GESTURE_NAVIGATION + ) { + binding.navigationBarShade.setBackgroundColor( + ThemeHelper.getColorWithOpacity( + MaterialColors.getColor( + binding.root, + com.google.android.material.R.attr.colorSurface + ), + ThemeHelper.SYSTEM_BAR_ALPHA + ) + ) + } + + val navHostFragment = + supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment + setUpNavigation(navHostFragment.navController) + (binding.navigationView as NavigationBarView).setOnItemReselectedListener { + when (it.itemId) { + R.id.gamesFragment -> gamesViewModel.setShouldScrollToTop(true) + R.id.searchFragment -> gamesViewModel.setSearchFocused(true) + R.id.homeSettingsFragment -> SettingsActivity.launch( + this, + SettingsFile.FILE_NAME_CONFIG, + "" + ) + } + } + + // Prevents navigation from being drawn for a short time on recreation if set to hidden + if (!homeViewModel.navigationVisible.value?.first!!) { + binding.navigationView.visibility = View.INVISIBLE + binding.statusBarShade.visibility = View.INVISIBLE + } + + homeViewModel.navigationVisible.observe(this) { + showNavigation(it.first, it.second) + } + homeViewModel.statusBarShadeVisible.observe(this) { visible -> + showStatusBarShade(visible) + } + + // Dismiss previous notifications (should not happen unless a crash occurred) + EmulationActivity.stopForegroundService(this) + + setInsets() + } + + fun finishSetup(navController: NavController) { + navController.navigate(R.id.action_firstTimeSetupFragment_to_gamesFragment) + (binding.navigationView as NavigationBarView).setupWithNavController(navController) + showNavigation(visible = true, animated = true) + } + + private fun setUpNavigation(navController: NavController) { + val firstTimeSetup = PreferenceManager.getDefaultSharedPreferences(applicationContext) + .getBoolean(Settings.PREF_FIRST_APP_LAUNCH, true) + + if (firstTimeSetup && !homeViewModel.navigatedToSetup) { + navController.navigate(R.id.firstTimeSetupFragment) + homeViewModel.navigatedToSetup = true + } else { + (binding.navigationView as NavigationBarView).setupWithNavController(navController) + } + } + + private fun showNavigation(visible: Boolean, animated: Boolean) { + if (!animated) { + if (visible) { + binding.navigationView.visibility = View.VISIBLE + } else { + binding.navigationView.visibility = View.INVISIBLE + } + return + } + + val smallLayout = resources.getBoolean(R.bool.small_layout) + binding.navigationView.animate().apply { + if (visible) { + binding.navigationView.visibility = View.VISIBLE + duration = 300 + interpolator = PathInterpolator(0.05f, 0.7f, 0.1f, 1f) + + if (smallLayout) { + binding.navigationView.translationY = + binding.navigationView.height.toFloat() * 2 + translationY(0f) + } else { + if (ViewCompat.getLayoutDirection(binding.navigationView) == + ViewCompat.LAYOUT_DIRECTION_LTR + ) { + binding.navigationView.translationX = + binding.navigationView.width.toFloat() * -2 + translationX(0f) + } else { + binding.navigationView.translationX = + binding.navigationView.width.toFloat() * 2 + translationX(0f) + } + } + } else { + duration = 300 + interpolator = PathInterpolator(0.3f, 0f, 0.8f, 0.15f) + + if (smallLayout) { + translationY(binding.navigationView.height.toFloat() * 2) + } else { + if (ViewCompat.getLayoutDirection(binding.navigationView) == + ViewCompat.LAYOUT_DIRECTION_LTR + ) { + translationX(binding.navigationView.width.toFloat() * -2) + } else { + translationX(binding.navigationView.width.toFloat() * 2) + } + } + } + }.withEndAction { + if (!visible) { + binding.navigationView.visibility = View.INVISIBLE + } + }.start() + } + + private fun showStatusBarShade(visible: Boolean) { + binding.statusBarShade.animate().apply { + if (visible) { + binding.statusBarShade.visibility = View.VISIBLE + binding.statusBarShade.translationY = binding.statusBarShade.height.toFloat() * -2 + duration = 300 + translationY(0f) + interpolator = PathInterpolator(0.05f, 0.7f, 0.1f, 1f) + } else { + duration = 300 + translationY(binding.navigationView.height.toFloat() * -2) + interpolator = PathInterpolator(0.3f, 0f, 0.8f, 0.15f) + } + }.withEndAction { + if (!visible) { + binding.statusBarShade.visibility = View.INVISIBLE + } + }.start() + } + + override fun onResume() { + ThemeHelper.setCorrectTheme(this) + super.onResume() + } + + override fun onDestroy() { + EmulationActivity.stopForegroundService(this) + super.onDestroy() + } + + private fun setInsets() = + ViewCompat.setOnApplyWindowInsetsListener( + binding.root + ) { _: View, windowInsets: WindowInsetsCompat -> + val insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val mlpStatusShade = binding.statusBarShade.layoutParams as MarginLayoutParams + mlpStatusShade.height = insets.top + binding.statusBarShade.layoutParams = mlpStatusShade + + // The only situation where we care to have a nav bar shade is when it's at the bottom + // of the screen where scrolling list elements can go behind it. + val mlpNavShade = binding.navigationBarShade.layoutParams as MarginLayoutParams + mlpNavShade.height = insets.bottom + binding.navigationBarShade.layoutParams = mlpNavShade + + windowInsets + } + + override fun setTheme(resId: Int) { + super.setTheme(resId) + themeId = resId + } + + val getGamesDirectory = + registerForActivityResult(ActivityResultContracts.OpenDocumentTree()) { result -> + if (result == null) { + return@registerForActivityResult + } + + contentResolver.takePersistableUriPermission( + result, + Intent.FLAG_GRANT_READ_URI_PERMISSION + ) + + // When a new directory is picked, we currently will reset the existing games + // database. This effectively means that only one game directory is supported. + PreferenceManager.getDefaultSharedPreferences(applicationContext).edit() + .putString(GameHelper.KEY_GAME_PATH, result.toString()) + .apply() + + Toast.makeText( + applicationContext, + R.string.games_dir_selected, + Toast.LENGTH_LONG + ).show() + + gamesViewModel.reloadGames(true) + } + + val getProdKey = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result == null) { + return@registerForActivityResult + } + + if (FileUtil.getExtension(result) != "keys") { + MessageDialogFragment.newInstance( + R.string.reading_keys_failure, + R.string.install_prod_keys_failure_extension_description + ).show(supportFragmentManager, MessageDialogFragment.TAG) + return@registerForActivityResult + } + + contentResolver.takePersistableUriPermission( + result, + Intent.FLAG_GRANT_READ_URI_PERMISSION + ) + + val dstPath = DirectoryInitialization.userDirectory + "/keys/" + if (FileUtil.copyUriToInternalStorage( + applicationContext, + result, + dstPath, + "prod.keys" + ) + ) { + if (NativeLibrary.reloadKeys()) { + Toast.makeText( + applicationContext, + R.string.install_keys_success, + Toast.LENGTH_SHORT + ).show() + gamesViewModel.reloadGames(true) + } else { + MessageDialogFragment.newInstance( + R.string.invalid_keys_error, + R.string.install_keys_failure_description, + R.string.dumping_keys_quickstart_link + ).show(supportFragmentManager, MessageDialogFragment.TAG) + } + } + } + + val getFirmware = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result == null) { + return@registerForActivityResult + } + + val inputZip = contentResolver.openInputStream(result) + if (inputZip == null) { + Toast.makeText( + applicationContext, + getString(R.string.fatal_error), + Toast.LENGTH_LONG + ).show() + return@registerForActivityResult + } + + val filterNCA = FilenameFilter { _, dirName -> dirName.endsWith(".nca") } + + val firmwarePath = + File(DirectoryInitialization.userDirectory + "/nand/system/Contents/registered/") + val cacheFirmwareDir = File("${cacheDir.path}/registered/") + + val task: () -> Any = { + var messageToShow: Any + try { + FileUtil.unzip(inputZip, cacheFirmwareDir) + val unfilteredNumOfFiles = cacheFirmwareDir.list()?.size ?: -1 + val filteredNumOfFiles = cacheFirmwareDir.list(filterNCA)?.size ?: -2 + messageToShow = if (unfilteredNumOfFiles != filteredNumOfFiles) { + MessageDialogFragment.newInstance( + R.string.firmware_installed_failure, + R.string.firmware_installed_failure_description + ) + } else { + firmwarePath.deleteRecursively() + cacheFirmwareDir.copyRecursively(firmwarePath, true) + getString(R.string.save_file_imported_success) + } + } catch (e: Exception) { + messageToShow = getString(R.string.fatal_error) + } finally { + cacheFirmwareDir.deleteRecursively() + } + messageToShow + } + + IndeterminateProgressDialogFragment.newInstance( + this, + R.string.firmware_installing, + task + ).show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG) + } + + val getAmiiboKey = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result == null) { + return@registerForActivityResult + } + + if (FileUtil.getExtension(result) != "bin") { + MessageDialogFragment.newInstance( + R.string.reading_keys_failure, + R.string.install_amiibo_keys_failure_extension_description + ).show(supportFragmentManager, MessageDialogFragment.TAG) + return@registerForActivityResult + } + + contentResolver.takePersistableUriPermission( + result, + Intent.FLAG_GRANT_READ_URI_PERMISSION + ) + + val dstPath = DirectoryInitialization.userDirectory + "/keys/" + if (FileUtil.copyUriToInternalStorage( + applicationContext, + result, + dstPath, + "key_retail.bin" + ) + ) { + if (NativeLibrary.reloadKeys()) { + Toast.makeText( + applicationContext, + R.string.install_keys_success, + Toast.LENGTH_SHORT + ).show() + } else { + MessageDialogFragment.newInstance( + R.string.invalid_keys_error, + R.string.install_keys_failure_description, + R.string.dumping_keys_quickstart_link + ).show(supportFragmentManager, MessageDialogFragment.TAG) + } + } + } + + val getDriver = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result == null) { + return@registerForActivityResult + } + + val takeFlags = + Intent.FLAG_GRANT_WRITE_URI_PERMISSION or Intent.FLAG_GRANT_READ_URI_PERMISSION + contentResolver.takePersistableUriPermission( + result, + takeFlags + ) + + val progressBinding = DialogProgressBarBinding.inflate(layoutInflater) + progressBinding.progressBar.isIndeterminate = true + val installationDialog = MaterialAlertDialogBuilder(this) + .setTitle(R.string.installing_driver) + .setView(progressBinding.root) + .show() + + lifecycleScope.launch { + withContext(Dispatchers.IO) { + // Ignore file exceptions when a user selects an invalid zip + try { + GpuDriverHelper.installCustomDriver(applicationContext, result) + } catch (_: IOException) { + } + + withContext(Dispatchers.Main) { + installationDialog.dismiss() + + val driverName = GpuDriverHelper.customDriverName + if (driverName != null) { + Toast.makeText( + applicationContext, + getString( + R.string.select_gpu_driver_install_success, + driverName + ), + Toast.LENGTH_SHORT + ).show() + } else { + Toast.makeText( + applicationContext, + R.string.select_gpu_driver_error, + Toast.LENGTH_LONG + ).show() + } + } + } + } + } + + val installGameUpdate = registerForActivityResult( + ActivityResultContracts.OpenMultipleDocuments() + ) { documents: List -> + if (documents.isNotEmpty()) { + IndeterminateProgressDialogFragment.newInstance( + this@MainActivity, + R.string.install_game_content + ) { + var installSuccess = 0 + var installOverwrite = 0 + var errorBaseGame = 0 + var errorExtension = 0 + var errorOther = 0 + var errorTotal = 0 + lifecycleScope.launch { + documents.forEach { + when (NativeLibrary.installFileToNand(it.toString())) { + NativeLibrary.InstallFileToNandResult.Success -> { + installSuccess += 1 + } + + NativeLibrary.InstallFileToNandResult.SuccessFileOverwritten -> { + installOverwrite += 1 + } + + NativeLibrary.InstallFileToNandResult.ErrorBaseGame -> { + errorBaseGame += 1 + } + + NativeLibrary.InstallFileToNandResult.ErrorFilenameExtension -> { + errorExtension += 1 + } + + else -> { + errorOther += 1 + } + } + } + withContext(Dispatchers.Main) { + val separator = System.getProperty("line.separator") ?: "\n" + val installResult = StringBuilder() + if (installSuccess > 0) { + installResult.append( + getString( + R.string.install_game_content_success_install, + installSuccess + ) + ) + installResult.append(separator) + } + if (installOverwrite > 0) { + installResult.append( + getString( + R.string.install_game_content_success_overwrite, + installOverwrite + ) + ) + installResult.append(separator) + } + errorTotal = errorBaseGame + errorExtension + errorOther + if (errorTotal > 0) { + installResult.append(separator) + installResult.append( + getString( + R.string.install_game_content_failed_count, + errorTotal + ) + ) + installResult.append(separator) + if (errorBaseGame > 0) { + installResult.append(separator) + installResult.append( + getString(R.string.install_game_content_failure_base) + ) + installResult.append(separator) + } + if (errorExtension > 0) { + installResult.append(separator) + installResult.append( + getString(R.string.install_game_content_failure_file_extension) + ) + installResult.append(separator) + } + if (errorOther > 0) { + installResult.append( + getString(R.string.install_game_content_failure_description) + ) + installResult.append(separator) + } + LongMessageDialogFragment.newInstance( + R.string.install_game_content_failure, + installResult.toString().trim(), + R.string.install_game_content_help_link + ).show(supportFragmentManager, LongMessageDialogFragment.TAG) + } else { + LongMessageDialogFragment.newInstance( + R.string.install_game_content_success, + installResult.toString().trim() + ).show(supportFragmentManager, LongMessageDialogFragment.TAG) + } + } + } + return@newInstance installSuccess + installOverwrite + errorTotal + }.show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/ThemeProvider.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/ThemeProvider.kt new file mode 100644 index 000000000..511a6e4fa --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/ThemeProvider.kt @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.ui.main + +interface ThemeProvider { + /** + * Provides theme ID by overriding an activity's 'setTheme' method and returning that result + */ + var themeId: Int +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt new file mode 100644 index 000000000..9cfda74ee --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +class BiMap { + private val forward: MutableMap = HashMap() + private val backward: MutableMap = HashMap() + + @Synchronized + fun add(key: K, value: V) { + forward[key] = value + backward[value] = key + } + + @Synchronized + fun getForward(key: K): V? { + return forward[key] + } + + @Synchronized + fun getBackward(key: V): K? { + return backward[key] + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.kt new file mode 100644 index 000000000..eeefcdf20 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ControllerMappingHelper.kt @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.view.InputDevice +import android.view.KeyEvent +import android.view.MotionEvent + +/** + * Some controllers have incorrect mappings. This class has special-case fixes for them. + */ +class ControllerMappingHelper { + /** + * Some controllers report extra button presses that can be ignored. + */ + fun shouldKeyBeIgnored(inputDevice: InputDevice, keyCode: Int): Boolean { + return if (isDualShock4(inputDevice)) { + // The two analog triggers generate analog motion events as well as a keycode. + // We always prefer to use the analog values, so throw away the button press + keyCode == KeyEvent.KEYCODE_BUTTON_L2 || keyCode == KeyEvent.KEYCODE_BUTTON_R2 + } else { + false + } + } + + /** + * Scale an axis to be zero-centered with a proper range. + */ + fun scaleAxis(inputDevice: InputDevice, axis: Int, value: Float): Float { + if (isDualShock4(inputDevice)) { + // Android doesn't have correct mappings for this controller's triggers. It reports them + // as RX & RY, centered at -1.0, and with a range of [-1.0, 1.0] + // Scale them to properly zero-centered with a range of [0.0, 1.0]. + if (axis == MotionEvent.AXIS_RX || axis == MotionEvent.AXIS_RY) { + return (value + 1) / 2.0f + } + } else if (isXboxOneWireless(inputDevice)) { + // Same as the DualShock 4, the mappings are missing. + if (axis == MotionEvent.AXIS_Z || axis == MotionEvent.AXIS_RZ) { + return (value + 1) / 2.0f + } + if (axis == MotionEvent.AXIS_GENERIC_1) { + // This axis is stuck at ~.5. Ignore it. + return 0.0f + } + } else if (isMogaPro2Hid(inputDevice)) { + // This controller has a broken axis that reports a constant value. Ignore it. + if (axis == MotionEvent.AXIS_GENERIC_1) { + return 0.0f + } + } + return value + } + + // Sony DualShock 4 controller + private fun isDualShock4(inputDevice: InputDevice): Boolean { + return inputDevice.vendorId == 0x54c && inputDevice.productId == 0x9cc + } + + // Microsoft Xbox One controller + private fun isXboxOneWireless(inputDevice: InputDevice): Boolean { + return inputDevice.vendorId == 0x45e && inputDevice.productId == 0x2e0 + } + + // Moga Pro 2 HID + private fun isMogaPro2Hid(inputDevice: InputDevice): Boolean { + return inputDevice.vendorId == 0x20d6 && inputDevice.productId == 0x6271 + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt new file mode 100644 index 000000000..2ee63697e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.Context +import java.io.IOException +import org.yuzu.yuzu_emu.NativeLibrary + +object DirectoryInitialization { + private var userPath: String? = null + + var areDirectoriesReady: Boolean = false + + fun start(context: Context) { + if (!areDirectoriesReady) { + initializeInternalStorage(context) + NativeLibrary.initializeEmulation() + areDirectoriesReady = true + } + } + + val userDirectory: String? + get() { + check(areDirectoriesReady) { "Directory initialization is not ready!" } + return userPath + } + + private fun initializeInternalStorage(context: Context) { + try { + userPath = context.getExternalFilesDir(null)!!.canonicalPath + NativeLibrary.setAppDirectory(userPath!!) + } catch (e: IOException) { + e.printStackTrace() + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DocumentsTree.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DocumentsTree.kt new file mode 100644 index 000000000..cf226ad94 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DocumentsTree.kt @@ -0,0 +1,121 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.net.Uri +import androidx.documentfile.provider.DocumentFile +import java.io.File +import java.util.* +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.model.MinimalDocumentFile + +class DocumentsTree { + private var root: DocumentsNode? = null + + fun setRoot(rootUri: Uri?) { + root = null + root = DocumentsNode() + root!!.uri = rootUri + root!!.isDirectory = true + } + + fun openContentUri(filepath: String, openMode: String?): Int { + val node = resolvePath(filepath) ?: return -1 + return FileUtil.openContentUri(YuzuApplication.appContext, node.uri.toString(), openMode) + } + + fun getFileSize(filepath: String): Long { + val node = resolvePath(filepath) + return if (node == null || node.isDirectory) { + 0 + } else { + FileUtil.getFileSize(YuzuApplication.appContext, node.uri.toString()) + } + } + + fun exists(filepath: String): Boolean { + return resolvePath(filepath) != null + } + + fun isDirectory(filepath: String): Boolean { + val node = resolvePath(filepath) + return node != null && node.isDirectory + } + + private fun resolvePath(filepath: String): DocumentsNode? { + val tokens = StringTokenizer(filepath, File.separator, false) + var iterator = root + while (tokens.hasMoreTokens()) { + val token = tokens.nextToken() + if (token.isEmpty()) continue + iterator = find(iterator, token) + if (iterator == null) return null + } + return iterator + } + + private fun find(parent: DocumentsNode?, filename: String): DocumentsNode? { + if (parent!!.isDirectory && !parent.loaded) { + structTree(parent) + } + return parent.children[filename] + } + + /** + * Construct current level directory tree + * @param parent parent node of this level + */ + private fun structTree(parent: DocumentsNode) { + val documents = FileUtil.listFiles(YuzuApplication.appContext, parent.uri!!) + for (document in documents) { + val node = DocumentsNode(document) + node.parent = parent + parent.children[node.name] = node + } + parent.loaded = true + } + + private class DocumentsNode { + var parent: DocumentsNode? = null + val children: MutableMap = HashMap() + var name: String? = null + var uri: Uri? = null + var loaded = false + var isDirectory = false + + constructor() + constructor(document: MinimalDocumentFile) { + name = document.filename + uri = document.uri + isDirectory = document.isDirectory + loaded = !isDirectory + } + + private constructor(document: DocumentFile, isCreateDir: Boolean) { + name = document.name + uri = document.uri + isDirectory = isCreateDir + loaded = true + } + + private fun rename(name: String) { + if (parent == null) { + return + } + parent!!.children.remove(this.name) + this.name = name + parent!!.children[name] = this + } + } + + companion object { + fun isNativePath(path: String): Boolean { + return if (path.isNotEmpty()) { + path[0] == '/' + } else { + false + } + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.kt new file mode 100644 index 000000000..7e8f058c1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/EmulationMenuSettings.kt @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import androidx.preference.PreferenceManager +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.Settings + +object EmulationMenuSettings { + private val preferences = + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + var joystickRelCenter: Boolean + get() = preferences.getBoolean(Settings.PREF_MENU_SETTINGS_JOYSTICK_REL_CENTER, true) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_MENU_SETTINGS_JOYSTICK_REL_CENTER, value) + .apply() + } + var dpadSlide: Boolean + get() = preferences.getBoolean(Settings.PREF_MENU_SETTINGS_DPAD_SLIDE, true) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_MENU_SETTINGS_DPAD_SLIDE, value) + .apply() + } + var hapticFeedback: Boolean + get() = preferences.getBoolean(Settings.PREF_MENU_SETTINGS_HAPTICS, false) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_MENU_SETTINGS_HAPTICS, value) + .apply() + } + + var showFps: Boolean + get() = preferences.getBoolean(Settings.PREF_MENU_SETTINGS_SHOW_FPS, false) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_MENU_SETTINGS_SHOW_FPS, value) + .apply() + } + var showOverlay: Boolean + get() = preferences.getBoolean(Settings.PREF_MENU_SETTINGS_SHOW_OVERLAY, true) + set(value) { + preferences.edit() + .putBoolean(Settings.PREF_MENU_SETTINGS_SHOW_OVERLAY, value) + .apply() + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt new file mode 100644 index 000000000..142af5f26 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt @@ -0,0 +1,332 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.Context +import android.database.Cursor +import android.net.Uri +import android.provider.DocumentsContract +import androidx.documentfile.provider.DocumentFile +import java.io.BufferedInputStream +import java.io.File +import java.io.FileOutputStream +import java.io.IOException +import java.io.InputStream +import java.net.URLDecoder +import java.util.zip.ZipEntry +import java.util.zip.ZipInputStream +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.model.MinimalDocumentFile + +object FileUtil { + const val PATH_TREE = "tree" + const val DECODE_METHOD = "UTF-8" + const val APPLICATION_OCTET_STREAM = "application/octet-stream" + const val TEXT_PLAIN = "text/plain" + + /** + * Create a file from directory with filename. + * @param context Application context + * @param directory parent path for file. + * @param filename file display name. + * @return boolean + */ + fun createFile(context: Context?, directory: String?, filename: String): DocumentFile? { + var decodedFilename = filename + try { + val directoryUri = Uri.parse(directory) + val parent = DocumentFile.fromTreeUri(context!!, directoryUri) ?: return null + decodedFilename = URLDecoder.decode(decodedFilename, DECODE_METHOD) + var mimeType = APPLICATION_OCTET_STREAM + if (decodedFilename.endsWith(".txt")) { + mimeType = TEXT_PLAIN + } + val exists = parent.findFile(decodedFilename) + return exists ?: parent.createFile(mimeType, decodedFilename) + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot create file, error: " + e.message) + } + return null + } + + /** + * Create a directory from directory with filename. + * @param context Application context + * @param directory parent path for directory. + * @param directoryName directory display name. + * @return boolean + */ + fun createDir(context: Context?, directory: String?, directoryName: String?): DocumentFile? { + var decodedDirectoryName = directoryName + try { + val directoryUri = Uri.parse(directory) + val parent = DocumentFile.fromTreeUri(context!!, directoryUri) ?: return null + decodedDirectoryName = URLDecoder.decode(decodedDirectoryName, DECODE_METHOD) + val isExist = parent.findFile(decodedDirectoryName) + return isExist ?: parent.createDirectory(decodedDirectoryName) + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot create file, error: " + e.message) + } + return null + } + + /** + * Open content uri and return file descriptor to JNI. + * @param context Application context + * @param path Native content uri path + * @param openMode will be one of "r", "r", "rw", "wa", "rwa" + * @return file descriptor + */ + @JvmStatic + fun openContentUri(context: Context, path: String, openMode: String?): Int { + try { + val uri = Uri.parse(path) + val parcelFileDescriptor = context.contentResolver.openFileDescriptor(uri, openMode!!) + if (parcelFileDescriptor == null) { + Log.error("[FileUtil]: Cannot get the file descriptor from uri: $path") + return -1 + } + val fileDescriptor = parcelFileDescriptor.detachFd() + parcelFileDescriptor.close() + return fileDescriptor + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot open content uri, error: " + e.message) + } + return -1 + } + + /** + * Reference: https://stackoverflow.com/questions/42186820/documentfile-is-very-slow + * This function will be faster than DoucmentFile.listFiles + * @param context Application context + * @param uri Directory uri. + * @return CheapDocument lists. + */ + fun listFiles(context: Context, uri: Uri): Array { + val resolver = context.contentResolver + val columns = arrayOf( + DocumentsContract.Document.COLUMN_DOCUMENT_ID, + DocumentsContract.Document.COLUMN_DISPLAY_NAME, + DocumentsContract.Document.COLUMN_MIME_TYPE + ) + var c: Cursor? = null + val results: MutableList = ArrayList() + try { + val docId: String = if (isRootTreeUri(uri)) { + DocumentsContract.getTreeDocumentId(uri) + } else { + DocumentsContract.getDocumentId(uri) + } + val childrenUri = DocumentsContract.buildChildDocumentsUriUsingTree(uri, docId) + c = resolver.query(childrenUri, columns, null, null, null) + while (c!!.moveToNext()) { + val documentId = c.getString(0) + val documentName = c.getString(1) + val documentMimeType = c.getString(2) + val documentUri = DocumentsContract.buildDocumentUriUsingTree(uri, documentId) + val document = MinimalDocumentFile(documentName, documentMimeType, documentUri) + results.add(document) + } + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot list file error: " + e.message) + } finally { + closeQuietly(c) + } + return results.toTypedArray() + } + + /** + * Check whether given path exists. + * @param path Native content uri path + * @return bool + */ + fun exists(context: Context, path: String?): Boolean { + var c: Cursor? = null + try { + val mUri = Uri.parse(path) + val columns = arrayOf(DocumentsContract.Document.COLUMN_DOCUMENT_ID) + c = context.contentResolver.query(mUri, columns, null, null, null) + return c!!.count > 0 + } catch (e: Exception) { + Log.info("[FileUtil] Cannot find file from given path, error: " + e.message) + } finally { + closeQuietly(c) + } + return false + } + + /** + * Check whether given path is a directory + * @param path content uri path + * @return bool + */ + fun isDirectory(context: Context, path: String): Boolean { + val resolver = context.contentResolver + val columns = arrayOf( + DocumentsContract.Document.COLUMN_MIME_TYPE + ) + var isDirectory = false + var c: Cursor? = null + try { + val mUri = Uri.parse(path) + c = resolver.query(mUri, columns, null, null, null) + c!!.moveToNext() + val mimeType = c.getString(0) + isDirectory = mimeType == DocumentsContract.Document.MIME_TYPE_DIR + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot list files, error: " + e.message) + } finally { + closeQuietly(c) + } + return isDirectory + } + + /** + * Get file display name from given path + * @param uri content uri + * @return String display name + */ + fun getFilename(uri: Uri): String { + val resolver = YuzuApplication.appContext.contentResolver + val columns = arrayOf( + DocumentsContract.Document.COLUMN_DISPLAY_NAME + ) + var filename = "" + var c: Cursor? = null + try { + c = resolver.query(uri, columns, null, null, null) + c!!.moveToNext() + filename = c.getString(0) + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot get file size, error: " + e.message) + } finally { + closeQuietly(c) + } + return filename + } + + fun getFilesName(context: Context, path: String): Array { + val uri = Uri.parse(path) + val files: MutableList = ArrayList() + for (file in listFiles(context, uri)) { + files.add(file.filename) + } + return files.toTypedArray() + } + + /** + * Get file size from given path. + * @param path content uri path + * @return long file size + */ + @JvmStatic + fun getFileSize(context: Context, path: String): Long { + val resolver = context.contentResolver + val columns = arrayOf( + DocumentsContract.Document.COLUMN_SIZE + ) + var size: Long = 0 + var c: Cursor? = null + try { + val mUri = Uri.parse(path) + c = resolver.query(mUri, columns, null, null, null) + c!!.moveToNext() + size = c.getLong(0) + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot get file size, error: " + e.message) + } finally { + closeQuietly(c) + } + return size + } + + fun copyUriToInternalStorage( + context: Context, + sourceUri: Uri?, + destinationParentPath: String, + destinationFilename: String + ): Boolean { + var input: InputStream? = null + var output: FileOutputStream? = null + try { + input = context.contentResolver.openInputStream(sourceUri!!) + output = FileOutputStream("$destinationParentPath/$destinationFilename") + val buffer = ByteArray(1024) + var len: Int + while (input!!.read(buffer).also { len = it } != -1) { + output.write(buffer, 0, len) + } + output.flush() + return true + } catch (e: Exception) { + Log.error("[FileUtil]: Cannot copy file, error: " + e.message) + } finally { + if (input != null) { + try { + input.close() + } catch (e: IOException) { + Log.error("[FileUtil]: Cannot close input file, error: " + e.message) + } + } + if (output != null) { + try { + output.close() + } catch (e: IOException) { + Log.error("[FileUtil]: Cannot close output file, error: " + e.message) + } + } + } + return false + } + + /** + * Extracts the given zip file into the given directory. + * @exception IOException if the file was being created outside of the target directory + */ + @Throws(SecurityException::class) + fun unzip(zipStream: InputStream, destDir: File): Boolean { + ZipInputStream(BufferedInputStream(zipStream)).use { zis -> + var entry: ZipEntry? = zis.nextEntry + while (entry != null) { + val entryName = entry.name + val entryFile = File(destDir, entryName) + if (!entryFile.canonicalPath.startsWith(destDir.canonicalPath + File.separator)) { + throw SecurityException("Entry is outside of the target dir: " + entryFile.name) + } + if (entry.isDirectory) { + entryFile.mkdirs() + } else { + entryFile.parentFile?.mkdirs() + entryFile.createNewFile() + entryFile.outputStream().use { fos -> zis.copyTo(fos) } + } + entry = zis.nextEntry + } + } + + return true + } + + fun isRootTreeUri(uri: Uri): Boolean { + val paths = uri.pathSegments + return paths.size == 2 && PATH_TREE == paths[0] + } + + fun closeQuietly(closeable: AutoCloseable?) { + if (closeable != null) { + try { + closeable.close() + } catch (rethrown: RuntimeException) { + throw rethrown + } catch (ignored: Exception) { + } + } + } + + fun getExtension(uri: Uri): String { + val fileName = getFilename(uri) + return fileName.substring(fileName.lastIndexOf(".") + 1) + .lowercase() + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.kt new file mode 100644 index 000000000..086d17606 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.kt @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.app.PendingIntent +import android.app.Service +import android.content.Intent +import android.os.IBinder +import androidx.core.app.NotificationCompat +import androidx.core.app.NotificationManagerCompat +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.activities.EmulationActivity + +/** + * A service that shows a permanent notification in the background to avoid the app getting + * cleared from memory by the system. + */ +class ForegroundService : Service() { + companion object { + const val EMULATION_RUNNING_NOTIFICATION = 0x1000 + + const val ACTION_STOP = "stop" + } + + private fun showRunningNotification() { + // Intent is used to resume emulation if the notification is clicked + val contentIntent = PendingIntent.getActivity( + this, + 0, + Intent(this, EmulationActivity::class.java), + PendingIntent.FLAG_IMMUTABLE + ) + val builder = + NotificationCompat.Builder(this, getString(R.string.emulation_notification_channel_id)) + .setSmallIcon(R.drawable.ic_stat_notification_logo) + .setContentTitle(getString(R.string.app_name)) + .setContentText(getString(R.string.emulation_notification_running)) + .setPriority(NotificationCompat.PRIORITY_LOW) + .setOngoing(true) + .setVibrate(null) + .setSound(null) + .setContentIntent(contentIntent) + startForeground(EMULATION_RUNNING_NOTIFICATION, builder.build()) + } + + override fun onBind(intent: Intent): IBinder? { + return null + } + + override fun onCreate() { + showRunningNotification() + } + + override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { + if (intent == null) { + return START_NOT_STICKY + } + if (intent.action == ACTION_STOP) { + NotificationManagerCompat.from(this).cancel(EMULATION_RUNNING_NOTIFICATION) + stopForeground(STOP_FOREGROUND_REMOVE) + stopSelfResult(startId) + } + return START_STICKY + } + + override fun onDestroy() { + NotificationManagerCompat.from(this).cancel(EMULATION_RUNNING_NOTIFICATION) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt new file mode 100644 index 000000000..f8e7eeca7 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt @@ -0,0 +1,89 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.SharedPreferences +import android.net.Uri +import androidx.preference.PreferenceManager +import kotlinx.serialization.encodeToString +import kotlinx.serialization.json.Json +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.model.Game + +object GameHelper { + const val KEY_GAME_PATH = "game_path" + const val KEY_GAMES = "Games" + + private lateinit var preferences: SharedPreferences + + fun getGames(): List { + val games = mutableListOf() + val context = YuzuApplication.appContext + val gamesDir = + PreferenceManager.getDefaultSharedPreferences(context).getString(KEY_GAME_PATH, "") + val gamesUri = Uri.parse(gamesDir) + preferences = PreferenceManager.getDefaultSharedPreferences(context) + + // Ensure keys are loaded so that ROM metadata can be decrypted. + NativeLibrary.reloadKeys() + + val children = FileUtil.listFiles(context, gamesUri) + for (file in children) { + if (!file.isDirectory) { + // Check that the file has an extension we care about before trying to read out of it. + if (Game.extensions.contains(FileUtil.getExtension(file.uri))) { + games.add(getGame(file.uri)) + } + } + } + + // Cache list of games found on disk + val serializedGames = mutableSetOf() + games.forEach { + serializedGames.add(Json.encodeToString(it)) + } + preferences.edit() + .remove(KEY_GAMES) + .putStringSet(KEY_GAMES, serializedGames) + .apply() + + return games.toList() + } + + private fun getGame(uri: Uri): Game { + val filePath = uri.toString() + var name = NativeLibrary.getTitle(filePath) + + // If the game's title field is empty, use the filename. + if (name.isEmpty()) { + name = FileUtil.getFilename(uri) + } + var gameId = NativeLibrary.getGameId(filePath) + + // If the game's ID field is empty, use the filename without extension. + if (gameId.isEmpty()) { + gameId = name.substring(0, name.lastIndexOf(".")) + } + + val newGame = Game( + name, + NativeLibrary.getDescription(filePath).replace("\n", " "), + NativeLibrary.getRegions(filePath), + filePath, + gameId, + NativeLibrary.getCompany(filePath), + NativeLibrary.isHomebrew(filePath) + ) + + val addedTime = preferences.getLong(newGame.keyAddedToLibraryTime, 0L) + if (addedTime == 0L) { + preferences.edit() + .putLong(newGame.keyAddedToLibraryTime, System.currentTimeMillis()) + .apply() + } + + return newGame + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt new file mode 100644 index 000000000..1d4695a2a --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverHelper.kt @@ -0,0 +1,154 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.Context +import android.net.Uri +import java.io.BufferedInputStream +import java.io.File +import java.io.FileInputStream +import java.io.FileOutputStream +import java.io.IOException +import java.util.zip.ZipInputStream +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.utils.FileUtil.copyUriToInternalStorage + +object GpuDriverHelper { + private const val META_JSON_FILENAME = "meta.json" + private const val DRIVER_INTERNAL_FILENAME = "gpu_driver.zip" + private var fileRedirectionPath: String? = null + private var driverInstallationPath: String? = null + private var hookLibPath: String? = null + + @Throws(IOException::class) + private fun unzip(zipFilePath: String, destDir: String) { + val dir = File(destDir) + + // Create output directory if it doesn't exist + if (!dir.exists()) dir.mkdirs() + + // Unpack the files. + val inputStream = FileInputStream(zipFilePath) + val zis = ZipInputStream(BufferedInputStream(inputStream)) + val buffer = ByteArray(1024) + var ze = zis.nextEntry + while (ze != null) { + val newFile = File(destDir, ze.name) + val canonicalPath = newFile.canonicalPath + if (!canonicalPath.startsWith(destDir + ze.name)) { + throw SecurityException("Zip file attempted path traversal! " + ze.name) + } + + newFile.parentFile!!.mkdirs() + val fos = FileOutputStream(newFile) + var len: Int + while (zis.read(buffer).also { len = it } > 0) { + fos.write(buffer, 0, len) + } + fos.close() + zis.closeEntry() + ze = zis.nextEntry + } + zis.closeEntry() + } + + fun initializeDriverParameters(context: Context) { + try { + // Initialize the file redirection directory. + fileRedirectionPath = + context.getExternalFilesDir(null)!!.canonicalPath + "/gpu/vk_file_redirect/" + + // Initialize the driver installation directory. + driverInstallationPath = context.filesDir.canonicalPath + "/gpu_driver/" + } catch (e: IOException) { + throw RuntimeException(e) + } + + // Initialize directories. + initializeDirectories() + + // Initialize hook libraries directory. + hookLibPath = context.applicationInfo.nativeLibraryDir + "/" + + // Initialize GPU driver. + NativeLibrary.initializeGpuDriver( + hookLibPath, + driverInstallationPath, + customDriverLibraryName, + fileRedirectionPath + ) + } + + fun installDefaultDriver(context: Context) { + // Removing the installed driver will result in the backend using the default system driver. + val driverInstallationDir = File(driverInstallationPath!!) + deleteRecursive(driverInstallationDir) + initializeDriverParameters(context) + } + + fun installCustomDriver(context: Context, driverPathUri: Uri?) { + // Revert to system default in the event the specified driver is bad. + installDefaultDriver(context) + + // Ensure we have directories. + initializeDirectories() + + // Copy the zip file URI into our private storage. + copyUriToInternalStorage( + context, + driverPathUri, + driverInstallationPath!!, + DRIVER_INTERNAL_FILENAME + ) + + // Unzip the driver. + try { + unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!) + } catch (e: SecurityException) { + return + } + + // Initialize the driver parameters. + initializeDriverParameters(context) + } + + external fun supportsCustomDriverLoading(): Boolean + + // Parse the custom driver metadata to retrieve the name. + val customDriverName: String? + get() { + val metadata = GpuDriverMetadata(driverInstallationPath + META_JSON_FILENAME) + return metadata.name + } + + // Parse the custom driver metadata to retrieve the library name. + private val customDriverLibraryName: String? + get() { + // Parse the custom driver metadata to retrieve the library name. + val metadata = GpuDriverMetadata(driverInstallationPath + META_JSON_FILENAME) + return metadata.libraryName + } + + private fun initializeDirectories() { + // Ensure the file redirection directory exists. + val fileRedirectionDir = File(fileRedirectionPath!!) + if (!fileRedirectionDir.exists()) { + fileRedirectionDir.mkdirs() + } + // Ensure the driver installation directory exists. + val driverInstallationDir = File(driverInstallationPath!!) + if (!driverInstallationDir.exists()) { + driverInstallationDir.mkdirs() + } + } + + private fun deleteRecursive(fileOrDirectory: File) { + if (fileOrDirectory.isDirectory) { + for (child in fileOrDirectory.listFiles()!!) { + deleteRecursive(child) + } + } + fileOrDirectory.delete() + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverMetadata.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverMetadata.kt new file mode 100644 index 000000000..a4e64070a --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GpuDriverMetadata.kt @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import java.io.IOException +import java.nio.charset.StandardCharsets +import java.nio.file.Files +import java.nio.file.Paths +import org.json.JSONException +import org.json.JSONObject + +class GpuDriverMetadata(metadataFilePath: String) { + var name: String? = null + var description: String? = null + var author: String? = null + var vendor: String? = null + var driverVersion: String? = null + var minApi = 0 + var libraryName: String? = null + + init { + try { + val json = JSONObject(getStringFromFile(metadataFilePath)) + name = json.getString("name") + description = json.getString("description") + author = json.getString("author") + vendor = json.getString("vendor") + driverVersion = json.getString("driverVersion") + minApi = json.getInt("minApi") + libraryName = json.getString("libraryName") + } catch (e: JSONException) { + // JSON is malformed, ignore and treat as unsupported metadata. + } catch (e: IOException) { + // File is inaccessible, ignore and treat as unsupported metadata. + } + } + + companion object { + @Throws(IOException::class) + private fun getStringFromFile(filePath: String): String { + val path = Paths.get(filePath) + val bytes = Files.readAllBytes(path) + return String(bytes, StandardCharsets.UTF_8) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InputHandler.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InputHandler.kt new file mode 100644 index 000000000..e963dfbc1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InputHandler.kt @@ -0,0 +1,365 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.view.KeyEvent +import android.view.MotionEvent +import kotlin.math.sqrt +import org.yuzu.yuzu_emu.NativeLibrary + +class InputHandler { + fun initialize() { + // Connect first controller + NativeLibrary.onGamePadConnectEvent(getPlayerNumber(NativeLibrary.Player1Device)) + } + + fun dispatchKeyEvent(event: KeyEvent): Boolean { + val button: Int = when (event.device.vendorId) { + 0x045E -> getInputXboxButtonKey(event.keyCode) + 0x054C -> getInputDS5ButtonKey(event.keyCode) + 0x057E -> getInputJoyconButtonKey(event.keyCode) + 0x1532 -> getInputRazerButtonKey(event.keyCode) + else -> getInputGenericButtonKey(event.keyCode) + } + + val action = when (event.action) { + KeyEvent.ACTION_DOWN -> NativeLibrary.ButtonState.PRESSED + KeyEvent.ACTION_UP -> NativeLibrary.ButtonState.RELEASED + else -> return false + } + + // Ignore invalid buttons + if (button < 0) { + return false + } + + return NativeLibrary.onGamePadButtonEvent( + getPlayerNumber(event.device.controllerNumber), + button, + action + ) + } + + fun dispatchGenericMotionEvent(event: MotionEvent): Boolean { + val device = event.device + // Check every axis input available on the controller + for (range in device.motionRanges) { + val axis = range.axis + when (device.vendorId) { + 0x045E -> setGenericAxisInput(event, axis) + 0x054C -> setGenericAxisInput(event, axis) + 0x057E -> setJoyconAxisInput(event, axis) + 0x1532 -> setRazerAxisInput(event, axis) + else -> setGenericAxisInput(event, axis) + } + } + + return true + } + + private fun getPlayerNumber(index: Int): Int { + // TODO: Joycons are handled as different controllers. Find a way to merge them. + return when (index) { + 2 -> NativeLibrary.Player2Device + 3 -> NativeLibrary.Player3Device + 4 -> NativeLibrary.Player4Device + 5 -> NativeLibrary.Player5Device + 6 -> NativeLibrary.Player6Device + 7 -> NativeLibrary.Player7Device + 8 -> NativeLibrary.Player8Device + else -> if (NativeLibrary.isHandheldOnly()) { + NativeLibrary.ConsoleDevice + } else { + NativeLibrary.Player1Device + } + } + } + + private fun setStickState(playerNumber: Int, index: Int, xAxis: Float, yAxis: Float) { + // Calculate vector size + val r2 = xAxis * xAxis + yAxis * yAxis + var r = sqrt(r2.toDouble()).toFloat() + + // Adjust range of joystick + val deadzone = 0.15f + var x = xAxis + var y = yAxis + + if (r > deadzone) { + val deadzoneFactor = 1.0f / r * (r - deadzone) / (1.0f - deadzone) + x *= deadzoneFactor + y *= deadzoneFactor + r *= deadzoneFactor + } else { + x = 0.0f + y = 0.0f + } + + // Normalize joystick + if (r > 1.0f) { + x /= r + y /= r + } + + NativeLibrary.onGamePadJoystickEvent( + playerNumber, + index, + x, + -y + ) + } + + private fun getAxisToButton(axis: Float): Int { + return if (axis > 0.5f) { + NativeLibrary.ButtonState.PRESSED + } else { + NativeLibrary.ButtonState.RELEASED + } + } + + private fun setAxisDpadState(playerNumber: Int, xAxis: Float, yAxis: Float) { + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.DPAD_UP, + getAxisToButton(-yAxis) + ) + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.DPAD_DOWN, + getAxisToButton(yAxis) + ) + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.DPAD_LEFT, + getAxisToButton(-xAxis) + ) + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.DPAD_RIGHT, + getAxisToButton(xAxis) + ) + } + + private fun getInputDS5ButtonKey(key: Int): Int { + // The missing ds5 buttons are axis + return when (key) { + KeyEvent.KEYCODE_BUTTON_A -> NativeLibrary.ButtonType.BUTTON_B + KeyEvent.KEYCODE_BUTTON_B -> NativeLibrary.ButtonType.BUTTON_A + KeyEvent.KEYCODE_BUTTON_X -> NativeLibrary.ButtonType.BUTTON_Y + KeyEvent.KEYCODE_BUTTON_Y -> NativeLibrary.ButtonType.BUTTON_X + KeyEvent.KEYCODE_BUTTON_L1 -> NativeLibrary.ButtonType.TRIGGER_L + KeyEvent.KEYCODE_BUTTON_R1 -> NativeLibrary.ButtonType.TRIGGER_R + KeyEvent.KEYCODE_BUTTON_THUMBL -> NativeLibrary.ButtonType.STICK_L + KeyEvent.KEYCODE_BUTTON_THUMBR -> NativeLibrary.ButtonType.STICK_R + KeyEvent.KEYCODE_BUTTON_START -> NativeLibrary.ButtonType.BUTTON_PLUS + KeyEvent.KEYCODE_BUTTON_SELECT -> NativeLibrary.ButtonType.BUTTON_MINUS + else -> -1 + } + } + + private fun getInputJoyconButtonKey(key: Int): Int { + // Joycon support is half dead. A lot of buttons can't be mapped + return when (key) { + KeyEvent.KEYCODE_BUTTON_A -> NativeLibrary.ButtonType.BUTTON_B + KeyEvent.KEYCODE_BUTTON_B -> NativeLibrary.ButtonType.BUTTON_A + KeyEvent.KEYCODE_BUTTON_X -> NativeLibrary.ButtonType.BUTTON_X + KeyEvent.KEYCODE_BUTTON_Y -> NativeLibrary.ButtonType.BUTTON_Y + KeyEvent.KEYCODE_DPAD_UP -> NativeLibrary.ButtonType.DPAD_UP + KeyEvent.KEYCODE_DPAD_DOWN -> NativeLibrary.ButtonType.DPAD_DOWN + KeyEvent.KEYCODE_DPAD_LEFT -> NativeLibrary.ButtonType.DPAD_LEFT + KeyEvent.KEYCODE_DPAD_RIGHT -> NativeLibrary.ButtonType.DPAD_RIGHT + KeyEvent.KEYCODE_BUTTON_L1 -> NativeLibrary.ButtonType.TRIGGER_L + KeyEvent.KEYCODE_BUTTON_R1 -> NativeLibrary.ButtonType.TRIGGER_R + KeyEvent.KEYCODE_BUTTON_L2 -> NativeLibrary.ButtonType.TRIGGER_ZL + KeyEvent.KEYCODE_BUTTON_R2 -> NativeLibrary.ButtonType.TRIGGER_ZR + KeyEvent.KEYCODE_BUTTON_THUMBL -> NativeLibrary.ButtonType.STICK_L + KeyEvent.KEYCODE_BUTTON_THUMBR -> NativeLibrary.ButtonType.STICK_R + KeyEvent.KEYCODE_BUTTON_START -> NativeLibrary.ButtonType.BUTTON_PLUS + KeyEvent.KEYCODE_BUTTON_SELECT -> NativeLibrary.ButtonType.BUTTON_MINUS + else -> -1 + } + } + + private fun getInputXboxButtonKey(key: Int): Int { + // The missing xbox buttons are axis + return when (key) { + KeyEvent.KEYCODE_BUTTON_A -> NativeLibrary.ButtonType.BUTTON_A + KeyEvent.KEYCODE_BUTTON_B -> NativeLibrary.ButtonType.BUTTON_B + KeyEvent.KEYCODE_BUTTON_X -> NativeLibrary.ButtonType.BUTTON_X + KeyEvent.KEYCODE_BUTTON_Y -> NativeLibrary.ButtonType.BUTTON_Y + KeyEvent.KEYCODE_BUTTON_L1 -> NativeLibrary.ButtonType.TRIGGER_L + KeyEvent.KEYCODE_BUTTON_R1 -> NativeLibrary.ButtonType.TRIGGER_R + KeyEvent.KEYCODE_BUTTON_THUMBL -> NativeLibrary.ButtonType.STICK_L + KeyEvent.KEYCODE_BUTTON_THUMBR -> NativeLibrary.ButtonType.STICK_R + KeyEvent.KEYCODE_BUTTON_START -> NativeLibrary.ButtonType.BUTTON_PLUS + KeyEvent.KEYCODE_BUTTON_SELECT -> NativeLibrary.ButtonType.BUTTON_MINUS + else -> -1 + } + } + + private fun getInputRazerButtonKey(key: Int): Int { + // The missing xbox buttons are axis + return when (key) { + KeyEvent.KEYCODE_BUTTON_A -> NativeLibrary.ButtonType.BUTTON_B + KeyEvent.KEYCODE_BUTTON_B -> NativeLibrary.ButtonType.BUTTON_A + KeyEvent.KEYCODE_BUTTON_X -> NativeLibrary.ButtonType.BUTTON_Y + KeyEvent.KEYCODE_BUTTON_Y -> NativeLibrary.ButtonType.BUTTON_X + KeyEvent.KEYCODE_BUTTON_L1 -> NativeLibrary.ButtonType.TRIGGER_L + KeyEvent.KEYCODE_BUTTON_R1 -> NativeLibrary.ButtonType.TRIGGER_R + KeyEvent.KEYCODE_BUTTON_THUMBL -> NativeLibrary.ButtonType.STICK_L + KeyEvent.KEYCODE_BUTTON_THUMBR -> NativeLibrary.ButtonType.STICK_R + KeyEvent.KEYCODE_BUTTON_START -> NativeLibrary.ButtonType.BUTTON_PLUS + KeyEvent.KEYCODE_BUTTON_SELECT -> NativeLibrary.ButtonType.BUTTON_MINUS + else -> -1 + } + } + + private fun getInputGenericButtonKey(key: Int): Int { + return when (key) { + KeyEvent.KEYCODE_BUTTON_A -> NativeLibrary.ButtonType.BUTTON_A + KeyEvent.KEYCODE_BUTTON_B -> NativeLibrary.ButtonType.BUTTON_B + KeyEvent.KEYCODE_BUTTON_X -> NativeLibrary.ButtonType.BUTTON_X + KeyEvent.KEYCODE_BUTTON_Y -> NativeLibrary.ButtonType.BUTTON_Y + KeyEvent.KEYCODE_DPAD_UP -> NativeLibrary.ButtonType.DPAD_UP + KeyEvent.KEYCODE_DPAD_DOWN -> NativeLibrary.ButtonType.DPAD_DOWN + KeyEvent.KEYCODE_DPAD_LEFT -> NativeLibrary.ButtonType.DPAD_LEFT + KeyEvent.KEYCODE_DPAD_RIGHT -> NativeLibrary.ButtonType.DPAD_RIGHT + KeyEvent.KEYCODE_BUTTON_L1 -> NativeLibrary.ButtonType.TRIGGER_L + KeyEvent.KEYCODE_BUTTON_R1 -> NativeLibrary.ButtonType.TRIGGER_R + KeyEvent.KEYCODE_BUTTON_L2 -> NativeLibrary.ButtonType.TRIGGER_ZL + KeyEvent.KEYCODE_BUTTON_R2 -> NativeLibrary.ButtonType.TRIGGER_ZR + KeyEvent.KEYCODE_BUTTON_THUMBL -> NativeLibrary.ButtonType.STICK_L + KeyEvent.KEYCODE_BUTTON_THUMBR -> NativeLibrary.ButtonType.STICK_R + KeyEvent.KEYCODE_BUTTON_START -> NativeLibrary.ButtonType.BUTTON_PLUS + KeyEvent.KEYCODE_BUTTON_SELECT -> NativeLibrary.ButtonType.BUTTON_MINUS + else -> -1 + } + } + + private fun setGenericAxisInput(event: MotionEvent, axis: Int) { + val playerNumber = getPlayerNumber(event.device.controllerNumber) + + when (axis) { + MotionEvent.AXIS_X, MotionEvent.AXIS_Y -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_L, + event.getAxisValue(MotionEvent.AXIS_X), + event.getAxisValue(MotionEvent.AXIS_Y) + ) + MotionEvent.AXIS_RX, MotionEvent.AXIS_RY -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_R, + event.getAxisValue(MotionEvent.AXIS_RX), + event.getAxisValue(MotionEvent.AXIS_RY) + ) + MotionEvent.AXIS_Z, MotionEvent.AXIS_RZ -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_R, + event.getAxisValue(MotionEvent.AXIS_Z), + event.getAxisValue(MotionEvent.AXIS_RZ) + ) + MotionEvent.AXIS_LTRIGGER -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZL, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_LTRIGGER)) + ) + MotionEvent.AXIS_BRAKE -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZL, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_BRAKE)) + ) + MotionEvent.AXIS_RTRIGGER -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZR, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_RTRIGGER)) + ) + MotionEvent.AXIS_GAS -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZR, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_GAS)) + ) + MotionEvent.AXIS_HAT_X, MotionEvent.AXIS_HAT_Y -> + setAxisDpadState( + playerNumber, + event.getAxisValue(MotionEvent.AXIS_HAT_X), + event.getAxisValue(MotionEvent.AXIS_HAT_Y) + ) + } + } + + private fun setJoyconAxisInput(event: MotionEvent, axis: Int) { + // Joycon support is half dead. Right joystick doesn't work + val playerNumber = getPlayerNumber(event.device.controllerNumber) + + when (axis) { + MotionEvent.AXIS_X, MotionEvent.AXIS_Y -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_L, + event.getAxisValue(MotionEvent.AXIS_X), + event.getAxisValue(MotionEvent.AXIS_Y) + ) + MotionEvent.AXIS_Z, MotionEvent.AXIS_RZ -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_R, + event.getAxisValue(MotionEvent.AXIS_Z), + event.getAxisValue(MotionEvent.AXIS_RZ) + ) + MotionEvent.AXIS_RX, MotionEvent.AXIS_RY -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_R, + event.getAxisValue(MotionEvent.AXIS_RX), + event.getAxisValue(MotionEvent.AXIS_RY) + ) + } + } + + private fun setRazerAxisInput(event: MotionEvent, axis: Int) { + val playerNumber = getPlayerNumber(event.device.controllerNumber) + + when (axis) { + MotionEvent.AXIS_X, MotionEvent.AXIS_Y -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_L, + event.getAxisValue(MotionEvent.AXIS_X), + event.getAxisValue(MotionEvent.AXIS_Y) + ) + MotionEvent.AXIS_Z, MotionEvent.AXIS_RZ -> + setStickState( + playerNumber, + NativeLibrary.StickType.STICK_R, + event.getAxisValue(MotionEvent.AXIS_Z), + event.getAxisValue(MotionEvent.AXIS_RZ) + ) + MotionEvent.AXIS_BRAKE -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZL, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_BRAKE)) + ) + MotionEvent.AXIS_GAS -> + NativeLibrary.onGamePadButtonEvent( + playerNumber, + NativeLibrary.ButtonType.TRIGGER_ZR, + getAxisToButton(event.getAxisValue(MotionEvent.AXIS_GAS)) + ) + MotionEvent.AXIS_HAT_X, MotionEvent.AXIS_HAT_Y -> + setAxisDpadState( + playerNumber, + event.getAxisValue(MotionEvent.AXIS_HAT_X), + event.getAxisValue(MotionEvent.AXIS_HAT_Y) + ) + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt new file mode 100644 index 000000000..595f0d284 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.annotation.SuppressLint +import android.content.Context + +object InsetsHelper { + const val THREE_BUTTON_NAVIGATION = 0 + const val TWO_BUTTON_NAVIGATION = 1 + const val GESTURE_NAVIGATION = 2 + + @SuppressLint("DiscouragedApi") + fun getSystemGestureType(context: Context): Int { + val resources = context.resources + val resourceId = + resources.getIdentifier("config_navBarInteractionMode", "integer", "android") + return if (resourceId != 0) { + resources.getInteger(resourceId) + } else { + 0 + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.kt new file mode 100644 index 000000000..a193e82a4 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Log.kt @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.util.Log +import org.yuzu.yuzu_emu.BuildConfig + +/** + * Contains methods that call through to [android.util.Log], but + * with the same TAG automatically provided. Also no-ops VERBOSE and DEBUG log + * levels in release builds. + */ +object Log { + private const val TAG = "Yuzu Frontend" + + fun verbose(message: String) { + if (BuildConfig.DEBUG) { + Log.v(TAG, message) + } + } + + fun debug(message: String) { + if (BuildConfig.DEBUG) { + Log.d(TAG, message) + } + } + + fun info(message: String) { + Log.i(TAG, message) + } + + fun warning(message: String) { + Log.w(TAG, message) + } + + fun error(message: String) { + Log.e(TAG, message) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/MemoryUtil.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/MemoryUtil.kt new file mode 100644 index 000000000..18e5fa0b0 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/MemoryUtil.kt @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.app.ActivityManager +import android.content.Context +import org.yuzu.yuzu_emu.R +import java.util.Locale + +class MemoryUtil(val context: Context) { + + private val Long.floatForm: String + get() = String.format(Locale.ROOT, "%.2f", this.toDouble()) + + private fun bytesToSizeUnit(size: Long): String { + return when { + size < Kb -> "${size.floatForm} ${context.getString(R.string.memory_byte)}" + size < Mb -> "${(size / Kb).floatForm} ${context.getString(R.string.memory_kilobyte)}" + size < Gb -> "${(size / Mb).floatForm} ${context.getString(R.string.memory_megabyte)}" + size < Tb -> "${(size / Gb).floatForm} ${context.getString(R.string.memory_gigabyte)}" + size < Pb -> "${(size / Tb).floatForm} ${context.getString(R.string.memory_terabyte)}" + size < Eb -> "${(size / Pb).floatForm} ${context.getString(R.string.memory_petabyte)}" + else -> "${(size / Eb).floatForm} ${context.getString(R.string.memory_exabyte)}" + } + } + + private val totalMemory = + with(context.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager) { + val memInfo = ActivityManager.MemoryInfo() + getMemoryInfo(memInfo) + memInfo.totalMem + } + + fun isLessThan(minimum: Int, size: Long): Boolean { + return when (size) { + Kb -> totalMemory < Mb && totalMemory < minimum + Mb -> totalMemory < Gb && (totalMemory / Mb) < minimum + Gb -> totalMemory < Tb && (totalMemory / Gb) < minimum + Tb -> totalMemory < Pb && (totalMemory / Tb) < minimum + Pb -> totalMemory < Eb && (totalMemory / Pb) < minimum + Eb -> totalMemory / Eb < minimum + else -> totalMemory < Kb && totalMemory < minimum + } + } + + fun getDeviceRAM(): String { + return bytesToSizeUnit(totalMemory) + } + + companion object { + const val Kb: Long = 1024 + const val Mb = Kb * 1024 + const val Gb = Mb * 1024 + const val Tb = Gb * 1024 + const val Pb = Tb * 1024 + const val Eb = Pb * 1024 + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NfcReader.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NfcReader.kt new file mode 100644 index 000000000..68ed66565 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NfcReader.kt @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.app.Activity +import android.app.PendingIntent +import android.content.Intent +import android.content.IntentFilter +import android.nfc.NfcAdapter +import android.nfc.Tag +import android.nfc.tech.NfcA +import android.os.Build +import android.os.Handler +import android.os.Looper +import java.io.IOException +import org.yuzu.yuzu_emu.NativeLibrary + +class NfcReader(private val activity: Activity) { + private var nfcAdapter: NfcAdapter? = null + private var pendingIntent: PendingIntent? = null + + fun initialize() { + nfcAdapter = NfcAdapter.getDefaultAdapter(activity) ?: return + + pendingIntent = PendingIntent.getActivity( + activity, + 0, + Intent(activity, activity.javaClass), + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE + } else { + PendingIntent.FLAG_UPDATE_CURRENT + } + ) + + val tagDetected = IntentFilter(NfcAdapter.ACTION_TAG_DISCOVERED) + tagDetected.addCategory(Intent.CATEGORY_DEFAULT) + } + + fun startScanning() { + nfcAdapter?.enableForegroundDispatch(activity, pendingIntent, null, null) + } + + fun stopScanning() { + nfcAdapter?.disableForegroundDispatch(activity) + } + + fun onNewIntent(intent: Intent) { + val action = intent.action + if (NfcAdapter.ACTION_TAG_DISCOVERED != action && + NfcAdapter.ACTION_TECH_DISCOVERED != action && + NfcAdapter.ACTION_NDEF_DISCOVERED != action + ) { + return + } + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + val tag = + intent.getParcelableExtra(NfcAdapter.EXTRA_TAG, Tag::class.java) ?: return + readTagData(tag) + return + } + + val tag = + intent.getParcelableExtra(NfcAdapter.EXTRA_TAG) ?: return + readTagData(tag) + } + + private fun readTagData(tag: Tag) { + if (!tag.techList.contains("android.nfc.tech.NfcA")) { + return + } + + val amiibo = NfcA.get(tag) ?: return + amiibo.connect() + + val tagData = ntag215ReadAll(amiibo) ?: return + NativeLibrary.onReadNfcTag(tagData) + + nfcAdapter?.ignore( + tag, + 1000, + { NativeLibrary.onRemoveNfcTag() }, + Handler(Looper.getMainLooper()) + ) + } + + private fun ntag215ReadAll(amiibo: NfcA): ByteArray? { + val bufferSize = amiibo.maxTransceiveLength + val tagSize = 0x21C + val pageSize = 4 + val lastPage = tagSize / pageSize - 1 + val tagData = ByteArray(tagSize) + + // We need to read the ntag in steps otherwise we overflow the buffer + for (i in 0..tagSize step bufferSize - 1) { + val dataStart = i / pageSize + var dataEnd = (i + bufferSize) / pageSize + + if (dataEnd > lastPage) { + dataEnd = lastPage + } + + try { + val data = ntag215FastRead(amiibo, dataStart, dataEnd - 1) + System.arraycopy(data, 0, tagData, i, (dataEnd - dataStart) * pageSize) + } catch (e: IOException) { + return null + } + } + return tagData + } + + private fun ntag215Read(amiibo: NfcA, page: Int): ByteArray? { + return amiibo.transceive( + byteArrayOf( + 0x30.toByte(), + (page and 0xFF).toByte() + ) + ) + } + + private fun ntag215FastRead(amiibo: NfcA, start: Int, end: Int): ByteArray? { + return amiibo.transceive( + byteArrayOf( + 0x3A.toByte(), + (start and 0xFF).toByte(), + (end and 0xFF).toByte() + ) + ) + } + + private fun ntag215PWrite( + amiibo: NfcA, + page: Int, + data1: Int, + data2: Int, + data3: Int, + data4: Int + ): ByteArray? { + return amiibo.transceive( + byteArrayOf( + 0xA2.toByte(), + (page and 0xFF).toByte(), + (data1 and 0xFF).toByte(), + (data2 and 0xFF).toByte(), + (data3 and 0xFF).toByte(), + (data4 and 0xFF).toByte() + ) + ) + } + + private fun ntag215PwdAuth( + amiibo: NfcA, + data1: Int, + data2: Int, + data3: Int, + data4: Int + ): ByteArray? { + return amiibo.transceive( + byteArrayOf( + 0x1B.toByte(), + (data1 and 0xFF).toByte(), + (data2 and 0xFF).toByte(), + (data3 and 0xFF).toByte(), + (data4 and 0xFF).toByte() + ) + ) + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/SerializableHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/SerializableHelper.kt new file mode 100644 index 000000000..00e58faec --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/SerializableHelper.kt @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.Intent +import android.os.Build +import android.os.Bundle +import android.os.Parcelable +import java.io.Serializable + +object SerializableHelper { + inline fun Bundle.serializable(key: String): T? { + return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + getSerializable(key, T::class.java) + } else { + getSerializable(key) as? T + } + } + + inline fun Intent.serializable(key: String): T? { + return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + getSerializableExtra(key, T::class.java) + } else { + getSerializableExtra(key) as? T + } + } + + inline fun Bundle.parcelable(key: String): T? { + return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + getParcelable(key, T::class.java) + } else { + getParcelable(key) as? T + } + } + + inline fun Intent.parcelable(key: String): T? { + return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + getParcelableExtra(key, T::class.java) + } else { + getParcelableExtra(key) as? T + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeHelper.kt new file mode 100644 index 000000000..f312e24cf --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ThemeHelper.kt @@ -0,0 +1,97 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.content.res.Configuration +import android.graphics.Color +import androidx.annotation.ColorInt +import androidx.appcompat.app.AppCompatActivity +import androidx.appcompat.app.AppCompatDelegate +import androidx.core.view.WindowCompat +import androidx.core.view.WindowInsetsControllerCompat +import androidx.preference.PreferenceManager +import kotlin.math.roundToInt +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.ui.main.ThemeProvider + +object ThemeHelper { + const val SYSTEM_BAR_ALPHA = 0.9f + + private const val DEFAULT = 0 + private const val MATERIAL_YOU = 1 + + fun setTheme(activity: AppCompatActivity) { + val preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + setThemeMode(activity) + when (preferences.getInt(Settings.PREF_THEME, 0)) { + DEFAULT -> activity.setTheme(R.style.Theme_Yuzu_Main) + MATERIAL_YOU -> activity.setTheme(R.style.Theme_Yuzu_Main_MaterialYou) + } + + // Using a specific night mode check because this could apply incorrectly when using the + // light app mode, dark system mode, and black backgrounds. Launching the settings activity + // will then show light mode colors/navigation bars but with black backgrounds. + if (preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false) && + isNightMode(activity) + ) { + activity.setTheme(R.style.ThemeOverlay_Yuzu_Dark) + } + } + + @ColorInt + fun getColorWithOpacity(@ColorInt color: Int, alphaFactor: Float): Int { + return Color.argb( + (alphaFactor * Color.alpha(color)).roundToInt(), + Color.red(color), + Color.green(color), + Color.blue(color) + ) + } + + fun setCorrectTheme(activity: AppCompatActivity) { + val currentTheme = (activity as ThemeProvider).themeId + setTheme(activity) + if (currentTheme != (activity as ThemeProvider).themeId) { + activity.recreate() + } + } + + fun setThemeMode(activity: AppCompatActivity) { + val themeMode = PreferenceManager.getDefaultSharedPreferences(activity.applicationContext) + .getInt(Settings.PREF_THEME_MODE, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM) + activity.delegate.localNightMode = themeMode + val windowController = WindowCompat.getInsetsController( + activity.window, + activity.window.decorView + ) + when (themeMode) { + AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM -> when (isNightMode(activity)) { + false -> setLightModeSystemBars(windowController) + true -> setDarkModeSystemBars(windowController) + } + AppCompatDelegate.MODE_NIGHT_NO -> setLightModeSystemBars(windowController) + AppCompatDelegate.MODE_NIGHT_YES -> setDarkModeSystemBars(windowController) + } + } + + private fun isNightMode(activity: AppCompatActivity): Boolean { + return when (activity.resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK) { + Configuration.UI_MODE_NIGHT_NO -> false + Configuration.UI_MODE_NIGHT_YES -> true + else -> false + } + } + + private fun setLightModeSystemBars(windowController: WindowInsetsControllerCompat) { + windowController.isAppearanceLightStatusBars = true + windowController.isAppearanceLightNavigationBars = true + } + + private fun setDarkModeSystemBars(windowController: WindowInsetsControllerCompat) { + windowController.isAppearanceLightStatusBars = false + windowController.isAppearanceLightNavigationBars = false + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt new file mode 100644 index 000000000..685ccaa76 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.views + +import android.content.Context +import android.util.AttributeSet +import android.util.Rational +import android.view.SurfaceView +import kotlin.math.roundToInt + +class FixedRatioSurfaceView @JvmOverloads constructor( + context: Context, + attrs: AttributeSet? = null, + defStyleAttr: Int = 0 +) : SurfaceView(context, attrs, defStyleAttr) { + private var aspectRatio: Float = 0f // (width / height), 0f is a special value for stretch + + /** + * Sets the desired aspect ratio for this view + * @param ratio the ratio to force the view to, or null to stretch to fit + */ + fun setAspectRatio(ratio: Rational?) { + aspectRatio = ratio?.toFloat() ?: 0f + } + + override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { + super.onMeasure(widthMeasureSpec, heightMeasureSpec) + val width = MeasureSpec.getSize(widthMeasureSpec) + val height = MeasureSpec.getSize(heightMeasureSpec) + if (aspectRatio != 0f) { + val newWidth: Int + val newHeight: Int + if (height * aspectRatio < width) { + newWidth = (height * aspectRatio).roundToInt() + newHeight = height + } else { + newWidth = width + newHeight = (width / aspectRatio).roundToInt() + } + val left = (width - newWidth) / 2 + val top = (height - newHeight) / 2 + setLeftTopRightBottom(left, top, left + newWidth, top + newHeight) + } else { + setLeftTopRightBottom(0, 0, width, height) + } + } +} diff --git a/src/android/app/src/main/jni/CMakeLists.txt b/src/android/app/src/main/jni/CMakeLists.txt new file mode 100644 index 000000000..e2ed08e9f --- /dev/null +++ b/src/android/app/src/main/jni/CMakeLists.txt @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +add_library(yuzu-android SHARED + android_common/android_common.cpp + android_common/android_common.h + applets/software_keyboard.cpp + applets/software_keyboard.h + config.cpp + config.h + default_ini.h + emu_window/emu_window.cpp + emu_window/emu_window.h + id_cache.cpp + id_cache.h + native.cpp +) + +set_property(TARGET yuzu-android PROPERTY IMPORTED_LOCATION ${FFmpeg_LIBRARY_DIR}) + +target_link_libraries(yuzu-android PRIVATE audio_core common core input_common) +target_link_libraries(yuzu-android PRIVATE android camera2ndk EGL glad inih jnigraphics log) +if (ARCHITECTURE_arm64) + target_link_libraries(yuzu-android PRIVATE adrenotools) +endif() + +set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} yuzu-android) diff --git a/src/android/app/src/main/jni/android_common/android_common.cpp b/src/android/app/src/main/jni/android_common/android_common.cpp new file mode 100644 index 000000000..52d8ecfeb --- /dev/null +++ b/src/android/app/src/main/jni/android_common/android_common.cpp @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "jni/android_common/android_common.h" + +#include +#include + +#include + +#include "common/string_util.h" + +std::string GetJString(JNIEnv* env, jstring jstr) { + if (!jstr) { + return {}; + } + + const jchar* jchars = env->GetStringChars(jstr, nullptr); + const jsize length = env->GetStringLength(jstr); + const std::u16string_view string_view(reinterpret_cast(jchars), length); + const std::string converted_string = Common::UTF16ToUTF8(string_view); + env->ReleaseStringChars(jstr, jchars); + + return converted_string; +} + +jstring ToJString(JNIEnv* env, std::string_view str) { + const std::u16string converted_string = Common::UTF8ToUTF16(str); + return env->NewString(reinterpret_cast(converted_string.data()), + static_cast(converted_string.size())); +} + +jstring ToJString(JNIEnv* env, std::u16string_view str) { + return ToJString(env, Common::UTF16ToUTF8(str)); +} diff --git a/src/android/app/src/main/jni/android_common/android_common.h b/src/android/app/src/main/jni/android_common/android_common.h new file mode 100644 index 000000000..ccb0c06f7 --- /dev/null +++ b/src/android/app/src/main/jni/android_common/android_common.h @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include + +#include + +std::string GetJString(JNIEnv* env, jstring jstr); +jstring ToJString(JNIEnv* env, std::string_view str); +jstring ToJString(JNIEnv* env, std::u16string_view str); diff --git a/src/android/app/src/main/jni/applets/software_keyboard.cpp b/src/android/app/src/main/jni/applets/software_keyboard.cpp new file mode 100644 index 000000000..74e040478 --- /dev/null +++ b/src/android/app/src/main/jni/applets/software_keyboard.cpp @@ -0,0 +1,277 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include + +#include + +#include "common/logging/log.h" +#include "common/string_util.h" +#include "core/core.h" +#include "jni/android_common/android_common.h" +#include "jni/applets/software_keyboard.h" +#include "jni/id_cache.h" + +static jclass s_software_keyboard_class; +static jclass s_keyboard_config_class; +static jclass s_keyboard_data_class; +static jmethodID s_swkbd_execute_normal; +static jmethodID s_swkbd_execute_inline; + +namespace SoftwareKeyboard { + +static jobject ToJKeyboardParams(const Core::Frontend::KeyboardInitializeParameters& config) { + JNIEnv* env = IDCache::GetEnvForThread(); + jobject object = env->AllocObject(s_keyboard_config_class); + + env->SetObjectField(object, + env->GetFieldID(s_keyboard_config_class, "ok_text", "Ljava/lang/String;"), + ToJString(env, config.ok_text)); + env->SetObjectField( + object, env->GetFieldID(s_keyboard_config_class, "header_text", "Ljava/lang/String;"), + ToJString(env, config.header_text)); + env->SetObjectField(object, + env->GetFieldID(s_keyboard_config_class, "sub_text", "Ljava/lang/String;"), + ToJString(env, config.sub_text)); + env->SetObjectField( + object, env->GetFieldID(s_keyboard_config_class, "guide_text", "Ljava/lang/String;"), + ToJString(env, config.guide_text)); + env->SetObjectField( + object, env->GetFieldID(s_keyboard_config_class, "initial_text", "Ljava/lang/String;"), + ToJString(env, config.initial_text)); + env->SetShortField(object, + env->GetFieldID(s_keyboard_config_class, "left_optional_symbol_key", "S"), + static_cast(config.left_optional_symbol_key)); + env->SetShortField(object, + env->GetFieldID(s_keyboard_config_class, "right_optional_symbol_key", "S"), + static_cast(config.right_optional_symbol_key)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "max_text_length", "I"), + static_cast(config.max_text_length)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "min_text_length", "I"), + static_cast(config.min_text_length)); + env->SetIntField(object, + env->GetFieldID(s_keyboard_config_class, "initial_cursor_position", "I"), + static_cast(config.initial_cursor_position)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "type", "I"), + static_cast(config.type)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "password_mode", "I"), + static_cast(config.password_mode)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "text_draw_type", "I"), + static_cast(config.text_draw_type)); + env->SetIntField(object, env->GetFieldID(s_keyboard_config_class, "key_disable_flags", "I"), + static_cast(config.key_disable_flags.raw)); + env->SetBooleanField(object, + env->GetFieldID(s_keyboard_config_class, "use_blur_background", "Z"), + static_cast(config.use_blur_background)); + env->SetBooleanField(object, + env->GetFieldID(s_keyboard_config_class, "enable_backspace_button", "Z"), + static_cast(config.enable_backspace_button)); + env->SetBooleanField(object, + env->GetFieldID(s_keyboard_config_class, "enable_return_button", "Z"), + static_cast(config.enable_return_button)); + env->SetBooleanField(object, + env->GetFieldID(s_keyboard_config_class, "disable_cancel_button", "Z"), + static_cast(config.disable_cancel_button)); + + return object; +} + +AndroidKeyboard::ResultData AndroidKeyboard::ResultData::CreateFromFrontend(jobject object) { + JNIEnv* env = IDCache::GetEnvForThread(); + const jstring string = reinterpret_cast(env->GetObjectField( + object, env->GetFieldID(s_keyboard_data_class, "text", "Ljava/lang/String;"))); + return ResultData{GetJString(env, string), + static_cast(env->GetIntField( + object, env->GetFieldID(s_keyboard_data_class, "result", "I")))}; +} + +AndroidKeyboard::~AndroidKeyboard() = default; + +void AndroidKeyboard::InitializeKeyboard( + bool is_inline, Core::Frontend::KeyboardInitializeParameters initialize_parameters, + SubmitNormalCallback submit_normal_callback_, SubmitInlineCallback submit_inline_callback_) { + if (is_inline) { + LOG_WARNING( + Frontend, + "(STUBBED) called, backend requested to initialize the inline software keyboard."); + + submit_inline_callback = std::move(submit_inline_callback_); + } else { + LOG_WARNING( + Frontend, + "(STUBBED) called, backend requested to initialize the normal software keyboard."); + + submit_normal_callback = std::move(submit_normal_callback_); + } + + parameters = std::move(initialize_parameters); + + LOG_INFO(Frontend, + "\nKeyboardInitializeParameters:" + "\nok_text={}" + "\nheader_text={}" + "\nsub_text={}" + "\nguide_text={}" + "\ninitial_text={}" + "\nmax_text_length={}" + "\nmin_text_length={}" + "\ninitial_cursor_position={}" + "\ntype={}" + "\npassword_mode={}" + "\ntext_draw_type={}" + "\nkey_disable_flags={}" + "\nuse_blur_background={}" + "\nenable_backspace_button={}" + "\nenable_return_button={}" + "\ndisable_cancel_button={}", + Common::UTF16ToUTF8(parameters.ok_text), Common::UTF16ToUTF8(parameters.header_text), + Common::UTF16ToUTF8(parameters.sub_text), Common::UTF16ToUTF8(parameters.guide_text), + Common::UTF16ToUTF8(parameters.initial_text), parameters.max_text_length, + parameters.min_text_length, parameters.initial_cursor_position, parameters.type, + parameters.password_mode, parameters.text_draw_type, parameters.key_disable_flags.raw, + parameters.use_blur_background, parameters.enable_backspace_button, + parameters.enable_return_button, parameters.disable_cancel_button); +} + +void AndroidKeyboard::ShowNormalKeyboard() const { + LOG_DEBUG(Frontend, "called, backend requested to show the normal software keyboard."); + + ResultData data{}; + + // Pivot to a new thread, as we cannot call GetEnvForThread() from a Fiber. + std::thread([&] { + data = ResultData::CreateFromFrontend(IDCache::GetEnvForThread()->CallStaticObjectMethod( + s_software_keyboard_class, s_swkbd_execute_normal, ToJKeyboardParams(parameters))); + }).join(); + + SubmitNormalText(data); +} + +void AndroidKeyboard::ShowTextCheckDialog( + Service::AM::Applets::SwkbdTextCheckResult text_check_result, + std::u16string text_check_message) const { + LOG_WARNING(Frontend, "(STUBBED) called, backend requested to show the text check dialog."); +} + +void AndroidKeyboard::ShowInlineKeyboard( + Core::Frontend::InlineAppearParameters appear_parameters) const { + LOG_WARNING(Frontend, + "(STUBBED) called, backend requested to show the inline software keyboard."); + + LOG_INFO(Frontend, + "\nInlineAppearParameters:" + "\nmax_text_length={}" + "\nmin_text_length={}" + "\nkey_top_scale_x={}" + "\nkey_top_scale_y={}" + "\nkey_top_translate_x={}" + "\nkey_top_translate_y={}" + "\ntype={}" + "\nkey_disable_flags={}" + "\nkey_top_as_floating={}" + "\nenable_backspace_button={}" + "\nenable_return_button={}" + "\ndisable_cancel_button={}", + appear_parameters.max_text_length, appear_parameters.min_text_length, + appear_parameters.key_top_scale_x, appear_parameters.key_top_scale_y, + appear_parameters.key_top_translate_x, appear_parameters.key_top_translate_y, + appear_parameters.type, appear_parameters.key_disable_flags.raw, + appear_parameters.key_top_as_floating, appear_parameters.enable_backspace_button, + appear_parameters.enable_return_button, appear_parameters.disable_cancel_button); + + // Pivot to a new thread, as we cannot call GetEnvForThread() from a Fiber. + m_is_inline_active = true; + std::thread([&] { + IDCache::GetEnvForThread()->CallStaticVoidMethod( + s_software_keyboard_class, s_swkbd_execute_inline, ToJKeyboardParams(parameters)); + }).join(); +} + +void AndroidKeyboard::HideInlineKeyboard() const { + LOG_WARNING(Frontend, + "(STUBBED) called, backend requested to hide the inline software keyboard."); +} + +void AndroidKeyboard::InlineTextChanged( + Core::Frontend::InlineTextParameters text_parameters) const { + LOG_WARNING(Frontend, + "(STUBBED) called, backend requested to change the inline keyboard text."); + + LOG_INFO(Frontend, + "\nInlineTextParameters:" + "\ninput_text={}" + "\ncursor_position={}", + Common::UTF16ToUTF8(text_parameters.input_text), text_parameters.cursor_position); + + submit_inline_callback(Service::AM::Applets::SwkbdReplyType::ChangedString, + text_parameters.input_text, text_parameters.cursor_position); +} + +void AndroidKeyboard::ExitKeyboard() const { + LOG_WARNING(Frontend, "(STUBBED) called, backend requested to exit the software keyboard."); +} + +void AndroidKeyboard::SubmitInlineKeyboardText(std::u16string submitted_text) { + if (!m_is_inline_active) { + return; + } + + m_current_text += submitted_text; + + submit_inline_callback(Service::AM::Applets::SwkbdReplyType::ChangedString, m_current_text, + m_current_text.size()); +} + +void AndroidKeyboard::SubmitInlineKeyboardInput(int key_code) { + static constexpr int KEYCODE_BACK = 4; + static constexpr int KEYCODE_ENTER = 66; + static constexpr int KEYCODE_DEL = 67; + + if (!m_is_inline_active) { + return; + } + + switch (key_code) { + case KEYCODE_BACK: + case KEYCODE_ENTER: + m_is_inline_active = false; + submit_inline_callback(Service::AM::Applets::SwkbdReplyType::DecidedEnter, m_current_text, + static_cast(m_current_text.size())); + break; + case KEYCODE_DEL: + m_current_text.pop_back(); + submit_inline_callback(Service::AM::Applets::SwkbdReplyType::ChangedString, m_current_text, + m_current_text.size()); + break; + } +} + +void AndroidKeyboard::SubmitNormalText(const ResultData& data) const { + submit_normal_callback(data.result, Common::UTF8ToUTF16(data.text), true); +} + +void InitJNI(JNIEnv* env) { + s_software_keyboard_class = reinterpret_cast( + env->NewGlobalRef(env->FindClass("org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard"))); + s_keyboard_config_class = reinterpret_cast(env->NewGlobalRef( + env->FindClass("org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig"))); + s_keyboard_data_class = reinterpret_cast(env->NewGlobalRef( + env->FindClass("org/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard$KeyboardData"))); + + s_swkbd_execute_normal = env->GetStaticMethodID( + s_software_keyboard_class, "executeNormal", + "(Lorg/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)Lorg/yuzu/yuzu_emu/" + "applets/keyboard/SoftwareKeyboard$KeyboardData;"); + s_swkbd_execute_inline = env->GetStaticMethodID( + s_software_keyboard_class, "executeInline", + "(Lorg/yuzu/yuzu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)V"); +} + +void CleanupJNI(JNIEnv* env) { + env->DeleteGlobalRef(s_software_keyboard_class); + env->DeleteGlobalRef(s_keyboard_config_class); + env->DeleteGlobalRef(s_keyboard_data_class); +} + +} // namespace SoftwareKeyboard diff --git a/src/android/app/src/main/jni/applets/software_keyboard.h b/src/android/app/src/main/jni/applets/software_keyboard.h new file mode 100644 index 000000000..b2fb59b68 --- /dev/null +++ b/src/android/app/src/main/jni/applets/software_keyboard.h @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include + +#include "core/frontend/applets/software_keyboard.h" + +namespace SoftwareKeyboard { + +class AndroidKeyboard final : public Core::Frontend::SoftwareKeyboardApplet { +public: + ~AndroidKeyboard() override; + + void Close() const override { + ExitKeyboard(); + } + + void InitializeKeyboard(bool is_inline, + Core::Frontend::KeyboardInitializeParameters initialize_parameters, + SubmitNormalCallback submit_normal_callback_, + SubmitInlineCallback submit_inline_callback_) override; + + void ShowNormalKeyboard() const override; + + void ShowTextCheckDialog(Service::AM::Applets::SwkbdTextCheckResult text_check_result, + std::u16string text_check_message) const override; + + void ShowInlineKeyboard( + Core::Frontend::InlineAppearParameters appear_parameters) const override; + + void HideInlineKeyboard() const override; + + void InlineTextChanged(Core::Frontend::InlineTextParameters text_parameters) const override; + + void ExitKeyboard() const override; + + void SubmitInlineKeyboardText(std::u16string submitted_text); + + void SubmitInlineKeyboardInput(int key_code); + +private: + struct ResultData { + static ResultData CreateFromFrontend(jobject object); + + std::string text; + Service::AM::Applets::SwkbdResult result{}; + }; + + void SubmitNormalText(const ResultData& result) const; + + Core::Frontend::KeyboardInitializeParameters parameters{}; + + mutable SubmitNormalCallback submit_normal_callback; + mutable SubmitInlineCallback submit_inline_callback; + +private: + mutable bool m_is_inline_active{}; + std::u16string m_current_text; +}; + +// Should be called in JNI_Load +void InitJNI(JNIEnv* env); + +// Should be called in JNI_Unload +void CleanupJNI(JNIEnv* env); + +} // namespace SoftwareKeyboard + +// Native function calls +extern "C" { +JNIEXPORT jobject JNICALL Java_org_citra_citra_1emu_applets_SoftwareKeyboard_ValidateFilters( + JNIEnv* env, jclass clazz, jstring text); + +JNIEXPORT jobject JNICALL Java_org_citra_citra_1emu_applets_SoftwareKeyboard_ValidateInput( + JNIEnv* env, jclass clazz, jstring text); +} diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp new file mode 100644 index 000000000..43e8aa72a --- /dev/null +++ b/src/android/app/src/main/jni/config.cpp @@ -0,0 +1,301 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include +#include + +#include +#include "common/fs/file.h" +#include "common/fs/fs.h" +#include "common/fs/path_util.h" +#include "common/logging/log.h" +#include "common/settings.h" +#include "core/hle/service/acc/profile_manager.h" +#include "input_common/main.h" +#include "jni/config.h" +#include "jni/default_ini.h" + +namespace FS = Common::FS; + +Config::Config(std::optional config_path) + : config_loc{config_path.value_or(FS::GetYuzuPath(FS::YuzuPath::ConfigDir) / "config.ini")}, + config{std::make_unique(FS::PathToUTF8String(config_loc))} { + Reload(); +} + +Config::~Config() = default; + +bool Config::LoadINI(const std::string& default_contents, bool retry) { + const auto config_loc_str = FS::PathToUTF8String(config_loc); + if (config->ParseError() < 0) { + if (retry) { + LOG_WARNING(Config, "Failed to load {}. Creating file from defaults...", + config_loc_str); + + void(FS::CreateParentDir(config_loc)); + void(FS::WriteStringToFile(config_loc, FS::FileType::TextFile, default_contents)); + + config = std::make_unique(config_loc_str); + + return LoadINI(default_contents, false); + } + LOG_ERROR(Config, "Failed."); + return false; + } + LOG_INFO(Config, "Successfully loaded {}", config_loc_str); + return true; +} + +template <> +void Config::ReadSetting(const std::string& group, Settings::Setting& setting) { + std::string setting_value = config->Get(group, setting.GetLabel(), setting.GetDefault()); + if (setting_value.empty()) { + setting_value = setting.GetDefault(); + } + setting = std::move(setting_value); +} + +template <> +void Config::ReadSetting(const std::string& group, Settings::Setting& setting) { + setting = config->GetBoolean(group, setting.GetLabel(), setting.GetDefault()); +} + +template +void Config::ReadSetting(const std::string& group, Settings::Setting& setting) { + setting = static_cast( + config->GetInteger(group, setting.GetLabel(), static_cast(setting.GetDefault()))); +} + +void Config::ReadValues() { + ReadSetting("ControlsGeneral", Settings::values.mouse_enabled); + ReadSetting("ControlsGeneral", Settings::values.touch_device); + ReadSetting("ControlsGeneral", Settings::values.keyboard_enabled); + ReadSetting("ControlsGeneral", Settings::values.debug_pad_enabled); + ReadSetting("ControlsGeneral", Settings::values.vibration_enabled); + ReadSetting("ControlsGeneral", Settings::values.enable_accurate_vibrations); + ReadSetting("ControlsGeneral", Settings::values.motion_enabled); + Settings::values.touchscreen.enabled = + config->GetBoolean("ControlsGeneral", "touch_enabled", true); + Settings::values.touchscreen.rotation_angle = + config->GetInteger("ControlsGeneral", "touch_angle", 0); + Settings::values.touchscreen.diameter_x = + config->GetInteger("ControlsGeneral", "touch_diameter_x", 15); + Settings::values.touchscreen.diameter_y = + config->GetInteger("ControlsGeneral", "touch_diameter_y", 15); + + int num_touch_from_button_maps = + config->GetInteger("ControlsGeneral", "touch_from_button_map", 0); + if (num_touch_from_button_maps > 0) { + for (int i = 0; i < num_touch_from_button_maps; ++i) { + Settings::TouchFromButtonMap map; + map.name = config->Get("ControlsGeneral", + std::string("touch_from_button_maps_") + std::to_string(i) + + std::string("_name"), + "default"); + const int num_touch_maps = config->GetInteger( + "ControlsGeneral", + std::string("touch_from_button_maps_") + std::to_string(i) + std::string("_count"), + 0); + map.buttons.reserve(num_touch_maps); + + for (int j = 0; j < num_touch_maps; ++j) { + std::string touch_mapping = + config->Get("ControlsGeneral", + std::string("touch_from_button_maps_") + std::to_string(i) + + std::string("_bind_") + std::to_string(j), + ""); + map.buttons.emplace_back(std::move(touch_mapping)); + } + + Settings::values.touch_from_button_maps.emplace_back(std::move(map)); + } + } else { + Settings::values.touch_from_button_maps.emplace_back( + Settings::TouchFromButtonMap{"default", {}}); + num_touch_from_button_maps = 1; + } + Settings::values.touch_from_button_map_index = std::clamp( + Settings::values.touch_from_button_map_index.GetValue(), 0, num_touch_from_button_maps - 1); + + ReadSetting("ControlsGeneral", Settings::values.udp_input_servers); + + // Data Storage + ReadSetting("Data Storage", Settings::values.use_virtual_sd); + FS::SetYuzuPath(FS::YuzuPath::NANDDir, + config->Get("Data Storage", "nand_directory", + FS::GetYuzuPathString(FS::YuzuPath::NANDDir))); + FS::SetYuzuPath(FS::YuzuPath::SDMCDir, + config->Get("Data Storage", "sdmc_directory", + FS::GetYuzuPathString(FS::YuzuPath::SDMCDir))); + FS::SetYuzuPath(FS::YuzuPath::LoadDir, + config->Get("Data Storage", "load_directory", + FS::GetYuzuPathString(FS::YuzuPath::LoadDir))); + FS::SetYuzuPath(FS::YuzuPath::DumpDir, + config->Get("Data Storage", "dump_directory", + FS::GetYuzuPathString(FS::YuzuPath::DumpDir))); + ReadSetting("Data Storage", Settings::values.gamecard_inserted); + ReadSetting("Data Storage", Settings::values.gamecard_current_game); + ReadSetting("Data Storage", Settings::values.gamecard_path); + + // System + ReadSetting("System", Settings::values.current_user); + Settings::values.current_user = std::clamp(Settings::values.current_user.GetValue(), 0, + Service::Account::MAX_USERS - 1); + + // Disable docked mode by default on Android + Settings::values.use_docked_mode = config->GetBoolean("System", "use_docked_mode", false); + + const auto rng_seed_enabled = config->GetBoolean("System", "rng_seed_enabled", false); + if (rng_seed_enabled) { + Settings::values.rng_seed.SetValue(config->GetInteger("System", "rng_seed", 0)); + } else { + Settings::values.rng_seed.SetValue(std::nullopt); + } + + const auto custom_rtc_enabled = config->GetBoolean("System", "custom_rtc_enabled", false); + if (custom_rtc_enabled) { + Settings::values.custom_rtc = config->GetInteger("System", "custom_rtc", 0); + } else { + Settings::values.custom_rtc = std::nullopt; + } + + ReadSetting("System", Settings::values.language_index); + ReadSetting("System", Settings::values.region_index); + ReadSetting("System", Settings::values.time_zone_index); + ReadSetting("System", Settings::values.sound_index); + + // Core + ReadSetting("Core", Settings::values.use_multi_core); + ReadSetting("Core", Settings::values.use_unsafe_extended_memory_layout); + + // Cpu + ReadSetting("Cpu", Settings::values.cpu_accuracy); + ReadSetting("Cpu", Settings::values.cpu_debug_mode); + ReadSetting("Cpu", Settings::values.cpuopt_page_tables); + ReadSetting("Cpu", Settings::values.cpuopt_block_linking); + ReadSetting("Cpu", Settings::values.cpuopt_return_stack_buffer); + ReadSetting("Cpu", Settings::values.cpuopt_fast_dispatcher); + ReadSetting("Cpu", Settings::values.cpuopt_context_elimination); + ReadSetting("Cpu", Settings::values.cpuopt_const_prop); + ReadSetting("Cpu", Settings::values.cpuopt_misc_ir); + ReadSetting("Cpu", Settings::values.cpuopt_reduce_misalign_checks); + ReadSetting("Cpu", Settings::values.cpuopt_fastmem); + ReadSetting("Cpu", Settings::values.cpuopt_fastmem_exclusives); + ReadSetting("Cpu", Settings::values.cpuopt_recompile_exclusives); + ReadSetting("Cpu", Settings::values.cpuopt_ignore_memory_aborts); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_unfuse_fma); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_reduce_fp_error); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_ignore_standard_fpcr); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_inaccurate_nan); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_fastmem_check); + ReadSetting("Cpu", Settings::values.cpuopt_unsafe_ignore_global_monitor); + + // Renderer + ReadSetting("Renderer", Settings::values.renderer_backend); + ReadSetting("Renderer", Settings::values.renderer_debug); + ReadSetting("Renderer", Settings::values.renderer_shader_feedback); + ReadSetting("Renderer", Settings::values.enable_nsight_aftermath); + ReadSetting("Renderer", Settings::values.disable_shader_loop_safety_checks); + ReadSetting("Renderer", Settings::values.vulkan_device); + + ReadSetting("Renderer", Settings::values.resolution_setup); + ReadSetting("Renderer", Settings::values.scaling_filter); + ReadSetting("Renderer", Settings::values.fsr_sharpening_slider); + ReadSetting("Renderer", Settings::values.anti_aliasing); + ReadSetting("Renderer", Settings::values.fullscreen_mode); + ReadSetting("Renderer", Settings::values.aspect_ratio); + ReadSetting("Renderer", Settings::values.max_anisotropy); + ReadSetting("Renderer", Settings::values.use_speed_limit); + ReadSetting("Renderer", Settings::values.speed_limit); + ReadSetting("Renderer", Settings::values.use_disk_shader_cache); + ReadSetting("Renderer", Settings::values.use_asynchronous_gpu_emulation); + ReadSetting("Renderer", Settings::values.vsync_mode); + ReadSetting("Renderer", Settings::values.shader_backend); + ReadSetting("Renderer", Settings::values.use_asynchronous_shaders); + ReadSetting("Renderer", Settings::values.nvdec_emulation); + ReadSetting("Renderer", Settings::values.use_fast_gpu_time); + ReadSetting("Renderer", Settings::values.use_vulkan_driver_pipeline_cache); + + ReadSetting("Renderer", Settings::values.bg_red); + ReadSetting("Renderer", Settings::values.bg_green); + ReadSetting("Renderer", Settings::values.bg_blue); + + // Use GPU accuracy normal by default on Android + Settings::values.gpu_accuracy = static_cast(config->GetInteger( + "Renderer", "gpu_accuracy", static_cast(Settings::GPUAccuracy::Normal))); + + // Use GPU default anisotropic filtering on Android + Settings::values.max_anisotropy = config->GetInteger("Renderer", "max_anisotropy", 1); + + // Disable ASTC compute by default on Android + Settings::values.accelerate_astc = config->GetBoolean("Renderer", "accelerate_astc", false); + + // Enable asynchronous presentation by default on Android + Settings::values.async_presentation = + config->GetBoolean("Renderer", "async_presentation", true); + + // Disable force_max_clock by default on Android + Settings::values.renderer_force_max_clock = + config->GetBoolean("Renderer", "force_max_clock", false); + + // Disable use_reactive_flushing by default on Android + Settings::values.use_reactive_flushing = + config->GetBoolean("Renderer", "use_reactive_flushing", false); + + // Audio + ReadSetting("Audio", Settings::values.sink_id); + ReadSetting("Audio", Settings::values.audio_output_device_id); + ReadSetting("Audio", Settings::values.volume); + + // Miscellaneous + // log_filter has a different default here than from common + Settings::values.log_filter = "*:Info"; + ReadSetting("Miscellaneous", Settings::values.use_dev_keys); + + // Debugging + Settings::values.record_frame_times = + config->GetBoolean("Debugging", "record_frame_times", false); + ReadSetting("Debugging", Settings::values.dump_exefs); + ReadSetting("Debugging", Settings::values.dump_nso); + ReadSetting("Debugging", Settings::values.enable_fs_access_log); + ReadSetting("Debugging", Settings::values.reporting_services); + ReadSetting("Debugging", Settings::values.quest_flag); + ReadSetting("Debugging", Settings::values.use_debug_asserts); + ReadSetting("Debugging", Settings::values.use_auto_stub); + ReadSetting("Debugging", Settings::values.disable_macro_jit); + ReadSetting("Debugging", Settings::values.disable_macro_hle); + ReadSetting("Debugging", Settings::values.use_gdbstub); + ReadSetting("Debugging", Settings::values.gdbstub_port); + + const auto title_list = config->Get("AddOns", "title_ids", ""); + std::stringstream ss(title_list); + std::string line; + while (std::getline(ss, line, '|')) { + const auto title_id = std::stoul(line, nullptr, 16); + const auto disabled_list = config->Get("AddOns", "disabled_" + line, ""); + + std::stringstream inner_ss(disabled_list); + std::string inner_line; + std::vector out; + while (std::getline(inner_ss, inner_line, '|')) { + out.push_back(inner_line); + } + + Settings::values.disabled_addons.insert_or_assign(title_id, out); + } + + // Web Service + ReadSetting("WebService", Settings::values.enable_telemetry); + ReadSetting("WebService", Settings::values.web_api_url); + ReadSetting("WebService", Settings::values.yuzu_username); + ReadSetting("WebService", Settings::values.yuzu_token); + + // Network + ReadSetting("Network", Settings::values.network_interface); +} + +void Config::Reload() { + LoadINI(DefaultINI::android_config_file); + ReadValues(); +} diff --git a/src/android/app/src/main/jni/config.h b/src/android/app/src/main/jni/config.h new file mode 100644 index 000000000..0d7d6e94d --- /dev/null +++ b/src/android/app/src/main/jni/config.h @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include +#include +#include + +#include "common/settings.h" + +class INIReader; + +class Config { + std::filesystem::path config_loc; + std::unique_ptr config; + + bool LoadINI(const std::string& default_contents = "", bool retry = true); + void ReadValues(); + +public: + explicit Config(std::optional config_path = std::nullopt); + ~Config(); + + void Reload(); + +private: + /** + * Applies a value read from the sdl2_config to a Setting. + * + * @param group The name of the INI group + * @param setting The yuzu setting to modify + */ + template + void ReadSetting(const std::string& group, Settings::Setting& setting); +}; diff --git a/src/android/app/src/main/jni/default_ini.h b/src/android/app/src/main/jni/default_ini.h new file mode 100644 index 000000000..d81422a74 --- /dev/null +++ b/src/android/app/src/main/jni/default_ini.h @@ -0,0 +1,511 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +namespace DefaultINI { + +const char* android_config_file = R"( + +[ControlsP0] +# The input devices and parameters for each Switch native input +# The config section determines the player number where the config will be applied on. For example "ControlsP0", "ControlsP1", ... +# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..." +# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values + +# Indicates if this player should be connected at boot +connected= + +# for button input, the following devices are available: +# - "keyboard" (default) for keyboard input. Required parameters: +# - "code": the code of the key to bind +# - "sdl" for joystick input using SDL. Required parameters: +# - "guid": SDL identification GUID of the joystick +# - "port": the index of the joystick to bind +# - "button"(optional): the index of the button to bind +# - "hat"(optional): the index of the hat to bind as direction buttons +# - "axis"(optional): the index of the axis to bind +# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right" +# - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is +# triggered if the axis value crosses +# - "direction"(only used for axis): "+" means the button is triggered when the axis value +# is greater than the threshold; "-" means the button is triggered when the axis value +# is smaller than the threshold +button_a= +button_b= +button_x= +button_y= +button_lstick= +button_rstick= +button_l= +button_r= +button_zl= +button_zr= +button_plus= +button_minus= +button_dleft= +button_dup= +button_dright= +button_ddown= +button_lstick_left= +button_lstick_up= +button_lstick_right= +button_lstick_down= +button_sl= +button_sr= +button_home= +button_screenshot= + +# for analog input, the following devices are available: +# - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters: +# - "up", "down", "left", "right": sub-devices for each direction. +# Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00" +# - "modifier": sub-devices as a modifier. +# - "modifier_scale": a float number representing the applied modifier scale to the analog input. +# Must be in range of 0.0-1.0. Defaults to 0.5 +# - "sdl" for joystick input using SDL. Required parameters: +# - "guid": SDL identification GUID of the joystick +# - "port": the index of the joystick to bind +# - "axis_x": the index of the axis to bind as x-axis (default to 0) +# - "axis_y": the index of the axis to bind as y-axis (default to 1) +lstick= +rstick= + +# for motion input, the following devices are available: +# - "keyboard" (default) for emulating random motion input from buttons. Required parameters: +# - "code": the code of the key to bind +# - "sdl" for motion input using SDL. Required parameters: +# - "guid": SDL identification GUID of the joystick +# - "port": the index of the joystick to bind +# - "motion": the index of the motion sensor to bind +# - "cemuhookudp" for motion input using Cemu Hook protocol. Required parameters: +# - "guid": the IP address of the cemu hook server encoded to a hex string. for example 192.168.0.1 = "c0a80001" +# - "port": the port of the cemu hook server +# - "pad": the index of the joystick +# - "motion": the index of the motion sensor of the joystick to bind +motionleft= +motionright= + +[ControlsGeneral] +# To use the debug_pad, prepend `debug_pad_` before each button setting above. +# i.e. debug_pad_button_a= + +# Enable debug pad inputs to the guest +# 0 (default): Disabled, 1: Enabled +debug_pad_enabled = + +# Whether to enable or disable vibration +# 0: Disabled, 1 (default): Enabled +vibration_enabled= + +# Whether to enable or disable accurate vibrations +# 0 (default): Disabled, 1: Enabled +enable_accurate_vibrations= + +# Enables controller motion inputs +# 0: Disabled, 1 (default): Enabled +motion_enabled = + +# Defines the udp device's touch screen coordinate system for cemuhookudp devices +# - "min_x", "min_y", "max_x", "max_y" +touch_device= + +# for mapping buttons to touch inputs. +#touch_from_button_map=1 +#touch_from_button_maps_0_name=default +#touch_from_button_maps_0_count=2 +#touch_from_button_maps_0_bind_0=foo +#touch_from_button_maps_0_bind_1=bar +# etc. + +# List of Cemuhook UDP servers, delimited by ','. +# Default: 127.0.0.1:26760 +# Example: 127.0.0.1:26760,123.4.5.67:26761 +udp_input_servers = + +# Enable controlling an axis via a mouse input. +# 0 (default): Off, 1: On +mouse_panning = + +# Set mouse sensitivity. +# Default: 1.0 +mouse_panning_sensitivity = + +# Emulate an analog control stick from keyboard inputs. +# 0 (default): Disabled, 1: Enabled +emulate_analog_keyboard = + +# Enable mouse inputs to the guest +# 0 (default): Disabled, 1: Enabled +mouse_enabled = + +# Enable keyboard inputs to the guest +# 0 (default): Disabled, 1: Enabled +keyboard_enabled = + +[Core] +# Whether to use multi-core for CPU emulation +# 0: Disabled, 1 (default): Enabled +use_multi_core = + +# Enable unsafe extended guest system memory layout (8GB DRAM) +# 0 (default): Disabled, 1: Enabled +use_unsafe_extended_memory_layout = + +[Cpu] +# Adjusts various optimizations. +# Auto-select mode enables choice unsafe optimizations. +# Accurate enables only safe optimizations. +# Unsafe allows any unsafe optimizations. +# 0 (default): Auto-select, 1: Accurate, 2: Enable unsafe optimizations +cpu_accuracy = + +# Allow disabling safe optimizations. +# 0 (default): Disabled, 1: Enabled +cpu_debug_mode = + +# Enable inline page tables optimization (faster guest memory access) +# 0: Disabled, 1 (default): Enabled +cpuopt_page_tables = + +# Enable block linking CPU optimization (reduce block dispatcher use during predictable jumps) +# 0: Disabled, 1 (default): Enabled +cpuopt_block_linking = + +# Enable return stack buffer CPU optimization (reduce block dispatcher use during predictable returns) +# 0: Disabled, 1 (default): Enabled +cpuopt_return_stack_buffer = + +# Enable fast dispatcher CPU optimization (use a two-tiered dispatcher architecture) +# 0: Disabled, 1 (default): Enabled +cpuopt_fast_dispatcher = + +# Enable context elimination CPU Optimization (reduce host memory use for guest context) +# 0: Disabled, 1 (default): Enabled +cpuopt_context_elimination = + +# Enable constant propagation CPU optimization (basic IR optimization) +# 0: Disabled, 1 (default): Enabled +cpuopt_const_prop = + +# Enable miscellaneous CPU optimizations (basic IR optimization) +# 0: Disabled, 1 (default): Enabled +cpuopt_misc_ir = + +# Enable reduction of memory misalignment checks (reduce memory fallbacks for misaligned access) +# 0: Disabled, 1 (default): Enabled +cpuopt_reduce_misalign_checks = + +# Enable Host MMU Emulation (faster guest memory access) +# 0: Disabled, 1 (default): Enabled +cpuopt_fastmem = + +# Enable Host MMU Emulation for exclusive memory instructions (faster guest memory access) +# 0: Disabled, 1 (default): Enabled +cpuopt_fastmem_exclusives = + +# Enable fallback on failure of fastmem of exclusive memory instructions (faster guest memory access) +# 0: Disabled, 1 (default): Enabled +cpuopt_recompile_exclusives = + +# Enable optimization to ignore invalid memory accesses (faster guest memory access) +# 0: Disabled, 1 (default): Enabled +cpuopt_ignore_memory_aborts = + +# Enable unfuse FMA (improve performance on CPUs without FMA) +# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_unfuse_fma = + +# Enable faster FRSQRTE and FRECPE +# Only enabled if cpu_accuracy is set to Unsafe. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_reduce_fp_error = + +# Enable faster ASIMD instructions (32 bits only) +# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_ignore_standard_fpcr = + +# Enable inaccurate NaN handling +# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_inaccurate_nan = + +# Disable address space checks (64 bits only) +# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_fastmem_check = + +# Enable faster exclusive instructions +# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select. +# 0: Disabled, 1 (default): Enabled +cpuopt_unsafe_ignore_global_monitor = + +[Renderer] +# Which backend API to use. +# 0: OpenGL (unsupported), 1 (default): Vulkan, 2: Null +backend = + +# Whether to enable asynchronous presentation (Vulkan only) +# 0: Off, 1 (default): On +async_presentation = + +# Forces the GPU to run at the maximum possible clocks (thermal constraints will still be applied). +# 0 (default): Disabled, 1: Enabled +force_max_clock = + +# Enable graphics API debugging mode. +# 0 (default): Disabled, 1: Enabled +debug = + +# Enable shader feedback. +# 0 (default): Disabled, 1: Enabled +renderer_shader_feedback = + +# Enable Nsight Aftermath crash dumps +# 0 (default): Disabled, 1: Enabled +nsight_aftermath = + +# Disable shader loop safety checks, executing the shader without loop logic changes +# 0 (default): Disabled, 1: Enabled +disable_shader_loop_safety_checks = + +# Which Vulkan physical device to use (defaults to 0) +vulkan_device = + +# 0: 0.5x (360p/540p) [EXPERIMENTAL] +# 1: 0.75x (540p/810p) [EXPERIMENTAL] +# 2 (default): 1x (720p/1080p) +# 3: 2x (1440p/2160p) +# 4: 3x (2160p/3240p) +# 5: 4x (2880p/4320p) +# 6: 5x (3600p/5400p) +# 7: 6x (4320p/6480p) +resolution_setup = + +# Pixel filter to use when up- or down-sampling rendered frames. +# 0: Nearest Neighbor +# 1 (default): Bilinear +# 2: Bicubic +# 3: Gaussian +# 4: ScaleForce +# 5: AMD FidelityFX™️ Super Resolution [Vulkan Only] +scaling_filter = + +# Anti-Aliasing (AA) +# 0 (default): None, 1: FXAA +anti_aliasing = + +# Whether to use fullscreen or borderless window mode +# 0 (Windows default): Borderless window, 1 (All other default): Exclusive fullscreen +fullscreen_mode = + +# Aspect ratio +# 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Force 16:10, 4: Stretch to Window +aspect_ratio = + +# Anisotropic filtering +# 0: Default, 1: 2x, 2: 4x, 3: 8x, 4: 16x +max_anisotropy = + +# Whether to enable VSync or not. +# OpenGL: Values other than 0 enable VSync +# Vulkan: FIFO is selected if the requested mode is not supported by the driver. +# FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate. +# FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down. +# Mailbox can have lower latency than FIFO and does not tear but may drop frames. +# Immediate (no synchronization) just presents whatever is available and can exhibit tearing. +# 0: Immediate (Off), 1 (Default): Mailbox (On), 2: FIFO, 3: FIFO Relaxed +use_vsync = + +# Selects the OpenGL shader backend. NV_gpu_program5 is required for GLASM. If NV_gpu_program5 is +# not available and GLASM is selected, GLSL will be used. +# 0: GLSL, 1 (default): GLASM, 2: SPIR-V +shader_backend = + +# Whether to allow asynchronous shader building. +# 0 (default): Off, 1: On +use_asynchronous_shaders = + +# Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory. +# 0 (default): Off, 1: On +use_reactive_flushing = + +# NVDEC emulation. +# 0: Disabled, 1: CPU Decoding, 2 (default): GPU Decoding +nvdec_emulation = + +# Accelerate ASTC texture decoding. +# 0 (default): Off, 1: On +accelerate_astc = + +# Turns on the speed limiter, which will limit the emulation speed to the desired speed limit value +# 0: Off, 1: On (default) +use_speed_limit = + +# Limits the speed of the game to run no faster than this value as a percentage of target speed +# 1 - 9999: Speed limit as a percentage of target game speed. 100 (default) +speed_limit = + +# Whether to use disk based shader cache +# 0: Off, 1 (default): On +use_disk_shader_cache = + +# Which gpu accuracy level to use +# 0 (default): Normal, 1: High, 2: Extreme (Very slow) +gpu_accuracy = + +# Whether to use asynchronous GPU emulation +# 0 : Off (slow), 1 (default): On (fast) +use_asynchronous_gpu_emulation = + +# Inform the guest that GPU operations completed more quickly than they did. +# 0: Off, 1 (default): On +use_fast_gpu_time = + +# Force unmodified buffers to be flushed, which can cost performance. +# 0: Off (default), 1: On +use_pessimistic_flushes = + +# Whether to use garbage collection or not for GPU caches. +# 0 (default): Off, 1: On +use_caches_gc = + +# The clear color for the renderer. What shows up on the sides of the bottom screen. +# Must be in range of 0-255. Defaults to 0 for all. +bg_red = +bg_blue = +bg_green = + +[Audio] +# Which audio output engine to use. +# auto (default): Auto-select +# cubeb: Cubeb audio engine (if available) +# sdl2: SDL2 audio engine (if available) +# null: No audio output +output_engine = + +# Which audio device to use. +# auto (default): Auto-select +output_device = + +# Output volume. +# 100 (default): 100%, 0; mute +volume = + +[Data Storage] +# Whether to create a virtual SD card. +# 1: Yes, 0 (default): No +use_virtual_sd = + +# Whether or not to enable gamecard emulation +# 1: Yes, 0 (default): No +gamecard_inserted = + +# Whether or not the gamecard should be emulated as the current game +# If 'gamecard_inserted' is 0 this setting is irrelevant +# 1: Yes, 0 (default): No +gamecard_current_game = + +# Path to an XCI file to use as the gamecard +# If 'gamecard_inserted' is 0 this setting is irrelevant +# If 'gamecard_current_game' is 1 this setting is irrelevant +gamecard_path = + +[System] +# Whether the system is docked +# 1 (default): Yes, 0: No +use_docked_mode = + +# Sets the seed for the RNG generator built into the switch +# rng_seed will be ignored and randomly generated if rng_seed_enabled is false +rng_seed_enabled = +rng_seed = + +# Sets the current time (in seconds since 12:00 AM Jan 1, 1970) that will be used by the time service +# This will auto-increment, with the time set being the time the game is started +# This override will only occur if custom_rtc_enabled is true, otherwise the current time is used +custom_rtc_enabled = +custom_rtc = + +# Sets the systems language index +# 0: Japanese, 1: English (default), 2: French, 3: German, 4: Italian, 5: Spanish, 6: Chinese, +# 7: Korean, 8: Dutch, 9: Portuguese, 10: Russian, 11: Taiwanese, 12: British English, 13: Canadian French, +# 14: Latin American Spanish, 15: Simplified Chinese, 16: Traditional Chinese, 17: Brazilian Portuguese +language_index = + +# The system region that yuzu will use during emulation +# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan +region_index = + +# The system time zone that yuzu will use during emulation +# 0: Auto-select (default), 1: Default (system archive value), Others: Index for specified time zone +time_zone_index = + +# Sets the sound output mode. +# 0: Mono, 1 (default): Stereo, 2: Surround +sound_index = + +[Miscellaneous] +# A filter which removes logs below a certain logging level. +# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical +log_filter = *:Trace + +# Use developer keys +# 0 (default): Disabled, 1: Enabled +use_dev_keys = + +[Debugging] +# Record frame time data, can be found in the log directory. Boolean value +record_frame_times = +# Determines whether or not yuzu will dump the ExeFS of all games it attempts to load while loading them +dump_exefs=false +# Determines whether or not yuzu will dump all NSOs it attempts to load while loading them +dump_nso=false +# Determines whether or not yuzu will save the filesystem access log. +enable_fs_access_log=false +# Enables verbose reporting services +reporting_services = +# Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode +# false: Retail/Normal Mode (default), true: Kiosk Mode +quest_flag = +# Determines whether debug asserts should be enabled, which will throw an exception on asserts. +# false: Disabled (default), true: Enabled +use_debug_asserts = +# Determines whether unimplemented HLE service calls should be automatically stubbed. +# false: Disabled (default), true: Enabled +use_auto_stub = +# Enables/Disables the macro JIT compiler +disable_macro_jit=false +# Determines whether to enable the GDB stub and wait for the debugger to attach before running. +# false: Disabled (default), true: Enabled +use_gdbstub=false +# The port to use for the GDB server, if it is enabled. +gdbstub_port=6543 + +[WebService] +# Whether or not to enable telemetry +# 0: No, 1 (default): Yes +enable_telemetry = +# URL for Web API +web_api_url = https://api.yuzu-emu.org +# Username and token for yuzu Web Service +# See https://profile.yuzu-emu.org/ for more info +yuzu_username = +yuzu_token = + +[Network] +# Name of the network interface device to use with yuzu LAN play. +# e.g. On *nix: 'enp7s0', 'wlp6s0u1u3u3', 'lo' +# e.g. On Windows: 'Ethernet', 'Wi-Fi' +network_interface = + +[AddOns] +# Used to disable add-ons +# List of title IDs of games that will have add-ons disabled (separated by '|'): +title_ids = +# For each title ID, have a key/value pair called `disabled_` equal to the names of the add-ons to disable (sep. by '|') +# e.x. disabled_0100000000010000 = Update|DLC <- disables Updates and DLC on Super Mario Odyssey +)"; +} // namespace DefaultINI diff --git a/src/android/app/src/main/jni/emu_window/emu_window.cpp b/src/android/app/src/main/jni/emu_window/emu_window.cpp new file mode 100644 index 000000000..a890c6604 --- /dev/null +++ b/src/android/app/src/main/jni/emu_window/emu_window.cpp @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#include + +#include "common/logging/log.h" +#include "input_common/drivers/touch_screen.h" +#include "input_common/drivers/virtual_amiibo.h" +#include "input_common/drivers/virtual_gamepad.h" +#include "input_common/main.h" +#include "jni/emu_window/emu_window.h" + +void EmuWindow_Android::OnSurfaceChanged(ANativeWindow* surface) { + window_info.render_surface = reinterpret_cast(surface); +} + +void EmuWindow_Android::OnTouchPressed(int id, float x, float y) { + const auto [touch_x, touch_y] = MapToTouchScreen(x, y); + m_input_subsystem->GetTouchScreen()->TouchPressed(touch_x, touch_y, id); +} + +void EmuWindow_Android::OnTouchMoved(int id, float x, float y) { + const auto [touch_x, touch_y] = MapToTouchScreen(x, y); + m_input_subsystem->GetTouchScreen()->TouchMoved(touch_x, touch_y, id); +} + +void EmuWindow_Android::OnTouchReleased(int id) { + m_input_subsystem->GetTouchScreen()->TouchReleased(id); +} + +void EmuWindow_Android::OnGamepadButtonEvent(int player_index, int button_id, bool pressed) { + m_input_subsystem->GetVirtualGamepad()->SetButtonState(player_index, button_id, pressed); +} + +void EmuWindow_Android::OnGamepadJoystickEvent(int player_index, int stick_id, float x, float y) { + m_input_subsystem->GetVirtualGamepad()->SetStickPosition(player_index, stick_id, x, y); +} + +void EmuWindow_Android::OnGamepadMotionEvent(int player_index, u64 delta_timestamp, float gyro_x, + float gyro_y, float gyro_z, float accel_x, + float accel_y, float accel_z) { + m_input_subsystem->GetVirtualGamepad()->SetMotionState( + player_index, delta_timestamp, gyro_x, gyro_y, gyro_z, accel_x, accel_y, accel_z); +} + +void EmuWindow_Android::OnReadNfcTag(std::span data) { + m_input_subsystem->GetVirtualAmiibo()->LoadAmiibo(data); +} + +void EmuWindow_Android::OnRemoveNfcTag() { + m_input_subsystem->GetVirtualAmiibo()->CloseAmiibo(); +} + +EmuWindow_Android::EmuWindow_Android(InputCommon::InputSubsystem* input_subsystem, + ANativeWindow* surface, + std::shared_ptr driver_library) + : m_input_subsystem{input_subsystem}, m_driver_library{driver_library} { + LOG_INFO(Frontend, "initializing"); + + if (!surface) { + LOG_CRITICAL(Frontend, "surface is nullptr"); + return; + } + + m_window_width = ANativeWindow_getWidth(surface); + m_window_height = ANativeWindow_getHeight(surface); + + // Ensures that we emulate with the correct aspect ratio. + UpdateCurrentFramebufferLayout(m_window_width, m_window_height); + + window_info.type = Core::Frontend::WindowSystemType::Android; + window_info.render_surface = reinterpret_cast(surface); + + m_input_subsystem->Initialize(); +} + +EmuWindow_Android::~EmuWindow_Android() { + m_input_subsystem->Shutdown(); +} diff --git a/src/android/app/src/main/jni/emu_window/emu_window.h b/src/android/app/src/main/jni/emu_window/emu_window.h new file mode 100644 index 000000000..b38087f73 --- /dev/null +++ b/src/android/app/src/main/jni/emu_window/emu_window.h @@ -0,0 +1,64 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include +#include + +#include "core/frontend/emu_window.h" +#include "core/frontend/graphics_context.h" +#include "input_common/main.h" + +struct ANativeWindow; + +class GraphicsContext_Android final : public Core::Frontend::GraphicsContext { +public: + explicit GraphicsContext_Android(std::shared_ptr driver_library) + : m_driver_library{driver_library} {} + + ~GraphicsContext_Android() = default; + + std::shared_ptr GetDriverLibrary() override { + return m_driver_library; + } + +private: + std::shared_ptr m_driver_library; +}; + +class EmuWindow_Android final : public Core::Frontend::EmuWindow { + +public: + EmuWindow_Android(InputCommon::InputSubsystem* input_subsystem, ANativeWindow* surface, + std::shared_ptr driver_library); + + ~EmuWindow_Android(); + + void OnSurfaceChanged(ANativeWindow* surface); + void OnTouchPressed(int id, float x, float y); + void OnTouchMoved(int id, float x, float y); + void OnTouchReleased(int id); + void OnGamepadButtonEvent(int player_index, int button_id, bool pressed); + void OnGamepadJoystickEvent(int player_index, int stick_id, float x, float y); + void OnGamepadMotionEvent(int player_index, u64 delta_timestamp, float gyro_x, float gyro_y, + float gyro_z, float accel_x, float accel_y, float accel_z); + void OnReadNfcTag(std::span data); + void OnRemoveNfcTag(); + void OnFrameDisplayed() override {} + + std::unique_ptr CreateSharedContext() const override { + return {std::make_unique(m_driver_library)}; + } + bool IsShown() const override { + return true; + }; + +private: + InputCommon::InputSubsystem* m_input_subsystem{}; + + float m_window_width{}; + float m_window_height{}; + + std::shared_ptr m_driver_library; +}; diff --git a/src/android/app/src/main/jni/id_cache.cpp b/src/android/app/src/main/jni/id_cache.cpp new file mode 100644 index 000000000..9cbbf23a3 --- /dev/null +++ b/src/android/app/src/main/jni/id_cache.cpp @@ -0,0 +1,116 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include + +#include "common/assert.h" +#include "common/fs/fs_android.h" +#include "jni/applets/software_keyboard.h" +#include "jni/id_cache.h" +#include "video_core/rasterizer_interface.h" + +static JavaVM* s_java_vm; +static jclass s_native_library_class; +static jclass s_disk_cache_progress_class; +static jclass s_load_callback_stage_class; +static jmethodID s_exit_emulation_activity; +static jmethodID s_disk_cache_load_progress; + +static constexpr jint JNI_VERSION = JNI_VERSION_1_6; + +namespace IDCache { + +JNIEnv* GetEnvForThread() { + thread_local static struct OwnedEnv { + OwnedEnv() { + status = s_java_vm->GetEnv(reinterpret_cast(&env), JNI_VERSION_1_6); + if (status == JNI_EDETACHED) + s_java_vm->AttachCurrentThread(&env, nullptr); + } + + ~OwnedEnv() { + if (status == JNI_EDETACHED) + s_java_vm->DetachCurrentThread(); + } + + int status; + JNIEnv* env = nullptr; + } owned; + return owned.env; +} + +jclass GetNativeLibraryClass() { + return s_native_library_class; +} + +jclass GetDiskCacheProgressClass() { + return s_disk_cache_progress_class; +} + +jclass GetDiskCacheLoadCallbackStageClass() { + return s_load_callback_stage_class; +} + +jmethodID GetExitEmulationActivity() { + return s_exit_emulation_activity; +} + +jmethodID GetDiskCacheLoadProgress() { + return s_disk_cache_load_progress; +} + +} // namespace IDCache + +#ifdef __cplusplus +extern "C" { +#endif + +jint JNI_OnLoad(JavaVM* vm, void* reserved) { + s_java_vm = vm; + + JNIEnv* env; + if (vm->GetEnv(reinterpret_cast(&env), JNI_VERSION) != JNI_OK) + return JNI_ERR; + + // Initialize Java classes + const jclass native_library_class = env->FindClass("org/yuzu/yuzu_emu/NativeLibrary"); + s_native_library_class = reinterpret_cast(env->NewGlobalRef(native_library_class)); + s_disk_cache_progress_class = reinterpret_cast(env->NewGlobalRef( + env->FindClass("org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress"))); + s_load_callback_stage_class = reinterpret_cast(env->NewGlobalRef(env->FindClass( + "org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress$LoadCallbackStage"))); + + // Initialize methods + s_exit_emulation_activity = + env->GetStaticMethodID(s_native_library_class, "exitEmulationActivity", "(I)V"); + s_disk_cache_load_progress = + env->GetStaticMethodID(s_disk_cache_progress_class, "loadProgress", "(III)V"); + + // Initialize Android Storage + Common::FS::Android::RegisterCallbacks(env, s_native_library_class); + + // Initialize applets + SoftwareKeyboard::InitJNI(env); + + return JNI_VERSION; +} + +void JNI_OnUnload(JavaVM* vm, void* reserved) { + JNIEnv* env; + if (vm->GetEnv(reinterpret_cast(&env), JNI_VERSION) != JNI_OK) { + return; + } + + // UnInitialize Android Storage + Common::FS::Android::UnRegisterCallbacks(); + env->DeleteGlobalRef(s_native_library_class); + env->DeleteGlobalRef(s_disk_cache_progress_class); + env->DeleteGlobalRef(s_load_callback_stage_class); + + // UnInitialize applets + SoftwareKeyboard::CleanupJNI(env); +} + +#ifdef __cplusplus +} +#endif diff --git a/src/android/app/src/main/jni/id_cache.h b/src/android/app/src/main/jni/id_cache.h new file mode 100644 index 000000000..be535fe1e --- /dev/null +++ b/src/android/app/src/main/jni/id_cache.h @@ -0,0 +1,19 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include + +#include "video_core/rasterizer_interface.h" + +namespace IDCache { + +JNIEnv* GetEnvForThread(); +jclass GetNativeLibraryClass(); +jclass GetDiskCacheProgressClass(); +jclass GetDiskCacheLoadCallbackStageClass(); +jmethodID GetExitEmulationActivity(); +jmethodID GetDiskCacheLoadProgress(); + +} // namespace IDCache diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp new file mode 100644 index 000000000..8bc6a4a04 --- /dev/null +++ b/src/android/app/src/main/jni/native.cpp @@ -0,0 +1,865 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include +#include +#include +#include + +#ifdef ARCHITECTURE_arm64 +#include +#endif + +#include +#include +#include +#include + +#include "common/detached_tasks.h" +#include "common/dynamic_library.h" +#include "common/fs/path_util.h" +#include "common/logging/backend.h" +#include "common/logging/log.h" +#include "common/microprofile.h" +#include "common/scm_rev.h" +#include "common/scope_exit.h" +#include "common/settings.h" +#include "common/string_util.h" +#include "core/core.h" +#include "core/cpu_manager.h" +#include "core/crypto/key_manager.h" +#include "core/file_sys/card_image.h" +#include "core/file_sys/registered_cache.h" +#include "core/file_sys/submission_package.h" +#include "core/file_sys/vfs.h" +#include "core/file_sys/vfs_real.h" +#include "core/frontend/applets/cabinet.h" +#include "core/frontend/applets/controller.h" +#include "core/frontend/applets/error.h" +#include "core/frontend/applets/general_frontend.h" +#include "core/frontend/applets/mii_edit.h" +#include "core/frontend/applets/profile_select.h" +#include "core/frontend/applets/software_keyboard.h" +#include "core/frontend/applets/web_browser.h" +#include "core/hid/emulated_controller.h" +#include "core/hid/hid_core.h" +#include "core/hid/hid_types.h" +#include "core/hle/service/acc/profile_manager.h" +#include "core/hle/service/am/applet_ae.h" +#include "core/hle/service/am/applet_oe.h" +#include "core/hle/service/am/applets/applets.h" +#include "core/hle/service/filesystem/filesystem.h" +#include "core/loader/loader.h" +#include "core/perf_stats.h" +#include "jni/android_common/android_common.h" +#include "jni/applets/software_keyboard.h" +#include "jni/config.h" +#include "jni/emu_window/emu_window.h" +#include "jni/id_cache.h" +#include "video_core/rasterizer_interface.h" +#include "video_core/renderer_base.h" + +#define jconst [[maybe_unused]] const auto +#define jauto [[maybe_unused]] auto + +namespace { + +class EmulationSession final { +public: + EmulationSession() { + m_vfs = std::make_shared(); + } + + ~EmulationSession() = default; + + static EmulationSession& GetInstance() { + return s_instance; + } + + const Core::System& System() const { + return m_system; + } + + Core::System& System() { + return m_system; + } + + const EmuWindow_Android& Window() const { + return *m_window; + } + + EmuWindow_Android& Window() { + return *m_window; + } + + ANativeWindow* NativeWindow() const { + return m_native_window; + } + + void SetNativeWindow(ANativeWindow* native_window) { + m_native_window = native_window; + } + + int InstallFileToNand(std::string filename) { + jconst copy_func = [](const FileSys::VirtualFile& src, const FileSys::VirtualFile& dest, + std::size_t block_size) { + if (src == nullptr || dest == nullptr) { + return false; + } + if (!dest->Resize(src->GetSize())) { + return false; + } + + using namespace Common::Literals; + [[maybe_unused]] std::vector buffer(1_MiB); + + for (std::size_t i = 0; i < src->GetSize(); i += buffer.size()) { + jconst read = src->Read(buffer.data(), buffer.size(), i); + dest->Write(buffer.data(), read, i); + } + return true; + }; + + enum InstallResult { + Success = 0, + SuccessFileOverwritten = 1, + InstallError = 2, + ErrorBaseGame = 3, + ErrorFilenameExtension = 4, + }; + + m_system.SetContentProvider(std::make_unique()); + m_system.GetFileSystemController().CreateFactories(*m_vfs); + + [[maybe_unused]] std::shared_ptr nsp; + if (filename.ends_with("nsp")) { + nsp = std::make_shared(m_vfs->OpenFile(filename, FileSys::Mode::Read)); + if (nsp->IsExtractedType()) { + return InstallError; + } + } else if (filename.ends_with("xci")) { + jconst xci = + std::make_shared(m_vfs->OpenFile(filename, FileSys::Mode::Read)); + nsp = xci->GetSecurePartitionNSP(); + } else { + return ErrorFilenameExtension; + } + + if (!nsp) { + return InstallError; + } + + if (nsp->GetStatus() != Loader::ResultStatus::Success) { + return InstallError; + } + + jconst res = m_system.GetFileSystemController().GetUserNANDContents()->InstallEntry( + *nsp, true, copy_func); + + switch (res) { + case FileSys::InstallResult::Success: + return Success; + case FileSys::InstallResult::OverwriteExisting: + return SuccessFileOverwritten; + case FileSys::InstallResult::ErrorBaseInstall: + return ErrorBaseGame; + default: + return InstallError; + } + } + + void InitializeGpuDriver(const std::string& hook_lib_dir, const std::string& custom_driver_dir, + const std::string& custom_driver_name, + const std::string& file_redirect_dir) { +#ifdef ARCHITECTURE_arm64 + void* handle{}; + const char* file_redirect_dir_{}; + int featureFlags{}; + + // Enable driver file redirection when renderer debugging is enabled. + if (Settings::values.renderer_debug && file_redirect_dir.size()) { + featureFlags |= ADRENOTOOLS_DRIVER_FILE_REDIRECT; + file_redirect_dir_ = file_redirect_dir.c_str(); + } + + // Try to load a custom driver. + if (custom_driver_name.size()) { + handle = adrenotools_open_libvulkan( + RTLD_NOW, featureFlags | ADRENOTOOLS_DRIVER_CUSTOM, nullptr, hook_lib_dir.c_str(), + custom_driver_dir.c_str(), custom_driver_name.c_str(), file_redirect_dir_, nullptr); + } + + // Try to load the system driver. + if (!handle) { + handle = + adrenotools_open_libvulkan(RTLD_NOW, featureFlags, nullptr, hook_lib_dir.c_str(), + nullptr, nullptr, file_redirect_dir_, nullptr); + } + + m_vulkan_library = std::make_shared(handle); +#endif + } + + bool IsRunning() const { + std::scoped_lock lock(m_mutex); + return m_is_running; + } + + bool IsPaused() const { + std::scoped_lock lock(m_mutex); + return m_is_running && m_is_paused; + } + + const Core::PerfStatsResults& PerfStats() const { + std::scoped_lock m_perf_stats_lock(m_perf_stats_mutex); + return m_perf_stats; + } + + void SurfaceChanged() { + if (!IsRunning()) { + return; + } + m_window->OnSurfaceChanged(m_native_window); + m_system.Renderer().NotifySurfaceChanged(); + } + + Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { + std::scoped_lock lock(m_mutex); + + // Loads the configuration. + Config{}; + + // Create the render window. + m_window = std::make_unique(&m_input_subsystem, m_native_window, + m_vulkan_library); + + m_system.SetFilesystem(m_vfs); + + // Initialize system. + jauto android_keyboard = std::make_unique(); + m_software_keyboard = android_keyboard.get(); + m_system.SetShuttingDown(false); + m_system.ApplySettings(); + Settings::LogSettings(); + m_system.HIDCore().ReloadInputDevices(); + m_system.SetAppletFrontendSet({ + nullptr, // Amiibo Settings + nullptr, // Controller Selector + nullptr, // Error Display + nullptr, // Mii Editor + nullptr, // Parental Controls + nullptr, // Photo Viewer + nullptr, // Profile Selector + std::move(android_keyboard), // Software Keyboard + nullptr, // Web Browser + }); + m_system.SetContentProvider(std::make_unique()); + m_system.GetFileSystemController().CreateFactories(*m_vfs); + + // Initialize account manager + m_profile_manager = std::make_unique(); + + // Load the ROM. + m_load_result = m_system.Load(EmulationSession::GetInstance().Window(), filepath); + if (m_load_result != Core::SystemResultStatus::Success) { + return m_load_result; + } + + // Complete initialization. + m_system.GPU().Start(); + m_system.GetCpuManager().OnGpuReady(); + m_system.RegisterExitCallback([&] { HaltEmulation(); }); + + return Core::SystemResultStatus::Success; + } + + void ShutdownEmulation() { + std::scoped_lock lock(m_mutex); + + m_is_running = false; + + // Unload user input. + m_system.HIDCore().UnloadInputDevices(); + + // Shutdown the main emulated process + if (m_load_result == Core::SystemResultStatus::Success) { + m_system.DetachDebugger(); + m_system.ShutdownMainProcess(); + m_detached_tasks.WaitForAllTasks(); + m_load_result = Core::SystemResultStatus::ErrorNotInitialized; + } + + // Tear down the render window. + m_window.reset(); + } + + void PauseEmulation() { + std::scoped_lock lock(m_mutex); + m_system.Pause(); + m_is_paused = true; + } + + void UnPauseEmulation() { + std::scoped_lock lock(m_mutex); + m_system.Run(); + m_is_paused = false; + } + + void HaltEmulation() { + std::scoped_lock lock(m_mutex); + m_is_running = false; + m_cv.notify_one(); + } + + void RunEmulation() { + { + std::scoped_lock lock(m_mutex); + m_is_running = true; + } + + // Load the disk shader cache. + if (Settings::values.use_disk_shader_cache.GetValue()) { + LoadDiskCacheProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); + m_system.Renderer().ReadRasterizer()->LoadDiskResources( + m_system.GetApplicationProcessProgramID(), std::stop_token{}, + LoadDiskCacheProgress); + LoadDiskCacheProgress(VideoCore::LoadCallbackStage::Complete, 0, 0); + } + + void(m_system.Run()); + + if (m_system.DebuggerEnabled()) { + m_system.InitializeDebugger(); + } + + while (true) { + { + [[maybe_unused]] std::unique_lock lock(m_mutex); + if (m_cv.wait_for(lock, std::chrono::milliseconds(800), + [&]() { return !m_is_running; })) { + // Emulation halted. + break; + } + } + { + // Refresh performance stats. + std::scoped_lock m_perf_stats_lock(m_perf_stats_mutex); + m_perf_stats = m_system.GetAndResetPerfStats(); + } + } + } + + std::string GetRomTitle(const std::string& path) { + return GetRomMetadata(path).title; + } + + std::vector GetRomIcon(const std::string& path) { + return GetRomMetadata(path).icon; + } + + bool GetIsHomebrew(const std::string& path) { + return GetRomMetadata(path).isHomebrew; + } + + void ResetRomMetadata() { + m_rom_metadata_cache.clear(); + } + + bool IsHandheldOnly() { + jconst npad_style_set = m_system.HIDCore().GetSupportedStyleTag(); + + if (npad_style_set.fullkey == 1) { + return false; + } + + if (npad_style_set.handheld == 0) { + return false; + } + + return !Settings::values.use_docked_mode.GetValue(); + } + + void SetDeviceType([[maybe_unused]] int index, int type) { + jauto controller = m_system.HIDCore().GetEmulatedControllerByIndex(index); + controller->SetNpadStyleIndex(static_cast(type)); + } + + void OnGamepadConnectEvent([[maybe_unused]] int index) { + jauto controller = m_system.HIDCore().GetEmulatedControllerByIndex(index); + + // Ensure that player1 is configured correctly and handheld disconnected + if (controller->GetNpadIdType() == Core::HID::NpadIdType::Player1) { + jauto handheld = + m_system.HIDCore().GetEmulatedController(Core::HID::NpadIdType::Handheld); + + if (controller->GetNpadStyleIndex() == Core::HID::NpadStyleIndex::Handheld) { + handheld->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController); + controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController); + handheld->Disconnect(); + } + } + + // Ensure that handheld is configured correctly and player 1 disconnected + if (controller->GetNpadIdType() == Core::HID::NpadIdType::Handheld) { + jauto player1 = + m_system.HIDCore().GetEmulatedController(Core::HID::NpadIdType::Player1); + + if (controller->GetNpadStyleIndex() != Core::HID::NpadStyleIndex::Handheld) { + player1->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Handheld); + controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Handheld); + player1->Disconnect(); + } + } + + if (!controller->IsConnected()) { + controller->Connect(); + } + } + + void OnGamepadDisconnectEvent([[maybe_unused]] int index) { + jauto controller = m_system.HIDCore().GetEmulatedControllerByIndex(index); + controller->Disconnect(); + } + + SoftwareKeyboard::AndroidKeyboard* SoftwareKeyboard() { + return m_software_keyboard; + } + +private: + struct RomMetadata { + std::string title; + std::vector icon; + bool isHomebrew; + }; + + RomMetadata GetRomMetadata(const std::string& path) { + if (jauto search = m_rom_metadata_cache.find(path); search != m_rom_metadata_cache.end()) { + return search->second; + } + + return CacheRomMetadata(path); + } + + RomMetadata CacheRomMetadata(const std::string& path) { + jconst file = Core::GetGameFileFromPath(m_vfs, path); + jauto loader = Loader::GetLoader(EmulationSession::GetInstance().System(), file, 0, 0); + + RomMetadata entry; + loader->ReadTitle(entry.title); + loader->ReadIcon(entry.icon); + if (loader->GetFileType() == Loader::FileType::NRO) { + jauto loader_nro = dynamic_cast(loader.get()); + entry.isHomebrew = loader_nro->IsHomebrew(); + } else { + entry.isHomebrew = false; + } + + m_rom_metadata_cache[path] = entry; + + return entry; + } + +private: + static void LoadDiskCacheProgress(VideoCore::LoadCallbackStage stage, int progress, int max) { + JNIEnv* env = IDCache::GetEnvForThread(); + env->CallStaticVoidMethod(IDCache::GetDiskCacheProgressClass(), + IDCache::GetDiskCacheLoadProgress(), static_cast(stage), + static_cast(progress), static_cast(max)); + } + +private: + static EmulationSession s_instance; + + // Frontend management + std::unordered_map m_rom_metadata_cache; + + // Window management + std::unique_ptr m_window; + ANativeWindow* m_native_window{}; + + // Core emulation + Core::System m_system; + InputCommon::InputSubsystem m_input_subsystem; + Common::DetachedTasks m_detached_tasks; + Core::PerfStatsResults m_perf_stats{}; + std::shared_ptr m_vfs; + Core::SystemResultStatus m_load_result{Core::SystemResultStatus::ErrorNotInitialized}; + bool m_is_running{}; + bool m_is_paused{}; + SoftwareKeyboard::AndroidKeyboard* m_software_keyboard{}; + std::unique_ptr m_profile_manager; + + // GPU driver parameters + std::shared_ptr m_vulkan_library; + + // Synchronization + std::condition_variable_any m_cv; + mutable std::mutex m_perf_stats_mutex; + mutable std::mutex m_mutex; +}; + +/*static*/ EmulationSession EmulationSession::s_instance; + +} // Anonymous namespace + +static Core::SystemResultStatus RunEmulation(const std::string& filepath) { + Common::Log::Initialize(); + Common::Log::SetColorConsoleBackendEnabled(true); + Common::Log::Start(); + + MicroProfileOnThreadCreate("EmuThread"); + SCOPE_EXIT({ MicroProfileShutdown(); }); + + LOG_INFO(Frontend, "starting"); + + if (filepath.empty()) { + LOG_CRITICAL(Frontend, "failed to load: filepath empty!"); + return Core::SystemResultStatus::ErrorLoader; + } + + SCOPE_EXIT({ EmulationSession::GetInstance().ShutdownEmulation(); }); + + jconst result = EmulationSession::GetInstance().InitializeEmulation(filepath); + if (result != Core::SystemResultStatus::Success) { + return result; + } + + EmulationSession::GetInstance().RunEmulation(); + + return Core::SystemResultStatus::Success; +} + +extern "C" { + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_surfaceChanged(JNIEnv* env, jobject instance, + [[maybe_unused]] jobject surf) { + EmulationSession::GetInstance().SetNativeWindow(ANativeWindow_fromSurface(env, surf)); + EmulationSession::GetInstance().SurfaceChanged(); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_surfaceDestroyed(JNIEnv* env, jobject instance) { + ANativeWindow_release(EmulationSession::GetInstance().NativeWindow()); + EmulationSession::GetInstance().SetNativeWindow(nullptr); + EmulationSession::GetInstance().SurfaceChanged(); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_setAppDirectory(JNIEnv* env, jobject instance, + [[maybe_unused]] jstring j_directory) { + Common::FS::SetAppDirectory(GetJString(env, j_directory)); +} + +int Java_org_yuzu_yuzu_1emu_NativeLibrary_installFileToNand(JNIEnv* env, jobject instance, + [[maybe_unused]] jstring j_file) { + return EmulationSession::GetInstance().InstallFileToNand(GetJString(env, j_file)); +} + +void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeGpuDriver(JNIEnv* env, jclass clazz, + jstring hook_lib_dir, + jstring custom_driver_dir, + jstring custom_driver_name, + jstring file_redirect_dir) { + EmulationSession::GetInstance().InitializeGpuDriver( + GetJString(env, hook_lib_dir), GetJString(env, custom_driver_dir), + GetJString(env, custom_driver_name), GetJString(env, file_redirect_dir)); +} + +[[maybe_unused]] static bool CheckKgslPresent() { + constexpr auto KgslPath{"/dev/kgsl-3d0"}; + + return access(KgslPath, F_OK) == 0; +} + +[[maybe_unused]] bool SupportsCustomDriver() { + return android_get_device_api_level() >= 28 && CheckKgslPresent(); +} + +jboolean JNICALL Java_org_yuzu_yuzu_1emu_utils_GpuDriverHelper_supportsCustomDriverLoading( + JNIEnv* env, jobject instance) { +#ifdef ARCHITECTURE_arm64 + // If the KGSL device exists custom drivers can be loaded using adrenotools + return SupportsCustomDriver(); +#else + return false; +#endif +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_reloadKeys(JNIEnv* env, jclass clazz) { + Core::Crypto::KeyManager::Instance().ReloadKeys(); + return static_cast(Core::Crypto::KeyManager::Instance().AreKeysLoaded()); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_unpauseEmulation(JNIEnv* env, jclass clazz) { + EmulationSession::GetInstance().UnPauseEmulation(); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_pauseEmulation(JNIEnv* env, jclass clazz) { + EmulationSession::GetInstance().PauseEmulation(); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_stopEmulation(JNIEnv* env, jclass clazz) { + EmulationSession::GetInstance().HaltEmulation(); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_resetRomMetadata(JNIEnv* env, jclass clazz) { + EmulationSession::GetInstance().ResetRomMetadata(); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isRunning(JNIEnv* env, jclass clazz) { + return static_cast(EmulationSession::GetInstance().IsRunning()); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isPaused(JNIEnv* env, jclass clazz) { + return static_cast(EmulationSession::GetInstance().IsPaused()); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_muteAduio(JNIEnv* env, jclass clazz) { + Settings::values.audio_muted = true; +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_unmuteAudio(JNIEnv* env, jclass clazz) { + Settings::values.audio_muted = false; +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isMuted(JNIEnv* env, jclass clazz) { + return static_cast(Settings::values.audio_muted.GetValue()); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isHandheldOnly(JNIEnv* env, jclass clazz) { + return EmulationSession::GetInstance().IsHandheldOnly(); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_setDeviceType(JNIEnv* env, jclass clazz, + jint j_device, jint j_type) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().SetDeviceType(j_device, j_type); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadConnectEvent(JNIEnv* env, jclass clazz, + jint j_device) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().OnGamepadConnectEvent(j_device); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadDisconnectEvent(JNIEnv* env, jclass clazz, + jint j_device) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().OnGamepadDisconnectEvent(j_device); + } + return static_cast(true); +} +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadButtonEvent(JNIEnv* env, jclass clazz, + jint j_device, jint j_button, + jint action) { + if (EmulationSession::GetInstance().IsRunning()) { + // Ensure gamepad is connected + EmulationSession::GetInstance().OnGamepadConnectEvent(j_device); + EmulationSession::GetInstance().Window().OnGamepadButtonEvent(j_device, j_button, + action != 0); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadJoystickEvent(JNIEnv* env, jclass clazz, + jint j_device, jint stick_id, + jfloat x, jfloat y) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnGamepadJoystickEvent(j_device, stick_id, x, y); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onGamePadMotionEvent( + JNIEnv* env, jclass clazz, jint j_device, jlong delta_timestamp, jfloat gyro_x, jfloat gyro_y, + jfloat gyro_z, jfloat accel_x, jfloat accel_y, jfloat accel_z) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnGamepadMotionEvent( + j_device, delta_timestamp, gyro_x, gyro_y, gyro_z, accel_x, accel_y, accel_z); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onReadNfcTag(JNIEnv* env, jclass clazz, + jbyteArray j_data) { + jboolean isCopy{false}; + std::span data(reinterpret_cast(env->GetByteArrayElements(j_data, &isCopy)), + static_cast(env->GetArrayLength(j_data))); + + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnReadNfcTag(data); + } + return static_cast(true); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_onRemoveNfcTag(JNIEnv* env, jclass clazz) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnRemoveNfcTag(); + } + return static_cast(true); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchPressed(JNIEnv* env, jclass clazz, jint id, + jfloat x, jfloat y) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnTouchPressed(id, x, y); + } +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchMoved(JNIEnv* env, jclass clazz, jint id, + jfloat x, jfloat y) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnTouchMoved(id, x, y); + } +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_onTouchReleased(JNIEnv* env, jclass clazz, jint id) { + if (EmulationSession::GetInstance().IsRunning()) { + EmulationSession::GetInstance().Window().OnTouchReleased(id); + } +} + +jbyteArray Java_org_yuzu_yuzu_1emu_NativeLibrary_getIcon(JNIEnv* env, jclass clazz, + jstring j_filename) { + jauto icon_data = EmulationSession::GetInstance().GetRomIcon(GetJString(env, j_filename)); + jbyteArray icon = env->NewByteArray(static_cast(icon_data.size())); + env->SetByteArrayRegion(icon, 0, env->GetArrayLength(icon), + reinterpret_cast(icon_data.data())); + return icon; +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getTitle(JNIEnv* env, jclass clazz, + jstring j_filename) { + jauto title = EmulationSession::GetInstance().GetRomTitle(GetJString(env, j_filename)); + return env->NewStringUTF(title.c_str()); +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getDescription(JNIEnv* env, jclass clazz, + jstring j_filename) { + return j_filename; +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getGameId(JNIEnv* env, jclass clazz, + jstring j_filename) { + return j_filename; +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getRegions(JNIEnv* env, jclass clazz, + jstring j_filename) { + return env->NewStringUTF(""); +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getCompany(JNIEnv* env, jclass clazz, + jstring j_filename) { + return env->NewStringUTF(""); +} + +jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isHomebrew(JNIEnv* env, jclass clazz, + jstring j_filename) { + return EmulationSession::GetInstance().GetIsHomebrew(GetJString(env, j_filename)); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeEmulation(JNIEnv* env, jclass clazz) { + // Create the default config.ini. + Config{}; + // Initialize the emulated system. + EmulationSession::GetInstance().System().Initialize(); +} + +jint Java_org_yuzu_yuzu_1emu_NativeLibrary_defaultCPUCore(JNIEnv* env, jclass clazz) { + return {}; +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_run__Ljava_lang_String_2Ljava_lang_String_2Z( + JNIEnv* env, jclass clazz, jstring j_file, jstring j_savestate, jboolean j_delete_savestate) {} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_reloadSettings(JNIEnv* env, jclass clazz) { + Config{}; +} + +jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getUserSetting(JNIEnv* env, jclass clazz, + jstring j_game_id, jstring j_section, + jstring j_key) { + std::string_view game_id = env->GetStringUTFChars(j_game_id, 0); + std::string_view section = env->GetStringUTFChars(j_section, 0); + std::string_view key = env->GetStringUTFChars(j_key, 0); + + env->ReleaseStringUTFChars(j_game_id, game_id.data()); + env->ReleaseStringUTFChars(j_section, section.data()); + env->ReleaseStringUTFChars(j_key, key.data()); + + return env->NewStringUTF(""); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_setUserSetting(JNIEnv* env, jclass clazz, + jstring j_game_id, jstring j_section, + jstring j_key, jstring j_value) { + std::string_view game_id = env->GetStringUTFChars(j_game_id, 0); + std::string_view section = env->GetStringUTFChars(j_section, 0); + std::string_view key = env->GetStringUTFChars(j_key, 0); + std::string_view value = env->GetStringUTFChars(j_value, 0); + + env->ReleaseStringUTFChars(j_game_id, game_id.data()); + env->ReleaseStringUTFChars(j_section, section.data()); + env->ReleaseStringUTFChars(j_key, key.data()); + env->ReleaseStringUTFChars(j_value, value.data()); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_initGameIni(JNIEnv* env, jclass clazz, + jstring j_game_id) { + std::string_view game_id = env->GetStringUTFChars(j_game_id, 0); + + env->ReleaseStringUTFChars(j_game_id, game_id.data()); +} + +jdoubleArray Java_org_yuzu_yuzu_1emu_NativeLibrary_getPerfStats(JNIEnv* env, jclass clazz) { + jdoubleArray j_stats = env->NewDoubleArray(4); + + if (EmulationSession::GetInstance().IsRunning()) { + jconst results = EmulationSession::GetInstance().PerfStats(); + + // Converting the structure into an array makes it easier to pass it to the frontend + double stats[4] = {results.system_fps, results.average_game_fps, results.frametime, + results.emulation_speed}; + + env->SetDoubleArrayRegion(j_stats, 0, 4, stats); + } + + return j_stats; +} + +void Java_org_yuzu_yuzu_1emu_utils_DirectoryInitialization_setSysDirectory(JNIEnv* env, + jclass clazz, + jstring j_path) {} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_run__Ljava_lang_String_2(JNIEnv* env, jclass clazz, + jstring j_path) { + const std::string path = GetJString(env, j_path); + + const Core::SystemResultStatus result{RunEmulation(path)}; + if (result != Core::SystemResultStatus::Success) { + env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), + IDCache::GetExitEmulationActivity(), static_cast(result)); + } +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_logDeviceInfo(JNIEnv* env, jclass clazz) { + LOG_INFO(Frontend, "yuzu Version: {}-{}", Common::g_scm_branch, Common::g_scm_desc); + LOG_INFO(Frontend, "Host OS: Android API level {}", android_get_device_api_level()); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_submitInlineKeyboardText(JNIEnv* env, jclass clazz, + jstring j_text) { + const std::u16string input = Common::UTF8ToUTF16(GetJString(env, j_text)); + EmulationSession::GetInstance().SoftwareKeyboard()->SubmitInlineKeyboardText(input); +} + +void Java_org_yuzu_yuzu_1emu_NativeLibrary_submitInlineKeyboardInput(JNIEnv* env, jclass clazz, + jint j_key_code) { + EmulationSession::GetInstance().SoftwareKeyboard()->SubmitInlineKeyboardInput(j_key_code); +} + +} // extern "C" diff --git a/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml b/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml new file mode 100644 index 000000000..9f49c133a --- /dev/null +++ b/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml b/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml new file mode 100644 index 000000000..82fd719db --- /dev/null +++ b/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml b/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml new file mode 100644 index 000000000..5892128f1 --- /dev/null +++ b/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml b/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml new file mode 100644 index 000000000..98e0cf8bd --- /dev/null +++ b/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml b/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml new file mode 100644 index 000000000..77a40a4d1 --- /dev/null +++ b/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml b/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml new file mode 100644 index 000000000..4612aee13 --- /dev/null +++ b/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml @@ -0,0 +1,20 @@ + + + + + + + + \ No newline at end of file diff --git a/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml b/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml new file mode 100644 index 000000000..c00478946 --- /dev/null +++ b/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml @@ -0,0 +1,21 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png new file mode 100644 index 000000000..66ebfa85c Binary files /dev/null and b/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png differ diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png new file mode 100644 index 000000000..71068f452 Binary files /dev/null and b/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png differ diff --git a/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png b/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png new file mode 100644 index 000000000..20c770591 Binary files /dev/null and b/src/android/app/src/main/res/drawable-xhdpi/tv_banner.png differ diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png new file mode 100644 index 000000000..d73fad15b Binary files /dev/null and b/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png differ diff --git a/src/android/app/src/main/res/drawable/default_icon.jpg b/src/android/app/src/main/res/drawable/default_icon.jpg new file mode 100644 index 000000000..859caf4af Binary files /dev/null and b/src/android/app/src/main/res/drawable/default_icon.jpg differ diff --git a/src/android/app/src/main/res/drawable/dpad_standard.xml b/src/android/app/src/main/res/drawable/dpad_standard.xml new file mode 100644 index 000000000..28aba657e --- /dev/null +++ b/src/android/app/src/main/res/drawable/dpad_standard.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/dpad_standard_cardinal_depressed.xml b/src/android/app/src/main/res/drawable/dpad_standard_cardinal_depressed.xml new file mode 100644 index 000000000..5eeb51dbe --- /dev/null +++ b/src/android/app/src/main/res/drawable/dpad_standard_cardinal_depressed.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/dpad_standard_diagonal_depressed.xml b/src/android/app/src/main/res/drawable/dpad_standard_diagonal_depressed.xml new file mode 100644 index 000000000..520fd447c --- /dev/null +++ b/src/android/app/src/main/res/drawable/dpad_standard_diagonal_depressed.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_a.xml b/src/android/app/src/main/res/drawable/facebutton_a.xml new file mode 100644 index 000000000..668652edb --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_a.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_a_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_a_depressed.xml new file mode 100644 index 000000000..4fbe06962 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_a_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_b.xml b/src/android/app/src/main/res/drawable/facebutton_b.xml new file mode 100644 index 000000000..8912219ca --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_b.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_b_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_b_depressed.xml new file mode 100644 index 000000000..012abeaf1 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_b_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_home.xml b/src/android/app/src/main/res/drawable/facebutton_home.xml new file mode 100644 index 000000000..03596ec2e --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_home.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_home_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_home_depressed.xml new file mode 100644 index 000000000..cde7c6a9e --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_home_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_minus.xml b/src/android/app/src/main/res/drawable/facebutton_minus.xml new file mode 100644 index 000000000..4296b4fcc --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_minus.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_minus_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_minus_depressed.xml new file mode 100644 index 000000000..628027841 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_minus_depressed.xml @@ -0,0 +1,9 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_plus.xml b/src/android/app/src/main/res/drawable/facebutton_plus.xml new file mode 100644 index 000000000..43ae14365 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_plus.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_plus_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_plus_depressed.xml new file mode 100644 index 000000000..c510e136e --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_plus_depressed.xml @@ -0,0 +1,9 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_screenshot.xml b/src/android/app/src/main/res/drawable/facebutton_screenshot.xml new file mode 100644 index 000000000..984b4fd02 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_screenshot.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_screenshot_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_screenshot_depressed.xml new file mode 100644 index 000000000..fd2e44294 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_screenshot_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_x.xml b/src/android/app/src/main/res/drawable/facebutton_x.xml new file mode 100644 index 000000000..43fdd14c4 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_x.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_x_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_x_depressed.xml new file mode 100644 index 000000000..a9ba49169 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_x_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_y.xml b/src/android/app/src/main/res/drawable/facebutton_y.xml new file mode 100644 index 000000000..980be3b2e --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_y.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/facebutton_y_depressed.xml b/src/android/app/src/main/res/drawable/facebutton_y_depressed.xml new file mode 100644 index 000000000..320d63897 --- /dev/null +++ b/src/android/app/src/main/res/drawable/facebutton_y_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/ic_add.xml b/src/android/app/src/main/res/drawable/ic_add.xml new file mode 100644 index 000000000..f7deb2532 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_add.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_arrow_forward.xml b/src/android/app/src/main/res/drawable/ic_arrow_forward.xml new file mode 100644 index 000000000..3b85a3e2c --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_arrow_forward.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_back.xml b/src/android/app/src/main/res/drawable/ic_back.xml new file mode 100644 index 000000000..f99fea719 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_back.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_cartridge.xml b/src/android/app/src/main/res/drawable/ic_cartridge.xml new file mode 100644 index 000000000..b332d9c0a --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_cartridge.xml @@ -0,0 +1,12 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/ic_cartridge_outline.xml b/src/android/app/src/main/res/drawable/ic_cartridge_outline.xml new file mode 100644 index 000000000..cc35d7eff --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_cartridge_outline.xml @@ -0,0 +1,12 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/ic_check.xml b/src/android/app/src/main/res/drawable/ic_check.xml new file mode 100644 index 000000000..04b89abf2 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_check.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_check_circle.xml b/src/android/app/src/main/res/drawable/ic_check_circle.xml new file mode 100644 index 000000000..49e6ecd71 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_check_circle.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_clear.xml b/src/android/app/src/main/res/drawable/ic_clear.xml new file mode 100644 index 000000000..b6edb1d32 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_clear.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_controller.xml b/src/android/app/src/main/res/drawable/ic_controller.xml new file mode 100644 index 000000000..060cd9ae2 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_controller.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_diamond.xml b/src/android/app/src/main/res/drawable/ic_diamond.xml new file mode 100644 index 000000000..3896e12e4 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_diamond.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_discord.xml b/src/android/app/src/main/res/drawable/ic_discord.xml new file mode 100644 index 000000000..7a9c6ba79 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_discord.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_exit.xml b/src/android/app/src/main/res/drawable/ic_exit.xml new file mode 100644 index 000000000..a55a1d387 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_exit.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_firmware.xml b/src/android/app/src/main/res/drawable/ic_firmware.xml new file mode 100644 index 000000000..61f3485e4 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_firmware.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_folder_open.xml b/src/android/app/src/main/res/drawable/ic_folder_open.xml new file mode 100644 index 000000000..7958fdaec --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_folder_open.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_github.xml b/src/android/app/src/main/res/drawable/ic_github.xml new file mode 100644 index 000000000..c2ee43803 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_github.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_icon_bg.xml b/src/android/app/src/main/res/drawable/ic_icon_bg.xml new file mode 100644 index 000000000..df62dde92 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_icon_bg.xml @@ -0,0 +1,751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/ic_info_outline.xml b/src/android/app/src/main/res/drawable/ic_info_outline.xml new file mode 100644 index 000000000..92ae0eeaf --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_info_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_install.xml b/src/android/app/src/main/res/drawable/ic_install.xml new file mode 100644 index 000000000..01f2de3da --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_install.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_key.xml b/src/android/app/src/main/res/drawable/ic_key.xml new file mode 100644 index 000000000..a3943634f --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_key.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_launcher.xml b/src/android/app/src/main/res/drawable/ic_launcher.xml new file mode 100644 index 000000000..3bb60fdfb --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/android/app/src/main/res/drawable/ic_log.xml b/src/android/app/src/main/res/drawable/ic_log.xml new file mode 100644 index 000000000..f55b9ad85 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_log.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_nfc.xml b/src/android/app/src/main/res/drawable/ic_nfc.xml new file mode 100644 index 000000000..3dacf798b --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_nfc.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_notification.xml b/src/android/app/src/main/res/drawable/ic_notification.xml new file mode 100644 index 000000000..b413f7585 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_notification.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_options.xml b/src/android/app/src/main/res/drawable/ic_options.xml new file mode 100644 index 000000000..91d52f1b8 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_options.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_palette.xml b/src/android/app/src/main/res/drawable/ic_palette.xml new file mode 100644 index 000000000..43daec1ff --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_palette.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_pause.xml b/src/android/app/src/main/res/drawable/ic_pause.xml new file mode 100644 index 000000000..adb3ababc --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_pause.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_pip_mute.xml b/src/android/app/src/main/res/drawable/ic_pip_mute.xml new file mode 100644 index 000000000..a271c5fe8 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_pip_mute.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_pip_pause.xml b/src/android/app/src/main/res/drawable/ic_pip_pause.xml new file mode 100644 index 000000000..4a7d4ea03 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_pip_pause.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_pip_play.xml b/src/android/app/src/main/res/drawable/ic_pip_play.xml new file mode 100644 index 000000000..2303a4623 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_pip_play.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_pip_unmute.xml b/src/android/app/src/main/res/drawable/ic_pip_unmute.xml new file mode 100644 index 000000000..f7ed0862e --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_pip_unmute.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_play.xml b/src/android/app/src/main/res/drawable/ic_play.xml new file mode 100644 index 000000000..7f01dc599 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_play.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_save.xml b/src/android/app/src/main/res/drawable/ic_save.xml new file mode 100644 index 000000000..a9af3d9cf --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_save.xml @@ -0,0 +1,10 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_search.xml b/src/android/app/src/main/res/drawable/ic_search.xml new file mode 100644 index 000000000..bb0726851 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_search.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_settings.xml b/src/android/app/src/main/res/drawable/ic_settings.xml new file mode 100644 index 000000000..e527f85fc --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_settings.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_settings_outline.xml b/src/android/app/src/main/res/drawable/ic_settings_outline.xml new file mode 100644 index 000000000..13b2745bf --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_settings_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_system_update_alt.xml b/src/android/app/src/main/res/drawable/ic_system_update_alt.xml new file mode 100644 index 000000000..0f6adfdb8 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_system_update_alt.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_unlock.xml b/src/android/app/src/main/res/drawable/ic_unlock.xml new file mode 100644 index 000000000..40952cbc5 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_unlock.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_website.xml b/src/android/app/src/main/res/drawable/ic_website.xml new file mode 100644 index 000000000..f35b84a7c --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_website.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/drawable/ic_yuzu.xml b/src/android/app/src/main/res/drawable/ic_yuzu.xml new file mode 100644 index 000000000..5e2a8efd0 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_yuzu.xml @@ -0,0 +1,22 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/ic_yuzu_full.xml b/src/android/app/src/main/res/drawable/ic_yuzu_full.xml new file mode 100644 index 000000000..04e458400 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_yuzu_full.xml @@ -0,0 +1,12 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/ic_yuzu_title.xml b/src/android/app/src/main/res/drawable/ic_yuzu_title.xml new file mode 100644 index 000000000..b733e5248 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_yuzu_title.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/joystick.xml b/src/android/app/src/main/res/drawable/joystick.xml new file mode 100644 index 000000000..bdd071212 --- /dev/null +++ b/src/android/app/src/main/res/drawable/joystick.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/joystick_depressed.xml b/src/android/app/src/main/res/drawable/joystick_depressed.xml new file mode 100644 index 000000000..ad51d73ce --- /dev/null +++ b/src/android/app/src/main/res/drawable/joystick_depressed.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/src/android/app/src/main/res/drawable/joystick_range.xml b/src/android/app/src/main/res/drawable/joystick_range.xml new file mode 100644 index 000000000..f6282b5c8 --- /dev/null +++ b/src/android/app/src/main/res/drawable/joystick_range.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/l_shoulder.xml b/src/android/app/src/main/res/drawable/l_shoulder.xml new file mode 100644 index 000000000..28f9a9950 --- /dev/null +++ b/src/android/app/src/main/res/drawable/l_shoulder.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/l_shoulder_depressed.xml b/src/android/app/src/main/res/drawable/l_shoulder_depressed.xml new file mode 100644 index 000000000..2f9a1fd7e --- /dev/null +++ b/src/android/app/src/main/res/drawable/l_shoulder_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/premium_background.xml b/src/android/app/src/main/res/drawable/premium_background.xml new file mode 100644 index 000000000..c9c41ddbe --- /dev/null +++ b/src/android/app/src/main/res/drawable/premium_background.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/src/android/app/src/main/res/drawable/r_shoulder.xml b/src/android/app/src/main/res/drawable/r_shoulder.xml new file mode 100644 index 000000000..97731cad2 --- /dev/null +++ b/src/android/app/src/main/res/drawable/r_shoulder.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/r_shoulder_depressed.xml b/src/android/app/src/main/res/drawable/r_shoulder_depressed.xml new file mode 100644 index 000000000..e3aa46aa1 --- /dev/null +++ b/src/android/app/src/main/res/drawable/r_shoulder_depressed.xml @@ -0,0 +1,8 @@ + + + + diff --git a/src/android/app/src/main/res/drawable/selector_cartridge.xml b/src/android/app/src/main/res/drawable/selector_cartridge.xml new file mode 100644 index 000000000..85c918dae --- /dev/null +++ b/src/android/app/src/main/res/drawable/selector_cartridge.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/android/app/src/main/res/drawable/selector_settings.xml b/src/android/app/src/main/res/drawable/selector_settings.xml new file mode 100644 index 000000000..23748feb0 --- /dev/null +++ b/src/android/app/src/main/res/drawable/selector_settings.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/android/app/src/main/res/drawable/zl_trigger.xml b/src/android/app/src/main/res/drawable/zl_trigger.xml new file mode 100644 index 000000000..436461c3b --- /dev/null +++ b/src/android/app/src/main/res/drawable/zl_trigger.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/zl_trigger_depressed.xml b/src/android/app/src/main/res/drawable/zl_trigger_depressed.xml new file mode 100644 index 000000000..00393c04d --- /dev/null +++ b/src/android/app/src/main/res/drawable/zl_trigger_depressed.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/src/android/app/src/main/res/drawable/zr_trigger.xml b/src/android/app/src/main/res/drawable/zr_trigger.xml new file mode 100644 index 000000000..2b3a92184 --- /dev/null +++ b/src/android/app/src/main/res/drawable/zr_trigger.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/zr_trigger_depressed.xml b/src/android/app/src/main/res/drawable/zr_trigger_depressed.xml new file mode 100644 index 000000000..8a9ee5036 --- /dev/null +++ b/src/android/app/src/main/res/drawable/zr_trigger_depressed.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/src/android/app/src/main/res/layout-w600dp/activity_main.xml b/src/android/app/src/main/res/layout-w600dp/activity_main.xml new file mode 100644 index 000000000..74bee872e --- /dev/null +++ b/src/android/app/src/main/res/layout-w600dp/activity_main.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml b/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml new file mode 100644 index 000000000..cbe631d88 --- /dev/null +++ b/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml @@ -0,0 +1,40 @@ + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout-w600dp/page_setup.xml b/src/android/app/src/main/res/layout-w600dp/page_setup.xml new file mode 100644 index 000000000..e1c26b2f8 --- /dev/null +++ b/src/android/app/src/main/res/layout-w600dp/page_setup.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/activity_emulation.xml b/src/android/app/src/main/res/layout/activity_emulation.xml new file mode 100644 index 000000000..139065d3d --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_emulation.xml @@ -0,0 +1,9 @@ + diff --git a/src/android/app/src/main/res/layout/activity_main.xml b/src/android/app/src/main/res/layout/activity_main.xml new file mode 100644 index 000000000..ad426457f --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/activity_settings.xml b/src/android/app/src/main/res/layout/activity_settings.xml new file mode 100644 index 000000000..14ae83b04 --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_settings.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml new file mode 100644 index 000000000..1f5de219b --- /dev/null +++ b/src/android/app/src/main/res/layout/card_game.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml new file mode 100644 index 000000000..dc289db17 --- /dev/null +++ b/src/android/app/src/main/res/layout/card_home_option.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/dialog_edit_text.xml b/src/android/app/src/main/res/layout/dialog_edit_text.xml new file mode 100644 index 000000000..58b905d71 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_edit_text.xml @@ -0,0 +1,23 @@ + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/dialog_license.xml b/src/android/app/src/main/res/layout/dialog_license.xml new file mode 100644 index 000000000..866857562 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_license.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/dialog_overlay_adjust.xml b/src/android/app/src/main/res/layout/dialog_overlay_adjust.xml new file mode 100644 index 000000000..59bb983e1 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_overlay_adjust.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/dialog_progress_bar.xml b/src/android/app/src/main/res/layout/dialog_progress_bar.xml new file mode 100644 index 000000000..d17711a65 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_progress_bar.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/src/android/app/src/main/res/layout/dialog_slider.xml b/src/android/app/src/main/res/layout/dialog_slider.xml new file mode 100644 index 000000000..8c84cb606 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_slider.xml @@ -0,0 +1,37 @@ + + + + + + + + + + diff --git a/src/android/app/src/main/res/layout/fragment_about.xml b/src/android/app/src/main/res/layout/fragment_about.xml new file mode 100644 index 000000000..3e1d98451 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_about.xml @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +