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..e5d83d4b9 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 @@ -34,7 +35,7 @@ DESTDIR="$PWD/AppDir" ninja install rm -vf AppDir/usr/bin/yuzu-cmd AppDir/usr/bin/yuzu-tester # Download tools needed to build an AppImage -wget -nc https://raw.githubusercontent.com/yuzu-emu/ext-linux-bin/main/gcc/deploy-linux.sh +wget -nc https://raw.githubusercontent.com/yuzu-emu/ext-linux-bin/main/appimage/deploy-linux.sh wget -nc https://raw.githubusercontent.com/yuzu-emu/AppImageKit-checkrt/old/AppRun.sh wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so # Set executable bit diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh index 0be3613aa..45f75c874 100755 --- a/.ci/scripts/windows/docker.sh +++ b/.ci/scripts/windows/docker.sh @@ -56,7 +56,6 @@ for i in package/*.exe; do x86_64-w64-mingw32-strip "${i}" done -pip3 install pefile python3 .ci/scripts/windows/scan_dll.py package/*.exe package/imageformats/*.dll "package/" # copy FFmpeg libraries diff --git a/.ci/scripts/windows/install-vulkan-sdk.ps1 b/.ci/scripts/windows/install-vulkan-sdk.ps1 new file mode 100644 index 000000000..de218d90a --- /dev/null +++ b/.ci/scripts/windows/install-vulkan-sdk.ps1 @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +$ErrorActionPreference = "Stop" + +$VulkanSDKVer = "1.3.250.1" +$ExeFile = "VulkanSDK-$VulkanSDKVer-Installer.exe" +$Uri = "https://sdk.lunarg.com/sdk/download/$VulkanSDKVer/windows/$ExeFile" +$Destination = "./$ExeFile" + +echo "Downloading Vulkan SDK $VulkanSDKVer from $Uri" +$WebClient = New-Object System.Net.WebClient +$WebClient.DownloadFile($Uri, $Destination) +echo "Finished downloading $ExeFile" + +$VULKAN_SDK = "C:/VulkanSDK/$VulkanSDKVer" +$Arguments = "--root `"$VULKAN_SDK`" --accept-licenses --default-answer --confirm-command install" + +echo "Installing Vulkan SDK $VulkanSDKVer" +$InstallProcess = Start-Process -FilePath $Destination -NoNewWindow -PassThru -Wait -ArgumentList $Arguments +$ExitCode = $InstallProcess.ExitCode + +if ($ExitCode -ne 0) { + echo "Error installing Vulkan SDK $VulkanSDKVer (Error: $ExitCode)" + Exit $ExitCode +} + +echo "Finished installing Vulkan SDK $VulkanSDKVer" + +if ("$env:GITHUB_ACTIONS" -eq "true") { + echo "VULKAN_SDK=$VULKAN_SDK" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "$VULKAN_SDK/Bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append +} 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..1e259df05 100644 --- a/.ci/templates/build-msvc.yml +++ b/.ci/templates/build-msvc.yml @@ -7,9 +7,12 @@ parameters: version: '' 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 .. +- task: Powershell@2 + displayName: 'Install Vulkan SDK' + inputs: + targetType: 'filePath' + filePath: './.ci/scripts/windows/install-vulkan-sdk.ps1' +- script: refreshenv && glslangValidator --version && mkdir build && cd build && cmake -E env CXXFLAGS="/Gw" 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..944194a25 --- /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,canonicalizations,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/android-build.yml b/.github/workflows/android-build.yml new file mode 100644 index 000000000..5893f860e --- /dev/null +++ b/.github/workflows/android-build.yml @@ -0,0 +1,80 @@ +# SPDX-FileCopyrightText: 2022 yuzu Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + +name: 'yuzu-android-build' + +on: + push: + tags: [ "*" ] + +jobs: + android: + runs-on: ubuntu-latest + if: ${{ github.repository == 'yuzu-emu/yuzu-android' }} + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + fetch-depth: 0 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - 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 + - 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/ + # release steps + release-android: + runs-on: ubuntu-latest + needs: [android] + if: ${{ startsWith(github.ref, 'refs/tags/') }} + permissions: + contents: write + steps: + - uses: actions/download-artifact@v3 + - name: Query tag name + uses: olegtarasov/get-tag@v2.1.2 + id: tagName + - name: Create release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.tagName.outputs.tag }} + release_name: ${{ steps.tagName.outputs.tag }} + draft: false + prerelease: false + - name: Upload artifacts + uses: alexellis/upload-assets@0.2.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + asset_paths: '["./**/*.apk","./**/*.aab"]' diff --git a/.github/workflows/android-merge.js b/.github/workflows/android-merge.js new file mode 100644 index 000000000..7e02dc9e5 --- /dev/null +++ b/.github/workflows/android-merge.js @@ -0,0 +1,218 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +// Note: This is a GitHub Actions script +// It is not meant to be executed directly on your machine without modifications + +const fs = require("fs"); +// which label to check for changes +const CHANGE_LABEL = 'android-merge'; +// how far back in time should we consider the changes are "recent"? (default: 24 hours) +const DETECTION_TIME_FRAME = (parseInt(process.env.DETECTION_TIME_FRAME)) || (24 * 3600 * 1000); + +async function checkBaseChanges(github, context) { + // query the commit date of the latest commit on this branch + const query = `query($owner:String!, $name:String!, $ref:String!) { + repository(name:$name, owner:$owner) { + ref(qualifiedName:$ref) { + target { + ... on Commit { id pushedDate oid } + } + } + } + }`; + const variables = { + owner: context.repo.owner, + name: context.repo.repo, + ref: 'refs/heads/master', + }; + const result = await github.graphql(query, variables); + const pushedAt = result.repository.ref.target.pushedDate; + console.log(`Last commit pushed at ${pushedAt}.`); + const delta = new Date() - new Date(pushedAt); + if (delta <= DETECTION_TIME_FRAME) { + console.info('New changes detected, triggering a new build.'); + return true; + } + console.info('No new changes detected.'); + return false; +} + +async function checkAndroidChanges(github, context) { + if (checkBaseChanges(github, context)) return true; + const query = `query($owner:String!, $name:String!, $label:String!) { + repository(name:$name, owner:$owner) { + pullRequests(labels: [$label], states: OPEN, first: 100) { + nodes { number headRepository { pushedAt } } + } + } + }`; + const variables = { + owner: context.repo.owner, + name: context.repo.repo, + label: CHANGE_LABEL, + }; + const result = await github.graphql(query, variables); + const pulls = result.repository.pullRequests.nodes; + for (let i = 0; i < pulls.length; i++) { + let pull = pulls[i]; + if (new Date() - new Date(pull.headRepository.pushedAt) <= DETECTION_TIME_FRAME) { + console.info(`${pull.number} updated at ${pull.headRepository.pushedAt}`); + return true; + } + } + console.info("No changes detected in any tagged pull requests."); + return false; +} + +async function tagAndPush(github, owner, repo, execa, commit=false) { + let altToken = process.env.ALT_GITHUB_TOKEN; + if (!altToken) { + throw `Please set ALT_GITHUB_TOKEN environment variable. This token should have write access to ${owner}/${repo}.`; + } + const query = `query ($owner:String!, $name:String!) { + repository(name:$name, owner:$owner) { + refs(refPrefix: "refs/tags/", orderBy: {field: TAG_COMMIT_DATE, direction: DESC}, first: 10) { + nodes { name } + } + } + }`; + const variables = { + owner: owner, + name: repo, + }; + const tags = await github.graphql(query, variables); + const tagList = tags.repository.refs.nodes; + const lastTag = tagList[0] ? tagList[0].name : 'dummy-0'; + const tagNumber = /\w+-(\d+)/.exec(lastTag)[1] | 0; + const channel = repo.split('-')[1]; + const newTag = `${channel}-${tagNumber + 1}`; + console.log(`New tag: ${newTag}`); + if (commit) { + let channelName = channel[0].toUpperCase() + channel.slice(1); + console.info(`Committing pending commit as ${channelName} #${tagNumber + 1}`); + await execa("git", ['commit', '-m', `${channelName} #${tagNumber + 1}`]); + } + console.info('Pushing tags to GitHub ...'); + await execa("git", ['tag', newTag]); + await execa("git", ['remote', 'add', 'target', `https://${altToken}@github.com/${owner}/${repo}.git`]); + await execa("git", ['push', 'target', 'master', '-f']); + await execa("git", ['push', 'target', 'master', '--tags']); + console.info('Successfully pushed new changes.'); +} + +async function generateReadme(pulls, context, mergeResults, execa) { + let baseUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/`; + let output = + "| Pull Request | Commit | Title | Author | Merged? |\n|----|----|----|----|----|\n"; + for (let pull of pulls) { + let pr = pull.number; + let result = mergeResults[pr]; + output += `| [${pr}](${baseUrl}/pull/${pr}) | [\`${result.rev || "N/A"}\`](${baseUrl}/pull/${pr}/files) | ${pull.title} | [${pull.author.login}](https://github.com/${pull.author.login}/) | ${result.success ? "Yes" : "No"} |\n`; + } + output += + "\n\nEnd of merge log. You can find the original README.md below the break.\n\n-----\n\n"; + output += fs.readFileSync("./README.md"); + fs.writeFileSync("./README.md", output); + await execa("git", ["add", "README.md"]); +} + +async function fetchPullRequests(pulls, repoUrl, execa) { + console.log("::group::Fetch pull requests"); + for (let pull of pulls) { + let pr = pull.number; + console.info(`Fetching PR ${pr} ...`); + await execa("git", [ + "fetch", + "-f", + "--no-recurse-submodules", + repoUrl, + `pull/${pr}/head:pr-${pr}`, + ]); + } + console.log("::endgroup::"); +} + +async function mergePullRequests(pulls, execa) { + let mergeResults = {}; + console.log("::group::Merge pull requests"); + await execa("git", ["config", "--global", "user.name", "yuzubot"]); + await execa("git", [ + "config", + "--global", + "user.email", + "yuzu\x40yuzu-emu\x2eorg", // prevent email harvesters from scraping the address + ]); + let hasFailed = false; + for (let pull of pulls) { + let pr = pull.number; + console.info(`Merging PR ${pr} ...`); + try { + const process1 = execa("git", [ + "merge", + "--squash", + "--no-edit", + `pr-${pr}`, + ]); + process1.stdout.pipe(process.stdout); + await process1; + + const process2 = execa("git", ["commit", "-m", `Merge PR ${pr}`]); + process2.stdout.pipe(process.stdout); + await process2; + + const process3 = await execa("git", ["rev-parse", "--short", `pr-${pr}`]); + mergeResults[pr] = { + success: true, + rev: process3.stdout, + }; + } catch (err) { + console.log( + `::error title=#${pr} not merged::Failed to merge pull request: ${pr}: ${err}` + ); + mergeResults[pr] = { success: false }; + hasFailed = true; + await execa("git", ["reset", "--hard"]); + } + } + console.log("::endgroup::"); + if (hasFailed) { + throw 'There are merge failures. Aborting!'; + } + return mergeResults; +} + +async function mergebot(github, context, execa) { + const query = `query ($owner:String!, $name:String!, $label:String!) { + repository(name:$name, owner:$owner) { + pullRequests(labels: [$label], states: OPEN, first: 100) { + nodes { + number title author { login } + } + } + } + }`; + const variables = { + owner: context.repo.owner, + name: context.repo.repo, + label: CHANGE_LABEL, + }; + const result = await github.graphql(query, variables); + const pulls = result.repository.pullRequests.nodes; + let displayList = []; + for (let i = 0; i < pulls.length; i++) { + let pull = pulls[i]; + displayList.push({ PR: pull.number, Title: pull.title }); + } + console.info("The following pull requests will be merged:"); + console.table(displayList); + await fetchPullRequests(pulls, "https://github.com/yuzu-emu/yuzu", execa); + const mergeResults = await mergePullRequests(pulls, execa); + await generateReadme(pulls, context, mergeResults, execa); + await tagAndPush(github, context.repo.owner, `${context.repo.repo}-android`, execa, true); +} + +module.exports.mergebot = mergebot; +module.exports.checkAndroidChanges = checkAndroidChanges; +module.exports.tagAndPush = tagAndPush; +module.exports.checkBaseChanges = checkBaseChanges; diff --git a/.github/workflows/android-publish.yml b/.github/workflows/android-publish.yml new file mode 100644 index 000000000..8f46fcf74 --- /dev/null +++ b/.github/workflows/android-publish.yml @@ -0,0 +1,57 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +name: yuzu-android-publish + +on: + schedule: + - cron: '37 0 * * *' + workflow_dispatch: + inputs: + android: + description: 'Whether to trigger an Android build (true/false/auto)' + required: false + default: 'true' + +jobs: + android: + runs-on: ubuntu-latest + if: ${{ github.event.inputs.android != 'false' && github.repository == 'yuzu-emu/yuzu' }} + steps: + # this checkout is required to make sure the GitHub Actions scripts are available + - uses: actions/checkout@v3 + name: Pre-checkout + with: + submodules: false + - uses: actions/github-script@v6 + id: check-changes + name: 'Check for new changes' + env: + # 24 hours + DETECTION_TIME_FRAME: 86400000 + with: + script: | + if (context.payload.inputs && context.payload.inputs.android === 'true') return true; + const checkAndroidChanges = require('./.github/workflows/android-merge.js').checkAndroidChanges; + return checkAndroidChanges(github, context); + - run: npm install execa@5 + if: ${{ steps.check-changes.outputs.result == 'true' }} + - uses: actions/checkout@v3 + name: Checkout + if: ${{ steps.check-changes.outputs.result == 'true' }} + with: + path: 'yuzu-merge' + fetch-depth: 0 + submodules: true + token: ${{ secrets.ALT_GITHUB_TOKEN }} + - uses: actions/github-script@v5 + name: 'Check and merge Android changes' + if: ${{ steps.check-changes.outputs.result == 'true' }} + env: + ALT_GITHUB_TOKEN: ${{ secrets.ALT_GITHUB_TOKEN }} + with: + script: | + const execa = require("execa"); + const mergebot = require('./.github/workflows/android-merge.js').mergebot; + process.chdir('${{ github.workspace }}/yuzu-merge'); + mergebot(github, context, execa); 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..cbe6b0fbd 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -73,6 +73,10 @@ jobs: needs: format runs-on: windows-2022 steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + fetch-depth: 0 - name: Set up cache uses: actions/cache@v3 with: @@ -81,22 +85,22 @@ jobs: restore-keys: | ${{ runner.os }}-msvc- - name: Install dependencies - # due to how chocolatey works, only cmd.exe is supported here - shell: cmd + shell: pwsh run: | - choco install vulkan-sdk wget - call refreshenv - wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip - 7z x buildcache-windows.zip - copy buildcache\bin\buildcache.exe C:\ProgramData\chocolatey\bin - rmdir buildcache - echo %PATH% >> %GITHUB_PATH% + $ErrorActionPreference = "Stop" + $BuildCacheVer = "v0.28.4" + $File = "buildcache-windows.zip" + $Uri = "https://github.com/mbitsnbites/buildcache/releases/download/$BuildCacheVer/$File" + $WebClient = New-Object System.Net.WebClient + $WebClient.DownloadFile($Uri, $File) + 7z x $File + $CurrentDir = Convert-Path . + echo "$CurrentDir/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install Vulkan SDK + shell: pwsh + run: .\.ci\scripts\windows\install-vulkan-sdk.ps1 - name: Set up MSVC uses: ilammy/msvc-dev-cmd@v1 - - uses: actions/checkout@v3 - with: - submodules: recursive - fetch-depth: 0 - name: Configure env: CC: cl.exe @@ -122,3 +126,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 + fetch-depth: 0 + - name: set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - 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 + - 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..361f4845b 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/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..4039c680e 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,112 @@ 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) +CMAKE_DEPENDENT_OPTION(USE_SYSTEM_MOLTENVK "Use the system MoltenVK lib (instead of the bundled one)" OFF "APPLE" OFF) + +set(DEFAULT_ENABLE_OPENSSL ON) +if (ANDROID OR WIN32 OR APPLE) + # - Windows defaults to the Schannel backend. + # - macOS defaults to the SecureTransport backend. + # - Android currently has no SSL backend as the NDK doesn't include any SSL + # library; a proper 'native' backend would have to go through Java. + # But you can force builds for those platforms to use OpenSSL if you have + # your own copy of it. + set(DEFAULT_ENABLE_OPENSSL OFF) +endif() +option(ENABLE_OPENSSL "Enable OpenSSL backend for ISslConnection" ${DEFAULT_ENABLE_OPENSSL}) + +# 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 (MSVC) + set(VCPKG_DOWNLOADS_PATH ${PROJECT_SOURCE_DIR}/externals/vcpkg/downloads) + set(NASM_VERSION "2.16.01") + set(NASM_DESTINATION_PATH ${VCPKG_DOWNLOADS_PATH}/nasm-${NASM_VERSION}-win64.zip) + set(NASM_DOWNLOAD_URL "https://github.com/yuzu-emu/ext-windows-bin/raw/master/nasm/nasm-${NASM_VERSION}-win64.zip") + + if (NOT EXISTS ${NASM_DESTINATION_PATH}) + file(DOWNLOAD ${NASM_DOWNLOAD_URL} ${NASM_DESTINATION_PATH} SHOW_PROGRESS STATUS NASM_STATUS) + + if (NOT NASM_STATUS EQUAL 0) + # Warn and not fail since vcpkg is supposed to download this package for us in the first place + message(WARNING "External nasm vcpkg package download from ${NASM_DOWNLOAD_URL} failed with status ${NASM_STATUS}") + endif() + 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 +287,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,18 +303,20 @@ 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 17 MODULE COMPONENTS Demangle) find_package(lz4 REQUIRED) find_package(nlohmann_json 3.8 REQUIRED) find_package(Opus 1.3 MODULE) +find_package(VulkanMemoryAllocator CONFIG) 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.256 REQUIRED) endif() if (ENABLE_LIBUSB) @@ -241,31 +341,22 @@ 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) endif() +if(ENABLE_OPENSSL) + find_package(OpenSSL 1.1.1 REQUIRED) +endif() + # Please consider this as a stub if(ENABLE_QT6 AND Qt6_LOCATION) list(APPEND CMAKE_PREFIX_PATH "${Qt6_LOCATION}") @@ -351,12 +442,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 +524,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.2") else() message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable YUZU_USE_BUNDLED_SDL2 and provide your own.") endif() @@ -453,25 +544,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 +576,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 +664,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..a52148bd8 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}") @@ -32,3 +36,21 @@ endif() message(STATUS "Using bundled binaries at ${prefix}") set(${prefix_var} "${prefix}" PARENT_SCOPE) endfunction() + +function(download_moltenvk_external platform version) + set(MOLTENVK_DIR "${CMAKE_BINARY_DIR}/externals/MoltenVK") + set(MOLTENVK_TAR "${CMAKE_BINARY_DIR}/externals/MoltenVK.tar") + if (NOT EXISTS ${MOLTENVK_DIR}) + if (NOT EXISTS ${MOLTENVK_TAR}) + file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/${version}/MoltenVK-${platform}.tar + ${MOLTENVK_TAR} SHOW_PROGRESS) + endif() + + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${MOLTENVK_TAR}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/externals") + endif() + + # Add the MoltenVK library path to the prefix so find_library can locate it. + list(APPEND CMAKE_PREFIX_PATH "${MOLTENVK_DIR}/MoltenVK/dylib/${platform}") + set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE) +endfunction() 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..d258584bf 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.

@@ -40,7 +40,7 @@ It is written in C++ with portability in mind, and we actively maintain builds f The emulator is capable of running most commercial games at full speed, provided you meet the [necessary hardware requirements](https://yuzu-emu.org/help/quickstart/#hardware-requirements). -For a full list of games yuzu support, please visit our [Compatibility page](https://yuzu-emu.org/game/) +For a full list of games yuzu supports, please visit our [Compatibility page](https://yuzu-emu.org/game/). Check out our [website](https://yuzu-emu.org/) for the latest news on exciting features, monthly progress reports, and more! @@ -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..8083cc40c 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 @@ -357,6 +357,26 @@ This would ban both their forum username and their IP address. Següent + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -365,47 +385,6 @@ This would ban both their forum username and their IP address. Audio Àudio - - - Output Engine: - Motor de sortida: - - - - Output Device - - - - - Input Device - Dispositiu d'entrada - - - - Use global volume - Utilitza el volum global - - - - Set volume: - Configurar volum: - - - - Volume: - Volum: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -468,139 +447,25 @@ This would ban both their forum username and their IP address. CPU - + General General - - - Accuracy: - Precisió: - - - - Auto - Auto - - - - Accurate - Precís - - Unsafe - Insegur - - - - Paranoid (disables most optimizations) - Paranoic (desactiva la majoria d'optimitzacions) - - - We recommend setting accuracy to "Auto". Recomanem establir la precisió a "Auto". - + Unsafe CPU Optimization Settings Paràmetres d'optimització de la CPU insegurs - + These settings reduce accuracy for speed. Aquests paràmetres redueixen la precisió a canvi de rendiment. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Aquest paràmetre augmenta el rendiment reduint la precisió de les instruccions "fused multiply–add" en CPUs sense support natiu FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Desactivar FMA (millora el rendiment en CPUs sense FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Aquest paràmetre augmenta el rendiment d'algunes funcions de punt flotant, fent servir aproximacions natives menys precises.</div> - - - - - Faster FRSQRTE and FRECPE - FRSQRTE i FRECPE més ràpid - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Aquesta opció millora la velocitat de les funcions de punt flotant ASIMD de 32 bits executant-les amb modes d'arrodoniment incorrectes.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instruccions ASIMD més ràpides (només 32 bits) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Aquesta opció millora la velocitat eliminant les comprovacions NaN. Tingues en compte que això també redueix la precisió de determinades instruccions de punt flotant.</div> - - - - - Inaccurate NaN handling - Gestió imprecisa 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>Aquesta opció millora la velocitat eliminant una comprovació de seguretat abans de cada lectura/escriptura de memòria de l'hoste. Desactivar-lo pot permetre que un joc llegeixi/escrigui la memòria de l'emulador.</div> - - - - - Disable address space checks - Desactiva les comprovacions d'espai d'adreces - - - - - <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>Aquesta opció millora la velocitat basant-se només en les semàntiques de cmpxchg per assegurar la seguretat de les instruccions d'accés exclusiu. Tingui en compte que això podria ocasionar bloquejos i altres situacions de competició.</div> - - - - - Ignore global monitor - Ignorar monitorització global - - - - CPU settings are available only when game is not running. - La configuració de la CPU només està disponible quan el joc no s'està executant. - ConfigureCpuDebug @@ -816,212 +681,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - + Enable GDB Stub Activar GDB Stub - + Port: Port: - + Logging Registre - - Global Log Filter - Filtre de registre global - - - - Show Log in Console - Mostra el registre a la consola - - - + Open Log Location Obrir ubicació de l'arxiu del registre - + + Global Log Filter + Filtre de registre global + + + When checked, the max size of the log increases from 100 MB to 1 GB Quan està marcat, la mida màxima del registre augmenta de 100 MB a 1 GB - + Enable Extended Logging** Habilitar registre ampliat** - + + Show Log in Console + Mostra el registre a la consola + + + Homebrew Homebrew - + Arguments String Cadena d'arguments - + Graphics Gràfics - - When checked, the graphics API enters a slower debugging mode - Quan està marcat, l'API de gràfics entrarà en un mode de depuració més lent - - - - Enable Graphics Debugging - Activar depuració de gràfics - - - - When checked, it enables Nsight Aftermath crash dumps - Quan està marcat, habilitarà els volcats dels errors d'Nsight Aftermath - - - - Enable Nsight Aftermath - Activar Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Quan està marcat, bolcarà tots els shaders d'assemblador originals del cache de shaders del disc o del joc mentre els troba - - - - Dump Game Shaders - Bolcar shaders del joc - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Quan està marcat, desactiva el compilador de macro Just In Time. Activar això fa que els jocs funcionin més lentament - - - - Disable Macro JIT - Desactivar macro JIT - - - - 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ó + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Quan està marcat, bolcarà tots els shaders d'assemblador originals del cache de shaders del disc o del joc mentre els troba - - Enable Verbose Reporting Services** - Activa els serveis d'informes detallats** + + Dump Game Shaders + Bolcar shaders del joc - - 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. + + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - Dump Audio Commands To Console** + + Disable Macro HLE - - Create Minidump After Crash + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Quan està marcat, desactiva el compilador de macro Just In Time. Activar això fa que els jocs funcionin més lentament + + + + Disable Macro JIT + Desactivar macro JIT + + + + When checked, the graphics API enters a slower debugging mode + Quan està marcat, l'API de gràfics entrarà en un mode de depuració més lent + + + + Enable Graphics Debugging + Activar depuració de gràfics + + + + When checked, it will dump all the macro programs of the GPU - + + Dump Maxwell Macros + + + + + 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 enables Nsight Aftermath crash dumps + Quan està marcat, habilitarà els volcats dels errors d'Nsight Aftermath + + + + Enable Nsight Aftermath + Activar Nsight Aftermath + + + 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 - + + Disable Web Applet + Desactivar el Web Applet + + + + Enable All Controller Types + Activar tots els tipus de controladors + + + + Enable Auto-Stub** + Activar Auto-Stub** + + + + Kiosk (Quest) Mode + Mode quiosc (Quest) + + + + Enable CPU Debugging + Activar depuració de la CPU + + + + Enable Debug Asserts + Activar alertes de depuració + + + + Debugging + Depuració + + + + Enable FS Access Log + Activar registre d'accés al FS + + + + Create Minidump After Crash + + + + + 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** + + + + + Enable Verbose Reporting Services** + Activa els serveis d'informes detallats** + + + **This will be reset automatically when yuzu closes. **Això es restablirà automàticament quan es tanqui yuzu. @@ -1036,12 +911,12 @@ This would ban both their forum username and their IP address. - + Web applet not compiled - + MiniDump creation not compiled @@ -1091,78 +966,83 @@ This would ban both their forum username and their IP address. Configuració de yuzu - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1321,62 +1201,17 @@ This would ban both their forum username and their IP address. General - - Limit Speed Percent - Limitar percentatge de velocitat - - - - % - % - - - - Multicore CPU Emulation - Emulació de CPU multinucli - - - - 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 - - - + 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? @@ -1399,257 +1234,45 @@ This would ban both their forum username and their IP address. Paràmetres de l'API - - Shader Backend: - Suport de shaders: - - - - Device: - Dispositiu: - - - - API: - API: - - - - - None - Cap - - - + Graphics Settings Paràmetres gràfics - - Use disk pipeline cache - Utilitzar cache de shaders de canonada - - - - Use asynchronous GPU emulation - Utilitzar emulació asíncrona de GPU - - - - Accelerate ASTC texture decoding - Accelerar la descodificació de textures ASTC - - - - 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) - - - - 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: - 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) - - - - 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) + + % + FSR sharpening percentage (e.g. 50%) + % - - SPIR-V (Experimental, Mesa Only) + + Off - - %1% - FSR sharpening percentage (e.g. 50%) - %1% + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + @@ -1669,86 +1292,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Paràmetres gràfics avançats - - - Accuracy Level: - 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 - - - - - 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 pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Filtrat anisotròpic: - - - - Automatic - Automàtic - - - - Default - Valor predeterminat - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1778,70 +1321,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 +1671,7 @@ This would ban both their forum username and their IP address. - + Configure Configurar @@ -2159,6 +1697,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Necessita reiniciar yuzu @@ -2178,22 +1718,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 +1850,7 @@ This would ban both their forum username and their IP address. - + Left Stick Palanca esquerra @@ -2399,14 +1944,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2425,7 +1970,7 @@ This would ban both their forum username and their IP address. - + Plus Més @@ -2438,15 +1983,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2503,236 +2048,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 +2346,7 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo - + Configure Configuració @@ -2816,7 +2382,7 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo - + Test Provar @@ -2836,81 +2402,179 @@ 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 mouse panning + Activar desplaçament del ratolí + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Valor predeterminat + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2942,99 +2606,94 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo ConfigurePerGame - + Dialog Diàleg - + Info Informació - + Name Nom - + Title ID ID Títol - + Filename Nom de l'arxiu - + Format Format - + Version Versió - + Size Mida - + Developer Desenvolupador - - Add-Ons - Complements - - - - General - General - - - - System - Sistema - - - - CPU - CPU - - - - Graphics - Gràfics - - - - Adv. Graphics - Gràfics avanç. - - - - Audio - Àudio - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Propietats + Add-Ons + Complements - - Use global configuration (%1) - Utilitzar configuració global (%1) + + System + Sistema + + + + CPU + CPU + + + + Graphics + Gràfics + + + + Adv. Graphics + Gràfics avanç. + + + + Audio + Àudio + + + + Input Profiles + + + + + Properties + Propietats @@ -3229,12 +2888,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 +2914,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] @@ -3295,449 +3016,19 @@ UUID: %2 + System Sistema - - System Settings - Paràmetres del sistema - - - - Region: - Regió: - - - - Auto - Auto - - - - Default - Valor predeterminat - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egipte - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hong Kong - - - - HST - HST - - - - Iceland - Islàndia - - - - Iran - Iran - - - - Israel - Isreal - - - - Jamaica - Jamaica - - - - - Japan - Japó - - - - Kwajalein - Kwajalein - - - - Libya - Líbia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polònia - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Turquia - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - EUA - - - - Europe - Europa - - - - Australia - Austràlia - - - - China - Xina - - - - Korea - Corea - - - - Taiwan - Taiwan - - - - Time Zone: - Zona horària: - - - - Note: this can be overridden when region setting is auto-select - Nota: això pot anul·lar-se quan la configuració de regió es selecciona automàticament - - - - Japanese (日本語) - Japonès (日本語) - - - - English - Anglès - - - - French (français) - Francès (français) - - - - German (Deutsch) - Alemany (Deutsch) - - - - Italian (italiano) - Italià (italiano) - - - - Spanish (español) - Castellà (español) - - - - Chinese - Xinès - - - - Korean (한국어) - Coreà (한국어) - - - - Dutch (Nederlands) - Holandès (Nederlands) - - - - Portuguese (português) - Portuguès (português) - - - - Russian (Русский) - Rus (Русский) - - - - Taiwanese - Taiwanès - - - - British English - Anglès britànic - - - - Canadian French - Francès canadenc - - - - Latin American Spanish - Espanyol llatinoamericà - - - - Simplified Chinese - Xinès simplificat - - - - Traditional Chinese (正體中文) - Xinès tradicional (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portuguès brasiler (português do Brasil) - - - - Custom RTC - RTC personalitzat - - - - Language - Idioma - - - - RNG Seed - Llavor de GNA - - - - Device Name + + Core - - Mono - Mono - - - - 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 +3097,7 @@ UUID: %2 Configuració TAS - + Select TAS Load Directory... Selecciona el directori de càrrega TAS... @@ -3944,64 +3235,64 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les ConfigureUI - - - + + + None Cap - + Small (32x32) Petit (32x32) - + Standard (64x64) Estàndard (64x64) - + Large (128x128) Gran (128x128) - + Full Size (256x256) Tamany complet (256x256) - + Small (24x24) Petit (24x24) - + Standard (48x48) Estàndard (48x48) - + Large (72x72) Gran (72x72) - + Filename Nom de l'arxiu - + Filetype Tipus d'arxiu - + Title ID ID del títol - + Title Name Nom del títol @@ -4104,15 +3395,31 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les ... - + + TextLabel + + + + + Resolution: + Resolució: + + + Select Screenshots Path... Seleccioni el directori de les Captures de Pantalla... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4362,7 +3669,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 +3682,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 +3720,12 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les DirectConnectWindow - + Connecting - + Connect @@ -4431,535 +3733,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 +4309,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 +4317,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 +4325,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 +4647,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 +4686,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,48 +4736,143 @@ 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 - - + + OpenGL not available! OpenGL no disponible! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. yuzu no ha estat compilat amb suport per OpenGL. - - + + Error while initializing OpenGL! Error al inicialitzar OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. La seva GPU no suporta OpenGL, o no té instal·lat els últims controladors gràfics. - + Error while initializing OpenGL 4.6! Error inicialitzant 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 La seva GPU no suporta OpenGL 4.6, o no té instal·lats els últims controladors gràfics.<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 És possible que la seva GPU no suporti una o més extensions necessàries d'OpenGL. Si us plau, asseguris de tenir els últims controladors de la tarjeta gràfica.<br><br>GL Renderer:<br>%1<br><br>Extensions no suportades:<br>%2 @@ -5498,168 +4880,173 @@ Desitja tancar-lo de totes maneres? GameList - + Favorite Preferit - + Start Game Iniciar el joc - + Start Game without Custom Configuration Iniciar el joc sense la configuració personalitzada - + Open Save Data Location Obrir la ubicació dels arxius de partides guardades - + Open Mod Data Location Obrir la ubicació dels mods - + Open Transferable Pipeline Cache Obrir cache transferible de shaders de canonada - + Remove Eliminar - + Remove Installed Update Eliminar actualització instal·lada - + Remove All Installed DLC Eliminar tots els DLC instal·lats - + Remove Custom Configuration Eliminar configuració personalitzada - + + 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 +5117,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 +5130,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 @@ -5824,12 +5211,12 @@ Desitja tancar-lo de totes maneres? HostRoomWindow - + Error Error - + 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: @@ -5838,138 +5225,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 +5379,7 @@ Debug Message: Instal·lar - + Install Files to NAND Instal·lar arxius a la NAND @@ -6000,7 +5387,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 +5462,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 +6045,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICI/PAUSAR @@ -6702,31 +6094,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [no establert] @@ -6737,14 +6129,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eix %1%2 @@ -6755,264 +6147,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 + @@ -7164,7 +6614,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Controlador Pro @@ -7177,7 +6627,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joycons duals @@ -7190,7 +6640,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon esquerra @@ -7203,7 +6653,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon dret @@ -7232,7 +6682,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portàtil @@ -7348,32 +6798,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7381,28 +6831,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 +6876,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 +7000,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 +7021,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 +7132,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..b0420ec8a 100644 --- a/dist/languages/cs.ts +++ b/dist/languages/cs.ts @@ -357,6 +357,26 @@ This would ban both their forum username and their IP address. Další + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -365,47 +385,6 @@ This would ban both their forum username and their IP address. Audio Audio - - - Output Engine: - Výstupní Engine: - - - - Output Device - - - - - Input Device - Vstupní zařízení - - - - Use global volume - Použít globální hlasitost - - - - Set volume: - Nastavit hlasitost: - - - - Volume: - Hlasitost: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -468,137 +447,25 @@ This would ban both their forum username and their IP address. CPU - + General Obecné - - - Accuracy: - Přesnost: - - - - Auto - Automatické - - - - Accurate - Přesné - - Unsafe - Nebezpečné - - - - Paranoid (disables most optimizations) - Paranoidní (zakáže většinu optimizací) - - - We recommend setting accuracy to "Auto". Doporučujeme nastavit přesnost na "Automatické". - + Unsafe CPU Optimization Settings Nebezpečná nastavení optimalizace CPU - + These settings reduce accuracy for speed. Tato nastavení snižují přesnost pro vyšší rychlost. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Toto nastavení zvýší rychlost tím, že sníží přesnost instrukcí fused-multiply-add na procesorech bez nativní podpory FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Rozložit FMA instrukce (zlepší výkon na CPU bez FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Tato možnost zvýší rychlost některých funkcí pro čísla s pohyblivou desetinnou čárkou použitím méně přesných nativních aproximací.</div> - - - - - Faster FRSQRTE and FRECPE - Rychlejší FRSQRTE a FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Tato možnost zvýší rychlost 32-bitových ASIMD funkcí pro čísla s pohyblivou desetinnou čárkou použitím méně přesných zaokruhlovacích režimů.</div> - - - - - Faster ASIMD instructions (32 bits only) - Rychlejší instrukce ASIMD (Pouze 32 bitové) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Tato možnost zvýší rychlost odstraněním ověření NaN. Také snižuje přesnost některých instrukcí pro čísla s pohyblivou desetinnou čárkou.</div> - - - - - Inaccurate NaN handling - Nepřesné zpracování 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> - - -Tato možnost zlepšuje rychlost vypnutím bezpečnostní kontroly před každým zápisem/přečtením paměti ve hře. Zakázání této možnosti by mohlo dovolit hře číst/zapisovat pamět emulátoru. - - - - Disable address space checks - Zakázat kontrolu adres paměti - - - - - <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> - - -Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zajištění bezpečnosti exkluzivního přístupu k přístupovým instrukcím. Prosím zapamtujte si že tato možnost může zavinit zaseknutí a ostatní náhodné akce. - - - - Ignore global monitor - Ignorovat globální hlídač. - - - - CPU settings are available only when game is not running. - Nastavení CPU jsou k dispozici, pouze když není spuštěna žádná hra. - ConfigureCpuDebug @@ -808,212 +675,222 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj ConfigureDebug - + Debugger Debugger - + Enable GDB Stub Povolit GDB Stub - + Port: Port: - + Logging Logování - - Global Log Filter - Centrální log filtr - - - - Show Log in Console - Zobrazit log v konzoli - - - + Open Log Location Otevřít lokaci s logama - + + Global Log Filter + Centrální log filtr + + + When checked, the max size of the log increases from 100 MB to 1 GB Po povolení se zvýší maximální velikost logu z 100 MB na 1 GB. - + Enable Extended Logging** Povolit rozšířené logování - + + Show Log in Console + Zobrazit log v konzoli + + + Homebrew Homebrew - + Arguments String Argumenty - + Graphics Grafika - - When checked, the graphics API enters a slower debugging mode - Po povolení se grafické API přepne do pomalejšího režimu ladění. - - - - Enable Graphics Debugging - Zapnout ladění grafiky - - - - When checked, it enables Nsight Aftermath crash dumps - Zaškrtnutí povolí crash dumpy Nsight Aftermath - - - - Enable Nsight Aftermath - Povolit Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Když je zaškrtnuto, dumpne všechny originální shadery assembleru z diskové zálohy shaderů či hry jak jsou nalezeny. - - - - Dump Game Shaders - Dumpnout shadery hry - - - - When checked, it will dump all the macro programs of the GPU - Když je zaškrtnuto, dumpne všechny makro programy GPU - - - - Dump Maxwell Macros - Dumpnout Maxwell Makra - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Po povolení se zakáže makro Just-in-Time překladač. Poté hry poběží pomaleji. - - - - Disable Macro JIT - Zakázat Makro JIT - - - - 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í + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Když je zaškrtnuto, dumpne všechny originální shadery assembleru z diskové zálohy shaderů či hry jak jsou nalezeny. - - Enable Verbose Reporting Services** + + Dump Game Shaders + Dumpnout shadery hry + + + + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - 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** + + Disable Macro HLE - Enable All Controller Types - + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Po povolení se zakáže makro Just-in-Time překladač. Poté hry poběží pomaleji. - - Disable Web Applet - Zakázat Web Applet + + Disable Macro JIT + Zakázat Makro JIT - + + When checked, the graphics API enters a slower debugging mode + Po povolení se grafické API přepne do pomalejšího režimu ladění. + + + + Enable Graphics Debugging + Zapnout ladění grafiky + + + + When checked, it will dump all the macro programs of the GPU + Když je zaškrtnuto, dumpne všechny makro programy GPU + + + + Dump Maxwell Macros + Dumpnout Maxwell Makra + + + + 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 enables Nsight Aftermath crash dumps + Zaškrtnutí povolí crash dumpy Nsight Aftermath + + + + Enable Nsight Aftermath + Povolit Nsight Aftermath + + + + Advanced + Pokročilé + + + 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 - + + Disable Web Applet + Zakázat Web Applet + + + + Enable All Controller Types + + + + + Enable Auto-Stub** + + + + + Kiosk (Quest) Mode + Předváděcí (Quest/Kiosk) režim + + + + Enable CPU Debugging + + + + + Enable Debug Asserts + Povolit Debug Asserts + + + + Debugging + Ladění + + + + Enable FS Access Log + + + + + Create Minidump After Crash + + + + + 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** + + + + + Enable Verbose Reporting Services** + + + + **This will be reset automatically when yuzu closes. @@ -1028,12 +905,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 +960,83 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Nastavení yuzu. - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1313,62 +1195,17 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Obecné - - Limit Speed Percent - Omezení rychlosti v procentech - - - - % - % - - - - Multicore CPU Emulation - Vícejádrová emulace CPU - - - - 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ě - - - + 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? @@ -1391,257 +1228,45 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Nastavení API - - Shader Backend: - - - - - Device: - Zařízení: - - - - API: - API: - - - - - None - Žádné - - - + Graphics Settings Nastavení grafiky - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Použít asynchronní emulaci GPU - - - - Accelerate ASTC texture decoding - - - - - 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) - - - - - 2X (1440p/2160p) - - - - - 3X (2160p/3240p) - - - - - 4X (2880p/4320p) - - - - - 5X (3600p/5400p) - - - - - 6X (4320p/6480p) - - - - - Window Adapting Filter: - - - - - Nearest Neighbor - - - - - Bilinear - - - - - Bicubic - - - - - Gaussian - - - - - ScaleForce - - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - Anti-Aliasing Method: - - - - - FXAA - - - - - 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 + @@ -1661,86 +1286,6 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj Advanced Graphics Settings Pokročilé nastavení grafiky - - - Accuracy Level: - 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. - - - - - Use Fast GPU Time (Hack) - - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anizotropní filtrování: - - - - Automatic - - - - - Default - Výchozí - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1770,70 +1315,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 +1665,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Configure Nastavení @@ -2151,6 +1691,8 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj + + Requires restarting yuzu @@ -2170,22 +1712,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 +1844,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Left Stick Levá Páčka @@ -2391,14 +1938,14 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + L L - + ZL ZL @@ -2417,7 +1964,7 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - + Plus Plus @@ -2430,15 +1977,15 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj - - + + R R - + ZR ZR @@ -2495,236 +2042,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 +2340,7 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln - + Configure Konfigurovat @@ -2808,7 +2376,7 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln - + Test Test @@ -2828,81 +2396,179 @@ 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 mouse panning + Povolit naklánění myší + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Výchozí + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2934,99 +2600,94 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln ConfigurePerGame - + Dialog Dialog - + Info Info - + Name Název - + Title ID ID Titulu - + Filename Název souboru - + Format Formát - + Version Verze - + Size Velikost - + Developer Vývojář - - Add-Ons - Doplňky - - - - General - Obecné - - - - System - Systém - - - - CPU - CPU - - - - Graphics - Grafika - - - - Adv. Graphics - Pokroč. grafika - - - - Audio - Zvuk - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Vlastnosti + Add-Ons + Doplňky - - Use global configuration (%1) - Použít globální nastavení (%1) + + System + Systém + + + + CPU + CPU + + + + Graphics + Grafika + + + + Adv. Graphics + Pokroč. grafika + + + + Audio + Zvuk + + + + Input Profiles + + + + + Properties + Vlastnosti @@ -3221,12 +2882,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 +2908,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í] @@ -3287,450 +3010,20 @@ UUID: %2 + System Systém - - System Settings - Systémové Nastavení - - - - Region: - Region: - - - - Auto - Auto - - - - Default - Výchozí - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egypt - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Island - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamajka - - - - - Japan - Japonsko - - - - Kwajalein - Kwajalein - - - - Libya - Lybie - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polsko - - - - Portugal - Portugalsko - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Turecko - - - - UCT - UCT - - - - Universal - Univerzální - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Evropa - - - - Australia - Austrálie - - - - China - Čína - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Časové Pásmo: - - - - Note: this can be overridden when region setting is auto-select - Pozn.: tohle se může přemazat když se region vybírá automaticky - - - - Japanese (日本語) - Japonština (日本語) - - - - English - Angličtina (English) - - - - French (français) - Francouzština (français) - - - - German (Deutsch) - Nemčina (Deutsch) - - - - Italian (italiano) - Italština (Italiano) - - - - Spanish (español) - Španělština (español) - - - - Chinese - Čínština - - - - Korean (한국어) - Korejština (한국어) - - - - Dutch (Nederlands) - Holandština (Nederlands) - - - - Portuguese (português) - Portugalština (português) - - - - Russian (Русский) - Ruština (Русский) - - - - Taiwanese - Tajwanština - - - - British English - Britská Angličtina - - - - Canadian French - Kanadská Francouzština - - - - Latin American Spanish - Latinsko Americká Španělština - - - - Simplified Chinese - Zjednodušená Čínština - - - - Traditional Chinese (正體中文) - Tradiční Čínština (正體中文) - - - - Brazilian Portuguese (português do Brasil) + + Core - - Custom RTC - Vlastní RTC - - - - Language - Jazyk - - - - RNG Seed - RNG Seed - - - - Device Name + + Warning: "%1" is not a valid language for region "%2" - - - Mono - Mono - - - - 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 - ConfigureTas @@ -3798,7 +3091,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -3936,64 +3229,64 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z ConfigureUI - - - + + + None Žádné - + Small (32x32) Malý (32x32) - + Standard (64x64) Standartní (64x64) - + Large (128x128) Velký (128x128) - + Full Size (256x256) Plná Velikost (256x256) - + Small (24x24) Malý (24x24) - + Standard (48x48) Standartní (48x48) - + Large (72x72) Velký (72x72) - + Filename Název souboru - + Filetype - + Title ID ID Titulu - + Title Name @@ -4096,15 +3389,31 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z ... - + + TextLabel + + + + + Resolution: + + + + Select Screenshots Path... Vyberte cestu ke snímkům obrazovky... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4354,7 +3663,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 +3676,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 +3714,12 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z DirectConnectWindow - + Connecting - + Connect @@ -4423,922 +3727,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 +4634,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 +4673,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,48 +4723,143 @@ 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 - - + + OpenGL not available! OpenGL není k dispozici! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. yuzu nebylo sestaveno s OpenGL podporou. - - + + Error while initializing OpenGL! Chyba při inicializaci OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Vaše grafická karta pravděpodobně nepodporuje OpenGL nebo nejsou nainstalovány nejnovější ovladače. - + Error while initializing OpenGL 4.6! Chyba při inicializaci 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 Vaše grafická karta pravděpodobně nepodporuje OpenGL 4.6 nebo nejsou nainstalovány nejnovější ovladače.<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 Vaše grafická karta pravděpodobně nepodporuje jedno nebo více rozšíření OpenGL. Ujistěte se prosím, že jsou nainstalovány nejnovější ovladače.<br><br>GL Renderer:<br>%1<br><br>Nepodporované rozšíření:<br>%2 @@ -5483,168 +4867,173 @@ Opravdu si přejete ukončit tuto aplikaci? GameList - + Favorite Oblíbené - + Start Game Spustit hru - + Start Game without Custom Configuration Spustit hru bez vlastní konfigurace - + Open Save Data Location Otevřít Lokaci Savů - + Open Mod Data Location Otevřít Lokaci Modifikací - + Open Transferable Pipeline Cache - + Remove Odstranit - + Remove Installed Update Odstranit nainstalovanou aktualizaci - + Remove All Installed DLC Odstranit všechny nainstalované DLC - + Remove Custom Configuration Odstranit vlastní konfiguraci hry - + + 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 +5104,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 +5117,12 @@ Opravdu si přejete ukončit tuto aplikaci? - + Filter: Filtr: - + Enter pattern to filter Zadejte filtr @@ -5809,12 +5198,12 @@ Opravdu si přejete ukončit tuto aplikaci? HostRoomWindow - + Error - + 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: @@ -5823,138 +5212,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 +5366,7 @@ Debug Message: Nainstalovat - + Install Files to NAND Instalovat soubory na NAND @@ -5985,7 +5374,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6050,7 +5439,7 @@ Debug Message: Search - + Hledat @@ -6059,51 +5448,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 +6031,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6686,31 +6080,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [Nenastaveno] @@ -6721,14 +6115,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Osa %1%2 @@ -6739,263 +6133,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 @@ -7148,7 +6600,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7161,7 +6613,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Oba Joycony @@ -7174,7 +6626,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Levý Joycon @@ -7187,7 +6639,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Pravý Joycon @@ -7216,7 +6668,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handheld @@ -7332,32 +6784,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Ovladač GameCube - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis @@ -7365,28 +6817,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 +6862,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 +6986,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 +7007,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 +7118,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..f0ac5d961 100644 --- a/dist/languages/da.ts +++ b/dist/languages/da.ts @@ -365,6 +365,26 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Næste + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Audio Lyd - - - Output Engine: - Udgangsmotor: - - - - Output Device - Udgangsenhed - - - - Input Device - Indgangsenhed - - - - Use global volume - Benyt global lydstyrke - - - - Set volume: - Angiv lydstyrke: - - - - Volume: - Lydstyrke: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,139 +455,25 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.CPU - + General Generelt - - - Accuracy: - Nøjagtighed - - - - Auto - Automatisk - - - - Accurate - Nøjagtig - - Unsafe - Usikker - - - - Paranoid (disables most optimizations) - Paranoid (deaktiverer de fleste optimeringer) - - - We recommend setting accuracy to "Auto". Vi anbefaler at indstille nøjagtighed til "Automatisk." - + Unsafe CPU Optimization Settings Usikre CPU-Optimeringsindstillinger - + These settings reduce accuracy for speed. Disse indstillinger reducerer nøjagtighed for hastighed. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Denne valgmulighed forbedrer hastighed, ved at reducere fused-multiply-add instruksers nøjagtighed på CPUer uden indbygget FMA-understøttelse.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Adskil FMA (forbedr ydeevne på CPUer uden FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Denne valgmulighed forbedrer nogle anslåede floating-point funktioners hastighed, vha. mindre nøjagtige indbyggede anslag.</div> - - - - - Faster FRSQRTE and FRECPE - Hurtigere FRSQRTE og FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Denne valgmulighed forbedrer 32-bit ASIMD floating-point funktioners hastighed, ved at køre med ukorrekte afrundingstilstande.</div> - - - - - Faster ASIMD instructions (32 bits only) - Hurtigere ASIMD-instrukser (kun 32-bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Denne valgmulighed forbedrer hastighed, ved at fjerne NaN-kontrol. Bemærk venligst, at dette også reducerer visse floating-point instruksers nøjagtighed.</div> - - - - - Inaccurate NaN handling - Unøjagtig NaN-håndtering - - - - - <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>Denne valgmulighed forbedrer hastighed, ved at eliminere en sikkerhedskontrol, før hukommelses-læse/-skrive operation i gæst. Deaktivering heraf kan tillade et spil, at læse/skrive emulatorens hukommelse.</div> - - - - - Disable address space checks - Deaktivér adresseplads-kontrol - - - - - <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>Denne valgmulighed forbedrer hastigheden, ved kun at benytte sig cmpxchg's semantik, for at sikre eksklusiv-adgangsinstruktioners sikkerhed. Bemærk venligst at dette kan resultere i fastfrysning og andre sjældne forhold.</div> - - - - - Ignore global monitor - Ignorér global overvågning - - - - CPU settings are available only when game is not running. - CPU-indstillinger er kun tilgængelige, når spil ikke kører. - ConfigureCpuDebug @@ -824,212 +689,222 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. ConfigureDebug - + Debugger Fejlretning - + Enable GDB Stub Aktivér GDB Stub - + Port: Port: - + Logging Logføring - - Global Log Filter - Globalt Logfilter - - - - Show Log in Console - Vis Log i Konsol - - - + Open Log Location Åbn Logplacering - + + Global Log Filter + Globalt Logfilter + + + When checked, the max size of the log increases from 100 MB to 1 GB Når valgt, øges loggens maksimale størrelse fra 100 MB til 1 GB - + Enable Extended Logging** Aktivér Udvidet Logning** - + + Show Log in Console + Vis Log i Konsol + + + Homebrew Hjemmebrændt - + Arguments String Argumentsstreng - + Graphics Grafik - - When checked, the graphics API enters a slower debugging mode - Når valgt, påbegynder grafik-APIen en langsommere fejlfindingstilstand - - - - Enable Graphics Debugging - Aktivér Grafik-Fejlfinding - - - - When checked, it enables Nsight Aftermath crash dumps - Når valgt, aktiverer det Nsight Aftermath nedbruds-nedfældelser - - - - Enable Nsight Aftermath - Aktivér Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Når valgt, vil den dumpe alle de originale samler-shadere fra diskens shader-lager eller game, som fundet - - - - Dump Game Shaders - Dump Spil-Shadere - - - - When checked, it will dump all the macro programs of the GPU - Når valgt, vil den dumpe alle GPUens makroprogrammer - - - - Dump Maxwell Macros - Dump Maxwell-Makroer - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Når valgt, deaktiverer den makro-Just-In-Time-kompileringen. Aktivering heraf får spil til at køre langsommere - - - - Disable Macro JIT - Deaktivér Makro-JIT - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Når valgt, vil den dumpe alle de originale samler-shadere fra diskens shader-lager eller game, som fundet - - Enable Verbose Reporting Services** - Aktivér Vitterlig Rapporteringstjeneste + + Dump Game Shaders + Dump Spil-Shadere - - Enable FS Access Log - Aktivér FS-Tilgangslog + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + - - 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. + + Disable Macro HLE + - - Dump Audio Commands To Console** - Dump Lydkommandoer Til Konsol** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Når valgt, deaktiverer den makro-Just-In-Time-kompileringen. Aktivering heraf får spil til at køre langsommere - - Create Minidump After Crash - Opret Minidump Efter Nedbrud + + Disable Macro JIT + Deaktivér Makro-JIT - + + When checked, the graphics API enters a slower debugging mode + Når valgt, påbegynder grafik-APIen en langsommere fejlfindingstilstand + + + + Enable Graphics Debugging + Aktivér Grafik-Fejlfinding + + + + When checked, it will dump all the macro programs of the GPU + Når valgt, vil den dumpe alle GPUens makroprogrammer + + + + Dump Maxwell Macros + Dump Maxwell-Makroer + + + + 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 enables Nsight Aftermath crash dumps + Når valgt, aktiverer det Nsight Aftermath nedbruds-nedfældelser + + + + Enable Nsight Aftermath + Aktivér Nsight Aftermath + + + 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 - + + Disable Web Applet + Deaktivér Net-Applet + + + + Enable All Controller Types + Aktivér Alle Kontrolenhedstyper + + + + Enable Auto-Stub** + Aktivér Automatisk Stub** + + + + Kiosk (Quest) Mode + Kiosk (Rejse)-Tilstand + + + + Enable CPU Debugging + Aktivér CPU-Fejlfinding + + + + Enable Debug Asserts + Aktivér Fejlfindingshævdelser + + + + Debugging + Fejlfinding + + + + Enable FS Access Log + Aktivér FS-Tilgangslog + + + + Create Minidump After Crash + Opret Minidump Efter Nedbrud + + + + 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** + + + + Enable Verbose Reporting Services** + Aktivér Vitterlig Rapporteringstjeneste + + + **This will be reset automatically when yuzu closes. **Dette vil automatisk blive nulstillet, når yuzu lukkes. @@ -1044,12 +919,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 +974,83 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.yuzu Konfiguration - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1329,62 +1209,17 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Generelt - - Limit Speed Percent - Begræns Hastighedsprocent - - - - % - % - - - - Multicore CPU Emulation - Flerkerne-CPU-Emulering - - - - 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 - - - + 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? @@ -1407,257 +1242,45 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.API-Indstillinger - - Shader Backend: - Shader-Bagende: - - - - Device: - Enhed: - - - - API: - API: - - - - - None - Ingen - - - + Graphics Settings Grafikindstillinger - - Use disk pipeline cache - Brug disk-rørlinje-mellemlager - - - - Use asynchronous GPU emulation - Brug asynkron GPU-emulering - - - - Accelerate ASTC texture decoding - Accelerér ASTC-tekstur afkodning - - - - 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) - - - - 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: - 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) - - - - 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) + + % + FSR sharpening percentage (e.g. 50%) + % - - SPIR-V (Experimental, Mesa Only) + + Off - - %1% - FSR sharpening percentage (e.g. 50%) - %1% + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + @@ -1677,86 +1300,6 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.Advanced Graphics Settings Avancerede Grafikindstillinger - - - Accuracy Level: - 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. - - - - Use Fast GPU Time (Hack) - Brug Hurtig GPU-Tid (Hack) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotropisk Filtrering: - - - - Automatic - - - - - Default - Standard - - - - 2x - - - - - 4x - - - - - 8x - - - - - 16x - - ConfigureHotkeys @@ -1786,70 +1329,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 +1679,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Configure Konfigurér @@ -2167,6 +1705,8 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. + + Requires restarting yuzu Kræver genstart af yuzu @@ -2186,22 +1726,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 +1858,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Left Stick Venstre Styrepind @@ -2407,14 +1952,14 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + L L - + ZL ZL @@ -2433,7 +1978,7 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - + Plus Plus @@ -2446,15 +1991,15 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse. - - + + R R - + ZR ZR @@ -2511,236 +2056,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 +2354,7 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. - + Configure Konfigurér @@ -2824,7 +2390,7 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. - + Test Afprøv @@ -2844,81 +2410,179 @@ 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 mouse panning + Aktivér kig med mus + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standard + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2950,99 +2614,94 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret. ConfigurePerGame - + Dialog Dialogboks - + Info Info - + Name Navn - + Title ID Titel-ID - + Filename Filnavn - + Format Format - + Version Version - + Size Størrelse - + Developer Udvikler - - Add-Ons - Tilføjelser - - - - General - Generelt - - - - System - System - - - - CPU - CPU - - - - Graphics - Grafik - - - - Adv. Graphics - - - - - Audio - Lyd - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Egenskaber + Add-Ons + Tilføjelser - - Use global configuration (%1) - Brug global konfiguration (%1) + + System + System + + + + CPU + CPU + + + + Graphics + Grafik + + + + Adv. Graphics + + + + + Audio + Lyd + + + + Input Profiles + + + + + Properties + Egenskaber @@ -3237,12 +2896,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 +2922,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] @@ -3303,449 +3024,19 @@ UUID: %2 + System System - - System Settings - Systemindstillinger - - - - Region: - Region - - - - Auto - Automatisk - - - - Default - Standard - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Ægypten - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Island - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japan - - - - Kwajalein - Kwajalein - - - - Libya - Libyen - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polen - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapore - - - - Turkey - Tyrkiet - - - - UCT - UCT - - - - Universal - Universel - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australien - - - - China - Kina - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Tidszone - - - - Note: this can be overridden when region setting is auto-select - Bemærk: Dette kan overskrives, når regionsindstillinger er sat til automatisk valg - - - - Japanese (日本語) - Japansk (日本語) - - - - English - Engelsk - - - - French (français) - Fransk (français) - - - - German (Deutsch) - Tysk (Deutsch) - - - - Italian (italiano) - Italiensk (italiano) - - - - Spanish (español) - Spansk (español) - - - - Chinese - Kinesisk - - - - Korean (한국어) - Koreansk (한국어) - - - - Dutch (Nederlands) - Hollandsk (Nederlands) - - - - Portuguese (português) - Portugisisk (português) - - - - Russian (Русский) - Russisk (Русский) - - - - Taiwanese - Taiwanesisk - - - - British English - Britisk Engelsk - - - - Canadian French - Candadisk Fransk - - - - Latin American Spanish - Latinamerikansk Spansk - - - - Simplified Chinese - Forenklet Kinesisk - - - - Traditional Chinese (正體中文) - Traditionelt Kinesisk (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Braziliansk Portugisisk (português do Brasil) - - - - Custom RTC - Tilpasset RTC - - - - Language - Sprog - - - - RNG Seed - RNG-Seed - - - - Device Name + + Core - - Mono - Mono - - - - 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 +3105,7 @@ UUID: %2 TAS-Konfiguration - + Select TAS Load Directory... Vælg TAS-Indlæsningsmappe... @@ -3952,64 +3243,64 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r ConfigureUI - - - + + + None Ingen - + Small (32x32) Lille (32x32) - + Standard (64x64) Standard (64x64) - + Large (128x128) Stor (128x128) - + Full Size (256x256) Fuld Størrelse (256x256) - + Small (24x24) Lille (24x24) - + Standard (48x48) Standard (48x48) - + Large (72x72) Stor (72x72) - + Filename Filnavn - + Filetype Filtype - + Title ID Titel-ID - + Title Name Titelnavn @@ -4112,15 +3403,31 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r ... - + + TextLabel + + + + + Resolution: + Opløsning: + + + Select Screenshots Path... Vælg Skærmbilledsti... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4370,7 +3677,7 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r Styringsenhed P1 - + &Controller P1 &Styringsenhed P1 @@ -4383,42 +3690,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 +3728,12 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r DirectConnectWindow - + Connecting - + Connect @@ -4439,920 +3741,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,123 +4640,228 @@ 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 - - + + OpenGL not available! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. - - + + Error while initializing OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + Error while initializing 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 - + 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 @@ -5487,168 +4869,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite - + Start Game - + Start Game without Custom Configuration - + Open Save Data Location Åbn Gemt Data-Placering - + Open Mod Data Location Åbn Mod-Data-Placering - + Open Transferable Pipeline Cache - + Remove Fjern - + Remove Installed Update - + Remove All Installed DLC - + Remove Custom Configuration - - - Remove OpenGL Pipeline Cache - - - - - Remove Vulkan Pipeline Cache - - - - - Remove All Pipeline Caches - - - Remove All Installed Contents + Remove Cache Storage - - Dump RomFS + Remove OpenGL Pipeline Cache - - Dump RomFS to SDMC + + Remove Vulkan Pipeline Cache - Copy Title ID to Clipboard - Kopiér Titel-ID til Udklipsholder - - - - Navigate to GameDB entry + Remove All Pipeline Caches + + Remove All Installed Contents + + + + - Create Shortcut + Dump RomFS - Add to Desktop + Dump RomFS to SDMC + + + Copy Title ID to Clipboard + Kopiér Titel-ID til Udklipsholder + - Add to Applications Menu + 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 +5106,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list @@ -5732,12 +5119,12 @@ Would you like to bypass this and exit anyway? - + Filter: Filter: - + Enter pattern to filter @@ -5813,12 +5200,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error - + 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: @@ -5827,138 +5214,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 +5368,7 @@ Debug Message: Installér - + Install Files to NAND @@ -5989,7 +5376,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6063,51 +5450,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 +6029,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6686,31 +6078,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Skift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [ikke indstillet] @@ -6721,14 +6113,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Akse %1%2 @@ -6739,263 +6131,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 @@ -7148,7 +6598,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro-Styringsenhed @@ -7161,7 +6611,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Dobbelt-Joycon @@ -7174,7 +6624,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Venstre Joycon @@ -7187,7 +6637,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Højre Joycon @@ -7216,7 +6666,7 @@ p, li { white-space: pre-wrap; } - + Handheld Håndholdt @@ -7332,32 +6782,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller GameCube-Styringsenhed - + Poke Ball Plus - + NES Controller - + SNES Controller - + N64 Controller - + Sega Genesis @@ -7365,26 +6815,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 +6854,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 +6974,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 +6995,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 +7106,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/de.ts b/dist/languages/de.ts index eae45f337..18ae0578e 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> @@ -363,6 +364,26 @@ This would ban both their forum username and their IP address. Weiter + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -371,47 +392,6 @@ This would ban both their forum username and their IP address. Audio Audio - - - Output Engine: - Ausgabe-Engine: - - - - Output Device - Ausgabegerät - - - - Input Device - Eingabegerät - - - - Use global volume - Globale Lautstärke verwenden - - - - Set volume: - Lautstärke: - - - - Volume: - Lautstärke: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -474,132 +454,25 @@ This would ban both their forum username and their IP address. CPU - + General Allgemeines - - - Accuracy: - Genauigkeit der Emulation: - - - - Auto - Auto - - - - Accurate - Akkurat - - Unsafe - Unsicher - - - - Paranoid (disables most optimizations) - Paranoid (deaktiviert die meisten Optimierungen) - - - We recommend setting accuracy to "Auto". Wir empfehlen die Genauigkeit auf "Auto" zu setzen. - + Unsafe CPU Optimization Settings Unsichere CPU-Optimierungen - + These settings reduce accuracy for speed. Diese Optionen reduzieren die Genauigkeit, können jedoch die Geschwindigkeit erhöhen. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Diese Option steigert die Geschwindigkeit, indem die Genauigkeit von sog. "fused-multiply-add" Anweisungen auf CPUs ohne native FMA-Unterstützung reduziert wird.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Unfuse FMA (erhöht Leistung auf CPUs ohne FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Diese Option steigert die Geschwindigkeit von einigen "floating point"-Anweisungen, indem weniger akkurate Schätzungen der Werte verwendet werden.</div> - - - - - Faster FRSQRTE and FRECPE - Schnelleres FRSQRTE und FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - - - - Faster ASIMD instructions (32 bits only) - Schnellere ASIMD Instruktionen (nur 32-Bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Diese Option erhöht die Geschwindigkeit indem die NaN-Überprüfung entfernt wird. Bitte beachte, dass dadurch auch die Genauigkeit von gewissen Fließpunkt-Anweisungen verringert wird.</div> - - - - Inaccurate NaN handling - Ungenaue NaN-Verarbeitung - - - - - <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> - - - - - - 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> - - - - - - Ignore global monitor - Globalen Monitor ignorieren - - - - CPU settings are available only when game is not running. - Die CPU-Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist. - ConfigureCpuDebug @@ -621,7 +494,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 +621,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 +637,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 +654,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 +670,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 @@ -804,212 +689,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger Debugger - + Enable GDB Stub GDB-Stub aktivieren - + Port: Port: - + Logging Logging - - Global Log Filter - Globaler Log-Filter - - - - Show Log in Console - Log in der Konsole zeigen - - - + Open Log Location Log-Verzeichnis öffnen - + + Global Log Filter + Globaler Log-Filter + + + When checked, the max size of the log increases from 100 MB to 1 GB Wenn diese Option aktiviert ist, erhöht sich die maximale Größe des Logs von 100 MB auf 1 GB - + Enable Extended Logging** Erweitertes Logging aktivieren** - + + Show Log in Console + Log in der Konsole zeigen + + + Homebrew Homebrew - + Arguments String String-Argumente - + Graphics Grafik - - When checked, the graphics API enters a slower debugging mode - Wenn diese Option aktiviert ist, wechselt die Grafik-API in einen langsameren Debug-Modus - - - - Enable Graphics Debugging - Grafik-Debugging aktivieren - - - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - Nsight Aftermath aktivieren - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - Spiele-Shader dumpen - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - Maxwell-Macros dumpen - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Diese Option deaktiviert den Macro-JIT-Compiler. Dies wird die Geschwindigkeit verringern. - - - - Disable Macro JIT - Macro-JIT deaktivieren - - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - - - 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 + + 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. - - Enable Verbose Reporting Services** - + + Dump Game Shaders + Spiele-Shader dumpen - - Enable FS Access Log - FS-Zugriffslog aktivieren + + 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 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Deaktiviert Macro-HLE - - Dump Audio Commands To Console** - + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Diese Option deaktiviert den Macro-JIT-Compiler. Dies wird die Geschwindigkeit verringern. - - Create Minidump After Crash - + + Disable Macro JIT + Macro-JIT deaktivieren - + + When checked, the graphics API enters a slower debugging mode + Wenn diese Option aktiviert ist, wechselt die Grafik-API in einen langsameren Debug-Modus + + + + Enable Graphics Debugging + Grafik-Debugging aktivieren + + + + When checked, it will dump all the macro programs of the GPU + Wenn diese Option aktiviert ist, werden alle Makroprogramme der GPU gedumpt + + + + Dump Maxwell Macros + Maxwell-Macros dumpen + + + + 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 enables Nsight Aftermath crash dumps + Wenn diese Option aktiviert ist, werden Nsight Aftermath-Crash-Dumps zugelassen. + + + + Enable Nsight Aftermath + Nsight Aftermath aktivieren + + + Advanced Erweitert - - Kiosk (Quest) Mode - Kiosk(Quest)-Modus + + 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. - - Enable CPU Debugging - CPU Debugging aktivieren + + Perform Startup Vulkan Check + Vulkan-Prüfung beim Start durchführen - - Enable Debug Asserts - aktiviere Debug-Meldungen - - - - Enable Auto-Stub** - Auto-Stub** aktivieren - - - - Enable All Controller Types - - - - + 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. - + + Enable All Controller Types + Aktiviere alle Arten von Controllern - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Auto-Stub** aktivieren - + + Kiosk (Quest) Mode + Kiosk(Quest)-Modus + + + + Enable CPU Debugging + CPU Debugging aktivieren + + + + Enable Debug Asserts + aktiviere Debug-Meldungen + + + + Debugging + Debugging + + + + Enable FS Access Log + FS-Zugriffslog aktivieren + + + + Create Minidump After Crash + Minidump nach Absturz erstellen + + + + 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** + + + + Enable Verbose Reporting Services** + Ausführliche Berichtsdienste aktivieren** + + + **This will be reset automatically when yuzu closes. **Dies wird automatisch beim Schließen von yuzu zurückgesetzt. @@ -1024,14 +919,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 +974,83 @@ This would ban both their forum username and their IP address. yuzu-Konfiguration - - + + Some settings are only available when a game is not running. + Einige Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist. + + + + 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 @@ -1309,62 +1209,17 @@ This would ban both their forum username and their IP address. Allgemein - - Limit Speed Percent - Geschwindigkeit auf % festlegen - - - - % - % - - - - Multicore CPU Emulation - Multicore-CPU-Emulation - - - - 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 - - - + 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? @@ -1387,257 +1242,45 @@ This would ban both their forum username and their IP address. API-Einstellungen - - Shader Backend: - Shader Backend: - - - - Device: - Gerät: - - - - API: - API: - - - - - None - Keiner - - - + Graphics Settings Grafik-Einstellungen - - Use disk pipeline cache - Disk-Pipeline-Cache verwenden - - - - Use asynchronous GPU emulation - Asynchrone GPU-Emulation verwenden - - - - Accelerate ASTC texture decoding - - - - - 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) - - - - 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: - - - - - Nearest Neighbor - - - - - Bilinear - Bilinear - - - - Bicubic - Bikubisch - - - - Gaussian - - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (nur Vulkan) - - - - Anti-Aliasing Method: - Kantenglättungs-Methode: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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 @@ -1657,86 +1300,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Erweiterte Grafik-Einstellungen - - - Accuracy Level: - 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. - - - - Use VSync - VSync verwenden - - - - 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) - - - - - 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. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotrope Filterung: - - - - Automatic - Automatisch - - - - Default - Standard - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1766,70 +1329,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 +1679,7 @@ This would ban both their forum username and their IP address. - + Configure Konfigurieren @@ -2147,13 +1705,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 +1726,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 +1811,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 +1858,7 @@ This would ban both their forum username and their IP address. - + Left Stick Linker Analogstick @@ -2387,14 +1952,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2413,7 +1978,7 @@ This would ban both their forum username and their IP address. - + Plus Plus @@ -2426,15 +1991,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2491,236 +2056,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 - + Achse umschalten - + 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 +2354,7 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta - + Configure Einrichtung @@ -2804,7 +2390,7 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta - + Test Testen @@ -2824,81 +2410,179 @@ 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 + Mausschwenk konfigurieren + + + + Enable mouse panning + Maus-Panning aktivieren + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + Sensitivität + + + + Horizontal + Horizontal + + + + + + + + % + % + + + + Vertical + Vertikal + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + Stärke + + + + Minimum + Minimum + + + + Default + Standard + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Die emulierte Maus ist aktiviert. Dies ist mit Mausschwenk nicht kompatibel. + + + + 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. + + ConfigureNetwork @@ -2930,100 +2614,95 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta ConfigurePerGame - + Dialog Dialog - + Info Info - + Name Name - + Title ID Titel ID - + Filename Dateiname - + Format Format - + Version Version - + Size Größe - + Developer Entwickler - + + Some settings are only available when a game is not running. + Einige Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist. + + + Add-Ons Add-Ons - - General - Allgemeines - - - + System System - + CPU CPU - + Graphics Grafik - + Adv. Graphics Erw. Grafik - + Audio Audio - + Input Profiles Eingabe-Profile - + Properties Einstellungen - - - Use global configuration (%1) - Globale Konfiguration verwenden (%1) - ConfigurePerGameAddons @@ -3181,12 +2860,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 +2896,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 +2922,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 + Das aktuell zugeordnete Gerät unterstützt den Ringcontroller nicht + + + + The current mapped device doesn't have a ring attached + + + + + The current mapped device is not connected + Das aktuell zugeordnete Gerät ist nicht verbunden + + + + Unexpected driver result %1 + Unerwartetes Treiber Ergebnis %1 + + + [waiting] [wartet] @@ -3283,449 +3024,19 @@ UUID: %2 + System System - - System Settings - Systemeinstellungen - - - - Region: - Region: - - - - Auto - Auto - - - - Default - Standard - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Kuba - - - - EET - EET - - - - Egypt - Ägypten - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Island - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaika - - - - - Japan - Japan - - - - Kwajalein - Kwajalein - - - - Libya - Libyen - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polen - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Türkei - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australien - - - - China - China - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Zeitzone: - - - - Note: this can be overridden when region setting is auto-select - Anmerkung: Diese Einstellung kann überschrieben werden, falls deine Region auf "auto-select" eingestellt ist. - - - - Japanese (日本語) - Japanisch (日本語) - - - - English - Englisch - - - - French (français) - Französisch (français) - - - - German (Deutsch) - Deutsch (German) - - - - Italian (italiano) - Italienisch (italiano) - - - - Spanish (español) - Spanisch (español) - - - - Chinese - Chinesisch - - - - Korean (한국어) - Koreanisch (한국어) - - - - Dutch (Nederlands) - Niederländisch (Nederlands) - - - - Portuguese (português) - Portugiesisch (português) - - - - Russian (Русский) - Russisch (Русский) - - - - Taiwanese - Taiwanesisch - - - - British English - Britisches Englisch - - - - Canadian French - Kanadisches Französisch - - - - Latin American Spanish - Lateinamerikanisches Spanisch - - - - Simplified Chinese - Vereinfachtes Chinesisch - - - - Traditional Chinese (正體中文) - Traditionelles Chinesisch (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Brasilianisches Portugiesisch (português do Brasil) - - - - Custom RTC - Benutzerdefinierte Echtzeituhr - - - - Language - Sprache - - - - RNG Seed - RNG Seed - - - - Device Name + + Core - - Mono - Mono - - - - 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 +3049,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 +3105,9 @@ UUID: %2 TAS-Konfiguration - + Select TAS Load Directory... - + TAS-Lade-Verzeichnis auswählen... @@ -3932,64 +3243,64 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf ConfigureUI - - - + + + None Keiner - + Small (32x32) Klein (32x32) - + Standard (64x64) Standard (64x64) - + Large (128x128) Groß (128x128) - + Full Size (256x256) Volle Größe (256x256) - + Small (24x24) Klein (24x24) - + Standard (48x48) Standard (48x48) - + Large (72x72) Groß (72x72) - + Filename Dateiname - + Filetype Dateityp - + Title ID Titel ID - + Title Name Spielname @@ -4092,15 +3403,31 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf ... - + + TextLabel + + + + + Resolution: + Auflösung: + + + Select Screenshots Path... Screenshotpfad auswählen... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4350,7 +3677,7 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf Controller P1 - + &Controller P1 &Controller P1 @@ -4363,42 +3690,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 +3728,12 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf DirectConnectWindow - + Connecting Verbinde - + Connect Verbinden @@ -4419,534 +3741,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 +4318,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 +4648,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 +4686,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,48 +4736,143 @@ 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 + Extrem + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow - - + + OpenGL not available! OpenGL nicht verfügbar! - + OpenGL shared contexts are not supported. - + Gemeinsame OpenGL-Kontexte werden nicht unterstützt. - + yuzu has not been compiled with OpenGL support. yuzu wurde nicht mit OpenGL-Unterstützung kompiliert. - - + + Error while initializing OpenGL! Fehler beim Initialisieren von OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Deine Grafikkarte unterstützt kein OpenGL oder du hast nicht den neusten Treiber installiert. - + Error while initializing OpenGL 4.6! Fehler beim Initialisieren von 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 Deine Grafikkarte unterstützt OpenGL 4.6 nicht, oder du benutzt nicht die neuste Treiberversion.<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 Deine Grafikkarte unterstützt anscheinend nicht eine oder mehrere von yuzu benötigten OpenGL-Erweiterungen. Bitte stelle sicher, dass du den neusten Grafiktreiber installiert hast.<br><br>GL Renderer:<br>%1<br><br>Nicht unterstützte Erweiterungen:<br>%2 @@ -5476,168 +4880,173 @@ Möchtest du dies umgehen und sie trotzdem beenden? GameList - + Favorite Favorit - + Start Game Spiel starten - + Start Game without Custom Configuration Spiel ohne benutzerdefinierte Spiel-Einstellungen starten - + Open Save Data Location Spielstand-Verzeichnis öffnen - + Open Mod Data Location Mod-Verzeichnis öffnen - + Open Transferable Pipeline Cache - + Remove Entfernen - + Remove Installed Update Installiertes Update entfernen - + Remove All Installed DLC Alle installierten DLCs entfernen - + Remove Custom Configuration Spiel-Einstellungen entfernen - + + 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 - - - - - Add to Applications Menu - - + Add to Desktop + Zum Desktop hinzufügen + + + + Add to Applications Menu + Zum Menü "Anwendungen" hinzufügen + + + 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 +5056,7 @@ Möchtest du dies umgehen und sie trotzdem beenden? Ingame - + Im Spiel @@ -5672,7 +5081,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 +5091,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 +5117,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 +5127,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 @@ -5802,12 +5211,12 @@ Möchtest du dies umgehen und sie trotzdem beenden? HostRoomWindow - + Error Fehler - + 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: @@ -5816,140 +5225,140 @@ 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 - + Statusleiste umschalten @@ -5970,7 +5379,7 @@ Debug Message: Installieren - + Install Files to NAND Dateien im NAND installieren @@ -5978,10 +5387,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 +5461,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 @@ -6131,7 +5545,7 @@ Debug Message: &Reset Window Size - &Fenstergöße zurücksetzen + &Fenstergröße zurücksetzen @@ -6351,7 +5765,7 @@ Debug Message: R&ecord - + Aufnahme @@ -6485,12 +5899,14 @@ Debug Message: Unable to find an internet connection. Check your internet settings. - + Es konnte keine Internetverbindung hergestellt werden. Überprüfe deine Interneteinstellungen. 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. - + Es kann keine Verbindung zum Host hergestellt werden. +Überprüfen Sie, ob die Verbindungseinstellungen korrekt sind. +Wenn Sie immer noch keine Verbindung herstellen können, wenden Sie sich an den Host des Raumes und überprüfen Sie, ob der Host richtig konfiguriert ist und der externe Port weitergeleitet wurde. @@ -6505,7 +5921,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 +5969,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 +5981,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 +5991,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 +6001,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 +6048,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6680,31 +6097,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Strg - - + + Alt Alt - - - - + + + + [not set] [nicht gesetzt] @@ -6715,14 +6132,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Achse %1%2 @@ -6733,264 +6150,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 +6513,7 @@ p, li { white-space: pre-wrap; } Creation Date - + Erstellungsdatum @@ -7048,7 +6523,7 @@ p, li { white-space: pre-wrap; } Modification Date - + Modifizierungsdatum @@ -7058,17 +6533,17 @@ p, li { white-space: pre-wrap; } Game Data - + Spieldaten Game Id - + Spiel ID Mount Amiibo - + Amiibo einbinden @@ -7083,7 +6558,7 @@ p, li { white-space: pre-wrap; } No game data present - + Keine Spieldaten vorhanden @@ -7093,12 +6568,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: @@ -7142,7 +6617,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro-Controller @@ -7155,7 +6630,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Zwei Joycons @@ -7168,7 +6643,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Linker Joycon @@ -7181,7 +6656,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Rechter Joycon @@ -7210,7 +6685,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handheld @@ -7326,32 +6801,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7359,28 +6834,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 +6879,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 +7003,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 +7024,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 +7135,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..e1c7aaedd 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> @@ -357,6 +365,26 @@ This would ban both their forum username and their IP address. Επόμενο + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -365,47 +393,6 @@ This would ban both their forum username and their IP address. Audio Ήχος - - - Output Engine: - Μηχανή εξόδου: - - - - Output Device - - - - - Input Device - Συσκευή Εισόδου - - - - Use global volume - Χρήση καθολικής έντασης ήχου - - - - Set volume: - Ένταση ήχου: - - - - Volume: - Ένταση: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -452,7 +439,7 @@ This would ban both their forum username and their IP address. Auto - + Αυτόματη @@ -468,139 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General Γενικά - - - Accuracy: - Ακρίβεια: - - - - Auto - - - - - Accurate - Ακριβής - - Unsafe - Επισφαλής - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". Συνιστούμε να ορίσετε την ακρίβεια σε "Αυτόματο". - + Unsafe CPU Optimization Settings Επισφαλείς Ρυθμίσεις Βελτιστοποίησης CPU - + These settings reduce accuracy for speed. Οι ρυθμίσεις αυτές μειώνουν την ακρίβεια για ταχύτητα. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Αυτή η επιλογή βελτιώνει την ταχύτητα μειώνοντας την ακρίβεια των εντολών συγχωνευμένης-πολλαπλασιάζουσας-προσθήκης σε CPU χωρίς εγγενή υποστήριξη FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Αχρησιμοποίητο FMA (βελτιώνει την απόδοση σε επεξεργαστές χωρίς FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Η επιλογή αυτή βελτιώνει την ταχύτητα ορισμένων συναρτήσεων κινητής υποδιαστολής χρησιμοποιώντας λιγότερο ακριβείς τοπικές προσεγγίσεις.</div> - - - - - Faster FRSQRTE and FRECPE - Ταχύτερη FRSQRTE και FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Αυτή η επιλογή βελτιώνει την ταχύτητα των συναρτήσεων κινητής υποδιαστολής ASIMD 32 bits εκτελώντας εσφαλμένες λειτουργίες στρογγυλοποίησης.</div> - - - - - Faster ASIMD instructions (32 bits only) - Ταχύτερες οδηγίες ASIMD (μόνο 32 bits) - - - - - <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 - - - - - <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 - Αγνοήση καθολικής επίβλεψης - - - - CPU settings are available only when game is not running. - Οι επιλογές επεξεργαστή είναι διαθέσιμες μόνο όταν δεν εκτελείται ένα παιχνίδι. - ConfigureCpuDebug @@ -808,212 +681,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - + Enable GDB Stub - + Port: Θύρα: - + Logging Καταγραφή Συμβάντων - - Global Log Filter - Παγκόσμιο φίλτρο αρχείου καταγραφής - - - - Show Log in Console - - - - + Open Log Location Άνοιγμα θέσης του αρχείου καταγραφής - + + Global Log Filter + Παγκόσμιο φίλτρο αρχείου καταγραφής + + + When checked, the max size of the log increases from 100 MB to 1 GB Όταν επιλεγεί, το μέγιστο μέγεθος του αρχείου καταγραφής αυξάνεται από 100 MB σε 1 GB - + Enable Extended Logging** Ενεργοποίηση Εκτεταμένης Καταγραφής** - + + Show Log in Console + + + + Homebrew Σπιτικό - + Arguments String - + Graphics Γραφικά - - When checked, the graphics API enters a slower debugging mode - Όταν είναι επιλεγμένο, το API γραφικών εισέρχεται σε μια πιο αργή λειτουργία εντοπισμού σφαλμάτων - - - - Enable Graphics Debugging - Ενεργοποίηση του Εντοπισμού Σφαλμάτων Γραφικών - - - - When checked, it enables Nsight Aftermath crash dumps - Όταν είναι επιλεγμένο, ενεργοποιεί την ένδειξη σφαλμάτων Nsight Aftermath - - - - Enable Nsight Aftermath - Ενεργοποίηση του Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Όταν επιλεγεί, θα απορρίψει όλους τους αρχικούς assembler shaders από την κρυφή μνήμη ή το παιχνίδι σκίασης δίσκου όπως βρέθηκε - - - - Dump Game Shaders - - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Όταν είναι επιλεγμένο, απενεργοποιεί τη μακροεντολή Just In Time compiler. Η ενεργοποίηση αυτού κάνει τα παιχνίδια να τρέχουν πιο αργά - - - - Disable Macro JIT - Απενεργοποίηση του Macro JIT - - - - 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 - Εντοπισμός Σφαλμάτων + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Όταν επιλεγεί, θα απορρίψει όλους τους αρχικούς assembler shaders από την κρυφή μνήμη ή το παιχνίδι σκίασης δίσκου όπως βρέθηκε - - Enable Verbose Reporting Services** + + Dump Game Shaders - - Enable FS Access Log + + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. + + Disable Macro HLE - - Dump Audio Commands To Console** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Όταν είναι επιλεγμένο, απενεργοποιεί τη μακροεντολή Just In Time compiler. Η ενεργοποίηση αυτού κάνει τα παιχνίδια να τρέχουν πιο αργά + + + + Disable Macro JIT + Απενεργοποίηση του Macro JIT + + + + When checked, the graphics API enters a slower debugging mode + Όταν είναι επιλεγμένο, το API γραφικών εισέρχεται σε μια πιο αργή λειτουργία εντοπισμού σφαλμάτων + + + + Enable Graphics Debugging + Ενεργοποίηση του Εντοπισμού Σφαλμάτων Γραφικών + + + + When checked, it will dump all the macro programs of the GPU - - Create Minidump After Crash - Δημιουργία Minidump μετά από κατάρρευση + + Dump Maxwell Macros + - + + When checked, yuzu will log statistics about the compiled pipeline cache + + + + + Enable Shader Feedback + Ενεργοποίηση Shader Feedback + + + + When checked, it enables Nsight Aftermath crash dumps + Όταν είναι επιλεγμένο, ενεργοποιεί την ένδειξη σφαλμάτων Nsight Aftermath + + + + Enable Nsight Aftermath + Ενεργοποίηση του Nsight Aftermath + + + 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 κατά την εκκίνηση - + + Disable Web Applet + + + + + Enable All Controller Types + + + + + Enable Auto-Stub** + Ενεργοποίηση Auto-Stub** + + + + Kiosk (Quest) Mode + + + + + Enable CPU Debugging + Ενεργοποίηση Εντοπισμού Σφαλμάτων CPU + + + + Enable Debug Asserts + Ενεργοποίηση Βεβαιώσεων Εντοπισμού Σφαλμάτων + + + + Debugging + Εντοπισμός Σφαλμάτων + + + + Enable FS Access Log + + + + + Create Minidump After Crash + Δημιουργία Minidump μετά από κατάρρευση + + + + 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** + + + + + Enable Verbose Reporting Services** + + + + **This will be reset automatically when yuzu closes. **Αυτό θα μηδενιστεί αυτόματα όταν το yuzu κλείσει. @@ -1028,12 +911,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 +966,83 @@ This would ban both their forum username and their IP address. Διαμόρφωση yuzu - - + + Some settings are only available when a game is not running. + + + + + Audio Ήχος - - + + CPU CPU - + Debug Αποσφαλμάτωση - + Filesystem Σύστημα Αρχείων - - + + General Γενικά - - + + Graphics Γραφικά - + GraphicsAdvanced - + Hotkeys Πλήκτρα Συντόμευσης - - + + Controls Χειρισμός - + Profiles Τα προφίλ - + Network Δίκτυο - - + + System Σύστημα - + Game List Λίστα Παιχνιδιών - + Web Ιστός @@ -1313,62 +1201,17 @@ This would ban both their forum username and their IP address. Γενικά - - Limit Speed Percent - Όριο Ποσοστού Ταχύτητας - - - - % - % - - - - Multicore CPU Emulation - Εξομοίωση Πολυπύρηνων CPU - - - - 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 - Απόκρυψη δρομέα ποντικιού στην αδράνεια - - - + 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? Επαναφέρει όλες τις ρυθμίσεις και καταργεί όλες τις επιλογές ανά παιχνίδι. Δεν θα διαγράψει καταλόγους παιχνιδιών, προφίλ ή προφίλ εισόδου. Συνέχιση; @@ -1391,257 +1234,45 @@ This would ban both their forum username and their IP address. Ρυθμίσεις API - - Shader Backend: - - - - - Device: - Συσκευή: - - - - API: - API: - - - - - None - Κανένα - - - + Graphics Settings Ρυθμίσεις Γραφικών - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Χρησιμοποίηση ασύγχρονης εξομοίωσης GPU - - - - Accelerate ASTC texture decoding - Επιτάχυνση του αποκωδικοποίηση υφής ASTC - - - - 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) - - - - 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: - Φίλτρο Προσαρμογής Παραθύρου: - - - - Nearest Neighbor - Πλησιέστερος Γείτονας - - - - Bilinear - Διγραμμικό - - - - Bicubic - Δικυβικό - - - - Gaussian - Gaussian - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (μόνο Vulkan) - - - - Anti-Aliasing Method: - Μέθοδος Anti-Aliasing: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 100% - - - - - - Use global background color - Χρησιμοποιήστε καθολικό χρώμα φόντου - - - - Set background color: - Ορισμός χρώματος φόντου: - - - + Background Color: Χρώμα Φόντου: - - GLASM (Assembly Shaders, NVIDIA Only) - GLASM (Shaders Γλώσσας Μηχανής, μόνο NVIDIA) + + % + FSR sharpening percentage (e.g. 50%) + % - - SPIR-V (Experimental, Mesa Only) + + Off - - %1% - FSR sharpening percentage (e.g. 50%) - %1% + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + @@ -1661,86 +1292,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Προηγμένες Ρυθμίσεις Γραφικών - - - Accuracy Level: - Επίπεδο Ακρίβειας: - - - - 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. Διατηρήστε το ενεργοποιημένο εάν δεν παρατηρείτε διαφορά απόδοσης. - - - - Use VSync - Χρήση VSync - - - - 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. - Ενεργοποιεί περιστασιακές εκκαθαρίσεις των ρυθμιστικών διαύλων. Αυτή η επιλογή θα αναγκάσει τους μη τροποποιημένους ρυθμιστικούς διαύλους να εκκαθαριστούν, πράγμα που μπορεί να κοστίσει σε απόδοση. - - - - Use pessimistic buffer flushes (Hack) - Χρήση περιστασιακών εκκαθαρίσεων ρυθμιστικού διαύλου (Hack) - - - - Anisotropic Filtering: - Ανισοτροπικό Φιλτράρισμα: - - - - Automatic - Αυτόματα - - - - Default - Προεπιλεγμένο - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1770,70 +1321,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 +1671,7 @@ This would ban both their forum username and their IP address. - + Configure Διαμόρφωση @@ -2151,6 +1697,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Απαιτεί επανεκκίνηση του yuzu @@ -2170,22 +1718,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 +1850,7 @@ This would ban both their forum username and their IP address. - + Left Stick Αριστερό Stick @@ -2391,14 +1944,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2417,7 +1970,7 @@ This would ban both their forum username and their IP address. - + Plus Συν @@ -2430,15 +1983,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2495,236 +2048,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 +2346,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Διαμόρφωση @@ -2784,7 +2358,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< CemuhookUDP Config - + CemuhookUDP Config @@ -2808,7 +2382,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Τεστ @@ -2828,81 +2402,179 @@ 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 mouse panning + Ενεργοποιήστε τη μετατόπιση του ποντικιού + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Προεπιλεγμένο + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2934,99 +2606,94 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog - + Info - + Name Όνομα - + Title ID ID Τίτλου - + Filename Όνομα αρχείου - + Format - + Version Έκδοση - + Size Μέγεθος - + Developer Προγραμματιστής - - Add-Ons - Πρόσθετα - - - - General - Γενικά - - - - System - Σύστημα - - - - CPU - CPU - - - - Graphics - Γραφικά - - - - Adv. Graphics - Προχ. Γραφικά - - - - Audio - Ήχος - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Ιδιότητες + Add-Ons + Πρόσθετα - - Use global configuration (%1) - Χρήση καθολικής διαμόρφωσης (%1) + + System + Σύστημα + + + + CPU + CPU + + + + Graphics + Γραφικά + + + + Adv. Graphics + Προχ. Γραφικά + + + + Audio + Ήχος + + + + Input Profiles + + + + + Properties + Ιδιότητες @@ -3221,12 +2888,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 +2914,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] [αναμονή] @@ -3287,450 +3016,20 @@ UUID: %2 + System Σύστημα - - System Settings - Ρυθμίσεις Συστήματος - - - - Region: - Περιφέρεια: - - - - Auto + + Core - - Default - Προεπιλεγμένο - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Κούβα - - - - EET - EET - - - - Egypt - Αίγυπτος - - - - Eire + + Warning: "%1" is not a valid language for region "%2" - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - - - - - GB-Eire - - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Γκρήνουιτς - - - - Hongkong - Χονγκ Κονγκ - - - - HST - HST - - - - Iceland - Ισλανδία - - - - Iran - Ιράν - - - - Israel - Ισραήλ - - - - Jamaica - Ιαμαϊκή - - - - - Japan - Ιαπωνία - - - - Kwajalein - - - - - Libya - Λιβύη - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Ναβάχο - - - - NZ - - - - - NZ-CHAT - - - - - Poland - Πολωνία - - - - Portugal - Πορτογαλία - - - - PRC - - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Σιγκαπούρη - - - - Turkey - Τουρκία - - - - UCT - UCT - - - - Universal - Παγκόσμια - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - - - - - USA - ΗΠΑ - - - - Europe - Ευρώπη - - - - Australia - Αυστραλία - - - - China - Κίνα - - - - Korea - Κορέα - - - - Taiwan - Ταϊβάν - - - - Time Zone: - Ζώνη Ώρας: - - - - Note: this can be overridden when region setting is auto-select - Σημείωση: αυτό μπορεί να παρακαμφθεί όταν η ρύθμιση περιοχής είναι ως αυτόματη επιλογή - - - - Japanese (日本語) - Ιαπωνικά (日本語) - - - - English - Αγγλικά - - - - French (français) - Γαλλικά (Français) - - - - German (Deutsch) - Γερμανικά (Deutsch) - - - - Italian (italiano) - Ιταλικά (Italiano) - - - - Spanish (español) - Ισπανικά (Español) - - - - Chinese - Κινέζικα - - - - Korean (한국어) - Κορεάτικα (한국어) - - - - Dutch (Nederlands) - Ολλανδικά (Nederlands) - - - - Portuguese (português) - Πορτογαλικά (Português) - - - - Russian (Русский) - Ρώσικα (Русский) - - - - Taiwanese - Ταϊβανέζικα - - - - British English - Βρετανικά Αγγλικά - - - - Canadian French - Καναδικά Γαλλικά - - - - Latin American Spanish - Λατινοαμερικάνικα Ισπανικά - - - - Simplified Chinese - Απλοποιημένα Κινέζικα - - - - Traditional Chinese (正體中文) - Παραδοσιακά Κινέζικα (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Πορτογαλικά Βραζιλίας (Português do Brasil) - - - - Custom RTC - - - - - Language - Γλώσσα - - - - RNG Seed - RNG Seed - - - - Device Name - - - - - Mono - Μονοφωνικό - - - - 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 με ένα νέο, και το παλιό δεν θα είναι πια ανακτήσιμο. Αυτό μπορεί να έχει απροσδόκητα αποτελέσματα στα παιχνίδια. Επίσης, μπορεί να αποτύχει εάν χρησιμοποιείτε ένα ξεπερασμένο μέσο αποθήκευσης παιχνιδιού. Συνέχιση; - - - - Warning - Προσοχή - - - - Console ID: 0x%1 - Console ID: 0x%1 - ConfigureTas @@ -3798,7 +3097,7 @@ UUID: %2 Ρυθμίσεις TAS - + Select TAS Load Directory... @@ -3935,64 +3234,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None Κανένα - + Small (32x32) - + Standard (64x64) - + Large (128x128) - + Full Size (256x256) - + Small (24x24) - + Standard (48x48) - + Large (72x72) - + Filename Όνομα αρχείου - + Filetype Τύπος αρχείου - + Title ID ID Τίτλου - + Title Name Όνομα τίτλου @@ -4095,15 +3394,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + Ανάλυση: + + + Select Screenshots Path... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4353,7 +3668,7 @@ Drag points to change position, or double-click table cells to edit values. - + &Controller P1 @@ -4366,42 +3681,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 +3719,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4422,95 +3732,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 +3853,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,123 +4636,228 @@ 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 - - + + OpenGL not available! Το OpenGL δεν είναι διαθέσιμο! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. - - + + Error while initializing OpenGL! Σφάλμα κατα την αρχικοποίηση του OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + Error while initializing 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 - + 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 @@ -5475,168 +4865,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite Αγαπημένο - + Start Game Έναρξη παιχνιδιού - + Start Game without Custom Configuration - + Open Save Data Location Άνοιγμα Τοποθεσίας Αποθήκευσης Δεδομένων - + Open Mod Data Location Άνοιγμα Τοποθεσίας Δεδομένων Mod - + Open Transferable Pipeline Cache - + Remove Αφαίρεση - + Remove Installed Update Αφαίρεση Εγκατεστημένης Ενημέρωσης - + Remove All Installed DLC Αφαίρεση Όλων των Εγκατεστημένων DLC - + Remove Custom Configuration - + + 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 +5102,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Διπλο-κλικ για προσθήκη νεου φακέλου στη λίστα παιχνιδιών @@ -5720,12 +5115,12 @@ Would you like to bypass this and exit anyway? - + Filter: Φίλτρο: - + Enter pattern to filter Εισαγάγετε μοτίβο για φιλτράρισμα @@ -5775,7 +5170,7 @@ Would you like to bypass this and exit anyway? Room Description - + Περιγραφή Δωματίου @@ -5801,12 +5196,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error Σφάλμα - + 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: @@ -5815,138 +5210,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 +5364,7 @@ Debug Message: Εγκατάσταση - + Install Files to NAND @@ -5977,7 +5372,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6042,7 +5437,7 @@ Debug Message: Search - + Αναζήτηση @@ -6051,51 +5446,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 +6028,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE @@ -6677,31 +6077,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [μη ορισμένο] @@ -6712,14 +6112,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Άξονας%1%2 @@ -6730,264 +6130,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 + @@ -7139,7 +6597,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7152,7 +6610,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Διπλά Joycons @@ -7165,7 +6623,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Αριστερό Joycon @@ -7178,7 +6636,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Δεξί Joycon @@ -7207,7 +6665,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handheld @@ -7323,32 +6781,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Χειριστήριο GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Χειριστήριο NES - + SNES Controller Χειριστήριο SNES - + N64 Controller Χειριστήριο N64 - + Sega Genesis Sega Genesis @@ -7356,26 +6814,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 +6853,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 +6977,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 +6998,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 +7109,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/es.ts b/dist/languages/es.ts index c4025d9c4..8dcd0bb26 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> @@ -365,6 +365,26 @@ Esto banearía su nombre del foro y su dirección IP. Siguiente + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Auto (%1) + + + + Default (%1) + Default time zone + Predeterminada (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ Esto banearía su nombre del foro y su dirección IP. Audio Audio - - - Output Engine: - Motor de salida: - - - - Output Device - Dispositivo de salida - - - - Input Device - Dispositivo de entrada - - - - Use global volume - Usar volumen global - - - - Set volume: - Ajustar volumen: - - - - Volume: - Volumen: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,139 +455,25 @@ Esto banearía su nombre del foro y su dirección IP. CPU - + General General - - - Accuracy: - Precisión: - - - - Auto - Auto - - - - Accurate - Preciso - - Unsafe - Impreciso - - - - Paranoid (disables most optimizations) - Inestable (Deshabilita la mayoría de optimizaciones) - - - We recommend setting accuracy to "Auto". Recomendamos establecer la precisión en "Auto". - + Unsafe CPU Optimization Settings Ajustes del Modo Impreciso de optimización de la CPU - + These settings reduce accuracy for speed. Estos ajustes reducen la precisión para mejorar el rendimiento. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Esta opción mejora el rendimiento al reducir la precisión de las instrucciones fused-multiply-add en las CPU sin soporte nativo FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Desactivar FMA (mejora el rendimiento en las CPU sin FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Esta opción mejora el rendimiento de algunas funciones aproximadas de punto flotante al utilizar aproximaciones nativas menos precisas.</div> - - - - - Faster FRSQRTE and FRECPE - FRSQRTE y FRECPE rápido - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Esta opción mejora la velocidad de las funciones de punto flotante ASIMD de 32 bits al ejecutarlas con métodos aproximados e incorrectos.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instrucciones ASIMD rápidas (sólo 32 bits) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Esta opción mejora la velocidad eliminando las comprobaciones NaN. Ten en cuenta que esto también reduce la precisión de algunas instrucciones de punto flotante.</div> - - - - - Inaccurate NaN handling - Gestión imprecisa 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>Esta opción mejora la velocidad al eliminar un control de seguridad antes de cada lectura/escritura de memoria del anfitrión. Desactivarlo podría permitir que los juegos lean/escriban en la memoria del emulador.</div> - - - - - Disable address space checks - Desactivar comprobación del espacio de destino - - - - - <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>Esta opción mejora la velocidad basándose solamente en la semántica de cmpxchg para asegurar la seguridad de las instrucciones de acceso exclusivo. Ten en cuenta que activar esto podría resultar en bloqueos y otros motivos de conflictos.</div> - - - - - Ignore global monitor - Ignorar monitorización global - - - - CPU settings are available only when game is not running. - Los ajustes de la CPU sólo están disponibles cuando no se esté ejecutando ningún juego. - ConfigureCpuDebug @@ -784,7 +649,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 +665,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 +673,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 @@ -824,212 +692,222 @@ Esto banearía su nombre del foro y su dirección IP. ConfigureDebug - + Debugger Depurador - + Enable GDB Stub Activar GDB Stub - + Port: Puerto: - + Logging Registro - - Global Log Filter - Filtro del registro global - - - - Show Log in Console - Ver registro en consola - - - + Open Log Location Abrir ubicación del archivo de registro - - 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 + + Global Log Filter + Filtro del registro global - + + When checked, the max size of the log increases from 100 MB to 1 GB + Al activarlo, el tamaño máximo del registro aumenta de 100 MB a 1 GB. + + + Enable Extended Logging** Habilitar registro extendido** - + + Show Log in Console + Ver registro en consola + + + Homebrew Homebrew - + Arguments String Cadena de argumentos - + Graphics Gráficos - - 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. - - - - Enable Graphics Debugging - Activar depuración de gráficos - - - - When checked, it enables Nsight Aftermath crash dumps - Cuando esté marcado, activará los volcados de los fallos Nsight Aftermath - - - - Enable Nsight Aftermath - Activar Nsight Aftermath - - - - 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 - - - - Dump Game Shaders - Volcar sombreadores 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 - - - - Dump Maxwell Macros - Volcar Macros Maxwell - - - - 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. - - - - Disable Macro JIT - 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 - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + 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. - - Enable Verbose Reporting Services** - Activar servicios de reporte detallados** + + Dump Game Shaders + Volcar shaders del juego - - Enable FS Access Log - Activar registro de acceso FS + + 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. - - 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. + + Disable Macro HLE + Desactivar Macro HLE - - Dump Audio Commands To Console** - Volcar comandos de audio a la consola** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Al activarlo, se desactiva el compilador de macro Just In Time. Activar esto hace que los juegos se ejecuten más lento. - - Create Minidump After Crash - Crear mini volcado tras un crash + + Disable Macro JIT + Desactivar macro JIT - + + When checked, the graphics API enters a slower debugging mode + Al activarlo, la API gráfica entrará en un modo de depuración más lento. + + + + Enable Graphics Debugging + Activar depuración de gráficos + + + + When checked, it will dump all the macro programs of the GPU + Al activarlo, se volcarán todos los programas macro de la GPU. + + + + Dump Maxwell Macros + Volcar Macros Maxwell + + + + 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 enables Nsight Aftermath crash dumps + Al activarlo, se habilitan los volcados Nsight Aftermath de bloqueos o errores. + + + + Enable Nsight Aftermath + Activar Nsight Aftermath + + + 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 - - - - 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 - + + Disable Web Applet + Desactivar Web applet + + + + Enable All Controller Types + Activar todos los tipos de controladores + + + + Enable Auto-Stub** + Activar Auto-Stub** + + + + Kiosk (Quest) Mode + Modo quiosco (Quest) + + + + Enable CPU Debugging + Activar depuración de la CPU + + + + Enable Debug Asserts + Activar alertas de depuración + + + + Debugging + Depuración + + + + Enable FS Access Log + Activar registro de acceso FS + + + + Create Minidump After Crash + Crear mini volcado tras un crash + + + + 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** + + + + Enable Verbose Reporting Services** + Activar servicios de reporte detallados** + + + **This will be reset automatically when yuzu closes. **Esto se reiniciará automáticamente cuando yuzu se cierre. @@ -1044,12 +922,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 +977,83 @@ Esto banearía su nombre del foro y su dirección IP. Configuración de yuzu - - + + Some settings are only available when a game is not running. + Algunos ajustes sólo están disponibles cuando no se esté ejecutando ningún juego. + + + + 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 @@ -1329,62 +1212,17 @@ Esto banearía su nombre del foro y su dirección IP. General - - Limit Speed Percent - Limitar porcentaje de velocidad - - - - % - % - - - - Multicore CPU Emulation - Emulación de CPU multinúcleo - - - - 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. - - - + 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? @@ -1407,257 +1245,45 @@ Esto banearía su nombre del foro y su dirección IP. Ajustes de la API - - Shader Backend: - Soporte de shaders: - - - - Device: - Dispositivo: - - - - API: - API: - - - - - None - Ninguno - - - + Graphics Settings Ajustes gráficos - - Use disk pipeline cache - Usar caché de shaders de tubería - - - - Use asynchronous GPU emulation - Usar emulación asíncrona de GPU - - - - Accelerate ASTC texture decoding - Acelerar decodificación de texturas ASTC - - - - 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) - - - - 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) - - - - 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) - - - - Anti-Aliasing Method: - Método de Anti-Aliasing: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) - - - - SPIR-V (Experimental, Mesa Only) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + Desactivado + + + + VSync Off + VSync Desactivado + + + + Recommended + Recomendado + + + + On + Activado + + + + VSync On + VSync Activado @@ -1677,86 +1303,6 @@ Esto banearía su nombre del foro y su dirección IP. Advanced Graphics Settings Ajustes avanzados de gráficos - - - Accuracy Level: - 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. - - - - Use VSync - Usar VSync - - - - 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. - - - - Use pessimistic buffer flushes (Hack) - Utilizar flujos de búferes pesados (Hack) - - - - Anisotropic Filtering: - Filtrado anisotrópico: - - - - Automatic - Automático - - - - Default - Valor predeterminado - - - - 2x - x2 - - - - 4x - x4 - - - - 8x - x8 - - - - 16x - x16 - ConfigureHotkeys @@ -1786,70 +1332,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 +1682,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Configure Configurar @@ -2167,6 +1708,8 @@ Esto banearía su nombre del foro y su dirección IP. + + Requires restarting yuzu Requiere reiniciar yuzu @@ -2186,22 +1729,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 +1769,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 +1861,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Left Stick Palanca izquierda @@ -2407,14 +1955,14 @@ Esto banearía su nombre del foro y su dirección IP. - + L L - + ZL ZL @@ -2433,7 +1981,7 @@ Esto banearía su nombre del foro y su dirección IP. - + Plus Más @@ -2446,15 +1994,15 @@ Esto banearía su nombre del foro y su dirección IP. - - + + R R - + ZR ZR @@ -2511,236 +2059,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 +2357,7 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho - + Configure Configurar @@ -2824,7 +2393,7 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho - + Test Probar @@ -2844,81 +2413,180 @@ 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 mouse panning + Activar desplazamiento del ratón + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Puede activarse a través de una tecla de acceso rápido. La tecla de acceso rápido por defecto es Ctrl + F9 + + + + 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 + + + + Deadzone + Punto muerto + + + + Stick decay + Decaída del stick + + + + Strength + Fuerza + + + + Minimum + Mínimo + + + + Default + Predeterminado + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + El desplazamiento del ratón funciona mejor con una zona muerta del 0% y un rango del 100%. +Los valores actuales son %1% y %2% respectivamente. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + El ratón emulado está activado. Ésto es incompatible con el desplazamiento del ratón. + + + + 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. + + ConfigureNetwork @@ -2950,100 +2618,95 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho ConfigurePerGame - + Dialog Diálogo - + Info Información - + Name Nombre - + Title ID ID del título - + Filename Nombre del archivo - + Format Formato - + Version Versión - + Size Tamaño - + Developer Desarrollador - + + Some settings are only available when a game is not running. + Algunos ajustes sólo están disponibles cuando no se esté ejecutando ningún juego. + + + 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 - - - Use global configuration (%1) - Usar configuración global (%1) - ConfigurePerGameAddons @@ -3238,13 +2901,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 +2927,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 + El dispositivo de entrada actual no está conectado. + + + + Unexpected driver result %1 + Resultado inesperado del driver %1 + + + [waiting] [esperando] @@ -3304,449 +3029,19 @@ UUID: %2 + System Sistema - - System Settings - Ajustes del sistema + + Core + Núcleo - - Region: - Región: - - - - Auto - Auto - - - - Default - Predeterminado - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egipto - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islandia - - - - Iran - Irán - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japón - - - - Kwajalein - Kwajalein - - - - Libya - Libia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polonia - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Turquía - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulú - - - - USA - EEUU - - - - Europe - Europa - - - - Australia - Australia - - - - China - China - - - - Korea - Corea - - - - Taiwan - Taiwán - - - - Time Zone: - Zona horaria: - - - - Note: this can be overridden when region setting is auto-select - Nota: esto puede ser reemplazado si la opción de región está en "autoseleccionar" - - - - Japanese (日本語) - Japonés (日本語) - - - - English - Inglés (english) - - - - French (français) - Francés (français) - - - - German (Deutsch) - Alemán (deutsch) - - - - Italian (italiano) - Italiano (italiano) - - - - Spanish (español) - Español - - - - Chinese - Chino - - - - Korean (한국어) - Coreano (한국어) - - - - Dutch (Nederlands) - Holandés (nederlands) - - - - Portuguese (português) - Portugués (português) - - - - Russian (Русский) - Ruso (Русский) - - - - Taiwanese - Taiwanés - - - - British English - Inglés británico - - - - Canadian French - Francés canadiense - - - - Latin American Spanish - Español latinoamericano - - - - Simplified Chinese - Chino simplificado - - - - Traditional Chinese (正體中文) - Chino tradicional (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portugués brasileño (português do Brasil) - - - - Custom RTC - RTC personalizado - - - - Language - Idioma - - - - RNG Seed - Semilla de GNA - - - - Device Name - - - - - Mono - Mono - - - - 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 +3110,7 @@ UUID: %2 Configuración TAS - + Select TAS Load Directory... Selecciona el directorio de carga TAS... @@ -3953,64 +3248,64 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de ConfigureUI - - - + + + None Ninguno - + Small (32x32) Pequeño (32x32) - + Standard (64x64) Estándar (64x64) - + Large (128x128) Grande (128x128) - + Full Size (256x256) Tamaño completo (256x256) - + Small (24x24) Pequeño (24x24) - + Standard (48x48) Estándar (48x48) - + Large (72x72) Grande (72x72) - + Filename Nombre del archivo - + Filetype Tipo de archivo - + Title ID ID del título - + Title Name Nombre del título @@ -4113,15 +3408,31 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de ... - + + TextLabel + + + + + Resolution: + Resolución: + + + Select Screenshots Path... Selecciona la ruta de las capturas de pantalla: - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4371,7 +3682,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 +3695,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 +3733,12 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de DirectConnectWindow - + Connecting Conectando - + Connect Conectar @@ -4440,535 +3746,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 +4323,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 +4332,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 +4341,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 +4663,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 +4702,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,48 +4752,143 @@ 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 - - + + OpenGL not available! ¡OpenGL no está disponible! - + OpenGL shared contexts are not supported. - + Los contextos compartidos de OpenGL no son compatibles. - + yuzu has not been compiled with OpenGL support. yuzu no ha sido compilado con soporte de OpenGL. - - + + Error while initializing OpenGL! ¡Error al inicializar OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Tu GPU no soporta OpenGL, o no tienes instalados los últimos controladores gráficos. - + Error while initializing OpenGL 4.6! ¡Error al iniciar 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 Tu GPU no soporta OpenGL 4.6, o no tienes instalado el último controlador de la tarjeta gráfica.<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 Es posible que la GPU no soporte una o más extensiones necesarias de OpenGL . Por favor, asegúrate de tener los últimos controladores de la tarjeta gráfica.<br><br>GL Renderer:<br>%1<br><br>Extensiones no soportadas:<br>%2 @@ -5510,168 +4896,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite Favorito - + Start Game Iniciar juego - + Start Game without Custom Configuration Iniciar juego sin la configuración personalizada - + Open Save Data Location Abrir ubicación de los archivos de guardado - + Open Mod Data Location Abrir ubicación de los mods - + Open Transferable Pipeline Cache - Abrir caché transferible de shaders en tubería + Abrir caché de canalización de shaders transferibles - + Remove Eliminar - + Remove Installed Update Eliminar la actualización instalada - + Remove All Installed DLC Eliminar todos los DLC instalados - + Remove Custom Configuration Eliminar la configuración personalizada - - - Remove OpenGL Pipeline Cache - Eliminar caché en tubería de OpenGL - - - - Remove Vulkan Pipeline Cache - Eliminar caché en tubería de Vulkan - - - - Remove All Pipeline Caches - Eliminar todas las cachés en tubería - + Remove Cache Storage + Quitar almacenamiento de caché + + + + Remove OpenGL Pipeline Cache + Eliminar caché de canalización de OpenGL + + + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 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 +5077,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 +5133,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 +5146,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 +5186,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 +5206,7 @@ Would you like to bypass this and exit anyway? Load Previous Ban List - Cargar lista de vetos anterior + Cargar lista de vetos anteriores @@ -5836,12 +5227,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error Error - + 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: Error al publicar la sala al lobby público. Para poder publicar una sala en el lobby público, debes tener una cuenta válida de yuzu configurada en Emulación -> Configurar -> Web. Si no quieres publicar una sala en el lobby público, seleccione en su lugar "Privada". @@ -5851,138 +5242,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 +5396,7 @@ Mensaje de depuración: Instalar - + Install Files to NAND Instalar archivos al NAND... @@ -6013,7 +5404,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 +5479,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 +5708,7 @@ Mensaje de depuración: &Direct Connect to Room - &Conexión directa a la sala + &Conexión directa a una sala @@ -6537,7 +5933,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 +6066,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIO/PAUSAR @@ -6719,31 +6115,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [no definido] @@ -6754,14 +6150,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eje %1%2 @@ -6772,264 +6168,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 @@ -7181,7 +6635,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Controlador Pro @@ -7194,7 +6648,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joycons duales @@ -7207,7 +6661,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon izquierdo @@ -7220,7 +6674,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon derecho @@ -7249,7 +6703,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portátil @@ -7365,32 +6819,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Controlador de GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Control de NES - + SNES Controller Control de SNES - + N64 Controller Control de N64 - + Sega Genesis Sega Genesis @@ -7398,28 +6852,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 +6897,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 +7021,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 +7042,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 +7153,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..d60d6e227 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 @@ -366,6 +366,26 @@ Cela bannirait à la fois son nom d'utilisateur du forum et son adresse IP. Suivant + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Auto (%1) + + + + Default (%1) + Default time zone + Par défaut (%1) + + ConfigureAudio @@ -374,47 +394,6 @@ Cela bannirait à la fois son nom d'utilisateur du forum et son adresse IP. Audio Audio - - - Output Engine: - Moteur de Sortie : - - - - Output Device - Périphérique de sortie - - - - Input Device - Périphérique d'entrée - - - - Use global volume - Utiliser le volume global - - - - Set volume: - Régler le volume : - - - - Volume: - Volume : - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -477,137 +456,25 @@ Cela bannirait à la fois son nom d'utilisateur du forum et son adresse IP. CPU - + General Général - - - Accuracy: - Précision: - - - - Auto - Auto - - - - Accurate - Précis - - Unsafe - Risqué - - - - Paranoid (disables most optimizations) - Paranoïaque (désactive la plupart des optimisations) - - - We recommend setting accuracy to "Auto". Nous recommandons de mettre la précision à "Auto". - + Unsafe CPU Optimization Settings Paramètres d'optimisation du CPU non sûrs - + These settings reduce accuracy for speed. Ces réglages réduisent la précision au profit de la vitesse. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -Cette option améliore la vitesse en réduisant la précision des instructions fusionnées-multiple-ajoutées sur les CPU sans support FMA natif. - - - - Unfuse FMA (improve performance on CPUs without FMA) - Désactivation du FMA (améliore les performances des CPU sans FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>Cette option augmente la vitesse de certaines fonctions en virgule flottante en utilisant des approximations moins précises.</div> - - - - Faster FRSQRTE and FRECPE - FRSQRTE et FRECPE plus rapides - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Cette option améliore la vitesse des fonctions à virgule flottante 32 bits ASIMD en utilisant des modes d'arrondissement incorrects.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instructions ASIMD plus rapides (32 bits seulement) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Cette option améliore la vitesse en retirant la vérification NaN. Veuillez noter que cela réduit également la précision de certaines instructions à virgule flottante.</div> - - - - - Inaccurate NaN handling - Traitement NaN imprécis - - - - - <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>Cette option améliore la vitesse en éliminant le test de sécurité avant chaque lecture/écriture en mémoire chez l'invité. La désactiver peut permettre à un jeu de lire/écrire dans la mémoire de l'émulateur.</div> - - - - - Disable address space checks - Désactiver les vérifications de l'espace d'adresse - - - - - <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>Cette option améliore la vitesse en s'appuyant uniquement sur la sémantique de cmpxchg pour s'assurer de la sécurité des instructions d'accès exclusif. Veuillez noter que cela peut entraîner des blocages et autres situations de compétition.</div> - - - - - Ignore global monitor - Ignorer le moniteur global - - - - CPU settings are available only when game is not running. - Les paramètres du CPU sont uniquement disponibles quand aucun jeu n'est lancé. - ConfigureCpuDebug @@ -826,212 +693,222 @@ Cette option améliore la vitesse en réduisant la précision des instructions f ConfigureDebug - + Debugger Débogueur - + Enable GDB Stub Activer le "stub" de GDB - + Port: Port : - + Logging S'enregistrer - - Global Log Filter - Filtre de log global - - - - Show Log in Console - Afficher le relevé d'événements dans la console - - - + Open Log Location Ouvrir l'emplacement du journal de logs - + + Global Log Filter + Filtre de log global + + + When checked, the max size of the log increases from 100 MB to 1 GB Lorsque coché, la taille maximum du relevé d'événements augmente de 100 Mo à 1 Go - + Enable Extended Logging** Activer la Journalisation Étendue** - + + Show Log in Console + Afficher le relevé d'événements dans la console + + + Homebrew Homebrew - + Arguments String Chaîne d'arguments - + Graphics Graphismes - - When checked, the graphics API enters a slower debugging mode - Lorsque coché, l'API graphique entre dans un mode de débogage plus lent - - - - Enable Graphics Debugging - Activer le débogage des graphismes - - - - When checked, it enables Nsight Aftermath crash dumps - Une fois cochée, cette option active les "crash dumps" pour Nsight Aftermath - - - - Enable Nsight Aftermath - Activer Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Lorsqu'il est coché, il videra tous les shaders d'assemblage d'origine du cache de shader de disque ou du jeu tels qu'ils ont été trouvés - - - - Dump Game Shaders - Récupérer Shaders Jeu - - - - When checked, it will dump all the macro programs of the GPU - Lorsqu'il est coché, il videra tous les programmes de macro du GPU - - - - Dump Maxwell Macros - Copier les "Maxwell Macros" - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Lorsque coché, désactive le compilateur de macros JIT. L'activer ralentit les jeux - - - - Disable Macro JIT - Désactiver les macros JIT - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Lorsqu'il est coché, il videra tous les shaders d'assemblage d'origine du cache de shader de disque ou du jeu tels qu'ils ont été trouvés - - Enable Verbose Reporting Services** - Activer les services de rapport verbeux** + + Dump Game Shaders + Récupérer Shaders Jeu - - Enable FS Access Log - Activer la journalisation des accès du système de fichiers + + 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 - - 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. + + Disable Macro HLE + Désactiver les macros HLE - - Dump Audio Commands To Console** - Déversez les commandes audio à la console** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Lorsque coché, désactive le compilateur de macros JIT. L'activer ralentit les jeux - - Create Minidump After Crash - Crée un Minidump après un crash + + Disable Macro JIT + Désactiver les macros JIT - + + When checked, the graphics API enters a slower debugging mode + Lorsque coché, l'API graphique entre dans un mode de débogage plus lent + + + + Enable Graphics Debugging + Activer le débogage des graphismes + + + + When checked, it will dump all the macro programs of the GPU + Lorsqu'il est coché, il videra tous les programmes de macro du GPU + + + + Dump Maxwell Macros + Copier les "Maxwell Macros" + + + + 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 enables Nsight Aftermath crash dumps + Une fois cochée, cette option active les "crash dumps" pour Nsight Aftermath + + + + Enable Nsight Aftermath + Activer Nsight Aftermath + + + 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 - + + Disable Web Applet + Désactiver l'applet web + + + + Enable All Controller Types + Activer tous les types de contrôleurs + + + + Enable Auto-Stub** + Activer l'Auto-Stub** + + + + Kiosk (Quest) Mode + Mode Kiosk (Quest) + + + + Enable CPU Debugging + Activer le Débogage CPU + + + + Enable Debug Asserts + Activer les assertions de débogage + + + + Debugging + Débogage + + + + Enable FS Access Log + Activer la journalisation des accès du système de fichiers + + + + Create Minidump After Crash + Crée un Minidump après un crash + + + + 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** + + + + Enable Verbose Reporting Services** + Activer les services de rapport verbeux** + + + **This will be reset automatically when yuzu closes. **Ces options seront réinitialisées automatiquement lorsque yuzu fermera. @@ -1046,12 +923,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 +978,83 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Configuration de yuzu - - + + Some settings are only available when a game is not running. + Certains paramètres ne sont disponibles que lorsqu'un jeu n'est pas en cours d'exécution. + + + + 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 @@ -1331,62 +1213,17 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Général - - Limit Speed Percent - Limiter la vitesse en pourcentage - - - - % - % - - - - Multicore CPU Emulation - Émulation CPU Multicœur - - - - 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é - - - + 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 ? @@ -1409,257 +1246,45 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Paramètres de l'API - - Shader Backend: - Back-end des Shaders : - - - - Device: - Appareil : - - - - API: - API : - - - - - None - Aucune - - - + Graphics Settings Paramètres Vidéo - - Use disk pipeline cache - Utiliser la cache de pipeline sur disque - - - - Use asynchronous GPU emulation - Utiliser l'émulation GPU asynchrone - - - - Accelerate ASTC texture decoding - Accélérer le décodage des textures ASTC - - - - 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 - - - - 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) - - - - 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: - 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) - - - - Anti-Aliasing Method: - Méthode d'anticrénelage : - - - - FXAA - FXAA - - - - 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 @@ -1679,86 +1304,6 @@ Cette option améliore la vitesse en réduisant la précision des instructions f Advanced Graphics Settings Paramètres Vidéo Avancés - - - Accuracy Level: - 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. - - - - Use VSync - Utiliser VSync - - - - 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. - - - - Use pessimistic buffer flushes (Hack) - Utiliser des vidages de tampon pessimistes (Hack) - - - - Anisotropic Filtering: - Filtrage anisotropique : - - - - Automatic - Automatique - - - - Default - Défaut - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1788,70 +1333,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 +1683,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Configure Configurer @@ -2169,6 +1709,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 +1730,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 +1862,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Left Stick Stick Gauche @@ -2409,14 +1956,14 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + L L - + ZL ZL @@ -2435,7 +1982,7 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - + Plus Plus @@ -2448,15 +1995,15 @@ Cette option améliore la vitesse en réduisant la précision des instructions f - - + + R R - + ZR ZR @@ -2513,236 +2060,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 +2358,7 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h - + Configure Configurer @@ -2826,7 +2394,7 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h - + Test Tester @@ -2846,81 +2414,180 @@ 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 mouse panning + Activer le mouvement panorama avec la souris + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Peut être activé/désactivé via un raccourci. Le raccourci par défaut est Ctrl + F9. + + + + 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 + + + + Deadzone + Zone morte + + + + Stick decay + Dégradation du stick + + + + Strength + Force + + + + Minimum + Minimum + + + + Default + Défaut + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Le panoramique de la souris fonctionne mieux avec une zone morte de 0 % et une plage de 100 %. +Les valeurs actuelles sont respectivement de %1% et %2%. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + La souris émulée est activée. C'est incompatible avec le panoramique avec la souris. + + + + 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. + + ConfigureNetwork @@ -2952,100 +2619,95 @@ Pour inverser les axes, bougez d'abord votre joystick verticalement, puis h ConfigurePerGame - + Dialog Dialogue - + Info Info - + Name Nom - + Title ID ID du titre - + Filename Nom du fichier - + Format Format - + Version Version - + Size Taille - + Developer Développeur - + + Some settings are only available when a game is not running. + Certains paramètres ne sont disponibles que lorsqu'un jeu n'est pas en cours d'exécution. + + + 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 - - - Use global configuration (%1) - Utiliser la configuration globale (%1) - ConfigurePerGameAddons @@ -3240,13 +2902,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 +2928,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] @@ -3306,449 +3030,19 @@ UUID : %2 + System Système - - System Settings - Paramètres Système + + Core + Cœur - - Region: - Région : - - - - Auto - Automatique - - - - Default - Défaut - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Égypte - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hong Kong - - - - HST - HST - - - - Iceland - Islande - - - - Iran - Iran - - - - Israel - Israël - - - - Jamaica - Jamaïque - - - - - Japan - Japon - - - - Kwajalein - Kwajalein - - - - Libya - Libye - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Pologne - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapour - - - - Turkey - Turquie - - - - UCT - UCT - - - - Universal - Universel - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - É.-U.A. - - - - Europe - Europe - - - - Australia - Australie - - - - China - Chine - - - - Korea - Corée - - - - Taiwan - Taïwan - - - - Time Zone: - Fuseau horaire : - - - - Note: this can be overridden when region setting is auto-select - Note : ceci peut être remplacé quand le paramètre de région est réglé sur automatique - - - - Japanese (日本語) - Japonais (日本語) - - - - English - Anglais - - - - French (français) - Français (français) - - - - German (Deutsch) - Allemand (Deutsch) - - - - Italian (italiano) - Italien (italiano) - - - - Spanish (español) - Espagnol (español) - - - - Chinese - Chinois - - - - Korean (한국어) - Coréen (한국어) - - - - Dutch (Nederlands) - Néerlandais (Nederlands) - - - - Portuguese (português) - Portugais (português) - - - - Russian (Русский) - Russe (Русский) - - - - Taiwanese - Taïwanais - - - - British English - Anglais Britannique - - - - Canadian French - Français Canadien - - - - Latin American Spanish - Espagnol d'Amérique Latine - - - - Simplified Chinese - Chinois Simplifié - - - - Traditional Chinese (正體中文) - Chinois Traditionnel (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portugais Brésilien (português do Brasil) - - - - Custom RTC - RTC Customisé - - - - Language - Langue - - - - RNG Seed - Seed RNG - - - - Device Name - - - - - Mono - Mono - - - - 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 +3111,7 @@ UUID : %2 Configuration du TAS - + Select TAS Load Directory... Sélectionner le dossier de chargement du TAS... @@ -3955,64 +3249,64 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce ConfigureUI - - - + + + None Aucun - + Small (32x32) Petite (32x32) - + Standard (64x64) Standard (64x64) - + Large (128x128) Grande (128x128) - + Full Size (256x256) Taille Maximale (256x256) - + Small (24x24) Petite (24x24) - + Standard (48x48) Standard (48x48) - + Large (72x72) Grande (72x72) - + Filename Nom du fichier - + Filetype Type du fichier - + Title ID Identifiant du Titre - + Title Name Nom du Titre @@ -4115,15 +3409,31 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce ... - + + TextLabel + + + + + Resolution: + Résolution : + + + Select Screenshots Path... Sélectionnez le chemin du dossier des captures d'écran... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + Auto (%1 x %2, %3 x %4) + ConfigureVibration @@ -4373,7 +3683,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 +3696,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 +3734,12 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce DirectConnectWindow - + Connecting Connexion - + Connect Connecter @@ -4442,923 +3747,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 +4655,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 +4694,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,48 +4744,143 @@ 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 - - + + OpenGL not available! OpenGL n'est pas disponible ! - + OpenGL shared contexts are not supported. - + Les contextes OpenGL partagés ne sont pas pris en charge. - + yuzu has not been compiled with OpenGL support. yuzu n'a pas été compilé avec le support OpenGL. - - + + Error while initializing OpenGL! Erreur lors de l'initialisation d'OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Votre GPU peut ne pas prendre en charge OpenGL, ou vous n'avez pas les derniers pilotes graphiques. - + Error while initializing OpenGL 4.6! Erreur lors de l'initialisation d'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 Votre GPU peut ne pas prendre en charge OpenGL 4.6 ou vous ne disposez pas du dernier pilote graphique: %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 Votre GPU peut ne pas prendre en charge une ou plusieurs extensions OpenGL requises. Veuillez vous assurer que vous disposez du dernier pilote graphique.<br><br>GL Renderer :<br>%1<br><br>Extensions non prises en charge :<br>%2 @@ -5503,168 +4888,173 @@ Voulez-vous ignorer ceci and quitter quand même ? GameList - + Favorite Préférer - + Start Game Démarrer le jeu - + Start Game without Custom Configuration Démarrer le jeu sans configuration personnalisée - + Open Save Data Location Ouvrir l'emplacement des données de sauvegarde - + Open Mod Data Location Ouvrir l'emplacement des données des mods - + Open Transferable Pipeline Cache Ouvrir la Cache de Pipeline Transférable - + Remove Supprimer - + Remove Installed Update Supprimer mise à jour installée - + Remove All Installed DLC Supprimer tous les DLC installés - + Remove Custom Configuration Supprimer la configuration personnalisée - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 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 +5125,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 +5138,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 @@ -5829,12 +5219,12 @@ Voulez-vous ignorer ceci and quitter quand même ? HostRoomWindow - + Error Erreur - + 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: Échec de l'annonce de la salle dans le hall public. Pour héberger une salle publiquement, vous devez avoir un compte yuzu valide configuré dans Emulation -> Configurer -> Web. Si vous ne souhaitez pas publier une salle dans le hall public, sélectionnez plutôt Non Répertorié. @@ -5844,138 +5234,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 +5388,7 @@ Message de débogage : Installer - + Install Files to NAND Installer des fichiers sur la NAND @@ -6006,7 +5396,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 +5471,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 +6058,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE Démarrer/Pause @@ -6712,31 +6107,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Maj - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [non défini] @@ -6747,14 +6142,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axe %1%2 @@ -6765,264 +6160,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 @@ -7174,7 +6627,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7187,7 +6640,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Deux Joycons @@ -7200,7 +6653,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon gauche @@ -7213,7 +6666,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon droit @@ -7242,7 +6695,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portable @@ -7358,32 +6811,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7391,28 +6844,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 +6889,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 +7013,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 +7034,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 +7145,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..e47ebe279 100644 --- a/dist/languages/id.ts +++ b/dist/languages/id.ts @@ -86,7 +86,7 @@ p, li { white-space: pre-wrap; } Send Message - + Kirim Pesan @@ -132,7 +132,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? - + Ketika anda memblock pemain, anda tidak akan dapat menerima pesan dari mereka.<br><br>Apakah kamu yakin untuk melakukan blokir %1? @@ -177,7 +177,7 @@ This would ban both their forum username and their IP address. Room Description - + Deskripsi ruangan @@ -357,6 +357,26 @@ This would ban both their forum username and their IP address. Berikutnya + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -365,47 +385,6 @@ This would ban both their forum username and their IP address. Audio Audio - - - Output Engine: - Mesin Keluaran: - - - - Output Device - - - - - Input Device - Perangkat Masukan - - - - Use global volume - Pakai volume global - - - - Set volume: - Atur volume: - - - - Volume: - Volume: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -442,7 +421,7 @@ This would ban both their forum username and their IP address. Click to preview - + Klik untuk melihat pratinjau @@ -468,133 +447,25 @@ This would ban both their forum username and their IP address. CPU - + General Umum - - - Accuracy: - Akurasi: - - - - Auto - Otomatis - - - - Accurate - Akurat - - Unsafe - Berbahaya - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". Kami sarankan untuk mengatur akurasi ke "Otomatis". - + Unsafe CPU Optimization Settings Pengaturan Optimisasi CPU Berbahaya - + These settings reduce accuracy for speed. Pengaturan ini mengurangi akurasi untuk menambah kecepatan. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -<div>Opsi ini meningkatkan kecepatan dengan mengurangi akurasi dari instruksi fused-multiply-add pada CPU tanpa dukungan FMA bawaan.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Pisahkan FMA (meningkatkan performa pada CPU tanpa FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Opsi ini meningkatkan kecepatan untuk beberapa perkiraan fungsi titik mengambang dengan menggunakan perkiraan bawaan yang kurang akurat.</div> - - - - - Faster FRSQRTE and FRECPE - FRSQRTE dan FRECPE lebih cepat - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - -<div>Opsi ini meningkatkan kecepatan fungsi titik mengambang 32 bits ASIMD dengan menjalankan metode pembulatan yang salah.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instruksi ASIMD lebih cepat (hanya untuk 32 bits) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - - - - Inaccurate NaN handling - Penanganan NaN tidak akurat - - - - - <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> - - - - - - Disable address space checks - Matikan pengecekan adress space - - - - - <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> - - - - - - Ignore global monitor - Abaikan monitor global - - - - CPU settings are available only when game is not running. - Pengaturan CPU hanya tersedia saat permainan tidak dijalankan. - ConfigureCpuDebug @@ -783,212 +654,222 @@ Memungkinkan berbagai macam optimasi IR. ConfigureDebug - + Debugger - + Enable GDB Stub Aktifkan GDB Stub - + Port: Port: - + Logging Pencatatan - - Global Log Filter - Catatan Penyaring Global - - - - Show Log in Console - Tampilkan Catatan Di Konsol - - - + Open Log Location Buka Lokasi Catatan - + + Global Log Filter + Catatan Penyaring Global + + + When checked, the max size of the log increases from 100 MB to 1 GB Saat dicentang, ukuran maksimum log meningkat dari 100 MB menjadi 1 GB - + Enable Extended Logging** Aktifkan Pencatatan Yang Diperluas** - + + Show Log in Console + Tampilkan Catatan Di Konsol + + + Homebrew Homebrew - + Arguments String String Argumen - + Graphics Grafis - - When checked, the graphics API enters a slower debugging mode - - - - - Enable Graphics Debugging - Nyalakan Pengawakutuan Grafis - - - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - Aktifkan Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Saat dicentang, ini menonaktifkan kompiler makro Just In Time. Mengaktifkan ini membuat game berjalan lebih lambat - - - - Disable Macro JIT - Matikan Macro JIT - - - - 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. + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - Dump Audio Commands To Console** + + Dump Game Shaders - - Create Minidump After Crash + + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - Advanced - Lanjutan - - - - Kiosk (Quest) Mode - Mode Kiosk (Pencarian) - - - - Enable CPU Debugging - Nyalakan Pengawakutuan CPU - - - - Enable Debug Asserts - Nyalakan Awakutu Assert - - - - Enable Auto-Stub** + + Disable Macro HLE - Enable All Controller Types - Aktifkan Semua Jenis Controller + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Saat dicentang, ini menonaktifkan kompiler makro Just In Time. Mengaktifkan ini membuat game berjalan lebih lambat - - Disable Web Applet - Matikan Applet Web + + Disable Macro JIT + Matikan Macro JIT - + + When checked, the graphics API enters a slower debugging mode + + + + + Enable Graphics Debugging + Nyalakan Pengawakutuan Grafis + + + + When checked, it will dump all the macro programs of the GPU + + + + + Dump Maxwell Macros + + + + + 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 enables Nsight Aftermath crash dumps + + + + + Enable Nsight Aftermath + Aktifkan Nsight Aftermath + + + + Advanced + Lanjutan + + + 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 - + + Disable Web Applet + Matikan Applet Web + + + + Enable All Controller Types + Aktifkan Semua Jenis Controller + + + + Enable Auto-Stub** + + + + + Kiosk (Quest) Mode + Mode Kiosk (Pencarian) + + + + Enable CPU Debugging + Nyalakan Pengawakutuan CPU + + + + Enable Debug Asserts + Nyalakan Awakutu Assert + + + + Debugging + Pengawakutuan + + + + Enable FS Access Log + Nyalakan Log Akses FS + + + + Create Minidump After Crash + + + + + 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** + + + + + Enable Verbose Reporting Services** + Nyalakan Layanan Laporan Bertele-tele** + + + **This will be reset automatically when yuzu closes. **Ini akan diatur ulang secara otomatis ketika yuzu ditutup. @@ -1000,15 +881,15 @@ Memungkinkan berbagai macam optimasi IR. yuzu is required to restart in order to apply this setting. - + yuzu harus dimuat-ulang untuk mengaplikasikan pengaturan ini. - + Web applet not compiled - + MiniDump creation not compiled @@ -1058,78 +939,83 @@ Memungkinkan berbagai macam optimasi IR. Komfigurasi yuzu - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1288,62 +1174,17 @@ Memungkinkan berbagai macam optimasi IR. Umum - - Limit Speed Percent - Persen Batas Kecepatan - - - - % - % - - - - Multicore CPU Emulation - Emulasi CPU Multicore - - - - 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 - - - + 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? @@ -1366,257 +1207,45 @@ Memungkinkan berbagai macam optimasi IR. Pengaturan API - - Shader Backend: - Backend Shader: - - - - Device: - Perangkat: - - - - API: - API: - - - - - None - Tak ada - - - + Graphics Settings Pengaturan Grafis - - Use disk pipeline cache - Gunakan pipeline cache diska - - - - Use asynchronous GPU emulation - Gunakan pengemulasian GPU yang asinkron - - - - Accelerate ASTC texture decoding - Percepat penguraian tekstur ASTC - - - - 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) - - - - 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: - Filter Menyelaraskan dengan Layar: - - - - Nearest Neighbor - Nearest Neighbor - - - - Bilinear - Biliner - - - - Bicubic - Bikubik - - - - Gaussian - Gaussian - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - 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) + + % + FSR sharpening percentage (e.g. 50%) + % - - SPIR-V (Experimental, Mesa Only) + + Off + Mati + + + + VSync Off - - %1% - FSR sharpening percentage (e.g. 50%) - %1% + + Recommended + Direkomendasikan + + + + On + Nyala + + + + VSync On + @@ -1636,86 +1265,6 @@ Memungkinkan berbagai macam optimasi IR. Advanced Graphics Settings Pengaturan Grafis Lanjutan - - - Accuracy Level: - 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. - - - - - Use Fast GPU Time (Hack) - - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotropic Filtering: - - - - Automatic - Otomatis - - - - Default - Bawaan - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1745,70 +1294,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 - + Tidak valid - + 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 +1644,7 @@ Memungkinkan berbagai macam optimasi IR. - + Configure Konfigurasi @@ -2126,6 +1670,8 @@ Memungkinkan berbagai macam optimasi IR. + + Requires restarting yuzu Memerlukan mengulang yuzu @@ -2145,22 +1691,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 +1823,7 @@ Memungkinkan berbagai macam optimasi IR. - + Left Stick Stik Kiri @@ -2366,14 +1917,14 @@ Memungkinkan berbagai macam optimasi IR. - + L L - + ZL ZL @@ -2392,7 +1943,7 @@ Memungkinkan berbagai macam optimasi IR. - + Plus Tambah @@ -2405,15 +1956,15 @@ Memungkinkan berbagai macam optimasi IR. - - + + R R - + ZR ZR @@ -2470,236 +2021,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 + Tombol turbo + + + + 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 + Kalibrasi 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 +2319,7 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda - + Configure Konfigurasi @@ -2783,7 +2355,7 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda - + Test Uji coba @@ -2803,81 +2375,179 @@ 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 mouse panning + Nyalakan geseran tetikus + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Dapat diaktifkan melalui hotkey. Ctrl + F9 adalah hotkey bawaan + + + + Sensitivity + Sensitivitas + + + + Horizontal + Horisontal + + + + + + + + % + % + + + + Vertical + Vertikal + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Bawaan + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2909,99 +2579,94 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda ConfigurePerGame - + Dialog Dialog - + Info Info - + Name Nama - + Title ID ID Judul - + Filename Nama Berkas - + Format Format - + Version Versi - + Size Ukuran - + Developer Pengembang - - Add-Ons - Pengaya (Add-On) - - - - General - Umum - - - - System - Sistem - - - - CPU - CPU - - - - Graphics - Grafis - - - - Adv. Graphics - Ljtan. Grafik - - - - Audio - Audio - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Properti + Add-Ons + Pengaya (Add-On) - - Use global configuration (%1) - Gunakan konfigurasi global (%1) + + System + Sistem + + + + CPU + CPU + + + + Graphics + Grafis + + + + Adv. Graphics + Ljtan. Grafik + + + + Audio + Audio + + + + Input Profiles + + + + + Properties + Properti @@ -3196,12 +2861,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 +2887,95 @@ UUID: %2 Titik Mati: 0% - + + Direct Joycon Driver + + + + + Enable Ring Input + + + + + + Enable + + + + + Ring Sensor Value + + + + + + Not connected + Tidak terkoneksi + + + 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] @@ -3262,450 +2989,20 @@ UUID: %2 + System Sistem - - System Settings - Pengaturan Sistem + + Core + Core - - Region: - Wilayah: - - - - Auto - Otomatis - - - - Default - Bawaan - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Kuba - - - - EET - EET - - - - Egypt - Mesir - - - - Eire - Éire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB (Britania Raya) - - - - GB-Eire - GB-Éire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islandia - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaika - - - - - Japan - Jepang - - - - Kwajalein - Kwajalein - - - - Libya - Libya - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ (Selandia Baru) - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polandia - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapura - - - - Turkey - Turki - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA (Amerika Serikat) - - - - Europe - Eropa - - - - Australia - Australia - - - - China - Tiongkok - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Zona Waktu: - - - - Note: this can be overridden when region setting is auto-select - Catatan: ini dapat diubah ketika pengaturan wilayah diotomatiskan - - - - Japanese (日本語) - Jepang (日本語) - - - - English - Inggris - - - - French (français) - Prancis (français) - - - - German (Deutsch) - Jerman (Deutsch) - - - - Italian (italiano) - Italia (italiano) - - - - Spanish (español) - Spanyol (español) - - - - Chinese - Cina - - - - Korean (한국어) - Korea (한국어) - - - - Dutch (Nederlands) - Belanda (Nederlands) - - - - Portuguese (português) - Portugis (português) - - - - Russian (Русский) - Rusia (Русский) - - - - Taiwanese - Taiwan - - - - British English - Inggris Britania - - - - Canadian French - Prancis Kanada - - - - Latin American Spanish - Spanyol Amerika Latin - - - - Simplified Chinese - Cina Sederhana - - - - Traditional Chinese (正體中文) - Cina Tradisional (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portugis Brazil (português do Brasil) - - - - Custom RTC - RTC Kustom - - - - Language - Bahasa - - - - RNG Seed - Benih RNG - - - - Device Name + + Warning: "%1" is not a valid language for region "%2" - - - Mono - Mono - - - - 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 - ConfigureTas @@ -3773,7 +3070,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -3910,64 +3207,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None Tak ada - + Small (32x32) Kecil (32x32) - + Standard (64x64) Standar (64x64) - + Large (128x128) Besar (128x128) - + Full Size (256x256) Ukuran Penuh (256x256) - + Small (24x24) Kecil (24x24) - + Standard (48x48) Standar (48x48) - + Large (72x72) Besar (72x72) - + Filename Nama Berkas - + Filetype Filetype - + Title ID ID Judul - + Title Name Nama Judul @@ -4070,15 +3367,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + Resolusi: + + + Select Screenshots Path... Pilih Jalur Screenshot... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4301,7 +3614,7 @@ Drag points to change position, or double-click table cells to edit values. Verified Tooltip - + Terverifikasi @@ -4328,7 +3641,7 @@ Drag points to change position, or double-click table cells to edit values.Kontroler P1 - + &Controller P1 %Kontroler P1 @@ -4341,42 +3654,37 @@ Drag points to change position, or double-click table cells to edit values. - - IP Address + + Server Address + Alamat Server + + + + <html><head/><body><p>Server address of the host</p></body></html> - - IP - - - - - <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 - + Kata sandi - + Connect @@ -4384,12 +3692,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting - + Connect @@ -4397,924 +3705,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 + Membunyikan + + + + Mute + Bisukan + + + + Reset Volume + Atur ulang tingkat suara + + + &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 saat menghapus konten - + Error Removing Update - + Error saat menghapus Update - + Error Removing DLC - + Error saat menghapus DLC - + Remove Installed Game Contents? - + Hapus Konten Game yang terinstall? - + Remove Installed Game Update? - + Hapus Update Game yang terinstall? - + Remove Installed Game DLC? - + Hapus DLC Game yang terinstall? - + Remove Entry Hapus Masukan - - - - - - + + + + + + Successfully Removed - + Berhasil menghapus - + 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 - + Buat Pintasan - + 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 - + Buat ikon - + 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 + + VOLUME: MUTE + VOLUME : SENYAP - - SMAA + + 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,123 +4608,230 @@ 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 + Terdekat + + + + Bilinear + Biliner + + + + Bicubic + Bikubik + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Terpasang + + + + Handheld + Jinjing + + + + Normal + Normal + + + + High + Tinggi + + + + Extreme + + + + + Vulkan + + + + + OpenGL + + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow - - + + OpenGL not available! OpenGL tidak tersedia! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. - - + + Error while initializing OpenGL! Terjadi kesalahan menginisialisasi OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. VGA anda mungkin tidak mendukung OpenGL, atau anda tidak memiliki pemacu piranti (driver) grafis terbaharu. - + Error while initializing OpenGL 4.6! Terjadi kesalahan menginisialisasi 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 VGA anda mungkin tidak mendukung OpenGL 4.6, atau anda tidak memiliki pemacu piranti (driver) grafis terbaharu.<br><br>Pemuat GL:<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 VGA anda mungkin tidak mendukung satu atau lebih ekstensi OpenGL. Mohon pastikan bahwa anda memiliki pemacu piranti (driver) grafis terbaharu.<br><br>Pemuat GL:<br>%1<br><br>Ekstensi yang tidak didukung:<br>%2 @@ -5449,168 +4839,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite Favorit - + Start Game - + Mulai permainan - + Start Game without Custom Configuration - + Open Save Data Location Buka Lokasi Data Penyimpanan - + Open Mod Data Location Buka Lokasi Data Mod - + Open Transferable Pipeline Cache - + Remove Singkirkan - + Remove Installed Update - + Remove All Installed DLC - + Remove Custom Configuration - - - Remove OpenGL Pipeline Cache - - - - - Remove Vulkan Pipeline Cache - - - - - Remove All Pipeline Caches - - - Remove All Installed Contents + Remove Cache Storage - - Dump RomFS + Remove OpenGL Pipeline Cache - - Dump RomFS to SDMC + + Remove Vulkan Pipeline Cache - Copy Title ID to Clipboard + Remove All Pipeline Caches - Navigate to GameDB entry - + Remove All Installed Contents + Hapus semua konten terinstall. + - Create Shortcut - + Dump RomFS + Dump RomFS - Add to Desktop + Dump RomFS to SDMC + + + Copy Title ID to Clipboard + Salin Judul ID ke Clipboard. + + Navigate to GameDB entry + Pindah ke tampilan GameDB + + + + Create Shortcut + Buat pintasan + + + + Add to Desktop + Menambahkan ke Desktop + + + Add to Applications Menu - + Properties Properti - + Scan Subfolders - + Memindai subfolder - + 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 @@ -5635,7 +5030,7 @@ Would you like to bypass this and exit anyway? Game can be played without issues. - + Permainan dapat dimainkan tanpa kendala. @@ -5665,25 +5060,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 +5089,14 @@ Would you like to bypass this and exit anyway? - + Filter: - + Enter pattern to filter - + Masukkan pola untuk memfilter @@ -5709,12 +5104,12 @@ Would you like to bypass this and exit anyway? Create Room - + Buat Ruangan Room Name - + Nama Ruang @@ -5739,7 +5134,7 @@ Would you like to bypass this and exit anyway? Password - + Kata sandi @@ -5749,7 +5144,7 @@ Would you like to bypass this and exit anyway? Room Description - + Deskripsi ruang @@ -5775,12 +5170,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error - + 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: @@ -5789,138 +5184,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 +5338,7 @@ Debug Message: Install - + Install Files to NAND Install File ke NAND @@ -5951,7 +5346,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -5972,7 +5367,7 @@ Debug Message: Estimated Time 5m 4s - + Waktu yang diperlukan 5m 4d @@ -6016,7 +5411,7 @@ Debug Message: Search - + Cari @@ -6025,51 +5420,56 @@ Debug Message: + Hide Empty Rooms + + + + Hide Full Rooms - + Refresh Lobby - + Password Required to Join - + Kata sandi diperlukan untuk bergabung - + Password: - + Kata sandi - + Players Pemain - + Room Name - + Nama Ruang - + Preferred Game - + Host - + Refreshing - + Refresh List @@ -6114,22 +5514,22 @@ Debug Message: Reset Window Size to &720p - + Atur ulang ukuran bingkai ke &720p Reset Window Size to 720p - + Atur ulang ukuran bingkai ke 720p Reset Window Size to &900p - + Atur ulang ukuran bingkai ke &900p Reset Window Size to 900p - + Atur ulang ukuran bingkai ke 900p @@ -6229,7 +5629,7 @@ Debug Message: Show Status Bar - + Munculkan Status Bar @@ -6284,7 +5684,7 @@ Debug Message: Open &Quickstart Guide - + Buka %Panduan cepat @@ -6376,7 +5776,7 @@ Debug Message: IP Address - + Alamat IP @@ -6409,7 +5809,7 @@ Debug Message: New Messages Received - + Pesan baru diterima @@ -6530,7 +5930,7 @@ Please go to Configure -> System -> Network and make a selection. Game already running - + Game sudah berjalan @@ -6599,9 +5999,9 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE - + MULAI/JEDA @@ -6639,7 +6039,7 @@ p, li { white-space: pre-wrap; } Add New Game Directory - + Tambahkan direktori permainan @@ -6648,31 +6048,31 @@ p, li { white-space: pre-wrap; } - - + + Shift - + Ubah - - + + Ctrl - + Ctrl - - + + Alt - + Alt - - - - + + + + [not set] [belum diatur] @@ -6683,14 +6083,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 @@ -6701,263 +6101,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 - + + L1 + L1 - - L3 - + + L2 + L2 - - R1 - + + L3 + L3 - - R2 - + + R1 + R1 - - R3 - + + R2 + R2 - - Circle - + + R3 + R3 - - Cross - + + Circle + O - - Square - + + Cross + X - - Triangle - + + Square + - + + Triangle + + + + + Share - - + + Options - + Opsi - - + + [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 + Stik Analog Kiri + + + + Stick R + Stik Analog Kanan + + + + 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 @@ -7110,7 +6568,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Kontroler Pro @@ -7123,7 +6581,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joycon Dual @@ -7136,7 +6594,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon Kiri @@ -7149,7 +6607,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon Kanan @@ -7178,7 +6636,7 @@ p, li { white-space: pre-wrap; } - + Handheld Jinjing @@ -7294,32 +6752,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7327,26 +6785,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 +6824,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 @@ -7391,7 +6910,7 @@ Please try again or contact the developer of the software. Enter Text - + Masukkan teks @@ -7419,57 +6938,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 +6965,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + paused - + dijeda - + 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 +7076,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree diff --git a/dist/languages/it.ts b/dist/languages/it.ts index b41728cb7..6b0ad887e 100644 --- a/dist/languages/it.ts +++ b/dist/languages/it.ts @@ -242,102 +242,102 @@ 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> - + <html><head/><body><p>Il gioco parte?</p></body></html> Yes The game starts to output video or audio - + Sì Il gioco inizia a riprodurre audio o video No The game doesn't get past the "Launching..." screen - + No Il gioco non supera la schermata d'avvio Yes The game gets past the intro/menu and into gameplay - + Sì Il gioco supera l'introduzione/il menù e raggiunge il gameplay No The game crashes or freezes while loading or using the menu - + No Il gioco va in crash o si blocca durante il caricamento o usando il menù <html><head/><body><p>Does the game reach gameplay?</p></body></html> - + <html><head/><body><p>Il gioco raggiunge il gameplay?</p></body></html> Yes The game works without crashes - + Sì Il gioco funziona senza andare in crash No The game crashes or freezes during gameplay - + No Il gioco va in crash o si blocca durante il gameplay <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - + <html><head/><body><p>Il gioco funziona senza bloccarsi o andare in crash durante il gameplay?</p></body></html> Yes The game can be finished without any workarounds - + Sì Il gioco può essere completato senza alcun espediente No The game can't progress past a certain area - + No Non è possibile progredire oltre una certa area <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - + <html><head/><body><p>Il gioco è completamente giocabile dall'inizio alla fine?</p></body></html> Major The game has major graphical errors - + Gravi Il gioco presenta problemi grafici gravi Minor The game has minor graphical errors - + Lievi Il gioco presenta problemi grafici lievi None Everything is rendered as it looks on the Nintendo Switch - + Nessuno Il gioco si presenta esattamente come sulla Nintendo Switch <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - + <html><head/><body><p> Il gioco presenta dei problemi grafici? </p></body></html> Major The game has major audio errors - + Gravi Il gioco presenta gravi problemi sonori Minor The game has minor audio errors - + Lievi Il gioco presenta lievi problemi sonori None Audio is played perfectly - + Nessuno Il gioco non presenta alcun problema nel comparto sonoro <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - + <html><head/><body><p>Il gioco presenta effetti sonori mancanti o difetti audio?</p></body></html> @@ -365,6 +365,26 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Successivo + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Automatico (%1) + + + + Default (%1) + Default time zone + Predefinito (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Audio Audio - - - Output Engine: - Motore di output: - - - - Output Device - Dispositivo di output - - - - Input Device - Dispositivo di input - - - - Use global volume - Usa il volume globale - - - - Set volume: - Imposta il volume: - - - - Volume: - Volume: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,135 +455,25 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.CPU - + General Generale - - - Accuracy: - Accuratezza: - - - - Auto - Automatica - - - - Accurate - Accurata - - Unsafe - Non sicura - - - - Paranoid (disables most optimizations) - Paranoica (disabilita la maggior parte delle ottimizzazioni) - - - We recommend setting accuracy to "Auto". Raccomandiamo di impostare l'accuratezza su "Automatica". - + Unsafe CPU Optimization Settings Impostazioni di ottimizzazione non sicura della CPU - + These settings reduce accuracy for speed. Queste impostazioni riducono l'accuratezza a favore della velocità. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Questa opzione migliora la velocità riducendo la precisione fused-multiply-add ossia FMA sulle CPU senza il supporto FMA nativo.</div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - Non fondere FMA (migliora le prestazioni della CPU senza FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Questa opzione migliora la velocità di alcune funzioni a virgola mobile approssimate utilizzando approssimazioni native meno accurate.</div> - - - - Faster FRSQRTE and FRECPE - FRSQRTE e FRECPE più veloci - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Questa opzione migliora la velocità delle funzioni in virgola mobile ASIMD a 32 bit eseguendole con modalità di arrotondamento errate.</div> - - - - - Faster ASIMD instructions (32 bits only) - Istruzioni ASIMD più veloci (solo 32 bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Questa opzione migliora la velocità rimuovendo i controlli NaN. Ciò ridurrà l'accuratezza di alcune istruzioni a virgola mobile.</div> - - - - - Inaccurate NaN handling - Gestione inaccurata 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>Questa opzione migliora la velocità eliminando un controllo di sicurezza prima di ogni lettura/scrittura di memoria del guest. Disabilitarla può permettere ad un gioco di leggere/scrivere la memoria dell'emulatore.</div> - - - - - Disable address space checks - Disattiva i controlli dello spazio degli indirizzi - - - - - <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> - - - - - - Ignore global monitor - Ignora il monitor globale - - - - CPU settings are available only when game is not running. - Le impostazioni della CPU sono disponibili solo quando il gioco non è in esecuzione. - ConfigureCpuDebug @@ -626,7 +495,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. <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;">Solo durante il debug.</span><br/>Se non sei sicuro su cosa facciano queste opzioni, lasciale tutte attive.<br/>Queste opzioni avranno effetto solo se la modalità di Debug della CPU è attiva</p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Solo per il debug.</span><br/>Se non sei sicuro su cosa facciano queste opzioni, lasciale tutte attive.<br/>Queste opzioni avranno effetto solo se la modalità di Debug della CPU è attiva</p></body></html> @@ -753,15 +622,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - <div style="white-space: nowrap">Questa ottimizzazione accelera gli accessi alla memoria da parte del programma guest.</div> - <div style="white-space: nowrap">L'abilitazione fa sì che le letture/scritture della memoria del guest siano fatte direttamente nella memoria e facciano uso della MMU dell'host.</div> - <div style="white-space: nowrap">Disabilitandolo si costringono tutti gli accessi alla memoria ad usare l'emulazione software MMU.</div> + <div style="white-space: nowrap">Questa ottimizzazione velocizza gli accessi alla memoria da parte del programma emulato.</div> + <div style="white-space: nowrap">Abilitandola, le letture/scritture nella memoria del programma emulato vengono eseguite direttamente in memoria e usano la MMU dell'host.</div> + <div style="white-space: nowrap">Disabilitandola, si costringono tutti gli accessi alla memoria ad usare l'emulazione software della MMU.</div> Enable Host MMU Emulation (general memory instructions) - + Abilita l'emulazione della MMU nell'host (istruzioni di memoria generiche) @@ -770,12 +639,16 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + + <div style="white-space: nowrap">Questa ottimizzazione velocizza gli accessi esclusivi alla memoria da parte del programma emulato.</div> + <div style="white-space: nowrap">Abilitandola, le letture/scritture esclusive nella memoria del programma emulato vengono eseguite direttamente in memoria e usano la MMU dell'host.</div> + <div style="white-space: nowrap">Disabilitandola, si costringono tutti gli accessi esclusivi alla memoria ad usare l'emulazione software della MMU.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Abilita l'emulazione della MMU nell'host (per le istruzioni di memoria esclusive) @@ -783,12 +656,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + + <div style="white-space: nowrap">Questa ottimizzazione velocizza gli accessi esclusivi alla memoria da parte del programma emulato.</div> + <div style="white-space: nowrap">Abilitandola, si riduce il carico aggiuntivo causato dagli errori di fastmem.</div> + Enable recompilation of exclusive memory instructions - + Abilita la ricompilazione delle istruzioni di memoria esclusive @@ -796,12 +672,14 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + + <div style="white-space: nowrap">Questa ottimizzazione velocizza l'accesso alla memoria ignorando gli accessi non validi.</div> + <div style="white-space: nowrap">Abilitarlo riduce il carico di tutti gli accessi alla memoria e non ha alcun impatto sui programmi che non accedono ad aree di memoria non valide.</div> Enable fallbacks for invalid memory accesses - + Abilita fallback per accessi alla memoria non validi @@ -812,212 +690,222 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. ConfigureDebug - + Debugger Debugger - + Enable GDB Stub Abilita stub GDB - + Port: Porta: - + Logging Logging - - Global Log Filter - Filtro log globale - - - - Show Log in Console - Mostra i log nella console - - - + Open Log Location Apri cartella dei log - + + Global Log Filter + Filtro log globale + + + When checked, the max size of the log increases from 100 MB to 1 GB Quando l'opzione è selezionata, la dimensione massima del log aumenterà da 100 MB a 1 GB - + Enable Extended Logging** Abilita il log esteso** - + + Show Log in Console + Mostra i log nella console + + + Homebrew Homebrew - + Arguments String Stringa degli argomenti - + Graphics Grafica - - When checked, the graphics API enters a slower debugging mode - Quando l'opzione è selezionata, l'API grafica entra in una modalità di debug più lenta + + When checked, it executes shaders without loop logic changes + Quando l'opzione è selezionata, gli shader verranno eseguiti senza alcun cambiamento nella logica dei loop - - Enable Graphics Debugging - Abilita il debug della grafica + + Disable Loop safety checks + Disabilita i controlli di sicurezza dei loop - - When checked, it enables Nsight Aftermath crash dumps - Quando l'opzione è selezionata, abilita i crash dump di Nsight Aftermath - - - - Enable Nsight Aftermath - Abilita Nsight Aftermath - - - + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Quando l'opzione è selezionata, verrà eseguito il dump degli shader originali in assembler dalla shader cache o dal gioco - + Dump Game Shaders Estrai shader del gioco - - When checked, it will dump all the macro programs of the GPU - Quando l'opzione è selezionata, verranno estratti tutti i programmi macro della GPU + + 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 - - Dump Maxwell Macros - Estrai macro Maxwell + + Disable Macro HLE + Disabilita HLE macro - + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower Quando l'opzione è selezionata, disabilita il compilatore Just-In-Time delle macro. Abilitare questa opzione rende i giochi più lenti - + Disable Macro JIT Disabilita JIT macro - + + When checked, the graphics API enters a slower debugging mode + Quando l'opzione è selezionata, l'API grafica entra in una modalità di debug più lenta + + + + Enable Graphics Debugging + Abilita il debug della grafica + + + + When checked, it will dump all the macro programs of the GPU + Quando l'opzione è selezionata, verranno estratti tutti i programmi macro della GPU + + + + Dump Maxwell Macros + Estrai macro Maxwell + + + When checked, yuzu will log statistics about the compiled pipeline cache - + Quando l'opzione è selezionata, yuzu scriverà nel log le statistiche riguardanti la cache delle pipeline compilate - + Enable Shader Feedback - + Abilita lo shader feedback - - When checked, it executes shaders without loop logic changes - + + When checked, it enables Nsight Aftermath crash dumps + Quando l'opzione è selezionata, abilita i crash dump di Nsight Aftermath - - Disable Loop safety checks - + + Enable Nsight Aftermath + Abilita Nsight Aftermath - - 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. - + Se abilitato, yuzu verificherà se è presente un ambiente Vulkan funzionante quando il programma viene eseguito. Disabilita questa impostazione se hai problemi con altre applicazioni mentre usi yuzu. - + Perform Startup Vulkan Check Esegui controllo di Vulkan all'avvio - + + Disable Web Applet + Disabilita l'applet web + + + + Enable All Controller Types + Abilita tutti i tipi di controller + + + + Enable Auto-Stub** + Abilita stub automatico** + + + + Kiosk (Quest) Mode + Modalità Kiosk (Quest) + + + + Enable CPU Debugging + Abilita il debug della CPU + + + + Enable Debug Asserts + Abilita le asserzioni di debug + + + + Debugging + Debug + + + + Enable FS Access Log + Abilita log di accesso al FS + + + + Create Minidump After Crash + Crea Minidump dopo un arresto anomalo + + + + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. + Abilita questa opzione per stampare l'ultima lista dei comandi audio nella console. Impatta solo i giochi che usano il renderer audio. + + + + Dump Audio Commands To Console** + Stampa i comandi audio nella console** + + + + Enable Verbose Reporting Services** + Abilita servizi di segnalazione dettagliata** + + + **This will be reset automatically when yuzu closes. **L'opzione verrà automaticamente ripristinata alla chiusura di yuzu. @@ -1032,12 +920,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 +975,83 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Configurazione di yuzu - - + + Some settings are only available when a game is not running. + Alcune impostazioni sono disponibili soltanto quando un gioco non è in esecuzione. + + + + 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 @@ -1317,62 +1210,17 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Generale - - Limit Speed Percent - Percentuale di limite della velocità - - - - % - % - - - - Multicore CPU Emulation - Emulazione CPU multi-core - - - - 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 - - - + 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? @@ -1395,257 +1243,45 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Impostazioni API - - Shader Backend: - Backend degli shader: - - - - Device: - Dispositivo: - - - - API: - API: - - - - - None - Nessuno - - - + Graphics Settings Impostazioni grafiche - - Use disk pipeline cache - Utilizza la cache delle pipeline su disco - - - - Use asynchronous GPU emulation - Utilizza l'emulazione asincrona della GPU - - - - Accelerate ASTC texture decoding - Accelera la decodifica delle texture ASTC - - - - 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) - - - - 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: - 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) - - - - 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 + Disattivato + + + + VSync Off + VSync disattivato + + + + Recommended + Consigliata + + + + On + Attivato + + + + VSync On + VSync attivato @@ -1665,86 +1301,6 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.Advanced Graphics Settings Impostazioni grafiche avanzate - - - Accuracy Level: - 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. - - - - Use VSync - Utilizza VSync - - - - 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. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Filtro anisotropico: - - - - Automatic - Automatico - - - - Default - Predefinito - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1771,73 +1327,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 +1680,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Configure Configura @@ -2155,6 +1706,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 +1727,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. + Permette l'uso dello stesso Amiibo all'infinito in giochi che, al contrario, li limitano ad un utilizzo singolo. - + + Use random Amiibo ID + Utilizza un ID Amiibo casuale + + + Motion / Touch Movimento/tocco @@ -2301,7 +1859,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Left Stick Levetta sinistra @@ -2395,14 +1953,14 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + L L - + ZL ZL @@ -2421,7 +1979,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Plus Più @@ -2434,15 +1992,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - - + + R R - + ZR ZR @@ -2499,236 +2057,257 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP. - + Right Stick Levetta destra - - - - + + Mouse panning + Abilita il mouse panning + + + + Configure + Configura + + + + + + Clear Cancella - - - - - + + + + + [not set] [non impost.] - - + + + Invert button Inverti pulsante - - + + Toggle button Premi il pulsante - - + + Turbo button + Modalità Turbo + + + + 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 - + Cancella asse - + Set gyro threshold - + Imposta soglia del giroscopio - + + Calibrate sensor + Calibra sensore + + + 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 +2355,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme - + Configure Configura @@ -2793,7 +2372,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 +2391,7 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme - + Test Test @@ -2832,81 +2411,184 @@ 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 + Configura il mouse panning + + + + Enable mouse panning + Abilita il mouse panning + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Può essere attivato o disattivato tramite una scorciatoia. La scorciatoia predefinita è CTRL + F9 + + + + Sensitivity + Sensibilità + + + + Horizontal + Orizzontale + + + + + + + + % + % + + + + Vertical + Verticale + + + + Deadzone counterweight + Contrappeso Deadzone + + + + Counteracts a game's built-in deadzone + Cerca di rimpiazzare o contrastare la zona morta incorporata in un gioco. + + + + Deadzone + Zona morta + + + + Stick decay + Drift dello Stick + + + + Strength + Forza + + + + Minimum + Minima + + + + Default + Predefinito + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Il mouse panning funziona meglio se la zona morta è impostata allo 0% e il range di input al 100%. +I valori correnti sono rispettivamente: +Zona morta: %1% +Range di input: %2% + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Il mouse emulato è abilitato. +NB: non potrai attivare il mouse panning. + + + + Emulated mouse is enabled + Mouse emulato abilitato + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + L'input reale del mouse è incompatibile col mouse panning. +Per attivarlo, disattiva il mouse emulato. + + ConfigureNetwork @@ -2938,100 +2620,95 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme ConfigurePerGame - + Dialog Dialogo - + Info Info - + Name Nome - + Title ID Title ID - + Filename Nome file - + Format Formato - + Version Versione - + Size Dimensioni - + Developer Sviluppatore - + + Some settings are only available when a game is not running. + Alcune impostazioni sono disponibili soltanto quando un gioco non è in esecuzione. + + + 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à - - - Use global configuration (%1) - Usa la configurazione globale (%1) - ConfigurePerGameAddons @@ -3169,7 +2846,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 +2866,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,25 +2903,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. + Per usare il Ring-Con, configurare il Giocatore 1 come utilizzatore del Joy-Con destro (fisico o emulato) e il Giocatore 2 come utilizzatore del Joy-Con sinistro prima di avviare il gioco. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Parametri Sensore del Virtual Ring Pull - + Tirare Push - + Spingere @@ -3252,33 +2929,95 @@ UUID: %2 Zona morta: 0% - + + Direct Joycon Driver + Driver Joycon diretto + + + + Enable Ring Input + Abilita Ring-Con + + + + + Enable + Abilita + + + + Ring Sensor Value + Valore Sensore Ring + + + + + 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 + Il dispositivo mappato corrente non è connesso. + + + + Unexpected driver result %1 + Risultato imprevisto del driver: %1 + + + [waiting] [in attesa] @@ -3292,449 +3031,19 @@ UUID: %2 + System Sistema - - System Settings - Impostazioni di sistema + + Core + Core - - Region: - Regione: - - - - Auto - Automatico - - - - Default - Predefinito - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egitto - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islanda - - - - Iran - Iran - - - - Israel - Israele - - - - Jamaica - Giamaica - - - - - Japan - Giappone - - - - Kwajalein - Kwajalein - - - - Libya - Libia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polonia - - - - Portugal - Portogallo - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapore - - - - Turkey - Turchia - - - - UCT - UCT - - - - Universal - Universale - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australia - - - - China - Cina - - - - Korea - Corea - - - - Taiwan - Taiwan - - - - Time Zone: - Fuso orario: - - - - Note: this can be overridden when region setting is auto-select - Nota: questo può essere ignorato quando le impostazioni della regione sono su auto-select - - - - Japanese (日本語) - Giapponese (日本語) - - - - English - Inglese (English) - - - - French (français) - Francese (français) - - - - German (Deutsch) - Tedesco (Deutsch) - - - - Italian (italiano) - Italiano - - - - Spanish (español) - Spagnolo (español) - - - - Chinese - Cinese - - - - Korean (한국어) - Coreano (한국어) - - - - Dutch (Nederlands) - Olandese (Nederlands) - - - - Portuguese (português) - Portoghese (português) - - - - Russian (Русский) - Russo (Русский) - - - - Taiwanese - Taiwanese - - - - British English - Inglese britannico - - - - Canadian French - Francese canadese - - - - Latin American Spanish - Spagnolo latino-americano - - - - Simplified Chinese - Cinese semplificato - - - - Traditional Chinese (正體中文) - Cinese tradizionale (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portoghese brasiliano (português do Brasil) - - - - Custom RTC - RTC Personalizzato - - - - Language - Lingua - - - - RNG Seed - Seed RNG - - - - Device Name - Nome del dispositivo - - - - Mono - Mono - - - - 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" @@ -3772,12 +3081,12 @@ UUID: %2 Loop script - + Looping script Pause execution during loads - + Metti in pausa l'esecuzione durante i caricamenti @@ -3803,7 +3112,7 @@ UUID: %2 Configurazione TAS - + Select TAS Load Directory... Seleziona la cartella di caricamento TAS... @@ -3941,64 +3250,64 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab ConfigureUI - - - + + + None Nessuna - + Small (32x32) Piccola (32x32) - + Standard (64x64) Standard (64x64) - + Large (128x128) Grande (128x128) - + Full Size (256x256) Dimensione intera (256x256) - + Small (24x24) Piccola (24x24) - + Standard (48x48) Standard (48x48) - + Large (72x72) Grande (72x72) - + Filename Nome del file - + Filetype Tipo di file - + Title ID ID del gioco (Title ID) - + Title Name Nome del gioco @@ -4101,15 +3410,31 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab ... - + + TextLabel + + + + + Resolution: + Risoluzione: + + + Select Screenshots Path... Seleziona il percorso degli screenshot... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4359,7 +3684,7 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab Controller G1 - + &Controller P1 &Controller G1 @@ -4372,42 +3697,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 +3735,12 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab DirectConnectWindow - + Connecting Connessione in corso - + Connect Connetti @@ -4428,534 +3748,578 @@ 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 + Gioco in esecuzione + + + 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.) - + Disabilitare l'applet web potrebbe causare dei comportamenti indesiderati. +Da usare solo con Super Mario 3D All-Stars. Sei sicuro di voler procedere? +(Puoi riabilitarlo quando vuoi nelle impostazioni di Debug.) - + The amount of shaders currently being built - Il numero di shaders al momento in costruzione + Il numero di shader in fase di compilazione - + The current selected resolution scaling multiplier. - + Il moltiplicatore corrente dello scaling della risoluzione. - + 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 + Riattiva + + + + Mute + Silenzia + + + + Reset Volume + Reimposta volume + + + &Clear Recent Files &Cancella i file recenti - + + Emulated mouse is enabled + Mouse emulato abilitato + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + L'input reale del mouse è incompatibile col mouse panning. +Per attivarlo, disattiva il mouse emulato. + + + &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. + Stai usando una cartella contenente una ROM decostruita per avviare questo gioco, che è un formato obsoleto e sostituito da NCA, NAX, XCI o NSP. Le ROM decostruite non hanno icone, metadati e non supportano gli aggiornamenti. <br><br>Per una spiegazione sui vari formati della Switch supportati da yuzu, <a href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>consulta la nostra wiki (in inglese)</a>. Non riceverai di nuovo questo avviso. - - + + 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>. - + yuzu ha riscontrato un problema durante l'avvio del core video. Di solito questo errore è causato da driver GPU obsoleti, compresi quelli integrati. +Consulta il log per maggiori dettagli. Se hai bisogno di aiuto per accedere ai log, consulta questa pagina (in inglese): <a href='https://yuzu-emu.org/help/reference/log-files/'>Come caricare i file di log</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. + %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 dare un occhiata alla wiki di yuzu (in inglese)</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? + Rimuovere la Storage Cache? + + + 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 - + Non c'è abbastanza spazio disponibile nel disco %1 per estrarre la RomFS. Libera lo spazio o seleziona una cartella di estrazione diversa in Emulazione > Configura > Sistema > File system > Cartella di estrazione - + 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 +4328,7 @@ Usa questa funzione solo per installare aggiornamenti e DLC. - + %n file(s) were overwritten %n file è stato sovrascritto @@ -4973,7 +4337,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 +4346,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 - + Registrazione TAS - + Overwrite file of player 1? Vuoi sovrascrivere il file del giocatore 1? - + Invalid config detected - Trovata configurazione invalida + Rilevata configurazione non valida - + 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 - + Il gioco in uso non è alla ricerca di Amiibo - + 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 - + Stato TAS: In esecuzione (%1/%2) - + TAS state: Recording %1 - + Stato TAS: Registrazione in corso (%1) - + TAS state: Idle %1/%2 - + Stato TAS: In attesa (%1/%2) - + TAS State: Invalid - + Stato TAS: Non valido - + &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. @@ -5361,46 +4660,46 @@ 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. - Stai per forzare la ri-derivazione di tutte le tue chiavi. + Stai per forzare la ri-derivazione di tutte le tue chiavi di crittografia. Se non sai cosa significa o cosa stai per fare, -questa azione potrebbe causare gravi problemi. -Assicurati di volerlo fare -e facoltativamente fai dei backup. +questa azione potrebbe fare danni. +Se sei sicuro di voler procedere, +è consigliato fare dei backup. -Questo eliminerà i tuoi file di chiavi autogenerati e ri-avvierà il processo di derivazione delle chiavi. +Questa azione eliminerà i tuoi file delle chiavi autogenerati e ripeterà 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> + 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 firmware e i giochi.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5409,88 +4708,193 @@ Questa operazione potrebbe durare fino a un minuto in base alle prestazioni del tuo sistema. - + Deriving Keys Derivazione chiavi - + + System Archive Decryption Failed + Decrittazione dell'archivio di sistema fallita + + + + 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. + Le chiavi di crittografia non sono riuscite a decrittare il firmware. <br>Segui <a href='https://yuzu-emu.org/help/quickstart/'>la guida introduttiva di yuzu</a> per estrarre tutte le tue chiavi, il firmware e i giochi dalla tua Switch. + + + 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? - L'applicazione in uso ha richiesto a yuzu di non uscire. + L'applicazione in uso ha richiesto a yuzu di non arrestare il programma. -Desideri uscire comunque? +Vuoi forzare l'arresto? + + + + 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 + Nullo + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV GRenderWindow - - + + OpenGL not available! OpenGL non disponibile! - + OpenGL shared contexts are not supported. Gli shared context di OpenGL non sono supportati. - + yuzu has not been compiled with OpenGL support. - yuzu non è stato compilato con il supporto OpenGL. + yuzu è stato compilato senza il supporto a OpenGL. - - + + Error while initializing OpenGL! Errore durante l'inizializzazione di OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. La tua GPU potrebbe non supportare OpenGL, o non hai installato l'ultima versione dei driver video. - + Error while initializing OpenGL 4.6! Errore durante l'inizializzazione di 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 La tua GPU potrebbe non supportare OpenGL 4.6, o non hai installato l'ultima versione dei driver video.<br><br>Renderer GL:<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 La tua GPU potrebbe non supportare una o più estensioni OpenGL richieste. Assicurati di aver installato i driver video più recenti.<br><br>Renderer GL:<br>%1<br><br>Estensioni non supportate:<br>%2 @@ -5498,168 +4902,173 @@ Desideri uscire comunque? GameList - + Favorite Preferito - + Start Game Avvia gioco - + Start Game without Custom Configuration Avvia gioco senza la configurazione personalizzata - + Open Save Data Location Apri la cartella dei dati di salvataggio - + Open Mod Data Location Apri la cartella delle mod - + Open Transferable Pipeline Cache Apri la cartella della cache trasferibile delle pipeline - + Remove Rimuovi - + Remove Installed Update Rimuovi l'aggiornamento installato - + Remove All Installed DLC Rimuovi tutti i DLC installati - + Remove Custom Configuration Rimuovi la configurazione personalizzata - + + Remove Cache Storage + Rimuovi Storage Cache + + + 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 +5083,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 +5139,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 +5152,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 @@ -5824,12 +5233,12 @@ Desideri uscire comunque? HostRoomWindow - + Error Errore - + 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: Impossibile annunciare la stanza alla lobby pubblica. Per ospitare una stanza pubblicamente, devi avere un account yuzu valido configurato in Emulazione -> Configura -> Web. Se non desideri pubblicare una stanza nella lobby pubblica, seleziona Non in lista. @@ -5839,138 +5248,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 +5402,7 @@ Messaggio di debug: Installa - + Install Files to NAND Installa file su NAND @@ -6001,7 +5410,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 +5485,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 @@ -6584,13 +5998,14 @@ Vai su Configura -> Sistema -> Rete e selezionane una. Game already running - + Il gioco è già in esecuzione. Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Entrare in una stanza online mentre il gioco è già in esecuzione è sconsigliato e potrebbe causare problemi. +Vuoi continuare lo stesso? @@ -6657,7 +6072,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE AVVIA/PAUSA @@ -6706,31 +6121,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [non impost.] @@ -6741,14 +6156,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Asse %1%2 @@ -6759,264 +6174,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] - + [indefinito] - + %1%2 %1%2 - - + + [invalid] [non valido] - - - - + + %1%2Hat %3 - + %1%2Freccia %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 - + Comando - + Extra - + Extra - - %1%2%3 - %1%2%3 + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Freccia %4 + + + + + %1%2%3Axis %4 + %1%2%3Asse %4 + + + + + %1%2%3Button %4 + %1%2%3Pulsante %4 @@ -7137,7 +6610,7 @@ p, li { white-space: pre-wrap; } Controller Applet - Applet Controller + Applet controller @@ -7168,7 +6641,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7181,7 +6654,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Due Joycon @@ -7194,7 +6667,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon sinistro @@ -7207,7 +6680,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon destro @@ -7236,7 +6709,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portatile @@ -7352,32 +6825,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7385,28 +6858,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 +6903,81 @@ Riprova o contatta gli sviluppatori del programma. %2 - - Select a user: - Seleziona un utente: - - - + Users Utenti - + + Profile Creator + Creatore Profilo + + + + Profile Selector Selettore profili + + + Profile Icon Editor + Editor Icona del Profilo + + + + Profile Nickname Editor + Editor Nickname del Profilo + + + + Who will receive the points? + Chi riceverà i punti? + + + + Who is using Nintendo eShop? + Chi sta usando il Nintendo eShop? + + + + Who is making this purchase? + Chi sta acquistando questo titolo? + + + + Who is posting? + Chi sta postando? + + + + Select a user to link to a Nintendo Account. + Seleziona un utente da collegare ad un Account Nintendo + + + + Change settings for which user? + Per quale utente vuoi modificare le impostazioni? + + + + Format data for which user? + A quale utente verranno formattati i dati? + + + + Which user will be transferred to another console? + Quale utente verrà trasferito ad un altra console? + + + + Send save data for which user? + A quale utente vuoi inviare i dati di salvataggio? + + + + Select a user: + Seleziona un utente: + QtSoftwareKeyboardDialog @@ -7493,51 +7027,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 +7048,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable eseguibile - + paused - in pausa + In Pausa - + sleeping - dormendo + Attende... - + waiting for IPC reply attende una risposta dell'IPC - + waiting for objects - attende degli oggetti + Attendendo gli Oggetti... - + waiting for condition variable aspettando la condition variable - + waiting for address arbiter - attende un indirizzo arbitro + attende un indirizzo arbitrio - + 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 + Program Counter = 0x%1 LR = 0x%2 - + ideal ideale - + core %1 core %1 - + processor = %1 - processore = %1 + CPU = %1 - - ideal core = %1 - core ideale = %1 - - - + affinity mask = %1 - affinity mask = %1 + Maschera Affinità = %1 - + thread id = %1 - id thread = %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 +7159,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..62755020a 100644 --- a/dist/languages/ja_JP.ts +++ b/dist/languages/ja_JP.ts @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. 次へ + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ This would ban both their forum username and their IP address. Audio サウンド - - - Output Engine: - 出力エンジン: - - - - Output Device - 出力デバイス - - - - Input Device - 入力デバイス - - - - Use global volume - 共通設定を使用 - - - - Set volume: - カスタム設定 - - - - Volume: - 音量: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,139 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General 全般 - - - Accuracy: - エミュレーション精度: - - - - Auto - 自動 - - - - Accurate - Accurate(正確) - - Unsafe - Unsafe(不正確) - - - - Paranoid (disables most optimizations) - Paranoid (ほとんどの最適化を無効化) - - - We recommend setting accuracy to "Auto". エミュレーション精度の設定は「自動」推奨です - + Unsafe CPU Optimization Settings - CPU最適化設定 + 不安定なCPU最適化設定 - + These settings reduce accuracy for speed. これらの設定は高速化のために精度を犠牲にします。 - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>このオプションは、ネイティブFMAをサポートしていないCPUで融合積和 (FMA) 命令の精度を下げることで速度を改善させます。</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - FMAの融合を解除 (FMAに対応していないCPUのパフォーマンスを向上させる) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>このオプションは、精度の低いネイティブ近似を使用することにより、一部の近似浮動小数点関数の速度を改善させます。</div> - - - - - Faster FRSQRTE and FRECPE - Faster FRSQRTE and FRECPE - - - - - <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命令 (32bitのみ) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>このオプションは、非数チェックをなくすことにより速度を向上させます。一部の浮動小数点演算命令の精度が低下することにご注意ください。</div> - - - - - Inaccurate NaN handling - 不正確な非数値の取り扱い - - - - - <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 - - - - - CPU settings are available only when game is not running. - CPUの設定はゲームを実行していない時にのみ変更できます。 - ConfigureCpuDebug @@ -808,12 +673,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 - + 無効なメモリアクセスに対するフォールバックを有効にする @@ -824,212 +692,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger デバッガ― - + Enable GDB Stub GDBスタブの有効化 - + Port: ポート: - + Logging ログ - - Global Log Filter - グローバルログフィルター - - - - Show Log in Console - コンソールにログを表示 - - - + Open Log Location ログ出力フォルダを開く - + + Global Log Filter + グローバルログフィルター + + + When checked, the max size of the log increases from 100 MB to 1 GB チェックすると、ログの最大サイズが100MBから1GBに増加します。 - + Enable Extended Logging** 拡張ログの有効化** - + + Show Log in Console + コンソールにログを表示 + + + Homebrew Homebrew - + Arguments String 引数 - + Graphics グラフィック - - When checked, the graphics API enters a slower debugging mode - チェックすると、 グラフィックAPIはより遅いデバッグモードになります。 - - - - Enable Graphics Debugging - グラフィックデバッグの有効化 - - - - When checked, it enables Nsight Aftermath crash dumps - チェックすると、Nsight Aftermathのクラッシュダンプが有効になります - - - - Enable Nsight Aftermath - Nsight Aftermathの有効化 - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - チェックすると、ディスクシェーダーキャッシュまたはゲームからオリジナルのアセンブラーシェーダーをすべてダンプします - - - - Dump Game Shaders - ゲームシェーダーをダンプ - - - - When checked, it will dump all the macro programs of the GPU - チェックすると、GPUのすべてのマクロプログラムをダンプします - - - - Dump Maxwell Macros - Maxwellマクロをダンプ - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - チェックすると、マクロのJust In Timeコンパイラが無効になります。有効にすると、ゲームの動作が遅くなります。 - - - - Disable Macro JIT - Macro JITを無効化 - - - - 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 - デバッグ + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + チェックすると、ディスクシェーダーキャッシュまたはゲームからオリジナルのアセンブラーシェーダーをすべてダンプします - - Enable Verbose Reporting Services** - 詳細なレポートサービスの有効化** + + Dump Game Shaders + ゲームシェーダーをダンプ - - Enable FS Access Log - FSアクセスログの有効化 + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 有効化すると、マクロHLE機能を無効にします。これを有効にすると、ゲームの動作が遅くなります - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - これを有効にすると、最新のオーディオコマンドリストがコンソールに出力されます。オーディオレンダラーを使用するゲームにのみ影響します。 + + Disable Macro HLE + Macro HLE を無効化 - - Dump Audio Commands To Console** - + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + チェックすると、マクロのJust In Timeコンパイラが無効になります。有効にすると、ゲームの動作が遅くなります。 - - Create Minidump After Crash - クラッシュ時にミニダンプを生成 + + Disable Macro JIT + Macro JITを無効化 - + + When checked, the graphics API enters a slower debugging mode + チェックすると、 グラフィックAPIはより遅いデバッグモードになります。 + + + + Enable Graphics Debugging + グラフィックデバッグの有効化 + + + + When checked, it will dump all the macro programs of the GPU + チェックすると、GPUのすべてのマクロプログラムをダンプします + + + + Dump Maxwell Macros + Maxwellマクロをダンプ + + + + When checked, yuzu will log statistics about the compiled pipeline cache + チェックすると、コンパイルしたパイプラインキャッシュの統計情報をロギングします + + + + Enable Shader Feedback + シェーダーフィードバックの有効j化 + + + + When checked, it enables Nsight Aftermath crash dumps + チェックすると、Nsight Aftermathのクラッシュダンプが有効になります + + + + Enable Nsight Aftermath + Nsight Aftermathの有効化 + + + Advanced 高度 - - Kiosk (Quest) Mode - Kiosk (Quest) Mode + + 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を参照する際に問題がある場合は、これを無効にしてください。 - - Enable CPU Debugging - CPUデバッグの有効化 + + Perform Startup Vulkan Check + スタートアップ時にVulkanのチェックを実行する - - 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. + + Enable All Controller Types + すべてのコントローラタイプを有効にする + + + + Enable Auto-Stub** + 自動スタブの有効化** + + + + Kiosk (Quest) Mode + Kiosk (Quest) Mode + + + + Enable CPU Debugging + CPUデバッグの有効化 + + + + Enable Debug Asserts + デバッグアサートの有効化 + + + + Debugging + デバッグ + + + + Enable FS Access Log + FSアクセスログの有効化 + + + + Create Minidump After Crash + クラッシュ時にミニダンプを生成 + + + + 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** - - Perform Startup Vulkan Check - + + Enable Verbose Reporting Services** + 詳細なレポートサービスの有効化** - + **This will be reset automatically when yuzu closes. ** yuzuを終了したときに自動的にリセットされます。 @@ -1044,12 +922,12 @@ This would ban both their forum username and their IP address. この設定を適用するには yuzu を再起動する必要があります. - + Web applet not compiled - + ウェブアプレットがコンパイルされていません - + MiniDump creation not compiled @@ -1099,78 +977,83 @@ This would ban both their forum username and their IP address. yuzuの設定 - - + + Some settings are only available when a game is not running. + + + + + Audio サウンド - - + + CPU CPU - + Debug デバッグ - + Filesystem ファイルシステム - - + + General 全般 - - + + Graphics グラフィック - + GraphicsAdvanced 拡張グラフィック - + Hotkeys ホットキー - - + + Controls 操作 - + Profiles プロファイル - + Network ネットワーク - - + + System システム - + Game List ゲームリスト - + Web Web @@ -1329,62 +1212,17 @@ This would ban both their forum username and their IP address. 全般 - - Limit Speed Percent - エミュレーション速度の制限 - - - - % - % - - - - Multicore CPU Emulation - マルチコアCPUエミュレーション - - - - 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 - 非アクティブ時にマウスカーソルを隠す - - - + 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,257 +1245,45 @@ This would ban both their forum username and their IP address. API設定 - - Shader Backend: - シェーダバックエンド: - - - - Device: - 使用デバイス: - - - - API: - API: - - - - - None - なし - - - + Graphics Settings グラフィック設定 - - Use disk pipeline cache - ディスクパイプラインキャッシュを使用 - - - - Use asynchronous GPU emulation - 非同期GPUエミュレーションを使用する - - - - Accelerate ASTC texture decoding - ASTCテクスチャデコーディングの高速化 - - - - 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 - - - - - 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) - - - - 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: - ウィンドウ アダプティング フィルター: - - - - Nearest Neighbor - Nearest Neighbor - - - - Bilinear - Bilinear - - - - Bicubic - Bicubic - - - - Gaussian - Gaussian - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Vulkan のみ) - - - - Anti-Aliasing Method: - アンチエイリアス方式: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 100% - - - - - - Use global background color - 共通設定を使用 - - - - Set background color: - 背景色の設定: - - - + Background Color: 背景色: - - GLASM (Assembly Shaders, NVIDIA Only) - GLASM (アセンブリシェーダ、NVIDIA のみ) - - - - SPIR-V (Experimental, Mesa Only) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + オフ + + + + VSync Off + VSync オフ + + + + Recommended + 推奨 + + + + On + オン + + + + VSync On + VSync オン @@ -1677,86 +1303,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings グラフィックの高度な設定 - - - Accuracy Level: - 精度: - - - - 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は画面のちらつきを防ぎますが、一部のグラフィックカードではパフォーマンスが低下します。パフォーマンス低下を感じない限り、有効のままにしてください。 - - - - Use VSync - 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. - 高速なGPUタイミングを有効にします。このオプションは、ほとんどのゲームをその最高のネイティブ解像度で実行することを強制します。 - - - - Use Fast GPU Time (Hack) - 高速なGPUタイミングを有効化(ハック) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 悲観的なバッファフラッシュを有効にします. このオプションは, 変更されていないバッファを強制的にフラッシュさせるので, パフォーマンスが低下する可能性があります. - - - - Use pessimistic buffer flushes (Hack) - 悲観的なバッファフラッシュを使用 (ハック) - - - - Anisotropic Filtering: - 異方性フィルタリング: - - - - Automatic - 自動 - - - - Default - デフォルト - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1786,70 +1332,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 +1682,7 @@ This would ban both their forum username and their IP address. - + Configure 設定 @@ -2167,6 +1708,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu yuzuの再起動が必要 @@ -2186,22 +1729,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 +1769,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 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Lスティック @@ -2407,14 +1955,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2433,7 +1981,7 @@ This would ban both their forum username and their IP address. - + Plus + @@ -2446,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2511,236 +2059,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 +2357,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 設定 @@ -2824,7 +2393,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test テスト @@ -2844,81 +2413,179 @@ 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 mouse panning + + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + 感度 + + + + Horizontal + 水平 + + + + + + + + % + % + + + + Vertical + 垂直 + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + 遊び + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + デフォルト + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2950,99 +2617,94 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog ダイアログ - + Info 情報 - + Name タイトル - + Title ID タイトルID - + Filename ファイル名 - + Format ファイル形式 - + Version バージョン - + Size ファイルサイズ - + Developer 開発元 - - Add-Ons - アドオン - - - - General - 全般 - - - - System - システム - - - - CPU - CPU - - - - Graphics - グラフィック - - - - Adv. Graphics - 高度なグラフィック - - - - Audio - サウンド - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - プロパティ + Add-Ons + アドオン - - Use global configuration (%1) - 共通設定を使用(%1) + + System + システム + + + + CPU + CPU + + + + Graphics + グラフィック + + + + Adv. Graphics + 高度なグラフィック + + + + Audio + サウンド + + + + Input Profiles + 入力プロファイル + + + + Properties + プロパティ @@ -3214,7 +2876,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 +2887,8 @@ To invert the axes, first move your joystick vertically, and then horizontally.< Name: %1 UUID: %2 - + 名称: %1 +UUID: %2 @@ -3237,13 +2900,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 +2926,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,449 +3028,19 @@ UUID: %2 + System システム - - System Settings - システム設定 - - - - Region: - 地域: - - - - Auto - 自動 - - - - Default - デフォルト - - - - CET - 中央ヨーロッパ時間 - - - - CST6CDT - CST6CDT - - - - Cuba - キューバ - - - - EET - 東ヨーロッパ標準時 - - - - Egypt - エジプト - - - - Eire - アイルランド - - - - EST - アメリカ東部標準時 - - - - EST5EDT - EST5EDT - - - - GB - イギリス - - - - GB-Eire - イギリス-アイルランド - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - グリニッジ - - - - Hongkong - 香港 - - - - HST - ハワイ標準時 - - - - Iceland - アイスランド - - - - Iran - イラン - - - - Israel - イスラエル - - - - Jamaica - ジャマイカ - - - - - Japan - 日本 - - - - Kwajalein - クェゼリン - - - - Libya - リビア - - - - MET - 中東時間 - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - ナバホ - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - ポーランド - - - - Portugal - ポルトガル - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - シンガポール - - - - Turkey - トルコ - - - - UCT - UCT - - - - Universal - ユニバーサル - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - ズールー - - - - USA - アメリカ - - - - Europe - ヨーロッパ - - - - Australia - オーストラリア - - - - China - 中国 - - - - Korea - 韓国 - - - - Taiwan - 台湾 - - - - Time Zone: - タイムゾーン: - - - - Note: this can be overridden when region setting is auto-select - 注意:地域が自動選択の場合、設定が上書きされる可能性があります。 - - - - Japanese (日本語) - Japanese (日本語) - - - - English - English - - - - French (français) - French (français) - - - - German (Deutsch) - German (Deutsch) - - - - Italian (italiano) - Italian (italiano) - - - - Spanish (español) - Spanish (español) - - - - Chinese - Chinese - - - - Korean (한국어) - Korean (한국어) - - - - Dutch (Nederlands) - Dutch (Nederlands) - - - - Portuguese (português) - Portuguese (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) - - - - Custom RTC - カスタム RTC を有効化 - - - - Language - システムの言語 - - - - RNG Seed - 乱数シード値の変更 - - - - Device Name + + Core - - Mono - モノラル - - - - 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 +3109,7 @@ UUID: %2 TAS 設定 - + Select TAS Load Directory... TAS ロードディレクトリを選択... @@ -3952,64 +3247,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None なし - + Small (32x32) 小 (32x32) - + Standard (64x64) 標準 (64x64) - + Large (128x128) 大 (128x128) - + Full Size (256x256) フルサイズ (256x256) - + Small (24x24) 小 (24x24) - + Standard (48x48) 標準 (48x48) - + Large (72x72) 大 (72x72) - + Filename ファイル名 - + Filetype ファイル種別 - + Title ID タイトルID - + Title Name タイトル名 @@ -4054,7 +3349,7 @@ Drag points to change position, or double-click table cells to edit values. Show Compatibility List - + 互換性リストを表示 @@ -4064,12 +3359,12 @@ Drag points to change position, or double-click table cells to edit values. Show Size Column - + サイズ列を表示 Show File Types Column - + ファイルタイプ列を表示 @@ -4112,15 +3407,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + 解像度: + + + Select Screenshots Path... スクリーンショットの保存先を選択... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4370,7 +3681,7 @@ Drag points to change position, or double-click table cells to edit values.Controller P1 - + &Controller P1 &Controller P1 @@ -4383,42 +3694,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 +3732,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 接続中 - + Connect 接続 @@ -4439,926 +3745,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シェーダキャッシュを削除しますか? + 転送可能なOpenGLシェーダーキャッシュを削除しますか? - + Delete Vulkan Transferable Shader Cache? - 転送可能なVulkanシェーダキャッシュを削除しますか? + 転送可能な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 +4656,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 +4695,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,48 +4745,143 @@ Would you like to bypass this and exit anyway? 無視してとにかく終了しますか? + + + None + なし + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Nearest + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Docked + + + + Handheld + 携帯モード + + + + Normal + 標準 + + + + High + 高い + + + + Extreme + + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! OpenGLは使用できません! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. yuzuはOpenGLサポート付きでコンパイルされていません。 - - + + Error while initializing OpenGL! OpenGL初期化エラー - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. GPUがOpenGLをサポートしていないか、グラフィックスドライバーが最新ではありません。 - + Error while initializing OpenGL 4.6! OpenGL4.6初期化エラー! - + Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.<br><br>GL Renderer:<br>%1 GPUがOpenGL4.6をサポートしていないか、グラフィックスドライバーが最新ではありません。<br><br>GL レンダラ:<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 GPUが1つ以上の必要なOpenGL拡張機能をサポートしていない可能性があります。最新のグラフィックドライバを使用していることを確認してください。<br><br>GL レンダラ:<br>%1<br><br>サポートされていない拡張機能:<br>%2 @@ -5503,168 +4889,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite お気に入り - + Start Game ゲームを開始 - + Start Game without Custom Configuration カスタム設定なしでゲームを開始 - + Open Save Data Location セーブデータディレクトリを開く - + Open Mod Data Location Modデータディレクトリを開く - + Open Transferable Pipeline Cache 転送可能なパイプラインキャッシュを開く - + Remove 削除 - + Remove Installed Update インストールされているアップデートを削除 - + Remove All Installed DLC 全てのインストールされているDLCを削除 - + Remove Custom Configuration カスタム設定を削除 - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + ショートカットを作成 + 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 +5085,7 @@ Would you like to bypass this and exit anyway? Playable - + プレイ可 @@ -5735,7 +5126,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 新しいゲームリストフォルダを追加するにはダブルクリックしてください。 @@ -5748,12 +5139,12 @@ Would you like to bypass this and exit anyway? - + Filter: フィルター: - + Enter pattern to filter フィルターパターンを入力 @@ -5773,7 +5164,7 @@ Would you like to bypass this and exit anyway? Preferred Game - + 優先ゲーム @@ -5808,7 +5199,7 @@ Would you like to bypass this and exit anyway? Load Previous Ban List - + 以前の BAN リストをロード @@ -5829,12 +5220,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error エラー - + 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: 公開ロビーへの部屋のアナウンスに失敗しました。部屋を公開するためには、Emulation -> Configure -> Web で有効なyuzuアカウントが設定されている必要があります。もし、部屋を公開ロビーに公開したくないのであれば、代わりに非公開を選択してください。 @@ -5844,138 +5235,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 +5389,7 @@ Debug Message: インストール - + Install Files to NAND ファイルをNANDへインストール @@ -6006,7 +5397,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 テキストに以下の文字を含めることはできません: @@ -6018,12 +5409,12 @@ Debug Message: Loading Shaders 387 / 1628 - シェーダをロード中 387 / 1628 + シェーダーをロード中 387 / 1628 Loading Shaders %v out of %m - シェーダをロード中 %v / %m + シェーダーをロード中 %v / %m @@ -6038,7 +5429,7 @@ Debug Message: Loading Shaders %1 / %2 - シェーダをロード中 %1 / %2 + シェーダーをロード中 %1 / %2 @@ -6081,51 +5472,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 +5596,7 @@ Debug Message: &Multiplayer - + マルチプレイヤー (&M) @@ -6290,27 +5686,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 +6058,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE スタート/ ポーズ @@ -6711,31 +6107,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未設定] @@ -6746,16 +6142,16 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 - 軸 %1%2 + スティック %1%2 @@ -6764,264 +6160,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 +6483,17 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo 設定 Amiibo Info - + Amiibo 情報 Series - + シリーズ @@ -7054,7 +6508,7 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Amiibo データ @@ -7064,37 +6518,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 +6563,7 @@ p, li { white-space: pre-wrap; } File Path - + ファイルパス @@ -7173,7 +6627,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Proコントローラ @@ -7186,7 +6640,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joy-Con(L/R) @@ -7199,7 +6653,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joy-Con(L) @@ -7212,7 +6666,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joy-Con(R) @@ -7241,7 +6695,7 @@ p, li { white-space: pre-wrap; } - + Handheld 携帯モード @@ -7357,32 +6811,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller ゲームキューブコントローラ - + Poke Ball Plus モンスターボールプラス - + NES Controller ファミコン・コントローラー - + SNES Controller スーパーファミコン・コントローラー - + N64 Controller ニンテンドウ64・コントローラー - + Sega Genesis メガドライブ @@ -7390,28 +6844,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 +6889,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 +7013,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 +7034,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 +7145,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..737a982b5 100644 --- a/dist/languages/ko_KR.ts +++ b/dist/languages/ko_KR.ts @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. 다음 + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + 자동 (%1) + + + + Default (%1) + Default time zone + 기본 (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ This would ban both their forum username and their IP address. Audio 오디오 - - - Output Engine: - 출력 엔진: - - - - Output Device - 출력 장치 - - - - Input Device - 입력 장치 - - - - Use global volume - 전역 볼륨 설정 사용 - - - - Set volume: - 볼륨 설정: - - - - Volume: - 볼륨: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,139 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General 일반 - - - Accuracy: - 정확도: - - - - Auto - 자동 - - - - Accurate - 정확함 - - Unsafe - 안전하지 않음 - - - - Paranoid (disables most optimizations) - 편집증(대부분의 최적화 비활성화) - - - We recommend setting accuracy to "Auto". 정확도를 "자동"으로 설정하는 것을 권장합니다. - + Unsafe CPU Optimization Settings 안전하지 않은 CPU 최적화 설정 - + These settings reduce accuracy for speed. 이 설정은 속도를 위해 정확도를 떨어뜨립니다. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>이 설정은 단일 곱셈-누산기의 정확도를 감소시켜 FMA를 지원하지 않는 CPU에서의 성능을 향상시킵니다.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - FMA 분리 (FMA를 지원하지 않는 CPU에서의 성능을 향상시킵니다) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>이 설정은 덜 정확한 표준 근사치를 사용하여 일부 근사 부동 소수점 함수의 처리 속도를 증가 시킵니다.</div> - - - - - Faster FRSQRTE and FRECPE - 더 빠른 FRSQRTE와 FRECPE - - - - - <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비트 전용) - - - - - <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 처리 - - - - - <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의 구문에만 의존하여 배타적 액세스 명령의 안전성을 보장함으로써 속도를 향상시킵니다. 교착 상태 및 기타 경쟁 조건이 발생할 수 있습니다. - - - - - Ignore global monitor - 글로벌 모니터 무시 - - - - CPU settings are available only when game is not running. - CPU 설정은 게임이 작동하고 있지 않을 때만 수정 가능합니다. - ConfigureCpuDebug @@ -809,12 +674,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 - + 유효하지 않은 메모리 접속에 대한 폴백 활성화 @@ -825,212 +693,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger 디버거 - + Enable GDB Stub GDB Stub 활성화 - + Port: 포트: - + Logging 로깅 - - Global Log Filter - 전역 로그 필터 - - - - Show Log in Console - 콘솔에 로그 표시 - - - + Open Log Location 로그 경로 열기 - + + Global Log Filter + 전역 로그 필터 + + + When checked, the max size of the log increases from 100 MB to 1 GB 이 옵션을 활성화 시, 로그 파일의 최대 용량이 100MB에서 1GB로 증가합니다. - + Enable Extended Logging** 확장된 로깅 활성화** - + + Show Log in Console + 콘솔에 로그 표시 + + + Homebrew 홈브류 - + Arguments String 실행인수 - + Graphics 그래픽 - - When checked, the graphics API enters a slower debugging mode - 이 옵션을 활성화 시, 그래픽 API가 디버깅 모드로 진입하여 속도가 느려집니다. - - - - Enable Graphics Debugging - 그래픽 디버깅 활성화 - - - - When checked, it enables Nsight Aftermath crash dumps - 선택하면 Nsight Aftermath 크래시 덤프가 활성화됩니다. - - - - Enable Nsight Aftermath - Nsight Aftermath 활성화 - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - 선택하면 디스크 셰이더 캐시 또는 게임에서 찾은 모든 원본 어셈블러 셰이더를 덤프합니다. - - - - Dump Game Shaders - 게임 셰이더 덤프 - - - - When checked, it will dump all the macro programs of the GPU - 체크하면 GPU의 모든 매크로 프로그램을 덤프합니다. - - - - Dump Maxwell Macros - Maxwell 매크로 덤프 - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - 이 옵션에 체크할 시, 매크로 JIT 컴파일러를 비활성화 합니다. 게임 속도가 느려지니 유의하십시오. - - - - Disable Macro JIT - Macro JIT 비활성화 - - - - 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 - 디버깅 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + 선택하면 디스크 셰이더 캐시 또는 게임에서 찾은 모든 원본 어셈블러 셰이더를 덤프합니다. - - Enable Verbose Reporting Services** - 자세한 리포팅 서비스 활성화** + + Dump Game Shaders + 게임 셰이더 덤프 - - Enable FS Access Log - FS 액세스 로그 활성화 + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 선택하면 매크로 HLE 기능이 비활성화됩니다. 이 기능을 활성화하면 게임 실행 속도가 느려짐 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - 이 옵션을 활성화하면 가장 최근에 생성된 오디오 명령어 목록을 콘솔에 출력할 수 있습니다. 오디오 렌더러를 사용하는 게임에만 영향을 줍니다. + + Disable Macro HLE + 매크로 HLE 비활성화 - - Dump Audio Commands To Console** - 콘솔에 오디오 명령어 덤프 + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + 이 옵션에 체크할 시, 매크로 JIT 컴파일러를 비활성화 합니다. 게임 속도가 느려지니 유의하십시오. - - Create Minidump After Crash - 충돌후 미니덤프 생성 + + Disable Macro JIT + Macro JIT 비활성화 - + + When checked, the graphics API enters a slower debugging mode + 이 옵션을 활성화 시, 그래픽 API가 디버깅 모드로 진입하여 속도가 느려집니다. + + + + Enable Graphics Debugging + 그래픽 디버깅 활성화 + + + + When checked, it will dump all the macro programs of the GPU + 체크하면 GPU의 모든 매크로 프로그램을 덤프합니다. + + + + Dump Maxwell Macros + Maxwell 매크로 덤프 + + + + When checked, yuzu will log statistics about the compiled pipeline cache + 선택하면 yuzu는 컴파일된 파이프라인 캐시에 대한 통계를 기록합니다. + + + + Enable Shader Feedback + 셰이더 피드백 활성화 + + + + When checked, it enables Nsight Aftermath crash dumps + 선택하면 Nsight Aftermath 크래시 덤프가 활성화됩니다. + + + + Enable Nsight Aftermath + Nsight Aftermath 활성화 + + + 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 검사 수행 - + + Disable Web Applet + 웹 애플릿 비활성화 + + + + Enable All Controller Types + 모든 컨트롤러 유형 활성화 + + + + Enable Auto-Stub** + 자동 스텁 활성화** + + + + Kiosk (Quest) Mode + Kiosk (Quest) 모드 + + + + Enable CPU Debugging + CPU 디버깅 활성화 + + + + Enable Debug Asserts + 디버그 에러 검출 활성화 + + + + Debugging + 디버깅 + + + + Enable FS Access Log + FS 액세스 로그 활성화 + + + + Create Minidump After Crash + 충돌후 미니덤프 생성 + + + + 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** + 콘솔에 오디오 명령어 덤프 + + + + Enable Verbose Reporting Services** + 자세한 리포팅 서비스 활성화** + + + **This will be reset automatically when yuzu closes. **Yuzu가 종료되면 자동으로 재설정됩니다. @@ -1045,12 +923,12 @@ This would ban both their forum username and their IP address. 이 설정을 적용하려면 yuzu를 다시 시작해야 합니다. - + Web applet not compiled 웹 애플릿이 컴파일되지 않음 - + MiniDump creation not compiled MiniDump 생성이 컴파일되지 않음 @@ -1100,78 +978,83 @@ This would ban both their forum username and their IP address. yuzu 설정 - - + + Some settings are only available when a game is not running. + 일부 설정은 게임이 실행 중이 아닐 때만 사용할 수 있습니다. + + + + Audio 오디오 - - + + CPU CPU - + Debug 디버그 - + Filesystem 파일 시스템 - - + + General 일반 - - + + Graphics 그래픽 - + GraphicsAdvanced 그래픽 고급 - + Hotkeys 단축키 - - + + Controls 조작 - + Profiles 프로필 - + Network 네트워크 - - + + System 시스템 - + Game List 게임 목록 - + Web @@ -1330,62 +1213,17 @@ This would ban both their forum username and their IP address. 일반 - - Limit Speed Percent - 속도 퍼센트 제한 - - - - % - % - - - - Multicore CPU Emulation - 멀티 코어 CPU 에뮬레이션 - - - - 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 - 비활성 상태일 때 마우스 숨기기 - - - + 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? 모든 환경 설정과 게임별 맞춤 설정이 초기화됩니다. 게임 디렉토리나 프로필, 또는 입력 프로필은 삭제되지 않습니다. 진행하시겠습니까? @@ -1408,257 +1246,45 @@ This would ban both their forum username and their IP address. API 설정 - - Shader Backend: - 셰이더 백엔드: - - - - Device: - 장치: - - - - API: - API: - - - - - None - 없음 - - - + Graphics Settings 그래픽 설정 - - Use disk pipeline cache - 디스크 파이프라인 캐시 사용 - - - - Use asynchronous GPU emulation - 비동기 GPU 에뮬레이션 사용 - - - - Accelerate ASTC texture decoding - ASTC 텍스처 디코딩 가속화 - - - - 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) - - - - 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: - 윈도우 적응형 필터: - - - - Nearest Neighbor - Nearest Neighbor - - - - Bilinear - 이중선형 - - - - Bicubic - 고등차수보간 - - - - Gaussian - 가우시안 - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 슈퍼 해상도 (Vulkan 전용) - - - - Anti-Aliasing Method: - 안티에일리어싱 방식: - - - - FXAA - FXAA - - - - 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) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + + + + + VSync Off + 수직동기화 끔 + + + + Recommended + 추천 + + + + On + + + + + VSync On + 수직동기화 켬 @@ -1678,86 +1304,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings 고급 그래픽 설정 - - - Accuracy Level: - 정확도 수준: - - - - 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. - 수직 동기화는 화면 찢어짐 현상을 예방하지만, 몇몇의 그래픽카드는 수직 동기화로 인해 성능이 감소합니다. 성능의 변화를 느끼지 않는다면 활성화하는 것이 좋습니다. - - - - Use VSync - 수직 동기화 사용 - - - - 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. - 비관적 버퍼 플러시를 활성화합니다. 이 옵션은 수정되지 않은 버퍼를 강제로 비우므로 성능이 저하될 수 있습니다. - - - - Use pessimistic buffer flushes (Hack) - 비관적 버퍼 플러시 사용(Hack) - - - - Anisotropic Filtering: - 비등방성 필터링: - - - - Automatic - 자동 - - - - Default - 기본값 - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1787,70 +1333,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 +1683,7 @@ This would ban both their forum username and their IP address. - + Configure 설정 @@ -2168,6 +1709,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu yuzu를 다시 시작해야 합니다. @@ -2187,22 +1730,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 +1770,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 +1862,7 @@ This would ban both their forum username and their IP address. - + Left Stick L 스틱 @@ -2408,14 +1956,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2434,7 +1982,7 @@ This would ban both their forum username and their IP address. - + Plus + @@ -2447,15 +1995,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2512,236 +2060,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 +2358,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 설정 @@ -2825,7 +2394,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 테스트 @@ -2845,81 +2414,179 @@ 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 mouse panning + 마우스 패닝 활성화 + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + 핫키를 통해 전환할 수 있습니다. 기본 핫키는 Ctrl + F9입니다 + + + + Sensitivity + 민감도 + + + + Horizontal + 수평 + + + + + + + + % + % + + + + Vertical + 수직 + + + + Deadzone counterweight + 데드존 균형 + + + + Counteracts a game's built-in deadzone + 게임에 내장된 데드존에 대응 + + + + Deadzone + 데드존 + + + + Stick decay + 스틱 감소 + + + + Strength + 강도 + + + + Minimum + 최소 + + + + Default + 기본값 + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + 마우스 패닝은 데드존이 0%이고 범위가 100%일 때 더 잘 작동합니다. 현재 값은 각각 %1% 및 %2%입니다. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + 에뮬레이트 마우스가 활성화되었습니다. 이것은 마우스 패닝과 호환되지 않습니다. + + + + 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. + 실제 마우스 입력과 마우스 패닝은 호환되지 않습니다. 마우스 패닝을 허용하려면 입력 고급 설정에서 에뮬레이트 마우스를 비활성화하세요. + + ConfigureNetwork @@ -2951,100 +2618,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog Dialog - + Info 정보 - + Name 이름 - + Title ID 타이틀 ID - + Filename 파일명 - + Format 파일 형식 - + Version 버전 - + Size 크기 - + Developer 개발자 - + + Some settings are only available when a game is not running. + 일부 설정은 게임이 실행 중이 아닐 때만 사용할 수 있습니다. + + + Add-Ons 부가 기능 - - General - 일반 - - - + System 시스템 - + CPU CPU - + Graphics 그래픽 - + Adv. Graphics 고급 그래픽 - + Audio 오디오 - + Input Profiles - + 입력 프로파일 - + Properties 속성 - - - Use global configuration (%1) - 전역 설정 사용(%1) - ConfigurePerGameAddons @@ -3239,13 +2901,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. + 링콘을 사용하려면 게임을 시작하기 전에 플레이어 1을 오른쪽 조이콘 (실제 및 에뮬레이션 모두)으로, 플레이어 2를 왼쪽 조이콘 (왼쪽 실제 및 듀얼 에뮬레이션)으로 구성합니다. - Ring Sensor Parameters - 링 센서 매개변수 + Virtual Ring Sensor Parameters + 가상 링 센서 파라미터 @@ -3265,33 +2927,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] [대기중] @@ -3305,449 +3029,19 @@ UUID: %2 + System 시스템 - - System Settings - 시스템 설정 + + Core + 코어 - - Region: - 국가: - - - - Auto - 자동 - - - - Default - 기본값 - - - - CET - 중앙유럽 표준시(CET) - - - - CST6CDT - CST6CDT - - - - Cuba - 쿠바 - - - - EET - 동유럽 표준시(EET) - - - - Egypt - 이집트 - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - 영국 하계 표준시(GB) - - - - GB-Eire - GB-Eire - - - - GMT - 그리니치 표준시(GMT) - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - 그리니치 - - - - Hongkong - 홍콩 - - - - HST - 하와이-알류샨 표준시(HST) - - - - Iceland - 아이슬란드 - - - - Iran - 이란 - - - - Israel - 이스라엘 - - - - Jamaica - 자메이카 - - - - - Japan - 일본 - - - - Kwajalein - 크와잘린 - - - - Libya - 리비아 - - - - MET - 중앙유럽 표준시(MET) - - - - MST - 산악 표준시(MST) - - - - MST7MDT - MST7MDT - - - - Navajo - 나바호 - - - - NZ - 뉴질랜드 표준시(NZ) - - - - NZ-CHAT - 채텀 표준시(NZ-CHAT) - - - - Poland - 폴란드 - - - - Portugal - 포르투갈 - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - 북한 표준시(ROK) - - - - Singapore - 싱가포르 - - - - Turkey - 터키 - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - 협정 세계시(UTC) - - - - W-SU - 유럽/모스크바(W-SU) - - - - WET - 서유럽 - - - - Zulu - 줄루 - - - - USA - 미국 - - - - Europe - 유럽 - - - - Australia - 호주 - - - - China - 중국 - - - - Korea - 대한민국 - - - - Taiwan - 타이완 - - - - Time Zone: - 시계: - - - - Note: this can be overridden when region setting is auto-select - 참고 : 이 설정은 지역 설정이 '자동 선택'일 때 무시될 수 있습니다. - - - - Japanese (日本語) - 일본어(日本語) - - - - English - 영어 (English) - - - - French (français) - 프랑스어(français) - - - - German (Deutsch) - 독일어(Deutsch) - - - - Italian (italiano) - 이탈리아어(italiano) - - - - Spanish (español) - 스페인어(español) - - - - Chinese - 중국어 - - - - Korean (한국어) - 한국어(Korean) - - - - Dutch (Nederlands) - 네덜란드어(Nederlands) - - - - Portuguese (português) - 포르투갈어(português) - - - - Russian (Русский) - 러시아어(Русский) - - - - Taiwanese - 대만어 - - - - British English - 영어(영국) - - - - Canadian French - 캐나다 프랑스어 - - - - Latin American Spanish - 라틴 아메리카 스페인어 - - - - Simplified Chinese - 간체 - - - - Traditional Chinese (正體中文) - 번체 (正體中文) - - - - Brazilian Portuguese (português do Brasil) - 브라질 포르투갈어(português do Brasil) - - - - Custom RTC - 커스텀 RTC - - - - Language - 언어 - - - - RNG Seed - RNG 시드 - - - - Device Name - - - - - Mono - 모노 - - - - 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 +3110,7 @@ UUID: %2 TAS 설정 - + Select TAS Load Directory... TAS 로드 디렉토리 선택... @@ -3954,64 +3248,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None 없음 - + Small (32x32) 작은 크기 (32x32) - + Standard (64x64) 기본 크기 (64x64) - + Large (128x128) 큰 크기 (128x128) - + Full Size (256x256) 전체 크기(256x256) - + Small (24x24) 작은 크기 (24x24) - + Standard (48x48) 기본 크기 (48x48) - + Large (72x72) 큰 크기 (72x72) - + Filename 파일명 - + Filetype 파일타입 - + Title ID 타이틀 ID - + Title Name 타이틀 이름 @@ -4114,15 +3408,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + 해상도: + + + Select Screenshots Path... 스크린샷 경로 선택... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + 자동 (%1 x %2, %3 x %4) + ConfigureVibration @@ -4372,7 +3682,7 @@ Drag points to change position, or double-click table cells to edit values.컨트롤러 P1 - + &Controller P1 컨트롤러 P1(&C) @@ -4385,42 +3695,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 +3733,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 연결중 - + Connect 연결 @@ -4441,926 +3746,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 설치 감지됨 - + 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 +4657,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 +4696,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,48 +4746,143 @@ Would you like to bypass this and exit anyway? 이를 무시하고 나가시겠습니까? + + + None + 없음 + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Nearest + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + 가우시안 + + + + ScaleForce + 스케일포스 + + + + Docked + 거치 모드 + + + + Handheld + 휴대 모드 + + + + Normal + 보통 + + + + High + 높음 + + + + Extreme + 익스트림 + + + + Vulkan + 불칸 + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! OpenGL을 사용할 수 없습니다! - + OpenGL shared contexts are not supported. - + OpenGL 공유 컨텍스트는 지원되지 않습니다. - + yuzu has not been compiled with OpenGL support. yuzu는 OpenGL 지원으로 컴파일되지 않았습니다. - - + + Error while initializing OpenGL! OpenGL을 초기화하는 동안 오류가 발생했습니다! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. 사용하시는 GPU가 OpenGL을 지원하지 않거나, 최신 그래픽 드라이버가 설치되어 있지 않습니다. - + Error while initializing OpenGL 4.6! 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 사용하시는 GPU가 OpenGL 4.6을 지원하지 않거나 최신 그래픽 드라이버가 설치되어 있지 않습니다. <br><br>GL 렌더링 장치:<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 사용하시는 GPU가 1개 이상의 OpenGL 확장 기능을 지원하지 않습니다. 최신 그래픽 드라이버가 설치되어 있는지 확인하세요. <br><br>GL 렌더링 장치:<br>%1<br><br>지원하지 않는 확장 기능:<br>%2 @@ -5505,168 +4890,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite 선호하는 게임 - + Start Game 게임 시작 - + Start Game without Custom Configuration 맞춤 설정 없이 게임 시작 - + Open Save Data Location 세이브 데이터 경로 열기 - + Open Mod Data Location MOD 데이터 경로 열기 - + Open Transferable Pipeline Cache 전송 가능한 파이프라인 캐시 열기 - + Remove 제거 - + Remove Installed Update 설치된 업데이트 삭제 - + Remove All Installed DLC 설치된 모든 DLC 삭제 - + Remove Custom Configuration 사용자 지정 구성 제거 - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 바로가기 만들기 + 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 +5127,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 더블 클릭하여 게임 목록에 새 폴더 추가 @@ -5750,12 +5140,12 @@ Would you like to bypass this and exit anyway? %1 중의 %n 결과 - + Filter: 필터: - + Enter pattern to filter 검색 필터 입력 @@ -5831,12 +5221,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error 오류 - + 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: 공개 로비에 방을 알리지 못했습니다. 방을 공개적으로 호스트하려면 에뮬레이션 -> 구성 -> 웹에서 유효한 yuzu 계정이 구성되어 있어야 합니다. 공개 로비에 방을 게시하지 않으려면 대신 목록에 없음을 선택하세요. @@ -5846,138 +5236,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 +5390,7 @@ Debug Message: 설치 - + Install Files to NAND NAND에 파일 설치 @@ -6008,7 +5398,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 텍스트는 다음 문자를 포함할 수 없습니다: @@ -6083,51 +5473,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 +6060,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 시작/일시중지 @@ -6714,31 +6109,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [설정 안 됨] @@ -6749,14 +6144,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 축 %1%2 @@ -6767,264 +6162,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 + + + + + + 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 @@ -7176,7 +6629,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller 프로 컨트롤러 @@ -7189,7 +6642,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons 듀얼 조이콘 @@ -7202,7 +6655,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon 왼쪽 조이콘 @@ -7215,7 +6668,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon 오른쪽 조이콘 @@ -7244,7 +6697,7 @@ p, li { white-space: pre-wrap; } - + Handheld 휴대 모드 @@ -7360,32 +6813,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller GameCube 컨트롤러 - + Poke Ball Plus 몬스터볼 Plus - + NES Controller NES 컨트롤러 - + SNES Controller SNES 컨트롤러 - + N64 Controller N64 컨트롤러 - + Sega Genesis 세가 제네시스 @@ -7393,28 +6846,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 +6891,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 +7015,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 +7036,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 +7147,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..ab0d2b675 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> @@ -357,6 +365,26 @@ This would ban both their forum username and their IP address. Neste + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Auto (%1) + + + + Default (%1) + Default time zone + Normalverdi (%1) + + ConfigureAudio @@ -365,84 +393,43 @@ This would ban both their forum username and their IP address. Audio Lyd - - - Output Engine: - Utgangsmotor - - - - Output Device - - - - - Input Device - Inndataenhet - - - - Use global volume - Bruk globalt volum - - - - Set volume: - Sett volum: - - - - Volume: - Volum: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera 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 @@ -468,139 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General Generelt - - - Accuracy: - Nøyaktighet: - - - - Auto - Auto - - - - Accurate - Nøyaktig - - Unsafe - Utrygt - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". Vi anbefaler å sette nøyaktigheten til "Auto". - + Unsafe CPU Optimization Settings Utrygge CPU-Optimaliseringsinnstillinger - + These settings reduce accuracy for speed. Disse innstillingene reduserer nøyaktighet for fart. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Denne innstillingen øker hastigheten ved å redusere nøyaktigheten til fused-multiply-add–instruksjoner på prosessorer uten innebygd FMA-støtte.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Del opp FMA (forbedre ytelsen på prosessorer uten FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Denne innstillingen øker hastigheten til noen omtrentlige flyttallsfunksjoner ved å bruke mindre nøyaktige innebygde tilnærminger.</div> - - - - - Faster FRSQRTE and FRECPE - Raskere FRSQRTE og FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Denne innstillingen øker hastigheten til 32-bit ASIMD flyttallsfunksjoner ved å kjøre med ukorrekte avrundingsmoduser.</div> - - - - - Faster ASIMD instructions (32 bits only) - Raskere ASIMD-instruksjoner (kun 32-bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Denne innstillingen øker hastigheten ved å fjerne NaN-sjekking. Merk at dette også reduserer nøyaktigheten til enkelte flyttallsinstruskjoner.</div> - - - - - Inaccurate NaN handling - Unøyaktig NaN-håndtering - - - - - <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>Denne innstillingen øker hastigheten ved å eliminere en sikkerhetskontroll før hver lese- og skriveoperasjon til minne fra gjest. Å slå den av kan la et spill lese fra og skrive til emulatorens minne.</div> - - - - - Disable address space checks - Slå av adresseromskontroller - - - - - <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>Denne innstillingen øker hastigheten ved å bruke kun semantikken til cmpxchg for å bevare integriteten til eksklusiv aksess–instruksjoner. Merk at dette kan resultere i at programmet går i baklås eller andre datakappløp.</div> - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - CPU-innstillinger er bare tilgjengelige når ingen spill kjører. - ConfigureCpuDebug @@ -622,7 +495,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 +504,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 +605,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 +673,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 @@ -799,234 +692,244 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - + Feilsøker - + Enable GDB Stub Aktiver GDB Stub - + Port: Port: - + Logging Loggføring - - Global Log Filter - Global Loggfilter - - - - Show Log in Console - Vis logg i konsollen - - - + Open Log Location Åpne Logg-Plassering - + + Global Log Filter + Global Loggfilter + + + When checked, the max size of the log increases from 100 MB to 1 GB Når dette er på øker maksstørrelsen til loggen fra 100 MB til 1 GB - + Enable Extended Logging** Slå på utvidet loggføring** - + + Show Log in Console + Vis logg i konsollen + + + Homebrew Homebrew - + Arguments String Argument streng - + Graphics Grafikk - - When checked, the graphics API enters a slower debugging mode - Når dette er på går grafikk–API-et inn i en tregere feilsøkingsmodus - - - - Enable Graphics Debugging - Slå på Grafikkfeilsøking - - - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - - - - - Disable Macro JIT - - - - - When checked, yuzu will log statistics about the compiled pipeline cache - - - - - 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 + + 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 - - Enable Verbose Reporting Services** - + + Dump Game Shaders + Dump Spill Shadere - - Enable FS Access Log - + + 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 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Deaktiver Macro HLE - - Dump Audio Commands To Console** - + + 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 - - Create Minidump After Crash - + + Disable Macro JIT + Deaktiver Macro JIT - + + When checked, the graphics API enters a slower debugging mode + Når dette er på går grafikk–API-et inn i en tregere feilsøkingsmodus + + + + Enable Graphics Debugging + Slå på Grafikkfeilsøking + + + + 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, 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 enables Nsight Aftermath crash dumps + Når avhuket, aktiverer Nsight Aftermath kræsjdumper + + + + Enable Nsight Aftermath + Aktiver Nsight Aftermath + + + Advanced Avansert - - Kiosk (Quest) Mode - + + 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. - - Enable CPU Debugging - Slå på prosessorfeilsøking + + Perform Startup Vulkan Check + Utfør Vulkan-Sjekk Ved Oppstart - - Enable Debug Asserts - - - - - Enable Auto-Stub** - - - - - Enable All Controller Types - - - - + 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. - + + Enable All Controller Types + Aktiver Alle Kontrollertyper - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Aktiver Auto-Stub** - + + Kiosk (Quest) Mode + Kiosk (Quest) Modus + + + + Enable CPU Debugging + Slå på prosessorfeilsøking + + + + Enable Debug Asserts + Aktiver Feilsøkingsoppgaver + + + + Debugging + Feilsøking + + + + Enable FS Access Log + Aktiver FS Tilgangs Logg + + + + Create Minidump After Crash + Lag Minidump Etter Kræsj + + + + 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** + + + + Enable Verbose Reporting Services** + Aktiver Verbose Reporting Services** + + + **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 +977,83 @@ This would ban both their forum username and their IP address. yuzu Konfigurasjon - - + + Some settings are only available when a game is not running. + Noen innstillinger er bare tilgjengelige når spillet ikke er i gang. + + + + 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 +1132,7 @@ This would ban both their forum username and their IP address. Mod Load Root - + Modifikasjonlastingsopprinnelsen @@ -1239,7 +1147,7 @@ This would ban both their forum username and their IP address. Cache Game List Metadata - + Mellomlagre Spillistens Metadata @@ -1247,7 +1155,7 @@ This would ban both their forum username and their IP address. Reset Metadata Cache - + Tilbakestill Mellomlagringen for Metadata @@ -1267,7 +1175,7 @@ This would ban both their forum username and their IP address. Select Dump Directory... - + Velg Dump-Katalog @@ -1277,7 +1185,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 +1195,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. @@ -1304,62 +1212,17 @@ This would ban both their forum username and their IP address. Generelt - - Limit Speed Percent - Begrens Farts-Prosent - - - - % - % - - - - Multicore CPU Emulation - Fjerkjernes prosessoremulering - - - - 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 - - - + 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? @@ -1382,257 +1245,45 @@ This would ban both their forum username and their IP address. API-Innstillinger - - Shader Backend: - Shader-backend: - - - - Device: - Enhet: - - - - API: - API: - - - - - None - Ingen - - - + Graphics Settings Grafikkinnstillinger - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Bruk asynkron GPU-emulering - - - - Accelerate ASTC texture decoding - Akselerer ASTC-teksturdekoding - - - - 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 - - - - - 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) - - - - 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: - - - - - 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) - - - - Anti-Aliasing Method: - Anti-aliasing–metode: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + Av + + + + VSync Off + VSync Av + + + + Recommended + Anbefalt + + + + On + + + + + VSync On + VSync På @@ -1652,86 +1303,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Avanserte Grafikkinnstillinger - - - Accuracy Level: - 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. - - - - Use VSync - - - - - 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. - - - - - Use Fast GPU Time (Hack) - - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotropisk filtrering: - - - - Automatic - Automatisk - - - - Default - Standard - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1761,70 +1332,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 +1682,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 +1708,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Krever omstart av yuzu @@ -2161,22 +1729,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 +1769,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 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Venstre Pinne @@ -2382,14 +1955,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2403,12 +1976,12 @@ This would ban both their forum username and their IP address. Capture - + Opptak - + Plus Pluss @@ -2421,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2486,236 +2059,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 +2357,14 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. - + Configure Konfigurer Touch from button profile: - + Trykk fra knappens profil: @@ -2799,7 +2393,7 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. - + Test Test @@ -2819,81 +2413,180 @@ 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 mouse panning + Slå på musepanorering + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Kan veksles via en hurtigtast. Standard hurtigtast er Ctrl + F9 + + + + 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 + + + + Deadzone + Dødsone + + + + Stick decay + Forfall av spaken + + + + Strength + Styrke + + + + Minimum + Minimum + + + + Default + Standard + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Musepanorering fungerer bedre med en dødsone på 0 % og et område på 100 %. +Gjeldende verdier er henholdsvis %1% og %2%. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Emulert mus er aktivert. Dette er ikke kompatibelt med musepanorering. + + + + 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. + + ConfigureNetwork @@ -2925,100 +2618,95 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. ConfigurePerGame - + Dialog Dialog - + Info Info - + Name Navn - + Title ID Tittel-ID - + Filename Filnavn - + Format Format - + Version Versjon - + Size Størrelse - + Developer Utvikler - + + Some settings are only available when a game is not running. + Noen innstillinger er bare tilgjengelige når spillet ikke er i gang. + + + Add-Ons Tillegg - - General - Generelt - - - + System System - + CPU CPU - + Graphics Grafikk - + Adv. Graphics Avn. Grafikk - + Audio Lyd - + Input Profiles - + Inndataprofiler - + Properties Egenskaper - - - Use global configuration (%1) - Bruk global konfigurasjon (%1) - ConfigurePerGameAddons @@ -3189,7 +2877,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 +2888,8 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt. Name: %1 UUID: %2 - + Navn: %1 +UUID: %2 @@ -3208,29 +2897,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 +2927,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] @@ -3278,449 +3029,19 @@ UUID: %2 + System System - - System Settings - Systeminstillinger + + Core + Kjerne - - Region: - Region: - - - - Auto - Auto - - - - Default - Standard - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egypt - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Island - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japan - - - - Kwajalein - Kwajalein - - - - Libya - Libya - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polen - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapore - - - - Turkey - Tyrkia - - - - UCT - UCT - - - - Universal - Universalt - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australia - - - - China - Kina - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Tidssone: - - - - Note: this can be overridden when region setting is auto-select - NB: dette kan bli overstyrt når regionsinnstillingen er satt til auto-valg - - - - Japanese (日本語) - Japansk (日本語) - - - - English - Engelsk - - - - French (français) - Fransk (français) - - - - German (Deutsch) - Tysk (Deutsch) - - - - Italian (italiano) - Italiensk (italiano) - - - - Spanish (español) - Spansk (español) - - - - Chinese - Kinesisk - - - - Korean (한국어) - Koreansk (한국어) - - - - Dutch (Nederlands) - Nederlandsk (Nederlands) - - - - Portuguese (português) - Portugisisk (português) - - - - Russian (Русский) - Russisk (Русский) - - - - Taiwanese - Taiwansk - - - - British English - Britisk Engelsk - - - - Canadian French - Kanadisk Fransk - - - - Latin American Spanish - Latinamerikansk Spansk - - - - Simplified Chinese - Forenklet Kinesisk - - - - Traditional Chinese (正體中文) - Tradisjonell Kinesisk (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Brasiliansk portugisisk (português do Brasil) - - - - Custom RTC - Tilpasset Sannhetstidsklokke - - - - Language - Språk - - - - RNG Seed - - - - - Device Name - - - - - Mono - Mono - - - - 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 +3079,7 @@ UUID: %2 Loop script - + Loop script @@ -3789,7 +3110,7 @@ UUID: %2 TAS-konfigurasjon - + Select TAS Load Directory... Velg TAS-lastemappe... @@ -3799,12 +3120,12 @@ UUID: %2 Configure Touchscreen Mappings - + Konfigurer Kartlegging av Berøringsskjerm Mapping: - + Kartlegging: @@ -3927,64 +3248,64 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re ConfigureUI - - - + + + None Ingen - + Small (32x32) Liten (32x32) - + Standard (64x64) Standard (64x64) - + Large (128x128) Stor (128x128) - + Full Size (256x256) Full størrelse (256x256) - + Small (24x24) Liten (24x24) - + Standard (48x48) Standard (48x48) - + Large (72x72) Stor (72x72) - + Filename Filnavn - + Filetype Filtype - + Title ID Tittel-ID - + Title Name Tittelnavn @@ -4009,7 +3330,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 +3350,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Show Compatibility List - + Vis Kompabilitetsliste @@ -4039,12 +3360,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 @@ -4087,15 +3408,31 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re ... - + + TextLabel + + + + + Resolution: + Oppløsning: + + + Select Screenshots Path... Velg Skermbildebane... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4107,7 +3444,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 +3565,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 +3637,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 +3655,7 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Verified Tooltip - + Bekreftet @@ -4334,7 +3671,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 +3682,9 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re Kontroller P1 - + &Controller P1 - + &Controller P1 @@ -4355,600 +3692,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 +4330,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n fil ble ikke installert @@ -4964,377 +4338,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 +4660,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 +4699,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,48 +4749,143 @@ 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 - - + + OpenGL not available! OpenGL ikke tilgjengelig! - + OpenGL shared contexts are not supported. - + Delte OpenGL-kontekster støttes ikke. - + yuzu has not been compiled with OpenGL support. yuzu har ikke blitt kompilert med OpenGL-støtte. - - + + Error while initializing OpenGL! Feil under initialisering av OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Det kan hende at GPU-en din ikke støtter OpenGL, eller at du ikke har den nyeste grafikkdriveren. - + Error while initializing OpenGL 4.6! Feil under initialisering av 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 Det kan hende at GPU-en din ikke støtter OpenGL 4.6, eller at du ikke har den nyeste grafikkdriveren.<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 Det kan hende at GPU-en din ikke støtter én eller flere nødvendige OpenGL-utvidelser. Vennligst sørg for at du har den nyeste grafikkdriveren.<br><br>GL-renderer: <br>%1<br><br>Ikke-støttede utvidelser:<br>%2 @@ -5479,168 +4893,173 @@ Vil du overstyre dette og lukke likevel? GameList - + Favorite Legg til som favoritt - - - Start Game - - - - - Start Game without Custom Configuration - - + Start Game + Start Spill + + + + Start Game without Custom Configuration + Star Spill Uten Tilpasset Konfigurasjon + + + Open Save Data Location Åpne Lagret Data plassering - + Open Mod Data Location Åpne Mod Data plassering - + Open Transferable Pipeline Cache - + Åpne Overførbar Rørledningsbuffer - + Remove Fjern - + Remove Installed Update Fjern Installert Oppdatering - + Remove All Installed DLC Fjern All Installert DLC - + Remove Custom Configuration Fjern Tilpasset Konfigurasjon - - - Remove OpenGL Pipeline Cache - - - - - Remove Vulkan Pipeline Cache - - - - - Remove All Pipeline Caches - - + Remove Cache Storage + Fjern Hurtiglagring + + + + Remove OpenGL Pipeline Cache + Fjer OpenGL Rørledningsbuffer + + + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 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 +5069,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 +5084,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 +5104,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 +5130,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 +5143,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 +5158,22 @@ Vil du overstyre dette og lukke likevel? Create Room - + Opprett Rom Room Name - + Romnavn Preferred Game - + Foretrukket spill Max Players - + Maks Spillere @@ -5764,195 +5183,196 @@ 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 HostRoomWindow - + Error Feil - + 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 +5385,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 +5393,7 @@ Debug Message: Installer - + Install Files to NAND Installer filer til NAND @@ -5981,7 +5401,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 +5451,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 +5565,7 @@ Debug Message: &Debugging - + Feilsøking (&D) @@ -6175,7 +5600,7 @@ Debug Message: &Multiplayer - + Flerspiller (&M) @@ -6200,12 +5625,12 @@ Debug Message: L&oad File... - + Last inn fil... (&O) Load &Folder... - + Last inn mappe (&F) @@ -6230,12 +5655,12 @@ Debug Message: &About yuzu - + Om yuzu (&A) Single &Window Mode - + Énvindusmodus (&W) @@ -6245,7 +5670,7 @@ Debug Message: Display D&ock Widget Headers - + Vis Overskrifter for Dock Widget (&O) @@ -6265,27 +5690,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 +5720,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 +5775,12 @@ Debug Message: &Reset - + Tilbakestill (&R) R&ecord - + Spill inn (%E) @@ -6363,7 +5788,7 @@ Debug Message: &MicroProfile - + Mikroprofil (&M) @@ -6371,48 +5796,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 +5845,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 +5865,7 @@ Debug Message: New Messages Received - + Nye meldinger mottatt @@ -6451,7 +5876,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 +5885,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 +6063,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUS @@ -6644,17 +6073,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 +6112,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [ikke satt] @@ -6718,14 +6147,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Akse %1%2 @@ -6736,264 +6165,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 +6488,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo Innstillinger Amiibo Info - + Amiibo Info Series - + Serie Type - + TypeType @@ -7026,52 +6513,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 +6568,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 +6601,7 @@ p, li { white-space: pre-wrap; } Controller Applet - + Applet for kontroller @@ -7145,7 +6632,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro-Kontroller @@ -7158,7 +6645,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Doble Joycons @@ -7171,7 +6658,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Venstre Joycon @@ -7184,7 +6671,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Høyre Joycon @@ -7213,7 +6700,7 @@ p, li { white-space: pre-wrap; } - + Handheld Håndholdt @@ -7329,32 +6816,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7362,27 +6849,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 +6894,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 +7018,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..38e3e1244 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> @@ -357,54 +365,33 @@ This would ban both their forum username and their IP address. Volgende + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio Audio - Geluid - - - - Output Engine: - Output Engine: - - - - Output Device - - - - - Input Device - Invoer Apparaat - - - - Use global volume - Gebruik globaal volume - - - - Set volume: - stel volume in: - - - - Volume: - Volume: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% + Audio @@ -412,37 +399,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 @@ -468,146 +455,37 @@ This would ban both their forum username and their IP address. CPU - + General Algemeen - - - Accuracy: - Accuratie: - - - - Auto - Auto - - - - Accurate - Accuraat - - Unsafe - Onveilig - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". We raden aan de nauwkeurigheid op 'Auto' te zetten - + Unsafe CPU Optimization Settings - Onveilige CPU optimalisatie instellingen + Onveilige CPU-optimalisatie-instellingen - + These settings reduce accuracy for speed. Deze instellingen verlagen nauwkeurigheid voor snelheid. - - - - <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> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Ontbind FMA (verbeterd prestatie op CPU's zonder FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>Deze optie verbeterd de snelheid van sommige kommagetallen functies door minder naukeurige ingebouwde benaderingen te gebruiken.</div> - - - - Faster FRSQRTE and FRECPE - Snellere FRSRTE en FRECPE - - - - - <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> - - - - - Faster ASIMD instructions (32 bits only) - - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - -<div>Deze optie verbetert de snelheid door NaN-controle te verwijderen. Houd er rekening mee dat dit ook de nauwkeurigheid van bepaalde drijvende-komma-instructies vermindert.</div> - - - - Inaccurate NaN handling - Onnauwkeurige verwerking van 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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - CPU settings zijn alleen toegankelijk als er geen spel draait - ConfigureCpuDebug Form - Formulier + Vorm CPU - CPU - + CPU @@ -617,7 +495,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 +505,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 +525,7 @@ This would ban both their forum username and their IP address. Enable block linking - Schakel block linking in + Schakel blocklinking in @@ -655,13 +533,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 +551,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 +564,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 +577,7 @@ This would ban both their forum username and their IP address. Enable constant propagation - Constante verspreiding inschakelen + Schakel constante verspreiding in @@ -713,7 +590,7 @@ This would ban both their forum username and their IP address. Enable miscellaneous optimizations - Diverse optimalisaties inschakelen + Schakel diverse optimalisaties in @@ -728,7 +605,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 +615,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 +631,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 +647,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 +662,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 @@ -796,234 +680,244 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - + Debugger - + Enable GDB Stub - GDB Stub Aanzetten + Schakel GDB Stub in - + Port: Poort: - + Logging Loggen - + + Open Log Location + Open Loglocatie + + + Global Log Filter Globale Log Filter - - Show Log in Console - Laat Log Venster Zien - - - - Open Log Location - Open Log Locatie - - - + When checked, the max size of the log increases from 100 MB to 1 GB Indien aangevinkt, neemt de maximale grootte van de log toe van 100 MB tot 1 GB - + Enable Extended Logging** - Activeer Uitgebreid Loggen** + Schakel Uitgebreid Loggen** in - + + Show Log in Console + Toon Login-console + + + Homebrew Homebrew - + Arguments String - Argumenten Rij + Argumentenrij - + Graphics Graphics - - When checked, the graphics API enters a slower debugging mode - Indien aangevinkt, gaat de grafische API naar een langzamere foutopsporingsmodus + + When checked, it executes shaders without loop logic changes + Indien aangevinkt, voert het shaders uit zonder wijzigingen in de luslogica - - Enable Graphics Debugging - Grafische foutopsporing inschakelen + + Disable Loop safety checks + Schakel Lusveiligheidscontroles uit - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - - - - + 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 - + + 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 - - Dump Maxwell Macros - + + Disable Macro HLE + Schakel Macro HLE uit - + 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, the graphics API enters a slower debugging mode + Indien aangevinkt, gaat de grafische API naar een langzamere foutopsporingsmodus + + + + Enable Graphics Debugging + Schakel Graphics Foutopsporing in + + + + 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, 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 - + + When checked, it enables Nsight Aftermath crash dumps + Indien aangevinkt schakelt het Nsight Aftermath crashdumps in - - Disable Loop safety checks - + + Enable Nsight Aftermath + Schakel Nsight Aftermath in - - Debugging - 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 Geavanceerd - - Kiosk (Quest) Mode - Kiosk (Quest) Modus - - - - Enable CPU Debugging - - - - - Enable Debug Asserts - Schakel Debug asserties in - - - - 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. - + 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 - + + Disable Web Applet + Schakel Webapplet uit + + + + Enable All Controller Types + Schakel Alle Controler-soorten in + + + + Enable Auto-Stub** + Schakel Auto-Stub** in + + + + Kiosk (Quest) Mode + Kiosk-modus (Quest) + + + + Enable CPU Debugging + Schakel CPU-foutopsporing in + + + + Enable Debug Asserts + Schakel Debug-asserts in + + + + Debugging + Debugging + + + + Enable FS Access Log + Schakel FS-toegangslogboek in + + + + Create Minidump After Crash + Maak Minidump na Crash + + + + 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** + + + + Enable Verbose Reporting Services** + Schakel Verbose Reporting Services** in + + + **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 +925,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 +943,7 @@ This would ban both their forum username and their IP address. Form - Formulier + Vorm @@ -1060,8 +954,7 @@ This would ban both their forum username and their IP address. CPU - CPU - + CPU @@ -1069,81 +962,86 @@ This would ban both their forum username and their IP address. yuzu Configuration - yuzu Configuratie + yuzu-configuratie - - + + Some settings are only available when a game is not running. + + + + + 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 +1061,7 @@ This would ban both their forum username and their IP address. Storage Directories - Opslag Folders + Opslagmappen @@ -1182,12 +1080,12 @@ This would ban both their forum username and their IP address. SD Card - SD Kaart + SD-kaart Gamecard - Gamekaart + Spelkaart @@ -1197,7 +1095,7 @@ This would ban both their forum username and their IP address. Inserted - Ingevoerd + Geplaatst @@ -1207,7 +1105,7 @@ This would ban both their forum username and their IP address. Patch Manager - Patch Beheer + Patch-beheer @@ -1237,7 +1135,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 +1143,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 +1183,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. @@ -1302,62 +1200,17 @@ This would ban both their forum username and their IP address. Algemeen - - Limit Speed Percent - Limiteer Snelheid Percentage - - - - % - % - - - - Multicore CPU Emulation - 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. - - - - Pause emulation when in background - Pauzeer Emulatie wanneer yuzu op de achtergrond openstaat - - - - Mute audio when in background - - - - - 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,265 +1225,53 @@ This would ban both their forum username and their IP address. Graphics - Grafisch + Graphics API Settings - API instellingen + API-instellingen - - Shader Backend: - - - - - Device: - Apparaat: - - - - API: - API: - - - - - None - Geen - - - + Graphics Settings Grafische Instellingen - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Gebruik asynchroon GPU emulatie - - - - Accelerate ASTC texture decoding - - - - - NVDEC emulation: - - - - - No Video Output - - - - - CPU Video Decoding - - - - - GPU Video Decoding (Default) - - - - - Fullscreen Mode: - Volledig scherm modus: - - - - Borderless Windowed - BoordLoos 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 - - - - - 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) - - - - - 5X (3600p/5400p) - - - - - 6X (4320p/6480p) - - - - - Window Adapting Filter: - - - - - Nearest Neighbor - - - - - Bilinear - - - - - Bicubic - - - - - Gaussian - - - - - ScaleForce - - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - Anti-Aliasing Method: - - - - - FXAA - - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 100% - - - - - - Use global background color - Gebruik globale achtergrondkleur - - - - Set background color: - Gebruik achtergrondkleur: - - - + Background Color: Achtergrondkleur: - - GLASM (Assembly Shaders, NVIDIA Only) - - - - - SPIR-V (Experimental, Mesa Only) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + Uit + + + + VSync Off + VSync Uit + + + + Recommended + Aanbevolen + + + + On + Aan + + + + VSync On + VSync Aan @@ -1638,105 +1279,25 @@ This would ban both their forum username and their IP address. Form - Formulier + Vorm Advanced - Gedadvanceerd + Geavanceerd Advanced Graphics Settings Geavanceerde Grafische Instellingen - - - Accuracy Level: - 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. - - - - - Use Fast GPU Time (Hack) - - - - - 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 Filtering: - - - - Automatic - - - - - Default - Standaard - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys Hotkey Settings - Sneltoets Instellingen + Sneltoets-instellingen @@ -1746,7 +1307,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 +1320,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 +1447,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 +1533,7 @@ This would ban both their forum username and their IP address. Clear - Verwijder + Wis @@ -1990,7 +1546,7 @@ This would ban both their forum username and their IP address. Joycon Colors - Joycon Kleuren + Joycon-kleuren @@ -2007,7 +1563,7 @@ This would ban both their forum username and their IP address. L Body - L lichaam + L-lichaam @@ -2019,7 +1575,7 @@ This would ban both their forum username and their IP address. L Button - L Knop + L-knop @@ -2031,7 +1587,7 @@ This would ban both their forum username and their IP address. R Body - R lichaam + R-lichaam @@ -2043,7 +1599,7 @@ This would ban both their forum username and their IP address. R Button - R Knop + R-knop @@ -2083,7 +1639,7 @@ This would ban both their forum username and their IP address. Emulated Devices - + Geëmuleerde Apparaten @@ -2103,30 +1659,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 +1692,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 +1747,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 +1820,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 +1849,7 @@ This would ban both their forum username and their IP address. - + Left Stick Linker Stick @@ -2298,7 +1861,7 @@ This would ban both their forum username and their IP address. Up - Boven: + Omhoog @@ -2309,7 +1872,7 @@ This would ban both their forum username and their IP address. Left - Links: + Links @@ -2320,7 +1883,7 @@ This would ban both their forum username and their IP address. Right - Rechts: + Rechts @@ -2330,7 +1893,7 @@ This would ban both their forum username and their IP address. Down - Beneden: + Omlaag @@ -2338,7 +1901,7 @@ This would ban both their forum username and their IP address. Pressed - Ingedrukt: + Ingedrukt @@ -2346,13 +1909,13 @@ This would ban both their forum username and their IP address. Modifier - Modificatie: + Modificator Range - Berijk + Bereik @@ -2370,7 +1933,7 @@ This would ban both their forum username and their IP address. Modifier Range: 0% - Bewerk Range: 0% + Modificatorbereik: 0% @@ -2380,14 +1943,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2406,28 +1969,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 +2019,7 @@ This would ban both their forum username and their IP address. Face Buttons - Gezicht Knoppen + Gezichtsknoppen @@ -2484,238 +2047,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 +2307,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 +2335,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. UDP Calibration: - UDP Calibratie: + UDP-calibratie: @@ -2761,24 +2345,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 +2377,11 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Learn More - Leer Meer + Meer Info - + Test Test @@ -2809,87 +2393,185 @@ 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 mouse panning + Schakel muispanning in + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + Kracht + + + + Minimum + Minimum + + + + Default + Standaard + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. @@ -2897,12 +2579,12 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Form - Formulier + Vorm Network - + Netwerk @@ -2912,7 +2594,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Network Interface - + Netwerkinterface @@ -2923,99 +2605,94 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. ConfigurePerGame - + Dialog Dialoog - + Info Informatie - + Name Naam - + Title ID - Titel ID + Titel-ID - + Filename Bestandsnaam - + Format Formaat - + Version Versie - + Size Groote - + Developer Ontwikkelaar - - Add-Ons - Add-Ons - - - - General - Algemeen - - - - System - Systeem - - - - CPU - CPU - - - - Graphics - Grafisch - - - - Adv. Graphics - Adv. Grafisch - - - - Audio - Geluid - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Eigenschappen + Add-Ons + Add-Ons - - Use global configuration (%1) - Gebruik globale configuratie (%1) + + System + Systeem + + + + CPU + CPU + + + + Graphics + Graphics + + + + Adv. Graphics + Adv. Graphics + + + + Audio + Audio + + + + Input Profiles + Invoerprofielen + + + + Properties + Eigenschappen @@ -3023,7 +2700,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Form - Formulier + Vorm @@ -3033,7 +2710,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Patch Name - Patch Naam + Patch-naam @@ -3056,7 +2733,7 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Profile Manager - Profiel Beheer + Profielbeheer @@ -3071,12 +2748,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 +2768,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 +2781,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 +2801,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 +2851,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 +2864,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 +2875,8 @@ Om de assen te spiegelen, beweek je joystick eerst verticaal en dan horizontaal. Name: %1 UUID: %2 - + Naam: %1 +UUID: %2 @@ -3206,29 +2884,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 +2914,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] @@ -3276,449 +3016,19 @@ UUID: %2 + System Systeem - - System Settings - Systeeminstellingen - - - - Region: - Regio: - - - - Auto - Automatisch - - - - Default - Standaard - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egypte - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Ijsland - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japan - - - - Kwajalein - Kwajalein - - - - Libya - Libië - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polen - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapore - - - - Turkey - Turkije - - - - UCT - UCT - - - - Universal - Universeel - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australië - - - - China - China - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Tijd Zone: - - - - Note: this can be overridden when region setting is auto-select - Noot: dit kan worden overschreven wanneer de regio instelling op automatisch selecteren staat. - - - - Japanese (日本語) - Japans (日本語) - - - - English - Engels (English) - - - - French (français) - Frans (Français) - - - - German (Deutsch) - Duits (Deutsch) - - - - Italian (italiano) - Italiaans (italiano) - - - - Spanish (español) - Spaans (Español) - - - - Chinese - Chinees (正體中文 / 简体中文) - - - - Korean (한국어) - Koreaans (한국어) - - - - Dutch (Nederlands) - Nederlands (Nederlands) - - - - Portuguese (português) - Portugees (português) - - - - Russian (Русский) - Russisch (Русский) - - - - Taiwanese - Taiwanese - - - - British English - Brits Engels - - - - Canadian French - Canadees Frans - - - - Latin American Spanish - Latijns Amerikaans Spaans - - - - Simplified Chinese - Vereenvoudigd Chinees - - - - Traditional Chinese (正體中文) - Traditioneel Chinees (正體中文) - - - - Brazilian Portuguese (português do Brasil) + + Core - - Custom RTC - Handmatige RTC - - - - Language - Taal - - - - RNG Seed - RNG Seed - - - - Device Name - - - - - Mono - Mono - - - - 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 +3036,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 +3094,12 @@ UUID: %2 TAS Configuration - + TAS-configuratie - + Select TAS Load Directory... - + Selecteer TAS-laadmap... @@ -3797,12 +3107,12 @@ UUID: %2 Configure Touchscreen Mappings - Touchscreen Mappings Configureren + Configureer Touchscreen-toewijzingen Mapping: - Mapping: + Toewijzing: @@ -3817,14 +3127,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 +3176,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 +3204,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,72 +3229,72 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Restore Defaults - Herstel Standaardwaardes + Herstel Standaardwaarden ConfigureUI - - - + + + None Geen - + Small (32x32) - + Klein (32x32) - + Standard (64x64) - - - - - Large (128x128) - - - - - Full Size (256x256) - - - - - Small (24x24) - - - - - Standard (48x48) - - - - - Large (72x72) - + Standaard (64x64) + Large (128x128) + Groot (128x128) + + + + Full Size (256x256) + Volledige Grootte (256x256) + + + + Small (24x24) + Klein (24x24) + + + + Standard (48x48) + Standaard (48x48) + + + + Large (72x72) + Groot (72x72) + + + Filename Bestandsnaam - + Filetype - + Bestandstype - + Title ID - Titel ID + Titel-ID - + Title Name - + Titelnaam @@ -4007,12 +3317,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 +3332,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 +3382,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: @@ -4085,27 +3395,43 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen ... - - Select Screenshots Path... + + TextLabel - + + Resolution: + Resolutie: + + + + Select Screenshots Path... + Selecteer Schermafbeeldingspad... + + + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration 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 +3493,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 +3516,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 +3552,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 +3562,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 +3582,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 +3608,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 +3630,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 +3642,7 @@ Sleep punten om positie te veranderen, of dubbel klik één van de tabel cellen Verified Tooltip - + Geverifiëerd @@ -4332,7 +3658,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 +3666,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 +3679,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 + Fout tijdens het openen van %1 map - - + + 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. - - - - - Delete OpenGL Transferable Shader Cache? - - - - - Delete Vulkan Transferable Shader Cache? - - - - - Delete All Transferable Shader Caches? - - - - - Remove Custom Game Configuration? - - - - - Remove File - + Map bestaat niet! - - Error Removing Transferable Shader Cache - + Error Opening Transferable Shader Cache + Fout bij het openen van overdraagbare shader-cache - + Failed to create the shader cache directory for this title. + Kon de shader-cache-map voor dit spel niet aanmaken. + + + + Error Removing Contents + Fout bij het verwijderen van de inhoud + + + + Error Removing Update + Fout bij het verwijderen van de update + + + + Error Removing DLC + Fout bij het verwijderen van DLC + + + + Remove Installed Game Contents? + Geïnstalleerde Spelinhoud Verwijderen? + + + + 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 deze game + 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,304 +4638,415 @@ 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 + Naast + + + + 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 + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV GRenderWindow - - + + 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 GameList - - - Favorite - - - - - Start Game - - - Start Game without Custom Configuration - + 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 Mod Data Location - Open Mod Data Locatie - - - - Open Transferable Pipeline Cache - + Open Locatie van Save-data + Open Mod Data Location + Open Locatie van Mod-data + + + + Open Transferable Pipeline Cache + Open Overdraagbare Pijplijn-cache + + + Remove Verwijder - - - Remove Installed Update - - - - - Remove All Installed DLC - - - - - Remove Custom Configuration - - - - - Remove OpenGL Pipeline Cache - - - Remove Vulkan Pipeline Cache - + Remove Installed Update + Verwijder Geïnstalleerde Update + + + + Remove All Installed DLC + Verwijder Alle Geïnstalleerde DLC's - Remove All Pipeline Caches - + Remove Custom Configuration + Verwijder Aangepaste Configuraties - Remove All Installed Contents - + Remove Cache Storage + Cache-opslag verwijderen + Remove OpenGL Pipeline Cache + Verwijder OpenGL-pijplijn-cache + + + Remove Vulkan Pipeline Cache + Verwijder Vulkan-pijplijn-cache + + + + 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 - - - - Navigate to GameDB entry - Navigeer naar GameDB inzending - - - - Create Shortcut - - - Add to Desktop - + Dump RomFS to SDMC + Dump RomFS naar SDMC + + + + Copy Title ID to Clipboard + Kopiëer Titel-ID naar Klembord - Add to Applications Menu - + 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 +5056,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 +5071,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 +5091,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 +5111,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 +5127,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 +5145,22 @@ Wilt u dit omzeilen en toch afsluiten? Create Room - + Maak Kamer Room Name - + Kamernaam Preferred Game - + Voorkeursspel Max Players - + Maximum Spelers @@ -5755,195 +5170,196 @@ 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 HostRoomWindow - + 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 +5367,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 +5388,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 +5400,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 +5420,7 @@ Debug Message: Loading Shaders %1 / %2 - Shaders Laden %1 / %2 + Shaders Laden %1 / %2 @@ -6021,78 +5438,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 +5532,7 @@ Debug Message: &Recent Files - + &Recente Bestanden @@ -6125,57 +5547,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 +5607,17 @@ Debug Message: &Install Files to NAND... - + &Installeer Bestanden naar NAND... L&oad File... - + L&aad Bestand... Load &Folder... - + Laad &Map... @@ -6205,7 +5627,7 @@ Debug Message: &Pause - &Pauzeren + &Onderbreken @@ -6215,122 +5637,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 +5762,12 @@ Debug Message: &Reset - + &Herstel R&ecord - + Opnemen @@ -6353,7 +5775,7 @@ Debug Message: &MicroProfile - + &MicroProfile @@ -6361,48 +5783,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 +5832,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 +5852,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 +5872,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 +6011,7 @@ Proceed anyway? Error - + Fout @@ -6614,15 +6040,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 +6060,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 +6134,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axis %1%2 @@ -6722,264 +6152,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 +6475,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo-instellingen Amiibo Info - + Amiibo-info Series - + Serie Type - + Soort @@ -7012,52 +6500,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 +6555,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 +6588,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 @@ -7131,7 +6619,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7144,7 +6632,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Twee Joycons @@ -7157,7 +6645,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Linker Joycon @@ -7170,7 +6658,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Rechter Joycon @@ -7184,59 +6672,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 +6750,7 @@ p, li { white-space: pre-wrap; } Create - + Maak @@ -7315,65 +6803,71 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller - GameCube Controller - - - - Poke Ball Plus - + GameCube-controller - NES Controller - + Poke Ball Plus + Poke Ball Plus - SNES Controller - + NES Controller + NES-controller - N64 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 +6881,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 +6962,12 @@ Please try again or contact the developer of the software. Software Keyboard - Software Toetsenbord + Softwaretoetsenbord Enter Text - + Voer Tekst In @@ -7421,7 +6976,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 +6999,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..7f621d2f3 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> @@ -365,6 +365,26 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Następny + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Audio Dźwięk - - - Output Engine: - Silnik wyjściowy - - - - Output Device - Urządzenie Wyjściowe - - - - Input Device - Urządzenie Wejściowe - - - - Use global volume - Użyj globalnej głośności - - - - Set volume: - Ustaw głośność: - - - - Volume: - Głośność: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -425,12 +404,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 +419,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Preview - + Podgląd @@ -450,7 +429,7 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. Click to preview - + Kliknij aby obejrzeć podgląd @@ -476,134 +455,25 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP. CPU - + General Ogólne - - - Accuracy: - Precyzja: - - - - Auto - Automatyczny - - - - Accurate - Dokładność - - Unsafe - Niebezpieczne - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". Zalecamy ustawienie dokładności na "Dokładny". - + Unsafe CPU Optimization Settings Niebezpieczne ustawienia optymalizacji CPU - + These settings reduce accuracy for speed. Te ustawienia zwiększają prędkość kosztem dokładności emulacji - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -<div>Ta opcja zwiększa prędkość zmniejszając dokładność operacji FMA na procesorach bez natywnego wsparcia FMA.</div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - Unfuse FMA (zwiększ wydajność na procesorach bez FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>Ta opcja zwiększa prędkość wykonując przybliżenia operacji zmiennoprzecinkowych przez wykorzystanie mniej dokładnych natywnych przybliżeń</div> - - - - Faster FRSQRTE and FRECPE - Szybsze FRSQRTE i FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - -Ta opcja zwiększa szybkość 32-bitowych funkcji zmiennoprzecinkowych ASIMD, uruchamiając je z nieprawidłowymi trybami zaokrąglania. - - - - Faster ASIMD instructions (32 bits only) - Szybsze instrukcje ASIMD (Tylko 32-bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Ta opcja zwiększa szybkość, usuwając sprawdzanie NaN. Należy pamiętać, że zmniejsza to również dokładność niektórych instrukcji zmiennoprzecinkowych.</div> - - - - - Inaccurate NaN handling - Niedokładna obsługa 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> - - -Ta opcja poprawia prędkość usuwając weryfikację bezpieczeństwa przed każdym odczytem/zapisem pamięci w gościu. -Wyłączenie tej opcji może pozwolić grze na zapis lub odczyt pamięci emulatora. - - - - Disable address space checks - Wyłącz sprawdzanie przestrzeni adresów - - - - - <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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - Ustawienia CPU są dostępne tylko wtedy, gdy gra nie jest uruchomiona. - ConfigureCpuDebug @@ -760,7 +630,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 +639,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 +656,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 +671,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 @@ -811,234 +690,244 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d ConfigureDebug - + Debugger - + Debuger - + Enable GDB Stub Włącz namiastkę GDB - + Port: Port - + Logging Logowanie - - Global Log Filter - Globalny filtr rejestrów - - - - Show Log in Console - Pokaż Log w konsoli - - - + Open Log Location Otwórz miejsce rejestrów - + + Global Log Filter + Globalny filtr rejestrów + + + When checked, the max size of the log increases from 100 MB to 1 GB Kiedy zaznaczony, maksymalny rozmiar logu wzrasta ze 100 MB do 1 GB - + Enable Extended Logging** Włącz Przedłużony Logging** - + + Show Log in Console + Pokaż Log w konsoli + + + Homebrew Homebrew - + Arguments String Linijka argumentu - + Graphics Grafika - - When checked, the graphics API enters a slower debugging mode - Gdy zaznaczone, API grafiki przechodzi w wolniejszy tryb debugowania - - - - Enable Graphics Debugging - Włącz debugowanie grafiki - - - - When checked, it enables Nsight Aftermath crash dumps - Gdy zaznaczone, włącza zrzucanie awarii Nsight Aftermath - - - - Enable Nsight Aftermath - Włącz Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Po zaznaczeniu, zrzuci wszystkie oryginalne shadery asemblera z pamięci podręcznej dysku shaderów albo gry, jeśli zostaną znalezione - - - - Dump Game Shaders - Zrzuć Shadery Gry - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Gdy zaznaczone, wyłącza kompilator makr Just In Time. Włączenie tej opcji spowalnia działanie gier - - - - Disable Macro JIT - Wyłącz Makro JIT - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Po zaznaczeniu, zrzuci wszystkie oryginalne shadery asemblera z pamięci podręcznej dysku shaderów albo gry, jeśli zostaną znalezione - - Enable Verbose Reporting Services** - Włącz Pełne Usługi Raportowania** + + Dump Game Shaders + Zrzuć Shadery Gry - - Enable FS Access Log - Włącz dziennik Dostępu FS + + 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. - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Wyłącz makra HLE - - Dump Audio Commands To Console** - + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Gdy zaznaczone, wyłącza kompilator makr Just In Time. Włączenie tej opcji spowalnia działanie gier - - Create Minidump After Crash - + + Disable Macro JIT + Wyłącz Makro JIT - + + When checked, the graphics API enters a slower debugging mode + Gdy zaznaczone, API grafiki przechodzi w wolniejszy tryb debugowania + + + + Enable Graphics Debugging + Włącz debugowanie grafiki + + + + 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 + + + + 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 enables Nsight Aftermath crash dumps + Gdy zaznaczone, włącza zrzucanie awarii Nsight Aftermath + + + + Enable Nsight Aftermath + Włącz Nsight Aftermath + + + Advanced Zaawansowane - - Kiosk (Quest) Mode - Tryb Kiosk (Quest) + + 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. - - Enable CPU Debugging - Włącz Debugowanie CPU + + Perform Startup Vulkan Check + Przeprowadź sprawdzanie uruchamiania Vulkana - - Enable Debug Asserts - Włącz potwierdzenia debugowania - - - - Enable Auto-Stub** - Włącz Auto-Stub** - - - - Enable All Controller Types - - - - + 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. - + + Enable All Controller Types + Włącz wszystkie Typy Kontrolerów - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Włącz Auto-Stub** - + + Kiosk (Quest) Mode + Tryb Kiosk (Quest) + + + + Enable CPU Debugging + Włącz Debugowanie CPU + + + + Enable Debug Asserts + Włącz potwierdzenia debugowania + + + + Debugging + Debugowanie + + + + Enable FS Access Log + Włącz dziennik Dostępu FS + + + + Create Minidump After Crash + Utwórz mini zrzut po awarii + + + + 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** + + + + Enable Verbose Reporting Services** + Włącz Pełne Usługi Raportowania** + + + **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 +975,83 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Ustawienia yuzu - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1316,62 +1210,17 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Ogólne - - Limit Speed Percent - Procent limitu prędkości - - - - % - % - - - - Multicore CPU Emulation - Emulacja CPU Wielordzeniowa - - - - 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 - - - + 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ć? @@ -1394,257 +1243,45 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Ustawienia API - - Shader Backend: - Backend Shaderów: - - - - Device: - Urządzenie: - - - - API: - API: - - - - - None - Żadny - - - + Graphics Settings Ustawienia Graficzne - - Use disk pipeline cache - Użyj Pamięci Podręcznej Pipeline z dysku - - - - Use asynchronous GPU emulation - Użyj asynchronicznej emulacji GPU - - - - Accelerate ASTC texture decoding - Przyspiesz dekodowanie tekstur ASTC - - - - 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 - - - - - 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) - - - - 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: - 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) - - - - Anti-Aliasing Method: - Metoda Anty-Aliasingu: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) - - - - - %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 @@ -1664,87 +1301,6 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d Advanced Graphics Settings Zaawansowane ustawienia grafiki - - - Accuracy Level: - 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. - - - - Use VSync - Używaj VSync - - - - 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. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Filtrowanie anizotropowe: - - - - Automatic - Automatyczne - - - - Default - Domyślne - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1774,70 +1330,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 +1680,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 +1706,8 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. + + Requires restarting yuzu Należy zrestartować yuzu @@ -2174,22 +1727,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 +1767,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 +1859,7 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Left Stick Lewa gałka @@ -2395,14 +1953,14 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + L L - + ZL ZL @@ -2421,7 +1979,7 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - + Plus Plus @@ -2434,15 +1992,15 @@ Pozostaw tą funkcję włączoną, jeśli nie widać różnicy w wydajności. - - + + R R - + ZR ZR @@ -2499,236 +2057,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 +2355,7 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. - + Configure Konfiguruj @@ -2812,7 +2391,7 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. - + Test Test @@ -2832,81 +2411,179 @@ 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 mouse panning + Włącz panoramowanie myszą + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Domyślny + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2938,99 +2615,94 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. ConfigurePerGame - + Dialog Dialog - + Info Informacje - + Name Nazwa - + Title ID Identyfikator gry - + Filename Nazwa pliku - + Format Format - + Version Wersja - + Size Rozmiar - + Developer Deweloper - - Add-Ons - Dodatki - - - - General - Ogólne - - - - System - System - - - - CPU - CPU - - - - Graphics - Grafika - - - - Adv. Graphics - Zaaw. Grafika - - - - Audio - Dźwięk - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Właściwości + Add-Ons + Dodatki - - Use global configuration (%1) - Użyj globalnej konfiguracji (%1) + + 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 +2874,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 +2885,8 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo. Name: %1 UUID: %2 - + Nazwa: %1 +UUID: %2 @@ -3225,25 +2898,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 +2924,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] @@ -3291,449 +3026,19 @@ UUID: %2 + System System - - System Settings - Ustawienia systemu - - - - Region: - Region: - - - - Auto - Automatyczny - - - - Default - Domyślne - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egipt - - - - Eire - Irlandia - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islandia - - - - Iran - Iran - - - - Israel - Izrael - - - - Jamaica - Jamajka - - - - - Japan - Japonia - - - - Kwajalein - Kwajalein - - - - Libya - Libia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polska - - - - Portugal - Portugalia - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Turcja - - - - UCT - UCT - - - - Universal - Uniwersalny - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europa - - - - Australia - Australia - - - - China - Chiny - - - - Korea - Korea - - - - Taiwan - Tajwan - - - - Time Zone: - Strefa czasowa: - - - - Note: this can be overridden when region setting is auto-select - Uwaga: można to zmienić, gdy ustawienie regionu jest wybierane automatycznie - - - - Japanese (日本語) - Japoński (日本語) - - - - English - Angielski (English) - - - - French (français) - Francuski (français) - - - - German (Deutsch) - Niemiecki (Deutsch) - - - - Italian (italiano) - Włoski (italiano) - - - - Spanish (español) - Hiszpański (español) - - - - Chinese - Chiński - - - - Korean (한국어) - Koreański (한국어) - - - - Dutch (Nederlands) - Duński (Holandia) - - - - Portuguese (português) - Portugalski (português) - - - - Russian (Русский) - Rosyjski (Русский) - - - - Taiwanese - Tajwański - - - - British English - Angielski (Brytyjski) - - - - Canadian French - Fancuski (Kanada) - - - - Latin American Spanish - Hiszpański (Latin American) - - - - Simplified Chinese - Chiński (Uproszczony) - - - - Traditional Chinese (正體中文) - Chiński tradycyjny (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Portugalski (português do Brasil) - - - - Custom RTC - Niestandardowy RTC - - - - Language - Język - - - - RNG Seed - Ziarno RNG - - - - Device Name + + Core - - 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 +3107,7 @@ UUID: %2 Konfiguracja TAS - + Select TAS Load Directory... Wybierz Ścieżkę Załadowania TAS-a @@ -3940,64 +3245,64 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe ConfigureUI - - - + + + None Żadny - + Small (32x32) Małe (32x32) - + Standard (64x64) Standardowe (64x64) - + Large (128x128) Duże (128x128) - + Full Size (256x256) Pełny Rozmiar (256x256) - + Small (24x24) Małe (24x24) - + Standard (48x48) Standardowe (48x48) - + Large (72x72) Duże (72x72) - + Filename Nazwa pliku - + Filetype Typ pliku - + Title ID Identyfikator gry - + Title Name Nazwa Tytułu @@ -4042,7 +3347,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Show Compatibility List - + Pokaż listę kompatybilności @@ -4052,12 +3357,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 @@ -4100,15 +3405,31 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe ... - + + TextLabel + + + + + Resolution: + Rozdzielczość: + + + Select Screenshots Path... Wybierz ścieżkę zrzutów ekranu... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4241,7 +3562,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 +3640,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 +3652,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Verified Tooltip - + Zweryfikowany @@ -4358,7 +3679,7 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe Kontroler P1 - + &Controller P1 &Kontroler P1 @@ -4368,45 +3689,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 +3730,12 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe DirectConnectWindow - + Connecting Łączenie - + Connect Połącz @@ -4427,536 +3743,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 +4322,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 +4656,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 +4695,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,48 +4745,143 @@ 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 - - + + OpenGL not available! OpenGL niedostępny! - + OpenGL shared contexts are not supported. - + Współdzielone konteksty OpenGL nie są obsługiwane. - + yuzu has not been compiled with OpenGL support. yuzu nie zostało skompilowane z obsługą OpenGL. - - + + Error while initializing OpenGL! Błąd podczas inicjowania OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Twoja karta graficzna może nie obsługiwać OpenGL lub nie masz najnowszych sterowników karty graficznej. - + Error while initializing OpenGL 4.6! Błąd podczas inicjowania 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 Twoja karta graficzna może nie obsługiwać OpenGL 4.6 lub nie masz najnowszych sterowników karty graficznej.<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 Twoja karta graficzna może nie obsługiwać co najmniej jednego wymaganego rozszerzenia OpenGL. Upewnij się, że masz najnowsze sterowniki karty graficznej<br><br>GL Renderer:<br>%1<br><br>Nieobsługiwane rozszerzenia:<br>%2 @@ -5493,168 +4889,173 @@ Czy chcesz to ominąć i mimo to wyjść? GameList - + Favorite Ulubione - + Start Game Uruchom grę - + Start Game without Custom Configuration Uruchom grę bez niestandardowej konfiguracji - + Open Save Data Location Otwórz lokalizację zapisów - + Open Mod Data Location Otwórz lokalizację modyfikacji - + Open Transferable Pipeline Cache Otwórz Transferowalną Pamięć Podręczną Pipeline - + Remove Usuń - + Remove Installed Update Usuń zainstalowaną łatkę - + Remove All Installed DLC Usuń wszystkie zainstalowane DLC - + Remove Custom Configuration Usuń niestandardową konfigurację - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 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 +5065,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 +5080,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 +5100,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 +5126,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 +5139,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 +5179,7 @@ Czy chcesz to ominąć i mimo to wyjść? (Leave blank for open game) - + (Zostaw puste dla otwartej gry) @@ -5798,7 +5199,7 @@ Czy chcesz to ominąć i mimo to wyjść? Load Previous Ban List - + Załaduj poprzednią listę banów @@ -5808,165 +5209,166 @@ Czy chcesz to ominąć i mimo to wyjść? Unlisted - + Nie katalogowany Host Room - + Pokój hosta HostRoomWindow - + Error Błąd - + 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 +5389,7 @@ Debug Message: Zainstaluj - + Install Files to NAND Zainstaluj pliki na NAND @@ -5995,7 +5397,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 +5447,7 @@ Debug Message: Public Room Browser - + Przeglądarka publicznych pokoi @@ -6061,7 +5463,7 @@ Debug Message: Search - + Szukaj @@ -6070,51 +5472,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 +5596,7 @@ Debug Message: &Multiplayer - + &Multiplayer @@ -6279,27 +5686,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 +5797,7 @@ Debug Message: Ban List - + Lista banów @@ -6401,22 +5808,22 @@ Debug Message: Unban - + Unban Subject - + Temat Type - + Typ Forum Username - + Nazwa użytkownika forum @@ -6434,12 +5841,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 +5872,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 +5906,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 +5916,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 +5941,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 +5966,7 @@ Debug Message: You do not have enough permission to perform this action. - + Nie masz wystarczających uprawnień żeby przeprowadzić tę czynność. @@ -6571,18 +5979,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 +6059,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUZA @@ -6698,31 +6108,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [nie ustawione] @@ -6733,14 +6143,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Oś %1%2 @@ -6751,264 +6161,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 +6484,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Ustawienia Amiibo Amiibo Info - + Informacje o Amiibo Series - + Seria Type - + Typ @@ -7041,52 +6509,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 +6564,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? @@ -7160,7 +6628,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro kontroler @@ -7173,7 +6641,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Para Joyconów @@ -7186,7 +6654,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Lewy Joycon @@ -7199,7 +6667,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Prawy Joycon @@ -7228,7 +6696,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handheld @@ -7344,32 +6812,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7377,28 +6845,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 +6890,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 +7014,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 +7035,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 +7146,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..fbe66b4f1 100644 --- a/dist/languages/pt_BR.ts +++ b/dist/languages/pt_BR.ts @@ -163,7 +163,7 @@ p, li { white-space: pre-wrap; } Ban Player - Banir Jogador + Banir jogador @@ -185,7 +185,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Room Description - Descrição da Sala + Descrição da sala @@ -195,7 +195,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Leave Room - Sair da Sala + Sair da sala @@ -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> @@ -365,6 +365,26 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Próximo + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Audio Áudio - - - Output Engine: - Mecanismo de saída: - - - - Output Device - Dispositivo de Saída - - - - Input Device - Dispositivo de Entrada - - - - Use global volume - Usar volume global - - - - Set volume: - Definir volume: - - - - Volume: - Volume: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,139 +455,25 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.CPU - + General Geral - - - Accuracy: - Precisão: - - - - Auto - Automático - - - - Accurate - Preciso - - Unsafe - Não seguro - - - - Paranoid (disables most optimizations) - Paranoia (desativa a maioria das otimizações) - - - We recommend setting accuracy to "Auto". Recomendamos definir a precisão para "Automático". - + Unsafe CPU Optimization Settings Ajustes de otimização não seguros de CPU - + These settings reduce accuracy for speed. Estes ajustes reduzem a precisão para aprimorar a velocidade. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Esta opção melhora o desempenho reduzindo a precisão de instruções de multiplicação-adição unificada (FMA) em CPUs sem suporte nativo a este recurso.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Não usar FMA (melhora o desempenho em CPUs sem FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Esta opção melhora o desempenho de algumas instruções de ponto flutuante usando aproximações nativas menos precisas.</div> - - - - - Faster FRSQRTE and FRECPE - FRSQRTE e FRECPE mais rápidos - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Esta opção melhora a velocidade das funções de ponto flutuante ASIMD de 32 bits ao rodar com modos de arredondamento incorretos.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instruções ASIMD mais rápidas (apenas 32 bits) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Esta opção melhora a velocidade ao remover a verificação de valores não numerais. Por outro lado, ela reduz a precisão de certas instruções de ponto flutuante.</div> - - - - - Inaccurate NaN handling - Tratamento impreciso de 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>Esta opção melhora a velocidade, eliminando uma verificação de segurança antes de cada leitura/gravação de memória no hóspede. A desativação pode permitir que um jogo leia/escreva a memória do emulador.</div> - - - - - Disable address space checks - Desativar a verificação do espaço de endereços - - - - - <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>Esta opção melhora a velocidade ao depender apenas da semântica da instrução cmpxchg para garantir a segurança de instruções de acesso exclusivo. Observe que isto pode resultar em deadlocks e outras condições de concorrência.</div> - - - - - Ignore global monitor - Ignorar monitor global - - - - CPU settings are available only when game is not running. - Os ajustes de CPU só estão disponíveis enquanto o jogo não estiver em execução. - ConfigureCpuDebug @@ -808,12 +673,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 @@ -824,234 +692,244 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. ConfigureDebug - + Debugger Depurador - + Enable GDB Stub Ativar GDB stub - + Port: Porta: - + Logging Registros de depuração - - Global Log Filter - Filtro global de registros - - - - Show Log in Console - Mostrar registro no console - - - + Open Log Location Abrir local dos registros - + + Global Log Filter + Filtro global de registros + + + When checked, the max size of the log increases from 100 MB to 1 GB Quando ativado, o tamanho máximo do arquivo de registro aumenta de 100 MB para 1 GB - + Enable Extended Logging** Ativar registros avançados** - + + Show Log in Console + Mostrar registro no console + + + Homebrew Homebrew - + Arguments String Linha de argumentos - + Graphics Gráficos - - When checked, the graphics API enters a slower debugging mode - Quando ativado, a API gráfica entra em um modo de depuração mais lento. - - - - Enable Graphics Debugging - Ativar depuração de gráficos - - - - When checked, it enables Nsight Aftermath crash dumps - Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath - - - - Enable Nsight Aftermath - Ativar Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Se selecionado, extrai todos os shaders originários do cache do disco ou do jogo conforme encontrá-los. - - - - Dump Game Shaders - Descarregar shaders do jogo - - - - When checked, it will dump all the macro programs of the GPU - Quando marcada, essa opção irá extrair todos os macro programas da GPU - - - - Dump Maxwell Macros - Extrair macros Maxwell - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente. - - - - Disable Macro JIT - Desativar macro JIT - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Se selecionado, extrai todos os shaders originários do cache do disco ou do jogo conforme encontrá-los. - - Enable Verbose Reporting Services** - Ativar serviços de relatório detalhado** + + Dump Game Shaders + Descarregar shaders do jogo - - Enable FS Access Log - Ativar acesso de registro FS + + 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 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Desabilitar o Macro HLE - - Dump Audio Commands To Console** - + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente. - - Create Minidump After Crash - + + Disable Macro JIT + Desativar macro JIT - + + When checked, the graphics API enters a slower debugging mode + Quando ativado, a API gráfica entra em um modo de depuração mais lento. + + + + Enable Graphics Debugging + Ativar depuração de gráficos + + + + When checked, it will dump all the macro programs of the GPU + Quando marcada, essa opção irá extrair todos os macro programas da GPU + + + + Dump Maxwell Macros + Extrair macros Maxwell + + + + 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 enables Nsight Aftermath crash dumps + Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath + + + + Enable Nsight Aftermath + Ativar Nsight Aftermath + + + Advanced Avançado - - Kiosk (Quest) Mode - Modo quiosque (Quest) + + 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. - - Enable CPU Debugging - Ativar depuração de CPU + + Perform Startup Vulkan Check + Executar checagem do Vulkan na inicialização - - 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. - + + Enable All Controller Types + Ativar todos os tipos de controles - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Ativar auto-esboço** - + + Kiosk (Quest) Mode + Modo quiosque (Quest) + + + + Enable CPU Debugging + Ativar depuração de CPU + + + + Enable Debug Asserts + Ativar asserções de depuração + + + + Debugging + Depuração + + + + Enable FS Access Log + Ativar acesso de registro FS + + + + Create Minidump After Crash + Criar um despejo resumido após uma falha + + + + 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** + + + + Enable Verbose Reporting Services** + Ativar serviços de relatório detalhado** + + + **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 +977,83 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Configurações do yuzu - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1329,62 +1212,17 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Geral - - Limit Speed Percent - Limitar percentual de velocidade - - - - % - % - - - - Multicore CPU Emulation - Emulação de CPU multinúcleo - - - - 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 - - - + 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? @@ -1407,257 +1245,45 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Configurações de API - - Shader Backend: - Suporte de shaders: - - - - Device: - Dispositivo: - - - - API: - API: - - - - - None - Nenhum - - - + Graphics Settings Configurações gráficas - - Use disk pipeline cache - Usar cache de pipeline em disco - - - - Use asynchronous GPU emulation - Usar emulação assíncrona da GPU - - - - Accelerate ASTC texture decoding - Acelerar a decodificação de textura ASTC - - - - 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 - - - - - 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) - - - - 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: - 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) - - - - Anti-Aliasing Method: - Método de Anti-Aliasing - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) - - - - - %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 @@ -1677,86 +1303,6 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Advanced Graphics Settings Configurações gráficas avançadas - - - Accuracy Level: - 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. - - - - Use VSync - - - - - 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. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Filtragem anisotrópica: - - - - Automatic - Automático - - - - Default - Padrão - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1786,70 +1332,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 +1682,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Configure Configurar @@ -2153,7 +1694,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Infrared Camera - + Câmera infravermelha @@ -2167,6 +1708,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 +1729,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 +1769,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 +1861,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Left Stick Analógico esquerdo @@ -2407,14 +1955,14 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + L L - + ZL ZL @@ -2433,7 +1981,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Plus Mais @@ -2446,15 +1994,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - - + + R R - + ZR ZR @@ -2511,236 +2059,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 +2357,7 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori - + Configure Configurar @@ -2824,7 +2393,7 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori - + Test Teste @@ -2844,81 +2413,179 @@ 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 mouse panning + Ativar o giro do mouse + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Padrão + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + ConfigureNetwork @@ -2950,99 +2617,94 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori ConfigurePerGame - + Dialog Diálogo - + Info Informações - + Name Nome - + Title ID ID do título - + Filename Nome do arquivo - + Format Formato - + Version Versão - + Size Tamanho - + Developer Desenvolvedor - - Add-Ons - Adicionais - - - - General - Geral - - - - System - Sistema - - - - CPU - CPU - - - - Graphics - Gráficos - - - - Adv. Graphics - Gráf. avançados - - - - Audio - Áudio - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Propriedades + Add-Ons + Adicionais - - Use global configuration (%1) - Usar configuração global (%1) + + System + Sistema + + + + CPU + CPU + + + + Graphics + Gráficos + + + + Adv. Graphics + Gráf. avançados + + + + Audio + Áudio + + + + Input Profiles + Perfis de controle + + + + Properties + Propriedades @@ -3214,18 +2876,19 @@ 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. - + Apagar esse usuário? Todos os dados salvos desse usuário serão removidos. Confirm Delete - Confirmar Exclusão + Confirmar exclusão Name: %1 UUID: %2 - + Nome: %1 +UUID: %2 @@ -3237,12 +2900,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 +2926,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] @@ -3303,449 +3028,19 @@ UUID: %2 + System Sistema - - System Settings - Configurações de sistema - - - - Region: - Região: - - - - Auto - Automático - - - - Default - Padrão - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egito - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islândia - - - - Iran - Irã - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japão - - - - Kwajalein - Ilhas Marshall - - - - Libya - Líbia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polônia - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapura - - - - Turkey - Turquia - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - EUA - - - - Europe - Europa - - - - Australia - Austrália - - - - China - China - - - - Korea - Coréia - - - - Taiwan - Taiwan - - - - Time Zone: - Fuso horário: - - - - Note: this can be overridden when region setting is auto-select - Nota: isso pode ser substituído caso a configuração de região automática esteja ativada - - - - Japanese (日本語) - Japônes (日本語) - - - - English - Inglês (English) - - - - French (français) - Francês (français) - - - - German (Deutsch) - Alemão (Deutsch) - - - - Italian (italiano) - Italiano (italiano) - - - - Spanish (español) - Espanhol (español) - - - - Chinese - Chinês - - - - Korean (한국어) - Coreano (한국어) - - - - Dutch (Nederlands) - Holandês (Nederlands) - - - - Portuguese (português) - Português - - - - Russian (Русский) - Russo (Русский) - - - - Taiwanese - Taiwanês - - - - British English - Inglês britânico (British English) - - - - Canadian French - Francês canadense (Canadian French) - - - - Latin American Spanish - Espanhol latino-americano - - - - Simplified Chinese - Chinês simplificado - - - - Traditional Chinese (正體中文) - Chinês tradicional (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Português do Brasil (Brazilian Portuguese) - - - - Custom RTC - Data e hora personalizada - - - - Language - Idioma - - - - RNG Seed - Semente RNG - - - - Device Name + + Core - - Mono - Mono - - - - 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 +3109,7 @@ UUID: %2 Configurar TAS - + Select TAS Load Directory... Selecionar diretório de carregamento TAS @@ -3952,64 +3247,64 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe ConfigureUI - - - + + + None Nenhum - + Small (32x32) Pequeno (32x32) - + Standard (64x64) Padrão (64x64) - + Large (128x128) Grande (128x128) - + Full Size (256x256) Tamanho completo (256x256) - + Small (24x24) Pequeno (24x24) - + Standard (48x48) Padrão (48x48) - + Large (72x72) Grande (72x72) - + Filename Nome do arquivo - + Filetype Tipo de arquivo - + Title ID ID do título - + Title Name Nome do título @@ -4054,7 +3349,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Show Compatibility List - + Mostrar lista de compatibilidade @@ -4064,12 +3359,12 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Show Size Column - + Mostrar coluna de tamanho Show File Types Column - + Mostrar coluna de tipos de arquivos @@ -4112,15 +3407,31 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe ... - + + TextLabel + + + + + Resolution: + Resolução: + + + Select Screenshots Path... Selecione a pasta de capturas de tela... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4253,7 +3564,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 +3642,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 +3654,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe Verified Tooltip - + Verificado @@ -4370,7 +3681,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 +3691,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 + Mudo + + + + 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 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 +4322,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 +4331,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 +4340,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 +4662,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 +4701,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,48 +4751,143 @@ 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 - - + + OpenGL not available! OpenGL não disponível! - + OpenGL shared contexts are not supported. - + Shared contexts do OpenGL não são suportados. - + yuzu has not been compiled with OpenGL support. O yuzu não foi compilado com suporte para OpenGL. - - + + Error while initializing OpenGL! Erro ao inicializar o OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Sua GPU pode não suportar OpenGL, ou você não possui o driver gráfico mais recente. - + Error while initializing OpenGL 4.6! Erro ao inicializar o 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 Sua GPU pode não suportar o OpenGL 4.6, ou você não possui os drivers gráficos mais recentes.<br><br>Renderizador GL:<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 Sua GPU pode não suportar uma ou mais extensões necessárias do OpenGL. Verifique se você possui a última versão dos drivers gráficos.<br><br>Renderizador GL:<br>%1<br><br>Extensões não suportadas:<br>%2 @@ -5509,168 +4895,173 @@ Deseja ignorar isso e sair mesmo assim? GameList - + Favorite Favorito - + Start Game Iniciar jogo - + Start Game without Custom Configuration Iniciar jogo sem configuração personalizada - + Open Save Data Location Abrir local dos jogos salvos - + Open Mod Data Location Abrir local dos dados de mods - + Open Transferable Pipeline Cache Abrir cache de pipeline transferível - + Remove Remover - + Remove Installed Update Remover atualização instalada - + Remove All Installed DLC Remover todos os DLCs instalados - + Remove Custom Configuration Remover configuração customizada - + + Remove Cache Storage + Remover 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 - - - - - Add to Desktop - Adicionar à Área de Trabalho - - - - Add to Applications Menu - Adicionar ao Menu de Aplicativos + 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 +5132,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 +5145,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 @@ -5769,220 +5160,221 @@ Deseja ignorar isso e sair mesmo assim? Create Room - Criar Sala + Criar sala Room Name - + Nome da sala Preferred Game - + Jogo preferido Max Players - + Máximo de jogadores Username - Nome de Usuário + Nome de usuário (Leave blank for open game) - + (Deixe em branco para um jogo aberto) Password - + Senha Port - + Porta Room Description - Descrição da Sala + Descrição da sala Load Previous Ban List - + Carregar Lista de Banimento Anterior Public - + Público Unlisted - + Não listado Host Room - + Hospedar sala HostRoomWindow - + Error Erro - + 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 - + Aumentar volume - + Audio Volume Up - + Abaixar volume - + Capture Screenshot - Capturar Tela + 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 inteira - + Exit yuzu - + Sair do yuzu - + Fullscreen - Tela Cheia + Tela inteira - + Load File - Carregar Arquivo + 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 +5395,7 @@ Debug Message: Instalar - + Install Files to NAND Instalar arquivos para a NAND @@ -6011,7 +5403,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 +5453,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 + Ocultar salas vazias + + + Hide Full Rooms - + Ocultar salas cheias - + Refresh Lobby - + Atualizar sala - + Password Required to Join - + É necessária uma senha para entrar - + Password: - + Senha: - + Players Jogadores - - - Room Name - - - - - Preferred Game - - + Room Name + Nome da sala + + + + Preferred Game + Jogo preferido + + + Host - + Anfitrião - + Refreshing - + Atualizando - + Refresh List - + Atualizar lista @@ -6205,7 +5602,7 @@ Debug Message: &Multiplayer - + &Multijogador @@ -6295,27 +5692,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 - + Entrar &diretamente numa sala &Show Current Room - + Mostrar &sala atual @@ -6401,48 +5798,48 @@ Debug Message: Moderation - + Moderação Ban List - + Lista de banimentos Refreshing - + Atualizando Unban - + Readmitir Subject - + Assunto Type - + Tipo Forum Username - + Nome de usuário no fórum IP Address - + Endereço IP Refresh - + Atualizar @@ -6450,17 +5847,17 @@ Debug Message: Current connection status - + Estado atual da conexão Not Connected. Click here to find a room! - + Não conectado. Clique aqui para procurar uma sala! Not Connected - + Não conectado @@ -6470,7 +5867,7 @@ Debug Message: New Messages Received - + Novas mensagens recebidas @@ -6481,7 +5878,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 +5887,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. 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! 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 +5957,7 @@ Debug Message: Connection to room lost. Try to reconnect. - + Conexão com a sala encerrada. Tente reconectar. @@ -6664,7 +6062,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIAR/PAUSAR @@ -6713,31 +6111,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [não definido] @@ -6748,14 +6146,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eixo %1%2 @@ -6766,264 +6164,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 +6502,7 @@ p, li { white-space: pre-wrap; } Type - + Tipo @@ -7061,7 +6517,7 @@ p, li { white-space: pre-wrap; } Custom Name - + Nome personalizado @@ -7175,7 +6631,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7188,7 +6644,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Par de Joycons @@ -7201,7 +6657,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon esquerdo @@ -7214,7 +6670,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon direito @@ -7243,7 +6699,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portátil @@ -7359,32 +6815,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Controle de GameCube - + Poke Ball Plus Poké Ball Plus - + NES Controller Controle do NES - + SNES Controller Controle do SNES - + N64 Controller Controle do Nintendo 64 - + Sega Genesis Mega Drive @@ -7392,28 +6848,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 +6893,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 +7017,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 +7038,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 +7149,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..45224d0a3 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> @@ -365,6 +365,26 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Próximo + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Audio Audio - - - Output Engine: - Motor de Saída: - - - - Output Device - Dispositivo de saída - - - - Input Device - Dispositivo de Entrada - - - - Use global volume - Usar volume global - - - - Set volume: - Definir volume: - - - - Volume: - Volume: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,137 +455,25 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.CPU - + General Geral - - - Accuracy: - Precisão: - - - - Auto - Automático - - - - Accurate - Preciso - - Unsafe - Inseguro - - - - Paranoid (disables most optimizations) - Paranoia (desativa a maioria das otimizações) - - - We recommend setting accuracy to "Auto". Recomendamos definir a precisão para "Automático". - + Unsafe CPU Optimization Settings Definições de Optimização do CPU Inseguras - + These settings reduce accuracy for speed. Estas definições reduzem precisão em troca de velocidade. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -<div>Esta opção melhora a velocidade ao reduzir a precisão das instruções de fused-multiply-add nas CPUs sem suporte nativo de FMA.</div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - FMA inseguro (Melhorar performance no CPU sem FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>Esta opção melhora a rapidez de algumas funções de pontos-flutuantes aproximados ao usar aproximações nativas menos precisas</div> - - - - Faster FRSQRTE and FRECPE - FRSQRTE e FRECPE mais rápido - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Esta opção melhora a velocidade das funções de ponto flutuante ASIMD de 32 bits ao rodar com modos de arredondamento incorretos.</div> - - - - - Faster ASIMD instructions (32 bits only) - Instruções ASIMD mais rápidas (apenas 32 bits) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - <div>Esta opção melhora a velocidade ao remover a verificação de valores não numerais. Por outro lado, ela reduz a precisão de certas instruções de ponto flutuante.</div> - - - - - Inaccurate NaN handling - Tratamento impreciso de 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>Esta opção melhora a velocidade, eliminando uma verificação de segurança antes de cada leitura/gravação de memória no hóspede. A desativação pode permitir que um jogo leia/escreva a memória do emulador.</div> - - - - - Disable address space checks - Desativar a verificação do espaço de endereços - - - - - <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>Esta opção melhora a velocidade ao depender apenas da semântica da instrução cmpxchg para garantir a segurança de instruções de acesso exclusivo. Observe que isto pode resultar em deadlocks e outras condições de concorrência.</div> - - - - - Ignore global monitor - Ignorar monitor global - - - - CPU 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. - ConfigureCpuDebug @@ -798,12 +665,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 @@ -814,234 +684,244 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. ConfigureDebug - + Debugger Depurador - + Enable GDB Stub Activar GDB Stub - + Port: Porta: - + Logging Entrando - - Global Log Filter - Filtro de registro global - - - - Show Log in Console - Mostrar Relatório na Consola - - - + Open Log Location Abrir a localização do registro - + + Global Log Filter + Filtro de registro global + + + When checked, the max size of the log increases from 100 MB to 1 GB Quando ativado, o tamanho máximo do registo aumenta de 100 MB para 1 GB - + Enable Extended Logging** Ativar registros avançados** - + + Show Log in Console + Mostrar Relatório na Consola + + + Homebrew Homebrew - + Arguments String Argumentos String - + Graphics Gráficos - - When checked, the graphics API enters a slower debugging mode - Quando ativado, a API gráfica entra em um modo de depuração mais lento. - - - - Enable Graphics Debugging - Activar Depuração Gráfica - - - - When checked, it enables Nsight Aftermath crash dumps - Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath - - - - Enable Nsight Aftermath - Ativar Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - Se selecionado, descarrega todos os shaders originários do cache do disco ou do jogo conforme encontrá-los. - - - - Dump Game Shaders - Descarregar shaders do jogo - - - - When checked, it will dump all the macro programs of the GPU - Quando marcada, essa opção irá despejar todos os macro programas da GPU - - - - Dump Maxwell Macros - Despejar macros Maxwell - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente. - - - - Disable Macro JIT - Desactivar Macro JIT - - - - 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 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Se selecionado, descarrega todos os shaders originários do cache do disco ou do jogo conforme encontrá-los. - - Enable Verbose Reporting Services** - Ativar serviços de relatório detalhado** + + Dump Game Shaders + Descarregar shaders do jogo - - Enable FS Access Log - Ativar acesso de registro FS + + 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 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Desabilitar o Macro HLE - - Dump Audio Commands To Console** - + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente. - - Create Minidump After Crash - + + Disable Macro JIT + Desactivar Macro JIT - + + When checked, the graphics API enters a slower debugging mode + Quando ativado, a API gráfica entra em um modo de depuração mais lento. + + + + Enable Graphics Debugging + Activar Depuração Gráfica + + + + When checked, it will dump all the macro programs of the GPU + Quando marcada, essa opção irá despejar todos os macro programas da GPU + + + + Dump Maxwell Macros + Despejar macros Maxwell + + + + 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 enables Nsight Aftermath crash dumps + Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath + + + + Enable Nsight Aftermath + Ativar Nsight Aftermath + + + Advanced Avançado - - Kiosk (Quest) Mode - Modo Quiosque (Quest) + + 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. - - Enable CPU Debugging - Ativar depuração de CPU + + Perform Startup Vulkan Check + Executar checagem do Vulkan na inicialização - - 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. - + + Enable All Controller Types + Ativar todos os tipos de controles - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Ativar auto-esboço** - + + Kiosk (Quest) Mode + Modo Quiosque (Quest) + + + + Enable CPU Debugging + Ativar depuração de CPU + + + + Enable Debug Asserts + Ativar asserções de depuração + + + + Debugging + Depuração + + + + Enable FS Access Log + Ativar acesso de registro FS + + + + Create Minidump After Crash + Criar um despejo resumido após uma falha + + + + 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** + + + + Enable Verbose Reporting Services** + Ativar serviços de relatório detalhado** + + + **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 +969,83 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Configuração yuzu - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1319,62 +1204,17 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Geral - - Limit Speed Percent - Percentagem do limitador de velocidade - - - - % - % - - - - Multicore CPU Emulation - Emulação de CPU Multicore - - - - 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. - - - + 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? @@ -1397,257 +1237,45 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Definições API - - Shader Backend: - Suporte de shaders: - - - - Device: - Dispositivo: - - - - API: - API: - - - - - None - Nenhum - - - + Graphics Settings Definições Gráficas - - Use disk pipeline cache - Usar cache de pipeline em disco - - - - Use asynchronous GPU emulation - Usar emulação assíncrona de GPU - - - - Accelerate ASTC texture decoding - Acelerar a decodificação de textura ASTC - - - - 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 - - - - - 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) - - - - 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: - 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) - - - - Anti-Aliasing Method: - Método de Anti-Aliasing - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) - - - - - %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 @@ -1667,86 +1295,6 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.Advanced Graphics Settings Definições de Gráficos Avançadas - - - Accuracy Level: - 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. - - - - Use VSync - - - - - 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. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Filtro Anisotrópico: - - - - Automatic - Automático - - - - Default - Padrão - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1776,70 +1324,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 +1674,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Configure Configurar @@ -2143,7 +1686,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. Infrared Camera - + Câmera infravermelha @@ -2157,6 +1700,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 +1721,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 +1761,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 +1853,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Left Stick Analógico Esquerdo @@ -2397,14 +1947,14 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + L L - + ZL ZL @@ -2423,7 +1973,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - + Plus Mais @@ -2436,15 +1986,15 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP. - - + + R R - + ZR ZR @@ -2501,236 +2051,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 +2349,7 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho - + Configure Configurar @@ -2814,7 +2385,7 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho - + Test Testar @@ -2834,81 +2405,179 @@ 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 mouse panning + Ativar o giro do mouse + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Padrão + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + ConfigureNetwork @@ -2940,99 +2609,94 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho ConfigurePerGame - + Dialog Diálogo - + Info Informação - + Name Nome - + Title ID ID de Título - + Filename Nome de Ficheiro - + Format Formato - + Version Versão - + Size Tamanho - + Developer Desenvolvedor - - Add-Ons - Add-Ons - - - - General - Geral - - - - System - Sistema - - - - CPU - CPU - - - - Graphics - Gráficos - - - - Adv. Graphics - Gráficos Avç. - - - - Audio - Audio - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Propriedades + Add-Ons + Add-Ons - - Use global configuration (%1) - Usar configuração global (%1) + + System + Sistema + + + + CPU + CPU + + + + Graphics + Gráficos + + + + Adv. Graphics + Gráficos Avç. + + + + Audio + Audio + + + + Input Profiles + Perfis de controle + + + + Properties + Propriedades @@ -3204,7 +2868,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 +2879,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 +2892,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 +2918,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] @@ -3293,449 +3020,19 @@ UUID: %2 + System Sistema - - System Settings - Configurações de Sistema - - - - Region: - Região: - - - - Auto - Automático - - - - Default - Padrão - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Cuba - - - - EET - EET - - - - Egypt - Egipto - - - - Eire - Irlanda - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Irlanda - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Islândia - - - - Iran - Irão - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japão - - - - Kwajalein - Kwajalein - - - - Libya - Líbia - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polónia - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapura - - - - Turkey - Turquia - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - EUA - - - - Europe - Europa - - - - Australia - Austrália - - - - China - China - - - - Korea - Coreia - - - - Taiwan - Taiwan - - - - Time Zone: - Fuso Horário: - - - - Note: this can be overridden when region setting is auto-select - Nota: isto pode ser substituído quando a configuração da região é de seleção automática - - - - Japanese (日本語) - Japonês (日本語) - - - - English - Inglês - - - - French (français) - Francês (français) - - - - German (Deutsch) - Alemão (Deutsch) - - - - Italian (italiano) - Italiano (italiano) - - - - Spanish (español) - Espanhol (español) - - - - Chinese - Chinês - - - - Korean (한국어) - Coreano (한국어) - - - - Dutch (Nederlands) - Holandês (Nederlands) - - - - Portuguese (português) - Português (português) - - - - Russian (Русский) - Russo (Русский) - - - - Taiwanese - Taiwanês - - - - British English - Inglês Britânico - - - - Canadian French - Francês Canadense - - - - Latin American Spanish - Espanhol Latino-Americano - - - - Simplified Chinese - Chinês Simplificado - - - - Traditional Chinese (正體中文) - Chinês Tradicional (正 體 中文) - - - - Brazilian Portuguese (português do Brasil) - Português do Brasil (Brazilian Portuguese) - - - - Custom RTC - RTC personalizado - - - - Language - Língua - - - - RNG Seed - Semente de RNG - - - - Device Name + + Core - - Mono - Mono - - - - 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 +3101,7 @@ UUID: %2 Configurar TAS - + Select TAS Load Directory... Selecionar diretório de carregamento TAS @@ -3942,64 +3239,64 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta ConfigureUI - - - + + + None Nenhum - + Small (32x32) Pequeno (32x32) - + Standard (64x64) Padrão (64x64) - + Large (128x128) Grande (128x128) - + Full Size (256x256) Tamanho completo (256x256) - + Small (24x24) Pequeno (24x24) - + Standard (48x48) Padrão (48x48) - + Large (72x72) Grande (72x72) - + Filename Nome de Ficheiro - + Filetype Tipo de arquivo - + Title ID ID de Título - + Title Name Nome do título @@ -4044,7 +3341,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 +3351,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 @@ -4102,15 +3399,31 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta ... - + + TextLabel + + + + + Resolution: + Resolução: + + + Select Screenshots Path... Seleccionar Caminho de Capturas de Ecrã... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4243,7 +3556,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 +3634,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 +3646,7 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta Verified Tooltip - + Verificado @@ -4360,7 +3673,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 +3683,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 +4645,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 +4684,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,48 +4734,143 @@ 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 - - + + OpenGL not available! OpenGL não está disponível! - + OpenGL shared contexts are not supported. - + Shared contexts do OpenGL não são suportados. - + yuzu has not been compiled with OpenGL support. yuzu não foi compilado com suporte OpenGL. - - + + Error while initializing OpenGL! Erro ao inicializar OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. O seu GPU pode não suportar OpenGL, ou não tem os drivers gráficos mais recentes. - + Error while initializing OpenGL 4.6! Erro ao inicializar o 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 O teu GPU pode não suportar OpenGL 4.6, ou não tem os drivers gráficos mais recentes. - + 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 Sua GPU pode não suportar uma ou mais extensões necessárias do OpenGL. Verifique se você possui a última versão dos drivers gráficos.<br><br>Renderizador GL:<br>%1<br><br>Extensões não suportadas:<br>%2 @@ -5490,168 +4878,173 @@ Deseja ignorar isso e sair mesmo assim? GameList - + Favorite Favorito - + Start Game Iniciar jogo - + Start Game without Custom Configuration Iniciar jogo sem configuração personalizada - + Open Save Data Location Abrir Localização de Dados Salvos - + Open Mod Data Location Abrir a Localização de Dados do Mod - + Open Transferable Pipeline Cache Abrir cache de pipeline transferível - + Remove Remover - + Remove Installed Update Remover Actualizações Instaladas - + Remove All Installed DLC Remover Todos os DLC Instalados - + Remove Custom Configuration Remover Configuração Personalizada - + + 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 +5115,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 +5128,12 @@ Deseja ignorar isso e sair mesmo assim? - + Filter: Filtro: - + Enter pattern to filter Digite o padrão para filtrar @@ -5755,17 +5148,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 +5168,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,175 +5188,176 @@ 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 HostRoomWindow - + Error Erro - + 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 +5378,7 @@ Debug Message: Instalar - + Install Files to NAND Instalar Ficheiros no NAND @@ -5992,7 +5386,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 +5436,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 +5585,7 @@ Debug Message: &Multiplayer - + &Multijogador @@ -6276,27 +5675,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 +5781,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 +5830,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 +5850,7 @@ Debug Message: New Messages Received - + Novas Mensagens Recebidas @@ -6462,7 +5861,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 +5870,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 +5940,7 @@ Debug Message: Connection to room lost. Try to reconnect. - + Conexão com a sala encerrada. Tente reconectar. @@ -6645,7 +6045,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE INICIAR/PAUSAR @@ -6694,31 +6094,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [não configurado] @@ -6729,14 +6129,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eixo %1%2 @@ -6747,264 +6147,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 +6485,7 @@ p, li { white-space: pre-wrap; } Type - + Tipo @@ -7042,7 +6500,7 @@ p, li { white-space: pre-wrap; } Custom Name - + Nome personalizado @@ -7156,7 +6614,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Comando Pro @@ -7169,7 +6627,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Par de Joycons @@ -7182,7 +6640,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon Esquerdo @@ -7195,7 +6653,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon Direito @@ -7224,7 +6682,7 @@ p, li { white-space: pre-wrap; } - + Handheld Portátil @@ -7340,32 +6798,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Controlador de depuração - + Poke Ball Plus Poké Ball Plus - + NES Controller Controle do NES - + SNES Controller Controle do SNES - + N64 Controller Controle do Nintendo 64 - + Sega Genesis Mega Drive @@ -7373,28 +6831,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 +6876,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 +7000,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 +7021,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 +7132,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..559b54d60 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> @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. Далее + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Авто (%1) + + + + Default (%1) + Default time zone + По умолчанию (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ This would ban both their forum username and their IP address. Audio Аудио - - - Output Engine: - Движок вывода: - - - - Output Device - Устройство вывода - - - - Input Device - Устройство ввода - - - - Use global volume - Использовать общую громкость - - - - Set volume: - Установить громкость: - - - - Volume: - Громкость: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,129 +455,25 @@ This would ban both their forum username and their IP address. ЦП - + General Общие - - - Accuracy: - Точность: - - - - Auto - Авто - - - - Accurate - Точно - - Unsafe - Небезопасно - - - - Paranoid (disables most optimizations) - Параноик (отключает большинство оптимизаций) - - - We recommend setting accuracy to "Auto". Мы рекомендуем установить точность на "Авто". - + Unsafe CPU Optimization Settings Небезопасные настройки оптимизации ЦП - + These settings reduce accuracy for speed. Эти настройки уменьшают точность ради скорости. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Эта опция повышает скорость, уменьшая точность сложенных умноженных инструкций на ЦП без поддержки FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Не использовать FMA (улучшает производительность на ЦП без FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - - - - Faster FRSQRTE and FRECPE - Ускоренные FRSQRTE и FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - - - - Faster ASIMD instructions (32 bits only) - Более быстрые инструкции ASIMD (только 32 бит) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - - - - Inaccurate NaN handling - Неправильная обработка 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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - Настройки ЦП недоступны, пока запущена игра. - ConfigureCpuDebug @@ -629,79 +504,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 +605,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 +622,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 +640,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 +657,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 +673,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 - + Включить запасные варианты для недопустимых обращений к памяти @@ -784,212 +692,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger Отладчик - + Enable GDB Stub Включить GDB Stub - + Port: Порт: - + Logging Журналирование - - Global Log Filter - Глобальный фильтр журналов - - - - Show Log in Console - Показывать журнал в консоли - - - + Open Log Location Открыть папку для журналов - + + Global Log Filter + Глобальный фильтр журналов + + + When checked, the max size of the log increases from 100 MB to 1 GB Если включено, максимальный размер журнала увеличивается со 100 МБ до 1 ГБ - + Enable Extended Logging** Включить расширенное ведение журнала** - + + Show Log in Console + Показывать журнал в консоли + + + Homebrew Homebrew - + Arguments String Строка аргументов - + Graphics Графика - - When checked, the graphics API enters a slower debugging mode - Если включено, графический API переходит в более медленный режим отладки + + When checked, it executes shaders without loop logic changes + Если включено, шейдеры выполняются без изменения логики цикла - - Enable Graphics Debugging - Включить отладку графики + + Disable Loop safety checks + Отключить проверку безопасности цикла - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - Включить Nsight Aftermath - - - + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found Если включено, будет дампить все оригинальные шейдеры ассемблера из кэша шейдеров на диске или игры как найденные - + Dump Game Shaders Дамп игровых шейдеров - - When checked, it will dump all the macro programs of the GPU - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Если флажок установлен, он отключает функции макроса HLE. Включение этого параметра замедляет работу игр - + + Disable Macro HLE + Выключить макрос HLE + + + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Если включено, отключает компилятор макроса Just In Time. Включение этого параметра замедляет работу игр + + + + Disable Macro JIT + Отключить макрос JIT + + + + When checked, the graphics API enters a slower debugging mode + Если включено, графический API переходит в более медленный режим отладки + + + + Enable Graphics Debugging + Включить отладку графики + + + + When checked, it will dump all the macro programs of the GPU + Если включено, будет дампить все макропрограммы ГП + + + Dump Maxwell Macros Дамп макросов Maxwell - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - - - - - Disable Macro JIT - Отключить Макрос JIT - - - + When checked, yuzu will log statistics about the compiled pipeline cache Если включено, yuzu будет записывать статистику о скомпилированном кэше конвейера - + Enable Shader Feedback Включить обратную связь о шейдерах - - When checked, it executes shaders without loop logic changes - + + When checked, it enables Nsight Aftermath crash dumps + Если включено, включает дампы крашей Nsight Aftermath - - Disable Loop safety checks - + + Enable Nsight Aftermath + Включить Nsight Aftermath - - 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 при запуске - + + Disable Web Applet + Отключить веб-апплет + + + + Enable All Controller Types + Включить все типы контроллеров + + + + Enable Auto-Stub** + Включить автоподставку** + + + + Kiosk (Quest) Mode + Режим киоска (Квест) + + + + Enable CPU Debugging + Включить отладку ЦП + + + + Enable Debug Asserts + Включить отладочные утверждения + + + + Debugging + Отладка + + + + Enable FS Access Log + Включить журнал доступа к ФС + + + + Create Minidump After Crash + Создавать мини-дамп после краша + + + + 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** + Дамп аудиокоманд в консоль** + + + + Enable Verbose Reporting Services** + Включить службу отчётов в развернутом виде** + + + **This will be reset automatically when yuzu closes. **Это будет автоматически сброшено после закрытия yuzu. @@ -1004,14 +922,14 @@ This would ban both their forum username and their IP address. yuzu необходимо перезапустить, чтобы применить эту настройку. - + Web applet not compiled Веб-апплет не скомпилирован - + MiniDump creation not compiled - + Создание мини-дампа не скомпилировано @@ -1059,78 +977,83 @@ This would ban both their forum username and their IP address. Параметры yuzu - - + + Some settings are only available when a game is not running. + Некоторые настройки доступны только тогда, когда игра не запущена. + + + + Audio Звук - - + + CPU ЦП - + Debug Отладка - + Filesystem Файловая система - - + + General Общие - - + + Graphics Графика - + GraphicsAdvanced ГрафикаРасширенные - + Hotkeys Горячие клавиши - - + + Controls Управление - + Profiles Профили - + Network Сеть - - + + System Система - + Game List Список игр - + Web Сеть @@ -1289,62 +1212,17 @@ This would ban both their forum username and their IP address. Общие - - Limit Speed Percent - Ограничение процента cкорости - - - - % - % - - - - Multicore CPU Emulation - Многоядерная эмуляция ЦП - - - - 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 - Спрятать мышь при неактивности - - - + 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? Это сбросит все настройки и удалит все конфигурации под отдельные игры. При этом не будут удалены пути для игр, профили или профили ввода. Продолжить? @@ -1367,257 +1245,45 @@ This would ban both their forum username and their IP address. Настройки API - - Shader Backend: - Бэкенд шейдеров: - - - - Device: - Устройство: - - - - API: - API: - - - - - None - Выкл. - - - + Graphics Settings Настройки графики - - Use disk pipeline cache - Использовать кэш конвейера на диске - - - - Use asynchronous GPU emulation - Использовать асинхронную эмуляцию ГП - - - - Accelerate ASTC texture decoding - Ускорение декодирования текстур ASTC - - - - 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) - - - - 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: - Фильтр адаптации окна: - - - - Nearest Neighbor - Ближайший сосед - - - - Bilinear - Билинейный - - - - Bicubic - Бикубический - - - - Gaussian - Гаусс - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Только для Vulkan) - - - - Anti-Aliasing Method: - Метод сглаживания: - - - - FXAA - FXAA - - - - 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) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + Отключена + + + + VSync Off + Верт. синхронизация отключена + + + + Recommended + Рекомендуется + + + + On + Включена + + + + VSync On + Верт. синхронизация включена @@ -1637,86 +1303,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Расширенные настройки графики - - - Accuracy Level: - Уровень точности: - - - - 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. - Вертикальная синхронизация предотвращает разрывы экрана, но некоторые видеокарты имеют более низкую производительность при вертикальной синхронизации. Оставляйте включенным если вы не замечаете разницы в производительности. - - - - 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. - Включает функцию 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. - Включает пессимистическую очистку буферов. Эта опция заставляет промывать немодифицированные буферы, что может снизить производительность. - - - - Use pessimistic buffer flushes (Hack) - Использовать пессимистическую очистку буферов (Хак) - - - - Anisotropic Filtering: - Анизотропная фильтрация: - - - - Automatic - Автоматически - - - - Default - Стандартная - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1746,70 +1332,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 +1682,7 @@ This would ban both their forum username and their IP address. - + Configure Настроить @@ -2127,6 +1708,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Требует перезапуск yuzu @@ -2146,22 +1729,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 +1769,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 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Левый мини-джойстик @@ -2362,19 +1950,19 @@ This would ban both their forum username and their IP address. D-Pad - Кнопки направлений + Крестовина - + L L - + ZL ZL @@ -2393,7 +1981,7 @@ This would ban both their forum username and their IP address. - + Plus Плюс @@ -2406,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2471,236 +2059,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 +2357,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Настроить @@ -2784,7 +2393,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Тест @@ -2804,81 +2413,180 @@ 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 mouse panning + Включить панорамирование мыши + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Можно переключать горячей клавишей. Горячая клавиша по умолчанию - Ctrl + F9 + + + + Sensitivity + Чувствительность + + + + Horizontal + Горизонтальная + + + + + + + + % + % + + + + Vertical + Вертикальная + + + + Deadzone counterweight + Противовес мертвой зоны + + + + Counteracts a game's built-in deadzone + Противодействие встроенным в игры мертвым зонам + + + + Deadzone + Мертвая зона + + + + Stick decay + Возврат стика + + + + Strength + Сила + + + + Minimum + Минимум + + + + Default + По умолчанию + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Панорамирование мышью лучше работает при мертвой зоне 0% и диапазоне 100%. +Текущие значения: %1% и %2% соответственно. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Эмуляция мыши включена. Это несовместимо с панорамированием мыши. + + + + 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. + Ввод реальной мыши и панорамирование мышью несовместимы. Пожалуйста, отключите эмулированную мышь в расширенных настройках ввода, чтобы разрешить панорамирование мышью. + + ConfigureNetwork @@ -2910,100 +2618,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog Диалог - + Info Информация - + Name Название - + Title ID ID приложения - + Filename Название файла - + Format Формат - + Version Версия - + Size Размер - + Developer Разработчик - + + Some settings are only available when a game is not running. + Некоторые настройки доступны только тогда, когда игра не запущена. + + + Add-Ons Дополнения - - General - Общие - - - + System Система - + CPU ЦП - + Graphics Графика - + Adv. Graphics Расш. Графика - + Audio Звук - + Input Profiles - + Профили управления - + Properties Свойства - - - Use global configuration (%1) - Использовать глобальную настройку (%1) - ConfigurePerGameAddons @@ -3198,13 +2901,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, настройте игрока 1 как правый Joy-Con (как физический, так и эмулированный), а игрока 2 — как левый Joy-Con (левый физический и двойной эмулированный) перед началом игры. - Ring Sensor Parameters - Параметры сенсора Ring + Virtual Ring Sensor Parameters + Параметры датчика виртуального Ring @@ -3224,33 +2927,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] [ожидание] @@ -3264,449 +3029,19 @@ UUID: %2 + System Система - - System Settings - Настройки cистемы + + Core + Ядро - - Region: - Регион: - - - - Auto - Авто - - - - Default - По умолчанию - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Куба - - - - EET - EET - - - - Egypt - Египт - - - - Eire - Эйре - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Эйре - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Гринвич - - - - Hongkong - Гонконг - - - - HST - HST - - - - Iceland - Исландия - - - - Iran - Иран - - - - Israel - Израиль - - - - Jamaica - Ямайка - - - - - Japan - Япония - - - - Kwajalein - Кваджалейн - - - - Libya - Ливия - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Навахо - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Польша - - - - Portugal - Португалия - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Сингапур - - - - Turkey - Турция - - - - UCT - UCT - - - - Universal - Универсальный - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Зулусы - - - - USA - США - - - - Europe - Европа - - - - Australia - Австралия - - - - China - Китай - - - - Korea - Корея - - - - Taiwan - Тайвань - - - - Time Zone: - Часовой пояс: - - - - Note: this can be overridden when region setting is auto-select - Примечание: может быть перезаписано если регион выбирается автоматически - - - - Japanese (日本語) - Японский (日本語) - - - - English - Английский (English) - - - - French (français) - Французский (français) - - - - German (Deutsch) - Немецкий (Deutsch) - - - - Italian (italiano) - Итальянский (italiano) - - - - Spanish (español) - Испанский (español) - - - - Chinese - Китайский - - - - Korean (한국어) - Корейский (한국어) - - - - Dutch (Nederlands) - Голландский (Nederlands) - - - - Portuguese (português) - Португальский (português) - - - - Russian (Русский) - Русский - - - - Taiwanese - Тайваньский - - - - British English - Британский Английский - - - - Canadian French - Канадский Французский - - - - Latin American Spanish - Латиноамериканский Испанский - - - - Simplified Chinese - Упрощённый Китайский - - - - Traditional Chinese (正體中文) - Традиционный Китайский (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Бразильский Португальский (português do Brasil) - - - - Custom RTC - Пользовательский RTC - - - - Language - Язык - - - - RNG Seed - Сид RNG - - - - Device Name - - - - - Mono - Моно - - - - 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 +3110,7 @@ UUID: %2 Настройка TAS - + Select TAS Load Directory... Выбрать папку загрузки TAS... @@ -3913,64 +3248,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None Нет - + Small (32x32) Маленький (32х32) - + Standard (64x64) Стандартный (64х64) - + Large (128x128) Большой (128х128) - + Full Size (256x256) Полноразмерный (256х256) - + Small (24x24) Маленький (24х24) - + Standard (48x48) Стандартный (48х48) - + Large (72x72) Большой (72х72) - + Filename Название файла - + Filetype Тип файла - + Title ID ID приложения - + Title Name Название игры @@ -4073,15 +3408,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + Разрешение: + + + Select Screenshots Path... Выберите папку для скриншотов... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4331,7 +3682,7 @@ Drag points to change position, or double-click table cells to edit values.Контроллер P1 - + &Controller P1 [&C] Контроллер P1 @@ -4344,42 +3695,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 +3733,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting Подключение - + Connect Подключиться @@ -4400,535 +3746,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. Пожалуйста, используйте эту функцию только для установки обновлений и DLC. - + %n file(s) were newly installed %n файл был недавно установлен @@ -4938,7 +4324,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) were overwritten %n файл был перезаписан @@ -4948,7 +4334,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n файл не удалось установить @@ -4958,377 +4344,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 +4660,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 +4705,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,48 +4755,143 @@ 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 + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! OpenGL не доступен! - + OpenGL shared contexts are not supported. - + Общие контексты OpenGL не поддерживаются. - + yuzu has not been compiled with OpenGL support. yuzu не был скомпилирован с поддержкой OpenGL. - - + + Error while initializing OpenGL! Ошибка при инициализации OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Ваш ГП может не поддерживать OpenGL, или у вас установлен устаревший графический драйвер. - + Error while initializing OpenGL 4.6! Ошибка при инициализации 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 Ваш ГП может не поддерживать OpenGL 4.6, или у вас установлен устаревший графический драйвер.<br><br>Рендерер GL:<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 Ваш ГП может не поддерживать одно или несколько требуемых расширений OpenGL. Пожалуйста, убедитесь в том, что у вас установлен последний графический драйвер.<br><br>Рендерер GL:<br>%1<br><br>Неподдерживаемые расширения:<br>%2 @@ -5473,168 +4899,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite Избранное - + Start Game Запустить игру - + Start Game without Custom Configuration Запустить игру без пользовательской настройки - + Open Save Data Location Открыть папку для сохранений - + Open Mod Data Location Открыть папку для модов - + Open Transferable Pipeline Cache Открыть переносной кэш конвейера - + Remove Удалить - + Remove Installed Update Удалить установленное обновление - + Remove All Installed DLC Удалить все установленные DLC - + Remove Custom Configuration Удалить пользовательскую настройку - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + Создать ярлык + 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 +5136,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Нажмите дважды, чтобы добавить новую папку в список игр @@ -5718,12 +5149,12 @@ Would you like to bypass this and exit anyway? %1 из %n результат(ов)%1 из %n результат(ов)%1 из %n результат(ов)%1 из %n результат(ов) - + Filter: Поиск: - + Enter pattern to filter Введите текст для поиска @@ -5799,12 +5230,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error Ошибка - + 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: Не удалось объявить комнату в публичном лобби. Чтобы хостить публичную комнату, у вас должна быть действующая учетная запись yuzu, настроенная в Эмуляция -> Параметры -> Сеть. Если вы не хотите объявлять комнату в публичном лобби, выберите вместо этого скрытый тип. @@ -5814,138 +5245,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 +5399,7 @@ Debug Message: Установить - + Install Files to NAND Установить файлы в NAND @@ -5976,7 +5407,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 В тексте недопустимы следующие символы: @@ -6051,51 +5482,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 +6069,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE СТАРТ/ПАУЗА @@ -6682,31 +6118,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [не задано] @@ -6717,14 +6153,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Ось %1%2 @@ -6735,264 +6171,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 @@ -7144,7 +6638,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Контроллер Pro @@ -7157,7 +6651,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Двойные Joy-Сon'ы @@ -7170,7 +6664,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Левый Joy-Сon @@ -7183,7 +6677,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Правый Joy-Сon @@ -7212,7 +6706,7 @@ p, li { white-space: pre-wrap; } - + Handheld Портативный @@ -7328,32 +6822,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Контроллер GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Контроллер NES - + SNES Controller Контроллер SNES - + N64 Controller Контроллер N64 - + Sega Genesis Sega Genesis @@ -7361,28 +6855,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 +6900,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 +7024,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..5a5af951d 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 @@ -365,6 +365,26 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress.Nästa + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress.Audio Ljud - - - Output Engine: - Utgångsmotor: - - - - Output Device - - - - - Input Device - Inmatningsenhet - - - - Use global volume - Använd global volym - - - - Set volume: - Ställ in volym: - - - - Volume: - Volym: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,130 +455,25 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress.CPU - + General Allmänt - - - Accuracy: - Noggrannhet: - - - - Auto - Auto - - - - Accurate - Noggrann - - Unsafe - Osäker - - - - Paranoid (disables most optimizations) - Paranoid (stänger av de flesta optimeringar) - - - We recommend setting accuracy to "Auto". Vi rekommenderar att sätta noggrannhet till "Auto". - + Unsafe CPU Optimization Settings Osäkra CPU-optimeringsinställningar - + These settings reduce accuracy for speed. Dessa inställningar offrar noggrannhet för hastighet - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - <div>Denna inställning ökar hastighet genom att minska noggrannhet på fused-multiply-add instruktioner på CPUer FMA support </div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - Sära FMA (förbättra prestanda på CPU:er utan FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Denna inställning förbättrar hastigheten av vissa ungefärliga flyttalsfunktioner genom att använda mindre noggranna nativa approximationer </div> - - - - - Faster FRSQRTE and FRECPE - Snabbare FRSQRTE och FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div> Detta val förbättrar farten för 32-bitars ASIMD flyttalsfunktioner genom att köra med felaktiga avrundningslägen. - - - - Faster ASIMD instructions (32 bits only) - Snabbare ASIMD instruktioner (enbart 32-bitars) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - - - - Inaccurate NaN handling - - - - - - <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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - CPU-inställningar är endast tillgängliga när spel inte körs. - ConfigureCpuDebug @@ -804,212 +678,222 @@ avgjord kod.</div> ConfigureDebug - + Debugger Felsökare - + Enable GDB Stub Aktivera GDB Stub - + Port: Port: - + Logging Loggning - - Global Log Filter - Globalt Loggfilter - - - - Show Log in Console - Visa Logg i Terminal - - - + Open Log Location Öppna Logg-Destination - + + Global Log Filter + Globalt Loggfilter + + + When checked, the max size of the log increases from 100 MB to 1 GB När ibockad, ökar maxstorleken för loggen från 100 MB till 1 GB - + Enable Extended Logging** Slå på Utökad Loggning** - + + Show Log in Console + Visa Logg i Terminal + + + Homebrew Homebrew - + Arguments String Argumentsträng - + Graphics Grafik - - When checked, the graphics API enters a slower debugging mode - När ibockad så går grafik API:et in i ett långsammare felsökningsläge - - - - Enable Graphics Debugging - Sätt på grafikdebugging - - - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - - - - - 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 executes shaders without loop logic changes - + Disable Loop safety checks - - Debugging - Felsökning - - - - Enable Verbose Reporting Services** + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - Enable FS Access Log + + Dump Game Shaders - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. + + When checked, it disables the macro HLE functions. Enabling this makes games run slower - - 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** + + Disable Macro HLE - Enable All Controller Types + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - - Disable Web Applet + + Disable Macro JIT + Stäng av Macro JIT + + + + When checked, the graphics API enters a slower debugging mode + När ibockad så går grafik API:et in i ett långsammare felsökningsläge + + + + Enable Graphics Debugging + Sätt på grafikdebugging + + + + When checked, it will dump all the macro programs of the GPU - + + Dump Maxwell Macros + + + + + When checked, yuzu will log statistics about the compiled pipeline cache + + + + + Enable Shader Feedback + + + + + When checked, it enables Nsight Aftermath crash dumps + + + + + Enable Nsight Aftermath + + + + + Advanced + Avancerat + + + 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 - + + Disable Web Applet + Avaktivera Webbappletten + + + + Enable All Controller Types + + + + + Enable Auto-Stub** + + + + + Kiosk (Quest) Mode + Kiosk(Quest)-läge + + + + Enable CPU Debugging + + + + + Enable Debug Asserts + + + + + Debugging + Felsökning + + + + Enable FS Access Log + + + + + Create Minidump After Crash + + + + + 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** + + + + + Enable Verbose Reporting Services** + + + + **This will be reset automatically when yuzu closes. @@ -1024,12 +908,12 @@ avgjord kod.</div> - + Web applet not compiled - + MiniDump creation not compiled @@ -1079,78 +963,83 @@ avgjord kod.</div> yuzu Konfigurering - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1309,62 +1198,17 @@ avgjord kod.</div> Allmänt - - Limit Speed Percent - Begränsa hastighetsprocent - - - - % - % - - - - Multicore CPU Emulation - Flerkärnig CPU-emulering - - - - 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 - - - + 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? @@ -1387,257 +1231,45 @@ avgjord kod.</div> API-inställningar - - Shader Backend: - - - - - Device: - Enhet: - - - - API: - API: - - - - - None - Ingen - - - + Graphics Settings Grafikinställningar - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Använd asynkron GPU-emulering - - - - Accelerate ASTC texture decoding - - - - - 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) - - - - - 2X (1440p/2160p) - - - - - 3X (2160p/3240p) - - - - - 4X (2880p/4320p) - - - - - 5X (3600p/5400p) - - - - - 6X (4320p/6480p) - - - - - Window Adapting Filter: - - - - - Nearest Neighbor - - - - - Bilinear - - - - - Bicubic - - - - - Gaussian - - - - - ScaleForce - - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - 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 + @@ -1657,86 +1289,6 @@ avgjord kod.</div> Advanced Graphics Settings Avancerade grafikinställningar - - - Accuracy Level: - 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. - - - - - Use Fast GPU Time (Hack) - - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotropisk filtrering: - - - - Automatic - - - - - Default - Standard - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1766,70 +1318,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 +1668,7 @@ avgjord kod.</div> - + Configure Konfigurera @@ -2147,6 +1694,8 @@ avgjord kod.</div> + + Requires restarting yuzu @@ -2166,22 +1715,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 +1847,7 @@ avgjord kod.</div> - + Left Stick Vänster Spak @@ -2387,14 +1941,14 @@ avgjord kod.</div> - + L L - + ZL ZL @@ -2413,7 +1967,7 @@ avgjord kod.</div> - + Plus Pluss @@ -2426,15 +1980,15 @@ avgjord kod.</div> - - + + R R - + ZR ZR @@ -2491,235 +2045,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 +2342,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Konfigurera @@ -2803,7 +2378,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Test @@ -2823,81 +2398,179 @@ 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 mouse panning + + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + + + + + + + + + % + % + + + + Vertical + + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Standard + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2929,99 +2602,94 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog Dialog - + Info Info - + Name Namn - + Title ID Titel-ID - + Filename Filnamn - + Format Formatera - + Version Version - + Size Storlek - + Developer Utvecklare - - Add-Ons - Tillägg - - - - General - Allmänt - - - - System - System - - - - CPU - CPU - - - - Graphics - Grafik - - - - Adv. Graphics - Avancerade Grafikinställningar - - - - Audio - Ljud - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - egenskaper + Add-Ons + Tillägg - - Use global configuration (%1) - Använd global konfiguration (%1) + + System + System + + + + CPU + CPU + + + + Graphics + Grafik + + + + Adv. Graphics + Avancerade Grafikinställningar + + + + Audio + Ljud + + + + Input Profiles + + + + + Properties + egenskaper @@ -3216,25 +2884,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 +2910,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] @@ -3282,450 +3012,20 @@ UUID: %2 + System System - - System Settings - Systeminställningar - - - - Region: - Region: - - - - Auto - Auto - - - - Default - Standard - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Kuba - - - - EET - EET - - - - Egypt - Egypten - - - - Eire - Eire - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Eire - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hongkong - - - - HST - HST - - - - Iceland - Island - - - - Iran - Iran - - - - Israel - Israel - - - - Jamaica - Jamaica - - - - - Japan - Japan - - - - Kwajalein - Kwajalein - - - - Libya - Libyen - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navajo - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Polen - - - - Portugal - Portugal - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapore - - - - Turkey - Turkiet - - - - UCT - UCT - - - - Universal - Universal - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - USA - - - - Europe - Europe - - - - Australia - Australien - - - - China - Kina - - - - Korea - Korea - - - - Taiwan - Taiwan - - - - Time Zone: - Tidszon: - - - - Note: this can be overridden when region setting is auto-select - Notera: detta kan bli överskritt medans regionsinställningarna är satta till auto-select - - - - Japanese (日本語) - Japanska (日本語) - - - - English - Engelska - - - - French (français) - Franska (français) - - - - German (Deutsch) - Tyska (Deutsch) - - - - Italian (italiano) - Italienska (italiano) - - - - Spanish (español) - Spanska (español) - - - - Chinese - Kinesiska - - - - Korean (한국어) - Koreanska (한국어) - - - - Dutch (Nederlands) - Holländska (Nederlands) - - - - Portuguese (português) - Portugisiska (português) - - - - Russian (Русский) - Ryska (Русский) - - - - Taiwanese - Taiwanesiska - - - - British English - Brittisk Engelska - - - - Canadian French - Kanadensisk Franska - - - - Latin American Spanish - Latinamerikansk Spanska - - - - Simplified Chinese - Förenklad Kinesiska - - - - Traditional Chinese (正體中文) - Traditionell Kinesiska (正體中文) - - - - Brazilian Portuguese (português do Brasil) + + Core - - Custom RTC - Anpassad RTC - - - - Language - Språk - - - - RNG Seed - RNG Seed - - - - Device Name + + Warning: "%1" is not a valid language for region "%2" - - - Mono - Mono - - - - 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 - ConfigureTas @@ -3793,7 +3093,7 @@ UUID: %2 - + Select TAS Load Directory... @@ -3931,64 +3231,64 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r ConfigureUI - - - + + + None Ingen - + Small (32x32) - + Standard (64x64) - + Large (128x128) - + Full Size (256x256) - + Small (24x24) - + Standard (48x48) - + Large (72x72) - + Filename Filnamn - + Filetype - + Title ID Titel-ID - + Title Name @@ -4091,15 +3391,31 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r ... - + + TextLabel + + + + + Resolution: + + + + Select Screenshots Path... Välj Skärmdumpssökväg... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4349,7 +3665,7 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r - + &Controller P1 @@ -4362,977 +3678,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 +4635,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 +4674,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,48 +4724,143 @@ 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 - - + + OpenGL not available! OpenGL inte tillgängligt! - + OpenGL shared contexts are not supported. - + yuzu has not been compiled with OpenGL support. yuzu har inte komilerats med OpenGL support. - - + + Error while initializing OpenGL! Fel under initialisering av OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + Error while initializing 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 - + 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 @@ -5477,168 +4868,173 @@ Vill du strunta i detta och avsluta ändå? GameList - + Favorite - + Start Game - + Start Game without Custom Configuration - + Open Save Data Location Öppna Spara Data Destination - + Open Mod Data Location Öppna Mod Data Destination - + Open Transferable Pipeline Cache - + Remove Ta Bort - + Remove Installed Update Ta Bort Installerad Uppdatering - + Remove All Installed DLC Ta Bort Alla Installerade DLC - + Remove Custom Configuration Ta Bort Anpassad Konfiguration - + + 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 +5105,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 +5118,12 @@ Vill du strunta i detta och avsluta ändå? - + Filter: Filter: - + Enter pattern to filter Ange mönster för att filtrera @@ -5767,7 +5163,7 @@ Vill du strunta i detta och avsluta ändå? Password - + Lösenord @@ -5803,12 +5199,12 @@ Vill du strunta i detta och avsluta ändå? HostRoomWindow - + Error Fel - + 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: @@ -5817,138 +5213,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 +5367,7 @@ Debug Message: Installera - + Install Files to NAND Installera filer till NAND @@ -5979,7 +5375,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 @@ -6034,7 +5430,7 @@ Debug Message: Nickname - + Smeknamn @@ -6053,51 +5449,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 +6028,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE START/PAUSE @@ -6676,31 +6077,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [inte inställd] @@ -6711,14 +6112,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axel %1%2 @@ -6729,264 +6130,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 + @@ -7138,7 +6597,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Prokontroller @@ -7151,7 +6610,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Dubbla Joycons @@ -7164,7 +6623,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Vänster Joycon @@ -7177,7 +6636,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Höger Joycon @@ -7206,7 +6665,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handhållen @@ -7322,32 +6781,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7355,28 +6814,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 +6859,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 +6979,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 +7000,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 +7111,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..34b7f9019 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 @@ -365,6 +365,26 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar.İleri + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + + + + + Default (%1) + Default time zone + + + ConfigureAudio @@ -373,47 +393,6 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar.Audio Ses - - - Output Engine: - Çıkış Motoru: - - - - Output Device - Çıkış Cihazı - - - - Input Device - Giriş Cihazı - - - - Use global volume - Global sesi kullan - - - - Set volume: - Sesi ayarla: - - - - Volume: - Ses: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,132 +455,25 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar.CPU - + General Genel - - - Accuracy: - Doğruluk: - - - - Auto - Otomatik - - - - Accurate - Doğru - - Unsafe - Güvensiz - - - - Paranoid (disables most optimizations) - Paranoya (çoğu optimizasyonu kapatır) - - - We recommend setting accuracy to "Auto". Doğruluk ayarının "Otomatik" olmasını öneririz. - + Unsafe CPU Optimization Settings Güvensiz CPU Opitimizasyonu Ayarları - + These settings reduce accuracy for speed. Bu ayarlar daha hızlı bir deneyim için doğruluk oranını azaltır. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Bu seçenek FMA işlemlerinin doğruluğunu azaltarak FMA desteklemeyen CPU'larda hızı artırır.</div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - FMA'yı Ayır (FMA olmayan CPU'larda performansı artırır) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Bu seçenek bazı tahmini FP fonksiyonlarını daha az doğru tahminlerle hızlandırır. - - - - Faster FRSQRTE and FRECPE - Daha hızlı FRSQRTE ve FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - -Bu seçenek doğru olmayan yuvarlama fonksiyonları kullanarak 32 bit ASIMD FP fonksiyonlarını hızlandırır. - - - - Faster ASIMD instructions (32 bits only) - Daha hızlı ASIMD komutları (yalnızca 32 bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - -Bu seçenek NaN kontrolünü kaldırarak hızı arttırır. Aynı zamanda bazı FP komutlarının doğruluğunu azaltacağını da göz önünde bulundurun. - - - - Inaccurate NaN handling - Uygunsuz NaN kullanımı - - - - - <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> - - -Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldırarak hızı arttırır. Devre dışı bırakmak, oyunun emulatör belleğinde yazma/okuma yapmasına izin verir. - - - - Disable address space checks - Adres boşluğu kontrolünü kapatır. - - - - - <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> - - - - - - Ignore global monitor - Global monitörü görmezden gel - - - - CPU settings are available only when game is not running. - CPU ayarlarına sadece oyun çalışmıyorken erişilebilir. - ConfigureCpuDebug @@ -757,7 +629,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 +647,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 +655,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 +671,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 @@ -812,212 +690,222 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra ConfigureDebug - + Debugger Hata Ayıklayıcı - + Enable GDB Stub GDB Stub'ı Etkinleştir - + Port: Port: - + Logging Kütük Tutma - - Global Log Filter - Evrensel Kütük Filtresi - - - - Show Log in Console - Konsolda Log'u Göster - - - + Open Log Location Kütük Konumunu Aç - + + Global Log Filter + Evrensel Kütük Filtresi + + + When checked, the max size of the log increases from 100 MB to 1 GB Etkinleştirildiğinde log'un boyut sınırı 100 MB'tan 1 GB'a çıkar - + Enable Extended Logging** Uzatılmış Hata Kaydını Etkinleştir. - + + Show Log in Console + Konsolda Log'u Göster + + + Homebrew Homebrew - + Arguments String Arguments String - + Graphics Grafikler - - When checked, the graphics API enters a slower debugging mode - Etkinleştirildiğinde, grafik API'ı daha yavaş bir hata ayıklama moduna girer. - - - - Enable Graphics Debugging - Grafik Hata Ayıklama Modunu Etkinleştir - - - - When checked, it enables Nsight Aftermath crash dumps - İşaretlendiğinde Nsight Aftermath çökme dökümlerini etkinleştirir. - - - - Enable Nsight Aftermath - Nsight Aftermath'ı Etkinleştir - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - - - - - When checked, it will dump all the macro programs of the GPU - - - - - Dump Maxwell Macros - - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - İşaretlendiğinde Makro JIT derleyicisini devre dışı bırakır. Bu seçeneği etkinleştirmek oyunların yavaş çalışmasına neden olur. - - - - Disable Macro JIT - Macro JIT'i devre dışı bırak - - - - 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 + + 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 - - Enable Verbose Reporting Services** - Detaylı Raporlama Hizmetini Etkinleştir + + Dump Game Shaders + Oyun Shader'larını Dump'la - - Enable FS Access Log - FS Erişim Kaydını Etkinleştir + + 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 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - + + Disable Macro HLE + Makro HLE'yi Kapat - - Dump Audio Commands To Console** - Konsola Ses Komutlarını Aktar** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + İşaretlendiğinde Makro JIT derleyicisini devre dışı bırakır. Bu seçeneği etkinleştirmek oyunların yavaş çalışmasına neden olur. - - Create Minidump After Crash - + + Disable Macro JIT + Macro JIT'i devre dışı bırak - + + When checked, the graphics API enters a slower debugging mode + Etkinleştirildiğinde, grafik API'ı daha yavaş bir hata ayıklama moduna girer. + + + + Enable Graphics Debugging + Grafik Hata Ayıklama Modunu Etkinleştir + + + + 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 + + + + 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 enables Nsight Aftermath crash dumps + İşaretlendiğinde Nsight Aftermath çökme dökümlerini etkinleştirir. + + + + Enable Nsight Aftermath + Nsight Aftermath'ı Etkinleştir + + + Advanced Gelişmiş - - Kiosk (Quest) Mode - Kiosk (Quest) Modu + + 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. - - Enable CPU Debugging - CPU Hata Ayıklama Modu'nu Etkinleştir + + Perform Startup Vulkan Check + Açılırken Vulkan Taraması Yap - - 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. - + + Enable All Controller Types + Bütün Kontrolcü Türlerini Etkinleştir - - Perform Startup Vulkan Check - + + Enable Auto-Stub** + Auto-Stub'ı Etkinleştir - + + 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 + + + + Debugging + Hata ayıklama + + + + Enable FS Access Log + FS Erişim Kaydını Etkinleştir + + + + Create Minidump After Crash + Çöküş Sonrası Küçük Dump Oluştur + + + + 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** + + + + Enable Verbose Reporting Services** + Detaylı Raporlama Hizmetini Etkinleştir + + + **This will be reset automatically when yuzu closes. **Bu yuzu kapandığında otomatik olarak eski haline dönecektir. @@ -1032,14 +920,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 +975,83 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra yuzu Yapılandırması - - + + Some settings are only available when a game is not running. + + + + + 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 @@ -1317,62 +1210,17 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Genel - - Limit Speed Percent - Hız Yüzdesini Sınırlandır - - - - % - % - - - - Multicore CPU Emulation - Çok Çekirdekli CPU Emülasyonu - - - - 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 - - - + 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? @@ -1395,257 +1243,45 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra API Ayarları - - Shader Backend: - Shader Backend: - - - - Device: - Cihaz: - - - - API: - API: - - - - - None - Yok - - - + Graphics Settings Grafik Ayarları - - Use disk pipeline cache - Disk pipeline cache'ini kullan - - - - Use asynchronous GPU emulation - Asenkronize GPU emülasyonu kullan - - - - Accelerate ASTC texture decoding - ASTC kaplama çözümünü hızlandır - - - - 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) - - - - 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: - 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) - - - - Anti-Aliasing Method: - Kenar Yumuşatma Yöntemi: - - - - FXAA - FXAA - - - - SMAA - - - - - Use global FSR Sharpness - - - - - Set FSR Sharpness - - - - - FSR Sharpness: - - - - - 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) + + % + FSR sharpening percentage (e.g. 50%) + % - - SPIR-V (Experimental, Mesa Only) + + Off - - %1% - FSR sharpening percentage (e.g. 50%) - %1% + + VSync Off + + + + + Recommended + + + + + On + + + + + VSync On + @@ -1665,86 +1301,6 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra Advanced Graphics Settings Gelişmiş Grafik Ayarları: - - - Accuracy Level: - 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. - - - - Use Fast GPU Time (Hack) - Hızlı GPU Saati Kullan (Hack) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Anisotropic Filtering: - - - - Automatic - Otomatik - - - - Default - Varsayılan - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1774,70 +1330,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 +1680,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Configure Yapılandır @@ -2155,6 +1706,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 +1727,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 +1767,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 +1859,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Left Stick Sol Analog @@ -2395,14 +1953,14 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + L L - + ZL ZL @@ -2421,7 +1979,7 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - + Plus Artı @@ -2434,15 +1992,15 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra - - + + R R - + ZR ZR @@ -2499,236 +2057,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 +2355,7 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har - + Configure Yapılandır @@ -2812,7 +2391,7 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har - + Test Test @@ -2832,81 +2411,179 @@ 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 mouse panning + Mouse ile kaydırmayı etkinleştir + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + + + + + Sensitivity + + + + + Horizontal + Yatay + + + + + + + + % + % + + + + Vertical + Dikey + + + + Deadzone counterweight + + + + + Counteracts a game's built-in deadzone + + + + + Deadzone + + + + + Stick decay + + + + + Strength + + + + + Minimum + + + + + Default + Varsayılan + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + + + + + 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. + + + ConfigureNetwork @@ -2938,99 +2615,94 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har ConfigurePerGame - + Dialog Diyalog - + Info Bilgi - + Name İsim - + Title ID Oyun ID - + Filename Dosya adı - + Format Biçim - + Version Versiyon - + Size Boyut - + Developer Geliştirici - - Add-Ons - Eklentiler - - - - General - Genel - - - - System - Sistem - - - - CPU - CPU - - - - Graphics - Grafikler - - - - Adv. Graphics - Gelişmiş Grafikler - - - - Audio - Ses - - - - Input Profiles + + Some settings are only available when a game is not running. - Properties - Özellikler + Add-Ons + Eklentiler - - Use global configuration (%1) - Global yapılandırmayı kullan (%1) + + System + Sistem + + + + CPU + CPU + + + + Graphics + Grafikler + + + + Adv. Graphics + Gelişmiş Grafikler + + + + Audio + Ses + + + + Input Profiles + Kontrol Profilleri + + + + Properties + Özellikler @@ -3202,7 +2874,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 +2885,8 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har Name: %1 UUID: %2 - + İsim: %1 +UUID: %2 @@ -3225,13 +2898,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 +2924,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] @@ -3291,449 +3026,19 @@ UUID: %2 + System Sistem - - System Settings - Sistem Ayarları - - - - Region: - Bölge: - - - - Auto - Otomatik - - - - Default - Varsayılan - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Küba - - - - EET - EET - - - - Egypt - Mısır - - - - Eire - İrlanda - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-İrlanda - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - MT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Greenwich - - - - Hongkong - Hong Kong - - - - HST - HST - - - - Iceland - İzlanda - - - - Iran - İran - - - - Israel - İsrail - - - - Jamaica - Jamaika - - - - - Japan - Japonya - - - - Kwajalein - Kwajalein - - - - Libya - Libya - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Navaho - - - - NZ - Yeni Zelanda - - - - NZ-CHAT - Chatham Adaları - - - - Poland - Polonya - - - - Portugal - Portekiz - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Singapur - - - - Turkey - Türkiye - - - - UCT - UCT - - - - Universal - Evrensel - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Zulu - - - - USA - ABD - - - - Europe - Avrupa - - - - Australia - Avustralya - - - - China - Çin - - - - Korea - Kore - - - - Taiwan - Tayvan - - - - Time Zone: - Saat Dilimi: - - - - Note: this can be overridden when region setting is auto-select - Not: bu ayar bölge ayarı otomatiğe alındığında yok sayılabilir. - - - - Japanese (日本語) - Japonca (日本語) - - - - English - İngilizce - - - - French (français) - Fransızca (français) - - - - German (Deutsch) - Almanca (Deutsch) - - - - Italian (italiano) - İtalyanca (italiano) - - - - Spanish (español) - İspanyolca (español) - - - - Chinese - Çince - - - - Korean (한국어) - Korece (한국어) - - - - Dutch (Nederlands) - Flemenkçe (Nederlands) - - - - Portuguese (português) - Portekizce (português) - - - - Russian (Русский) - Rusça (Русский) - - - - Taiwanese - Tayvanca - - - - British English - İngiliz İngilizcesi - - - - Canadian French - Kanada Fransızcası - - - - Latin American Spanish - Latin Amerika İspanyolcası - - - - Simplified Chinese - Basitleştirilmiş Çince - - - - Traditional Chinese (正體中文) - Geleneksel Çince (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Brezilya Portekizcesi (português do Brasil) - - - - Custom RTC - Özel Saat Dilimi - - - - Language - Dil - - - - RNG Seed - RNG çekirdeği - - - - Device Name + + Core - - 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 +3107,7 @@ UUID: %2 TAS Yapılandırması - + Select TAS Load Directory... Tas Yükleme Dizini Seçin @@ -3940,64 +3245,64 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne ConfigureUI - - - + + + None Hiçbiri - + Small (32x32) Küçük (32x32) - + Standard (64x64) Standart (64x64) - + Large (128x128) Büyük (128x128) - + Full Size (256x256) Tam Boyut (256x256) - + Small (24x24) Küçük (24x24) - + Standard (48x48) Standart (48x48) - + Large (72x72) Büyük (72x72) - + Filename Dosya adı - + Filetype Dosya türü - + Title ID Oyun ID - + Title Name Oyun Adı @@ -4042,7 +3347,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 +3357,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 @@ -4100,15 +3405,31 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne ... - + + TextLabel + + + + + Resolution: + Çözünürlük: + + + Select Screenshots Path... Ekran Görüntülerinin Konumunu Seçin... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4241,7 +3562,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 +3679,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 +3692,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 +3730,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 +3743,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 +4319,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 +4327,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 +4335,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 +4657,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 +4696,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,48 +4746,143 @@ 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 + OpenGL + + + + Null + + + + + GLSL + + + + + GLASM + + + + + SPIRV + + GRenderWindow - - + + OpenGL not available! OpenGL kullanıma uygun değil! - + OpenGL shared contexts are not supported. - + OpenGL paylaşılan bağlam desteklenmiyor. - + yuzu has not been compiled with OpenGL support. Yuzu OpenGL desteklememektedir. - - + + Error while initializing OpenGL! OpenGl başlatılırken bir hata oluştu! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. GPU'nuz OpenGL desteklemiyor veya güncel bir grafik sürücüsüne sahip değilsiniz. - + Error while initializing OpenGL 4.6! OpenGl 4.6 başlatılırken bir hata oluştu! - + Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.<br><br>GL Renderer:<br>%1 GPU'nuz OpenGL 4.6'yı desteklemiyor veya güncel bir grafik sürücüsüne sahip değilsiniz.<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 GPU'nuz gereken bir yada daha fazla OpenGL eklentisini desteklemiyor Lütfen güncel bir grafik sürücüsüne sahip olduğunuzdan emin olun.<br><br>GL Renderer:<br>%1<br><br> Desteklenmeyen Eklentiler:<br>%2 @@ -5493,168 +4890,173 @@ Görmezden gelip kapatmak ister misiniz? GameList - + Favorite Favori - + Start Game Oyunu Başlat - + Start Game without Custom Configuration Oyunu Özel Yapılandırma Olmadan Başlat - + Open Save Data Location Kayıt Dosyası Konumunu Aç - + Open Mod Data Location Mod Dosyası Konumunu Aç - + Open Transferable Pipeline Cache Transfer Edilebilir Pipeline Cache'ini Aç - + Remove Kaldır - + Remove Installed Update Yüklenmiş Güncellemeleri Kaldır - + Remove All Installed DLC Yüklenmiş DLC'leri Kaldır - + Remove Custom Configuration Oyuna Özel Yapılandırmayı Kaldır - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + 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 +5066,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 +5081,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 +5101,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 +5127,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 +5140,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 @@ -5819,12 +5221,12 @@ Görmezden gelip kapatmak ister misiniz? HostRoomWindow - + Error Hata - + 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: Oda herkese açık yapılamadı. Eğer odayı herkese açık yapmak istiyorsanız, geçerli bir yuzu hesabını Emülasyon -> Yapılandır -> Web'den ayarlamalısınız. Eğer odayı herkese açık yapmak istemiyorsanız, lütfen Gizli seçeneğini seçin. @@ -5833,138 +5235,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 +5389,7 @@ Debug Message: Kur - + Install Files to NAND NAND'e Dosya Kur @@ -5995,7 +5397,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 Yazı bu karakterleri içeremez: @@ -6070,51 +5472,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 +5916,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 +6059,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE BAŞLAT/DURAKLAT @@ -6701,31 +6108,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [belirlenmedi] @@ -6736,14 +6143,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Eksen %1%2 @@ -6754,264 +6161,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 +6484,17 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Amiibo Ayarları Amiibo Info - + Amiibo Detayları Series - + Seriler @@ -7044,52 +6509,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 +6564,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? @@ -7163,7 +6628,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7176,7 +6641,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons İkili Joyconlar @@ -7189,7 +6654,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Sol Joycon @@ -7202,7 +6667,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Sağ Joycon @@ -7231,7 +6696,7 @@ p, li { white-space: pre-wrap; } - + Handheld Handheld @@ -7347,32 +6812,32 @@ p, li { white-space: pre-wrap; } 8 - + 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 @@ -7380,28 +6845,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 +6890,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 +7014,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 +7035,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 +7146,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..27c1dede2 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-адресу. @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. Далі + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Авто (%1) + + + + Default (%1) + Default time zone + За замовчуванням (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ This would ban both their forum username and their IP address. Audio Аудіо - - - Output Engine: - Рушій виводу: - - - - Output Device - Пристрій виводу - - - - Input Device - Пристрій вводу - - - - Use global volume - Використовувати загальну гучність - - - - Set volume: - Встановити гучність: - - - - Volume: - Гучність - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,129 +455,25 @@ This would ban both their forum username and their IP address. ЦП - + General Загальні - - - Accuracy: - Точність: - - - - Auto - Авто - - - - Accurate - Точно - - Unsafe - Небезпечно - - - - Paranoid (disables most optimizations) - Параноїк (відключає більшість оптимізацій) - - - We recommend setting accuracy to "Auto". Ми рекомендуємо встановити точність на "Авто". - + Unsafe CPU Optimization Settings Небезпечні налаштування оптимізації ЦП - + These settings reduce accuracy for speed. Ці налаштування зменшують точність заради швидкості. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Ця опція підвищує швидкість, зменшуючи точність складених помножених інструкцій на ЦП без підтримки FMA.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Не використовувати FMA (покращує продуктивність на ЦП без FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - - - - Faster FRSQRTE and FRECPE - Прискорені FRSQRTE та FRECPE - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - - - - Faster ASIMD instructions (32 bits only) - Швидші інструкції ASIMD (лише 32 біт) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - - - - - Inaccurate NaN handling - Неправильна обробка 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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - Налаштування ЦП недоступні, поки запущена гра. - ConfigureCpuDebug @@ -620,7 +495,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 +504,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 +605,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 +622,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 +640,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 +657,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 +673,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 - + Увімкнути запасні варіанти для неприпустимих звернень до пам'яті @@ -784,212 +692,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger Налагоджувач - + Enable GDB Stub Увімкнути GDB Stub - + Port: Порт: - + Logging Журналювання - - Global Log Filter - Глобальний фільтр журналів - - - - Show Log in Console - Показувати журнал у консолі - - - + Open Log Location Відкрити папку для журналів - + + Global Log Filter + Глобальний фільтр журналів + + + When checked, the max size of the log increases from 100 MB to 1 GB Якщо увімкнено, максимальний розмір журналу збільшується зі 100 МБ до 1 ГБ - + Enable Extended Logging** Увімкнути розширене ведення журналу** - + + Show Log in Console + Показувати журнал у консолі + + + Homebrew Homebrew - + Arguments String Рядок аргументів - + Graphics Графіка - - When checked, the graphics API enters a slower debugging mode - Якщо увімкнено, графічний API переходить у повільніший режим налагодження + + When checked, it executes shaders without loop logic changes + Якщо увімкнено, шейдери виконуються без зміни логіки циклу - - Enable Graphics Debugging - Увімкнути налагодження графіки + + Disable Loop safety checks + Вимкнути перевірку безпеки циклу - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - Увімкнути Nsight Aftermath - - - + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found Якщо ввімкнено, буде дампити всі оригінальні шейдери асемблера з кешу шейдерів на диску або гри як знайдені - + Dump Game Shaders Дамп ігрових шейдерів - - When checked, it will dump all the macro programs of the GPU - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Якщо прапорець встановлено, він вимикає функції макроса HLE. Увімкнення цього параметра уповільнює роботу ігор - + + Disable Macro HLE + Вимкнути макрос HLE + + + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Якщо ввімкнено, вимикає компілятор макросу Just In Time. Увімкнення цього параметра уповільнює роботу ігор + + + + Disable Macro JIT + Вимкнути макрос JIT + + + + When checked, the graphics API enters a slower debugging mode + Якщо увімкнено, графічний API переходить у повільніший режим налагодження + + + + Enable Graphics Debugging + Увімкнути налагодження графіки + + + + When checked, it will dump all the macro programs of the GPU + Якщо ввімкнено, буде дампити всі макропрограми ГП + + + Dump Maxwell Macros Дамп макросов Maxwell - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - Якщо увімкнено, макрос компілятор Just In Time вимикається. Якщо ввімкнути це, ігри будуть працювати повільніше - - - - Disable Macro JIT - Вимкнути Макрос JIT - - - + When checked, yuzu will log statistics about the compiled pipeline cache Якщо увімкнено, yuzu записуватиме статистику про скомпільований кеш конвеєра - + Enable Shader Feedback Увімкнути зворотний зв'язок про шейдери - - When checked, it executes shaders without loop logic changes - + + When checked, it enables Nsight Aftermath crash dumps + Якщо ввімкнено, вмикає дампи крашів Nsight Aftermath - - Disable Loop safety checks - + + Enable Nsight Aftermath + Увімкнути Nsight Aftermath - - 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 під час запуску - + + Disable Web Applet + Вимкнути веб-аплет + + + + Enable All Controller Types + Увімкнути всі типи контролерів + + + + Enable Auto-Stub** + Увімкнути автопідставку** + + + + Kiosk (Quest) Mode + Режим кіоску (Квест) + + + + Enable CPU Debugging + Увімкнути налагодження ЦП + + + + Enable Debug Asserts + Увімкнути налагоджувальні припущення + + + + Debugging + Налагодження + + + + Enable FS Access Log + Увімкнути журнал доступу до ФС + + + + Create Minidump After Crash + Створювати міні-дамп після крашу + + + + 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** + Вивантажувати аудіо команди в консоль** + + + + Enable Verbose Reporting Services** + Увімкнути службу звітів у розгорнутому вигляді** + + + **This will be reset automatically when yuzu closes. **Це буде автоматично скинуто після закриття yuzu. @@ -1001,17 +919,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 +977,83 @@ This would ban both their forum username and their IP address. Налаштування yuzu - - + + Some settings are only available when a game is not running. + Деякі налаштування доступні тільки тоді, коли гру не запущено. + + + + Audio Аудіо - - + + CPU ЦП - + Debug Налагодження - + Filesystem Файлова система - - + + General Загальні - - + + Graphics Графіка - + GraphicsAdvanced ГрафікаРозширені - + Hotkeys Гарячі клавіші - - + + Controls Керування - + Profiles Профілі - + Network Мережа - - + + System Система - + Game List Список ігор - + Web Мережа @@ -1289,62 +1212,17 @@ This would ban both their forum username and their IP address. Загальні - - Limit Speed Percent - Обмеження відсотка швидкості - - - - % - % - - - - Multicore CPU Emulation - Багатоядерна емуляція ЦП - - - - 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 - Приховування миші при бездіяльності - - - + 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? Це скине всі налаштування і видалить усі конфігурації під окремі ігри. При цьому не будуть видалені шляхи до ігор, профілів або профілів вводу. Продовжити? @@ -1367,257 +1245,45 @@ This would ban both their forum username and their IP address. Налаштування API - - Shader Backend: - Бекенд шейдерів: - - - - Device: - Пристрій: - - - - API: - API: - - - - - None - Вимкнено - - - + Graphics Settings Налаштування графіки - - Use disk pipeline cache - Використовувати кеш конвеєра на диску - - - - Use asynchronous GPU emulation - Використовувати асинхронну емуляцію ГП - - - - Accelerate ASTC texture decoding - Прискорення декодування текстур ASTC - - - - 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) - - - - 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: - Фільтр адаптації вікна: - - - - Nearest Neighbor - Найближчий сусід - - - - Bilinear - Білінійне - - - - Bicubic - Бікубічне - - - - Gaussian - Гауса - - - - ScaleForce - ScaleForce - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ Super Resolution (Лише для Vulkan) - - - - Anti-Aliasing Method: - Метод згладжування: - - - - FXAA - FXAA - - - - 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) - - - - - %1% + + % FSR sharpening percentage (e.g. 50%) - %1% + % + + + + Off + Вимкнено + + + + VSync Off + Верт. синхронізацію вимкнено + + + + Recommended + Рекомендовано + + + + On + Увімкнено + + + + VSync On + Верт. синхронізація увімкнена @@ -1637,86 +1303,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Розширені налаштування графіки - - - Accuracy Level: - Рівень точності: - - - - 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. - Вертикальна синхронізація запобігає розривам екрана, але деякі відеокарти мають нижчу продуктивність при вертикальній синхронізації. Залишайте увімкненим, якщо ви не помічаєте різниці в продуктивності. - - - - 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. - Вмикає функцію 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. - Вмикає песимістичне очищення буферів. Ця опція змушує промивати немодифіковані буфери, що може знизити продуктивність. - - - - Use pessimistic buffer flushes (Hack) - Використовувати песимістичне очищення буферів (Хак) - - - - Anisotropic Filtering: - Анізотропна фільтрація: - - - - Automatic - Автоматично - - - - Default - За замовчуванням - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1746,70 +1332,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 +1682,7 @@ This would ban both their forum username and their IP address. - + Configure Налаштувати @@ -2127,6 +1708,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu Потребує перезапуску yuzu @@ -2146,22 +1729,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 +1769,7 @@ This would ban both their forum username and their IP address. Input Profiles - Профілі Вводу + Профілі вводу @@ -2231,7 +1819,7 @@ This would ban both their forum username and their IP address. Player %1 profile - + Профіль гравця %1 @@ -2273,7 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Лівий міні-джойстик @@ -2367,14 +1955,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2393,7 +1981,7 @@ This would ban both their forum username and their IP address. - + Plus Плюс @@ -2406,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2471,236 +2059,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 +2357,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure Налаштувати @@ -2784,7 +2393,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test Тест @@ -2804,81 +2413,180 @@ 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 mouse panning + Увімкнути панорамування миші + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Можна перемикати гарячою клавішею. Гаряча клавіша за замовчуванням - Ctrl + F9 + + + + Sensitivity + Чутливість + + + + Horizontal + Горизонтальна + + + + + + + + % + % + + + + Vertical + Вертикальна + + + + Deadzone counterweight + Противага мертвої зони + + + + Counteracts a game's built-in deadzone + Протидія вбудованим в ігри мертвим зонам + + + + Deadzone + Мертва зона + + + + Stick decay + Повернення стіка + + + + Strength + Сила + + + + Minimum + Мінімум + + + + Default + За замовчуванням + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Панорамування мишею краще працює за мертвої зони 0% і діапазону 100%. +Поточні значення: %1% і %2% відповідно. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Емуляцію миші ввімкнено. Це несумісно з панорамуванням миші. + + + + 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. + Введення реальної миші та панорамування мишею несумісні. Будь ласка, вимкніть емульовану мишу в розширених налаштуваннях введення, щоб дозволити панорамування мишею. + + ConfigureNetwork @@ -2910,100 +2618,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog Діалог - + Info Інформація - + Name Назва - + Title ID Ідентифікатор гри - + Filename Ім'я файлу - + Format Формат - + Version Версія - + Size Розмір - + Developer Розробник - + + Some settings are only available when a game is not running. + Деякі налаштування доступні тільки тоді, коли гру не запущено. + + + Add-Ons Доповнення - - General - Загальні - - - + System Система - + CPU ЦП - + Graphics Графіка - + Adv. Graphics Розш. Графіка - + Audio Аудіо - + Input Profiles - Профілі Вводу + Профілі вводу - + Properties Властивості - - - Use global configuration (%1) - Використовувати глобальне налаштування (%1) - ConfigurePerGameAddons @@ -3198,13 +2901,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, налаштуйте гравця 1 як правий Joy-Con (як фізичний, так і емульований), а гравця 2 - як лівий Joy-Con (лівий фізичний і подвійний емульований) перед початком гри. - Ring Sensor Parameters - Параметри сенсора Ring + Virtual Ring Sensor Parameters + Параметри датчика віртуального Ring @@ -3224,33 +2927,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] [очікування] @@ -3264,449 +3029,19 @@ UUID: %2 + System Система - - System Settings - Налаштування системи + + Core + Ядро - - Region: - Регіон: - - - - Auto - Авто - - - - Default - За замовчуванням - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - Куба - - - - EET - EET - - - - Egypt - Єгипет - - - - Eire - Ейре - - - - EST - EST - - - - EST5EDT - EST5EDT - - - - GB - GB - - - - GB-Eire - GB-Ейре - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - Гринвіч - - - - Hongkong - Гонконг - - - - HST - HST - - - - Iceland - Ісландія - - - - Iran - Іран - - - - Israel - Ізраїль - - - - Jamaica - Ямайка - - - - - Japan - Японія - - - - Kwajalein - Кваджалейн - - - - Libya - Лівія - - - - MET - MET - - - - MST - MST - - - - MST7MDT - MST7MDT - - - - Navajo - Навахо - - - - NZ - NZ - - - - NZ-CHAT - NZ-CHAT - - - - Poland - Польща - - - - Portugal - Португалія - - - - PRC - PRC - - - - PST8PDT - PST8PDT - - - - ROC - ROC - - - - ROK - ROK - - - - Singapore - Сінгапур - - - - Turkey - Туреччина - - - - UCT - UCT - - - - Universal - Універсальний - - - - UTC - UTC - - - - W-SU - W-SU - - - - WET - WET - - - - Zulu - Зулуси - - - - USA - США - - - - Europe - Європа - - - - Australia - Австралія - - - - China - Китай - - - - Korea - Корея - - - - Taiwan - Тайвань - - - - Time Zone: - Часовий пояс: - - - - Note: this can be overridden when region setting is auto-select - Примітка: може бути перезаписано якщо регіон вибирається автоматично - - - - Japanese (日本語) - Японська (日本語) - - - - English - Англійська (English) - - - - French (français) - Французька (français) - - - - German (Deutsch) - Німецька (Deutsch) - - - - Italian (italiano) - Італійська (italiano) - - - - Spanish (español) - Іспанська (español) - - - - Chinese - Китайська - - - - Korean (한국어) - Корейська (한국어) - - - - Dutch (Nederlands) - Голландська (Nederlands) - - - - Portuguese (português) - Португальська (português) - - - - Russian (Русский) - Російська (Русский) - - - - Taiwanese - Тайванська - - - - British English - Британська Англійська - - - - Canadian French - Канадська Французька - - - - Latin American Spanish - Латиноамериканська Іспанська - - - - Simplified Chinese - Спрощена Китайська - - - - Traditional Chinese (正體中文) - Традиційна Китайська (正體中文) - - - - Brazilian Portuguese (português do Brasil) - Бразильська Португальська (português do Brasil) - - - - Custom RTC - Користувацький RTC - - - - Language - Мова - - - - RNG Seed - Сід RNG - - - - Device Name - - - - - Mono - Моно - - - - 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 +3110,7 @@ UUID: %2 Налаштування TAS - + Select TAS Load Directory... Обрати папку завантаження TAS... @@ -3913,64 +3248,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None Нічого - + Small (32x32) Маленький (32х32) - + Standard (64x64) Стандартний (64х64) - + Large (128x128) Великий (128х128) - + Full Size (256x256) Повнорозмірний (256х256) - + Small (24x24) Маленький (24х24) - + Standard (48x48) Стандартний (48х48) - + Large (72x72) Великий (72х72) - + Filename Ім'я файлу - + Filetype Тип файлу - + Title ID Ідентифікатор гри - + Title Name Назва гри @@ -4073,15 +3408,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + + + + + Resolution: + Роздільна здатність: + + + Select Screenshots Path... Виберіть папку для знімків екрану... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + + ConfigureVibration @@ -4331,7 +3682,7 @@ Drag points to change position, or double-click table cells to edit values.Контролер P1 - + &Controller P1 [&C] Контролер P1 @@ -4344,42 +3695,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 +3733,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting Підключення - + Connect Підключитися @@ -4400,535 +3746,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 +4324,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) were overwritten %n файл було перезаписано @@ -4948,7 +4334,7 @@ Please, only use this feature to install updates and DLC. - + %n file(s) failed to install %n файл не вдалося встановити @@ -4958,377 +4344,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 +4666,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 +4705,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,48 +4755,143 @@ 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 + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! OpenGL недоступний! - + OpenGL shared contexts are not supported. - + Загальні контексти OpenGL не підтримуються. - + yuzu has not been compiled with OpenGL support. yuzu не було зібрано з підтримкою OpenGL. - - + + Error while initializing OpenGL! Помилка під час ініціалізації OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. Ваш ГП може не підтримувати OpenGL, або у вас встановлено застарілий графічний драйвер. - + Error while initializing OpenGL 4.6! Помилка під час ініціалізації 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 Ваш ГП може не підтримувати OpenGL 4.6, або у вас встановлено застарілий графічний драйвер.<br><br>Рендерер GL:<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 Ваш ГП може не підтримувати одне або кілька необхідних розширень OpenGL. Будь ласка, переконайтеся в тому, що у вас встановлено останній графічний драйвер.<br><br>Рендерер GL:<br>%1<br><br>Розширення, що не підтримуються:<br>%2 @@ -5473,168 +4899,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite Улюблені - + Start Game Запустити гру - + Start Game without Custom Configuration Запустити гру без користувацького налаштування - + Open Save Data Location Відкрити папку для збережень - + Open Mod Data Location Відкрити папку для модів - + Open Transferable Pipeline Cache Відкрити переносний кеш конвеєра - + Remove Видалити - + Remove Installed Update Видалити встановлене оновлення - + Remove All Installed DLC Видалити усі DLC - + Remove Custom Configuration Видалити користувацьке налаштування - + + 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 - - - - - Add to Desktop - - - - - Add to Applications Menu - + Створити ярлик + 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 +5136,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list Натисніть двічі, щоб додати нову папку до списку ігор @@ -5718,12 +5149,12 @@ Would you like to bypass this and exit anyway? %1 із %n результат(ів)%1 із %n результат(ів)%1 із %n результат(ів)%1 із %n результат(ів) - + Filter: Пошук: - + Enter pattern to filter Введіть текст для пошуку @@ -5799,12 +5230,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error Помилка - + 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: Не вдалося оголосити кімнату в публічному фойє. Щоб хостити публічну кімнату, у вас має бути діючий обліковий запис yuzu, налаштований в Емуляція -> Налаштування -> Мережа. Якщо ви не хочете оголошувати кімнату в публічному лобі, виберіть замість цього прихований тип. @@ -5814,138 +5245,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 +5399,7 @@ Debug Message: Встановити - + Install Files to NAND Встановити файли в NAND @@ -5976,7 +5407,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 У тексті неприпустимі такі символи: @@ -6051,51 +5482,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 +6069,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE СТАРТ/ПАУЗА @@ -6682,31 +6118,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [не задано] @@ -6717,14 +6153,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Ось %1%2 @@ -6735,264 +6171,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 @@ -7144,7 +6638,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Контролер Pro @@ -7157,7 +6651,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Подвійні Joy-Con'и @@ -7170,7 +6664,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Лівий Joy-Con @@ -7183,7 +6677,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Правий Joy-Con @@ -7212,7 +6706,7 @@ p, li { white-space: pre-wrap; } - + Handheld Портативний @@ -7328,32 +6822,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Контролер GameCube - + Poke Ball Plus Poke Ball Plus - + NES Controller Контролер NES - + SNES Controller Контролер SNES - + N64 Controller Контролер N64 - + Sega Genesis Sega Genesis @@ -7361,28 +6855,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 +6900,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 +7024,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..326f3f129 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ười đó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> @@ -63,7 +69,7 @@ p, li { white-space: pre-wrap; } Configuration completed! - Đã hoàn thành quá trình thiết lập! + Đã hoàn thành quá trình cấu hình! @@ -76,95 +82,97 @@ p, li { white-space: pre-wrap; } Room Window - + Cửa sổ Phòng Send Chat Message - + Gửi tin nhắn Send Message - + Gửi tin nhắn Members - + Thành viên %1 has joined - + %1 đã tham gia %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 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? + +Việc này sẽ ban tên người dùng trên diễn đàn và IP của họ luôn. @@ -172,22 +180,22 @@ This would ban both their forum username and their IP address. Room Window - + Cửa sổ Phòng Room Description - + Nội dung phòng chơi Moderation... - + Quản lý... Leave Room - + Rời phòng @@ -200,12 +208,12 @@ This would ban both their forum username and their IP address. Disconnected - + Đã ngắt kết nối %1 - %2 (%3/%4 members) - connected - + %1 - %2 (%3/%4 thành viên) - đã kết nối @@ -224,7 +232,7 @@ This would ban both their forum username and their IP address. Report Game Compatibility - Báo cáo độ tương thích trò chơi + Báo cáo về độ tương thích của game @@ -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ó khởi chạy 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 đượ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ó vào được gameplay 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> @@ -349,7 +357,7 @@ This would ban both their forum username and their IP address. An error occurred while sending the Testcase - Có lỗi xảy ra khi gửi Testcase + Lỗi khi gửi Testcase @@ -357,6 +365,26 @@ This would ban both their forum username and their IP address. Tiếp theo + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Tự động (%1) + + + + Default (%1) + Default time zone + Mặc định (%1) + + ConfigureAudio @@ -365,89 +393,48 @@ This would ban both their forum username and their IP address. Audio Âm thanh - - - Output Engine: - Hệ thống xuất: - - - - Output Device - - - - - Input Device - Thiết bị Nhập - - - - 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 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera Configure Infrared Camera - + Cấu hình 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 ảo hoặc một camera thật Camera Image Source: - + Nguồn ảnh camera: Input device: - + Thiết bị đầu vào: Preview - + Xem trước Resolution: 320*240 - + Độ phân giải: 320*240 Click to preview - + Nhấp để xem Restore Defaults - Khôi phục về mặc định + Khôi phục mặc định @@ -468,135 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General Chung - - - Accuracy: - Độ chính xác - - - - Auto - Tự động - - - - Accurate - Tuyệt đối - - Unsafe - Tương đối - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". - Chúng tôi khuyến khích sử dụng chế độ "Tự động" + Chúng tôi khuyên nên đặt độ chính xác là "Tự động". - + Unsafe CPU Optimization Settings - Cài đặt tối ưu cho CPU ở chế độ tương đối + Cài đặt tối ưu cho CPU ở chế độ không an toàn - + These settings reduce accuracy for speed. Những cài đặt sau giảm độ chính xác của giả lập để đổi lấy tốc độ. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Chức năng này tăng tốc độ giả lập bằng cách giảm độ chính xác của tập lệnh phép tính gộp cộng và nhân (FMA) trên các dòng CPU không hỗ trợ nó.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Không dùng FMA (tăng hiệu suất cho các dòng CPU không hỗ trợ FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Chức năng này cải thiện tốc độ của một số chức năng dấu phẩy động tương đối bằng cách sử dụng tính năng làm tròn kém chính xác hơn.</div> - - - - - Faster FRSQRTE and FRECPE - Chạy FRSQRTE và FRECPE nhanh hơn - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Tùy chọn này cải thiện tốc độ của các hàm dấu phẩy động ASIMD 32 bit bằng cách chạy với các chế độ làm tròn không chính xác.</div> - - - - - Faster ASIMD instructions (32 bits only) - Các lệnh ASIMD nhanh hơn (chỉ áp dụng cho 32 bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - -<div>Tùy chọn này sẽ cải thiện tốc độ bằng việc gỡ bỏ Kiểm tra NaN. Hãy nhớ là tùy chọn cũng sẽ giảm độ chính xác cho các dòng lệnh floating-point.</div> - - - - - Inaccurate NaN handling - Xử lí NaN gặp lỗi - - - - - <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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - Cài đặt CPU chỉ có sẵn khi không chạy trò chơi. - ConfigureCpuDebug @@ -618,7 +495,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;">Chỉ dành cho việc gỡ lỗi.</span><br/>Nếu bạn không biết những sự lựa chọn này làm gì, hãy bật tất cả.<br/>Những cài đặt này, khi tắt, chỉ hiệu quả khi bật "Gỡ lỗi CPU". </p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Chỉ dành cho việc gỡ lỗi.</span><br/>Nếu bạn không biết những lựa chọn này làm gì, hãy bật tất cả.<br/>Những cài đặt này, khi tắt, chỉ hiệu quả khi bật "Chế độ gỡ lỗi CPU". </p></body></html> @@ -628,87 +505,99 @@ 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">Sự tối ưu hóa này làm cho việc truy cập bộ nhớ của chương trình khách nhanh hơn.</div> - <div style="white-space: nowrap">Bật nó giúp PageTable::pointers có thể được truy cập trong mã được phát ra.</div> - <div style="white-space: nowrap">Tắt nó làm cho mọi truy cập vào bộ nhớ bắt buộc phải qua các function Memory::Read/Memory::Write.</div> + <div style="white-space: nowrap">Tối ưu hóa này tăng tốc truy cập bộ nhớ của chương trình khách</div> + <div style="white-space: nowrap">Bật nó sẽ nhúng các truy cập vào PageTable::pointers vào mã được tạo ra.</div> + <div style="white-space: nowrap">Tắt nó sẽ buộc mọi truy cập vào bộ nhớ phải qua các hàm Memory::Read/Memory::Write.</div> Enable inline page tables - + Bật bảng trang nội tuyến <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>Tối ưu hóa này tránh tra cứu trình điều phối bằng cách cho phép các khối cơ bản được phát ra nhảy trực tiếp đến các khối cơ bản khác nếu địa chỉ PC đích là tĩnh.</div> + Enable block linking - + Bật liên kết khối <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>Tối ưu hóa này tránh tra cứu trình điều phối bằng cách theo dõi các địa chỉ trả về tiềm năng của các chỉ thị BL. Điều này xấp xỉ việc xảy ra với một bộ đệm ngăn xếp trả về trên CPU thật.</div> + Enable return stack buffer - + Bật phản hồi của bộ đệm ngăn xếp <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>Bật hệ thống điều phối hai cấp. Một trình điều phối nhanh hơn được viết bằng assembly và có một bộ nhớ đệm MRU nhỏ của các địa chỉ nhảy được sử dụng trước. Nếu không thành công, việc điều phối sẽ chuyển sang trình điều phối chậm hơn viết bằng C++.</div> + Enable fast dispatcher - + Bật trình điều phối nhanh <div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div> - + + <div>Kích hoạt một tối ưu hóa IR giảm truy cập không cần thiết vào cấu trúc ngữ cảnh CPU.</div> + Enable context elimination - + Bật loại bỏ ngữ cảnh <div>Enables IR optimizations that involve constant propagation.</div> - + + <div>Kích hoạt tối ưu hóa IR liên quan đến truyền tải hằng số.</div> + Enable constant propagation - + Bật lan truyền hằng số <div>Enables miscellaneous IR optimizations.</div> - + + <div>Bật tối ưu hoá IR đa dạng.</div> + Enable miscellaneous optimizations - + Bật tối ưu hóa tính năng phụ @@ -716,12 +605,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">Khi kích hoạt, sự không căn chỉnh chỉ xảy ra khi một truy cập vượt qua ranh giới trang.</div> + <div style="white-space: nowrap">Khi vô hiệu hóa, sự không căn chỉnh sẽ xảy ra cho tất cả các truy cập không căn chỉnh.</div> + Enable misalignment check reduction - + Bật giảm kiểm tra không đồng nhất @@ -730,12 +622,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">Tối ưu hoá này tăng tốc độ truy cập bộ nhớ của chương trình khách</div> + <div style="white-space: nowrap">Bật nó sẽ làm cho việc đọc/ghi bộ nhớ của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.</div> + <div style="white-space: nowrap">Tắt nó sẽ buộc tất cả các truy cập bộ nhớ phải sử dụng giả lập MMU phần mềm.</div> + Enable Host MMU Emulation (general memory instructions) - + Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ chung) @@ -744,12 +640,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">Tối ưu hóa này tăng tốc truy cập bộ nhớ độc quyền của chương trình khách.</div> + <div style="white-space: nowrap">Bật nó sẽ làm cho việc đọc/ghi bộ nhớ độc quyền của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.</div> + <div style="white-space: nowrap">Tắt nó sẽ buộc tất cả các truy cập bộ nhớ độc quyền phải sử dụng giả lập MMU phần mềm.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ độc quyền) @@ -757,12 +657,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">Tối ưu hóa này tăng tốc truy cập bộ nhớ độc quyền của chương trình khách.</div> + <div style="white-space: nowrap">Bật nó giảm tải chi phí phụ khi xảy ra lỗi fastmem trong quá trình truy cập bộ nhớ độc quyền.</div> + Enable recompilation of exclusive memory instructions - + Bật biên dịch lại các chỉ thị bộ nhớ độc quyền @@ -770,250 +673,263 @@ 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">Tối ưu hóa này tăng tốc truy cập bộ nhớ bằng cách cho phép các truy cập bộ nhớ không hợp lệ thành công.</div> + <div style="white-space: nowrap">Bật nó giảm tải các chi phí phụ liên quan đến việc truy cập bộ nhớ và không ảnh hưởng đến các chương trình không truy cập vào bộ nhớ không hợp lệ.</div> + Enable fallbacks for invalid memory accesses - + Bật dự phòng cho truy cập bộ nhớ không hợp lệ CPU settings are available only when game is not running. - Cài đặt CPU chỉ có sẵn khi không chạy trò chơi. + Cài đặt CPU chỉ khả dụng khi game không chạy. ConfigureDebug - + Debugger - + Trình gỡ lỗi - + Enable GDB Stub - Cho phép bật GDB sơ khai + Bật GDB Stub - + Port: Cổng: - + Logging - Báo cáo + Ghi nhật ký - - Global Log Filter - Bộ lọc báo cáo chung - - - - Show Log in Console - - - - + Open Log Location - Mở vị trí sổ ghi chép + Mở vị trí nhật ký - + + Global Log Filter + Bộ lọc nhật ký chung + + + When checked, the max size of the log increases from 100 MB to 1 GB - Khi tích vào, dung lượng tối đa cho file log chuyển từ 100 MB lên 1 GB + Khi kích hoạt, kích thước tối đa của tập tin nhật ký tăng từ 100 MB lên 1 GB - + Enable Extended Logging** - + Bật ghi nhật ký mở rộng** - + + Show Log in Console + Hiện nhật ký trong console + + + Homebrew Homebrew - + Arguments String - Xâu lệnh + Chuỗi đối số - + Graphics Đồ hoạ - - When checked, the graphics API enters a slower debugging mode - + + When checked, it executes shaders without loop logic changes + Khi kích hoạt, nó thực thi các shader mà không thay đổi logic vòng lặp - + + Disable Loop safety checks + Tắt kiểm tra an toàn vòng lặp + + + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + Khi kích hoạt, nó sẽ trích xuất tất cả shader của trình hợp dịch từ bộ nhớ đệm shader trên ổ cứng hoặc từ game khi tìm thấy + + + + Dump Game Shaders + Trích xuất shader game + + + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Khi kích hoạt, nó sẽ tắt các chức năng Macro HLE. Bật tính năng này sẽ làm cho các game chạy chậm hơn + + + + Disable Macro HLE + Tắt Macro HLE + + + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + Khi kích hoạt, nó sẽ tắt trình biên dịch Just In Time cho macro. Bật tính năng này sẽ làm cho các game chạy chậm hơn + + + + Disable Macro JIT + Tắt Macro JIT + + + + When checked, the graphics API enters a slower debugging mode + Khi kích hoạt, API đồ hoạ sẽ chuyển sang chế độ gỡ lỗi chậm hơn + + + Enable Graphics Debugging Kích hoạt chế độ gỡ lỗi đồ hoạ - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - - - - - Dump Game Shaders - - - - + When checked, it will dump all the macro programs of the GPU - + Khi kích hoạt, nó sẽ trích xuất tất cả chương trình macro của GPU - + Dump Maxwell Macros - + Trích xuất Maxwell Macros - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - - - - - Disable Macro JIT - Không dùng Macro JIT - - - + When checked, yuzu will log statistics about the compiled pipeline cache - + Khi kích hoạt, yuzu sẽ ghi lại các thống kê về bộ nhớ đệm pipeline đã được biên dịch - + Enable Shader Feedback - + Bật phản hồi shader - - When checked, it executes shaders without loop logic changes - + + When checked, it enables Nsight Aftermath crash dumps + Khi kích hoạt, nó cho phép ghi nhận lỗi Nsight Aftermath - - Disable Loop safety checks - + + Enable Nsight Aftermath + Bật Nsight Aftermath - - 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 + 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. - + Cho phép yuzu kiểm tra môi trường Vulkan hoạt động khi chương trình bắt đầu. Vô hiệu hóa tính năng này nếu nó gây ra vấn đề cho các chương trình bên ngoài khi nhìn thấy yuzu. - + Perform Startup Vulkan Check - + Thực hiện kiểm tra Vulkan khi khởi động - + + Disable Web Applet + Tắt applet web + + + + Enable All Controller Types + Cho phép tất cả các loại tay cầm + + + + Enable Auto-Stub** + Bật Auto-Stub** + + + + Kiosk (Quest) Mode + Chế độ Kiosk (Khách) + + + + Enable CPU Debugging + Bật chế độ gỡ lỗi CPU + + + + Enable Debug Asserts + Bật kiểm tra lỗi gỡ lỗi + + + + Debugging + Gỡ lỗi + + + + Enable FS Access Log + Bật nhật ký truy cập FS + + + + Create Minidump After Crash + Tạo Minidump sau khi crash + + + + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. + Bật tính năng này để đưa ra danh sách lệnh âm thanh mới nhất đã tạo ra đến console. Chỉ ảnh hưởng đến các game sử dụng bộ mã hóa âm thanh. + + + + Dump Audio Commands To Console** + Trích xuất các lệnh âm thanh đến console** + + + + Enable Verbose Reporting Services** + Bật dịch vụ báo cáo chi tiết** + + + **This will be reset automatically when yuzu closes. - **Sẽ tự động thiết lập lại khi tắt yuzu. + **Sẽ tự động đặt lại khi đóng yuzu. Restart Required - + Cần khởi động lại yuzu is required to restart in order to apply this setting. - + yuzu cần khởi động lại để áp dụng cài đặt này. - + Web applet not compiled - + Applet web chưa được biên dịch - + MiniDump creation not compiled - + Chức năng tạo MiniDump không được biên dịch @@ -1021,17 +937,17 @@ This would ban both their forum username and their IP address. Configure Debug Controller - Thiết lập bộ điều khiển vá lỗi + Cấu hình tay cầm gỡ lỗi Clear - Làm trống + Xóa Defaults - Quay về mặc định + Mặc định @@ -1045,7 +961,7 @@ This would ban both their forum username and their IP address. Debug - Vá lỗi + Gỡ lỗi @@ -1058,81 +974,86 @@ This would ban both their forum username and their IP address. yuzu Configuration - Thiết lập yuzu + Cấu hình yuzu - - + + Some settings are only available when a game is not running. + Một số cài đặt chỉ khả dụng khi game không chạy. + + + + Audio Âm thanh - - + + CPU CPU - + Debug Gỡ lỗi - + Filesystem - Hệ thống tệp tin + Hệ thống tập tin - - + + General Chung - - + + Graphics Đồ hoạ - + GraphicsAdvanced Đồ họa Nâng cao - + Hotkeys Phím tắt - - + + Controls - Phím + Điều khiển - + Profiles Hồ sơ - + Network Mạng - - + + System Hệ thống - + Game List - Danh sách trò chơi + Danh sách game - + Web Web @@ -1147,7 +1068,7 @@ This would ban both their forum username and their IP address. Filesystem - File hệ thống + Hệ thống tập tin @@ -1176,7 +1097,7 @@ This would ban both their forum username and their IP address. Gamecard - Thẻ nhớ trò chơi + Đĩa game @@ -1196,27 +1117,27 @@ This would ban both their forum username and their IP address. Patch Manager - + Quản lý bản vá Dump Decompressed NSOs - Sao chép NSO đã giải nén + Trích xuất NSO đã giải nén Dump ExeFS - Sao chép ExeFS + Trích xuất ExeFS Mod Load Root - + Thư mục chứa mod gốc Dump Root - + Thư mục trích xuất gốc @@ -1226,7 +1147,7 @@ This would ban both their forum username and their IP address. Cache Game List Metadata - Lưu bộ nhớ đệm của danh sách trò chơi + Lưu bộ nhớ đệm metadata của danh sách game @@ -1234,37 +1155,37 @@ This would ban both their forum username and their IP address. Reset Metadata Cache - Khôi phục bộ nhớ đệm của metadata + Đặt lại bộ nhớ đệm metadata Select Emulated NAND Directory... - Chọn Thư Mục Giả Lập NAND... + Chọn thư mục NAND giả lập... Select Emulated SD Directory... - Chọn Thư Mục Giả Lập SD... + Chọn thư mục SD giả lập... Select Gamecard Path... - + Chọn đường dẫn tới đĩa game... Select Dump Directory... - + Chọn thư mục trích xuất... Select Mod Load Directory... - Chọn Thư Mục Chứa Mod... + Chọn thư mục chứa mod... The metadata cache is already empty. - + Bộ nhớ đệm metadata trống. @@ -1274,7 +1195,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. - + Bộ nhớ đệm metadata không thể xoá. Nó có thể đang được sử dụng hoặc không tồn tại. @@ -1291,64 +1212,19 @@ This would ban both their forum username and their IP address. Chung - - Limit Speed Percent - Giới hạn phần trăm tốc độ - - - - % - % - - - - Multicore CPU Emulation - Giả lập CPU đa nhân - - - - 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 - - - + Reset All Settings - Đặt lại mọi tùy chỉnh + Đặt lại mọi cài đặt - + 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? + Quá trình này sẽ đặt 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 xoá thư mục game, hồ sơ, hay hồ sơ đầu vào. Tiếp tục? @@ -1369,257 +1245,45 @@ This would ban both their forum username and their IP address. Cài đặt API - - Shader Backend: - - - - - Device: - Thiết bị đồ hoạ: - - - - API: - API đồ hoạ: - - - - - None - Trống - - - + Graphics Settings Cài đặt đồ hoạ - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Dùng giả lập GPU không đồng bộ - - - - Accelerate ASTC texture decoding - - - - - 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 - - - - - 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) - - - - - 2X (1440p/2160p) - - - - - 3X (2160p/3240p) - - - - - 4X (2880p/4320p) - - - - - 5X (3600p/5400p) - - - - - 6X (4320p/6480p) - - - - - Window Adapting Filter: - - - - - Nearest Neighbor - - - - - Bilinear - - - - - Bicubic - - - - - Gaussian - - - - - ScaleForce - - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - Anti-Aliasing Method: - - - - - FXAA - - - - - 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 + Tắt + + + + VSync Off + Tắt Vsync + + + + Recommended + Đề xuất + + + + On + Bật + + + + VSync On + Bật Vsync @@ -1639,93 +1303,13 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Cài đặt đồ hoạ nâng cao - - - Accuracy Level: - Độ 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. - - - - - Use Fast GPU Time (Hack) - Tăng Tốc Thời Gian GPU (Hack) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Bộ lọc góc nghiêng: - - - - Automatic - - - - - Default - Mặc định - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys Hotkey Settings - Cài đặt phím nóng + Cài đặt phím tắt @@ -1735,83 +1319,78 @@ This would ban both their forum username and their IP address. Double-click on a binding to change it. - Đúp chuột vào phím đã được thiết lập để thay đổi. + Nhấp đúp chuột vào phím đã được thiết lập để thay đổi. Clear All - Bỏ Trống Hết + Xóa tất cả Restore Defaults - Khôi phục về mặc định + Khôi phục mặc định - + Action Hành động - + Hotkey Phím tắt - + Controller Hotkey - + Phím tắt tay cầm - - - + + + 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ờ] + [chờ] - + Invalid - + Không hợp lệ - + Restore Default - Khôi phục về mặc định + Khôi phục mặc định - + Clear Xóa - - - Conflicting Button Sequence - - - - - The default button sequence is already assigned to: %1 - - + Conflicting Button Sequence + Tổ hợp nút bị xung đột + + + + The default button sequence is already assigned to: %1 + Tổ hợp nút mặc định đã được gán cho: %1 + + + The default key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 @@ -1821,7 +1400,7 @@ This would ban both their forum username and their IP address. ConfigureInput - Thiết lập đầu vào + Cấu hình đầu vào @@ -1880,38 +1459,38 @@ This would ban both their forum username and their IP address. Console Mode - Console Mode + Chế độ console Docked - Chế độ cắm TV + Docked Handheld - Cầm tay + Handheld Vibration - Độ rung + Rung Configure - Thiết lập + Cấu hình Motion - + Chuyển động Controllers - + Tay cầm @@ -1961,7 +1540,7 @@ This would ban both their forum username and their IP address. Defaults - Quay về mặc định + Mặc định @@ -1974,12 +1553,12 @@ This would ban both their forum username and their IP address. Configure Input - Thiết lập đầu vào + Cấu hình đầu vào Joycon Colors - Màu tay cầm Joycon + Màu Joycon @@ -1996,7 +1575,7 @@ This would ban both their forum username and their IP address. L Body - + Thân L @@ -2020,7 +1599,7 @@ This would ban both their forum username and their IP address. R Body - + Thân R @@ -2032,7 +1611,7 @@ This would ban both their forum username and their IP address. R Button - Phím R + Nút R @@ -2072,7 +1651,7 @@ This would ban both their forum username and their IP address. Emulated Devices - + Thiết bị giả lập @@ -2097,25 +1676,25 @@ This would ban both their forum username and their IP address. Debug Controller - Hiệu chỉnh lỗi tay cầm + Tay cầm gỡ lỗi - + Configure - Thiết lập + Cấu hình Ring Controller - + Vòng điều khiển Infrared Camera - + Camera hồng ngoại @@ -2125,45 +1704,52 @@ This would ban both their forum username and their IP address. Emulate Analog with Keyboard Input - + Giả lập analog bằng cách sử dụng đầu vào từ bàn phím + + Requires restarting yuzu - Phải khởi động lại yuzu + Cần khởi động lại yuzu Enable XInput 8 player support (disables web applet) - Bật hỗ trợ XInput cho 8 người (tắt web applet) + Bật hỗ trợ XInput cho 8 người (tắt applet web) Enable UDP controllers (not needed for motion) - + Bật điều khiển UDP (không cần thiết cho chuyển động) Controller navigation - + Điều hướng bằng tay cầm - - Enable mouse panning - + + Enable direct JoyCon driver + Bật driver JoyCon trực tiếp - - Mouse sensitivity - Độ nhạy chuột + + Enable direct Pro Controller driver [EXPERIMENTAL] + Bật driver Pro Controller trực tiếp [THỬ NGHIỆM] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Cho phép sử dụng không giới hạn cùng một Amiibo trong các game mà thông thường giới hạn bạn chỉ sử dụng một lần. - + + Use random Amiibo ID + Dùng ID Amiibo ngẫu nhiên + + + Motion / Touch Chuyển động / Cảm ứng @@ -2183,57 +1769,57 @@ This would ban both their forum username and their IP address. Input Profiles - + Hồ sơ đầu vào Player 1 Profile - + Hồ sơ người chơi 1 Player 2 Profile - + Hồ sơ người chơi 2 Player 3 Profile - + Hồ sơ người chơi 3 Player 4 Profile - + Hồ sơ người chơi 4 Player 5 Profile - + Hồ sơ người chơi 5 Player 6 Profile - + Hồ sơ người chơi 6 Player 7 Profile - + Hồ sơ người chơi 7 Player 8 Profile - + Hồ sơ người chơi 8 Use global input configuration - + Dùng cấu hình đầu vào chung Player %1 profile - + Hồ sơ người chơi %1 @@ -2241,17 +1827,17 @@ This would ban both their forum username and their IP address. Configure Input - Thiết lập đầu vào + Cấu hình đầu vào Connect Controller - Kết nối Tay cầm + Kết nối tay cầm Input Device - Thiết bị Nhập + Thiết bị đầu vào @@ -2275,7 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Cần trái @@ -2335,13 +1921,13 @@ This would ban both their forum username and their IP address. Modifier - + Điều chỉnh Range - + Phạm vi @@ -2353,13 +1939,13 @@ This would ban both their forum username and their IP address. Deadzone: 0% - + Vùng chết: 0% Modifier Range: 0% - + Phạm vi điều chỉnh: 0% @@ -2369,14 +1955,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2390,12 +1976,12 @@ This would ban both their forum username and their IP address. Capture - + Chụp - + Plus Cộng @@ -2408,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2435,12 +2021,12 @@ This would ban both their forum username and their IP address. Motion 1 - + Chuyển động 1 Motion 2 - + Chuyển động 2 @@ -2473,238 +2059,259 @@ This would ban both their forum username and their IP address. - + Right Stick Cần phải - - - - + + Mouse panning + Lia chuột + + + + Configure + Cấu hình + + + + + + Clear - Bỏ trống - - - - - - - - [not set] - [không đặt] - - - - - Invert button - - - - - - Toggle button - - - - - - Invert axis - + Xóa - - - Set threshold - + + + + + [not set] + [chưa đặt] - - + + + + Invert button + Đảo ngược nút + + + + + Toggle button + Đổi nút + + + + Turbo button + Nút turbo + + + + + Invert axis + Đảo ngược trục + + + + + + Set threshold + Thiết lập ngưỡng + + + + Choose a value between 0% and 100% Chọn một giá trị giữa 0% và 100% - + Toggle axis - + Chuyển đổi trục - + Set gyro threshold - + Thiết lập ngưỡng cảm biến con quay - + + Calibrate sensor + Hiệu chỉnh cảm biến + + + Map Analog Stick - Thiết lập Cần Điều Khiển + Ánh xạ cần analog - + 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. + Sau khi nhấn OK, di chuyển cần điều khiển theo chiều ngang, sau đó theo chiều dọc. +Để đảo ngược hướng, di chuyển cần điều khiển theo chiều dọc trước, sau đó theo chiều ngang. - + Center axis - + Canh chỉnh trục - - + + Deadzone: %1% - + Vùng chết: %1% - - + + Modifier Range: %1% - + Phạm vi điều chỉnh: %1% - - + + Pro Controller - Tay cầm Pro Controller + Pro Controller - + Dual Joycons Joycon đôi - + Left Joycon - Joycon Trái + Joycon trái - + Right Joycon - Joycon Phải + Joycon phải - + Handheld - Cầm tay + Handheld - + GameCube Controller Tay cầm GameCube - + Poke Ball Plus - + Poke Ball Plus - + NES Controller - + Tay cầm NES - + SNES Controller - + Tay cầm SNES - + N64 Controller - + Tay cầm N64 - + Sega Genesis - + Sega Genesis - + Start / Pause - Bắt đầu / Tạm ngưng + Bắt đầu / Tạm dừng - + Z Z - + Control Stick - + Cần điều khiển - + C-Stick C-Stick - + Shake! Lắc! - + [waiting] - [Chờ] + [đang 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 + Tạo hồ sơ đầu vào - + 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 + Thất bại khi tạo hồ sơ đầu vào "%1" - + Delete Input Profile - Xóa Hồ Sơ Phím + Xoá hồ sơ đầu vào - + Failed to delete the input profile "%1" - Quá trình xóa hồ sơ phím "%1" thất bại + Thất bại khi xoá hồ sơ đầu vào "%1" - + Load Input Profile - Nạp Hồ Sơ Phím + Nạp hồ sơ đầu vào - + Failed to load the input profile "%1" - Quá trình nạp hồ sơ phím "%1" thất bại + Thất bại khi nạp hồ sơ đầu vào "%1" - + Save Input Profile - Lưu Hồ Sơ Phím + Lưu hồ sơ đầu vào - + Failed to save the input profile "%1" - Quá trình lưu hồ sơ phím "%1" thất bại + Thất bại khi lưu hồ sơ dầu vào "%1" @@ -2712,12 +2319,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Create Input Profile - Tạo Hồ Sơ Phím + Tạo hồ sơ đầu vào Clear - Bỏ trống + Xóa @@ -2730,49 +2337,49 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Configure Motion / Touch - Tùy chỉnh Chuột / Cảm Ứng + Cấu hình Chuyển động / Cảm ứng Touch - Cảm Ứng + Cảm ứng UDP Calibration: - + Hiệu chỉnh UDP: (100, 50) - (1800, 850) - + (100, 50) - (1800, 850) - + Configure - Thiết lập + Cấu hình Touch from button profile: - + Chạm từ hồ sơ nút: CemuhookUDP Config - + Thiết lập CemuhookUDP You may use any Cemuhook compatible UDP input source to provide motion and touch input. - + Bạn có thể dùng bất cứ bản Cemuhook nào tương thích với đầu vào UDP để cung cấp đầu vào chuyển động và cảm ứng. Server: - Server: + Máy chủ: @@ -2782,23 +2389,23 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Learn More - + Tìm hiểu thêm - + Test Thử nghiệm Add Server - Thêm Server + Thêm máy chủ Remove Server - Xóa Server + Loại bỏ máy chủ @@ -2806,79 +2413,178 @@ 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 + Máy chủ UDP này đã tồn tại - + Unable to add more than 8 servers - Không thể vượt quá 8 server + Không thể thêm quá 8 máy chủ - + Testing Thử nghiệm - + Configuring - Cài đặt + Cấu hình + + + + Test Successful + Thử nghiệm thành công - Test Successful - Thử Nghiệm Thành Công + Successfully received data from the server. + Thành công nhận dữ liệu từ máy chủ. - - Successfully received data from the server. - Nhận được dữ liệu từ server! + + Test Failed + Thử nghiệm thất bại - 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. + Không thể nhận được dữ liệu hợp lệ từ máy chủ.<br>Hãy chắc chắn máy chủ được thiết lập chính xác và địa chỉ lẫn cổng đều đúng. - + UDP Test or calibration configuration is in progress.<br>Please wait for them to finish. - + Cấu hình kiểm tra hoặc hiệu chuẩn UDP đang được tiến hành.<br>Vui lòng chờ cho đến khi nó hoàn thành. + + + + ConfigureMousePanning + + + Configure mouse panning + Cấu hình lia chuột + + + + Enable mouse panning + Bật lia chuột + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Có thể chuyển đổi bằng cách sử dụng phím tắt. Phím tắt mặc định là Ctrl + F9 + + + + Sensitivity + Độ nhạy + + + + Horizontal + Ngang + + + + + + + + % + % + + + + Vertical + Dọc + + + + Deadzone counterweight + Đối trọng vùng chết + + + + Counteracts a game's built-in deadzone + Chống lại vùng chết tích hợp trong game + + + + Deadzone + Vùng chết + + + + Stick decay + Độ suy giảm của cần điều khiển + + + + Strength + Sức mạnh + + + + Minimum + Tối thiểu + + + + Default + Mặc định + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Lia chuột hoạt động tốt hơn với vùng chết là 0% và phạm vi là 100%. +Các giá trị hiện tại lần lượt là %1% và %2%. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Chuột giả lập đã được bật. Điều này không tương thích với chức năng lia chuột. + + + + Emulated mouse is enabled + Chuột giả lập đã được bật + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột. @@ -2901,111 +2607,106 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Network Interface - + Giao diện mạng None - Trống + Không có ConfigurePerGame - + Dialog - + Hộp thoại - + Info - Thông Tin + Thông tin - + Name Tên - + Title ID - ID của game + ID title - + Filename - Tên tệp + Tên tập tin - + Format Định dạng - + Version - Phiên Bản + Phiên bản - + Size - Kích cỡ + Kích thước - + Developer - Nhà Phát Hành + Nhà phát triển - + + Some settings are only available when a game is not running. + Một số cài đặt chỉ khả dụng khi game không chạy. + + + Add-Ons - Bổ Sung + Add-Ons - - General - Chung - - - + System Hệ thống - + CPU CPU - + Graphics Đồ hoạ - + Adv. Graphics - Đồ Họa Nâng Cao + Đồ hoạ nâng cao - + Audio Âm thanh - + Input Profiles - + Hồ sơ đầu vào - + Properties Thuộc tính - - - Use global configuration (%1) - - ConfigurePerGameAddons @@ -3017,7 +2718,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Add-Ons - Bổ Sung + Add-Ons @@ -3027,7 +2728,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Version - Phiên Bản + Phiên bản @@ -3040,27 +2741,27 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Profiles - Hồ Sơ + Hồ sơ Profile Manager - Quản Lý Hồ Sơ + Quản lý hồ sơ Current User - Người Dùng Hiện Tại + Người dùng hiện tại Username - Tên + Tên người dùng Set Image - Đặt Hình Ảnh + Đặt hình ảnh @@ -3070,17 +2771,17 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Rename - Đổi Tên + Đổi tên Remove - Gỡ Bỏ + Loại bỏ Profile management is available only when game is not running. - Chỉ có thể quản lí hồ sơ khi game không chạy. + Quản lí hồ sơ chỉ khả dụng khi game không chạy. @@ -3093,27 +2794,27 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Enter Username - Điền Tên + Nhập tên người dùng Users - Người Dùng + Người dùng Enter a username for the new user: - Chọn tên cho người dùng mới + Chọn tên người dùng cho người dùng mới: Enter a new username: - Chọn một tên mới: + Nhập tên người dùng mới: Select User Image - Chọn Ảnh cho Người Dùng + Chọn ảnh người dùng @@ -3133,12 +2834,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Error deleting file - Lỗi xóa ảnh + Lỗi khi xoá tập tin Unable to delete existing file: %1. - Không thể xóa ảnh hiện tại: %1. + Không thể xóa tập tin hiện tại: %1. @@ -3148,7 +2849,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Unable to create directory %1 for storing user images. - Không thể tạo thư mục %1 để chứa ảnh người dùng + Không thể tạo thư mục %1 để chứa ảnh người dùng. @@ -3176,7 +2877,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Delete this user? All of the user's save data will be deleted. - + Xoá người dùng này? Tất cả dữ liệu save của người dùng này sẽ bị xoá. @@ -3187,7 +2888,8 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Name: %1 UUID: %2 - + Tên: %1 +UUID: %2 @@ -3195,65 +2897,127 @@ UUID: %2 Configure Ring Controller - + Cấu hình vòng điều khiển - 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. + Để sử dụng Ring-Con, hãy cấu hình người chơi 1 như là Joy-Con phải (cả vật lý và giả lập), và người chơi 2 như là Joy-Con trái (vật lý trái và giả lập kép) trước khi bắt đầu game. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Tham số cảm biến vòng ảo Pull - + Kéo Push - + Đẩy Deadzone: 0% - + Vùng chết: 0% - + + Direct Joycon Driver + Driver Joycon trực tiếp + + + + Enable Ring Input + Bật đầu vào từ vòng + + + + + Enable + Bật + + + + Ring Sensor Value + Giá trị cảm biến vòng + + + + + Not connected + Không kết nối + + + Restore Defaults - Khôi phục về mặc định + Khôi phục mặc định - + Clear - Bỏ trống + Xóa - + [not set] - [không đặt] + [chưa đặt] - + Invert axis - + Đảo ngược trục - - + + Deadzone: %1% - + Vùng chết: %1% - + + Error enabling ring input + Lỗi khi bật đầu vào từ vòng + + + + Direct Joycon driver is not enabled + Driver JoyCon trực tiếp chưa được bật + + + + Configuring + Cấu hình + + + + The current mapped device doesn't support the ring controller + Thiết bị được ánh xạ hiện tại không hỗ trợ vòng điều khiển + + + + The current mapped device doesn't have a ring attached + Thiết bị được ánh xạ hiện tại không có vòng được gắn vào + + + + The current mapped device is not connected + Thiết bị được ánh xạ hiện tại không được kết nối + + + + Unexpected driver result %1 + Kết quả driver không như mong đợi %1 + + + [waiting] - [Chờ] + [chờ] @@ -3265,449 +3029,19 @@ UUID: %2 + System Hệ thống - - System Settings - Cài đặt hệ thống + + Core + Lõi - - Region: - Vùng: - - - - Auto - Tự động - - - - Default - Mặc định - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - - - - - EET - - - - - Egypt - - - - - Eire - - - - - EST - - - - - EST5EDT - - - - - GB - - - - - GB-Eire - - - - - GMT - - - - - GMT+0 - - - - - GMT-0 - - - - - GMT0 - - - - - Greenwich - - - - - Hongkong - - - - - HST - - - - - Iceland - - - - - Iran - - - - - Israel - - - - - Jamaica - - - - - - Japan - - - - - Kwajalein - - - - - Libya - - - - - MET - - - - - MST - - - - - MST7MDT - - - - - Navajo - - - - - NZ - - - - - NZ-CHAT - - - - - Poland - - - - - Portugal - - - - - PRC - - - - - PST8PDT - - - - - ROC - - - - - ROK - - - - - Singapore - - - - - Turkey - - - - - UCT - - - - - Universal - - - - - UTC - - - - - W-SU - - - - - WET - - - - - Zulu - - - - - USA - - - - - Europe - - - - - Australia - - - - - China - - - - - Korea - - - - - Taiwan - - - - - Time Zone: - - - - - Note: this can be overridden when region setting is auto-select - Lưu ý: Tuỳ chọn này có thể bị ghi đè nếu cài đặt vùng là chọn tự động. - - - - Japanese (日本語) - Tiếng Nhật (日本語) - - - - English - Tiếng Anh - - - - French (français) - Tiếng Pháp (French) - - - - German (Deutsch) - Tiếng Đức (Deutsch) - - - - Italian (italiano) - Tiếng Ý (Italiano) - - - - Spanish (español) - Tiếng Tây Ban Nha (Spanish) - - - - Chinese - Tiếng Trung - - - - Korean (한국어) - Tiếng Hàn (Korean) - - - - Dutch (Nederlands) - Tiếng Hà Lan (Dutch) - - - - Portuguese (português) - Tiếng Bồ Đào Nha (Portuguese) - - - - Russian (Русский) - Tiếng Nga (Русский) - - - - Taiwanese - Tiếng Đài Loan - - - - British English - Tiếng Anh Anh - - - - Canadian French - Tiếng Pháp Canada - - - - Latin American Spanish - Tiếng Tây Ban Nha kiểu Mỹ La-tinh - - - - Simplified Chinese - Tiếng Trung giản thể - - - - Traditional Chinese (正體中文) - Tiếng Trung phồn thể (正體中文) - - - - Brazilian Portuguese (português do Brasil) - - - - - Custom RTC - - - - - Language - Ngôn ngữ - - - - RNG Seed - Hạt giống RNG - - - - Device Name - - - - - Mono - Mono - - - - 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" + Cảnh báo: "%1" không phải là ngôn ngữ hợp lệ cho khu vực "%2" @@ -3715,47 +3049,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>Đọc đầu vào từ tay cầm bằng các tập lệnh trong cùng định dạng như các tập lệnh TAS-nx.<br/>Để biết thêm chi tiết, vui lòng tham khảo <a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;">trang trợ giúp</span></a> trên website của yuzu.</p></body></html> To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -> General -> Hotkeys). - + Để kiểm tra các phím tắt nào điều khiển phát lại/ghi lại, vui lòng xem cài đặt Phím tắt (Cấu hình -> Chung -> Phím tắt). WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. - + CẢNH BÁO: Đây là tính năng thử nghiệm.<br/>Nó sẽ không phát lại các kịch bản hoàn hảo theo từng khung hình với phương thức đồng bộ hóa hiện tại, không hoàn hảo. Settings - + Cài đặt Enable TAS features - + Bật các tính năng TAS Loop script - + Lặp lại tập lệnh Pause execution during loads - + Tạm dừng thực thi trong quá trình tải Script Directory - + Thư mục tập lệnh @@ -3773,12 +3107,12 @@ UUID: %2 TAS Configuration - + Cấu hình TAS - + Select TAS Load Directory... - + Chọn thư mục nạp TAS... @@ -3786,12 +3120,12 @@ UUID: %2 Configure Touchscreen Mappings - + Cấu hình ánh xạ màn hình cảm ứng Mapping: - + Ánh xạ: @@ -3806,23 +3140,24 @@ UUID: %2 Rename - Đổi Tên + Đổi tên 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. - + Nhấp vào khu vực dưới để thêm điểm, sau đó nhấn một nút để gắn. +Kéo điểm để thay đổi vị trí, hoặc nhấp đúp chuột vào ô trong bảng để chỉnh sửa giá trị. Delete Point - + Xoá điểm Button - + Nút @@ -3844,27 +3179,27 @@ Drag points to change position, or double-click table cells to edit values. Enter the name for the new profile. - + Nhập tên cho hồ sơ mới. Delete Profile - + Xoá hồ sơ Delete profile %1? - + Xoá hồ sơ %1? Rename Profile - + Đổi tên hồ sơ New name: - + Tên mới: @@ -3877,7 +3212,7 @@ Drag points to change position, or double-click table cells to edit values. Configure Touchscreen - Thiết lập màn hình cảm ứng + Cấu hình màn hình cảm ứng @@ -3907,72 +3242,72 @@ Drag points to change position, or double-click table cells to edit values. Restore Defaults - Khôi phục về mặc định + Khôi phục mặc định ConfigureUI - - - + + + None - Trống + Không có - + Small (32x32) - + Nhỏ (32x32) - + Standard (64x64) - - - - - Large (128x128) - - - - - Full Size (256x256) - - - - - Small (24x24) - - - - - Standard (48x48) - - - - - Large (72x72) - + Tiêu chuẩn (64x64) - Filename - Tên tệp + Large (128x128) + Lớn (128x128) + Full Size (256x256) + Kích thước đầy đủ (256x256) + + + + Small (24x24) + Nhỏ (24x24) + + + + Standard (48x48) + Tiêu chuẩn (48x48) + + + + Large (72x72) + Lớn (72x72) + + + + Filename + Tên tập tin + + + Filetype - + Loại tập tin - + Title ID - ID của game + ID title - + Title Name - + Tên title @@ -3985,7 +3320,7 @@ Drag points to change position, or double-click table cells to edit values. UI - UI + Giao diện @@ -3995,7 +3330,7 @@ Drag points to change position, or double-click table cells to edit values. Note: Changing language will apply your configuration. - Lưu ý: Thay đổi ngôn ngữ sẽ áp dụng thiết lập của bạn + Lưu ý: Thay đổi ngôn ngữ sẽ áp dụng cấu hình của bạn. @@ -4005,42 +3340,42 @@ Drag points to change position, or double-click table cells to edit values. Theme: - Giao diện: + Chủ đề: Game List - Danh sách trò chơi + Danh sách game Show Compatibility List - + Hiện danh sách tương thích Show Add-Ons Column - Hiện thị cột Tiện ích ngoài + Hiện cột Add-ons Show Size Column - + Hiện cột Kích thước Show File Types Column - + Hiện cột Loại tập tin Game Icon Size: - + Kích thước biểu tượng game: Folder Icon Size: - + Kích thước biểu tượng thư mục: @@ -4055,17 +3390,17 @@ Drag points to change position, or double-click table cells to edit values. Screenshots - + Ảnh chụp màn hình Ask Where To Save Screenshots (Windows Only) - + Hỏi nơi lưu ảnh chụp màn hình (chỉ cho Windows) Screenshots Path: - + Đường dẫn cho ảnh chụp màn hình: @@ -4073,32 +3408,48 @@ Drag points to change position, or double-click table cells to edit values.... - - Select Screenshots Path... + + TextLabel - + + Resolution: + Độ phân giải: + + + + Select Screenshots Path... + Chọn đường dẫn cho ảnh chụp màn hình... + + + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + Tự động (%1 x %2, %3 x %4) + ConfigureVibration Configure Vibration - + Cấu hình rung Press any controller button to vibrate the controller. - + Nhấn bất kỳ nút nào trên tay cầm để làm rung tay cầm. Vibration - Độ rung + Rung @@ -4155,12 +3506,12 @@ Drag points to change position, or double-click table cells to edit values. Settings - + Cài đặt Enable Accurate Vibration - + Bật rung chính xác @@ -4178,12 +3529,12 @@ Drag points to change position, or double-click table cells to edit values. yuzu Web Service - Dịch vụ Web yuzu + Dịch vụ web yuzu By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information. - Bằng cách cung cấp tên đăng nhập và mã thông báo của bạn, bạn đã chấp thuận sẽ cho phép yuzu thu thập dữ liệu đã sử dụng, trong đó có thể có thông tin nhận dạng người dùng. + Bằng cách cung cấp tên đăng nhập và token của bạn, bạn đã chấp thuận sẽ cho phép yuzu thu thập dữ liệu đã sử dụng, trong đó có thể có thông tin nhận dạng người dùng. @@ -4214,7 +3565,7 @@ Drag points to change position, or double-click table cells to edit values. Web Service configuration can only be changed when a public room isn't being hosted. - + Cấu hình dịch vụ web chỉ có thể thay đổi khi không có phòng công khai đang được tổ chức. @@ -4234,7 +3585,7 @@ Drag points to change position, or double-click table cells to edit values. Telemetry ID: - ID Viễn trắc: + ID viễn trắc: @@ -4249,7 +3600,7 @@ Drag points to change position, or double-click table cells to edit values. Show Current Game in your Discord Status - Hiển thị trò chơi hiện tại lên thông tin Discord của bạn + Hiển thị game hiện tại lên trạng thái Discord của bạn @@ -4264,47 +3615,47 @@ Drag points to change position, or double-click table cells to edit values. <a href='https://yuzu-emu.org/wiki/yuzu-web-service/'><span style="text-decoration: underline; color:#039be5;">What is my token?</span></a> - <a href='https://yuzu-emu.org/wiki/yuzu-web-service/'><span style="text-decoration: underline; color:#039be5;">Mã thông báo của tôi là gì?</span></a> + <a href='https://yuzu-emu.org/wiki/yuzu-web-service/'><span style="text-decoration: underline; color:#039be5;">Token của tôi là gì?</span></a> Telemetry ID: 0x%1 - ID Viễn trắc: 0x%1 + ID viễn trắc: 0x%1 Unspecified - + Không xác định Token not verified - + Token chưa được xác minh Token was not verified. The change to your token has not been saved. - + Token không được xác thực. Thay đổi token của bạn chưa được lưu. Unverified, please click Verify before saving configuration Tooltip - + Chưa xác minh, vui lòng nhấp vào Xác minh trước khi lưu cấu hình Verifying... - + Đang xác minh... Verified Tooltip - + Đã xác minh @@ -4320,7 +3671,7 @@ Drag points to change position, or double-click table cells to edit values. Verification failed. Check that you have entered your token correctly, and that your internet connection is working. - + Xác thực không thành công. Hãy kiểm tra xem bạn đã nhập token đúng chưa và kết nối internet của bạn có hoạt động hay không. @@ -4328,12 +3679,12 @@ Drag points to change position, or double-click table cells to edit values. Controller P1 - + Tay cầm P1 - + &Controller P1 - + &Tay cầm P1 @@ -4341,980 +3692,955 @@ Drag points to change position, or double-click table cells to edit values. Direct Connect - + Kết nối trực tiếp - - IP Address - + + Server Address + Địa chỉ máy chủ - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Địa chỉ máy chủ của chủ phòng</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Cổng - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Số cổng mà máy chủ đang lắng nghe</p></body></html> - + Nickname - + Biệt danh - + Password - + Mật khẩu - + Connect - + Kết nối DirectConnectWindow - + Connecting - + Đang kết nối - + Connect - + Kết nối 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? + <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 với chúng tôi? - + Telemetry Viễn trắc - + Broken Vulkan Installation Detected - + Phát hiện cài đặt Vulkan bị hỏng - + 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>. - + Khởi tạo Vulkan thất bại trong quá trình khởi động.<br>Nhấp <br><a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>vào đây để xem hướng dẫn khắc phục vấn đề</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + Đang chạy một game + + + Loading Web Applet... - + Đang tải applet web... - - + + Disable Web Applet - + Tắt 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.) - + Tắt applet web có thể dẫn đến hành vi không xác định và chỉ nên được sử dụng với Super Mario 3D All-Stars. Bạn có chắc chắn muốn tắt applet web không? +(Có thể được bật lại trong cài đặt Gỡ lỗi.) - + The amount of shaders currently being built - + Số lượng shader đang được dựng - + The current selected resolution scaling multiplier. - + Bội số tỷ lệ độ phân giải được chọn hiện tại. - + 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 + 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. + Có bao nhiêu khung hình trên mỗi giây mà game đang hiển thị. Điều này sẽ thay đổi giữa các game và các 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 + Bật tiếng + + + + Mute + Tắt tiếng + + + + Reset Volume + Đặt lại âm lượng + + + &Clear Recent Files - + &Xoá tập tin gần đây - + + Emulated mouse is enabled + Chuột giả lập đã được bật + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột. + + + &Continue - + &Tiếp tục - + &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 + Cảnh báo định dạng game đã 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. + Bạn đang sử dụng định dạng thư mục ROM đã giải nén cho game này, 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. Thư mục ROM đã giải nén có thể thiếu các biểu tượng, 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 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! + Lỗi khi nạp ROM! - + The ROM format is not supported. - Định dạng ROM này không hỗ trợ. + Định dạng ROM này không được hỗ trợ. - + An error occurred initializing the video core. - Đã xảy ra lỗi khi khởi tạo lõi đồ hoạ. + Đã 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>. - + yuzu đã gặp lỗi khi chạy lõi video. Điều này thường xảy ra do phiên bản driver GPU đã cũ, bao gồm cả driver tích hợp. Vui lòng xem nhật ký để biết thêm chi tiết. Để biết thêm thông tin về cách truy cập nhật ký, vui lòng xem trang sau: <a href='https://yuzu-emu.org/help/reference/log-files/'>Cách tải lên tập tin nhật ký</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + Lỗi khi nạp 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>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a> để trích xuất lại các tập tin của bạn.<br>Bạn có thể tham khảo yuzu wiki</a> hoặc yuzu Discord</a>để được hỗ trợ. - + 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. + Đã xảy ra lỗi không xác định. Hãy xem nhật ký để biết thêm chi tiết. - + (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... - + Đang đóng phần mềm... - + Save Data - + Dữ liệu save - + Mod Data - + Dữ liệu mod - + Error Opening %1 Folder - Xảy ra lỗi khi mở %1 thư mục + Lỗi khi mở thư mục %1 - - + + 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 File - - - - Error Removing Transferable Shader Cache - + Error Opening Transferable Shader Cache + Lỗi khi mở bộ nhớ đệm shader chuyển được - + Failed to create the shader cache directory for this title. + Thất bại khi tạo thư mục bộ nhớ đệm shader cho title này. + + + + Error Removing Contents + Lỗi khi loại bỏ nội dung + + + + Error Removing Update + Lỗi khi loại bỏ bản cập nhật + + + + Error Removing DLC + Lỗi khi loại bỏ DLC + + + + Remove Installed Game Contents? + Loại bỏ nội dung game đã cài đặt? + + + + Remove Installed Game Update? + Loại bỏ bản cập nhật game đã cài đặt? + + + + Remove Installed Game DLC? + Loại bỏ DLC game đã cài đặt? + + + + Remove Entry + Xoá mục + + + + + + + + + Successfully Removed + Loại bỏ thành công + + + + Successfully removed the installed base game. + Loại bỏ thành công base game đã cài đặt. + + + + The base game is not installed in the NAND and cannot be removed. + Base game không được cài đặt trong NAND và không thể loại bỏ. + + + + Successfully removed the installed update. + Loại bỏ thành công bản cập nhật đã cài đặt. + + + + There is no update installed for this title. + Không có bản cập nhật nào được cài đặt cho title này. + + + + There are no DLC installed for this title. + Không có DLC nào được cài đặt cho title này. + + + + Successfully removed %1 installed DLC. + Loại bỏ thành công %1 DLC đã cài đặt. + + + + Delete OpenGL Transferable Shader Cache? + Xoá bộ nhớ đệm shader OpenGL chuyển được? + + + + Delete Vulkan Transferable Shader Cache? + Xoá bộ nhớ đệm shader Vulkan chuyển được? + + + + Delete All Transferable Shader Caches? + Xoá tất cả bộ nhớ đệm shader chuyển được? + + + + Remove Custom Game Configuration? + Loại bỏ cấu hình game tuỳ chỉnh? + + + + Remove Cache Storage? + Loại bỏ bộ nhớ đệm? + + + + Remove File + Loại bỏ tập tin + + + + + Error Removing Transferable Shader Cache + Lỗi khi loại bỏ bộ nhớ đệm shader chuyển được + + + + A shader cache for this title does not exist. - + Bộ nhớ đệm shader cho title này không tồn tại. - + Successfully removed the transferable shader cache. - + Thành công loại bỏ bộ nhớ đệm shader chuyển được. - + Failed to remove the transferable shader cache. - + Thất bại khi xoá bộ nhớ đệm shader chuyển được. - - + + Error Removing Vulkan Driver Pipeline Cache + Lỗi khi xoá bộ nhớ đệm pipeline Vulkan + + + + Failed to remove the driver pipeline cache. + Thất bại khi xoá bộ nhớ đệm pipeline của driver. + + + + Error Removing Transferable Shader Caches - + Lỗi khi loại bỏ bộ nhớ đệm shader chuyển được - + Successfully removed the transferable shader caches. - + Thành công loại bỏ tất cả bộ nhớ đệm shader chuyển được. - + Failed to remove the transferable shader cache directory. - + Thất bại khi loại bỏ thư mục bộ nhớ đệm shader. - - + + Error Removing Custom Configuration - + Lỗi khi loại bỏ cấu hình tuỳ chỉnh - + A custom configuration for this title does not exist. - + Cấu hình tuỳ chỉnh cho title này không tồn tại. - + Successfully removed the custom game configuration. - + Loại bỏ thành công cấu hình game tuỳ chỉnh. - + Failed to remove the custom game configuration. - + Thất bại khi xoá cấu hình game tuỳ chỉnh. - - + + RomFS Extraction Failed! - Khai thác RomFS không thành công! + Giải nén 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. + Đã xảy ra lỗi khi sao chép các tập tin RomFS hoặc người dùng đã hủy bỏ hoạt động này. - + Full - + Đầy đủ - + Skeleton - Sườn + Khung - + Select RomFS Dump Mode - Chọn chế độ kết xuất RomFS + Chọn chế độ trích 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. + Vui lòng chọn cách mà bạn muốn RomFS được trích xuất.<br>Chế độ Đầy đủ sẽ sao chép toàn bộ tập tin vào một thư mục mới trong khi <br>chế độ Khung chỉ tạo cấu trúc thư 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 - + Không đủ bộ nhớ trống tại %1 để trích xuất RomFS. Hãy giải phóng bộ nhớ hoặc chọn một thư mục trích xuất khác tại Giả lập > Cấu hình > Hệ thống > Hệ thống tập tin > Thư mục trích xuất gốc - + Extracting RomFS... - Khai thác RomFS... + Giải nén RomFS... - - + + Cancel Hủy bỏ - + RomFS Extraction Succeeded! - Khai thác RomFS thành công! + Giải nén RomFS thành công! - + The operation completed successfully. Các hoạt động đã hoàn tất thành công. - - - - - + + + + + Create Shortcut - + Tạo lối tắt - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Việc này sẽ tạo một lối tắt tới AppImage hiện tại. Điều này có thể không hoạt động tốt nếu bạn cập nhật. Tiếp tục? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Không thể tạo lối tắt trên desktop. Đường dẫn "%1" không tồn tại. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Không thể tạo lối tắt trong menu ứng dụng. Đường dẫn "%1" không tồn tại và không thể tạo. - + Create Icon - + Tạo biểu tượng - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Không thể tạo tập tin biểu tượng. Đường dẫn "%1" không tồn tại và không thể tạo. - + Start %1 with the yuzu Emulator - + Bắt đầu %1 với giả lập yuzu - + Failed to create a shortcut at %1 - + Thất bại khi tạo lối tắt tại %1 - + Successfully created a shortcut to %1 - + Thành công tạo lối tắt tại %1 - + Error Opening %1 - + Lỗi khi mở %1 - + Select Directory - Chọn danh mục + Chọn thư 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. + Không thể tải thuộc tính của game. - + 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 (*.*) + Thực thi Switch (%1);;Tất cả tập tin (*.*) - + Load File - Nạp tệp tin + Nạp tập tin - + Open Extracted ROM Directory - Mở danh mục ROM đã trích xuất + Mở thư mục ROM đã giải nén - + 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'. + Thư mục mà bạn đã chọn không 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) + 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 - + Cài đặt tập tin - + %n file(s) remaining - + %n tập tin còn lại - + Installing file "%1"... - Đang cài đặt tệp tin "%1"... + Đang cài đặt tập tin "%1"... - - + + Install Results - + Kết quả cài đặt - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + Để tránh xung đột có thể xảy ra, chúng tôi không khuyến khích người dùng cài đặt base game vào NAND. +Vui lòng, chỉ sử dụng tính năng này để cài đặt các bản cập nhật và DLC. - + %n file(s) were newly installed - + %n tập tin đã được cài đặt mới + - + %n file(s) were overwritten - + %n tập tin đã được ghi đè + - + %n file(s) failed to install - + %n tập tin thất bại khi cài đặt + - + System Application Ứng dụng hệ thống - + System Archive - Hệ thống lưu trữ + Bản lưu trữ của hệ thống - + System Application Update - Cập nhật hệ thống ứng dụng + Cập nhật ứng dụng hệ thống - + Firmware Package (Type A) - Gói phần mềm hệ thống (Loại A) + Gói firmware (Loại A) - + Firmware Package (Type B) - Gói phần mềm (Loại B) + Gói firmware (Loại B) - + Game - Trò chơi + Game - + Game Update - Cập nhật trò chơi + Cập nhật game - + Game DLC - Nội dung trò chơi có thể tải xuống + DLC game - + Delta Title - Tiêu đề Delta + Title 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: + Vui lòng chọn loại title 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 + Cài đặt thất bại - + 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ệ. + Loại title mà bạn đã chọn cho NCA không hợp lệ. - + File not found - Không tìm thấy tệp tin + Không tìm thấy tập tin - + File "%1" not found - Không tìm thấy tệp tin "%1" + Không tìm thấy tập tin "%1" - + OK OK - - + + Hardware requirements not met - + Yêu cầu phần cứng không được đáp ứng - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Hệ thống của bạn không đáp ứng yêu cầu phần cứng được đề xuất. Báo cáo độ tương thích đã bị vô hiệu hoá. - + 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. + Để gửi trường hợp thử nghiệm game 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; Cấu hình &gt; Web. - + Error opening URL - + Lỗi khi mở URL - + Unable to open the URL "%1". - + Không thể mở URL "%1". - + TAS Recording - + Ghi lại TAS - + Overwrite file of player 1? - + Ghi đè tập tin của người chơi 1? - + Invalid config detected - + Đã phát hiện cấu hình không hợp lệ - + Handheld controller can't be used on docked mode. Pro controller will be selected. - + Tay cầm handheld không thể được sử dụng trong chế độ docked. Pro Controller sẽ được chọn. - - + + Amiibo - + Amiibo - - + + The current amiibo has been removed - + Amiibo hiện tại đã được loại bỏ - + Error - + Lỗi - - + + The current game is not looking for amiibos - + Game hiện tại không tìm kiếm amiibos - + Amiibo File (%1);; All Files (*.*) - Tệp tin Amiibo (%1);; Tất cả tệp tin (*.*) + Tập tin Amiibo (%1);; Tất cả tập tin (*.*) - + Load Amiibo - Nạp dữ liệu Amiibo + Nạp Amiibo - + Error loading Amiibo data - Xảy ra lỗi khi nạp dữ liệu Amiibo + Lỗi khi nạp dữ liệu Amiibo - + The selected file is not a valid amiibo - + Tập tin đã chọn không phải là amiibo hợp lệ - + The selected file is already on use - + Tập tin đã chọn đã được sử dụng - + An unknown error occurred - + Đã xảy ra lỗi không xác định - + Capture Screenshot Chụp ảnh màn hình - + PNG Image (*.png) Hình ảnh PNG (*.png) - + TAS state: Running %1/%2 - + Trạng thái TAS: Đang chạy %1/%2 - + TAS state: Recording %1 - + Trạng thái TAS: Đang ghi %1 - + TAS state: Idle %1/%2 - + Trạng thái TAS: Đang chờ %1/%2 - + TAS State: Invalid - + Trạng thái TAS: Không hợp lệ - + &Stop Running - + &Dừng chạy - + &Start &Bắt đầu - + Stop R&ecording - + Dừng G&hi - + R&ecord - + G&hi - + Building: %n shader(s) - + Đang dựng: %n shader - + Scale: %1x %1 is the resolution scaling factor - + Tỉ lệ thu phóng: %1x - + Speed: %1% / %2% Tốc độ: %1% / %2% - + Speed: %1% Tốc độ: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS (Đã mở khoá) - + Game: %1 FPS - Trò chơi: %1 FPS + Game: %1 FPS - + Frame: %1 ms Khung hình: %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 - + NO AA - - FXAA - + + VOLUME: MUTE + ÂM LƯỢNG: TẮT TIẾNG - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + ÂM LƯỢNG: %1% - + Confirm Key Rederivation - Xác nhận mã khóa Rederivation + Xác nhận chuyển hoá lại key - + 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. @@ -5322,87 +4648,97 @@ 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. - Bạn đang muốn bắt buộc trích dẫn lại toàn bộ mã khóa của bạn. -Nếu bạn không biết cái này là gì hay bạn đang làm gì, -đây là hành động có khả năng phá hoại. -Hãy chắc rằng đây là điều bạn muốn -và phải tạo ra một bản sao lưu lại. + Bạn đang chuẩn bị buộc chuyển hoá lại toàn bộ keys của bạn. +Nếu bạn không biết ý nghĩa của điều này hoặc bạn không hiểu đang làm gì, +thì đây có thể là một hành động phá hoại. +Xin hãy đảm bảo rằng đây là điều bạn muốn +và tạo một bản sao lưu. -Đ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á. +Việc này sẽ xóa các tập tin key tự động sinh ra của bạn và chạy lại mô-đun chuyển hoá key. - + Missing fuses - + Thiếu fuses - + - Missing BOOT0 - + - Thiếu BOOT0 - + - Missing BCPKG2-1-Normal-Main - + - Thiếu BCPKG2-1-Normal-Main - + - Missing PRODINFO - + - Thiếu PRODINFO - + Derivation Components Missing - + Thiếu các thành phần chuyển hoá - + 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> - + Keys mã hoá bị thiếu. <br>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a> để lấy tất cả key, firmware và game của bạn.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. - Đang lấy mã khoá... + Đang chuyển hoá keys... Điều này sẽ mất tới một phút tuỳ vào hệ thống của bạn. - + Deriving Keys - Mã khóa xuất phát + Đang chuyển hoá key - + + System Archive Decryption Failed + Giải mã bản lưu trữ của hệ thống thất bại + + + + 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. + Keys mã hoá thất bại khi giải mã firmware. <br>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a>để lấy tất cả key, firmware và game của bạn. + + + Select RomFS Dump Target - Chọn thư mục để sao chép RomFS + Chọn thư mục để trích xuất 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. + Vui lòng chọn RomFS mà bạn muốn trích 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,219 +4746,319 @@ 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 + Không có + + + + FXAA + FXAA + + + + SMAA + SMAA + + + + Nearest + Nearest + + + + Bilinear + Bilinear + + + + Bicubic + Bicubic + + + + Gaussian + Gaussian + + + + ScaleForce + ScaleForce + + + + Docked + Docked + + + + Handheld + Handheld + + + + Normal + Bình thường + + + + High + Cao + + + + Extreme + Cực đại + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! - Không có sẵn OpenGL! + OpenGL không khả dụng! - + OpenGL shared contexts are not supported. - + Các ngữ cảnh OpenGL chung không được hỗ trợ. - + yuzu has not been compiled with OpenGL support. - + yuzu không được biên dịch với hỗ trợ OpenGL. - - + + Error while initializing OpenGL! - Đã xảy ra lỗi khi khởi tạo OpenGL! + Lỗi khi khởi tạo OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + GPU của bạn có thể không hỗ trợ OpenGL, hoặc bạn không có driver đồ hoạ mới nhất. - + Error while initializing OpenGL 4.6! - + Lỗi khi khởi tạo 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 - + GPU của bạn có thể không hỗ trợ OpenGL 4.6, hoặc bạn không có driver đồ hoạ mới nhất.<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 - + GPU của bạn có thể không hỗ trợ một hoặc nhiều tiện ích OpenGL cần thiết. Vui lòng đảm bảo bạn có driver đồ hoạ mới nhất.<br><br>GL Renderer:<br>%1<br><br>Tiện ích không hỗ trợ:<br>%2 GameList - - - Favorite - - - - - Start Game - - - Start Game without Custom Configuration - + Favorite + Ưa thích + Start Game + Bắt đầu game + + + + Start Game without Custom Configuration + Bắt đầu game mà không có cấu hình tuỳ chỉnh + + + Open Save Data Location - Mở vị trí dữ liệu lưu - - - - Open Mod Data Location - Mở vị trí chỉnh sửa dữ liệu - - - - Open Transferable Pipeline Cache - + Mở vị trí dữ liệu save - Remove - Gỡ Bỏ - - - - Remove Installed Update - + Open Mod Data Location + Mở vị trí chứa dữ liệu mod - Remove All Installed DLC - - - - - Remove Custom Configuration - + Open Transferable Pipeline Cache + Mở thư mục chứa bộ nhớ đệm pipeline - Remove OpenGL Pipeline Cache - + Remove + Loại bỏ - Remove Vulkan Pipeline Cache - + Remove Installed Update + Loại bỏ bản cập nhật đã cài + + + + Remove All Installed DLC + Loại bỏ tất cả DLC đã cài đặt - Remove All Pipeline Caches - + Remove Custom Configuration + Loại bỏ cấu hình tuỳ chỉnh - Remove All Installed Contents - + Remove Cache Storage + Loại bỏ bộ nhớ đệm - - Dump RomFS - Kết xuất RomFS + Remove OpenGL Pipeline Cache + Loại bỏ bộ nhớ đệm pipeline OpenGL - - Dump RomFS to SDMC - + + Remove Vulkan Pipeline Cache + Loại bỏ bộ nhớ đệm pipeline Vulkan - Copy Title ID to Clipboard - Sao chép ID tiêu đề vào bộ nhớ tạm + Remove All Pipeline Caches + Loại bỏ tất cả bộ nhớ đệm shader - Navigate to GameDB entry - Điều hướng đến mục cơ sở dữ liệu trò chơi + Remove All Installed Contents + Loại bỏ tất cả nội dung đã cài đặt + - Create Shortcut - + Dump RomFS + Trích xuất RomFS - Add to Desktop - + Dump RomFS to SDMC + Trích xuất RomFS tới SDMC + + + + Copy Title ID to Clipboard + Sao chép ID title vào bộ nhớ tạm - Add to Applications Menu - + Navigate to GameDB entry + Điều hướng đến mục GameDB + + + + Create Shortcut + Tạo lối tắt + Add to Desktop + Thêm vào desktop + + + + Add to Applications Menu + Thêm vào menu ứng dụng + + + Properties Thuộc tính - + Scan Subfolders - + Quét các thư mục con - + Remove Game Directory - + Loại bỏ thư mục game - + ▲ Move Up - + ▲ Di chuyển lên - + ▼ Move Down - + ▼ Di chuyển xuống - + Open Directory Location - + Mở vị trí thư mục - + Clear - Bỏ trống + Xóa - + Name Tên - + Compatibility Độ tương thích - + Add-ons - Tiện ích ngoài + Add-ons - + File type - Loại tệp tin + Loại tập tin - + Size - Kích cỡ + Kích thước @@ -5630,32 +5066,32 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Ingame - + Trong game Game starts, but crashes or major glitches prevent it from being completed. - + Game khởi động, nhưng bị crash hoặc lỗi nghiêm trọng dẫn đến việc không thể hoàn thành nó. Perfect - Tốt nhất + Hoàn hảo Game can be played without issues. - + Game có thể chơi mà không gặp vấn đề. Playable - + Có thể chơi Game functions with minor graphical or audio glitches and is playable from start to finish. - + Game hoạt động với lỗi hình ảnh hoặc âm thanh nhẹ và có thể chơi từ đầu tới cuối. @@ -5665,7 +5101,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Game loads, but is unable to progress past the Start Screen. - + Game đã tải, nhưng không thể qua được màn hình bắt đầu. @@ -5675,7 +5111,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? The game crashes when attempting to startup. - Trò chơi sẽ thoát đột ngột khi khởi động. + Game crash khi đang khởi động. @@ -5685,15 +5121,15 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? The game has not yet been tested. - Trò chơi này chưa có ai thử cả. + Game này chưa được thử nghiệm. GameListPlaceholder - + Double-click to add a new folder to the game list - + Nhấp đúp chuột để thêm một thư mục mới vào danh sách game @@ -5701,17 +5137,17 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? %1 of %n result(s) - + %1 trong %n kết quả - + Filter: - Bộ lọc: + Lọc: - + Enter pattern to filter - Nhập khuôn để lọc + Nhập mẫu để lọc @@ -5719,220 +5155,221 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Create Room - + Tạo phòng Room Name - + Tên phòng Preferred Game - + Game ưa thích Max Players - + Số người chơi tối đa Username - Tên + Tên người dùng (Leave blank for open game) - + (Để trống cho game mở) Password - + Mật khẩu Port - + Cổng Room Description - + Nội dung phòng chơi Load Previous Ban List - + Tải danh sách ban trước đó Public - + Công khai Unlisted - + Không công khai Host Room - + Tạo phòng HostRoomWindow - + Error - + Lỗi - + 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: - + Công bố phòng công khai trong sảnh thất bại. Để tổ chức phòng công khai, bạn cần phải có một tài khoản yuzu hợp lệ tại Giả lập -> Cấu hình -> Web. Nếu không muốn công khai phòng trong sảnh, hãy chọn mục Không công khai. +Tin nhắn gỡ lỗi: Hotkeys - + Audio Mute/Unmute - + Tắt/Bật tiếng - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Cửa sổ chính - + Audio Volume Down - + Giảm âm lượng - + Audio Volume Up - + Tăng âm lượng - + Capture Screenshot Chụp ảnh màn hình - + Change Adapting Filter - + Thay đổi bộ lọc điều chỉnh - + Change Docked Mode - + Thay đổi chế độ docked - + Change GPU Accuracy - + Thay đổi độ chính xác GPU - + Continue/Pause Emulation - + Tiếp tục/Tạm dừng giả lập - + Exit Fullscreen - + Thoát chế độ toàn màn hình - + Exit yuzu - + Thoát yuzu - + Fullscreen Toàn màn hình - + Load File - Nạp tệp tin + Nạp tập tin - + Load/Remove Amiibo - + Nạp/Loại bỏ Amiibo - + Restart Emulation - + Khởi động lại giả lập - + Stop Emulation - + Dừng giả lập - + TAS Record - + Ghi lại TAS - + TAS Reset - + Đặt lại TAS - + TAS Start/Stop - + Bắt đầu/Dừng TAS - + Toggle Filter Bar - + Hiện/Ẩn thanh lọc - + Toggle Framerate Limit - + Bật/Tắt giới hạn tốc độ khung hình - + Toggle Mouse Panning - + Bật/Tắt lia chuột - + Toggle Status Bar - + Hiện/Ẩn thanh trạng thái @@ -5940,12 +5377,12 @@ Debug Message: Please confirm these are the files you wish to install. - Xin hãy xác nhận đây là những tệp tin bạn muốn cài. + Vui lòng xác nhận đây là những tập tin bạn muốn cài. Installing an Update or DLC will overwrite the previously installed one. - Cài đặt một tệp tin cập nhật hoặc DLC mới sẽ thay thế những tệp cũ đã cài trước đó. + Cài đặt một bản cập nhật hoặc DLC mới sẽ thay thế những bản cũ đã cài trước đó. @@ -5953,18 +5390,19 @@ Debug Message: Cài đặt - + Install Files to NAND - + Cài đặt tập tin vào NAND LimitableInputDialog - + The text can't contain any of the following characters: %1 - + Văn bản không được chứa bất kỳ ký tự sau đây: +%1 @@ -5972,17 +5410,17 @@ Debug Message: Loading Shaders 387 / 1628 - + Đang tải shader 387 / 1628 Loading Shaders %v out of %m - + Đang tải shader %v trong số %m Estimated Time 5m 4s - + Thời gian ước tính 5m 4s @@ -5992,17 +5430,17 @@ Debug Message: Loading Shaders %1 / %2 - Đang nạp shader %1 / %2 + Đang tải shader %1 / %2 Launching... - Đang mở... + Đang khởi động... Estimated Time %1 - Ước tính thời gian %1 + Thời gian ước tính %1 @@ -6010,78 +5448,83 @@ Debug Message: Public Room Browser - + Duyệt phòng công khai Nickname - + Biệt danh Filters - + Lọc Search - + Tìm kiếm Games I Own - + Game tôi sở hữu + Hide Empty Rooms + Ẩn phòng trống + + + Hide Full Rooms - + Ẩn phòng đầy - + Refresh Lobby - + Làm mới sảnh - + Password Required to Join - + Yêu cầu mật khẩu để tham gia - + Password: - + Mật khẩu: - + Players Người chơi - - - Room Name - - - - - Preferred Game - - + Room Name + Tên phòng + + + + Preferred Game + Game ưa thích + + + Host - + Chủ phòng - + Refreshing - + Đang làm mới - + Refresh List - + Làm mới danh sách @@ -6094,12 +5537,12 @@ Debug Message: &File - &Tệp + &Tập tin &Recent Files - + &Tập tin gần đây @@ -6114,57 +5557,57 @@ Debug Message: &Reset Window Size - + &Đặt lại kích thước cửa sổ &Debugging - + &Gỡ lỗi Reset Window Size to &720p - + Đặt lại kích thước cửa sổ về &720p Reset Window Size to 720p - + Đặt lại kích thước cửa sổ về 720p Reset Window Size to &900p - + Đặt lại kích thước cửa sổ về &900p Reset Window Size to 900p - + Đặt lại kích thước cửa sổ về 900p Reset Window Size to &1080p - + Đặt lại kích thước cửa sổ về &1080p Reset Window Size to 1080p - + Đặt lại kích thước cửa sổ về 1080p &Multiplayer - + &Nhiều người chơi &Tools - + &Công cụ &TAS - + &TAS @@ -6174,22 +5617,22 @@ Debug Message: &Install Files to NAND... - + &Cài đặt tập tin vào NAND... L&oad File... - + N&ạp tập tin... Load &Folder... - + Nạp &thư mục... E&xit - Th&oát + T&hoát @@ -6204,122 +5647,122 @@ Debug Message: &Reinitialize keys... - + &Khởi tạo lại keys... &About yuzu - + &Thông tin về yuzu Single &Window Mode - + Chế độ &cửa sổ đơn Con&figure... - + Cấu &hình... Display D&ock Widget Headers - + Hiển thị tiêu đề công cụ D&ock Show &Filter Bar - + Hiện thanh &lọc Show &Status Bar - + Hiện thanh &trạng thái Show Status Bar - Hiển thị thanh trạng thái + Hiện thanh trạng thái &Browse Public Game Lobby - + &Duyệt phòng game công khai &Create Room - + &Tạo phòng &Leave Room - + &Rời phòng &Direct Connect to Room - + &Kết nối trực tiếp tới phòng &Show Current Room - + &Hiện phòng hiện tại F&ullscreen - + T&oàn màn hình &Restart - + &Khởi động lại Load/Remove &Amiibo... - + Nạp/Loại bỏ &Amiibo... &Report Compatibility - + &Báo cáo độ tương thích Open &Mods Page - + Mở trang &mods Open &Quickstart Guide - + Mở &Hướng dẫn nhanh &FAQ - + &FAQ Open &yuzu Folder - + Mở thư mục &yuzu &Capture Screenshot - + &Chụp ảnh màn hình &Configure TAS... - + &Cấu hình TAS... Configure C&urrent Game... - + Cấu hình game h&iện tại... @@ -6329,12 +5772,12 @@ Debug Message: &Reset - + &Đặt lại R&ecord - + G&hi lại @@ -6342,7 +5785,7 @@ Debug Message: &MicroProfile - + &MicroProfile @@ -6350,48 +5793,48 @@ Debug Message: Moderation - + Quản lý Ban List - + Danh sác ban Refreshing - + Đang làm mới Unban - + Unban Subject - + Đối tượng Type - + Loại Forum Username - + Tên người dùng trên diễn đàn IP Address - + Địa chỉ IP Refresh - + Làm mới @@ -6399,17 +5842,17 @@ Debug Message: Current connection status - + Tình trạng kết nối hiện tại Not Connected. Click here to find a room! - + Không kết nối. Nhấp vào đây để tìm một phòng! Not Connected - + Không kết nối @@ -6419,18 +5862,19 @@ Debug Message: New Messages Received - + Đã nhận được tin nhắn mới Error - + Lỗi Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Không thể cập nhật thông tin phòng. Vui lòng kiểm tra kết nối Internet của bạn và thử tạo phòng lại. +Tin nhắn gỡ lỗi: @@ -6438,135 +5882,138 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Tên người dùng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Tên phòng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái. Username is already in use or not valid. Please choose another. - + Tên người dùng đã được sử dụng hoặc không hợp lệ. Vui lòng chọn tên khác. IP is not a valid IPv4 address. - + Địa chỉ IP không phải là địa chỉ IPv4 hợp lệ. Port must be a number between 0 to 65535. - + Cổng phải là một số từ 0 đến 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. - + Bạn phải chọn một Game ưu thích để tạo một phòng. Nếu bạn chưa có bất kỳ game nào trong danh sách game của bạn, hãy thêm một thư mục game bằng cách nhấp vào biểu tượng dấu cộng trong danh sách game. Unable to find an internet connection. Check your internet settings. - + Không thể tìm thấy kết nối internet. Kiểm tra cài đặt internet của bạn. 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. - + Không thể kết nối tới máy chủ. Hãy kiểm tra xem các thiết lập kết nối có đúng không. Nếu vẫn không thể kết nối, hãy liên hệ với người chủ phòng và xác minh rằng máy chủ đã được cấu hình đúng cách với cổng ngoài được chuyển tiếp. Unable to connect to the room because it is already full. - + Không thể kết nối tới phòng vì nó đã đầy. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Tạo phòng thất bại. Vui lòng thử lại. Có thể cần khởi động lại yuzu. The host of the room has banned you. Speak with the host to unban you or try a different room. - + Chủ phòng đã ban bạn. Hãy nói chuyện với người chủ phòng để được unban, hoặc thử vào một phòng khác. 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. - + Phiên bản không khớp! Vui lòng cập nhật lên phiên bản mới nhất của yuzu. Nếu vấn đề vẫn tiếp tục, hãy liên hệ với người quản lý phòng và yêu cầu họ cập nhật máy chủ. Incorrect password. - + Mật khẩu sai. An unknown error occurred. If this error continues to occur, please open an issue - + Đã xảy ra lỗi không xác định. Nếu lỗi này tiếp tục xảy ra, vui lòng mở một issue Connection to room lost. Try to reconnect. - + Mất kết nối với phòng. Hãy thử kết nối lại. You have been kicked by the room host. - + Bạn đã bị kick bởi chủ phòng. IP address is already in use. Please choose another. - + Địa chỉ IP đã được sử dụng. Vui lòng chọn một địa chỉ khác. You do not have enough permission to perform this action. - + Bạn không có đủ quyền để thực hiên hành động này. The user you are trying to kick/ban could not be found. They may have left the room. - + Không thể tìm thấy người dùng bạn đang cố gắng kick/ban. +Họ có thể đã rời phòng. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Không có giao diện mạng hợp lệ được chọn. +Vui lòng vào Cấu hình -> Hệ thống -> Mạng và thực hiện lựa chọn. Game already running - + Game đang chạy Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Khuyến khích không tham gia phòng khi game đang chạy, điều này có thể làm cho tính năng phòng không hoạt động đúng cách. +Tiếp tục? Leave Room - + Rời phòng You are about to close the room. Any network connections will be closed. - + Bạn sắp đóng phòng. Mọi kết nối mạng sẽ bị đóng. Disconnect - + Ngắt kết nối You are about to leave the room. Any network connections will be closed. - + Bạn sắp rời khỏi phòng. Mọi kết nối mạng sẽ bị đóng. @@ -6574,7 +6021,7 @@ Proceed anyway? Error - + Lỗi @@ -6582,7 +6029,7 @@ Proceed anyway? Dialog - + Hộp thoại @@ -6603,15 +6050,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 - + BẮT ĐẦU/TẠM DỪNG @@ -6619,72 +6070,72 @@ p, li { white-space: pre-wrap; } %1 is not playing a game - + %1 hiện không chơi game %1 is playing %2 - + %1 đang chơi %2 Not playing a game - + Hiện không chơi game Installed SD Titles - + Các title đã cài đặt trên thẻ SD Installed NAND Titles - + Các title đã cài đặt trên NAND System Titles - + Titles hệ thống Add New Game Directory - + Thêm thư mục game Favorites - + Ưa thích - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] - [chưa đặt nút] + [chưa đặt] @@ -6693,14 +6144,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Trục %1%2 @@ -6711,264 +6162,322 @@ 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 - + + L1 + L1 - - L3 - + + L2 + L2 - - R1 - + + L3 + L3 - - R2 - + + R1 + R1 - - R3 - + + R2 + R2 - - Circle - + + R3 + R3 - - Cross - + + Circle + Tròn - - Square - + + Cross + X - - Triangle - + + Square + Vuông - - Share - + + Triangle + Tam giác - - Options - + + Share + Chia sẻ - + + Options + Tuỳ chọn + + + + [undefined] - - - - - %1%2 - - - - - - [invalid] - - - - - - - - %1%2Hat %3 - - - - - - - - - - %1%2Axis %3 - - - - - - %1%2Axis %3,%4,%5 - - - - - - %1%2Motion %3 - - - - - - - - %1%2Button %3 - + [không xác định] - + %1%2 + %1%2 + + + + + [invalid] + [không hợp lệ] + + + + + %1%2Hat %3 + %1%2Mũ %3 + + + + + + + %1%2Axis %3 + %1%2Trục %3 + + + + + %1%2Axis %3,%4,%5 + %1%2Trục %3,%4,%5 + + + + + %1%2Motion %3 + %1%2Chuyển động %3 + + + + + %1%2Button %3 + %1%2Nút %3 + + + + [unused] [không sử dụng] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Cần L + + + + Stick R + Cần R + + + + Plus + Cộng + + + + Minus + Trừ + + + + Home Home - - Touch - Cảm Ứng + + Capture + Chụp - + + Touch + Cảm ứng + + + Wheel Indicates the mouse wheel - + Con lăn - + Backward - + Lùi - + Forward - + Tiến - + Task - + Nhiệm vụ - + Extra - + Thêm - - %1%2%3 - + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Mũ %4 + + + + + %1%2%3Axis %4 + %1%2%3Trục %4 + + + + + %1%2%3Button %4 + %1%2%3Nút %4 @@ -6976,22 +6485,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Cài đặt Amiibo Amiibo Info - + Thông tin Amiibo Series - + Loạt Type - + Loại @@ -7001,52 +6510,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Dữ liệu Amiibo Custom Name - + Tên tuỳ chỉnh Owner - + Chủ sở hữu Creation Date - + Ngày tạo dd/MM/yyyy - + dd/MM/yyyy Modification Date - + Ngày thay đổi dd/MM/yyyy - + dd/MM/yyyy Game Data - + Dữ liệu game Game Id - + Id game Mount Amiibo - + Gắn Amiibo @@ -7056,32 +6565,32 @@ p, li { white-space: pre-wrap; } File Path - + Đường dẫn tập tin No game data present - + Hiện tại không có dữ liệu game The following amiibo data will be formatted: - + Dữ liệu amiibo sau sẽ được định dạng: The following game data will removed: - + Dữ liệu game sau sẽ bị xoá: Set nickname and owner: - + Đặt biệt danh và chủ sỡ hữu: Do you wish to restore this amiibo? - + Bạn có muốn khôi phục amiibo này không? @@ -7089,27 +6598,27 @@ p, li { white-space: pre-wrap; } Controller Applet - + Applet tay cầm Supported Controller Types: - + Loại tay cầm được hỗ trợ: Players: - + Người chơi: 1 - 8 - + 1 - 8 P4 - + P4 @@ -7120,9 +6629,9 @@ p, li { white-space: pre-wrap; } - + Pro Controller - Tay cầm Pro Controller + Pro Controller @@ -7133,7 +6642,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joycon đôi @@ -7146,9 +6655,9 @@ p, li { white-space: pre-wrap; } - + Left Joycon - Joycon Trái + Joycon trái @@ -7159,9 +6668,9 @@ p, li { white-space: pre-wrap; } - + Right Joycon - Joycon Phải + Joycon phải @@ -7173,90 +6682,90 @@ p, li { white-space: pre-wrap; } Use Current Config - + Dùng cấu hình hiện tại P2 - + P2 P1 - + P1 - + Handheld - Cầm tay + Handheld P3 - + P3 P7 - + P7 P8 - + P8 P5 - + P5 P6 - + P6 Console Mode - Console Mode + Chế độ console Docked - Chế độ cắm TV + Docked Vibration - Độ rung + Rung Configure - Thiết lập + Cấu hình Motion - + Chuyển động Profiles - Hồ Sơ + Hồ sơ Create - + Tạo Controllers - + Tay cầm @@ -7304,65 +6813,71 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Tay cầm GameCube - - - Poke Ball Plus - - - NES Controller - + Poke Ball Plus + Poke Ball Plus - SNES Controller - + NES Controller + Tay cầm NES - N64 Controller - + SNES Controller + Tay cầm SNES + N64 Controller + Tay cầm N64 + + + Sega Genesis - + Sega Genesis QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + Mã lỗi: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + Một lỗi đã xảy ra. +Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + Một lỗi đã xảy ra tại %1 vào %2. +Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm. - + An error has occurred. %1 %2 - + Một lỗi đã xảy ra. + +%1 + +%2 @@ -7376,32 +6891,93 @@ 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 + Người dùng - + + Profile Creator + Tạo hồ sơ + + + + Profile Selector Chọn hồ sơ + + + Profile Icon Editor + Sửa biểu tượng hồ sơ + + + + Profile Nickname Editor + Sửa biệt danh hồ sơ + + + + Who will receive the points? + Ai sẽ nhận điểm? + + + + Who is using Nintendo eShop? + Ai đang sử dụng Nintendo eShop? + + + + Who is making this purchase? + Ai đang thực hiện giao dịch này? + + + + Who is posting? + Ai đang đăng bài? + + + + Select a user to link to a Nintendo Account. + Chọn một người dùng để liên kết với tài khoản Nintendo. + + + + Change settings for which user? + Thay đổi cài đặt cho người dùng nào? + + + + Format data for which user? + Định dạng dữ liệu cho người dùng nào? + + + + Which user will be transferred to another console? + Người dùng nào sẽ được chuyển tới console khác? + + + + Send save data for which user? + Gửi dữ liệu save cho người dùng nào? + + + + Select a user: + Chọn một người dùng: + QtSoftwareKeyboardDialog Software Keyboard - Phần mềm bàn phím + Bàn phím mềm Enter Text - + Nhập văn bản @@ -7410,13 +6986,17 @@ 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> OK - Chấp nhận + OK @@ -7429,57 +7009,26 @@ p, li { white-space: pre-wrap; } Enter a hotkey - + Nhập một phím tắt 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 + Ngăn xếp gọi WaitTreeSynchronizationObject - - [%1] %2 %3 - + + [%1] %2 + [%1] %2 - + waited by no thread chờ đợi bởi vì không có luồng @@ -7487,120 +7036,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + có thể chạy - + paused - tạm dừng + đã 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 - + đang chờ biến điều kiện - + waiting for address arbiter chờ đợi địa chỉ người đứng giữa - + waiting for suspend resume - + đang đợi để tạm dừng và tiếp tục - + waiting - + đang chờ - + initialized - + đã khởi tạo - + terminated - + đã chấm dứt - + unknown - + không xác định - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + lý tưởng - + 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,9 +7147,9 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree - + &Cây Đợi \ No newline at end of file diff --git a/dist/languages/vi_VN.ts b/dist/languages/vi_VN.ts index a4a8e8b8a..92a95873a 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> @@ -76,95 +82,97 @@ p, li { white-space: pre-wrap; } Room Window - + Cửa sổ Phòng 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 @@ -172,22 +180,22 @@ This would ban both their forum username and their IP address. Room Window - + Cửa sổ Phòng 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> @@ -357,6 +365,26 @@ This would ban both their forum username and their IP address. Tiếp theo + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + Tự động (%1) + + + + Default (%1) + Default time zone + Mặc định (%1) + + ConfigureAudio @@ -365,84 +393,43 @@ This would ban both their forum username and their IP address. Audio Âm thanh - - - Output Engine: - Đầu ra hệ thống: - - - - Output Device - - - - - Input Device - Thiết bị Nhập - - - - 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 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera 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 @@ -468,135 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General Chung - - - Accuracy: - Độ chính xác - - - - Auto - Tự động - - - - Accurate - Tuyệt đối - - Unsafe - Tương đối - - - - Paranoid (disables most optimizations) - - - - We recommend setting accuracy to "Auto". Chúng tôi khuyến khích sử dụng chế độ "Tự động" - + Unsafe CPU Optimization Settings Cài đặt tối ưu cho CPU ở chế độ tương đối - + These settings reduce accuracy for speed. Những cài đặt sau giảm độ chính xác của giả lập để đổi lấy tốc độ. - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - - <div>Chức năng này tăng tốc độ giả lập bằng cách giảm độ chính xác của tập lệnh phép tính gộp cộng và nhân (FMA) trên các dòng CPU không hỗ trợ nó.</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - Không dùng FMA (tăng hiệu suất cho các dòng CPU không hỗ trợ FMA) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - - <div>Chức năng này cải thiện tốc độ của một số chức năng dấu phẩy động tương đối bằng cách sử dụng tính năng làm tròn kém chính xác hơn.</div> - - - - - Faster FRSQRTE and FRECPE - Chạy FRSQRTE và FRECPE nhanh hơn - - - - - <div>This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.</div> - - - <div>Tùy chọn này cải thiện tốc độ của các hàm dấu phẩy động ASIMD 32 bit bằng cách chạy với các chế độ làm tròn không chính xác.</div> - - - - - Faster ASIMD instructions (32 bits only) - Các lệnh ASIMD nhanh hơn (chỉ áp dụng cho 32 bit) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - -<div>Tùy chọn này sẽ cải thiện tốc độ bằng việc gỡ bỏ Kiểm tra NaN. Hãy nhớ là tùy chọn cũng sẽ giảm độ chính xác cho các dòng lệnh floating-point.</div> - - - - - Inaccurate NaN handling - Xử lí NaN gặp lỗi - - - - - <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> - - - - - - 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> - - - - - - Ignore global monitor - - - - - CPU settings are available only when game is not running. - Cài đặt CPU chỉ có sẵn khi không chạy trò chơi. - ConfigureCpuDebug @@ -636,79 +513,91 @@ This would ban both their forum username and their IP address. Enable inline page tables - + Bật bảng trang nội tuyến <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>Tối ưu hóa này tránh tra cứu trình điều phối bằng cách cho phép các khối cơ bản được phát ra nhảy trực tiếp đến các khối cơ bản khác nếu địa chỉ PC đích là tĩnh.</div> + Enable block linking - + Bật liên kết khối <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>Tối ưu hóa này tránh tra cứu trình điều phối bằng cách theo dõi các địa chỉ trả về tiềm năng của các chỉ thị BL. Điều này xấp xỉ việc xảy ra với một bộ đệm ngăn xếp trả về trên CPU thật.</div> + Enable return stack buffer - + Bật phản hồi của bộ đệm ngăn xếp <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>Bật hệ thống điều phối hai cấp. Một trình điều phối nhanh hơn được viết bằng assembly và có một bộ nhớ đệm MRU nhỏ của các địa chỉ nhảy được sử dụng trước. Nếu không thành công, việc điều phối sẽ chuyển sang trình điều phối chậm hơn viết bằng C++.</div> + Enable fast dispatcher - + Bật trình điều phối nhanh <div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div> - + + <div>Kích hoạt một tối ưu hóa IR giảm truy cập không cần thiết vào cấu trúc ngữ cảnh CPU.</div> + Enable context elimination - + Cho phép loại bỏ ngữ cảnh <div>Enables IR optimizations that involve constant propagation.</div> - + + <div>Kích hoạt tối ưu hóa IR liên quan đến truyền tải hằng số.</div> + Enable constant propagation - + Bật lan truyền hằng số <div>Enables miscellaneous IR optimizations.</div> - + + <div>Cho phép tối ưu hoá IR đa dạng.</div> + Enable miscellaneous optimizations - + Bật tối ưu hóa tính năng phụ @@ -716,12 +605,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">Khi kích hoạt, sự không căn chỉnh chỉ xảy ra khi một truy cập vượt qua ranh giới trang.</div> + <div style="white-space: nowrap">Khi vô hiệu hóa, sự không căn chỉnh được kích hoạt cho tất cả các truy cập không căn chỉnh.</div> + Enable misalignment check reduction - + Cho phép giảm kiểm tra không đồng nhất @@ -730,12 +622,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) @@ -744,12 +640,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">Tối ưu hóa này làm cho việc truy cập bộ nhớ độc quyền của chương trình khách nhanh hơn.</div> + <div style="white-space: nowrap">Kích hoạt nó sẽ làm cho việc đọc/ghi bộ nhớ độc quyền của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.</div> + <div style="white-space: nowrap">Vô hiệu hóa điều này sẽ buộc tất cả các truy cập bộ nhớ độc quyền sử dụng giả lập MMU phần mềm.</div> + Enable Host MMU Emulation (exclusive memory instructions) - + Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ độc quyền) @@ -757,12 +657,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">Tối ưu hóa này giúp tăng tốc truy cập bộ nhớ độc quyền từ chương trình khách.</div> + <div style="white-space: nowrap">Bật nó giảm tải chi phí phụ khi xảy ra lỗi fastmem trong quá trình truy cập bộ nhớ độc quyền.</div> + Enable recompilation of exclusive memory instructions - + Bật biên dịch lại các chỉ thị bộ nhớ độc quyền @@ -770,12 +673,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">Tối ưu hóa này tăng tốc truy cập bộ nhớ bằng cách cho phép các truy cập bộ nhớ không hợp lệ thành công.</div> + <div style="white-space: nowrap">Bật tối ưu hóa này giảm thiểu các chi phí phụ liên quan đến việc truy cập bộ nhớ và không ảnh hưởng đến các chương trình không truy cập vào bộ nhớ không hợp lệ.</div> + Enable fallbacks for invalid memory accesses - + Bật dự phòng cho truy cập bộ nhớ không hợp lệ @@ -786,234 +692,244 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - + Trình gỡ lỗi - + Enable GDB Stub Cho phép bật GDB sơ khai - + Port: Cổng: - + Logging Sổ ghi chép - - Global Log Filter - Bộ lọc sổ ghi chép - - - - Show Log in Console - - - - + Open Log Location Mở vị trí sổ ghi chép - + + Global Log Filter + Bộ lọc sổ ghi chép + + + When checked, the max size of the log increases from 100 MB to 1 GB Khi tích vào, dung lượng tối đa cho file log chuyển từ 100 MB lên 1 GB - + Enable Extended Logging** - + Bật ghi nhật ký mở rộng** - + + Show Log in Console + Hiện nhật ký trên trong console + + + Homebrew Homebrew - + Arguments String Chuỗi đối số - + Graphics Đồ hoạ - - When checked, the graphics API enters a slower debugging mode - + + When checked, it executes shaders without loop logic changes + Khi kích hoạt, nó thực thi shaders mà không thay đổi logic vòng lặp. - - Enable Graphics Debugging - Kích hoạt chế độ gỡ lỗi đồ hoạ + + Disable Loop safety checks + Tắt kiểm tra an toàn vòng lặp - - When checked, it enables Nsight Aftermath crash dumps - - - - - Enable Nsight Aftermath - - - - + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - + Khi kích hoạt, nó sẽ trích xuất tất cả shader của trình hợp dịch từ bộ nhớ đệm shader trên ổ cứng hoặc từ game khi tìm thấy - + Dump Game Shaders - + Trích xuất shader game - - When checked, it will dump all the macro programs of the GPU - + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + Khi chọn, nó sẽ tắt các chức năng Macro HLE. Bật tính năng này sẽ làm cho các trò chơi chạy chậm hơn - - Dump Maxwell Macros - + + Disable Macro HLE + Tắt Macro HLE - + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - + Khi chọn, nó sẽ tắt trình biên dịch Just In Time cho macro. Bật tính năng này sẽ làm cho các trò chơi chạy chậm hơn - + Disable Macro JIT Không dùng Macro JIT - + + When checked, the graphics API enters a slower debugging mode + Khi được kích hoạt, API đồ hoạ sẽ chuyển sang chế độ gỡ lỗi chậm hơn. + + + + Enable Graphics Debugging + Kích hoạt chế độ gỡ lỗi đồ hoạ + + + + When checked, it will dump all the macro programs of the GPU + Khi kích hoạt, nó sẽ trích xuất tất cả chương trình macro của GPU + + + + Dump Maxwell Macros + Trích xuất Maxwell Macros + + + When checked, yuzu will log statistics about the compiled pipeline cache - + Khi chọn, yuzu sẽ ghi lại các thống kê về bộ nhớ cache pipeline đã được biên dịch - + Enable Shader Feedback - + Bật phản hồi shader - - When checked, it executes shaders without loop logic changes - + + When checked, it enables Nsight Aftermath crash dumps + Khi kích hoạt, nó cho phép ghi nhận lỗi Nsight Aftermath. - - Disable Loop safety checks - + + Enable Nsight Aftermath + Bật Nsight Aftermath - - 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 - + + 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. + Cho phép yuzu kiểm tra môi trường Vulkan hoạt động khi chương trình bắt đầu. Vô hiệu hóa tính năng này nếu nó gây ra vấn đề cho các chương trình bên ngoài khi nhìn thấy yuzu. - + + Perform Startup Vulkan Check + Thực hiện kiểm tra Vulkan khi khởi động + + + + Disable Web Applet + Tắt applet web + + + + Enable All Controller Types + Kích hoạt tất cả các loại tay cầm + + + + Enable Auto-Stub** + Bật Auto-Stub** + + + + Kiosk (Quest) Mode + Chế độ Kiosk (Khách) + + + Enable CPU Debugging Bật Vá Lỗi CPU - + Enable Debug Asserts - + Bật kiểm tra lỗi gỡ lỗi - - Enable Auto-Stub** - + + Debugging + Vá lỗi - - Enable All Controller Types - + + Enable FS Access Log + Bật log truy cập FS - - Disable Web Applet - + + Create Minidump After Crash + Tạo Minidump sau khi xảy ra sự cố. - - 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. - + + Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. + Bật tính năng này để đưa ra danh sách lệnh âm thanh mới nhất đã tạo ra đến console. Chỉ ảnh hưởng đến các game sử dụng bộ mã hóa âm thanh. - - Perform Startup Vulkan Check - + + Dump Audio Commands To Console** + Trích xuất các lệnh âm thanh đến console** - + + Enable Verbose Reporting Services** + Bật dịch vụ báo cáo chi tiết** + + + **This will be reset automatically when yuzu closes. **Sẽ tự động thiết lập lại khi tắt yuzu. Restart Required - + Cần khởi động lại yuzu is required to restart in order to apply this setting. - + yuzu cần khởi động lại để áp dụng cài đặt này. - + Web applet not compiled - + Applet web chưa được biên dịch - + MiniDump creation not compiled - + Chức năng tạo MiniDump không được biên dịch @@ -1061,78 +977,83 @@ This would ban both their forum username and their IP address. Thiết lập yuzu - - + + Some settings are only available when a game is not running. + Một số cài đặt chỉ khả dụng khi game không chạy. + + + + 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 @@ -1196,7 +1117,7 @@ This would ban both their forum username and their IP address. Patch Manager - + Quản lý bản bá @@ -1211,12 +1132,12 @@ This would ban both their forum username and their IP address. Mod Load Root - + Thư mục tải mod gốc Dump Root - + Trích xuất thư mục gốc @@ -1249,12 +1170,12 @@ This would ban both their forum username and their IP address. Select Gamecard Path... - + Chọn đường dẫn tới đĩa game... Select Dump Directory... - + Chọn thư mục trích xuất... @@ -1264,7 +1185,7 @@ This would ban both their forum username and their IP address. The metadata cache is already empty. - + Bộ nhớ đệm metadata trống. @@ -1274,7 +1195,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. - + Bộ nhớ đệm metadata không thể xoá. Nó có thể đang được sử dụng hoặc không tồn tại. @@ -1291,62 +1212,17 @@ This would ban both their forum username and their IP address. Chung - - Limit Speed Percent - Giới hạn phần trăm tốc độ - - - - % - % - - - - Multicore CPU Emulation - Giả lập CPU đa nhân - - - - 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 - - - + 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? @@ -1369,257 +1245,45 @@ This would ban both their forum username and their IP address. Cài đặt API - - Shader Backend: - - - - - Device: - Thiết bị đồ hoạ: - - - - API: - API đồ hoạ: - - - - - None - Trống - - - + Graphics Settings Cài đặt đồ hoạ - - Use disk pipeline cache - - - - - Use asynchronous GPU emulation - Dùng giả lập GPU không đồng bộ - - - - Accelerate ASTC texture decoding - - - - - 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 - - - - - 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) - - - - - 2X (1440p/2160p) - - - - - 3X (2160p/3240p) - - - - - 4X (2880p/4320p) - - - - - 5X (3600p/5400p) - - - - - 6X (4320p/6480p) - - - - - Window Adapting Filter: - - - - - Nearest Neighbor - - - - - Bilinear - - - - - Bicubic - - - - - Gaussian - - - - - ScaleForce - - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - - - - - Anti-Aliasing Method: - - - - - FXAA - - - - - 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 + Tắt + + + + VSync Off + Tắt Vsync + + + + Recommended + Đề xuất + + + + On + Bật + + + + VSync On + Bật Vsync @@ -1639,86 +1303,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings Cài đặt đồ hoạ nâng cao - - - Accuracy Level: - Độ 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. - - - - - Use Fast GPU Time (Hack) - Tăng Tốc Thời Gian GPU (Hack) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - - - - - Use pessimistic buffer flushes (Hack) - - - - - Anisotropic Filtering: - Bộ lọc góc nghiêng: - - - - Automatic - - - - - Default - Mặc định - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1748,70 +1332,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 - + Phím tắt tay cầm - - - + + + 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 - + Không hợp lệ - + 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 - - + Conflicting Button Sequence + Dãy nút xung đột + + + + The default button sequence is already assigned to: %1 + Dãy nút mặc định đã được gán cho: %1 + + + The default key sequence is already assigned to: %1 Tổ hợp phím này đã gán với: %1 @@ -1906,12 +1485,12 @@ This would ban both their forum username and their IP address. Motion - + Chuyển động Controllers - + Tay cầm @@ -1996,7 +1575,7 @@ This would ban both their forum username and their IP address. L Body - + Thân trái @@ -2020,7 +1599,7 @@ This would ban both their forum username and their IP address. R Body - + Thân phải @@ -2072,7 +1651,7 @@ This would ban both their forum username and their IP address. Emulated Devices - + Thiết bị giả lập @@ -2103,19 +1682,19 @@ This would ban both their forum username and their IP address. - + Configure Thiết lập Ring Controller - + Vòng điều khiển Infrared Camera - + Camera hồng ngoại @@ -2125,10 +1704,12 @@ This would ban both their forum username and their IP address. Emulate Analog with Keyboard Input - + Giả lập analog bằng cách sử dụng đầu vào từ bàn phím + + Requires restarting yuzu Phải khởi động lại yuzu @@ -2140,30 +1721,35 @@ This would ban both their forum username and their IP address. Enable UDP controllers (not needed for motion) - + Bật điều khiển UDP (không cần thiết cho chuyển động) Controller navigation - + Điều hướng bằng tay cầm - - Enable mouse panning - + + Enable direct JoyCon driver + Bật driver JoyCon trực tiếp - - Mouse sensitivity - Độ nhạy chuột + + Enable direct Pro Controller driver [EXPERIMENTAL] + Bật driver Pro Controller trực tiếp [THỬ NGHIỆM] - - % - % + + Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use. + Cho phép sử dụng không giới hạn cùng một Amiibo trong các game mà thông thường giới hạn bạn chỉ sử dụng một lần. - + + Use random Amiibo ID + Dùng ID Amiibo ngẫu nhiên + + + Motion / Touch Chuyển động / Cảm ứng @@ -2183,57 +1769,57 @@ This would ban both their forum username and their IP address. Input Profiles - + Hồ sơ đầu vào Player 1 Profile - + Hồ sơ Người chơi 1 Player 2 Profile - + Hồ sơ Người chơi 2 Player 3 Profile - + Hồ sơ Người chơi 3 Player 4 Profile - + Hồ sơ Người chơi 4 Player 5 Profile - + Hồ sơ Người chơi 5 Player 6 Profile - + Hồ sơ Người chơi 6 Player 7 Profile - + Hồ sơ Người chơi 7 Player 8 Profile - + Hồ sơ Người chơi 8 Use global input configuration - + Dùng cấu hình đầu vào chung Player %1 profile - + Hồ sơ Người chơi %1 @@ -2275,7 +1861,7 @@ This would ban both their forum username and their IP address. - + Left Stick Cần trái @@ -2335,13 +1921,13 @@ This would ban both their forum username and their IP address. Modifier - + Ngưỡng điều chỉnh Range - + Phạm vi @@ -2353,13 +1939,13 @@ This would ban both their forum username and their IP address. Deadzone: 0% - + Vùng chết: 0% Modifier Range: 0% - + Phạm vi điều chỉnh: 0% @@ -2369,14 +1955,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2390,12 +1976,12 @@ This would ban both their forum username and their IP address. Capture - + Chụp - + Plus Cộng @@ -2408,15 +1994,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2435,12 +2021,12 @@ This would ban both their forum username and their IP address. Motion 1 - + Chuyển động 1 Motion 2 - + Chuyển động 2 @@ -2473,236 +2059,257 @@ This would ban both their forum username and their IP address. - + Right Stick Cần phải - - - - + + Mouse panning + Di chuyển chuột + + + + Configure + Cài đặt + + + + + + Clear Bỏ trống - - - - - + + + + + [not set] [không đặt] - - + + + Invert button - + Đảo ngược nút - - + + Toggle button - + Đổi nút - - + + Turbo button + Nút Turbo + + + + Invert axis - + Đảo ngược trục - - - + + + Set threshold - + Thiết lập ngưỡng - - + + Choose a value between 0% and 100% Chọn một giá trị giữa 0% và 100% - + Toggle axis - + Chuyển đổi trục - + Set gyro threshold - + Thiết lập ngưỡng cảm biến con quay - + + Calibrate sensor + Hiệu chỉnh cảm biến + + + 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 - + Canh chỉnh trục - - + + Deadzone: %1% - + Vùng chết: %1% - - + + Modifier Range: %1% - + Phạm vi điều chỉnh: %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 - + Poke Ball Plus - + NES Controller - + Tay cầm NES - + SNES Controller - + Tay cầm SNES - + N64 Controller - + Tay cầm N64 - + Sega Genesis - + Sega Genesis - + Start / Pause Bắt đầu / Tạm ngưng - + Z Z - + Control Stick - + Cần điều khiển - + 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 @@ -2740,34 +2347,34 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s UDP Calibration: - + Hiệu chỉnh UDP: (100, 50) - (1800, 850) - + (100, 50) - (1800, 850) - + Configure Cài đặt Touch from button profile: - + Chạm từ hồ sơ nút: CemuhookUDP Config - + Thiết lập CemuhookUDP You may use any Cemuhook compatible UDP input source to provide motion and touch input. - + Bạn có thể dùng bất cứ bản Cemuhook nào tương thích với đầu vào UDP để cung cấp đầu vào chuyển động và cảm ứng. @@ -2782,11 +2389,11 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Learn More - + Tìm hiểu thêm - + Test Thử nghiệm @@ -2806,79 +2413,178 @@ 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. - + Cấu hình kiểm tra hoặc hiệu chuẩn UDP đang được tiến hành.<br>Vui lòng chờ cho đến khi nó hoàn thành. + + + + ConfigureMousePanning + + + Configure mouse panning + Thiết lập di chuyển chuột + + + + Enable mouse panning + Bật di chuyển chuột + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + Có thể chuyển đổi bằng cách sử dụng phím tắt. Phím tắt mặc định là Ctrl + F9 + + + + Sensitivity + Độ nhạy + + + + Horizontal + Ngang + + + + + + + + % + % + + + + Vertical + Dọc + + + + Deadzone counterweight + Đối trọng vùng chết + + + + Counteracts a game's built-in deadzone + Chống lại vùng chết tích hợp trong game + + + + Deadzone + Vùng chết + + + + Stick decay + Sự xuống cấp của cần điều khiển + + + + Strength + Sức mạnh + + + + Minimum + Tối thiểu + + + + Default + Mặc định + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + Di chuyển chuột hoạt động tốt hơn với vùng chết là 0% và phạm vi là 100%. +Các giá trị hiện tại lần lượt là %1% và %2%. + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + Chuột giả lập đã được kích hoạt. Điều này không tương thích với chức năng lia chuột. + + + + Emulated mouse is enabled + Chuột giả lập đã được kích hoạt + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột. @@ -2901,7 +2607,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Network Interface - + Giao diện mạng @@ -2912,100 +2618,95 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s ConfigurePerGame - + Dialog - + Hộp thoại - + Info Thông Tin - + Name Tên - + Title ID ID của game - + Filename Tên tệp - + Format Định dạng - + Version Phiên Bản - + Size Dung Lượng - + Developer Nhà Phát Hành - + + Some settings are only available when a game is not running. + Một số cài đặt chỉ khả dụng khi game không chạy. + + + 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 - + Hồ sơ đầu vào - + Properties Thuộc tính - - - Use global configuration (%1) - - ConfigurePerGameAddons @@ -3176,7 +2877,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Delete this user? All of the user's save data will be deleted. - + Xoá người dùng này? Tất cả dữ liệu save của người dùng này sẽ bị xoá. @@ -3187,7 +2888,8 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s Name: %1 UUID: %2 - + Tên: %1 +UUID: %2 @@ -3195,63 +2897,125 @@ UUID: %2 Configure Ring Controller - + Thiết lập vòng điều khiển - 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. + Để sử dụng Ring-Con, hãy cấu hình Người chơi 1 như là Joy-Con phải (cả vật lý và giả lập), và Người chơi 2 như là Joy-Con trái (vật lý trái và giả lập kép) trước khi bắt đầu trò chơi. - Ring Sensor Parameters - + Virtual Ring Sensor Parameters + Tham số cảm biến vòng ảo Pull - + Kéo Push - + Đẩy Deadzone: 0% - + Vùng chết: 0% - + + Direct Joycon Driver + Driver Joycon trực tiếp + + + + Enable Ring Input + Bật đầu vào từ vòng + + + + + Enable + Bật + + + + Ring Sensor Value + Giá trị cảm biến vòng + + + + + Not connected + Không kết nối + + + Restore Defaults Khôi phục về mặc định - + Clear Bỏ trống - + [not set] [không đặt] - + Invert axis - + Đảo ngược trục - - + + Deadzone: %1% - + Vùng chết: %1% - + + Error enabling ring input + Lỗi khi bật đầu vào từ vòng + + + + Direct Joycon driver is not enabled + Driver JoyCon trực tiếp chưa được bật + + + + Configuring + Cài đặt + + + + The current mapped device doesn't support the ring controller + Thiết bị đươc ánh xạ hiện tại không hỗ trợ vòng điều khiển + + + + The current mapped device doesn't have a ring attached + Thiết bị được ánh xạ hiện tại không có vòng được gắn vào + + + + The current mapped device is not connected + Thiết bị được ánh xạ hiện tại không được kết nối + + + + Unexpected driver result %1 + Kết quả driver không như mong đợi %1 + + + [waiting] [Chờ] @@ -3265,449 +3029,19 @@ UUID: %2 + System Hệ thống - - System Settings - Cài đặt hệ thống + + Core + Lõi - - Region: - Vùng: - - - - Auto - Tự động - - - - Default - Mặc định - - - - CET - CET - - - - CST6CDT - CST6CDT - - - - Cuba - - - - - EET - - - - - Egypt - - - - - Eire - - - - - EST - - - - - EST5EDT - - - - - GB - - - - - GB-Eire - - - - - GMT - - - - - GMT+0 - - - - - GMT-0 - - - - - GMT0 - - - - - Greenwich - - - - - Hongkong - - - - - HST - - - - - Iceland - - - - - Iran - - - - - Israel - - - - - Jamaica - - - - - - Japan - - - - - Kwajalein - - - - - Libya - - - - - MET - - - - - MST - - - - - MST7MDT - - - - - Navajo - - - - - NZ - - - - - NZ-CHAT - - - - - Poland - - - - - Portugal - - - - - PRC - - - - - PST8PDT - - - - - ROC - - - - - ROK - - - - - Singapore - - - - - Turkey - - - - - UCT - - - - - Universal - - - - - UTC - - - - - W-SU - - - - - WET - - - - - Zulu - - - - - USA - - - - - Europe - - - - - Australia - - - - - China - - - - - Korea - - - - - Taiwan - - - - - Time Zone: - - - - - Note: this can be overridden when region setting is auto-select - Chú ý: cái này có thể ghi đè khi cài đặt quốc gia là chọn tự động - - - - Japanese (日本語) - Tiếng Nhật (日本語) - - - - English - Tiếng Anh - - - - French (français) - Tiếng Pháp (French) - - - - German (Deutsch) - Tiếng Đức (German) - - - - Italian (italiano) - Tiếng Ý (Italian) - - - - Spanish (español) - Tiếng Tây Ban Nha (Spanish) - - - - Chinese - Tiếng Trung - - - - Korean (한국어) - Tiếng Hàn (Korean) - - - - Dutch (Nederlands) - Tiếng Hà Lan (Dutch) - - - - Portuguese (português) - Tiếng Bồ Đào Nha (Portuguese) - - - - Russian (Русский) - Tiếng Nga (Russian) - - - - Taiwanese - Tiếng Đài Loan - - - - British English - Tiếng Anh UK - - - - Canadian French - Tiếng Pháp Canada - - - - Latin American Spanish - Tiếng Mỹ La-tinh - - - - Simplified Chinese - Tiếng Trung giản thể - - - - Traditional Chinese (正體中文) - Tiếng Trung phồn thể (Traditional Chinese) - - - - Brazilian Portuguese (português do Brasil) - - - - - Custom RTC - - - - - Language - Ngôn ngữ - - - - RNG Seed - Hạt giống RNG - - - - Device Name - - - - - Mono - Mono - - - - 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" + Cảnh báo: "%1" không phải là ngôn ngữ hợp lệ cho khu vực "%2" @@ -3715,47 +3049,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>Reads controller input from scripts in the same format as TAS-nx scripts.<br/>Để biết thêm chi tiết, vui lòng tham khảo <a href="https://yuzu-emu.org/help/feature/tas/"><span style=" text-decoration: underline; color:#039be5;">trang trợ giúp</span></a> trên website của yuzu.</p></body></html> To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -> General -> Hotkeys). - + Để kiểm tra các phím tắt nào điều khiển phát lại/ghi lại, vui lòng xem cài đặt Phím tắt (Cấu hình -> Chung -> Phím tắt). WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. - + CẢNH BÁO: Đây là tính năng thử nghiệm.<br/>Nó sẽ không phát lại các kịch bản hoàn hảo theo từng khung hình với phương thức đồng bộ hóa hiện tại, không hoàn hảo. Settings - + Cài đặt Enable TAS features - + Bật các tính năng TAS Loop script - + Lặp lại tập lệnh Pause execution during loads - + Tạm dừng thực thi trong quá trình tải Script Directory - + Thư mục tập lệnh @@ -3773,12 +3107,12 @@ UUID: %2 TAS Configuration - + Cấu hình TAS - + Select TAS Load Directory... - + Chọn thư mục tải TAS @@ -3786,12 +3120,12 @@ UUID: %2 Configure Touchscreen Mappings - + Thiết lập ánh xạ màn hình cảm ứng Mapping: - + Ánh xạ: @@ -3812,17 +3146,18 @@ UUID: %2 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. - + Nhấp vào khu vực dưới để thêm điểm, sau đó nhấn một nút để gắn liền. +Kéo điểm để thay đổi vị trí, hoặc nhấp đúp chuột vào ô trong bảng để chỉnh sửa giá trị. Delete Point - + Xoá điểm Button - + Nút @@ -3844,27 +3179,27 @@ Drag points to change position, or double-click table cells to edit values. Enter the name for the new profile. - + Nhập tên cho hồ sơ mới Delete Profile - + Xoá hồ sơ Delete profile %1? - + Xoá hồ sơ %1? Rename Profile - + Đổi tên hồ sơ New name: - + Tên mới: @@ -3913,66 +3248,66 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None Trống - + Small (32x32) - + Nhỏ (32x32) - + Standard (64x64) - - - - - Large (128x128) - - - - - Full Size (256x256) - - - - - Small (24x24) - - - - - Standard (48x48) - - - - - Large (72x72) - + Tiêu chuẩn (64x64) + Large (128x128) + Lớn (128x128) + + + + Full Size (256x256) + Kích thước đầy đủ (256x256) + + + + Small (24x24) + Nhỏ (24x24) + + + + Standard (48x48) + Tiêu chuẩn (48x48) + + + + Large (72x72) + Lớn (72x72) + + + Filename Tên tệp - + Filetype - + Loại tập tin - + Title ID ID của game - + Title Name - + Tên title @@ -4015,7 +3350,7 @@ Drag points to change position, or double-click table cells to edit values. Show Compatibility List - + Hiện danh sách tương thích @@ -4025,22 +3360,22 @@ Drag points to change position, or double-click table cells to edit values. Show Size Column - + Hiện cột Kích thước Show File Types Column - + Hiện cột Loại tệp Game Icon Size: - + Kích thước icon game: Folder Icon Size: - + Kích thước icon thư mục: @@ -4055,17 +3390,17 @@ Drag points to change position, or double-click table cells to edit values. Screenshots - + Ảnh chụp màn hình Ask Where To Save Screenshots (Windows Only) - + Hỏi nơi lưu ảnh chụp màn hình (chỉ Windows) Screenshots Path: - + Đường dẫn cho ảnh chụp màn hình: @@ -4073,27 +3408,43 @@ Drag points to change position, or double-click table cells to edit values.... - - Select Screenshots Path... + + TextLabel - + + Resolution: + Độ phân giải: + + + + Select Screenshots Path... + Chọn đường dẫn cho ảnh chụp màn hình... + + + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + Tự động (%1 x %2, %3 x %4) + ConfigureVibration Configure Vibration - + Thiết lập rung Press any controller button to vibrate the controller. - + Nhấn bất kỳ nút nào trên tay cầm để làm rung tay cầm. @@ -4155,12 +3506,12 @@ Drag points to change position, or double-click table cells to edit values. Settings - + Cài đặt Enable Accurate Vibration - + Bật Rung chính xác @@ -4214,7 +3565,7 @@ Drag points to change position, or double-click table cells to edit values. Web Service configuration can only be changed when a public room isn't being hosted. - + Cấu hình dịch vụ web chỉ có thể thay đổi khi không có phòng công khai đang được tổ chức. @@ -4276,35 +3627,35 @@ Drag points to change position, or double-click table cells to edit values. Unspecified - + Không xác định Token not verified - + Token chưa được xác minh Token was not verified. The change to your token has not been saved. - + Token không được xác thực. Thay đổi token của bạn chưa được lưu. Unverified, please click Verify before saving configuration Tooltip - + Chưa xác minh, vui lòng nhấp vào Xác minh trước khi lưu cấu hình Verifying... - + Đang xác minh... Verified Tooltip - + Đã xác minh @@ -4320,7 +3671,7 @@ Drag points to change position, or double-click table cells to edit values. Verification failed. Check that you have entered your token correctly, and that your internet connection is working. - + Xác thực không thành công. Hãy kiểm tra xem bạn đã nhập token đúng chưa và kết nối internet của bạn có hoạt động hay không. @@ -4328,12 +3679,12 @@ Drag points to change position, or double-click table cells to edit values. Controller P1 - + Tay cầm P1 - + &Controller P1 - + &Tay cầm P1 @@ -4341,980 +3692,955 @@ Drag points to change position, or double-click table cells to edit values. Direct Connect - + Kết nối trực tiếp - - IP Address - + + Server Address + Địa chỉ máy chủ - - IP - + + <html><head/><body><p>Server address of the host</p></body></html> + <html><head/><body><p>Địa chỉ máy chủ của người chủ</p></body></html> - - <html><head/><body><p>IPv4 address of the host</p></body></html> - - - - + Port - + Cổng - + <html><head/><body><p>Port number the host is listening on</p></body></html> - + <html><head/><body><p>Số cổng mà máy chủ đang lắng nghe</p></body></html> - + Nickname - + Biệt danh - + Password - + Mật khẩu - + Connect - + Kết nối DirectConnectWindow - + Connecting - + Đang kết nối - + Connect - + Kết nối 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 - + Phát hiện cài đặt Vulkan bị hỏng - + 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>. - + Khởi tạo Vulkan thất bại trong quá trình khởi động.<br>Nhấn <br><a href='https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>vào đây để xem hướng dẫn khắc phục vấn đề</a>. - + + Running a game + TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping + Đang chạy một game + + + Loading Web Applet... - + Đang tải applet web... - - + + Disable Web Applet - + Tắt 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.) - + Tắt applet web có thể dẫn đến hành vi không xác định và chỉ nên được sử dụng với Super Mario 3D All-Stars. Bạn có chắc chắn muốn tắt applet web không? +(Có thể được bật lại trong cài đặt Gỡ lỗi.) - + The amount of shaders currently being built - + Số lượng shader đang được dựng - + The current selected resolution scaling multiplier. - + Bội số tỷ lệ độ phân giải được chọn hiện tại. - + 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 + Bật tiếng + + + + Mute + Tắt tiếng + + + + Reset Volume + Đặt lại âm lượng + + + &Clear Recent Files - + &Xoá tập tin gần đây - + + Emulated mouse is enabled + Chuột giả lập đã được kích hoạt + + + + Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning. + Đầu vào chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột. + + + &Continue - + &Tiếp tục - + &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>. - + yuzu đã gặp lỗi khi chạy lõi video. Điều này thường xảy ra do phiên bản driver GPU đã cũ, bao gồm cả driver tích hợp. Vui lòng xem nhật ký để biết thêm chi tiết. Để biết thêm thông tin về cách truy cập nhật ký, vui lòng xem trang sau: <a href='https://yuzu-emu.org/help/reference/log-files/'>Cách tải lên tập tin nhật ký</a>. - + Error while loading ROM! %1 %1 signifies a numeric error code. - + Lỗi xảy ra khi nạp 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>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a> để trích xuất lại các tệp của bạn.<br>Bạn có thể tham khảo yuzu wiki</a> hoặc yuzu Discord</a>để được hỗ trợ. - + 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) - + (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... - + Đang đóng phần mềm... - + Save Data - + Dữ liệu save - + Mod Data - + Dữ liệu mod - + 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 File - - - - Error Removing Transferable Shader Cache - + Error Opening Transferable Shader Cache + Lỗi khi mở bộ nhớ cache shader có thể chuyển. - + Failed to create the shader cache directory for this title. + Thất bại khi tạo thư mục bộ nhớ cache shader cho title này. + + + + Error Removing Contents + Lỗi khi loại bỏ nội dung + + + + Error Removing Update + Lỗi khi loại bỏ cập nhật + + + + Error Removing DLC + Lỗi khi loại bỏ DLC + + + + Remove Installed Game Contents? + Loại bỏ nội dung game đã cài đặt? + + + + Remove Installed Game Update? + Loại bỏ bản cập nhật game đã cài đặt? + + + + Remove Installed Game DLC? + Loại bỏ DLC game đã cài đặt? + + + + Remove Entry + Xoá mục + + + + + + + + + Successfully Removed + Loại bỏ thành công + + + + Successfully removed the installed base game. + Loại bỏ thành công base game đã cài đặt + + + + The base game is not installed in the NAND and cannot be removed. + Base game không được cài đặt trong NAND và không thể loại bỏ. + + + + Successfully removed the installed update. + Loại bỏ thành công bản cập nhật đã cài đặt + + + + There is no update installed for this title. + Không có bản cập nhật nào được cài đặt cho title này. + + + + There are no DLC installed for this title. + Không có DLC nào được cài đặt cho title này. + + + + Successfully removed %1 installed DLC. + Loại bỏ thành công %1 DLC đã cài đặt + + + + Delete OpenGL Transferable Shader Cache? + Xoá bộ nhớ cache shader OpenGL chuyển được? + + + + Delete Vulkan Transferable Shader Cache? + Xoá bộ nhớ cache shader Vulkan chuyển được? + + + + Delete All Transferable Shader Caches? + Xoá tất cả bộ nhớ cache shader chuyển được? + + + + Remove Custom Game Configuration? + Loại bỏ cấu hình game tuỳ chỉnh? + + + + Remove Cache Storage? + Xoá bộ nhớ cache? + + + + Remove File + Xoá tập tin + + + + + Error Removing Transferable Shader Cache + Lỗi khi xoá bộ nhớ cache shader chuyển được + + + + A shader cache for this title does not exist. - + Bộ nhớ cache shader cho title này không tồn tại. - + Successfully removed the transferable shader cache. - + Thành công loại bỏ bộ nhớ cache shader chuyển được - + Failed to remove the transferable shader cache. - + Thất bại khi xoá bộ nhớ cache shader chuyển được. - - + + Error Removing Vulkan Driver Pipeline Cache + Lỗi khi xoá bộ nhớ cache pipeline Vulkan + + + + Failed to remove the driver pipeline cache. + Thất bại khi xoá bộ nhớ cache pipeline của driver. + + + + Error Removing Transferable Shader Caches - + Lỗi khi loại bỏ bộ nhớ cache shader chuyển được - + Successfully removed the transferable shader caches. - + Thành công loại bỏ tât cả bộ nhớ cache shader chuyển được. - + Failed to remove the transferable shader cache directory. - + Thất bại khi loại bỏ thư mục bộ nhớ cache shader. - - + + Error Removing Custom Configuration - + Lỗi khi loại bỏ cấu hình tuỳ chỉnh - + A custom configuration for this title does not exist. - + Cấu hình tuỳ chỉnh cho title này không tồn tại. - + Successfully removed the custom game configuration. - + Loại bỏ thành công cấu hình game tuỳ chỉnh. - + Failed to remove the custom game configuration. - + Thất bại khi xoá cấu hình game tuỳ chỉnh - - + + 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 - + Đầy - + 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 - + Không đủ bộ nhớ trống tại %1 để trích xuất RomFS. Hãy giải phóng bộ nhớ hoặc chọn một thư mục trích xuất khác tại Giả lập > Thiết lập > Hệ thống > Hệ thống tệp > Thư mục trích xuất gốc - + 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 - + Tạo lối tắt - + This will create a shortcut to the current AppImage. This may not work well if you update. Continue? - + Việc này sẽ tạo một lối tắt tới AppImage hiện tại. Điều này có thể không hoạt động tốt nếu bạn cập nhật. Tiếp tục? - + Cannot create shortcut on desktop. Path "%1" does not exist. - + Không thể tạo lối tắt trên desktop. Đường dẫn "%1" không tồn tại. - + Cannot create shortcut in applications menu. Path "%1" does not exist and cannot be created. - + Không thể tạo lối tắt trong menu ứng dụng. Đường dẫn "%1" không tồn tại và không thể tạo. - + Create Icon - + Tạo icon - + Cannot create icon file. Path "%1" does not exist and cannot be created. - + Không thể tạo tập tin icon. Đường dẫn "%1" không tồn tại và không thể tạo. - + Start %1 with the yuzu Emulator - + Bắt đầu %1 với giả lập yuzu - + Failed to create a shortcut at %1 - + Thất bại khi tạo lối tắt tại %1 - + Successfully created a shortcut to %1 - + Thành công tạo lối tắt tại %1 - + Error Opening %1 - + Lỗi khi mở %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 - + Cài đặt tập tin - + %n file(s) remaining - + %n tập tin còn lại - + Installing file "%1"... Đang cài đặt tệp tin "%1"... - - + + Install Results - + Kết quả cài đặt - + To avoid possible conflicts, we discourage users from installing base games to the NAND. Please, only use this feature to install updates and DLC. - + Để tránh xung đột có thể xảy ra, chúng tôi không khuyến khích người dùng cài base games vào NAND. +Vui lòng, chỉ sử dụng tính năng này để cài các bản cập nhật và DLC. - + %n file(s) were newly installed - + %n đã được cài đặt mới + - + %n file(s) were overwritten - + %n tập tin đã được ghi đè + - + %n file(s) failed to install - + %n tập tin thất bại khi cài đặt + - + System Application - Hệ thống ứng dụng + Ứ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 (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 - + Yêu cầu phần cứng không được đáp ứng - - + + Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled. - + Hệ thống của bạn không đáp ứng yêu cầu phần cứng được đề xuất. Báo cáo tương thích đã được tắt. - + 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 - + Lỗi khi mở URL - + Unable to open the URL "%1". - + Không thể mở URL "%1". - + TAS Recording - + Ghi lại TAS - + Overwrite file of player 1? - + Ghi đè tập tin của người chơi 1? - + Invalid config detected - + Đã phát hiện cấu hình không hợp lệ - + Handheld controller can't be used on docked mode. Pro controller will be selected. - + Tay cầm handheld không thể được sử dụng trong chế độ docked. Pro Controller sẽ được chọn. - - + + Amiibo - + Amiibo - - + + The current amiibo has been removed - + Amiibo hiện tại đã bị loại bỏ - + Error - + Lỗi - - + + The current game is not looking for amiibos - + Game hiện tại không tìm kiếm 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 - + Tập tin đã chọn không phải là amiibo hợp lệ - + The selected file is already on use - + Tập tin đã chọn đã được sử dụng - + An unknown error occurred - + Đã xảy ra lỗi không xác định - + Capture Screenshot Chụp ảnh màn hình - + PNG Image (*.png) Hình ảnh PNG (*.png) - + TAS state: Running %1/%2 - + Trạng thái TAS: Đang chạy %1/%2 - + TAS state: Recording %1 - + Trạng thái TAS: Đang ghi %1 - + TAS state: Idle %1/%2 - + Trạng thái TAS: Đang chờ %1/%2 - + TAS State: Invalid - + Trạng thái TAS: Không hợp lệ - + &Stop Running - + &Dừng chạy - + &Start &Bắt đầu - + Stop R&ecording - + Dừng G&hi - + R&ecord - + G&hi - + Building: %n shader(s) - + Đang dựng: %n shader(s) - + Scale: %1x %1 is the resolution scaling factor - + Tỉ lệ thu phóng: %1x - + Speed: %1% / %2% Tốc độ: %1% / %2% - + Speed: %1% Tốc độ: %1% - + Game: %1 FPS (Unlocked) - + Game: %1 FPS (Đã mở khoá) - + Game: %1 FPS Trò chơi: %1 FPS - + Frame: %1 ms Khung hình: %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 - + NO AA - - FXAA - + + VOLUME: MUTE + ÂM LƯỢNG: TẮT TIẾNG - - SMAA - + + VOLUME: %1% + Volume percentage (e.g. 50%) + ÂM LƯỢNG: %1% - + 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 +4657,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 - + Thiếu fuses - + - Missing BOOT0 - + - Thiếu BOOT0 - + - Missing BCPKG2-1-Normal-Main - + - Thiếu BCPKG2-1-Normal-Main - + - Missing PRODINFO - + - Thiếu PRODINFO - + Derivation Components Missing - + Thiếu các thành phần chuyển hoá - + 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> - + Keys mã hoá bị thiếu. <br>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a> để lấy tất cả keys, firmware và games của bạn.<br><br><small>(%1)</small> - + Deriving keys... This may take up to a minute depending on your system's performance. @@ -5370,39 +4696,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 + Giải mã bản lưu trữ của hệ thống thất bại + + + + 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. + Keys mã hoá thấy bại khi giải mã firmware. <br>Vui lòng tuân theo <a href='https://yuzu-emu.org/help/quickstart/'>hướng dẫn nhanh của yuzu</a>để lấy tất cả keys, firmware và games của bạn. + + + 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,217 +4746,317 @@ 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 + 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 + Tối đa + + + + Vulkan + Vulkan + + + + OpenGL + OpenGL + + + + Null + Null + + + + GLSL + GLSL + + + + GLASM + GLASM + + + + SPIRV + SPIRV + GRenderWindow - - + + OpenGL not available! Không có sẵn OpenGL! - + OpenGL shared contexts are not supported. - + Các ngữ cảnh OpenGL chung không được hỗ trợ. - + yuzu has not been compiled with OpenGL support. - + yuzu không được biên dịch với hỗ trợ OpenGL. - - + + Error while initializing OpenGL! Đã xảy ra lỗi khi khởi tạo OpenGL! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. - + GPU của bạn có thể không hỗ trợ OpenGL, hoặc bạn không có driver đồ hoạ mới nhất. - + Error while initializing OpenGL 4.6! - + Lỗi khi khởi tạo 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 - + GPU của bạn có thể không hỗ trợ OpenGL 4.6, hoặc bạn không có driver đồ hoạ mới nhất.<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 - + GPU của bạn có thể không hỗ trợ một hoặc nhiều tiện ích OpenGL cần thiết. Vui lòng đảm bảo bạn có driver đồ hoạ mới nhất.<br><br>GL Renderer:<br>%1<br><br>Tiện ích không hỗ trợ:<br>%2 GameList - - - Favorite - - - - - Start Game - - - Start Game without Custom Configuration - + Favorite + Ưa thích + Start Game + Bắt đầu game + + + + Start Game without Custom Configuration + Bắt đầu game mà không có cấu hình tuỳ chỉnh + + + Open Save Data Location Mở vị trí lưu dữ liệu - + Open Mod Data Location Mở vị trí chỉnh sửa dữ liệu - + Open Transferable Pipeline Cache - + Mở thư mục chứa bộ nhớ cache pipeline - + Remove Gỡ Bỏ - - - Remove Installed Update - - - - - Remove All Installed DLC - - - - - Remove Custom Configuration - - - - - Remove OpenGL Pipeline Cache - - - Remove Vulkan Pipeline Cache - + Remove Installed Update + Loại bỏ bản cập nhật đã cài + + + + Remove All Installed DLC + Loại bỏ tất cả DLC đã cài đặt - Remove All Pipeline Caches - + Remove Custom Configuration + Loại bỏ cấu hình tuỳ chỉnh - Remove All Installed Contents - + Remove Cache Storage + Xoá bộ nhớ cache + Remove OpenGL Pipeline Cache + Loại bỏ OpenGL Pipeline Cache + + + Remove Vulkan Pipeline Cache + Loại bỏ bộ nhớ cache pipeline Vulkan + + + + Remove All Pipeline Caches + Loại bỏ tất cả bộ nhớ cache shader + + + + Remove All Installed Contents + Loại bỏ tất cả nội dung đã cài đặt + + + + Dump RomFS Kết xuất RomFS - + Dump RomFS to SDMC - + Trích xuất RomFS tới 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 - + Tạo lối tắt + Add to Desktop + Thêm vào Desktop + + + + Add to Applications Menu + Thêm vào menu ứng dụng + + + Properties Thuộc tính - + Scan Subfolders - + Quét các thư mục con - + Remove Game Directory - + Loại bỏ thư mục game - + ▲ Move Up - + ▲ Di chuyển lên - + ▼ Move Down - + ▼ Di chuyển xuống - + Open Directory Location - + Mở vị trí thư mục - + 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ỡ @@ -5630,12 +5066,12 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Ingame - + Trong game Game starts, but crashes or major glitches prevent it from being completed. - + Game khởi động, nhưng gặp vấn đề hoặc lỗi nghiêm trọng đến việc không thể hoàn thành trò chơi. @@ -5645,17 +5081,17 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Game can be played without issues. - + Game có thể chơi mà không gặp vấn đề. Playable - + Có thể chơi Game functions with minor graphical or audio glitches and is playable from start to finish. - + Game hoạt động với lỗi hình ảnh hoặc âm thanh nhẹ và có thể chơi từ đầu tới cuối. @@ -5665,7 +5101,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Game loads, but is unable to progress past the Start Screen. - + Trò chơi đã tải, nhưng không thể qua Màn hình Bắt đầu. @@ -5691,9 +5127,9 @@ 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 - + Nháy đúp chuột để thêm một thư mục mới vào danh sách trò chơi game @@ -5701,15 +5137,15 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? %1 of %n result(s) - + %1 trong %n kết quả - + Filter: Bộ lọc: - + Enter pattern to filter Nhập khuôn để lọc @@ -5719,22 +5155,22 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? Create Room - + Tạo phòng Room Name - + Tên phòng Preferred Game - + Trò chơi ưa thích Max Players - + Số người chơi tối đa @@ -5744,195 +5180,196 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không? (Leave blank for open game) - + (Để trống cho game mở) Password - + Mật khẩu Port - + Cổng Room Description - + Nội dung phòng chơi Load Previous Ban List - + Tải danh sách ban trước đó Public - + Công khai Unlisted - + Không công khai Host Room - + Tạo phòng HostRoomWindow - + Error - + Lỗi - + 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: - + Công bố phòng công khai trong sảnh thất bại. Để tổ chức phòng công khai, bạn cần phải có một tài khoản yuzu hợp lệ tại Giả lập -> Thiết lập -> Web. Nếu không muốn công khai phòng trong sảnh, hãy chọn mục Không công khai. +Tin nhắn gỡ lỗi: Hotkeys - + Audio Mute/Unmute - + Tắt/Bật tiếng - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Main Window - + Cửa sổ chính - + Audio Volume Down - + Giảm âm lượng - + Audio Volume Up - + Tăng âm lượng - + Capture Screenshot Chụp ảnh màn hình - + Change Adapting Filter - + Thay đổi bộ lọc điều chỉnh - + Change Docked Mode - + Đổi chế độ Docked - + Change GPU Accuracy - + Thay đổi độ chính xác GPU - + Continue/Pause Emulation - + Tiếp tục/Tạm dừng giả lập - + Exit Fullscreen - + Thoát chế độ toàn màn hình - + Exit yuzu - + Thoát yuzu - + Fullscreen Toàn màn hình - + Load File Nạp tệp tin - + Load/Remove Amiibo - + Tải/Loại bỏ Amiibo - + Restart Emulation - + Khởi động lại giả lập - + Stop Emulation - + Dừng giả lập - + TAS Record - + Ghi lại TAS - + TAS Reset - + Đặt lại TAS - + TAS Start/Stop - + Bắt đầu/Dừng TAS - + Toggle Filter Bar - + Hiện/Ẩn thanh lọc - + Toggle Framerate Limit - + Bật/Tắt giới hạn tốc độ khung hình - + Toggle Mouse Panning - + Bật/Tắt di chuyển chuột - + Toggle Status Bar - + Hiện/Ẩn thanh trạng thái @@ -5953,18 +5390,19 @@ Debug Message: Cài đặt - + Install Files to NAND - + Cài đặt tập tin vào NAND LimitableInputDialog - + The text can't contain any of the following characters: %1 - + Văn bản không được chứa bất kỳ ký tự sau đây: +%1 @@ -5972,17 +5410,17 @@ Debug Message: Loading Shaders 387 / 1628 - + Đang tải shaders 387 / 1628 Loading Shaders %v out of %m - + Đang tải shaders %v trong số %m Estimated Time 5m 4s - + Thời gian ước tính 5m 4s @@ -6010,78 +5448,83 @@ Debug Message: Public Room Browser - + Duyệt phòng công khai Nickname - + Biệt danh Filters - + Lọc Search - + Tìm Games I Own - + Games tôi sở hữu + Hide Empty Rooms + Ẩn phòng trống + + + Hide Full Rooms - + Ẩn phòng đầy - + Refresh Lobby - + Làm mới sảnh - + Password Required to Join - + Yêu cầu mật khẩu để tham gia - + Password: - + Mật khẩu: - + Players Người chơi - - - Room Name - - - - - Preferred Game - - + Room Name + Tên phòng + + + + Preferred Game + Trò chơi ưa thích + + + Host - + Chủ phòng - + Refreshing - + Đang làm mới - + Refresh List - + Làm mới danh sách @@ -6099,7 +5542,7 @@ Debug Message: &Recent Files - + &Tập tin gần đây @@ -6114,57 +5557,57 @@ Debug Message: &Reset Window Size - + &Đặt lại kích thước cửa sổ &Debugging - + &Gỡ lỗi Reset Window Size to &720p - + Đặt lại kích thước cửa sổ về &720p Reset Window Size to 720p - + Đặt lại kích thước cửa sổ về 720p Reset Window Size to &900p - + Đặt lại kích thước cửa sổ về &900p Reset Window Size to 900p - + Đặt lại kích thước cửa sổ về 900p Reset Window Size to &1080p - + Đặt lại kích thước cửa sổ về &1080p Reset Window Size to 1080p - + Đặt lại kích thước cửa sổ về 1080p &Multiplayer - + &Nhiều người chơi &Tools - + &Công cụ &TAS - + &TAS @@ -6174,17 +5617,17 @@ Debug Message: &Install Files to NAND... - + &Cài đặt tập tin vào NAND... L&oad File... - + N&ạp tập tin... Load &Folder... - + Nạp &Thư mục @@ -6204,37 +5647,37 @@ Debug Message: &Reinitialize keys... - + &Khởi tạo lại keys... &About yuzu - + &Thông tin về yuzu Single &Window Mode - + &Chế độ cửa sổ đơn Con&figure... - + Cấu& hình Display D&ock Widget Headers - + Hiển thị tiêu đề công cụ D&ock Show &Filter Bar - + Hiện thanh &lọc Show &Status Bar - + Hiện thanh &trạng thái @@ -6244,82 +5687,82 @@ Debug Message: &Browse Public Game Lobby - + &Duyệt phòng game công khai &Create Room - + &Tạo phòng &Leave Room - + &Rời phòng &Direct Connect to Room - + &Kết nối trực tiếp tới phòng &Show Current Room - + &Hiện phòng hiện tại F&ullscreen - + T&oàn màn hình &Restart - + &Khởi động lại Load/Remove &Amiibo... - + Tải/Loại bỏ &Amiibo &Report Compatibility - + &Báo cáo tương thích Open &Mods Page - + Mở trang &mods Open &Quickstart Guide - + Mở &Hướng dẫn nhanh &FAQ - + &FAQ Open &yuzu Folder - + Mở thư mục &yuzu &Capture Screenshot - + &Chụp ảnh màn hình &Configure TAS... - + &Cấu hình TAS... Configure C&urrent Game... - + Cấu hình game hiện tại... @@ -6329,12 +5772,12 @@ Debug Message: &Reset - + &Đặt lại R&ecord - + G&hi @@ -6342,7 +5785,7 @@ Debug Message: &MicroProfile - + &MicroProfile @@ -6350,48 +5793,48 @@ Debug Message: Moderation - + Quản lý Ban List - + Danh sác ban Refreshing - + Đang làm mới Unban - + Unban Subject - + Đối tượng Type - + Loại Forum Username - + Tên người dùng trên diễn đàn IP Address - + Địa chỉ IP Refresh - + Làm mới @@ -6399,17 +5842,17 @@ Debug Message: Current connection status - + Tình trạng kết nối hiện tại Not Connected. Click here to find a room! - + Không kết nối. Nhấn vào đây để tìm một phòng! Not Connected - + Không kết nối @@ -6419,18 +5862,19 @@ Debug Message: New Messages Received - + Đã nhận được tin nhắn mới Error - + Lỗi Failed to update the room information. Please check your Internet connection and try hosting the room again. Debug Message: - + Không thể cập nhật thông tin phòng. Vui lòng kiểm tra kết nối Internet của bạn và thử tạo phòng lại. +Tin nhắn gỡ lỗi: @@ -6438,135 +5882,137 @@ Debug Message: Username is not valid. Must be 4 to 20 alphanumeric characters. - + Tên người dùng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái. Room name is not valid. Must be 4 to 20 alphanumeric characters. - + Tên phòng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái. Username is already in use or not valid. Please choose another. - + Tên người dùng đã được sử dụng hoặc không hợp lệ. Vui lòng chọn tên khác. IP is not a valid IPv4 address. - + Địa chỉ IP không phải là địa chỉ IPv4 hợp lệ. Port must be a number between 0 to 65535. - + Cổng phải là một số từ 0 đến 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. - + Bạn phải chọn một Game ưu thích để tạo một phòng. Nếu bạn chưa có bất kỳ game nào trong danh sách game của bạn, hãy thêm một thư mục game bằng cách nhấp vào biểu tượng dấu cộng trong danh sách game. Unable to find an internet connection. Check your internet settings. - + Không thể tìm thấy kết nối internet. Kiểm tra cài đặt internet của bạn. 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. - + Không thể kết nối tới máy chủ. Hãy kiểm tra xem các thiết lập kết nối có đúng không. Nếu vẫn không thể kết nối, hãy liên hệ với người chủ phòng và xác minh rằng máy chủ đã được cấu hình đúng cách với cổng ngoài được chuyển tiếp. Unable to connect to the room because it is already full. - + Không thể kết nối tới phòng vì nó đã đầy. Creating a room failed. Please retry. Restarting yuzu might be necessary. - + Tạo phòng thất bại. Vui lòng thử lại. Có thể cần khởi động lại yuzu. The host of the room has banned you. Speak with the host to unban you or try a different room. - + Chủ phòng đã ban bạn. Hãy nói chuyện với người chủ phòng để được unban, hoặc thử vào một phòng khác. 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. - + Phiên bản không khớp! Vui lòng cập nhật lên phiên bản mới nhất của yuzu. Nếu vấn đề vẫn tiếp tục, hãy liên hệ với người quản lý phòng và yêu cầu họ cập nhật máy chủ. Incorrect password. - + Mật khẩu sai An unknown error occurred. If this error continues to occur, please open an issue - + Đã xảy ra lỗi không xác định. Nếu lỗi này tiếp tục xảy ra, vui lòng mở một issue Connection to room lost. Try to reconnect. - + Mất kết nối với phòng. Hãy thử kết nối lại. You have been kicked by the room host. - + Bạn đã bị kick bởi chủ phòng. IP address is already in use. Please choose another. - + Địa chỉ IP đã được sử dụng. Vui lòng chọn một địa chỉ khác. You do not have enough permission to perform this action. - + Bạn không có đủ quyền để thực hiên hành động này. The user you are trying to kick/ban could not be found. They may have left the room. - + Không thể tìm thấy người dùng bạn đang cố gắng kick/ban. +Họ có thể đã rời phòng. No valid network interface is selected. Please go to Configure -> System -> Network and make a selection. - + Không có giao diện mạng hợp lệ được chọn. Vui lòng vào Cấu hình -> Hệ thống -> Mạng và thực hiện lựa chọn. Game already running - + Trò chơi đang chạy Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly. Proceed anyway? - + Khuyến khích không tham gia phòng khi game đang chạy, điều này có thể làm cho tính năng phòng không hoạt động đúng cách. +Tiếp tục? Leave Room - + Rời khỏi phòng You are about to close the room. Any network connections will be closed. - + Bạn sắp đóng phòng. Mọi kết nối mạng sẽ bị đóng. Disconnect - + Ngắt kết nối You are about to leave the room. Any network connections will be closed. - + Bạn sắp rời khỏi phòng. Mọi kết nối mạng sẽ bị đóng. @@ -6574,7 +6020,7 @@ Proceed anyway? Error - + Lỗi @@ -6582,7 +6028,7 @@ Proceed anyway? Dialog - + Hộp thoại @@ -6603,15 +6049,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 - + BẮT ĐẦU/TẠM DỪNG @@ -6619,70 +6069,70 @@ p, li { white-space: pre-wrap; } %1 is not playing a game - + %1 hiện không chơi game %1 is playing %2 - + %1 đang chơi %2 Not playing a game - + Hiện không chơi game Installed SD Titles - + Các title đã cài đặt trên thẻ SD Installed NAND Titles - + Các title đã cài đặt trên NAND System Titles - + Titles hệ thống Add New Game Directory - + Thêm thư mục game Favorites - + Ưa thích - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [chưa đặt nút] @@ -6693,14 +6143,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Trục %1%2 @@ -6711,264 +6161,322 @@ 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 - + + L1 + L1 - - L3 - + + L2 + L2 - - R1 - + + L3 + L3 - - R2 - + + R1 + R1 - - R3 - + + R2 + R2 - - Circle - + + R3 + R3 - - Cross - + + Circle + Tròn - - Square - + + Cross + X - - Triangle - + + Square + Hình vuông - - Share - + + Triangle + Hình tam giác - - Options - + + Share + Chia sẻ - + + Options + Tuỳ chọn + + + + [undefined] - - - - - %1%2 - - - - - - [invalid] - - - - - - - - %1%2Hat %3 - - - - - - - - - - %1%2Axis %3 - - - - - - %1%2Axis %3,%4,%5 - - - - - - %1%2Motion %3 - - - - - - - - %1%2Button %3 - + [không xác định] - + %1%2 + %1%2 + + + + + [invalid] + [không hợp lệ] + + + + + %1%2Hat %3 + %1%2Mũ %3 + + + + + + + %1%2Axis %3 + %1%2Trục %3 + + + + + %1%2Axis %3,%4,%5 + %1%2Trục %3,%4,%5 + + + + + %1%2Motion %3 + %1%2Chuyển động %3 + + + + + %1%2Button %3 + %1%2Nút %3 + + + + [unused] [không sử dụng] - + + ZR + ZR + + + + ZL + ZL + + + + SR + SR + + + + SL + SL + + + + Stick L + Cần L + + + + Stick R + Cần R + + + + Plus + Cộng + + + + Minus + Trừ + + + + Home Home - + + Capture + Chụp + + + Touch Cảm Ứng - + Wheel Indicates the mouse wheel - + Con lăn - + Backward - + Lùi - + Forward - + Tiến - + Task - + Nhiệm vụ - + Extra - + Thêm - - %1%2%3 - + + %1%2%3%4 + %1%2%3%4 + + + + + %1%2%3Hat %4 + %1%2%3Mũ %4 + + + + + %1%2%3Axis %4 + %1%2%3Trục %4 + + + + + %1%2%3Button %4 + %1%2%3Nút %4 @@ -6976,22 +6484,22 @@ p, li { white-space: pre-wrap; } Amiibo Settings - + Cài đặt Amiibo Amiibo Info - + Thông tin Amiibo Series - + Loạt Type - + Loại @@ -7001,52 +6509,52 @@ p, li { white-space: pre-wrap; } Amiibo Data - + Dữ liệu Amiibo Custom Name - + Tên tuỳ chỉnh Owner - + Chủ sở hữu Creation Date - + Ngày tạo dd/MM/yyyy - + dd/MM/yyyy Modification Date - + Ngày thay đổi dd/MM/yyyy - + dd/MM/yyyy Game Data - + Dữ liệu game Game Id - + Id game Mount Amiibo - + Gắn Amiibo @@ -7056,32 +6564,32 @@ p, li { white-space: pre-wrap; } File Path - + Đường dẫn tập tin No game data present - + Hiện tại không có dữ liệu game The following amiibo data will be formatted: - + Dữ liệu amiibo sau sẽ được định dạng: The following game data will removed: - + Dữ liệu game sau sẽ bị xoá: Set nickname and owner: - + Đặt biệt danh và chủ sỡ hữu: Do you wish to restore this amiibo? - + Bạn có muốn khôi phục amiibo này không? @@ -7089,27 +6597,27 @@ p, li { white-space: pre-wrap; } Controller Applet - + Applet tay cầm Supported Controller Types: - + Loại tay cầm được hỗ trợ: Players: - + Người chơi: 1 - 8 - + 1 - 8 P4 - + P4 @@ -7120,7 +6628,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Tay cầm Pro Controller @@ -7133,7 +6641,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons Joycon đôi @@ -7146,7 +6654,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon Joycon Trái @@ -7159,7 +6667,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon Joycon Phải @@ -7173,49 +6681,49 @@ p, li { white-space: pre-wrap; } Use Current Config - + Dùng cấu hình hiện tại P2 - + P2 P1 - + P1 - + Handheld Cầm tay P3 - + P3 P7 - + P7 P8 - + P8 P5 - + P5 P6 - + P6 @@ -7241,7 +6749,7 @@ p, li { white-space: pre-wrap; } Motion - + Chuyển động @@ -7251,12 +6759,12 @@ p, li { white-space: pre-wrap; } Create - + Tạo Controllers - + Tay cầm @@ -7304,65 +6812,71 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller Tay cầm GameCube - - - Poke Ball Plus - - - NES Controller - + Poke Ball Plus + Poke Ball Plus - SNES Controller - + NES Controller + Tay cầm NES - N64 Controller - + SNES Controller + Tay cầm SNES + N64 Controller + Tay cầm N64 + + + Sega Genesis - + Sega Genesis QtErrorDisplay - - - + + + Error Code: %1-%2 (0x%3) - + Mã lỗi: %1-%2 (0x%3) - + An error has occurred. Please try again or contact the developer of the software. - + Một lỗi đã xảy ra. +Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm. - + An error occurred on %1 at %2. Please try again or contact the developer of the software. - + Một lỗi đã xảy ra tại %1 vào %2. +Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm. - + An error has occurred. %1 %2 - + Một lỗi đã xảy ra. + +%1 + +%2 @@ -7376,20 +6890,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 + Tạo hồ sơ + + + + Profile Selector Chọn hồ sơ + + + Profile Icon Editor + Sửa biểu tượng hồ sơ + + + + Profile Nickname Editor + Sửa biệt danh hồ sơ + + + + Who will receive the points? + Ai sẽ nhận điểm? + + + + Who is using Nintendo eShop? + Ai đang sử dụng Nintendo eShop? + + + + Who is making this purchase? + Ai đang thực hiện giao dịch này? + + + + Who is posting? + Ai đang đăng bài? + + + + Select a user to link to a Nintendo Account. + Chọn một người dùng để liên kết với tài khoản Nintendo. + + + + Change settings for which user? + Thay đổi cài đặt cho người dùng nào? + + + + Format data for which user? + Định dạng dữ liệu cho người dùng nào? + + + + Which user will be transferred to another console? + Người dùng nào sẽ được chuyển tới console khác? + + + + Send save data for which user? + Gửi dữ liệu save cho người dùng nào? + + + + Select a user: + Chọn một người dùng: + QtSoftwareKeyboardDialog @@ -7401,7 +6976,7 @@ Please try again or contact the developer of the software. Enter Text - + Nhập văn bản @@ -7410,7 +6985,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> @@ -7429,57 +7008,26 @@ p, li { white-space: pre-wrap; } Enter a hotkey - + Nhập một phím tắt 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 + [%1] %2 - + waited by no thread chờ đợi bởi vì không có luồng @@ -7487,120 +7035,110 @@ p, li { white-space: pre-wrap; } WaitTreeThread - + runnable - + có thể chạy - + 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 - + đang chờ biến điều kiện - + waiting for address arbiter chờ đợi địa chỉ người đứng giữa - + waiting for suspend resume - + đang đợi để tạm dừng và tiếp tục - + waiting - + đang chờ - + initialized - + đã khởi tạo - + terminated - + đã chấm dứt - + unknown - + không xác định - + PC = 0x%1 LR = 0x%2 PC = 0x%1 LR = 0x%2 - + ideal - + lý tưởng - + 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,9 +7146,9 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree - + &Cây Đợi \ No newline at end of file diff --git a/dist/languages/zh_CN.ts b/dist/languages/zh_CN.ts index abbe2b408..6b480893f 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 - 有,游戏在特定区段无法继续 + 不,游戏在特定区段无法继续 @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. 下一步 + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + 自动 (%1) + + + + Default (%1) + Default time zone + 默认 (%1) + + ConfigureAudio @@ -373,47 +393,6 @@ This would ban both their forum username and their IP address. Audio 声音 - - - Output Engine: - 输出引擎: - - - - Output Device - 输出设备 - - - - Input Device - 输入设备 - - - - Use global volume - 使用全局音量 - - - - Set volume: - 音量: - - - - Volume: - 音量: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera @@ -476,137 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General 通用 - - - Accuracy: - 精度: - - - - Auto - 自动 - - - - Accurate - 精确 - - Unsafe - 低精度 - - - - Paranoid (disables most optimizations) - 偏执模式 (禁用绝大多数优化项) - - - We recommend setting accuracy to "Auto". 我们建议将精度设置为“自动”。 - + Unsafe CPU Optimization Settings 低精度 CPU 优化选项 - + These settings reduce accuracy for speed. 这些设置项提高了运行速度,但精度有所降低。 - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -<div>该选项通过降低积和熔加运算的精度而提高模拟器在不支持 FMA 指令集 CPU 上的运行速度。</div> - - - - Unfuse FMA (improve performance on CPUs without FMA) - 低精度 FMA (在 CPU 不支持 FMA 指令集的情况下提高性能) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>该选项通过使用精度较低的近似值来提高某些浮点函数的运算速度。</div> - - - - Faster FRSQRTE and FRECPE - 快速 FRSQRTE 和 FRECPE - - - - - <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 位) - - - - - <div>This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.</div> - - -<div>该选项通过取消非数检查来提高速度。请注意,这也会降低某些浮点指令的精确度。</div> - - - - - Inaccurate NaN handling - 低精度非数处理 - - - - - <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 - 忽略全局监视器 - - - - CPU settings are available only when game is not running. - 只有当游戏不在运行时,CPU 设置才可用。 - ConfigureCpuDebug @@ -824,212 +691,222 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger 调试器 - + Enable GDB Stub 开启 GDB 调试 - + Port: 端口: - + Logging 日志 - - Global Log Filter - 全局日志过滤器 - - - - Show Log in Console - 显示日志窗口 - - - + Open Log Location 打开日志位置 - + + Global Log Filter + 全局日志过滤器 + + + When checked, the max size of the log increases from 100 MB to 1 GB 选中此项后,日志文件的最大大小从 100MB 增加到 1GB - + Enable Extended Logging** 启用扩展的日志记录** - + + Show Log in Console + 显示日志窗口 + + + Homebrew 自制游戏 - + Arguments String 参数字符串 - + Graphics 图形 - - When checked, the graphics API enters a slower debugging mode - 启用时,图形 API 将进入较慢的调试模式。 - - - - Enable Graphics Debugging - 启用图形调试 - - - - When checked, it enables Nsight Aftermath crash dumps - 启用后,yuzu 将会保存 Nsight Aftermath 格式的崩溃转储文件 - - - - Enable Nsight Aftermath - 启用 Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - 启用时,将从磁盘着色器缓存或游戏中转储所有的着色器文件。 - - - - Dump Game Shaders - 转储着色器文件 - - - - When checked, it will dump all the macro programs of the GPU - 选中后,将转储 GPU 的所有宏程序 - - - - Dump Maxwell Macros - 转储 Maxwell 宏 - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - 启用时,将禁用宏即时编译器。这会降低游戏运行速度。 - - - - Disable Macro JIT - 禁用宏 JIT - - - - 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 - 调试选项 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + 启用时,将从磁盘着色器缓存或游戏中转储所有的着色器文件。 - - Enable Verbose Reporting Services** - 启用详细报告服务** + + Dump Game Shaders + 转储着色器文件 - - Enable FS Access Log - 启用文件系统访问记录 + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 启用时,将禁用宏高阶模拟。这会降低游戏运行速度。 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - 启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。 + + Disable Macro HLE + 禁用宏高阶模拟 - - Dump Audio Commands To Console** - 将音频命令转储至控制台** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + 启用时,将禁用宏即时编译器。这会降低游戏运行速度。 - - Create Minidump After Crash - 微型故障转储 + + Disable Macro JIT + 禁用宏即时编译 - + + When checked, the graphics API enters a slower debugging mode + 启用时,图形 API 将进入较慢的调试模式。 + + + + Enable Graphics Debugging + 启用图形调试 + + + + When checked, it will dump all the macro programs of the GPU + 选中后,将转储 GPU 的所有宏程序 + + + + Dump Maxwell Macros + 转储 Maxwell 宏 + + + + When checked, yuzu will log statistics about the compiled pipeline cache + 选中时,yuzu 将记录有关已编译着色器缓存的统计信息。 + + + + Enable Shader Feedback + 启用着色器反馈 + + + + When checked, it enables Nsight Aftermath crash dumps + 启用后,yuzu 将会保存 Nsight Aftermath 格式的崩溃转储文件 + + + + Enable Nsight Aftermath + 启用 Nsight Aftermath + + + 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 检测 - + + Disable Web Applet + 禁用 Web 应用程序 + + + + Enable All Controller Types + 启用其他类型的控制器 + + + + Enable Auto-Stub** + 启用自动函数打桩(Auto-Stub)** + + + + Kiosk (Quest) Mode + Kiosk (Quest) 模式 + + + + Enable CPU Debugging + 启用 CPU 模拟调试 + + + + Enable Debug Asserts + 启用调试 + + + + Debugging + 调试选项 + + + + Enable FS Access Log + 启用文件系统访问记录 + + + + Create Minidump After Crash + 微型故障转储 + + + + 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** + 将音频命令转储至控制台** + + + + Enable Verbose Reporting Services** + 启用详细报告服务** + + + **This will be reset automatically when yuzu closes. **该选项将在 yuzu 关闭时自动重置。 @@ -1044,12 +921,12 @@ This would ban both their forum username and their IP address. 重启 yuzu 后才能应用此设置。 - + Web applet not compiled Web 应用程序未编译 - + MiniDump creation not compiled 微型转储未编译 @@ -1059,7 +936,7 @@ This would ban both their forum username and their IP address. Configure Debug Controller - 调试控制器设置 + 控制器调试设置 @@ -1099,78 +976,83 @@ This would ban both their forum username and their IP address. yuzu 设置 - - + + Some settings are only available when a game is not running. + 只有当游戏不在运行时,某些设置项才可用。 + + + + Audio 声音 - - + + CPU CPU - + Debug 调试 - + Filesystem 文件系统 - - + + General 通用 - - + + Graphics 图形 - + GraphicsAdvanced 高级图形选项 - + Hotkeys 热键 - - + + Controls 控制 - + Profiles 用户配置 - + Network 网络 - - + + System 系统 - + Game List 游戏列表 - + Web 网络 @@ -1320,7 +1202,7 @@ This would ban both their forum username and their IP address. Form - Form + 类型 @@ -1329,62 +1211,17 @@ This would ban both their forum username and their IP address. 通用 - - Limit Speed Percent - 运行速度限制 - - - - % - % - - - - Multicore CPU Emulation - 多核 CPU 仿真 - - - - 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 - 自动隐藏鼠标光标 - - - + 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 +1231,7 @@ This would ban both their forum username and their IP address. Form - Form + 类型 @@ -1407,257 +1244,45 @@ This would ban both their forum username and their IP address. API 设置 - - Shader Backend: - 着色器后端: - - - - Device: - 设备: - - - - API: - API: - - - - - None - - - - + Graphics Settings 图形设置 - - Use disk pipeline cache - 启用磁盘着色器缓存 - - - - Use asynchronous GPU emulation - 使用 GPU 异步模拟 - - - - Accelerate ASTC texture decoding - 加速 ASTC 格式材质解码 - - - - 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) - - - - 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: - 窗口滤镜: - - - - Nearest Neighbor - 近邻取样 - - - - Bilinear - 双线性过滤 - - - - Bicubic - 双三线过滤 - - - - Gaussian - 高斯模糊 - - - - ScaleForce - 强制缩放 - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 超级分辨率锐画技术 (仅限 Vulkan 模式) - - - - Anti-Aliasing Method: - 抗锯齿方式: - - - - FXAA - 快速近似抗锯齿 - - - - 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 + 垂直同步开 @@ -1677,86 +1302,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings 高级图形选项 - - - Accuracy Level: - 精度: - - - - 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. - 垂直同步可防止画面产生撕裂感。但启用垂直同步后,某些设备性能可能会有所降低。如果您没有感到性能差异,请保持启用状态。 - - - - 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. - 启用快速 GPU 时钟。此选项将强制大多数游戏以其最高分辨率运行。 - - - - Use Fast GPU Time (Hack) - 启用快速 GPU 时钟 (不稳定) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 启用悲观缓冲区刷新。此选项将强制刷新未修改的缓冲区,可能会降低性能。 - - - - Use pessimistic buffer flushes (Hack) - 启用悲观缓冲区刷新 (不稳定) - - - - Anisotropic Filtering: - 各向异性过滤: - - - - Automatic - 自动 - - - - Default - 系统默认 - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1786,72 +1331,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 +1681,7 @@ This would ban both their forum username and their IP address. - + Configure 设置 @@ -2167,6 +1707,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu 需要重启 yuzu @@ -2186,22 +1728,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 +1860,7 @@ This would ban both their forum username and their IP address. - + Left Stick 左摇杆 @@ -2407,14 +1954,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2433,7 +1980,7 @@ This would ban both their forum username and their IP address. - + Plus @@ -2446,15 +1993,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2511,236 +2058,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 +2356,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 设置 @@ -2824,7 +2392,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 测试 @@ -2844,81 +2412,180 @@ 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 mouse panning + 启用鼠标平移 + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + 可通过热键来切换。默认的热键为 Ctrl + F9 + + + + Sensitivity + 灵敏度 + + + + Horizontal + 水平方向 + + + + + + + + % + % + + + + Vertical + 垂直方向 + + + + Deadzone counterweight + 调整死区 + + + + Counteracts a game's built-in deadzone + 抵消游戏内置的死区 + + + + Deadzone + 死区 + + + + Stick decay + 摇杆漂移 + + + + Strength + 强烈程度 + + + + Minimum + 最小值 + + + + Default + 系统默认 + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + 鼠标平移在死区设置为 0% 和灵敏度设置为 100% 时效果更好。 +当前值分别为 %1% 和 %2% 。 + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + 已启用模拟鼠标。模拟鼠标与鼠标平移不兼容。 + + + + 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. + 实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。 + + ConfigureNetwork @@ -2950,100 +2617,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog 对话框 - + Info 信息 - + Name 名称 - + Title ID 游戏 ID - + Filename 文件名 - + Format 格式 - + Version 版本 - + Size 大小 - + Developer 开发商 - + + Some settings are only available when a game is not running. + 只有当游戏不在运行时,某些设置项才可用。 + + + Add-Ons 附加项 - - General - 通用 - - - + System 系统 - + CPU CPU - + Graphics 图形 - + Adv. Graphics 高级图形 - + Audio 声音 - + Input Profiles 输入配置文件 - + Properties 属性 - - - Use global configuration (%1) - 使用全局设置 (%1) - ConfigurePerGameAddons @@ -3238,13 +2900,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 +2926,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,453 +3024,23 @@ UUID: %2 Form - Form + 类型 + System 系统 - - System Settings - 系统设置 + + Core + 核心 - - Region: - 地区: - - - - Auto - 自动 - - - - Default - 系统默认 - - - - CET - 欧洲中部时间 - - - - CST6CDT - 古巴标准时间&古巴夏令时 - - - - Cuba - 古巴 - - - - EET - 东欧时间 - - - - Egypt - 埃及 - - - - Eire - 爱尔兰 - - - - EST - 东部标准时间 - - - - EST5EDT - 东部标准时间&东部夏令时 - - - - GB - 国家标准时间 - - - - GB-Eire - 爱尔兰国家标准时间 - - - - GMT - 格林威治标准时间 (GMT) - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - 格林威治 - - - - Hongkong - 中国香港 - - - - HST - 美国夏威夷时间 - - - - Iceland - 冰岛 - - - - Iran - 伊朗 - - - - Israel - 以色列 - - - - Jamaica - 牙买加 - - - - - Japan - 日本 - - - - Kwajalein - 夸贾林环礁 - - - - Libya - 利比亚 - - - - MET - 中欧时间 - - - - MST - 山区标准时间 (北美) - - - - MST7MDT - 山区标准时间&山区夏令时 (北美) - - - - Navajo - 纳瓦霍 - - - - NZ - 新西兰时间 - - - - NZ-CHAT - 新西兰-查塔姆群岛 - - - - Poland - 波兰 - - - - Portugal - 葡萄牙 - - - - PRC - 中国标准时间 - - - - PST8PDT - 太平洋标准时间&太平洋夏令时 - - - - ROC - 台湾时间 - - - - ROK - 韩国时间 - - - - Singapore - 新加坡 - - - - Turkey - 土耳其 - - - - UCT - UCT - - - - Universal - 世界时间 - - - - UTC - 协调世界时 - - - - W-SU - 欧洲-莫斯科时间 - - - - WET - 西欧时间 - - - - Zulu - 祖鲁 - - - - USA - 美国 - - - - Europe - 欧洲 - - - - Australia - 澳大利亚 - - - - China - 中国 - - - - Korea - 韩国 - - - - Taiwan - 中国台湾 - - - - Time Zone: - 时区: - - - - Note: this can be overridden when region setting is auto-select - 注意:当“地区”设置是“自动选择”时,此设置可能会被覆盖。 - - - - Japanese (日本語) - 日语 (日本語) - - - - English - 英语 - - - - French (français) - 法语 (français) - - - - German (Deutsch) - 德语 (Deutsch) - - - - Italian (italiano) - 意大利语 (italiano) - - - - Spanish (español) - 西班牙语 (español) - - - - Chinese - 中文 - - - - Korean (한국어) - 韩语 (한국어) - - - - Dutch (Nederlands) - 荷兰语 (Nederlands) - - - - Portuguese (português) - 葡萄牙语 (português) - - - - Russian (Русский) - 俄语 (Русский) - - - - Taiwanese - 台湾中文 - - - - British English - 英式英语 - - - - Canadian French - 加拿大法语 - - - - Latin American Spanish - 拉美西班牙语 - - - - Simplified Chinese - 简体中文 - - - - Traditional Chinese (正體中文) - 繁体中文 (正體中文) - - - - Brazilian Portuguese (português do Brasil) - 巴西-葡萄牙语 (português do Brasil) - - - - Custom RTC - 自定义系统时间 - - - - Language - 语言 - - - - RNG Seed - 随机数生成器种子 - - - - Device Name - 设备名称 - - - - Mono - 单声道 - - - - 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 +3109,7 @@ UUID: %2 TAS 设置 - + Select TAS Load Directory... 选择 TAS 载入目录... @@ -3879,7 +3173,7 @@ Drag points to change position, or double-click table cells to edit values. New Profile - 保存自定义设置 + 新建自定义设置 @@ -3953,64 +3247,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None - + Small (32x32) 小 (32x32) - + Standard (64x64) 标准 (64x64) - + Large (128x128) 大 (128x128) - + Full Size (256x256) 最大 (256x256) - + Small (24x24) 小 (24x24) - + Standard (48x48) 标准 (48x48) - + Large (72x72) 大 (72x72) - + Filename 文件名 - + Filetype 文件类型 - + Title ID 游戏 ID - + Title Name 游戏名称 @@ -4035,7 +3329,7 @@ Drag points to change position, or double-click table cells to edit values. Note: Changing language will apply your configuration. - 注意: 切换语言将应用您的配置。 + 注意: 切换语言将直接应用您当前的配置。 @@ -4113,15 +3407,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + 文本水印 + + + + Resolution: + 分辨率: + + + Select Screenshots Path... 选择截图保存位置... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + 自动 (%1 x %2, %3 x %4) + ConfigureVibration @@ -4208,7 +3518,7 @@ Drag points to change position, or double-click table cells to edit values. Form - Form + 类型 @@ -4371,7 +3681,7 @@ Drag points to change position, or double-click table cells to edit values.控制器 P1 - + &Controller P1 控制器 P1 (&C) @@ -4384,42 +3694,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 +3732,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 连接中 - + Connect 连接 @@ -4440,926 +3745,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 +4655,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 +4694,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,48 +4744,143 @@ 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 - - + + OpenGL not available! OpenGL 模式不可用! - + OpenGL shared contexts are not supported. 不支持 OpenGL 共享上下文。 - + yuzu has not been compiled with OpenGL support. yuzu 没有使用 OpenGL 进行编译。 - - + + Error while initializing OpenGL! 初始化 OpenGL 时出错! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. 您的 GPU 可能不支持 OpenGL ,或者您没有安装最新的显卡驱动。 - + Error while initializing OpenGL 4.6! 初始化 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 您的 GPU 可能不支持 OpenGL 4.6 ,或者您没有安装最新的显卡驱动。<br><br>GL 渲染器:<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 您的 GPU 可能不支持某些必需的 OpenGL 扩展。请确保您已经安装最新的显卡驱动。<br><br>GL 渲染器:<br>%1<br><br>不支持的扩展:<br>%2 @@ -5503,168 +4888,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite 收藏 - + Start Game 开始游戏 - + Start Game without Custom Configuration 使用公共设置项进行游戏 - + Open Save Data Location 打开存档位置 - + Open Mod Data Location 打开 MOD 数据位置 - + Open Transferable Pipeline Cache 打开可转移着色器缓存 - + Remove 删除 - + Remove Installed Update 删除已安装的游戏更新 - + Remove All Installed DLC 删除所有已安装 DLC - + Remove Custom Configuration 删除自定义设置 - + + 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 +5094,7 @@ Would you like to bypass this and exit anyway? Intro/Menu - 开场 / 菜单 + 开场/菜单 @@ -5714,12 +5104,12 @@ Would you like to bypass this and exit anyway? Won't Boot - 无法打开 + 无法启动 The game crashes when attempting to startup. - 在启动游戏时直接崩溃了。 + 在启动游戏时直接崩溃。 @@ -5735,9 +5125,9 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list - 双击以添加新的游戏文件夹 + 双击添加新的游戏文件夹 @@ -5748,12 +5138,12 @@ Would you like to bypass this and exit anyway? %1 / %n 个结果 - + Filter: 搜索: - + Enter pattern to filter 搜索游戏 @@ -5829,12 +5219,12 @@ Would you like to bypass this and exit anyway? HostRoomWindow - + Error 错误 - + 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: 向公共大厅公开房间时失败。为了创建公开房间,您必须在模拟 -> 设置 -> 网络中配置有效的 yuzu 帐户。如果不想在公共大厅中公开房间,请选择“未列出”。 @@ -5844,138 +5234,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 +5388,7 @@ Debug Message: 安装 - + Install Files to NAND 安装文件到 NAND @@ -6006,7 +5396,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 文本中不能包含以下字符: @@ -6081,51 +5471,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 +6058,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 开始/暂停 @@ -6712,31 +6107,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未设置] @@ -6747,14 +6142,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 轴 %1%2 @@ -6765,264 +6160,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 @@ -7174,7 +6627,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro Controller @@ -7187,7 +6640,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons 双 Joycons 手柄 @@ -7200,7 +6653,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon 左 Joycon 手柄 @@ -7213,7 +6666,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon 右 Joycon 手柄 @@ -7242,7 +6695,7 @@ p, li { white-space: pre-wrap; } - + Handheld 掌机模式 @@ -7358,32 +6811,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller GameCube 控制器 - + Poke Ball Plus 精灵球 PLUS - + NES Controller NES 控制器 - + SNES Controller SNES 控制器 - + N64 Controller N64 控制器 - + Sega Genesis 世嘉创世纪 @@ -7391,28 +6844,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 +6889,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 +7007,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 +7034,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 +7145,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..4bded2710 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 - 踢出玩家 + 踢除玩家 @@ -262,82 +262,82 @@ This would ban both their forum username and their IP address. No The game crashes or freezes while loading or using the menu - 不,加載或使用菜單時遊戲崩潰或卡死 + 不,加載或使用選單時遊戲崩潰或卡死 <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 - 不,游戏运行时出现卡死或崩溃 + 否,遊玩過程中會出現當機或凍結 <html><head/><body><p>Does the game work without crashing, freezing or locking up during gameplay?</p></body></html> - <html><head/><body><p>游戏在运行时有没有崩溃、卡死或出现软锁?</p></body></html> + <html><head/><body><p>遊戲在遊玩時有沒有當機、凍結或鎖死?</p></body></html> Yes The game can be finished without any workarounds - 没有,可以顺利地完成整个游戏过程 + 沒有,可以順利地完成整個遊戲過程 No The game can't progress past a certain area - 有,游戏在特定区段无法继续 + 有,遊戲在特定區域無法繼續 <html><head/><body><p>Is the game completely playable from start to finish?</p></body></html> - <html><head/><body><p>游戏从头到尾都可以顺利运行吗?</p></body></html> + <html><head/><body><p>遊戲從頭到尾都可以順利運行嗎?</p></body></html> Major The game has major graphical errors - 严重 游戏在运行时有严重的图像错误 + 嚴重 遊戲在運行時有嚴重的圖形錯誤 Minor The game has minor graphical errors - 轻微 游戏在运行时有轻微的图形错误 + 輕微 遊戲在運行時有輕微的圖形錯誤 None Everything is rendered as it looks on the Nintendo Switch - 完美 媲美实机的游戏体验 + 完美 媲美實機的遊戲體驗 <html><head/><body><p>Does the game have any graphical glitches?</p></body></html> - <html><head/><body><p>游戏运行时出现了图形问题吗?</p></body></html> + <html><head/><body><p>遊戲運行時出現了圖形問題嗎?</p></body></html> Major The game has major audio errors - 严重 游戏运行时出现严重的音频错误 + 嚴重 遊戲運行時出現嚴重的音訊錯誤 Minor The game has minor audio errors - 轻微 游戏运行时出现轻微的音频错误 + 輕微 遊戲運行時出現輕微的音訊錯誤 None Audio is played perfectly - 完美 游戏运行时音频未出现任何问题 + 完美 遊戲運行時音訊未出現任何問題 <html><head/><body><p>Does the game have any audio glitches / missing effects?</p></body></html> - <html><head/><body><p>游戏是否出现音频故障/效果缺失?</p></body></html> + <html><head/><body><p>遊戲是否出現音訊問題/特效消失?</p></body></html> @@ -365,6 +365,26 @@ This would ban both their forum username and their IP address. 下一步 + + ConfigurationShared + + + % + % + + + + Auto (%1) + Auto select time zone + 自動 (%1) + + + + Default (%1) + Default time zone + 預設 (%1) + + ConfigureAudio @@ -373,84 +393,43 @@ This would ban both their forum username and their IP address. Audio 音訊 - - - Output Engine: - 輸出引擎: - - - - Output Device - 输出设备 - - - - Input Device - 輸入裝置: - - - - Use global volume - 使用全域音量 - - - - Set volume: - 音量: - - - - Volume: - 音量: - - - - 0 % - 0 % - - - - %1% - Volume percentage (e.g. 50%) - %1% - ConfigureCamera Configure Infrared Camera - 配置红外摄像头 + 配置红外線攝影機 Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera. - 选择模拟摄像头的图像来源。它可以是虚拟摄像头或一个真实的摄像头。 + 選擇模擬攝影機的影像來源。它可以是虛擬攝影機或一個真實的攝影機。 Camera Image Source: - 摄像头图像来源: + 相機影像來源: Input device: - 输入设备: + 輸入裝置: Preview - 预览 + 預覽 Resolution: 320*240 - 分辨率: 320*240 + 解析度:320*240 Click to preview - 点击进行预览 + 按一下以預覽 @@ -476,139 +455,25 @@ This would ban both their forum username and their IP address. CPU - + General 一般 - - - Accuracy: - 精度: - - - - Auto - 自動 - - - - Accurate - 高精度 - - Unsafe - 低精度 - - - - Paranoid (disables most optimizations) - 偏执模式 (禁用绝大多数优化项) - - - We recommend setting accuracy to "Auto". 建議使用「自動」選項 - + Unsafe CPU Optimization Settings - 低精度CPU效能改善選項 + 低精度 CPU 最佳化選項 - + These settings reduce accuracy for speed. 這些設定會降低精度以換取效能 - - - - <div>This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.</div> - - -<div>此選項在不支援 FMA 的 CPU 上透過降低加、乘法混合指令的精度來提高效能。</div> - - - - - Unfuse FMA (improve performance on CPUs without FMA) - 不使用 FMA 指令集(能使不支援 FMA 指令集的 CPU 提高效能) - - - - - <div>This option improves the speed of some approximate floating-point functions by using less accurate native approximations.</div> - - -<div>此選項使用低精度的原生求近似值法來提高某些計算近似浮點數函式的速度。</div> - - - - - Faster FRSQRTE and FRECPE - 更快的 FRSQRTE 和 FRECPE - - - - - <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 位元) - - - - - <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 處理 - - - - - <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 - 忽略全局监视器 - - - - CPU settings are available only when game is not running. - 僅在遊戲未執行時才能調整 CPU 設定 - ConfigureCpuDebug @@ -625,7 +490,7 @@ This would ban both their forum username and their IP address. Toggle CPU Optimizations - 切換 CPU 效能改善選項 + 切換 CPU 最佳化 @@ -647,7 +512,7 @@ This would ban both their forum username and their IP address. Enable inline page tables - Enable inline page tables + 啟用內嵌分頁表 @@ -661,7 +526,7 @@ This would ban both their forum username and their IP address. Enable block linking - Enable block linking + 啟用區塊連結 @@ -765,7 +630,7 @@ This would ban both their forum username and their IP address. Enable Host MMU Emulation (general memory instructions) - 启用宿主机 MMU 仿真 (通用内存指令) + 啟用主機 MMU 仿真 (通用記憶體指令) @@ -775,15 +640,15 @@ This would ban both their forum username and their IP address. <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> + <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 仿真 (独占内存指令) + 啟用主機 MMU 仿真 (專屬記憶體指令) @@ -792,14 +657,14 @@ This would ban both their forum username and their IP address. <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> +<div style="white-space: nowrap">此優化能提高正在運行的遊戲對專屬記憶體的存取速度。</div> +<div style="white-space: nowrap">啟用此功能將減少專屬記憶體存取條件下 fastmem 機制失敗帶來的性能損耗。</div> Enable recompilation of exclusive memory instructions - 启用独占内存指令的重新编译 + 啟用專屬記憶體指令的重新編譯 @@ -826,232 +691,242 @@ This would ban both their forum username and their IP address. ConfigureDebug - + Debugger - 调试器 + 偵錯工具 - + Enable GDB Stub 开启 GDB 调试 - + Port: 通訊埠: - + Logging 紀錄 - - Global Log Filter - 全域紀錄篩選器 - - - - Show Log in Console - 在終端機中顯示紀錄 - - - + Open Log Location 開啟紀錄位置 - + + Global Log Filter + 全域紀錄篩選器 + + + When checked, the max size of the log increases from 100 MB to 1 GB 啟用後紀錄檔案大小上限從 100MB 增加到 1GB - + Enable Extended Logging** 啟用延伸紀錄** - + + Show Log in Console + 在終端機中顯示紀錄 + + + Homebrew Homebrew - + Arguments String 參數字串 - + Graphics 圖形 - - When checked, the graphics API enters a slower debugging mode - 啟用時圖形 API 會進入較慢的偵錯模式。 - - - - Enable Graphics Debugging - 啟用圖形偵錯 - - - - When checked, it enables Nsight Aftermath crash dumps - 啟用時 yuzu 將會儲存 Nsight Aftermath 格式的錯誤傾印檔案。 - - - - Enable Nsight Aftermath - 啟用 Nsight Aftermath - - - - When checked, it will dump all the original assembler shaders from the disk shader cache or game as found - 啟用時,將從磁碟著色器快娶或遊戲中轉儲所有的著色器檔案。 - - - - Dump Game Shaders - 傾印遊戲著色器 - - - - When checked, it will dump all the macro programs of the GPU - 选中后,将转储 GPU 的所有宏程序 - - - - Dump Maxwell Macros - 转储 Maxwell 宏 - - - - When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower - 啟用時將停用 Macro Just In Time 編譯器,會使得效能降低。 - - - - Disable Macro JIT - 停用 Macro JIT - - - - 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 - 偵錯 + + When checked, it will dump all the original assembler shaders from the disk shader cache or game as found + 啟用時,將從磁碟著色器快娶或遊戲中轉儲所有的著色器檔案。 - - Enable Verbose Reporting Services** - 啟用詳細報告服務 + + Dump Game Shaders + 傾印遊戲著色器 - - Enable FS Access Log - 啟用檔案系統存取記錄 + + When checked, it disables the macro HLE functions. Enabling this makes games run slower + 停用macro HLE,將會降低遊戲效能。 - - Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer. - 启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。 + + Disable Macro HLE + 停用macro HLE - - Dump Audio Commands To Console** - 将音频命令转储至控制台** + + When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower + 啟用時將停用 Macro Just In Time 編譯器,會使得效能降低。 - - Create Minidump After Crash - 微型故障转储 + + Disable Macro JIT + 停用 Macro JIT - + + When checked, the graphics API enters a slower debugging mode + 啟用時圖形 API 會進入較慢的偵錯模式。 + + + + Enable Graphics Debugging + 啟用圖形偵錯 + + + + When checked, it will dump all the macro programs of the GPU + 选中后,将转储 GPU 的所有宏程序 + + + + Dump Maxwell Macros + 转储 Maxwell 宏 + + + + When checked, yuzu will log statistics about the compiled pipeline cache + 啟用時 yuzu 將記錄有關編譯著色器快取的統計資訊。 + + + + Enable Shader Feedback + 啟用著色器回饋 + + + + When checked, it enables Nsight Aftermath crash dumps + 啟用時 yuzu 將會儲存 Nsight Aftermath 格式的錯誤傾印檔案。 + + + + Enable Nsight Aftermath + 啟用 Nsight Aftermath + + + 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 检测 - + + Disable Web Applet + 停用 Web Applet + + + + Enable All Controller Types + 启用其他控制器 + + + + Enable Auto-Stub** + 啟用自動偵錯** + + + + Kiosk (Quest) Mode + Kiosk (Quest) 模式 + + + + Enable CPU Debugging + 啟用 CPU 模擬偵錯 + + + + Enable Debug Asserts + 啟用偵錯 + + + + Debugging + 偵錯 + + + + Enable FS Access Log + 啟用檔案系統存取記錄 + + + + Create Minidump After Crash + 微型故障转储 + + + + 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** + 将音频命令转储至控制台** + + + + Enable Verbose Reporting Services** + 啟用詳細報告服務 + + + **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 +976,83 @@ This would ban both their forum username and their IP address. yuzu 設定 - - + + Some settings are only available when a game is not running. + 只有当游戏不在运行时,某些设置项才可用。 + + + + Audio 音訊 - - + + CPU CPU - + Debug 偵錯 - + Filesystem 檔案系統 - - + + General 一般 - - + + Graphics 圖形 - + GraphicsAdvanced 進階圖形 - + Hotkeys 快速鍵 - - + + Controls 控制 - + Profiles 設定檔 - + Network 網路 - - + + System 系統 - + Game List 遊戲清單 - + Web 網路服務 @@ -1331,62 +1211,17 @@ This would ban both their forum username and their IP address. 一般 - - Limit Speed Percent - 執行速度限制 - - - - % - % - - - - Multicore CPU Emulation - 多核心 CPU 模擬 - - - - 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 - 滑鼠閒置時自動隱藏 - - - + 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? 這將重設所有遊戲的額外設定,但不會刪除遊戲資料夾、使用者設定檔、輸入設定檔,是否繼續? @@ -1409,257 +1244,45 @@ This would ban both their forum username and their IP address. API 設定 - - Shader Backend: - 著色器後端: - - - - Device: - 裝置: - - - - API: - API: - - - - - None - - - - + Graphics Settings 圖形設定 - - Use disk pipeline cache - 使用硬碟管線快取 - - - - Use asynchronous GPU emulation - 使用非同步 CPU 模擬 - - - - Accelerate ASTC texture decoding - 加速 ASTC 材質解碼 - - - - 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) - - - - 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: - 視窗濾鏡: - - - - Nearest Neighbor - 最近鄰域 - - - - Bilinear - 雙線性 - - - - Bicubic - 雙三次 - - - - Gaussian - 高斯 - - - - ScaleForce - 強制縮放 - - - - AMD FidelityFX™️ Super Resolution (Vulkan Only) - AMD FidelityFX™️ 超高畫質技術 (僅限 Vulkan 模式) - - - - 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 + 垂直同步開 @@ -1679,86 +1302,6 @@ This would ban both their forum username and their IP address. Advanced Graphics Settings 進階圖形設定 - - - Accuracy Level: - 精度: - - - - 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. - 垂直同步可防止畫面撕裂,但啟用後某些顯示卡效能可能會降低。如果您沒有發現效能降低,請保持啟用。 - - - - 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. - 啟用快速 GPU 時間。此選項將強制大多數遊戲以其最高解析度執行。 - - - - Use Fast GPU Time (Hack) - 使用快速 GPU 時間(不穩定) - - - - Enables pessimistic buffer flushes. This option will force unmodified buffers to be flushed, which can cost performance. - 启用悲观缓冲区刷新。此选项将强制刷新未修改的缓冲区,可能会降低性能。 - - - - Use pessimistic buffer flushes (Hack) - 启用悲观缓冲区刷新 (不稳定) - - - - Anisotropic Filtering: - 各向異性過濾: - - - - Automatic - 自動 - - - - Default - 預設 - - - - 2x - 2x - - - - 4x - 4x - - - - 8x - 8x - - - - 16x - 16x - ConfigureHotkeys @@ -1788,70 +1331,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 +1681,7 @@ This would ban both their forum username and their IP address. - + Configure 設定 @@ -2169,6 +1707,8 @@ This would ban both their forum username and their IP address. + + Requires restarting yuzu 需要重新啟動 yuzu @@ -2188,22 +1728,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 +1768,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 +1818,7 @@ This would ban both their forum username and their IP address. Player %1 profile - 玩家 %1 配置文件 + 玩家 %1 設定檔 @@ -2291,7 +1836,7 @@ This would ban both their forum username and their IP address. Input Device - 輸入裝置: + 輸入裝置 @@ -2315,7 +1860,7 @@ This would ban both their forum username and their IP address. - + Left Stick 左搖桿 @@ -2409,14 +1954,14 @@ This would ban both their forum username and their IP address. - + L L - + ZL ZL @@ -2435,7 +1980,7 @@ This would ban both their forum username and their IP address. - + Plus @@ -2448,15 +1993,15 @@ This would ban both their forum username and their IP address. - - + + R R - + ZR ZR @@ -2513,236 +2058,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 +2356,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Configure 設定 @@ -2826,7 +2392,7 @@ To invert the axes, first move your joystick vertically, and then horizontally.< - + Test 測試 @@ -2846,81 +2412,180 @@ 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 mouse panning + 啟用滑鼠平移 + + + + Can be toggled via a hotkey. Default hotkey is Ctrl + F9 + 可通过热键来切换。默认的热键为 Ctrl + F9 + + + + Sensitivity + 灵敏度 + + + + Horizontal + 水平方向 + + + + + + + + % + % + + + + Vertical + 垂直方向 + + + + Deadzone counterweight + 调整死区范围 + + + + Counteracts a game's built-in deadzone + 调整游戏内置的死区范围 + + + + Deadzone + 死区 + + + + Stick decay + 摇杆老化 + + + + Strength + 强烈程度 + + + + Minimum + 最小值 + + + + Default + 預設 + + + + Mouse panning works better with a deadzone of 0% and a range of 100%. +Current values are %1% and %2% respectively. + 鼠标平移在死区设置为 0% 和灵敏度设置为 100% 时效果更好。 +当前值分别为 %1% 和 %2% 。 + + + + Emulated mouse is enabled. This is incompatible with mouse panning. + 已启用模拟鼠标。模拟鼠标与鼠标平移不兼容。 + + + + 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. + 实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。 + + ConfigureNetwork @@ -2952,100 +2617,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.< ConfigurePerGame - + Dialog 對話框 - + Info 資訊 - + Name 名稱 - + Title ID 遊戲 ID - + Filename 檔案名稱 - + Format 格式 - + Version 版本 - + Size 大小 - + Developer 出版商 - + + Some settings are only available when a game is not running. + 只有当游戏不在运行时,某些设置项才可用。 + + + Add-Ons 延伸模組 - - General - 一般 - - - + System 系統 - + CPU CPU - + Graphics 圖形 - + Adv. Graphics 進階圖形 - + Audio 音訊 - + Input Profiles - 输入配置文件 + 輸入設定檔 - + Properties 屬性 - - - Use global configuration (%1) - 使用全域設定 (%1) - ConfigurePerGameAddons @@ -3240,13 +2900,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 +2926,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] [請按按鍵] @@ -3306,449 +3028,19 @@ UUID: %2 + System 系統 - - System Settings - 系統設定 + + Core + 核心 - - Region: - 區域: - - - - Auto - 自動 - - - - Default - 預設 - - - - CET - 中歐 - - - - CST6CDT - CST6CDT - - - - Cuba - 古巴 - - - - EET - EET - - - - Egypt - 埃及 - - - - Eire - 愛爾蘭 - - - - EST - 北美東部 - - - - EST5EDT - EST5EDT - - - - GB - 英國 - - - - GB-Eire - 英國-愛爾蘭 - - - - GMT - GMT - - - - GMT+0 - GMT+0 - - - - GMT-0 - GMT-0 - - - - GMT0 - GMT0 - - - - Greenwich - 格林威治 - - - - Hongkong - 香港 - - - - HST - 夏威夷 - - - - Iceland - 冰島 - - - - Iran - 伊朗 - - - - Israel - 以色列 - - - - Jamaica - 牙買加 - - - - - Japan - 日本 - - - - Kwajalein - 瓜加林環礁 - - - - Libya - 利比亞 - - - - MET - 中歐 - - - - MST - 北美山區 - - - - MST7MDT - MST7MDT - - - - Navajo - 納瓦霍 - - - - NZ - 紐西蘭 - - - - NZ-CHAT - 紐西蘭-查塔姆群島 - - - - Poland - 波蘭 - - - - Portugal - 葡萄牙 - - - - PRC - 中國 - - - - PST8PDT - 太平洋 - - - - ROC - 臺灣 - - - - ROK - 韓國 - - - - Singapore - 新加坡 - - - - Turkey - 土耳其 - - - - UCT - UCT - - - - Universal - 世界 - - - - UTC - UTC - - - - W-SU - 莫斯科 - - - - WET - 西歐 - - - - Zulu - 協調世界時 - - - - USA - 美國 - - - - Europe - 歐洲 - - - - Australia - 澳洲 - - - - China - 中國 - - - - Korea - 韓國 - - - - Taiwan - 台灣 - - - - Time Zone: - 時區: - - - - Note: this can be overridden when region setting is auto-select - 注意:當“區域”設定是“自動選擇”時,此設定可能會被覆寫。 - - - - Japanese (日本語) - 日文 (日本語) - - - - English - 英文 (English) - - - - French (français) - 法文 (français) - - - - German (Deutsch) - 德文 (Deutsch) - - - - Italian (italiano) - 義大利文 (italiano) - - - - Spanish (español) - 西班牙文 (español) - - - - Chinese - 中文 - - - - Korean (한국어) - 韓文 (한국어) - - - - Dutch (Nederlands) - 荷蘭文 (Nederlands) - - - - Portuguese (português) - 葡萄牙文 (português) - - - - Russian (Русский) - 俄文 (Русский) - - - - Taiwanese - 台灣中文 - - - - British English - 英式英文 - - - - Canadian French - 加拿大法文 - - - - Latin American Spanish - 拉丁美洲西班牙文 - - - - Simplified Chinese - 簡體中文 - - - - Traditional Chinese (正體中文) - 正體中文 - - - - Brazilian Portuguese (português do Brasil) - 巴西-葡萄牙語 (português do Brasil) - - - - Custom RTC - 自訂時間 - - - - Language - 語言 - - - - RNG Seed - 隨機種子 - - - - Device Name - 设备名称 - - - - Mono - 單聲道 - - - - 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 +3109,7 @@ UUID: %2 TAS 設定 - + Select TAS Load Directory... 選擇 TAS 載入資料夾... @@ -3886,7 +3178,7 @@ Drag points to change position, or double-click table cells to edit values. Enter the name for the new profile. - 輸入新設定檔的名稱 + 輸入新設定檔的名稱。 @@ -3955,64 +3247,64 @@ Drag points to change position, or double-click table cells to edit values. ConfigureUI - - - + + + None - + Small (32x32) 小 (32x32) - + Standard (64x64) 中 (64x64) - + Large (128x128) 大 (128x128) - + Full Size (256x256) 更大 (256x256) - + Small (24x24) 小 (24x24) - + Standard (48x48) 中 (48x48) - + Large (72x72) 大 (72x72) - + Filename 檔案名稱 - + Filetype 檔案類型 - + Title ID 遊戲 ID - + Title Name 遊戲名稱 @@ -4115,15 +3407,31 @@ Drag points to change position, or double-click table cells to edit values.... - + + TextLabel + 文本标签 + + + + Resolution: + 解析度: + + + Select Screenshots Path... 選擇儲存螢幕截圖位置... - + <System> <System> + + + Auto (%1 x %2, %3 x %4) + Screenshot width value + 自动 (%1 x %2, %3 x %4) + ConfigureVibration @@ -4373,7 +3681,7 @@ Drag points to change position, or double-click table cells to edit values.Controller P1 - + &Controller P1 &Controller P1 @@ -4383,45 +3691,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 +3732,12 @@ Drag points to change position, or double-click table cells to edit values. DirectConnectWindow - + Connecting 连接中 - + Connect 连接 @@ -4442,925 +3745,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 +4654,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 +4693,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,48 +4743,143 @@ 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 - - + + OpenGL not available! 無法使用 OpenGL 模式! - + OpenGL shared contexts are not supported. - 不支持 OpenGL 共享上下文。 + 不支援 OpenGL 共用的上下文。 - + yuzu has not been compiled with OpenGL support. yuzu 未以支援 OpenGL 的方式編譯。 - - + + Error while initializing OpenGL! 初始化 OpenGL 時發生錯誤! - + Your GPU may not support OpenGL, or you do not have the latest graphics driver. 您的 GPU 可能不支援 OpenGL,或是未安裝最新的圖形驅動程式 - + Error while initializing OpenGL 4.6! 初始化 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 您的 GPU 可能不支援 OpenGL 4.6,或是未安裝最新的圖形驅動程式<br><br>GL 渲染器:<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 您的 GPU 可能不支援某些必需的 OpenGL 功能。請確保您已安裝最新的圖形驅動程式。<br><br>GL 渲染器:<br>%1<br><br>不支援的功能:<br>%2 @@ -5504,168 +4887,173 @@ Would you like to bypass this and exit anyway? GameList - + Favorite 我的最愛 - + Start Game 開始遊戲 - + Start Game without Custom Configuration 開始遊戲(不使用額外設定) - + Open Save Data Location 開啟存檔位置 - + Open Mod Data Location 開啟模組位置 - + Open Transferable Pipeline Cache 開啟通用著色器管線快取位置 - + Remove 移除 - + Remove Installed Update 移除已安裝的遊戲更新 - + Remove All Installed DLC 移除所有安裝的遊戲更新 - + Remove Custom Configuration 移除額外設定 - + + 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 - 添加到应用程序菜单 + 建立捷徑 + 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 +5063,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 +5078,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 +5098,7 @@ Would you like to bypass this and exit anyway? Game loads, but is unable to progress past the Start Screen. - 游戏可以加载,但无法通过标题页面。 + 遊戲可以載入,但無法通過開始畫面。 @@ -5736,7 +5124,7 @@ Would you like to bypass this and exit anyway? GameListPlaceholder - + Double-click to add a new folder to the game list 連點兩下以新增資料夾至遊戲清單 @@ -5749,12 +5137,12 @@ Would you like to bypass this and exit anyway? %1 / %n 個結果 - + Filter: 搜尋: - + Enter pattern to filter 輸入文字以搜尋 @@ -5764,22 +5152,22 @@ Would you like to bypass this and exit anyway? Create Room - 创建房间 + 建立房間 Room Name - 房间名称 + 房間名稱 Preferred Game - 首选游戏 + 偏好遊戲 Max Players - 最大玩家数 + 最大玩家數目 @@ -5789,32 +5177,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,18 +5212,18 @@ Would you like to bypass this and exit anyway? Host Room - 管理房间 + 主機房間 HostRoomWindow - + Error - 错误 + 錯誤 - + 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: 向公共大厅公开房间时失败。为了管理公开房间,您必须在模拟 -> 设置 -> 网络中配置有效的 yuzu 帐户。如果不想在公共大厅中公开房间,请选择“未列出”。 @@ -5845,140 +5233,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 +5387,7 @@ Debug Message: 安裝 - + Install Files to NAND 安裝檔案至內部儲存空間 @@ -6007,7 +5395,7 @@ Debug Message: LimitableInputDialog - + The text can't contain any of the following characters: %1 文字中不能包含以下字元:%1 @@ -6056,78 +5444,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 +5593,7 @@ Debug Message: &Multiplayer - 多人游戏 (&M) + 多人遊戲 (&M) @@ -6290,27 +5683,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 +5718,7 @@ Debug Message: Load/Remove &Amiibo... - 加载/移除 Amiibo... (&A) + 載入/移除 Amiibo... (&A) @@ -6396,48 +5789,48 @@ Debug Message: Moderation - 审核 + 仲裁 Ban List - 封禁列表 + 封鎖清單 Refreshing - 刷新中 + 正在重新整理 Unban - 解封 + 解除封鎖 Subject - 项目 + 主旨 Type - 类型 + 類型 Forum Username - 论坛用户名 + 論壇使用者名稱 IP Address - IP 地址 + IP 位址 Refresh - 刷新 + 重新整理 @@ -6445,17 +5838,17 @@ Debug Message: Current connection status - 当前连接状态 + 目前連線狀態 Not Connected. Click here to find a room! - 未连接。点击此处查找一个房间! + 尚未連線,按一下這裡以尋找房間! Not Connected - 未连接 + 尚未連線 @@ -6465,12 +5858,12 @@ Debug Message: New Messages Received - 收到了新消息 + 收到了新訊息 Error - 错误 + 錯誤 @@ -6601,7 +5994,7 @@ Proceed anyway? Leave Room - 离开房间 + 離開房間 @@ -6663,7 +6056,7 @@ p, li { white-space: pre-wrap; } PlayerControlPreview - + START/PAUSE 開始 / 暫停 @@ -6712,31 +6105,31 @@ p, li { white-space: pre-wrap; } - - + + Shift Shift - - + + Ctrl Ctrl - - + + Alt Alt - - - - + + + + [not set] [未設定] @@ -6747,14 +6140,14 @@ p, li { white-space: pre-wrap; } - - - - - - - - + + + + + + + + Axis %1%2 Axis %1%2 @@ -6765,264 +6158,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 +6481,12 @@ p, li { white-space: pre-wrap; } Amiibo Settings - Amiibo 设置 + Amiibo 設定 Amiibo Info - Amiibo 信息 + Amiibo 資訊 @@ -7055,7 +6506,7 @@ p, li { white-space: pre-wrap; } Amiibo Data - Amiibo 数据 + Amiibo 資料 @@ -7100,7 +6551,7 @@ p, li { white-space: pre-wrap; } Mount Amiibo - 挂载 Amiibo + 掛載 Amiibo @@ -7174,7 +6625,7 @@ p, li { white-space: pre-wrap; } - + Pro Controller Pro 手把 @@ -7187,7 +6638,7 @@ p, li { white-space: pre-wrap; } - + Dual Joycons 雙 Joycon 手把 @@ -7200,7 +6651,7 @@ p, li { white-space: pre-wrap; } - + Left Joycon 左 Joycon 手把 @@ -7213,7 +6664,7 @@ p, li { white-space: pre-wrap; } - + Right Joycon 右 Joycon 手把 @@ -7242,7 +6693,7 @@ p, li { white-space: pre-wrap; } - + Handheld 掌機模式 @@ -7358,32 +6809,32 @@ p, li { white-space: pre-wrap; } 8 - + GameCube Controller GameCube 手把 - + Poke Ball Plus 精靈球 PLUS - + NES Controller NES 控制手把 - + SNES Controller SNES 控制手把 - + N64 Controller N64 控制手把 - + Sega Genesis Mega Drive @@ -7391,28 +6842,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 +6887,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 +7011,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 +7032,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 +7143,7 @@ p, li { white-space: pre-wrap; } WaitTreeWidget - + &Wait Tree &Wait Tree diff --git a/dist/qt_themes/default/style.qss b/dist/qt_themes/default/style.qss index 12e681648..79960ee0c 100644 --- a/dist/qt_themes/default/style.qss +++ b/dist/qt_themes/default/style.qss @@ -78,6 +78,11 @@ QPushButton#buttonRefreshDevices { max-height: 21px; } +QPushButton#button_reset_defaults { + min-width: 57px; + padding: 4px 8px; +} + QWidget#bottomPerGameInput, QWidget#topControllerApplet, QWidget#bottomControllerApplet, diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss index 49b05c8ba..0c53115f6 100644 --- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss +++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss @@ -2228,6 +2228,10 @@ QPushButton#buttonRefreshDevices { padding: 0px 0px; } +QPushButton#button_reset_defaults { + padding: 3px 6px; +} + QSpinBox#spinboxLStickRange, QSpinBox#spinboxRStickRange, QSpinBox#vibrationSpinPlayer1, 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/demangle/ItaniumDemangle.cpp b/externals/demangle/ItaniumDemangle.cpp index b055a2fd7..47dd5d301 100644 --- a/externals/demangle/ItaniumDemangle.cpp +++ b/externals/demangle/ItaniumDemangle.cpp @@ -20,9 +20,7 @@ #include #include #include -#include #include -#include using namespace llvm; using namespace llvm::itanium_demangle; @@ -81,8 +79,8 @@ struct DumpVisitor { } void printStr(const char *S) { fprintf(stderr, "%s", S); } - void print(StringView SV) { - fprintf(stderr, "\"%.*s\"", (int)SV.size(), SV.begin()); + void print(std::string_view SV) { + fprintf(stderr, "\"%.*s\"", (int)SV.size(), SV.data()); } void print(const Node *N) { if (N) @@ -90,14 +88,6 @@ struct DumpVisitor { else printStr(""); } - void print(NodeOrString NS) { - if (NS.isNode()) - print(NS.asNode()); - else if (NS.isString()) - print(NS.asString()); - else - printStr("NodeOrString()"); - } void print(NodeArray A) { ++Depth; printStr("{"); @@ -116,13 +106,11 @@ struct DumpVisitor { // Overload used when T is exactly 'bool', not merely convertible to 'bool'. void print(bool B) { printStr(B ? "true" : "false"); } - template - typename std::enable_if::value>::type print(T N) { + template std::enable_if_t::value> print(T N) { fprintf(stderr, "%llu", (unsigned long long)N); } - template - typename std::enable_if::value>::type print(T N) { + template std::enable_if_t::value> print(T N) { fprintf(stderr, "%lld", (long long)N); } @@ -185,6 +173,50 @@ struct DumpVisitor { return printStr("TemplateParamKind::Template"); } } + void print(Node::Prec P) { + switch (P) { + case Node::Prec::Primary: + return printStr("Node::Prec::Primary"); + case Node::Prec::Postfix: + return printStr("Node::Prec::Postfix"); + case Node::Prec::Unary: + return printStr("Node::Prec::Unary"); + case Node::Prec::Cast: + return printStr("Node::Prec::Cast"); + case Node::Prec::PtrMem: + return printStr("Node::Prec::PtrMem"); + case Node::Prec::Multiplicative: + return printStr("Node::Prec::Multiplicative"); + case Node::Prec::Additive: + return printStr("Node::Prec::Additive"); + case Node::Prec::Shift: + return printStr("Node::Prec::Shift"); + case Node::Prec::Spaceship: + return printStr("Node::Prec::Spaceship"); + case Node::Prec::Relational: + return printStr("Node::Prec::Relational"); + case Node::Prec::Equality: + return printStr("Node::Prec::Equality"); + case Node::Prec::And: + return printStr("Node::Prec::And"); + case Node::Prec::Xor: + return printStr("Node::Prec::Xor"); + case Node::Prec::Ior: + return printStr("Node::Prec::Ior"); + case Node::Prec::AndIf: + return printStr("Node::Prec::AndIf"); + case Node::Prec::OrIf: + return printStr("Node::Prec::OrIf"); + case Node::Prec::Conditional: + return printStr("Node::Prec::Conditional"); + case Node::Prec::Assign: + return printStr("Node::Prec::Assign"); + case Node::Prec::Comma: + return printStr("Node::Prec::Comma"); + case Node::Prec::Default: + return printStr("Node::Prec::Default"); + } + } void newLine() { printStr("\n"); @@ -334,36 +366,21 @@ public: using Demangler = itanium_demangle::ManglingParser; -char *llvm::itaniumDemangle(const char *MangledName, char *Buf, - size_t *N, int *Status) { - if (MangledName == nullptr || (Buf != nullptr && N == nullptr)) { - if (Status) - *Status = demangle_invalid_args; +char *llvm::itaniumDemangle(std::string_view MangledName) { + if (MangledName.empty()) return nullptr; - } - - int InternalStatus = demangle_success; - Demangler Parser(MangledName, MangledName + std::strlen(MangledName)); - OutputStream S; + Demangler Parser(MangledName.data(), + MangledName.data() + MangledName.length()); Node *AST = Parser.parse(); + if (!AST) + return nullptr; - if (AST == nullptr) - InternalStatus = demangle_invalid_mangled_name; - else if (!initializeOutputStream(Buf, N, S, 1024)) - InternalStatus = demangle_memory_alloc_failure; - else { - assert(Parser.ForwardTemplateRefs.empty()); - AST->print(S); - S += '\0'; - if (N != nullptr) - *N = S.getCurrentPosition(); - Buf = S.getBuffer(); - } - - if (Status) - *Status = InternalStatus; - return InternalStatus == demangle_success ? Buf : nullptr; + OutputBuffer OB; + assert(Parser.ForwardTemplateRefs.empty()); + AST->print(OB); + OB += '\0'; + return OB.getBuffer(); } ItaniumPartialDemangler::ItaniumPartialDemangler() @@ -396,14 +413,12 @@ bool ItaniumPartialDemangler::partialDemangle(const char *MangledName) { } static char *printNode(const Node *RootNode, char *Buf, size_t *N) { - OutputStream S; - if (!initializeOutputStream(Buf, N, S, 128)) - return nullptr; - RootNode->print(S); - S += '\0'; + OutputBuffer OB(Buf, N); + RootNode->print(OB); + OB += '\0'; if (N != nullptr) - *N = S.getCurrentPosition(); - return S.getBuffer(); + *N = OB.getCurrentPosition(); + return OB.getBuffer(); } char *ItaniumPartialDemangler::getFunctionBaseName(char *Buf, size_t *N) const { @@ -417,8 +432,8 @@ char *ItaniumPartialDemangler::getFunctionBaseName(char *Buf, size_t *N) const { case Node::KAbiTagAttr: Name = static_cast(Name)->Base; continue; - case Node::KStdQualifiedName: - Name = static_cast(Name)->Child; + case Node::KModuleEntity: + Name = static_cast(Name)->Name; continue; case Node::KNestedName: Name = static_cast(Name)->Name; @@ -441,9 +456,7 @@ char *ItaniumPartialDemangler::getFunctionDeclContextName(char *Buf, return nullptr; const Node *Name = static_cast(RootNode)->getName(); - OutputStream S; - if (!initializeOutputStream(Buf, N, S, 128)) - return nullptr; + OutputBuffer OB(Buf, N); KeepGoingLocalFunction: while (true) { @@ -458,27 +471,27 @@ char *ItaniumPartialDemangler::getFunctionDeclContextName(char *Buf, break; } + if (Name->getKind() == Node::KModuleEntity) + Name = static_cast(Name)->Name; + switch (Name->getKind()) { - case Node::KStdQualifiedName: - S += "std"; - break; case Node::KNestedName: - static_cast(Name)->Qual->print(S); + static_cast(Name)->Qual->print(OB); break; case Node::KLocalName: { auto *LN = static_cast(Name); - LN->Encoding->print(S); - S += "::"; + LN->Encoding->print(OB); + OB += "::"; Name = LN->Entity; goto KeepGoingLocalFunction; } default: break; } - S += '\0'; + OB += '\0'; if (N != nullptr) - *N = S.getCurrentPosition(); - return S.getBuffer(); + *N = OB.getCurrentPosition(); + return OB.getBuffer(); } char *ItaniumPartialDemangler::getFunctionName(char *Buf, size_t *N) const { @@ -494,17 +507,15 @@ char *ItaniumPartialDemangler::getFunctionParameters(char *Buf, return nullptr; NodeArray Params = static_cast(RootNode)->getParams(); - OutputStream S; - if (!initializeOutputStream(Buf, N, S, 128)) - return nullptr; + OutputBuffer OB(Buf, N); - S += '('; - Params.printWithComma(S); - S += ')'; - S += '\0'; + OB += '('; + Params.printWithComma(OB); + OB += ')'; + OB += '\0'; if (N != nullptr) - *N = S.getCurrentPosition(); - return S.getBuffer(); + *N = OB.getCurrentPosition(); + return OB.getBuffer(); } char *ItaniumPartialDemangler::getFunctionReturnType( @@ -512,18 +523,16 @@ char *ItaniumPartialDemangler::getFunctionReturnType( if (!isFunction()) return nullptr; - OutputStream S; - if (!initializeOutputStream(Buf, N, S, 128)) - return nullptr; + OutputBuffer OB(Buf, N); if (const Node *Ret = static_cast(RootNode)->getReturnType()) - Ret->print(S); + Ret->print(OB); - S += '\0'; + OB += '\0'; if (N != nullptr) - *N = S.getCurrentPosition(); - return S.getBuffer(); + *N = OB.getCurrentPosition(); + return OB.getBuffer(); } char *ItaniumPartialDemangler::finishDemangle(char *Buf, size_t *N) const { @@ -563,8 +572,8 @@ bool ItaniumPartialDemangler::isCtorOrDtor() const { case Node::KNestedName: N = static_cast(N)->Name; break; - case Node::KStdQualifiedName: - N = static_cast(N)->Child; + case Node::KModuleEntity: + N = static_cast(N)->Name; break; } } diff --git a/externals/demangle/llvm/Demangle/Demangle.h b/externals/demangle/llvm/Demangle/Demangle.h index 5b673e4e1..1552a501a 100644 --- a/externals/demangle/llvm/Demangle/Demangle.h +++ b/externals/demangle/llvm/Demangle/Demangle.h @@ -12,6 +12,7 @@ #include #include +#include namespace llvm { /// This is a llvm local version of __cxa_demangle. Other than the name and @@ -29,9 +30,10 @@ enum : int { demangle_success = 0, }; -char *itaniumDemangle(const char *mangled_name, char *buf, size_t *n, - int *status); - +/// Returns a non-NULL pointer to a NUL-terminated C style string +/// that should be explicitly freed, if successful. Otherwise, may return +/// nullptr if mangled_name is not a valid mangling or is nullptr. +char *itaniumDemangle(std::string_view mangled_name); enum MSDemangleFlags { MSDF_None = 0, @@ -40,10 +42,34 @@ enum MSDemangleFlags { MSDF_NoCallingConvention = 1 << 2, MSDF_NoReturnType = 1 << 3, MSDF_NoMemberType = 1 << 4, + MSDF_NoVariableType = 1 << 5, }; -char *microsoftDemangle(const char *mangled_name, char *buf, size_t *n, + +/// Demangles the Microsoft symbol pointed at by mangled_name and returns it. +/// Returns a pointer to the start of a null-terminated demangled string on +/// success, or nullptr on error. +/// If n_read is non-null and demangling was successful, it receives how many +/// bytes of the input string were consumed. +/// status receives one of the demangle_ enum entries above if it's not nullptr. +/// Flags controls various details of the demangled representation. +char *microsoftDemangle(std::string_view mangled_name, size_t *n_read, int *status, MSDemangleFlags Flags = MSDF_None); +// Demangles a Rust v0 mangled symbol. +char *rustDemangle(std::string_view MangledName); + +// Demangles a D mangled symbol. +char *dlangDemangle(std::string_view MangledName); + +/// Attempt to demangle a string using different demangling schemes. +/// The function uses heuristics to determine which demangling scheme to use. +/// \param MangledName - reference to string to demangle. +/// \returns - the demangled string, or a copy of the input string if no +/// demangling occurred. +std::string demangle(std::string_view MangledName); + +bool nonMicrosoftDemangle(std::string_view MangledName, std::string &Result); + /// "Partial" demangler. This supports demangling a string into an AST /// (typically an intermediate stage in itaniumDemangle) and querying certain /// properties or partially printing the demangled name. @@ -59,7 +85,7 @@ struct ItaniumPartialDemangler { bool partialDemangle(const char *MangledName); /// Just print the entire mangled name into Buf. Buf and N behave like the - /// second and third parameters to itaniumDemangle. + /// second and third parameters to __cxa_demangle. char *finishDemangle(char *Buf, size_t *N) const; /// Get the base name of a function. This doesn't include trailing template @@ -95,6 +121,7 @@ struct ItaniumPartialDemangler { bool isSpecialName() const; ~ItaniumPartialDemangler(); + private: void *RootNode; void *Context; diff --git a/externals/demangle/llvm/Demangle/DemangleConfig.h b/externals/demangle/llvm/Demangle/DemangleConfig.h index a8aef9df1..c7f86d766 100644 --- a/externals/demangle/llvm/Demangle/DemangleConfig.h +++ b/externals/demangle/llvm/Demangle/DemangleConfig.h @@ -13,8 +13,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_DEMANGLE_COMPILER_H -#define LLVM_DEMANGLE_COMPILER_H +#ifndef LLVM_DEMANGLE_DEMANGLECONFIG_H +#define LLVM_DEMANGLE_DEMANGLECONFIG_H #ifndef __has_feature #define __has_feature(x) 0 diff --git a/externals/demangle/llvm/Demangle/ItaniumDemangle.h b/externals/demangle/llvm/Demangle/ItaniumDemangle.h index 64b35c142..0dc3d7337 100644 --- a/externals/demangle/llvm/Demangle/ItaniumDemangle.h +++ b/externals/demangle/llvm/Demangle/ItaniumDemangle.h @@ -1,5 +1,5 @@ -//===------------------------- ItaniumDemangle.h ----------------*- C++ -*-===// -// +//===--- ItaniumDemangle.h -----------*- mode:c++;eval:(read-only-mode) -*-===// +// Do not edit! See README.txt. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-FileCopyrightText: Part of the LLVM Project @@ -7,144 +7,220 @@ // //===----------------------------------------------------------------------===// // -// Generic itanium demangler library. This file has two byte-per-byte identical -// copies in the source tree, one in libcxxabi, and the other in llvm. +// Generic itanium demangler library. +// There are two copies of this file in the source tree. The one under +// libcxxabi is the original and the one under llvm is the copy. Use +// cp-to-llvm.sh to update the copy. See README.txt for more details. // //===----------------------------------------------------------------------===// #ifndef DEMANGLE_ITANIUMDEMANGLE_H #define DEMANGLE_ITANIUMDEMANGLE_H -// FIXME: (possibly) incomplete list of features that clang mangles that this -// file does not yet support: -// - C++ modules TS - #include "DemangleConfig.h" -#include "StringView.h" +#include "StringViewExtras.h" #include "Utility.h" +#include #include #include #include #include #include -#include +#include +#include +#include +#include #include -#define FOR_EACH_NODE_KIND(X) \ - X(NodeArrayNode) \ - X(DotSuffix) \ - X(VendorExtQualType) \ - X(QualType) \ - X(ConversionOperatorType) \ - X(PostfixQualifiedType) \ - X(ElaboratedTypeSpefType) \ - X(NameType) \ - X(AbiTagAttr) \ - X(EnableIfAttr) \ - X(ObjCProtoName) \ - X(PointerType) \ - X(ReferenceType) \ - X(PointerToMemberType) \ - X(ArrayType) \ - X(FunctionType) \ - X(NoexceptSpec) \ - X(DynamicExceptionSpec) \ - X(FunctionEncoding) \ - X(LiteralOperator) \ - X(SpecialName) \ - X(CtorVtableSpecialName) \ - X(QualifiedName) \ - X(NestedName) \ - X(LocalName) \ - X(VectorType) \ - X(PixelVectorType) \ - X(SyntheticTemplateParamName) \ - X(TypeTemplateParamDecl) \ - X(NonTypeTemplateParamDecl) \ - X(TemplateTemplateParamDecl) \ - X(TemplateParamPackDecl) \ - X(ParameterPack) \ - X(TemplateArgumentPack) \ - X(ParameterPackExpansion) \ - X(TemplateArgs) \ - X(ForwardTemplateReference) \ - X(NameWithTemplateArgs) \ - X(GlobalQualifiedName) \ - X(StdQualifiedName) \ - X(ExpandedSpecialSubstitution) \ - X(SpecialSubstitution) \ - X(CtorDtorName) \ - X(DtorName) \ - X(UnnamedTypeName) \ - X(ClosureTypeName) \ - X(StructuredBindingName) \ - X(BinaryExpr) \ - X(ArraySubscriptExpr) \ - X(PostfixExpr) \ - X(ConditionalExpr) \ - X(MemberExpr) \ - X(EnclosingExpr) \ - X(CastExpr) \ - X(SizeofParamPackExpr) \ - X(CallExpr) \ - X(NewExpr) \ - X(DeleteExpr) \ - X(PrefixExpr) \ - X(FunctionParam) \ - X(ConversionExpr) \ - X(InitListExpr) \ - X(FoldExpr) \ - X(ThrowExpr) \ - X(UUIDOfExpr) \ - X(BoolExpr) \ - X(StringLiteral) \ - X(LambdaExpr) \ - X(IntegerCastExpr) \ - X(IntegerLiteral) \ - X(FloatLiteral) \ - X(DoubleLiteral) \ - X(LongDoubleLiteral) \ - X(BracedExpr) \ - X(BracedRangeExpr) - DEMANGLE_NAMESPACE_BEGIN +template class PODSmallVector { + static_assert(std::is_pod::value, + "T is required to be a plain old data type"); + + T *First = nullptr; + T *Last = nullptr; + T *Cap = nullptr; + T Inline[N] = {0}; + + bool isInline() const { return First == Inline; } + + void clearInline() { + First = Inline; + Last = Inline; + Cap = Inline + N; + } + + void reserve(size_t NewCap) { + size_t S = size(); + if (isInline()) { + auto *Tmp = static_cast(std::malloc(NewCap * sizeof(T))); + if (Tmp == nullptr) + std::terminate(); + std::copy(First, Last, Tmp); + First = Tmp; + } else { + First = static_cast(std::realloc(First, NewCap * sizeof(T))); + if (First == nullptr) + std::terminate(); + } + Last = First + S; + Cap = First + NewCap; + } + +public: + PODSmallVector() : First(Inline), Last(First), Cap(Inline + N) {} + + PODSmallVector(const PODSmallVector &) = delete; + PODSmallVector &operator=(const PODSmallVector &) = delete; + + PODSmallVector(PODSmallVector &&Other) : PODSmallVector() { + if (Other.isInline()) { + std::copy(Other.begin(), Other.end(), First); + Last = First + Other.size(); + Other.clear(); + return; + } + + First = Other.First; + Last = Other.Last; + Cap = Other.Cap; + Other.clearInline(); + } + + PODSmallVector &operator=(PODSmallVector &&Other) { + if (Other.isInline()) { + if (!isInline()) { + std::free(First); + clearInline(); + } + std::copy(Other.begin(), Other.end(), First); + Last = First + Other.size(); + Other.clear(); + return *this; + } + + if (isInline()) { + First = Other.First; + Last = Other.Last; + Cap = Other.Cap; + Other.clearInline(); + return *this; + } + + std::swap(First, Other.First); + std::swap(Last, Other.Last); + std::swap(Cap, Other.Cap); + Other.clear(); + return *this; + } + + // NOLINTNEXTLINE(readability-identifier-naming) + void push_back(const T &Elem) { + if (Last == Cap) + reserve(size() * 2); + *Last++ = Elem; + } + + // NOLINTNEXTLINE(readability-identifier-naming) + void pop_back() { + assert(Last != First && "Popping empty vector!"); + --Last; + } + + void dropBack(size_t Index) { + assert(Index <= size() && "dropBack() can't expand!"); + Last = First + Index; + } + + T *begin() { return First; } + T *end() { return Last; } + + bool empty() const { return First == Last; } + size_t size() const { return static_cast(Last - First); } + T &back() { + assert(Last != First && "Calling back() on empty vector!"); + return *(Last - 1); + } + T &operator[](size_t Index) { + assert(Index < size() && "Invalid access!"); + return *(begin() + Index); + } + void clear() { Last = First; } + + ~PODSmallVector() { + if (!isInline()) + std::free(First); + } +}; + // Base class of all AST nodes. The AST is built by the parser, then is // traversed by the printLeft/Right functions to produce a demangled string. class Node { public: enum Kind : unsigned char { -#define ENUMERATOR(NodeKind) K ## NodeKind, - FOR_EACH_NODE_KIND(ENUMERATOR) -#undef ENUMERATOR +#define NODE(NodeKind) K##NodeKind, +#include "ItaniumNodes.def" }; /// Three-way bool to track a cached value. Unknown is possible if this node /// has an unexpanded parameter pack below it that may affect this cache. enum class Cache : unsigned char { Yes, No, Unknown, }; + /// Operator precedence for expression nodes. Used to determine required + /// parens in expression emission. + enum class Prec { + Primary, + Postfix, + Unary, + Cast, + PtrMem, + Multiplicative, + Additive, + Shift, + Spaceship, + Relational, + Equality, + And, + Xor, + Ior, + AndIf, + OrIf, + Conditional, + Assign, + Comma, + Default, + }; + private: Kind K; + Prec Precedence : 6; + // FIXME: Make these protected. public: /// Tracks if this node has a component on its right side, in which case we /// need to call printRight. - Cache RHSComponentCache; + Cache RHSComponentCache : 2; /// Track if this node is a (possibly qualified) array type. This can affect /// how we format the output string. - Cache ArrayCache; + Cache ArrayCache : 2; /// Track if this node is a (possibly qualified) function type. This can /// affect how we format the output string. - Cache FunctionCache; + Cache FunctionCache : 2; public: - Node(Kind K_, Cache RHSComponentCache_ = Cache::No, - Cache ArrayCache_ = Cache::No, Cache FunctionCache_ = Cache::No) - : K(K_), RHSComponentCache(RHSComponentCache_), ArrayCache(ArrayCache_), - FunctionCache(FunctionCache_) {} + Node(Kind K_, Prec Precedence_ = Prec::Primary, + Cache RHSComponentCache_ = Cache::No, Cache ArrayCache_ = Cache::No, + Cache FunctionCache_ = Cache::No) + : K(K_), Precedence(Precedence_), RHSComponentCache(RHSComponentCache_), + ArrayCache(ArrayCache_), FunctionCache(FunctionCache_) {} + Node(Kind K_, Cache RHSComponentCache_, Cache ArrayCache_ = Cache::No, + Cache FunctionCache_ = Cache::No) + : Node(K_, Prec::Primary, RHSComponentCache_, ArrayCache_, + FunctionCache_) {} /// Visit the most-derived object corresponding to this object. template void visit(Fn F) const; @@ -155,52 +231,65 @@ public: // would construct an equivalent node. //template void match(Fn F) const; - bool hasRHSComponent(OutputStream &S) const { + bool hasRHSComponent(OutputBuffer &OB) const { if (RHSComponentCache != Cache::Unknown) return RHSComponentCache == Cache::Yes; - return hasRHSComponentSlow(S); + return hasRHSComponentSlow(OB); } - bool hasArray(OutputStream &S) const { + bool hasArray(OutputBuffer &OB) const { if (ArrayCache != Cache::Unknown) return ArrayCache == Cache::Yes; - return hasArraySlow(S); + return hasArraySlow(OB); } - bool hasFunction(OutputStream &S) const { + bool hasFunction(OutputBuffer &OB) const { if (FunctionCache != Cache::Unknown) return FunctionCache == Cache::Yes; - return hasFunctionSlow(S); + return hasFunctionSlow(OB); } Kind getKind() const { return K; } - virtual bool hasRHSComponentSlow(OutputStream &) const { return false; } - virtual bool hasArraySlow(OutputStream &) const { return false; } - virtual bool hasFunctionSlow(OutputStream &) const { return false; } + Prec getPrecedence() const { return Precedence; } + + virtual bool hasRHSComponentSlow(OutputBuffer &) const { return false; } + virtual bool hasArraySlow(OutputBuffer &) const { return false; } + virtual bool hasFunctionSlow(OutputBuffer &) const { return false; } // Dig through "glue" nodes like ParameterPack and ForwardTemplateReference to // get at a node that actually represents some concrete syntax. - virtual const Node *getSyntaxNode(OutputStream &) const { - return this; + virtual const Node *getSyntaxNode(OutputBuffer &) const { return this; } + + // Print this node as an expression operand, surrounding it in parentheses if + // its precedence is [Strictly] weaker than P. + void printAsOperand(OutputBuffer &OB, Prec P = Prec::Default, + bool StrictlyWorse = false) const { + bool Paren = + unsigned(getPrecedence()) >= unsigned(P) + unsigned(StrictlyWorse); + if (Paren) + OB.printOpen(); + print(OB); + if (Paren) + OB.printClose(); } - void print(OutputStream &S) const { - printLeft(S); + void print(OutputBuffer &OB) const { + printLeft(OB); if (RHSComponentCache != Cache::No) - printRight(S); + printRight(OB); } - // Print the "left" side of this Node into OutputStream. - virtual void printLeft(OutputStream &) const = 0; + // Print the "left" side of this Node into OutputBuffer. + virtual void printLeft(OutputBuffer &) const = 0; // Print the "right". This distinction is necessary to represent C++ types // that appear on the RHS of their subtype, such as arrays or functions. // Since most types don't have such a component, provide a default // implementation. - virtual void printRight(OutputStream &) const {} + virtual void printRight(OutputBuffer &) const {} - virtual StringView getBaseName() const { return StringView(); } + virtual std::string_view getBaseName() const { return {}; } // Silence compiler warnings, this dtor will never be called. virtual ~Node() = default; @@ -227,19 +316,19 @@ public: Node *operator[](size_t Idx) const { return Elements[Idx]; } - void printWithComma(OutputStream &S) const { + void printWithComma(OutputBuffer &OB) const { bool FirstElement = true; for (size_t Idx = 0; Idx != NumElements; ++Idx) { - size_t BeforeComma = S.getCurrentPosition(); + size_t BeforeComma = OB.getCurrentPosition(); if (!FirstElement) - S += ", "; - size_t AfterComma = S.getCurrentPosition(); - Elements[Idx]->print(S); + OB += ", "; + size_t AfterComma = OB.getCurrentPosition(); + Elements[Idx]->printAsOperand(OB, Node::Prec::Comma); // Elements[Idx] is an empty parameter pack expansion, we should erase the // comma we just printed. - if (AfterComma == S.getCurrentPosition()) { - S.setCurrentPosition(BeforeComma); + if (AfterComma == OB.getCurrentPosition()) { + OB.setCurrentPosition(BeforeComma); continue; } @@ -254,43 +343,48 @@ struct NodeArrayNode : Node { template void match(Fn F) const { F(Array); } - void printLeft(OutputStream &S) const override { - Array.printWithComma(S); - } + void printLeft(OutputBuffer &OB) const override { Array.printWithComma(OB); } }; class DotSuffix final : public Node { const Node *Prefix; - const StringView Suffix; + const std::string_view Suffix; public: - DotSuffix(const Node *Prefix_, StringView Suffix_) + DotSuffix(const Node *Prefix_, std::string_view Suffix_) : Node(KDotSuffix), Prefix(Prefix_), Suffix(Suffix_) {} template void match(Fn F) const { F(Prefix, Suffix); } - void printLeft(OutputStream &s) const override { - Prefix->print(s); - s += " ("; - s += Suffix; - s += ")"; + void printLeft(OutputBuffer &OB) const override { + Prefix->print(OB); + OB += " ("; + OB += Suffix; + OB += ")"; } }; class VendorExtQualType final : public Node { const Node *Ty; - StringView Ext; + std::string_view Ext; + const Node *TA; public: - VendorExtQualType(const Node *Ty_, StringView Ext_) - : Node(KVendorExtQualType), Ty(Ty_), Ext(Ext_) {} + VendorExtQualType(const Node *Ty_, std::string_view Ext_, const Node *TA_) + : Node(KVendorExtQualType), Ty(Ty_), Ext(Ext_), TA(TA_) {} - template void match(Fn F) const { F(Ty, Ext); } + const Node *getTy() const { return Ty; } + std::string_view getExt() const { return Ext; } + const Node *getTA() const { return TA; } - void printLeft(OutputStream &S) const override { - Ty->print(S); - S += " "; - S += Ext; + template void match(Fn F) const { F(Ty, Ext, TA); } + + void printLeft(OutputBuffer &OB) const override { + Ty->print(OB); + OB += " "; + OB += Ext; + if (TA != nullptr) + TA->print(OB); } }; @@ -316,13 +410,13 @@ protected: const Qualifiers Quals; const Node *Child; - void printQuals(OutputStream &S) const { + void printQuals(OutputBuffer &OB) const { if (Quals & QualConst) - S += " const"; + OB += " const"; if (Quals & QualVolatile) - S += " volatile"; + OB += " volatile"; if (Quals & QualRestrict) - S += " restrict"; + OB += " restrict"; } public: @@ -331,24 +425,27 @@ public: Child_->ArrayCache, Child_->FunctionCache), Quals(Quals_), Child(Child_) {} + Qualifiers getQuals() const { return Quals; } + const Node *getChild() const { return Child; } + template void match(Fn F) const { F(Child, Quals); } - bool hasRHSComponentSlow(OutputStream &S) const override { - return Child->hasRHSComponent(S); + bool hasRHSComponentSlow(OutputBuffer &OB) const override { + return Child->hasRHSComponent(OB); } - bool hasArraySlow(OutputStream &S) const override { - return Child->hasArray(S); + bool hasArraySlow(OutputBuffer &OB) const override { + return Child->hasArray(OB); } - bool hasFunctionSlow(OutputStream &S) const override { - return Child->hasFunction(S); + bool hasFunctionSlow(OutputBuffer &OB) const override { + return Child->hasFunction(OB); } - void printLeft(OutputStream &S) const override { - Child->printLeft(S); - printQuals(S); + void printLeft(OutputBuffer &OB) const override { + Child->printLeft(OB); + printQuals(OB); } - void printRight(OutputStream &S) const override { Child->printRight(S); } + void printRight(OutputBuffer &OB) const override { Child->printRight(OB); } }; class ConversionOperatorType final : public Node { @@ -360,74 +457,96 @@ public: template void match(Fn F) const { F(Ty); } - void printLeft(OutputStream &S) const override { - S += "operator "; - Ty->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += "operator "; + Ty->print(OB); } }; class PostfixQualifiedType final : public Node { const Node *Ty; - const StringView Postfix; + const std::string_view Postfix; public: - PostfixQualifiedType(Node *Ty_, StringView Postfix_) + PostfixQualifiedType(const Node *Ty_, std::string_view Postfix_) : Node(KPostfixQualifiedType), Ty(Ty_), Postfix(Postfix_) {} template void match(Fn F) const { F(Ty, Postfix); } - void printLeft(OutputStream &s) const override { - Ty->printLeft(s); - s += Postfix; + void printLeft(OutputBuffer &OB) const override { + Ty->printLeft(OB); + OB += Postfix; } }; class NameType final : public Node { - const StringView Name; + const std::string_view Name; public: - NameType(StringView Name_) : Node(KNameType), Name(Name_) {} + NameType(std::string_view Name_) : Node(KNameType), Name(Name_) {} template void match(Fn F) const { F(Name); } - StringView getName() const { return Name; } - StringView getBaseName() const override { return Name; } + std::string_view getName() const { return Name; } + std::string_view getBaseName() const override { return Name; } - void printLeft(OutputStream &s) const override { s += Name; } + void printLeft(OutputBuffer &OB) const override { OB += Name; } +}; + +class BitIntType final : public Node { + const Node *Size; + bool Signed; + +public: + BitIntType(const Node *Size_, bool Signed_) + : Node(KBitIntType), Size(Size_), Signed(Signed_) {} + + template void match(Fn F) const { F(Size, Signed); } + + void printLeft(OutputBuffer &OB) const override { + if (!Signed) + OB += "unsigned "; + OB += "_BitInt"; + OB.printOpen(); + Size->printAsOperand(OB); + OB.printClose(); + } }; class ElaboratedTypeSpefType : public Node { - StringView Kind; + std::string_view Kind; Node *Child; public: - ElaboratedTypeSpefType(StringView Kind_, Node *Child_) + ElaboratedTypeSpefType(std::string_view Kind_, Node *Child_) : Node(KElaboratedTypeSpefType), Kind(Kind_), Child(Child_) {} template void match(Fn F) const { F(Kind, Child); } - void printLeft(OutputStream &S) const override { - S += Kind; - S += ' '; - Child->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += Kind; + OB += ' '; + Child->print(OB); } }; struct AbiTagAttr : Node { Node *Base; - StringView Tag; + std::string_view Tag; - AbiTagAttr(Node* Base_, StringView Tag_) - : Node(KAbiTagAttr, Base_->RHSComponentCache, - Base_->ArrayCache, Base_->FunctionCache), + AbiTagAttr(Node *Base_, std::string_view Tag_) + : Node(KAbiTagAttr, Base_->RHSComponentCache, Base_->ArrayCache, + Base_->FunctionCache), Base(Base_), Tag(Tag_) {} template void match(Fn F) const { F(Base, Tag); } - void printLeft(OutputStream &S) const override { - Base->printLeft(S); - S += "[abi:"; - S += Tag; - S += "]"; + std::string_view getBaseName() const override { return Base->getBaseName(); } + + void printLeft(OutputBuffer &OB) const override { + Base->printLeft(OB); + OB += "[abi:"; + OB += Tag; + OB += "]"; } }; @@ -439,21 +558,21 @@ public: template void match(Fn F) const { F(Conditions); } - void printLeft(OutputStream &S) const override { - S += " [enable_if:"; - Conditions.printWithComma(S); - S += ']'; + void printLeft(OutputBuffer &OB) const override { + OB += " [enable_if:"; + Conditions.printWithComma(OB); + OB += ']'; } }; class ObjCProtoName : public Node { const Node *Ty; - StringView Protocol; + std::string_view Protocol; friend class PointerType; public: - ObjCProtoName(const Node *Ty_, StringView Protocol_) + ObjCProtoName(const Node *Ty_, std::string_view Protocol_) : Node(KObjCProtoName), Ty(Ty_), Protocol(Protocol_) {} template void match(Fn F) const { F(Ty, Protocol); } @@ -463,11 +582,11 @@ public: static_cast(Ty)->getName() == "objc_object"; } - void printLeft(OutputStream &S) const override { - Ty->print(S); - S += "<"; - S += Protocol; - S += ">"; + void printLeft(OutputBuffer &OB) const override { + Ty->print(OB); + OB += "<"; + OB += Protocol; + OB += ">"; } }; @@ -479,36 +598,38 @@ public: : Node(KPointerType, Pointee_->RHSComponentCache), Pointee(Pointee_) {} + const Node *getPointee() const { return Pointee; } + template void match(Fn F) const { F(Pointee); } - bool hasRHSComponentSlow(OutputStream &S) const override { - return Pointee->hasRHSComponent(S); + bool hasRHSComponentSlow(OutputBuffer &OB) const override { + return Pointee->hasRHSComponent(OB); } - void printLeft(OutputStream &s) const override { + void printLeft(OutputBuffer &OB) const override { // We rewrite objc_object* into id. if (Pointee->getKind() != KObjCProtoName || !static_cast(Pointee)->isObjCObject()) { - Pointee->printLeft(s); - if (Pointee->hasArray(s)) - s += " "; - if (Pointee->hasArray(s) || Pointee->hasFunction(s)) - s += "("; - s += "*"; + Pointee->printLeft(OB); + if (Pointee->hasArray(OB)) + OB += " "; + if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) + OB += "("; + OB += "*"; } else { const auto *objcProto = static_cast(Pointee); - s += "id<"; - s += objcProto->Protocol; - s += ">"; + OB += "id<"; + OB += objcProto->Protocol; + OB += ">"; } } - void printRight(OutputStream &s) const override { + void printRight(OutputBuffer &OB) const override { if (Pointee->getKind() != KObjCProtoName || !static_cast(Pointee)->isObjCObject()) { - if (Pointee->hasArray(s) || Pointee->hasFunction(s)) - s += ")"; - Pointee->printRight(s); + if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) + OB += ")"; + Pointee->printRight(OB); } } }; @@ -528,15 +649,30 @@ class ReferenceType : public Node { // Dig through any refs to refs, collapsing the ReferenceTypes as we go. The // rule here is rvalue ref to rvalue ref collapses to a rvalue ref, and any // other combination collapses to a lvalue ref. - std::pair collapse(OutputStream &S) const { + // + // A combination of a TemplateForwardReference and a back-ref Substitution + // from an ill-formed string may have created a cycle; use cycle detection to + // avoid looping forever. + std::pair collapse(OutputBuffer &OB) const { auto SoFar = std::make_pair(RK, Pointee); + // Track the chain of nodes for the Floyd's 'tortoise and hare' + // cycle-detection algorithm, since getSyntaxNode(S) is impure + PODSmallVector Prev; for (;;) { - const Node *SN = SoFar.second->getSyntaxNode(S); + const Node *SN = SoFar.second->getSyntaxNode(OB); if (SN->getKind() != KReferenceType) break; auto *RT = static_cast(SN); SoFar.second = RT->Pointee; SoFar.first = std::min(SoFar.first, RT->RK); + + // The middle of Prev is the 'slow' pointer moving at half speed + Prev.push_back(SoFar.second); + if (Prev.size() > 1 && SoFar.second == Prev[(Prev.size() - 1) / 2]) { + // Cycle detected + SoFar.second = nullptr; + break; + } } return SoFar; } @@ -548,31 +684,35 @@ public: template void match(Fn F) const { F(Pointee, RK); } - bool hasRHSComponentSlow(OutputStream &S) const override { - return Pointee->hasRHSComponent(S); + bool hasRHSComponentSlow(OutputBuffer &OB) const override { + return Pointee->hasRHSComponent(OB); } - void printLeft(OutputStream &s) const override { + void printLeft(OutputBuffer &OB) const override { if (Printing) return; - SwapAndRestore SavePrinting(Printing, true); - std::pair Collapsed = collapse(s); - Collapsed.second->printLeft(s); - if (Collapsed.second->hasArray(s)) - s += " "; - if (Collapsed.second->hasArray(s) || Collapsed.second->hasFunction(s)) - s += "("; + ScopedOverride SavePrinting(Printing, true); + std::pair Collapsed = collapse(OB); + if (!Collapsed.second) + return; + Collapsed.second->printLeft(OB); + if (Collapsed.second->hasArray(OB)) + OB += " "; + if (Collapsed.second->hasArray(OB) || Collapsed.second->hasFunction(OB)) + OB += "("; - s += (Collapsed.first == ReferenceKind::LValue ? "&" : "&&"); + OB += (Collapsed.first == ReferenceKind::LValue ? "&" : "&&"); } - void printRight(OutputStream &s) const override { + void printRight(OutputBuffer &OB) const override { if (Printing) return; - SwapAndRestore SavePrinting(Printing, true); - std::pair Collapsed = collapse(s); - if (Collapsed.second->hasArray(s) || Collapsed.second->hasFunction(s)) - s += ")"; - Collapsed.second->printRight(s); + ScopedOverride SavePrinting(Printing, true); + std::pair Collapsed = collapse(OB); + if (!Collapsed.second) + return; + if (Collapsed.second->hasArray(OB) || Collapsed.second->hasFunction(OB)) + OB += ")"; + Collapsed.second->printRight(OB); } }; @@ -587,69 +727,33 @@ public: template void match(Fn F) const { F(ClassType, MemberType); } - bool hasRHSComponentSlow(OutputStream &S) const override { - return MemberType->hasRHSComponent(S); + bool hasRHSComponentSlow(OutputBuffer &OB) const override { + return MemberType->hasRHSComponent(OB); } - void printLeft(OutputStream &s) const override { - MemberType->printLeft(s); - if (MemberType->hasArray(s) || MemberType->hasFunction(s)) - s += "("; + void printLeft(OutputBuffer &OB) const override { + MemberType->printLeft(OB); + if (MemberType->hasArray(OB) || MemberType->hasFunction(OB)) + OB += "("; else - s += " "; - ClassType->print(s); - s += "::*"; + OB += " "; + ClassType->print(OB); + OB += "::*"; } - void printRight(OutputStream &s) const override { - if (MemberType->hasArray(s) || MemberType->hasFunction(s)) - s += ")"; - MemberType->printRight(s); - } -}; - -class NodeOrString { - const void *First; - const void *Second; - -public: - /* implicit */ NodeOrString(StringView Str) { - const char *FirstChar = Str.begin(); - const char *SecondChar = Str.end(); - if (SecondChar == nullptr) { - assert(FirstChar == SecondChar); - ++FirstChar, ++SecondChar; - } - First = static_cast(FirstChar); - Second = static_cast(SecondChar); - } - - /* implicit */ NodeOrString(Node *N) - : First(static_cast(N)), Second(nullptr) {} - NodeOrString() : First(nullptr), Second(nullptr) {} - - bool isString() const { return Second && First; } - bool isNode() const { return First && !Second; } - bool isEmpty() const { return !First && !Second; } - - StringView asString() const { - assert(isString()); - return StringView(static_cast(First), - static_cast(Second)); - } - - const Node *asNode() const { - assert(isNode()); - return static_cast(First); + void printRight(OutputBuffer &OB) const override { + if (MemberType->hasArray(OB) || MemberType->hasFunction(OB)) + OB += ")"; + MemberType->printRight(OB); } }; class ArrayType final : public Node { const Node *Base; - NodeOrString Dimension; + Node *Dimension; public: - ArrayType(const Node *Base_, NodeOrString Dimension_) + ArrayType(const Node *Base_, Node *Dimension_) : Node(KArrayType, /*RHSComponentCache=*/Cache::Yes, /*ArrayCache=*/Cache::Yes), @@ -657,21 +761,19 @@ public: template void match(Fn F) const { F(Base, Dimension); } - bool hasRHSComponentSlow(OutputStream &) const override { return true; } - bool hasArraySlow(OutputStream &) const override { return true; } + bool hasRHSComponentSlow(OutputBuffer &) const override { return true; } + bool hasArraySlow(OutputBuffer &) const override { return true; } - void printLeft(OutputStream &S) const override { Base->printLeft(S); } + void printLeft(OutputBuffer &OB) const override { Base->printLeft(OB); } - void printRight(OutputStream &S) const override { - if (S.back() != ']') - S += " "; - S += "["; - if (Dimension.isString()) - S += Dimension.asString(); - else if (Dimension.isNode()) - Dimension.asNode()->print(S); - S += "]"; - Base->printRight(S); + void printRight(OutputBuffer &OB) const override { + if (OB.back() != ']') + OB += " "; + OB += "["; + if (Dimension) + Dimension->print(OB); + OB += "]"; + Base->printRight(OB); } }; @@ -695,8 +797,8 @@ public: F(Ret, Params, CVQuals, RefQual, ExceptionSpec); } - bool hasRHSComponentSlow(OutputStream &) const override { return true; } - bool hasFunctionSlow(OutputStream &) const override { return true; } + bool hasRHSComponentSlow(OutputBuffer &) const override { return true; } + bool hasFunctionSlow(OutputBuffer &) const override { return true; } // Handle C++'s ... quirky decl grammar by using the left & right // distinction. Consider: @@ -705,32 +807,32 @@ public: // that takes a char and returns an int. If we're trying to print f, start // by printing out the return types's left, then print our parameters, then // finally print right of the return type. - void printLeft(OutputStream &S) const override { - Ret->printLeft(S); - S += " "; + void printLeft(OutputBuffer &OB) const override { + Ret->printLeft(OB); + OB += " "; } - void printRight(OutputStream &S) const override { - S += "("; - Params.printWithComma(S); - S += ")"; - Ret->printRight(S); + void printRight(OutputBuffer &OB) const override { + OB.printOpen(); + Params.printWithComma(OB); + OB.printClose(); + Ret->printRight(OB); if (CVQuals & QualConst) - S += " const"; + OB += " const"; if (CVQuals & QualVolatile) - S += " volatile"; + OB += " volatile"; if (CVQuals & QualRestrict) - S += " restrict"; + OB += " restrict"; if (RefQual == FrefQualLValue) - S += " &"; + OB += " &"; else if (RefQual == FrefQualRValue) - S += " &&"; + OB += " &&"; if (ExceptionSpec != nullptr) { - S += ' '; - ExceptionSpec->print(S); + OB += ' '; + ExceptionSpec->print(OB); } } }; @@ -742,10 +844,11 @@ public: template void match(Fn F) const { F(E); } - void printLeft(OutputStream &S) const override { - S += "noexcept("; - E->print(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + OB += "noexcept"; + OB.printOpen(); + E->printAsOperand(OB); + OB.printClose(); } }; @@ -757,10 +860,11 @@ public: template void match(Fn F) const { F(Types); } - void printLeft(OutputStream &S) const override { - S += "throw("; - Types.printWithComma(S); - S += ')'; + void printLeft(OutputBuffer &OB) const override { + OB += "throw"; + OB.printOpen(); + Types.printWithComma(OB); + OB.printClose(); } }; @@ -791,41 +895,41 @@ public: NodeArray getParams() const { return Params; } const Node *getReturnType() const { return Ret; } - bool hasRHSComponentSlow(OutputStream &) const override { return true; } - bool hasFunctionSlow(OutputStream &) const override { return true; } + bool hasRHSComponentSlow(OutputBuffer &) const override { return true; } + bool hasFunctionSlow(OutputBuffer &) const override { return true; } const Node *getName() const { return Name; } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (Ret) { - Ret->printLeft(S); - if (!Ret->hasRHSComponent(S)) - S += " "; + Ret->printLeft(OB); + if (!Ret->hasRHSComponent(OB)) + OB += " "; } - Name->print(S); + Name->print(OB); } - void printRight(OutputStream &S) const override { - S += "("; - Params.printWithComma(S); - S += ")"; + void printRight(OutputBuffer &OB) const override { + OB.printOpen(); + Params.printWithComma(OB); + OB.printClose(); if (Ret) - Ret->printRight(S); + Ret->printRight(OB); if (CVQuals & QualConst) - S += " const"; + OB += " const"; if (CVQuals & QualVolatile) - S += " volatile"; + OB += " volatile"; if (CVQuals & QualRestrict) - S += " restrict"; + OB += " restrict"; if (RefQual == FrefQualLValue) - S += " &"; + OB += " &"; else if (RefQual == FrefQualRValue) - S += " &&"; + OB += " &&"; if (Attrs != nullptr) - Attrs->print(S); + Attrs->print(OB); } }; @@ -838,25 +942,25 @@ public: template void match(Fn F) const { F(OpName); } - void printLeft(OutputStream &S) const override { - S += "operator\"\" "; - OpName->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += "operator\"\" "; + OpName->print(OB); } }; class SpecialName final : public Node { - const StringView Special; + const std::string_view Special; const Node *Child; public: - SpecialName(StringView Special_, const Node *Child_) + SpecialName(std::string_view Special_, const Node *Child_) : Node(KSpecialName), Special(Special_), Child(Child_) {} template void match(Fn F) const { F(Special, Child); } - void printLeft(OutputStream &S) const override { - S += Special; - Child->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += Special; + Child->print(OB); } }; @@ -871,11 +975,11 @@ public: template void match(Fn F) const { F(FirstType, SecondType); } - void printLeft(OutputStream &S) const override { - S += "construction vtable for "; - FirstType->print(S); - S += "-in-"; - SecondType->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += "construction vtable for "; + FirstType->print(OB); + OB += "-in-"; + SecondType->print(OB); } }; @@ -888,12 +992,52 @@ struct NestedName : Node { template void match(Fn F) const { F(Qual, Name); } - StringView getBaseName() const override { return Name->getBaseName(); } + std::string_view getBaseName() const override { return Name->getBaseName(); } - void printLeft(OutputStream &S) const override { - Qual->print(S); - S += "::"; - Name->print(S); + void printLeft(OutputBuffer &OB) const override { + Qual->print(OB); + OB += "::"; + Name->print(OB); + } +}; + +struct ModuleName : Node { + ModuleName *Parent; + Node *Name; + bool IsPartition; + + ModuleName(ModuleName *Parent_, Node *Name_, bool IsPartition_ = false) + : Node(KModuleName), Parent(Parent_), Name(Name_), + IsPartition(IsPartition_) {} + + template void match(Fn F) const { + F(Parent, Name, IsPartition); + } + + void printLeft(OutputBuffer &OB) const override { + if (Parent) + Parent->print(OB); + if (Parent || IsPartition) + OB += IsPartition ? ':' : '.'; + Name->print(OB); + } +}; + +struct ModuleEntity : Node { + ModuleName *Module; + Node *Name; + + ModuleEntity(ModuleName *Module_, Node *Name_) + : Node(KModuleEntity), Module(Module_), Name(Name_) {} + + template void match(Fn F) const { F(Module, Name); } + + std::string_view getBaseName() const override { return Name->getBaseName(); } + + void printLeft(OutputBuffer &OB) const override { + Name->print(OB); + OB += '@'; + Module->print(OB); } }; @@ -906,10 +1050,10 @@ struct LocalName : Node { template void match(Fn F) const { F(Encoding, Entity); } - void printLeft(OutputStream &S) const override { - Encoding->print(S); - S += "::"; - Entity->print(S); + void printLeft(OutputBuffer &OB) const override { + Encoding->print(OB); + OB += "::"; + Entity->print(OB); } }; @@ -924,51 +1068,66 @@ public: template void match(Fn F) const { F(Qualifier, Name); } - StringView getBaseName() const override { return Name->getBaseName(); } + std::string_view getBaseName() const override { return Name->getBaseName(); } - void printLeft(OutputStream &S) const override { - Qualifier->print(S); - S += "::"; - Name->print(S); + void printLeft(OutputBuffer &OB) const override { + Qualifier->print(OB); + OB += "::"; + Name->print(OB); } }; class VectorType final : public Node { const Node *BaseType; - const NodeOrString Dimension; + const Node *Dimension; public: - VectorType(const Node *BaseType_, NodeOrString Dimension_) - : Node(KVectorType), BaseType(BaseType_), - Dimension(Dimension_) {} + VectorType(const Node *BaseType_, const Node *Dimension_) + : Node(KVectorType), BaseType(BaseType_), Dimension(Dimension_) {} + + const Node *getBaseType() const { return BaseType; } + const Node *getDimension() const { return Dimension; } template void match(Fn F) const { F(BaseType, Dimension); } - void printLeft(OutputStream &S) const override { - BaseType->print(S); - S += " vector["; - if (Dimension.isNode()) - Dimension.asNode()->print(S); - else if (Dimension.isString()) - S += Dimension.asString(); - S += "]"; + void printLeft(OutputBuffer &OB) const override { + BaseType->print(OB); + OB += " vector["; + if (Dimension) + Dimension->print(OB); + OB += "]"; } }; class PixelVectorType final : public Node { - const NodeOrString Dimension; + const Node *Dimension; public: - PixelVectorType(NodeOrString Dimension_) + PixelVectorType(const Node *Dimension_) : Node(KPixelVectorType), Dimension(Dimension_) {} template void match(Fn F) const { F(Dimension); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { // FIXME: This should demangle as "vector pixel". - S += "pixel vector["; - S += Dimension.asString(); - S += "]"; + OB += "pixel vector["; + Dimension->print(OB); + OB += "]"; + } +}; + +class BinaryFPType final : public Node { + const Node *Dimension; + +public: + BinaryFPType(const Node *Dimension_) + : Node(KBinaryFPType), Dimension(Dimension_) {} + + template void match(Fn F) const { F(Dimension); } + + void printLeft(OutputBuffer &OB) const override { + OB += "_Float"; + Dimension->print(OB); } }; @@ -990,20 +1149,20 @@ public: template void match(Fn F) const { F(Kind, Index); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { switch (Kind) { case TemplateParamKind::Type: - S += "$T"; + OB += "$T"; break; case TemplateParamKind::NonType: - S += "$N"; + OB += "$N"; break; case TemplateParamKind::Template: - S += "$TT"; + OB += "$TT"; break; } if (Index > 0) - S << Index - 1; + OB << Index - 1; } }; @@ -1017,13 +1176,9 @@ public: template void match(Fn F) const { F(Name); } - void printLeft(OutputStream &S) const override { - S += "typename "; - } + void printLeft(OutputBuffer &OB) const override { OB += "typename "; } - void printRight(OutputStream &S) const override { - Name->print(S); - } + void printRight(OutputBuffer &OB) const override { Name->print(OB); } }; /// A non-type template parameter declaration, 'int N'. @@ -1037,15 +1192,15 @@ public: template void match(Fn F) const { F(Name, Type); } - void printLeft(OutputStream &S) const override { - Type->printLeft(S); - if (!Type->hasRHSComponent(S)) - S += " "; + void printLeft(OutputBuffer &OB) const override { + Type->printLeft(OB); + if (!Type->hasRHSComponent(OB)) + OB += " "; } - void printRight(OutputStream &S) const override { - Name->print(S); - Type->printRight(S); + void printRight(OutputBuffer &OB) const override { + Name->print(OB); + Type->printRight(OB); } }; @@ -1062,15 +1217,14 @@ public: template void match(Fn F) const { F(Name, Params); } - void printLeft(OutputStream &S) const override { - S += "template<"; - Params.printWithComma(S); - S += "> typename "; + void printLeft(OutputBuffer &OB) const override { + ScopedOverride LT(OB.GtIsGt, 0); + OB += "template<"; + Params.printWithComma(OB); + OB += "> typename "; } - void printRight(OutputStream &S) const override { - Name->print(S); - } + void printRight(OutputBuffer &OB) const override { Name->print(OB); } }; /// A template parameter pack declaration, 'typename ...T'. @@ -1083,14 +1237,12 @@ public: template void match(Fn F) const { F(Param); } - void printLeft(OutputStream &S) const override { - Param->printLeft(S); - S += "..."; + void printLeft(OutputBuffer &OB) const override { + Param->printLeft(OB); + OB += "..."; } - void printRight(OutputStream &S) const override { - Param->printRight(S); - } + void printRight(OutputBuffer &OB) const override { Param->printRight(OB); } }; /// An unexpanded parameter pack (either in the expression or type context). If @@ -1104,11 +1256,12 @@ public: class ParameterPack final : public Node { NodeArray Data; - // Setup OutputStream for a pack expansion unless we're already expanding one. - void initializePackExpansion(OutputStream &S) const { - if (S.CurrentPackMax == std::numeric_limits::max()) { - S.CurrentPackMax = static_cast(Data.size()); - S.CurrentPackIndex = 0; + // Setup OutputBuffer for a pack expansion, unless we're already expanding + // one. + void initializePackExpansion(OutputBuffer &OB) const { + if (OB.CurrentPackMax == std::numeric_limits::max()) { + OB.CurrentPackMax = static_cast(Data.size()); + OB.CurrentPackIndex = 0; } } @@ -1131,38 +1284,38 @@ public: template void match(Fn F) const { F(Data); } - bool hasRHSComponentSlow(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; - return Idx < Data.size() && Data[Idx]->hasRHSComponent(S); + bool hasRHSComponentSlow(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; + return Idx < Data.size() && Data[Idx]->hasRHSComponent(OB); } - bool hasArraySlow(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; - return Idx < Data.size() && Data[Idx]->hasArray(S); + bool hasArraySlow(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; + return Idx < Data.size() && Data[Idx]->hasArray(OB); } - bool hasFunctionSlow(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; - return Idx < Data.size() && Data[Idx]->hasFunction(S); + bool hasFunctionSlow(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; + return Idx < Data.size() && Data[Idx]->hasFunction(OB); } - const Node *getSyntaxNode(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; - return Idx < Data.size() ? Data[Idx]->getSyntaxNode(S) : this; + const Node *getSyntaxNode(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; + return Idx < Data.size() ? Data[Idx]->getSyntaxNode(OB) : this; } - void printLeft(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; + void printLeft(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; if (Idx < Data.size()) - Data[Idx]->printLeft(S); + Data[Idx]->printLeft(OB); } - void printRight(OutputStream &S) const override { - initializePackExpansion(S); - size_t Idx = S.CurrentPackIndex; + void printRight(OutputBuffer &OB) const override { + initializePackExpansion(OB); + size_t Idx = OB.CurrentPackIndex; if (Idx < Data.size()) - Data[Idx]->printRight(S); + Data[Idx]->printRight(OB); } }; @@ -1181,8 +1334,8 @@ public: NodeArray getElements() const { return Elements; } - void printLeft(OutputStream &S) const override { - Elements.printWithComma(S); + void printLeft(OutputBuffer &OB) const override { + Elements.printWithComma(OB); } }; @@ -1199,35 +1352,35 @@ public: const Node *getChild() const { return Child; } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { constexpr unsigned Max = std::numeric_limits::max(); - SwapAndRestore SavePackIdx(S.CurrentPackIndex, Max); - SwapAndRestore SavePackMax(S.CurrentPackMax, Max); - size_t StreamPos = S.getCurrentPosition(); + ScopedOverride SavePackIdx(OB.CurrentPackIndex, Max); + ScopedOverride SavePackMax(OB.CurrentPackMax, Max); + size_t StreamPos = OB.getCurrentPosition(); // Print the first element in the pack. If Child contains a ParameterPack, // it will set up S.CurrentPackMax and print the first element. - Child->print(S); + Child->print(OB); // No ParameterPack was found in Child. This can occur if we've found a pack // expansion on a . - if (S.CurrentPackMax == Max) { - S += "..."; + if (OB.CurrentPackMax == Max) { + OB += "..."; return; } // We found a ParameterPack, but it has no elements. Erase whatever we may // of printed. - if (S.CurrentPackMax == 0) { - S.setCurrentPosition(StreamPos); + if (OB.CurrentPackMax == 0) { + OB.setCurrentPosition(StreamPos); return; } // Else, iterate through the rest of the elements in the pack. - for (unsigned I = 1, E = S.CurrentPackMax; I < E; ++I) { - S += ", "; - S.CurrentPackIndex = I; - Child->print(S); + for (unsigned I = 1, E = OB.CurrentPackMax; I < E; ++I) { + OB += ", "; + OB.CurrentPackIndex = I; + Child->print(OB); } } }; @@ -1242,12 +1395,11 @@ public: NodeArray getParams() { return Params; } - void printLeft(OutputStream &S) const override { - S += "<"; - Params.printWithComma(S); - if (S.back() == '>') - S += " "; - S += ">"; + void printLeft(OutputBuffer &OB) const override { + ScopedOverride LT(OB.GtIsGt, 0); + OB += "<"; + Params.printWithComma(OB); + OB += ">"; } }; @@ -1289,42 +1441,42 @@ struct ForwardTemplateReference : Node { // special handling. template void match(Fn F) const = delete; - bool hasRHSComponentSlow(OutputStream &S) const override { + bool hasRHSComponentSlow(OutputBuffer &OB) const override { if (Printing) return false; - SwapAndRestore SavePrinting(Printing, true); - return Ref->hasRHSComponent(S); + ScopedOverride SavePrinting(Printing, true); + return Ref->hasRHSComponent(OB); } - bool hasArraySlow(OutputStream &S) const override { + bool hasArraySlow(OutputBuffer &OB) const override { if (Printing) return false; - SwapAndRestore SavePrinting(Printing, true); - return Ref->hasArray(S); + ScopedOverride SavePrinting(Printing, true); + return Ref->hasArray(OB); } - bool hasFunctionSlow(OutputStream &S) const override { + bool hasFunctionSlow(OutputBuffer &OB) const override { if (Printing) return false; - SwapAndRestore SavePrinting(Printing, true); - return Ref->hasFunction(S); + ScopedOverride SavePrinting(Printing, true); + return Ref->hasFunction(OB); } - const Node *getSyntaxNode(OutputStream &S) const override { + const Node *getSyntaxNode(OutputBuffer &OB) const override { if (Printing) return this; - SwapAndRestore SavePrinting(Printing, true); - return Ref->getSyntaxNode(S); + ScopedOverride SavePrinting(Printing, true); + return Ref->getSyntaxNode(OB); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (Printing) return; - SwapAndRestore SavePrinting(Printing, true); - Ref->printLeft(S); + ScopedOverride SavePrinting(Printing, true); + Ref->printLeft(OB); } - void printRight(OutputStream &S) const override { + void printRight(OutputBuffer &OB) const override { if (Printing) return; - SwapAndRestore SavePrinting(Printing, true); - Ref->printRight(S); + ScopedOverride SavePrinting(Printing, true); + Ref->printRight(OB); } }; @@ -1338,11 +1490,11 @@ struct NameWithTemplateArgs : Node { template void match(Fn F) const { F(Name, TemplateArgs); } - StringView getBaseName() const override { return Name->getBaseName(); } + std::string_view getBaseName() const override { return Name->getBaseName(); } - void printLeft(OutputStream &S) const override { - Name->print(S); - TemplateArgs->print(S); + void printLeft(OutputBuffer &OB) const override { + Name->print(OB); + TemplateArgs->print(OB); } }; @@ -1355,26 +1507,11 @@ public: template void match(Fn F) const { F(Child); } - StringView getBaseName() const override { return Child->getBaseName(); } + std::string_view getBaseName() const override { return Child->getBaseName(); } - void printLeft(OutputStream &S) const override { - S += "::"; - Child->print(S); - } -}; - -struct StdQualifiedName : Node { - Node *Child; - - StdQualifiedName(Node *Child_) : Node(KStdQualifiedName), Child(Child_) {} - - template void match(Fn F) const { F(Child); } - - StringView getBaseName() const override { return Child->getBaseName(); } - - void printLeft(OutputStream &S) const override { - S += "std::"; - Child->print(S); + void printLeft(OutputBuffer &OB) const override { + OB += "::"; + Child->print(OB); } }; @@ -1387,109 +1524,81 @@ enum class SpecialSubKind { iostream, }; -class ExpandedSpecialSubstitution final : public Node { +class SpecialSubstitution; +class ExpandedSpecialSubstitution : public Node { +protected: SpecialSubKind SSK; + ExpandedSpecialSubstitution(SpecialSubKind SSK_, Kind K_) + : Node(K_), SSK(SSK_) {} public: ExpandedSpecialSubstitution(SpecialSubKind SSK_) - : Node(KExpandedSpecialSubstitution), SSK(SSK_) {} + : ExpandedSpecialSubstitution(SSK_, KExpandedSpecialSubstitution) {} + inline ExpandedSpecialSubstitution(SpecialSubstitution const *); template void match(Fn F) const { F(SSK); } - StringView getBaseName() const override { +protected: + bool isInstantiation() const { + return unsigned(SSK) >= unsigned(SpecialSubKind::string); + } + + std::string_view getBaseName() const override { switch (SSK) { case SpecialSubKind::allocator: - return StringView("allocator"); + return {"allocator"}; case SpecialSubKind::basic_string: - return StringView("basic_string"); + return {"basic_string"}; case SpecialSubKind::string: - return StringView("basic_string"); + return {"basic_string"}; case SpecialSubKind::istream: - return StringView("basic_istream"); + return {"basic_istream"}; case SpecialSubKind::ostream: - return StringView("basic_ostream"); + return {"basic_ostream"}; case SpecialSubKind::iostream: - return StringView("basic_iostream"); + return {"basic_iostream"}; } DEMANGLE_UNREACHABLE; } - void printLeft(OutputStream &S) const override { - switch (SSK) { - case SpecialSubKind::allocator: - S += "std::allocator"; - break; - case SpecialSubKind::basic_string: - S += "std::basic_string"; - break; - case SpecialSubKind::string: - S += "std::basic_string, " - "std::allocator >"; - break; - case SpecialSubKind::istream: - S += "std::basic_istream >"; - break; - case SpecialSubKind::ostream: - S += "std::basic_ostream >"; - break; - case SpecialSubKind::iostream: - S += "std::basic_iostream >"; - break; +private: + void printLeft(OutputBuffer &OB) const override { + OB << "std::" << getBaseName(); + if (isInstantiation()) { + OB << ""; + if (SSK == SpecialSubKind::string) + OB << ", std::allocator"; + OB << ">"; } } }; -class SpecialSubstitution final : public Node { +class SpecialSubstitution final : public ExpandedSpecialSubstitution { public: - SpecialSubKind SSK; - SpecialSubstitution(SpecialSubKind SSK_) - : Node(KSpecialSubstitution), SSK(SSK_) {} + : ExpandedSpecialSubstitution(SSK_, KSpecialSubstitution) {} template void match(Fn F) const { F(SSK); } - StringView getBaseName() const override { - switch (SSK) { - case SpecialSubKind::allocator: - return StringView("allocator"); - case SpecialSubKind::basic_string: - return StringView("basic_string"); - case SpecialSubKind::string: - return StringView("string"); - case SpecialSubKind::istream: - return StringView("istream"); - case SpecialSubKind::ostream: - return StringView("ostream"); - case SpecialSubKind::iostream: - return StringView("iostream"); + std::string_view getBaseName() const override { + std::string_view SV = ExpandedSpecialSubstitution::getBaseName(); + if (isInstantiation()) { + // The instantiations are typedefs that drop the "basic_" prefix. + assert(llvm::itanium_demangle::starts_with(SV, "basic_")); + SV.remove_prefix(sizeof("basic_") - 1); } - DEMANGLE_UNREACHABLE; + return SV; } - void printLeft(OutputStream &S) const override { - switch (SSK) { - case SpecialSubKind::allocator: - S += "std::allocator"; - break; - case SpecialSubKind::basic_string: - S += "std::basic_string"; - break; - case SpecialSubKind::string: - S += "std::string"; - break; - case SpecialSubKind::istream: - S += "std::istream"; - break; - case SpecialSubKind::ostream: - S += "std::ostream"; - break; - case SpecialSubKind::iostream: - S += "std::iostream"; - break; - } + void printLeft(OutputBuffer &OB) const override { + OB << "std::" << getBaseName(); } }; +inline ExpandedSpecialSubstitution::ExpandedSpecialSubstitution( + SpecialSubstitution const *SS) + : ExpandedSpecialSubstitution(SS->SSK) {} + class CtorDtorName final : public Node { const Node *Basename; const bool IsDtor; @@ -1502,10 +1611,10 @@ public: template void match(Fn F) const { F(Basename, IsDtor, Variant); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (IsDtor) - S += "~"; - S += Basename->getBaseName(); + OB += "~"; + OB += Basename->getBaseName(); } }; @@ -1517,35 +1626,36 @@ public: template void match(Fn F) const { F(Base); } - void printLeft(OutputStream &S) const override { - S += "~"; - Base->printLeft(S); + void printLeft(OutputBuffer &OB) const override { + OB += "~"; + Base->printLeft(OB); } }; class UnnamedTypeName : public Node { - const StringView Count; + const std::string_view Count; public: - UnnamedTypeName(StringView Count_) : Node(KUnnamedTypeName), Count(Count_) {} + UnnamedTypeName(std::string_view Count_) + : Node(KUnnamedTypeName), Count(Count_) {} template void match(Fn F) const { F(Count); } - void printLeft(OutputStream &S) const override { - S += "'unnamed"; - S += Count; - S += "\'"; + void printLeft(OutputBuffer &OB) const override { + OB += "'unnamed"; + OB += Count; + OB += "\'"; } }; class ClosureTypeName : public Node { NodeArray TemplateParams; NodeArray Params; - StringView Count; + std::string_view Count; public: ClosureTypeName(NodeArray TemplateParams_, NodeArray Params_, - StringView Count_) + std::string_view Count_) : Node(KClosureTypeName), TemplateParams(TemplateParams_), Params(Params_), Count(Count_) {} @@ -1553,22 +1663,23 @@ public: F(TemplateParams, Params, Count); } - void printDeclarator(OutputStream &S) const { + void printDeclarator(OutputBuffer &OB) const { if (!TemplateParams.empty()) { - S += "<"; - TemplateParams.printWithComma(S); - S += ">"; + ScopedOverride LT(OB.GtIsGt, 0); + OB += "<"; + TemplateParams.printWithComma(OB); + OB += ">"; } - S += "("; - Params.printWithComma(S); - S += ")"; + OB.printOpen(); + Params.printWithComma(OB); + OB.printClose(); } - void printLeft(OutputStream &S) const override { - S += "\'lambda"; - S += Count; - S += "\'"; - printDeclarator(S); + void printLeft(OutputBuffer &OB) const override { + OB += "\'lambda"; + OB += Count; + OB += "\'"; + printDeclarator(OB); } }; @@ -1580,10 +1691,10 @@ public: template void match(Fn F) const { F(Bindings); } - void printLeft(OutputStream &S) const override { - S += '['; - Bindings.printWithComma(S); - S += ']'; + void printLeft(OutputBuffer &OB) const override { + OB.printOpen('['); + Bindings.printWithComma(OB); + OB.printClose(']'); } }; @@ -1591,32 +1702,35 @@ public: class BinaryExpr : public Node { const Node *LHS; - const StringView InfixOperator; + const std::string_view InfixOperator; const Node *RHS; public: - BinaryExpr(const Node *LHS_, StringView InfixOperator_, const Node *RHS_) - : Node(KBinaryExpr), LHS(LHS_), InfixOperator(InfixOperator_), RHS(RHS_) { + BinaryExpr(const Node *LHS_, std::string_view InfixOperator_, + const Node *RHS_, Prec Prec_) + : Node(KBinaryExpr, Prec_), LHS(LHS_), InfixOperator(InfixOperator_), + RHS(RHS_) {} + + template void match(Fn F) const { + F(LHS, InfixOperator, RHS, getPrecedence()); } - template void match(Fn F) const { F(LHS, InfixOperator, RHS); } - - void printLeft(OutputStream &S) const override { - // might be a template argument expression, then we need to disambiguate - // with parens. - if (InfixOperator == ">") - S += "("; - - S += "("; - LHS->print(S); - S += ") "; - S += InfixOperator; - S += " ("; - RHS->print(S); - S += ")"; - - if (InfixOperator == ">") - S += ")"; + void printLeft(OutputBuffer &OB) const override { + bool ParenAll = OB.isGtInsideTemplateArgs() && + (InfixOperator == ">" || InfixOperator == ">>"); + if (ParenAll) + OB.printOpen(); + // Assignment is right associative, with special LHS precedence. + bool IsAssign = getPrecedence() == Prec::Assign; + LHS->printAsOperand(OB, IsAssign ? Prec::OrIf : getPrecedence(), !IsAssign); + // No space before comma operator + if (!(InfixOperator == ",")) + OB += " "; + OB += InfixOperator; + OB += " "; + RHS->printAsOperand(OB, getPrecedence(), IsAssign); + if (ParenAll) + OB.printClose(); } }; @@ -1625,35 +1739,36 @@ class ArraySubscriptExpr : public Node { const Node *Op2; public: - ArraySubscriptExpr(const Node *Op1_, const Node *Op2_) - : Node(KArraySubscriptExpr), Op1(Op1_), Op2(Op2_) {} + ArraySubscriptExpr(const Node *Op1_, const Node *Op2_, Prec Prec_) + : Node(KArraySubscriptExpr, Prec_), Op1(Op1_), Op2(Op2_) {} - template void match(Fn F) const { F(Op1, Op2); } + template void match(Fn F) const { + F(Op1, Op2, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += "("; - Op1->print(S); - S += ")["; - Op2->print(S); - S += "]"; + void printLeft(OutputBuffer &OB) const override { + Op1->printAsOperand(OB, getPrecedence()); + OB.printOpen('['); + Op2->printAsOperand(OB); + OB.printClose(']'); } }; class PostfixExpr : public Node { const Node *Child; - const StringView Operator; + const std::string_view Operator; public: - PostfixExpr(const Node *Child_, StringView Operator_) - : Node(KPostfixExpr), Child(Child_), Operator(Operator_) {} + PostfixExpr(const Node *Child_, std::string_view Operator_, Prec Prec_) + : Node(KPostfixExpr, Prec_), Child(Child_), Operator(Operator_) {} - template void match(Fn F) const { F(Child, Operator); } + template void match(Fn F) const { + F(Child, Operator, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += "("; - Child->print(S); - S += ")"; - S += Operator; + void printLeft(OutputBuffer &OB) const override { + Child->printAsOperand(OB, getPrecedence(), true); + OB += Operator; } }; @@ -1663,78 +1778,128 @@ class ConditionalExpr : public Node { const Node *Else; public: - ConditionalExpr(const Node *Cond_, const Node *Then_, const Node *Else_) - : Node(KConditionalExpr), Cond(Cond_), Then(Then_), Else(Else_) {} + ConditionalExpr(const Node *Cond_, const Node *Then_, const Node *Else_, + Prec Prec_) + : Node(KConditionalExpr, Prec_), Cond(Cond_), Then(Then_), Else(Else_) {} - template void match(Fn F) const { F(Cond, Then, Else); } + template void match(Fn F) const { + F(Cond, Then, Else, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += "("; - Cond->print(S); - S += ") ? ("; - Then->print(S); - S += ") : ("; - Else->print(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + Cond->printAsOperand(OB, getPrecedence()); + OB += " ? "; + Then->printAsOperand(OB); + OB += " : "; + Else->printAsOperand(OB, Prec::Assign, true); } }; class MemberExpr : public Node { const Node *LHS; - const StringView Kind; + const std::string_view Kind; const Node *RHS; public: - MemberExpr(const Node *LHS_, StringView Kind_, const Node *RHS_) - : Node(KMemberExpr), LHS(LHS_), Kind(Kind_), RHS(RHS_) {} + MemberExpr(const Node *LHS_, std::string_view Kind_, const Node *RHS_, + Prec Prec_) + : Node(KMemberExpr, Prec_), LHS(LHS_), Kind(Kind_), RHS(RHS_) {} - template void match(Fn F) const { F(LHS, Kind, RHS); } + template void match(Fn F) const { + F(LHS, Kind, RHS, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - LHS->print(S); - S += Kind; - RHS->print(S); + void printLeft(OutputBuffer &OB) const override { + LHS->printAsOperand(OB, getPrecedence(), true); + OB += Kind; + RHS->printAsOperand(OB, getPrecedence(), false); + } +}; + +class SubobjectExpr : public Node { + const Node *Type; + const Node *SubExpr; + std::string_view Offset; + NodeArray UnionSelectors; + bool OnePastTheEnd; + +public: + SubobjectExpr(const Node *Type_, const Node *SubExpr_, + std::string_view Offset_, NodeArray UnionSelectors_, + bool OnePastTheEnd_) + : Node(KSubobjectExpr), Type(Type_), SubExpr(SubExpr_), Offset(Offset_), + UnionSelectors(UnionSelectors_), OnePastTheEnd(OnePastTheEnd_) {} + + template void match(Fn F) const { + F(Type, SubExpr, Offset, UnionSelectors, OnePastTheEnd); + } + + void printLeft(OutputBuffer &OB) const override { + SubExpr->print(OB); + OB += ".<"; + Type->print(OB); + OB += " at offset "; + if (Offset.empty()) { + OB += "0"; + } else if (Offset[0] == 'n') { + OB += "-"; + OB += std::string_view(Offset.data() + 1, Offset.size() - 1); + } else { + OB += Offset; + } + OB += ">"; } }; class EnclosingExpr : public Node { - const StringView Prefix; + const std::string_view Prefix; const Node *Infix; - const StringView Postfix; + const std::string_view Postfix; public: - EnclosingExpr(StringView Prefix_, Node *Infix_, StringView Postfix_) - : Node(KEnclosingExpr), Prefix(Prefix_), Infix(Infix_), - Postfix(Postfix_) {} + EnclosingExpr(std::string_view Prefix_, const Node *Infix_, + Prec Prec_ = Prec::Primary) + : Node(KEnclosingExpr, Prec_), Prefix(Prefix_), Infix(Infix_) {} - template void match(Fn F) const { F(Prefix, Infix, Postfix); } + template void match(Fn F) const { + F(Prefix, Infix, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += Prefix; - Infix->print(S); - S += Postfix; + void printLeft(OutputBuffer &OB) const override { + OB += Prefix; + OB.printOpen(); + Infix->print(OB); + OB.printClose(); + OB += Postfix; } }; class CastExpr : public Node { // cast_kind(from) - const StringView CastKind; + const std::string_view CastKind; const Node *To; const Node *From; public: - CastExpr(StringView CastKind_, const Node *To_, const Node *From_) - : Node(KCastExpr), CastKind(CastKind_), To(To_), From(From_) {} + CastExpr(std::string_view CastKind_, const Node *To_, const Node *From_, + Prec Prec_) + : Node(KCastExpr, Prec_), CastKind(CastKind_), To(To_), From(From_) {} - template void match(Fn F) const { F(CastKind, To, From); } + template void match(Fn F) const { + F(CastKind, To, From, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += CastKind; - S += "<"; - To->printLeft(S); - S += ">("; - From->printLeft(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + OB += CastKind; + { + ScopedOverride LT(OB.GtIsGt, 0); + OB += "<"; + To->printLeft(OB); + OB += ">"; + } + OB.printOpen(); + From->printAsOperand(OB); + OB.printClose(); } }; @@ -1747,11 +1912,12 @@ public: template void match(Fn F) const { F(Pack); } - void printLeft(OutputStream &S) const override { - S += "sizeof...("; + void printLeft(OutputBuffer &OB) const override { + OB += "sizeof..."; + OB.printOpen(); ParameterPackExpansion PPE(Pack); - PPE.printLeft(S); - S += ")"; + PPE.printLeft(OB); + OB.printClose(); } }; @@ -1760,16 +1926,18 @@ class CallExpr : public Node { NodeArray Args; public: - CallExpr(const Node *Callee_, NodeArray Args_) - : Node(KCallExpr), Callee(Callee_), Args(Args_) {} + CallExpr(const Node *Callee_, NodeArray Args_, Prec Prec_) + : Node(KCallExpr, Prec_), Callee(Callee_), Args(Args_) {} - template void match(Fn F) const { F(Callee, Args); } + template void match(Fn F) const { + F(Callee, Args, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - Callee->print(S); - S += "("; - Args.printWithComma(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + Callee->print(OB); + OB.printOpen(); + Args.printWithComma(OB); + OB.printClose(); } }; @@ -1782,33 +1950,32 @@ class NewExpr : public Node { bool IsArray; // new[] ? public: NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, - bool IsArray_) - : Node(KNewExpr), ExprList(ExprList_), Type(Type_), InitList(InitList_), - IsGlobal(IsGlobal_), IsArray(IsArray_) {} + bool IsArray_, Prec Prec_) + : Node(KNewExpr, Prec_), ExprList(ExprList_), Type(Type_), + InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} template void match(Fn F) const { - F(ExprList, Type, InitList, IsGlobal, IsArray); + F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (IsGlobal) - S += "::operator "; - S += "new"; + OB += "::"; + OB += "new"; if (IsArray) - S += "[]"; - S += ' '; + OB += "[]"; if (!ExprList.empty()) { - S += "("; - ExprList.printWithComma(S); - S += ")"; + OB.printOpen(); + ExprList.printWithComma(OB); + OB.printClose(); } - Type->print(S); + OB += " "; + Type->print(OB); if (!InitList.empty()) { - S += "("; - InitList.printWithComma(S); - S += ")"; + OB.printOpen(); + InitList.printWithComma(OB); + OB.printClose(); } - } }; @@ -1818,50 +1985,55 @@ class DeleteExpr : public Node { bool IsArray; public: - DeleteExpr(Node *Op_, bool IsGlobal_, bool IsArray_) - : Node(KDeleteExpr), Op(Op_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} + DeleteExpr(Node *Op_, bool IsGlobal_, bool IsArray_, Prec Prec_) + : Node(KDeleteExpr, Prec_), Op(Op_), IsGlobal(IsGlobal_), + IsArray(IsArray_) {} - template void match(Fn F) const { F(Op, IsGlobal, IsArray); } + template void match(Fn F) const { + F(Op, IsGlobal, IsArray, getPrecedence()); + } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (IsGlobal) - S += "::"; - S += "delete"; + OB += "::"; + OB += "delete"; if (IsArray) - S += "[] "; - Op->print(S); + OB += "[]"; + OB += ' '; + Op->print(OB); } }; class PrefixExpr : public Node { - StringView Prefix; + std::string_view Prefix; Node *Child; public: - PrefixExpr(StringView Prefix_, Node *Child_) - : Node(KPrefixExpr), Prefix(Prefix_), Child(Child_) {} + PrefixExpr(std::string_view Prefix_, Node *Child_, Prec Prec_) + : Node(KPrefixExpr, Prec_), Prefix(Prefix_), Child(Child_) {} - template void match(Fn F) const { F(Prefix, Child); } + template void match(Fn F) const { + F(Prefix, Child, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += Prefix; - S += "("; - Child->print(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + OB += Prefix; + Child->printAsOperand(OB, getPrecedence()); } }; class FunctionParam : public Node { - StringView Number; + std::string_view Number; public: - FunctionParam(StringView Number_) : Node(KFunctionParam), Number(Number_) {} + FunctionParam(std::string_view Number_) + : Node(KFunctionParam), Number(Number_) {} template void match(Fn F) const { F(Number); } - void printLeft(OutputStream &S) const override { - S += "fp"; - S += Number; + void printLeft(OutputBuffer &OB) const override { + OB += "fp"; + OB += Number; } }; @@ -1870,17 +2042,45 @@ class ConversionExpr : public Node { NodeArray Expressions; public: - ConversionExpr(const Node *Type_, NodeArray Expressions_) - : Node(KConversionExpr), Type(Type_), Expressions(Expressions_) {} + ConversionExpr(const Node *Type_, NodeArray Expressions_, Prec Prec_) + : Node(KConversionExpr, Prec_), Type(Type_), Expressions(Expressions_) {} - template void match(Fn F) const { F(Type, Expressions); } + template void match(Fn F) const { + F(Type, Expressions, getPrecedence()); + } - void printLeft(OutputStream &S) const override { - S += "("; - Type->print(S); - S += ")("; - Expressions.printWithComma(S); - S += ")"; + void printLeft(OutputBuffer &OB) const override { + OB.printOpen(); + Type->print(OB); + OB.printClose(); + OB.printOpen(); + Expressions.printWithComma(OB); + OB.printClose(); + } +}; + +class PointerToMemberConversionExpr : public Node { + const Node *Type; + const Node *SubExpr; + std::string_view Offset; + +public: + PointerToMemberConversionExpr(const Node *Type_, const Node *SubExpr_, + std::string_view Offset_, Prec Prec_) + : Node(KPointerToMemberConversionExpr, Prec_), Type(Type_), + SubExpr(SubExpr_), Offset(Offset_) {} + + template void match(Fn F) const { + F(Type, SubExpr, Offset, getPrecedence()); + } + + void printLeft(OutputBuffer &OB) const override { + OB.printOpen(); + Type->print(OB); + OB.printClose(); + OB.printOpen(); + SubExpr->print(OB); + OB.printClose(); } }; @@ -1893,12 +2093,12 @@ public: template void match(Fn F) const { F(Ty, Inits); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (Ty) - Ty->print(S); - S += '{'; - Inits.printWithComma(S); - S += '}'; + Ty->print(OB); + OB += '{'; + Inits.printWithComma(OB); + OB += '}'; } }; @@ -1912,18 +2112,18 @@ public: template void match(Fn F) const { F(Elem, Init, IsArray); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (IsArray) { - S += '['; - Elem->print(S); - S += ']'; + OB += '['; + Elem->print(OB); + OB += ']'; } else { - S += '.'; - Elem->print(S); + OB += '.'; + Elem->print(OB); } if (Init->getKind() != KBracedExpr && Init->getKind() != KBracedRangeExpr) - S += " = "; - Init->print(S); + OB += " = "; + Init->print(OB); } }; @@ -1937,25 +2137,25 @@ public: template void match(Fn F) const { F(First, Last, Init); } - void printLeft(OutputStream &S) const override { - S += '['; - First->print(S); - S += " ... "; - Last->print(S); - S += ']'; + void printLeft(OutputBuffer &OB) const override { + OB += '['; + First->print(OB); + OB += " ... "; + Last->print(OB); + OB += ']'; if (Init->getKind() != KBracedExpr && Init->getKind() != KBracedRangeExpr) - S += " = "; - Init->print(S); + OB += " = "; + Init->print(OB); } }; class FoldExpr : public Node { const Node *Pack, *Init; - StringView OperatorName; + std::string_view OperatorName; bool IsLeftFold; public: - FoldExpr(bool IsLeftFold_, StringView OperatorName_, const Node *Pack_, + FoldExpr(bool IsLeftFold_, std::string_view OperatorName_, const Node *Pack_, const Node *Init_) : Node(KFoldExpr), Pack(Pack_), Init(Init_), OperatorName(OperatorName_), IsLeftFold(IsLeftFold_) {} @@ -1964,43 +2164,35 @@ public: F(IsLeftFold, OperatorName, Pack, Init); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { auto PrintPack = [&] { - S += '('; - ParameterPackExpansion(Pack).print(S); - S += ')'; + OB.printOpen(); + ParameterPackExpansion(Pack).print(OB); + OB.printClose(); }; - S += '('; - - if (IsLeftFold) { - // init op ... op pack - if (Init != nullptr) { - Init->print(S); - S += ' '; - S += OperatorName; - S += ' '; - } - // ... op pack - S += "... "; - S += OperatorName; - S += ' '; - PrintPack(); - } else { // !IsLeftFold - // pack op ... - PrintPack(); - S += ' '; - S += OperatorName; - S += " ..."; - // pack op ... op init - if (Init != nullptr) { - S += ' '; - S += OperatorName; - S += ' '; - Init->print(S); - } + OB.printOpen(); + // Either '[init op ]... op pack' or 'pack op ...[ op init]' + // Refactored to '[(init|pack) op ]...[ op (pack|init)]' + // Fold expr operands are cast-expressions + if (!IsLeftFold || Init != nullptr) { + // '(init|pack) op ' + if (IsLeftFold) + Init->printAsOperand(OB, Prec::Cast, true); + else + PrintPack(); + OB << " " << OperatorName << " "; } - S += ')'; + OB << "..."; + if (IsLeftFold || Init != nullptr) { + // ' op (init|pack)' + OB << " " << OperatorName << " "; + if (IsLeftFold) + PrintPack(); + else + Init->printAsOperand(OB, Prec::Cast, true); + } + OB.printClose(); } }; @@ -2012,24 +2204,9 @@ public: template void match(Fn F) const { F(Op); } - void printLeft(OutputStream &S) const override { - S += "throw "; - Op->print(S); - } -}; - -// MSVC __uuidof extension, generated by clang in -fms-extensions mode. -class UUIDOfExpr : public Node { - Node *Operand; -public: - UUIDOfExpr(Node *Operand_) : Node(KUUIDOfExpr), Operand(Operand_) {} - - template void match(Fn F) const { F(Operand); } - - void printLeft(OutputStream &S) const override { - S << "__uuidof("; - Operand->print(S); - S << ")"; + void printLeft(OutputBuffer &OB) const override { + OB += "throw "; + Op->print(OB); } }; @@ -2041,8 +2218,8 @@ public: template void match(Fn F) const { F(Value); } - void printLeft(OutputStream &S) const override { - S += Value ? StringView("true") : StringView("false"); + void printLeft(OutputBuffer &OB) const override { + OB += Value ? std::string_view("true") : std::string_view("false"); } }; @@ -2054,10 +2231,10 @@ public: template void match(Fn F) const { F(Type); } - void printLeft(OutputStream &S) const override { - S += "\"<"; - Type->print(S); - S += ">\""; + void printLeft(OutputBuffer &OB) const override { + OB += "\"<"; + Type->print(OB); + OB += ">\""; } }; @@ -2069,58 +2246,61 @@ public: template void match(Fn F) const { F(Type); } - void printLeft(OutputStream &S) const override { - S += "[]"; + void printLeft(OutputBuffer &OB) const override { + OB += "[]"; if (Type->getKind() == KClosureTypeName) - static_cast(Type)->printDeclarator(S); - S += "{...}"; + static_cast(Type)->printDeclarator(OB); + OB += "{...}"; } }; -class IntegerCastExpr : public Node { +class EnumLiteral : public Node { // ty(integer) const Node *Ty; - StringView Integer; + std::string_view Integer; public: - IntegerCastExpr(const Node *Ty_, StringView Integer_) - : Node(KIntegerCastExpr), Ty(Ty_), Integer(Integer_) {} + EnumLiteral(const Node *Ty_, std::string_view Integer_) + : Node(KEnumLiteral), Ty(Ty_), Integer(Integer_) {} template void match(Fn F) const { F(Ty, Integer); } - void printLeft(OutputStream &S) const override { - S += "("; - Ty->print(S); - S += ")"; - S += Integer; + void printLeft(OutputBuffer &OB) const override { + OB.printOpen(); + Ty->print(OB); + OB.printClose(); + + if (Integer[0] == 'n') + OB << '-' << std::string_view(Integer.data() + 1, Integer.size() - 1); + else + OB << Integer; } }; class IntegerLiteral : public Node { - StringView Type; - StringView Value; + std::string_view Type; + std::string_view Value; public: - IntegerLiteral(StringView Type_, StringView Value_) + IntegerLiteral(std::string_view Type_, std::string_view Value_) : Node(KIntegerLiteral), Type(Type_), Value(Value_) {} template void match(Fn F) const { F(Type, Value); } - void printLeft(OutputStream &S) const override { + void printLeft(OutputBuffer &OB) const override { if (Type.size() > 3) { - S += "("; - S += Type; - S += ")"; + OB.printOpen(); + OB += Type; + OB.printClose(); } - if (Value[0] == 'n') { - S += "-"; - S += Value.dropFront(1); - } else - S += Value; + if (Value[0] == 'n') + OB << '-' << std::string_view(Value.data() + 1, Value.size() - 1); + else + OB += Value; if (Type.size() <= 3) - S += Type; + OB += Type; } }; @@ -2139,29 +2319,26 @@ constexpr Node::Kind getFloatLiteralKind(long double *) { } template class FloatLiteralImpl : public Node { - const StringView Contents; + const std::string_view Contents; static constexpr Kind KindForClass = float_literal_impl::getFloatLiteralKind((Float *)nullptr); public: - FloatLiteralImpl(StringView Contents_) + FloatLiteralImpl(std::string_view Contents_) : Node(KindForClass), Contents(Contents_) {} template void match(Fn F) const { F(Contents); } - void printLeft(OutputStream &s) const override { - const char *first = Contents.begin(); - const char *last = Contents.end() + 1; - + void printLeft(OutputBuffer &OB) const override { const size_t N = FloatData::mangled_size; - if (static_cast(last - first) > N) { - last = first + N; + if (Contents.size() >= N) { union { Float value; char buf[sizeof(Float)]; }; - const char *t = first; + const char *t = Contents.data(); + const char *last = t + N; char *e = buf; for (; t != last; ++t, ++e) { unsigned d1 = isdigit(*t) ? static_cast(*t - '0') @@ -2176,7 +2353,7 @@ public: #endif char num[FloatData::max_demangled_size] = {0}; int n = snprintf(num, sizeof(num), FloatData::spec, value); - s += StringView(num, num + n); + OB += std::string_view(num, n); } } }; @@ -2190,143 +2367,22 @@ using LongDoubleLiteral = FloatLiteralImpl; template void Node::visit(Fn F) const { switch (K) { -#define CASE(X) case K ## X: return F(static_cast(this)); - FOR_EACH_NODE_KIND(CASE) -#undef CASE +#define NODE(X) \ + case K##X: \ + return F(static_cast(this)); +#include "ItaniumNodes.def" } assert(0 && "unknown mangling node kind"); } /// Determine the kind of a node from its type. template struct NodeKind; -#define SPECIALIZATION(X) \ - template<> struct NodeKind { \ - static constexpr Node::Kind Kind = Node::K##X; \ - static constexpr const char *name() { return #X; } \ +#define NODE(X) \ + template <> struct NodeKind { \ + static constexpr Node::Kind Kind = Node::K##X; \ + static constexpr const char *name() { return #X; } \ }; -FOR_EACH_NODE_KIND(SPECIALIZATION) -#undef SPECIALIZATION - -#undef FOR_EACH_NODE_KIND - -template -class PODSmallVector { - static_assert(std::is_pod::value, - "T is required to be a plain old data type"); - - T* First; - T* Last; - T* Cap; - T Inline[N]; - - bool isInline() const { return First == Inline; } - - void clearInline() { - First = Inline; - Last = Inline; - Cap = Inline + N; - } - - void reserve(size_t NewCap) { - size_t S = size(); - if (isInline()) { - auto* Tmp = static_cast(std::malloc(NewCap * sizeof(T))); - if (Tmp == nullptr) - std::terminate(); - std::copy(First, Last, Tmp); - First = Tmp; - } else { - First = static_cast(std::realloc(First, NewCap * sizeof(T))); - if (First == nullptr) - std::terminate(); - } - Last = First + S; - Cap = First + NewCap; - } - -public: - PODSmallVector() : First(Inline), Last(First), Cap(Inline + N) {} - - PODSmallVector(const PODSmallVector&) = delete; - PODSmallVector& operator=(const PODSmallVector&) = delete; - - PODSmallVector(PODSmallVector&& Other) : PODSmallVector() { - if (Other.isInline()) { - std::copy(Other.begin(), Other.end(), First); - Last = First + Other.size(); - Other.clear(); - return; - } - - First = Other.First; - Last = Other.Last; - Cap = Other.Cap; - Other.clearInline(); - } - - PODSmallVector& operator=(PODSmallVector&& Other) { - if (Other.isInline()) { - if (!isInline()) { - std::free(First); - clearInline(); - } - std::copy(Other.begin(), Other.end(), First); - Last = First + Other.size(); - Other.clear(); - return *this; - } - - if (isInline()) { - First = Other.First; - Last = Other.Last; - Cap = Other.Cap; - Other.clearInline(); - return *this; - } - - std::swap(First, Other.First); - std::swap(Last, Other.Last); - std::swap(Cap, Other.Cap); - Other.clear(); - return *this; - } - - void push_back(const T& Elem) { - if (Last == Cap) - reserve(size() * 2); - *Last++ = Elem; - } - - void pop_back() { - assert(Last != First && "Popping empty vector!"); - --Last; - } - - void dropBack(size_t Index) { - assert(Index <= size() && "dropBack() can't expand!"); - Last = First + Index; - } - - T* begin() { return First; } - T* end() { return Last; } - - bool empty() const { return First == Last; } - size_t size() const { return static_cast(Last - First); } - T& back() { - assert(Last != First && "Calling back() on empty vector!"); - return *(Last - 1); - } - T& operator[](size_t Index) { - assert(Index < size() && "Invalid access!"); - return *(begin() + Index); - } - void clear() { Last = First; } - - ~PODSmallVector() { - if (!isInline()) - std::free(First); - } -}; +#include "ItaniumNodes.def" template struct AbstractManglingParser { const char *First; @@ -2350,9 +2406,9 @@ template struct AbstractManglingParser { TemplateParamList Params; public: - ScopedTemplateParamList(AbstractManglingParser *Parser) - : Parser(Parser), - OldNumTemplateParamLists(Parser->TemplateParams.size()) { + ScopedTemplateParamList(AbstractManglingParser *TheParser) + : Parser(TheParser), + OldNumTemplateParamLists(TheParser->TemplateParams.size()) { Parser->TemplateParams.push_back(&Params); } ~ScopedTemplateParamList() { @@ -2424,8 +2480,9 @@ template struct AbstractManglingParser { return res; } - bool consumeIf(StringView S) { - if (StringView(First, Last).startsWith(S)) { + bool consumeIf(std::string_view S) { + if (llvm::itanium_demangle::starts_with( + std::string_view(First, Last - First), S)) { First += S.size(); return true; } @@ -2442,7 +2499,7 @@ template struct AbstractManglingParser { char consume() { return First != Last ? *First++ : '\0'; } - char look(unsigned Lookahead = 0) { + char look(unsigned Lookahead = 0) const { if (static_cast(Last - First) <= Lookahead) return '\0'; return First[Lookahead]; @@ -2450,10 +2507,10 @@ template struct AbstractManglingParser { size_t numLeft() const { return static_cast(Last - First); } - StringView parseNumber(bool AllowNegative = false); + std::string_view parseNumber(bool AllowNegative = false); Qualifiers parseCVQualifiers(); bool parsePositiveInteger(size_t *Out); - StringView parseBareSourceName(); + std::string_view parseBareSourceName(); bool parseSeqId(size_t *Out); Node *parseSubstitution(); @@ -2464,16 +2521,17 @@ template struct AbstractManglingParser { /// Parse the production. Node *parseExpr(); - Node *parsePrefixExpr(StringView Kind); - Node *parseBinaryExpr(StringView Kind); - Node *parseIntegerLiteral(StringView Lit); + Node *parsePrefixExpr(std::string_view Kind, Node::Prec Prec); + Node *parseBinaryExpr(std::string_view Kind, Node::Prec Prec); + Node *parseIntegerLiteral(std::string_view Lit); Node *parseExprPrimary(); template Node *parseFloatingLiteral(); Node *parseFunctionParam(); - Node *parseNewExpr(); Node *parseConversionExpr(); Node *parseBracedExpr(); Node *parseFoldExpr(); + Node *parsePointerToMemberConversionExpr(Node::Prec Prec); + Node *parseSubobjectExpr(); /// Parse the production. Node *parseType(); @@ -2520,17 +2578,81 @@ template struct AbstractManglingParser { Node *parseName(NameState *State = nullptr); Node *parseLocalName(NameState *State); Node *parseOperatorName(NameState *State); - Node *parseUnqualifiedName(NameState *State); + bool parseModuleNameOpt(ModuleName *&Module); + Node *parseUnqualifiedName(NameState *State, Node *Scope, ModuleName *Module); Node *parseUnnamedTypeName(NameState *State); Node *parseSourceName(NameState *State); - Node *parseUnscopedName(NameState *State); + Node *parseUnscopedName(NameState *State, bool *isSubstName); Node *parseNestedName(NameState *State); Node *parseCtorDtorName(Node *&SoFar, NameState *State); Node *parseAbiTags(Node *N); + struct OperatorInfo { + enum OIKind : unsigned char { + Prefix, // Prefix unary: @ expr + Postfix, // Postfix unary: expr @ + Binary, // Binary: lhs @ rhs + Array, // Array index: lhs [ rhs ] + Member, // Member access: lhs @ rhs + New, // New + Del, // Delete + Call, // Function call: expr (expr*) + CCast, // C cast: (type)expr + Conditional, // Conditional: expr ? expr : expr + NameOnly, // Overload only, not allowed in expression. + // Below do not have operator names + NamedCast, // Named cast, @(expr) + OfIdOp, // alignof, sizeof, typeid + + Unnameable = NamedCast, + }; + char Enc[2]; // Encoding + OIKind Kind; // Kind of operator + bool Flag : 1; // Entry-specific flag + Node::Prec Prec : 7; // Precedence + const char *Name; // Spelling + + public: + constexpr OperatorInfo(const char (&E)[3], OIKind K, bool F, Node::Prec P, + const char *N) + : Enc{E[0], E[1]}, Kind{K}, Flag{F}, Prec{P}, Name{N} {} + + public: + bool operator<(const OperatorInfo &Other) const { + return *this < Other.Enc; + } + bool operator<(const char *Peek) const { + return Enc[0] < Peek[0] || (Enc[0] == Peek[0] && Enc[1] < Peek[1]); + } + bool operator==(const char *Peek) const { + return Enc[0] == Peek[0] && Enc[1] == Peek[1]; + } + bool operator!=(const char *Peek) const { return !this->operator==(Peek); } + + public: + std::string_view getSymbol() const { + std::string_view Res = Name; + if (Kind < Unnameable) { + assert(llvm::itanium_demangle::starts_with(Res, "operator") && + "operator name does not start with 'operator'"); + Res.remove_prefix(sizeof("operator") - 1); + if (llvm::itanium_demangle::starts_with(Res, ' ')) + Res.remove_prefix(1); + } + return Res; + } + std::string_view getName() const { return Name; } + OIKind getKind() const { return Kind; } + bool getFlag() const { return Flag; } + Node::Prec getPrecedence() const { return Prec; } + }; + static const OperatorInfo Ops[]; + static const size_t NumOps; + const OperatorInfo *parseOperatorEncoding(); + /// Parse the production. - Node *parseUnresolvedName(); + Node *parseUnresolvedName(bool Global); Node *parseSimpleId(); Node *parseBaseUnresolvedName(); Node *parseUnresolvedType(); @@ -2551,41 +2673,35 @@ const char* parse_discriminator(const char* first, const char* last); // ::= template Node *AbstractManglingParser::parseName(NameState *State) { - consumeIf('L'); // extension - if (look() == 'N') return getDerived().parseNestedName(State); if (look() == 'Z') return getDerived().parseLocalName(State); - // ::= - if (look() == 'S' && look(1) != 't') { - Node *S = getDerived().parseSubstitution(); - if (S == nullptr) - return nullptr; - if (look() != 'I') - return nullptr; + Node *Result = nullptr; + bool IsSubst = false; + + Result = getDerived().parseUnscopedName(State, &IsSubst); + if (!Result) + return nullptr; + + if (look() == 'I') { + // ::= + if (!IsSubst) + // An unscoped-template-name is substitutable. + Subs.push_back(Result); Node *TA = getDerived().parseTemplateArgs(State != nullptr); if (TA == nullptr) return nullptr; - if (State) State->EndsWithTemplateArgs = true; - return make(S, TA); + if (State) + State->EndsWithTemplateArgs = true; + Result = make(Result, TA); + } else if (IsSubst) { + // The substitution case must be followed by . + return nullptr; } - Node *N = getDerived().parseUnscopedName(State); - if (N == nullptr) - return nullptr; - // ::= - if (look() == 'I') { - Subs.push_back(N); - Node *TA = getDerived().parseTemplateArgs(State != nullptr); - if (TA == nullptr) - return nullptr; - if (State) State->EndsWithTemplateArgs = true; - return make(N, TA); - } - // ::= - return N; + return Result; } // := Z E [] @@ -2626,34 +2742,63 @@ Node *AbstractManglingParser::parseLocalName(NameState *State) { // ::= // ::= St # ::std:: -// extension ::= StL +// [*] extension template Node * -AbstractManglingParser::parseUnscopedName(NameState *State) { - if (consumeIf("StL") || consumeIf("St")) { - Node *R = getDerived().parseUnqualifiedName(State); - if (R == nullptr) +AbstractManglingParser::parseUnscopedName(NameState *State, + bool *IsSubst) { + + Node *Std = nullptr; + if (consumeIf("St")) { + Std = make("std"); + if (Std == nullptr) return nullptr; - return make(R); } - return getDerived().parseUnqualifiedName(State); + + Node *Res = nullptr; + ModuleName *Module = nullptr; + if (look() == 'S') { + Node *S = getDerived().parseSubstitution(); + if (!S) + return nullptr; + if (S->getKind() == Node::KModuleName) + Module = static_cast(S); + else if (IsSubst && Std == nullptr) { + Res = S; + *IsSubst = true; + } else { + return nullptr; + } + } + + if (Res == nullptr || Std != nullptr) { + Res = getDerived().parseUnqualifiedName(State, Std, Module); + } + + return Res; } -// ::= [abi-tags] -// ::= -// ::= -// ::= -// ::= DC + E # structured binding declaration +// ::= [] L? [] +// ::= [] [] +// ::= [] L? [] +// ::= [] L? [] +// # structured binding declaration +// ::= [] L? DC + E template -Node * -AbstractManglingParser::parseUnqualifiedName(NameState *State) { - // s are special-cased in parseNestedName(). +Node *AbstractManglingParser::parseUnqualifiedName( + NameState *State, Node *Scope, ModuleName *Module) { + if (getDerived().parseModuleNameOpt(Module)) + return nullptr; + + consumeIf('L'); + Node *Result; - if (look() == 'U') - Result = getDerived().parseUnnamedTypeName(State); - else if (look() >= '1' && look() <= '9') + if (look() >= '1' && look() <= '9') { Result = getDerived().parseSourceName(State); - else if (consumeIf("DC")) { + } else if (look() == 'U') { + Result = getDerived().parseUnnamedTypeName(State); + } else if (consumeIf("DC")) { + // Structured binding size_t BindingsBegin = Names.size(); do { Node *Binding = getDerived().parseSourceName(State); @@ -2662,13 +2807,46 @@ AbstractManglingParser::parseUnqualifiedName(NameState *State) { Names.push_back(Binding); } while (!consumeIf('E')); Result = make(popTrailingNodeArray(BindingsBegin)); - } else + } else if (look() == 'C' || look() == 'D') { + // A . + if (Scope == nullptr || Module != nullptr) + return nullptr; + Result = getDerived().parseCtorDtorName(Scope, State); + } else { Result = getDerived().parseOperatorName(State); + } + + if (Result != nullptr && Module != nullptr) + Result = make(Module, Result); if (Result != nullptr) Result = getDerived().parseAbiTags(Result); + if (Result != nullptr && Scope != nullptr) + Result = make(Scope, Result); + return Result; } +// ::= +// ::= +// ::= # passed in by caller +// ::= W +// ::= W P +template +bool AbstractManglingParser::parseModuleNameOpt( + ModuleName *&Module) { + while (consumeIf('W')) { + bool IsPartition = consumeIf('P'); + Node *Sub = getDerived().parseSourceName(nullptr); + if (!Sub) + return true; + Module = + static_cast(make(Module, Sub, IsPartition)); + Subs.push_back(Module); + } + + return false; +} + // ::= Ut [] _ // ::= // @@ -2684,19 +2862,19 @@ AbstractManglingParser::parseUnnamedTypeName(NameState *State) { TemplateParams.clear(); if (consumeIf("Ut")) { - StringView Count = parseNumber(); + std::string_view Count = parseNumber(); if (!consumeIf('_')) return nullptr; return make(Count); } if (consumeIf("Ul")) { - SwapAndRestore SwapParams(ParsingLambdaParamsAtLevel, + ScopedOverride SwapParams(ParsingLambdaParamsAtLevel, TemplateParams.size()); ScopedTemplateParamList LambdaTemplateParams(this); size_t ParamsBegin = Names.size(); while (look() == 'T' && - StringView("yptn").find(look(1)) != StringView::npos) { + std::string_view("yptn").find(look(1)) != std::string_view::npos) { Node *T = parseTemplateParamDecl(); if (!T) return nullptr; @@ -2739,7 +2917,7 @@ AbstractManglingParser::parseUnnamedTypeName(NameState *State) { } NodeArray Params = popTrailingNodeArray(ParamsBegin); - StringView Count = parseNumber(); + std::string_view Count = parseNumber(); if (!consumeIf('_')) return nullptr; return make(TempParams, Params, Count); @@ -2761,104 +2939,138 @@ Node *AbstractManglingParser::parseSourceName(NameState *) { return nullptr; if (numLeft() < Length || Length == 0) return nullptr; - StringView Name(First, First + Length); + std::string_view Name(First, Length); First += Length; - if (Name.startsWith("_GLOBAL__N")) + if (llvm::itanium_demangle::starts_with(Name, "_GLOBAL__N")) return make("(anonymous namespace)"); return make(Name); } -// ::= aa # && -// ::= ad # & (unary) -// ::= an # & -// ::= aN # &= -// ::= aS # = -// ::= cl # () -// ::= cm # , -// ::= co # ~ -// ::= cv # (cast) -// ::= da # delete[] -// ::= de # * (unary) -// ::= dl # delete -// ::= dv # / -// ::= dV # /= -// ::= eo # ^ -// ::= eO # ^= -// ::= eq # == -// ::= ge # >= -// ::= gt # > -// ::= ix # [] -// ::= le # <= +// Operator encodings +template +const typename AbstractManglingParser< + Derived, Alloc>::OperatorInfo AbstractManglingParser::Ops[] = { + // Keep ordered by encoding + {"aN", OperatorInfo::Binary, false, Node::Prec::Assign, "operator&="}, + {"aS", OperatorInfo::Binary, false, Node::Prec::Assign, "operator="}, + {"aa", OperatorInfo::Binary, false, Node::Prec::AndIf, "operator&&"}, + {"ad", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator&"}, + {"an", OperatorInfo::Binary, false, Node::Prec::And, "operator&"}, + {"at", OperatorInfo::OfIdOp, /*Type*/ true, Node::Prec::Unary, "alignof "}, + {"aw", OperatorInfo::NameOnly, false, Node::Prec::Primary, + "operator co_await"}, + {"az", OperatorInfo::OfIdOp, /*Type*/ false, Node::Prec::Unary, "alignof "}, + {"cc", OperatorInfo::NamedCast, false, Node::Prec::Postfix, "const_cast"}, + {"cl", OperatorInfo::Call, false, Node::Prec::Postfix, "operator()"}, + {"cm", OperatorInfo::Binary, false, Node::Prec::Comma, "operator,"}, + {"co", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator~"}, + {"cv", OperatorInfo::CCast, false, Node::Prec::Cast, "operator"}, // C Cast + {"dV", OperatorInfo::Binary, false, Node::Prec::Assign, "operator/="}, + {"da", OperatorInfo::Del, /*Ary*/ true, Node::Prec::Unary, + "operator delete[]"}, + {"dc", OperatorInfo::NamedCast, false, Node::Prec::Postfix, "dynamic_cast"}, + {"de", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator*"}, + {"dl", OperatorInfo::Del, /*Ary*/ false, Node::Prec::Unary, + "operator delete"}, + {"ds", OperatorInfo::Member, /*Named*/ false, Node::Prec::PtrMem, + "operator.*"}, + {"dt", OperatorInfo::Member, /*Named*/ false, Node::Prec::Postfix, + "operator."}, + {"dv", OperatorInfo::Binary, false, Node::Prec::Assign, "operator/"}, + {"eO", OperatorInfo::Binary, false, Node::Prec::Assign, "operator^="}, + {"eo", OperatorInfo::Binary, false, Node::Prec::Xor, "operator^"}, + {"eq", OperatorInfo::Binary, false, Node::Prec::Equality, "operator=="}, + {"ge", OperatorInfo::Binary, false, Node::Prec::Relational, "operator>="}, + {"gt", OperatorInfo::Binary, false, Node::Prec::Relational, "operator>"}, + {"ix", OperatorInfo::Array, false, Node::Prec::Postfix, "operator[]"}, + {"lS", OperatorInfo::Binary, false, Node::Prec::Assign, "operator<<="}, + {"le", OperatorInfo::Binary, false, Node::Prec::Relational, "operator<="}, + {"ls", OperatorInfo::Binary, false, Node::Prec::Shift, "operator<<"}, + {"lt", OperatorInfo::Binary, false, Node::Prec::Relational, "operator<"}, + {"mI", OperatorInfo::Binary, false, Node::Prec::Assign, "operator-="}, + {"mL", OperatorInfo::Binary, false, Node::Prec::Assign, "operator*="}, + {"mi", OperatorInfo::Binary, false, Node::Prec::Additive, "operator-"}, + {"ml", OperatorInfo::Binary, false, Node::Prec::Multiplicative, + "operator*"}, + {"mm", OperatorInfo::Postfix, false, Node::Prec::Postfix, "operator--"}, + {"na", OperatorInfo::New, /*Ary*/ true, Node::Prec::Unary, + "operator new[]"}, + {"ne", OperatorInfo::Binary, false, Node::Prec::Equality, "operator!="}, + {"ng", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator-"}, + {"nt", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator!"}, + {"nw", OperatorInfo::New, /*Ary*/ false, Node::Prec::Unary, "operator new"}, + {"oR", OperatorInfo::Binary, false, Node::Prec::Assign, "operator|="}, + {"oo", OperatorInfo::Binary, false, Node::Prec::OrIf, "operator||"}, + {"or", OperatorInfo::Binary, false, Node::Prec::Ior, "operator|"}, + {"pL", OperatorInfo::Binary, false, Node::Prec::Assign, "operator+="}, + {"pl", OperatorInfo::Binary, false, Node::Prec::Additive, "operator+"}, + {"pm", OperatorInfo::Member, /*Named*/ false, Node::Prec::PtrMem, + "operator->*"}, + {"pp", OperatorInfo::Postfix, false, Node::Prec::Postfix, "operator++"}, + {"ps", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator+"}, + {"pt", OperatorInfo::Member, /*Named*/ true, Node::Prec::Postfix, + "operator->"}, + {"qu", OperatorInfo::Conditional, false, Node::Prec::Conditional, + "operator?"}, + {"rM", OperatorInfo::Binary, false, Node::Prec::Assign, "operator%="}, + {"rS", OperatorInfo::Binary, false, Node::Prec::Assign, "operator>>="}, + {"rc", OperatorInfo::NamedCast, false, Node::Prec::Postfix, + "reinterpret_cast"}, + {"rm", OperatorInfo::Binary, false, Node::Prec::Multiplicative, + "operator%"}, + {"rs", OperatorInfo::Binary, false, Node::Prec::Shift, "operator>>"}, + {"sc", OperatorInfo::NamedCast, false, Node::Prec::Postfix, "static_cast"}, + {"ss", OperatorInfo::Binary, false, Node::Prec::Spaceship, "operator<=>"}, + {"st", OperatorInfo::OfIdOp, /*Type*/ true, Node::Prec::Unary, "sizeof "}, + {"sz", OperatorInfo::OfIdOp, /*Type*/ false, Node::Prec::Unary, "sizeof "}, + {"te", OperatorInfo::OfIdOp, /*Type*/ false, Node::Prec::Postfix, + "typeid "}, + {"ti", OperatorInfo::OfIdOp, /*Type*/ true, Node::Prec::Postfix, "typeid "}, +}; +template +const size_t AbstractManglingParser::NumOps = sizeof(Ops) / + sizeof(Ops[0]); + +// If the next 2 chars are an operator encoding, consume them and return their +// OperatorInfo. Otherwise return nullptr. +template +const typename AbstractManglingParser::OperatorInfo * +AbstractManglingParser::parseOperatorEncoding() { + if (numLeft() < 2) + return nullptr; + + // We can't use lower_bound as that can link to symbols in the C++ library, + // and this must remain independant of that. + size_t lower = 0u, upper = NumOps - 1; // Inclusive bounds. + while (upper != lower) { + size_t middle = (upper + lower) / 2; + if (Ops[middle] < First) + lower = middle + 1; + else + upper = middle; + } + if (Ops[lower] != First) + return nullptr; + + First += 2; + return &Ops[lower]; +} + +// ::= See parseOperatorEncoding() // ::= li # operator "" -// ::= ls # << -// ::= lS # <<= -// ::= lt # < -// ::= mi # - -// ::= mI # -= -// ::= ml # * -// ::= mL # *= -// ::= mm # -- (postfix in context) -// ::= na # new[] -// ::= ne # != -// ::= ng # - (unary) -// ::= nt # ! -// ::= nw # new -// ::= oo # || -// ::= or # | -// ::= oR # |= -// ::= pm # ->* -// ::= pl # + -// ::= pL # += -// ::= pp # ++ (postfix in context) -// ::= ps # + (unary) -// ::= pt # -> -// ::= qu # ? -// ::= rm # % -// ::= rM # %= -// ::= rs # >> -// ::= rS # >>= -// ::= ss # <=> C++2a -// ::= v # vendor extended operator +// ::= v # vendor extended operator template Node * AbstractManglingParser::parseOperatorName(NameState *State) { - switch (look()) { - case 'a': - switch (look(1)) { - case 'a': - First += 2; - return make("operator&&"); - case 'd': - case 'n': - First += 2; - return make("operator&"); - case 'N': - First += 2; - return make("operator&="); - case 'S': - First += 2; - return make("operator="); - } - return nullptr; - case 'c': - switch (look(1)) { - case 'l': - First += 2; - return make("operator()"); - case 'm': - First += 2; - return make("operator,"); - case 'o': - First += 2; - return make("operator~"); - // ::= cv # (cast) - case 'v': { - First += 2; - SwapAndRestore SaveTemplate(TryToParseTemplateArgs, false); + if (const auto *Op = parseOperatorEncoding()) { + if (Op->getKind() == OperatorInfo::CCast) { + // ::= cv # (cast) + ScopedOverride SaveTemplate(TryToParseTemplateArgs, false); // If we're parsing an encoding, State != nullptr and the conversion // operators' could have a that refers to some // s further ahead in the mangled name. - SwapAndRestore SavePermit(PermitForwardTemplateReferences, + ScopedOverride SavePermit(PermitForwardTemplateReferences, PermitForwardTemplateReferences || State != nullptr); Node *Ty = getDerived().parseType(); @@ -2867,185 +3079,29 @@ AbstractManglingParser::parseOperatorName(NameState *State) { if (State) State->CtorDtorConversion = true; return make(Ty); } - } - return nullptr; - case 'd': - switch (look(1)) { - case 'a': - First += 2; - return make("operator delete[]"); - case 'e': - First += 2; - return make("operator*"); - case 'l': - First += 2; - return make("operator delete"); - case 'v': - First += 2; - return make("operator/"); - case 'V': - First += 2; - return make("operator/="); - } - return nullptr; - case 'e': - switch (look(1)) { - case 'o': - First += 2; - return make("operator^"); - case 'O': - First += 2; - return make("operator^="); - case 'q': - First += 2; - return make("operator=="); - } - return nullptr; - case 'g': - switch (look(1)) { - case 'e': - First += 2; - return make("operator>="); - case 't': - First += 2; - return make("operator>"); - } - return nullptr; - case 'i': - if (look(1) == 'x') { - First += 2; - return make("operator[]"); - } - return nullptr; - case 'l': - switch (look(1)) { - case 'e': - First += 2; - return make("operator<="); + + if (Op->getKind() >= OperatorInfo::Unnameable) + /* Not a nameable operator. */ + return nullptr; + if (Op->getKind() == OperatorInfo::Member && !Op->getFlag()) + /* Not a nameable MemberExpr */ + return nullptr; + + return make(Op->getName()); + } + + if (consumeIf("li")) { // ::= li # operator "" - case 'i': { - First += 2; - Node *SN = getDerived().parseSourceName(State); - if (SN == nullptr) - return nullptr; - return make(SN); - } - case 's': - First += 2; - return make("operator<<"); - case 'S': - First += 2; - return make("operator<<="); - case 't': - First += 2; - return make("operator<"); - } - return nullptr; - case 'm': - switch (look(1)) { - case 'i': - First += 2; - return make("operator-"); - case 'I': - First += 2; - return make("operator-="); - case 'l': - First += 2; - return make("operator*"); - case 'L': - First += 2; - return make("operator*="); - case 'm': - First += 2; - return make("operator--"); - } - return nullptr; - case 'n': - switch (look(1)) { - case 'a': - First += 2; - return make("operator new[]"); - case 'e': - First += 2; - return make("operator!="); - case 'g': - First += 2; - return make("operator-"); - case 't': - First += 2; - return make("operator!"); - case 'w': - First += 2; - return make("operator new"); - } - return nullptr; - case 'o': - switch (look(1)) { - case 'o': - First += 2; - return make("operator||"); - case 'r': - First += 2; - return make("operator|"); - case 'R': - First += 2; - return make("operator|="); - } - return nullptr; - case 'p': - switch (look(1)) { - case 'm': - First += 2; - return make("operator->*"); - case 'l': - First += 2; - return make("operator+"); - case 'L': - First += 2; - return make("operator+="); - case 'p': - First += 2; - return make("operator++"); - case 's': - First += 2; - return make("operator+"); - case 't': - First += 2; - return make("operator->"); - } - return nullptr; - case 'q': - if (look(1) == 'u') { - First += 2; - return make("operator?"); - } - return nullptr; - case 'r': - switch (look(1)) { - case 'm': - First += 2; - return make("operator%"); - case 'M': - First += 2; - return make("operator%="); - case 's': - First += 2; - return make("operator>>"); - case 'S': - First += 2; - return make("operator>>="); - } - return nullptr; - case 's': - if (look(1) == 's') { - First += 2; - return make("operator<=>"); - } - return nullptr; - // ::= v # vendor extended operator - case 'v': - if (std::isdigit(look(1))) { - First += 2; + Node *SN = getDerived().parseSourceName(State); + if (SN == nullptr) + return nullptr; + return make(SN); + } + + if (consumeIf('v')) { + // ::= v # vendor extended operator + if (look() >= '0' && look() <= '9') { + First++; Node *SN = getDerived().parseSourceName(State); if (SN == nullptr) return nullptr; @@ -3053,6 +3109,7 @@ AbstractManglingParser::parseOperatorName(NameState *State) { } return nullptr; } + return nullptr; } @@ -3071,19 +3128,11 @@ Node * AbstractManglingParser::parseCtorDtorName(Node *&SoFar, NameState *State) { if (SoFar->getKind() == Node::KSpecialSubstitution) { - auto SSK = static_cast(SoFar)->SSK; - switch (SSK) { - case SpecialSubKind::string: - case SpecialSubKind::istream: - case SpecialSubKind::ostream: - case SpecialSubKind::iostream: - SoFar = make(SSK); - if (!SoFar) - return nullptr; - break; - default: - break; - } + // Expand the special substitution. + SoFar = make( + static_cast(SoFar)); + if (!SoFar) + return nullptr; } if (consumeIf('C')) { @@ -3112,8 +3161,10 @@ AbstractManglingParser::parseCtorDtorName(Node *&SoFar, return nullptr; } -// ::= N [] [] E -// ::= N [] [] E +// ::= N [] [] +// E +// ::= N [] [] +// E // // ::= // ::= @@ -3122,7 +3173,7 @@ AbstractManglingParser::parseCtorDtorName(Node *&SoFar, // ::= # empty // ::= // ::= -// extension ::= L +// [*] extension // // := [] M // @@ -3142,90 +3193,76 @@ AbstractManglingParser::parseNestedName(NameState *State) { if (State) State->ReferenceQualifier = FrefQualRValue; } else if (consumeIf('R')) { if (State) State->ReferenceQualifier = FrefQualLValue; - } else + } else { if (State) State->ReferenceQualifier = FrefQualNone; - - Node *SoFar = nullptr; - auto PushComponent = [&](Node *Comp) { - if (!Comp) return false; - if (SoFar) SoFar = make(SoFar, Comp); - else SoFar = Comp; - if (State) State->EndsWithTemplateArgs = false; - return SoFar != nullptr; - }; - - if (consumeIf("St")) { - SoFar = make("std"); - if (!SoFar) - return nullptr; } + Node *SoFar = nullptr; while (!consumeIf('E')) { - consumeIf('L'); // extension + if (State) + // Only set end-with-template on the case that does that. + State->EndsWithTemplateArgs = false; - // := [] M - if (consumeIf('M')) { - if (SoFar == nullptr) - return nullptr; - continue; - } - - // ::= if (look() == 'T') { - if (!PushComponent(getDerived().parseTemplateParam())) - return nullptr; - Subs.push_back(SoFar); - continue; - } - - // ::= - if (look() == 'I') { + // ::= + if (SoFar != nullptr) + return nullptr; // Cannot have a prefix. + SoFar = getDerived().parseTemplateParam(); + } else if (look() == 'I') { + // ::= + if (SoFar == nullptr) + return nullptr; // Must have a prefix. Node *TA = getDerived().parseTemplateArgs(State != nullptr); - if (TA == nullptr || SoFar == nullptr) + if (TA == nullptr) return nullptr; + if (SoFar->getKind() == Node::KNameWithTemplateArgs) + // Semantically cannot be generated by a + // C++ entity. There will always be [something like] a name between + // them. + return nullptr; + if (State) + State->EndsWithTemplateArgs = true; SoFar = make(SoFar, TA); - if (!SoFar) - return nullptr; - if (State) State->EndsWithTemplateArgs = true; - Subs.push_back(SoFar); - continue; + } else if (look() == 'D' && (look(1) == 't' || look(1) == 'T')) { + // ::= + if (SoFar != nullptr) + return nullptr; // Cannot have a prefix. + SoFar = getDerived().parseDecltype(); + } else { + ModuleName *Module = nullptr; + + if (look() == 'S') { + // ::= + Node *S = nullptr; + if (look(1) == 't') { + First += 2; + S = make("std"); + } else { + S = getDerived().parseSubstitution(); + } + if (!S) + return nullptr; + if (S->getKind() == Node::KModuleName) { + Module = static_cast(S); + } else if (SoFar != nullptr) { + return nullptr; // Cannot have a prefix. + } else { + SoFar = S; + continue; // Do not push a new substitution. + } + } + + // ::= [] + SoFar = getDerived().parseUnqualifiedName(State, SoFar, Module); } - // ::= - if (look() == 'D' && (look(1) == 't' || look(1) == 'T')) { - if (!PushComponent(getDerived().parseDecltype())) - return nullptr; - Subs.push_back(SoFar); - continue; - } - - // ::= - if (look() == 'S' && look(1) != 't') { - Node *S = getDerived().parseSubstitution(); - if (!PushComponent(S)) - return nullptr; - if (SoFar != S) - Subs.push_back(S); - continue; - } - - // Parse an thats actually a . - if (look() == 'C' || (look() == 'D' && look(1) != 'C')) { - if (SoFar == nullptr) - return nullptr; - if (!PushComponent(getDerived().parseCtorDtorName(SoFar, State))) - return nullptr; - SoFar = getDerived().parseAbiTags(SoFar); - if (SoFar == nullptr) - return nullptr; - Subs.push_back(SoFar); - continue; - } - - // ::= - if (!PushComponent(getDerived().parseUnqualifiedName(State))) + if (SoFar == nullptr) return nullptr; Subs.push_back(SoFar); + + // No longer used. + // := [] M + consumeIf('M'); } if (SoFar == nullptr || Subs.empty()) @@ -3320,6 +3357,7 @@ Node *AbstractManglingParser::parseBaseUnresolvedName() { // ::= [gs] # x or (with "gs") ::x // ::= [gs] sr + E // # A::x, N::y, A::z; "gs" means leading "::" +// [gs] has been parsed by caller. // ::= sr # T::x / decltype(p)::x // extension ::= sr // # T::N::x /decltype(p)::N::x @@ -3327,7 +3365,7 @@ Node *AbstractManglingParser::parseBaseUnresolvedName() { // // ::= template -Node *AbstractManglingParser::parseUnresolvedName() { +Node *AbstractManglingParser::parseUnresolvedName(bool Global) { Node *SoFar = nullptr; // srN [] * E @@ -3361,8 +3399,6 @@ Node *AbstractManglingParser::parseUnresolvedName() { return make(SoFar, Base); } - bool Global = consumeIf("gs"); - // [gs] # x or (with "gs") ::x if (!consumeIf("sr")) { SoFar = getDerived().parseBaseUnresolvedName(); @@ -3419,7 +3455,7 @@ Node *AbstractManglingParser::parseUnresolvedName() { template Node *AbstractManglingParser::parseAbiTags(Node *N) { while (consumeIf('B')) { - StringView SN = parseBareSourceName(); + std::string_view SN = parseBareSourceName(); if (SN.empty()) return nullptr; N = make(N, SN); @@ -3431,16 +3467,16 @@ Node *AbstractManglingParser::parseAbiTags(Node *N) { // ::= [n] template -StringView +std::string_view AbstractManglingParser::parseNumber(bool AllowNegative) { const char *Tmp = First; if (AllowNegative) consumeIf('n'); if (numLeft() == 0 || !std::isdigit(*First)) - return StringView(); + return std::string_view(); while (numLeft() != 0 && std::isdigit(*First)) ++First; - return StringView(Tmp, First); + return std::string_view(Tmp, First - Tmp); } // ::= [0-9]* @@ -3457,11 +3493,11 @@ bool AbstractManglingParser::parsePositiveInteger(size_t *Out) { } template -StringView AbstractManglingParser::parseBareSourceName() { +std::string_view AbstractManglingParser::parseBareSourceName() { size_t Int = 0; if (parsePositiveInteger(&Int) || numLeft() < Int) - return StringView(); - StringView R(First, First + Int); + return {}; + std::string_view R(First, Int); First += Int; return R; } @@ -3549,7 +3585,9 @@ Node *AbstractManglingParser::parseVectorType() { if (!consumeIf("Dv")) return nullptr; if (look() >= '1' && look() <= '9') { - StringView DimensionNumber = parseNumber(); + Node *DimensionNumber = make(parseNumber()); + if (!DimensionNumber) + return nullptr; if (!consumeIf('_')) return nullptr; if (consumeIf('p')) @@ -3574,7 +3612,7 @@ Node *AbstractManglingParser::parseVectorType() { Node *ElemType = getDerived().parseType(); if (!ElemType) return nullptr; - return make(ElemType, StringView()); + return make(ElemType, /*Dimension=*/nullptr); } // ::= Dt E # decltype of an id-expression or class member access (C++0x) @@ -3590,7 +3628,7 @@ Node *AbstractManglingParser::parseDecltype() { return nullptr; if (!consumeIf('E')) return nullptr; - return make("decltype(", E, ")"); + return make("decltype", E); } // ::= A _ @@ -3600,10 +3638,12 @@ Node *AbstractManglingParser::parseArrayType() { if (!consumeIf('A')) return nullptr; - NodeOrString Dimension; + Node *Dimension = nullptr; if (std::isdigit(look())) { - Dimension = parseNumber(); + Dimension = make(parseNumber()); + if (!Dimension) + return nullptr; if (!consumeIf('_')) return nullptr; } else if (!consumeIf('_')) { @@ -3641,7 +3681,7 @@ Node *AbstractManglingParser::parsePointerToMemberType() { // ::= Te # dependent elaborated type specifier using 'enum' template Node *AbstractManglingParser::parseClassEnumType() { - StringView ElabSpef; + std::string_view ElabSpef; if (consumeIf("Ts")) ElabSpef = "struct"; else if (consumeIf("Tu")) @@ -3665,19 +3705,18 @@ Node *AbstractManglingParser::parseClassEnumType() { template Node *AbstractManglingParser::parseQualifiedType() { if (consumeIf('U')) { - StringView Qual = parseBareSourceName(); + std::string_view Qual = parseBareSourceName(); if (Qual.empty()) return nullptr; - // FIXME parse the optional here! - // extension ::= U # objc-type - if (Qual.startsWith("objcproto")) { - StringView ProtoSourceName = Qual.dropFront(std::strlen("objcproto")); - StringView Proto; + if (llvm::itanium_demangle::starts_with(Qual, "objcproto")) { + constexpr size_t Len = sizeof("objcproto") - 1; + std::string_view ProtoSourceName(Qual.data() + Len, Qual.size() - Len); + std::string_view Proto; { - SwapAndRestore SaveFirst(First, ProtoSourceName.begin()), - SaveLast(Last, ProtoSourceName.end()); + ScopedOverride SaveFirst(First, ProtoSourceName.data()), + SaveLast(Last, &*ProtoSourceName.rbegin() + 1); Proto = parseBareSourceName(); } if (Proto.empty()) @@ -3688,10 +3727,17 @@ Node *AbstractManglingParser::parseQualifiedType() { return make(Child, Proto); } + Node *TA = nullptr; + if (look() == 'I') { + TA = getDerived().parseTemplateArgs(); + if (TA == nullptr) + return nullptr; + } + Node *Child = getDerived().parseQualifiedType(); if (Child == nullptr) return nullptr; - return make(Child, Qual); + return make(Child, Qual, TA); } Qualifiers Quals = parseCVQualifiers(); @@ -3838,7 +3884,7 @@ Node *AbstractManglingParser::parseType() { // ::= u # vendor extended type case 'u': { ++First; - StringView Res = parseBareSourceName(); + std::string_view Res = parseBareSourceName(); if (Res.empty()) return nullptr; // Typically, s are not considered substitution candidates, @@ -3864,7 +3910,33 @@ Node *AbstractManglingParser::parseType() { // ::= Dh # IEEE 754r half-precision floating point (16 bits) case 'h': First += 2; - return make("decimal16"); + return make("half"); + // ::= DF _ # ISO/IEC TS 18661 binary floating point (N bits) + case 'F': { + First += 2; + Node *DimensionNumber = make(parseNumber()); + if (!DimensionNumber) + return nullptr; + if (!consumeIf('_')) + return nullptr; + return make(DimensionNumber); + } + // ::= DB _ # C23 signed _BitInt(N) + // ::= DB _ # C23 signed _BitInt(N) + // ::= DU _ # C23 unsigned _BitInt(N) + // ::= DU _ # C23 unsigned _BitInt(N) + case 'B': + case 'U': { + bool Signed = look(1) == 'B'; + First += 2; + Node *Size = std::isdigit(look()) ? make(parseNumber()) + : getDerived().parseExpr(); + if (!Size) + return nullptr; + if (!consumeIf('_')) + return nullptr; + return make(Size, Signed); + } // ::= Di # char32_t case 'i': First += 2; @@ -4012,9 +4084,10 @@ Node *AbstractManglingParser::parseType() { } // ::= # See Compression below case 'S': { - if (look(1) && look(1) != 't') { - Node *Sub = getDerived().parseSubstitution(); - if (Sub == nullptr) + if (look(1) != 't') { + bool IsSubst = false; + Result = getDerived().parseUnscopedName(nullptr, &IsSubst); + if (!Result) return nullptr; // Sub could be either of: @@ -4027,17 +4100,19 @@ Node *AbstractManglingParser::parseType() { // If this is followed by some , and we're permitted to // parse them, take the second production. - if (TryToParseTemplateArgs && look() == 'I') { + if (look() == 'I' && (!IsSubst || TryToParseTemplateArgs)) { + if (!IsSubst) + Subs.push_back(Result); Node *TA = getDerived().parseTemplateArgs(); if (TA == nullptr) return nullptr; - Result = make(Sub, TA); - break; + Result = make(Result, TA); + } else if (IsSubst) { + // If all we parsed was a substitution, don't re-insert into the + // substitution table. + return Result; } - - // If all we parsed was a substitution, don't re-insert into the - // substitution table. - return Sub; + break; } DEMANGLE_FALLTHROUGH; } @@ -4057,28 +4132,32 @@ Node *AbstractManglingParser::parseType() { } template -Node *AbstractManglingParser::parsePrefixExpr(StringView Kind) { +Node * +AbstractManglingParser::parsePrefixExpr(std::string_view Kind, + Node::Prec Prec) { Node *E = getDerived().parseExpr(); if (E == nullptr) return nullptr; - return make(Kind, E); + return make(Kind, E, Prec); } template -Node *AbstractManglingParser::parseBinaryExpr(StringView Kind) { +Node * +AbstractManglingParser::parseBinaryExpr(std::string_view Kind, + Node::Prec Prec) { Node *LHS = getDerived().parseExpr(); if (LHS == nullptr) return nullptr; Node *RHS = getDerived().parseExpr(); if (RHS == nullptr) return nullptr; - return make(LHS, Kind, RHS); + return make(LHS, Kind, RHS, Prec); } template -Node * -AbstractManglingParser::parseIntegerLiteral(StringView Lit) { - StringView Tmp = parseNumber(true); +Node *AbstractManglingParser::parseIntegerLiteral( + std::string_view Lit) { + std::string_view Tmp = parseNumber(true); if (!Tmp.empty() && consumeIf('E')) return make(Lit, Tmp); return nullptr; @@ -4101,11 +4180,14 @@ Qualifiers AbstractManglingParser::parseCVQualifiers() { // ::= fp _ # L == 0, second and later parameters // ::= fL p _ # L > 0, first parameter // ::= fL p _ # L > 0, second and later parameters +// ::= fpT # 'this' expression (not part of standard?) template Node *AbstractManglingParser::parseFunctionParam() { + if (consumeIf("fpT")) + return make("this"); if (consumeIf("fp")) { parseCVQualifiers(); - StringView Num = parseNumber(); + std::string_view Num = parseNumber(); if (!consumeIf('_')) return nullptr; return make(Num); @@ -4116,7 +4198,7 @@ Node *AbstractManglingParser::parseFunctionParam() { if (!consumeIf('p')) return nullptr; parseCVQualifiers(); - StringView Num = parseNumber(); + std::string_view Num = parseNumber(); if (!consumeIf('_')) return nullptr; return make(Num); @@ -4124,43 +4206,6 @@ Node *AbstractManglingParser::parseFunctionParam() { return nullptr; } -// [gs] nw * _ E # new (expr-list) type -// [gs] nw * _ # new (expr-list) type (init) -// [gs] na * _ E # new[] (expr-list) type -// [gs] na * _ # new[] (expr-list) type (init) -// ::= pi * E # parenthesized initialization -template -Node *AbstractManglingParser::parseNewExpr() { - bool Global = consumeIf("gs"); - bool IsArray = look(1) == 'a'; - if (!consumeIf("nw") && !consumeIf("na")) - return nullptr; - size_t Exprs = Names.size(); - while (!consumeIf('_')) { - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return nullptr; - Names.push_back(Ex); - } - NodeArray ExprList = popTrailingNodeArray(Exprs); - Node *Ty = getDerived().parseType(); - if (Ty == nullptr) - return Ty; - if (consumeIf("pi")) { - size_t InitsBegin = Names.size(); - while (!consumeIf('E')) { - Node *Init = getDerived().parseExpr(); - if (Init == nullptr) - return Init; - Names.push_back(Init); - } - NodeArray Inits = popTrailingNodeArray(InitsBegin); - return make(ExprList, Ty, Inits, Global, IsArray); - } else if (!consumeIf('E')) - return nullptr; - return make(ExprList, Ty, NodeArray(), Global, IsArray); -} - // cv # conversion with one argument // cv _ * E # conversion with a different number of arguments template @@ -4169,7 +4214,7 @@ Node *AbstractManglingParser::parseConversionExpr() { return nullptr; Node *Ty; { - SwapAndRestore SaveTemp(TryToParseTemplateArgs, false); + ScopedOverride SaveTemp(TryToParseTemplateArgs, false); Ty = getDerived().parseType(); } @@ -4262,7 +4307,13 @@ Node *AbstractManglingParser::parseExprPrimary() { return getDerived().template parseFloatingLiteral(); case 'e': ++First; +#if defined(__powerpc__) || defined(__s390__) + // Handle cases where long doubles encoded with e have the same size + // and representation as doubles. + return getDerived().template parseFloatingLiteral(); +#else return getDerived().template parseFloatingLiteral(); +#endif case '_': if (consumeIf("_Z")) { Node *R = getDerived().parseEncoding(); @@ -4280,7 +4331,7 @@ Node *AbstractManglingParser::parseExprPrimary() { return nullptr; } case 'D': - if (consumeIf("DnE")) + if (consumeIf("Dn") && (consumeIf('0'), consumeIf('E'))) return make("nullptr"); return nullptr; case 'T': @@ -4301,12 +4352,12 @@ Node *AbstractManglingParser::parseExprPrimary() { Node *T = getDerived().parseType(); if (T == nullptr) return nullptr; - StringView N = parseNumber(); + std::string_view N = parseNumber(/*AllowNegative=*/true); if (N.empty()) return nullptr; if (!consumeIf('E')) return nullptr; - return make(T, N); + return make(T, N); } } } @@ -4367,55 +4418,38 @@ Node *AbstractManglingParser::parseFoldExpr() { if (!consumeIf('f')) return nullptr; - char FoldKind = look(); - bool IsLeftFold, HasInitializer; - HasInitializer = FoldKind == 'L' || FoldKind == 'R'; - if (FoldKind == 'l' || FoldKind == 'L') - IsLeftFold = true; - else if (FoldKind == 'r' || FoldKind == 'R') - IsLeftFold = false; - else + bool IsLeftFold = false, HasInitializer = false; + switch (look()) { + default: return nullptr; + case 'L': + IsLeftFold = true; + HasInitializer = true; + break; + case 'R': + HasInitializer = true; + break; + case 'l': + IsLeftFold = true; + break; + case 'r': + break; + } ++First; - // FIXME: This map is duplicated in parseOperatorName and parseExpr. - StringView OperatorName; - if (consumeIf("aa")) OperatorName = "&&"; - else if (consumeIf("an")) OperatorName = "&"; - else if (consumeIf("aN")) OperatorName = "&="; - else if (consumeIf("aS")) OperatorName = "="; - else if (consumeIf("cm")) OperatorName = ","; - else if (consumeIf("ds")) OperatorName = ".*"; - else if (consumeIf("dv")) OperatorName = "/"; - else if (consumeIf("dV")) OperatorName = "/="; - else if (consumeIf("eo")) OperatorName = "^"; - else if (consumeIf("eO")) OperatorName = "^="; - else if (consumeIf("eq")) OperatorName = "=="; - else if (consumeIf("ge")) OperatorName = ">="; - else if (consumeIf("gt")) OperatorName = ">"; - else if (consumeIf("le")) OperatorName = "<="; - else if (consumeIf("ls")) OperatorName = "<<"; - else if (consumeIf("lS")) OperatorName = "<<="; - else if (consumeIf("lt")) OperatorName = "<"; - else if (consumeIf("mi")) OperatorName = "-"; - else if (consumeIf("mI")) OperatorName = "-="; - else if (consumeIf("ml")) OperatorName = "*"; - else if (consumeIf("mL")) OperatorName = "*="; - else if (consumeIf("ne")) OperatorName = "!="; - else if (consumeIf("oo")) OperatorName = "||"; - else if (consumeIf("or")) OperatorName = "|"; - else if (consumeIf("oR")) OperatorName = "|="; - else if (consumeIf("pl")) OperatorName = "+"; - else if (consumeIf("pL")) OperatorName = "+="; - else if (consumeIf("rm")) OperatorName = "%"; - else if (consumeIf("rM")) OperatorName = "%="; - else if (consumeIf("rs")) OperatorName = ">>"; - else if (consumeIf("rS")) OperatorName = ">>="; - else return nullptr; + const auto *Op = parseOperatorEncoding(); + if (!Op) + return nullptr; + if (!(Op->getKind() == OperatorInfo::Binary + || (Op->getKind() == OperatorInfo::Member + && Op->getName().back() == '*'))) + return nullptr; - Node *Pack = getDerived().parseExpr(), *Init = nullptr; + Node *Pack = getDerived().parseExpr(); if (Pack == nullptr) return nullptr; + + Node *Init = nullptr; if (HasInitializer) { Init = getDerived().parseExpr(); if (Init == nullptr) @@ -4425,7 +4459,53 @@ Node *AbstractManglingParser::parseFoldExpr() { if (IsLeftFold && Init) std::swap(Pack, Init); - return make(IsLeftFold, OperatorName, Pack, Init); + return make(IsLeftFold, Op->getSymbol(), Pack, Init); +} + +// ::= mc [] E +// +// Not yet in the spec: https://github.com/itanium-cxx-abi/cxx-abi/issues/47 +template +Node * +AbstractManglingParser::parsePointerToMemberConversionExpr( + Node::Prec Prec) { + Node *Ty = getDerived().parseType(); + if (!Ty) + return nullptr; + Node *Expr = getDerived().parseExpr(); + if (!Expr) + return nullptr; + std::string_view Offset = getDerived().parseNumber(true); + if (!consumeIf('E')) + return nullptr; + return make(Ty, Expr, Offset, Prec); +} + +// ::= so [] * [p] E +// ::= _ [] +// +// Not yet in the spec: https://github.com/itanium-cxx-abi/cxx-abi/issues/47 +template +Node *AbstractManglingParser::parseSubobjectExpr() { + Node *Ty = getDerived().parseType(); + if (!Ty) + return nullptr; + Node *Expr = getDerived().parseExpr(); + if (!Expr) + return nullptr; + std::string_view Offset = getDerived().parseNumber(true); + size_t SelectorsBegin = Names.size(); + while (consumeIf('_')) { + Node *Selector = make(parseNumber()); + if (!Selector) + return nullptr; + Names.push_back(Selector); + } + bool OnePastTheEnd = consumeIf('p'); + if (!consumeIf('E')) + return nullptr; + return make( + Ty, Expr, Offset, popTrailingNodeArray(SelectorsBegin), OnePastTheEnd); } // ::= @@ -4475,313 +4555,127 @@ Node *AbstractManglingParser::parseFoldExpr() { template Node *AbstractManglingParser::parseExpr() { bool Global = consumeIf("gs"); - if (numLeft() < 2) - return nullptr; - switch (*First) { - case 'L': - return getDerived().parseExprPrimary(); - case 'T': - return getDerived().parseTemplateParam(); - case 'f': { - // Disambiguate a fold expression from a . - if (look(1) == 'p' || (look(1) == 'L' && std::isdigit(look(2)))) - return getDerived().parseFunctionParam(); - return getDerived().parseFoldExpr(); - } - case 'a': - switch (First[1]) { - case 'a': - First += 2; - return getDerived().parseBinaryExpr("&&"); - case 'd': - First += 2; - return getDerived().parsePrefixExpr("&"); - case 'n': - First += 2; - return getDerived().parseBinaryExpr("&"); - case 'N': - First += 2; - return getDerived().parseBinaryExpr("&="); - case 'S': - First += 2; - return getDerived().parseBinaryExpr("="); - case 't': { - First += 2; - Node *Ty = getDerived().parseType(); - if (Ty == nullptr) - return nullptr; - return make("alignof (", Ty, ")"); - } - case 'z': { - First += 2; - Node *Ty = getDerived().parseExpr(); - if (Ty == nullptr) - return nullptr; - return make("alignof (", Ty, ")"); - } - } - return nullptr; - case 'c': - switch (First[1]) { - // cc # const_cast(expression) - case 'c': { - First += 2; - Node *Ty = getDerived().parseType(); - if (Ty == nullptr) - return Ty; + const auto *Op = parseOperatorEncoding(); + if (Op) { + auto Sym = Op->getSymbol(); + switch (Op->getKind()) { + case OperatorInfo::Binary: + // Binary operator: lhs @ rhs + return getDerived().parseBinaryExpr(Sym, Op->getPrecedence()); + case OperatorInfo::Prefix: + // Prefix unary operator: @ expr + return getDerived().parsePrefixExpr(Sym, Op->getPrecedence()); + case OperatorInfo::Postfix: { + // Postfix unary operator: expr @ + if (consumeIf('_')) + return getDerived().parsePrefixExpr(Sym, Op->getPrecedence()); Node *Ex = getDerived().parseExpr(); if (Ex == nullptr) - return Ex; - return make("const_cast", Ty, Ex); - } - // cl + E # call - case 'l': { - First += 2; - Node *Callee = getDerived().parseExpr(); - if (Callee == nullptr) - return Callee; - size_t ExprsBegin = Names.size(); - while (!consumeIf('E')) { - Node *E = getDerived().parseExpr(); - if (E == nullptr) - return E; - Names.push_back(E); - } - return make(Callee, popTrailingNodeArray(ExprsBegin)); - } - case 'm': - First += 2; - return getDerived().parseBinaryExpr(","); - case 'o': - First += 2; - return getDerived().parsePrefixExpr("~"); - case 'v': - return getDerived().parseConversionExpr(); - } - return nullptr; - case 'd': - switch (First[1]) { - case 'a': { - First += 2; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make(Ex, Global, /*is_array=*/true); - } - case 'c': { - First += 2; - Node *T = getDerived().parseType(); - if (T == nullptr) - return T; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make("dynamic_cast", T, Ex); - } - case 'e': - First += 2; - return getDerived().parsePrefixExpr("*"); - case 'l': { - First += 2; - Node *E = getDerived().parseExpr(); - if (E == nullptr) - return E; - return make(E, Global, /*is_array=*/false); - } - case 'n': - return getDerived().parseUnresolvedName(); - case 's': { - First += 2; - Node *LHS = getDerived().parseExpr(); - if (LHS == nullptr) return nullptr; - Node *RHS = getDerived().parseExpr(); - if (RHS == nullptr) - return nullptr; - return make(LHS, ".*", RHS); + return make(Ex, Sym, Op->getPrecedence()); } - case 't': { - First += 2; - Node *LHS = getDerived().parseExpr(); - if (LHS == nullptr) - return LHS; - Node *RHS = getDerived().parseExpr(); - if (RHS == nullptr) - return nullptr; - return make(LHS, ".", RHS); - } - case 'v': - First += 2; - return getDerived().parseBinaryExpr("/"); - case 'V': - First += 2; - return getDerived().parseBinaryExpr("/="); - } - return nullptr; - case 'e': - switch (First[1]) { - case 'o': - First += 2; - return getDerived().parseBinaryExpr("^"); - case 'O': - First += 2; - return getDerived().parseBinaryExpr("^="); - case 'q': - First += 2; - return getDerived().parseBinaryExpr("=="); - } - return nullptr; - case 'g': - switch (First[1]) { - case 'e': - First += 2; - return getDerived().parseBinaryExpr(">="); - case 't': - First += 2; - return getDerived().parseBinaryExpr(">"); - } - return nullptr; - case 'i': - switch (First[1]) { - case 'x': { - First += 2; + case OperatorInfo::Array: { + // Array Index: lhs [ rhs ] Node *Base = getDerived().parseExpr(); if (Base == nullptr) return nullptr; Node *Index = getDerived().parseExpr(); if (Index == nullptr) - return Index; - return make(Base, Index); + return nullptr; + return make(Base, Index, Op->getPrecedence()); } - case 'l': { - First += 2; + case OperatorInfo::Member: { + // Member access lhs @ rhs + Node *LHS = getDerived().parseExpr(); + if (LHS == nullptr) + return nullptr; + Node *RHS = getDerived().parseExpr(); + if (RHS == nullptr) + return nullptr; + return make(LHS, Sym, RHS, Op->getPrecedence()); + } + case OperatorInfo::New: { + // New + // # new (expr-list) type [(init)] + // [gs] nw * _ [pi *] E + // # new[] (expr-list) type [(init)] + // [gs] na * _ [pi *] E + size_t Exprs = Names.size(); + while (!consumeIf('_')) { + Node *Ex = getDerived().parseExpr(); + if (Ex == nullptr) + return nullptr; + Names.push_back(Ex); + } + NodeArray ExprList = popTrailingNodeArray(Exprs); + Node *Ty = getDerived().parseType(); + if (Ty == nullptr) + return nullptr; + bool HaveInits = consumeIf("pi"); size_t InitsBegin = Names.size(); while (!consumeIf('E')) { - Node *E = getDerived().parseBracedExpr(); + if (!HaveInits) + return nullptr; + Node *Init = getDerived().parseExpr(); + if (Init == nullptr) + return Init; + Names.push_back(Init); + } + NodeArray Inits = popTrailingNodeArray(InitsBegin); + return make(ExprList, Ty, Inits, Global, + /*IsArray=*/Op->getFlag(), Op->getPrecedence()); + } + case OperatorInfo::Del: { + // Delete + Node *Ex = getDerived().parseExpr(); + if (Ex == nullptr) + return nullptr; + return make(Ex, Global, /*IsArray=*/Op->getFlag(), + Op->getPrecedence()); + } + case OperatorInfo::Call: { + // Function Call + Node *Callee = getDerived().parseExpr(); + if (Callee == nullptr) + return nullptr; + size_t ExprsBegin = Names.size(); + while (!consumeIf('E')) { + Node *E = getDerived().parseExpr(); if (E == nullptr) return nullptr; Names.push_back(E); } - return make(nullptr, popTrailingNodeArray(InitsBegin)); + return make(Callee, popTrailingNodeArray(ExprsBegin), + Op->getPrecedence()); } - } - return nullptr; - case 'l': - switch (First[1]) { - case 'e': - First += 2; - return getDerived().parseBinaryExpr("<="); - case 's': - First += 2; - return getDerived().parseBinaryExpr("<<"); - case 'S': - First += 2; - return getDerived().parseBinaryExpr("<<="); - case 't': - First += 2; - return getDerived().parseBinaryExpr("<"); - } - return nullptr; - case 'm': - switch (First[1]) { - case 'i': - First += 2; - return getDerived().parseBinaryExpr("-"); - case 'I': - First += 2; - return getDerived().parseBinaryExpr("-="); - case 'l': - First += 2; - return getDerived().parseBinaryExpr("*"); - case 'L': - First += 2; - return getDerived().parseBinaryExpr("*="); - case 'm': - First += 2; - if (consumeIf('_')) - return getDerived().parsePrefixExpr("--"); - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) + case OperatorInfo::CCast: { + // C Cast: (type)expr + Node *Ty; + { + ScopedOverride SaveTemp(TryToParseTemplateArgs, false); + Ty = getDerived().parseType(); + } + if (Ty == nullptr) return nullptr; - return make(Ex, "--"); - } - return nullptr; - case 'n': - switch (First[1]) { - case 'a': - case 'w': - return getDerived().parseNewExpr(); - case 'e': - First += 2; - return getDerived().parseBinaryExpr("!="); - case 'g': - First += 2; - return getDerived().parsePrefixExpr("-"); - case 't': - First += 2; - return getDerived().parsePrefixExpr("!"); - case 'x': - First += 2; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make("noexcept (", Ex, ")"); - } - return nullptr; - case 'o': - switch (First[1]) { - case 'n': - return getDerived().parseUnresolvedName(); - case 'o': - First += 2; - return getDerived().parseBinaryExpr("||"); - case 'r': - First += 2; - return getDerived().parseBinaryExpr("|"); - case 'R': - First += 2; - return getDerived().parseBinaryExpr("|="); - } - return nullptr; - case 'p': - switch (First[1]) { - case 'm': - First += 2; - return getDerived().parseBinaryExpr("->*"); - case 'l': - First += 2; - return getDerived().parseBinaryExpr("+"); - case 'L': - First += 2; - return getDerived().parseBinaryExpr("+="); - case 'p': { - First += 2; - if (consumeIf('_')) - return getDerived().parsePrefixExpr("++"); - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make(Ex, "++"); - } - case 's': - First += 2; - return getDerived().parsePrefixExpr("+"); - case 't': { - First += 2; - Node *L = getDerived().parseExpr(); - if (L == nullptr) + + size_t ExprsBegin = Names.size(); + bool IsMany = consumeIf('_'); + while (!consumeIf('E')) { + Node *E = getDerived().parseExpr(); + if (E == nullptr) + return E; + Names.push_back(E); + if (!IsMany) + break; + } + NodeArray Exprs = popTrailingNodeArray(ExprsBegin); + if (!IsMany && Exprs.size() != 1) return nullptr; - Node *R = getDerived().parseExpr(); - if (R == nullptr) - return nullptr; - return make(L, "->", R); + return make(Ty, Exprs, Op->getPrecedence()); } - } - return nullptr; - case 'q': - if (First[1] == 'u') { - First += 2; + case OperatorInfo::Conditional: { + // Conditional operator: expr ? expr : expr Node *Cond = getDerived().parseExpr(); if (Cond == nullptr) return nullptr; @@ -4791,169 +4685,158 @@ Node *AbstractManglingParser::parseExpr() { Node *RHS = getDerived().parseExpr(); if (RHS == nullptr) return nullptr; - return make(Cond, LHS, RHS); + return make(Cond, LHS, RHS, Op->getPrecedence()); } - return nullptr; - case 'r': - switch (First[1]) { - case 'c': { - First += 2; - Node *T = getDerived().parseType(); - if (T == nullptr) - return T; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make("reinterpret_cast", T, Ex); - } - case 'm': - First += 2; - return getDerived().parseBinaryExpr("%"); - case 'M': - First += 2; - return getDerived().parseBinaryExpr("%="); - case 's': - First += 2; - return getDerived().parseBinaryExpr(">>"); - case 'S': - First += 2; - return getDerived().parseBinaryExpr(">>="); - } - return nullptr; - case 's': - switch (First[1]) { - case 'c': { - First += 2; - Node *T = getDerived().parseType(); - if (T == nullptr) - return T; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make("static_cast", T, Ex); - } - case 'p': { - First += 2; - Node *Child = getDerived().parseExpr(); - if (Child == nullptr) - return nullptr; - return make(Child); - } - case 'r': - return getDerived().parseUnresolvedName(); - case 't': { - First += 2; + case OperatorInfo::NamedCast: { + // Named cast operation, @(expr) Node *Ty = getDerived().parseType(); if (Ty == nullptr) - return Ty; - return make("sizeof (", Ty, ")"); - } - case 'z': { - First += 2; + return nullptr; Node *Ex = getDerived().parseExpr(); if (Ex == nullptr) - return Ex; - return make("sizeof (", Ex, ")"); + return nullptr; + return make(Sym, Ty, Ex, Op->getPrecedence()); } - case 'Z': - First += 2; - if (look() == 'T') { - Node *R = getDerived().parseTemplateParam(); - if (R == nullptr) - return nullptr; - return make(R); - } else if (look() == 'f') { - Node *FP = getDerived().parseFunctionParam(); - if (FP == nullptr) - return nullptr; - return make("sizeof... (", FP, ")"); - } + case OperatorInfo::OfIdOp: { + // [sizeof/alignof/typeid] ( | ) + Node *Arg = + Op->getFlag() ? getDerived().parseType() : getDerived().parseExpr(); + if (!Arg) + return nullptr; + return make(Sym, Arg, Op->getPrecedence()); + } + case OperatorInfo::NameOnly: { + // Not valid as an expression operand. return nullptr; - case 'P': { - First += 2; - size_t ArgsBegin = Names.size(); - while (!consumeIf('E')) { - Node *Arg = getDerived().parseTemplateArg(); - if (Arg == nullptr) - return nullptr; - Names.push_back(Arg); - } - auto *Pack = make(popTrailingNodeArray(ArgsBegin)); - if (!Pack) - return nullptr; - return make("sizeof... (", Pack, ")"); } } + DEMANGLE_UNREACHABLE; + } + + if (numLeft() < 2) return nullptr; - case 't': - switch (First[1]) { - case 'e': { - First += 2; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return Ex; - return make("typeid (", Ex, ")"); - } - case 'i': { - First += 2; - Node *Ty = getDerived().parseType(); - if (Ty == nullptr) - return Ty; - return make("typeid (", Ty, ")"); - } - case 'l': { - First += 2; - Node *Ty = getDerived().parseType(); - if (Ty == nullptr) + + if (look() == 'L') + return getDerived().parseExprPrimary(); + if (look() == 'T') + return getDerived().parseTemplateParam(); + if (look() == 'f') { + // Disambiguate a fold expression from a . + if (look(1) == 'p' || (look(1) == 'L' && std::isdigit(look(2)))) + return getDerived().parseFunctionParam(); + return getDerived().parseFoldExpr(); + } + if (consumeIf("il")) { + size_t InitsBegin = Names.size(); + while (!consumeIf('E')) { + Node *E = getDerived().parseBracedExpr(); + if (E == nullptr) return nullptr; - size_t InitsBegin = Names.size(); + Names.push_back(E); + } + return make(nullptr, popTrailingNodeArray(InitsBegin)); + } + if (consumeIf("mc")) + return parsePointerToMemberConversionExpr(Node::Prec::Unary); + if (consumeIf("nx")) { + Node *Ex = getDerived().parseExpr(); + if (Ex == nullptr) + return Ex; + return make("noexcept ", Ex, Node::Prec::Unary); + } + if (consumeIf("so")) + return parseSubobjectExpr(); + if (consumeIf("sp")) { + Node *Child = getDerived().parseExpr(); + if (Child == nullptr) + return nullptr; + return make(Child); + } + if (consumeIf("sZ")) { + if (look() == 'T') { + Node *R = getDerived().parseTemplateParam(); + if (R == nullptr) + return nullptr; + return make(R); + } + Node *FP = getDerived().parseFunctionParam(); + if (FP == nullptr) + return nullptr; + return make("sizeof... ", FP); + } + if (consumeIf("sP")) { + size_t ArgsBegin = Names.size(); + while (!consumeIf('E')) { + Node *Arg = getDerived().parseTemplateArg(); + if (Arg == nullptr) + return nullptr; + Names.push_back(Arg); + } + auto *Pack = make(popTrailingNodeArray(ArgsBegin)); + if (!Pack) + return nullptr; + return make("sizeof... ", Pack); + } + if (consumeIf("tl")) { + Node *Ty = getDerived().parseType(); + if (Ty == nullptr) + return nullptr; + size_t InitsBegin = Names.size(); + while (!consumeIf('E')) { + Node *E = getDerived().parseBracedExpr(); + if (E == nullptr) + return nullptr; + Names.push_back(E); + } + return make(Ty, popTrailingNodeArray(InitsBegin)); + } + if (consumeIf("tr")) + return make("throw"); + if (consumeIf("tw")) { + Node *Ex = getDerived().parseExpr(); + if (Ex == nullptr) + return nullptr; + return make(Ex); + } + if (consumeIf('u')) { + Node *Name = getDerived().parseSourceName(/*NameState=*/nullptr); + if (!Name) + return nullptr; + // Special case legacy __uuidof mangling. The 't' and 'z' appear where the + // standard encoding expects a , and would be otherwise be + // interpreted as node 'short' or 'ellipsis'. However, neither + // __uuidof(short) nor __uuidof(...) can actually appear, so there is no + // actual conflict here. + bool IsUUID = false; + Node *UUID = nullptr; + if (Name->getBaseName() == "__uuidof") { + if (consumeIf('t')) { + UUID = getDerived().parseType(); + IsUUID = true; + } else if (consumeIf('z')) { + UUID = getDerived().parseExpr(); + IsUUID = true; + } + } + size_t ExprsBegin = Names.size(); + if (IsUUID) { + if (UUID == nullptr) + return nullptr; + Names.push_back(UUID); + } else { while (!consumeIf('E')) { - Node *E = getDerived().parseBracedExpr(); + Node *E = getDerived().parseTemplateArg(); if (E == nullptr) - return nullptr; + return E; Names.push_back(E); } - return make(Ty, popTrailingNodeArray(InitsBegin)); } - case 'r': - First += 2; - return make("throw"); - case 'w': { - First += 2; - Node *Ex = getDerived().parseExpr(); - if (Ex == nullptr) - return nullptr; - return make(Ex); - } - } - return nullptr; - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - return getDerived().parseUnresolvedName(); + return make(Name, popTrailingNodeArray(ExprsBegin), + Node::Prec::Postfix); } - if (consumeIf("u8__uuidoft")) { - Node *Ty = getDerived().parseType(); - if (!Ty) - return nullptr; - return make(Ty); - } - - if (consumeIf("u8__uuidofz")) { - Node *Ex = getDerived().parseExpr(); - if (!Ex) - return nullptr; - return make(Ex); - } - - return nullptr; + // Only unresolved names remain. + return getDerived().parseUnresolvedName(Global); } // ::= h _ @@ -4986,19 +4869,32 @@ bool AbstractManglingParser::parseCallOffset() { // # second call-offset is result adjustment // ::= T // # base is the nominal target function of thunk -// ::= GV # Guard variable for one-time initialization +// # Guard variable for one-time initialization +// ::= GV // # No // ::= TW # Thread-local wrapper // ::= TH # Thread-local initialization // ::= GR _ # First temporary // ::= GR _ # Subsequent temporaries -// extension ::= TC _ # construction vtable for second-in-first +// # construction vtable for second-in-first +// extension ::= TC _ // extension ::= GR # reference temporary for object +// extension ::= GI # module global initializer template Node *AbstractManglingParser::parseSpecialName() { switch (look()) { case 'T': switch (look(1)) { + // TA # template parameter object + // + // Not yet in the spec: https://github.com/itanium-cxx-abi/cxx-abi/issues/63 + case 'A': { + First += 2; + Node *Arg = getDerived().parseTemplateArg(); + if (Arg == nullptr) + return nullptr; + return make("template parameter object for ", Arg); + } // TV # virtual table case 'V': { First += 2; @@ -5110,6 +5006,16 @@ Node *AbstractManglingParser::parseSpecialName() { return nullptr; return make("reference temporary for ", Name); } + // GI v + case 'I': { + First += 2; + ModuleName *Module = nullptr; + if (getDerived().parseModuleNameOpt(Module)) + return nullptr; + if (Module == nullptr) + return nullptr; + return make("initializer for module ", Module); + } } } return nullptr; @@ -5120,6 +5026,26 @@ Node *AbstractManglingParser::parseSpecialName() { // ::= template Node *AbstractManglingParser::parseEncoding() { + // The template parameters of an encoding are unrelated to those of the + // enclosing context. + class SaveTemplateParams { + AbstractManglingParser *Parser; + decltype(TemplateParams) OldParams; + decltype(OuterTemplateParams) OldOuterParams; + + public: + SaveTemplateParams(AbstractManglingParser *TheParser) : Parser(TheParser) { + OldParams = std::move(Parser->TemplateParams); + OldOuterParams = std::move(Parser->OuterTemplateParams); + Parser->TemplateParams.clear(); + Parser->OuterTemplateParams.clear(); + } + ~SaveTemplateParams() { + Parser->TemplateParams = std::move(OldParams); + Parser->OuterTemplateParams = std::move(OldOuterParams); + } + } SaveTemplateParams(this); + if (look() == 'G' || look() == 'T') return getDerived().parseSpecialName(); @@ -5204,14 +5130,19 @@ template <> struct FloatData { #if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__) || \ - defined(__wasm__) + defined(__wasm__) || defined(__riscv) || defined(__loongarch__) static const size_t mangled_size = 32; #elif defined(__arm__) || defined(__mips__) || defined(__hexagon__) static const size_t mangled_size = 16; #else static const size_t mangled_size = 20; // May need to be adjusted to 16 or 24 on other platforms #endif - static const size_t max_demangled_size = 40; + // `-0x1.ffffffffffffffffffffffffffffp+16383` + 'L' + '\0' == 42 bytes. + // 28 'f's * 4 bits == 112 bits, which is the number of mantissa bits. + // Negatives are one character longer than positives. + // `0x1.` and `p` are constant, and exponents `+16383` and `-16382` are the + // same length. 1 sign bit, 112 mantissa bits, and 15 exponent bits == 128. + static const size_t max_demangled_size = 42; static constexpr const char *spec = "%LaL"; }; @@ -5221,7 +5152,7 @@ Node *AbstractManglingParser::parseFloatingLiteral() { const size_t N = FloatData::mangled_size; if (numLeft() <= N) return nullptr; - StringView Data(First, First + N); + std::string_view Data(First, N); for (char C : Data) if (!std::isxdigit(C)) return nullptr; @@ -5264,43 +5195,41 @@ bool AbstractManglingParser::parseSeqId(size_t *Out) { // ::= Si # ::std::basic_istream > // ::= So # ::std::basic_ostream > // ::= Sd # ::std::basic_iostream > +// The St case is handled specially in parseNestedName. template Node *AbstractManglingParser::parseSubstitution() { if (!consumeIf('S')) return nullptr; - if (std::islower(look())) { - Node *SpecialSub; + if (look() >= 'a' && look() <= 'z') { + SpecialSubKind Kind; switch (look()) { case 'a': - ++First; - SpecialSub = make(SpecialSubKind::allocator); + Kind = SpecialSubKind::allocator; break; case 'b': - ++First; - SpecialSub = make(SpecialSubKind::basic_string); - break; - case 's': - ++First; - SpecialSub = make(SpecialSubKind::string); - break; - case 'i': - ++First; - SpecialSub = make(SpecialSubKind::istream); - break; - case 'o': - ++First; - SpecialSub = make(SpecialSubKind::ostream); + Kind = SpecialSubKind::basic_string; break; case 'd': - ++First; - SpecialSub = make(SpecialSubKind::iostream); + Kind = SpecialSubKind::iostream; + break; + case 'i': + Kind = SpecialSubKind::istream; + break; + case 'o': + Kind = SpecialSubKind::ostream; + break; + case 's': + Kind = SpecialSubKind::string; break; default: return nullptr; } + ++First; + auto *SpecialSub = make(Kind); if (!SpecialSub) return nullptr; + // Itanium C++ ABI 5.1.2: If a name that would use a built-in // has ABI tags, the tags are appended to the substitution; the result is a // substitutable component. @@ -5543,7 +5472,8 @@ Node *AbstractManglingParser::parse() { if (Encoding == nullptr) return nullptr; if (look() == '.') { - Encoding = make(Encoding, StringView(First, Last)); + Encoding = + make(Encoding, std::string_view(First, Last - First)); First = Last; } if (numLeft() != 0) diff --git a/externals/demangle/llvm/Demangle/ItaniumNodes.def b/externals/demangle/llvm/Demangle/ItaniumNodes.def new file mode 100644 index 000000000..5985769ef --- /dev/null +++ b/externals/demangle/llvm/Demangle/ItaniumNodes.def @@ -0,0 +1,96 @@ +//===--- ItaniumNodes.def ------------*- mode:c++;eval:(read-only-mode) -*-===// +// Do not edit! See README.txt. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-FileCopyrightText: Part of the LLVM Project +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// Define the demangler's node names + +#ifndef NODE +#error Define NODE to handle nodes +#endif + +NODE(NodeArrayNode) +NODE(DotSuffix) +NODE(VendorExtQualType) +NODE(QualType) +NODE(ConversionOperatorType) +NODE(PostfixQualifiedType) +NODE(ElaboratedTypeSpefType) +NODE(NameType) +NODE(AbiTagAttr) +NODE(EnableIfAttr) +NODE(ObjCProtoName) +NODE(PointerType) +NODE(ReferenceType) +NODE(PointerToMemberType) +NODE(ArrayType) +NODE(FunctionType) +NODE(NoexceptSpec) +NODE(DynamicExceptionSpec) +NODE(FunctionEncoding) +NODE(LiteralOperator) +NODE(SpecialName) +NODE(CtorVtableSpecialName) +NODE(QualifiedName) +NODE(NestedName) +NODE(LocalName) +NODE(ModuleName) +NODE(ModuleEntity) +NODE(VectorType) +NODE(PixelVectorType) +NODE(BinaryFPType) +NODE(BitIntType) +NODE(SyntheticTemplateParamName) +NODE(TypeTemplateParamDecl) +NODE(NonTypeTemplateParamDecl) +NODE(TemplateTemplateParamDecl) +NODE(TemplateParamPackDecl) +NODE(ParameterPack) +NODE(TemplateArgumentPack) +NODE(ParameterPackExpansion) +NODE(TemplateArgs) +NODE(ForwardTemplateReference) +NODE(NameWithTemplateArgs) +NODE(GlobalQualifiedName) +NODE(ExpandedSpecialSubstitution) +NODE(SpecialSubstitution) +NODE(CtorDtorName) +NODE(DtorName) +NODE(UnnamedTypeName) +NODE(ClosureTypeName) +NODE(StructuredBindingName) +NODE(BinaryExpr) +NODE(ArraySubscriptExpr) +NODE(PostfixExpr) +NODE(ConditionalExpr) +NODE(MemberExpr) +NODE(SubobjectExpr) +NODE(EnclosingExpr) +NODE(CastExpr) +NODE(SizeofParamPackExpr) +NODE(CallExpr) +NODE(NewExpr) +NODE(DeleteExpr) +NODE(PrefixExpr) +NODE(FunctionParam) +NODE(ConversionExpr) +NODE(PointerToMemberConversionExpr) +NODE(InitListExpr) +NODE(FoldExpr) +NODE(ThrowExpr) +NODE(BoolExpr) +NODE(StringLiteral) +NODE(LambdaExpr) +NODE(EnumLiteral) +NODE(IntegerLiteral) +NODE(FloatLiteral) +NODE(DoubleLiteral) +NODE(LongDoubleLiteral) +NODE(BracedExpr) +NODE(BracedRangeExpr) + +#undef NODE diff --git a/externals/demangle/llvm/Demangle/StringView.h b/externals/demangle/llvm/Demangle/StringView.h index 44d2b18a3..76b215252 100644 --- a/externals/demangle/llvm/Demangle/StringView.h +++ b/externals/demangle/llvm/Demangle/StringView.h @@ -1,5 +1,5 @@ -//===--- StringView.h -------------------------------------------*- C++ -*-===// -// +//===--- StringView.h ----------------*- mode:c++;eval:(read-only-mode) -*-===// +// Do not edit! See README.txt. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-FileCopyrightText: Part of the LLVM Project @@ -8,6 +8,9 @@ //===----------------------------------------------------------------------===// // // FIXME: Use std::string_view instead when we support C++17. +// There are two copies of this file in the source tree. The one under +// libcxxabi is the original and the one under llvm is the copy. Use +// cp-to-llvm.sh to update the copy. See README.txt for more details. // //===----------------------------------------------------------------------===// @@ -15,7 +18,6 @@ #define DEMANGLE_STRINGVIEW_H #include "DemangleConfig.h" -#include #include #include @@ -37,29 +39,23 @@ public: StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {} StringView() : First(nullptr), Last(nullptr) {} - StringView substr(size_t From) const { - return StringView(begin() + From, size() - From); + StringView substr(size_t Pos, size_t Len = npos) const { + assert(Pos <= size()); + if (Len > size() - Pos) + Len = size() - Pos; + return StringView(begin() + Pos, Len); } size_t find(char C, size_t From = 0) const { - size_t FindBegin = std::min(From, size()); // Avoid calling memchr with nullptr. - if (FindBegin < size()) { + if (From < size()) { // Just forward to memchr, which is faster than a hand-rolled loop. - if (const void *P = ::memchr(First + FindBegin, C, size() - FindBegin)) + if (const void *P = ::memchr(First + From, C, size() - From)) return size_t(static_cast(P) - First); } return npos; } - StringView substr(size_t From, size_t To) const { - if (To >= size()) - To = size() - 1; - if (From >= size()) - From = size() - 1; - return StringView(First + From, First + To); - } - StringView dropFront(size_t N = 1) const { if (N >= size()) N = size(); @@ -106,7 +102,7 @@ public: bool startsWith(StringView Str) const { if (Str.size() > size()) return false; - return std::equal(Str.begin(), Str.end(), begin()); + return std::strncmp(Str.begin(), begin(), Str.size()) == 0; } const char &operator[](size_t Idx) const { return *(begin() + Idx); } @@ -119,7 +115,7 @@ public: inline bool operator==(const StringView &LHS, const StringView &RHS) { return LHS.size() == RHS.size() && - std::equal(LHS.begin(), LHS.end(), RHS.begin()); + std::strncmp(LHS.begin(), RHS.begin(), LHS.size()) == 0; } DEMANGLE_NAMESPACE_END diff --git a/externals/demangle/llvm/Demangle/StringViewExtras.h b/externals/demangle/llvm/Demangle/StringViewExtras.h new file mode 100644 index 000000000..83685c304 --- /dev/null +++ b/externals/demangle/llvm/Demangle/StringViewExtras.h @@ -0,0 +1,39 @@ +//===--- StringViewExtras.h ----------*- mode:c++;eval:(read-only-mode) -*-===// +// Do not edit! See README.txt. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-FileCopyrightText: Part of the LLVM Project +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// There are two copies of this file in the source tree. The one under +// libcxxabi is the original and the one under llvm is the copy. Use +// cp-to-llvm.sh to update the copy. See README.txt for more details. +// +//===----------------------------------------------------------------------===// + +#ifndef DEMANGLE_STRINGVIEW_H +#define DEMANGLE_STRINGVIEW_H + +#include "DemangleConfig.h" + +#include + +DEMANGLE_NAMESPACE_BEGIN + +inline bool starts_with(std::string_view self, char C) noexcept { + return !self.empty() && *self.begin() == C; +} + +inline bool starts_with(std::string_view haystack, + std::string_view needle) noexcept { + if (needle.size() > haystack.size()) + return false; + haystack.remove_suffix(haystack.size() - needle.size()); + return haystack == needle; +} + +DEMANGLE_NAMESPACE_END + +#endif diff --git a/externals/demangle/llvm/Demangle/Utility.h b/externals/demangle/llvm/Demangle/Utility.h index 50d05c6b1..30dfbfc8d 100644 --- a/externals/demangle/llvm/Demangle/Utility.h +++ b/externals/demangle/llvm/Demangle/Utility.h @@ -1,5 +1,5 @@ -//===--- Utility.h ----------------------------------------------*- C++ -*-===// -// +//===--- Utility.h -------------------*- mode:c++;eval:(read-only-mode) -*-===// +// Do not edit! See README.txt. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-FileCopyrightText: Part of the LLVM Project @@ -7,70 +7,83 @@ // //===----------------------------------------------------------------------===// // -// Provide some utility classes for use in the demangler(s). +// Provide some utility classes for use in the demangler. +// There are two copies of this file in the source tree. The one in libcxxabi +// is the original and the one in llvm is the copy. Use cp-to-llvm.sh to update +// the copy. See README.txt for more details. // //===----------------------------------------------------------------------===// #ifndef DEMANGLE_UTILITY_H #define DEMANGLE_UTILITY_H -#include "StringView.h" +#include "DemangleConfig.h" + +#include +#include #include #include #include -#include +#include #include +#include DEMANGLE_NAMESPACE_BEGIN // Stream that AST nodes write their string representation into after the AST // has been parsed. -class OutputStream { - char *Buffer; - size_t CurrentPosition; - size_t BufferCapacity; +class OutputBuffer { + char *Buffer = nullptr; + size_t CurrentPosition = 0; + size_t BufferCapacity = 0; - // Ensure there is at least n more positions in buffer. + // Ensure there are at least N more positions in the buffer. void grow(size_t N) { - if (N + CurrentPosition >= BufferCapacity) { + size_t Need = N + CurrentPosition; + if (Need > BufferCapacity) { + // Reduce the number of reallocations, with a bit of hysteresis. The + // number here is chosen so the first allocation will more-than-likely not + // allocate more than 1K. + Need += 1024 - 32; BufferCapacity *= 2; - if (BufferCapacity < N + CurrentPosition) - BufferCapacity = N + CurrentPosition; + if (BufferCapacity < Need) + BufferCapacity = Need; Buffer = static_cast(std::realloc(Buffer, BufferCapacity)); if (Buffer == nullptr) std::terminate(); } } - void writeUnsigned(uint64_t N, bool isNeg = false) { - // Handle special case... - if (N == 0) { - *this << '0'; - return; - } + OutputBuffer &writeUnsigned(uint64_t N, bool isNeg = false) { + std::array Temp; + char *TempPtr = Temp.data() + Temp.size(); - char Temp[21]; - char *TempPtr = std::end(Temp); - - while (N) { - *--TempPtr = '0' + char(N % 10); + // Output at least one character. + do { + *--TempPtr = char('0' + N % 10); N /= 10; - } + } while (N); - // Add negative sign... + // Add negative sign. if (isNeg) *--TempPtr = '-'; - this->operator<<(StringView(TempPtr, std::end(Temp))); + + return operator+=( + std::string_view(TempPtr, Temp.data() + Temp.size() - TempPtr)); } public: - OutputStream(char *StartBuf, size_t Size) - : Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {} - OutputStream() = default; - void reset(char *Buffer_, size_t BufferCapacity_) { - CurrentPosition = 0; - Buffer = Buffer_; - BufferCapacity = BufferCapacity_; + OutputBuffer(char *StartBuf, size_t Size) + : Buffer(StartBuf), BufferCapacity(Size) {} + OutputBuffer(char *StartBuf, size_t *SizePtr) + : OutputBuffer(StartBuf, StartBuf ? *SizePtr : 0) {} + OutputBuffer() = default; + // Non-copyable + OutputBuffer(const OutputBuffer &) = delete; + OutputBuffer &operator=(const OutputBuffer &) = delete; + + operator std::string_view() const { + return std::string_view(Buffer, CurrentPosition); } /// If a ParameterPackExpansion (or similar type) is encountered, the offset @@ -78,115 +91,116 @@ public: unsigned CurrentPackIndex = std::numeric_limits::max(); unsigned CurrentPackMax = std::numeric_limits::max(); - OutputStream &operator+=(StringView R) { - size_t Size = R.size(); - if (Size == 0) - return *this; - grow(Size); - std::memmove(Buffer + CurrentPosition, R.begin(), Size); - CurrentPosition += Size; + /// When zero, we're printing template args and '>' needs to be parenthesized. + /// Use a counter so we can simply increment inside parentheses. + unsigned GtIsGt = 1; + + bool isGtInsideTemplateArgs() const { return GtIsGt == 0; } + + void printOpen(char Open = '(') { + GtIsGt++; + *this += Open; + } + void printClose(char Close = ')') { + GtIsGt--; + *this += Close; + } + + OutputBuffer &operator+=(std::string_view R) { + if (size_t Size = R.size()) { + grow(Size); + std::memcpy(Buffer + CurrentPosition, &*R.begin(), Size); + CurrentPosition += Size; + } return *this; } - OutputStream &operator+=(char C) { + OutputBuffer &operator+=(char C) { grow(1); Buffer[CurrentPosition++] = C; return *this; } - OutputStream &operator<<(StringView R) { return (*this += R); } + OutputBuffer &prepend(std::string_view R) { + size_t Size = R.size(); - OutputStream &operator<<(char C) { return (*this += C); } + grow(Size); + std::memmove(Buffer + Size, Buffer, CurrentPosition); + std::memcpy(Buffer, &*R.begin(), Size); + CurrentPosition += Size; - OutputStream &operator<<(long long N) { - if (N < 0) - writeUnsigned(static_cast(-N), true); - else - writeUnsigned(static_cast(N)); return *this; } - OutputStream &operator<<(unsigned long long N) { - writeUnsigned(N, false); - return *this; + OutputBuffer &operator<<(std::string_view R) { return (*this += R); } + + OutputBuffer &operator<<(char C) { return (*this += C); } + + OutputBuffer &operator<<(long long N) { + return writeUnsigned(static_cast(std::abs(N)), N < 0); } - OutputStream &operator<<(long N) { + OutputBuffer &operator<<(unsigned long long N) { + return writeUnsigned(N, false); + } + + OutputBuffer &operator<<(long N) { return this->operator<<(static_cast(N)); } - OutputStream &operator<<(unsigned long N) { + OutputBuffer &operator<<(unsigned long N) { return this->operator<<(static_cast(N)); } - OutputStream &operator<<(int N) { + OutputBuffer &operator<<(int N) { return this->operator<<(static_cast(N)); } - OutputStream &operator<<(unsigned int N) { + OutputBuffer &operator<<(unsigned int N) { return this->operator<<(static_cast(N)); } + void insert(size_t Pos, const char *S, size_t N) { + assert(Pos <= CurrentPosition); + if (N == 0) + return; + grow(N); + std::memmove(Buffer + Pos + N, Buffer + Pos, CurrentPosition - Pos); + std::memcpy(Buffer + Pos, S, N); + CurrentPosition += N; + } + size_t getCurrentPosition() const { return CurrentPosition; } void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; } char back() const { - return CurrentPosition ? Buffer[CurrentPosition - 1] : '\0'; + assert(CurrentPosition); + return Buffer[CurrentPosition - 1]; } bool empty() const { return CurrentPosition == 0; } char *getBuffer() { return Buffer; } char *getBufferEnd() { return Buffer + CurrentPosition - 1; } - size_t getBufferCapacity() { return BufferCapacity; } + size_t getBufferCapacity() const { return BufferCapacity; } }; -template class SwapAndRestore { - T &Restore; - T OriginalValue; - bool ShouldRestore = true; +template class ScopedOverride { + T &Loc; + T Original; public: - SwapAndRestore(T &Restore_) : SwapAndRestore(Restore_, Restore_) {} + ScopedOverride(T &Loc_) : ScopedOverride(Loc_, Loc_) {} - SwapAndRestore(T &Restore_, T NewVal) - : Restore(Restore_), OriginalValue(Restore) { - Restore = std::move(NewVal); - } - ~SwapAndRestore() { - if (ShouldRestore) - Restore = std::move(OriginalValue); + ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { + Loc_ = std::move(NewVal); } + ~ScopedOverride() { Loc = std::move(Original); } - void shouldRestore(bool ShouldRestore_) { ShouldRestore = ShouldRestore_; } - - void restoreNow(bool Force) { - if (!Force && !ShouldRestore) - return; - - Restore = std::move(OriginalValue); - ShouldRestore = false; - } - - SwapAndRestore(const SwapAndRestore &) = delete; - SwapAndRestore &operator=(const SwapAndRestore &) = delete; + ScopedOverride(const ScopedOverride &) = delete; + ScopedOverride &operator=(const ScopedOverride &) = delete; }; -inline bool initializeOutputStream(char *Buf, size_t *N, OutputStream &S, - size_t InitSize) { - size_t BufferSize; - if (Buf == nullptr) { - Buf = static_cast(std::malloc(InitSize)); - if (Buf == nullptr) - return false; - BufferSize = InitSize; - } else - BufferSize = *N; - - S.reset(Buf, BufferSize); - return true; -} - DEMANGLE_NAMESPACE_END #endif 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..f2886eb6c 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,scale --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-6.0") 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/src/CMakeLists.txt b/src/CMakeLists.txt index c7283e82c..6068c7a1f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,6 +35,7 @@ if (MSVC) # /volatile:iso - Use strict standards-compliant volatile semantics. # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates # /Zc:inline - Let codegen omit inline functions in object files + # /Zc:preprocessor - Enable standards-conforming preprocessor # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null # /GT - Supports fiber safety for data allocated using static thread-local storage add_compile_options( @@ -43,16 +44,19 @@ if (MSVC) /Zo /permissive- /EHsc - /std:c++latest + /std:c++20 /utf-8 /volatile:iso /Zc:externConstexpr /Zc:inline + /Zc:preprocessor /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 +87,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() @@ -110,13 +114,19 @@ else() -Wno-attributes -Wno-invalid-offsetof -Wno-unused-parameter - - $<$:-Wno-braced-scalar-init> - $<$:-Wno-unused-private-field> - $<$:-Wno-braced-scalar-init> - $<$:-Wno-unused-private-field> ) + if (CMAKE_CXX_COMPILER_ID MATCHES Clang) # Clang or AppleClang + add_compile_options( + -Wno-braced-scalar-init + -Wno-unused-private-field + -Wno-nullability-completeness + -Werror=shadow-uncaptured-local + -Werror=implicit-fallthrough + -Werror=type-limits + ) + endif() + if (ARCHITECTURE_x86_64) add_compile_options("-mcx16") add_compile_options("-fwrapv") @@ -126,6 +136,17 @@ else() add_compile_options("-stdlib=libc++") endif() + # GCC bugs + if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "11" 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 +202,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..fe79a701c --- /dev/null +++ b/src/android/app/build.gradle.kts @@ -0,0 +1,277 @@ +// 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") { + isDefault = true + 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") { + isDefault = true + 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.create("ktlintReset") { + delete(File(buildDir.path + File.separator + "intermediates/ktLint")) +} + +tasks.getByPath("loadKtlintReporters").dependsOn("ktlintReset") +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..832c08e15 --- /dev/null +++ b/src/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..c8706d7a6 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt @@ -0,0 +1,581 @@ +// 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 +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 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) { + Log.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?) { + Log.verbose("[NativeLibrary] Registering EmulationActivity.") + sEmulationActivity = WeakReference(emulationActivity) + } + + fun clearEmulationActivity() { + Log.verbose("[NativeLibrary] Unregistering EmulationActivity.") + sEmulationActivity.clear() + } + + @Keep + @JvmStatic + fun onEmulationStarted() { + sEmulationActivity.get()!!.onEmulationStarted() + } + + @Keep + @JvmStatic + fun onEmulationStopped(status: Int) { + sEmulationActivity.get()!!.onEmulationStopped(status) + } + + /** + * 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..9561748cb --- /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() + 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..bbd328c71 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt @@ -0,0 +1,475 @@ +// 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 androidx.preference.PreferenceManager +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +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.Settings +import org.yuzu.yuzu_emu.model.EmulationViewModel +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 java.text.NumberFormat +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 emulationViewModel: EmulationViewModel by viewModels() + + override fun onDestroy() { + stopForegroundService(this) + emulationViewModel.clear() + super.onDestroy() + } + + override fun onCreate(savedInstanceState: Bundle?) { + ThemeHelper.setTheme(this) + + super.onCreate(savedInstanceState) + + binding = ActivityEmulationBinding.inflate(layoutInflater) + setContentView(binding.root) + + val navHostFragment = + supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment + navHostFragment.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 preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + if (!preferences.getBoolean(Settings.PREF_MEMORY_WARNING_SHOWN, false)) { + if (MemoryUtil.isLessThan(MemoryUtil.REQUIRED_MEMORY, MemoryUtil.Gb)) { + Toast.makeText( + this, + getString( + R.string.device_memory_inadequate, + MemoryUtil.getDeviceRAM(), + getString( + R.string.memory_formatted, + NumberFormat.getInstance().format(MemoryUtil.REQUIRED_MEMORY), + getString(R.string.memory_gigabyte) + ) + ), + Toast.LENGTH_LONG + ).show() + preferences.edit() + .putBoolean(Settings.PREF_MEMORY_WARNING_SHOWN, true) + .apply() + } + } + + // 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() + } + } + + fun onEmulationStarted() { + emulationViewModel.setEmulationStarted(true) + } + + fun onEmulationStopped(status: Int) { + if (status == 0) { + finish() + } + } + + 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..0013e8512 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt @@ -0,0 +1,140 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.content.Intent +import android.graphics.drawable.BitmapDrawable +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.core.content.pm.ShortcutInfoCompat +import androidx.core.content.pm.ShortcutManagerCompat +import androidx.core.graphics.drawable.IconCompat +import androidx.documentfile.provider.DocumentFile +import androidx.lifecycle.ViewModelProvider +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 org.yuzu.yuzu_emu.HomeNavigationDirections +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.activities.EmulationActivity +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 +import org.yuzu.yuzu_emu.utils.GameIconUtils + +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 openIntent = Intent(YuzuApplication.appContext, EmulationActivity::class.java).apply { + action = Intent.ACTION_VIEW + data = Uri.parse(holder.game.path) + } + val shortcut = ShortcutInfoCompat.Builder(YuzuApplication.appContext, holder.game.path) + .setShortLabel(holder.game.title) + .setIcon( + IconCompat.createWithBitmap( + (holder.binding.imageGameScreen.drawable as BitmapDrawable).bitmap + ) + ) + .setIntent(openIntent) + .build() + ShortcutManagerCompat.pushDynamicShortcut(YuzuApplication.appContext, shortcut) + + 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 + GameIconUtils.loadGameIcon(game, binding.imageGameScreen) + + 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 + } + } +} 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..8d87d3bd7 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt @@ -0,0 +1,106 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.adapters + +import android.text.TextUtils +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.lifecycle.LifecycleOwner +import androidx.recyclerview.widget.RecyclerView +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.CardHomeOptionBinding +import org.yuzu.yuzu_emu.fragments.MessageDialogFragment +import org.yuzu.yuzu_emu.model.HomeSetting + +class HomeSettingAdapter( + private val activity: AppCompatActivity, + private val viewLifecycle: LifecycleOwner, + 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 + if (holder.option.isEnabled.invoke()) { + holder.option.onClick.invoke() + } else { + MessageDialogFragment.newInstance( + titleId = holder.option.disabledTitleId, + descriptionId = holder.option.disabledMessageId + ).show(activity.supportFragmentManager, MessageDialogFragment.TAG) + } + } + + 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 + ) + } + + if (!option.isEnabled.invoke()) { + binding.optionTitle.alpha = 0.5f + binding.optionDescription.alpha = 0.5f + binding.optionIcon.alpha = 0.5f + } + + option.details.observe(viewLifecycle) { updateOptionDetails(it) } + binding.optionDetail.postDelayed( + { + binding.optionDetail.ellipsize = TextUtils.TruncateAt.MARQUEE + binding.optionDetail.isSelected = true + }, + 3000 + ) + } + + private fun updateOptionDetails(detailString: String) { + if (detailString.isNotEmpty()) { + binding.optionDetail.text = detailString + binding.optionDetail.visibility = View.VISIBLE + } + } + } +} 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..bc6ff1364 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt @@ -0,0 +1,55 @@ +// 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) + binding.textSettingValue.visibility = View.GONE + } + } +} 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..6b46d359e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt @@ -0,0 +1,88 @@ +// 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.View +import android.view.ViewGroup +import androidx.appcompat.app.AppCompatActivity +import androidx.core.content.res.ResourcesCompat +import androidx.lifecycle.ViewModelProvider +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.HomeViewModel +import org.yuzu.yuzu_emu.model.SetupCallback +import org.yuzu.yuzu_emu.model.SetupPage +import org.yuzu.yuzu_emu.model.StepState +import org.yuzu.yuzu_emu.utils.ViewUtils + +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), SetupCallback { + lateinit var page: SetupPage + + init { + itemView.tag = this + } + + fun bind(page: SetupPage) { + this.page = page + + if (page.stepCompleted.invoke() == StepState.COMPLETE) { + binding.buttonAction.visibility = View.INVISIBLE + binding.textConfirmation.visibility = View.VISIBLE + } + + 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(this@SetupPageViewHolder) + } + } + } + + override fun onStepCompleted() { + ViewUtils.hideView(binding.buttonAction, 200) + ViewUtils.showView(binding.textConfirmation, 200) + ViewModelProvider(activity)[HomeViewModel::class.java].setShouldPageForward(true) + } + } +} 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..6f4b5b13f --- /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 androidx.lifecycle.ViewModelProvider +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.activities.EmulationActivity +import org.yuzu.yuzu_emu.model.EmulationViewModel +import org.yuzu.yuzu_emu.utils.Log + +@Keep +object DiskShaderCacheProgress { + private lateinit var emulationViewModel: EmulationViewModel + + private fun prepareViewModel() { + emulationViewModel = + ViewModelProvider( + NativeLibrary.sEmulationActivity.get() as EmulationActivity + )[EmulationViewModel::class.java] + } + + @JvmStatic + fun loadProgress(stage: Int, progress: Int, max: Int) { + val emulationActivity = NativeLibrary.sEmulationActivity.get() + if (emulationActivity == null) { + Log.error("[DiskShaderCacheProgress] EmulationActivity not present") + return + } + + emulationActivity.runOnUiThread { + when (LoadCallbackStage.values()[stage]) { + LoadCallbackStage.Prepare -> prepareViewModel() + LoadCallbackStage.Build -> emulationViewModel.updateProgress( + emulationActivity.getString(R.string.building_shaders), + progress, + max + ) + + LoadCallbackStage.Complete -> {} + } + } + } + + // Equivalent to VideoCore::LoadCallbackStage + enum class LoadCallbackStage { + Prepare, Build, Complete + } +} 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..aeda8d222 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.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 + +interface AbstractBooleanSetting : AbstractSetting { + val boolean: Boolean + + fun setBoolean(value: Boolean) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.kt new file mode 100644 index 000000000..606519ad8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.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 + +interface AbstractByteSetting : AbstractSetting { + val byte: Byte + + fun setByte(value: Byte) +} 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..974925eed --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.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 + +interface AbstractFloatSetting : AbstractSetting { + val float: Float + + fun setFloat(value: 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..89b285b10 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.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 + +interface AbstractIntSetting : AbstractSetting { + val int: Int + + fun setInt(value: Int) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt new file mode 100644 index 000000000..4873942db --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.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 + +interface AbstractLongSetting : AbstractSetting { + val long: Long + + fun setLong(value: Long) +} 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..8b6d29fe5 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +interface AbstractSetting { + val key: String + val category: Settings.Category + val defaultValue: Any + val androidDefault: Any? + get() = null + val valueAsString: String + get() = "" + + val isRuntimeModifiable: Boolean + get() = NativeConfig.getIsRuntimeModifiable(key) + + val pairedSettingKey: String + get() = NativeConfig.getPairedSettingKey(key) + + fun reset() +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt new file mode 100644 index 000000000..91407ccbb --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.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 + +interface AbstractShortSetting : AbstractSetting { + val short: Short + + fun setShort(value: Short) +} 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..c8935cc48 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.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 + +interface AbstractStringSetting : AbstractSetting { + val string: String + + fun setString(value: 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..e0c0538c7 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.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 + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class BooleanSetting( + override val key: String, + override val category: Settings.Category, + override val androidDefault: Boolean? = null +) : AbstractBooleanSetting { + CPU_DEBUG_MODE("cpu_debug_mode", Settings.Category.Cpu), + FASTMEM("cpuopt_fastmem", Settings.Category.Cpu), + FASTMEM_EXCLUSIVES("cpuopt_fastmem_exclusives", Settings.Category.Cpu), + RENDERER_USE_SPEED_LIMIT("use_speed_limit", Settings.Category.Core), + USE_DOCKED_MODE("use_docked_mode", Settings.Category.System, false), + RENDERER_USE_DISK_SHADER_CACHE("use_disk_shader_cache", Settings.Category.Renderer), + RENDERER_FORCE_MAX_CLOCK("force_max_clock", Settings.Category.Renderer), + RENDERER_ASYNCHRONOUS_SHADERS("use_asynchronous_shaders", Settings.Category.Renderer), + RENDERER_REACTIVE_FLUSHING("use_reactive_flushing", Settings.Category.Renderer, false), + RENDERER_DEBUG("debug", Settings.Category.Renderer), + PICTURE_IN_PICTURE("picture_in_picture", Settings.Category.Android), + USE_CUSTOM_RTC("custom_rtc_enabled", Settings.Category.System); + + override val boolean: Boolean + get() = NativeConfig.getBoolean(key, false) + + override fun setBoolean(value: Boolean) = NativeConfig.setBoolean(key, value) + + override val defaultValue: Boolean by lazy { + androidDefault ?: NativeConfig.getBoolean(key, true) + } + + override val valueAsString: String + get() = if (boolean) "1" else "0" + + override fun reset() = NativeConfig.setBoolean(key, defaultValue) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt new file mode 100644 index 000000000..6ec0a765e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class ByteSetting( + override val key: String, + override val category: Settings.Category +) : AbstractByteSetting { + AUDIO_VOLUME("volume", Settings.Category.Audio); + + override val byte: Byte + get() = NativeConfig.getByte(key, false) + + override fun setByte(value: Byte) = NativeConfig.setByte(key, value) + + override val defaultValue: Byte by lazy { NativeConfig.getByte(key, true) } + + override val valueAsString: String + get() = byte.toString() + + override fun reset() = NativeConfig.setByte(key, 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..0181d06f2 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class FloatSetting( + override val key: String, + override val category: Settings.Category +) : AbstractFloatSetting { + // No float settings currently exist + EMPTY_SETTING("", Settings.Category.UiGeneral); + + override val float: Float + get() = NativeConfig.getFloat(key, false) + + override fun setFloat(value: Float) = NativeConfig.setFloat(key, value) + + override val defaultValue: Float by lazy { NativeConfig.getFloat(key, true) } + + override val valueAsString: String + get() = float.toString() + + override fun reset() = NativeConfig.setFloat(key, 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..151362124 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.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 + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class IntSetting( + override val key: String, + override val category: Settings.Category, + override val androidDefault: Int? = null +) : AbstractIntSetting { + CPU_ACCURACY("cpu_accuracy", Settings.Category.Cpu), + REGION_INDEX("region_index", Settings.Category.System), + LANGUAGE_INDEX("language_index", Settings.Category.System), + RENDERER_BACKEND("backend", Settings.Category.Renderer), + RENDERER_ACCURACY("gpu_accuracy", Settings.Category.Renderer, 0), + RENDERER_RESOLUTION("resolution_setup", Settings.Category.Renderer), + RENDERER_VSYNC("use_vsync", Settings.Category.Renderer), + RENDERER_SCALING_FILTER("scaling_filter", Settings.Category.Renderer), + RENDERER_ANTI_ALIASING("anti_aliasing", Settings.Category.Renderer), + RENDERER_SCREEN_LAYOUT("screen_layout", Settings.Category.Android), + RENDERER_ASPECT_RATIO("aspect_ratio", Settings.Category.Renderer), + AUDIO_OUTPUT_ENGINE("output_engine", Settings.Category.Audio); + + override val int: Int + get() = NativeConfig.getInt(key, false) + + override fun setInt(value: Int) = NativeConfig.setInt(key, value) + + override val defaultValue: Int by lazy { + androidDefault ?: NativeConfig.getInt(key, true) + } + + override val valueAsString: String + get() = int.toString() + + override fun reset() = NativeConfig.setInt(key, defaultValue) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt new file mode 100644 index 000000000..c526fc4cf --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class LongSetting( + override val key: String, + override val category: Settings.Category +) : AbstractLongSetting { + CUSTOM_RTC("custom_rtc", Settings.Category.System); + + override val long: Long + get() = NativeConfig.getLong(key, false) + + override fun setLong(value: Long) = NativeConfig.setLong(key, value) + + override val defaultValue: Long by lazy { NativeConfig.getLong(key, true) } + + override val valueAsString: String + get() = long.toString() + + override fun reset() = NativeConfig.setLong(key, defaultValue) +} 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..0702236e8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt @@ -0,0 +1,154 @@ +// 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 android.widget.Toast +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile + +object Settings { + private val context get() = YuzuApplication.appContext + + fun saveSettings(gameId: String = "") { + if (TextUtils.isEmpty(gameId)) { + Toast.makeText( + context, + context.getString(R.string.ini_saved), + Toast.LENGTH_SHORT + ).show() + SettingsFile.saveFile(SettingsFile.FILE_NAME_CONFIG) + } else { + // TODO: Save custom game settings + Toast.makeText( + context, + context.getString(R.string.gameid_saved, gameId), + Toast.LENGTH_SHORT + ).show() + } + } + + enum class Category { + Android, + Audio, + Core, + Cpu, + CpuDebug, + CpuUnsafe, + Renderer, + RendererAdvanced, + RendererDebug, + System, + SystemAudio, + DataStorage, + Debugging, + DebuggingGraphics, + Miscellaneous, + Network, + WebService, + AddOns, + Controls, + Ui, + UiGeneral, + UiLayout, + UiGameList, + Screenshots, + Shortcuts, + Multiplayer, + Services, + Paths, + MaxEnum + } + + val settingsList = listOf( + *BooleanSetting.values(), + *ByteSetting.values(), + *ShortSetting.values(), + *IntSetting.values(), + *FloatSetting.values(), + *LongSetting.values(), + *StringSetting.values() + ) + + 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_MEMORY_WARNING_SHOWN = "MemoryWarningShown" + + const val PREF_OVERLAY_VERSION = "OverlayVersion" + const val PREF_LANDSCAPE_OVERLAY_VERSION = "LandscapeOverlayVersion" + const val PREF_PORTRAIT_OVERLAY_VERSION = "PortraitOverlayVersion" + const val PREF_FOLDABLE_OVERLAY_VERSION = "FoldableOverlayVersion" + val overlayLayoutPrefs = listOf( + PREF_LANDSCAPE_OVERLAY_VERSION, + PREF_PORTRAIT_OVERLAY_VERSION, + PREF_FOLDABLE_OVERLAY_VERSION + ) + + const val PREF_CONTROL_SCALE = "controlScale" + const val PREF_CONTROL_OPACITY = "controlOpacity" + const val PREF_TOUCH_ENABLED = "isTouchEnabled" + const val PREF_BUTTON_A = "buttonToggle0" + const val PREF_BUTTON_B = "buttonToggle1" + const val PREF_BUTTON_X = "buttonToggle2" + const val PREF_BUTTON_Y = "buttonToggle3" + const val PREF_BUTTON_L = "buttonToggle4" + const val PREF_BUTTON_R = "buttonToggle5" + const val PREF_BUTTON_ZL = "buttonToggle6" + const val PREF_BUTTON_ZR = "buttonToggle7" + const val PREF_BUTTON_PLUS = "buttonToggle8" + const val PREF_BUTTON_MINUS = "buttonToggle9" + const val PREF_BUTTON_DPAD = "buttonToggle10" + const val PREF_STICK_L = "buttonToggle11" + const val PREF_STICK_R = "buttonToggle12" + const val PREF_BUTTON_STICK_L = "buttonToggle13" + const val PREF_BUTTON_STICK_R = "buttonToggle14" + const val PREF_BUTTON_HOME = "buttonToggle15" + const val PREF_BUTTON_SCREENSHOT = "buttonToggle16" + + 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" + + val overlayPreferences = listOf( + PREF_OVERLAY_VERSION, + PREF_CONTROL_SCALE, + PREF_CONTROL_OPACITY, + PREF_TOUCH_ENABLED, + PREF_BUTTON_A, + PREF_BUTTON_B, + PREF_BUTTON_X, + PREF_BUTTON_Y, + PREF_BUTTON_L, + PREF_BUTTON_R, + PREF_BUTTON_ZL, + PREF_BUTTON_ZR, + PREF_BUTTON_PLUS, + PREF_BUTTON_MINUS, + PREF_BUTTON_DPAD, + PREF_STICK_L, + PREF_STICK_R, + PREF_BUTTON_HOME, + PREF_BUTTON_SCREENSHOT, + PREF_BUTTON_STICK_L, + PREF_BUTTON_STICK_R + ) + + const val LayoutOption_Unspecified = 0 + const val LayoutOption_MobilePortrait = 4 + const val LayoutOption_MobileLandscape = 5 +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt new file mode 100644 index 000000000..c9a0c664c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class ShortSetting( + override val key: String, + override val category: Settings.Category +) : AbstractShortSetting { + RENDERER_SPEED_LIMIT("speed_limit", Settings.Category.Core); + + override val short: Short + get() = NativeConfig.getShort(key, false) + + override fun setShort(value: Short) = NativeConfig.setShort(key, value) + + override val defaultValue: Short by lazy { NativeConfig.getShort(key, true) } + + override val valueAsString: String + get() = short.toString() + + override fun reset() = NativeConfig.setShort(key, defaultValue) +} 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..9bb3e66d4 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.model + +import org.yuzu.yuzu_emu.utils.NativeConfig + +enum class StringSetting( + override val key: String, + override val category: Settings.Category +) : AbstractStringSetting { + // No string settings currently exist + EMPTY_SETTING("", Settings.Category.UiGeneral); + + override val string: String + get() = NativeConfig.getString(key, false) + + override fun setString(value: String) = NativeConfig.setString(key, value) + + override val defaultValue: String by lazy { NativeConfig.getString(key, true) } + + override val valueAsString: String + get() = string + + override fun reset() = NativeConfig.setString(key, 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..8bc164197 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt @@ -0,0 +1,18 @@ +// 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.AbstractLongSetting + +class DateTimeSetting( + private val longSetting: AbstractLongSetting, + titleId: Int, + descriptionId: Int +) : SettingsItem(longSetting, titleId, descriptionId) { + override val type = TYPE_DATETIME_SETTING + + var value: Long + get() = longSetting.long + set(value) = (setting as AbstractLongSetting).setLong(value) +} 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..d31ce1c31 --- /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(emptySetting, 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..522cc49df --- /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(emptySetting, 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..b3b3fc209 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt @@ -0,0 +1,282 @@ +// 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.R +import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting +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.ByteSetting +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.LongSetting +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.model.ShortSetting + +/** + * 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( + val setting: AbstractSetting, + val nameId: Int, + val descriptionId: Int +) { + abstract val type: Int + + val isEditable: Boolean + get() { + if (!NativeLibrary.isRunning()) return true + return setting.isRuntimeModifiable + } + + 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 + + const val FASTMEM_COMBINED = "fastmem_combined" + + val emptySetting = object : AbstractSetting { + override val key: String = "" + override val category: Settings.Category = Settings.Category.Ui + override val defaultValue: Any = false + override fun reset() {} + } + + // Extension for putting SettingsItems into a hashmap without repeating yourself + fun HashMap.put(item: SettingsItem) { + put(item.setting.key, item) + } + + // List of all general + val settingsItems = HashMap().apply { + put( + SwitchSetting( + BooleanSetting.RENDERER_USE_SPEED_LIMIT, + R.string.frame_limit_enable, + R.string.frame_limit_enable_description + ) + ) + put( + SliderSetting( + ShortSetting.RENDERER_SPEED_LIMIT, + R.string.frame_limit_slider, + R.string.frame_limit_slider_description, + 1, + 200, + "%" + ) + ) + put( + SingleChoiceSetting( + IntSetting.CPU_ACCURACY, + R.string.cpu_accuracy, + 0, + R.array.cpuAccuracyNames, + R.array.cpuAccuracyValues + ) + ) + put( + SwitchSetting( + BooleanSetting.PICTURE_IN_PICTURE, + R.string.picture_in_picture, + R.string.picture_in_picture_description + ) + ) + put( + SwitchSetting( + BooleanSetting.USE_DOCKED_MODE, + R.string.use_docked_mode, + R.string.use_docked_mode_description + ) + ) + put( + SingleChoiceSetting( + IntSetting.REGION_INDEX, + R.string.emulated_region, + 0, + R.array.regionNames, + R.array.regionValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.LANGUAGE_INDEX, + R.string.emulated_language, + 0, + R.array.languageNames, + R.array.languageValues + ) + ) + put( + SwitchSetting( + BooleanSetting.USE_CUSTOM_RTC, + R.string.use_custom_rtc, + R.string.use_custom_rtc_description + ) + ) + put(DateTimeSetting(LongSetting.CUSTOM_RTC, R.string.set_custom_rtc, 0)) + put( + SingleChoiceSetting( + IntSetting.RENDERER_ACCURACY, + R.string.renderer_accuracy, + 0, + R.array.rendererAccuracyNames, + R.array.rendererAccuracyValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_RESOLUTION, + R.string.renderer_resolution, + 0, + R.array.rendererResolutionNames, + R.array.rendererResolutionValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_VSYNC, + R.string.renderer_vsync, + 0, + R.array.rendererVSyncNames, + R.array.rendererVSyncValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_SCALING_FILTER, + R.string.renderer_scaling_filter, + 0, + R.array.rendererScalingFilterNames, + R.array.rendererScalingFilterValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_ANTI_ALIASING, + R.string.renderer_anti_aliasing, + 0, + R.array.rendererAntiAliasingNames, + R.array.rendererAntiAliasingValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_SCREEN_LAYOUT, + R.string.renderer_screen_layout, + 0, + R.array.rendererScreenLayoutNames, + R.array.rendererScreenLayoutValues + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_ASPECT_RATIO, + R.string.renderer_aspect_ratio, + 0, + R.array.rendererAspectRatioNames, + R.array.rendererAspectRatioValues + ) + ) + put( + SwitchSetting( + BooleanSetting.RENDERER_USE_DISK_SHADER_CACHE, + R.string.use_disk_shader_cache, + R.string.use_disk_shader_cache_description + ) + ) + put( + SwitchSetting( + BooleanSetting.RENDERER_FORCE_MAX_CLOCK, + R.string.renderer_force_max_clock, + R.string.renderer_force_max_clock_description + ) + ) + put( + SwitchSetting( + BooleanSetting.RENDERER_ASYNCHRONOUS_SHADERS, + R.string.renderer_asynchronous_shaders, + R.string.renderer_asynchronous_shaders_description + ) + ) + put( + SwitchSetting( + BooleanSetting.RENDERER_REACTIVE_FLUSHING, + R.string.renderer_reactive_flushing, + R.string.renderer_reactive_flushing_description + ) + ) + put( + SingleChoiceSetting( + IntSetting.AUDIO_OUTPUT_ENGINE, + R.string.audio_output_engine, + 0, + R.array.outputEngineEntries, + R.array.outputEngineValues + ) + ) + put( + SliderSetting( + ByteSetting.AUDIO_VOLUME, + R.string.audio_volume, + R.string.audio_volume_description, + 0, + 100, + "%" + ) + ) + put( + SingleChoiceSetting( + IntSetting.RENDERER_BACKEND, + R.string.renderer_api, + 0, + R.array.rendererApiNames, + R.array.rendererApiValues + ) + ) + put( + SwitchSetting( + BooleanSetting.RENDERER_DEBUG, + R.string.renderer_debug, + R.string.renderer_debug_description + ) + ) + put( + SwitchSetting( + BooleanSetting.CPU_DEBUG_MODE, + R.string.cpu_debug_mode, + R.string.cpu_debug_mode_description + ) + ) + + val fastmem = object : AbstractBooleanSetting { + override val boolean: Boolean + get() = + BooleanSetting.FASTMEM.boolean && BooleanSetting.FASTMEM_EXCLUSIVES.boolean + + override fun setBoolean(value: Boolean) { + BooleanSetting.FASTMEM.setBoolean(value) + BooleanSetting.FASTMEM_EXCLUSIVES.setBoolean(value) + } + + override val key: String = FASTMEM_COMBINED + override val category = Settings.Category.Cpu + override val isRuntimeModifiable: Boolean = false + override val defaultValue: Boolean = true + override fun reset() = setBoolean(defaultValue) + } + put(SwitchSetting(fastmem, R.string.fastmem, 0)) + } + } +} 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..705527a73 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.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.model.view + +import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting +import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting + +class SingleChoiceSetting( + setting: AbstractSetting, + titleId: Int, + descriptionId: Int, + val choicesId: Int, + val valuesId: Int +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SINGLE_CHOICE + + var selectedValue: Int + get() { + return when (setting) { + is AbstractIntSetting -> setting.int + else -> -1 + } + } + set(value) { + when (setting) { + is AbstractIntSetting -> setting.setInt(value) + } + } +} 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..c3b5df02c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt @@ -0,0 +1,41 @@ +// 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.AbstractByteSetting +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.AbstractShortSetting +import kotlin.math.roundToInt + +class SliderSetting( + setting: AbstractSetting, + titleId: Int, + descriptionId: Int, + val min: Int, + val max: Int, + val units: String +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SLIDER + + var selectedValue: Int + get() { + return when (setting) { + is AbstractByteSetting -> setting.byte.toInt() + is AbstractShortSetting -> setting.short.toInt() + is AbstractIntSetting -> setting.int + is AbstractFloatSetting -> setting.float.roundToInt() + else -> -1 + } + } + set(value) { + when (setting) { + is AbstractByteSetting -> setting.setByte(value.toByte()) + is AbstractShortSetting -> setting.setShort(value.toShort()) + is AbstractIntSetting -> setting.setInt(value) + is AbstractFloatSetting -> setting.setFloat(value.toFloat()) + } + } +} 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..871dab4f3 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt @@ -0,0 +1,33 @@ +// 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.AbstractStringSetting + +class StringSingleChoiceSetting( + private val stringSetting: AbstractStringSetting, + titleId: Int, + descriptionId: Int, + val choices: Array, + val values: Array +) : SettingsItem(stringSetting, titleId, descriptionId) { + override val type = TYPE_STRING_SINGLE_CHOICE + + fun getValueAt(index: Int): String = + if (index >= 0 && index < values.size) values[index] else "" + + var selectedValue: String + get() = stringSetting.string + set(value) = stringSetting.setString(value) + + val selectValueIndex: Int + get() { + for (i in values.indices) { + if (values[i] == selectedValue) { + return i + } + } + return -1 + } +} 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..91c273964 --- /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(emptySetting, 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..416967e64 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.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.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 +) : SettingsItem(setting, titleId, descriptionId) { + override val type = TYPE_SWITCH + + var checked: Boolean + get() { + return when (setting) { + is AbstractIntSetting -> setting.int == 1 + is AbstractBooleanSetting -> setting.boolean + else -> false + } + } + set(value) { + when (setting) { + is AbstractIntSetting -> setting.setInt(if (value) 1 else 0) + is AbstractBooleanSetting -> setting.setBoolean(value) + } + } +} 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..908c01265 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt @@ -0,0 +1,179 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.os.Bundle +import android.view.View +import android.view.ViewGroup.MarginLayoutParams +import android.widget.Toast +import androidx.activity.OnBackPressedCallback +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.navigation.fragment.NavHostFragment +import androidx.navigation.navArgs +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.Settings +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.fragments.ResetSettingsDialogFragment +import org.yuzu.yuzu_emu.model.SettingsViewModel +import org.yuzu.yuzu_emu.utils.* + +class SettingsActivity : AppCompatActivity() { + private lateinit var binding: ActivitySettingsBinding + + private val args by navArgs() + + private val settingsViewModel: SettingsViewModel by viewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + ThemeHelper.setTheme(this) + + super.onCreate(savedInstanceState) + + binding = ActivitySettingsBinding.inflate(layoutInflater) + setContentView(binding.root) + + settingsViewModel.game = args.game + + val navHostFragment = + supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment + navHostFragment.navController.setGraph(R.navigation.settings_navigation, intent.extras) + + WindowCompat.setDecorFitsSystemWindows(window, false) + + if (savedInstanceState != null) { + settingsViewModel.shouldSave = savedInstanceState.getBoolean(KEY_SHOULD_SAVE) + } + + 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 + ) + ) + } + + settingsViewModel.shouldRecreate.observe(this) { + if (it) { + settingsViewModel.setShouldRecreate(false) + recreate() + } + } + settingsViewModel.shouldNavigateBack.observe(this) { + if (it) { + settingsViewModel.setShouldNavigateBack(false) + navigateBack() + } + } + settingsViewModel.shouldShowResetSettingsDialog.observe(this) { + if (it) { + settingsViewModel.setShouldShowResetSettingsDialog(false) + ResetSettingsDialogFragment().show( + supportFragmentManager, + ResetSettingsDialogFragment.TAG + ) + } + } + + onBackPressedDispatcher.addCallback( + this, + object : OnBackPressedCallback(true) { + override fun handleOnBackPressed() = navigateBack() + } + ) + + setInsets() + } + + fun navigateBack() { + val navHostFragment = + supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment + if (navHostFragment.childFragmentManager.backStackEntryCount > 0) { + navHostFragment.navController.popBackStack() + } else { + finish() + } + } + + override fun onSaveInstanceState(outState: Bundle) { + // Critical: If super method is not called, rotations will be busted. + super.onSaveInstanceState(outState) + outState.putBoolean(KEY_SHOULD_SAVE, settingsViewModel.shouldSave) + } + + override fun onStart() { + super.onStart() + // TODO: Load custom settings contextually + if (!DirectoryInitialization.areDirectoriesReady) { + DirectoryInitialization.start() + } + } + + /** + * 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() + if (isFinishing && settingsViewModel.shouldSave) { + Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...") + Settings.saveSettings() + } + } + + override fun onDestroy() { + settingsViewModel.clear() + super.onDestroy() + } + + fun onSettingsReset() { + // Prevents saving to a non-existent settings file + settingsViewModel.shouldSave = false + + // 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") + } + Settings.settingsList.forEach { it.reset() } + + Toast.makeText( + applicationContext, + getString(R.string.settings_reset), + Toast.LENGTH_LONG + ).show() + finish() + } + + private fun setInsets() { + ViewCompat.setOnApplyWindowInsetsListener( + binding.navigationBarShade + ) { view: View, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + + val mlpShade = view.layoutParams as MarginLayoutParams + mlpShade.height = barInsets.bottom + view.layoutParams = mlpShade + + windowInsets + } + } + + 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/SettingsAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt new file mode 100644 index 000000000..a7a029fc1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt @@ -0,0 +1,209 @@ +// 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.icu.util.Calendar +import android.icu.util.TimeZone +import android.text.format.DateFormat +import android.view.LayoutInflater +import android.view.ViewGroup +import androidx.fragment.app.Fragment +import androidx.lifecycle.Lifecycle +import androidx.lifecycle.ViewModelProvider +import androidx.lifecycle.lifecycleScope +import androidx.lifecycle.repeatOnLifecycle +import androidx.navigation.findNavController +import androidx.recyclerview.widget.AsyncDifferConfig +import androidx.recyclerview.widget.DiffUtil +import androidx.recyclerview.widget.ListAdapter +import com.google.android.material.datepicker.MaterialDatePicker +import com.google.android.material.timepicker.MaterialTimePicker +import com.google.android.material.timepicker.TimeFormat +import kotlinx.coroutines.launch +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.SettingsNavigationDirections +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.view.* +import org.yuzu.yuzu_emu.features.settings.ui.viewholder.* +import org.yuzu.yuzu_emu.fragments.SettingsDialogFragment +import org.yuzu.yuzu_emu.model.SettingsViewModel + +class SettingsAdapter( + private val fragment: Fragment, + private val context: Context +) : ListAdapter( + AsyncDifferConfig.Builder(DiffCallback()).build() +) { + private val settingsViewModel: SettingsViewModel + get() = ViewModelProvider(fragment.requireActivity())[SettingsViewModel::class.java] + + init { + fragment.viewLifecycleOwner.lifecycleScope.launch { + fragment.repeatOnLifecycle(Lifecycle.State.STARTED) { + settingsViewModel.adapterItemChanged.collect { + if (it != -1) { + notifyItemChanged(it) + settingsViewModel.setAdapterItemChanged(-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(currentList[position]) + } + + override fun getItemCount(): Int = currentList.size + + override fun getItemViewType(position: Int): Int { + return currentList[position].type + } + + fun onBooleanClick(item: SwitchSetting, checked: Boolean) { + item.checked = checked + settingsViewModel.setShouldReloadSettingsList(true) + settingsViewModel.shouldSave = true + } + + fun onSingleChoiceClick(item: SingleChoiceSetting, position: Int) { + SettingsDialogFragment.newInstance( + settingsViewModel, + item, + SettingsItem.TYPE_SINGLE_CHOICE, + position + ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG) + } + + fun onStringSingleChoiceClick(item: StringSingleChoiceSetting, position: Int) { + SettingsDialogFragment.newInstance( + settingsViewModel, + item, + SettingsItem.TYPE_STRING_SINGLE_CHOICE, + position + ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG) + } + + fun onDateTimeClick(item: DateTimeSetting, position: Int) { + val storedTime = 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(context)) { + 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( + fragment.childFragmentManager, + "TimePicker" + ) + } + timePicker.addOnPositiveButtonClickListener { + var epochTime: Long = datePicker.selection!! / 1000 + epochTime += timePicker.hour.toLong() * 60 * 60 + epochTime += timePicker.minute.toLong() * 60 + if (item.value != epochTime) { + settingsViewModel.shouldSave = true + notifyItemChanged(position) + item.value = epochTime + } + } + datePicker.show( + fragment.childFragmentManager, + "DatePicker" + ) + } + + fun onSliderClick(item: SliderSetting, position: Int) { + SettingsDialogFragment.newInstance( + settingsViewModel, + item, + SettingsItem.TYPE_SLIDER, + position + ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG) + } + + fun onSubmenuClick(item: SubmenuSetting) { + val action = SettingsNavigationDirections.actionGlobalSettingsFragment(item.menuKey, null) + fragment.view?.findNavController()?.navigate(action) + } + + fun onLongClick(item: SettingsItem, position: Int): Boolean { + SettingsDialogFragment.newInstance( + settingsViewModel, + item, + SettingsDialogFragment.TYPE_RESET_SETTING, + position + ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG) + + return true + } + + private class DiffCallback : DiffUtil.ItemCallback() { + override fun areItemsTheSame(oldItem: SettingsItem, newItem: SettingsItem): Boolean { + return oldItem.setting.key == newItem.setting.key + } + + override fun areContentsTheSame(oldItem: SettingsItem, newItem: SettingsItem): Boolean { + return oldItem.setting.key == newItem.setting.key + } + } +} 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..bc319714c --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt @@ -0,0 +1,152 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.features.settings.ui + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.ViewGroup.MarginLayoutParams +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.navigation.fragment.navArgs +import androidx.recyclerview.widget.LinearLayoutManager +import com.google.android.material.divider.MaterialDividerItemDecoration +import com.google.android.material.transition.MaterialSharedAxis +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.FragmentSettingsBinding +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.model.SettingsViewModel + +class SettingsFragment : Fragment() { + private lateinit var presenter: SettingsFragmentPresenter + private var settingsAdapter: SettingsAdapter? = null + + private var _binding: FragmentSettingsBinding? = null + private val binding get() = _binding!! + + private val args by navArgs() + + private val settingsViewModel: SettingsViewModel 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) + exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + } + + 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, requireContext()) + presenter = SettingsFragmentPresenter( + settingsViewModel, + settingsAdapter!!, + args.menuTag, + args.game?.gameId ?: "" + ) + + val dividerDecoration = MaterialDividerItemDecoration( + requireContext(), + LinearLayoutManager.VERTICAL + ) + dividerDecoration.isLastItemDecorated = false + binding.listSettings.apply { + adapter = settingsAdapter + layoutManager = LinearLayoutManager(requireContext()) + addItemDecoration(dividerDecoration) + } + + binding.toolbarSettings.setNavigationOnClickListener { + settingsViewModel.setShouldNavigateBack(true) + } + + settingsViewModel.toolbarTitle.observe(viewLifecycleOwner) { + if (it.isNotEmpty()) binding.toolbarSettingsLayout.title = it + } + + settingsViewModel.shouldReloadSettingsList.observe(viewLifecycleOwner) { + if (it) { + settingsViewModel.setShouldReloadSettingsList(false) + presenter.loadSettingsList() + } + } + + settingsViewModel.isUsingSearch.observe(viewLifecycleOwner) { + if (it) { + reenterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true) + exitTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false) + } else { + reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false) + exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true) + } + } + + if (args.menuTag == SettingsFile.FILE_NAME_CONFIG) { + binding.toolbarSettings.inflateMenu(R.menu.menu_settings) + binding.toolbarSettings.setOnMenuItemClickListener { + when (it.itemId) { + R.id.action_search -> { + reenterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true) + exitTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false) + view.findNavController() + .navigate(R.id.action_settingsFragment_to_settingsSearchFragment) + true + } + + else -> false + } + } + } + + presenter.onViewCreated() + + setInsets() + } + + override fun onResume() { + super.onResume() + settingsViewModel.setIsUsingSearch(false) + } + + 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 sideMargin = resources.getDimensionPixelSize(R.dimen.spacing_medlarge) + val mlpSettingsList = binding.listSettings.layoutParams as MarginLayoutParams + mlpSettingsList.leftMargin = sideMargin + leftInsets + mlpSettingsList.rightMargin = sideMargin + rightInsets + binding.listSettings.layoutParams = mlpSettingsList + binding.listSettings.updatePadding( + bottom = barInsets.bottom + ) + + val mlpAppBar = binding.appbarSettings.layoutParams as MarginLayoutParams + mlpAppBar.leftMargin = leftInsets + mlpAppBar.rightMargin = rightInsets + binding.appbarSettings.layoutParams = mlpAppBar + windowInsets + } + } +} 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..22a529b1b --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt @@ -0,0 +1,275 @@ +// 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.SharedPreferences +import android.os.Build +import android.text.TextUtils +import android.widget.Toast +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.BooleanSetting +import org.yuzu.yuzu_emu.features.settings.model.ByteSetting +import org.yuzu.yuzu_emu.features.settings.model.IntSetting +import org.yuzu.yuzu_emu.features.settings.model.LongSetting +import org.yuzu.yuzu_emu.features.settings.model.Settings +import org.yuzu.yuzu_emu.features.settings.model.ShortSetting +import org.yuzu.yuzu_emu.features.settings.model.view.* +import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile +import org.yuzu.yuzu_emu.model.SettingsViewModel +import org.yuzu.yuzu_emu.utils.NativeConfig + +class SettingsFragmentPresenter( + private val settingsViewModel: SettingsViewModel, + private val adapter: SettingsAdapter, + private var menuTag: String, + private var gameId: String +) { + private var settingsList = ArrayList() + + private val preferences: SharedPreferences + get() = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + private val context: Context get() = YuzuApplication.appContext + + // Extension for populating settings list based on paired settings + fun ArrayList.add(key: String) { + val item = SettingsItem.settingsItems[key]!! + val pairedSettingKey = item.setting.pairedSettingKey + if (pairedSettingKey.isNotEmpty()) { + val pairedSettingValue = NativeConfig.getBoolean(pairedSettingKey, false) + if (!pairedSettingValue) return + } + add(item) + } + + fun onViewCreated() { + loadSettingsList() + } + + fun loadSettingsList() { + if (!TextUtils.isEmpty(gameId)) { + settingsViewModel.setToolbarTitle( + context.getString( + R.string.advanced_settings_game, + gameId + ) + ) + } + + val sl = ArrayList() + 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 -> { + val context = YuzuApplication.appContext + Toast.makeText( + context, + context.getString(R.string.unimplemented_menu), + Toast.LENGTH_SHORT + ).show() + return + } + } + settingsList = sl + adapter.submitList(settingsList) + } + + private fun addConfigSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.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) { + settingsViewModel.setShouldShowResetSettingsDialog(true) + } + ) + } + } + + private fun addGeneralSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_general)) + sl.apply { + add(BooleanSetting.RENDERER_USE_SPEED_LIMIT.key) + add(ShortSetting.RENDERER_SPEED_LIMIT.key) + add(IntSetting.CPU_ACCURACY.key) + add(BooleanSetting.PICTURE_IN_PICTURE.key) + } + } + + private fun addSystemSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_system)) + sl.apply { + add(BooleanSetting.USE_DOCKED_MODE.key) + add(IntSetting.REGION_INDEX.key) + add(IntSetting.LANGUAGE_INDEX.key) + add(BooleanSetting.USE_CUSTOM_RTC.key) + add(LongSetting.CUSTOM_RTC.key) + } + } + + private fun addGraphicsSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_graphics)) + sl.apply { + add(IntSetting.RENDERER_ACCURACY.key) + add(IntSetting.RENDERER_RESOLUTION.key) + add(IntSetting.RENDERER_VSYNC.key) + add(IntSetting.RENDERER_SCALING_FILTER.key) + add(IntSetting.RENDERER_ANTI_ALIASING.key) + add(IntSetting.RENDERER_SCREEN_LAYOUT.key) + add(IntSetting.RENDERER_ASPECT_RATIO.key) + add(BooleanSetting.RENDERER_USE_DISK_SHADER_CACHE.key) + add(BooleanSetting.RENDERER_FORCE_MAX_CLOCK.key) + add(BooleanSetting.RENDERER_ASYNCHRONOUS_SHADERS.key) + add(BooleanSetting.RENDERER_REACTIVE_FLUSHING.key) + } + } + + private fun addAudioSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_audio)) + sl.apply { + add(IntSetting.AUDIO_OUTPUT_ENGINE.key) + add(ByteSetting.AUDIO_VOLUME.key) + } + } + + private fun addThemeSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_theme)) + sl.apply { + val theme: AbstractIntSetting = object : AbstractIntSetting { + override val int: Int + get() = preferences.getInt(Settings.PREF_THEME, 0) + + override fun setInt(value: Int) { + preferences.edit() + .putInt(Settings.PREF_THEME, value) + .apply() + settingsViewModel.setShouldRecreate(true) + } + + override val key: String = Settings.PREF_THEME + override val category = Settings.Category.UiGeneral + override val isRuntimeModifiable: Boolean = false + override val defaultValue: Int = 0 + override fun reset() { + preferences.edit() + .putInt(Settings.PREF_THEME, defaultValue) + .apply() + } + } + + 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 val int: Int + get() = preferences.getInt(Settings.PREF_THEME_MODE, -1) + + override fun setInt(value: Int) { + preferences.edit() + .putInt(Settings.PREF_THEME_MODE, value) + .apply() + settingsViewModel.setShouldRecreate(true) + } + + override val key: String = Settings.PREF_THEME_MODE + override val category = Settings.Category.UiGeneral + override val isRuntimeModifiable: Boolean = false + override val defaultValue: Int = -1 + override fun reset() { + preferences.edit() + .putInt(Settings.PREF_BLACK_BACKGROUNDS, defaultValue) + .apply() + settingsViewModel.setShouldRecreate(true) + } + } + + add( + SingleChoiceSetting( + themeMode, + R.string.change_theme_mode, + 0, + R.array.themeModeEntries, + R.array.themeModeValues + ) + ) + + val blackBackgrounds: AbstractBooleanSetting = object : AbstractBooleanSetting { + override val boolean: Boolean + get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false) + + override fun setBoolean(value: Boolean) { + preferences.edit() + .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, value) + .apply() + settingsViewModel.setShouldRecreate(true) + } + + override val key: String = Settings.PREF_BLACK_BACKGROUNDS + override val category = Settings.Category.UiGeneral + override val isRuntimeModifiable: Boolean = false + override val defaultValue: Boolean = false + override fun reset() { + preferences.edit() + .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, defaultValue) + .apply() + settingsViewModel.setShouldRecreate(true) + } + } + + add( + SwitchSetting( + blackBackgrounds, + R.string.use_black_backgrounds, + R.string.use_black_backgrounds_description + ) + ) + } + } + + private fun addDebugSettings(sl: ArrayList) { + settingsViewModel.setToolbarTitle(context.getString(R.string.preferences_debug)) + sl.apply { + add(HeaderSetting(R.string.gpu)) + add(IntSetting.RENDERER_BACKEND.key) + add(BooleanSetting.RENDERER_DEBUG.key) + + add(HeaderSetting(R.string.cpu)) + add(BooleanSetting.CPU_DEBUG_MODE.key) + add(SettingsItem.FASTMEM_COMBINED) + } + } +} 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..525f013f8 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt @@ -0,0 +1,53 @@ +// 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 { + binding.textSettingDescription.visibility = View.GONE + } + + binding.textSettingValue.visibility = View.VISIBLE + val epochTime = setting.value + val instant = Instant.ofEpochMilli(epochTime * 1000) + val zonedTime = ZonedDateTime.ofInstant(instant, ZoneId.of("UTC")) + val dateFormatter = DateTimeFormatter.ofLocalizedDateTime(FormatStyle.MEDIUM) + binding.textSettingValue.text = dateFormatter.format(zonedTime) + + setStyle(setting.isEditable, binding) + } + + 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, 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..83a2e94f1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt @@ -0,0 +1,41 @@ +// 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 + } + binding.textSettingValue.visibility = View.GONE + + setStyle(setting.isEditable, binding) + } + + 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..0fd1d2eaa --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt @@ -0,0 +1,52 @@ +// 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.databinding.ListItemSettingBinding +import org.yuzu.yuzu_emu.databinding.ListItemSettingSwitchBinding +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 + + fun setStyle(isEditable: Boolean, binding: ListItemSettingBinding) { + val opacity = if (isEditable) 1.0f else 0.5f + binding.textSettingName.alpha = opacity + binding.textSettingDescription.alpha = opacity + binding.textSettingValue.alpha = opacity + } + + fun setStyle(isEditable: Boolean, binding: ListItemSettingSwitchBinding) { + binding.switchWidget.isEnabled = isEditable + val opacity = if (isEditable) 1.0f else 0.5f + binding.textSettingName.alpha = opacity + binding.textSettingDescription.alpha = opacity + } +} 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..80d1b22c1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt @@ -0,0 +1,73 @@ +// 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) + if (item.descriptionId != 0) { + binding.textSettingDescription.setText(item.descriptionId) + binding.textSettingDescription.visibility = View.VISIBLE + } else { + binding.textSettingDescription.visibility = View.GONE + } + + binding.textSettingValue.visibility = View.VISIBLE + if (item is SingleChoiceSetting) { + val resMgr = binding.textSettingValue.context.resources + val values = resMgr.getIntArray(item.valuesId) + for (i in values.indices) { + if (values[i] == item.selectedValue) { + binding.textSettingValue.text = resMgr.getStringArray(item.choicesId)[i] + break + } + } + } else if (item is StringSingleChoiceSetting) { + for (i in item.values.indices) { + if (item.values[i] == item.selectedValue) { + binding.textSettingValue.text = item.choices[i] + break + } + } + } + + setStyle(setting.isEditable, binding) + } + + 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, 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..b83c90100 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.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 org.yuzu.yuzu_emu.R +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 + } + binding.textSettingValue.visibility = View.VISIBLE + binding.textSettingValue.text = String.format( + binding.textSettingValue.context.getString(R.string.value_with_units), + setting.selectedValue, + setting.units + ) + + setStyle(setting.isEditable, binding) + } + + 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, 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..1cf581a9d --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.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 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 + } + binding.textSettingValue.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..57fdeaa20 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt @@ -0,0 +1,50 @@ +// 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.setOnCheckedChangeListener(null) + binding.switchWidget.isChecked = setting.checked + binding.switchWidget.setOnCheckedChangeListener { _: CompoundButton, _: Boolean -> + adapter.onBooleanClick(item, binding.switchWidget.isChecked) + } + + setStyle(setting.isEditable, binding) + } + + override fun onClick(clicked: View) { + if (setting.isEditable) { + binding.switchWidget.toggle() + } + } + + override fun onLongClick(clicked: View): Boolean { + if (setting.isEditable) { + return adapter.onLongClick(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..2b04d666a --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.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.utils + +import android.widget.Toast +import java.io.* +import org.ini4j.Wini +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.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.Log +import org.yuzu.yuzu_emu.utils.NativeConfig + +/** + * Contains static methods for interacting with .ini files in which settings are stored. + */ +object SettingsFile { + const val FILE_NAME_CONFIG = "config" + + /** + * 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. + */ + fun saveFile(fileName: String) { + val ini = getSettingsFile(fileName) + try { + val wini = Wini(ini) + for (specificCategory in Settings.Category.values()) { + val categoryHeader = NativeConfig.getConfigHeader(specificCategory.ordinal) + for (setting in Settings.settingsList) { + if (setting.key!!.isEmpty()) continue + + val settingCategoryHeader = + NativeConfig.getConfigHeader(setting.category.ordinal) + val iniSetting: String? = wini.get(categoryHeader, setting.key) + if (iniSetting != null || settingCategoryHeader == categoryHeader) { + wini.put(settingCategoryHeader, setting.key, setting.valueAsString) + } + } + } + wini.store() + } catch (e: IOException) { + Log.error("[SettingsFile] File not found: " + fileName + ".ini: " + e.message) + val context = YuzuApplication.appContext + Toast.makeText( + context, + context.getString(R.string.error_saving, fileName, e.message), + Toast.LENGTH_SHORT + ).show() + } + } + + fun getSettingsFile(fileName: String): File = + File(DirectoryInitialization.userDirectory + "/config/" + fileName + ".ini") +} 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..944ae652e --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt @@ -0,0 +1,800 @@ +// 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.SharedPreferences +import android.content.pm.ActivityInfo +import android.content.res.Configuration +import android.graphics.Color +import android.net.Uri +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.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.drawerlayout.widget.DrawerLayout +import androidx.fragment.app.Fragment +import androidx.fragment.app.activityViewModels +import androidx.lifecycle.Lifecycle +import androidx.lifecycle.lifecycleScope +import androidx.lifecycle.repeatOnLifecycle +import androidx.navigation.findNavController +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.HomeNavigationDirections +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.utils.SettingsFile +import org.yuzu.yuzu_emu.model.Game +import org.yuzu.yuzu_emu.model.EmulationViewModel +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!! + + private val args by navArgs() + + private lateinit var game: Game + + private val emulationViewModel: EmulationViewModel by activityViewModels() + + private var isInFoldableLayout = false + + 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) } + } + } + } 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) + + val intentUri: Uri? = requireActivity().intent.data + var intentGame: Game? = null + if (intentUri != null) { + intentGame = if (Game.extensions.contains(FileUtil.getExtension(intentUri))) { + GameHelper.getGame(requireActivity().intent.data!!, false) + } else { + null + } + } + game = if (args.game != null) { + args.game!! + } else { + intentGame ?: error("[EmulationFragment] No bootable game present!") + } + + // So this fragment doesn't restart on configuration changes; i.e. rotation. + retainInstance = true + preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + emulationState = EmulationState(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() } + + binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED) + binding.inGameMenu.getHeaderView(0).findViewById(R.id.text_game_title).text = + 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 -> { + val action = HomeNavigationDirections.actionGlobalSettingsActivity( + null, + SettingsFile.FILE_NAME_CONFIG + ) + binding.root.findNavController().navigate(action) + true + } + + R.id.menu_overlay_controls -> { + showOverlayOptions() + true + } + + R.id.menu_exit -> { + emulationState.stop() + emulationViewModel.setIsEmulationStopping(true) + binding.drawerLayout.close() + binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED) + true + } + + else -> true + } + } + + setInsets() + + requireActivity().onBackPressedDispatcher.addCallback( + requireActivity(), + object : OnBackPressedCallback(true) { + override fun handleOnBackPressed() { + if (!NativeLibrary.isRunning()) { + return + } + + 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) } + } + } + + GameIconUtils.loadGameIcon(game, binding.loadingImage) + binding.loadingTitle.text = game.title + binding.loadingTitle.isSelected = true + binding.loadingText.isSelected = true + + emulationViewModel.shaderProgress.observe(viewLifecycleOwner) { + if (it > 0 && it != emulationViewModel.totalShaders.value!!) { + binding.loadingProgressIndicator.isIndeterminate = false + + if (it < binding.loadingProgressIndicator.max) { + binding.loadingProgressIndicator.progress = it + } + } + + if (it == emulationViewModel.totalShaders.value!!) { + binding.loadingText.setText(R.string.loading) + binding.loadingProgressIndicator.isIndeterminate = true + } + } + emulationViewModel.totalShaders.observe(viewLifecycleOwner) { + binding.loadingProgressIndicator.max = it + } + emulationViewModel.shaderMessage.observe(viewLifecycleOwner) { + if (it.isNotEmpty()) { + binding.loadingText.text = it + } + } + + emulationViewModel.emulationStarted.observe(viewLifecycleOwner) { started -> + if (started) { + binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED) + ViewUtils.showView(binding.surfaceInputOverlay) + ViewUtils.hideView(binding.loadingIndicator) + + // Setup overlay + updateShowFpsOverlay() + } + } + + emulationViewModel.isEmulationStopping.observe(viewLifecycleOwner) { + if (it) { + binding.loadingText.setText(R.string.shutting_down) + ViewUtils.showView(binding.loadingIndicator) + ViewUtils.hideView(binding.inputContainer) + ViewUtils.hideView(binding.showFpsText) + } + } + } + + 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.visibility = View.VISIBLE + } + } + } else { + if (EmulationMenuSettings.showOverlay && + emulationViewModel.emulationStarted.value == true + ) { + binding.surfaceInputOverlay.post { + binding.surfaceInputOverlay.visibility = View.VISIBLE + } + } else { + binding.surfaceInputOverlay.post { + binding.surfaceInputOverlay.visibility = View.INVISIBLE + } + } + if (!isInFoldableLayout) { + if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { + binding.surfaceInputOverlay.layout = InputOverlay.PORTRAIT + } else { + binding.surfaceInputOverlay.layout = InputOverlay.LANDSCAPE + } + } + } + } + + override fun onResume() { + super.onResume() + if (!DirectoryInitialization.areDirectoriesReady) { + DirectoryInitialization.start() + } + + 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 resetInputOverlay() { + preferences.edit() + .remove(Settings.PREF_CONTROL_SCALE) + .remove(Settings.PREF_CONTROL_OPACITY) + .apply() + binding.surfaceInputOverlay.post { + binding.surfaceInputOverlay.resetLayoutVisibilityAndPlacement() + } + } + + private fun updateShowFpsOverlay() { + if (EmulationMenuSettings.showFps) { + val SYSTEM_FPS = 0 + val FPS = 1 + val FRAMETIME = 2 + val SPEED = 3 + perfStatsUpdater = { + if (emulationViewModel.emulationStarted.value == true) { + val perfStats = NativeLibrary.getPerfStats() + if (perfStats[FPS] > 0 && _binding != null) { + binding.showFpsText.text = String.format("FPS: %.1f", perfStats[FPS]) + } + perfStatsUpdateHandler.postDelayed(perfStatsUpdater!!, 100) + } + } + perfStatsUpdateHandler.post(perfStatsUpdater!!) + 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_SENSOR_LANDSCAPE + Settings.LayoutOption_MobilePortrait -> + ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT + Settings.LayoutOption_Unspecified -> ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED + else -> ActivityInfo.SCREEN_ORIENTATION_SENSOR_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.layout = InputOverlay.FOLDABLE + } + } + 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(Settings.overlayPreferences.size) + Settings.overlayPreferences.forEachIndexed { i, _ -> + optionsArray[i] = preferences.getBoolean("buttonToggle$i", i < 15) + } + + 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) { _, _ -> + binding.surfaceInputOverlay.refreshControls() + } + .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] + Settings.overlayPreferences.forEachIndexed { i, _ -> + 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 + binding.surfaceInputOverlay.refreshControls() + 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() + binding.surfaceInputOverlay.refreshControls() + } + + private fun setControlOpacity(opacity: Int) { + preferences.edit() + .putInt(Settings.PREF_CONTROL_OPACITY, opacity) + .apply() + binding.surfaceInputOverlay.refreshControls() + } + + 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..cbbe14d22 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt @@ -0,0 +1,411 @@ +// 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.findNavController +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.HomeNavigationDirections +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.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, + { + val action = HomeNavigationDirections.actionGlobalSettingsActivity( + null, + SettingsFile.FILE_NAME_CONFIG + ) + binding.root.findNavController().navigate(action) + } + ) + ) + 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, + { + val action = HomeNavigationDirections.actionGlobalSettingsActivity( + null, + Settings.SECTION_THEME + ) + binding.root.findNavController().navigate(action) + } + ) + ) + add( + HomeSetting( + R.string.install_gpu_driver, + R.string.install_gpu_driver_description, + R.drawable.ic_exit, + { driverInstaller() }, + { GpuDriverHelper.supportsCustomDriverLoading() }, + R.string.custom_driver_not_supported, + R.string.custom_driver_not_supported_description + ) + ) + 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 + ) + }, + { true }, + 0, + 0, + homeViewModel.gamesDir + ) + ) + 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, + viewLifecycleOwner, + 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..f38aeea53 --- /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( + titleId = R.string.save_file_invalid_zip_structure, + descriptionId = 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..181bd983a --- /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( + requireActivity().supportFragmentManager, + 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/MessageDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt new file mode 100644 index 000000000..7d1c2c8dd --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt @@ -0,0 +1,74 @@ +// 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_ID) + val titleString = requireArguments().getString(TITLE_STRING)!! + val descriptionId = requireArguments().getInt(DESCRIPTION_ID) + val descriptionString = requireArguments().getString(DESCRIPTION_STRING)!! + val helpLinkId = requireArguments().getInt(HELP_LINK) + + val dialog = MaterialAlertDialogBuilder(requireContext()) + .setPositiveButton(R.string.close, null) + + if (titleId != 0) dialog.setTitle(titleId) + if (titleString.isNotEmpty()) dialog.setTitle(titleString) + + if (descriptionId != 0) dialog.setMessage(descriptionId) + if (descriptionString.isNotEmpty()) dialog.setMessage(descriptionString) + + 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_ID = "Title" + private const val TITLE_STRING = "TitleString" + private const val DESCRIPTION_ID = "DescriptionId" + private const val DESCRIPTION_STRING = "DescriptionString" + private const val HELP_LINK = "Link" + + fun newInstance( + titleId: Int = 0, + titleString: String = "", + descriptionId: Int = 0, + descriptionString: String = "", + helpLinkId: Int = 0 + ): MessageDialogFragment { + val dialog = MessageDialogFragment() + val bundle = Bundle() + bundle.apply { + putInt(TITLE_ID, titleId) + putString(TITLE_STRING, titleString) + putInt(DESCRIPTION_ID, descriptionId) + putString(DESCRIPTION_STRING, descriptionString) + 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/SettingsDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt new file mode 100644 index 000000000..d18ec6974 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt @@ -0,0 +1,235 @@ +// 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.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.fragment.app.DialogFragment +import androidx.fragment.app.activityViewModels +import androidx.lifecycle.Lifecycle +import androidx.lifecycle.lifecycleScope +import androidx.lifecycle.repeatOnLifecycle +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.google.android.material.slider.Slider +import kotlinx.coroutines.launch +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.DialogSliderBinding +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.SliderSetting +import org.yuzu.yuzu_emu.features.settings.model.view.StringSingleChoiceSetting +import org.yuzu.yuzu_emu.model.SettingsViewModel + +class SettingsDialogFragment : DialogFragment(), DialogInterface.OnClickListener { + private var type = 0 + private var position = 0 + + private var defaultCancelListener = + DialogInterface.OnClickListener { _: DialogInterface?, _: Int -> closeDialog() } + + private val settingsViewModel: SettingsViewModel by activityViewModels() + + private lateinit var sliderBinding: DialogSliderBinding + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + type = requireArguments().getInt(TYPE) + position = requireArguments().getInt(POSITION) + + if (settingsViewModel.clickedItem == null) dismiss() + } + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + return when (type) { + TYPE_RESET_SETTING -> { + MaterialAlertDialogBuilder(requireContext()) + .setMessage(R.string.reset_setting_confirmation) + .setPositiveButton(android.R.string.ok) { _: DialogInterface, _: Int -> + settingsViewModel.clickedItem!!.setting.reset() + settingsViewModel.setAdapterItemChanged(position) + settingsViewModel.shouldSave = true + } + .setNegativeButton(android.R.string.cancel, null) + .create() + } + + SettingsItem.TYPE_SINGLE_CHOICE -> { + val item = settingsViewModel.clickedItem as SingleChoiceSetting + val value = getSelectionForSingleChoiceValue(item) + MaterialAlertDialogBuilder(requireContext()) + .setTitle(item.nameId) + .setSingleChoiceItems(item.choicesId, value, this) + .create() + } + + SettingsItem.TYPE_SLIDER -> { + sliderBinding = DialogSliderBinding.inflate(layoutInflater) + val item = settingsViewModel.clickedItem as SliderSetting + + settingsViewModel.setSliderTextValue(item.selectedValue.toFloat(), item.units) + sliderBinding.slider.apply { + valueFrom = item.min.toFloat() + valueTo = item.max.toFloat() + value = settingsViewModel.sliderProgress.value.toFloat() + addOnChangeListener { _: Slider, value: Float, _: Boolean -> + settingsViewModel.setSliderTextValue(value, item.units) + } + } + + MaterialAlertDialogBuilder(requireContext()) + .setTitle(item.nameId) + .setView(sliderBinding.root) + .setPositiveButton(android.R.string.ok, this) + .setNegativeButton(android.R.string.cancel, defaultCancelListener) + .create() + } + + SettingsItem.TYPE_STRING_SINGLE_CHOICE -> { + val item = settingsViewModel.clickedItem as StringSingleChoiceSetting + MaterialAlertDialogBuilder(requireContext()) + .setTitle(item.nameId) + .setSingleChoiceItems(item.choices, item.selectValueIndex, this) + .create() + } + + else -> super.onCreateDialog(savedInstanceState) + } + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View? { + return when (type) { + SettingsItem.TYPE_SLIDER -> sliderBinding.root + else -> super.onCreateView(inflater, container, savedInstanceState) + } + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + when (type) { + SettingsItem.TYPE_SLIDER -> { + viewLifecycleOwner.lifecycleScope.launch { + repeatOnLifecycle(Lifecycle.State.CREATED) { + settingsViewModel.sliderTextValue.collect { + sliderBinding.textValue.text = it + } + } + repeatOnLifecycle(Lifecycle.State.CREATED) { + settingsViewModel.sliderProgress.collect { + sliderBinding.slider.value = it.toFloat() + } + } + } + } + } + } + + override fun onClick(dialog: DialogInterface, which: Int) { + when (settingsViewModel.clickedItem) { + is SingleChoiceSetting -> { + val scSetting = settingsViewModel.clickedItem as SingleChoiceSetting + val value = getValueForSingleChoiceSelection(scSetting, which) + if (scSetting.selectedValue != value) { + settingsViewModel.shouldSave = true + } + scSetting.selectedValue = value + } + + is StringSingleChoiceSetting -> { + val scSetting = settingsViewModel.clickedItem as StringSingleChoiceSetting + val value = scSetting.getValueAt(which) + if (scSetting.selectedValue != value) settingsViewModel.shouldSave = true + scSetting.selectedValue = value + } + + is SliderSetting -> { + val sliderSetting = settingsViewModel.clickedItem as SliderSetting + if (sliderSetting.selectedValue != settingsViewModel.sliderProgress.value) { + settingsViewModel.shouldSave = true + } + sliderSetting.selectedValue = settingsViewModel.sliderProgress.value + } + } + closeDialog() + } + + private fun closeDialog() { + settingsViewModel.setAdapterItemChanged(position) + settingsViewModel.clickedItem = null + settingsViewModel.setSliderProgress(-1f) + dismiss() + } + + private fun getValueForSingleChoiceSelection(item: SingleChoiceSetting, which: Int): Int { + val valuesId = item.valuesId + return if (valuesId > 0) { + val valuesArray = requireContext().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 = requireContext().resources.getIntArray(valuesId) + for (index in valuesArray.indices) { + val current = valuesArray[index] + if (current == value) { + return index + } + } + } else { + return value + } + return -1 + } + + companion object { + const val TAG = "SettingsDialogFragment" + + const val TYPE_RESET_SETTING = -1 + + const val TITLE = "Title" + const val TYPE = "Type" + const val POSITION = "Position" + + fun newInstance( + settingsViewModel: SettingsViewModel, + clickedItem: SettingsItem, + type: Int, + position: Int + ): SettingsDialogFragment { + when (type) { + SettingsItem.TYPE_HEADER, + SettingsItem.TYPE_SWITCH, + SettingsItem.TYPE_SUBMENU, + SettingsItem.TYPE_DATETIME_SETTING, + SettingsItem.TYPE_RUNNABLE -> + throw IllegalArgumentException("[SettingsDialogFragment] Incompatible type!") + + SettingsItem.TYPE_SLIDER -> settingsViewModel.setSliderProgress( + (clickedItem as SliderSetting).selectedValue.toFloat() + ) + } + settingsViewModel.clickedItem = clickedItem + + val args = Bundle() + args.putInt(TYPE, type) + args.putInt(POSITION, position) + val fragment = SettingsDialogFragment() + fragment.arguments = args + return fragment + } + } +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt new file mode 100644 index 000000000..55b6a0367 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt @@ -0,0 +1,184 @@ +// 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.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.view.inputmethod.InputMethodManager +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.recyclerview.widget.LinearLayoutManager +import com.google.android.material.divider.MaterialDividerItemDecoration +import com.google.android.material.transition.MaterialSharedAxis +import info.debatty.java.stringsimilarity.Cosine +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.databinding.FragmentSettingsSearchBinding +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem +import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter +import org.yuzu.yuzu_emu.model.SettingsViewModel +import org.yuzu.yuzu_emu.utils.NativeConfig + +class SettingsSearchFragment : Fragment() { + private var _binding: FragmentSettingsSearchBinding? = null + private val binding get() = _binding!! + + private var settingsAdapter: SettingsAdapter? = null + + private val settingsViewModel: SettingsViewModel by activityViewModels() + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + enterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false) + returnTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true) + } + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + _binding = FragmentSettingsSearchBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + settingsViewModel.setIsUsingSearch(true) + + if (savedInstanceState != null) { + binding.searchText.setText(savedInstanceState.getString(SEARCH_TEXT)) + } + + settingsAdapter = SettingsAdapter(this, requireContext()) + + val dividerDecoration = MaterialDividerItemDecoration( + requireContext(), + LinearLayoutManager.VERTICAL + ) + dividerDecoration.isLastItemDecorated = false + binding.settingsList.apply { + adapter = settingsAdapter + layoutManager = LinearLayoutManager(requireContext()) + addItemDecoration(dividerDecoration) + } + + focusSearch() + + binding.backButton.setOnClickListener { settingsViewModel.setShouldNavigateBack(true) } + binding.searchBackground.setOnClickListener { focusSearch() } + binding.clearButton.setOnClickListener { binding.searchText.setText("") } + binding.searchText.doOnTextChanged { _, _, _, _ -> + search() + binding.settingsList.smoothScrollToPosition(0) + } + settingsViewModel.shouldReloadSettingsList.observe(viewLifecycleOwner) { + if (it) { + settingsViewModel.setShouldReloadSettingsList(false) + search() + } + } + + search() + + setInsets() + } + + override fun onSaveInstanceState(outState: Bundle) { + super.onSaveInstanceState(outState) + outState.putString(SEARCH_TEXT, binding.searchText.text.toString()) + } + + private fun search() { + val searchTerm = binding.searchText.text.toString().lowercase() + binding.clearButton.visibility = + if (searchTerm.isEmpty()) View.INVISIBLE else View.VISIBLE + if (searchTerm.isEmpty()) { + binding.noResultsView.visibility = View.VISIBLE + settingsAdapter?.submitList(emptyList()) + return + } + + val baseList = SettingsItem.settingsItems + val similarityAlgorithm = if (searchTerm.length > 2) Cosine() else Cosine(1) + val sortedList: List = baseList.mapNotNull { item -> + val title = getString(item.value.nameId).lowercase() + val similarity = similarityAlgorithm.similarity(searchTerm, title) + if (similarity > 0.08) { + Pair(similarity, item) + } else { + null + } + }.sortedByDescending { it.first }.mapNotNull { + val item = it.second.value + val pairedSettingKey = item.setting.pairedSettingKey + val optionalSetting: SettingsItem? = if (pairedSettingKey.isNotEmpty()) { + val pairedSettingValue = NativeConfig.getBoolean(pairedSettingKey, false) + if (pairedSettingValue) it.second.value else null + } else { + it.second.value + } + optionalSetting + } + settingsAdapter?.submitList(sortedList) + binding.noResultsView.visibility = + if (sortedList.isEmpty()) View.VISIBLE else View.INVISIBLE + } + + private fun focusSearch() { + 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, windowInsets: WindowInsetsCompat -> + val extraListSpacing = resources.getDimensionPixelSize(R.dimen.spacing_med) + val sideMargin = resources.getDimensionPixelSize(R.dimen.spacing_medlarge) + val topMargin = resources.getDimensionPixelSize(R.dimen.spacing_chip) + + 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 + + binding.settingsList.updatePadding(bottom = barInsets.bottom + extraListSpacing) + binding.frameSearch.updatePadding( + left = leftInsets + sideMargin, + top = barInsets.top + topMargin, + right = rightInsets + sideMargin + ) + binding.noResultsView.updatePadding( + left = leftInsets, + right = rightInsets, + bottom = barInsets.bottom + ) + + val mlpSettingsList = binding.settingsList.layoutParams as ViewGroup.MarginLayoutParams + mlpSettingsList.leftMargin = leftInsets + sideMargin + mlpSettingsList.rightMargin = rightInsets + sideMargin + binding.settingsList.layoutParams = mlpSettingsList + + val mlpDivider = binding.divider.layoutParams as ViewGroup.MarginLayoutParams + mlpDivider.leftMargin = leftInsets + sideMargin + mlpDivider.rightMargin = rightInsets + sideMargin + binding.divider.layoutParams = mlpDivider + + windowInsets + } + + companion object { + const val SEARCH_TEXT = "SearchText" + } +} 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..d50c421a0 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt @@ -0,0 +1,387 @@ +// 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.core.view.updatePadding +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.SetupCallback +import org.yuzu.yuzu_emu.model.SetupPage +import org.yuzu.yuzu_emu.model.StepState +import org.yuzu.yuzu_emu.ui.main.MainActivity +import org.yuzu.yuzu_emu.utils.DirectoryInitialization +import org.yuzu.yuzu_emu.utils.GameHelper +import org.yuzu.yuzu_emu.utils.ViewUtils + +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, + { + notificationCallback = it + permissionLauncher.launch(Manifest.permission.POST_NOTIFICATIONS) + }, + true, + R.string.notification_warning, + R.string.notification_warning_description, + 0, + { + if (NotificationManagerCompat.from(requireContext()) + .areNotificationsEnabled() + ) { + StepState.COMPLETE + } else { + StepState.INCOMPLETE + } + } + ) + ) + } + + add( + SetupPage( + R.drawable.ic_key, + R.string.keys, + R.string.keys_description, + R.drawable.ic_add, + true, + R.string.select_keys, + { + keyCallback = it + getProdKey.launch(arrayOf("*/*")) + }, + true, + R.string.install_prod_keys_warning, + R.string.install_prod_keys_warning_description, + R.string.install_prod_keys_warning_help, + { + val file = File(DirectoryInitialization.userDirectory + "/keys/prod.keys") + if (file.exists()) { + StepState.COMPLETE + } else { + StepState.INCOMPLETE + } + } + ) + ) + add( + SetupPage( + R.drawable.ic_controller, + R.string.games, + R.string.games_description, + R.drawable.ic_add, + true, + R.string.add_games, + { + gamesDirCallback = it + 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 + ) + if (preferences.getString(GameHelper.KEY_GAME_PATH, "")!!.isNotEmpty()) { + StepState.COMPLETE + } else { + StepState.INCOMPLETE + } + } + ) + ) + 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 + ) + ) + } + + homeViewModel.shouldPageForward.observe(viewLifecycleOwner) { + if (it) { + pageForward() + homeViewModel.setShouldPageForward(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) { + ViewUtils.showView(binding.buttonNext) + ViewUtils.showView(binding.buttonBack) + } else if (position == 0 && previousPosition == 1) { + ViewUtils.hideView(binding.buttonBack) + ViewUtils.hideView(binding.buttonNext) + } else if (position == pages.size - 1 && previousPosition == pages.size - 2) { + ViewUtils.hideView(binding.buttonNext) + } else if (position == pages.size - 2 && previousPosition == pages.size - 1) { + ViewUtils.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) { + val stepState = currentPage.stepCompleted.invoke() + if (stepState != StepState.INCOMPLETE) { + 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 + } + + private lateinit var notificationCallback: SetupCallback + + @RequiresApi(Build.VERSION_CODES.TIRAMISU) + private val permissionLauncher = + registerForActivityResult(ActivityResultContracts.RequestPermission()) { + if (it) { + notificationCallback.onStepCompleted() + } + + if (!it && + !shouldShowRequestPermissionRationale(Manifest.permission.POST_NOTIFICATIONS) + ) { + PermissionDeniedDialogFragment().show( + childFragmentManager, + PermissionDeniedDialogFragment.TAG + ) + } + } + + private lateinit var keyCallback: SetupCallback + + val getProdKey = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result != null) { + if (mainActivity.processKey(result)) { + keyCallback.onStepCompleted() + } + } + } + + private lateinit var gamesDirCallback: SetupCallback + + val getGamesDirectory = + registerForActivityResult(ActivityResultContracts.OpenDocumentTree()) { result -> + if (result != null) { + mainActivity.processGamesDir(result) + gamesDirCallback.onStepCompleted() + } + } + + private fun finishSetup() { + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit() + .putBoolean(Settings.PREF_FIRST_APP_LAUNCH, false) + .apply() + mainActivity.finishSetup(binding.root.findNavController()) + } + + 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, windowInsets: WindowInsetsCompat -> + val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) + val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout()) + + val leftPadding = barInsets.left + cutoutInsets.left + val topPadding = barInsets.top + cutoutInsets.top + val rightPadding = barInsets.right + cutoutInsets.right + val bottomPadding = barInsets.bottom + cutoutInsets.bottom + + if (resources.getBoolean(R.bool.small_layout)) { + binding.viewPager2 + .updatePadding(left = leftPadding, top = topPadding, right = rightPadding) + binding.constraintButtons + .updatePadding(left = leftPadding, right = rightPadding, bottom = bottomPadding) + } else { + binding.viewPager2.updatePadding(top = topPadding, bottom = bottomPadding) + binding.constraintButtons + .updatePadding( + left = leftPadding, + right = rightPadding, + bottom = bottomPadding + ) + } + 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/EmulationViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt new file mode 100644 index 000000000..e35f51bc3 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt @@ -0,0 +1,59 @@ +// 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 EmulationViewModel : ViewModel() { + private val _emulationStarted = MutableLiveData(false) + val emulationStarted: LiveData get() = _emulationStarted + + private val _isEmulationStopping = MutableLiveData(false) + val isEmulationStopping: LiveData get() = _isEmulationStopping + + private val _shaderProgress = MutableLiveData(0) + val shaderProgress: LiveData get() = _shaderProgress + + private val _totalShaders = MutableLiveData(0) + val totalShaders: LiveData get() = _totalShaders + + private val _shaderMessage = MutableLiveData("") + val shaderMessage: LiveData get() = _shaderMessage + + fun setEmulationStarted(started: Boolean) { + _emulationStarted.postValue(started) + } + + fun setIsEmulationStopping(value: Boolean) { + _isEmulationStopping.value = value + } + + fun setShaderProgress(progress: Int) { + _shaderProgress.value = progress + } + + fun setTotalShaders(max: Int) { + _totalShaders.value = max + } + + fun setShaderMessage(msg: String) { + _shaderMessage.value = msg + } + + fun updateProgress(msg: String, progress: Int, max: Int) { + setShaderMessage(msg) + setShaderProgress(progress) + setTotalShaders(max) + } + + fun clear() { + _emulationStarted.value = false + _isEmulationStopping.value = false + _shaderProgress.value = 0 + _totalShaders.value = 0 + _shaderMessage.value = "" + } +} 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..498c222fa --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt @@ -0,0 +1,18 @@ +// 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 + +data class HomeSetting( + val titleId: Int, + val descriptionId: Int, + val iconId: Int, + val onClick: () -> Unit, + val isEnabled: () -> Boolean = { true }, + val disabledTitleId: Int = 0, + val disabledMessageId: Int = 0, + val details: LiveData = MutableLiveData("") +) 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..a48ef7a88 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +package org.yuzu.yuzu_emu.model + +import android.net.Uri +import androidx.fragment.app.FragmentActivity +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel +import androidx.lifecycle.ViewModelProvider +import androidx.preference.PreferenceManager +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.utils.GameHelper + +class HomeViewModel : ViewModel() { + private val _navigationVisible = MutableLiveData>() + val navigationVisible: LiveData> get() = _navigationVisible + + private val _statusBarShadeVisible = MutableLiveData(true) + val statusBarShadeVisible: LiveData get() = _statusBarShadeVisible + + private val _shouldPageForward = MutableLiveData(false) + val shouldPageForward: LiveData get() = _shouldPageForward + + private val _gamesDir = MutableLiveData( + Uri.parse( + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + .getString(GameHelper.KEY_GAME_PATH, "") + ).path ?: "" + ) + val gamesDir: LiveData get() = _gamesDir + + 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 + } + + fun setShouldPageForward(pageForward: Boolean) { + _shouldPageForward.value = pageForward + } + + fun setGamesDir(activity: FragmentActivity, dir: String) { + ViewModelProvider(activity)[GamesViewModel::class.java].reloadGames(true) + _gamesDir.value = dir + } +} 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/SettingsViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt new file mode 100644 index 000000000..d16d15fa6 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt @@ -0,0 +1,96 @@ +// 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.SavedStateHandle +import androidx.lifecycle.ViewModel +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem + +class SettingsViewModel(private val savedStateHandle: SavedStateHandle) : ViewModel() { + var game: Game? = null + + var shouldSave = false + + var clickedItem: SettingsItem? = null + + private val _toolbarTitle = MutableLiveData("") + val toolbarTitle: LiveData get() = _toolbarTitle + + private val _shouldRecreate = MutableLiveData(false) + val shouldRecreate: LiveData get() = _shouldRecreate + + private val _shouldNavigateBack = MutableLiveData(false) + val shouldNavigateBack: LiveData get() = _shouldNavigateBack + + private val _shouldShowResetSettingsDialog = MutableLiveData(false) + val shouldShowResetSettingsDialog: LiveData get() = _shouldShowResetSettingsDialog + + private val _shouldReloadSettingsList = MutableLiveData(false) + val shouldReloadSettingsList: LiveData get() = _shouldReloadSettingsList + + private val _isUsingSearch = MutableLiveData(false) + val isUsingSearch: LiveData get() = _isUsingSearch + + val sliderProgress = savedStateHandle.getStateFlow(KEY_SLIDER_PROGRESS, -1) + + val sliderTextValue = savedStateHandle.getStateFlow(KEY_SLIDER_TEXT_VALUE, "") + + val adapterItemChanged = savedStateHandle.getStateFlow(KEY_ADAPTER_ITEM_CHANGED, -1) + + fun setToolbarTitle(value: String) { + _toolbarTitle.value = value + } + + fun setShouldRecreate(value: Boolean) { + _shouldRecreate.value = value + } + + fun setShouldNavigateBack(value: Boolean) { + _shouldNavigateBack.value = value + } + + fun setShouldShowResetSettingsDialog(value: Boolean) { + _shouldShowResetSettingsDialog.value = value + } + + fun setShouldReloadSettingsList(value: Boolean) { + _shouldReloadSettingsList.value = value + } + + fun setIsUsingSearch(value: Boolean) { + _isUsingSearch.value = value + } + + fun setSliderTextValue(value: Float, units: String) { + savedStateHandle[KEY_SLIDER_PROGRESS] = value + savedStateHandle[KEY_SLIDER_TEXT_VALUE] = String.format( + YuzuApplication.appContext.getString(R.string.value_with_units), + value.toInt().toString(), + units + ) + } + + fun setSliderProgress(value: Float) { + savedStateHandle[KEY_SLIDER_PROGRESS] = value + } + + fun setAdapterItemChanged(value: Int) { + savedStateHandle[KEY_ADAPTER_ITEM_CHANGED] = value + } + + fun clear() { + game = null + shouldSave = false + } + + companion object { + const val KEY_SLIDER_TEXT_VALUE = "SliderTextValue" + const val KEY_SLIDER_PROGRESS = "SliderProgress" + const val KEY_ADAPTER_ITEM_CHANGED = "AdapterItemChanged" + } +} 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..09a128ae6 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt @@ -0,0 +1,29 @@ +// 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: (callback: SetupCallback) -> Unit, + val hasWarning: Boolean, + val warningTitleId: Int = 0, + val warningDescriptionId: Int = 0, + val warningHelpLinkId: Int = 0, + val stepCompleted: () -> StepState = { StepState.UNDEFINED } +) + +interface SetupCallback { + fun onStepCompleted() +} + +enum class StepState { + COMPLETE, + INCOMPLETE, + UNDEFINED +} 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..c055c2e35 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt @@ -0,0 +1,1303 @@ +// 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 layout = LANDSCAPE + + override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) { + super.onLayout(changed, left, top, right, bottom) + + windowInsets = rootWindowInsets + + val overlayVersion = preferences.getInt(Settings.PREF_OVERLAY_VERSION, 0) + if (overlayVersion != OVERLAY_VERSION) { + resetAllLayouts() + } else { + val layoutIndex = overlayLayouts.indexOf(layout) + val currentLayoutVersion = + preferences.getInt(Settings.overlayLayoutPrefs[layoutIndex], 0) + if (currentLayoutVersion != overlayLayoutVersions[layoutIndex]) { + resetCurrentLayout() + } + } + + // 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!!.prefId, + buttonBeingConfigured!!.bounds.centerX(), + buttonBeingConfigured!!.bounds.centerY(), + layout + ) + 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( + Settings.PREF_BUTTON_DPAD, + dpadBeingConfigured!!.bounds.centerX(), + dpadBeingConfigured!!.bounds.centerY(), + layout + ) + 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!!.prefId, + joystickBeingConfigured!!.bounds.centerX(), + joystickBeingConfigured!!.bounds.centerY(), + layout + ) + joystickBeingConfigured = null + } + } + } + + return true + } + + private fun addOverlayControls(layout: String) { + val windowSize = getSafeScreenSize(context) + if (preferences.getBoolean(Settings.PREF_BUTTON_A, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_a, + R.drawable.facebutton_a_depressed, + ButtonType.BUTTON_A, + Settings.PREF_BUTTON_A, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_B, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_b, + R.drawable.facebutton_b_depressed, + ButtonType.BUTTON_B, + Settings.PREF_BUTTON_B, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_X, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_x, + R.drawable.facebutton_x_depressed, + ButtonType.BUTTON_X, + Settings.PREF_BUTTON_X, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_Y, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_y, + R.drawable.facebutton_y_depressed, + ButtonType.BUTTON_Y, + Settings.PREF_BUTTON_Y, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_L, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.l_shoulder, + R.drawable.l_shoulder_depressed, + ButtonType.TRIGGER_L, + Settings.PREF_BUTTON_L, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_R, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.r_shoulder, + R.drawable.r_shoulder_depressed, + ButtonType.TRIGGER_R, + Settings.PREF_BUTTON_R, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_ZL, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.zl_trigger, + R.drawable.zl_trigger_depressed, + ButtonType.TRIGGER_ZL, + Settings.PREF_BUTTON_ZL, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_ZR, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.zr_trigger, + R.drawable.zr_trigger_depressed, + ButtonType.TRIGGER_ZR, + Settings.PREF_BUTTON_ZR, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_PLUS, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_plus, + R.drawable.facebutton_plus_depressed, + ButtonType.BUTTON_PLUS, + Settings.PREF_BUTTON_PLUS, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_MINUS, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_minus, + R.drawable.facebutton_minus_depressed, + ButtonType.BUTTON_MINUS, + Settings.PREF_BUTTON_MINUS, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_DPAD, true)) { + overlayDpads.add( + initializeOverlayDpad( + context, + windowSize, + R.drawable.dpad_standard, + R.drawable.dpad_standard_cardinal_depressed, + R.drawable.dpad_standard_diagonal_depressed, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_STICK_L, true)) { + overlayJoysticks.add( + initializeOverlayJoystick( + context, + windowSize, + R.drawable.joystick_range, + R.drawable.joystick, + R.drawable.joystick_depressed, + StickType.STICK_L, + ButtonType.STICK_L, + Settings.PREF_STICK_L, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_STICK_R, true)) { + overlayJoysticks.add( + initializeOverlayJoystick( + context, + windowSize, + R.drawable.joystick_range, + R.drawable.joystick, + R.drawable.joystick_depressed, + StickType.STICK_R, + ButtonType.STICK_R, + Settings.PREF_STICK_R, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_HOME, false)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_home, + R.drawable.facebutton_home_depressed, + ButtonType.BUTTON_HOME, + Settings.PREF_BUTTON_HOME, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_SCREENSHOT, false)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.facebutton_screenshot, + R.drawable.facebutton_screenshot_depressed, + ButtonType.BUTTON_CAPTURE, + Settings.PREF_BUTTON_SCREENSHOT, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_STICK_L, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.button_l3, + R.drawable.button_l3_depressed, + ButtonType.STICK_L, + Settings.PREF_BUTTON_STICK_L, + layout + ) + ) + } + if (preferences.getBoolean(Settings.PREF_BUTTON_STICK_R, true)) { + overlayButtons.add( + initializeOverlayButton( + context, + windowSize, + R.drawable.button_r3, + R.drawable.button_r3_depressed, + ButtonType.STICK_R, + Settings.PREF_BUTTON_STICK_R, + layout + ) + ) + } + } + + 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(layout) + } + invalidate() + } + + private fun saveControlPosition(prefId: String, x: Int, y: Int, layout: String) { + val windowSize = getSafeScreenSize(context) + val min = windowSize.first + val max = windowSize.second + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit() + .putFloat("$prefId-X$layout", (x - min.x).toFloat() / max.x) + .putFloat("$prefId-Y$layout", (y - min.y).toFloat() / max.y) + .apply() + } + + fun setIsInEditMode(editMode: Boolean) { + inEditMode = editMode + } + + private fun resetCurrentLayout() { + defaultOverlayByLayout(layout) + val layoutIndex = overlayLayouts.indexOf(layout) + preferences.edit() + .putInt(Settings.overlayLayoutPrefs[layoutIndex], overlayLayoutVersions[layoutIndex]) + .apply() + } + + private fun resetAllLayouts() { + val editor = preferences.edit() + overlayLayouts.forEachIndexed { i, layout -> + defaultOverlayByLayout(layout) + editor.putInt(Settings.overlayLayoutPrefs[i], overlayLayoutVersions[i]) + } + editor.putInt(Settings.PREF_OVERLAY_VERSION, OVERLAY_VERSION) + editor.apply() + } + + fun resetLayoutVisibilityAndPlacement() { + defaultOverlayByLayout(layout) + val editor = preferences.edit() + Settings.overlayPreferences.forEachIndexed { _, pref -> + editor.remove(pref) + } + editor.apply() + 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, + R.integer.SWITCH_BUTTON_STICK_L_X, + R.integer.SWITCH_BUTTON_STICK_L_Y, + R.integer.SWITCH_BUTTON_STICK_R_X, + R.integer.SWITCH_BUTTON_STICK_R_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, + R.integer.SWITCH_BUTTON_STICK_L_X_PORTRAIT, + R.integer.SWITCH_BUTTON_STICK_L_Y_PORTRAIT, + R.integer.SWITCH_BUTTON_STICK_R_X_PORTRAIT, + R.integer.SWITCH_BUTTON_STICK_R_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, + R.integer.SWITCH_BUTTON_STICK_L_X_FOLDABLE, + R.integer.SWITCH_BUTTON_STICK_L_Y_FOLDABLE, + R.integer.SWITCH_BUTTON_STICK_R_X_FOLDABLE, + R.integer.SWITCH_BUTTON_STICK_R_Y_FOLDABLE + ) + + private fun getResourceValue(layout: String, position: Int): Float { + return when (layout) { + PORTRAIT -> resources.getInteger(portraitResources[position]).toFloat() / 1000 + FOLDABLE -> resources.getInteger(foldableResources[position]).toFloat() / 1000 + else -> resources.getInteger(landscapeResources[position]).toFloat() / 1000 + } + } + + private fun defaultOverlayByLayout(layout: String) { + // Each value represents the position of the button in relation to the screen size without insets. + preferences.edit() + .putFloat( + "${Settings.PREF_BUTTON_A}-X$layout", + getResourceValue(layout, 0) + ) + .putFloat( + "${Settings.PREF_BUTTON_A}-Y$layout", + getResourceValue(layout, 1) + ) + .putFloat( + "${Settings.PREF_BUTTON_B}-X$layout", + getResourceValue(layout, 2) + ) + .putFloat( + "${Settings.PREF_BUTTON_B}-Y$layout", + getResourceValue(layout, 3) + ) + .putFloat( + "${Settings.PREF_BUTTON_X}-X$layout", + getResourceValue(layout, 4) + ) + .putFloat( + "${Settings.PREF_BUTTON_X}-Y$layout", + getResourceValue(layout, 5) + ) + .putFloat( + "${Settings.PREF_BUTTON_Y}-X$layout", + getResourceValue(layout, 6) + ) + .putFloat( + "${Settings.PREF_BUTTON_Y}-Y$layout", + getResourceValue(layout, 7) + ) + .putFloat( + "${Settings.PREF_BUTTON_ZL}-X$layout", + getResourceValue(layout, 8) + ) + .putFloat( + "${Settings.PREF_BUTTON_ZL}-Y$layout", + getResourceValue(layout, 9) + ) + .putFloat( + "${Settings.PREF_BUTTON_ZR}-X$layout", + getResourceValue(layout, 10) + ) + .putFloat( + "${Settings.PREF_BUTTON_ZR}-Y$layout", + getResourceValue(layout, 11) + ) + .putFloat( + "${Settings.PREF_BUTTON_DPAD}-X$layout", + getResourceValue(layout, 12) + ) + .putFloat( + "${Settings.PREF_BUTTON_DPAD}-Y$layout", + getResourceValue(layout, 13) + ) + .putFloat( + "${Settings.PREF_BUTTON_L}-X$layout", + getResourceValue(layout, 14) + ) + .putFloat( + "${Settings.PREF_BUTTON_L}-Y$layout", + getResourceValue(layout, 15) + ) + .putFloat( + "${Settings.PREF_BUTTON_R}-X$layout", + getResourceValue(layout, 16) + ) + .putFloat( + "${Settings.PREF_BUTTON_R}-Y$layout", + getResourceValue(layout, 17) + ) + .putFloat( + "${Settings.PREF_BUTTON_PLUS}-X$layout", + getResourceValue(layout, 18) + ) + .putFloat( + "${Settings.PREF_BUTTON_PLUS}-Y$layout", + getResourceValue(layout, 19) + ) + .putFloat( + "${Settings.PREF_BUTTON_MINUS}-X$layout", + getResourceValue(layout, 20) + ) + .putFloat( + "${Settings.PREF_BUTTON_MINUS}-Y$layout", + getResourceValue(layout, 21) + ) + .putFloat( + "${Settings.PREF_BUTTON_HOME}-X$layout", + getResourceValue(layout, 22) + ) + .putFloat( + "${Settings.PREF_BUTTON_HOME}-Y$layout", + getResourceValue(layout, 23) + ) + .putFloat( + "${Settings.PREF_BUTTON_SCREENSHOT}-X$layout", + getResourceValue(layout, 24) + ) + .putFloat( + "${Settings.PREF_BUTTON_SCREENSHOT}-Y$layout", + getResourceValue(layout, 25) + ) + .putFloat( + "${Settings.PREF_STICK_R}-X$layout", + getResourceValue(layout, 26) + ) + .putFloat( + "${Settings.PREF_STICK_R}-Y$layout", + getResourceValue(layout, 27) + ) + .putFloat( + "${Settings.PREF_STICK_L}-X$layout", + getResourceValue(layout, 28) + ) + .putFloat( + "${Settings.PREF_STICK_L}-Y$layout", + getResourceValue(layout, 29) + ) + .putFloat( + "${Settings.PREF_BUTTON_STICK_L}-X$layout", + getResourceValue(layout, 30) + ) + .putFloat( + "${Settings.PREF_BUTTON_STICK_L}-Y$layout", + getResourceValue(layout, 31) + ) + .putFloat( + "${Settings.PREF_BUTTON_STICK_R}-X$layout", + getResourceValue(layout, 32) + ) + .putFloat( + "${Settings.PREF_BUTTON_STICK_R}-Y$layout", + getResourceValue(layout, 33) + ) + .apply() + } + + override fun isInEditMode(): Boolean { + return inEditMode + } + + companion object { + // Increase this number every time there is a breaking change to every overlay layout + const val OVERLAY_VERSION = 1 + + // Increase the corresponding layout version number whenever that layout has a breaking change + private const val LANDSCAPE_OVERLAY_VERSION = 1 + private const val PORTRAIT_OVERLAY_VERSION = 1 + private const val FOLDABLE_OVERLAY_VERSION = 1 + val overlayLayoutVersions = listOf( + LANDSCAPE_OVERLAY_VERSION, + PORTRAIT_OVERLAY_VERSION, + FOLDABLE_OVERLAY_VERSION + ) + + private val preferences: SharedPreferences = + PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext) + + const val LANDSCAPE = "_Landscape" + const val PORTRAIT = "_Portrait" + const val FOLDABLE = "_Foldable" + val overlayLayouts = listOf( + LANDSCAPE, + PORTRAIT, + 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. + * @param prefId Identifier for determining where a button appears on screen. + * @param layout The current screen layout as determined by [LANDSCAPE], [PORTRAIT], or [FOLDABLE]. + * @return An [InputOverlayDrawableButton] with the correct drawing bounds set. + */ + private fun initializeOverlayButton( + context: Context, + windowSize: Pair, + defaultResId: Int, + pressedResId: Int, + buttonId: Int, + prefId: String, + layout: 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 preference ID and user preference + var scale: Float = when (prefId) { + Settings.PREF_BUTTON_HOME, + Settings.PREF_BUTTON_SCREENSHOT, + Settings.PREF_BUTTON_PLUS, + Settings.PREF_BUTTON_MINUS -> 0.07f + + Settings.PREF_BUTTON_L, + Settings.PREF_BUTTON_R, + Settings.PREF_BUTTON_ZL, + Settings.PREF_BUTTON_ZR -> 0.26f + + Settings.PREF_BUTTON_STICK_L, + Settings.PREF_BUTTON_STICK_R -> 0.155f + + 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, + prefId + ) + + // 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 = "$prefId-X$layout" + val yKey = "$prefId-Y$layout" + 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. + * @param layout The current screen layout as determined by [LANDSCAPE], [PORTRAIT], or [FOLDABLE]. + * @return The initialized [InputOverlayDrawableDpad] + */ + private fun initializeOverlayDpad( + context: Context, + windowSize: Pair, + defaultResId: Int, + pressedOneDirectionResId: Int, + pressedTwoDirectionsResId: Int, + layout: 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("${Settings.PREF_BUTTON_DPAD}-X$layout", 0f) + val drawableYPercent = sPrefs.getFloat("${Settings.PREF_BUTTON_DPAD}-Y$layout", 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. + * @param prefId Identifier for determining where a button appears on screen. + * @param layout The current screen layout as determined by [LANDSCAPE], [PORTRAIT], or [FOLDABLE]. + * @return The initialized [InputOverlayDrawableJoystick]. + */ + private fun initializeOverlayJoystick( + context: Context, + windowSize: Pair, + resOuter: Int, + defaultResInner: Int, + pressedResInner: Int, + joystick: Int, + button: Int, + prefId: String, + layout: 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("$prefId-X$layout", 0f) + val drawableYPercent = sPrefs.getFloat("$prefId-Y$layout", 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, + prefId + ) + + // 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..2c28dda88 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableButton.kt @@ -0,0 +1,149 @@ +// 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, + val prefId: String +) { + // 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..518b1e783 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlayDrawableJoystick.kt @@ -0,0 +1,291 @@ +// 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, + val prefId: String +) { + // 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..7d8e06ad8 --- /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.HomeNavigationDirections +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.utils.SettingsFile +import org.yuzu.yuzu_emu.fragments.IndeterminateProgressDialogFragment +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() + + override var themeId: Int = 0 + + override fun onCreate(savedInstanceState: Bundle?) { + val splashScreen = installSplashScreen() + splashScreen.setKeepOnScreenCondition { !DirectoryInitialization.areDirectoriesReady } + + 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 -> { + val action = HomeNavigationDirections.actionGlobalSettingsActivity( + null, + SettingsFile.FILE_NAME_CONFIG + ) + navHostFragment.navController.navigate(action) + } + } + } + + // 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) { + processGamesDir(result) + } + } + + fun processGamesDir(result: Uri) { + 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) + homeViewModel.setGamesDir(this, result.path!!) + } + + val getProdKey = + registerForActivityResult(ActivityResultContracts.OpenDocument()) { result -> + if (result != null) { + processKey(result) + } + } + + fun processKey(result: Uri): Boolean { + if (FileUtil.getExtension(result) != "keys") { + MessageDialogFragment.newInstance( + titleId = R.string.reading_keys_failure, + descriptionId = R.string.install_prod_keys_failure_extension_description + ).show(supportFragmentManager, MessageDialogFragment.TAG) + return false + } + + 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) + return true + } else { + MessageDialogFragment.newInstance( + titleId = R.string.invalid_keys_error, + descriptionId = R.string.install_keys_failure_description, + helpLinkId = R.string.dumping_keys_quickstart_link + ).show(supportFragmentManager, MessageDialogFragment.TAG) + return false + } + } + return false + } + + 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( + titleId = R.string.firmware_installed_failure, + descriptionId = 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( + titleId = R.string.reading_keys_failure, + descriptionId = 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( + titleId = R.string.invalid_keys_error, + descriptionId = R.string.install_keys_failure_description, + helpLinkId = 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 + 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 + } + } + } + + 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) + } + val errorTotal: Int = 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) + } + return@newInstance MessageDialogFragment.newInstance( + titleId = R.string.install_game_content_failure, + descriptionString = installResult.toString().trim(), + helpLinkId = R.string.install_game_content_help_link + ) + } else { + return@newInstance MessageDialogFragment.newInstance( + titleId = R.string.install_game_content_success, + descriptionString = installResult.toString().trim() + ) + } + }.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/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..3c9f6bad0 --- /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 java.io.IOException +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.YuzuApplication + +object DirectoryInitialization { + private var userPath: String? = null + + var areDirectoriesReady: Boolean = false + + fun start() { + if (!areDirectoriesReady) { + initializeInternalStorage() + NativeLibrary.initializeEmulation() + areDirectoriesReady = true + } + } + + val userDirectory: String? + get() { + check(areDirectoriesReady) { "Directory initialization is not ready!" } + return userPath + } + + private fun initializeInternalStorage() { + try { + userPath = YuzuApplication.appContext.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..e0ee29c9b --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt @@ -0,0 +1,108 @@ +// 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 +import org.yuzu.yuzu_emu.model.MinimalDocumentFile + +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() + + addGamesRecursive(games, FileUtil.listFiles(context, gamesUri), 3) + + // 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 addGamesRecursive( + games: MutableList, + files: Array, + depth: Int + ) { + if (depth <= 0) { + return + } + + files.forEach { + if (it.isDirectory) { + addGamesRecursive( + games, + FileUtil.listFiles(YuzuApplication.appContext, it.uri), + depth - 1 + ) + } else { + if (Game.extensions.contains(FileUtil.getExtension(it.uri))) { + games.add(getGame(it.uri, true)) + } + } + } + } + + fun getGame(uri: Uri, addedToLibrary: Boolean): 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) + ) + + if (addedToLibrary) { + 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/GameIconUtils.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt new file mode 100644 index 000000000..c0fe596d7 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt @@ -0,0 +1,77 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.graphics.Bitmap +import android.graphics.BitmapFactory +import android.widget.ImageView +import androidx.core.graphics.drawable.toDrawable +import coil.ImageLoader +import coil.decode.DataSource +import coil.fetch.DrawableResult +import coil.fetch.FetchResult +import coil.fetch.Fetcher +import coil.key.Keyer +import coil.memory.MemoryCache +import coil.request.ImageRequest +import coil.request.Options +import org.yuzu.yuzu_emu.NativeLibrary +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import org.yuzu.yuzu_emu.model.Game + +class GameIconFetcher( + private val game: Game, + private val options: Options +) : Fetcher { + override suspend fun fetch(): FetchResult { + return DrawableResult( + drawable = decodeGameIcon(game.path)!!.toDrawable(options.context.resources), + isSampled = false, + dataSource = DataSource.DISK + ) + } + + private fun decodeGameIcon(uri: String): Bitmap? { + val data = NativeLibrary.getIcon(uri) + return BitmapFactory.decodeByteArray( + data, + 0, + data.size, + BitmapFactory.Options() + ) + } + + class Factory : Fetcher.Factory { + override fun create(data: Game, options: Options, imageLoader: ImageLoader): Fetcher = + GameIconFetcher(data, options) + } +} + +class GameIconKeyer : Keyer { + override fun key(data: Game, options: Options): String = data.path +} + +object GameIconUtils { + private val imageLoader = ImageLoader.Builder(YuzuApplication.appContext) + .components { + add(GameIconKeyer()) + add(GameIconFetcher.Factory()) + } + .memoryCache { + MemoryCache.Builder(YuzuApplication.appContext) + .maxSizePercent(0.25) + .build() + } + .build() + + fun loadGameIcon(game: Game, imageView: ImageView) { + val request = ImageRequest.Builder(YuzuApplication.appContext) + .data(game) + .target(imageView) + .error(R.drawable.default_icon) + .build() + imageLoader.enqueue(request) + } +} 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..aa4a5539a --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/MemoryUtil.kt @@ -0,0 +1,113 @@ +// 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 android.os.Build +import org.yuzu.yuzu_emu.R +import org.yuzu.yuzu_emu.YuzuApplication +import java.util.Locale +import kotlin.math.ceil + +object MemoryUtil { + private val context get() = YuzuApplication.appContext + + private val Float.hundredths: String + get() = String.format(Locale.ROOT, "%.2f", this) + + // Required total system memory + const val REQUIRED_MEMORY = 8 + + const val Kb: Float = 1024F + 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 + + private fun bytesToSizeUnit(size: Float): String = + when { + size < Kb -> { + context.getString( + R.string.memory_formatted, + size.hundredths, + context.getString(R.string.memory_byte) + ) + } + size < Mb -> { + context.getString( + R.string.memory_formatted, + (size / Kb).hundredths, + context.getString(R.string.memory_kilobyte) + ) + } + size < Gb -> { + context.getString( + R.string.memory_formatted, + (size / Mb).hundredths, + context.getString(R.string.memory_megabyte) + ) + } + size < Tb -> { + context.getString( + R.string.memory_formatted, + (size / Gb).hundredths, + context.getString(R.string.memory_gigabyte) + ) + } + size < Pb -> { + context.getString( + R.string.memory_formatted, + (size / Tb).hundredths, + context.getString(R.string.memory_terabyte) + ) + } + size < Eb -> { + context.getString( + R.string.memory_formatted, + (size / Pb).hundredths, + context.getString(R.string.memory_petabyte) + ) + } + else -> { + context.getString( + R.string.memory_formatted, + (size / Eb).hundredths, + context.getString(R.string.memory_exabyte) + ) + } + } + + // Devices are unlikely to have 0.5GB increments of memory so we'll just round up to account for + // the potential error created by memInfo.totalMem + private val totalMemory: Float + get() { + val memInfo = ActivityManager.MemoryInfo() + with(context.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager) { + getMemoryInfo(memInfo) + } + + return ceil( + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { + memInfo.advertisedMem.toFloat() + } else { + memInfo.totalMem.toFloat() + } + ) + } + + fun isLessThan(minimum: Int, size: Float): Boolean = + 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 = bytesToSizeUnit(totalMemory) +} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt new file mode 100644 index 000000000..9425f8b99 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +object NativeConfig { + external fun getBoolean(key: String, getDefault: Boolean): Boolean + external fun setBoolean(key: String, value: Boolean) + + external fun getByte(key: String, getDefault: Boolean): Byte + external fun setByte(key: String, value: Byte) + + external fun getShort(key: String, getDefault: Boolean): Short + external fun setShort(key: String, value: Short) + + external fun getInt(key: String, getDefault: Boolean): Int + external fun setInt(key: String, value: Int) + + external fun getFloat(key: String, getDefault: Boolean): Float + external fun setFloat(key: String, value: Float) + + external fun getLong(key: String, getDefault: Boolean): Long + external fun setLong(key: String, value: Long) + + external fun getString(key: String, getDefault: Boolean): String + external fun setString(key: String, value: String) + + external fun getIsRuntimeModifiable(key: String): Boolean + + external fun getConfigHeader(category: Int): String + + external fun getPairedSettingKey(key: String): String +} 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/utils/ViewUtils.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt new file mode 100644 index 000000000..f9a3e4126 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +package org.yuzu.yuzu_emu.utils + +import android.view.View + +object ViewUtils { + fun showView(view: View, length: Long = 300) { + view.apply { + alpha = 0f + visibility = View.VISIBLE + isClickable = true + }.animate().apply { + duration = length + alpha(1f) + }.start() + } + + fun hideView(view: View, length: Long = 300) { + if (view.visibility == View.INVISIBLE) { + return + } + + view.apply { + alpha = 1f + isClickable = false + }.animate().apply { + duration = length + alpha(0f) + }.withEndAction { + view.visibility = View.INVISIBLE + }.start() + } +} 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..2f0868c63 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt @@ -0,0 +1,64 @@ +// 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 + +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 + requestLayout() + } + + override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { + val displayWidth: Float = MeasureSpec.getSize(widthMeasureSpec).toFloat() + val displayHeight: Float = MeasureSpec.getSize(heightMeasureSpec).toFloat() + if (aspectRatio != 0f) { + val displayAspect = displayWidth / displayHeight + if (displayAspect < aspectRatio) { + // Max out width + val halfHeight = displayHeight / 2 + val surfaceHeight = displayWidth / aspectRatio + val newTop: Float = halfHeight - (surfaceHeight / 2) + val newBottom: Float = halfHeight + (surfaceHeight / 2) + super.onMeasure( + widthMeasureSpec, + MeasureSpec.makeMeasureSpec( + newBottom.toInt() - newTop.toInt(), + MeasureSpec.EXACTLY + ) + ) + return + } else { + // Max out height + val halfWidth = displayWidth / 2 + val surfaceWidth = displayHeight * aspectRatio + val newLeft: Float = halfWidth - (surfaceWidth / 2) + val newRight: Float = halfWidth + (surfaceWidth / 2) + super.onMeasure( + MeasureSpec.makeMeasureSpec( + newRight.toInt() - newLeft.toInt(), + MeasureSpec.EXACTLY + ), + heightMeasureSpec + ) + return + } + } + super.onMeasure(widthMeasureSpec, heightMeasureSpec) + } +} 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..e15d1480b --- /dev/null +++ b/src/android/app/src/main/jni/CMakeLists.txt @@ -0,0 +1,29 @@ +# 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 + native_config.cpp + uisettings.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..34b425cb4 --- /dev/null +++ b/src/android/app/src/main/jni/config.cpp @@ -0,0 +1,330 @@ +// 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 "common/settings_enums.h" +#include "core/hle/service/acc/profile_manager.h" +#include "input_common/main.h" +#include "jni/config.h" +#include "jni/default_ini.h" +#include "uisettings.h" + +namespace FS = Common::FS; + +Config::Config(const std::string& config_name, ConfigType config_type) + : type(config_type), global{config_type == ConfigType::GlobalConfig} { + Initialize(config_name); +} + +Config::~Config() = default; + +bool Config::LoadINI(const std::string& default_contents, bool retry) { + void(FS::CreateParentDir(config_loc)); + config = std::make_unique(FS::PathToUTF8String(config_loc)); + 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.SetValue(config->GetBoolean("System", "use_docked_mode", false) + ? Settings::ConsoleMode::Docked + : Settings::ConsoleMode::Handheld); + + 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(0); + } + Settings::values.rng_seed_enabled.SetValue(rng_seed_enabled); + + 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 = 0; + } + Settings::values.custom_rtc_enabled = custom_rtc_enabled; + + 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.memory_layout_mode); + + // 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 = + static_cast(config->GetInteger("Renderer", "max_anisotropy", 1)); + + // Disable ASTC compute by default on Android + Settings::values.accelerate_astc.SetValue( + config->GetBoolean("Renderer", "accelerate_astc", false) ? Settings::AstcDecodeMode::Gpu + : Settings::AstcDecodeMode::Cpu); + + // 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); + + // Android + ReadSetting("Android", AndroidSettings::values.picture_in_picture); + ReadSetting("Android", AndroidSettings::values.screen_layout); +} + +void Config::Initialize(const std::string& config_name) { + const auto fs_config_loc = FS::GetYuzuPath(FS::YuzuPath::ConfigDir); + const auto config_file = fmt::format("{}.ini", config_name); + + switch (type) { + case ConfigType::GlobalConfig: + config_loc = FS::PathToUTF8String(fs_config_loc / config_file); + break; + case ConfigType::PerGameConfig: + config_loc = FS::PathToUTF8String(fs_config_loc / "custom" / FS::ToU8String(config_file)); + break; + case ConfigType::InputProfile: + config_loc = FS::PathToUTF8String(fs_config_loc / "input" / config_file); + LoadINI(DefaultINI::android_config_file); + return; + } + 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..e1e8f47ed --- /dev/null +++ b/src/android/app/src/main/jni/config.h @@ -0,0 +1,47 @@ +// 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 { + bool LoadINI(const std::string& default_contents = "", bool retry = true); + +public: + enum class ConfigType { + GlobalConfig, + PerGameConfig, + InputProfile, + }; + + explicit Config(const std::string& config_name = "config", + ConfigType config_type = ConfigType::GlobalConfig); + ~Config(); + + void Initialize(const std::string& config_name); + +private: + /** + * Applies a value read from the 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); + + void ReadValues(); + + const ConfigType type; + std::unique_ptr config; + std::string config_loc; + const bool global; +}; 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..960abf95a --- /dev/null +++ b/src/android/app/src/main/jni/id_cache.cpp @@ -0,0 +1,130 @@ +// 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 jmethodID s_on_emulation_started; +static jmethodID s_on_emulation_stopped; + +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; +} + +jmethodID GetOnEmulationStarted() { + return s_on_emulation_started; +} + +jmethodID GetOnEmulationStopped() { + return s_on_emulation_stopped; +} + +} // 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"); + s_on_emulation_started = + env->GetStaticMethodID(s_native_library_class, "onEmulationStarted", "()V"); + s_on_emulation_stopped = + env->GetStaticMethodID(s_native_library_class, "onEmulationStopped", "(I)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..b76158928 --- /dev/null +++ b/src/android/app/src/main/jni/id_cache.h @@ -0,0 +1,21 @@ +// 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(); +jmethodID GetOnEmulationStarted(); +jmethodID GetOnEmulationStopped(); + +} // 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..0f2a6d9e4 --- /dev/null +++ b/src/android/app/src/main/jni/native.cpp @@ -0,0 +1,895 @@ +// 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/content_archive.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 { + return m_is_running; + } + + bool IsPaused() const { + 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(); + } + + void ConfigureFilesystemProvider(const std::string& filepath) { + const auto file = m_system.GetFilesystem()->OpenFile(filepath, FileSys::Mode::Read); + if (!file) { + return; + } + + auto loader = Loader::GetLoader(m_system, file); + if (!loader) { + return; + } + + const auto file_type = loader->GetFileType(); + if (file_type == Loader::FileType::Unknown || file_type == Loader::FileType::Error) { + return; + } + + u64 program_id = 0; + const auto res2 = loader->ReadProgramId(program_id); + if (res2 == Loader::ResultStatus::Success && file_type == Loader::FileType::NCA) { + m_manual_provider->AddEntry(FileSys::TitleType::Application, + FileSys::GetCRTypeFromNCAType(FileSys::NCA{file}.GetType()), + program_id, file); + } else if (res2 == Loader::ResultStatus::Success && + (file_type == Loader::FileType::XCI || file_type == Loader::FileType::NSP)) { + const auto nsp = file_type == Loader::FileType::NSP + ? std::make_shared(file) + : FileSys::XCI{file}.GetSecurePartitionNSP(); + for (const auto& title : nsp->GetNCAs()) { + for (const auto& entry : title.second) { + m_manual_provider->AddEntry(entry.first.first, entry.first.second, title.first, + entry.second->GetBaseFile()); + } + } + } + } + + 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 + }); + + // Initialize filesystem. + m_manual_provider = std::make_unique(); + m_system.SetContentProvider(std::make_unique()); + m_system.RegisterContentProvider(FileSys::ContentProviderUnionSlot::FrontendManual, + m_manual_provider.get()); + m_system.GetFileSystemController().CreateFactories(*m_vfs); + ConfigureFilesystemProvider(filepath); + + // 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(); + + OnEmulationStopped(m_load_result); + } + + 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(); + } + + OnEmulationStarted(); + + 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::IsDockedMode(); + } + + 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 = reinterpret_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)); + } + + static void OnEmulationStarted() { + JNIEnv* env = IDCache::GetEnvForThread(); + env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), + IDCache::GetOnEmulationStarted()); + } + + static void OnEmulationStopped(Core::SystemResultStatus result) { + JNIEnv* env = IDCache::GetEnvForThread(); + env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), + IDCache::GetOnEmulationStopped(), static_cast(result)); + } + +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}; + std::atomic m_is_running = false; + std::atomic m_is_paused = false; + SoftwareKeyboard::AndroidKeyboard* m_software_keyboard{}; + std::unique_ptr m_profile_manager; + std::unique_ptr m_manual_provider; + + // 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{}; +} + +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/jni/native_config.cpp b/src/android/app/src/main/jni/native_config.cpp new file mode 100644 index 000000000..8a704960c --- /dev/null +++ b/src/android/app/src/main/jni/native_config.cpp @@ -0,0 +1,237 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include + +#include + +#include "common/logging/log.h" +#include "common/settings.h" +#include "jni/android_common/android_common.h" +#include "jni/config.h" +#include "uisettings.h" + +template +Settings::Setting* getSetting(JNIEnv* env, jstring jkey) { + auto key = GetJString(env, jkey); + auto basicSetting = Settings::values.linkage.by_key[key]; + auto basicAndroidSetting = AndroidSettings::values.linkage.by_key[key]; + if (basicSetting != 0) { + return static_cast*>(basicSetting); + } + if (basicAndroidSetting != 0) { + return static_cast*>(basicAndroidSetting); + } + LOG_ERROR(Frontend, "[Android Native] Could not find setting - {}", key); + return nullptr; +} + +extern "C" { + +jboolean Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getBoolean(JNIEnv* env, jobject obj, + jstring jkey, jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return false; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setBoolean(JNIEnv* env, jobject obj, jstring jkey, + jboolean value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(static_cast(value)); +} + +jbyte Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getByte(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return -1; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setByte(JNIEnv* env, jobject obj, jstring jkey, + jbyte value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(value); +} + +jshort Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getShort(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return -1; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setShort(JNIEnv* env, jobject obj, jstring jkey, + jshort value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(value); +} + +jint Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getInt(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return -1; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setInt(JNIEnv* env, jobject obj, jstring jkey, + jint value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(value); +} + +jfloat Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getFloat(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return -1; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setFloat(JNIEnv* env, jobject obj, jstring jkey, + jfloat value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(value); +} + +jlong Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getLong(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return -1; + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return setting->GetDefault(); + } + + return setting->GetValue(); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setLong(JNIEnv* env, jobject obj, jstring jkey, + jlong value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + setting->SetGlobal(true); + setting->SetValue(value); +} + +jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getString(JNIEnv* env, jobject obj, jstring jkey, + jboolean getDefault) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return ToJString(env, ""); + } + setting->SetGlobal(true); + + if (static_cast(getDefault)) { + return ToJString(env, setting->GetDefault()); + } + + return ToJString(env, setting->GetValue()); +} + +void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setString(JNIEnv* env, jobject obj, jstring jkey, + jstring value) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return; + } + + setting->SetGlobal(true); + setting->SetValue(GetJString(env, value)); +} + +jboolean Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getIsRuntimeModifiable(JNIEnv* env, jobject obj, + jstring jkey) { + auto key = GetJString(env, jkey); + auto setting = Settings::values.linkage.by_key[key]; + if (setting != 0) { + return setting->RuntimeModfiable(); + } + LOG_ERROR(Frontend, "[Android Native] Could not find setting - {}", key); + return true; +} + +jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getConfigHeader(JNIEnv* env, jobject obj, + jint jcategory) { + auto category = static_cast(jcategory); + return ToJString(env, Settings::TranslateCategory(category)); +} + +jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getPairedSettingKey(JNIEnv* env, jobject obj, + jstring jkey) { + auto setting = getSetting(env, jkey); + if (setting == nullptr) { + return ToJString(env, ""); + } + if (setting->PairedSetting() == nullptr) { + return ToJString(env, ""); + } + + return ToJString(env, setting->PairedSetting()->GetLabel()); +} + +} // extern "C" diff --git a/src/android/app/src/main/jni/uisettings.cpp b/src/android/app/src/main/jni/uisettings.cpp new file mode 100644 index 000000000..f2f0bad50 --- /dev/null +++ b/src/android/app/src/main/jni/uisettings.cpp @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "uisettings.h" + +namespace AndroidSettings { + +Values values; + +} // namespace AndroidSettings diff --git a/src/android/app/src/main/jni/uisettings.h b/src/android/app/src/main/jni/uisettings.h new file mode 100644 index 000000000..494654af7 --- /dev/null +++ b/src/android/app/src/main/jni/uisettings.h @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include +#include "common/common_types.h" +#include "common/settings_setting.h" + +namespace AndroidSettings { + +struct Values { + Settings::Linkage linkage; + + // Android + Settings::Setting picture_in_picture{linkage, true, "picture_in_picture", + Settings::Category::Android}; + Settings::Setting screen_layout{linkage, + 5, + "screen_layout", + Settings::Category::Android, + Settings::Specialization::Default, + true, + true}; +}; + +extern Values values; + +} // namespace AndroidSettings 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/button_l3.xml b/src/android/app/src/main/res/drawable/button_l3.xml new file mode 100644 index 000000000..0cb28836e --- /dev/null +++ b/src/android/app/src/main/res/drawable/button_l3.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/button_l3_depressed.xml b/src/android/app/src/main/res/drawable/button_l3_depressed.xml new file mode 100644 index 000000000..b078dedc9 --- /dev/null +++ b/src/android/app/src/main/res/drawable/button_l3_depressed.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/button_r3.xml b/src/android/app/src/main/res/drawable/button_r3.xml new file mode 100644 index 000000000..5c6864e26 --- /dev/null +++ b/src/android/app/src/main/res/drawable/button_r3.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/android/app/src/main/res/drawable/button_r3_depressed.xml b/src/android/app/src/main/res/drawable/button_r3_depressed.xml new file mode 100644 index 000000000..20f480179 --- /dev/null +++ b/src/android/app/src/main/res/drawable/button_r3_depressed.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 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..406df9eab --- /dev/null +++ b/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + 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..9e0ab8ecb --- /dev/null +++ b/src/android/app/src/main/res/layout-w600dp/page_setup.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + 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..8a026a30a --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_settings.xml @@ -0,0 +1,34 @@ + + + + + + + + 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..f9f1d89fb --- /dev/null +++ b/src/android/app/src/main/res/layout/card_home_option.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + 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..d1cb31739 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_slider.xml @@ -0,0 +1,30 @@ + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +