diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh index 392106bcd244e153d66ee6197d68f3d9edff2bbf..0e383fd05940dbbcc4bacfdd07b284a29885b976 100755 --- a/.ci/scripts/linux/upload.sh +++ b/.ci/scripts/linux/upload.sh @@ -37,7 +37,7 @@ fi # Don't let AppImageLauncher ask to integrate EA if [ "${RELEASE_NAME}" = "mainline" ] || [ "${RELEASE_NAME}" = "early-access" ]; then - echo "X-AppImage-Integrate=false" >> AppDir/org.suyu_emu.suyu.desktop + echo "X-AppImage-Integrate=false" >> AppDir/dev.suyu_emu.suyu.desktop fi if [ "${RELEASE_NAME}" = "mainline" ]; then diff --git a/CMakeLists.txt b/CMakeLists.txt index 9406dd64a10bf90c7a874738a38d21496ac02908..cbeb2ee689b4ab4ba66575cdfa327a4dc3447568 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,14 +732,14 @@ endif() # https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html # https://www.freedesktop.org/software/appstream/docs/ if(ENABLE_QT AND UNIX AND NOT APPLE) - install(FILES "dist/org.suyu_emu.suyu.desktop" + install(FILES "dist/dev.suyu_emu.suyu.desktop" DESTINATION "share/applications") install(FILES "dist/suyu.svg" DESTINATION "share/icons/hicolor/scalable/apps" - RENAME "org.suyu_emu.suyu.svg") - install(FILES "dist/org.suyu_emu.suyu.xml" + RENAME "dev.suyu_emu.suyu.svg") + install(FILES "dist/dev.suyu_emu.suyu.xml" DESTINATION "share/mime/packages") - install(FILES "dist/org.suyu_emu.suyu.metainfo.xml" + install(FILES "dist/dev.suyu_emu.suyu.metainfo.xml" DESTINATION "share/metainfo") endif() diff --git a/dist/org.suyu_emu.suyu.desktop b/dist/dev.suyu_emu.suyu.desktop similarity index 95% rename from dist/org.suyu_emu.suyu.desktop rename to dist/dev.suyu_emu.suyu.desktop index 26bc6dd6f17638b1c4d793737df092077b530cc2..215c9d884a666bd0d391e8f303d0f3ec819a8702 100644 --- a/dist/org.suyu_emu.suyu.desktop +++ b/dist/dev.suyu_emu.suyu.desktop @@ -8,7 +8,7 @@ Type=Application Name=suyu GenericName=Switch Emulator Comment=Nintendo Switch video game console emulator -Icon=org.suyu_emu.suyu +Icon=dev.suyu_emu.suyu TryExec=suyu Exec=suyu %f Categories=Game;Emulator;Qt; diff --git a/dist/org.suyu_emu.suyu.metainfo.xml b/dist/dev.suyu_emu.suyu.metainfo.xml similarity index 96% rename from dist/org.suyu_emu.suyu.metainfo.xml rename to dist/dev.suyu_emu.suyu.metainfo.xml index aeb2fecfbe32b3609118cb1c1b0ee5792afdebff..7677919f778445e5625840a77b0e380db285f388 100644 --- a/dist/org.suyu_emu.suyu.metainfo.xml +++ b/dist/dev.suyu_emu.suyu.metainfo.xml @@ -7,7 +7,7 @@ SPDX-License-Identifier: CC0-1.0 --> <component type="desktop-application"> - <id>org.suyu_emu.suyu</id> + <id>dev.suyu_emu.suyu</id> <metadata_license>CC0-1.0</metadata_license> <name>suyu</name> <summary>Nintendo Switch emulator</summary> @@ -34,7 +34,7 @@ SPDX-License-Identifier: CC0-1.0 <url type="contact">https://community.citra-emu.org/</url> <url type="vcs-browser">https://gitlab.com/suyu-emu/suyu</url> <url type="contribute">https://suyu-emu.org/wiki/contributing/</url> - <launchable type="desktop-id">org.suyu_emu.suyu.desktop</launchable> + <launchable type="desktop-id">dev.suyu_emu.suyu.desktop</launchable> <provides> <binary>suyu</binary> <binary>suyu-cmd</binary> diff --git a/dist/org.suyu_emu.suyu.xml b/dist/dev.suyu_emu.suyu.xml similarity index 88% rename from dist/org.suyu_emu.suyu.xml rename to dist/dev.suyu_emu.suyu.xml index 9fafef671b5287d57077956abcf0888524e0d561..7e1414ce17aeca2132bd3bb4128c2b8bc5629c8e 100644 --- a/dist/org.suyu_emu.suyu.xml +++ b/dist/dev.suyu_emu.suyu.xml @@ -10,7 +10,7 @@ SPDX-License-Identifier: GPL-2.0-or-later <mime-type type="application/x-nx-nro"> <comment>Nintendo Switch homebrew executable</comment> <acronym>NRO</acronym> - <icon name="org.suyu_emu.suyu"/> + <icon name="dev.suyu_emu.suyu"/> <glob pattern="*.nro"/> <magic><match value="NRO" type="string" offset="16"/></magic> </mime-type> @@ -18,7 +18,7 @@ SPDX-License-Identifier: GPL-2.0-or-later <mime-type type="application/x-nx-nso"> <comment>Nintendo Switch homebrew executable</comment> <acronym>NSO</acronym> - <icon name="org.suyu_emu.suyu"/> + <icon name="dev.suyu_emu.suyu"/> <glob pattern="*.nso"/> <magic><match value="NSO" type="string" offset="0"/></magic> </mime-type> @@ -26,7 +26,7 @@ SPDX-License-Identifier: GPL-2.0-or-later <mime-type type="application/x-nx-nsp"> <comment>Nintendo Switch Package</comment> <acronym>NSP</acronym> - <icon name="org.suyu_emu.suyu"/> + <icon name="dev.suyu_emu.suyu"/> <glob pattern="*.nsp"/> <magic><match value="PFS" type="string" offset="0"/></magic> </mime-type> @@ -34,7 +34,7 @@ SPDX-License-Identifier: GPL-2.0-or-later <mime-type type="application/x-nx-xci"> <comment>Nintendo Switch Card Image</comment> <acronym>XCI</acronym> - <icon name="org.suyu_emu.suyu"/> + <icon name="dev.suyu_emu.suyu"/> <glob pattern="*.xci"/> </mime-type> </mime-info> diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 78f8cc3488ed37a0176e1b32771fe1dc0b1e6203..9312d48c3323eff4206b338b12edc269524df67b 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -25,7 +25,7 @@ val autoVersion = (((System.currentTimeMillis() / 1000) - 1451606400) / 10).toIn @Suppress("UnstableApiUsage") android { - namespace = "org.suyu.suyu_emu" + namespace = "dev.suyu.suyu_emu" compileSdkVersion = "android-34" ndkVersion = "26.1.10909125" @@ -54,7 +54,7 @@ android { defaultConfig { // TODO If this is ever modified, change application_id in strings.xml - applicationId = "org.suyu.suyu_emu" + applicationId = "dev.suyu.suyu_emu" minSdk = 30 targetSdk = 34 versionName = getGitVersion() diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index 02d08c00be2522318f224d3566b0c0d6c3cb7084..5f893cd98646075a8d71490f8be1f891a7470374 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml @@ -17,7 +17,7 @@ SPDX-License-Identifier: GPL-3.0-or-later <uses-permission android:name="android.permission.VIBRATE" /> <application - android:name="org.suyu.suyu_emu.SuyuApplication" + android:name="dev.suyu.suyu_emu.SuyuApplication" android:label="@string/app_name_suffixed" android:icon="@drawable/ic_launcher" android:allowBackup="true" @@ -34,7 +34,7 @@ SPDX-License-Identifier: GPL-3.0-or-later android:resource="@xml/game_mode_config" /> <activity - android:name="org.suyu.suyu_emu.ui.main.MainActivity" + android:name="dev.suyu.suyu_emu.ui.main.MainActivity" android:exported="true" android:theme="@style/Theme.Suyu.Splash.Main"> @@ -48,12 +48,12 @@ SPDX-License-Identifier: GPL-3.0-or-later </activity> <activity - android:name="org.suyu.suyu_emu.features.settings.ui.SettingsActivity" + android:name="dev.suyu.suyu_emu.features.settings.ui.SettingsActivity" android:theme="@style/Theme.Suyu.Main" android:label="@string/preferences_settings"/> <activity - android:name="org.suyu.suyu_emu.activities.EmulationActivity" + android:name="dev.suyu.suyu_emu.activities.EmulationActivity" android:theme="@style/Theme.Suyu.Main" android:launchMode="singleTop" android:supportsPictureInPicture="true" diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/NativeLibrary.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/NativeLibrary.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/NativeLibrary.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/NativeLibrary.kt index 071737e6867052dd279910d46174baf3c4d1ebc2..8804a93d34bac3529f07f4750cd30f8a82910b0b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/NativeLibrary.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/NativeLibrary.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu +package dev.suyu.suyu_emu import android.content.DialogInterface import android.net.Uri @@ -13,14 +13,14 @@ import android.widget.TextView import androidx.annotation.Keep import com.google.android.material.dialog.MaterialAlertDialogBuilder import java.lang.ref.WeakReference -import org.suyu.suyu_emu.activities.EmulationActivity -import org.suyu.suyu_emu.fragments.CoreErrorDialogFragment -import org.suyu.suyu_emu.utils.DocumentsTree -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.Log -import org.suyu.suyu_emu.model.InstallResult -import org.suyu.suyu_emu.model.Patch -import org.suyu.suyu_emu.model.GameVerificationResult +import dev.suyu.suyu_emu.activities.EmulationActivity +import dev.suyu.suyu_emu.fragments.CoreErrorDialogFragment +import dev.suyu.suyu_emu.utils.DocumentsTree +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.model.InstallResult +import dev.suyu.suyu_emu.model.Patch +import dev.suyu.suyu_emu.model.GameVerificationResult /** * Class which contains methods that interact diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/SuyuApplication.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/SuyuApplication.kt similarity index 86% rename from src/android/app/src/main/java/org/suyu/suyu_emu/SuyuApplication.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/SuyuApplication.kt index 845e39d6d5a2cf7f965d9ecd312dfe15c295fbf2..c8ae4656e4f89ed4f371fee6627b45061315c255 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/SuyuApplication.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/SuyuApplication.kt @@ -1,18 +1,18 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu +package dev.suyu.suyu_emu import android.app.Application import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context -import org.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.NativeInput import java.io.File -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.DocumentsTree -import org.suyu.suyu_emu.utils.GpuDriverHelper -import org.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.DocumentsTree +import dev.suyu.suyu_emu.utils.GpuDriverHelper +import dev.suyu.suyu_emu.utils.Log fun Context.getPublicFilesDir(): File = getExternalFilesDir(null) ?: filesDir diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/activities/EmulationActivity.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/activities/EmulationActivity.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/activities/EmulationActivity.kt index 6aa35fb7abd7801568843f6ba225b104a745ca0c..f93d1b1bd04139a109e74328c75fbed15b6abaeb 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/activities/EmulationActivity.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/activities/EmulationActivity.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.activities +package dev.suyu.suyu_emu.activities import android.annotation.SuppressLint import android.app.PendingIntent @@ -35,23 +35,23 @@ import androidx.core.view.WindowInsetsCompat import androidx.core.view.WindowInsetsControllerCompat import androidx.navigation.fragment.NavHostFragment import androidx.preference.PreferenceManager -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.databinding.ActivityEmulationBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.model.EmulationViewModel -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.utils.InputHandler -import org.suyu.suyu_emu.utils.Log -import org.suyu.suyu_emu.utils.MemoryUtil -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.NfcReader -import org.suyu.suyu_emu.utils.ParamPackage -import org.suyu.suyu_emu.utils.ThemeHelper +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.databinding.ActivityEmulationBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.model.EmulationViewModel +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.utils.InputHandler +import dev.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.utils.MemoryUtil +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NfcReader +import dev.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.utils.ThemeHelper import java.text.NumberFormat import kotlin.math.roundToInt diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt index e8ee0fe35a29ebe83a55780510308422cdb0e67d..65240550239b58f636ffd90f4851f4f0781d6527 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractDiffAdapter.kt @@ -2,13 +2,13 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.annotation.SuppressLint import androidx.recyclerview.widget.AsyncDifferConfig import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder import androidx.recyclerview.widget.RecyclerView /** diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractListAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractListAdapter.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractListAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractListAdapter.kt index 5c5afb805f640654dd096ca04b4bb84e74461774..f8fec5260689045e0f8151f661307fd1ab06b463 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractListAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractListAdapter.kt @@ -2,11 +2,11 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.annotation.SuppressLint import androidx.recyclerview.widget.RecyclerView -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder /** * Generic list class meant to take care of basic lists diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt index 19df54045424fd5ee6ef0df68c9ba0328a5b52ca..a9ed505e57c49451944d84188ffbde13bc826873 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AbstractSingleSelectionList.kt @@ -2,10 +2,10 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters -import org.suyu.suyu_emu.model.SelectableItem -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.model.SelectableItem +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder /** * Generic list class meant to take care of single selection UI updates diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AddonAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AddonAdapter.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AddonAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AddonAdapter.kt index ae483115e904f321b76c846122764eb3f395002e..5ec95d969ee4432a9159c7940415a5bf58c08a0d 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AddonAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AddonAdapter.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup -import org.suyu.suyu_emu.databinding.ListItemAddonBinding -import org.suyu.suyu_emu.model.Patch -import org.suyu.suyu_emu.model.AddonViewModel -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.ListItemAddonBinding +import dev.suyu.suyu_emu.model.Patch +import dev.suyu.suyu_emu.model.AddonViewModel +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class AddonAdapter(val addonViewModel: AddonViewModel) : AbstractDiffAdapter<Patch, AddonAdapter.AddonViewHolder>() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AppletAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AppletAdapter.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AppletAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AppletAdapter.kt index 73c43a6d2c3fc6c7a94f0bdd19bfaaa63c13b013..c6d373f7a587e84bf59fab664df38300bd41e379 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/AppletAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/AppletAdapter.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup @@ -9,15 +9,15 @@ import android.widget.Toast import androidx.core.content.res.ResourcesCompat import androidx.fragment.app.FragmentActivity import androidx.navigation.findNavController -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.databinding.CardSimpleOutlinedBinding -import org.suyu.suyu_emu.model.Applet -import org.suyu.suyu_emu.model.AppletInfo -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.databinding.CardSimpleOutlinedBinding +import dev.suyu.suyu_emu.model.Applet +import dev.suyu.suyu_emu.model.AppletInfo +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class AppletAdapter(val activity: FragmentActivity, applets: List<Applet>) : AbstractListAdapter<Applet, AppletAdapter.AppletViewHolder>(applets) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt similarity index 79% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt index 188b3ae464a806256ef81acaf4e55486a6b2e1f3..d7125d86036ec3691398cb2dd0c013b35ea06acd 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/CabinetLauncherDialogAdapter.kt @@ -1,23 +1,23 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.core.content.res.ResourcesCompat import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.databinding.DialogListItemBinding -import org.suyu.suyu_emu.model.CabinetMode -import org.suyu.suyu_emu.adapters.CabinetLauncherDialogAdapter.CabinetModeViewHolder -import org.suyu.suyu_emu.model.AppletInfo -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.databinding.DialogListItemBinding +import dev.suyu.suyu_emu.model.CabinetMode +import dev.suyu.suyu_emu.adapters.CabinetLauncherDialogAdapter.CabinetModeViewHolder +import dev.suyu.suyu_emu.model.AppletInfo +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class CabinetLauncherDialogAdapter(val fragment: Fragment) : AbstractListAdapter<CabinetMode, CabinetModeViewHolder>( diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/DriverAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/DriverAdapter.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/DriverAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/DriverAdapter.kt index 4c8e53abbd45282d96d32f9de0af4f0dad1d4cf8..58c8555750f56635f02eac81d2e5c862ef7e0c96 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/DriverAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/DriverAdapter.kt @@ -1,18 +1,18 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.CardDriverOptionBinding -import org.suyu.suyu_emu.features.settings.model.StringSetting -import org.suyu.suyu_emu.model.Driver -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.CardDriverOptionBinding +import dev.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.model.Driver +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class DriverAdapter(private val driverViewModel: DriverViewModel) : AbstractSingleSelectionList<Driver, DriverAdapter.DriverViewHolder>( diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/FolderAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/FolderAdapter.kt similarity index 80% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/FolderAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/FolderAdapter.kt index dfe332586d9edf7ae2e1e632d9f1e1a777f1cead..ce731519388c4e58cc120804468605939e782349 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/FolderAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/FolderAdapter.kt @@ -1,18 +1,18 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.net.Uri import android.view.LayoutInflater import android.view.ViewGroup import androidx.fragment.app.FragmentActivity -import org.suyu.suyu_emu.databinding.CardFolderBinding -import org.suyu.suyu_emu.fragments.GameFolderPropertiesDialogFragment -import org.suyu.suyu_emu.model.GameDir -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.CardFolderBinding +import dev.suyu.suyu_emu.fragments.GameFolderPropertiesDialogFragment +import dev.suyu.suyu_emu.model.GameDir +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class FolderAdapter(val activity: FragmentActivity, val gamesViewModel: GamesViewModel) : AbstractDiffAdapter<GameDir, FolderAdapter.FolderViewHolder>() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GameAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GameAdapter.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GameAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GameAdapter.kt index 6a87c8852c96bf07587cb46b5614329ab0aac4f3..7cca8b9aecd0e938838e6ef3ffd686617a99db4d 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GameAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GameAdapter.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.net.Uri import android.view.LayoutInflater @@ -19,15 +19,15 @@ import androidx.preference.PreferenceManager import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.databinding.CardGameBinding -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.utils.GameIconUtils -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.databinding.CardGameBinding +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.utils.GameIconUtils +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class GameAdapter(private val activity: AppCompatActivity) : AbstractDiffAdapter<Game, GameAdapter.GameViewHolder>(exact = false) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt index 1d3916b43fde7c2b70e414f9f6259e8c50d75fd7..6cc783d2c2e65e08574a638e0705a31d53fe7524 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/GamePropertiesAdapter.kt @@ -1,21 +1,21 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.core.content.res.ResourcesCompat import androidx.lifecycle.LifecycleOwner -import org.suyu.suyu_emu.databinding.CardInstallableIconBinding -import org.suyu.suyu_emu.databinding.CardSimpleOutlinedBinding -import org.suyu.suyu_emu.model.GameProperty -import org.suyu.suyu_emu.model.InstallableProperty -import org.suyu.suyu_emu.model.SubmenuProperty -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.collect -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.CardInstallableIconBinding +import dev.suyu.suyu_emu.databinding.CardSimpleOutlinedBinding +import dev.suyu.suyu_emu.model.GameProperty +import dev.suyu.suyu_emu.model.InstallableProperty +import dev.suyu.suyu_emu.model.SubmenuProperty +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class GamePropertiesAdapter( private val viewLifecycle: LifecycleOwner, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/HomeSettingAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/HomeSettingAdapter.kt similarity index 87% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/HomeSettingAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/HomeSettingAdapter.kt index 973e0b457d5e55a3516eebefff74247cb80cb272..8ecc0e6f9031e5d04bdca3ba93c3db4571017c63 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/HomeSettingAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/HomeSettingAdapter.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup @@ -9,14 +9,14 @@ import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import androidx.core.content.res.ResourcesCompat import androidx.lifecycle.LifecycleOwner -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.CardHomeOptionBinding -import org.suyu.suyu_emu.fragments.MessageDialogFragment -import org.suyu.suyu_emu.model.HomeSetting -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.collect -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.CardHomeOptionBinding +import dev.suyu.suyu_emu.fragments.MessageDialogFragment +import dev.suyu.suyu_emu.model.HomeSetting +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class HomeSettingAdapter( private val activity: AppCompatActivity, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/InstallableAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/InstallableAdapter.kt similarity index 83% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/InstallableAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/InstallableAdapter.kt index fbd420aaaeef1769946c41903673eed3812dd23b..e4bef9e2b65554966a8c5c08b0cc33d67cfd5123 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/InstallableAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/InstallableAdapter.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup -import org.suyu.suyu_emu.databinding.CardInstallableBinding -import org.suyu.suyu_emu.model.Installable -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.CardInstallableBinding +import dev.suyu.suyu_emu.model.Installable +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class InstallableAdapter(installables: List<Installable>) : AbstractListAdapter<Installable, InstallableAdapter.InstallableViewHolder>(installables) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/LicenseAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/LicenseAdapter.kt similarity index 81% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/LicenseAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/LicenseAdapter.kt index 5358cd606749ff0b6de685b1764b63f487beeb4c..dec98c803243370b3ca04715feac9334cba866e0 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/LicenseAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/LicenseAdapter.kt @@ -1,16 +1,16 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.view.LayoutInflater import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.fragments.LicenseBottomSheetDialogFragment -import org.suyu.suyu_emu.model.License -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.fragments.LicenseBottomSheetDialogFragment +import dev.suyu.suyu_emu.model.License +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class LicenseAdapter(private val activity: AppCompatActivity, licenses: List<License>) : AbstractListAdapter<License, LicenseAdapter.LicenseViewHolder>(licenses) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/SetupAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/SetupAdapter.kt similarity index 86% rename from src/android/app/src/main/java/org/suyu/suyu_emu/adapters/SetupAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/SetupAdapter.kt index 2dcd5cfc64c1a20d61a867e21b172c649c60e362..134de7cfc3d7273c67ede140f38e94f1a2faf054 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/adapters/SetupAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/adapters/SetupAdapter.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.adapters +package dev.suyu.suyu_emu.adapters import android.text.Html import android.view.LayoutInflater @@ -10,14 +10,14 @@ import androidx.appcompat.app.AppCompatActivity import androidx.core.content.res.ResourcesCompat import androidx.lifecycle.ViewModelProvider import com.google.android.material.button.MaterialButton -import org.suyu.suyu_emu.databinding.PageSetupBinding -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.SetupCallback -import org.suyu.suyu_emu.model.SetupPage -import org.suyu.suyu_emu.model.StepState -import org.suyu.suyu_emu.utils.ViewUtils -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.databinding.PageSetupBinding +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.SetupCallback +import dev.suyu.suyu_emu.model.SetupPage +import dev.suyu.suyu_emu.model.StepState +import dev.suyu.suyu_emu.utils.ViewUtils +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder class SetupAdapter(val activity: AppCompatActivity, pages: List<SetupPage>) : AbstractListAdapter<SetupPage, SetupAdapter.SetupPageViewHolder>(pages) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt index 8558858d9f499d56683c64d345d44224937ca1c2..8831c0d43900c7947423ead3b08272c0d4174475 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.applets.keyboard +package dev.suyu.suyu_emu.applets.keyboard import android.content.Context import android.os.Handler @@ -13,9 +13,9 @@ import android.view.inputmethod.InputMethodManager import androidx.annotation.Keep import androidx.core.view.ViewCompat import java.io.Serializable -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.applets.keyboard.ui.KeyboardDialogFragment +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.applets.keyboard.ui.KeyboardDialogFragment @Keep object SoftwareKeyboard { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt index b80d9e0d045afc523bf1bfe7c2e181a605e76a25..c6ea6a8f671773f2052260b863f6aaf5418b157b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.applets.keyboard.ui +package dev.suyu.suyu_emu.applets.keyboard.ui import android.app.Dialog import android.content.DialogInterface @@ -10,11 +10,11 @@ import android.text.InputFilter import android.text.InputType import androidx.fragment.app.DialogFragment import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.applets.keyboard.SoftwareKeyboard -import org.suyu.suyu_emu.applets.keyboard.SoftwareKeyboard.KeyboardConfig -import org.suyu.suyu_emu.databinding.DialogEditTextBinding -import org.suyu.suyu_emu.utils.SerializableHelper.serializable +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.applets.keyboard.SoftwareKeyboard +import dev.suyu.suyu_emu.applets.keyboard.SoftwareKeyboard.KeyboardConfig +import dev.suyu.suyu_emu.databinding.DialogEditTextBinding +import dev.suyu.suyu_emu.utils.SerializableHelper.serializable class KeyboardDialogFragment : DialogFragment() { private lateinit var binding: DialogEditTextBinding diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt index 80df698230d97f440ad97ddc2ee57e16ae3c109a..48dd97553896a344d3dfdf4aefe1311aa8791f35 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress.kt @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.disk_shader_cache +package dev.suyu.suyu_emu.disk_shader_cache import androidx.annotation.Keep import androidx.lifecycle.ViewModelProvider -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.activities.EmulationActivity -import org.suyu.suyu_emu.model.EmulationViewModel -import org.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.activities.EmulationActivity +import dev.suyu.suyu_emu.model.EmulationViewModel +import dev.suyu.suyu_emu.utils.Log @Keep object DiskShaderCacheProgress { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/DocumentProvider.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/DocumentProvider.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/DocumentProvider.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/DocumentProvider.kt index 3e434cdd661ca32e8c483443401c833896609dac..9d77f36d540ec7d0cd1bdc12b4b00f73011c523b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/DocumentProvider.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/DocumentProvider.kt @@ -4,7 +4,7 @@ // SPDX-License-Identifier: MPL-2.0 // Copyright © 2023 Skyline Team and Contributors (https://github.com/skyline-emu/) -package org.suyu.suyu_emu.features +package dev.suyu.suyu_emu.features import android.database.Cursor import android.database.MatrixCursor @@ -14,10 +14,10 @@ import android.provider.DocumentsContract import android.provider.DocumentsProvider import android.webkit.MimeTypeMap import java.io.* -import org.suyu.suyu_emu.BuildConfig -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.getPublicFilesDir +import dev.suyu.suyu_emu.BuildConfig +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.getPublicFilesDir class DocumentProvider : DocumentsProvider() { private val baseDirectory: File diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/NativeInput.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/NativeInput.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/NativeInput.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/NativeInput.kt index 9639a614ac2046392e45ce45385a2bf6d377327f..f9485c364202e208fe74b41fbd74e9dc8d79e69a 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/NativeInput.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/NativeInput.kt @@ -2,15 +2,15 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input - -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.features.input.model.InputType -import org.suyu.suyu_emu.features.input.model.ButtonName -import org.suyu.suyu_emu.features.input.model.NpadStyleIndex -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.ParamPackage +package dev.suyu.suyu_emu.features.input + +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.features.input.model.InputType +import dev.suyu.suyu_emu.features.input.model.ButtonName +import dev.suyu.suyu_emu.features.input.model.NpadStyleIndex +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.ParamPackage import android.view.InputDevice object NativeInput { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuInputDevice.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuInputDevice.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuInputDevice.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuInputDevice.kt index 4e7fc4adf05b031c8436787e3cc921f30bd7deb9..f04ebb525341b3d917c346f45d8221614166e962 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuInputDevice.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuInputDevice.kt @@ -2,13 +2,13 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input +package dev.suyu.suyu_emu.features.input import android.view.InputDevice import androidx.annotation.Keep -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.utils.InputHandler.getGUID +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.utils.InputHandler.getGUID @Keep interface SuyuInputDevice { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuVibrator.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuVibrator.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuVibrator.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuVibrator.kt index 33cf4f578860db2c497d5e9ebdaf67f974f3965f..b1e3dad1a642eb8d5b750f6ce4f6b153119abf35 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/SuyuVibrator.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/SuyuVibrator.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input +package dev.suyu.suyu_emu.features.input import android.content.Context import android.os.Build @@ -13,7 +13,7 @@ import android.os.VibratorManager import android.view.InputDevice import androidx.annotation.Keep import androidx.annotation.RequiresApi -import org.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.SuyuApplication @Keep @Suppress("DEPRECATION") diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/AnalogDirection.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/AnalogDirection.kt similarity index 86% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/AnalogDirection.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/AnalogDirection.kt index ff4762c7d448311b8e16f1faeec062f64ef545f4..f2cf59a23c56c787591373440bf81947c7f732b0 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/AnalogDirection.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/AnalogDirection.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model enum class AnalogDirection(val int: Int, val param: String) { Up(0, "up"), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/ButtonName.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/ButtonName.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/ButtonName.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/ButtonName.kt index c33e986cdb8496ae0367b27c8e4310c61986963b..ccbb555bd35c0c5b40dac418a61c7e3a0bb4eb5e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/ButtonName.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/ButtonName.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model // Loosely matches the enum in common/input.h enum class ButtonName(val int: Int) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/InputType.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/InputType.kt similarity index 87% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/InputType.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/InputType.kt index 6d441f180ac27026f58662769852caeb67fa06e5..1b93341e0d121f130e91b8bc7cba9079f10f8174 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/InputType.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/InputType.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model // Must match the corresponding enum in input_common/main.h enum class InputType(val int: Int) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeAnalog.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeAnalog.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeAnalog.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeAnalog.kt index cbddbadcc878776b64c05c35480c0fc94e79382d..7d8cced220b0074d52f015c7d16292bda345c74e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeAnalog.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeAnalog.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model // Must match enum in src/common/settings_input.h enum class NativeAnalog(val int: Int) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeButton.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeButton.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeButton.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeButton.kt index c290cea7ca50ce8f64598d068aab50b43463c98f..29ad0b7b975bb354d4009cfe4f04070b0951cb5c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeButton.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeButton.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model // Must match enum in src/common/settings_input.h enum class NativeButton(val int: Int) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeTrigger.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeTrigger.kt similarity index 85% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeTrigger.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeTrigger.kt index ac6583b28f05248c147a084b4138975a41e28a0c..8ce026c19bde91c3aa88c9daef40ae1e33472682 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NativeTrigger.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NativeTrigger.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model // Must match enum in src/common/settings_input.h enum class NativeTrigger(val int: Int) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt index 7bad46d7288f8caf6c93627ad6fa9e28e32e60d9..a884de8de35cf8814e1bcd757bfe70f5daed34c9 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/NpadStyleIndex.kt @@ -2,10 +2,10 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model import androidx.annotation.StringRes -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.R // Must match enum in src/core/hid/hid_types.h enum class NpadStyleIndex(val int: Int, @StringRes val nameId: Int = 0) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/PlayerInput.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/PlayerInput.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/PlayerInput.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/PlayerInput.kt index 35e600dbd05672015174f7f8777584398e6df2a1..d6c91789844cbf772d5cf2445a04b9ab0129d54f 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/input/model/PlayerInput.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/input/model/PlayerInput.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.input.model +package dev.suyu.suyu_emu.features.input.model import androidx.annotation.Keep diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt similarity index 83% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt index 8266e3dbd1425884912bba573cb0d81c6d1460fe..4066805d1255f8163c98b799ae9671c8ec296382 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractBooleanSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractBooleanSetting : AbstractSetting { fun getBoolean(needsGlobal: Boolean = false): Boolean diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt index 6ef8255341485afa0fa7626a5f52f346b172bc57..d8cd03f295e84533a974769f0c76f09e15c16c5f 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractByteSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractByteSetting : AbstractSetting { fun getByte(needsGlobal: Boolean = false): Byte diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt index 5437a65ade1a6985dd351bb7c189332ba31a1973..bd95009db809301fcdc1f3a5512b3152871e9129 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractFloatSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractFloatSetting : AbstractSetting { fun getFloat(needsGlobal: Boolean = false): Float diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt index 1d979d153dea612f91f73cc141cbd8250fc058ed..c9269cde3743be987e94c6c03c09d603e41398e6 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractIntSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractIntSetting : AbstractSetting { fun getInt(needsGlobal: Boolean = false): Int diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt index 22e94c10b866e75880f59114d82d0b3eef0b4872..b74a150c12e008134d9eaeea0a093173e5a92d67 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractLongSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractLongSetting : AbstractSetting { fun getLong(needsGlobal: Boolean = false): Long diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractSetting.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractSetting.kt index f4cf067e65bb2a2c30a7cfeb4f6157ce97b0c63a..41bbf62d46277d87adc044965605521dfc2e02e2 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig interface AbstractSetting { val key: String diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt index 44888022692604fba92408106c01cff849aa813d..e8c3bcf9abc19315f9e369f7ed8a1573819baab2 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractShortSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractShortSetting : AbstractSetting { fun getShort(needsGlobal: Boolean = false): Short diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt index 3afb1bc3a13d2646247b2d3954108d358ffc48cd..5820192b74a84a9dc301abbf52195b7c128ec972 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/AbstractStringSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model interface AbstractStringSetting : AbstractSetting { fun getString(needsGlobal: Boolean = false): String diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/BooleanSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/BooleanSetting.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/BooleanSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/BooleanSetting.kt index 2e36e82b9a54a9cd32e6148cda385266e933bff0..2958f02ca18ae58a329b51949f5f8d50f9ee9114 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/BooleanSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/BooleanSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class BooleanSetting(override val key: String) : AbstractBooleanSetting { AUDIO_MUTED("audio_muted"), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ByteSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ByteSetting.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ByteSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ByteSetting.kt index 9a3f966697f2bf448a14ddf80126b5b492eadca8..fe6f84a0f6220095ca88cc09f6da31d4d69a8419 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ByteSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ByteSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class ByteSetting(override val key: String) : AbstractByteSetting { AUDIO_VOLUME("volume"); diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/FloatSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/FloatSetting.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/FloatSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/FloatSetting.kt index 6d266cb5c897ab6a3d208385af4f1fc2b3f2edc8..a6d744d68b19d2141f120a7c1d3d9f54a6522dcc 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/FloatSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/FloatSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class FloatSetting(override val key: String) : AbstractFloatSetting { // No float settings currently exist diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/IntSetting.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/IntSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/IntSetting.kt index bf62df3c28ea5fd78362ff846d13ed2e1b65b0f9..4e9f0a00c4686f68ea420816b344cba7105b1c4f 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/IntSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/IntSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class IntSetting(override val key: String) : AbstractIntSetting { CPU_BACKEND("cpu_backend"), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/LongSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/LongSetting.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/LongSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/LongSetting.kt index 01f2e580ae69205ba620766854cd391f4d3e84f7..e6bc2116eb74e1fdf56f1fbcc0e0aaffd93ef8a8 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/LongSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/LongSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class LongSetting(override val key: String) : AbstractLongSetting { CUSTOM_RTC("custom_rtc"); diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/Settings.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/Settings.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/Settings.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/Settings.kt index 2352c3824f7b7ad4a6bdec8dabbd80b15cc3b376..b4cfca4c7785b046b534470ce0c5309c987f68f6 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/Settings.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/Settings.kt @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication object Settings { enum class MenuTag(val titleId: Int = 0) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ShortSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ShortSetting.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ShortSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ShortSetting.kt index 45614501c371c3bcf455a5265c83af5a2e75682b..2525e6d63ab008f21c423836798f5d5ef92976fe 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/ShortSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/ShortSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class ShortSetting(override val key: String) : AbstractShortSetting { RENDERER_SPEED_LIMIT("speed_limit"); diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/StringSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/StringSetting.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/StringSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/StringSetting.kt index 3f40fedcce62e9ef7f57e64f3ea924c2aa4611a0..61a169ae8ac255d3628ee472c063a80a44888140 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/StringSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/StringSetting.kt @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model +package dev.suyu.suyu_emu.features.settings.model -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.NativeConfig enum class StringSetting(override val key: String) : AbstractStringSetting { DRIVER_PATH("driver_path"), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt similarity index 72% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt index 78103ba85811cee0b6a79d2f0407331edfcebd3d..bea116f22949a86cc21fbd3cd8e531a85c65a290 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/AnalogInputSetting.kt @@ -2,14 +2,14 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.AnalogDirection -import org.suyu.suyu_emu.features.input.model.InputType -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.AnalogDirection +import dev.suyu.suyu_emu.features.input.model.InputType +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.utils.ParamPackage class AnalogInputSetting( override val playerIndex: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt similarity index 75% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt index e586cedbb0c700df559023701bc3eb6e18b13919..6279ef7b92df43e07469d7455fa8914080648624 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ButtonInputSetting.kt @@ -2,13 +2,13 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.utils.ParamPackage -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.InputType -import org.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.InputType +import dev.suyu.suyu_emu.features.input.model.NativeButton class ButtonInputSetting( override val playerIndex: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt index 7ed6a721aff8191fa8f8d4715140b662cf4550c6..72fe741c0e97cd32b62344f441aaf1fc83454b67 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/DateTimeSetting.kt @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractLongSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractLongSetting class DateTimeSetting( private val longSetting: AbstractLongSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt similarity index 85% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt index da9b34e9bee2a297e48720af7ab6caa6e1d83048..df6bdfb1291e682a6191a79740de7c8a6098c3dd 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/HeaderSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt similarity index 85% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt index 461588354a2ac4234f4e46947bcb1d3aa946bd87..708e0ae40ff62f178edbf69e1a1b810f148e49f7 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputProfileSetting.kt @@ -2,11 +2,11 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.utils.NativeConfig class InputProfileSetting(private val playerIndex: Int) : SettingsItem(emptySetting, R.string.profile, "", 0, "") { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputSetting.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputSetting.kt index ac54cda37798ae6a6d3eb2c03befdb9f0b3b58d2..417e8f2655bce1b86ef0f84b41ea191c36e826b9 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/InputSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/InputSetting.kt @@ -2,15 +2,15 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.ButtonName -import org.suyu.suyu_emu.features.input.model.InputType -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.ButtonName +import dev.suyu.suyu_emu.features.input.model.InputType +import dev.suyu.suyu_emu.utils.ParamPackage sealed class InputSetting( @StringRes titleId: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt index ba437992546f7bf8c705bb0daad62b80f85fee5e..f61a60be156e346f1acb7cd4fabb00e629a0e1ba 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/IntSingleChoiceSetting.kt @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting class IntSingleChoiceSetting( private val intSetting: AbstractIntSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt similarity index 78% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt index 4d1e2c66996f2cbcfed70cb17e0aad3f65fd990f..611160286e222d4460a01bc4ecebc5a791d7ae27 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/ModifierInputSetting.kt @@ -2,13 +2,13 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.InputType -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.InputType +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.utils.ParamPackage class ModifierInputSetting( override val playerIndex: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt index b48e0ee4d12e33e46a69f88b81577c933270b414..8a7f88ebb50b8436d82a068e9dd6f543971b8260 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/RunnableSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.DrawableRes import androidx.annotation.StringRes diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt index f59f4ebf534ddbf4a05b810c6a66530f77ca26e8..ea59f5ff6301f9ffd15aeff6f64604c3ce28ad3e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SettingsItem.kt @@ -1,23 +1,23 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.NpadStyleIndex -import org.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting -import org.suyu.suyu_emu.features.settings.model.AbstractSetting -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.ByteSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.features.settings.model.LongSetting -import org.suyu.suyu_emu.features.settings.model.ShortSetting -import org.suyu.suyu_emu.features.settings.model.StringSetting -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.NpadStyleIndex +import dev.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractSetting +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.ByteSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.features.settings.model.LongSetting +import dev.suyu.suyu_emu.features.settings.model.ShortSetting +import dev.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.utils.NativeConfig /** * ViewModel abstraction for an Item in the RecyclerView powering SettingsFragments. diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt index 4d0edda0ffacdf96f85e40c8ad831f93bc62f123..70fc58941f642760db315af8ae1f4b52f9bd9dca 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SingleChoiceSetting.kt @@ -1,12 +1,12 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.ArrayRes import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting -import org.suyu.suyu_emu.features.settings.model.AbstractSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractSetting class SingleChoiceSetting( setting: AbstractSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt similarity index 78% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt index 45471a64e8dff3d5de762d899af4c6f05ffc888e..1ad5caeb7e137157938a5e124d4f5411351a9504 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SliderSetting.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractByteSetting -import org.suyu.suyu_emu.features.settings.model.AbstractFloatSetting -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting -import org.suyu.suyu_emu.features.settings.model.AbstractSetting -import org.suyu.suyu_emu.features.settings.model.AbstractShortSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractByteSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractFloatSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractShortSetting import kotlin.math.roundToInt class SliderSetting( diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt similarity index 86% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt index f2dbeb2912fdf016e470ff86c06e71b338c93f03..82c36b622d9c6192b3b9028c71105da93fddb42d 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringInputSetting.kt @@ -2,10 +2,10 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractStringSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractStringSetting class StringInputSetting( setting: AbstractStringSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt index 2a35a1b42591440df0bfb9a5e0066fd70c2fb89a..f3556eb4158c3dd593f3e61b66d562d17f16f342 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/StringSingleChoiceSetting.kt @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractStringSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractStringSetting class StringSingleChoiceSetting( private val stringSetting: AbstractStringSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt index e381af10a3253e4d693e0d1f33c971d39b847ddf..c88a6014c1b07b28c6070f40cc503a8ead1bf919 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SubmenuSetting.kt @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.DrawableRes import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.features.settings.model.Settings class SubmenuSetting( @StringRes titleId: Int = 0, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt similarity index 79% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt index f7d4b73f919d66eee0a622290b88381c76a80cb5..afa83ccfc04056ee563e8d057b48dcd100782280 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/model/view/SwitchSetting.kt @@ -1,12 +1,12 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.model.view +package dev.suyu.suyu_emu.features.settings.model.view import androidx.annotation.StringRes -import org.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting -import org.suyu.suyu_emu.features.settings.model.AbstractSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractSetting class SwitchSetting( setting: AbstractSetting, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt index af7767af5193d8bcde3438968288e5ea415403c1..904fdeef1575f549c5a4dff15cda9499b44ff6d5 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputDialogFragment.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.app.Dialog import android.graphics.drawable.Animatable2 @@ -18,17 +18,17 @@ import android.view.ViewGroup import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogMappingBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting -import org.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting -import org.suyu.suyu_emu.features.settings.model.view.InputSetting -import org.suyu.suyu_emu.features.settings.model.view.ModifierInputSetting -import org.suyu.suyu_emu.utils.InputHandler -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogMappingBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.InputSetting +import dev.suyu.suyu_emu.features.settings.model.view.ModifierInputSetting +import dev.suyu.suyu_emu.utils.InputHandler +import dev.suyu.suyu_emu.utils.ParamPackage class InputDialogFragment : DialogFragment() { private var inputAccepted = false diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt index 693cb77cbb9709c911b545c10b7eed7e7bdb816e..2b4dd0f98ef4cb15df9b2a2d9a87002694fc909c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileAdapter.kt @@ -2,16 +2,16 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.view.LayoutInflater import android.view.View import android.view.ViewGroup -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.AbstractListAdapter -import org.suyu.suyu_emu.databinding.ListItemInputProfileBinding -import org.suyu.suyu_emu.viewholder.AbstractViewHolder -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.AbstractListAdapter +import dev.suyu.suyu_emu.databinding.ListItemInputProfileBinding +import dev.suyu.suyu_emu.viewholder.AbstractViewHolder +import dev.suyu.suyu_emu.R class InputProfileAdapter(options: List<ProfileItem>) : AbstractListAdapter<ProfileItem, AbstractViewHolder<ProfileItem>>(options) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt index 55acee9eda17c8f6108863da7ed0ab5504847a73..aa37d868173777df8020a871a12c6de229e34d7b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/InputProfileDialogFragment.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.app.Dialog import android.os.Bundle @@ -14,11 +14,11 @@ import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogInputProfilesBinding -import org.suyu.suyu_emu.features.settings.model.view.InputProfileSetting -import org.suyu.suyu_emu.fragments.MessageDialogFragment -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogInputProfilesBinding +import dev.suyu.suyu_emu.features.settings.model.view.InputProfileSetting +import dev.suyu.suyu_emu.fragments.MessageDialogFragment +import dev.suyu.suyu_emu.utils.collect class InputProfileDialogFragment : DialogFragment() { private var position = 0 diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt index e683caf190aae416ac5d7909b039a615e2def30a..abf02cf80434c41de7d728067de5634addbe95d1 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/NewInputProfileDialogFragment.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.app.Dialog import android.os.Bundle @@ -10,9 +10,9 @@ import android.widget.Toast import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.databinding.DialogEditTextBinding -import org.suyu.suyu_emu.features.settings.model.view.InputProfileSetting -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogEditTextBinding +import dev.suyu.suyu_emu.features.settings.model.view.InputProfileSetting +import dev.suyu.suyu_emu.R class NewInputProfileDialogFragment : DialogFragment() { private var position = 0 diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt index aaa621a1da6211e8f6197f4d94bc458b1f2ece91..aa33a4afd629a0df9039746274147ac4f20f8c84 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsActivity.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.os.Bundle import android.view.View @@ -16,14 +16,14 @@ import androidx.core.view.WindowInsetsCompat import androidx.navigation.fragment.NavHostFragment import androidx.navigation.navArgs import com.google.android.material.color.MaterialColors -import org.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.NativeLibrary import java.io.IOException -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.ActivitySettingsBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.settings.utils.SettingsFile -import org.suyu.suyu_emu.fragments.ResetSettingsDialogFragment -import org.suyu.suyu_emu.utils.* +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.ActivitySettingsBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.settings.utils.SettingsFile +import dev.suyu.suyu_emu.fragments.ResetSettingsDialogFragment +import dev.suyu.suyu_emu.utils.* class SettingsActivity : AppCompatActivity() { private lateinit var binding: ActivitySettingsBinding diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt index 6693e16096de4ad9f09679ca5582110539b9e782..e72eb6a67e0d822d371572d46f7ff422c032dc8b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsAdapter.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.content.Context import android.icu.util.Calendar @@ -20,18 +20,18 @@ 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 org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SettingsNavigationDirections -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.databinding.ListItemSettingInputBinding -import org.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding -import org.suyu.suyu_emu.databinding.ListItemSettingsHeaderBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.AnalogDirection -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting -import org.suyu.suyu_emu.features.settings.model.view.* -import org.suyu.suyu_emu.features.settings.ui.viewholder.* -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SettingsNavigationDirections +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.databinding.ListItemSettingInputBinding +import dev.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding +import dev.suyu.suyu_emu.databinding.ListItemSettingsHeaderBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.AnalogDirection +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.view.* +import dev.suyu.suyu_emu.features.settings.ui.viewholder.* +import dev.suyu.suyu_emu.utils.ParamPackage class SettingsAdapter( private val fragment: Fragment, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt index 8d22dc1d551d77baff6274f76ef531b5ceceeae1..11b46e93389301ba4c9bff322cdfd57463bb90cf 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.app.Dialog import android.content.DialogInterface @@ -13,21 +13,21 @@ import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder import com.google.android.material.slider.Slider -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogEditTextBinding -import org.suyu.suyu_emu.databinding.DialogSliderBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.AnalogDirection -import org.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting -import org.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting -import org.suyu.suyu_emu.features.settings.model.view.IntSingleChoiceSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.SingleChoiceSetting -import org.suyu.suyu_emu.features.settings.model.view.SliderSetting -import org.suyu.suyu_emu.features.settings.model.view.StringInputSetting -import org.suyu.suyu_emu.features.settings.model.view.StringSingleChoiceSetting -import org.suyu.suyu_emu.utils.ParamPackage -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogEditTextBinding +import dev.suyu.suyu_emu.databinding.DialogSliderBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.AnalogDirection +import dev.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.IntSingleChoiceSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.SingleChoiceSetting +import dev.suyu.suyu_emu.features.settings.model.view.SliderSetting +import dev.suyu.suyu_emu.features.settings.model.view.StringInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.StringSingleChoiceSetting +import dev.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.utils.collect class SettingsDialogFragment : DialogFragment(), DialogInterface.OnClickListener { private var type = 0 diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt index 8e7896780a6343c94afe293b7100ae6f8107ec42..4e53f925ac64b9514bed16bed5b130a2e32798ee 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.annotation.SuppressLint import android.os.Bundle @@ -17,13 +17,13 @@ import androidx.navigation.findNavController import androidx.navigation.fragment.navArgs import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.FragmentSettingsBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.fragments.MessageDialogFragment -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.FragmentSettingsBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.fragments.MessageDialogFragment +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect class SettingsFragment : Fragment() { private lateinit var presenter: SettingsFragmentPresenter diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt index 876725a35e259d3ee52d6cf9568c69beb6e25e0b..0b22a5c06307bcd40d648b7e143f0ffa24c0abf8 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsFragmentPresenter.kt @@ -1,32 +1,32 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.annotation.SuppressLint import android.os.Build import android.widget.Toast -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.model.AnalogDirection -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.features.input.model.NpadStyleIndex -import org.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting -import org.suyu.suyu_emu.features.settings.model.AbstractIntSetting -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.ByteSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.features.settings.model.LongSetting -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.features.settings.model.Settings.MenuTag -import org.suyu.suyu_emu.features.settings.model.ShortSetting -import org.suyu.suyu_emu.features.settings.model.StringSetting -import org.suyu.suyu_emu.features.settings.model.view.* -import org.suyu.suyu_emu.utils.InputHandler -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.model.AnalogDirection +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.input.model.NpadStyleIndex +import dev.suyu.suyu_emu.features.settings.model.AbstractBooleanSetting +import dev.suyu.suyu_emu.features.settings.model.AbstractIntSetting +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.ByteSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.features.settings.model.LongSetting +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.features.settings.model.Settings.MenuTag +import dev.suyu.suyu_emu.features.settings.model.ShortSetting +import dev.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.features.settings.model.view.* +import dev.suyu.suyu_emu.utils.InputHandler +import dev.suyu.suyu_emu.utils.NativeConfig class SettingsFragmentPresenter( private val settingsViewModel: SettingsViewModel, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt index bab4765b5a5d41b4fae119730956e71ce64fac94..2cd10632bd144c9646cd91a8c6b7738307d3c1aa 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsSearchFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import android.content.Context import android.os.Bundle @@ -19,13 +19,13 @@ 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.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.FragmentSettingsSearchBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.FragmentSettingsSearchBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect class SettingsSearchFragment : Fragment() { private var _binding: FragmentSettingsSearchBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt index e99dec076d26edd3e8e48c3145b74c2d3d517655..7f2faa336fd81e1262b2787d999f2c0d4c4c93d2 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/SettingsViewModel.kt @@ -1,18 +1,18 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui +package dev.suyu.suyu_emu.features.settings.ui import androidx.lifecycle.ViewModel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.asStateFlow -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.utils.InputHandler -import org.suyu.suyu_emu.utils.ParamPackage +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.utils.InputHandler +import dev.suyu.suyu_emu.utils.ParamPackage class SettingsViewModel : ViewModel() { var game: Game? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt similarity index 82% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt index a996f044f9e03075b74f5a060cd111456fd583f7..1581fea85037f2c7ec11a8a30d0c3dcf56a5b426 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View import java.time.Instant @@ -9,11 +9,11 @@ import java.time.ZoneId import java.time.ZonedDateTime import java.time.format.DateTimeFormatter import java.time.format.FormatStyle -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.DateTimeSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.DateTimeSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class DateTimeViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt similarity index 70% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt index 7b9c8303d49b2e2378098dde6b04f0c575484622..8768a387dd758f33b342a93a76df618954f0ac30 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/HeaderViewHolder.kt @@ -1,12 +1,12 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.databinding.ListItemSettingsHeaderBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.databinding.ListItemSettingsHeaderBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter class HeaderViewHolder(val binding: ListItemSettingsHeaderBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt similarity index 72% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt index 72c27b668a0032fe4868b3e490bf4db4eceef261..ea5ea262cc2b2d4c8f7b6e341b64dd72d77a7554 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputProfileViewHolder.kt @@ -2,15 +2,15 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.InputProfileSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.InputProfileSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class InputProfileViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt similarity index 76% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt index d66e4e75816ff54cc0ec00630d484aaaf9faf27c..9260a90c36db71a394766456b0fc4d06c004bf1c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/InputViewHolder.kt @@ -2,18 +2,18 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.databinding.ListItemSettingInputBinding -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting -import org.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting -import org.suyu.suyu_emu.features.settings.model.view.InputSetting -import org.suyu.suyu_emu.features.settings.model.view.ModifierInputSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingInputBinding +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.settings.model.view.AnalogInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.ButtonInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.InputSetting +import dev.suyu.suyu_emu.features.settings.model.view.ModifierInputSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class InputViewHolder(val binding: ListItemSettingInputBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt similarity index 79% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt index f210925fd25fcfdc815723aceca86dc869e14b92..886ea6adceacced2f025671da50c6c09807e54f4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View import androidx.core.content.res.ResourcesCompat -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.RunnableSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.RunnableSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class RunnableViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt index 93b096746289cddf2d8b41da5edef1fa09a88302..c0d467ef9228102651e052b2a2ca8dcdfd15dcd4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SettingViewHolder.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View import androidx.recyclerview.widget.RecyclerView -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter abstract class SettingViewHolder(itemView: View, protected val adapter: SettingsAdapter) : RecyclerView.ViewHolder(itemView), View.OnClickListener, View.OnLongClickListener { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt similarity index 85% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt index f8b891c94ae20f3a1cefbcaf61f7859c3bf06ec4..450424503e402826aae5f340f20ab6c5a0aff410 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt @@ -1,16 +1,16 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.IntSingleChoiceSetting -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.SingleChoiceSetting -import org.suyu.suyu_emu.features.settings.model.view.StringSingleChoiceSetting -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.IntSingleChoiceSetting +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.SingleChoiceSetting +import dev.suyu.suyu_emu.features.settings.model.view.StringSingleChoiceSetting +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class SingleChoiceViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt similarity index 79% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt index 160dc33b7517266786ecd03563086118d4599245..3d9ef7caf7541947cf104e8d9d9285e980b2de36 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SliderViewHolder.kt @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.SliderSetting -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.SliderSetting +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class SliderViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt similarity index 79% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt index 3acc7248cdee938c045bd5525736ea4f45bfba1f..63ce59a84bdb7d7e828cbd48c8855a7e67e46c27 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/StringInputViewHolder.kt @@ -2,14 +2,14 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.StringInputSetting -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.StringInputSetting +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class StringInputViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt similarity index 78% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt index 3701f0f46e96a93ef1c3e913e4e639f2e64c13c0..38102d672eb1a8ec49592e8b34d3cf99a3f2739e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View import androidx.core.content.res.ResourcesCompat -import org.suyu.suyu_emu.databinding.ListItemSettingBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.SubmenuSetting -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.SubmenuSetting +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class SubmenuViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt similarity index 81% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt index 93e50f381b6aa6f7e9de5aef8095e245413426cf..4b45251298b7dd0a10f1daf02abee26f78131430 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.ui.viewholder +package dev.suyu.suyu_emu.features.settings.ui.viewholder import android.view.View import android.widget.CompoundButton -import org.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding -import org.suyu.suyu_emu.features.settings.model.view.SettingsItem -import org.suyu.suyu_emu.features.settings.model.view.SwitchSetting -import org.suyu.suyu_emu.features.settings.ui.SettingsAdapter -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.databinding.ListItemSettingSwitchBinding +import dev.suyu.suyu_emu.features.settings.model.view.SettingsItem +import dev.suyu.suyu_emu.features.settings.model.view.SwitchSetting +import dev.suyu.suyu_emu.features.settings.ui.SettingsAdapter +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible class SwitchSettingViewHolder(val binding: ListItemSettingSwitchBinding, adapter: SettingsAdapter) : SettingViewHolder(binding.root, adapter) { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/utils/SettingsFile.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/utils/SettingsFile.kt similarity index 77% rename from src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/utils/SettingsFile.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/utils/SettingsFile.kt index 3c05c2c219b489fea1c25e1bea1e6b4fc6c95505..3532cdef87a0d5ab799a2a5796c2db833357c1c2 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/features/settings/utils/SettingsFile.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/features/settings/utils/SettingsFile.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.features.settings.utils +package dev.suyu.suyu_emu.features.settings.utils import android.net.Uri -import org.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.model.Game import java.io.* -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.NativeConfig /** * Contains static methods for interacting with .ini files in which settings are stored. diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AboutFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AboutFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AboutFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AboutFragment.kt index 66b4fd5604f4736d82d32c64fbf38f71cd389223..5902a997aaec4ed2990a65e991978a3d86c0ed66 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AboutFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AboutFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.ClipData import android.content.ClipboardManager @@ -21,11 +21,11 @@ import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.BuildConfig -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.FragmentAboutBinding -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.BuildConfig +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.FragmentAboutBinding +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class AboutFragment : Fragment() { private var _binding: FragmentAboutBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt index bfc06a31c9429b8d28d879fa7c9d5c1b4cc71118..6e75e5d13937babc1becc53d02a70abcd48628d3 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddGameFolderDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -10,11 +10,11 @@ import android.os.Bundle import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogAddFolderBinding -import org.suyu.suyu_emu.model.GameDir -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogAddFolderBinding +import dev.suyu.suyu_emu.model.GameDir +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel class AddGameFolderDialogFragment : DialogFragment() { private val homeViewModel: HomeViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddonsFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddonsFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddonsFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddonsFragment.kt index 825b0869de54528067b9be111dc91e22ecfffb2d..7d2b9a2f279451f1efc16da70a17216e62b85d1c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AddonsFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AddonsFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.Intent import android.os.Bundle @@ -19,16 +19,15 @@ import androidx.navigation.findNavController import androidx.navigation.fragment.navArgs import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import kotlinx.coroutines.launch -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.AddonAdapter -import org.suyu.suyu_emu.databinding.FragmentAddonsBinding -import org.suyu.suyu_emu.model.AddonViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.AddonUtil -import org.suyu.suyu_emu.utils.FileUtil.copyFilesTo -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.AddonAdapter +import dev.suyu.suyu_emu.databinding.FragmentAddonsBinding +import dev.suyu.suyu_emu.model.AddonViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.AddonUtil +import dev.suyu.suyu_emu.utils.FileUtil.copyFilesTo +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect import java.io.File class AddonsFragment : Fragment() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AppletLauncherFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AppletLauncherFragment.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AppletLauncherFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AppletLauncherFragment.kt index 138e5074afed386238b98798d255a822d49b9915..622ef144a00e4f8f25630b4c76c3fa72ae984a4e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/AppletLauncherFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/AppletLauncherFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.os.Bundle import android.view.LayoutInflater @@ -15,13 +15,13 @@ import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import androidx.recyclerview.widget.GridLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.AppletAdapter -import org.suyu.suyu_emu.databinding.FragmentAppletLauncherBinding -import org.suyu.suyu_emu.model.Applet -import org.suyu.suyu_emu.model.AppletInfo -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.AppletAdapter +import dev.suyu.suyu_emu.databinding.FragmentAppletLauncherBinding +import dev.suyu.suyu_emu.model.Applet +import dev.suyu.suyu_emu.model.AppletInfo +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class AppletLauncherFragment : Fragment() { private var _binding: FragmentAppletLauncherBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt similarity index 86% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt index dce2c8ca1f864492b8904a0d38f86141afed02aa..8be5d21ea09be3b0cec4284ffb3af2da73338388 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CabinetLauncherDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.os.Bundle @@ -11,9 +11,9 @@ import android.view.ViewGroup import androidx.fragment.app.DialogFragment import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.CabinetLauncherDialogAdapter -import org.suyu.suyu_emu.databinding.DialogListBinding +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.CabinetLauncherDialogAdapter +import dev.suyu.suyu_emu.databinding.DialogListBinding class CabinetLauncherDialogFragment : DialogFragment() { private lateinit var binding: DialogListBinding diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt index 5bbf751a3a7e9d65dcaee5957b8e155ded8d0004..a11e058a73d69e6aa3e9173d33916a77202e0a71 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ContentTypeSelectionDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -10,10 +10,10 @@ import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import androidx.preference.PreferenceManager import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.model.AddonViewModel -import org.suyu.suyu_emu.ui.main.MainActivity +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.model.AddonViewModel +import dev.suyu.suyu_emu.ui.main.MainActivity class ContentTypeSelectionDialogFragment : DialogFragment() { private val addonViewModel: AddonViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt index 16f3e8b08fdead3912a866fb2791f624084165fd..bcba2b97501d193c9c46f8341f8e127cab23f15b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/CoreErrorDialogFragment.kt @@ -2,15 +2,15 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface import android.os.Bundle import androidx.fragment.app.DialogFragment import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R class CoreErrorDialogFragment : DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog = diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriverManagerFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriverManagerFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriverManagerFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriverManagerFragment.kt index 812037563b550a81d54694281c17315a02690853..1645400b411d8ef10b0a8ebdeaafdfc868836e4c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriverManagerFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriverManagerFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.os.Bundle import android.view.LayoutInflater @@ -18,20 +18,19 @@ import androidx.navigation.fragment.navArgs import androidx.recyclerview.widget.GridLayoutManager import com.google.android.material.transition.MaterialSharedAxis import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.DriverAdapter -import org.suyu.suyu_emu.databinding.FragmentDriverManagerBinding -import org.suyu.suyu_emu.features.settings.model.StringSetting -import org.suyu.suyu_emu.model.Driver.Companion.toDriver -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.GpuDriverHelper -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.DriverAdapter +import dev.suyu.suyu_emu.databinding.FragmentDriverManagerBinding +import dev.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.model.Driver.Companion.toDriver +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.GpuDriverHelper +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect import java.io.File import java.io.IOException diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt similarity index 87% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt index 993eb015d7b2e5657ee763ebdea2ab84f11fb5f5..6f97d5a4eb1866c03bf8547f711f8cb71f24f019 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/DriversLoadingDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.os.Bundle @@ -11,10 +11,10 @@ import android.view.ViewGroup import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogProgressBarBinding -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogProgressBarBinding +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.utils.collect class DriversLoadingDialogFragment : DialogFragment() { private val driverViewModel: DriverViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EarlyAccessFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EarlyAccessFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EarlyAccessFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EarlyAccessFragment.kt index 7eebf771596ecbb0dd4d45c93abbf9ffb4c61387..28215693b6c92518bb4055c5455ad07d743133b1 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EarlyAccessFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EarlyAccessFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.Intent import android.net.Uri @@ -16,10 +16,10 @@ import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.navigation.fragment.findNavController import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.FragmentEarlyAccessBinding -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.FragmentEarlyAccessBinding +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class EarlyAccessFragment : Fragment() { private var _binding: FragmentEarlyAccessBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EmulationFragment.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EmulationFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EmulationFragment.kt index 62fbcaf6295917e56cb3bba8dba58ab840c69f37..79a7078e532a3151f00edc57eb504dcdabfacc29 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/EmulationFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/EmulationFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.annotation.SuppressLint import android.app.AlertDialog @@ -39,25 +39,25 @@ 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 org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.activities.EmulationActivity -import org.suyu.suyu_emu.databinding.DialogOverlayAdjustBinding -import org.suyu.suyu_emu.databinding.FragmentEmulationBinding -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.features.settings.model.Settings.EmulationOrientation -import org.suyu.suyu_emu.features.settings.model.Settings.EmulationVerticalAlignment -import org.suyu.suyu_emu.features.settings.utils.SettingsFile -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.model.EmulationViewModel -import org.suyu.suyu_emu.overlay.model.OverlayControl -import org.suyu.suyu_emu.overlay.model.OverlayLayout -import org.suyu.suyu_emu.utils.* -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.activities.EmulationActivity +import dev.suyu.suyu_emu.databinding.DialogOverlayAdjustBinding +import dev.suyu.suyu_emu.databinding.FragmentEmulationBinding +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.features.settings.model.Settings.EmulationOrientation +import dev.suyu.suyu_emu.features.settings.model.Settings.EmulationVerticalAlignment +import dev.suyu.suyu_emu.features.settings.utils.SettingsFile +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.model.EmulationViewModel +import dev.suyu.suyu_emu.overlay.model.OverlayControl +import dev.suyu.suyu_emu.overlay.model.OverlayLayout +import dev.suyu.suyu_emu.utils.* +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible import java.lang.NullPointerException class EmulationFragment : Fragment(), SurfaceHolder.Callback { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt index e65f0f5e6c460107e11699340d690f0c180e3b44..f40c4daaaeff076c4b327cfdcde7dd2788f8f889 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFolderPropertiesDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -9,12 +9,12 @@ import android.os.Bundle import androidx.fragment.app.DialogFragment import androidx.fragment.app.activityViewModels import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogFolderPropertiesBinding -import org.suyu.suyu_emu.model.GameDir -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.SerializableHelper.parcelable +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogFolderPropertiesBinding +import dev.suyu.suyu_emu.model.GameDir +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.SerializableHelper.parcelable class GameFolderPropertiesDialogFragment : DialogFragment() { private val gamesViewModel: GamesViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFoldersFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFoldersFragment.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFoldersFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFoldersFragment.kt index 7b9ccce0a10b697b028b964d0268b7d4c567c9fc..198afc26a125a6bbd1fd1e1319b859aa813ed712 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameFoldersFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameFoldersFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.Intent import android.os.Bundle @@ -16,15 +16,14 @@ import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import androidx.recyclerview.widget.GridLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import kotlinx.coroutines.launch -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.FolderAdapter -import org.suyu.suyu_emu.databinding.FragmentFoldersBinding -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.ui.main.MainActivity -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.FolderAdapter +import dev.suyu.suyu_emu.databinding.FragmentFoldersBinding +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.ui.main.MainActivity +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect class GameFoldersFragment : Fragment() { private var _binding: FragmentFoldersBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameInfoFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameInfoFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameInfoFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameInfoFragment.kt index 16901fead4eb15f93ff3fa68af7f967b0dcb8209..743389016f893d2a4b163c8f490792f9f0aa1b08 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GameInfoFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GameInfoFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.ClipData import android.content.ClipboardManager @@ -21,14 +21,14 @@ import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import androidx.navigation.fragment.navArgs import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.FragmentGameInfoBinding -import org.suyu.suyu_emu.model.GameVerificationResult -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.GameMetadata -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.FragmentGameInfoBinding +import dev.suyu.suyu_emu.model.GameVerificationResult +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.GameMetadata +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class GameInfoFragment : Fragment() { private var _binding: FragmentGameInfoBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GamePropertiesFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GamePropertiesFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GamePropertiesFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GamePropertiesFragment.kt index e56b186d063698692dc600324a2e4bc69667b14f..751aa29a3fbec90c35f35aebd3e9eec022caa84c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/GamePropertiesFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/GamePropertiesFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.pm.ShortcutInfo import android.content.pm.ShortcutManager @@ -24,27 +24,27 @@ import com.google.android.material.transition.MaterialSharedAxis import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.GamePropertiesAdapter -import org.suyu.suyu_emu.databinding.FragmentGamePropertiesBinding -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.model.GameProperty -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.InstallableProperty -import org.suyu.suyu_emu.model.SubmenuProperty -import org.suyu.suyu_emu.model.TaskState -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.GameIconUtils -import org.suyu.suyu_emu.utils.GpuDriverHelper -import org.suyu.suyu_emu.utils.MemoryUtil -import org.suyu.suyu_emu.utils.ViewUtils.marquee -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.GamePropertiesAdapter +import dev.suyu.suyu_emu.databinding.FragmentGamePropertiesBinding +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.model.GameProperty +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.InstallableProperty +import dev.suyu.suyu_emu.model.SubmenuProperty +import dev.suyu.suyu_emu.model.TaskState +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.GameIconUtils +import dev.suyu.suyu_emu.utils.GpuDriverHelper +import dev.suyu.suyu_emu.utils.MemoryUtil +import dev.suyu.suyu_emu.utils.ViewUtils.marquee +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect import java.io.BufferedOutputStream import java.io.File diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/HomeSettingsFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/HomeSettingsFragment.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/HomeSettingsFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/HomeSettingsFragment.kt index 790ca7a54b917fe7bb92d1a3018ed739b534e2eb..6b80f7ee79282fdbf890e98c8c060bf3a58b17af 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/HomeSettingsFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/HomeSettingsFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.Manifest import android.content.ActivityNotFoundException @@ -27,23 +27,22 @@ import androidx.navigation.findNavController import androidx.navigation.fragment.findNavController import androidx.recyclerview.widget.GridLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.BuildConfig -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.HomeSettingAdapter -import org.suyu.suyu_emu.databinding.FragmentHomeSettingsBinding -import org.suyu.suyu_emu.features.DocumentProvider -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.model.HomeSetting -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.ui.main.MainActivity -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.GpuDriverHelper -import org.suyu.suyu_emu.utils.Log -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.HomeSettingAdapter +import dev.suyu.suyu_emu.databinding.FragmentHomeSettingsBinding +import dev.suyu.suyu_emu.features.DocumentProvider +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.model.HomeSetting +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.ui.main.MainActivity +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.GpuDriverHelper +import dev.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class HomeSettingsFragment : Fragment() { private var _binding: FragmentHomeSettingsBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/InstallableFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/InstallableFragment.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/InstallableFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/InstallableFragment.kt index 4a4dd11f4f4099844505538bff7ff2b70f1de958..659811e33dd4b7f4fdcaea2a81af52c7e3d8e29e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/InstallableFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/InstallableFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.os.Bundle import android.view.LayoutInflater @@ -18,21 +18,20 @@ import androidx.navigation.findNavController import androidx.recyclerview.widget.GridLayoutManager import com.google.android.material.transition.MaterialSharedAxis import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.InstallableAdapter -import org.suyu.suyu_emu.databinding.FragmentInstallablesBinding -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.Installable -import org.suyu.suyu_emu.model.TaskState -import org.suyu.suyu_emu.ui.main.MainActivity -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.FileUtil -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.InstallableAdapter +import dev.suyu.suyu_emu.databinding.FragmentInstallablesBinding +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.Installable +import dev.suyu.suyu_emu.model.TaskState +import dev.suyu.suyu_emu.ui.main.MainActivity +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect import java.io.BufferedOutputStream import java.io.File import java.math.BigInteger diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt index 4cc4f62407c6e91a525ba336caf84cd45917afd1..bd78b3480c226b01baa6e72067ca9f4b5aa32340 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LaunchGameDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -9,10 +9,10 @@ import android.os.Bundle import androidx.fragment.app.DialogFragment import androidx.navigation.fragment.findNavController import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.utils.SerializableHelper.parcelable +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.utils.SerializableHelper.parcelable class LaunchGameDialogFragment : DialogFragment() { private var selectedItem = 1 diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt index 76e34b62dae02a6805910ca22a95aaf9693c76f8..f473acb881383d25a7c29bd51a61f51833812df9 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicenseBottomSheetDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.os.Bundle import android.view.LayoutInflater @@ -9,9 +9,9 @@ import android.view.View import android.view.ViewGroup import com.google.android.material.bottomsheet.BottomSheetBehavior import com.google.android.material.bottomsheet.BottomSheetDialogFragment -import org.suyu.suyu_emu.databinding.DialogLicenseBinding -import org.suyu.suyu_emu.model.License -import org.suyu.suyu_emu.utils.SerializableHelper.parcelable +import dev.suyu.suyu_emu.databinding.DialogLicenseBinding +import dev.suyu.suyu_emu.model.License +import dev.suyu.suyu_emu.utils.SerializableHelper.parcelable class LicenseBottomSheetDialogFragment : BottomSheetDialogFragment() { private var _binding: DialogLicenseBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicensesFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicensesFragment.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicensesFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicensesFragment.kt index b5709d624ede3a5fe14cdf5fb3f06ec8e124f998..71bdec1ea0e0845cf2ad415abe05301799265efc 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/LicensesFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/LicensesFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.os.Bundle import android.view.LayoutInflater @@ -16,12 +16,12 @@ import androidx.fragment.app.activityViewModels import androidx.navigation.findNavController import androidx.recyclerview.widget.LinearLayoutManager import com.google.android.material.transition.MaterialSharedAxis -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.LicenseAdapter -import org.suyu.suyu_emu.databinding.FragmentLicensesBinding -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.License -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.LicenseAdapter +import dev.suyu.suyu_emu.databinding.FragmentLicensesBinding +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.License +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins class LicensesFragment : Fragment() { private var _binding: FragmentLicensesBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/MessageDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/MessageDialogFragment.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/MessageDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/MessageDialogFragment.kt index ed80521354fa0f30535e9b4d56ff5991220e6835..75414251e1616ac9291f17937b2df2aa663bf095 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/MessageDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/MessageDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.Intent @@ -13,9 +13,9 @@ import androidx.fragment.app.FragmentActivity import androidx.fragment.app.activityViewModels import androidx.lifecycle.ViewModelProvider import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.model.MessageDialogViewModel -import org.suyu.suyu_emu.utils.Log +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.model.MessageDialogViewModel +import dev.suyu.suyu_emu.utils.Log class MessageDialogFragment : DialogFragment() { private val messageDialogViewModel: MessageDialogViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt index c384584b1968d265d8121d1b8db0df4c9e84ac7c..02e91db63361d94c55128b53985dee7a7c402fa7 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/PermissionDeniedDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -11,7 +11,7 @@ import android.os.Bundle import android.provider.Settings import androidx.fragment.app.DialogFragment import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.R class PermissionDeniedDialogFragment : DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ProgressDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ProgressDialogFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ProgressDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ProgressDialogFragment.kt index c1221f383c0963eb82b81955c04e71f3752e3010..db6a7c4e82b7f4a204363460975e420591dcf49e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ProgressDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ProgressDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.os.Bundle @@ -15,11 +15,11 @@ import androidx.fragment.app.FragmentActivity import androidx.fragment.app.activityViewModels import androidx.lifecycle.ViewModelProvider import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.DialogProgressBarBinding -import org.suyu.suyu_emu.model.TaskViewModel -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.DialogProgressBarBinding +import dev.suyu.suyu_emu.model.TaskViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.collect class ProgressDialogFragment : DialogFragment() { private val taskViewModel: TaskViewModel by activityViewModels() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt index 24f9f6a10afbe5835bcd739c3811527889c7b3fb..ff96b1f8d59cbab99262467f1947a8c3782d92df 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/ResetSettingsDialogFragment.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.os.Bundle import androidx.fragment.app.DialogFragment import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.features.settings.ui.SettingsActivity +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.features.settings.ui.SettingsActivity class ResetSettingsDialogFragment : DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SearchFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SearchFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SearchFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SearchFragment.kt index 54155bdc4335c00a769455370472f1b74b31600e..7216fc641ebda3b77112cc965870f65e01c95a3e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SearchFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SearchFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.content.Context import android.content.SharedPreferences @@ -21,16 +21,16 @@ import androidx.preference.PreferenceManager import info.debatty.java.stringsimilarity.Jaccard import info.debatty.java.stringsimilarity.JaroWinkler import java.util.Locale -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.GameAdapter -import org.suyu.suyu_emu.databinding.FragmentSearchBinding -import org.suyu.suyu_emu.layout.AutofitGridLayoutManager -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.GameAdapter +import dev.suyu.suyu_emu.databinding.FragmentSearchBinding +import dev.suyu.suyu_emu.layout.AutofitGridLayoutManager +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.collect class SearchFragment : Fragment() { private var _binding: FragmentSearchBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupFragment.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupFragment.kt index fdbdb20b651981184f989cb5c5b092cbe556ed53..3c2ccf4bcd016ac20e7302e5b703e72978ae4bf4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.Manifest import android.content.Intent @@ -26,24 +26,23 @@ import androidx.navigation.findNavController import androidx.preference.PreferenceManager import androidx.viewpager2.widget.ViewPager2.OnPageChangeCallback import com.google.android.material.transition.MaterialFadeThrough -import kotlinx.coroutines.launch -import org.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.NativeLibrary import java.io.File -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.adapters.SetupAdapter -import org.suyu.suyu_emu.databinding.FragmentSetupBinding -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.SetupCallback -import org.suyu.suyu_emu.model.SetupPage -import org.suyu.suyu_emu.model.StepState -import org.suyu.suyu_emu.ui.main.MainActivity -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.NativeConfig -import org.suyu.suyu_emu.utils.ViewUtils -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.adapters.SetupAdapter +import dev.suyu.suyu_emu.databinding.FragmentSetupBinding +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.SetupCallback +import dev.suyu.suyu_emu.model.SetupPage +import dev.suyu.suyu_emu.model.StepState +import dev.suyu.suyu_emu.ui.main.MainActivity +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.utils.ViewUtils +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.collect class SetupFragment : Fragment() { private var _binding: FragmentSetupBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt index a508ebfd33e4cc205e584d48a66cb242c5fdcb35..70556f57a6edbac81e762f3cba6aa5af22f239cb 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/fragments/SetupWarningDialogFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.fragments +package dev.suyu.suyu_emu.fragments import android.app.Dialog import android.content.DialogInterface @@ -10,7 +10,7 @@ import android.net.Uri import android.os.Bundle import androidx.fragment.app.DialogFragment import com.google.android.material.dialog.MaterialAlertDialogBuilder -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.R class SetupWarningDialogFragment : DialogFragment() { private var titleId: Int = 0 diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt index 6d37cf4f8bc476365b371722f3821d5143c60185..b5bad73c03d37def4c9a66e2e3925fec6d4355e5 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/layout/AutofitGridLayoutManager.kt @@ -1,13 +1,13 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.layout +package dev.suyu.suyu_emu.layout import android.content.Context import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView.Recycler -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.R /** * Cut down version of the solution provided here diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/AddonViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/AddonViewModel.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/AddonViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/AddonViewModel.kt index e67611631e890bc5c1f072e5d3d90b72a3827fa0..184668475c526af1270c13e410232b8e83fa2e31 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/AddonViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/AddonViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope @@ -10,8 +10,8 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.utils.NativeConfig import java.util.concurrent.atomic.AtomicBoolean class AddonViewModel : ViewModel() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Applet.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Applet.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/Applet.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/Applet.kt index af22fd0bc4e78c570d86d0f358d0414d7b5e30cd..37f50588dfe7172d6e86c5bedb5bbc52213baaeb 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Applet.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Applet.kt @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.annotation.DrawableRes import androidx.annotation.StringRes -import org.suyu.suyu_emu.R +import dev.suyu.suyu_emu.R data class Applet( @StringRes val titleId: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Driver.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Driver.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/Driver.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/Driver.kt index cf1f72bcc12379b5e61361a33847c573d7ba1e7e..a866ceb6b89aa22a1173371d1ddb54d5626c5dd4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Driver.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Driver.kt @@ -2,9 +2,9 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model -import org.suyu.suyu_emu.utils.GpuDriverMetadata +import dev.suyu.suyu_emu.utils.GpuDriverMetadata data class Driver( override var selected: Boolean, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/DriverViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/DriverViewModel.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/DriverViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/DriverViewModel.kt index 7009d453ae149b981c9c4a43fe8ad7ab910249a8..7d4f59c49386c2295e44766b0c328c1fe4e0180e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/DriverViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/DriverViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope @@ -14,14 +14,14 @@ import kotlinx.coroutines.flow.combine import kotlinx.coroutines.flow.stateIn import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.settings.model.StringSetting -import org.suyu.suyu_emu.features.settings.utils.SettingsFile -import org.suyu.suyu_emu.model.Driver.Companion.toDriver -import org.suyu.suyu_emu.utils.GpuDriverHelper -import org.suyu.suyu_emu.utils.GpuDriverMetadata -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.features.settings.utils.SettingsFile +import dev.suyu.suyu_emu.model.Driver.Companion.toDriver +import dev.suyu.suyu_emu.utils.GpuDriverHelper +import dev.suyu.suyu_emu.utils.GpuDriverMetadata +import dev.suyu.suyu_emu.utils.NativeConfig import java.io.File class DriverViewModel : ViewModel() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/EmulationViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/EmulationViewModel.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/EmulationViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/EmulationViewModel.kt index 3d6e744e93e80abefc936446c6138417549e3d85..3a0124b8b086a7f0b5431781f4c47e272756c739 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/EmulationViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/EmulationViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.lifecycle.ViewModel import kotlinx.coroutines.flow.MutableStateFlow diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Game.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Game.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/Game.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/Game.kt index 039ce3d3028c7c83652dd4b074f137897285fe14..b186df68ab64576e9c7c0129f5f8843e314f5827 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Game.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Game.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.content.Intent import android.net.Uri @@ -9,12 +9,12 @@ import android.os.Parcelable import java.util.HashSet import kotlinx.parcelize.Parcelize import kotlinx.serialization.Serializable -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.activities.EmulationActivity -import org.suyu.suyu_emu.utils.DirectoryInitialization -import org.suyu.suyu_emu.utils.FileUtil +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.activities.EmulationActivity +import dev.suyu.suyu_emu.utils.DirectoryInitialization +import dev.suyu.suyu_emu.utils.FileUtil import java.time.LocalDateTime import java.time.format.DateTimeFormatter diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameDir.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameDir.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/GameDir.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameDir.kt index b3f7a8d14a1986bfc245c51041b9623c32ff56bf..881b6c992ed98d17ea7a3b3221c5a78754acd760 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameDir.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameDir.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.os.Parcelable import kotlinx.parcelize.Parcelize diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameProperties.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameProperties.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/GameProperties.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameProperties.kt index abeee8f73b76b91768c21f2f8a5c363ba8218554..c052f4aaae3227803e61d0eb40ab27586b22d433 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameProperties.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameProperties.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.annotation.DrawableRes import androidx.annotation.StringRes diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameVerificationResult.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameVerificationResult.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/GameVerificationResult.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameVerificationResult.kt index 61c6014469bff390c1042ab63049859e13afe86a..4964e162091ce98f7f2eccdcb35f252b1dfe9ea1 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GameVerificationResult.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GameVerificationResult.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model enum class GameVerificationResult(val int: Int) { Success(0), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GamesViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GamesViewModel.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/GamesViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/GamesViewModel.kt index f5a1e552561f18978a3fb6871e4b523b64371645..58105ae341b8fe55048101b006470aa6d5b186c2 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/GamesViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/GamesViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.net.Uri import androidx.documentfile.provider.DocumentFile @@ -17,10 +17,10 @@ import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.utils.GameHelper -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.utils.GameHelper +import dev.suyu.suyu_emu.utils.NativeConfig import java.util.concurrent.atomic.AtomicBoolean class GamesViewModel : ViewModel() { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeSetting.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeSetting.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeSetting.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeSetting.kt index 114e4a89adda4ebc6dbd8cf2352b1a6a22893e15..6097181df283d79e47d0a24c27e789d3b2a361cb 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeSetting.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeSetting.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeViewModel.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeViewModel.kt index 6cfbb725c84ba217ff202d2db8f582115034a3ac..d0e9a44149e653de9328c49e9fb45fb2c5a2f9bf 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/HomeViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/HomeViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.net.Uri import androidx.lifecycle.ViewModel diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/InstallResult.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/InstallResult.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/InstallResult.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/InstallResult.kt index 110da0f32b02e426dafcf13959889b6bd1edb0f5..40668f192d8c3036f1762a4d644452e67da00f00 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/InstallResult.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/InstallResult.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model enum class InstallResult(val int: Int) { Success(0), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Installable.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Installable.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/Installable.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/Installable.kt index 6b15d54afe2b1e726025d5bb8f9d6367faeb6617..632121f1915736d3dc4304d20b53a4ef973fcf6f 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Installable.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Installable.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.annotation.StringRes diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/License.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/License.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/License.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/License.kt index 735b07ee65e6a4bff2744f988315943959f481a2..e10a68f6682ef0bb5ee25e452e385f9d959488ec 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/License.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/License.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.os.Parcelable import kotlinx.parcelize.Parcelize diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/MessageDialogViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/MessageDialogViewModel.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/MessageDialogViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/MessageDialogViewModel.kt index 1f51bb3a06474fb9d7bcfe79fa0f081e322a7345..02474352c562f7ab69d80919479eced2e3fd8ac6 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/MessageDialogViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/MessageDialogViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.lifecycle.ViewModel diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/MinimalDocumentFile.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/MinimalDocumentFile.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/MinimalDocumentFile.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/MinimalDocumentFile.kt index 176c6f3b71009741fdbed65dd30dc04cee263e1c..f6580c8e2a5b07678165679174dee1415e280484 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/MinimalDocumentFile.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/MinimalDocumentFile.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import android.net.Uri import android.provider.DocumentsContract diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Patch.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Patch.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/Patch.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/Patch.kt index 6e9d09d1bea2271c55dd6dcf463434ed4a7f920b..aa105c3401e4ca2d5f9d9c376c553d99552a51a9 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/Patch.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/Patch.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.annotation.Keep diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/PatchType.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/PatchType.kt similarity index 91% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/PatchType.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/PatchType.kt index 1880f876ec821c78a3ac2775bbcbf8cac4969ad7..b48cc843dd66d99a4c2f93ad080a98592f11da8b 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/PatchType.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/PatchType.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model enum class PatchType(val int: Int) { Update(0), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/SelectableItem.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/SelectableItem.kt similarity index 89% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/SelectableItem.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/SelectableItem.kt index b8209e3f1da02c29c384faf0b687bf2ec962bb8b..a98315c653c381cce80bd583ff775dd12850026a 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/SelectableItem.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/SelectableItem.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model interface SelectableItem { var selected: Boolean diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/SetupPage.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/SetupPage.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/SetupPage.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/SetupPage.kt index 0316009d6c09e0177148c62a67191ca1a860732b..4766b1870a634100aad3b5746aaf31d9da330976 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/SetupPage.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/SetupPage.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model data class SetupPage( val iconId: Int, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/model/TaskViewModel.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/TaskViewModel.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/model/TaskViewModel.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/model/TaskViewModel.kt index e4d635ff4f72dced4a9988f5e59fda534964476f..b3f9daaf98d4d991bb94e80d38e457509efe4642 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/model/TaskViewModel.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/model/TaskViewModel.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.model +package dev.suyu.suyu_emu.model import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlay.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlay.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlay.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlay.kt index 76e33bef375b0685b6d74a5318b31702428299b4..dd5d906b531fcdb6ccbc96afa777c27f773eb632 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlay.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlay.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay +package dev.suyu.suyu_emu.overlay import android.app.Activity import android.content.Context @@ -24,17 +24,17 @@ import androidx.core.content.ContextCompat import androidx.window.layout.WindowMetricsCalculator import kotlin.math.max import kotlin.math.min -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.features.input.model.NpadStyleIndex -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.overlay.model.OverlayControl -import org.suyu.suyu_emu.overlay.model.OverlayControlData -import org.suyu.suyu_emu.overlay.model.OverlayLayout -import org.suyu.suyu_emu.utils.NativeConfig +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.input.model.NpadStyleIndex +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.overlay.model.OverlayControl +import dev.suyu.suyu_emu.overlay.model.OverlayControlData +import dev.suyu.suyu_emu.overlay.model.OverlayLayout +import dev.suyu.suyu_emu.utils.NativeConfig /** * Draws the interactive input overlay on top of the diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt index 0ba7205e5854beacabaa3e2accf34820f70042fc..3d94061bb58ad084a48d0d5450d3591a650ab97d 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableButton.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay +package dev.suyu.suyu_emu.overlay import android.content.res.Resources import android.graphics.Bitmap @@ -9,9 +9,9 @@ import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.BitmapDrawable import android.view.MotionEvent -import org.suyu.suyu_emu.features.input.NativeInput.ButtonState -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.overlay.model.OverlayControlData +import dev.suyu.suyu_emu.features.input.NativeInput.ButtonState +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.overlay.model.OverlayControlData /** * Custom [BitmapDrawable] that is capable diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt index 6f24f5c1daff08db279fd0dd7f10e3ea1f4cd964..35d1f70f5e5274538eb22dbaa983cece0ae9c3eb 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableDpad.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay +package dev.suyu.suyu_emu.overlay import android.content.res.Resources import android.graphics.Bitmap @@ -9,8 +9,8 @@ import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.BitmapDrawable import android.view.MotionEvent -import org.suyu.suyu_emu.features.input.NativeInput.ButtonState -import org.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.input.NativeInput.ButtonState +import dev.suyu.suyu_emu.features.input.model.NativeButton /** * Custom [BitmapDrawable] that is capable diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt index e6f8b5d21ab4339a75815f9ceb400a92344f998b..8afa134ae4b9e5205f6a93d73a11943b88d414f9 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/InputOverlayDrawableJoystick.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay +package dev.suyu.suyu_emu.overlay import android.content.res.Resources import android.graphics.Bitmap @@ -13,10 +13,10 @@ import kotlin.math.atan2 import kotlin.math.cos import kotlin.math.sin import kotlin.math.sqrt -import org.suyu.suyu_emu.features.input.NativeInput.ButtonState -import org.suyu.suyu_emu.features.input.model.NativeAnalog -import org.suyu.suyu_emu.features.input.model.NativeButton -import org.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.input.NativeInput.ButtonState +import dev.suyu.suyu_emu.features.input.model.NativeAnalog +import dev.suyu.suyu_emu.features.input.model.NativeButton +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting /** * Custom [BitmapDrawable] that is capable diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControl.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControl.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControl.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControl.kt index 605f63ff7907d6ff5f932362c7aaebf0bfdac6df..a9e32675e817d5b2bce979eb6feeb9464c28ac15 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControl.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControl.kt @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay.model +package dev.suyu.suyu_emu.overlay.model import androidx.annotation.IntegerRes -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication enum class OverlayControl( val id: String, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlData.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlData.kt similarity index 93% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlData.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlData.kt index 7559bcfe2da27c0cb69069924e40b939dbba5676..2a4267da2ec6b3f5de62844f5d4f43fe3caa6e13 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlData.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlData.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay.model +package dev.suyu.suyu_emu.overlay.model data class OverlayControlData( val id: String, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt similarity index 90% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt index 0df2e4ff8b94a5f813a5d0fc7a2fd54f48862aaf..74ca6edec42590e1898527164e166fc350912515 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayControlDefault.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay.model +package dev.suyu.suyu_emu.overlay.model import androidx.annotation.IntegerRes diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayLayout.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayLayout.kt similarity index 84% rename from src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayLayout.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayLayout.kt index 1eb0105352e53fea11f78bc9402373ecb9765fbc..f8595593d9a0c2a58685348a4080e8d77e7b95bd 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/overlay/model/OverlayLayout.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/overlay/model/OverlayLayout.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.overlay.model +package dev.suyu.suyu_emu.overlay.model enum class OverlayLayout(val id: String) { Landscape("Landscape"), diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/GamesFragment.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/GamesFragment.kt similarity index 92% rename from src/android/app/src/main/java/org/suyu/suyu_emu/ui/GamesFragment.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/ui/GamesFragment.kt index b37aa23850d336aee7e440a4c424be4de70ad1df..39b1ef8b77cf0ff4d2c662f7ae6cb3ce9937e155 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/GamesFragment.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/GamesFragment.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.ui +package dev.suyu.suyu_emu.ui import android.os.Bundle import android.view.LayoutInflater @@ -14,15 +14,15 @@ import androidx.core.view.updatePadding import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import com.google.android.material.color.MaterialColors -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.adapters.GameAdapter -import org.suyu.suyu_emu.databinding.FragmentGamesBinding -import org.suyu.suyu_emu.layout.AutofitGridLayoutManager -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.utils.ViewUtils.setVisible -import org.suyu.suyu_emu.utils.ViewUtils.updateMargins -import org.suyu.suyu_emu.utils.collect +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.adapters.GameAdapter +import dev.suyu.suyu_emu.databinding.FragmentGamesBinding +import dev.suyu.suyu_emu.layout.AutofitGridLayoutManager +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.utils.ViewUtils.updateMargins +import dev.suyu.suyu_emu.utils.collect class GamesFragment : Fragment() { private var _binding: FragmentGamesBinding? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/MainActivity.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/MainActivity.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/MainActivity.kt index ea5ba39a323f17f1b83a6eef382907d91ee0aa15..c994a3510dc2ee0175e2b9017b0ec1146f4b35b4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/MainActivity.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/MainActivity.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.ui.main +package dev.suyu.suyu_emu.ui.main import android.content.Intent import android.net.Uri @@ -27,23 +27,23 @@ import com.google.android.material.color.MaterialColors import com.google.android.material.navigation.NavigationBarView import java.io.File import java.io.FilenameFilter -import org.suyu.suyu_emu.HomeNavigationDirections -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.databinding.ActivityMainBinding -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.fragments.AddGameFolderDialogFragment -import org.suyu.suyu_emu.fragments.ProgressDialogFragment -import org.suyu.suyu_emu.fragments.MessageDialogFragment -import org.suyu.suyu_emu.model.AddonViewModel -import org.suyu.suyu_emu.model.DriverViewModel -import org.suyu.suyu_emu.model.GamesViewModel -import org.suyu.suyu_emu.model.HomeViewModel -import org.suyu.suyu_emu.model.InstallResult -import org.suyu.suyu_emu.model.TaskState -import org.suyu.suyu_emu.model.TaskViewModel -import org.suyu.suyu_emu.utils.* -import org.suyu.suyu_emu.utils.ViewUtils.setVisible +import dev.suyu.suyu_emu.HomeNavigationDirections +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.databinding.ActivityMainBinding +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.fragments.AddGameFolderDialogFragment +import dev.suyu.suyu_emu.fragments.ProgressDialogFragment +import dev.suyu.suyu_emu.fragments.MessageDialogFragment +import dev.suyu.suyu_emu.model.AddonViewModel +import dev.suyu.suyu_emu.model.DriverViewModel +import dev.suyu.suyu_emu.model.GamesViewModel +import dev.suyu.suyu_emu.model.HomeViewModel +import dev.suyu.suyu_emu.model.InstallResult +import dev.suyu.suyu_emu.model.TaskState +import dev.suyu.suyu_emu.model.TaskViewModel +import dev.suyu.suyu_emu.utils.* +import dev.suyu.suyu_emu.utils.ViewUtils.setVisible import java.io.BufferedInputStream import java.io.BufferedOutputStream import java.util.zip.ZipEntry diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/ThemeProvider.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/ThemeProvider.kt similarity index 88% rename from src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/ThemeProvider.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/ThemeProvider.kt index 3ba6c5cd167ef1ea180db5c3d4754b1ba76591e2..c9c7f87636fcd0e1de19ee16dc4b3e12e9240f7a 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/ui/main/ThemeProvider.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/ThemeProvider.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.ui.main +package dev.suyu.suyu_emu.ui.main interface ThemeProvider { /** diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/AddonUtil.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/AddonUtil.kt similarity index 85% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/AddonUtil.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/AddonUtil.kt index adc4228bc0ebdeafe58a34099a3b3f1e458adaff..c1d93ba585c742b575b890e1a994c4f9632e3098 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/AddonUtil.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/AddonUtil.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils object AddonUtil { val validAddonDirectories = listOf("cheats", "exefs", "romfs") diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/DirectoryInitialization.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DirectoryInitialization.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/DirectoryInitialization.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DirectoryInitialization.kt index 451757fea345201aa593b65ac34a4ac8a18bccf7..dd0257a0e51ec893dce885cf3ea84cefc8141ae7 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/DirectoryInitialization.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DirectoryInitialization.kt @@ -1,19 +1,19 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import androidx.preference.PreferenceManager import java.io.IOException -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.features.settings.model.Settings -import org.suyu.suyu_emu.overlay.model.OverlayControlData -import org.suyu.suyu_emu.overlay.model.OverlayControl -import org.suyu.suyu_emu.overlay.model.OverlayLayout -import org.suyu.suyu_emu.utils.PreferenceUtil.migratePreference +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.features.settings.model.Settings +import dev.suyu.suyu_emu.overlay.model.OverlayControlData +import dev.suyu.suyu_emu.overlay.model.OverlayControl +import dev.suyu.suyu_emu.overlay.model.OverlayLayout +import dev.suyu.suyu_emu.utils.PreferenceUtil.migratePreference object DirectoryInitialization { private var userPath: String? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/DocumentsTree.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DocumentsTree.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/DocumentsTree.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DocumentsTree.kt index 8269cbc238a65411d52011aa549bda88b9a0296f..fab217f538f6715789669dbbc858aa81aefcdbb5 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/DocumentsTree.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/DocumentsTree.kt @@ -1,13 +1,13 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.net.Uri import androidx.documentfile.provider.DocumentFile import java.io.File import java.util.* -import org.suyu.suyu_emu.model.MinimalDocumentFile +import dev.suyu.suyu_emu.model.MinimalDocumentFile class DocumentsTree { private var root: DocumentsNode? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/FileUtil.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/FileUtil.kt similarity index 99% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/FileUtil.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/FileUtil.kt index 61a40992a88b0135ec5afb0fb36b12706d06fe9f..8f10ab671190437e82b8aad510e36d31c2307527 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/FileUtil.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/FileUtil.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.database.Cursor import android.net.Uri @@ -14,9 +14,9 @@ import java.io.InputStream import java.net.URLDecoder import java.util.zip.ZipEntry import java.util.zip.ZipInputStream -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.model.MinimalDocumentFile -import org.suyu.suyu_emu.model.TaskState +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.model.MinimalDocumentFile +import dev.suyu.suyu_emu.model.TaskState import java.io.BufferedOutputStream import java.io.OutputStream import java.lang.NullPointerException diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameHelper.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameHelper.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameHelper.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameHelper.kt index 4800c5cb4ed960da57c0d46651d1c9b61810f4a5..a413a44cd8a0df49578f4e38eb35cf861a4a2bf8 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameHelper.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameHelper.kt @@ -1,18 +1,18 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_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.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.model.Game -import org.suyu.suyu_emu.model.GameDir -import org.suyu.suyu_emu.model.MinimalDocumentFile +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.model.GameDir +import dev.suyu.suyu_emu.model.MinimalDocumentFile object GameHelper { private const val KEY_OLD_GAME_PATH = "game_path" diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameIconUtils.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameIconUtils.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameIconUtils.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameIconUtils.kt index 692030c218814c5490014e760a1e35fe2e02eb30..f941e9eb60e391bc4c9228b037fa21a00bd88aa4 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameIconUtils.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameIconUtils.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.graphics.Bitmap import android.graphics.BitmapFactory @@ -21,9 +21,9 @@ import coil.key.Keyer import coil.memory.MemoryCache import coil.request.ImageRequest import coil.request.Options -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.model.Game +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.model.Game class GameIconFetcher( private val game: Game, diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameMetadata.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameMetadata.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameMetadata.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameMetadata.kt index d8f278e90212651a474240c6b87e8a07ec7eecd9..9847f81cc19df40b472c1389f241ad42c156a750 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GameMetadata.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GameMetadata.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils object GameMetadata { external fun getIsValid(path: String): Boolean diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverHelper.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverHelper.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverHelper.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverHelper.kt index 28486d32deb8cf6cfd539d6508fcc4f458f39e15..2d7bc81553d7f85ed3e37462cf5370e5d415f318 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverHelper.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverHelper.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.graphics.SurfaceTexture import android.net.Uri @@ -9,9 +9,9 @@ import android.os.Build import android.view.Surface import java.io.File import java.io.IOException -import org.suyu.suyu_emu.NativeLibrary -import org.suyu.suyu_emu.SuyuApplication -import org.suyu.suyu_emu.features.settings.model.StringSetting +import dev.suyu.suyu_emu.NativeLibrary +import dev.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.features.settings.model.StringSetting import java.io.FileNotFoundException import java.util.zip.ZipException import java.util.zip.ZipFile diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverMetadata.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverMetadata.kt similarity index 99% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverMetadata.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverMetadata.kt index c12e49d2cdfe9061ac4c3c6102c6749b5f40d362..5b992ef1ce1eb57304a13230a25f6e2319e39262 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/GpuDriverMetadata.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/GpuDriverMetadata.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import java.io.IOException import org.json.JSONException diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/InputHandler.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InputHandler.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/InputHandler.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InputHandler.kt index 90afcea9aa19d26a315f3f83b4c47a984742a1b6..394f6b8e24a1849cb78c7356390c1507b3738efc 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/InputHandler.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InputHandler.kt @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.view.InputDevice import android.view.KeyEvent import android.view.MotionEvent -import org.suyu.suyu_emu.features.input.NativeInput -import org.suyu.suyu_emu.features.input.SuyuInputOverlayDevice -import org.suyu.suyu_emu.features.input.SuyuPhysicalDevice +import dev.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.SuyuInputOverlayDevice +import dev.suyu.suyu_emu.features.input.SuyuPhysicalDevice object InputHandler { var androidControllers = mapOf<Int, SuyuPhysicalDevice>() diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/InsetsHelper.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InsetsHelper.kt similarity index 95% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/InsetsHelper.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InsetsHelper.kt index d5621f42ccd8a73de81dc9494daa1f22886667e1..e2eb3257425431769dcb6edde55ffc102bc3266d 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/InsetsHelper.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/InsetsHelper.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.annotation.SuppressLint import android.content.Context diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/LifecycleUtils.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/LifecycleUtils.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/LifecycleUtils.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/LifecycleUtils.kt index e1b73c11d61c47df33e8cd36294e6f75e510bd39..4cb1910f675e88f27780c99482805e6948406550 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/LifecycleUtils.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/LifecycleUtils.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/Log.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/Log.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/Log.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/Log.kt index 794f03629d162bf5237f80f08c6ffe8d4a1ff680..703f17361ef4f163b642394fc50c569495fe46a1 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/Log.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/Log.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.os.Build diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/MemoryUtil.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/MemoryUtil.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/MemoryUtil.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/MemoryUtil.kt index 3617b0dc54b4eb4b5044454eaf8ed5ce39413bd4..abc08c7d4e49c12546e3c75e53a64b264a723056 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/MemoryUtil.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/MemoryUtil.kt @@ -1,13 +1,13 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.app.ActivityManager import android.content.Context import android.os.Build -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.SuyuApplication +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.SuyuApplication import java.util.Locale import kotlin.math.ceil diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/NativeConfig.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NativeConfig.kt similarity index 96% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/NativeConfig.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NativeConfig.kt index 248b02515c5dece77940d99794e7a8b835597416..fac09e9e16a132e4a14feb5c2837e5025e1c579e 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/NativeConfig.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NativeConfig.kt @@ -1,12 +1,12 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils -import org.suyu.suyu_emu.model.GameDir -import org.suyu.suyu_emu.overlay.model.OverlayControlData +import dev.suyu.suyu_emu.model.GameDir +import dev.suyu.suyu_emu.overlay.model.OverlayControlData -import org.suyu.suyu_emu.features.input.model.PlayerInput +import dev.suyu.suyu_emu.features.input.model.PlayerInput object NativeConfig { /** diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/NfcReader.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NfcReader.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/NfcReader.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NfcReader.kt index 2a8045202c6c0c9dbc739bf982276f4d159144f6..b32f246498b833427374fd1beedaef2a5fdf9f66 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/NfcReader.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/NfcReader.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.app.Activity import android.app.PendingIntent @@ -14,7 +14,7 @@ import android.os.Build import android.os.Handler import android.os.Looper import java.io.IOException -import org.suyu.suyu_emu.features.input.NativeInput +import dev.suyu.suyu_emu.features.input.NativeInput class NfcReader(private val activity: Activity) { private var nfcAdapter: NfcAdapter? = null diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ParamPackage.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ParamPackage.kt similarity index 99% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/ParamPackage.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ParamPackage.kt index 98a906c8e34ee3514a7040e43cad624bc0cc0c05..30ff0519105d6f07914773485328bf333baa55f6 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ParamPackage.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ParamPackage.kt @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils // Kotlin version of src/common/param_package.h class ParamPackage(serialized: String = "") { diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/PreferenceUtil.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/PreferenceUtil.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/PreferenceUtil.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/PreferenceUtil.kt index ad8fd59211363f51d93118c7e1c3dc53fb4fba5b..1c16b3b401f2a0d11a05bd7b47f51b3ea24323be 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/PreferenceUtil.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/PreferenceUtil.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.content.SharedPreferences diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/SerializableHelper.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/SerializableHelper.kt similarity index 97% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/SerializableHelper.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/SerializableHelper.kt index 71438c2866c4384743edbff56d19848e6f0dded1..d75a47beea71b42f95020bbd076c2415dc1d5305 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/SerializableHelper.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/SerializableHelper.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.content.Intent import android.os.Build diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ThemeHelper.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ThemeHelper.kt similarity index 94% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/ThemeHelper.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ThemeHelper.kt index 2c0b3ea2edd4180f1ffec0fa043f36a8c361ff48..eaff5893c577ddb8f38880446882ad17f36dcbf5 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ThemeHelper.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ThemeHelper.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.content.res.Configuration import android.graphics.Color @@ -12,10 +12,10 @@ import androidx.appcompat.app.AppCompatDelegate import androidx.core.view.WindowCompat import androidx.core.view.WindowInsetsControllerCompat import kotlin.math.roundToInt -import org.suyu.suyu_emu.R -import org.suyu.suyu_emu.features.settings.model.BooleanSetting -import org.suyu.suyu_emu.features.settings.model.IntSetting -import org.suyu.suyu_emu.ui.main.ThemeProvider +import dev.suyu.suyu_emu.R +import dev.suyu.suyu_emu.features.settings.model.BooleanSetting +import dev.suyu.suyu_emu.features.settings.model.IntSetting +import dev.suyu.suyu_emu.ui.main.ThemeProvider object ThemeHelper { const val SYSTEM_BAR_ALPHA = 0.9f diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ViewUtils.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ViewUtils.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/utils/ViewUtils.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ViewUtils.kt index b81e146673eb7751e40e6283fe5661d73f8f61d1..94bf0d890fe1fe454a011e7eab1c6ff614ce75e8 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/utils/ViewUtils.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/utils/ViewUtils.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.utils +package dev.suyu.suyu_emu.utils import android.text.TextUtils import android.view.View diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/viewholder/AbstractViewHolder.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/viewholder/AbstractViewHolder.kt similarity index 80% rename from src/android/app/src/main/java/org/suyu/suyu_emu/viewholder/AbstractViewHolder.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/viewholder/AbstractViewHolder.kt index ee149eae7da2cc7f2ce29c6a402144b44c543494..c1991d609aa9b3eea37918be0d89c934c827623c 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/viewholder/AbstractViewHolder.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/viewholder/AbstractViewHolder.kt @@ -2,12 +2,12 @@ // SPDX-FileCopyrightText: 2024 suyu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.viewholder +package dev.suyu.suyu_emu.viewholder import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding -import org.suyu.suyu_emu.adapters.AbstractDiffAdapter -import org.suyu.suyu_emu.adapters.AbstractListAdapter +import dev.suyu.suyu_emu.adapters.AbstractDiffAdapter +import dev.suyu.suyu_emu.adapters.AbstractListAdapter /** * [RecyclerView.ViewHolder] meant to work together with a [AbstractDiffAdapter] or a diff --git a/src/android/app/src/main/java/org/suyu/suyu_emu/views/FixedRatioSurfaceView.kt b/src/android/app/src/main/java/dev/suyu/suyu_emu/views/FixedRatioSurfaceView.kt similarity index 98% rename from src/android/app/src/main/java/org/suyu/suyu_emu/views/FixedRatioSurfaceView.kt rename to src/android/app/src/main/java/dev/suyu/suyu_emu/views/FixedRatioSurfaceView.kt index 7d4708ce1218d1a4f8a2dd198c75b5cb18a029ac..181ddca03250abc8f2a72c5ebbb0864cdb2d30a7 100644 --- a/src/android/app/src/main/java/org/suyu/suyu_emu/views/FixedRatioSurfaceView.kt +++ b/src/android/app/src/main/java/dev/suyu/suyu_emu/views/FixedRatioSurfaceView.kt @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -package org.suyu.suyu_emu.views +package dev.suyu.suyu_emu.views import android.content.Context import android.util.AttributeSet diff --git a/src/android/app/src/main/jni/game_metadata.cpp b/src/android/app/src/main/jni/game_metadata.cpp index 489f862978402d2a0b93fa911e5e29df3b14e133..52d29ce3ffa0e7b2b8ba1ab91d95dfd0f3611ee7 100644 --- a/src/android/app/src/main/jni/game_metadata.cpp +++ b/src/android/app/src/main/jni/game_metadata.cpp @@ -75,7 +75,7 @@ RomMetadata GetRomMetadata(const std::string& path, bool reload = false) { extern "C" { -jboolean Java_org_suyu_suyu_1emu_utils_GameMetadata_getIsValid(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_GameMetadata_getIsValid(JNIEnv* env, jobject obj, jstring jpath) { const auto file = EmulationSession::GetInstance().System().GetFilesystem()->OpenFile( Common::Android::GetJString(env, jpath), FileSys::OpenMode::Read); @@ -101,31 +101,31 @@ jboolean Java_org_suyu_suyu_1emu_utils_GameMetadata_getIsValid(JNIEnv* env, jobj return true; } -jstring Java_org_suyu_suyu_1emu_utils_GameMetadata_getTitle(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_GameMetadata_getTitle(JNIEnv* env, jobject obj, jstring jpath) { return Common::Android::ToJString( env, GetRomMetadata(Common::Android::GetJString(env, jpath)).title); } -jstring Java_org_suyu_suyu_1emu_utils_GameMetadata_getProgramId(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_GameMetadata_getProgramId(JNIEnv* env, jobject obj, jstring jpath) { return Common::Android::ToJString( env, std::to_string(GetRomMetadata(Common::Android::GetJString(env, jpath)).programId)); } -jstring Java_org_suyu_suyu_1emu_utils_GameMetadata_getDeveloper(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_GameMetadata_getDeveloper(JNIEnv* env, jobject obj, jstring jpath) { return Common::Android::ToJString( env, GetRomMetadata(Common::Android::GetJString(env, jpath)).developer); } -jstring Java_org_suyu_suyu_1emu_utils_GameMetadata_getVersion(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_GameMetadata_getVersion(JNIEnv* env, jobject obj, jstring jpath, jboolean jreload) { return Common::Android::ToJString( env, GetRomMetadata(Common::Android::GetJString(env, jpath), jreload).version); } -jbyteArray Java_org_suyu_suyu_1emu_utils_GameMetadata_getIcon(JNIEnv* env, jobject obj, +jbyteArray Java_dev_suyu_suyu_1emu_utils_GameMetadata_getIcon(JNIEnv* env, jobject obj, jstring jpath) { auto icon_data = GetRomMetadata(Common::Android::GetJString(env, jpath)).icon; jbyteArray icon = env->NewByteArray(static_cast<jsize>(icon_data.size())); @@ -134,13 +134,13 @@ jbyteArray Java_org_suyu_suyu_1emu_utils_GameMetadata_getIcon(JNIEnv* env, jobje return icon; } -jboolean Java_org_suyu_suyu_1emu_utils_GameMetadata_getIsHomebrew(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_GameMetadata_getIsHomebrew(JNIEnv* env, jobject obj, jstring jpath) { return static_cast<jboolean>( GetRomMetadata(Common::Android::GetJString(env, jpath)).isHomebrew); } -void Java_org_suyu_suyu_1emu_utils_GameMetadata_resetMetadata(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_GameMetadata_resetMetadata(JNIEnv* env, jobject obj) { m_rom_metadata_cache.clear(); } diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index 35ca93a78d92f8bea5030db8ba53ff3ac5f8e38f..be8e36dbe3ff4e602b205ddb984b7971d64e6a2d 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -435,24 +435,24 @@ static Core::SystemResultStatus RunEmulation(const std::string& filepath, extern "C" { -void Java_org_suyu_suyu_1emu_NativeLibrary_surfaceChanged(JNIEnv* env, jobject instance, +void Java_dev_suyu_suyu_1emu_NativeLibrary_surfaceChanged(JNIEnv* env, jobject instance, [[maybe_unused]] jobject surf) { EmulationSession::GetInstance().SetNativeWindow(ANativeWindow_fromSurface(env, surf)); EmulationSession::GetInstance().SurfaceChanged(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_surfaceDestroyed(JNIEnv* env, jobject instance) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_surfaceDestroyed(JNIEnv* env, jobject instance) { ANativeWindow_release(EmulationSession::GetInstance().NativeWindow()); EmulationSession::GetInstance().SetNativeWindow(nullptr); EmulationSession::GetInstance().SurfaceChanged(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_setAppDirectory(JNIEnv* env, jobject instance, +void Java_dev_suyu_suyu_1emu_NativeLibrary_setAppDirectory(JNIEnv* env, jobject instance, [[maybe_unused]] jstring j_directory) { Common::FS::SetAppDirectory(Common::Android::GetJString(env, j_directory)); } -int Java_org_suyu_suyu_1emu_NativeLibrary_installFileToNand(JNIEnv* env, jobject instance, +int Java_dev_suyu_suyu_1emu_NativeLibrary_installFileToNand(JNIEnv* env, jobject instance, jstring j_file, jobject jcallback) { auto jlambdaClass = env->GetObjectClass(jcallback); auto jlambdaInvokeMethod = env->GetMethodID( @@ -470,7 +470,7 @@ int Java_org_suyu_suyu_1emu_NativeLibrary_installFileToNand(JNIEnv* env, jobject Common::Android::GetJString(env, j_file), callback)); } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_doesUpdateMatchProgram(JNIEnv* env, jobject jobj, +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_doesUpdateMatchProgram(JNIEnv* env, jobject jobj, jstring jprogramId, jstring jupdatePath) { u64 program_id = EmulationSession::GetProgramId(env, jprogramId); @@ -491,7 +491,7 @@ jboolean Java_org_suyu_suyu_1emu_NativeLibrary_doesUpdateMatchProgram(JNIEnv* en return false; } -void JNICALL Java_org_suyu_suyu_1emu_NativeLibrary_initializeGpuDriver(JNIEnv* env, jclass clazz, +void JNICALL Java_dev_suyu_suyu_1emu_NativeLibrary_initializeGpuDriver(JNIEnv* env, jclass clazz, jstring hook_lib_dir, jstring custom_driver_dir, jstring custom_driver_name, @@ -513,7 +513,7 @@ void JNICALL Java_org_suyu_suyu_1emu_NativeLibrary_initializeGpuDriver(JNIEnv* e return android_get_device_api_level() >= 28 && CheckKgslPresent(); } -jboolean JNICALL Java_org_suyu_suyu_1emu_utils_GpuDriverHelper_supportsCustomDriverLoading( +jboolean JNICALL Java_dev_suyu_suyu_1emu_utils_GpuDriverHelper_supportsCustomDriverLoading( JNIEnv* env, jobject instance) { #ifdef ARCHITECTURE_arm64 // If the KGSL device exists custom drivers can be loaded using adrenotools @@ -523,7 +523,7 @@ jboolean JNICALL Java_org_suyu_suyu_1emu_utils_GpuDriverHelper_supportsCustomDri #endif } -jobjectArray Java_org_suyu_suyu_1emu_utils_GpuDriverHelper_getSystemDriverInfo( +jobjectArray Java_dev_suyu_suyu_1emu_utils_GpuDriverHelper_getSystemDriverInfo( JNIEnv* env, jobject j_obj, jobject j_surf, jstring j_hook_lib_dir) { const char* file_redirect_dir_{}; int featureFlags{}; @@ -555,32 +555,32 @@ jobjectArray Java_org_suyu_suyu_1emu_utils_GpuDriverHelper_getSystemDriverInfo( return j_driver_info; } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_reloadKeys(JNIEnv* env, jclass clazz) { +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_reloadKeys(JNIEnv* env, jclass clazz) { Core::Crypto::KeyManager::Instance().ReloadKeys(); return static_cast<jboolean>(Core::Crypto::KeyManager::Instance().AreKeysLoaded()); } -void Java_org_suyu_suyu_1emu_NativeLibrary_unpauseEmulation(JNIEnv* env, jclass clazz) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_unpauseEmulation(JNIEnv* env, jclass clazz) { EmulationSession::GetInstance().UnPauseEmulation(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_pauseEmulation(JNIEnv* env, jclass clazz) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_pauseEmulation(JNIEnv* env, jclass clazz) { EmulationSession::GetInstance().PauseEmulation(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_stopEmulation(JNIEnv* env, jclass clazz) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_stopEmulation(JNIEnv* env, jclass clazz) { EmulationSession::GetInstance().HaltEmulation(); } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_isRunning(JNIEnv* env, jclass clazz) { +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_isRunning(JNIEnv* env, jclass clazz) { return static_cast<jboolean>(EmulationSession::GetInstance().IsRunning()); } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_isPaused(JNIEnv* env, jclass clazz) { +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_isPaused(JNIEnv* env, jclass clazz) { return static_cast<jboolean>(EmulationSession::GetInstance().IsPaused()); } -void Java_org_suyu_suyu_1emu_NativeLibrary_initializeSystem(JNIEnv* env, jclass clazz, +void Java_dev_suyu_suyu_1emu_NativeLibrary_initializeSystem(JNIEnv* env, jclass clazz, jboolean reload) { // Initialize the emulated system. if (!reload) { @@ -589,7 +589,7 @@ void Java_org_suyu_suyu_1emu_NativeLibrary_initializeSystem(JNIEnv* env, jclass EmulationSession::GetInstance().InitializeSystem(reload); } -jdoubleArray Java_org_suyu_suyu_1emu_NativeLibrary_getPerfStats(JNIEnv* env, jclass clazz) { +jdoubleArray Java_dev_suyu_suyu_1emu_NativeLibrary_getPerfStats(JNIEnv* env, jclass clazz) { jdoubleArray j_stats = env->NewDoubleArray(4); if (EmulationSession::GetInstance().IsRunning()) { @@ -605,7 +605,7 @@ jdoubleArray Java_org_suyu_suyu_1emu_NativeLibrary_getPerfStats(JNIEnv* env, jcl return j_stats; } -jstring Java_org_suyu_suyu_1emu_NativeLibrary_getCpuBackend(JNIEnv* env, jclass clazz) { +jstring Java_dev_suyu_suyu_1emu_NativeLibrary_getCpuBackend(JNIEnv* env, jclass clazz) { if (Settings::IsNceEnabled()) { return Common::Android::ToJString(env, "NCE"); } @@ -613,21 +613,21 @@ jstring Java_org_suyu_suyu_1emu_NativeLibrary_getCpuBackend(JNIEnv* env, jclass return Common::Android::ToJString(env, "JIT"); } -jstring Java_org_suyu_suyu_1emu_NativeLibrary_getGpuDriver(JNIEnv* env, jobject jobj) { +jstring Java_dev_suyu_suyu_1emu_NativeLibrary_getGpuDriver(JNIEnv* env, jobject jobj) { return Common::Android::ToJString( env, EmulationSession::GetInstance().System().GPU().Renderer().GetDeviceVendor()); } -void Java_org_suyu_suyu_1emu_NativeLibrary_applySettings(JNIEnv* env, jobject jobj) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_applySettings(JNIEnv* env, jobject jobj) { EmulationSession::GetInstance().System().ApplySettings(); EmulationSession::GetInstance().System().HIDCore().ReloadInputDevices(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_logSettings(JNIEnv* env, jobject jobj) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_logSettings(JNIEnv* env, jobject jobj) { Settings::LogSettings(); } -void Java_org_suyu_suyu_1emu_NativeLibrary_run(JNIEnv* env, jobject jobj, jstring j_path, +void Java_dev_suyu_suyu_1emu_NativeLibrary_run(JNIEnv* env, jobject jobj, jstring j_path, jint j_program_index, jboolean j_frontend_initiated) { const std::string path = Common::Android::GetJString(env, j_path); @@ -641,23 +641,23 @@ void Java_org_suyu_suyu_1emu_NativeLibrary_run(JNIEnv* env, jobject jobj, jstrin } } -void Java_org_suyu_suyu_1emu_NativeLibrary_logDeviceInfo(JNIEnv* env, jclass clazz) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_logDeviceInfo(JNIEnv* env, jclass clazz) { LOG_INFO(Frontend, "suyu 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_suyu_suyu_1emu_NativeLibrary_submitInlineKeyboardText(JNIEnv* env, jclass clazz, +void Java_dev_suyu_suyu_1emu_NativeLibrary_submitInlineKeyboardText(JNIEnv* env, jclass clazz, jstring j_text) { const std::u16string input = Common::UTF8ToUTF16(Common::Android::GetJString(env, j_text)); EmulationSession::GetInstance().SoftwareKeyboard()->SubmitInlineKeyboardText(input); } -void Java_org_suyu_suyu_1emu_NativeLibrary_submitInlineKeyboardInput(JNIEnv* env, jclass clazz, +void Java_dev_suyu_suyu_1emu_NativeLibrary_submitInlineKeyboardInput(JNIEnv* env, jclass clazz, jint j_key_code) { EmulationSession::GetInstance().SoftwareKeyboard()->SubmitInlineKeyboardInput(j_key_code); } -void Java_org_suyu_suyu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv* env, +void Java_dev_suyu_suyu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv* env, jobject instance) { const auto nand_dir = Common::FS::GetSuyuPath(Common::FS::SuyuPath::NANDDir); auto vfs_nand_dir = EmulationSession::GetInstance().System().GetFilesystem()->OpenDirectory( @@ -677,7 +677,7 @@ void Java_org_suyu_suyu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv* } } -jstring Java_org_suyu_suyu_1emu_NativeLibrary_getAppletLaunchPath(JNIEnv* env, jclass clazz, +jstring Java_dev_suyu_suyu_1emu_NativeLibrary_getAppletLaunchPath(JNIEnv* env, jclass clazz, jlong jid) { auto bis_system = EmulationSession::GetInstance().System().GetFileSystemController().GetSystemNANDContents(); @@ -694,18 +694,18 @@ jstring Java_org_suyu_suyu_1emu_NativeLibrary_getAppletLaunchPath(JNIEnv* env, j return Common::Android::ToJString(env, applet_nca->GetFullPath()); } -void Java_org_suyu_suyu_1emu_NativeLibrary_setCurrentAppletId(JNIEnv* env, jclass clazz, +void Java_dev_suyu_suyu_1emu_NativeLibrary_setCurrentAppletId(JNIEnv* env, jclass clazz, jint jappletId) { EmulationSession::GetInstance().SetAppletId(jappletId); } -void Java_org_suyu_suyu_1emu_NativeLibrary_setCabinetMode(JNIEnv* env, jclass clazz, +void Java_dev_suyu_suyu_1emu_NativeLibrary_setCabinetMode(JNIEnv* env, jclass clazz, jint jcabinetMode) { EmulationSession::GetInstance().System().GetFrontendAppletHolder().SetCabinetMode( static_cast<Service::NFP::CabinetMode>(jcabinetMode)); } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_isFirmwareAvailable(JNIEnv* env, jclass clazz) { +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_isFirmwareAvailable(JNIEnv* env, jclass clazz) { auto bis_system = EmulationSession::GetInstance().System().GetFileSystemController().GetSystemNANDContents(); if (!bis_system) { @@ -721,7 +721,7 @@ jboolean Java_org_suyu_suyu_1emu_NativeLibrary_isFirmwareAvailable(JNIEnv* env, return true; } -jobjectArray Java_org_suyu_suyu_1emu_NativeLibrary_getPatchesForFile(JNIEnv* env, jobject jobj, +jobjectArray Java_dev_suyu_suyu_1emu_NativeLibrary_getPatchesForFile(JNIEnv* env, jobject jobj, jstring jpath, jstring jprogramId) { const auto path = Common::Android::GetJString(env, jpath); @@ -757,27 +757,27 @@ jobjectArray Java_org_suyu_suyu_1emu_NativeLibrary_getPatchesForFile(JNIEnv* env return jpatchArray; } -void Java_org_suyu_suyu_1emu_NativeLibrary_removeUpdate(JNIEnv* env, jobject jobj, +void Java_dev_suyu_suyu_1emu_NativeLibrary_removeUpdate(JNIEnv* env, jobject jobj, jstring jprogramId) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); ContentManager::RemoveUpdate(EmulationSession::GetInstance().System().GetFileSystemController(), program_id); } -void Java_org_suyu_suyu_1emu_NativeLibrary_removeDLC(JNIEnv* env, jobject jobj, +void Java_dev_suyu_suyu_1emu_NativeLibrary_removeDLC(JNIEnv* env, jobject jobj, jstring jprogramId) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); ContentManager::RemoveAllDLC(EmulationSession::GetInstance().System(), program_id); } -void Java_org_suyu_suyu_1emu_NativeLibrary_removeMod(JNIEnv* env, jobject jobj, jstring jprogramId, +void Java_dev_suyu_suyu_1emu_NativeLibrary_removeMod(JNIEnv* env, jobject jobj, jstring jprogramId, jstring jname) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); ContentManager::RemoveMod(EmulationSession::GetInstance().System().GetFileSystemController(), program_id, Common::Android::GetJString(env, jname)); } -jobjectArray Java_org_suyu_suyu_1emu_NativeLibrary_verifyInstalledContents(JNIEnv* env, +jobjectArray Java_dev_suyu_suyu_1emu_NativeLibrary_verifyInstalledContents(JNIEnv* env, jobject jobj, jobject jcallback) { auto jlambdaClass = env->GetObjectClass(jcallback); @@ -801,7 +801,7 @@ jobjectArray Java_org_suyu_suyu_1emu_NativeLibrary_verifyInstalledContents(JNIEn return jresult; } -jint Java_org_suyu_suyu_1emu_NativeLibrary_verifyGameContents(JNIEnv* env, jobject jobj, +jint Java_dev_suyu_suyu_1emu_NativeLibrary_verifyGameContents(JNIEnv* env, jobject jobj, jstring jpath, jobject jcallback) { auto jlambdaClass = env->GetObjectClass(jcallback); auto jlambdaInvokeMethod = env->GetMethodID( @@ -817,7 +817,7 @@ jint Java_org_suyu_suyu_1emu_NativeLibrary_verifyGameContents(JNIEnv* env, jobje session.System(), Common::Android::GetJString(env, jpath), callback)); } -jstring Java_org_suyu_suyu_1emu_NativeLibrary_getSavePath(JNIEnv* env, jobject jobj, +jstring Java_dev_suyu_suyu_1emu_NativeLibrary_getSavePath(JNIEnv* env, jobject jobj, jstring jprogramId) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); if (program_id == 0) { @@ -841,7 +841,7 @@ jstring Java_org_suyu_suyu_1emu_NativeLibrary_getSavePath(JNIEnv* env, jobject j return Common::Android::ToJString(env, user_save_data_path); } -jstring Java_org_suyu_suyu_1emu_NativeLibrary_getDefaultProfileSaveDataRoot(JNIEnv* env, +jstring Java_dev_suyu_suyu_1emu_NativeLibrary_getDefaultProfileSaveDataRoot(JNIEnv* env, jobject jobj, jboolean jfuture) { Service::Account::ProfileManager manager; @@ -854,17 +854,17 @@ jstring Java_org_suyu_suyu_1emu_NativeLibrary_getDefaultProfileSaveDataRoot(JNIE return Common::Android::ToJString(env, user_save_data_root); } -void Java_org_suyu_suyu_1emu_NativeLibrary_addFileToFilesystemProvider(JNIEnv* env, jobject jobj, +void Java_dev_suyu_suyu_1emu_NativeLibrary_addFileToFilesystemProvider(JNIEnv* env, jobject jobj, jstring jpath) { EmulationSession::GetInstance().ConfigureFilesystemProvider( Common::Android::GetJString(env, jpath)); } -void Java_org_suyu_suyu_1emu_NativeLibrary_clearFilesystemProvider(JNIEnv* env, jobject jobj) { +void Java_dev_suyu_suyu_1emu_NativeLibrary_clearFilesystemProvider(JNIEnv* env, jobject jobj) { EmulationSession::GetInstance().GetContentProvider()->ClearAllEntries(); } -jboolean Java_org_suyu_suyu_1emu_NativeLibrary_areKeysPresent(JNIEnv* env, jobject jobj) { +jboolean Java_dev_suyu_suyu_1emu_NativeLibrary_areKeysPresent(JNIEnv* env, jobject jobj) { auto& system = EmulationSession::GetInstance().System(); system.GetFileSystemController().CreateFactories(*system.GetFilesystem()); return ContentManager::AreKeysPresent(); diff --git a/src/android/app/src/main/jni/native_config.cpp b/src/android/app/src/main/jni/native_config.cpp index 88282657f12bc09c29ee8fe9a6adca40bf3a6e13..cad322297bd146b6544da01e98cc067d16960a51 100644 --- a/src/android/app/src/main/jni/native_config.cpp +++ b/src/android/app/src/main/jni/native_config.cpp @@ -34,23 +34,23 @@ Settings::Setting<T>* getSetting(JNIEnv* env, jstring jkey) { extern "C" { -void Java_org_suyu_suyu_1emu_utils_NativeConfig_initializeGlobalConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_initializeGlobalConfig(JNIEnv* env, jobject obj) { global_config = std::make_unique<AndroidConfig>(); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_unloadGlobalConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_unloadGlobalConfig(JNIEnv* env, jobject obj) { global_config.reset(); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_reloadGlobalConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_reloadGlobalConfig(JNIEnv* env, jobject obj) { global_config->AndroidConfig::ReloadAllValues(); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_saveGlobalConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_saveGlobalConfig(JNIEnv* env, jobject obj) { global_config->AndroidConfig::SaveAllValues(); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_initializePerGameConfig(JNIEnv* env, jobject obj, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_initializePerGameConfig(JNIEnv* env, jobject obj, jstring jprogramId, jstring jfileName) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); @@ -60,20 +60,20 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_initializePerGameConfig(JNIEnv* std::make_unique<AndroidConfig>(config_file_name, Config::ConfigType::PerGameConfig); } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_isPerGameConfigLoaded(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_isPerGameConfigLoaded(JNIEnv* env, jobject obj) { return per_game_config != nullptr; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_savePerGameConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_savePerGameConfig(JNIEnv* env, jobject obj) { per_game_config->AndroidConfig::SaveAllValues(); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_unloadPerGameConfig(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_unloadPerGameConfig(JNIEnv* env, jobject obj) { per_game_config.reset(); } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getBoolean(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_getBoolean(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<bool>(env, jkey); if (setting == nullptr) { @@ -82,7 +82,7 @@ jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getBoolean(JNIEnv* env, jobj return setting->GetValue(static_cast<bool>(needGlobal)); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setBoolean(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setBoolean(JNIEnv* env, jobject obj, jstring jkey, jboolean value) { auto setting = getSetting<bool>(env, jkey); if (setting == nullptr) { @@ -91,7 +91,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setBoolean(JNIEnv* env, jobject setting->SetValue(static_cast<bool>(value)); } -jbyte Java_org_suyu_suyu_1emu_utils_NativeConfig_getByte(JNIEnv* env, jobject obj, jstring jkey, +jbyte Java_dev_suyu_suyu_1emu_utils_NativeConfig_getByte(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<u8>(env, jkey); if (setting == nullptr) { @@ -100,7 +100,7 @@ jbyte Java_org_suyu_suyu_1emu_utils_NativeConfig_getByte(JNIEnv* env, jobject ob return setting->GetValue(static_cast<bool>(needGlobal)); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setByte(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setByte(JNIEnv* env, jobject obj, jstring jkey, jbyte value) { auto setting = getSetting<u8>(env, jkey); if (setting == nullptr) { @@ -109,7 +109,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setByte(JNIEnv* env, jobject obj setting->SetValue(value); } -jshort Java_org_suyu_suyu_1emu_utils_NativeConfig_getShort(JNIEnv* env, jobject obj, jstring jkey, +jshort Java_dev_suyu_suyu_1emu_utils_NativeConfig_getShort(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<u16>(env, jkey); if (setting == nullptr) { @@ -118,7 +118,7 @@ jshort Java_org_suyu_suyu_1emu_utils_NativeConfig_getShort(JNIEnv* env, jobject return setting->GetValue(static_cast<bool>(needGlobal)); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setShort(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setShort(JNIEnv* env, jobject obj, jstring jkey, jshort value) { auto setting = getSetting<u16>(env, jkey); if (setting == nullptr) { @@ -127,7 +127,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setShort(JNIEnv* env, jobject ob setting->SetValue(value); } -jint Java_org_suyu_suyu_1emu_utils_NativeConfig_getInt(JNIEnv* env, jobject obj, jstring jkey, +jint Java_dev_suyu_suyu_1emu_utils_NativeConfig_getInt(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<int>(env, jkey); if (setting == nullptr) { @@ -136,7 +136,7 @@ jint Java_org_suyu_suyu_1emu_utils_NativeConfig_getInt(JNIEnv* env, jobject obj, return setting->GetValue(needGlobal); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setInt(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setInt(JNIEnv* env, jobject obj, jstring jkey, jint value) { auto setting = getSetting<int>(env, jkey); if (setting == nullptr) { @@ -145,7 +145,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setInt(JNIEnv* env, jobject obj, setting->SetValue(value); } -jfloat Java_org_suyu_suyu_1emu_utils_NativeConfig_getFloat(JNIEnv* env, jobject obj, jstring jkey, +jfloat Java_dev_suyu_suyu_1emu_utils_NativeConfig_getFloat(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<float>(env, jkey); if (setting == nullptr) { @@ -154,7 +154,7 @@ jfloat Java_org_suyu_suyu_1emu_utils_NativeConfig_getFloat(JNIEnv* env, jobject return setting->GetValue(static_cast<bool>(needGlobal)); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setFloat(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setFloat(JNIEnv* env, jobject obj, jstring jkey, jfloat value) { auto setting = getSetting<float>(env, jkey); if (setting == nullptr) { @@ -163,7 +163,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setFloat(JNIEnv* env, jobject ob setting->SetValue(value); } -jlong Java_org_suyu_suyu_1emu_utils_NativeConfig_getLong(JNIEnv* env, jobject obj, jstring jkey, +jlong Java_dev_suyu_suyu_1emu_utils_NativeConfig_getLong(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<s64>(env, jkey); if (setting == nullptr) { @@ -172,7 +172,7 @@ jlong Java_org_suyu_suyu_1emu_utils_NativeConfig_getLong(JNIEnv* env, jobject ob return setting->GetValue(static_cast<bool>(needGlobal)); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setLong(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setLong(JNIEnv* env, jobject obj, jstring jkey, jlong value) { auto setting = getSetting<long>(env, jkey); if (setting == nullptr) { @@ -181,7 +181,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setLong(JNIEnv* env, jobject obj setting->SetValue(value); } -jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getString(JNIEnv* env, jobject obj, jstring jkey, +jstring Java_dev_suyu_suyu_1emu_utils_NativeConfig_getString(JNIEnv* env, jobject obj, jstring jkey, jboolean needGlobal) { auto setting = getSetting<std::string>(env, jkey); if (setting == nullptr) { @@ -190,7 +190,7 @@ jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getString(JNIEnv* env, jobjec return Common::Android::ToJString(env, setting->GetValue(static_cast<bool>(needGlobal))); } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setString(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setString(JNIEnv* env, jobject obj, jstring jkey, jstring value) { auto setting = getSetting<std::string>(env, jkey); if (setting == nullptr) { @@ -200,7 +200,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setString(JNIEnv* env, jobject o setting->SetValue(Common::Android::GetJString(env, value)); } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsRuntimeModifiable(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_getIsRuntimeModifiable(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -209,7 +209,7 @@ jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsRuntimeModifiable(JNIEn return true; } -jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getPairedSettingKey(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_NativeConfig_getPairedSettingKey(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting == nullptr) { @@ -222,7 +222,7 @@ jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getPairedSettingKey(JNIEnv* e return Common::Android::ToJString(env, setting->PairedSetting()->GetLabel()); } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsSwitchable(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_getIsSwitchable(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -231,7 +231,7 @@ jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsSwitchable(JNIEnv* env, return false; } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_usingGlobal(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_usingGlobal(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -240,7 +240,7 @@ jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_usingGlobal(JNIEnv* env, job return true; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setGlobal(JNIEnv* env, jobject obj, jstring jkey, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setGlobal(JNIEnv* env, jobject obj, jstring jkey, jboolean global) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -248,7 +248,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setGlobal(JNIEnv* env, jobject o } } -jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsSaveable(JNIEnv* env, jobject obj, +jboolean Java_dev_suyu_suyu_1emu_utils_NativeConfig_getIsSaveable(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -257,7 +257,7 @@ jboolean Java_org_suyu_suyu_1emu_utils_NativeConfig_getIsSaveable(JNIEnv* env, j return false; } -jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getDefaultToString(JNIEnv* env, jobject obj, +jstring Java_dev_suyu_suyu_1emu_utils_NativeConfig_getDefaultToString(JNIEnv* env, jobject obj, jstring jkey) { auto setting = getSetting<std::string>(env, jkey); if (setting != nullptr) { @@ -266,7 +266,7 @@ jstring Java_org_suyu_suyu_1emu_utils_NativeConfig_getDefaultToString(JNIEnv* en return Common::Android::ToJString(env, ""); } -jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getGameDirs(JNIEnv* env, jobject obj) { +jobjectArray Java_dev_suyu_suyu_1emu_utils_NativeConfig_getGameDirs(JNIEnv* env, jobject obj) { jclass gameDirClass = Common::Android::GetGameDirClass(); jmethodID gameDirConstructor = Common::Android::GetGameDirConstructor(); jobjectArray jgameDirArray = @@ -281,7 +281,7 @@ jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getGameDirs(JNIEnv* env, return jgameDirArray; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setGameDirs(JNIEnv* env, jobject obj, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setGameDirs(JNIEnv* env, jobject obj, jobjectArray gameDirs) { AndroidSettings::values.game_dirs.clear(); int size = env->GetArrayLength(gameDirs); @@ -304,7 +304,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setGameDirs(JNIEnv* env, jobject } } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_addGameDir(JNIEnv* env, jobject obj, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_addGameDir(JNIEnv* env, jobject obj, jobject gameDir) { jclass gameDirClass = Common::Android::GetGameDirClass(); jfieldID uriStringField = env->GetFieldID(gameDirClass, "uriString", "Ljava/lang/String;"); @@ -317,7 +317,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_addGameDir(JNIEnv* env, jobject AndroidSettings::GameDir{uriString, static_cast<bool>(jdeepScanBoolean)}); } -jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getDisabledAddons(JNIEnv* env, jobject obj, +jobjectArray Java_dev_suyu_suyu_1emu_utils_NativeConfig_getDisabledAddons(JNIEnv* env, jobject obj, jstring jprogramId) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); auto& disabledAddons = Settings::values.disabled_addons[program_id]; @@ -331,7 +331,7 @@ jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getDisabledAddons(JNIEnv return jdisabledAddonsArray; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setDisabledAddons(JNIEnv* env, jobject obj, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setDisabledAddons(JNIEnv* env, jobject obj, jstring jprogramId, jobjectArray jdisabledAddons) { auto program_id = EmulationSession::GetProgramId(env, jprogramId); @@ -345,7 +345,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setDisabledAddons(JNIEnv* env, j Settings::values.disabled_addons[program_id] = disabled_addons; } -jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getOverlayControlData(JNIEnv* env, +jobjectArray Java_dev_suyu_suyu_1emu_utils_NativeConfig_getOverlayControlData(JNIEnv* env, jobject obj) { jobjectArray joverlayControlDataArray = env->NewObjectArray(AndroidSettings::values.overlay_control_data.size(), @@ -375,7 +375,7 @@ jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getOverlayControlData(JN return joverlayControlDataArray; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setOverlayControlData( +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setOverlayControlData( JNIEnv* env, jobject obj, jobjectArray joverlayControlDataArray) { AndroidSettings::values.overlay_control_data.clear(); int size = env->GetArrayLength(joverlayControlDataArray); @@ -424,7 +424,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setOverlayControlData( } } -jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getInputSettings(JNIEnv* env, jobject obj, +jobjectArray Java_dev_suyu_suyu_1emu_utils_NativeConfig_getInputSettings(JNIEnv* env, jobject obj, jboolean j_global) { Settings::values.players.SetGlobal(static_cast<bool>(j_global)); auto& players = Settings::values.players.GetValue(); @@ -474,7 +474,7 @@ jobjectArray Java_org_suyu_suyu_1emu_utils_NativeConfig_getInputSettings(JNIEnv* return j_input_settings; } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_setInputSettings(JNIEnv* env, jobject obj, +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_setInputSettings(JNIEnv* env, jobject obj, jobjectArray j_value, jboolean j_global) { auto& players = Settings::values.players.GetValue(static_cast<bool>(j_global)); @@ -530,7 +530,7 @@ void Java_org_suyu_suyu_1emu_utils_NativeConfig_setInputSettings(JNIEnv* env, jo } } -void Java_org_suyu_suyu_1emu_utils_NativeConfig_saveControlPlayerValues(JNIEnv* env, jobject obj) { +void Java_dev_suyu_suyu_1emu_utils_NativeConfig_saveControlPlayerValues(JNIEnv* env, jobject obj) { Settings::values.players.SetGlobal(false); // Clear all controls from the config in case the user reverted back to globals diff --git a/src/android/app/src/main/jni/native_input.cpp b/src/android/app/src/main/jni/native_input.cpp index 5f83c3fe1b6f8550f51b629fad0456d978a08fd7..d3523eb30d26bfa2eb33c672941d34c5b5d995a5 100644 --- a/src/android/app/src/main/jni/native_input.cpp +++ b/src/android/app/src/main/jni/native_input.cpp @@ -186,24 +186,24 @@ void ConnectController(size_t player_index, bool connected) { extern "C" { -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_isHandheldOnly(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_isHandheldOnly(JNIEnv* env, jobject j_obj) { return IsHandheldOnly(); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onGamePadButtonEvent( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onGamePadButtonEvent( JNIEnv* env, jobject j_obj, jstring j_guid, jint j_port, jint j_button_id, jint j_action) { EmulationSession::GetInstance().GetInputSubsystem().GetAndroid()->SetButtonState( Common::Android::GetJString(env, j_guid), j_port, j_button_id, j_action != 0); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onGamePadAxisEvent( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onGamePadAxisEvent( JNIEnv* env, jobject j_obj, jstring j_guid, jint j_port, jint j_stick_id, jfloat j_value) { EmulationSession::GetInstance().GetInputSubsystem().GetAndroid()->SetAxisPosition( Common::Android::GetJString(env, j_guid), j_port, j_stick_id, j_value); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onGamePadMotionEvent( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onGamePadMotionEvent( JNIEnv* env, jobject j_obj, jstring j_guid, jint j_port, jlong j_delta_timestamp, jfloat j_x_gyro, jfloat j_y_gyro, jfloat j_z_gyro, jfloat j_x_accel, jfloat j_y_accel, jfloat j_z_accel) { @@ -212,7 +212,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onGamePadMotionEvent( j_z_gyro, j_x_accel, j_y_accel, j_z_accel); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onReadNfcTag(JNIEnv* env, jobject j_obj, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onReadNfcTag(JNIEnv* env, jobject j_obj, jbyteArray j_data) { jboolean isCopy{false}; std::span<u8> data(reinterpret_cast<u8*>(env->GetByteArrayElements(j_data, &isCopy)), @@ -223,13 +223,13 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onReadNfcTag(JNIEnv* env } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onRemoveNfcTag(JNIEnv* env, jobject j_obj) { +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onRemoveNfcTag(JNIEnv* env, jobject j_obj) { if (EmulationSession::GetInstance().IsRunning()) { EmulationSession::GetInstance().GetInputSubsystem().GetVirtualAmiibo()->CloseAmiibo(); } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onTouchPressed(JNIEnv* env, jobject j_obj, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onTouchPressed(JNIEnv* env, jobject j_obj, jint j_id, jfloat j_x_axis, jfloat j_y_axis) { if (EmulationSession::GetInstance().IsRunning()) { @@ -237,7 +237,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onTouchPressed(JNIEnv* e } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onTouchMoved(JNIEnv* env, jobject j_obj, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onTouchMoved(JNIEnv* env, jobject j_obj, jint j_id, jfloat j_x_axis, jfloat j_y_axis) { if (EmulationSession::GetInstance().IsRunning()) { @@ -245,14 +245,14 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onTouchMoved(JNIEnv* env } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onTouchReleased(JNIEnv* env, jobject j_obj, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onTouchReleased(JNIEnv* env, jobject j_obj, jint j_id) { if (EmulationSession::GetInstance().IsRunning()) { EmulationSession::GetInstance().Window().OnTouchReleased(j_id); } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onOverlayButtonEventImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onOverlayButtonEventImpl( JNIEnv* env, jobject j_obj, jint j_port, jint j_button_id, jint j_action) { if (EmulationSession::GetInstance().IsRunning()) { EmulationSession::GetInstance().GetInputSubsystem().GetVirtualGamepad()->SetButtonState( @@ -260,7 +260,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onOverlayButtonEventImpl } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onOverlayJoystickEventImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onOverlayJoystickEventImpl( JNIEnv* env, jobject j_obj, jint j_port, jint j_stick_id, jfloat j_x_axis, jfloat j_y_axis) { if (EmulationSession::GetInstance().IsRunning()) { EmulationSession::GetInstance().GetInputSubsystem().GetVirtualGamepad()->SetStickPosition( @@ -268,7 +268,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onOverlayJoystickEventIm } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_onDeviceMotionEvent( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_onDeviceMotionEvent( JNIEnv* env, jobject j_obj, jint j_port, jlong j_delta_timestamp, jfloat j_x_gyro, jfloat j_y_gyro, jfloat j_z_gyro, jfloat j_x_accel, jfloat j_y_accel, jfloat j_z_accel) { if (EmulationSession::GetInstance().IsRunning()) { @@ -278,18 +278,18 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_onDeviceMotionEvent( } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_reloadInputDevices(JNIEnv* env, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_reloadInputDevices(JNIEnv* env, jobject j_obj) { EmulationSession::GetInstance().System().HIDCore().ReloadInputDevices(); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_registerController(JNIEnv* env, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_registerController(JNIEnv* env, jobject j_obj, jobject j_device) { EmulationSession::GetInstance().GetInputSubsystem().GetAndroid()->RegisterController(j_device); } -jobjectArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getInputDevices(JNIEnv* env, +jobjectArray Java_dev_suyu_suyu_1emu_features_input_NativeInput_getInputDevices(JNIEnv* env, jobject j_obj) { auto devices = EmulationSession::GetInstance().GetInputSubsystem().GetInputDevices(); jobjectArray jdevices = env->NewObjectArray(devices.size(), Common::Android::GetStringClass(), @@ -301,7 +301,7 @@ jobjectArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getInputDevices( return jdevices; } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_loadInputProfiles(JNIEnv* env, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_loadInputProfiles(JNIEnv* env, jobject j_obj) { map_profiles.clear(); const auto input_profile_loc = @@ -327,7 +327,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_loadInputProfiles(JNIEnv } } -jobjectArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getInputProfileNames( +jobjectArray Java_dev_suyu_suyu_1emu_features_input_NativeInput_getInputProfileNames( JNIEnv* env, jobject j_obj) { std::vector<std::string> profile_names; profile_names.reserve(map_profiles.size()); @@ -357,14 +357,14 @@ jobjectArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getInputProfileN return j_profile_names; } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_isProfileNameValid(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_isProfileNameValid(JNIEnv* env, jobject j_obj, jstring j_name) { return Common::Android::GetJString(env, j_name).find_first_of("<>:;\"/\\|,.!?*") == std::string::npos; } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_createProfile(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_createProfile(JNIEnv* env, jobject j_obj, jstring j_name, jint j_player_index) { @@ -380,7 +380,7 @@ jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_createProfile(JNIEnv return SaveProfile(profile_name, j_player_index); } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_deleteProfile(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_deleteProfile(JNIEnv* env, jobject j_obj, jstring j_name, jint j_player_index) { @@ -398,21 +398,21 @@ jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_deleteProfile(JNIEnv return !ProfileExistsInMap(profile_name) && !ProfileExistsInFilesystem(profile_name); } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_loadProfile(JNIEnv* env, jobject j_obj, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_loadProfile(JNIEnv* env, jobject j_obj, jstring j_name, jint j_player_index) { auto profile_name = Common::Android::GetJString(env, j_name); return LoadProfile(profile_name, j_player_index); } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_saveProfile(JNIEnv* env, jobject j_obj, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_saveProfile(JNIEnv* env, jobject j_obj, jstring j_name, jint j_player_index) { auto profile_name = Common::Android::GetJString(env, j_name); return SaveProfile(profile_name, j_player_index); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_loadPerGameConfiguration( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_loadPerGameConfiguration( JNIEnv* env, jobject j_obj, jint j_player_index, jint j_selected_index, jstring j_selected_profile_name) { static constexpr size_t HANDHELD_INDEX = 8; @@ -460,23 +460,23 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_loadPerGameConfiguration handheld_controller->ReloadFromSettings(); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_beginMapping(JNIEnv* env, jobject j_obj, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_beginMapping(JNIEnv* env, jobject j_obj, jint jtype) { EmulationSession::GetInstance().GetInputSubsystem().BeginMapping( static_cast<InputCommon::Polling::InputType>(jtype)); } -jstring Java_org_suyu_suyu_1emu_features_input_NativeInput_getNextInput(JNIEnv* env, +jstring Java_dev_suyu_suyu_1emu_features_input_NativeInput_getNextInput(JNIEnv* env, jobject j_obj) { return Common::Android::ToJString( env, EmulationSession::GetInstance().GetInputSubsystem().GetNextInput().Serialize()); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_stopMapping(JNIEnv* env, jobject j_obj) { +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_stopMapping(JNIEnv* env, jobject j_obj) { EmulationSession::GetInstance().GetInputSubsystem().StopMapping(); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_updateMappingsWithDefaultImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_updateMappingsWithDefaultImpl( JNIEnv* env, jobject j_obj, jint j_player_index, jstring j_device_params, jstring j_display_name) { auto& input_subsystem = EmulationSession::GetInstance().GetInputSubsystem(); @@ -516,7 +516,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_updateMappingsWithDefaul } } -jstring Java_org_suyu_suyu_1emu_features_input_NativeInput_getButtonParamImpl(JNIEnv* env, +jstring Java_dev_suyu_suyu_1emu_features_input_NativeInput_getButtonParamImpl(JNIEnv* env, jobject j_obj, jint j_player_index, jint j_button) { @@ -528,7 +528,7 @@ jstring Java_org_suyu_suyu_1emu_features_input_NativeInput_getButtonParamImpl(JN .Serialize()); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_setButtonParamImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_setButtonParamImpl( JNIEnv* env, jobject j_obj, jint j_player_index, jint j_button_id, jstring j_param) { ApplyControllerConfig(j_player_index, [&](Core::HID::EmulatedController* controller) { controller->SetButtonParam(j_button_id, @@ -536,7 +536,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_setButtonParamImpl( }); } -jstring Java_org_suyu_suyu_1emu_features_input_NativeInput_getStickParamImpl(JNIEnv* env, +jstring Java_dev_suyu_suyu_1emu_features_input_NativeInput_getStickParamImpl(JNIEnv* env, jobject j_obj, jint j_player_index, jint j_stick) { @@ -548,7 +548,7 @@ jstring Java_org_suyu_suyu_1emu_features_input_NativeInput_getStickParamImpl(JNI .Serialize()); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_setStickParamImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_setStickParamImpl( JNIEnv* env, jobject j_obj, jint j_player_index, jint j_stick_id, jstring j_param) { ApplyControllerConfig(j_player_index, [&](Core::HID::EmulatedController* controller) { controller->SetStickParam(j_stick_id, @@ -556,14 +556,14 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_setStickParamImpl( }); } -jint Java_org_suyu_suyu_1emu_features_input_NativeInput_getButtonNameImpl(JNIEnv* env, +jint Java_dev_suyu_suyu_1emu_features_input_NativeInput_getButtonNameImpl(JNIEnv* env, jobject j_obj, jstring j_param) { return static_cast<jint>(EmulationSession::GetInstance().GetInputSubsystem().GetButtonName( Common::ParamPackage(Common::Android::GetJString(env, j_param)))); } -jintArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getSupportedStyleTagsImpl( +jintArray Java_dev_suyu_suyu_1emu_features_input_NativeInput_getSupportedStyleTagsImpl( JNIEnv* env, jobject j_obj, jint j_player_index) { auto supported_styles = GetSupportedStyles(j_player_index); jintArray j_supported_indexes = env->NewIntArray(supported_styles.size()); @@ -572,7 +572,7 @@ jintArray Java_org_suyu_suyu_1emu_features_input_NativeInput_getSupportedStyleTa return j_supported_indexes; } -jint Java_org_suyu_suyu_1emu_features_input_NativeInput_getStyleIndexImpl(JNIEnv* env, +jint Java_dev_suyu_suyu_1emu_features_input_NativeInput_getStyleIndexImpl(JNIEnv* env, jobject j_obj, jint j_player_index) { return static_cast<s32>(EmulationSession::GetInstance() @@ -582,7 +582,7 @@ jint Java_org_suyu_suyu_1emu_features_input_NativeInput_getStyleIndexImpl(JNIEnv ->GetNpadStyleIndex(true)); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_setStyleIndexImpl(JNIEnv* env, +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_setStyleIndexImpl(JNIEnv* env, jobject j_obj, jint j_player_index, jint j_style_index) { @@ -599,14 +599,14 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_setStyleIndexImpl(JNIEnv } } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_isControllerImpl(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_isControllerImpl(JNIEnv* env, jobject j_obj, jstring jparams) { return static_cast<jint>(EmulationSession::GetInstance().GetInputSubsystem().IsController( Common::ParamPackage(Common::Android::GetJString(env, jparams)))); } -jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_getIsConnected(JNIEnv* env, +jboolean Java_dev_suyu_suyu_1emu_features_input_NativeInput_getIsConnected(JNIEnv* env, jobject j_obj, jint j_player_index) { auto& hid_core = EmulationSession::GetInstance().System().HIDCore(); @@ -618,7 +618,7 @@ jboolean Java_org_suyu_suyu_1emu_features_input_NativeInput_getIsConnected(JNIEn return controller->IsConnected(true); } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_connectControllersImpl( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_connectControllersImpl( JNIEnv* env, jobject j_obj, jbooleanArray j_connected) { jboolean isCopy = false; auto j_connected_array_size = env->GetArrayLength(j_connected); @@ -628,7 +628,7 @@ void Java_org_suyu_suyu_1emu_features_input_NativeInput_connectControllersImpl( } } -void Java_org_suyu_suyu_1emu_features_input_NativeInput_resetControllerMappings( +void Java_dev_suyu_suyu_1emu_features_input_NativeInput_resetControllerMappings( JNIEnv* env, jobject j_obj, jint j_player_index) { // Clear all previous mappings for (int button_id = 0; button_id < Settings::NativeButton::NumButtons; ++button_id) { diff --git a/src/android/app/src/main/jni/native_log.cpp b/src/android/app/src/main/jni/native_log.cpp index e1f74d47017e7c42c4b83b2e5f7795f9077fac88..29a33119e6ecc7afdf0af860ca316f07364593d7 100644 --- a/src/android/app/src/main/jni/native_log.cpp +++ b/src/android/app/src/main/jni/native_log.cpp @@ -7,23 +7,23 @@ extern "C" { -void Java_org_suyu_suyu_1emu_utils_Log_debug(JNIEnv* env, jobject obj, jstring jmessage) { +void Java_dev_suyu_suyu_1emu_utils_Log_debug(JNIEnv* env, jobject obj, jstring jmessage) { LOG_DEBUG(Frontend, "{}", Common::Android::GetJString(env, jmessage)); } -void Java_org_suyu_suyu_1emu_utils_Log_warning(JNIEnv* env, jobject obj, jstring jmessage) { +void Java_dev_suyu_suyu_1emu_utils_Log_warning(JNIEnv* env, jobject obj, jstring jmessage) { LOG_WARNING(Frontend, "{}", Common::Android::GetJString(env, jmessage)); } -void Java_org_suyu_suyu_1emu_utils_Log_info(JNIEnv* env, jobject obj, jstring jmessage) { +void Java_dev_suyu_suyu_1emu_utils_Log_info(JNIEnv* env, jobject obj, jstring jmessage) { LOG_INFO(Frontend, "{}", Common::Android::GetJString(env, jmessage)); } -void Java_org_suyu_suyu_1emu_utils_Log_error(JNIEnv* env, jobject obj, jstring jmessage) { +void Java_dev_suyu_suyu_1emu_utils_Log_error(JNIEnv* env, jobject obj, jstring jmessage) { LOG_ERROR(Frontend, "{}", Common::Android::GetJString(env, jmessage)); } -void Java_org_suyu_suyu_1emu_utils_Log_critical(JNIEnv* env, jobject obj, jstring jmessage) { +void Java_dev_suyu_suyu_1emu_utils_Log_critical(JNIEnv* env, jobject obj, jstring jmessage) { LOG_CRITICAL(Frontend, "{}", Common::Android::GetJString(env, jmessage)); } diff --git a/src/android/app/src/main/res/layout/fragment_emulation.xml b/src/android/app/src/main/res/layout/fragment_emulation.xml index fb56b3c9d8ae2f5976b08256293d7c835e3dcce7..e43e9fe208065c3d59c25b2c117675a27b3b11f0 100644 --- a/src/android/app/src/main/res/layout/fragment_emulation.xml +++ b/src/android/app/src/main/res/layout/fragment_emulation.xml @@ -6,7 +6,7 @@ android:layout_height="match_parent" android:keepScreenOn="true" android:defaultFocusHighlightEnabled="false" - tools:context="org.suyu.suyu_emu.fragments.EmulationFragment" + tools:context="dev.suyu.suyu_emu.fragments.EmulationFragment" tools:openDrawer="start"> <androidx.coordinatorlayout.widget.CoordinatorLayout @@ -19,7 +19,7 @@ android:layout_height="match_parent"> <!-- This is what everything is rendered to during emulation --> - <org.suyu.suyu_emu.views.FixedRatioSurfaceView + <dev.suyu.suyu_emu.views.FixedRatioSurfaceView android:id="@+id/surface_emulation" android:layout_width="match_parent" android:layout_height="match_parent" @@ -115,7 +115,7 @@ android:layout_gravity="bottom"> <!-- This is the onscreen input overlay --> - <org.suyu.suyu_emu.overlay.InputOverlay + <dev.suyu.suyu_emu.overlay.InputOverlay android:id="@+id/surface_input_overlay" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/src/android/app/src/main/res/navigation/emulation_navigation.xml b/src/android/app/src/main/res/navigation/emulation_navigation.xml index 95c9353dc640721eccc258b8697fb344853f9bfc..3894ef8a35be82f9f9444365491411161e017c3e 100644 --- a/src/android/app/src/main/res/navigation/emulation_navigation.xml +++ b/src/android/app/src/main/res/navigation/emulation_navigation.xml @@ -7,12 +7,12 @@ <fragment android:id="@+id/emulationFragment" - android:name="org.suyu.suyu_emu.fragments.EmulationFragment" + android:name="dev.suyu.suyu_emu.fragments.EmulationFragment" android:label="fragment_emulation" tools:layout="@layout/fragment_emulation" > <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" android:defaultValue="@null" /> <argument @@ -23,15 +23,15 @@ <activity android:id="@+id/settingsActivity" - android:name="org.suyu.suyu_emu.features.settings.ui.SettingsActivity" + android:name="dev.suyu.suyu_emu.features.settings.ui.SettingsActivity" android:label="SettingsActivity"> <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" /> <argument android:name="menuTag" - app:argType="org.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> + app:argType="dev.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> </activity> <action diff --git a/src/android/app/src/main/res/navigation/home_navigation.xml b/src/android/app/src/main/res/navigation/home_navigation.xml index ab25066d1b98b1779a4640fff97b4344bc436b14..c7fe1a00b05e61d46a4ba5796e6a798b8fffa9ef 100644 --- a/src/android/app/src/main/res/navigation/home_navigation.xml +++ b/src/android/app/src/main/res/navigation/home_navigation.xml @@ -6,12 +6,12 @@ <fragment android:id="@+id/gamesFragment" - android:name="org.suyu.suyu_emu.ui.GamesFragment" + android:name="dev.suyu.suyu_emu.ui.GamesFragment" android:label="PlatformGamesFragment" /> <fragment android:id="@+id/homeSettingsFragment" - android:name="org.suyu.suyu_emu.fragments.HomeSettingsFragment" + android:name="dev.suyu.suyu_emu.fragments.HomeSettingsFragment" android:label="HomeSettingsFragment" > <action android:id="@+id/action_homeSettingsFragment_to_aboutFragment" @@ -35,7 +35,7 @@ <fragment android:id="@+id/firstTimeSetupFragment" - android:name="org.suyu.suyu_emu.fragments.SetupFragment" + android:name="dev.suyu.suyu_emu.fragments.SetupFragment" android:label="FirstTimeSetupFragment" > <action android:id="@+id/action_firstTimeSetupFragment_to_gamesFragment" @@ -46,12 +46,12 @@ <fragment android:id="@+id/searchFragment" - android:name="org.suyu.suyu_emu.fragments.SearchFragment" + android:name="dev.suyu.suyu_emu.fragments.SearchFragment" android:label="SearchFragment" /> <fragment android:id="@+id/aboutFragment" - android:name="org.suyu.suyu_emu.fragments.AboutFragment" + android:name="dev.suyu.suyu_emu.fragments.AboutFragment" android:label="AboutFragment" > <action android:id="@+id/action_aboutFragment_to_licensesFragment" @@ -61,21 +61,21 @@ <!-- Temporarily commented out for testing remove the code later. --> <!-- <fragment android:id="@+id/earlyAccessFragment" - android:name="org.suyu.suyu_emu.fragments.EarlyAccessFragment" + android:name="dev.suyu.suyu_emu.fragments.EarlyAccessFragment" android:label="EarlyAccessFragment" /> --> <fragment android:id="@+id/licensesFragment" - android:name="org.suyu.suyu_emu.fragments.LicensesFragment" + android:name="dev.suyu.suyu_emu.fragments.LicensesFragment" android:label="LicensesFragment" /> <activity android:id="@+id/emulationActivity" - android:name="org.suyu.suyu_emu.activities.EmulationActivity" + android:name="dev.suyu.suyu_emu.activities.EmulationActivity" android:label="EmulationActivity"> <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" android:defaultValue="@null" /> <argument @@ -91,15 +91,15 @@ <activity android:id="@+id/settingsActivity" - android:name="org.suyu.suyu_emu.features.settings.ui.SettingsActivity" + android:name="dev.suyu.suyu_emu.features.settings.ui.SettingsActivity" android:label="SettingsActivity"> <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" /> <argument android:name="menuTag" - app:argType="org.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> + app:argType="dev.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> </activity> <action @@ -107,21 +107,21 @@ app:destination="@id/settingsActivity" /> <fragment android:id="@+id/installableFragment" - android:name="org.suyu.suyu_emu.fragments.InstallableFragment" + android:name="dev.suyu.suyu_emu.fragments.InstallableFragment" android:label="InstallableFragment" /> <fragment android:id="@+id/driverManagerFragment" - android:name="org.suyu.suyu_emu.fragments.DriverManagerFragment" + android:name="dev.suyu.suyu_emu.fragments.DriverManagerFragment" android:label="DriverManagerFragment" > <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" android:defaultValue="@null" /> </fragment> <fragment android:id="@+id/appletLauncherFragment" - android:name="org.suyu.suyu_emu.fragments.AppletLauncherFragment" + android:name="dev.suyu.suyu_emu.fragments.AppletLauncherFragment" android:label="AppletLauncherFragment" > <action android:id="@+id/action_appletLauncherFragment_to_cabinetLauncherDialogFragment" @@ -129,19 +129,19 @@ </fragment> <dialog android:id="@+id/cabinetLauncherDialogFragment" - android:name="org.suyu.suyu_emu.fragments.CabinetLauncherDialogFragment" + android:name="dev.suyu.suyu_emu.fragments.CabinetLauncherDialogFragment" android:label="CabinetLauncherDialogFragment" /> <fragment android:id="@+id/gameFoldersFragment" - android:name="org.suyu.suyu_emu.fragments.GameFoldersFragment" + android:name="dev.suyu.suyu_emu.fragments.GameFoldersFragment" android:label="GameFoldersFragment" /> <fragment android:id="@+id/perGamePropertiesFragment" - android:name="org.suyu.suyu_emu.fragments.GamePropertiesFragment" + android:name="dev.suyu.suyu_emu.fragments.GamePropertiesFragment" android:label="PerGamePropertiesFragment" > <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" /> + app:argType="dev.suyu.suyu_emu.model.Game" /> <action android:id="@+id/action_perGamePropertiesFragment_to_gameInfoFragment" app:destination="@id/gameInfoFragment" /> @@ -157,19 +157,19 @@ app:destination="@id/perGamePropertiesFragment" /> <fragment android:id="@+id/gameInfoFragment" - android:name="org.suyu.suyu_emu.fragments.GameInfoFragment" + android:name="dev.suyu.suyu_emu.fragments.GameInfoFragment" android:label="GameInfoFragment" > <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" /> + app:argType="dev.suyu.suyu_emu.model.Game" /> </fragment> <fragment android:id="@+id/addonsFragment" - android:name="org.suyu.suyu_emu.fragments.AddonsFragment" + android:name="dev.suyu.suyu_emu.fragments.AddonsFragment" android:label="AddonsFragment" > <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" /> + app:argType="dev.suyu.suyu_emu.model.Game" /> </fragment> </navigation> diff --git a/src/android/app/src/main/res/navigation/settings_navigation.xml b/src/android/app/src/main/res/navigation/settings_navigation.xml index 94ba7b61a6854e0ed442d6864cf415386afda265..31993fb1714a15863b99faf243f07684063b92ba 100644 --- a/src/android/app/src/main/res/navigation/settings_navigation.xml +++ b/src/android/app/src/main/res/navigation/settings_navigation.xml @@ -6,14 +6,14 @@ <fragment android:id="@+id/settingsFragment" - android:name="org.suyu.suyu_emu.features.settings.ui.SettingsFragment" + android:name="dev.suyu.suyu_emu.features.settings.ui.SettingsFragment" android:label="SettingsFragment"> <argument android:name="menuTag" - app:argType="org.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> + app:argType="dev.suyu.suyu_emu.features.settings.model.Settings$MenuTag" /> <argument android:name="game" - app:argType="org.suyu.suyu_emu.model.Game" + app:argType="dev.suyu.suyu_emu.model.Game" app:nullable="true" /> <action android:id="@+id/action_settingsFragment_to_settingsSearchFragment" @@ -26,7 +26,7 @@ <fragment android:id="@+id/settingsSearchFragment" - android:name="org.suyu.suyu_emu.features.settings.ui.SettingsSearchFragment" + android:name="dev.suyu.suyu_emu.features.settings.ui.SettingsSearchFragment" android:label="SettingsSearchFragment" /> </navigation> diff --git a/src/android/app/src/main/res/values-ar/strings.xml b/src/android/app/src/main/res/values-ar/strings.xml index 2eacae1d5c3845488a8435f12fe3b75b5be4f2f6..6717a3527a81534a813d3847e83831eaa2c5abd4 100644 --- a/src/android/app/src/main/res/values-ar/strings.xml +++ b/src/android/app/src/main/res/values-ar/strings.xml @@ -34,7 +34,7 @@ <string name="select_games_folder_description">ÙŠØ³Ù…Ø Ù„Ù€ يوزو بملء قائمة الألعاب</string> <string name="add_games_warning">تخطي تØديد مجلد الألعاب؟</string> <string name="add_games_warning_description">لن يتم عرض الألعاب ÙÙŠ قائمة الألعاب إذا لم يتم تØديد مجلد</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">البØØ« عن ألعاب</string> <string name="search_settings">إعدادات البØØ«</string> <string name="games_dir_selected">تم تØديد مجلد الألعاب</string> @@ -42,7 +42,7 @@ <string name="install_prod_keys_description">مطلوب Ù„ÙÙƒ تشÙير ألعاب البيع بالتجزئة</string> <string name="install_prod_keys_warning">تخطي إضاÙØ© المÙاتيØØŸ</string> <string name="install_prod_keys_warning_description">مطلوب Ù…ÙØ§ØªÙŠØ ØµØ§Ù„ØØ© لمØاكاة ألعاب البيع بالتجزئة. ستعمل تطبيقات البيرة المنزلية Ùقط إذا تابعت</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">الإشعارات</string> <string name="notifications_description">Ø§Ù…Ù†Ø Ø¥Ø°Ù† الإشعار باستخدام الزر أدناه</string> <string name="give_permission">Ù…Ù†Ø Ø§Ù„Ø¥Ø°Ù†</string> @@ -63,7 +63,7 @@ <string name="install_prod_keys_failure_extension_description">ÙˆØاول مرة أخر keys تØقق من أن مل٠المÙØ§ØªÙŠØ Ù„Ù‡ امتداد</string> <string name="install_amiibo_keys_failure_extension_description">ÙˆØاول مرة أخر bin تØقق من أن مل٠المÙØ§ØªÙŠØ Ù„Ù‡ امتداد</string> <string name="invalid_keys_error">Ù…ÙØ§ØªÙŠØ Ø§Ù„ØªØ´Ùير غير صالØØ©</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">المل٠المØدد غير صØÙŠØ Ø£Ùˆ تالÙ. يرجى إعادة المÙØ§ØªÙŠØ Ø§Ù„Ø®Ø§ØµØ© بك</string> <string name="gpu_driver_manager">GPU مدير برنامج تشغيل</string> <string name="install_gpu_driver">GPU تثبيت برنامج تشغيل</string> @@ -107,7 +107,7 @@ <string name="install_game_content_failure_base">لا ÙŠÙØ³Ù…Ø Ø¨ØªØ«Ø¨ÙŠØª الألعاب الأساسية لتجنب التعارضات المØتملة.</string> <string name="install_game_content_success_install">%1$d تم التثبيت بنجاØ</string> <string name="install_game_content_success_overwrite">%1$d تمت الكتابة Ùوقه بنجاØ</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">برامج التشغيل المخصصة غير مدعومة</string> <string name="custom_driver_not_supported_description">تØميل برنامج التشغيل المخصص غير معتمد Øاليًا لهذا الجهاز.\nØدد هذا الخيار مرة أخرى ÙÙŠ المستقبل لمعرÙØ© ما إذا تمت إضاÙØ© الدعم!</string> <string name="manage_suyu_data">إدارة بيانات يوزو</string> @@ -150,7 +150,7 @@ <string name="user_data_import_success">تم استيراد بيانات المستخدم بنجاØ</string> <string name="user_data_export_cancelled">تم إلغاء التصدير</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> diff --git a/src/android/app/src/main/res/values-ckb/strings.xml b/src/android/app/src/main/res/values-ckb/strings.xml index bb630f934a9690cf3991e7f45a31e4faf7ae920e..510b33bcadbab3eb9d6642de0dc3c5f4af93ae8d 100644 --- a/src/android/app/src/main/res/values-ckb/strings.xml +++ b/src/android/app/src/main/res/values-ckb/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">ئەم نەرمەکاڵایە یارییەکانی کۆنسۆلی نینتێندۆ سویچ کارپێدەکات. هیچ ناونیشانێکی یاری Ùˆ کلیلی تێدا نییە..<br /><br />Ù¾ÛŽØ´ ئەوەی دەست Ù¾ÛŽ بکەیت، تکایە شوێنی Ùایلی <![CDATA[<b> prod.keys </b>]]> دیاریبکە Ù„Û• Ù†ÛŽÙˆ کۆگای ئامێرەکەت.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">زیاتر Ùێربە</a>]]></string> + <string name="app_disclaimer">ئەم نەرمەکاڵایە یارییەکانی کۆنسۆلی نینتێندۆ سویچ کارپێدەکات. هیچ ناونیشانێکی یاری Ùˆ کلیلی تێدا نییە..<br /><br />Ù¾ÛŽØ´ ئەوەی دەست Ù¾ÛŽ بکەیت، تکایە شوێنی Ùایلی <![CDATA[<b> prod.keys </b>]]> دیاریبکە Ù„Û• Ù†ÛŽÙˆ کۆگای ئامێرەکەت.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">زیاتر Ùێربە</a>]]></string> <string name="notice_notification_channel_name">ئاگاداری Ùˆ هەڵەکان</string> <string name="notice_notification_channel_description">ئاگادارکردنەوەکان پیشان دەدات کاتێک شتێک بە هەڵەدا دەچێت.</string> <string name="notification_permission_not_granted">مۆڵەتی ئاگادارکردنەوە نەدراوە!</string> @@ -32,14 +32,14 @@ <string name="select_games_folder_description">Ú•ÛŽÚ¯Û• بە یوزو دەدات بۆ پڕکردنەوەی لیستی یارییەکان</string> <string name="add_games_warning">هەڵبژاردنی Ùۆڵدەری یارییەکان تێپەڕدەکەیت؟</string> <string name="add_games_warning_description">یارییەکان Ù„Û• لیستی یارییەکاندا پیشان نادرێن ئەگەر Ùۆڵدەرێک هەڵنەبژێردرێت.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">گەڕان بەدوای یارییەکاندا</string> <string name="games_dir_selected">ناونیشانی یارییەکان هەڵبژێردرا</string> <string name="install_prod_keys">دابمەزرێنە prod.keys</string> <string name="install_prod_keys_description">پێویستە بۆ کۆدکردنەوەى یارییە تاکەکەسییەکان</string> <string name="install_prod_keys_warning">زیادکردنی کلیلەکان تێپەڕدەکەیت؟</string> <string name="install_prod_keys_warning_description">کلیلی دروست پێویستە بۆ وەرگرتنی یارییەکانی تاکەکەسی. تەنها ئەپەکانی homebrew کاردەکەن ئەگەر بەردەوام بیت.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">ئاگادارکردنەوەکان</string> <string name="notifications_description">بە دوگمەی خوارەوە مۆڵەتی ئاگادارکردنەوەکە بدە.</string> <string name="give_permission">مۆڵەت بدە</string> @@ -60,7 +60,7 @@ <string name="install_prod_keys_failure_extension_description">دڵنیابەوە Ú©Û• Ùایلی کلیلەکانت درێژکراوەی .keys ÛŒ هەیە Ùˆ دووبارە هەوڵبدەرەوە.</string> <string name="install_amiibo_keys_failure_extension_description">دڵنیابە Ú©Û• Ùایلی کلیلەکانت درێژکراوەی .bin ÛŒ هەیە Ùˆ دووبارە هەوڵبدەرەوە.</string> <string name="invalid_keys_error">کلیلی کۆدکردنی نادروستە</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Ùایلە هەڵبژێردراوەکە هەڵەیە یان تێکچووە. تکایە دووبارە کلیلەکانت دەربێنەوە.</string> <string name="install_gpu_driver">دامەزراندنی وەگەڕخەری GPU</string> <string name="install_gpu_driver_description">دامەزراندنی وەگەڕخەری بەدیل بۆ ئەوەی بە ئەگەرێکی زۆرەوە کارایی باشتر یان وردبینی هەبێت</string> @@ -94,8 +94,8 @@ <string name="share_log_missing">هیچ Ùایلێکی Ù„Û†Ú¯ نەدۆزراوە</string> <string name="install_game_content">دامەزراندنی ناوەڕۆکی یاری</string> <string name="install_game_content_description">دامەزراندنی نوێکاری یارییەکان یان DLC</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- About screen strings --> <string name="gaia_is_not_real">گایا ڕاستەقینە نییە</string> @@ -107,7 +107,7 @@ <string name="licenses_description">ئەو پڕۆژانەی Ú©Û• یوزوی بۆ ئەندرۆید ڕەخساند</string> <string name="build">بونیات</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -246,7 +246,7 @@ <string name="version">وەشان</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">ڕۆمەکەت کۆدکراوە</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[تکایە دڵنیابەوە لەدامەزراوی <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Ùایلەکەت بۆ ئەوەی بتوانرێت یارییەکان کۆد بکرێنەوە.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[تکایە دڵنیابەوە لەدامەزراوی <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Ùایلەکەت بۆ ئەوەی بتوانرێت یارییەکان کۆد بکرێنەوە.]]></string> <string name="loader_error_video_core">هەڵەیەک Ù„Û• دەستپێکردنی ناوەکی ڤیدیۆکەدا ڕوویدا</string> <string name="loader_error_video_core_description">ئەمەش بەزۆری بەهۆی وەگەڕخەرێکی ناتەبای GPU ەوەیە. دامەزراندنی وەگەڕخەری GPU ÛŒ تایبەتمەندکراو لەوانەیە ئەم کێشەیە چارەسەر بکات.</string> <string name="loader_error_invalid_format">ناتوانرێت Ú•Û†Ù… باربکرێت</string> diff --git a/src/android/app/src/main/res/values-cs/strings.xml b/src/android/app/src/main/res/values-cs/strings.xml index 6d09b552cd3a5c60c57a9fb9152a5fe15593f4e3..4318d89afd1da2b6c9f4e2a5d5a54c2f04676a03 100644 --- a/src/android/app/src/main/res/values-cs/strings.xml +++ b/src/android/app/src/main/res/values-cs/strings.xml @@ -26,10 +26,10 @@ <string name="search_and_filter_games">Hledat a filtrovat hry</string> <string name="select_games_folder">Vybrat složku s hrami</string> <string name="manage_game_folders">Spravovat složky s hrami</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="install_prod_keys">Instalovat prod.keys</string> <string name="install_prod_keys_warning">PÅ™eskoÄit pÅ™idávánà klÃÄů?</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">OznámenÃ</string> <string name="give_permission">UdÄ›lit oprávnÄ›nÃ</string> <string name="notification_warning">PÅ™eskoÄit udÄ›lenà oprávnÄ›nà k oznámenÃ?</string> @@ -47,7 +47,7 @@ <string name="install_keys_success">KlÃÄe úspěšnÄ› nainstalovány</string> <string name="reading_keys_failure">Chyba pÅ™i Ätenà šifrovacÃch klÃÄů</string> <string name="invalid_keys_error">Neplatné Å¡ifrovacà klÃÄe</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="gpu_driver_manager">Správce ovladaÄe GPU</string> <string name="install_gpu_driver">Instalovat GPU ovladaÄ</string> <string name="advanced_settings">PokroÄilé nastavenÃ</string> @@ -97,7 +97,7 @@ <string name="user_data_import_success">Uživatelská data byla úspěšnÄ› importována.</string> <string name="user_data_export_cancelled">Export zruÅ¡en</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <string name="play_store_link">https://play.google.com/store/apps/details?id=org.suyu.suyu_emu.ea</string> diff --git a/src/android/app/src/main/res/values-de/strings.xml b/src/android/app/src/main/res/values-de/strings.xml index 8a691154330cb563d84de986dd38044fea8db75a..b74c08c6cecd8b597cc369f5d32d433bb332d314 100644 --- a/src/android/app/src/main/res/values-de/strings.xml +++ b/src/android/app/src/main/res/values-de/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Diese Software kann Spiele für die Nintendo Switch abspielen. Keine Spiele oder Spielekeys sind enthalten.<br /><br />Bevor du beginnst, bitte halte deine <![CDATA[<b> prod.keys </b>]]> auf deinem Gerät bereit. .<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Mehr Infos</a>]]></string> + <string name="app_disclaimer">Diese Software kann Spiele für die Nintendo Switch abspielen. Keine Spiele oder Spielekeys sind enthalten.<br /><br />Bevor du beginnst, bitte halte deine <![CDATA[<b> prod.keys </b>]]> auf deinem Gerät bereit. .<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Mehr Infos</a>]]></string> <string name="notice_notification_channel_name">Hinweise und Fehler</string> <string name="notice_notification_channel_description">Zeigt Benachrichtigungen an, wenn etwas schief läuft.</string> <string name="notification_permission_not_granted">Berechtigung für Benachrichtigungen nicht erlaubt!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Erlaubt suyu die Spieleliste zu füllen</string> <string name="add_games_warning">Auswahl des Spieleverzeichnisses überspringen?</string> <string name="add_games_warning_description">Spiele werden in der Spieleliste nicht angezeigt, wenn kein Ordner ausgewählt ist.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Spiele suchen</string> <string name="search_settings">Einstellungen suchen</string> <string name="games_dir_selected">Spieleverzeichnis ausgewählt</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Zum Entschlüsseln von Spielen benötigt</string> <string name="install_prod_keys_warning">Hinzufügen der Schlüssel überspringen?</string> <string name="install_prod_keys_warning_description">Für die Emulation von Spielen sind gültige Schlüssel erforderlich. Wenn du fortfährst, funktionieren nur Homebrew-Anwendungen.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Benachrichtigungen</string> <string name="notifications_description">Erteile mit dem Knopf unten die Berechtigung, Benachrichtigungen zu senden.</string> <string name="give_permission">Berechtigung erteilen</string> @@ -63,7 +63,7 @@ <string name="install_prod_keys_failure_extension_description">Ãœberprüfen Sie, ob Ihre Schlüsseldatei die Erweiterung \".keys\" hat, und versuchen Sie es erneut.</string> <string name="install_amiibo_keys_failure_extension_description">Ãœberprüfen Sie, ob Ihre Schlüsseldatei die Erweiterung \".bin\" hat, und versuchen Sie es erneut.</string> <string name="invalid_keys_error">Ungültige Schlüssel</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Die ausgewählte Datei ist falsch oder beschädigt. Bitte kopieren Sie Ihre Schlüssel erneut.</string> <string name="gpu_driver_manager">GPU-Treiber Verwaltung</string> <string name="install_gpu_driver">GPU-Treiber installieren</string> @@ -108,12 +108,12 @@ Wirklich fortfahren?</string> <string name="install_game_content_failed_count">%1$d Installationsfehler</string> <string name="install_game_content_success_install">%1$d erfolgreich installiert</string> <string name="install_game_content_success_overwrite">%1$d erfolgreich überschrieben</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="manage_suyu_data">suyu-Daten Verwalten</string> <string name="share_save_file">Speicherdaten teilen</string> <string name="game_folders">Spiele-Ordner</string> <string name="add_game_folder">Spiele-Ordner hinzufügen</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="applets_error_firmware">Firmware nicht installiert</string> <!-- About screen strings --> @@ -132,7 +132,7 @@ Wirklich fortfahren?</string> <string name="user_data_import_success">Nutzerdaten erfolgreich importiert</string> <string name="user_data_export_cancelled">Export abgebrochen</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -319,7 +319,7 @@ Wirklich fortfahren?</string> <string name="verify_no_result">Integritätsüberprüfung konnte nicht durchgeführt werden</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">Das ROM ist verschlüsselt</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Bitte stelle sicher dass die <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Datei installiert ist, damit Spiele entschlüsselt werden können.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Bitte stelle sicher dass die <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Datei installiert ist, damit Spiele entschlüsselt werden können.]]></string> <string name="loader_error_video_core">Bei der Initialisierung des Videokerns ist ein Fehler aufgetreten</string> <string name="loader_error_video_core_description">Dies wird normalerweise durch einen inkompatiblen GPU-Treiber verursacht. Die Installation eines passenden GPU-Treibers kann dieses Problem beheben.</string> <string name="loader_error_invalid_format">ROM konnte nicht geladen werden</string> diff --git a/src/android/app/src/main/res/values-es/strings.xml b/src/android/app/src/main/res/values-es/strings.xml index ebe05df24a855b75513973b94f99a30e24ee3558..7262bff4897f0d57dd820ec6f4c673f94ae88ef8 100644 --- a/src/android/app/src/main/res/values-es/strings.xml +++ b/src/android/app/src/main/res/values-es/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Este software ejecuta juegos para la videoconsola Nintendo Switch. Los videojuegos o claves no vienen incluidos.<br /><br />Antes de empezar, por favor, localice el archivo <![CDATA[<b> prod.keys </b>]]>en el almacenamiento de su dispositivo..<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Saber más</a>]]></string> + <string name="app_disclaimer">Este software ejecuta juegos para la videoconsola Nintendo Switch. Los videojuegos o claves no vienen incluidos.<br /><br />Antes de empezar, por favor, localice el archivo <![CDATA[<b> prod.keys </b>]]>en el almacenamiento de su dispositivo..<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Saber más</a>]]></string> <string name="notice_notification_channel_name">Avisos y errores</string> <string name="notice_notification_channel_description">Mostrar notificaciones cuándo algo vaya mal.</string> <string name="notification_permission_not_granted">¡Permisos de notificación no concedidos!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Permite que suyu llene la lista de juegos</string> <string name="add_games_warning">¿Omitir la selección de la carpeta de juegos?</string> <string name="add_games_warning_description">No se mostrará ningún juego si no se ha seleccionado una carpeta de juegos.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Buscar juegos</string> <string name="search_settings">Buscar configuración</string> <string name="games_dir_selected">Directorio de juegos seleccionado</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Requerido para descifrar juegos</string> <string name="install_prod_keys_warning">¿Omitir agregar claves?</string> <string name="install_prod_keys_warning_description">Se requieren claves válidas para emular juegos. Solo las aplicaciones homebrew funcionarán si continúas.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notificaciones</string> <string name="notifications_description">Otorga el permiso de notificación con el botón de abajo.</string> <string name="give_permission">Conceder permiso</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Compruebe que el archivo de claves tenga una extensión .keys y pruebe otra vez.</string> <string name="install_amiibo_keys_failure_extension_description">Compruebe que el archivo de claves tenga una extensión .bin y pruebe otra vez.</string> <string name="invalid_keys_error">Claves de cifrado no válidas</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">El archivo seleccionado es incorrecto o está corrupto. Vuelva a redumpear sus claves.</string> <string name="gpu_driver_manager">Explorador de drivers de GPU</string> <string name="install_gpu_driver">Instalar driver de GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Contenido(s) de juego instalado/s con éxito</string> <string name="install_game_content_success_install">%1$d instalado con éxito</string> <string name="install_game_content_success_overwrite">%1$d sobreescrito con éxito</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Drivers personalizados no soportados</string> <string name="custom_driver_not_supported_description">En estos momentos, la carga de drivers personalizados no está disponible para este dispositivo..\n¡Comprueba esta opción en el futuro para ver si ya está añadido el soporte a ese dispositivo!</string> <string name="manage_suyu_data">Administrar datos de suyu</string> @@ -141,14 +141,14 @@ <string name="verify_installed_content_description">Comprueba todo el contenido instalado por si hubiese alguno corrupto</string> <string name="keys_missing">Faltan las claves de encriptación</string> <string name="keys_missing_description">El firmware y los juegos no se pueden desencriptar</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Ejecutador de applet</string> <string name="applets_description">Ejecutar applets de sistema usando el firmware instalado</string> <string name="applets_error_firmware">Firmware no instalado</string> <string name="applets_error_applet">Applet no disponible</string> - <string name="applets_error_description"><![CDATA[Asegúrese de que el archivo<a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> y el <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> estén instalados e inténtelo de nuevo.]]></string> + <string name="applets_error_description"><![CDATA[Asegúrese de que el archivo<a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> y el <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> estén instalados e inténtelo de nuevo.]]></string> <string name="album_applet">Ãlbum</string> <string name="album_applet_description">Ver las imágenes que están en la carpeta \"screenshots\" del usuario con el visor de fotos del sistema</string> <string name="mii_edit_applet">Editor de Mii</string> @@ -181,7 +181,7 @@ <string name="user_data_export_cancelled">Exportación cancelada</string> <string name="user_data_import_failed_description">Asegúrese de que las carpetas de datos de usuario estén en la raÃz de la carpeta del zip y contengan un archivo config en config/config.ini e inténtelo de nuevo.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -410,8 +410,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">Su ROM está encriptada</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga las guÃas para redumpear<a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">cartuchos de juegos</a> o <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor, compruebe que su archivo <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado, para que los juegos sean descifrados.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga las guÃas para redumpear<a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">cartuchos de juegos</a> o <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor, compruebe que su archivo <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado, para que los juegos sean descifrados.]]></string> <string name="loader_error_video_core">Ocurrió un error al inicializar el núcleo de video, posiblemente debido a una incompatibilidad con el driver seleccionado</string> <string name="loader_error_video_core_description">Esto suele deberse a un driver de GPU incompatible. La instalación de un controlador de GPU personalizado puede resolver este problema.</string> <string name="loader_error_invalid_format">No se pudo cargar la ROM</string> diff --git a/src/android/app/src/main/res/values-fa/strings.xml b/src/android/app/src/main/res/values-fa/strings.xml index 8112b8a853a0bf5817f63f8fac0cf15fdeed2fe7..884e9e4334d53d65daebc676d237725ceb9b34fc 100644 --- a/src/android/app/src/main/res/values-fa/strings.xml +++ b/src/android/app/src/main/res/values-fa/strings.xml @@ -35,7 +35,7 @@ <string name="select_games_folder_description">به suyu اجازه Ù…ÛŒ دهد تا لیست باز‌ی‌ها را پر کند</string> <string name="add_games_warning">از انتخاب پوشه بازی رد می‌شوید؟</string> <string name="add_games_warning_description">اگر پوشه‌ای انتخاب نشده باشد، بازی‌ها در لیست بازی‌ها نمایش داده نمی‌شوند.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">جستجو در بازی‌ها</string> <string name="search_settings">جستجو در تنظیمات</string> <string name="games_dir_selected">پوشه بازی‌ها انتخاب شد</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">برای رمزگشایی بازی‌های Ùروشگاهی مورد نیاز است</string> <string name="install_prod_keys_warning">اÙزودن کلیدها را رد می‌کنید؟</string> <string name="install_prod_keys_warning_description">کلیدهای معتبر برای شبیه‌سازی بازی‌های Ùروشگاهی مورد نیاز است. اگر ادامه دهید، Ùقط برنامه‌های سیستم ریزکامپیوتری کار خواهند کرد.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">اعلان‌ها</string> <string name="notifications_description">مجوز اعلان را با دکمه زیر اعطا کنید.</string> <string name="give_permission">اجازه بدهید</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">بررسی کنید Ú©Ù‡ Ùایل کلیدهای شما دارای پسوند keys. باشد Ùˆ دوباره امتØان کنید.</string> <string name="install_amiibo_keys_failure_extension_description">بررسی کنید Ú©Ù‡ Ùایل کلیدهای شما دارای پسوند bin. باشد Ùˆ دوباره امتØان کنید.</string> <string name="invalid_keys_error">کلیدهای رمزگذاری نامعتبر</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Ùایل انتخابی نادرست یا خراب است. لطÙا کلیدهای خود را دوباره استخراج کنید.</string> <string name="gpu_driver_manager">مدیریت درایور پردازنده گراÙیکی</string> <string name="install_gpu_driver">نصب درایور پردازنده گراÙیکی</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Ù…Øتوا(های) بازی با موÙقیت نصب شد</string> <string name="install_game_content_success_install">%1$dبا موÙقیت نصب شد</string> <string name="install_game_content_success_overwrite">%1$dبا موÙقیت بازنویسی شد</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">درایورهای سÙارشی پشتیبانی نمی‌شوند</string> <string name="custom_driver_not_supported_description">بارگیری درایور سÙارشی در Øال Øاضر برای این دستگاه پشتیبانی نمی‌شود.\nاین گزینه را دوباره در آینده بررسی کنید تا ببینید آیا پشتیبانی اضاÙÙ‡ شده است یا خیر!</string> <string name="manage_suyu_data">مدیریت داده‌های suyu</string> @@ -139,14 +139,14 @@ <string name="verify_installed_content_description">تمام Ù…Øتوای نصب شده را از نظر خرابی بررسی می‌کند</string> <string name="keys_missing">کلیدهای رمزگذاری وجود ندارند</string> <string name="keys_missing_description">ثابت‌اÙزار Ùˆ بازی‌های Ùروشگاهی قابل رمزگشایی نیستند</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">اجراکننده برنامک</string> <string name="applets_description">برنامک‌های سیستم را با استÙاده از ثابت‌اÙزار نصب شده راه اندازی کنید</string> <string name="applets_error_firmware">ثابت‌اÙزار نصب نیست</string> <string name="applets_error_applet">برنامک در دسترس نیست</string> - <string name="applets_error_description"><![CDATA[لطÙاً مطمئن شوید Ú©Ù‡ Ùایل <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Ùˆ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">ثابت‌اÙزار</a> شما نصب شده است Ùˆ دوباره امتØان کنید.]]></string> + <string name="applets_error_description"><![CDATA[لطÙاً مطمئن شوید Ú©Ù‡ Ùایل <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> Ùˆ <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">ثابت‌اÙزار</a> شما نصب شده است Ùˆ دوباره امتØان کنید.]]></string> <string name="album_applet">آلبوم</string> <string name="album_applet_description">تصاویر ذخیره شده در پوشه اسکرین شات‌های کاربر را با نمایشگر عکس سیستم مشاهده کنید</string> <string name="mii_edit_applet">ویرایش Mii</string> @@ -179,7 +179,7 @@ <string name="user_data_export_cancelled">صدور لغو شد</string> <string name="user_data_import_failed_description">مطمئن شوید Ú©Ù‡ پوشه‌های داده کاربر در ریشه پوشه zip Ùˆ Øاوی یک Ùایل پیکربندی در config/config.ini هستند سپس دوباره امتØان کنید.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -410,7 +410,7 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">رام شما رمزگذاری شده است</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[لطÙاً راهنماها را دنبال کنید تا <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">کارتیج‌های بازی</a> یا <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">عناوین نصب شده</a> خود را استخراج کنید.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[لطÙاً راهنماها را دنبال کنید تا <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">کارتیج‌های بازی</a> یا <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">عناوین نصب شده</a> خود را استخراج کنید.]]></string> <string name="loader_error_encrypted_keys_description"><![CDATA[لطÙاً مطمئن شوید Ú©Ù‡ Ùایل prod.keys شما نصب شده است تا بازی‌ها رمزگشایی شوند.]]></string> <string name="loader_error_video_core">در راه‌اندازی اولیه هسته ویدیو خطایی رخ داد</string> <string name="loader_error_video_core_description">این مورد معمولاً توسط یک درایور گراÙیکی ناسازگار ایجاد می‌شود. نصب درایور گراÙیکی سÙارشی ممکن است این مشکل را ØÙ„ کند.</string> diff --git a/src/android/app/src/main/res/values-fr/strings.xml b/src/android/app/src/main/res/values-fr/strings.xml index f98ea6a35f6fc913fb23daebfea64d9a031528e6..34bfd2cb792b0478e28be4e2cf6e2c8502876e5a 100644 --- a/src/android/app/src/main/res/values-fr/strings.xml +++ b/src/android/app/src/main/res/values-fr/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Ce logiciel exécutera des jeux pour la console de jeu Nintendo Switch. Aucun jeux ou clés n\'est inclus.<br /><br />Avant de commencer, veuillez localiser votre fichier <![CDATA[<b> prod.keys </b>]]> sur le stockage de votre appareil.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">En savoir plus</a>]]></string> + <string name="app_disclaimer">Ce logiciel exécutera des jeux pour la console de jeu Nintendo Switch. Aucun jeux ou clés n\'est inclus.<br /><br />Avant de commencer, veuillez localiser votre fichier <![CDATA[<b> prod.keys </b>]]> sur le stockage de votre appareil.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">En savoir plus</a>]]></string> <string name="notice_notification_channel_name">Avis et erreurs</string> <string name="notice_notification_channel_description">Affiche des notifications en cas de problème.</string> <string name="notification_permission_not_granted">Permission de notification non accordée !</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Permet à suyu de remplir la liste des jeux</string> <string name="add_games_warning">Ne pas sélectionner le dossier des jeux ?</string> <string name="add_games_warning_description">Les jeux ne seront pas affichés dans la liste des jeux si aucun dossier n\'est sélectionné.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Rechercher des jeux</string> <string name="search_settings">Rechercher un paramètre</string> <string name="games_dir_selected">Répertoire de jeux sélectionné</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Nécessaire pour décrypter les jeux commerciaux.</string> <string name="install_prod_keys_warning">Sauter l\'ajout des clés ?</string> <string name="install_prod_keys_warning_description">Des clés valides sont nécessaires pour émuler des jeux commerciaux. Seules les applications homebrew fonctionneront si vous continuez.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notifications</string> <string name="notifications_description">Accorder la permission de notification avec le bouton ci-dessous.</string> <string name="give_permission">Accorder la permission</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Vérifiez que votre fichier de clés a une extension .keys et réessayez.</string> <string name="install_amiibo_keys_failure_extension_description">Vérifiez que votre fichier de clés a une extension .bin et réessayez.</string> <string name="invalid_keys_error">Clés de chiffrement invalides</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Le fichier sélectionné est incorrect ou corrompu. Veuillez dumper à nouveau vos clés.</string> <string name="gpu_driver_manager">Gestionnaire de pilotes du GPU</string> <string name="install_gpu_driver">Installer le pilote du GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Contenu du jeu installé avec succès</string> <string name="install_game_content_success_install">%1$d installé avec succès</string> <string name="install_game_content_success_overwrite">%1$d écrasé avec succès</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Pilotes personnalisés non supporté</string> <string name="custom_driver_not_supported_description">Le chargement des pilotes personnalisés ne sont pas actuellement pris en charge pour ce périphérique. Vérifiez à nouveau cette option à l\'avenir pour voir si la prise en charge a été ajoutée !</string> <string name="manage_suyu_data">Gérer les données de suyu</string> @@ -141,14 +141,14 @@ <string name="verify_installed_content_description">Vérifie l\'intégrité des contenus installés</string> <string name="keys_missing">Les clés de chiffrement sont manquantes.</string> <string name="keys_missing_description">Le firmware et les jeux commerciaux ne peuvent pas être déchiffrés</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Lanceur d\'applets</string> <string name="applets_description">Lancer des applets système en utilisant le firmware installé</string> <string name="applets_error_firmware">Firmware non installé</string> <string name="applets_error_applet">Applet non disponible</string> - <string name="applets_error_description"><![CDATA[Veuillez vous assurer que le fichier <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> et le <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> sont installés et essayez à nouveau.]]></string> + <string name="applets_error_description"><![CDATA[Veuillez vous assurer que le fichier <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> et le <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> sont installés et essayez à nouveau.]]></string> <string name="album_applet">Album</string> <string name="album_applet_description">Afficher les images stockées dans le dossier de captures d\'écran de l\'utilisateur avec le visualiseur de photos système.</string> <string name="mii_edit_applet">Éditeur Mii</string> @@ -181,7 +181,7 @@ <string name="user_data_export_cancelled">Exportation annulée</string> <string name="user_data_import_failed_description">Assurez-vous que les dossiers de données utilisateur se trouvent à la racine du dossier ZIP et contiennent un fichier de configuration à config/config.ini, puis réessayez.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -460,8 +460,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">Votre ROM est cryptée</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Veuillez suivre les guides pour refaire un dump de vos <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">cartouches de jeu</a> ou de vos <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">titres installés</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Veuillez vous assurer que votre fichier <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> est installé pour que les jeux puissent être déchiffrés.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Veuillez suivre les guides pour refaire un dump de vos <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">cartouches de jeu</a> ou de vos <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">titres installés</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Veuillez vous assurer que votre fichier <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> est installé pour que les jeux puissent être déchiffrés.]]></string> <string name="loader_error_video_core">Une erreur s\'est produite lors de l\'initialisation du noyau vidéo</string> <string name="loader_error_video_core_description">Cela est généralement dû à un pilote GPU incompatible. L\'installation d\'un pilote GPU personnalisé peut résoudre ce problème.</string> <string name="loader_error_invalid_format">Impossible de charger la ROM</string> diff --git a/src/android/app/src/main/res/values-he/strings.xml b/src/android/app/src/main/res/values-he/strings.xml index f1087d613138b3693259c29fe15ac223f56e251d..ee8be05463dee1a795a833a2b0cedd23dfe89756 100644 --- a/src/android/app/src/main/res/values-he/strings.xml +++ b/src/android/app/src/main/res/values-he/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">×”×ª×•×›× ×” תריץ ×ž×©×—×§×™× ×œ×§×•× ×¡×•×œ×ª ×” Nintendo Switch. ××£ משחק ×ו ×§×‘×¦×™× ×‘×¢×œ×™ זכויות ×™×•×¦×¨×™× × ×›×œ×œ×™×.<br /><br /> ×œ×¤× ×™ ש×ת/×” מתחיל בבקשה ×ž×¦× ×ת קובץ <![CDATA[<b>prod.keys</b>]]> על המכשיר.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">×§×¨× ×¢×•×“</a>]]></string> + <string name="app_disclaimer">×”×ª×•×›× ×” תריץ ×ž×©×—×§×™× ×œ×§×•× ×¡×•×œ×ª ×” Nintendo Switch. ××£ משחק ×ו ×§×‘×¦×™× ×‘×¢×œ×™ זכויות ×™×•×¦×¨×™× × ×›×œ×œ×™×.<br /><br /> ×œ×¤× ×™ ש×ת/×” מתחיל בבקשה ×ž×¦× ×ת קובץ <![CDATA[<b>prod.keys</b>]]> על המכשיר.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">×§×¨× ×¢×•×“</a>]]></string> <string name="notice_notification_channel_name">התר×ות ותקלות</string> <string name="notice_notification_channel_description">מציג התר×ות ×›×שר משהו הולך ×œ× ×›×©×•×¨×”.</string> <string name="notification_permission_not_granted">הרש×ות התר×ות ×œ× × ×™×ª× ×”!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">×פשר ל suyu ל×כלס ×ת רשימת המשחקי×</string> <string name="add_games_warning">לדלג על בחירת תיקיית המשחקי×?</string> <string name="add_games_warning_description">×ž×©×—×§×™× ×œ× ×™×•×¦×’×• ברשימת ×”×ž×©×—×§×™× ×× ×œ× ×‘×—×¨×” תיקיית משחקי×.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">חפש משחקי×</string> <string name="search_settings">חפש בהגדרות</string> <string name="games_dir_selected">ספריית ×ž×©×—×§×™× × ×‘×—×¨×”</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">הכרחי בכדי ×œ×¤×¢× ×— משחקי×</string> <string name="install_prod_keys_warning">לדלג על הוספת מפתחות?</string> <string name="install_prod_keys_warning_description">מפתחות ×—×•×§×™×™× ×”×›×¨×—×™×™× ×›×“×™ לשחק במשחקי×. רק ×פליקציות פירטיות יפעלו ×× ×ª×ž×©×™×š.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">התר×ות</string> <string name="notifications_description">תן גישה להתר×ות ×¢× ×”×›×¤×ª×•×¨ למטה.</string> <string name="give_permission">תן הרש××”</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">×•×“× ×©×œ×§×•×‘×¥ המפתחות שלך יש סיומת של key. ×•× ×¡×”/×™ שוב.</string> <string name="install_amiibo_keys_failure_extension_description">וד×/×™ שלקובץ המפתחות שלך יש סיומת של bin. ×•× ×¡×”/×™ שוב.</string> <string name="invalid_keys_error">מפתחות ×”×¦×¤× ×” ×œ× ×—×•×§×™×™×</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">קבוץ ×©× ×‘×—×¨ מושחת ×ו ×œ× × ×›×•×Ÿ. בבקשה ×”×•×¦× ×ž×—×“×© ×ת המפתחות שלך.</string> <string name="gpu_driver_manager">×ž× ×”×œ ×”×“×¨×™×™×‘×¨×™× ×©×œ המעבד הגרפי</string> <string name="install_gpu_driver">התקן דרייבר למעבד הגרפי</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">תוכן (×ו ×ª×›× ×™) המשחק ×”×•×ª×§× ×• בהצלחה</string> <string name="install_game_content_success_install">%1$d הותקן בהצלחה</string> <string name="install_game_content_success_overwrite">%1$d × ×“×¨×¡/× ×›×ª×‘ מעל בהצלחה</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">×“×¨×™×™×‘×¨×™× ×ž×•×ª××ž×™× ×ישית ×œ× × ×ª×ž×›×™×</string> <string name="custom_driver_not_supported_description">×”×˜×¢× ×ª ×“×¨×™×™×‘×™× ×ž×•×ª××ž×™× ×ישית ×œ× × ×ª×ž×š כרגע על מכשיר ×–×”. \nבבקשה בדוק ×ופציה זו בעתיד בכדי לר×ות ×× × ×•×¡×¤×” תמיכה!</string> <string name="manage_suyu_data">× ×”×œ ×ת המידע של suyu</string> @@ -126,14 +126,14 @@ <string name="add_game_folder">הוסף תיקיית משחקי×</string> <string name="folder_already_added">התיקייה הזו × ×•×¡×¤×” כבר!</string> <string name="game_folder_properties">מ××¤×™×™× ×™ תיקיית משחקי×</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">משגר Applet</string> <string name="applets_description">מערכת שיגור Applet משתמשת ×‘×ª×•×›× ×” ×”×ž×•×ª×§× ×ª</string> <string name="applets_error_firmware">×” Firmware ×œ× ×ž×•×ª×§×Ÿ</string> <string name="applets_error_applet">Applet ×œ× ×–×ž×™×Ÿ</string> - <string name="applets_error_description"><![CDATA[בבקשה ×•×•×“× ×©×§×‘×¦×™ ×” - <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a>ו <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a>שלך ×ž×•×ª×§× ×™× ×•× ×¡×” שוב.]]></string> + <string name="applets_error_description"><![CDATA[בבקשה ×•×•×“× ×©×§×‘×¦×™ ×” - <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a>ו <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a>שלך ×ž×•×ª×§× ×™× ×•× ×¡×” שוב.]]></string> <string name="album_applet">×לבו×</string> <string name="album_applet_description">צפה ×‘×ª×ž×•× ×•×ª השמורות בתיקיית צילומי המסך של המשתמש בעזרת מציג ×”×ª×ž×•× ×•×ª של המערכת</string> <string name="mii_edit_applet">עורך Mii</string> @@ -166,7 +166,7 @@ <string name="user_data_export_cancelled">×™×™×¦×•× ×‘×•×˜×œ</string> <string name="user_data_import_failed_description">×•×“× ×©× ×ª×•× ×™ המשתמש × ×ž×¦××™× ×‘×©×•×¨×© קובץ ×” zip ×•×©×”×•× ×ž×›×™×œ קובץ סידור ב config/config.ini ×•× ×¡×” שוב.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -325,8 +325,8 @@ <string name="verify_success">×ימות ×”×ª×§×™× ×•×ª הצליח!</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">המשחק שלך מוצפן</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[×× × ×¢×§×•×‘ ×חרי ×”×ž×“×¨×™×›×™× ×›×“×™ לבצע redump של <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">כרטיסי המשחק</a>×ו <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">הכותרות ×”×ž×•×ª×§× ×•×ª</a> שלך.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[×× × ×•×•×“× ×©×§×•×‘×¥ ×”-<a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> מותקן כך ×©× ×™×ª×Ÿ ×™×”×™×” ×œ×¤×¢× ×— משחקי×.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[×× × ×¢×§×•×‘ ×חרי ×”×ž×“×¨×™×›×™× ×›×“×™ לבצע redump של <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">כרטיסי המשחק</a>×ו <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">הכותרות ×”×ž×•×ª×§× ×•×ª</a> שלך.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[×× × ×•×•×“× ×©×§×•×‘×¥ ×”-<a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> מותקן כך ×©× ×™×ª×Ÿ ×™×”×™×” ×œ×¤×¢× ×— משחקי×.]]></string> <string name="loader_error_video_core">התרחשה בעיה ב×תחול של ליבת הוויד×ו</string> <string name="loader_error_video_core_description">×–×” בדרך כלל × ×’×¨× ×¢×œ ידי דרייבר ×œ× ×ž×ª××™× ×¢×‘×•×¨ המעבד הגרפי. ×”×ª×§× ×ª דרייבר ×שר מת××™× ×œ×ž×¢×‘×“ הגרפי יכול לפתור ×ת הבעיה הזו.</string> <string name="loader_error_invalid_format">×ין ×פשרות לטעון ×ת המשחק</string> diff --git a/src/android/app/src/main/res/values-hu/strings.xml b/src/android/app/src/main/res/values-hu/strings.xml index 098d65f9fa30b7d392b1f4056244bc40d7b3e507..61d44a91fed8ca0a407756b2c0bebd3d4bb05618 100644 --- a/src/android/app/src/main/res/values-hu/strings.xml +++ b/src/android/app/src/main/res/values-hu/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Ez a szoftver Nintendo Switch játékkonzolhoz készült játékokat futtat. Nem tartalmaz játékokat vagy kulcsokat. .<br /><br />MielÅ‘tt hozzákezdenél, kérjük, válaszd ki a <![CDATA[<b>prod.keys</b>]]> fájl helyét a készülék tárhelyén<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Tudj meg többet</a>]]></string> + <string name="app_disclaimer">Ez a szoftver Nintendo Switch játékkonzolhoz készült játékokat futtat. Nem tartalmaz játékokat vagy kulcsokat. .<br /><br />MielÅ‘tt hozzákezdenél, kérjük, válaszd ki a <![CDATA[<b>prod.keys</b>]]> fájl helyét a készülék tárhelyén<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Tudj meg többet</a>]]></string> <string name="notice_notification_channel_name">Megjegyzések és hibák</string> <string name="notice_notification_channel_description">ÉrtesÃtések megjelenÃtése, ha valami rosszul sül el.</string> <string name="notification_permission_not_granted">Nincs engedély az értesÃtés megjelenÃtéséhez!</string> @@ -34,7 +34,7 @@ <string name="manage_game_folders">Játékmappák kezelése</string> <string name="add_games_warning">Kihagyod a játékok mappa kiválasztását?</string> <string name="add_games_warning_description">A játékok nem jelennek meg a Játékok listában, ha egy mappa nincs kijelölve.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Játékok keresése</string> <string name="search_settings">BeállÃtások keresése</string> <string name="games_dir_selected">Játékok könyvtár kiválasztva</string> @@ -42,7 +42,7 @@ <string name="install_prod_keys_description">Kiskereskedelmi játékok dekódolásához szükséges</string> <string name="install_prod_keys_warning">Kihagyod a kulcsok hozzáadását?</string> <string name="install_prod_keys_warning_description">A kiskereskedelmi játékok emulálásához érvényes kulcsokra van szükség. Csak a homebrew alkalmazások fognak működni, ha folytatod.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">ÉrtesÃtések</string> <string name="notifications_description">ÉrtesÃtési engedélyek megadása az alábbi gombbal.</string> <string name="give_permission">Engedély megadása</string> @@ -63,7 +63,7 @@ <string name="install_prod_keys_failure_extension_description">GyÅ‘zÅ‘dj meg róla, hogy a titkosÃtó fájlod .keys kiterjesztéssel rendelkezik, majd próbáld újra.</string> <string name="install_amiibo_keys_failure_extension_description">GyÅ‘zÅ‘dj meg róla, hogy a titkosÃtó fájlod .bin kiterjesztéssel rendelkezik, majd próbáld újra.</string> <string name="invalid_keys_error">Érvénytelen titkosÃtókulcsok</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">A kiválasztott fájl helytelen, vagy sérült. ÃllÃts össze egy új kulcsot.</string> <string name="gpu_driver_manager">GPU illesztÅ‘program-kezelÅ‘</string> <string name="install_gpu_driver">GPU illesztÅ‘program telepÃtése</string> @@ -112,7 +112,7 @@ <string name="install_game_content_success">Játéktartalom sikeresen telepÃtve</string> <string name="install_game_content_success_install">%1$d sikeresen telepÃtve</string> <string name="install_game_content_success_overwrite">%1$d sikeresen felülÃrva</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Egyéni illesztÅ‘programok nem támogatottak</string> <string name="custom_driver_not_supported_description">Egyéni illesztÅ‘program telepÃtése jelenleg nem támogatott ezen az eszközön.\nNézz vissza késÅ‘bb, hátha hozzáadtuk a támogatását!</string> <string name="manage_suyu_data">suyu adatok kezelése</string> @@ -137,14 +137,14 @@ <string name="verify_installed_content_description">A telepÃtett tartalom épségét ellenÅ‘rzi</string> <string name="keys_missing">Hiányzó titkosÃtókulcsok</string> <string name="keys_missing_description">A Firmware és a kiskereskedelmi (retail) játékok nem dekódolhatók</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Applet indÃtó</string> <string name="applets_description">Rendszer appletek indÃtása a telepÃtett firmware-rel</string> <string name="applets_error_firmware">Firmware nincs telepÃtve</string> <string name="applets_error_applet">Applet nem elérhetÅ‘</string> - <string name="applets_error_description"><![CDATA[Kérjük, gyÅ‘zÅ‘dj meg róla, hogy a <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> fájl és a <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> telepÃtve van, majd próbáld újra.]]></string> + <string name="applets_error_description"><![CDATA[Kérjük, gyÅ‘zÅ‘dj meg róla, hogy a <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> fájl és a <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> telepÃtve van, majd próbáld újra.]]></string> <string name="album_applet">Album</string> <string name="album_applet_description">KépernyÅ‘képek megtekintése a rendszer fényképnézegetÅ‘jével</string> <string name="mii_edit_applet">Mii szerkesztés</string> @@ -176,7 +176,7 @@ <string name="user_data_export_cancelled">Exportálás megszakÃtva</string> <string name="user_data_import_failed_description">EllenÅ‘rizd, hogy a felhasználói adatok mappái a zip mappa gyökerében vannak, és tartalmaznak egy konfig fájlt a config/config.ini cÃmen, majd próbáld meg újra.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -448,7 +448,7 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">ROM titkosÃtva</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[GyÅ‘zÅ‘dj meg róla, hogy a <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> fájl telepÃtve van, hogy a játékok visszafejthetÅ‘k legyenek.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[GyÅ‘zÅ‘dj meg róla, hogy a <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> fájl telepÃtve van, hogy a játékok visszafejthetÅ‘k legyenek.]]></string> <string name="loader_error_video_core">Hiba lépett fel a videómag inicializása során</string> <string name="loader_error_video_core_description">Ezt általában egy nem kompatibilis GPU illesztÅ‘ okozza. Egyéni GPU illesztÅ‘program telepÃtése megoldhatja a problémát.</string> <string name="loader_error_invalid_format">Nem sikerült betölteni a ROM-ot</string> diff --git a/src/android/app/src/main/res/values-id/strings.xml b/src/android/app/src/main/res/values-id/strings.xml index c8437b45c146d0c1516eab1af4eb15da2d864726..b80ceb837b6d8f2eeb6c450e42b64528c3eaf2ae 100644 --- a/src/android/app/src/main/res/values-id/strings.xml +++ b/src/android/app/src/main/res/values-id/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Perangkat lunak ini akan menjalankan game untuk konsol game Nintendo Switch. Tidak ada judul game atau kunci yang disertakan.<br /><br />Sebelum memulai, harap cari file <![CDATA[<b> prod.keys </b>]]> di penyimpanan perangkat anda. <br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\"> Selengkapnya </a>]]></string> + <string name="app_disclaimer">Perangkat lunak ini akan menjalankan game untuk konsol game Nintendo Switch. Tidak ada judul game atau kunci yang disertakan.<br /><br />Sebelum memulai, harap cari file <![CDATA[<b> prod.keys </b>]]> di penyimpanan perangkat anda. <br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\"> Selengkapnya </a>]]></string> <string name="notice_notification_channel_name">Pemberitahuan dan error</string> <string name="notice_notification_channel_description">Menampilkan pemberitahuan ketika terjadi kesalahan.</string> <string name="notification_permission_not_granted">Izin notifikasi tidak diberikan!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Izinkan suyu mengisi daftar game</string> <string name="add_games_warning">Lewati pemilihan folder game?</string> <string name="add_games_warning_description">Game tidak akan muncul di list jika tidak ada folder yang dipilih.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Cari permainan</string> <string name="search_settings">Cari pengaturan</string> <string name="games_dir_selected">Direktori game sudah terpilih</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Diperlukan untuk mendekripsi game retail</string> <string name="install_prod_keys_warning">Lewati penginstalan keys?</string> <string name="install_prod_keys_warning_description">Perlu keys yang valid untuk meng-emulate game retail. Hanya homebrew apps yang akan berfungsi jika kamu melanjutkan.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notifikasi</string> <string name="notifications_description">Berikan izin notifikasi dengan tombol di bawah ini.</string> <string name="give_permission">Berikan izin</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Pastikan file keys anda memiliki format .keys dan coba lagi.</string> <string name="install_amiibo_keys_failure_extension_description">Pastikan file keys anda memiliki format .bin dan coba lagi.</string> <string name="invalid_keys_error">Keys enkripsi tidak valid</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">File yang dipilih salah atau rusak. Silakan masukkan kembali kunci Anda.</string> <string name="gpu_driver_manager">Manajer driver GPU</string> <string name="install_gpu_driver">Install driver GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Konten(-konten) game sudah berhasil terinstal.</string> <string name="install_game_content_success_install">%1$d telah berhasil terinstal</string> <string name="install_game_content_success_overwrite">%1$d telah berhasil ditimpa.</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Driver kustom tidak didukung</string> <string name="custom_driver_not_supported_description">Driver kustom saat ini tidak dapat digunakan pada perangkat ini. \nCek opsi ini lain waktu untuk mengetahui apakah dapat digunakan!</string> <string name="manage_suyu_data">Kelola data Suyu.</string> @@ -137,7 +137,7 @@ <string name="verify_installed_content_description">Memeriksa semua konten yang terinstal dari kerusakan</string> <string name="keys_missing">Kunci enkripsi hilang</string> <string name="keys_missing_description">Firmware dan game retail tidak dapat didekripsi</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Luncurkan applet</string> @@ -177,7 +177,7 @@ <string name="user_data_export_cancelled">Ekspor Dibatalkan</string> <string name="user_data_import_failed_description">Pastikan folder data pengguna berada di akar folder zip dan berisi file konfigurasi di config/config.ini dan coba lagi.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -402,8 +402,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">ROM-mu ter-enkripsi</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Silakan ikuti panduan untuk redump <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">kartu permainan</a> atau <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">judul yang terinstal</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Harap pastikan bahwa Anda <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> diinstal sehingga game dapat didekripsi.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Silakan ikuti panduan untuk redump <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">kartu permainan</a> atau <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">judul yang terinstal</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Harap pastikan bahwa Anda <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> diinstal sehingga game dapat didekripsi.]]></string> <string name="loader_error_video_core">Terjadi kesalahan ketika menginisialisasi inti video.</string> <string name="loader_error_video_core_description">Hal ini biasanya disebabkan oleh driver GPU yang tidak kompatibel. Menginstal driver GPU khusus dapat mengatasi masalah ini</string> <string name="loader_error_invalid_format">Tidak Dapat Memuat ROM</string> diff --git a/src/android/app/src/main/res/values-it/strings.xml b/src/android/app/src/main/res/values-it/strings.xml index 10552f1504d6e7957aca4dd6ca7ac443fe8563b9..7a923d2fc33f420af502f70368fbe8e200d97e18 100644 --- a/src/android/app/src/main/res/values-it/strings.xml +++ b/src/android/app/src/main/res/values-it/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Questo software permette di giocare ai giochi della console Nintendo Switch. Nessun gioco o chiave è inclusa.<br /><br />Prima di iniziare, perfavore individua il file <![CDATA[<b>prod.keys </b>]]> nella memoria del tuo dispositivo.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Scopri di più</a>]]></string> + <string name="app_disclaimer">Questo software permette di giocare ai giochi della console Nintendo Switch. Nessun gioco o chiave è inclusa.<br /><br />Prima di iniziare, perfavore individua il file <![CDATA[<b>prod.keys </b>]]> nella memoria del tuo dispositivo.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Scopri di più</a>]]></string> <string name="notice_notification_channel_name">Avvisi ed errori</string> <string name="notice_notification_channel_description">Mostra le notifiche quando qualcosa va storto.</string> <string name="notification_permission_not_granted">Autorizzazione di notifica non concessa!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Consente a suyu di popolare l\'elenco dei giochi</string> <string name="add_games_warning">Saltare la selezione della cartella dei giochi?</string> <string name="add_games_warning_description">I giochi non saranno mostrati nella lista dei giochi se una cartella non è selezionata.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Cerca giochi</string> <string name="search_settings">Cerca impostazione</string> <string name="games_dir_selected">Cartella dei giochi selezionata</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Necessario per decrittografare i giochi</string> <string name="install_prod_keys_warning">Saltare l\'aggiunta delle chiavi?</string> <string name="install_prod_keys_warning_description">Sono necessarie delle chiavi valide per emulare i giochi. Se continui, funzioneranno solo le app homebrew.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notifiche</string> <string name="notifications_description">Concedi l\'autorizzazione alle notifiche con il pulsante in basso.</string> <string name="give_permission">Concedere l\'autorizzazione</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Controlla che le tue chiavi abbiano l\'estensione .keys e prova di nuovo.</string> <string name="install_amiibo_keys_failure_extension_description">Controlla che le tue chiavi abbiano l\'estensione .bin e prova di nuovo</string> <string name="invalid_keys_error">Chiavi di crittografia non valide</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Il file selezionato è incorretto o corrotto. Per favore riesegui il dump delle tue chiavi.</string> <string name="gpu_driver_manager">Gestore driver GPU</string> <string name="install_gpu_driver">Installa i driver GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Contenuto/i di gioco installato/i con successo.</string> <string name="install_game_content_success_install">%1$dinstallato con successo.</string> <string name="install_game_content_success_overwrite">%1$dsovrascritto con successo</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">I driver personalizzati non sono supportati.</string> <string name="custom_driver_not_supported_description">I driver personalizzati non sono attualmente supportati su questo dispositivo.\n Ricontrolla in futuro.</string> <string name="manage_suyu_data">Gestisci i dati di Suyu</string> @@ -129,14 +129,14 @@ <string name="no_save_data_found">Nessun salvataggio trovato</string> <string name="verify_installed_content">Verifica i contenuti installati</string> <string name="verify_installed_content_description">Verifica l\'integrità di tutti i contenuti installati.</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Avvia applet</string> <string name="applets_description">Avvia applet di sistema usando il firmware installato</string> <string name="applets_error_firmware">Firmware non installato</string> <string name="applets_error_applet">Applet non disponibile</string> - <string name="applets_error_description"><![CDATA[Assicurati che il file <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> e il <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> siano installati e riprova.]]></string> + <string name="applets_error_description"><![CDATA[Assicurati che il file <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> e il <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> siano installati e riprova.]]></string> <string name="album_applet">Album</string> <string name="album_applet_description">Visualizza le immagini salvate nella cartella screenshots dell\'utente con il visualizzatore immagini di sistema</string> <string name="mii_edit_applet">Modifica Mii</string> @@ -169,7 +169,7 @@ <string name="user_data_export_cancelled">Esportazione annullata</string> <string name="user_data_import_failed_description">Assicurati che la cartella dei Dati dell\'utente stiano nella radice del file.zip e che sia presente una cartella config in config/config.ini, poi, riprova.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -364,8 +364,8 @@ <string name="verify_no_result_description">L\'integrità dei contenuti non è stata validata</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">La tua ROM è criptata</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Segui la nostra guida per fare il <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">dump delle tue cartucce di gioco</a>oppure <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">dei titoli già installati</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Per favore assicurati che il file <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> sia installato in modo che i giochi possano essere decrittati.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Segui la nostra guida per fare il <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">dump delle tue cartucce di gioco</a>oppure <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">dei titoli già installati</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Per favore assicurati che il file <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> sia installato in modo che i giochi possano essere decrittati.]]></string> <string name="loader_error_video_core">È stato riscontrato un errore nell\'inizializzazione del core video</string> <string name="loader_error_video_core_description">Questo è causato solitamente dal driver incompatibile di una GPU. L\'installazione di driver GPU personalizzati potrebbe risolvere questo problema.</string> <string name="loader_error_invalid_format">Impossibile caricare la ROM</string> diff --git a/src/android/app/src/main/res/values-ja/strings.xml b/src/android/app/src/main/res/values-ja/strings.xml index 21e2070e31487473485ad7320218eaa7c4f1fd8b..5294298faa53d2ef587bdd0add89cb9dd6d8d2de 100644 --- a/src/android/app/src/main/res/values-ja/strings.xml +++ b/src/android/app/src/main/res/values-ja/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">ã“ã®ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã§ã¯ã€Nintendo Switchã®ã‚²ãƒ¼ãƒ を実行ã§ãã¾ã™ã€‚ ゲームソフトやã‚ーã¯å«ã¾ã‚Œã¾ã›ã‚“。<br /><br />事å‰ã«ã€ <![CDATA[<b> prod.keys </b>]]> ファイルをストレージã«é…ç½®ã—ã¦ãŠã„ã¦ãã ã•ã„。<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">詳細</a>]]></string> + <string name="app_disclaimer">ã“ã®ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã§ã¯ã€Nintendo Switchã®ã‚²ãƒ¼ãƒ を実行ã§ãã¾ã™ã€‚ ゲームソフトやã‚ーã¯å«ã¾ã‚Œã¾ã›ã‚“。<br /><br />事å‰ã«ã€ <![CDATA[<b> prod.keys </b>]]> ファイルをストレージã«é…ç½®ã—ã¦ãŠã„ã¦ãã ã•ã„。<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">詳細</a>]]></string> <string name="notice_notification_channel_name">通知ã¨ã‚¨ãƒ©ãƒ¼</string> <string name="notice_notification_channel_description">å•é¡Œã®ç™ºç”Ÿæ™‚ã«é€šçŸ¥ã‚’表示ã—ã¾ã™ã€‚</string> <string name="notification_permission_not_granted">通知ãŒè¨±å¯ã•ã‚Œã¦ã„ã¾ã›ã‚“!</string> @@ -34,7 +34,7 @@ <string name="select_games_folder_description">ゲームをsuyuã®ã‚²ãƒ¼ãƒ リストã«è¿½åŠ ã—ã¾ã™</string> <string name="add_games_warning">ゲームフォルダã®é¸æŠžã‚’スã‚ップã—ã¾ã™ã‹?</string> <string name="add_games_warning_description">フォルダをé¸æŠžã—ãªã„ã¨ã€ã‚²ãƒ¼ãƒ ãŒãƒªã‚¹ãƒˆã«è¡¨ç¤ºã•ã‚Œã¾ã›ã‚“。</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">ゲームを検索</string> <string name="search_settings">è¨å®šã‚’検索</string> <string name="games_dir_selected">フォルダをé¸æŠžã—ã¾ã—ãŸ</string> @@ -42,7 +42,7 @@ <string name="install_prod_keys_description">製å“版ゲームã®å¾©å·åŒ–ã«å¿…è¦ã§ã™</string> <string name="install_prod_keys_warning">ã‚ーã®è¿½åŠ をスã‚ップã—ã¾ã™ã‹ï¼Ÿ</string> <string name="install_prod_keys_warning_description">製å“版ゲームã®ã‚¨ãƒŸãƒ¥ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ã«ã¯ã€æœ‰åŠ¹ãªã‚ーãŒå¿…è¦ã§ã™ã€‚続行ã™ã‚‹ã¨è‡ªä½œã‚¢ãƒ—リã—ã‹æ©Ÿèƒ½ã—ã¾ã›ã‚“。</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">通知</string> <string name="notifications_description">下ã®ãƒœã‚¿ãƒ³ã§é€šçŸ¥ã‚’許å¯ã—ã¦ãã ã•ã„。</string> <string name="give_permission">許å¯</string> @@ -63,7 +63,7 @@ <string name="install_prod_keys_failure_extension_description">ã‚ーã®æ‹¡å¼µåãŒ.keysã§ã‚ã‚‹ã“ã¨ã‚’確èªã—ã€å†åº¦ãŠè©¦ã—ãã ã•ã„。</string> <string name="install_amiibo_keys_failure_extension_description">ã‚ーã®æ‹¡å¼µåãŒ.binã§ã‚ã‚‹ã“ã¨ã‚’確èªã—ã€å†åº¦ãŠè©¦ã—ãã ã•ã„。</string> <string name="invalid_keys_error">æš—å·åŒ–ã‚ーãŒç„¡åŠ¹</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">ファイルãŒé–“é•ã£ã¦ã„ã‚‹ã‹ç ´æã—ã¦ã„ã¾ã™ã€‚ã‚ーをå†ãƒ€ãƒ³ãƒ—ã—ã¦ãã ã•ã„。</string> <string name="gpu_driver_manager">GPUドライãƒãƒ¼ã®ç®¡ç†</string> <string name="install_gpu_driver">GPUドライãƒãƒ¼</string> @@ -107,11 +107,11 @@ <string name="install_game_content_success">ゲームコンテンツã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã«æˆåŠŸã—ã¾ã—ãŸ</string> <string name="install_game_content_success_install">%1$d ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã«æˆåŠŸã—ã¾ã—ãŸ</string> <string name="install_game_content_success_overwrite">%1$d ã®ä¸Šæ›¸ãã«æˆåŠŸã—ã¾ã—ãŸ</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">カスタムドライãƒã¯ã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã›ã‚“</string> <string name="manage_suyu_data">suyu データを管ç†</string> <string name="share_save_file">セーブファイルを共有</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="applets_error_firmware">ファームウェア未インストール</string> <string name="album_applet">アルãƒãƒ </string> @@ -133,7 +133,7 @@ <string name="user_data_import_success">ユーザデータã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã«æˆåŠŸã—ã¾ã—ãŸ</string> <string name="user_data_export_cancelled">エクスãƒãƒ¼ãƒˆã‚’ã‚ャンセルã—ã¾ã—ãŸ</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -299,7 +299,7 @@ <string name="verify_failure">æ•´åˆæ€§ã®ç¢ºèªã«å¤±æ•—ã—ã¾ã—ãŸ!</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">ROMãŒæš—å·åŒ–ã•ã‚Œã¦ã„ã¾ã™</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[ゲームã®å¾©å·åŒ–ã«å¿…è¦ãª <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> ファイルãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[ゲームã®å¾©å·åŒ–ã«å¿…è¦ãª <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> ファイルãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。]]></string> <string name="loader_error_video_core">ビデオコアã®åˆæœŸåŒ–ä¸ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ</string> <string name="loader_error_video_core_description">ã“ã‚Œã¯é€šå¸¸ã€äº’æ›æ€§ã®ãªã„GPUドライãƒãƒ¼ãŒåŽŸå› ã§ç™ºç”Ÿã—ã¾ã™ã€‚ カスタムGPUドライãƒãƒ¼ã‚’インストールã™ã‚‹ã¨ã€å•é¡ŒãŒè§£æ±ºã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚</string> <string name="loader_error_invalid_format">ROMã®èªã¿è¾¼ã¿ã«å¤±æ•—ã—ã¾ã—ãŸ</string> diff --git a/src/android/app/src/main/res/values-ko/strings.xml b/src/android/app/src/main/res/values-ko/strings.xml index a2d2bb9511ad785c3e611c0971fdd75dac1be169..4a32020520b831e91048961b930779dfdc67a442 100644 --- a/src/android/app/src/main/res/values-ko/strings.xml +++ b/src/android/app/src/main/res/values-ko/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">ì´ ì†Œí”„íŠ¸ì›¨ì–´ëŠ” Nintendo Switch ê²Œìž„ì„ ì‹¤í–‰í•©ë‹ˆë‹¤. 게임 타ì´í‹€ì´ë‚˜ 키는 í¬í•¨ë˜ì–´ 있지 않습니다.<br /><br />시작하기 ì „ì— ìž¥ì¹˜ ì €ìž¥ì†Œì—ì„œ <![CDATA[<b> prod.keys </b>]]> 파ì¼ì„ 찾아주세요.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">ìžì„¸ížˆ 알아보기</a>]]></string> + <string name="app_disclaimer">ì´ ì†Œí”„íŠ¸ì›¨ì–´ëŠ” Nintendo Switch ê²Œìž„ì„ ì‹¤í–‰í•©ë‹ˆë‹¤. 게임 타ì´í‹€ì´ë‚˜ 키는 í¬í•¨ë˜ì–´ 있지 않습니다.<br /><br />시작하기 ì „ì— ìž¥ì¹˜ ì €ìž¥ì†Œì—ì„œ <![CDATA[<b> prod.keys </b>]]> 파ì¼ì„ 찾아주세요.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">ìžì„¸ížˆ 알아보기</a>]]></string> <string name="notice_notification_channel_name">알림 ë° ì˜¤ë¥˜</string> <string name="notice_notification_channel_description">ë¬¸ì œê°€ ë°œìƒí•˜ë©´ ì•Œë¦¼ì„ í‘œì‹œí•©ë‹ˆë‹¤.</string> <string name="notification_permission_not_granted">알림 ê¶Œí•œì´ ë¶€ì—¬ë˜ì§€ 않았습니다!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">suyuì— ê²Œìž„ ëª©ë¡ ì¶”ê°€í•˜ê¸°</string> <string name="add_games_warning">게임 í´ë” ì„ íƒì„ ê±´ë„ˆë›°ê² ìŠµë‹ˆê¹Œ?</string> <string name="add_games_warning_description">í´ë”를 ì„ íƒí•˜ì§€ 않으면 게임 목ë¡ì— ê²Œìž„ì´ í‘œì‹œë˜ì§€ 않습니다.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">게임 검색</string> <string name="search_settings">검색 ì„¤ì •</string> <string name="games_dir_selected">게임 ë””ë ‰í„°ë¦¬ë¥¼ ì„¤ì •í–ˆìŠµë‹ˆë‹¤.</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">패키지 게임 암호 í•´ë…ì— í•„ìš”</string> <string name="install_prod_keys_warning">키 추가를 ê±´ë„ˆë›°ê² ìŠµë‹ˆê¹Œ?</string> <string name="install_prod_keys_warning_description">패키지 ê²Œìž„ì„ ì—ë®¬ë ˆì´íŠ¸í•˜ë ¤ë©´ ìœ íš¨í•œ 키 ê°’ì´ í•„ìš”í•©ë‹ˆë‹¤. ì´ ë‹¨ê³„ë¥¼ 건너뛰면 홈브류 게임만 ì‹¤í–‰í• ìˆ˜ 있습니다.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">알림</string> <string name="notifications_description">아래 버튼으로 알림 ê¶Œí•œì„ ë¶€ì—¬í•©ë‹ˆë‹¤.</string> <string name="give_permission">알림 켜기</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">키 파ì¼ì˜ 확장ìžê°€ .keysì¸ì§€ 확ì¸í•˜ê³ 다시 ì‹œë„하세요.</string> <string name="install_amiibo_keys_failure_extension_description">키 파ì¼ì˜ 확장ìžê°€ .binì¸ì§€ 확ì¸í•˜ê³ 다시 ì‹œë„하세요.</string> <string name="invalid_keys_error">암호화 키가 올바르지 ì•ŠìŒ</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">ì„ íƒí•œ 파ì¼ì´ 잘못ë˜ì—ˆê±°ë‚˜ ì†ìƒë˜ì—ˆìŠµë‹ˆë‹¤. 키를 다시 ë¤í”„하세요.</string> <string name="gpu_driver_manager">GPU ë“œë¼ì´ë²„ 관리ìž</string> <string name="install_gpu_driver">GPU ë“œë¼ì´ë²„ 설치</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">게임 콘í…ì¸ ì„¤ì¹˜ë¨</string> <string name="install_game_content_success_install">%1$d개를 설치했습니다.</string> <string name="install_game_content_success_overwrite">%1$d개를 ë®ì–´ì”Œì› 습니다.</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">ì‚¬ìš©ìž ì§€ì • ë“œë¼ì´ë²„는 지ì›í•˜ì§€ 않습니다.</string> <string name="custom_driver_not_supported_description">ì´ ìž¥ì¹˜ì˜ ì‚¬ìš©ìž ì§€ì • ë“œë¼ì´ë²„ ë¡œë”©ì€ í˜„ìž¬ 지ì›í•˜ì§€ 않습니다.\në‚˜ì¤‘ì— ì´ ì˜µì…˜ì„ í™•ì¸í•˜ë©´ 지ì›ì´ 추가ë˜ì—ˆëŠ”지 확ì¸í• 수 있습니다.</string> <string name="manage_suyu_data">suyu ë°ì´í„° 관리</string> @@ -137,14 +137,14 @@ <string name="verify_installed_content_description">ì „ì²´ ì„¤ì¹˜ëœ ì½˜í…ì¸ ì˜ ì†ìƒì„ 확ì¸í•©ë‹ˆë‹¤.</string> <string name="keys_missing">암호화 키를 ì°¾ì„ ìˆ˜ ì—†ìŒ</string> <string name="keys_missing_description">펌웨어 ë° íŒ¨í‚¤ì§€ ê²Œìž„ì„ í•´ë…í• ìˆ˜ ì—†ìŒ</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">ì• í”Œë¦¿ 런처</string> <string name="applets_description">ì„¤ì¹˜ëœ íŽŒì›¨ì–´ë¥¼ 사용해 시스템 ì• í”Œë¦¿ì„ ì‹¤í–‰í•©ë‹ˆë‹¤.</string> <string name="applets_error_firmware">펌웨어가 설치ë˜ì§€ 않았습니다.</string> <string name="applets_error_applet">ì• í”Œë¦¿ì„ ì‚¬ìš©í• ìˆ˜ ì—†ìŒ</string> - <string name="applets_error_description"><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 파ì¼ê³¼ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">펌웨어가</a> 설치ë˜ì—ˆëŠ”지 확ì¸í•˜ê³ 다시 ì‹œë„하세요.]]></string> + <string name="applets_error_description"><![CDATA[<a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 파ì¼ê³¼ <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">펌웨어가</a> 설치ë˜ì—ˆëŠ”지 확ì¸í•˜ê³ 다시 ì‹œë„하세요.]]></string> <string name="album_applet">앨범</string> <string name="album_applet_description">시스템 사진 ë·°ì–´ë¡œ ìœ ì € 스í¬ë¦°ìƒ· í´ë”ì— ì €ìž¥ëœ ì´ë¯¸ì§€ë¥¼ 확ì¸í•©ë‹ˆë‹¤. </string> <string name="mii_edit_applet">Mii 편집</string> @@ -177,7 +177,7 @@ <string name="user_data_export_cancelled">내보내기 취소ë¨</string> <string name="user_data_import_failed_description">ìœ ì € ë°ì´í„° í´ë”ê°€ ZIP í´ë”ì˜ ë£¨íŠ¸ ë””ë ‰í† ë¦¬ì— ìœ„ì¹˜í•˜ê³ config/config.ini 구성 파ì¼ì´ 있는지 확ì¸í•˜ê³ 다시 ì‹œë„하세요.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -403,8 +403,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">롬 파ì¼ì´ 암호화ë˜ì–´ìžˆìŒ</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[ê°€ì´ë“œì— ë”°ë¼ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">게임 카트리지</a> ë˜ëŠ” <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">ì„¤ì¹˜ëœ íƒ€ì´í‹€</a>ì„ ë‹¤ì‹œ ë¤í”„하세요.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[ê²Œìž„ì„ í•´ë…í• ìˆ˜ 있ë„ë¡ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 파ì¼ì´ 설치ë˜ì–´ 있는지 확ì¸í•˜ì„¸ìš”.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[ê°€ì´ë“œì— ë”°ë¼ <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">게임 카트리지</a> ë˜ëŠ” <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">ì„¤ì¹˜ëœ íƒ€ì´í‹€</a>ì„ ë‹¤ì‹œ ë¤í”„하세요.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[ê²Œìž„ì„ í•´ë…í• ìˆ˜ 있ë„ë¡ <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 파ì¼ì´ 설치ë˜ì–´ 있는지 확ì¸í•˜ì„¸ìš”.]]></string> <string name="loader_error_video_core">비디오 코어를 초기화하는 ë™ì•ˆ 오류 ë°œìƒ</string> <string name="loader_error_video_core_description">ì¼ë°˜ì 으로 ì´ ë¬¸ì œëŠ” 호환ë˜ì§€ 않는 GPU ë“œë¼ì´ë²„ë¡œ ì¸í•´ ë°œìƒí•©ë‹ˆë‹¤. ì‚¬ìš©ìž ì§€ì • GPU ë“œë¼ì´ë²„를 설치하면 ì´ ë¬¸ì œê°€ í•´ê²°ë 수 있습니다.</string> <string name="loader_error_invalid_format">롬 파ì¼ì„ 불러올 수 ì—†ìŒ</string> diff --git a/src/android/app/src/main/res/values-nb/strings.xml b/src/android/app/src/main/res/values-nb/strings.xml index 9ce92d899fc28763ed1e0f832da3719c663c6904..c9ba29339bf47a7947c5ad4a3272036686b809cf 100644 --- a/src/android/app/src/main/res/values-nb/strings.xml +++ b/src/android/app/src/main/res/values-nb/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Denne programvaren vil kjøre spill for Nintendo Switch-spillkonsollen. Ingen spilltitler eller nøkler er inkludert.<br /><br />Før du begynner, mÃ¥ du finne <![CDATA[<b> prod.keys </b>]]> filen din pÃ¥ enhetslagringen.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Lær mer</a>]]></string> + <string name="app_disclaimer">Denne programvaren vil kjøre spill for Nintendo Switch-spillkonsollen. Ingen spilltitler eller nøkler er inkludert.<br /><br />Før du begynner, mÃ¥ du finne <![CDATA[<b> prod.keys </b>]]> filen din pÃ¥ enhetslagringen.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Lær mer</a>]]></string> <string name="notice_notification_channel_name">Merknader og feil</string> <string name="notice_notification_channel_description">Viser varsler nÃ¥r noe gÃ¥r galt.</string> <string name="notification_permission_not_granted">Varslingstillatelse ikke gitt!</string> @@ -32,14 +32,14 @@ <string name="select_games_folder_description">Gjør det mulig for suyu Ã¥ fylle ut spillelisten.</string> <string name="add_games_warning">Hoppe over valg av spillmappe?</string> <string name="add_games_warning_description">Spill vises ikke i Spill-listen hvis en mappe ikke er valgt.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Søk i spill|</string> <string name="games_dir_selected">Spillkatalogen er valgt</string> <string name="install_prod_keys">Installer prod.keys</string> <string name="install_prod_keys_description">Nødvendig for Ã¥ dekryptere spill</string> <string name="install_prod_keys_warning">Hoppe over Ã¥ legge til nøkler?</string> <string name="install_prod_keys_warning_description">Gyldige nøkler er pÃ¥krevd for Ã¥ emulere spill. Bare hjemmebryggede apper vil fungere hvis du fortsetter.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Varsler</string> <string name="notifications_description">Gi varslingstillatelse med knappen nedenfor.</string> <string name="give_permission">Gi tillatelse</string> @@ -60,7 +60,7 @@ <string name="install_prod_keys_failure_extension_description">Kontroller at nøkkelfilen har filtypen .keys, og prøv igjen.</string> <string name="install_amiibo_keys_failure_extension_description">Kontroller at nøkkelfilen har filtypen .bin, og prøv igjen.</string> <string name="invalid_keys_error">Ugyldige krypteringsnøkler</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Den valgte filen er feil eller ødelagt. Vennligst dump nøklene pÃ¥ nytt.</string> <string name="install_gpu_driver">Installer GPU-driver</string> <string name="install_gpu_driver_description">Installer alternative drivere for potensielt bedre ytelse eller nøyaktighet.</string> @@ -94,8 +94,8 @@ <string name="share_log_missing">Ingen loggfil funnet</string> <string name="install_game_content">Installer spillinnhold</string> <string name="install_game_content_description">Installer spilloppdateringer eller DLC</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- About screen strings --> <string name="gaia_is_not_real">Gaia er ikke ekte</string> @@ -107,7 +107,7 @@ <string name="licenses_description">Prosjekter som gjør suyu for Android mulig</string> <string name="build">Bygg</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -257,7 +257,7 @@ <string name="verify_failure">Integritetsverifisering mislyktes!</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">ROM-en din er kryptert</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Vennligst sørg for at <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> filen er installert slik at spillene kan dekrypteres.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Vennligst sørg for at <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> filen er installert slik at spillene kan dekrypteres.]]></string> <string name="loader_error_video_core">Det oppstod en feil ved initialisering av videokjernen</string> <string name="loader_error_video_core_description">Dette skyldes vanligvis en inkompatibel GPU-driver. Installering av en tilpasset GPU-driver kan løse problemet.</string> <string name="loader_error_invalid_format">Kunne ikke laste inn ROM</string> diff --git a/src/android/app/src/main/res/values-pl/strings.xml b/src/android/app/src/main/res/values-pl/strings.xml index 02587fd8b12e4fc93d06343c21f9e54153a99a51..fedb52c0da4e331bc1944f760b7c5a9d5a7f9776 100644 --- a/src/android/app/src/main/res/values-pl/strings.xml +++ b/src/android/app/src/main/res/values-pl/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">To oprogramowanie umożliwia uruchomienie gier z konsoli Nintendo Switch. Nie zawiera gier ani wymaganych kluczy.<br /><br />Zanim zaczniesz, wybierz plik kluczy <![CDATA[<b> prod.keys </b>]]> z katalogu w pamiÄ™ci masowej.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Dowiedz siÄ™ wiÄ™cej</a>]]></string> + <string name="app_disclaimer">To oprogramowanie umożliwia uruchomienie gier z konsoli Nintendo Switch. Nie zawiera gier ani wymaganych kluczy.<br /><br />Zanim zaczniesz, wybierz plik kluczy <![CDATA[<b> prod.keys </b>]]> z katalogu w pamiÄ™ci masowej.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Dowiedz siÄ™ wiÄ™cej</a>]]></string> <string name="notice_notification_channel_name">Powiadomienia bÅ‚Ä™dy</string> <string name="notice_notification_channel_description">Pokaż powiadomienie gdy coÅ› pójdzie źle</string> <string name="notification_permission_not_granted">Nie zezwolono na powiadomienia!</string> @@ -32,14 +32,14 @@ <string name="select_games_folder_description">Pozwala suyu wygenerować listÄ™ gier</string> <string name="add_games_warning">Pominąć wybór folderu z grami?</string> <string name="add_games_warning_description">Aby pokazać listÄ™ gier wybierz katalog zawierajÄ…cy gry.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Szukaj gier</string> <string name="games_dir_selected">Wybrano katalog gier</string> <string name="install_prod_keys">Instaluj klucze prod.keys</string> <string name="install_prod_keys_description">Wymagane aby poprawnie odczytać sklepowe gry</string> <string name="install_prod_keys_warning">Pominąć dodawanie kluczy?</string> <string name="install_prod_keys_warning_description">Poprawne klucze sÄ… wymagane aby emulować sklepowe gry. JeÅ›li przejdziesz dalej, jedynie homebrew bÄ™dÄ… dziaÅ‚ać.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Powiadomienia</string> <string name="notifications_description">Nadaj uprawnienia dostÄ™pu do powiadomieÅ„. </string> <string name="give_permission">Nadaj uprawnienia</string> @@ -60,7 +60,7 @@ <string name="install_prod_keys_failure_extension_description">Upewnij siÄ™ że twoje klucze majÄ… rozszerzenie .keys i spróbuj ponownie.</string> <string name="install_amiibo_keys_failure_extension_description">Upewnij siÄ™ że twoje klucze majÄ… rozszerzenie .bin i spróbuj ponownie.</string> <string name="invalid_keys_error">Niepoprawne klucze</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Wybrany plik jest niepoprawny lub uszkodzony. Zrzuć ponownie swoje klucze.</string> <string name="install_gpu_driver">Zainstaluj sterownik GPU</string> <string name="install_gpu_driver_description">Użyj alternatywnych sterowników aby potencjalnie zwiÄ™kszyć wydajność i naprawić bÅ‚Ä™dy</string> @@ -94,8 +94,8 @@ <string name="share_log_missing">Nie znaleziono plików logów</string> <string name="install_game_content">Zainstaluj zawartość gry</string> <string name="install_game_content_description">Zainstaluj aktualizacjÄ™ gry lub dodatek DLC</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- About screen strings --> <string name="gaia_is_not_real">Gaia isn\'t real</string> @@ -107,7 +107,7 @@ <string name="licenses_description">Projekty dziÄ™ki którym suyu mógÅ‚ zostać stworzony</string> <string name="build">Wersja</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -255,7 +255,7 @@ <string name="add_ons">Dodatki</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">Twój ROM jest zakodowany</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Upewnij siÄ™ że plik kluczy <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> jest zainstalowany aby gry mogÅ‚y zostać odczytane.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Upewnij siÄ™ że plik kluczy <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> jest zainstalowany aby gry mogÅ‚y zostać odczytane.]]></string> <string name="loader_error_video_core">BÅ‚Ä…d inicjacji podsystemu graficznego</string> <string name="loader_error_video_core_description">Zazwyczaj spowodowane niekompatybilnym sterownikiem GPU, instalacja niestandardowego sterownika może rozwiÄ…zać ten problem.</string> <string name="loader_error_invalid_format">Nie można wczytać pliku ROM</string> diff --git a/src/android/app/src/main/res/values-pt-rBR/strings.xml b/src/android/app/src/main/res/values-pt-rBR/strings.xml index 3b3bf806b72711a9dc01afb45ce83e396eb9d875..2abc99fb9f6312634dc93ba5d6a3679368c5edd8 100644 --- a/src/android/app/src/main/res/values-pt-rBR/strings.xml +++ b/src/android/app/src/main/res/values-pt-rBR/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Este software executa jogos do console Nintendo Switch. Não estão inclusos nem jogos ou chaves.<br /><br />Antes de começar, por favor localize o arquivo <![CDATA[<b> prod.keys </b>]]> no armazenamento de seu dispositivo.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Saiba mais</a>]]></string> + <string name="app_disclaimer">Este software executa jogos do console Nintendo Switch. Não estão inclusos nem jogos ou chaves.<br /><br />Antes de começar, por favor localize o arquivo <![CDATA[<b> prod.keys </b>]]> no armazenamento de seu dispositivo.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Saiba mais</a>]]></string> <string name="notice_notification_channel_name">Notificações e erros</string> <string name="notice_notification_channel_description">Mostra notificações quando algo dá errado.</string> <string name="notification_permission_not_granted">Acesso à s notificações não concedido!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Permite que o Suyu preencha a lista de jogos</string> <string name="add_games_warning">Ignorar a seleção da pasta de jogos?</string> <string name="add_games_warning_description">Os jogos não serão exibidos na lista de jogos se uma pasta não estiver selecionada.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Procurar jogos</string> <string name="search_settings">Procurar nas configurações</string> <string name="games_dir_selected">Pasta de jogos selecionada</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Necessárias para desencriptar jogos comerciais</string> <string name="install_prod_keys_warning">Ignorar a adição de chaves?</string> <string name="install_prod_keys_warning_description">São necessárias chaves válidas para emular jogos comerciais. Somente aplicativos homebrew funcionarão se você continuar.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notificações</string> <string name="notifications_description">Conceda a permissão de notificação com o botão abaixo.</string> <string name="give_permission">Conceder permissão</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Verifique se seu arquivo de chaves possui a extensão .keys e tente novamente.</string> <string name="install_amiibo_keys_failure_extension_description">Verifique se seu arquivo de chaves possui a extensão .bin e tente novamente.</string> <string name="invalid_keys_error">Chaves de encriptação inválidas</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">O arquivo selecionado está incorreto ou corrompido. Por favor extraia suas chaves novamente.</string> <string name="gpu_driver_manager">Gerenciador de driver de GPU</string> <string name="install_gpu_driver">Instalar driver para GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Conteúdo(s) de jogo instalado(s) com sucesso</string> <string name="install_game_content_success_install">%1$d instalado com sucesso</string> <string name="install_game_content_success_overwrite">%1$d substituÃdo com sucesso</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Drivers personalizados não suportados</string> <string name="custom_driver_not_supported_description">Carregamento de drivers personalizados não suportado para este dispositivo no momento.\nVerifique essa opção novamente no futuro para ver se o suporte foi adicionado!</string> <string name="manage_suyu_data">Administrar dados do suyu</string> @@ -141,14 +141,14 @@ <string name="verify_installed_content_description">Verifica todo o conteúdo instalado em busca de dados corrompidos</string> <string name="keys_missing">Faltando chaves de encriptação</string> <string name="keys_missing_description">O firmware e jogos comerciais não poderão ser decriptados</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Launcher de miniaplicativos</string> <string name="applets_description">Execute miniaplicativos do sistema usando o firmware instalado</string> <string name="applets_error_firmware">Firmware não instalado</string> <string name="applets_error_applet">Miniaplicativo não disponÃvel</string> - <string name="applets_error_description"><![CDATA[Por favor verifique se o arquivo <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> e o <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> estão instalados e tente novamente.]]></string> + <string name="applets_error_description"><![CDATA[Por favor verifique se o arquivo <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> e o <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> estão instalados e tente novamente.]]></string> <string name="album_applet">Ãlbum</string> <string name="album_applet_description">Visualize imagens armazenadas na pasta de capturas de telas do usuário com o visualizador de imagens do sistema</string> <string name="mii_edit_applet">Editor de Mii</string> @@ -181,7 +181,7 @@ <string name="user_data_export_cancelled">Exportação cancelada</string> <string name="user_data_import_failed_description">Verifique se as pastas de dados do usuário estão na raiz da pasta zip, se possuem um arquivo de configuração em config/config.ini e tente novamente.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -461,8 +461,8 @@ uma tentativa de mapeamento automático</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">Sua ROM está encriptada</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga os guias para extrair novamente os seus <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">cartuchos de jogos</a> ou <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor verifique se o seu arquivo <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado para que os jogos possam ser decriptados.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga os guias para extrair novamente os seus <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">cartuchos de jogos</a> ou <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor verifique se o seu arquivo <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado para que os jogos possam ser decriptados.]]></string> <string name="loader_error_video_core">Ocorreu um erro ao iniciar o núcleo de vÃdeo.</string> <string name="loader_error_video_core_description">Isto é normalmente causado por um driver de GPU incompatÃvel. Instalar um driver de GPU personalizado pode resolver este problema.</string> <string name="loader_error_invalid_format">ImpossÃvel carregar a ROM</string> diff --git a/src/android/app/src/main/res/values-pt-rPT/strings.xml b/src/android/app/src/main/res/values-pt-rPT/strings.xml index 75ca1330cc102db4c3790c8e2c41a8c7673043ab..e326cdd400e894077c631c1de15773fee939b31d 100644 --- a/src/android/app/src/main/res/values-pt-rPT/strings.xml +++ b/src/android/app/src/main/res/values-pt-rPT/strings.xml @@ -35,7 +35,7 @@ <string name="select_games_folder_description">Permite que o Suyu preencha a lista de jogos</string> <string name="add_games_warning">Ignorar a seleção da pasta de jogos?</string> <string name="add_games_warning_description">Os jogos não serão exibidos na lista de jogos se uma pasta não estiver selecionada.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Procurar jogos</string> <string name="search_settings">Procurar nas definições</string> <string name="games_dir_selected">Pasta de Jogos selecionada</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">Necessário para desencriptar jogos comerciais</string> <string name="install_prod_keys_warning">Ignorar a adição de chaves?</string> <string name="install_prod_keys_warning_description">São necessárias chaves válidas para emular jogos comerciais. Somente aplicativos homebrew funcionarão se você continuar.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notificações</string> <string name="notifications_description">Conceda a permissão de notificação com o botão abaixo.</string> <string name="give_permission">Conceda permissão</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">Verifique se seu arquivo keys possui a extensão .keys e tente novamente.</string> <string name="install_amiibo_keys_failure_extension_description">Verifique se seu arquivo keys possui a extensão .bin e tente novamente.</string> <string name="invalid_keys_error">Chaves de encriptação inválidas</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">O ficheiro selecionado está corrompido. Por favor recarrega as tuas chaves.</string> <string name="gpu_driver_manager">Gerenciador de driver de GPU</string> <string name="install_gpu_driver">Instala driver para GPU</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Conteúdo(s) de jogo instalados com sucesso</string> <string name="install_game_content_success_install">%1$d instalado com sucesso</string> <string name="install_game_content_success_overwrite">%1$d substituÃda com êxito</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Drivers personalizados não suportados</string> <string name="custom_driver_not_supported_description">Carrea«gamento de drivers personalizados não é suportado pr este dispositivo. \nCheck verifica esta opção de futuro para confirmar se o suporte foi adicionado!</string> <string name="manage_suyu_data">Administrar dados suyu</string> @@ -141,7 +141,7 @@ <string name="verify_installed_content_description">Verifica todo o conteúdo instalado em busca de dados corrompidos</string> <string name="keys_missing">Faltando chaves de encriptação</string> <string name="keys_missing_description">O firmware e jogos comerciais não poderão ser decriptados</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">Launcher de miniaplicativos</string> @@ -181,7 +181,7 @@ <string name="user_data_export_cancelled">Exportação cancelada</string> <string name="user_data_import_failed_description">Verifiqua se as pastas de dados do utilizados estão na raiz da pasta zip e contêm um arquivo de configuração em config/config.ini e tenta novamente.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -461,8 +461,8 @@ uma tentativa de mapeamento automático</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">A tua ROM está encriptada</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga os guias para despejar novamente o seu <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">cartucho de jogo</a> or <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor confirma que o teu ficheiro <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado para que os jogos possam ser desencriptados.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Por favor, siga os guias para despejar novamente o seu <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">cartucho de jogo</a> or <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">tÃtulos instalados</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Por favor confirma que o teu ficheiro <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> está instalado para que os jogos possam ser desencriptados.]]></string> <string name="loader_error_video_core">Ocorreu um erro ao iniciar o núcleo de vÃdeo.</string> <string name="loader_error_video_core_description">Isto é normalmente causado por um driver de GPU incompatÃvel. Instalar um driver GPU pode resolver este problema.</string> <string name="loader_error_invalid_format">ImpossÃvel carregar a tua ROM</string> diff --git a/src/android/app/src/main/res/values-ru/strings.xml b/src/android/app/src/main/res/values-ru/strings.xml index 0190726def20aaf9eff0690544581be98477c761..c78667db11e7e4dbdbbc3f1ef8c42c07dd204b21 100644 --- a/src/android/app/src/main/res/values-ru/strings.xml +++ b/src/android/app/src/main/res/values-ru/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Ðто программное обеÑпечение позволÑет запуÑкать игры Ð´Ð»Ñ Ð¸Ð³Ñ€Ð¾Ð²Ð¾Ð¹ конÑоли Nintendo Switch. Мы не предоÑтавлÑем Ñами игры или ключи.<br /><br />Перед началом работы найдите файл <![CDATA[<b> prod.keys </b>]]> в хранилище уÑтройÑтва..<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Узнать больше</a>]]></string> + <string name="app_disclaimer">Ðто программное обеÑпечение позволÑет запуÑкать игры Ð´Ð»Ñ Ð¸Ð³Ñ€Ð¾Ð²Ð¾Ð¹ конÑоли Nintendo Switch. Мы не предоÑтавлÑем Ñами игры или ключи.<br /><br />Перед началом работы найдите файл <![CDATA[<b> prod.keys </b>]]> в хранилище уÑтройÑтва..<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Узнать больше</a>]]></string> <string name="notice_notification_channel_name">Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¸ ошибки</string> <string name="notice_notification_channel_description">Показывать уведомлениÑ, когда что-то пошло не так</string> <string name="notification_permission_not_granted">Ð’Ñ‹ не предоÑтавили разрешение на уведомлениÑ!</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">ПозволÑет suyu заполнить ÑпиÑок игр</string> <string name="add_games_warning">ПропуÑтить выбор папки Ñ Ð¸Ð³Ñ€Ð°Ð¼Ð¸?</string> <string name="add_games_warning_description">Игры не будут отображатьÑÑ Ð² ÑпиÑке Игры, еÑли папка не выбрана.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Ðайти игры</string> <string name="search_settings">ÐаÑтройки поиÑка</string> <string name="games_dir_selected">Выбрана папка Ñ Ð¸Ð³Ñ€Ð°Ð¼Ð¸</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">ТребуетÑÑ Ð´Ð»Ñ Ñ€Ð°Ñшифровки розничных игр</string> <string name="install_prod_keys_warning">ПропуÑтить добавление ключей?</string> <string name="install_prod_keys_warning_description">Ð”Ð»Ñ ÑмулÑции розничных игр требуютÑÑ Ð´ÐµÐ¹Ñтвительные ключи. ЕÑли вы продолжите, будут работать только homebrew приложениÑ.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">УведомлениÑ</string> <string name="notifications_description">ПредоÑтавьте разрешение уведомлений Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ кнопки ниже.</string> <string name="give_permission">ПредоÑтавить разрешение</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">УбедитеÑÑŒ, что файл ключей имеет раÑширение .keys, и повторите попытку.</string> <string name="install_amiibo_keys_failure_extension_description">УбедитеÑÑŒ, что файл ключей имеет раÑширение .bin, и повторите попытку.</string> <string name="invalid_keys_error">Ðеверные ключи шифрованиÑ</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Выбранный файл неверен или поврежден. ПожалуйÑта, пере-дампите ваши ключи.</string> <string name="gpu_driver_manager">Менеджер драйверов ГП</string> <string name="install_gpu_driver">УÑтановить драйвер ГП</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">Игровой контент уÑпешно уÑтановлен</string> <string name="install_game_content_success_install">%1$d УÑпешно уÑтановлено</string> <string name="install_game_content_success_overwrite">%1$d УÑпешно перезапиÑано</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">ПользовательÑкие драйверы не поддерживаютÑÑ</string> <string name="custom_driver_not_supported_description">Загрузка пользовательÑкого драйвера в наÑтоÑщее Ð²Ñ€ÐµÐ¼Ñ Ð½Ðµ поддерживаетÑÑ Ð´Ð»Ñ Ñтого уÑтройÑтва.\nПроверьте Ñтот параметр еще раз в будущем чтобы узнать была ли добавлена ​​поддержка!  </string> @@ -144,14 +144,14 @@ <string name="verify_installed_content_description">ПроверÑет веÑÑŒ уÑтановленный контент на наличие повреждений</string> <string name="keys_missing">ОтÑутÑтвуют ключи шифрованиÑ</string> <string name="keys_missing_description">Прошивка и розничные игры не могут быть раÑшифрованы</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">ЗапуÑк апплета</string> <string name="applets_description">ЗапуÑк ÑиÑтемных апплетов на уÑтановленной прошивке</string> <string name="applets_error_firmware">Прошивка не уÑтановлена</string> <string name="applets_error_applet">Ðпплет недоÑтупен</string> - <string name="applets_error_description"><![CDATA[ПожалуйÑта, убедитеÑÑŒ, что ваш<a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> и <a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">firmware</a> уÑтановлены и попробуйте еще раз.]]></string> + <string name="applets_error_description"><![CDATA[ПожалуйÑта, убедитеÑÑŒ, что ваш<a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> и <a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">firmware</a> уÑтановлены и попробуйте еще раз.]]></string> <string name="album_applet">Ðльбом</string> <string name="album_applet_description">ПроÑмотрите изображениÑ, Ñохраненные в папке Ñкриншотов пользователÑ, Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑиÑтемного проÑмотрщика фотографий.</string> <string name="mii_edit_applet">Mii редактор</string> @@ -184,7 +184,7 @@ <string name="user_data_export_cancelled">ÐкÑпорт отменен</string> <string name="user_data_import_failed_description">УбедитеÑÑŒ что папки пользовательÑких данных находÑÑ‚ÑÑ Ð² корне zip-папки и Ñодержат файл конфигурации config/config.ini и повторите попытку.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -463,8 +463,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">Ваш ROM зашифрованный</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Следуйте инÑтрукциÑм, чтобы пере-дампить игровые картриджи <a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\"> или <a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\"> уÑтановленные игры</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[ПожалуйÑта, убедитеÑÑŒ, что ваш файл <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> уÑтановлен, чтобы игры можно было раÑшифровать.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Следуйте инÑтрукциÑм, чтобы пере-дампить игровые картриджи <a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\"> или <a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\"> уÑтановленные игры</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[ПожалуйÑта, убедитеÑÑŒ, что ваш файл <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> уÑтановлен, чтобы игры можно было раÑшифровать.]]></string> <string name="loader_error_video_core">Произошла ошибка при инициализации видеоÑдра.</string> <string name="loader_error_video_core_description">Обычно Ñто вызвано неÑовмеÑтимым драйвером ГП. УÑтановка пользовательÑкого драйвера ГП может решить Ñту проблему.</string> <string name="loader_error_invalid_format">Ðе удалоÑÑŒ запуÑтить ROM</string> diff --git a/src/android/app/src/main/res/values-uk/strings.xml b/src/android/app/src/main/res/values-uk/strings.xml index 4b212d8bc07a56b6c307bff10656529bb22f0667..9b8c71ccfd0706ee2d02ec2c8dc02bd852bafc76 100644 --- a/src/android/app/src/main/res/values-uk/strings.xml +++ b/src/android/app/src/main/res/values-uk/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Це програмне Ð·Ð°Ð±ÐµÐ·Ð¿ÐµÑ‡ÐµÐ½Ð½Ñ Ð´Ð¾Ð·Ð²Ð¾Ð»ÑÑ” запуÑкати ігри Ð´Ð»Ñ Ñ–Ð³Ñ€Ð¾Ð²Ð¾Ñ— конÑолі Nintendo Switch. Ми не надаємо Ñамі ігри або ключі.<br /><br />Перед початком роботи знайдіть ваш файл <![CDATA[<b> prod.keys </b>]]> у Ñховищі приÑтрою.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">ДізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ</a>]]></string> + <string name="app_disclaimer">Це програмне Ð·Ð°Ð±ÐµÐ·Ð¿ÐµÑ‡ÐµÐ½Ð½Ñ Ð´Ð¾Ð·Ð²Ð¾Ð»ÑÑ” запуÑкати ігри Ð´Ð»Ñ Ñ–Ð³Ñ€Ð¾Ð²Ð¾Ñ— конÑолі Nintendo Switch. Ми не надаємо Ñамі ігри або ключі.<br /><br />Перед початком роботи знайдіть ваш файл <![CDATA[<b> prod.keys </b>]]> у Ñховищі приÑтрою.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">ДізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ</a>]]></string> <string name="notice_notification_channel_name">Ð¡Ð¿Ð¾Ð²Ñ–Ñ‰ÐµÐ½Ð½Ñ Ñ‚Ð° помилки</string> <string name="notice_notification_channel_description">Показувати ÑповіщеннÑ, коли щоÑÑŒ пішло не так</string> <string name="notification_permission_not_granted">Ви не надали дозвіл Ñповіщень!</string> @@ -32,14 +32,14 @@ <string name="select_games_folder_description">ДозволÑÑ” suyu заповнити ÑпиÑок ігор</string> <string name="add_games_warning">ПропуÑтити вибір папки з іграми?</string> <string name="add_games_warning_description">Ігри не відображатимутьÑÑ Ñƒ ÑпиÑку Ігри, Ñкщо папку не вибрано.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Знайти ігри</string> <string name="games_dir_selected">Вибрано папку з іграми</string> <string name="install_prod_keys">Ð’Ñтановити prod.keys</string> <string name="install_prod_keys_description">Потрібно Ð´Ð»Ñ Ñ€Ð¾Ð·ÑˆÐ¸Ñ„Ñ€Ð¾Ð²ÐºÐ¸ роздрібних ігор</string> <string name="install_prod_keys_warning">ПропуÑтити Ð´Ð¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ ÐºÐ»ÑŽÑ‡Ñ–Ð²?</string> <string name="install_prod_keys_warning_description">Ð”Ð»Ñ ÐµÐ¼ÑƒÐ»Ñції роздрібних ігор потрібні дійÑні ключі. Якщо ви продовжите, працюватимуть тільки homebrew додатки.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">СповіщеннÑ</string> <string name="notifications_description">Ðадайте дозвіл Ñповіщень за допомогою кнопки нижче.</string> <string name="give_permission">Ðадати дозвіл</string> @@ -59,7 +59,7 @@ <string name="reading_keys_failure">Помилка під Ñ‡Ð°Ñ Ð·Ñ‡Ð¸Ñ‚ÑƒÐ²Ð°Ð½Ð½Ñ ÐºÐ»ÑŽÑ‡Ñ–Ð² шифруваннÑ</string> <string name="install_prod_keys_failure_extension_description">ПереконайтеÑÑ, що файл ключів має Ñ€Ð¾Ð·ÑˆÐ¸Ñ€ÐµÐ½Ð½Ñ .keys, Ñ– повторіть Ñпробу.</string> <string name="invalid_keys_error">Ðевірні ключі шифруваннÑ</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Обраний файл невірний або пошкоджений. Будь лаÑка, пере-дампіть ваші ключі.</string> <string name="install_gpu_driver">Ð’Ñтановити драйвер ГП</string> <string name="install_gpu_driver_description">Ð’Ñтановіть альтернативні драйвери Ð´Ð»Ñ Ð¿Ð¾Ñ‚ÐµÐ½Ñ†Ñ–Ð¹Ð½Ð¾ кращої продуктивноÑÑ‚Ñ– та/або точноÑÑ‚Ñ–</string> @@ -81,7 +81,7 @@ <string name="save_file_invalid_zip_structure_description">Ðазва першої вкладеної папки має бути ідентифікатором гри.</string> <string name="import_saves">Імпорт</string> <string name="export_saves">ЕкÑпорт</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- About screen strings --> <string name="gaia_is_not_real">Gaia не Ñ–Ñнує</string> @@ -92,7 +92,7 @@ <string name="contributors_link">https://github.com/suyu-emu/suyu/graphs/contributors</string> <string name="build">Збірка</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -214,7 +214,7 @@ <string name="add_ons">ДоповненнÑ</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">Ваш ROM зашифрований</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Будь лаÑка, переконайтеÑÑ, що ваш файл <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> вÑтановлено, щоб ігри можна було розшифрувати.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Будь лаÑка, переконайтеÑÑ, що ваш файл <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> вÑтановлено, щоб ігри можна було розшифрувати.]]></string> <string name="loader_error_video_core">СталаÑÑ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° під Ñ‡Ð°Ñ Ñ–Ð½Ñ–Ñ†Ñ–Ð°Ð»Ñ–Ð·Ð°Ñ†Ñ–Ñ— відеоÑдра.</string> <string name="loader_error_video_core_description">Зазвичай це Ñпричинено неÑуміÑним драйвером ГП. Ð’ÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ ÐºÐ¾Ñ€Ð¸Ñтувацького драйвера ГП може вирішити цю проблему.</string> <string name="loader_error_invalid_format">Ðе вдалоÑÑ Ð·Ð°Ð¿ÑƒÑтити ROM</string> diff --git a/src/android/app/src/main/res/values-vi/strings.xml b/src/android/app/src/main/res/values-vi/strings.xml index 6355582cb0e02d3dfdacfb416f6549b70cf33ca2..4c0446fc964d695fa07c83df537ce6d1808cdd7e 100644 --- a/src/android/app/src/main/res/values-vi/strings.xml +++ b/src/android/app/src/main/res/values-vi/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">Phần má»m nà y sẽ chạy trò chÆ¡i cho máy chÆ¡i game Nintendo Switch. Không có game titles hoặc keys được bao gồm.<br /><br />TrÆ°á»›c khi bạn bắt đầu, hãy tìm file <![CDATA[<b> prod.keys </b>]]> trên bá»™ nhá»› thiết bị của bạn.<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">Tìm hiểu thêm</a>]]></string> + <string name="app_disclaimer">Phần má»m nà y sẽ chạy trò chÆ¡i cho máy chÆ¡i game Nintendo Switch. Không có game titles hoặc keys được bao gồm.<br /><br />TrÆ°á»›c khi bạn bắt đầu, hãy tìm file <![CDATA[<b> prod.keys </b>]]> trên bá»™ nhá»› thiết bị của bạn.<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">Tìm hiểu thêm</a>]]></string> <string name="notice_notification_channel_name">Thông báo và lá»—i</string> <string name="notice_notification_channel_description">Hiển thị thông báo khi có sá»± cố xảy ra</string> <string name="notification_permission_not_granted">Ứng dụng không được cấp quyá»n thông báo!</string> @@ -32,14 +32,14 @@ <string name="select_games_folder_description">Cho phép suyu thêm các trò chÆ¡i và o danh sách</string> <string name="add_games_warning">Bá» qua lá»±a chá»n thÆ° mục trò chÆ¡i?</string> <string name="add_games_warning_description">Trò chÆ¡i sẽ không hiển thị trong danh sách nếu má»™t thÆ° mục không được chá»n</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Tìm kiếm games</string> <string name="games_dir_selected">ThÆ° mục trò chÆ¡i đã được chá»n</string> <string name="install_prod_keys">Cà i prod.keys</string> <string name="install_prod_keys_description">Yêu cầu để giải mã các game bán lẻ</string> <string name="install_prod_keys_warning">Bá» qua thêm chìa khóa?</string> <string name="install_prod_keys_warning_description">Cần có chìa khóa hợp lệ để giả láºp trò chÆ¡i. Chỉ có các ứng dụng homebrew có thể váºn hà nh nếu bạn tiếp tục</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Thông báo</string> <string name="notifications_description">Ấn và o nút bên dÆ°á»›i để cấp quyá»n ứng dụng gá»i thông báo</string> <string name="give_permission">Cấp quyá»n</string> @@ -60,7 +60,7 @@ <string name="install_prod_keys_failure_extension_description">Xác minh rằng tệp keys của bạn có Ä‘uôi .keys và thá» lại.</string> <string name="install_amiibo_keys_failure_extension_description">Xác minh rằng tệp keys của bạn có Ä‘uôi .bin và thá» lại.</string> <string name="invalid_keys_error">Keys mã hoá không hợp lệ</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">Chá»n file sai hoặc bị há»ng. Hãy xuất chìa khóa khác</string> <string name="install_gpu_driver">Cà i đặt driver GPU</string> <string name="install_gpu_driver_description">Cà i đặt driver thay thế để có thể có hiệu suất tốt và chÃnh xác hÆ¡n</string> @@ -94,8 +94,8 @@ <string name="share_log_missing">Không tìm thấy tệp log</string> <string name="install_game_content">Cà i đặt ná»™i dung game</string> <string name="install_game_content_description">Cà i đặt cáºp nháºt game hoặc DLC</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- About screen strings --> <string name="gaia_is_not_real">Gaia không có tháºt</string> @@ -107,7 +107,7 @@ <string name="licenses_description">Các dá»± án là m cho suyu trên Android trở thà nh Ä‘iá»u có thể</string> <string name="build">Dá»±ng</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -259,7 +259,7 @@ <string name="verify_failure">Kiểm tra tÃnh toà n vẹn thất bại!</string> <!-- ROM loading errors --> <string name="loader_error_encrypted">ROM của bạn đã bị mã hoá</string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Vui lòng đảm bảo file <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> đã được cà i đặt để game có thể được giải mã.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Vui lòng đảm bảo file <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> đã được cà i đặt để game có thể được giải mã.]]></string> <string name="loader_error_video_core">Äã xảy ra lá»—i khi khởi tạo lõi video</string> <string name="loader_error_video_core_description">Việc nà y thÆ°á»ng do driver GPU không tÆ°Æ¡ng thÃch. Cà i đặt má»™t driver GPU tùy chỉnh có thể giải quyết vấn Ä‘á» nà y.</string> <string name="loader_error_invalid_format">Không thể tải ROM</string> diff --git a/src/android/app/src/main/res/values-zh-rCN/strings.xml b/src/android/app/src/main/res/values-zh-rCN/strings.xml index 3ad450e1c9a8fcb6b3aff48f29b9430f281c624e..1cecb2bbf8867eecbe94e677634cc8328d9285de 100644 --- a/src/android/app/src/main/res/values-zh-rCN/strings.xml +++ b/src/android/app/src/main/res/values-zh-rCN/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">æ¤è½¯ä»¶å¯ä»¥è¿è¡Œ Nintendo Switch 游æˆï¼Œä½†ä¸åŒ…å«ä»»ä½•æ¸¸æˆå’Œå¯†é’¥æ–‡ä»¶ã€‚<br /><br />在开始å‰ï¼Œè¯·æ‰¾åˆ°æ”¾ç½®äºŽè®¾å¤‡å˜å‚¨ä¸çš„ <![CDATA[<b> prod.keys </b>]]> 文件。<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">了解更多</a>]]></string> + <string name="app_disclaimer">æ¤è½¯ä»¶å¯ä»¥è¿è¡Œ Nintendo Switch 游æˆï¼Œä½†ä¸åŒ…å«ä»»ä½•æ¸¸æˆå’Œå¯†é’¥æ–‡ä»¶ã€‚<br /><br />在开始å‰ï¼Œè¯·æ‰¾åˆ°æ”¾ç½®äºŽè®¾å¤‡å˜å‚¨ä¸çš„ <![CDATA[<b> prod.keys </b>]]> 文件。<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">了解更多</a>]]></string> <string name="notice_notification_channel_name">通知åŠé”™è¯¯æ醒</string> <string name="notice_notification_channel_description">当å‘生错误时显示通知。</string> <string name="notification_permission_not_granted">未授予通知æƒé™ï¼</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">å…许 suyu 更新游æˆåˆ—表</string> <string name="add_games_warning">跳过选择游æˆæ–‡ä»¶å¤¹ï¼Ÿ</string> <string name="add_games_warning_description">如果未选择游æˆæ–‡ä»¶å¤¹ï¼Œæ¸¸æˆå°†ä¸ä¼šæ˜¾ç¤ºåœ¨æ¸¸æˆåˆ—表ä¸ã€‚</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">æœç´¢æ¸¸æˆ</string> <string name="search_settings">æœç´¢è®¾ç½®</string> <string name="games_dir_selected">已选择游æˆæ–‡ä»¶å¤¹</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">需è¦å¯†é’¥æ–‡ä»¶æ¥è§£å¯†æ¸¸æˆ</string> <string name="install_prod_keys_warning">è·³è¿‡æ·»åŠ å¯†é’¥æ–‡ä»¶ï¼Ÿ</string> <string name="install_prod_keys_warning_description">对于商业游æˆï¼Œéœ€è¦æœ‰æ•ˆçš„密钥文件æ‰èƒ½è¿è¡Œã€‚如果没有密钥文件,将åªèƒ½è¿è¡Œè‡ªåˆ¶è½¯ä»¶ã€‚</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">通知</string> <string name="notifications_description">使用下方的按钮授予通知æƒé™ã€‚</string> <string name="give_permission">授予æƒé™</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">请确ä¿æ‚¨çš„密钥文件扩展å为 .keys 并é‡è¯•ã€‚</string> <string name="install_amiibo_keys_failure_extension_description">请确ä¿æ‚¨çš„密钥文件扩展å为 .bin 并é‡è¯•ã€‚</string> <string name="invalid_keys_error">æ— æ•ˆçš„åŠ å¯†å¯†é’¥</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">选择的密钥文件ä¸æ£ç¡®æˆ–å·²æŸå。请é‡æ–°è½¬å‚¨å¯†é’¥æ–‡ä»¶ã€‚</string> <string name="gpu_driver_manager">GPU 驱动管ç†å™¨</string> <string name="install_gpu_driver">安装 GPU 驱动</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">游æˆé™„åŠ å†…å®¹å·²æˆåŠŸå®‰è£…</string> <string name="install_game_content_success_install">%1$d 个包安装æˆåŠŸ</string> <string name="install_game_content_success_overwrite">%1$d 个包覆盖安装æˆåŠŸ</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">ä¸æ”¯æŒè‡ªå®šä¹‰é©±åŠ¨</string> <string name="custom_driver_not_supported_description">æ¤è®¾å¤‡ä¸æ”¯æŒè‡ªå®šä¹‰é©±åŠ¨ã€‚\n请之åŽå†è®¿é—®æ¤é¡¹ï¼ŒæŸ¥çœ‹æ˜¯å¦å·²ä¸ºæ¤è®¾å¤‡æ·»åŠ 支æŒã€‚</string> <string name="manage_suyu_data">ç®¡ç† suyu æ•°æ®</string> @@ -137,14 +137,14 @@ <string name="verify_installed_content_description">检查所有安装的内容是å¦æœ‰æŸå</string> <string name="keys_missing">密钥缺失</string> <string name="keys_missing_description">æ— æ³•è§£å¯†å›ºä»¶å’Œå•†ä¸šæ¸¸æˆ</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">å°ç¨‹åºå¯åŠ¨å™¨</string> <string name="applets_description">使用已安装的固件å¯åŠ¨ç³»ç»Ÿå°ç¨‹åº</string> <string name="applets_error_firmware">未安装固件</string> <string name="applets_error_applet">å°ç¨‹åºä¸å¯ç”¨</string> - <string name="applets_error_description"><![CDATA[è¯·ç¡®ä¿ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 文件和<a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">固件</a>已安装,然åŽå†è¯•ä¸€æ¬¡ã€‚]]></string> + <string name="applets_error_description"><![CDATA[è¯·ç¡®ä¿ <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 文件和<a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">固件</a>已安装,然åŽå†è¯•ä¸€æ¬¡ã€‚]]></string> <string name="album_applet">相册</string> <string name="album_applet_description">查看å˜å‚¨åœ¨ç”¨æˆ·å±å¹•æˆªå›¾æ–‡ä»¶å¤¹ä¸çš„图åƒ</string> <string name="mii_edit_applet">Mii edit</string> @@ -177,7 +177,7 @@ <string name="user_data_export_cancelled">å·²å–消导出数æ®</string> <string name="user_data_import_failed_description">请确ä¿ç”¨æˆ·æ•°æ®æ–‡ä»¶å¤¹ä½äºŽ zip åŽ‹ç¼©åŒ…çš„æ ¹ç›®å½•ï¼Œå¹¶åœ¨ config/config.ini 路径ä¸åŒ…å«é…置文件,然åŽé‡è¯•ã€‚</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -456,8 +456,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">您的 ROM å·²åŠ å¯†</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[请按照指å—é‡æ–°è½¬å‚¨æ‚¨çš„<a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">游æˆå¡å¸¦</a>或<a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">已安装的游æˆ</a>。]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[è¯·ç¡®ä¿ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 文件已安装,使得游æˆå¯ä»¥è¢«è§£å¯†ã€‚]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[请按照指å—é‡æ–°è½¬å‚¨æ‚¨çš„<a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">游æˆå¡å¸¦</a>或<a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">已安装的游æˆ</a>。]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[è¯·ç¡®ä¿ <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 文件已安装,使得游æˆå¯ä»¥è¢«è§£å¯†ã€‚]]></string> <string name="loader_error_video_core">åˆå§‹åŒ–è§†é¢‘æ ¸å¿ƒæ—¶å‘生错误</string> <string name="loader_error_video_core_description">这通常由ä¸å…¼å®¹çš„ GPU 驱动程åºé€ æˆï¼Œå®‰è£…自定义 GPU 驱动程åºå¯èƒ½è§£å†³æ¤é—®é¢˜ã€‚</string> <string name="loader_error_invalid_format">æ— æ³•è½½å…¥ ROM</string> diff --git a/src/android/app/src/main/res/values-zh-rTW/strings.xml b/src/android/app/src/main/res/values-zh-rTW/strings.xml index 06e23d4c4e9185f34b97e6210f7d2e4cbf5c6215..4b2926a95f4df46ccf6a5441c575b8f9772bd869 100644 --- a/src/android/app/src/main/res/values-zh-rTW/strings.xml +++ b/src/android/app/src/main/res/values-zh-rTW/strings.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> - <string name="app_disclaimer">æ¤è»Ÿé«”å¯ä»¥åŸ·è¡Œ Nintendo Switch 主機éŠæˆ²ï¼Œä½†ä¸åŒ…å«ä»»ä½•éŠæˆ²å’Œé‡‘鑰。<br /><br />在您開始å‰ï¼Œè«‹æ‰¾åˆ°æ”¾ç½®æ–¼æ‚¨çš„è£ç½®å„²å˜ç©ºé–“çš„ <![CDATA[<b> prod.keys </b>]]> 檔案。<br /><br /><![CDATA[<a href=\"https://suyu-emu.org/help/quickstart\">深入çžè§£</a>]]></string> + <string name="app_disclaimer">æ¤è»Ÿé«”å¯ä»¥åŸ·è¡Œ Nintendo Switch 主機éŠæˆ²ï¼Œä½†ä¸åŒ…å«ä»»ä½•éŠæˆ²å’Œé‡‘鑰。<br /><br />在您開始å‰ï¼Œè«‹æ‰¾åˆ°æ”¾ç½®æ–¼æ‚¨çš„è£ç½®å„²å˜ç©ºé–“çš„ <![CDATA[<b> prod.keys </b>]]> 檔案。<br /><br /><![CDATA[<a href=\"https://suyu.dev/help/quickstart\">深入çžè§£</a>]]></string> <string name="notice_notification_channel_name">通知和錯誤</string> <string name="notice_notification_channel_description">發生錯誤時顯示通知。</string> <string name="notification_permission_not_granted">未授予通知權é™ï¼</string> @@ -35,7 +35,7 @@ <string name="select_games_folder_description">å…許 suyu å¡«å…¥éŠæˆ²æ¸…å–®</string> <string name="add_games_warning">è·³éŽé¸å–éŠæˆ²è³‡æ–™å¤¾ï¼Ÿ</string> <string name="add_games_warning_description">如果資料夾未é¸å–,éŠæˆ²å°‡ä¸æœƒé¡¯ç¤ºåœ¨éŠæˆ²æ¸…單。</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">æœå°‹éŠæˆ²</string> <string name="search_settings">æœå°‹è¨å®š</string> <string name="games_dir_selected">éŠæˆ²ç›®éŒ„å·²é¸å–</string> @@ -43,7 +43,7 @@ <string name="install_prod_keys_description">需è¦è§£å¯†é›¶å”®éŠæˆ²</string> <string name="install_prod_keys_warning">è·³éŽæ–°å¢žé‡‘鑰?</string> <string name="install_prod_keys_warning_description">模擬零售éŠæˆ²éœ€è¦æœ‰æ•ˆçš„金鑰,若è¦ç¹¼çºŒï¼Œå°‡åƒ…有自製éŠæˆ²æ‡‰ç”¨ç¨‹å¼å¯ä»¥é‹ä½œã€‚</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">通知</string> <string name="notifications_description">使用下方的按鈕授予通知權é™ã€‚</string> <string name="give_permission">授予權é™</string> @@ -64,7 +64,7 @@ <string name="install_prod_keys_failure_extension_description">é©—è‰æ‚¨çš„金鑰檔案是å¦å…·æœ‰ .keys 副檔å並å†è©¦ä¸€æ¬¡ã€‚</string> <string name="install_amiibo_keys_failure_extension_description">é©—è‰æ‚¨çš„金鑰檔案是å¦å…·æœ‰ .bin 副檔å並å†è©¦ä¸€æ¬¡ã€‚</string> <string name="invalid_keys_error">ç„¡æ•ˆçš„åŠ å¯†é‡‘é‘°</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">é¸å–的檔案ä¸æ£ç¢ºæˆ–å·²æ毀,請é‡æ–°å‚¾å°æ‚¨çš„金鑰。</string> <string name="gpu_driver_manager">GPU 驅動程å¼ç®¡ç†å“¡</string> <string name="install_gpu_driver">å®‰è£ GPU 驅動程å¼</string> @@ -114,7 +114,7 @@ <string name="install_game_content_success">éŠæˆ²å…§å®¹å·²æˆåŠŸå®‰è£</string> <string name="install_game_content_success_install">%1$d 安è£æˆåŠŸ</string> <string name="install_game_content_success_overwrite">%1$d 覆寫æˆåŠŸ</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">ä¸æ”¯æ´è‡ªè¨‚的驅動程å¼</string> <string name="custom_driver_not_supported_description">æ¤è£ç½®ä¸æ”¯æ´è‡ªè¨‚的驅動程å¼ã€‚\n請以後å†ä¾†æŸ¥çœ‹æ˜¯å¦å·²æ–°å¢žæ”¯æ´ï¼</string> <string name="manage_suyu_data">ç®¡ç† suyu 資料</string> @@ -137,14 +137,14 @@ <string name="verify_installed_content_description">检查所有安装的内容是å¦æœ‰æŸå</string> <string name="keys_missing">密钥缺失</string> <string name="keys_missing_description">æ— æ³•è§£å¯†å›ºä»¶å’Œå•†ä¸šæ¸¸æˆ</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="applets">å°ç¨‹å¼å•Ÿå‹•å™¨</string> <string name="applets_description">使用已安è£çš„韌體啟動系統å°ç¨‹å¼</string> <string name="applets_error_firmware">未安è£éŸŒé«”</string> <string name="applets_error_applet">無法使用å°ç¨‹å¼</string> - <string name="applets_error_description"><![CDATA[請確ä¿æ‚¨çš„ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 檔案和<a href=\"https://suyu-emu.org/help/quickstart/#dumping-system-firmware\">韌體</a>已安è£ï¼Œç„¶å¾Œå†è©¦ä¸€æ¬¡ã€‚]]></string> + <string name="applets_error_description"><![CDATA[請確ä¿æ‚¨çš„ <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 檔案和<a href=\"https://suyu.dev/help/quickstart/#dumping-system-firmware\">韌體</a>已安è£ï¼Œç„¶å¾Œå†è©¦ä¸€æ¬¡ã€‚]]></string> <string name="album_applet">相簿</string> <string name="album_applet_description">使用系統相片檢視器查看儲å˜åœ¨ä½¿ç”¨è€…螢幕截圖資料夾ä¸çš„å½±åƒ</string> <string name="mii_edit_applet">Mii 編輯</string> @@ -177,7 +177,7 @@ <string name="user_data_export_cancelled">匯出已å–消</string> <string name="user_data_import_failed_description">請確ä¿ä½¿ç”¨è€…資料夾ä½æ–¼ zip å£“ç¸®æª”çš„æ ¹ç›®éŒ„ï¼Œä¸¦åœ¨ config/config.ini 路徑ä¸åŒ…å«çµ„態檔案,並å†è©¦ä¸€æ¬¡ã€‚</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -456,8 +456,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">您的 ROM å·²åŠ å¯†</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[è«‹ä¾å¾ªæŒ‡å—é‡æ–°å‚¾å°æ‚¨çš„<a href=\"https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards\">éŠæˆ²å¡åŒ£</a>或<a href=\"https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop\">已安è£çš„éŠæˆ²</a>。]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[請確ä¿æ‚¨çš„ <a href=\"https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 檔案已安è£ï¼Œè®“éŠæˆ²å¯ä»¥è§£å¯†ã€‚]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[è«‹ä¾å¾ªæŒ‡å—é‡æ–°å‚¾å°æ‚¨çš„<a href=\"https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards\">éŠæˆ²å¡åŒ£</a>或<a href=\"https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop\">已安è£çš„éŠæˆ²</a>。]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[請確ä¿æ‚¨çš„ <a href=\"https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys\">prod.keys</a> 檔案已安è£ï¼Œè®“éŠæˆ²å¯ä»¥è§£å¯†ã€‚]]></string> <string name="loader_error_video_core">åˆå§‹åŒ–è¦–è¨Šæ ¸å¿ƒæ™‚ç™¼ç”ŸéŒ¯èª¤</string> <string name="loader_error_video_core_description">這經常由ä¸ç›¸å®¹çš„ GPU 驅動程å¼é€ æˆï¼Œå®‰è£è‡ªè¨‚ GPU 驅動程å¼å¯èƒ½æœƒè§£æ±ºæ¤å•é¡Œã€‚</string> <string name="loader_error_invalid_format">無法載入 ROM</string> diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index 5331f2b419a7f5cde8f6830cef63eb08f716504f..da9c9d2cf850268433637f5192d2036df4967cef 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -3,7 +3,7 @@ <!-- General application strings --> <string name="app_name" translatable="false">suyu</string> - <string name="app_disclaimer">This software will run games for the Nintendo Switch game console. No game titles or keys are included.<br /><br />Before you begin, please locate your <![CDATA[<b> prod.keys </b>]]> file on your device storage.<br /><br /><![CDATA[<a href="https://suyu-emu.org/help/quickstart">Learn more</a>]]></string> + <string name="app_disclaimer">This software will run games for the Nintendo Switch game console. No game titles or keys are included.<br /><br />Before you begin, please locate your <![CDATA[<b> prod.keys </b>]]> file on your device storage.<br /><br /><![CDATA[<a href="https://suyu.dev/help/quickstart">Learn more</a>]]></string> <string name="notice_notification_channel_name">Notices and errors</string> <string name="notice_notification_channel_id" translatable="false">noticesAndErrors</string> <string name="notice_notification_channel_description">Shows notifications when something goes wrong.</string> @@ -38,7 +38,7 @@ <string name="select_games_folder_description">Allows suyu to populate the games list</string> <string name="add_games_warning">Skip selecting games folder?</string> <string name="add_games_warning_description">Games won\'t be displayed in the Games list if a folder isn\'t selected.</string> - <string name="add_games_warning_help">https://suyu-emu.org/help/quickstart/#dumping-games</string> + <string name="add_games_warning_help">https://suyu.dev/help/quickstart/#dumping-games</string> <string name="home_search_games">Search games</string> <string name="search_settings">Search settings</string> <string name="games_dir_selected">Games directory selected</string> @@ -46,7 +46,7 @@ <string name="install_prod_keys_description">Required to decrypt retail games</string> <string name="install_prod_keys_warning">Skip adding keys?</string> <string name="install_prod_keys_warning_description">Valid keys are required to emulate retail games. Only homebrew apps will function if you continue.</string> - <string name="install_prod_keys_warning_help">https://suyu-emu.org/help/quickstart/#guide-introduction</string> + <string name="install_prod_keys_warning_help">https://suyu.dev/help/quickstart/#guide-introduction</string> <string name="notifications">Notifications</string> <string name="notifications_description">Grant the notification permission with the button below.</string> <string name="give_permission">Grant permission</string> @@ -67,7 +67,7 @@ <string name="install_prod_keys_failure_extension_description">Verify your keys file has a .keys extension and try again.</string> <string name="install_amiibo_keys_failure_extension_description">Verify your keys file has a .bin extension and try again.</string> <string name="invalid_keys_error">Invalid encryption keys</string> - <string name="dumping_keys_quickstart_link">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="dumping_keys_quickstart_link">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <string name="install_keys_failure_description">The selected file is incorrect or corrupt. Please redump your keys.</string> <string name="gpu_driver_manager">GPU driver manager</string> <string name="install_gpu_driver">Install GPU driver</string> @@ -117,7 +117,7 @@ <string name="install_game_content_success">Game content(s) installed successfully</string> <string name="install_game_content_success_install">%1$d installed successfully</string> <string name="install_game_content_success_overwrite">%1$d overwritten successfully</string> - <string name="install_game_content_help_link">https://suyu-emu.org/help/quickstart/#dumping-installed-updates</string> + <string name="install_game_content_help_link">https://suyu.dev/help/quickstart/#dumping-installed-updates</string> <string name="custom_driver_not_supported">Custom drivers not supported</string> <string name="custom_driver_not_supported_description">Custom driver loading isn\'t currently supported for this device.\nCheck this option again in the future to see if support was added!</string> <string name="manage_suyu_data">Manage suyu data</string> @@ -142,7 +142,7 @@ <string name="verify_installed_content_description">Checks all installed content for corruption</string> <string name="keys_missing">Encryption keys are missing</string> <string name="keys_missing_description">Firmware and retail games cannot be decrypted</string> - <string name="keys_missing_help">https://suyu-emu.org/help/quickstart/#dumping-decryption-keys</string> + <string name="keys_missing_help">https://suyu.dev/help/quickstart/#dumping-decryption-keys</string> <!-- Applet launcher strings --> <string name="qlaunch_applet">Qlaunch</string> @@ -151,7 +151,7 @@ <string name="applets_description">Launch system applets using installed firmware</string> <string name="applets_error_firmware">Firmware not installed</string> <string name="applets_error_applet">Applet not available</string> - <string name="applets_error_description"><![CDATA[Please ensure your <a href="https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys">prod.keys</a> file and <a href="https://suyu-emu.org/help/quickstart/#dumping-system-firmware">firmware</a> are installed and try again.]]></string> + <string name="applets_error_description"><![CDATA[Please ensure your <a href="https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys">prod.keys</a> file and <a href="https://suyu.dev/help/quickstart/#dumping-system-firmware">firmware</a> are installed and try again.]]></string> <string name="album_applet">Album</string> <string name="album_applet_description">See images stored in the user screenshots folder with the system photo viewer</string> <string name="mii_edit_applet">Mii edit</string> @@ -184,7 +184,7 @@ <string name="user_data_export_cancelled">Export cancelled</string> <string name="user_data_import_failed_description">Make sure the user data folders are at the root of the zip folder and contain a config file at config/config.ini and try again.</string> <string name="support_link">https://discord.gg/suyu</string> - <string name="website_link">https://suyu-emu.org/</string> + <string name="website_link">https://suyu.dev/</string> <string name="github_link">https://github.com/suyu-emu</string> <!-- Early access upgrade strings --> @@ -463,8 +463,8 @@ <!-- ROM loading errors --> <string name="loader_error_encrypted">Your ROM is encrypted</string> - <string name="loader_error_encrypted_roms_description"><![CDATA[Please follow the guides to redump your <a href="https://suyu-emu.org/help/quickstart/#dumping-physical-titles-game-cards">game cartidges</a> or <a href="https://suyu-emu.org/help/quickstart/#dumping-digital-titles-eshop">installed titles</a>.]]></string> - <string name="loader_error_encrypted_keys_description"><![CDATA[Please ensure your <a href="https://suyu-emu.org/help/quickstart/#dumping-prodkeys-and-titlekeys">prod.keys</a> file is installed so that games can be decrypted.]]></string> + <string name="loader_error_encrypted_roms_description"><![CDATA[Please follow the guides to redump your <a href="https://suyu.dev/help/quickstart/#dumping-physical-titles-game-cards">game cartidges</a> or <a href="https://suyu.dev/help/quickstart/#dumping-digital-titles-eshop">installed titles</a>.]]></string> + <string name="loader_error_encrypted_keys_description"><![CDATA[Please ensure your <a href="https://suyu.dev/help/quickstart/#dumping-prodkeys-and-titlekeys">prod.keys</a> file is installed so that games can be decrypted.]]></string> <string name="loader_error_video_core">An error occurred initializing the video core</string> <string name="loader_error_video_core_description">This is usually caused by an incompatible GPU driver. Installing a custom GPU driver may resolve this problem.</string> <string name="loader_error_invalid_format">Unable to load ROM</string> diff --git a/src/common/android/applets/software_keyboard.cpp b/src/common/android/applets/software_keyboard.cpp index 2f0c58227a5a2f5ba0e66b9fa688bc014e4b402d..8a49ff0442003c9fb075acca5a4be93a46ae4416 100644 --- a/src/common/android/applets/software_keyboard.cpp +++ b/src/common/android/applets/software_keyboard.cpp @@ -253,19 +253,19 @@ void AndroidKeyboard::SubmitNormalText(const ResultData& data) const { void InitJNI(JNIEnv* env) { s_software_keyboard_class = reinterpret_cast<jclass>( - env->NewGlobalRef(env->FindClass("org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard"))); + env->NewGlobalRef(env->FindClass("dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard"))); s_keyboard_config_class = reinterpret_cast<jclass>(env->NewGlobalRef( - env->FindClass("org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig"))); + env->FindClass("dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig"))); s_keyboard_data_class = reinterpret_cast<jclass>(env->NewGlobalRef( - env->FindClass("org/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardData"))); + env->FindClass("dev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardData"))); s_swkbd_execute_normal = env->GetStaticMethodID( s_software_keyboard_class, "executeNormal", - "(Lorg/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)Lorg/suyu/suyu_emu/" + "(Ldev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)Ldev/suyu/suyu_emu/" "applets/keyboard/SoftwareKeyboard$KeyboardData;"); s_swkbd_execute_inline = env->GetStaticMethodID( s_software_keyboard_class, "executeInline", - "(Lorg/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)V"); + "(Ldev/suyu/suyu_emu/applets/keyboard/SoftwareKeyboard$KeyboardConfig;)V"); } void CleanupJNI(JNIEnv* env) { diff --git a/src/common/android/id_cache.cpp b/src/common/android/id_cache.cpp index 40faea9fa0219666630bff362b09fd7d7f050550..c4ef648ae58c3100b6f663339a65502ec9735f80 100644 --- a/src/common/android/id_cache.cpp +++ b/src/common/android/id_cache.cpp @@ -400,14 +400,14 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { return JNI_ERR; // Initialize Java classes - const jclass native_library_class = env->FindClass("org/suyu/suyu_emu/NativeLibrary"); + const jclass native_library_class = env->FindClass("dev/suyu/suyu_emu/NativeLibrary"); s_native_library_class = reinterpret_cast<jclass>(env->NewGlobalRef(native_library_class)); s_disk_cache_progress_class = reinterpret_cast<jclass>(env->NewGlobalRef( - env->FindClass("org/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress"))); + env->FindClass("dev/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress"))); s_load_callback_stage_class = reinterpret_cast<jclass>(env->NewGlobalRef(env->FindClass( - "org/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress$LoadCallbackStage"))); + "dev/suyu/suyu_emu/disk_shader_cache/DiskShaderCacheProgress$LoadCallbackStage"))); - const jclass game_dir_class = env->FindClass("org/suyu/suyu_emu/model/GameDir"); + const jclass game_dir_class = env->FindClass("dev/suyu/suyu_emu/model/GameDir"); s_game_dir_class = reinterpret_cast<jclass>(env->NewGlobalRef(game_dir_class)); s_game_dir_constructor = env->GetMethodID(game_dir_class, "<init>", "(Ljava/lang/String;Z)V"); env->DeleteLocalRef(game_dir_class); @@ -424,7 +424,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { s_on_program_changed = env->GetStaticMethodID(s_native_library_class, "onProgramChanged", "(I)V"); - const jclass game_class = env->FindClass("org/suyu/suyu_emu/model/Game"); + const jclass game_class = env->FindClass("dev/suyu/suyu_emu/model/Game"); s_game_class = reinterpret_cast<jclass>(env->NewGlobalRef(game_class)); s_game_constructor = env->GetMethodID(game_class, "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/" @@ -450,7 +450,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { env->DeleteLocalRef(pair_class); const jclass overlay_control_data_class = - env->FindClass("org/suyu/suyu_emu/overlay/model/OverlayControlData"); + env->FindClass("dev/suyu/suyu_emu/overlay/model/OverlayControlData"); s_overlay_control_data_class = reinterpret_cast<jclass>(env->NewGlobalRef(overlay_control_data_class)); s_overlay_control_data_constructor = @@ -468,7 +468,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { env->GetFieldID(overlay_control_data_class, "foldablePosition", "Lkotlin/Pair;"); env->DeleteLocalRef(overlay_control_data_class); - const jclass patch_class = env->FindClass("org/suyu/suyu_emu/model/Patch"); + const jclass patch_class = env->FindClass("dev/suyu/suyu_emu/model/Patch"); s_patch_class = reinterpret_cast<jclass>(env->NewGlobalRef(patch_class)); s_patch_constructor = env->GetMethodID( patch_class, "<init>", @@ -500,7 +500,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { env->DeleteLocalRef(boolean_class); const jclass player_input_class = - env->FindClass("org/suyu/suyu_emu/features/input/model/PlayerInput"); + env->FindClass("dev/suyu/suyu_emu/features/input/model/PlayerInput"); s_player_input_class = reinterpret_cast<jclass>(env->NewGlobalRef(player_input_class)); s_player_input_constructor = env->GetMethodID( player_input_class, "<init>", @@ -531,7 +531,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { env->DeleteLocalRef(player_input_class); const jclass suyu_input_device_interface = - env->FindClass("org/suyu/suyu_emu/features/input/SuyuInputDevice"); + env->FindClass("dev/suyu/suyu_emu/features/input/SuyuInputDevice"); s_suyu_input_device_interface = reinterpret_cast<jclass>(env->NewGlobalRef(suyu_input_device_interface)); s_suyu_input_device_get_name = diff --git a/src/suyu/about_dialog.cpp b/src/suyu/about_dialog.cpp index 40c99f91b70c59b86d3d5f67c6797137029a86cf..d5f05b4a2a46a65233ea8526829685173ca305cf 100644 --- a/src/suyu/about_dialog.cpp +++ b/src/suyu/about_dialog.cpp @@ -20,7 +20,7 @@ AboutDialog::AboutDialog(QWidget* parent) ui->setupUi(this); // Try and request the icon from Qt theme (Linux?) - const QIcon suyu_logo = QIcon::fromTheme(QStringLiteral("org.suyu_emu.suyu")); + const QIcon suyu_logo = QIcon::fromTheme(QStringLiteral("dev.suyu_emu.suyu")); if (!suyu_logo.isNull()) { ui->labelLogo->setPixmap(suyu_logo.pixmap(200)); } diff --git a/src/suyu/main.cpp b/src/suyu/main.cpp index 9a3ee7f6623296ebc54b3709fdb00d54136bf537..a7a61f5cb358cfc340f3c206f4eb649164c6a617 100644 --- a/src/suyu/main.cpp +++ b/src/suyu/main.cpp @@ -5080,7 +5080,7 @@ int main(int argc, char* argv[]) { // Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop // suffix. - QGuiApplication::setDesktopFileName(QStringLiteral("org.suyu_emu.suyu")); + QGuiApplication::setDesktopFileName(QStringLiteral("dev.suyu_emu.suyu")); #endif SetHighDPIAttributes();