Manic EMU is an all-in-one retro game emulator for iOS. It packs powerful features while keeping a clean, sleek UI and delivering buttery-smooth gameplay.
Swift
Added a safe mode startup option; fixed the touch offset issue in DeSmuME; enabled cross-compatibility for save files between melonDS and DeSmuME.;Other bugs fix
Daiuno87d5d08835cd
diff --git a/Cores/Libretro/ui/drivers/ui_cocoatouch.m b/Cores/Libretro/ui/drivers/ui_cocoatouch.mindex 96f9dab3..7efc67e9 100644--- a/Cores/Libretro/ui/drivers/ui_cocoatouch.m+++ b/Cores/Libretro/ui/drivers/ui_cocoatouch.m@@ -1130,6 +1130,10 @@ static BOOL RespectSilentMode = false;}- (void)loadCoreWithoutContent:(NSString *_Nonnull)corePath {+ settings_t *settings = config_get_ptr();+ settings->bools.video_font_enable = false;//禁用通知+ settings->bools.audio_respect_silent_mode = RespectSilentMode;+ set_custom_save_ext(g_customSaveExtension ? g_customSaveExtension.UTF8String : NULL);// 直接调用RetroArch的无内容核心加载函数task_push_load_contentless_core_from_menu(corePath.UTF8String);}diff --git a/Cores/clownmdemu.libretro.framework/clownmdemu.libretro b/Cores/clownmdemu.libretro.framework/clownmdemu.libretroindex 3606e3cd..21c62387 100755--- a/Cores/clownmdemu.libretro.framework/clownmdemu.libretro+++ b/Cores/clownmdemu.libretro.framework/clownmdemu.libretro@@ -1,3 +1,3 @@version https://git-lfs.github.com/spec/v1-oid sha256:20b4e0e4e6882b62b39549d626c799f63b606924ffab054d8946a1a113b0c9c9-size 580752+oid sha256:e279310587a862200715330d5ce00f767b097788823a2eec1f2c762bb2927650+size 750224diff --git a/Cores/desmume.libretro.framework/desmume.libretro b/Cores/desmume.libretro.framework/desmume.libretroindex 578d7202..8d462572 100755--- a/Cores/desmume.libretro.framework/desmume.libretro+++ b/Cores/desmume.libretro.framework/desmume.libretro@@ -1,3 +1,3 @@version https://git-lfs.github.com/spec/v1-oid sha256:bc7f1ff0919637e44f6b28f06edab31022d4f014e688e64d17e63da66c047019+oid sha256:ce1cd5a9742cc20e8d7c84a569e3df42284f4321a9ba495164859144c6d6a746size 3474336diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxprojindex 1bd1e756..68cd84b1 100644--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj@@ -653,6 +653,7 @@57A481542E7A8B84001D4598 /* bsnes-jg.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57A481532E7A8B76001D4598 /* bsnes-jg.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };57A481682E7F05AB001D4598 /* melondsds.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57A481672E7F059D001D4598 /* melondsds.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };57A4816A2E7F05D2001D4598 /* NDS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57A481692E7F05CD001D4598 /* NDS.swift */; };+ 57A912042F3B767800628B04 /* NDSSaveConventer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57A912022F3B765B00628B04 /* NDSSaveConventer.swift */; };57AD35EA2D7DEB9D0092FD03 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35E92D7DEB900092FD03 /* WebViewController.swift */; };57AD35EC2D7DEF360092FD03 /* SheerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35EB2D7DEF2E0092FD03 /* SheerExtensions.swift */; };57AEB9DC2F2614C6005CB496 /* NavigationBlurView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AEB9DA2F2614BF005CB496 /* NavigationBlurView.swift */; };@@ -1769,6 +1770,7 @@57A481532E7A8B76001D4598 /* bsnes-jg.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "bsnes-jg.libretro.framework"; path = "../Cores/bsnes-jg.libretro.framework"; sourceTree = SOURCE_ROOT; };57A481672E7F059D001D4598 /* melondsds.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = melondsds.libretro.framework; path = ../Cores/melondsds.libretro.framework; sourceTree = SOURCE_ROOT; };57A481692E7F05CD001D4598 /* NDS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NDS.swift; sourceTree = "<group>"; };+ 57A912022F3B765B00628B04 /* NDSSaveConventer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NDSSaveConventer.swift; sourceTree = "<group>"; };57AD35E92D7DEB900092FD03 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; };57AD35EB2D7DEF2E0092FD03 /* SheerExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SheerExtensions.swift; sourceTree = "<group>"; };57ADFED92D94F52500502E5C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };@@ -4510,6 +4512,7 @@A5A69BA9256E56FF00D51C09 /* Others */ = {isa = PBXGroup;children = (+ 57A912022F3B765B00628B04 /* NDSSaveConventer.swift */,578F28C02F39A9CA00D2D998 /* BonjourKit.swift */,573CEE112F20D46B00EA24F1 /* LocalWebServer.swift */,5781F5442EF1383F00916D8B /* MeloNXKit.swift */,@@ -5404,6 +5407,7 @@57DE104E2D6088BE00CDD82A /* BlankPlaceholderView.swift in Sources */,57E962F82D6AB4540022914C /* PlayHistoryItemCollectionCell.swift in Sources */,57CCB33B2D6584BC0036476B /* ObjectUpdatable.swift in Sources */,+ 57A912042F3B767800628B04 /* NDSSaveConventer.swift in Sources */,576C46312E16D9090008D087 /* MultiDiscDescCollectionCell.swift in Sources */,57399AC52E40ACE100AB73DD /* PSXSBIImportViewController.swift in Sources */,570F59152DC5BB48007BFD92 /* PlatformSortCollectionViewCell.swift in Sources */,diff --git a/ManicEmu/ManicEmu/Resources/Info.plist b/ManicEmu/ManicEmu/Resources/Info.plistindex 2c1f36f7..f6470dce 100644--- a/ManicEmu/ManicEmu/Resources/Info.plist+++ b/ManicEmu/ManicEmu/Resources/Info.plist@@ -128,7 +128,7 @@<key>CFBundleTypeRole</key><string>Editor</string><key>LSHandlerRank</key>- <string>Owner</string>+ <string>Alternate</string><key>LSItemContentTypes</key><array><string>public.aoshuang.game.md</string>@@ -368,7 +368,7 @@<key>CFBundleTypeRole</key><string>Editor</string><key>LSHandlerRank</key>- <string>Owner</string>+ <string>Alternate</string><key>LSItemContentTypes</key><array><string></string>@@ -807,10 +807,6 @@</array><key>UTTypeDescription</key><string>MD Game</string>- <key>UTTypeIconFiles</key>- <array>- <string>file_icon.png</string>- </array><key>UTTypeIdentifier</key><string>public.aoshuang.game.md</string><key>UTTypeTagSpecification</key>@@ -1282,10 +1278,6 @@</array><key>UTTypeDescription</key><string>Manic EMU Game Save</string>- <key>UTTypeIconFiles</key>- <array>- <string>file_icon.png</string>- </array><key>UTTypeIdentifier</key><string>public.aoshuang.zip</string><key>UTTypeTagSpecification</key>diff --git a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.stringsindex 5409b925..21158fae 100644--- a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings@@ -841,4 +841,6 @@"Connect" = "اتصال";"Connected" = "متصل";"LocalNetworkingDesc" = "يتطلب اللعب الجماعي المحلي جهازًا واحدًا على الأقل ليعمل كخادم مضيف. يبث المضيف خدمته على الشبكة المحلية، وستبحث الأجهزة الأخرى تلقائيًا عن المضيفين المتاحين. إذا لم يتم العثور على مضيف، يمكنك إدخال عنوان IP الخاص بالمضيف يدويًا. بمجرد الاتصال، يمكن بدء اللعب الجماعي.";-"OnlineNetworkingDesc" = "يتطلب اللعب الجماعي عبر الإنترنت إدخال عنوان خادم عبر الإنترنت صالح.";\ No newline at end of file+"OnlineNetworkingDesc" = "يتطلب اللعب الجماعي عبر الإنترنت إدخال عنوان خادم عبر الإنترنت صالح.";+"SafeMode" = "الوضع الآمن";+"SafeModeDesc" = "بدء تشغيل لعبة في الوضع الآمن يعطل جميع الإعدادات الإضافية (مثل الدقة المخصصة، التقديم السريع، ومظاهر التظليل) ويعمل بأدنى تكوين. يمكن أن يساعد هذا في حل المشكلات الناجمة عن الإعدادات غير الصحيحة التي تمنع بدء تشغيل اللعبة. يُطبق على هذا التشغيل فقط.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.stringsindex e3f517b3..99875ab8 100644--- a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings@@ -868,4 +868,6 @@ Si voleu millorar la vostra configuració, PlayCase és el complement perfecte p"Connect" = "Connecta";"Connected" = "Connectat";"LocalNetworkingDesc" = "El multijugador local requereix almenys un dispositiu com a amfitrió. L'amfitrió transmet el seu servei a la xarxa local i els altres dispositius buscaran automàticament amfitrions disponibles. Si no se'n troba cap, pots introduir manualment l'adreça IP de l'amfitrió. Un cop connectats, es pot iniciar la partida multijugador.";-"OnlineNetworkingDesc" = "El multijugador en línia requereix introduir una adreça de servidor en línia vàlida.";\ No newline at end of file+"OnlineNetworkingDesc" = "El multijugador en línia requereix introduir una adreça de servidor en línia vàlida.";+"SafeMode" = "Mode Segur";+"SafeModeDesc" = "Iniciar un joc en Mode Segur desactiva tots els paràmetres addicionals (com ara resolució personalitzada, avanç ràpid i shaders) i s'executa amb una configuració mínima. Això pot ajudar a resoldre problemes causats per paràmetres incorrectes que impedeixen l'inici del joc. S'aplica només a aquest inici.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.stringsindex 3c348bd2..3b378fdb 100644--- a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings@@ -864,4 +864,6 @@ Pokud chcete vylepšit své nastavení, PlayCase je perfektním doplňkem tohoto"Connect" = "Připojit";"Connected" = "Připojeno";"LocalNetworkingDesc" = "Místní multiplayer vyžaduje alespoň jedno zařízení jako hostitele. Hostitel vysílá svou službu v místní síti a ostatní zařízení automaticky vyhledají dostupné hostitele. Pokud není hostitel nalezen, můžete ručně zadat jeho IP adresu. Po připojení lze zahájit hru pro více hráčů.";-"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadání platné adresy online serveru.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadání platné adresy online serveru.";+"SafeMode" = "Bezpečný Režim";+"SafeModeDesc" = "Spuštění hry v bezpečném režimu deaktivuje všechna další nastavení (jako vlastní rozlišení, rychlý posun a stínící programy) a spustí ji s minimální konfigurací. To může pomoci vyřešit problémy způsobené nesprávným nastavením, které brání spuštění hry. Platí pouze pro toto spuštění.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.stringsindex 1f1e6367..fea14b1e 100644--- a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings@@ -866,4 +866,6 @@ Hvis du vil forbedre dit setup, er PlayCase et perfekt match til dette skin.";"Connect" = "Forbind";"Connected" = "Forbundet";"LocalNetworkingDesc" = "Lokal multiplayer kræver mindst én enhed som vært. Værten udsender sin tjeneste på det lokale netværk, og andre enheder søger automatisk efter tilgængelige værter. Hvis der ikke findes nogen vært, kan du manuelt indtaste værten IP-adresse. Når forbindelsen er etableret, kan multiplayer-spillet begynde.";-"OnlineNetworkingDesc" = "Online multiplayer kræver indtastning af en gyldig online-serveradresse.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online multiplayer kræver indtastning af en gyldig online-serveradresse.";+"SafeMode" = "Sikker Tilstand";+"SafeModeDesc" = "At starte et spil i Sikker Tilstand deaktiverer alle yderligere indstillinger (såsom brugerdefineret opløsning, hurtig fremadspoling og shaders) og kører med en minimal konfiguration. Dette kan hjælpe med at løse problemer forårsaget af forkerte indstillinger, der forhindrer spillet i at starte. Gælder kun for denne start.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.stringsindex a9bfadfd..20ee5cff 100644--- a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings@@ -870,4 +870,6 @@ Wenn Sie Ihr Setup verbessern möchten, ist PlayCase die perfekte Ergänzung zu"Connect" = "Verbinden";"Connected" = "Verbunden";"LocalNetworkingDesc" = "Lokaler Mehrspielermodus erfordert mindestens ein Gerät als Host. Der Host überträgt seinen Dienst im lokalen Netzwerk, andere Geräte suchen automatisch nach verfügbaren Hosts. Wird kein Host gefunden, kann die IP-Adresse des Hosts manuell eingegeben werden. Nach erfolgreicher Verbindung kann der Mehrspielermodus beginnen.";-"OnlineNetworkingDesc" = "Online-Mehrspielermodus erfordert die Eingabe einer gültigen Online-Serveradresse.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online-Mehrspielermodus erfordert die Eingabe einer gültigen Online-Serveradresse.";+"SafeMode" = "Abgesicherter Modus";+"SafeModeDesc" = "Das Starten eines Spiels im abgesicherten Modus deaktiviert alle zusätzlichen Einstellungen (wie benutzerdefinierte Auflösung, Schnellvorlauf und Shader) und führt es mit einer Minimal-Konfiguration aus. Dies kann Probleme beheben, die durch falsche Einstellungen verursacht werden und den Start verhindern. Gilt nur für diesen Start.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.stringsindex 8e4d1bef..cac63289 100644--- a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings@@ -869,4 +869,6 @@"Connect" = "Σύνδεση";"Connected" = "Συνδέθηκε";"LocalNetworkingDesc" = "Η τοπική συλλογική λειτουργία απαιτεί τουλάχιστον μία συσκευή ως κεντρικό υπολογιστή. Ο κεντρικός υπολογιστής εκπέμπει την υπηρεσία του στο τοπικό δίκτυο και άλλες συσκευές θα αναζητούν αυτόματα διαθέσιμους κεντρικούς υπολογιστές. Εάν δεν βρεθεί κανένας, μπορείτε να εισαγάγετε χειροκίνητα τη διεύθυνση IP του κεντρικού υπολογιστή. Μετά τη σύνδεση, μπορείτε να ξεκινήσετε τη συλλογική λειτουργία.";-"OnlineNetworkingDesc" = "Η διαδικτυακή συλλογική λειτουργία απαιτεί τη διεύθυνση ενός έγκυρου διαδικτυακού διακομιστή.";\ No newline at end of file+"OnlineNetworkingDesc" = "Η διαδικτυακή συλλογική λειτουργία απαιτεί τη διεύθυνση ενός έγκυρου διαδικτυακού διακομιστή.";+"SafeMode" = "Ασφαλής Λειτουργία";+"SafeModeDesc" = "Η εκκίνηση ενός παιχνιδιού σε Ασφαλή Λειτουργία απενεργοποιεί όλες τις πρόσθετες ρυθμίσεις (όπως προσαρμοσμένη ανάλυση, γρήγορη προώθηση και σκιαστές) και εκτελείται με ελάχιστη διαμόρφωση. Αυτό μπορεί να βοηθήσει στην επίλυση προβλημάτων που προκαλούνται από λανθασμένες ρυθμίσεις που εμποδίζουν την εκκίνηση του παιχνιδιού. Ισχύει μόνο για αυτήν την εκκίνηση.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.stringsindex b1afa5c4..7a8765ec 100644--- a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings@@ -884,3 +884,6 @@ Press the controller button to complete mapping...";"Connected" = "Connected";"LocalNetworkingDesc" = "Local multiplayer requires at least one device to act as a host. The host broadcasts its service on the local network, and other devices will automatically search for available hosts. If no host is found, you can manually enter the host’s IP address. Once connected, multiplayer gameplay can begin.";"OnlineNetworkingDesc" = "Online multiplayer requires entering a valid online server address.";++"SafeMode" = "Safe Mode";+"SafeModeDesc" = "Launching a game in Safe Mode disables all additional settings (such as custom resolution, fast forward, and shaders) and runs with a minimal configuration. This can help resolve issues caused by incorrect settings that prevent the game from starting. Applies to this launch only.";diff --git a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.stringsindex 5d2dd9e0..341cd397 100644--- a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings@@ -868,4 +868,6 @@ Si quieres mejorar tu experiencia, PlayCase combina perfecto con esta funda.";"Connect" = "Conectar";"Connected" = "Conectado";"LocalNetworkingDesc" = "Para el multijugador local se necesita al menos un dispositivo como servidor. El servidor transmite su servicio en la red local, y otros dispositivos buscarán automáticamente servidores disponibles. Si no se encuentra un servidor, puedes ingresar manualmente su dirección IP. Tras conectarse, podrán comenzar a jugar.";-"OnlineNetworkingDesc" = "El multijugador en línea requiere ingresar una dirección de servidor en línea válida.";\ No newline at end of file+"OnlineNetworkingDesc" = "El multijugador en línea requiere ingresar una dirección de servidor en línea válida.";+"SafeMode" = "Modo Seguro";+"SafeModeDesc" = "Al iniciar un juego en Modo Seguro, se desactivan todos los ajustes adicionales (como resolución personalizada, avance rápido y sombreadores) y se ejecuta con una configuración mínima. Esto puede ayudar a resolver problemas causados por ajustes incorrectos que impiden que el juego se inicie. Solo aplica para este inicio.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.stringsindex 33b09817..e6269f1a 100644--- a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings@@ -843,4 +843,6 @@ Si quieres mejorar tu configuración, PlayCase es el complemento perfecto para e"Connect" = "Conectar";"Connected" = "Conectado";"LocalNetworkingDesc" = "El multijugador local requiere al menos un dispositivo como anfitrión. El anfitrión emite su servicio en la red local y los demás dispositivos buscarán automáticamente anfitriones disponibles. Si no se encuentra ninguno, puedes introducir manualmente la dirección IP del anfitrión. Una vez conectados, puede comenzar el juego multijugador.";-"OnlineNetworkingDesc" = "El multijugador en línea requiere introducir una dirección de servidor en línea válida.";\ No newline at end of file+"OnlineNetworkingDesc" = "El multijugador en línea requiere introducir una dirección de servidor en línea válida.";+"SafeMode" = "Modo Seguro";+"SafeModeDesc" = "Iniciar un juego en Modo Seguro desactiva toda configuración adicional (como resolución personalizada, avance rápido y sombreadores) y lo ejecuta con una configuración mínima. Esto puede ayudar a resolver problemas causados por configuraciones incorrectas que impiden el inicio del juego. Solo se aplica a este inicio.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.stringsindex 1d45448c..feb9c0c0 100644--- a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings@@ -869,4 +869,6 @@ Jos haluat parantaa kokoonpanoasi, PlayCase on täydellinen lisä tälle skinill"Connect" = "Yhdistä";"Connected" = "Yhdistetty";"LocalNetworkingDesc" = "Paikallinen moninpeli vaatii vähintään yhden laitteen isännäksi. Isäntä lähettää palvelunsa paikallisessa verkossa, ja muut laitteet etsivät automaattisesti käytettävissä olevia isäntiä. Jos isäntää ei löydy, voit syöttää sen IP-osoitteen manuaalisesti. Yhdistämisen jälkeen moninpeli voi alkaa.";-"OnlineNetworkingDesc" = "Verkkomoninpeli vaatii kelvollisen verkkopalvelimen osoitteen.";\ No newline at end of file+"OnlineNetworkingDesc" = "Verkkomoninpeli vaatii kelvollisen verkkopalvelimen osoitteen.";+"SafeMode" = "Turvatila";+"SafeModeDesc" = "Pelin käynnistäminen turvatilassa poistaa käytöstä kaikki lisäasetukset (kuten mukautetun resoluution, pikakelauksen ja varjostimet) ja suorittaa sen minimaalisella konfiguraatiolla. Tämä voi auttaa ratkaisemaan ongelmia, jotka johtuvat vääristä asetuksista, jotka estävät pelin käynnistymisen. Koskee vain tätä käynnistystä.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.stringsindex f5b79396..f4863dea 100644--- a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings@@ -870,4 +870,6 @@ Si vous voulez améliorer votre installation, PlayCase est le complément parfai"Connect" = "Se connecter";"Connected" = "Connecté";"LocalNetworkingDesc" = "Le jeu multijoueur en local requiert au moins un appareil comme hôte. L'hôte diffuse son service sur le réseau local et les autres appareils recherchent automatiquement les hôtes disponibles. Si aucun hôte n'est trouvé, vous pouvez entrer manuellement son adresse IP. Une fois connectés, la partie multijoueur peut débuter.";-"OnlineNetworkingDesc" = "Le jeu multijoueur en ligne requiert une adresse de serveur en ligne valide.";\ No newline at end of file+"OnlineNetworkingDesc" = "Le jeu multijoueur en ligne requiert une adresse de serveur en ligne valide.";+"SafeMode" = "Mode Sans Échec";+"SafeModeDesc" = "Démarrer un jeu en Mode Sans Échec désactive tous les paramètres additionnels (tels que la résolution personnalisée, l'avance rapide et les shaders) et l'exécute avec une configuration minimale. Cela peut aider à résoudre les problèmes causés par des paramètres incorrects qui empêchent le jeu de démarrer. S'applique seulement à ce démarrage.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.stringsindex 11e3b871..722e9ba8 100644--- a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings@@ -870,4 +870,6 @@ Si vous souhaitez améliorer votre configuration, PlayCase est le complément id"Connect" = "Connexion";"Connected" = "Connecté";"LocalNetworkingDesc" = "Le multijoueur en local nécessite au moins un appareil faisant office d'hôte. L'hôte diffuse son service sur le réseau local, et les autres appareils rechercheront automatiquement les hôtes disponibles. Si aucun hôte n'est trouvé, vous pouvez saisir manuellement son adresse IP. Une fois connectés, la partie multijoueur peut commencer.";-"OnlineNetworkingDesc" = "Le multijoueur en ligne nécessite de saisir une adresse de serveur en ligne valide.";\ No newline at end of file+"OnlineNetworkingDesc" = "Le multijoueur en ligne nécessite de saisir une adresse de serveur en ligne valide.";+"SafeMode" = "Mode Sans Échec";+"SafeModeDesc" = "Lancer un jeu en Mode Sans Échec désactive tous les paramètres supplémentaires (tels que la résolution personnalisée, l'avance rapide et les shaders) et s'exécute avec une configuration minimale. Cela peut résoudre les problèmes causés par des paramètres incorrects empêchant le jeu de démarrer. Ne s'applique qu'à ce lancement.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.stringsindex f4429c57..084b3188 100644--- a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings@@ -869,4 +869,6 @@ PlayCase מתמקדת במעטפות iPhone איכותיות, המיוצרות"Connect" = "התחבר";"Connected" = "מחובר";"LocalNetworkingDesc" = "משחק מרובה משתתפים ברשת מקומית דורש לפחות מכשיר אחד שישמש כמארח. המארח משדר את השירות שלו ברשת המקומית, ומכשירים אחרים יחפשו אוטומטית מארחים זמינים. אם לא נמצא מארח, תוכל להזין ידנית את כתובת ה-IP שלו. לאחר ההתחברות, ניתן להתחיל לשחק.";-"OnlineNetworkingDesc" = "משחק מרובה משתתפים ברשת מקוונת דורש הזנת כתובת שרת מקוון תקפה.";\ No newline at end of file+"OnlineNetworkingDesc" = "משחק מרובה משתתפים ברשת מקוונת דורש הזנת כתובת שרת מקוון תקפה.";+"SafeMode" = "מצב בטוח";+"SafeModeDesc" = "הפעלת משחק במצב בטוח מבטלת את כל ההגדרות הנוספות (כמו רזולוציה מותאמת אישית, קדימה מהירה ומנהלי הצללה) ומריצה אותו עם תצורה מינימלית. זה יכול לעזור בפתרון בעיות הנגרמות מהגדרות לא נכונות שמונעות את הפעלת המשחק. חל על הפעלה זו בלבד.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.stringsindex c4ea42c7..8543ce7b 100644--- a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings@@ -870,4 +870,6 @@ PlayCase हाई-क्वालिटी iPhone केसों पर के"Connect" = "कनेक्ट करें";"Connected" = "कनेक्टेड";"LocalNetworkingDesc" = "लोकल मल्टीप्लेयर के लिए कम से कम एक डिवाइस को होस्ट के रूप में कार्य करना आवश्यक है। होस्ट लोकल नेटवर्क पर अपनी सेवा प्रसारित करता है, और अन्य डिवाइस स्वचालित रूप से उपलब्ध होस्ट खोजेंगे। यदि कोई होस्ट नहीं मिलता है, तो आप होस्ट का आईपी पता मैन्युअली दर्ज कर सकते हैं। एक बार कनेक्ट हो जाने पर, मल्टीप्लेयर गेमप्ले शुरू हो सकता है।";-"OnlineNetworkingDesc" = "ऑनलाइन मल्टीप्लेयर के लिए एक वैध ऑनलाइन सर्वर पता दर्ज करना आवश्यक है।";\ No newline at end of file+"OnlineNetworkingDesc" = "ऑनलाइन मल्टीप्लेयर के लिए एक वैध ऑनलाइन सर्वर पता दर्ज करना आवश्यक है।";+"SafeMode" = "सुरक्षित मोड";+"SafeModeDesc" = "सुरक्षित मोड में गेम लॉन्च करने से सभी अतिरिक्त सेटिंग्स (जैसे कस्टम रिज़ॉल्यूशन, फास्ट फॉरवर्ड और शेडर्स) अक्षम हो जाती हैं और यह न्यूनतम कॉन्फ़िगरेशन के साथ चलता है। इससे गेम के शुरू न हो पाने के कारण हुई समस्याओं का समाधान करने में मदद मिल सकती है। केवल इसी लॉन्च पर लागू होता है।";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.stringsindex 92ccdda5..9ec3dcc1 100644--- a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings@@ -866,4 +866,6 @@ Ako želite unaprijediti svoju postavu, PlayCase je savršen dodatak ovom skinu."Connect" = "Poveži";"Connected" = "Povezano";"LocalNetworkingDesc" = "Lokalni multiplayer zahtijeva barem jedan uređaj kao host. Host emitira svoju uslugu na lokalnoj mreži, a drugi uređaji će automatski tražiti dostupne hostove. Ako se ne pronađe host, možete ručno unijeti IP adresu hosta. Nakon povezivanja, može započeti multiplayer igra.";-"OnlineNetworkingDesc" = "Online multiplayer zahtijeva unos valjane adrese online poslužitelja.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online multiplayer zahtijeva unos valjane adrese online poslužitelja.";+"SafeMode" = "Sigurni Način Rada";+"SafeModeDesc" = "Pokretanje igre u sigurnom načinu rada onemogućuje sve dodatne postavke (poput prilagođene razlučivosti, brzog premotavanja i sjenčara) i pokreće je s minimalnom konfiguracijom. To može pomoći u rješavanju problema uzrokovanih netočnim postavkama koje sprečavaju pokretanje igre. Primjenjuje se samo na ovo pokretanje.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.stringsindex a7bad6ff..5050cea2 100644--- a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings@@ -868,4 +868,6 @@ Ha fejleszteni szeretnéd a beállításod, a PlayCase tökéletes kiegészítő"Connect" = "Csatlakozás";"Connected" = "Csatlakoztatva";"LocalNetworkingDesc" = "A helyi többjátékos módhoz legalább egy eszköznek kiszolgálóként kell működnie. A kiszolgáló hirdeti a szolgáltatását a helyi hálózaton, és a többi eszköz automatikusan keresni fogja az elérhető kiszolgálókat. Ha nem található kiszolgáló, manuálisan is megadhatja annak IP-címét. A csatlakozás után megkezdhető a többjátékos játék.";-"OnlineNetworkingDesc" = "Az online többjátékos módhoz érvényes online szervercím megadása szükséges.";\ No newline at end of file+"OnlineNetworkingDesc" = "Az online többjátékos módhoz érvényes online szervercím megadása szükséges.";+"SafeMode" = "Biztonságos Mód";+"SafeModeDesc" = "A játék Biztonságos Módban történő indítása letiltja az összes további beállítást (például az egyéni felbontást, a gyors előretekerést és a shadereket), és minimális konfigurációval futtatja. Ez segíthet megoldani a hibás beállítások által okozott problémákat, amelyek megakadályozzák a játék indítását. Csak erre az indításra vonatkozik.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.stringsindex cb2b75d5..ef0e7b1a 100644--- a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings@@ -861,4 +861,6 @@ Jika Anda ingin meningkatkan setup Anda, PlayCase adalah pasangan sempurna untuk"Connect" = "Hubungkan";"Connected" = "Terhubung";"LocalNetworkingDesc" = "Multiplayer lokal membutuhkan setidaknya satu perangkat sebagai host. Host menyiarkan layanannya di jaringan lokal, dan perangkat lain akan secara otomatis mencari host yang tersedia. Jika tidak ada host yang ditemukan, Anda dapat memasukkan alamat IP host secara manual. Setelah terhubung, permainan multiplayer dapat dimulai.";-"OnlineNetworkingDesc" = "Multiplayer daring membutuhkan alamat server daring yang valid.";\ No newline at end of file+"OnlineNetworkingDesc" = "Multiplayer daring membutuhkan alamat server daring yang valid.";+"SafeMode" = "Mode Aman";+"SafeModeDesc" = "Meluncurkan game dalam Mode Aman akan menonaktifkan semua pengaturan tambahan (seperti resolusi kustom, maju cepat, dan shader) dan berjalan dengan konfigurasi minimal. Ini dapat membantu mengatasi masalah yang disebabkan oleh pengaturan yang salah yang mencegah game dimulai. Hanya berlaku untuk peluncuran ini.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.stringsindex f3578988..353f6554 100644--- a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings@@ -872,4 +872,6 @@ Se vuoi migliorare il tuo setup, PlayCase è l’abbinamento perfetto per questa"Connect" = "Connetti";"Connected" = "Connesso";"LocalNetworkingDesc" = "Il multigiocatore in locale richiede almeno un dispositivo come host. L'host trasmette il suo servizio nella rete locale e gli altri dispositivi cercheranno automaticamente host disponibili. Se non viene trovato alcun host, puoi inserire manualmente l'indirizzo IP dell'host. Una volta connessi, può iniziare la partita multigiocatore.";-"OnlineNetworkingDesc" = "Il multigiocatore online richiede l'inserimento di un indirizzo server online valido.";\ No newline at end of file+"OnlineNetworkingDesc" = "Il multigiocatore online richiede l'inserimento di un indirizzo server online valido.";+"SafeMode" = "Modalità Sicura";+"SafeModeDesc" = "Avviare un gioco in Modalità Sicura disabilita tutte le impostazioni aggiuntive (come risoluzione personalizzata, avanzamento rapido e shader) e lo esegue con una configurazione minima. Ciò può aiutare a risolvere problemi causati da impostazioni errate che impediscono l'avvio del gioco. Si applica solo a questo avvio.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.stringsindex 164d068f..002e4e97 100644--- a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings@@ -865,4 +865,6 @@ PlayCaseは、アクセサリーやスキンとの互換性を考慮して作ら"Connect" = "接続";"Connected" = "接続済み";"LocalNetworkingDesc" = "ローカル通信では、少なくとも1台のデバイスがホストとして動作する必要があります。ホストはローカルネットワーク上でサービスをブロードキャストし、他のデバイスは利用可能なホストを自動的に検索します。ホストが見つからない場合は、ホストのIPアドレスを手動で入力できます。接続が確立されると、マルチプレイヤーゲームを開始できます。";-"OnlineNetworkingDesc" = "オンライン通信では、有効なオンラインサーバーアドレスを入力する必要があります。";\ No newline at end of file+"OnlineNetworkingDesc" = "オンライン通信では、有効なオンラインサーバーアドレスを入力する必要があります。";+"SafeMode" = "セーフモード";+"SafeModeDesc" = "セーフモードでゲームを起動すると、カスタム解像度・高速送り・シェーダーなど追加設定がすべて無効になり、最小構成で実行されます。設定の不具合でゲームが起動できない問題の解決に役立ちます。※今回の起動のみ有効です。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.stringsindex ce2d9b2d..519543b8 100644--- a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings@@ -872,4 +872,6 @@ PlayCase는 액세서리 및 스킨 호환성을 고려하여 제작된 고품"Connect" = "연결";"Connected" = "연결됨";"LocalNetworkingDesc" = "로컬 멀티플레이어를 사용하려면 최소 한 대의 기기가 호스트 역할을 해야 합니다. 호스트는 로컬 네트워크에서 서비스를 브로드캐스트하며, 다른 기기에서는 사용 가능한 호스트를 자동으로 검색합니다. 호스트를 찾지 못한 경우 호스트의 IP 주소를 수동으로 입력할 수 있습니다. 연결이 완료되면 멀티플레이어 게임을 시작할 수 있습니다.";-"OnlineNetworkingDesc" = "온라인 멀티플레이어를 사용하려면 유효한 온라인 서버 주소를 입력해야 합니다.";\ No newline at end of file+"OnlineNetworkingDesc" = "온라인 멀티플레이어를 사용하려면 유효한 온라인 서버 주소를 입력해야 합니다.";+"SafeMode" = "안전 모드";+"SafeModeDesc" = "안전 모드로 게임을 실행하면 모든 추가 설정(사용자 정의 해상도, 빠른 진행, 셰이더 등)이 비활성화되고 최소 구성으로 실행됩니다. 이로 인해 게임 시작을 방해하는 잘못된 설정으로 인한 문제를 해결하는 데 도움이 될 수 있습니다. 이번 실행에만 적용됩니다.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.stringsindex 4a75284e..21f140a0 100644--- a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings@@ -842,4 +842,6 @@ Jika anda ingin meningkatkan persediaan anda, PlayCase adalah padanan sempurna u"Connect" = "Sambung";"Connected" = "Disambungkan";"LocalNetworkingDesc" = "Permainan berbilang pemain setempat memerlukan sekurang-kurangnya satu peranti sebagai hos. Hos menyiarkan perkhidmatannya dalam rangkaian setempat, dan peranti lain akan mencari hos yang tersedia secara automatik. Jika tiada hos ditemui, anda boleh memasukkan alamat IP hos secara manual. Setelah disambung, permainan berbilang pemain boleh dimulakan.";-"OnlineNetworkingDesc" = "Permainan berbilang pemain dalam talian memerlukan alamat pelayan dalam talian yang sah.";\ No newline at end of file+"OnlineNetworkingDesc" = "Permainan berbilang pemain dalam talian memerlukan alamat pelayan dalam talian yang sah.";+"SafeMode" = "Mod Selamat";+"SafeModeDesc" = "Melancarkan permainan dalam Mod Selamat menyahdayakan semua tetapan tambahan (seperti resolusi tersuai, maju pantas dan pelindung) dan berjalan dengan konfigurasi minimum. Ini boleh membantu menyelesaikan masalah yang disebabkan oleh tetapan salah yang menghalang permainan dimulakan. Hanya terpakai untuk pelancaran ini.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.stringsindex 39edb277..6f6d4c4d 100644--- a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings@@ -860,4 +860,6 @@ Hvis du vil forbedre oppsettet ditt, er PlayCase et perfekt tilbehør til dette"Connect" = "Koble til";"Connected" = "Tilkoblet";"LocalNetworkingDesc" = "Lokalt flerspillermodus krever minst én enhet som vert. Verten kringkaster tjenesten på det lokale nettverket, og andre enheter søker automatisk etter tilgjengelige verter. Hvis ingen vert blir funnet, kan du angi vertens IP-adresse manuelt. Når tilkoblingen er etablert, kan flerspiller-spillet begynne.";-"OnlineNetworkingDesc" = "Online flerspillermodus krever at du angir en gyldig onlineserveradresse.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online flerspillermodus krever at du angir en gyldig onlineserveradresse.";+"SafeMode" = "Sikker Modus";+"SafeModeDesc" = "Å starte et spill i Sikker Modus deaktiverer alle tilleggsinnstillinger (som tilpasset oppløsning, rask fremspoling og shadere) og kjører med en minimal konfigurasjon. Dette kan bidra til å løse problemer forårsaket av feil innstillinger som hindrer spillet i å starte. Gjelder kun for denne oppstarten.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.stringsindex 5899a964..9c9c6d30 100644--- a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings@@ -869,4 +869,6 @@ Als je je setup naar een hoger niveau wilt tillen, is PlayCase de perfecte match"Connect" = "Verbinden";"Connected" = "Verbonden";"LocalNetworkingDesc" = "Lokale multiplayer vereist minimaal één apparaat als host. De host zendt zijn service uit op het lokale netwerk en andere apparaten zoeken automatisch naar beschikbare hosts. Als er geen host wordt gevonden, kun je handmatig het IP-adres van de host invoeren. Na het verbinden kan de multiplayersessie beginnen.";-"OnlineNetworkingDesc" = "Online multiplayer vereist het invoeren van een geldig online serveradres.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online multiplayer vereist het invoeren van een geldig online serveradres.";+"SafeMode" = "Veilige Modus";+"SafeModeDesc" = "Een game starten in de Veilige Modus schakelt alle aanvullende instellingen uit (zoals aangepaste resolutie, snel vooruit en shaders) en voert deze uit met een minimale configuratie. Dit kan helpen problemen op te lossen die worden veroorzaakt door onjuiste instellingen waardoor de game niet start. Geldt alleen voor deze start.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.stringsindex 9c118668..334aad38 100644--- a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings@@ -843,4 +843,6 @@ Jeśli chcesz ulepszyć swoją konfigurację, PlayCase jest idealnym uzupełnien"Connect" = "Połącz";"Connected" = "Połączono";"LocalNetworkingDesc" = "Gra wieloosobowa w sieci lokalnej wymaga co najmniej jednego urządzenia jako hosta. Host emituje swoją usługę w sieci lokalnej, a inne urządzenia automatycznie wyszukują dostępnych hostów. Jeśli nie znaleziono hosta, można ręcznie wprowadzić jego adres IP. Po połączeniu można rozpocząć rozgrywkę wieloosobową.";-"OnlineNetworkingDesc" = "Gra wieloosobowa online wymaga podania prawidłowego adresu serwera online.";\ No newline at end of file+"OnlineNetworkingDesc" = "Gra wieloosobowa online wymaga podania prawidłowego adresu serwera online.";+"SafeMode" = "Tryb Bezpieczny";+"SafeModeDesc" = "Uruchomienie gry w trybie bezpiecznym wyłącza wszystkie dodatkowe ustawienia (takie jak niestandardowa rozdzielczość, szybkie przewijanie i shadery) i uruchamia ją z minimalną konfiguracją. Może to pomóc w rozwiązaniu problemów spowodowanych nieprawidłowymi ustawieniami, które uniemożliwiają uruchomienie gry. Dotyczy tylko tego uruchomienia.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.stringsindex 3804dbcd..ba497099 100644--- a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings@@ -869,4 +869,6 @@ Se você deseja aprimorar sua configuração, a PlayCase é o complemento perfei"Connect" = "Conectar";"Connected" = "Conectado";"LocalNetworkingDesc" = "O multijogador local requer pelo menos um dispositivo atuando como host. O host transmite seu serviço na rede local e outros dispositivos procurarão automaticamente por hosts disponíveis. Se nenhum host for encontrado, você pode inserir manualmente o endereço IP do host. Uma vez conectados, a partida multijogador pode começar.";-"OnlineNetworkingDesc" = "O multijogador online requer o endereço de um servidor online válido.";\ No newline at end of file+"OnlineNetworkingDesc" = "O multijogador online requer o endereço de um servidor online válido.";+"SafeMode" = "Modo Seguro";+"SafeModeDesc" = "Iniciar um jogo no Modo Seguro desativa todas as configurações adicionais (como resolução personalizada, avanço rápido e shaders) e executa com uma configuração mínima. Isso pode ajudar a resolver problemas causados por configurações incorretas que impedem o jogo de iniciar. Aplica-se apenas a esta inicialização.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.stringsindex 08a02e65..0736eed5 100644--- a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings@@ -870,4 +870,6 @@ Se pretende melhorar a sua configuração, a PlayCase é o complemento perfeito"Connect" = "Ligar";"Connected" = "Ligado";"LocalNetworkingDesc" = "O multijogador local requer pelo menos um dispositivo como anfitrião. O anfitrião transmite o seu serviço na rede local e os outros dispositivos procurarão automaticamente por anfitriões disponíveis. Se não for encontrado nenhum anfitrião, pode introduzir manualmente o endereço IP do mesmo. Após a ligação, o jogo multijogador pode começar.";-"OnlineNetworkingDesc" = "O multijogador online requer a introdução de um endereço de servidor online válido.";\ No newline at end of file+"OnlineNetworkingDesc" = "O multijogador online requer a introdução de um endereço de servidor online válido.";+"SafeMode" = "Modo de Segurança";+"SafeModeDesc" = "Iniciar um jogo no Modo de Segurança desativa todas as definições adicionais (como resolução personalizada, avanço rápido e shaders) e executa-o com uma configuração mínima. Isto pode ajudar a resolver problemas causados por definições incorretas que impedem o arranque do jogo. Aplica-se apenas a este arranque.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.stringsindex b1a84d99..9d1a128e 100644--- a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings@@ -868,4 +868,6 @@ Dacă vrei să îți îmbunătățești setup-ul, PlayCase este potrivirea perfe"Connect" = "Conectează";"Connected" = "Conectat";"LocalNetworkingDesc" = "Pentru jocul multiplayer local este necesar cel puțin un dispozitiv ca gazdă. Gazda difuzează serviciul în rețeaua locală, iar celelalte dispozitive vor căuta automat gazde disponibile. Dacă nu este găsită nicio gazdă, poți introduce manual adresa IP a acesteia. După conectare, poți începe jocul multiplayer.";-"OnlineNetworkingDesc" = "Pentru jocul multiplayer online este necesară introducerea unei adrese de server online valide.";\ No newline at end of file+"OnlineNetworkingDesc" = "Pentru jocul multiplayer online este necesară introducerea unei adrese de server online valide.";+"SafeMode" = "Mod Securizat";+"SafeModeDesc" = "Lansarea unui joc în Mod Securizat dezactivează toate setările adiționale (precum rezoluția personalizată, derularea rapidă și shaderele) și îl rulează cu o configurație minimă. Acest lucru poate ajuta la rezolvarea problemelor cauzate de setări incorecte care împiedică pornirea jocului. Se aplică numai pentru această lansare.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.stringsindex 5c7ec1ad..f1103175 100644--- a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings@@ -864,4 +864,6 @@ PlayCase специализируется на высококачественн"Connect" = "Подключить";"Connected" = "Подключено";"LocalNetworkingDesc" = "Для локальной многопользовательской игры требуется хотя бы одно устройство в роли хоста. Хост рассылает свой сервис в локальной сети, а другие устройства автоматически ищут доступные хосты. Если хост не найден, вы можете вручную ввести его IP-адрес. После подключения можно начинать игру.";-"OnlineNetworkingDesc" = "Для онлайн-игры требуется ввести действительный адрес онлайн-сервера.";\ No newline at end of file+"OnlineNetworkingDesc" = "Для онлайн-игры требуется ввести действительный адрес онлайн-сервера.";+"SafeMode" = "Безопасный режим";+"SafeModeDesc" = "Запуск игры в безопасном режиме отключает все дополнительные настройки (такие как пользовательское разрешение, ускоренная перемотка и шейдеры) и запускает её с минимальной конфигурацией. Это может помочь решить проблемы, вызванные некорректными настройками, которые мешают запуску игры. Применяется только к данному запуску.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.stringsindex addcd645..50f3c78b 100644--- a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings@@ -868,4 +868,6 @@ Ak chcete vylepšiť svoje nastavenie, PlayCase je perfektným doplnkom tohto sk"Connect" = "Pripojiť";"Connected" = "Pripojené";"LocalNetworkingDesc" = "Lokálny multiplayer vyžaduje aspoň jedno zariadenie ako hostiteľa. Hostiteľ vysiela svoju službu v lokálnej sieti a ostatné zariadenia automaticky vyhľadajú dostupných hostiteľov. Ak sa nenájde žiadny hostiteľ, môžete ručne zadať jeho IP adresu. Po pripojení sa môže začať hra pre viacerých hráčov.";-"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadanie platnej adresy online servera.";\ No newline at end of file+"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadanie platnej adresy online servera.";+"SafeMode" = "Bezpečný Režim";+"SafeModeDesc" = "Spustenie hry v bezpečnom režime deaktivuje všetky dodatočné nastavenia (ako vlastné rozlíšenie, rýchly posun a shadery) a spustí ju s minimálnou konfiguráciou. To môže pomôcť vyriešiť problémy spôsobené nesprávnym nastavením, ktoré bránia spusteniu hry. Platí len pre toto spustenie.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.stringsindex 9b60b460..af86242d 100644--- a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings@@ -862,4 +862,6 @@ Om du vill höja din upplevelse är PlayCase en perfekt match för detta skin.";"Connect" = "Anslut";"Connected" = "Ansluten";"LocalNetworkingDesc" = "Lokalt flerspelarläge kräver minst en enhet som värd. Värden sänder sin tjänst i det lokala nätverket och andra enheter söker automatiskt efter tillgängliga värdar. Om ingen värd hittas kan du manuellt ange värdens IP-adress. När anslutningen är etablerad kan flerspelarläget börja.";-"OnlineNetworkingDesc" = "Onlinespel i flerspelarläge kräver att du anger en giltig onlineserveradress.";\ No newline at end of file+"OnlineNetworkingDesc" = "Onlinespel i flerspelarläge kräver att du anger en giltig onlineserveradress.";+"SafeMode" = "Säkert Läge";+"SafeModeDesc" = "Att starta ett spel i säkert läge inaktiverar alla extra inställningar (som anpassad upplösning, snabbspolning och shaders) och kör med en minimal konfiguration. Detta kan hjälpa till att lösa problem orsakade av felaktiga inställningar som förhindrar spelet från att starta. Gäller endast denna start.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.stringsindex 582d343a..211f4371 100644--- a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings@@ -858,4 +858,6 @@ PlayCase มุ่งเน้นที่เคส iPhone คุณภาพส"Connect" = "เชื่อมต่อ";"Connected" = "เชื่อมต่อแล้ว";"LocalNetworkingDesc" = "การเล่นหลายคนในเครือข่ายท้องถิ่นต้องการอย่างน้อยหนึ่งอุปกรณ์เป็นโฮสต์ โฮสต์จะกระจายบริการในเครือข่ายท้องถิ่น และอุปกรณ์อื่น ๆ จะค้นหาโฮสต์ที่ใช้งานได้โดยอัตโนมัติ หากไม่พบโฮสต์ คุณสามารถป้อนที่อยู่ IP ของโฮสต์ได้ด้วยตนเอง เมื่อเชื่อมต่อแล้ว สามารถเริ่มเล่นเกมหลายคนได้";-"OnlineNetworkingDesc" = "การเล่นหลายคนออนไลน์จำเป็นต้องป้อนที่อยู่เซิร์ฟเวอร์ออนไลน์ที่ใช้งานได้";\ No newline at end of file+"OnlineNetworkingDesc" = "การเล่นหลายคนออนไลน์จำเป็นต้องป้อนที่อยู่เซิร์ฟเวอร์ออนไลน์ที่ใช้งานได้";+"SafeMode" = "โหมดปลอดภัย";+"SafeModeDesc" = "การเปิดเกมในโหมดปลอดภัยจะปิดการตั้งค่าพิเศษทั้งหมด (เช่น ความละเอียดที่กำหนดเอง การเลื่อนเร็ว และเชดเดอร์) และทำงานด้วยการตั้งค่าขั้นต่ำ ซึ่งช่วยแก้ปัญหาที่เกิดจากการตั้งค่าที่ไม่ถูกต้องซึ่งทำให้เกมเริ่มทำงานไม่ได้ โดยใช้กับการเปิดเกมครั้งนี้เท่านั้น";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.stringsindex 674e9f0d..1738b918 100644--- a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings@@ -868,4 +868,6 @@ Kurulumunuzu bir üst seviyeye taşımak istiyorsanız, PlayCase bu kaplama içi"Connect" = "Bağlan";"Connected" = "Bağlandı";"LocalNetworkingDesc" = "Yerel çok oyunculu oyun için en az bir cihazın ana bilgisayar olarak ayarlanması gerekir. Ana bilgisayar, hizmetini yerel ağda yayınlar ve diğer cihazlar otomatik olarak kullanılabilir ana bilgisayarları arar. Ana bilgisayar bulunamazsa, IP adresini elle girebilirsiniz. Bağlantı kurulduktan sonra çok oyunculu oyuna başlanabilir.";-"OnlineNetworkingDesc" = "Çevrimiçi çok oyunculu oyun için geçerli bir çevrimiçi sunucu adresi girmek gerekir.";\ No newline at end of file+"OnlineNetworkingDesc" = "Çevrimiçi çok oyunculu oyun için geçerli bir çevrimiçi sunucu adresi girmek gerekir.";+"SafeMode" = "Güvenli Mod";+"SafeModeDesc" = "Bir oyunu Güvenli Mod'da başlatmak, tüm ek ayarları (özel çözünürlük, hızlı ileri sarma ve gölgelendiriciler gibi) devre dışı bırakır ve asgari yapılandırmayla çalıştırır. Bu, oyunun başlamasını engelleyen yanlış ayarlardan kaynaklanan sorunları çözmenize yardımcı olabilir. Yalnızca bu başlatma için geçerlidir.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.stringsindex cc881d38..77b15327 100644--- a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings@@ -868,4 +868,6 @@ PlayCase спеціалізується на високоякісних чохл"Connect" = "Підключити";"Connected" = "Підключено";"LocalNetworkingDesc" = "Для локальної багатокористувацької гри потрібен принаймні один пристрій як хост. Хост транслює свій сервіс у локальній мережі, а інші пристрої автоматично шукатимуть доступні хости. Якщо хост не знайдено, ви можете вручну ввести його IP-адресу. Після підключення можна розпочинати гру.";-"OnlineNetworkingDesc" = "Для онлайн-багатокористувацької гри потрібна дійсна адреса онлайн-сервера.";\ No newline at end of file+"OnlineNetworkingDesc" = "Для онлайн-багатокористувацької гри потрібна дійсна адреса онлайн-сервера.";+"SafeMode" = "Безпечний Режим";+"SafeModeDesc" = "Запуск гри в безпечному режимі вимикає всі додаткові налаштування (наприклад, користувацьку роздільну здатність, швидку перемотку та шейдери) і запускає її з мінімальною конфігурацією. Це може допомогти вирішити проблеми, спричинені неправильними налаштуваннями, які заважають запуску гри. Застосовується лише до цього запуску.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.stringsindex 290eb516..20974dfc 100644--- a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings@@ -862,4 +862,6 @@ Nếu bạn muốn nâng cấp thiết lập của mình, PlayCase là sự kế"Connect" = "Kết nối";"Connected" = "Đã kết nối";"LocalNetworkingDesc" = "Chơi mạng cục bộ yêu cầu ít nhất một thiết bị đóng vai trò máy chủ. Máy chủ phát dịch vụ trong mạng cục bộ và các thiết bị khác sẽ tự động tìm kiếm máy chủ có sẵn. Nếu không tìm thấy máy chủ, bạn có thể nhập thủ công địa chỉ IP của máy chủ. Sau khi kết nối, có thể bắt đầu chơi game nhiều người.";-"OnlineNetworkingDesc" = "Chơi trực tuyến nhiều người yêu cầu nhập địa chỉ máy chủ trực tuyến hợp lệ.";\ No newline at end of file+"OnlineNetworkingDesc" = "Chơi trực tuyến nhiều người yêu cầu nhập địa chỉ máy chủ trực tuyến hợp lệ.";+"SafeMode" = "Chế độ An toàn";+"SafeModeDesc" = "Khởi chạy trò chơi ở Chế độ An toàn sẽ tắt tất cả cài đặt bổ sung (như độ phân giải tùy chỉnh, tua nhanh và bộ tô bóng) và chạy với cấu hình tối thiểu. Điều này có thể giúp giải quyết các sự cố do cài đặt không chính xác khiến trò chơi không khởi động được. Chỉ áp dụng cho lần khởi chạy này.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.stringsindex c7f01bf4..e4f63549 100644--- a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings@@ -875,3 +875,6 @@ PlayCase 專注於製造高品質 iPhone 手機殼,設計時已充分考慮配"Connected" = "已連接";"LocalNetworkingDesc" = "本地網絡連線需要至少一部裝置作為主機。主機會在區域網絡內廣播服務,其他裝置將自動搜尋可用主機。如未能搜尋到主機,可手動輸入主機的 IP 地址。連線成功後即可開始對戰遊戲。";"OnlineNetworkingDesc" = "線上連線需要填寫可用的線上伺服器地址。";++"SafeMode" = "安全模式";+"SafeModeDesc" = "以安全模式啟動遊戲將會停用所有額外設定(例如自訂解像度、快速向前及着色器等),並以最簡設定執行。此舉有助解決因設定錯誤導致遊戲無法啟動之問題。僅適用於本次啟動。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.stringsindex 8d7f9954..5a1f0db1 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings@@ -878,3 +878,6 @@"Connected" = "已连接";"LocalNetworkingDesc" = "本地网络联机需要至少一台设备作为主机。主机会在局域网内广播服务,其它设备将自动搜索可用主机。如未能搜索到主机,可手动输入主机的 IP 地址。连接成功后即可开始联机游戏。";"OnlineNetworkingDesc" = "互联网联机需要填写可用的在线服务器地址。";++"SafeMode" = "安全模式";+"SafeModeDesc" = "以安全模式启动游戏将停用所有额外配置(如自定义分辨率、快进、着色器等),并以最小化配置运行。这有助于解决因配置错误导致游戏无法启动的问题。仅本次启动有效。";diff --git a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.stringsindex 6c14dfe2..60a5733c 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings@@ -875,3 +875,6 @@ PlayCase 專注於高品質 iPhone 保護殼,設計時充分考慮了配件與"Connected" = "已連線";"LocalNetworkingDesc" = "區域網路連線需要至少一台設備作為主機。主機會在區域網路內廣播服務,其他設備將自動搜尋可用主機。若未能搜尋到主機,可手動輸入主機的 IP 位址。連線成功後即可開始連線遊戲。";"OnlineNetworkingDesc" = "網際網路連線需要填寫可用的線上伺服器位址。";++"SafeMode" = "安全模式";+"SafeModeDesc" = "以安全模式啟動遊戲將停用所有額外設定(例如自訂解析度、快進、著色器等),並以最小化設定執行。這有助於解決因設定錯誤導致遊戲無法啟動的問題。僅本次啟動有效。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swiftindex 3eec7d65..55caf8da 100644--- a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift+++ b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift@@ -910,6 +910,22 @@ class GameInfoDetailReusableView: UICollectionReusableView {guard let self = self, let game = self.game else { return }PlayViewController.startGame(game: game)}+ view.addLongPressGesture(handler: { [weak self] gesture in+ guard let self = self, let game = self.game else { return }+ switch gesture.state {+ case .began:+ UIDevice.generateHaptic()+ UIView.makeAlert(title: R.string.localizable.safeMode(),+ detail: R.string.localizable.safeModeDesc(),+ confirmTitle: R.string.localizable.confirmTitle(),+ confirmAction: {+ game.safeMode = true+ PlayViewController.startGame(game: game)+ })+ default:+ break+ }+ })// 无障碍配置view.isAccessibilityElement = true@@ -1183,13 +1199,13 @@ class GameInfoDetailReusableView: UICollectionReusableView {} else if game.gameType == .n64 {updateN64FunctionButton()} else if game.gameType == .vb || game.gameType == .pm || game.isJGenesisCore {- updateVBOrPMFunctionButton()+ updateNoCheatCodeFunctionButton()} else if game.gameType == .ps1 {updatePS1FunctionButton()} else if game.gameType == .dc {updateDCFunctionButton()- } else if game.gameType == .md {- updateMDFunctionButton()+ } else if game.isClownMDEmuCore {+ updateClownMDEmuFunctionButton()} else if game.gameType == .snes {updateSNESFunctionButton()} else if game.gameType == .ns {@@ -1608,7 +1624,7 @@ class GameInfoDetailReusableView: UICollectionReusableView {}}- private func updateVBOrPMFunctionButton() {+ private func updateNoCheatCodeFunctionButton() {cheatCodeButton.removeFromSuperview()retroButton.snp.makeConstraints { make in@@ -1718,11 +1734,11 @@ class GameInfoDetailReusableView: UICollectionReusableView {}}- private func updateMDFunctionButton() {+ private func updateClownMDEmuFunctionButton() {manualButton.removeFromSuperview()tvStandardMenuButton.removeFromSuperview()tVStandardButton.removeFromSuperview()- if let game, game.defaultCore == 0 {+ if let game, game.isClownMDEmuCore {cheatCodeButton.removeFromSuperview()if let lastView = functionButtonContainerView.subviews.last {//TV Standarddiff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swiftindex 452f7c99..f558ee17 100644--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift@@ -652,7 +652,6 @@ class GameListView: BaseView {ShareManager.shareFiles(games: games, shareFileType: .rom)case .importSave:if firstGame.gameType == .dc {-return}FilesImporter.shared.presentImportController(supportedTypes: UTType.gamesaveTypes, allowsMultipleSelection: false) { urls in@@ -668,10 +667,12 @@ class GameListView: BaseView {confirmAction: {try? FileManager.safeCopyItem(at: url, to: firstGame.gameSaveUrl, shouldReplace: true)UIView.makeToast(message: R.string.localizable.importGameSaveSuccessTitle())+ firstGame.processNDSGameSave()})} else {try? FileManager.safeCopyItem(at: url, to: firstGame.gameSaveUrl, shouldReplace: true)UIView.makeToast(message: R.string.localizable.importGameSaveSuccessTitle())+ firstGame.processNDSGameSave()}}}@@ -1193,8 +1194,8 @@ extension GameListView: UICollectionViewDelegate {if game.gameType.supportCores.count > 0 {var supportSwitchCore = true#if !SIDE_LOAD- if game.isClownMDEmuCore || game.isGearSystemCore {- //AppStore版本的md、ms、gg、sg-1000不支持核心切换+ if game.gameType == .md || game.gameType == ._32x || game.gameType == .arcade || game.isGearSystemCore {+ //AppStore版本的md、32x、、arcade、ms、gg、sg-1000不支持核心切换supportSwitchCore = false}#endifdiff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swiftindex ef1ea29c..4f407723 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift@@ -95,6 +95,8 @@ class Game: Object, ObjectUpdatable {var totalDiskCount: UInt = 0static let DsHomeMenuPrimaryKey = "Home Menu"static let DsiHomeMenuPrimaryKey = "Home Menu (DSi)"+ ///安全模式+ var safeMode = false///文件是否存在var isRomExtsts: Bool {@@ -242,6 +244,10 @@ class Game: Object, ObjectUpdatable {func isBIOSMissing(required: Bool = true) -> Bool {let requireBIOS: [BIOSItem]if gameType == .mcd {+ if defaultCore == 2 {+ //ClownMDEmu核心不需要bios+ return false+ }requireBIOS = Constants.BIOS.MegaCDBios.filter({ required ? $0.required : true })} else if gameType == .ss {if defaultCore == 0 {@@ -394,15 +400,9 @@ class Game: Object, ObjectUpdatable {}var isPicodriveCore: Bool {-#if SIDE_LOADif (gameType == ._32x || gameType == .mcd) && defaultCore == 0 {return true}-#else- if gameType == ._32x || gameType == .mcd {- return false- }-#endifif (gameType == .md || gameType == .sg1000 || gameType == .gg || gameType == .ms) && defaultCore == 1 {return true@@ -418,7 +418,7 @@ class Game: Object, ObjectUpdatable {}var isClownMDEmuCore: Bool {- if gameType == .md, defaultCore == 0 {+ if (gameType == .md && defaultCore == 0) || (gameType == .mcd && defaultCore == 2) {return true}return false@@ -657,10 +657,7 @@ class Game: Object, ObjectUpdatable {}var isLibretroType: Bool {- if gameType == ._3ds, defaultCore == 0 {- return false- }- if (gameType == ._32x || gameType == .mcd) && defaultCore == 1 {+ if isCitra3DS || isJGenesisCore {return false}return true@@ -675,12 +672,7 @@ class Game: Object, ObjectUpdatable {}var isJGenesisCore: Bool {-#if SIDE_LOADreturn ((gameType == ._32x || gameType == .mcd) && defaultCore == 1)-#else- return gameType == ._32x || gameType == .mcd-#endif-}var coreNameForMultiSupport: String {@@ -693,6 +685,30 @@ class Game: Object, ObjectUpdatable {var isAtari: Bool {return gameType == .a2600 || gameType == .a5200 || gameType == .a7800 || gameType == .jaguar || gameType == .lynx}++ func processNDSGameSave(runInBackground: Bool = true) {+ guard gameType == .ds, isSaveExtsts else { return }+ //处理DS的存档+ let coreIndex = defaultCore+ let saveUrl = gameSaveUrl++ func processSave() {+ //melonDS的srm存档和Desmume的dsv存档不互通,这里需要先进行转换+ if coreIndex == 0, NDSSaveConventer.checkSaveType(fileURL: saveUrl) == .dsv {+ NDSSaveConventer.dsvToSav(saveUrl: saveUrl)+ } else if coreIndex == 1, NDSSaveConventer.checkSaveType(fileURL: saveUrl) == .sav {+ NDSSaveConventer.savToDsv(saveUrl: saveUrl)+ }+ }++ if runInBackground {+ DispatchQueue.global().async {+ processSave()+ }+ } else {+ processSave()+ }+ }}diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swiftindex 9e042ae4..f16dac85 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift@@ -691,16 +691,16 @@ struct GameSetting: SettingCellItem {}if gameType == ._32x || gameType == .mcd {+ //JGenesis核心let notEnableForJGenesis = (type == .cheatCode || type == .filter || type == .retro || type == .swapDisk)-#if SIDE_LOADif defaultCore == 1 && notEnableForJGenesis {return false}-#else- if notEnableForJGenesis {- return false- }-#endif+ }++ if ((gameType == .mcd && defaultCore == 2) || (gameType == .md && defaultCore == 0)) && type == .cheatCode {+ //ClownMDEmu核心+ return false}if (gameType == .mcd || gameType == .ss || gameType == .fds) && type == .swapDisk {@@ -715,10 +715,6 @@ struct GameSetting: SettingCellItem {return true}- if gameType == .md , type == .cheatCode, defaultCore == 0 {- return false- }-if gameType == .arcade, type == .retro, defaultCore == 0 {return false}diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swiftindex 3b87e1ef..226a7f7b 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift@@ -716,11 +716,17 @@ class PlayViewController: GameViewController {//设置外设控制器updateExternalGameController()//如果需要加载默认配置- loadConfig()+ if manicGame.safeMode {+ loadMinimalConfig()+ } else {+ loadConfig()+ }//更新皮肤updateSkin()//更新TriggerPro- updateTriggerPro()+ if !manicGame.safeMode {+ updateTriggerPro()+ }//全屏模式的时候点击屏幕临时展示menu和flex按钮view.addTapGesture(handler: { [weak self] _ inguard let self, self.isFullScreen else { return }@@ -740,6 +746,12 @@ class PlayViewController: GameViewController {//更新声音updateAudio()functionButtonContainer.isHidden = false+ //游戏启动稳定后禁用安全模式+ if manicGame.safeMode {+ DispatchQueue.main.asyncAfter(delay: 5, execute: { [weak self] in+ self?.manicGame.safeMode = false+ })+ }}override func viewWillDisappear(_ animated: Bool) {@@ -1748,7 +1760,6 @@ extension PlayViewController {let scale = UInt32(item.resolution == .undefine ? 1 : item.resolution.rawValue)let option = "\(256*scale)x\(192*scale)"LibretroCore.sharedInstance().updateRunningCoreConfigs(["desmume_internal_resolution": option], flush: false)- DSEmulatorBridge.shared.touchScale = CGFloat(scale)*0.25}}let message: String@@ -2132,6 +2143,7 @@ extension PlayViewController {}private func updateCheatCodes(firstInit: Bool = false) {+ guard !manicGame.safeMode else { return }guard !isWFCConnect else { return }guard !isHardcoreMode else { return }if manicGame.gameType == ._3ds {@@ -2234,6 +2246,7 @@ extension PlayViewController {}private func updateFilter() {+ guard !manicGame.safeMode else { return }guard !manicGame.isCitra3DS, !manicGame.isJGenesisCore else { return }if manicGame.isLibretroType {@@ -2365,6 +2378,9 @@ extension PlayViewController {} else if manicGame.isClownMDEmuCore {let tvStandard = (manicGame.getExtraInt(key: ExtraKey.tvStandard.rawValue) ?? 0) == 0 ? "ntsc" : "pal"LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.ClownMDEmu.name, key: "clownmdemu_tv_standard", value: tvStandard, reload: false)+ if manicGame.gameType == .mcd {+ MCD.isJGenesisCore = false+ }} else if manicGame.gameType == .ss {LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Yabause.name, key: "yabause_addon_cartridge", value: "4M_ram", reload: false)LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetleSaturn.name, key: "beetle_saturn_cart", value: "Extended RAM (4MB)", reload: false)@@ -2410,7 +2426,6 @@ extension PlayViewController {//wfcLibretroCore.sharedInstance().setNDSWFCDNS( WFC.currentDNS());DSEmulatorBridge.shared.isDeSmuMECore = false- DSEmulatorBridge.shared.touchScale = 1} else {//DeSmuMElet languageOptions = Constants.Strings.DSConsoleLanguage@@ -2430,7 +2445,6 @@ extension PlayViewController {"desmume_mic_mode": microphone ? "physical" : "pattern"],reload: false)DSEmulatorBridge.shared.isDeSmuMECore = true- DSEmulatorBridge.shared.touchScale = CGFloat(scale)*0.25}} else if manicGame.gameType == .gba {if manicGame.defaultCore == 1 {@@ -2666,6 +2680,292 @@ extension PlayViewController {skinSwitchBindDatas["toggleControlls"] = manicGame.forceFullSkin}+ private func loadMinimalConfig() {+ if manicGame.gameType == .psp {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.PPSSPP.name, configs: [+ "ppsspp_cheats": "enabled",+ "ppsspp_language": "Automatic",+ "ppsspp_backend": "auto",+ "ppsspp_texture_replacement": "disabled",+ "ppsspp_enable_wlan": "disabled",+ "ppsspp_internal_resolution": "480x272"+ ], reload: false)+ } else if manicGame.gameType == .nes || manicGame.gameType == .fds {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Nestopia.name, configs: [+ "nestopia_aspect": "uncorrected",+ "nestopia_palette": "cxa2025as"+ ], reload: false)+ } else if manicGame.gameType == .snes {+ if manicGame.getExtraBool(key: ExtraKey.snesVRAM.rawValue) ?? false {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.bsnes.name, key: "bsnes_ppu_no_vram_blocking", value: "ON", reload: false)+ }+ } else if manicGame.isPicodriveCore {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.PicoDrive.name, key: "picodrive_input1", value: "6 button pad", reload: false)+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.PicoDrive.name, key: "picodrive_input2", value: "6 button pad", reload: false)+ } else if manicGame.isClownMDEmuCore {+ let tvStandard = (manicGame.getExtraInt(key: ExtraKey.tvStandard.rawValue) ?? 0) == 0 ? "ntsc" : "pal"+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.ClownMDEmu.name, key: "clownmdemu_tv_standard", value: tvStandard, reload: false)+ if manicGame.gameType == .mcd {+ MCD.isJGenesisCore = false+ }+ } else if manicGame.gameType == .ss {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Yabause.name, key: "yabause_addon_cartridge", value: "4M_ram", reload: false)+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetleSaturn.name, key: "beetle_saturn_cart", value: "Extended RAM (4MB)", reload: false)+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetleSaturn.name, key: "beetle_saturn_region", value: Constants.Strings.SaturnConsoleLanguage[manicGame.region], reload: false)+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetleSaturn.name, key: "beetle_saturn_horizontal_overscan", value: "20", reload: false)+ } else if manicGame.gameType == .ds {+ if manicGame.defaultCore == 0 {+ //systemType+ let systemType: String+ if manicGame.isDSHomeMenuGame {+ systemType = "ds"+ } else if manicGame.isDSiHomeMenuGame {+ systemType = "dsi"+ } else {+ systemType = "ds"+ }+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.melonDSDS.name,+ configs: ["melonds_firmware_language": "auto",+ "melonds_console_mode": systemType,+ "melonds_mic_input": "silence",+ "melonds_mic_input_active": "always",+ "melonds_number_of_screen_layouts": "1",+ "melonds_screen_layout1": "custom",+ "melonds_show_cursor": "disabled"],+ reload: false)+ //wfc+ LibretroCore.sharedInstance().setNDSWFCDNS( WFC.currentDNS());+ DSEmulatorBridge.shared.isDeSmuMECore = false+ } else {+ //DeSmuME+ let scale = UInt32(manicGame.resolution == .undefine ? 1 : manicGame.resolution.rawValue)+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.DeSmuME.name,+ configs: ["desmume_pointer_type": "touch",+ "desmume_internal_resolution": "256x192",+ "desmume_firmware_language": "Auto",+ "desmume_pointer_device_l": "emulated",+ "desmume_pointer_device_r": "emulated",+ "desmume_mic_mode": "physical"],+ reload: false)+ DSEmulatorBridge.shared.isDeSmuMECore = true+ }+ } else if manicGame.gameType == .gba {+ if manicGame.defaultCore == 1 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.VBAM.name, configs: [+ "vbam_usebios": "enabled",+ "vbam_gbHardware": "gba"+ ], reload: false)+ }+ } else if manicGame.gameType == .gbc {+ if manicGame.defaultCore == 0 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Gambatte.name, key: "gambatte_gbc_color_correction", value: "disabled", reload: false)+ } else if manicGame.defaultCore == 2 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.VBAM.name, configs: [+ "vbam_usebios": "enabled",+ "vbam_gbHardware": "gbc"+ ], reload: false)+ }+ } else if manicGame.gameType == .gb {+ if manicGame.defaultCore == 0 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Gambatte.name, configs: [+ "gambatte_gb_colorization": "disabled",+ "gambatte_gb_internal_palette": "GB - DMG"+ ], reload: false)+ } else if manicGame.defaultCore == 1 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.mGBA.name, configs: [+ "mgba_gb_colors": "Grayscale"], reload: false)+ } else if manicGame.defaultCore == 2 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.VBAM.name, configs: [+ "vbam_usebios": "enabled",+ "vbam_gbHardware": "gb",+ "vbam_palettes": "black and white"], reload: false)+ }+ } else if manicGame.gameType == .n64 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Mupen64PlushNext.name, configs:+ ["mupen64plus-43screensize": "640x480",+ "mupen64plus-rdp-plugin": "gliden64",+ "mupen64plus-pak1": "memory"],+ reload: false)+ } else if manicGame.gameType == .vb {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetleVB.name, key: "vb_color_mode", value: manicGame.pallete.paletteTitleForVB, reload: false)+ } else if manicGame.gameType == .pm {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.PokeMini.name, key: "pokemini_palette", value: "black & red", reload: false)+ } else if manicGame.gameType == .ps1 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetlePSXHW.name,+ configs: [+ //video+ "beetle_psx_hw_internal_resolution": "1x",+ "beetle_psx_hw_dither_mode": "disabled",+ "beetle_psx_hw_msaa": "8x",+ "beetle_psx_hw_mdec_yuv": "enabled",+ "beetle_psx_hw_aspect_ratio": "4:3",+ //memory card+ "beetle_psx_hw_enable_memcard1": "disabled",+ //pgxp+ "beetle_psx_hw_pgxp_mode": "memory only",+ "beetle_psx_hw_pgxp_nclip": "enabled",+ "beetle_psx_hw_pgxp_texture": "enabled",+ //hacks+ "beetle_psx_hw_gte_overclock": "enabled",+ "beetle_psx_hw_override_bios": manicGame.ps1OverrideBIOSConfig,+ //common+ "beetle_psx_hw_renderer": "hardware_vk",+ ],+ reload: false)+ } else if manicGame.gameType == .dc {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Flycast.name,+ configs: ["reicast_renderer": "Vulkan",+ "reicast_internal_resolution": "640x480",+ "reicast_language" : "Default"],+ reload: false)+ } else if manicGame.gameType == .arcade {+ if manicGame.defaultCore == 0 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.MAME.name, configs: ["mame_cheats_enable": "enabled"], reload: false)+ LibretroCore.sharedInstance().setLibretroLogMonitor(true)+ }+ } else if manicGame.gameType == ._3ds {+ ThreeDS.isAzaharCore = manicGame.isAzahar3DS+ if manicGame.isAzahar3DS {+ var enableJIT = false+ if LibretroCore.jitAvailable() {+ if let value = LibretroCore.sharedInstance().coreConfigValue(LibretroCore.Cores.Azahar.name, key: "citra_use_cpu_jit"), value == "disabled" {+ enableJIT = false+ } else {+ enableJIT = true+ }+ }+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Azahar.name,+ configs: [+ "citra_layout_option": "custom",+ "citra_touch_touchscreen": "enabled",+ "citra_input_type": "frontend",+ "citra_use_cpu_jit": enableJIT ? "enabled" : "disabled"+ ],+ reload: false)+ //Azahar核心每次启动都不进行加速,免得闪退+ Game.change { realm in+ self.manicGame.speed = .one+ }+ }+ } else if manicGame.gameType == ._32x {+ S2X.isJGenesisCore = manicGame.defaultCore == 1+ } else if manicGame.gameType == .mcd {+ MCD.isJGenesisCore = manicGame.defaultCore == 1+ } else if manicGame.gameType == .a2600 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Stella.name, configs: ["stella_crop_hoverscan": "enabled"], reload: false)+ self.update2600TvColor(isInit: true)+ self.update2600LeftDifficulty(isInit: true)+ self.update2600RightDifficulty(isInit: true)+ self.updateSkin()+ } else if manicGame.gameType == .a5200 {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Atari800.name, configs: ["atari800_system": "5200"], reload: false)+ } else if manicGame.gameType == .jaguar {+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.VirtualJaguar.name,+ configs: ["virtualjaguar_alt_inputs": "enabled",+ "virtualjaguar_bios": "enabled",+ "virtualjaguar_doom_res_hack": "enabled",+ "virtualjaguar_p1_retropad_analog_lu": "num_7",+ "virtualjaguar_p1_retropad_analog_ld": "num_8",+ "virtualjaguar_p1_retropad_analog_ll": "num_9",+ "virtualjaguar_p1_retropad_analog_lr": "star",+ "virtualjaguar_p1_retropad_analog_ru": "hash",+ "virtualjaguar_p2_retropad_analog_lu": "num_7",+ "irtualjaguar_p2_retropad_analog_ld": "num_8",+ "virtualjaguar_p2_retropad_analog_ll": "num_9",+ "virtualjaguar_p2_retropad_analog_lr": "star",+ "virtualjaguar_p2_retropad_analog_ru": "hash"+ ],+ reload: false)+ }++ //配置静音模式+ if manicGame.isLibretroType {+ LibretroCore.sharedInstance().setRespectSilentMode(Settings.defalut.respectSilentMode)+ } else if manicGame.isCitra3DS {+ //不需要配置+ } else {+ manicEmuCore?.audioManager.followSilentMode = Settings.defalut.respectSilentMode+ }+ if Settings.defalut.respectSilentMode {+ //监听静音键+ muteSwitchMonitor.startMonitoring { [weak self] isMute in+ guard let self else { return }+ DispatchQueue.main.async {+ self.updateAudio()+ }+ }+ }++ //Libretro配置+ if manicGame.isLibretroType {+ var enableLibretroLog = "false"+ var libretroLogLevel = "1"+#if DEBUG+ enableLibretroLog = "true"+ libretroLogLevel = "0"+#endif+ let enableMircophone = (manicGame.gameType == .ds && (manicGame.getExtraBool(key: ExtraKey.microphone.rawValue) ?? false)) || manicGame.isAzahar3DS+ LibretroCore.sharedInstance().updateLibretroConfigs([+ "fastforward_frameskip": "false",+ "log_verbosity": enableLibretroLog,+ "libretro_log_level": libretroLogLevel,+ "camera_allow": "true",+ "camera_driver": "avfoundation",+ "microphone_enable": "false",+ "microphone_driver": "coreaudio",+ "audio_latency": "200"+ ])+ if manicGame.isN64ParaLLEl {+ LibretroCore.sharedInstance().setReloadDelay(1)+ } else {+ LibretroCore.sharedInstance().setReloadDelay(0)+ }++ //RetroAchievements配置+ LibretroCore.sharedInstance().updateLibretroConfig("cheevos_enable", value: "false")++ //适配PKSM修改存档位置+ if manicGame.gameType == .gb {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.GBSavePath.libretroPath)+ } else if manicGame.gameType == .gbc {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.GBCSavePath.libretroPath)+ } else if manicGame.gameType == .gba {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.GBASavePath.libretroPath)+ } else if manicGame.gameType == .snes {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.bsnes.libretroPath)+ } else if manicGame.gameType == .ds {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.DSSavePath.libretroPath)+ } else {+ LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: Constants.Path.LibretroSavePath.libretroPath)+ }++ //配置Rumble+ LibretroCore.sharedInstance().setEnableRumble(false)++ //配置System的位置+ if manicGame.gameType == .dc {+ LibretroCore.sharedInstance().updateLibretroConfig("system_directory", value: Constants.Path.Flycast)+ } else {+ LibretroCore.sharedInstance().updateLibretroConfig("system_directory", value: Constants.Path.System.libretroPath)+ }+ }++ //配置控制器死区,+ ExternalGameControllerUtils.shared.deadZone = (Settings.defalut.getExtraDouble(key: ExtraKey.deadZone.rawValue) ?? 0).float+ if !manicGame.gameType.supportAnalogInput {+ //对于没有摇杆输入的平台,如果使用外置控制器的摇杆来映射按键的时候,会有很多不可预见的问题+ let settingDeadzone = Settings.defalut.getExtraDouble(key: ExtraKey.deadZone.rawValue) ?? 0+ if settingDeadzone < 0.4 {+ //强制设置0.4以上可以避免摇杆细微变动输入带来的错误+ ExternalGameControllerUtils.shared.deadZone = 0.4+ }+ }++ skinSwitchBindDatas["reverseScreens"] = manicGame.swapScreen+ skinSwitchBindDatas["volume"] = manicGame.volume+ skinSwitchBindDatas["toggleControlls"] = manicGame.forceFullSkin+ }+//更新皮肤private func updateSkin() {@@ -3190,7 +3490,7 @@ extension PlayViewController {}}} else if self.manicGame.gameType == .mcd {- DispatchQueue.main.asyncAfter(delay: 3) {+ DispatchQueue.main.asyncAfter(delay: 4) {let biosPaths = Constants.BIOS.MegaCDBios.map({ Constants.Path.System.appendingPathComponent($0.fileName) })self.jGenesisCore?.openSegaCdFile(filePath: self.manicGame.romUrl.path, americasBiosPath: biosPaths[1], japanBiosPath: biosPaths[2], europeBiosPath: biosPaths[0])DispatchQueue.main.asyncAfter(delay: 5) {@@ -3802,6 +4102,7 @@ extension PlayViewController {}private func updateFastforward(speed: GameSetting.FastForwardSpeed) {+ guard !manicGame.safeMode else { return }if manicGame.isLibretroType {switch speed {case .one, .two:@@ -3862,6 +4163,7 @@ extension PlayViewController {}private func updateBackground() {+ guard !manicGame.safeMode else { return }guard controllerView.controllerSkin?.identifier.lowercased() == manicGame.gameType.rawValue.lowercased() + ".flex" else {return}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swiftindex a6507b83..623d626a 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift@@ -108,7 +108,6 @@ struct DS: ManicEmuCoreProtocol {class DSEmulatorBridge : NSObject, EmulatorBase {static let shared = DSEmulatorBridge()- var touchScale: CGFloat = 1var isDeSmuMECore: Bool = falsevar gameURL: URL?@@ -154,10 +153,9 @@ class DSEmulatorBridge : NSObject, EmulatorBase {touchPointY = value}if let x = touchPointX, let y = touchPointY {- let touchPoint = CGPoint(x: touchInputFrame.minX + touchInputFrame.width*x*touchScale, y: touchInputFrame.minY + touchInputFrame.height*y*touchScale)-+ let touchPoint = CGPoint(x: touchInputFrame.minX + touchInputFrame.width*x, y: touchInputFrame.minY + touchInputFrame.height*y)#if DEBUG- Log.debug("\(String(describing: Self.self)) 触摸屏幕:\(touchPoint) Ratio:(\(x), \(y))")+ Log.debug("\(String(describing: Self.self)) \n触摸屏幕:(\(touchInputFrame.minX + touchInputFrame.width*x), \(touchInputFrame.minY + touchInputFrame.height*y) touchPoint:\(touchPoint) Ratio:(\(x), \(y))")#endifLibretroCore.sharedInstance().sendTouchEventX(touchPoint.x, y: touchPoint.y)touchPointX = nildiff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swiftindex 68aaa4fc..0f0ca000 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift@@ -334,15 +334,13 @@ extension GameType {} else if self == .gb || self == .gbc {return [LibretroCore.Cores.Gambatte.name, LibretroCore.Cores.mGBA.name, LibretroCore.Cores.VBAM.name]} else if self == .arcade {-#if SIDE_LOADreturn [LibretroCore.Cores.MAME.name, LibretroCore.Cores.FinalBurnNeo.name]-#endif} else if self == ._3ds {return [LibretroCore.Cores.Citra.name, LibretroCore.Cores.Azahar.name]- } else if self == ._32x || self == .mcd {-#if SIDE_LOAD+ } else if self == ._32x {return [LibretroCore.Cores.PicoDrive.name, LibretroCore.Cores.JGenesis.name]-#endif+ } else if self == .mcd {+ return [LibretroCore.Cores.PicoDrive.name, LibretroCore.Cores.JGenesis.name, LibretroCore.Cores.ClownMDEmu.name]} else if self == .ds {return [LibretroCore.Cores.melonDSDS.name, LibretroCore.Cores.DeSmuME.name]}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swiftindex 142b1634..f6c0e6f7 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift@@ -89,16 +89,26 @@ class CoreSelectionView: BaseView {let CoreSelectionView = CoreSelectionView(cores: gameType.supportCores, currentCoreIndex: currentCoreIndex)CoreSelectionView.didSelected = { [weak sheet] coreIndex in+#if !SIDE_LOAD+ //AppStore版本的MCD不支持PicoDrive核心的选择+ if game.gameType == .mcd, coreIndex == 0 {+ UIView.makeToast(message: R.string.localizable.gameTypeLicensingError(LibretroCore.Cores.PicoDrive.name))+ return+ }+#endifsheet?.pop {if game.defaultCore != coreIndex {let oldSaveUrl = game.gameSaveUrlGame.change { realm ingame.defaultCore = coreIndex}+ //处理SS的存档let newSaveUrl = game.gameSaveUrlif game.gameType != .ss, FileManager.default.fileExists(atPath: oldSaveUrl.path) {try? FileManager.safeMoveItem(at: oldSaveUrl, to: newSaveUrl)}+ //处理DS的存档+ game.processNDSGameSave()}completion?()}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swiftindex d496afcb..27093ab5 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift@@ -491,7 +491,7 @@ extension FilesImporter {}#if !SIDE_LOAD- if game.isJGenesisCore {+ if game.gameType == ._32x || gameType == .mcd {game.defaultCore = 1}#endifdiff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/NDSSaveConventer.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/NDSSaveConventer.swiftnew file mode 100644index 00000000..8a98184c--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/NDSSaveConventer.swift@@ -0,0 +1,125 @@+//+// NDSSaveConventer.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/10.+// Copyright © 2026 Manic EMU. All rights reserved.+//++import Foundation++struct NDSSaveConventer {+ enum SaveType {+ case unknown, sav, dsv+ }++ /// DeSmuME DSV footer的大小(122字节)+ private static let footerSize = 122++ /**++ footer = [124, 60, 45, 45, 83, 110, 105, 112, 32, 97, 98, 111, 118, 101, 32, 104,+ 101, 114, 101, 32, 116, 111, 32, 99, 114, 101, 97, 116, 101, 32, 97, 32,+ 114, 97, 119, 32, 115, 97, 118, 32, 98, 121, 32, 101, 120, 99, 108, 117,+ 100, 105, 110, 103, 32, 116, 104, 105, 115, 32, 68, 101, 83, 109, 117, 77,+ 69, 32, 115, 97, 118, 101, 100, 97, 116, 97, 32, 102, 111, 111, 116, 101,+ 114, 58, 1, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 1, 0,+ 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 124, 45, 68, 69, 83, 77,+ 85, 77, 69, 32, 83, 65, 86, 69, 45, 124]+ */++ /// DeSmuME DSV footer标记 "|--Snip above here to create a raw sav by excluding this DeSmuME savedata footer:..." + "|−DESMUME SAVE-|"+ private static let dsvFooter: [UInt8] = [+ 124, 60, 45, 45, 83, 110, 105, 112, 32, 97, 98, 111, 118, 101, 32, 104,+ 101, 114, 101, 32, 116, 111, 32, 99, 114, 101, 97, 116, 101, 32, 97, 32,+ 114, 97, 119, 32, 115, 97, 118, 32, 98, 121, 32, 101, 120, 99, 108, 117,+ 100, 105, 110, 103, 32, 116, 104, 105, 115, 32, 68, 101, 83, 109, 117, 77,+ 69, 32, 115, 97, 118, 101, 100, 97, 116, 97, 32, 102, 111, 111, 116, 101,+ 114, 58, 0, 32, 0, 0, 0, 32, 0, 0, 3, 0, 0, 0, 2, 0,+ 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 124, 45, 68, 69, 83, 77,+ 85, 77, 69, 32, 83, 65, 86, 69, 45, 124+ ]++ /// DSV footer的起始标记 "|<--Snip"(用于快速检测)+ private static let dsvFooterPrefix: [UInt8] = [124, 60, 45, 45, 83, 110, 105, 112]++ /// DSV footer的结束标记 "|-DESMUME SAVE-|"+ private static let dsvFooterSuffix: [UInt8] = [124, 45, 68, 69, 83, 77, 85, 77, 69, 32, 83, 65, 86, 69, 45, 124]++ /// sav文件转dsv文件+ @discardableResult+ static func savToDsv(saveUrl: URL) -> Bool {+ guard let saveData = try? Data(contentsOf: saveUrl) else {+ return false+ }++ // 创建输出数据:原始sav内容 + footer+ var outputData = saveData+ outputData.append(contentsOf: dsvFooter)++ do {+ try outputData.write(to: saveUrl)+ return true+ } catch {+ return false+ }+ }++ /// dsv文件转sav文件+ @discardableResult+ static func dsvToSav(saveUrl: URL) -> Bool {+ guard let saveData = try? Data(contentsOf: saveUrl) else {+ return false+ }++ // 确保文件足够大,可以包含footer+ guard saveData.count > footerSize else {+ return false+ }++ // 去掉末尾的footer+ let trimmedData = saveData.prefix(saveData.count - footerSize)++ do {+ try trimmedData.write(to: saveUrl)+ return true+ } catch {+ return false+ }+ }++ /// 检查存档文件类型+ /// - Parameter filePath: 文件路径+ /// - Returns: 存档类型(sav、dsv或unknown)+ static func checkSaveType(fileURL: URL) -> SaveType {+ guard let fileHandle = try? FileHandle(forReadingFrom: fileURL) else {+ return .unknown+ }++ defer {+ try? fileHandle.close()+ }++ // 获取文件大小+ guard let fileSize = try? fileHandle.seekToEnd(), fileSize > footerSize else {+ return .unknown+ }++ // 读取文件末尾的footer区域来检测+ let suffixLength = UInt64(dsvFooterSuffix.count)+ try? fileHandle.seek(toOffset: fileSize - suffixLength)++ guard let suffixData = try? fileHandle.read(upToCount: Int(suffixLength)) else {+ return .unknown+ }++ // 检查末尾是否包含 "|-DESMUME SAVE-|" 标记+ if suffixData.elementsEqual(dsvFooterSuffix) {+ return .dsv+ }++ // 不是dsv,假设是sav格式+ return .sav+ }+}+diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swiftindex 51360445..9045462a 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift@@ -92,7 +92,7 @@ class PlatformSelectionView: BaseView {Game.change { realm ingame.gameType = gameType#if !SIDE_LOAD- if game.isJGenesisCore {+ if game.gameType == ._32x || game.gameType == .mcd {game.defaultCore = 1}#endifdiff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/ResourcesKit.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/ResourcesKit.swiftindex 85926896..3c941e37 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Others/ResourcesKit.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/ResourcesKit.swift@@ -159,6 +159,22 @@ struct ResourcesKit {}}}+ //升级1.8.3将DeSmuME核心的dsv存档全转转换为srm+ if systemCoreVersionNumber < 183 {+ if let contents = try? FileManager.default.contentsOfDirectory(atPath: Constants.Path.DSSavePath) {+ for content in contents {+ if content.pathExtension.lowercased() == "dsv" {+ let contentUrl = URL(fileURLWithPath: Constants.Path.DSSavePath.appendingPathComponent(content))+ let newContentUrl = URL(fileURLWithPath: Constants.Path.DSSavePath.appendingPathComponent(content.deletingPathExtension + ".srm"))+ if FileManager.default.fileExists(atPath: newContentUrl.path) {+ continue+ } else {+ try? FileManager.safeMoveItem(at: contentUrl, to: newContentUrl)+ }+ }+ }+ }+ }}Log.info("资源解压成功!")diff --git a/ManicSupport/Resources/System.core b/ManicSupport/Resources/System.coreindex 87ddd305..1a3c8a22 100644--- a/ManicSupport/Resources/System.core+++ b/ManicSupport/Resources/System.core@@ -1,3 +1,3 @@version https://git-lfs.github.com/spec/v1-oid sha256:a2258e654a1184b1115dc9a4307601390012ed9bd12b06bf22e5dfaa267d947b-size 59302195+oid sha256:0ca365cfbcf4e0dec8404d24a45d26b453695eccd7bee94db36fe3ec8b81859b+size 59302197