Skip to content

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

Dreamcast support

Daiuno020ed36170f8
diff --git a/Cores/Libretro/ui/drivers/LibretroCore.m b/Cores/Libretro/ui/drivers/LibretroCore.m
index a056644e..01cc832e 100644
--- a/Cores/Libretro/ui/drivers/LibretroCore.m
+++ b/Cores/Libretro/ui/drivers/LibretroCore.m
@@ -417,20 +417,13 @@ static void cheevosDidTrigger(uint32_t type, void* object1, void* object2) {
} else if (type == RC_CLIENT_EVENT_ACHIEVEMENT_PROGRESS_INDICATOR_HIDE) {
//进度隐藏
- if (object1) {
- rc_client_achievement_t *a = (rc_client_achievement_t *)object1;
- CheevosAchievement *achievement = [LibretroCore convertAchievement:a];
- if (!achievement) {
- return;
- }
-
- achievement.isProgressAchievement = YES;
- achievement.show = NO;
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:RetroAchievementsNotification object:achievement];
- });
- }
+ CheevosAchievement *achievement = [CheevosAchievement new];
+ achievement.isProgressAchievement = YES;
+ achievement.show = NO;
+
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [[NSNotificationCenter defaultCenter] postNotificationName:RetroAchievementsNotification object:achievement];
+ });
} else if (type == RC_CLIENT_EVENT_ACHIEVEMENT_PROGRESS_INDICATOR_UPDATE) {
//进度更新
diff --git a/Cores/flycast-jitless-wince.libretro.framework/Info.plist b/Cores/flycast-jitless-wince.libretro.framework/Info.plist
new file mode 100644
index 00000000..2a39e815
--- /dev/null
+++ b/Cores/flycast-jitless-wince.libretro.framework/Info.plist
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d99d79144cfb542e75a752df3cc51779525992f79cd34441bf6b9bf154209f9
+size 708
diff --git a/Cores/flycast-jitless-wince.libretro.framework/_CodeSignature/CodeResources b/Cores/flycast-jitless-wince.libretro.framework/_CodeSignature/CodeResources
new file mode 100644
index 00000000..c93c4a67
--- /dev/null
+++ b/Cores/flycast-jitless-wince.libretro.framework/_CodeSignature/CodeResources
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d13074a77dcf612030f2bf4e56fb9b0ff507fd5aa9c73ad4e55d9585de300057
+size 1798
diff --git a/Cores/flycast-jitless-wince.libretro.framework/flycast-jitless-wince.libretro b/Cores/flycast-jitless-wince.libretro.framework/flycast-jitless-wince.libretro
new file mode 100755
index 00000000..8398337c
--- /dev/null
+++ b/Cores/flycast-jitless-wince.libretro.framework/flycast-jitless-wince.libretro
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:44972f99d50eb6c0c28a573e4d01a656cc9df5adc51526bc6f21bdd80906759d
+size 15475264
diff --git a/Cores/flycast-jitless.libretro.framework/Info.plist b/Cores/flycast-jitless.libretro.framework/Info.plist
new file mode 100644
index 00000000..3f97436e
--- /dev/null
+++ b/Cores/flycast-jitless.libretro.framework/Info.plist
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fbdab369e4fc9d3bcd9b8f175ee7fd5563a4c29edae020d5f611ce589a943bbd
+size 742
diff --git a/Cores/flycast-jitless.libretro.framework/_CodeSignature/CodeResources b/Cores/flycast-jitless.libretro.framework/_CodeSignature/CodeResources
new file mode 100644
index 00000000..d4cbce14
--- /dev/null
+++ b/Cores/flycast-jitless.libretro.framework/_CodeSignature/CodeResources
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6fc60235849c6c0f69ae5f907cf8c1eb5bdb03d2a91ebc896c5879c1226882f
+size 1798
diff --git a/Cores/flycast-jitless.libretro.framework/flycast-jitless.libretro b/Cores/flycast-jitless.libretro.framework/flycast-jitless.libretro
new file mode 100644
index 00000000..3b58bc94
--- /dev/null
+++ b/Cores/flycast-jitless.libretro.framework/flycast-jitless.libretro
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c06c33f760753519ae4d51b97104ab4b319009953209fe969854db4e89f98880
+size 14408160
diff --git a/Cores/flycast.libretro.framework/Info.plist b/Cores/flycast.libretro.framework/Info.plist
new file mode 100644
index 00000000..9b98ef5b
--- /dev/null
+++ b/Cores/flycast.libretro.framework/Info.plist
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e739889febf1ca5b51c15e0816aaeb199e034d7acd10e602312cb569195f9594
+size 718
diff --git a/Cores/flycast.libretro.framework/_CodeSignature/CodeResources b/Cores/flycast.libretro.framework/_CodeSignature/CodeResources
new file mode 100644
index 00000000..dd61de53
--- /dev/null
+++ b/Cores/flycast.libretro.framework/_CodeSignature/CodeResources
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57e437b2871417e40fc973c5f6b65371f7aa9b37c31c5d4acf7329ea43bdd2ac
+size 1798
diff --git a/Cores/flycast.libretro.framework/flycast.libretro b/Cores/flycast.libretro.framework/flycast.libretro
new file mode 100755
index 00000000..b88f0b34
--- /dev/null
+++ b/Cores/flycast.libretro.framework/flycast.libretro
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2c052e9f1a6fa904cb54f25d1d0762059fb732f3bc18fef74b3629993176c7ba
+size 17057584
diff --git a/ManicEmu/Libretro/LibretroConfig.xcconfig b/ManicEmu/Libretro/LibretroConfig.xcconfig
index 0885ec62..14830cb0 100644
--- a/ManicEmu/Libretro/LibretroConfig.xcconfig
+++ b/ManicEmu/Libretro/LibretroConfig.xcconfig
@@ -117,7 +117,7 @@ OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_ONLINE_UPDATER
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLES
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLES3
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DIOS
-OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DPACKAGE_VERSION=\"1.6.1\"
+OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DPACKAGE_VERSION=\"1.7.0\"
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DRARCH_MOBILE
OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE)
diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
index c49a489b..d395aacb 100644
--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
@@ -585,6 +585,8 @@
577006A22D44CB9C00762E8F /* SkinSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577006A12D44CB9B00762E8F /* SkinSettingsViewController.swift */; };
5771C1AA2E62077A0062EDE0 /* MobyGamesKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5771C1A72E6207650062EDE0 /* MobyGamesKit.swift */; };
5771C20A2E6569BE0062EDE0 /* LeaderboardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5771C2092E6569B60062EDE0 /* LeaderboardView.swift */; };
+ 5771C28B2E6986C00062EDE0 /* DC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5771C28A2E6986BE0062EDE0 /* DC.swift */; };
+ 5771C2922E699C930062EDE0 /* flycast.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5771C2902E699C880062EDE0 /* flycast.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
579076E32D8A990700ED90FB /* FunctionButtonContainerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579076E22D8A98FC00ED90FB /* FunctionButtonContainerView.swift */; };
579076F02D8AAC2900ED90FB /* TransparentHoleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579076EF2D8AAC2800ED90FB /* TransparentHoleView.swift */; };
57913AF52D5D89CF004D51AA /* TouchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57913AF42D5D89CC004D51AA /* TouchController.swift */; };
@@ -597,6 +599,8 @@
579213532D95314800E88819 /* BaseNavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579213522D95313800E88819 /* BaseNavigationController.swift */; };
579C114B2D1D0B1900CFD1F5 /* ApplicationSceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579C114A2D1D0B1900CFD1F5 /* ApplicationSceneDelegate.swift */; };
579C114D2D1D0E0A00CFD1F5 /* UIWindowExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 579C114C2D1D0E0A00CFD1F5 /* UIWindowExtensions.swift */; };
+ 57A480CC2E733B83001D4598 /* flycast-jitless.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57A480CB2E733B77001D4598 /* flycast-jitless.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 57A480CD2E733B83001D4598 /* flycast-jitless-wince.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57A480C42E733236001D4598 /* flycast-jitless-wince.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
57AD35EA2D7DEB9D0092FD03 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35E92D7DEB900092FD03 /* WebViewController.swift */; };
57AD35EC2D7DEF360092FD03 /* SheerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57AD35EB2D7DEF2E0092FD03 /* SheerExtensions.swift */; };
57B6EBDB2D758819002E619C /* GameSaveMatchGameView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57B6EBDA2D7587FE002E619C /* GameSaveMatchGameView.swift */; };
@@ -805,6 +809,9 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
+ 57A480CC2E733B83001D4598 /* flycast-jitless.libretro.framework in Embed Frameworks */,
+ 57A480CD2E733B83001D4598 /* flycast-jitless-wince.libretro.framework in Embed Frameworks */,
+ 5771C2922E699C930062EDE0 /* flycast.libretro.framework in Embed Frameworks */,
574ABEC52E60A3C90045F76E /* mgba.libretro.framework in Embed Frameworks */,
574ABEC42E60A3C30045F76E /* vbam.libretro.framework in Embed Frameworks */,
574ABE9E2E6024800045F76E /* gambatte.libretro.framework in Embed Frameworks */,
@@ -1523,6 +1530,8 @@
577006A12D44CB9B00762E8F /* SkinSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SkinSettingsViewController.swift; sourceTree = "<group>"; };
5771C1A72E6207650062EDE0 /* MobyGamesKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MobyGamesKit.swift; sourceTree = "<group>"; };
5771C2092E6569B60062EDE0 /* LeaderboardView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LeaderboardView.swift; sourceTree = "<group>"; };
+ 5771C28A2E6986BE0062EDE0 /* DC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DC.swift; sourceTree = "<group>"; };
+ 5771C2902E699C880062EDE0 /* flycast.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = flycast.libretro.framework; path = ../Cores/flycast.libretro.framework; sourceTree = SOURCE_ROOT; };
5780E7F42D9586FB005130D5 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/InfoPlist.strings; sourceTree = "<group>"; };
5780E7F52D9586FB005130D5 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = "<group>"; };
5780E7F72D958D6F005130D5 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -1606,6 +1615,8 @@
579AB9D52E6C1118000868CB /* Config-SideloadDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Config-SideloadDebug.xcconfig"; sourceTree = "<group>"; };
579C114A2D1D0B1900CFD1F5 /* ApplicationSceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApplicationSceneDelegate.swift; sourceTree = "<group>"; };
579C114C2D1D0E0A00CFD1F5 /* UIWindowExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIWindowExtensions.swift; sourceTree = "<group>"; };
+ 57A480C42E733236001D4598 /* flycast-jitless-wince.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "flycast-jitless-wince.libretro.framework"; path = "../Cores/flycast-jitless-wince.libretro.framework"; sourceTree = SOURCE_ROOT; };
+ 57A480CB2E733B77001D4598 /* flycast-jitless.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "flycast-jitless.libretro.framework"; path = "../Cores/flycast-jitless.libretro.framework"; sourceTree = SOURCE_ROOT; };
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>"; };
@@ -3754,6 +3765,9 @@
57BFBE702DD335FD00AABF98 /* Cores */ = {
isa = PBXGroup;
children = (
+ 5771C2902E699C880062EDE0 /* flycast.libretro.framework */,
+ 57A480CB2E733B77001D4598 /* flycast-jitless.libretro.framework */,
+ 57A480C42E733236001D4598 /* flycast-jitless-wince.libretro.framework */,
574ABE932E6020880045F76E /* gambatte.libretro.framework */,
574ABE942E6020880045F76E /* mgba.libretro.framework */,
574ABE952E6020880045F76E /* vbam.libretro.framework */,
@@ -3929,6 +3943,7 @@
57F0D8402DE2CD7500760F57 /* Cores */ = {
isa = PBXGroup;
children = (
+ 5771C28A2E6986BE0062EDE0 /* DC.swift */,
574ABEBB2E609FE30045F76E /* GBA.swift */,
576A7DA72E3B4B1200008E35 /* PS1.swift */,
5744C7172E375BF00088081A /* PM.swift */,
@@ -5003,6 +5018,7 @@
575A39D02DCD2B3E00B28FC2 /* UIImageViewExtensions.swift in Sources */,
57F6328B2D6EB84A007270E8 /* DownloadManager.swift in Sources */,
57DF849C2D630E5800AA0AAB /* CGSizeExtenstions.swift in Sources */,
+ 5771C28B2E6986C00062EDE0 /* DC.swift in Sources */,
57EC6AB02D80321B002920F0 /* CheatCodeBlankSlateView.swift in Sources */,
57F0D7F22DE1634E00760F57 /* LibretroPreViewFilter.swift in Sources */,
A58C3F4F248E44AF0099E068 /* UIDeviceExtensions.swift in Sources */,
diff --git a/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/ManicEmu.xcscheme b/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/ManicEmu.xcscheme
index afc6f72d..c03c91b3 100644
--- a/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/ManicEmu.xcscheme
+++ b/ManicEmu/ManicEmu.xcodeproj/xcshareddata/xcschemes/ManicEmu.xcscheme
@@ -82,7 +82,7 @@
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
- buildConfiguration = "Release"
+ buildConfiguration = "SideloadRelease"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/Contents.json
new file mode 100644
index 00000000..f6bd650d
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..d31b5746
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..76027d0f
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/brand/dc_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/Contents.json
new file mode 100644
index 00000000..ea392644
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..4c82f349
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..4b9fad6a
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/Contents.json
new file mode 100644
index 00000000..4f5fa3bb
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..9af67806
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..1f813d51
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Images/cover/dc_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig
index 36952fdb..e6caa144 100644
--- a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig
+++ b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig
@@ -11,5 +11,5 @@
// https://help.apple.com/xcode/#/dev745c5c974
APP_BUNDLE_IDENTIFIER = com.aoshuang.manicemu
-APP_BUILD_VERSION = 2
-APP_VERSION = 1.6.1
+APP_BUILD_VERSION = 0
+APP_VERSION = 1.7.0
diff --git a/ManicEmu/ManicEmu/Resources/Info.plist b/ManicEmu/ManicEmu/Resources/Info.plist
index 1aed0b98..bf38790b 100644
--- a/ManicEmu/ManicEmu/Resources/Info.plist
+++ b/ManicEmu/ManicEmu/Resources/Info.plist
@@ -236,6 +236,18 @@
<string>public.aoshuang.game.ps1</string>
</array>
</dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>DC Game</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>public.aoshuang.game.dc</string>
+ </array>
+ </dict>
<dict>
<key>CFBundleTypeName</key>
<string>Manic EMU Controller Skin</string>
@@ -930,6 +942,33 @@
</array>
</dict>
</dict>
+ <dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.data</string>
+ </array>
+ <key>UTTypeDescription</key>
+ <string>DC Game</string>
+ <key>UTTypeIconFiles</key>
+ <array>
+ <string>file_icon.png</string>
+ </array>
+ <key>UTTypeIdentifier</key>
+ <string>public.aoshuang.game.dc</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>cdi</string>
+ <string>gdi</string>
+ <string>chd</string>
+ <string>cue</string>
+ <string>bin</string>
+ <string>m3u</string>
+ <string>raw</string>
+ </array>
+ </dict>
+ </dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
diff --git a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings
index d3e8acd5..3206944e 100644
--- a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings
@@ -633,7 +633,7 @@
"ThirdPartGameInfoTips" = "معلومات اللعبة مقدمة من طرف طرف ثالث، استخدم حكمك. إذا فشلت Manic EMU في تطابق اللعبة، ابحث عنها يدويًا.";
"NotSupportHardcore" = "الوضع المتقدم معطّل لهذه اللعبة. ربما لم تُرخص Manic EMU من قبل RetroAchievements، أو أن اللعبة لا تدعم الوضع الصعب.";
"ChooseOne" = "اختر واحد";
-"FilesImporterErrorBadCue" = "فشل استيراد %@. ملف الملف .cue قد يحتوي على أخطاء أو لا يكون مُشفرًا بشكل صحيح. يرجى التحقق من التنسيق.";
+"FilesImporterErrorBadCue" = "فشل استيراد %@. ملف الملف قد يحتوي على أخطاء أو لا يكون مُشفرًا بشكل صحيح. يرجى التحقق من التنسيق.";
"Leaderboard" = "لوحة المتصدرين";
"LeaderboardStart" = "بداية اللوحة: ";
@@ -647,3 +647,5 @@
"AlwaysShowProgress" = "إظهار التقدم دائمًا";
"AlwaysShowProgressDesc" = "إبقاء تقدم الإنجازات مرئيًا على الشاشة.";
"Progress" = "التقدم";
+
+"DCGameNoSupportGameSave" = "Dreamcast لا يدعم استيراد/تصدير الحفظ. استخدم VMU Explorer لتحرير ملفات الذاكرة الموجودة في مجلد Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings
index c48c8093..508c2aa8 100644
--- a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Prem el botó del control...";
"ThirdPartGameInfoTips" = "La informació del joc la proporcionen tercers. Utilitza el teu judici i segueix les normes de la plataforma. Si Manic EMU no troba un joc, fes servir la cerca per trobar-lo manualment.";
"NotSupportHardcore" = "El mode Hardcore està desactivat per a aquest joc. Potser Manic EMU no està autoritzat per RetroAchievements, o el joc simplement no suporta el mode hardcore.";
"ChooseOne" = "Tria'n un";
-"FilesImporterErrorBadCue" = "Error en importar %@. El fitxer .cue pot ser invàlid o no codificat en UTF-8. Comprova el format.";
+"FilesImporterErrorBadCue" = "Error en importar %@. El fitxer pot ser invàlid o no codificat en UTF-8. Comprova el format.";
"Leaderboard" = "Taula de classificació";
"LeaderboardStart" = "Inici taula classificació: ";
@@ -672,3 +672,5 @@ Prem el botó del control...";
"AlwaysShowProgress" = "Mostra sempre el progrés";
"AlwaysShowProgressDesc" = "Mantingues el progrés dels assoliments visible a la pantalla.";
"Progress" = "Progrés";
+
+"DCGameNoSupportGameSave" = "Dreamcast no admet importar/exportar partides. Utilitza VMU Explorer per editar fitxers de memòria a la carpeta Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings
index 70e1217e..eca245cd 100644
--- a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings
@@ -654,7 +654,7 @@ Stiskněte tlačítko ovladače...";
"ThirdPartGameInfoTips" = "Informace o hře provided by third parties. Použijte vlastní úsudek. Pokud Manic EMU nenajde hru, použijte manuální vyhledávání.";
"NotSupportHardcore" = "Hardcore režim je pro tuto hru zakázán. Možná Manic EMU není autorizován RetroAchievements, nebo hra tento režim nepodporuje.";
"ChooseOne" = "Vyberte jednu";
-"FilesImporterErrorBadCue" = "Import %@ selhal. Soubor .cue may be invalid or not UTF-8 encoded. Zkontrolujte formát.";
+"FilesImporterErrorBadCue" = "Import %@ selhal. Soubor may be invalid or not UTF-8 encoded. Zkontrolujte formát.";
"Leaderboard" = "Žebříček";
"LeaderboardStart" = "Začátek žebříčku: ";
@@ -668,3 +668,5 @@ Stiskněte tlačítko ovladače...";
"AlwaysShowProgress" = "Vždy Zobrazit Pokrok";
"AlwaysShowProgressDesc" = "Udržujte pokrok úspěchů viditelný na obrazovce.";
"Progress" = "Pokrok";
+
+"DCGameNoSupportGameSave" = "Dreamcast nepodporuje import/export uložených her. K úpravě paměťových souborů ve složce Manic EMU-Flycast-dc použijte VMU Explorer.";
diff --git a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings
index c6419106..195bd941 100644
--- a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings
@@ -656,7 +656,7 @@ Tryk på controller-knappen...";
"ThirdPartGameInfoTips" = "Spilinfo leveres af tredjeparter. Brug din dømmekraft. Hvis Manic EMU ikke finder et spil, brug manuel søgning.";
"NotSupportHardcore" = "Hardcore-tilstand er deaktiveret for dette spil. Måske er Manic EMU ikke autoriseret af RetroAchievements, eller spillet understøtter det bare ikke.";
"ChooseOne" = "Vælg en";
-"FilesImporterErrorBadCue" = "Import af %@ mislykkedes. .cue-filen may be invalid or not UTF-8 encoded. Tjek formatet.";
+"FilesImporterErrorBadCue" = "Import af %@ mislykkedes. filen may be invalid or not UTF-8 encoded. Tjek formatet.";
"Leaderboard" = "Pointtavle";
"LeaderboardStart" = "Pointtavle start: ";
@@ -670,3 +670,5 @@ Tryk på controller-knappen...";
"AlwaysShowProgress" = "Altid Vis Fremskridt";
"AlwaysShowProgressDesc" = "Hold præstationsfremskridt synligt på skærmen.";
"Progress" = "Fremskridt";
+
+"DCGameNoSupportGameSave" = "Dreamcast understøtter ikke import/export af gemte spil. Brug VMU Explorer til at redigere hukommelsesfiler i mappen Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings
index 63a53ad3..f05020bf 100644
--- a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings
@@ -660,7 +660,7 @@ Drücke die Controller-Taste...";
"ThirdPartGameInfoTips" = "Spielinfos von Drittanbietern. Benutze dein Urteilsvermögen. Wenn Manic EMU ein Spiel nicht findet, suche manuell.";
"NotSupportHardcore" = "Hardcore-Modus für dieses Spiel deaktiviert. Vielleicht ist Manic EMU nicht von RetroAchievements autorisiert oder das Spiel unterstützt ihn nicht.";
"ChooseOne" = "Eines auswählen";
-"FilesImporterErrorBadCue" = "Import von %@ fehlgeschlagen. Die .cue-Datei ist ungültig oder nicht UTF-8 kodiert. Bitte Format prüfen.";
+"FilesImporterErrorBadCue" = "Import von %@ fehlgeschlagen. Die Datei ist ungültig oder nicht UTF-8 kodiert. Bitte Format prüfen.";
"Leaderboard" = "Bestenliste";
"LeaderboardStart" = "Bestenliste Start: ";
@@ -674,3 +674,5 @@ Drücke die Controller-Taste...";
"AlwaysShowProgress" = "Fortschritt Immer Anzeigen";
"AlwaysShowProgressDesc" = "Halte den Errungenschaftsfortschritt auf dem Bildschirm sichtbar.";
"Progress" = "Fortschritt";
+
+"DCGameNoSupportGameSave" = "Dreamcast unterstützt kein Importieren/Exportieren von Speicherständen. Verwenden Sie VMU Explorer, um Speicherdateien im Ordner Manic EMU-Flycast-dc zu bearbeiten.";
diff --git a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings
index a414fff1..99c749a8 100644
--- a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings
@@ -659,7 +659,7 @@
"ThirdPartGameInfoTips" = "Οι πληροφορίες παιχνιδιών παρέχονται από τρίτους. Χρησιμοποιήστε την κρίση σας και ακολουθήστε τους κανόνες πλατφόρμας. Αν το Manic EMU δεν αντιστοιχίσει ένα παιχνίδι, χρησιμοποιήστε την αναζήτηση για να το βρείτε χειροκίνητα.";
"NotSupportHardcore" = "Η λειτουργία Hardcore είναι απενεργοποιημένη για αυτό το παιχνίδι. Ίσως το Manic EMU δεν είναι εξουσιοδοτημένο από τα RetroAchievements, ή το παιχνίδι απλά δεν υποστηρίζει hardcore mode.";
"ChooseOne" = "Επιλέξτε Ένα";
-"FilesImporterErrorBadCue" = "Αποτυχία εισαγωγής %@. Το αρχείο .cue μπορεί να είναι μη έγκυρο ή δεν είναι κωδικοποιημένο σε UTF-8. Ελέγξτε τη μορφή.";
+"FilesImporterErrorBadCue" = "Αποτυχία εισαγωγής %@. Το αρχείο μπορεί να είναι μη έγκυρο ή δεν είναι κωδικοποιημένο σε UTF-8. Ελέγξτε τη μορφή.";
"Leaderboard" = "Πίνακας Βαθμολογίας";
"LeaderboardStart" = "Έναρξη Πίνακα Βαθμολογίας: ";
@@ -673,3 +673,5 @@
"AlwaysShowProgress" = "Πάντα Εμφάνιση Προόδου";
"AlwaysShowProgressDesc" = "Διατήρηση προόδου επιτευγμάτων ορατής στην οθόνη.";
"Progress" = "Πρόοδος";
+
+"DCGameNoSupportGameSave" = "Το Dreamcast δεν υποστηρίζει εισαγωγή/εξαγωγή αποθηκεύσεων. Χρησιμοποιήστε το VMU Explorer για επεξεργασία αρχείων μνήμης στον φάκελο Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings
index 7e2bd6ff..86899604 100644
--- a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings
@@ -669,7 +669,7 @@ Press the controller button to complete mapping...";
"ThirdPartGameInfoTips" = "Game info is provided by third parties. Use your judgment and follow platform rules. If Manic EMU fails to match a game, use search to find it manually.";
"NotSupportHardcore" = "Hardcore Mode is disabled for this game. Maybe Manic EMU isn't authorized by RetroAchievements, or the game just doesn't support hardcore mode.";
"ChooseOne" = "Choose One";
-"FilesImporterErrorBadCue" = "Failed to import \"%@\". The .cue file may be invalid or not UTF-8 encoded. Please check the format.";
+"FilesImporterErrorBadCue" = "Failed to import \"%@\". The file may be invalid or not UTF-8 encoded. Please check the format.";
"Leaderboard" = "Leaderboard";
"LeaderboardStart" = "Leaderboard Start: ";
"TurnOffHardcoreAlert" = "Switching to Softcore is permanent. To return to Hardcore, you must reset the game. Continue?";
@@ -684,3 +684,4 @@ Press the controller button to complete mapping...";
"AlwaysShowProgressDesc" = "Keep achievement progress visible on screen.";
"Progress" = "Progress";
+"DCGameNoSupportGameSave" = "Dreamcast doesn’t support save import/export. Use VMU Explorer to edit memory files located in the Manic EMU-Flycast-dc folder.";
diff --git a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings
index 4842c70d..ba51441b 100644
--- a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Presiona el botón del control para continuar...";
"ThirdPartGameInfoTips" = "La info del juego es de terceros. Usa tu criterio. Si Manic EMU no encuentra un juego, búscalo manualmente.";
"NotSupportHardcore" = "El Modo Hardcore está desactivado para este juego. Quizá Manic EMU no está autorizado o el juego no lo soporta.";
"ChooseOne" = "Elige uno";
-"FilesImporterErrorBadCue" = "Error al importar %@. El archivo .cue puede ser inválido o no UTF-8. Verifica el formato.";
+"FilesImporterErrorBadCue" = "Error al importar %@. El archivo puede ser inválido o no UTF-8. Verifica el formato.";
"Leaderboard" = "Tabla de posiciones";
"LeaderboardStart" = "Inicio tabla: ";
@@ -672,3 +672,5 @@ Presiona el botón del control para continuar...";
"AlwaysShowProgress" = "Mostrar Progreso Siempre";
"AlwaysShowProgressDesc" = "Mantener el progreso de logros visible en pantalla.";
"Progress" = "Progreso";
+
+"DCGameNoSupportGameSave" = "Dreamcast no soporta importar/exportar partidas. Usa VMU Explorer para editar archivos de memoria en la carpeta Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings
index 956b6879..65040035 100644
--- a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings
@@ -633,7 +633,7 @@ Presiona el botón del control para completar...";
"ThirdPartGameInfoTips" = "La info del juego la proporcionan terceros. Usa tu criterio y sigue las normas. Si Manic EMU no encuentra un juego, usa la búsqueda manual.";
"NotSupportHardcore" = "El Modo Hardcore está desactivado para este juego. Quizá Manic EMU no está autorizado por RetroAchievements, o el juego no lo soporta.";
"ChooseOne" = "Elige uno";
-"FilesImporterErrorBadCue" = "Error al importar %@. El archivo .cue puede ser inválido o no estar codificado en UTF-8. Comprueba el formato.";
+"FilesImporterErrorBadCue" = "Error al importar %@. El archivo puede ser inválido o no estar codificado en UTF-8. Comprueba el formato.";
"Leaderboard" = "Clasificación";
"LeaderboardStart" = "Inicio clasificación: ";
@@ -647,3 +647,5 @@ Presiona el botón del control para completar...";
"AlwaysShowProgress" = "Mostrar Siempre Progreso";
"AlwaysShowProgressDesc" = "Mantener visible el progreso de logros en pantalla.";
"Progress" = "Progreso";
+
+"DCGameNoSupportGameSave" = "Dreamcast no admite importación/exportación de partidas. Use VMU Explorer para editar archivos de memoria en la carpeta Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings
index a222ca54..1d09c406 100644
--- a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings
@@ -659,7 +659,7 @@ Paina ohjaimen nappia...";
"ThirdPartGameInfoTips" = "Pelin tiedot tarjoaa kolmannet osapuolet. Käytä harkintaa ja noudata alustan sääntöjä. Jos Manic EMU ei löydä peliä, käytä hakua löytääksesi sen manuaalisesti.";
"NotSupportHardcore" = "Hardcore-tila on poissa käytöstä tässä pelissä. Ehkä Manic EMU ei ole RetroAchievementsin valtuuttama, tai peli ei vain tue hardcore-tilaa.";
"ChooseOne" = "Valitse yksi";
-"FilesImporterErrorBadCue" = "%@ tuonti epäonnistui. .cue-tiedosto voi olla virheellinen tai ei UTF-8-koodattu. Tarkista muoto.";
+"FilesImporterErrorBadCue" = "%@ tuonti epäonnistui. tiedosto voi olla virheellinen tai ei UTF-8-koodattu. Tarkista muoto.";
"Leaderboard" = "Tulostaulukko";
"LeaderboardStart" = "Tulostaulukon alku: ";
@@ -673,3 +673,5 @@ Paina ohjaimen nappia...";
"AlwaysShowProgress" = "Näytä Aina Edistyminen";
"AlwaysShowProgressDesc" = "Pidä saavutusten edistyminen näkyvillä näytöllä.";
"Progress" = "Edistyminen";
+
+"DCGameNoSupportGameSave" = "Dreamcast ei tue tallennusten tuontia/vientiä. Muokkaa muistitiedostoja Manic EMU-Flycast-dc -kansiossa käyttämällä VMU Explorer -ohjelmaa.";
diff --git a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings
index 82820d62..3bb3a5e3 100644
--- a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings
@@ -660,7 +660,7 @@ Appuyez sur le bouton du contrôleur...";
"ThirdPartGameInfoTips" = "Les infos de jeu sont fournies par des tiers. Utilisez votre jugement. Si Manic EMU ne trouve pas un jeu, utilisez la recherche manuelle.";
"NotSupportHardcore" = "Le Mode Hardcore est désactivé pour ce jeu. Manic EMU n'est peut-être pas autorisé par RetroAchievements, ou le jeu ne le supporte pas.";
"ChooseOne" = "Choisir";
-"FilesImporterErrorBadCue" = "Échec de l'importation de %@. Le fichier .cue est peut-être invalide ou pas encodé en UTF-8. Vérifiez le format.";
+"FilesImporterErrorBadCue" = "Échec de l'importation de %@. Le fichier est peut-être invalide ou pas encodé en UTF-8. Vérifiez le format.";
"Leaderboard" = "Classement";
"LeaderboardStart" = "Début classement: ";
@@ -674,3 +674,5 @@ Appuyez sur le bouton du contrôleur...";
"AlwaysShowProgress" = "Toujours Afficher Progression";
"AlwaysShowProgressDesc" = "Garder la progression des succès visible à l'écran.";
"Progress" = "Progression";
+
+"DCGameNoSupportGameSave" = "Dreamcast ne supporte pas l'importation/exportation de sauvegardes. Utilisez VMU Explorer pour modifier les fichiers mémoire dans le dossier Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings
index 2e13e593..5718d118 100644
--- a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings
@@ -660,7 +660,7 @@ Appuyez sur le bouton du contrôleur...";
"ThirdPartGameInfoTips" = "Les infos de jeu sont fournies par des tiers. Utilisez votre jugement et suivez les règles. Si Manic EMU ne trouve pas un jeu, utilisez la recherche manuelle.";
"NotSupportHardcore" = "Le Mode Hardcore est désactivé pour ce jeu. Manic EMU n'est peut-être pas autorisé par RetroAchievements, ou le jeu ne le supporte pas.";
"ChooseOne" = "Choisir";
-"FilesImporterErrorBadCue" = "Échec de l'importation de %@. Le fichier .cue est peut-être invalide ou pas encodé en UTF-8. Vérifiez le format.";
+"FilesImporterErrorBadCue" = "Échec de l'importation de %@. Le fichier est peut-être invalide ou pas encodé en UTF-8. Vérifiez le format.";
"Leaderboard" = "Classement";
"LeaderboardStart" = "Début classement: ";
@@ -674,3 +674,5 @@ Appuyez sur le bouton du contrôleur...";
"AlwaysShowProgress" = "Toujours Afficher la Progression";
"AlwaysShowProgressDesc" = "Maintenir la progression des succès visible à l'écran.";
"Progress" = "Progression";
+
+"DCGameNoSupportGameSave" = "Dreamcast ne prend pas en charge l'import/export de sauvegardes. Utilisez VMU Explorer pour modifier les fichiers mémoire dans le dossier Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings
index 7d292739..87d96969 100644
--- a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings
@@ -659,7 +659,7 @@
"ThirdPartGameInfoTips" = "מידע על המשחק מסופק על ידי צדדים שלישיים. השתמש בשיקול דעתך ופעל לפי כללי הפלטפורמה. אם Manic EMU לא מתאים למשחק, השתמש בחיפוש כדי למצוא אותו ידנית.";
"NotSupportHardcore" = "מצב Hardcore מנוטרל למשחק זה. אולי Manic EMU לא מאושר על ידי RetroAchievements, או שהמשחק פשוט לא תומך במצב hardcore.";
"ChooseOne" = "בחר אחד";
-"FilesImporterErrorBadCue" = "ייבוא %@ נכשל. קובץ .cue עשוי להיות לא חוקי או לא מקודד ב-UTF-8. בדוק את הפורמט.";
+"FilesImporterErrorBadCue" = "ייבוא %@ נכשל. קובץ עשוי להיות לא חוקי או לא מקודד ב-UTF-8. בדוק את הפורמט.";
"Leaderboard" = "לוח תוצאות";
"LeaderboardStart" = "תחילת לוח תוצאות: ";
@@ -673,3 +673,5 @@
"AlwaysShowProgress" = "הצג תמיד התקדמות";
"AlwaysShowProgressDesc" = "השאר את התקדмость ההישגים גלויה על המסך.";
"Progress" = "התקדמות";
+
+"DCGameNoSupportGameSave" = "Dreamcast אינו תומך ביבוא/ייצוא שמירות. השתמש ב-VMU Explorer כדי לערוך קבצי זיכרון בתיקייה Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings
index f3d7e5d1..33cf0069 100644
--- a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings
@@ -660,7 +660,7 @@
"ThirdPartGameInfoTips" = "गेम जानकारी third parties द्वारा प्रदान की जाती है। अपने judgment का use करें। यदि Manic EMU कोई गेम match नहीं कर पाता, तो manual search का use करें।";
"NotSupportHardcore" = "इस गेम के लिए हार्डकोर मोड अक्षम है। शायद Manic EMU, RetroAchievements द्वारा अधिकृत नहीं है, या गेम हार्डकोर मोड support नहीं करता।";
"ChooseOne" = "एक चुनें";
-"FilesImporterErrorBadCue" = "%@ आयात करने में विफल। .cue फ़ाइल invalid या UTF-8 encoded नहीं हो सकती। कृपया format जांचें।";
+"FilesImporterErrorBadCue" = "%@ आयात करने में विफल। फ़ाइल invalid या UTF-8 encoded नहीं हो सकती। कृपया format जांचें।";
"Leaderboard" = "लीडरबोर्ड";
"LeaderboardStart" = "लीडरबोर्ड Start: ";
@@ -674,3 +674,5 @@
"AlwaysShowProgress" = "हमेशा प्रगति दिखाएं";
"AlwaysShowProgressDesc" = "स्क्रीन पर उपलब्धि प्रगति दिखाई रखें।";
"Progress" = "प्रगति";
+
+"DCGameNoSupportGameSave" = "Dreamcast सेव आयात/निर्यात का समर्थन नहीं करता है। Manic EMU-Flycast-dc फ़ोल्डर में स्थित मेमोरी फ़ाइलों को संपादित करने के लिए VMU Explorer का उपयोग करें।";
diff --git a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings
index f34b6358..37d0e9f6 100644
--- a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings
@@ -656,7 +656,7 @@ Ako naiđete na nestabilnost u 3DS-u, pogledajte «Često Postavljana Pitanja»
"ThirdPartGameInfoTips" = "Informacije o igri pružaju treće strane. Koristi vlastitu prosudbu i slijedi pravila platforme. Ako Manic EMU ne pronađe igru, upotrijebi pretraživanje za ručno pronalaženje.";
"NotSupportHardcore" = "Hardcore način je onemogućen za ovu igru. Možda Manic EMU nije ovlašten od strane RetroAchievements, ili igra jednostavno ne podržava hardcore način.";
"ChooseOne" = "Odaberi jedan";
-"FilesImporterErrorBadCue" = "Uvoz %@ nije uspio. .cue datoteka može biti nevažeća ili nije UTF-8 kodirana. Provjeri format.";
+"FilesImporterErrorBadCue" = "Uvoz %@ nije uspio. datoteka može biti nevažeća ili nije UTF-8 kodirana. Provjeri format.";
"Leaderboard" = "Ljestvica";
"LeaderboardStart" = "Početak ljestvice: ";
@@ -670,3 +670,5 @@ Ako naiđete na nestabilnost u 3DS-u, pogledajte «Često Postavljana Pitanja»
"AlwaysShowProgress" = "Uvijek Prikaži Napredak";
"AlwaysShowProgressDesc" = "Održavaj napredak postignuća vidljivim na zaslonu.";
"Progress" = "Napredak";
+
+"DCGameNoSupportGameSave" = "Dreamcast ne podržava uvoz/izvoz spremišta. Upotrijebite VMU Explorer za uređivanje memorijskih datoteka u mapi Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings
index 03465333..6f05665f 100644
--- a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Nyomja meg a kontroller gombját...";
"ThirdPartGameInfoTips" = "A játék információkat harmadik felek szolgáltatják. Használd a saját ítélőképességed és kövessed a platform szabályait. Ha a Manic EMU nem találja a játékot, használj keresést a manuális megtaláláshoz.";
"NotSupportHardcore" = "A Hardcore mód ki van kapcsolva ehhez a játékhoz. Lehet, hogy a Manic EMU nincs autorizálva a RetroAchievements által, vagy a játék egyszerűen nem támogatja a hardcore módot.";
"ChooseOne" = "Válassz egyet";
-"FilesImporterErrorBadCue" = "%@ importálása sikertelen. A .cue fájl érvénytelen vagy nem UTF-8 kódolású. Ellenőrizd a formátumot.";
+"FilesImporterErrorBadCue" = "%@ importálása sikertelen. A fájl érvénytelen vagy nem UTF-8 kódolású. Ellenőrizd a formátumot.";
"Leaderboard" = "Ranglista";
"LeaderboardStart" = "Ranglista kezdete: ";
@@ -672,3 +672,5 @@ Nyomja meg a kontroller gombját...";
"AlwaysShowProgress" = "Folyamatosan Mutasd az Előrehaladást";
"AlwaysShowProgressDesc" = "Tartsd az achievementek előrehaladását láthatóvá a képernyőn.";
"Progress" = "Előrehaladás";
+
+"DCGameNoSupportGameSave" = "A Dreamcast nem támogatja a mentések importálását/exportálását. Használd a VMU Explorer-t a Manic EMU-Flycast-dc mappában található memóriafájlok szerkesztéséhez.";
diff --git a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings
index efec5be4..e74e9672 100644
--- a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings
@@ -651,7 +651,7 @@ Tekan tombol kontroler...";
"ThirdPartGameInfoTips" = "Info game provided by third parties. Gunakan pertimbangan Anda. Jika Manic EMU tidak menemukan game, gunakan pencarian manual.";
"NotSupportHardcore" = "Mode Hardcore dinonaktifkan untuk game ini. Mungkin Manic EMU tidak diizinkan oleh RetroAchievements, atau game tidak mendukung mode hardcore.";
"ChooseOne" = "Pilih satu";
-"FilesImporterErrorBadCue" = "Gagal mengimpor %@. File .cue may be invalid or not UTF-8 encoded. Silakan periksa formatnya.";
+"FilesImporterErrorBadCue" = "Gagal mengimpor %@. File may be invalid or not UTF-8 encoded. Silakan periksa formatnya.";
"Leaderboard" = "Papan peringkat";
"LeaderboardStart" = "Mulai papan peringkat: ";
@@ -665,3 +665,5 @@ Tekan tombol kontroler...";
"AlwaysShowProgress" = "Selalu Tampilkan Progress";
"AlwaysShowProgressDesc" = "Pertahankan progres pencapaian tetap terlihat di layar.";
"Progress" = "Progress";
+
+"DCGameNoSupportGameSave" = "Dreamcast tidak mendukung impor/ekspor simpanan. Gunakan VMU Explorer untuk mengedit file memori di folder Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings
index d6aecd6d..bda4d7ee 100644
--- a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings
@@ -662,7 +662,7 @@ Premi il pulsante del controller...";
"ThirdPartGameInfoTips" = "Info sui giochi fornite da terze parti. Usa il tuo giudizio. Se Manic EMU non trova un gioco, usa la ricerca manuale.";
"NotSupportHardcore" = "La Modalità Hardcore è disattivata per questo gioco. Forse Manic EMU non è autorizzato da RetroAchievements, o il gioco non la supporta.";
"ChooseOne" = "Scegline uno";
-"FilesImporterErrorBadCue" = "Importazione di %@ fallita. Il file .cue potrebbe non essere valido o non in UTF-8. Controlla il formato.";
+"FilesImporterErrorBadCue" = "Importazione di %@ fallita. Il file potrebbe non essere valido o non in UTF-8. Controlla il formato.";
"Leaderboard" = "Classifica";
"LeaderboardStart" = "Inizio classifica: ";
@@ -676,3 +676,5 @@ Premi il pulsante del controller...";
"AlwaysShowProgress" = "Mostra Sempre Progresso";
"AlwaysShowProgressDesc" = "Mantieni visibile a schermo il progresso dei trofei.";
"Progress" = "Progresso";
+
+"DCGameNoSupportGameSave" = "Dreamcast non supporta l'importazione/esportazione dei salvataggi. Usa VMU Explorer per modificare i file di memoria nella cartella Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings
index 5d1f7bd1..5063ee0b 100644
--- a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings
@@ -655,7 +655,7 @@
"ThirdPartGameInfoTips" = "ゲーム情報はサードパーティにより提供されています。ご自身の判断で利用し、プラットフォームのルールに従ってください。Manic EMUがゲームを自動で認識しない場合は、検索して手動で見つけてください。";
"NotSupportHardcore" = "このゲームではハードコアモードは無効です。Manic EMUがRetroAchievementsに承認されていないか、このゲームがハードコアモードに対応していない可能性があります。";
"ChooseOne" = "選択してください";
-"FilesImporterErrorBadCue" = "「%@」のインポートに失敗しました。.cueファイルが無効であるか、UTF-8エンコードされていない可能性があります。形式を確認してください。";
+"FilesImporterErrorBadCue" = "「%@」のインポートに失敗しました。ファイルが無効であるか、UTF-8エンコードされていない可能性があります。形式を確認してください。";
"Leaderboard" = "リーダーボード";
"LeaderboardStart" = "リーダーボード開始: ";
@@ -669,3 +669,5 @@
"AlwaysShowProgress" = "進捗を常に表示";
"AlwaysShowProgressDesc" = "実績の進捗を画面上に常に表示します。";
"Progress" = "進捗";
+
+"DCGameNoSupportGameSave" = "ドリームキャストはセーブデータのインポート/エクスポートに対応していません。VMU Explorer を使用して、Manic EMU-Flycast-dc フォルダ内のメモリファイルを編集してください。";
diff --git a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings
index fd53fba3..af0aa235 100644
--- a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings
@@ -662,7 +662,7 @@
"ThirdPartGameInfoTips" = "게임 정보는 제3자가 제공합니다.自身의判断で利用し、プラットフォームのルールに従ってください。Manic EMU가 게임을 자동으로 인식하지 않으면 검색하여 수동으로 찾으세요.";
"NotSupportHardcore" = "이 게임에서는 하드코어 모드가 비활성화되어 있습니다. Manic EMU가 RetroAchievements에서 인증받지 않았거나 이 게임이 하드코어 모드를 지원하지 않을 수 있습니다.";
"ChooseOne" = "선택하세요";
-"FilesImporterErrorBadCue" = "%@ 가져오기 실패. .cue 파일이 잘못되었거나 UTF-8로 인코딩되지 않았을 수 있습니다. 형식을 확인하세요.";
+"FilesImporterErrorBadCue" = "%@ 가져오기 실패. 파일이 잘못되었거나 UTF-8로 인코딩되지 않았을 수 있습니다. 형식을 확인하세요.";
"Leaderboard" = "리더보드";
"LeaderboardStart" = "리더보드 시작: ";
@@ -676,3 +676,5 @@
"AlwaysShowProgress" = "진행률 항상 표시";
"AlwaysShowProgressDesc" = "업적 진행 상황을 화면에 계속 표시합니다.";
"Progress" = "진행률";
+
+"DCGameNoSupportGameSave" = "드림캐스트는 저장파일 가져오기/내보내기를 지원하지 않습니다. VMU Explorer를 사용하여 Manic EMU-Flycast-dc 폴더에 있는 메모리 파일을 편집하세요.";
diff --git a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings
index 1c5378ab..5b3727da 100644
--- a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings
@@ -632,7 +632,7 @@ Tekan butang pengawal...";
"ThirdPartGameInfoTips" = "Maklumat permainan provided by third parties. Gunakan pertimbangan anda. Jika Manic EMU gagal padankan permainan, gunakan carian manual.";
"NotSupportHardcore" = "Mod Hardcore dilumpuhkan untuk permainan ini. Mungkin Manic EMU tidak dibenarkan oleh RetroAchievements, atau permainan tidak menyokong mod hardcore.";
"ChooseOne" = "Pilih satu";
-"FilesImporterErrorBadCue" = "Gagal import %@. Fail .cue may be invalid or not UTF-8 encoded. Sila semak format.";
+"FilesImporterErrorBadCue" = "Gagal import %@. Fail may be invalid or not UTF-8 encoded. Sila semak format.";
"Leaderboard" = "Papan pemimpin";
"LeaderboardStart" = "Mula papan pemimpin: ";
@@ -646,3 +646,5 @@ Tekan butang pengawal...";
"AlwaysShowProgress" = "Sentiasa Tunjukkan Kemajuan";
"AlwaysShowProgressDesc" = "Kekalkan kemajuan pencapaian kelihatan di skrin.";
"Progress" = "Kemajuan";
+
+"DCGameNoSupportGameSave" = "Dreamcast tidak menyokong import/eksport simpanan. Gunakan VMU Explorer untuk mengedit fail memori dalam folder Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings
index 0616d928..6cd9cfe3 100644
--- a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings
@@ -650,7 +650,7 @@ Trykk på kontrollerknappen...";
"ThirdPartGameInfoTips" = "Spillinfo leveres av tredjeparter. Bruk din dømmekraft. Hvis Manic EMU ikke finner et spill, bruk manuelt søk.";
"NotSupportHardcore" = "Hardcore-modus er deaktivert for dette spillet. Kanskje Manic EMU ikke er autorisert av RetroAchievements, eller spillet støtter det bare ikke.";
"ChooseOne" = "Velg en";
-"FilesImporterErrorBadCue" = "Import av %@ mislyktes. .cue-filen may be invalid or not UTF-8 encoded. Sjekk formatet.";
+"FilesImporterErrorBadCue" = "Import av %@ mislyktes. filen may be invalid or not UTF-8 encoded. Sjekk formatet.";
"Leaderboard" = "Ledertavle";
"LeaderboardStart" = "Ledertavle start: ";
@@ -664,3 +664,5 @@ Trykk på kontrollerknappen...";
"AlwaysShowProgress" = "Alltid Vis Fremdrift";
"AlwaysShowProgressDesc" = "Hold prestasjonsfremdrift synlig på skjermen.";
"Progress" = "Fremdrift";
+
+"DCGameNoSupportGameSave" = "Dreamcast støtter ikke import/eksport av lagringer. Bruk VMU Explorer for å redigere minnefiler i mappen Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings
index b2bffdac..a066a987 100644
--- a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings
@@ -659,7 +659,7 @@ Druk op de controllerknop...";
"ThirdPartGameInfoTips" = "Game-info wordt door derden geleverd. Gebruik je eigen oordeel. Als Manic EMU een game niet vindt, zoek dan handmatig.";
"NotSupportHardcore" = "Hardcore Modus is uitgeschakeld voor deze game. Misschien is Manic EMU niet door RetroAchievements geautoriseerd, of de game ondersteunt het niet.";
"ChooseOne" = "Kies er een";
-"FilesImporterErrorBadCue" = "Importeren van %@ mislukt. Het .cue-bestand is ongeldig of niet UTF-8. Controleer het format.";
+"FilesImporterErrorBadCue" = "Importeren van %@ mislukt. Het bestand is ongeldig of niet UTF-8. Controleer het format.";
"Leaderboard" = "Scorebord";
"LeaderboardStart" = "Scorebord start: ";
@@ -673,3 +673,5 @@ Druk op de controllerknop...";
"AlwaysShowProgress" = "Voortgang Altijd Tonen";
"AlwaysShowProgressDesc" = "Houd prestatiewoortgang zichtbaar op scherm.";
"Progress" = "Voortgang";
+
+"DCGameNoSupportGameSave" = "Dreamcast ondersteunt geen importeren/exporteren van saves. Gebruik VMU Explorer om geheugenbestanden in de map Manic EMU-Flycast-dc te bewerken.";
diff --git a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings
index b33e5910..d2b10c56 100644
--- a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings
@@ -633,7 +633,7 @@ Naciśnij przycisk kontrolera...";
"ThirdPartGameInfoTips" = "Informacje o grze provided by third parties. Użyj własnego judgment. Jeśli Manic EMU nie znajdzie gry, użyj manual search.";
"NotSupportHardcore" = "Tryb Hardcore jest wyłączony dla tej gry. Być może Manic EMU nie jest autoryzowany przez RetroAchievements, lub gra po prostu go nie obsługuje.";
"ChooseOne" = "Wybierz jeden";
-"FilesImporterErrorBadCue" = "Import %@ nie powiódł się. Plik .cue may be invalid or not UTF-8 encoded. Sprawdź format.";
+"FilesImporterErrorBadCue" = "Import %@ nie powiódł się. Plik may be invalid or not UTF-8 encoded. Sprawdź format.";
"Leaderboard" = "Tablica wyników";
"LeaderboardStart" = "Początek tablicy: ";
@@ -647,3 +647,5 @@ Naciśnij przycisk kontrolera...";
"AlwaysShowProgress" = "Zawsze Pokaż Postęp";
"AlwaysShowProgressDesc" = "Utzymuj postęp osiągnięć widoczny na ekranie.";
"Progress" = "Postęp";
+
+"DCGameNoSupportGameSave" = "Dreamcast nie obsługuje importu/eksportu zapisów. Użyj VMU Explorer, aby edytować pliki pamięci w folderze Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings
index e72500d7..860adf69 100644
--- a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings
@@ -659,7 +659,7 @@ Pressione o botão do controle...";
"ThirdPartGameInfoTips" = "Info do jogo fornecida por terceiros. Use seu critério. Se o Manic EMU não achar um jogo, use a pesquisa manual.";
"NotSupportHardcore" = "O Modo Hardcore está desativado para este jogo. O Manic EMU pode não estar autorizado pelo RetroAchievements, ou o jogo não o suporta.";
"ChooseOne" = "Escolha um";
-"FilesImporterErrorBadCue" = "Falha ao importar %@. O arquivo .cue pode ser inválido ou não estar em UTF-8. Verifique o formato.";
+"FilesImporterErrorBadCue" = "Falha ao importar %@. O arquivo pode ser inválido ou não estar em UTF-8. Verifique o formato.";
"Leaderboard" = "Ranking";
"LeaderboardStart" = "Início do ranking: ";
@@ -673,3 +673,5 @@ Pressione o botão do controle...";
"AlwaysShowProgress" = "Sempre Mostrar Progresso";
"AlwaysShowProgressDesc" = "Manter o progresso de conquistas visível na tela.";
"Progress" = "Progresso";
+
+"DCGameNoSupportGameSave" = "O Dreamcast não suporta importação/exportação de saves. Use o VMU Explorer para editar arquivos de memória na pasta Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings
index f913c913..b98a72fb 100644
--- a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings
@@ -660,7 +660,7 @@ Pressione o botão do comando...";
"ThirdPartGameInfoTips" = "Info do jogo fornecida por terceiros. Use o seu critério. Se o Manic EMU não encontrar um jogo, use a pesquisa manual.";
"NotSupportHardcore" = "O Modo Hardcore está desativado para este jogo. O Manic EMU pode não estar autorizado pelo RetroAchievements, ou o jogo não o suporta.";
"ChooseOne" = "Escolha um";
-"FilesImporterErrorBadCue" = "Falha ao importar %@. O ficheiro .cue pode ser inválido ou não estar em UTF-8. Verifique o formato.";
+"FilesImporterErrorBadCue" = "Falha ao importar %@. O ficheiro pode ser inválido ou não estar em UTF-8. Verifique o formato.";
"Leaderboard" = "Tabela de classificação";
"LeaderboardStart" = "Início da tabela: ";
@@ -674,3 +674,5 @@ Pressione o botão do comando...";
"AlwaysShowProgress" = "Mostrar Sempre Progresso";
"AlwaysShowProgressDesc" = "Manter o progresso de conquistas visível no ecrã.";
"Progress" = "Progresso";
+
+"DCGameNoSupportGameSave" = "O Dreamcast não suporta importação/exportação de gravações. Utilize o VMU Explorer para editar ficheiros de memória na pasta Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings
index 7630d4ec..a0b0a162 100644
--- a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Apasă butonul controlerului...";
"ThirdPartGameInfoTips" = "Informațiile despre joc sunt furnizate de terți. Folosește-ți judecata și respectă regulile platformei. Dacă Manic EMU nu găsește un joc, folosește căutarea pentru a-l găsi manual.";
"NotSupportHardcore" = "Modul Hardcore este dezactivat pentru acest joc. Poate Manic EMU nu este autorizat de RetroAchievements, sau jocul pur și simplu nu suportă modul hardcore.";
"ChooseOne" = "Alege unul";
-"FilesImporterErrorBadCue" = "Import %@ eșuat. Fișierul .cue poate fi invalid sau nu este codificat UTF-8. Verifică formatul.";
+"FilesImporterErrorBadCue" = "Import %@ eșuat. Fișierul poate fi invalid sau nu este codificat UTF-8. Verifică formatul.";
"Leaderboard" = "Clasament";
"LeaderboardStart" = "Început clasament: ";
@@ -672,3 +672,5 @@ Apasă butonul controlerului...";
"AlwaysShowProgress" = "Afișează Mereu Progresul";
"AlwaysShowProgressDesc" = "Păstrează progresul realizărilor vizibil pe ecran.";
"Progress" = "Progres";
+
+"DCGameNoSupportGameSave" = "Dreamcast nu suportă importul/exportul salvărilor. Utilizați VMU Explorer pentru a edita fișierele de memorie din folderul Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings
index 2335152d..0977bbb4 100644
--- a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings
@@ -654,7 +654,7 @@
"ThirdPartGameInfoTips" = "Информация об игре предоставлена third parties. Используйте свое judgment. Если Manic EMU не найдет игру, используйте manual search.";
"NotSupportHardcore" = "Хардкорный режим отключен для этой игры. Возможно, Manic EMU не авторизован RetroAchievements или игра его не поддерживает.";
"ChooseOne" = "Выберите один";
-"FilesImporterErrorBadCue" = "Ошибка импорта %@. Файл .cue может быть invalid или не в UTF-8. Проверьте format.";
+"FilesImporterErrorBadCue" = "Ошибка импорта %@. Файл может быть invalid или не в UTF-8. Проверьте format.";
"Leaderboard" = "Таблица лидеров";
"LeaderboardStart" = "Начало таблицы: ";
@@ -668,3 +668,5 @@
"AlwaysShowProgress" = "Всегда Показывать Прогресс";
"AlwaysShowProgressDesc" = "Держать прогресс достижений видимым на экране.";
"Progress" = "Прогресс";
+
+"DCGameNoSupportGameSave" = "Dreamcast не поддерживает импорт/экспорт сохранений. Используйте VMU Explorer для редактирования файлов памяти в папке Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings
index 043c0e6b..7b922a0e 100644
--- a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Ak sa vyskytne nestabilita v 3DS, pozrite si «Časté otázky» alebo sa pripoj
"ThirdPartGameInfoTips" = "Informácie o hre poskytujú tretie strany. Používaj vlastný úsudok a dodržiava pravidlá platformy. Ak Manic EMU nenájde hru, použite vyhľadávanie na manuálne nájdenie.";
"NotSupportHardcore" = "Hardcore režim je pre túto hru zakázaný. Možno Manic EMU nie je autorizované RetroAchievements, alebo hra jednoducho nepodporuje hardcore režim.";
"ChooseOne" = "Vyberte jednu";
-"FilesImporterErrorBadCue" = "Import %@ zlyhal. Súbor .cue môže byť neplatný alebo nie je kódovaný v UTF-8. Skontrolujte formát.";
+"FilesImporterErrorBadCue" = "Import %@ zlyhal. Súbor môže byť neplatný alebo nie je kódovaný v UTF-8. Skontrolujte formát.";
"Leaderboard" = "Rebríček";
"LeaderboardStart" = "Štart rebríčka: ";
@@ -672,3 +672,5 @@ Ak sa vyskytne nestabilita v 3DS, pozrite si «Časté otázky» alebo sa pripoj
"AlwaysShowProgress" = "Vždy Zobraziť Pokrok";
"AlwaysShowProgressDesc" = "Udržiavajte pokrok úspechov viditeľný na obrazovke.";
"Progress" = "Pokrok";
+
+"DCGameNoSupportGameSave" = "Dreamcast nepodporuje import/export uložených hier. Na úpravu pamäťových súborov v priečinku Manic EMU-Flycast-dc použite VMU Explorer.";
diff --git a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings
index 1aca19ce..3ef6b57b 100644
--- a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings
@@ -652,7 +652,7 @@ Tryck på kontrollknappen...";
"ThirdPartGameInfoTips" = "Spelinformation tillhandahålls av tredje part. Använd ditt omdöme. Om Manic EMU inte hittar ett spel, använd manuell sökning.";
"NotSupportHardcore" = "Hardcore-läge är inaktiverat för detta spel. Kanske är Manic EMU inte auktoriserad av RetroAchievements, eller så stöder spelet inte hardcore-läge.";
"ChooseOne" = "Välj en";
-"FilesImporterErrorBadCue" = "Import av %@ misslyckades. .cue-filen may be invalid or not UTF-8 encoded. Kontrollera formatet.";
+"FilesImporterErrorBadCue" = "Import av %@ misslyckades. filen may be invalid or not UTF-8 encoded. Kontrollera formatet.";
"Leaderboard" = "Resultattavla";
"LeaderboardStart" = "Resultattavla start: ";
@@ -666,3 +666,5 @@ Tryck på kontrollknappen...";
"AlwaysShowProgress" = "Alltid Visa Framsteg";
"AlwaysShowProgressDesc" = "Håll prestationsframsteg synliga på skärmen.";
"Progress" = "Framsteg";
+
+"DCGameNoSupportGameSave" = "Dreamcast stöder inte import/export av sparfil. Använd VMU Explorer för att redigera minnesfiler i mappen Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings
index 49246946..f6f75dbc 100644
--- a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings
@@ -648,7 +648,7 @@
"ThirdPartGameInfoTips" = "ข้อมูลเกม provided by third parties ใช้ judgment ของคุณ หาก Manic EMU ไม่พบเกม ให้ใช้ manual search";
"NotSupportHardcore" = "โหมดฮาร์ดคอร์ถูกปิดใช้งานสำหรับเกมนี้ อาจเป็นเพราะ Manic EMU ไม่ได้รับอนุญาตจาก RetroAchievements หรือเกมไม่รองรับโหมดฮาร์ดคอร์";
"ChooseOne" = "เลือกหนึ่ง";
-"FilesImporterErrorBadCue" = "นำเข้า %@ ล้มเหลว ไฟล์ .cue may be invalid or not UTF-8 encoded กรุณาตรวจสอบ format";
+"FilesImporterErrorBadCue" = "นำเข้า %@ ล้มเหลว ไฟล์ may be invalid or not UTF-8 encoded กรุณาตรวจสอบ format";
"Leaderboard" = "กระดานคะแนน";
"LeaderboardStart" = "เริ่มกระดานคะแนน: ";
@@ -662,3 +662,5 @@
"AlwaysShowProgress" = "แสดงความคืบหน้าตลอด";
"AlwaysShowProgressDesc" = "แสดงความคืบหน้าของความสำเร็จบนหน้าจออย่างต่อเนื่อง";
"Progress" = "ความคืบหน้า";
+
+"DCGameNoSupportGameSave" = "Dreamcast ไม่รองรับการนำเข้า/ส่งออกเซฟ ใช้ VMU Explorer เพื่อแก้ไขไฟล์หน่วยความจำในโฟลเดอร์ Manic EMU-Flycast-dc";
diff --git a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings
index e4770096..4691c9af 100644
--- a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings
@@ -658,7 +658,7 @@ Kontrolcü düğmesine basın...";
"ThirdPartGameInfoTips" = "Oyun bilgileri üçüncü taraflarca sağlanır. Kendi kararınızı kullanın. Manic EMU bir oyunu eşleştiremezse, manual search kullanın.";
"NotSupportHardcore" = "Bu oyun için Hardcore Modu devre dışı. Manic EMU RetroAchievements tarafından yetkilendirilmemiş olabilir veya oyun desteklemiyor olabilir.";
"ChooseOne" = "Birini seç";
-"FilesImporterErrorBadCue" = "%@ içe aktarılamadı. .cue dosyası geçersiz veya UTF-8 kodlu değil. Lütfen formatı kontrol edin.";
+"FilesImporterErrorBadCue" = "%@ içe aktarılamadı. dosyası geçersiz veya UTF-8 kodlu değil. Lütfen formatı kontrol edin.";
"Leaderboard" = "Liderlik Tablosu";
"LeaderboardStart" = "Liderlik başlangıcı: ";
@@ -672,3 +672,5 @@ Kontrolcü düğmesine basın...";
"AlwaysShowProgress" = "İlerlemeyi Her Zaman Göster";
"AlwaysShowProgressDesc" = "Başarım ilerlemesini ekranda görünür tut.";
"Progress" = "İlerleme";
+
+"DCGameNoSupportGameSave" = "Dreamcast kayıt içe/dışa aktarmayı desteklemez. Manic EMU-Flycast-dc klasöründeki bellek dosyalarını düzenlemek için VMU Explorer'ı kullanın.";
diff --git a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings
index a8a98653..bf28db5d 100644
--- a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings
@@ -658,7 +658,7 @@
"ThirdPartGameInfoTips" = "Інформація про гру надається третіми сторонами. Користуйтеся власним розсудом і дотримуйтеся правил платформи. Якщо Manic EMU не знайде гру, використовуйте пошук, щоб знайти її вручну.";
"NotSupportHardcore" = "Режим Hardcore вимкнено для цієї гри. Можливо, Manic EMU не авторизований RetroAchievements, або гра просто не підтримує hardcore mode.";
"ChooseOne" = "Виберіть один";
-"FilesImporterErrorBadCue" = "Не вдалося імпортувати %@. Файл .cue може бути недійсним або не в UTF-8 кодуванні. Перевірте формат.";
+"FilesImporterErrorBadCue" = "Не вдалося імпортувати %@. Файл може бути недійсним або не в UTF-8 кодуванні. Перевірте формат.";
"Leaderboard" = "Таблиця лідерів";
"LeaderboardStart" = "Початок таблиці лідерів: ";
@@ -672,3 +672,5 @@
"AlwaysShowProgress" = "Завжди Показувати Прогрес";
"AlwaysShowProgressDesc" = "Тримати прогрес досягнень видимим на екрані.";
"Progress" = "Прогрес";
+
+"DCGameNoSupportGameSave" = "Dreamcast не підтримує імпорт/експорт збережень. Використовуйте VMU Explorer для редагування файлів пам'яті у папці Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings
index bb24c38b..ed983b58 100644
--- a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings
@@ -652,7 +652,7 @@ Nhấn nút điều khiển...";
"ThirdPartGameInfoTips" = "Thông tin trò chơi provided by third parties. Sử dụng judgment của bạn. Nếu Manic EMU không khớp trò chơi, hãy sử dụng manual search.";
"NotSupportHardcore" = "Chế độ Hardcore bị tắt cho trò chơi này. Có thể Manic EMU không được RetroAchievements ủy quyền, hoặc trò chơi không hỗ trợ chế độ hardcore.";
"ChooseOne" = "Chọn một";
-"FilesImporterErrorBadCue" = "Nhập %@ thất bại. Tệp .cue may be invalid or not UTF-8 encoded. Vui lòng kiểm tra format.";
+"FilesImporterErrorBadCue" = "Nhập %@ thất bại. Tệp may be invalid or not UTF-8 encoded. Vui lòng kiểm tra format.";
"Leaderboard" = "Bảng xếp hạng";
"LeaderboardStart" = "Bắt đầu bảng xếp hạng: ";
@@ -666,3 +666,5 @@ Nhấn nút điều khiển...";
"AlwaysShowProgress" = "Luôn Hiển Thị Tiến Trình";
"AlwaysShowProgressDesc" = "Giữ tiến trình thành tựu hiển thị trên màn hình.";
"Progress" = "Tiến Trình";
+
+"DCGameNoSupportGameSave" = "Dreamcast không hỗ trợ nhập/xuất tập tin lưu. Sử dụng VMU Explorer để chỉnh sửa tập tin bộ nhớ trong thư mục Manic EMU-Flycast-dc.";
diff --git a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings
index 7dfe427f..1077dec5 100644
--- a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings
@@ -663,7 +663,7 @@
"ThirdPartGameInfoTips" = "遊戲資訊由第三方提供。請自行判斷並遵循平台規則。如果 Manic EMU 無法匹配遊戲,請使用搜尋功能手動尋找。";
"NotSupportHardcore" = "此遊戲已停用硬核模式。可能 Manic EMU 未獲 RetroAchievements 授權,或此遊戲不支援硬核模式。";
"ChooseOne" = "選擇一項";
-"FilesImporterErrorBadCue" = "導入「%@」失敗。.cue 檔案可能無效或非 UTF-8 編碼。請檢查格式。";
+"FilesImporterErrorBadCue" = "導入「%@」失敗。檔案可能無效或非 UTF-8 編碼。請檢查格式。";
"Leaderboard" = "排行榜";
"LeaderboardStart" = "排行榜開始: ";
@@ -678,3 +678,5 @@
"AlwaysShowProgress" = "常顯示進度";
"AlwaysShowProgressDesc" = "持續於畫面上顯示成就進度。";
"Progress" = "進度";
+
+"DCGameNoSupportGameSave" = "Dreamcast 不支援存檔導入/導出。請使用 VMU Explorer 編輯 Manic EMU-Flycast-dc 文件夾中的記憶卡檔案。";
diff --git a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings
index 0f39724c..747b2d4e 100644
--- a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings
@@ -665,7 +665,7 @@
"ThirdPartGameInfoTips" = "游戏信息由第三方提供,请自行甄别并遵守平台规则。若 Manic EMU 匹配失败,可手动搜索游戏。";
"NotSupportHardcore" = "本游戏已禁用硬核模式,可能是Manic EMU未获得RetroAchievements认证或游戏不支持。";
"ChooseOne" = "任选其一";
-"FilesImporterErrorBadCue" = "导入失败:\"%@\"。该 .cue 文件可能格式错误或未使用 UTF-8 编码,请检查文件。";
+"FilesImporterErrorBadCue" = "导入失败:\"%@\"。该文件可能格式错误或未使用 UTF-8 编码,请检查文件。";
"Leaderboard" = "排行榜";
"LeaderboardStart" = "排行榜开始:";
"TurnOffHardcoreAlert" = "切换到休闲模式后,如需重新开启硬核模式必须重置游戏。是否继续?";
@@ -679,3 +679,5 @@
"AlwaysShowProgress" = "始终显示进度";
"AlwaysShowProgressDesc" = "在屏幕上持续显示成就进度。";
"Progress" = "进度";
+
+"DCGameNoSupportGameSave" = "Dreamcast不支持游戏存档的导入导出功能,需要你使用VMU Explorer工具自行编辑存档记忆体,这些记忆体文件存在于Manic EMU-Flycast-dc目录中";
diff --git a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings
index 289de538..c7d34eeb 100644
--- a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings
+++ b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings
@@ -663,7 +663,7 @@
"ThirdPartGameInfoTips" = "遊戲資訊由第三方提供。請自行判斷並遵循平台規則。如果 Manic EMU 無法匹配遊戲,請使用搜尋功能手動尋找。";
"NotSupportHardcore" = "此遊戲已停用硬核模式。可能 Manic EMU 未獲 RetroAchievements 授權,或此遊戲不支援硬核模式。";
"ChooseOne" = "選擇一項";
-"FilesImporterErrorBadCue" = "匯入「%@」失敗。.cue 檔案可能無效或非 UTF-8 編碼。請檢查格式。";
+"FilesImporterErrorBadCue" = "匯入「%@」失敗。檔案可能無效或非 UTF-8 編碼。請檢查格式。";
"Leaderboard" = "排行榜";
"LeaderboardStart" = "排行榜開始: ";
@@ -678,3 +678,5 @@
"AlwaysShowProgress" = "始終顯示進度";
"AlwaysShowProgressDesc" = "持續在畫面上顯示成就進度。";
"Progress" = "進度";
+
+"DCGameNoSupportGameSave" = "Dreamcast 不支援存檔匯入/匯出。請使用 VMU Explorer 編輯 Manic EMU-Flycast-dc 資料夾中的記憶卡檔案。";
diff --git a/ManicEmu/ManicEmu/Sources/Base/Constants.swift b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
index a4075a9b..746de888 100644
--- a/ManicEmu/ManicEmu/Sources/Base/Constants.swift
+++ b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
@@ -297,6 +297,7 @@ struct Constants {
static let BeetleVB = Document.appendingPathComponent(LibretroCore.Cores.BeetleVB.name)
static let PokeMini = Document.appendingPathComponent(LibretroCore.Cores.PokeMini.name)
static let BeetlePSXHW = Document.appendingPathComponent(LibretroCore.Cores.BeetlePSXHW.name)
+ static let Flycast = Document.appendingPathComponent(LibretroCore.Cores.Flycast.name)
static let bsnes = Document.appendingPathComponent(LibretroCore.Cores.bsnes.name)
static let LibretroSavePath = Document
static let GamesDB = Resource.appendingPathComponent("Games.db")
@@ -385,6 +386,7 @@ struct Constants {
static let ThreeDSConsoleLanguage = ["Automatic", "Japan", "USA" , "Europe", "Australia", "China", "Korea", "Taiwan"]
static let SaturnConsoleLanguage = ["Auto Detect", "Japan", "North America", "Europe", "South Korea", "Asia (NTSC)", "Asia (PAL)", "Brazil", "Latin America"]
static let DSConsoleLanguage = ["Automatic", "Japanese", "English", "French", "German", "Italian", "Spanish"]
+ static let DCConsoleLanguage = ["Default", "Japanese", "English", "German", "French", "Spanish", "Italian"]
static let ManicScheme = "manicemu"
static var PSXController = "PlayStation Controller"
static var PSXDualShock = "DualShock"
@@ -579,6 +581,10 @@ struct Constants {
BIOSItem(fileName: "scph5501.bin", imported: false, desc: "PS1 US BIOS - Required for US games", required: false),
BIOSItem(fileName: "scph5502.bin", imported: false, desc: "PS1 EU BIOS - Required for EU games", required: false)
]
+
+ static let DCBios = [
+ BIOSItem(fileName: "dc_boot.bin", imported: false, desc: "Required for Dreamcast", required: false)
+ ]
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ImportError.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ImportError.swift
index 0ec37c43..90ed8fb9 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ImportError.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ImportError.swift
@@ -19,7 +19,7 @@ enum ImportError: Error, LocalizedError {
case ciaGameNotExist(fileName: String)
case missingFile(errorFileName:String, missingFileName: String)
case skinIdentifierConflict(identifier: String)
- case badCue(fileName: String)
+ case badMultiFile(fileName: String)
case saveNoMatchGames(gameSaveUrl: URL)
case saveAlreadyExist(gameSaveUrl: URL, game: Game)
@@ -85,7 +85,7 @@ enum ImportError: Error, LocalizedError {
R.string.localizable.importMissingFile(errorFileName, missingFileName)
case .skinIdentifierConflict(let identifier):
R.string.localizable.skinIdentifierExist(identifier)
- case .badCue(let string):
+ case .badMultiFile(let string):
R.string.localizable.filesImporterErrorBadCue(string)
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Controllers/ViewControllers/ControllerMappingViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Controllers/ViewControllers/ControllerMappingViewController.swift
index 9e0671db..f5d807f9 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Controllers/ViewControllers/ControllerMappingViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Controllers/ViewControllers/ControllerMappingViewController.swift
@@ -18,7 +18,7 @@ class ControllerMappingViewController: BaseViewController {
fatalError("init() is unavailable")
}
- init(gameType: GameType = .ps1, controller: GameController) {
+ init(gameType: GameType = .dc, controller: GameController) {
self.controllerMappingView = ControllerMappingView(gameType: gameType, controller: controller)
super.init(fullScreen: true)
self.controllerMappingView.didTapClose = { [weak self] in
diff --git a/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllerMappingView.swift b/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllerMappingView.swift
index c4638fe8..1dfc7b1b 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllerMappingView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllerMappingView.swift
@@ -250,7 +250,7 @@ class ControllerMappingView: UIView {
}
}
- init(gameType: GameType = .ps1, controller: GameController) {
+ init(gameType: GameType = .dc, controller: GameController) {
self.gameType = gameType
self.gameController = controller
super.init(frame: .zero)
diff --git a/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllersSettingView.swift b/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllersSettingView.swift
index c996bc94..d58ddc30 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllersSettingView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Controllers/Views/ControllersSettingView.swift
@@ -79,7 +79,7 @@ class ControllersSettingView: BaseView {
}
}
- init(asSideMenu: Bool = true, gameType: GameType = ._3ds) {
+ init(asSideMenu: Bool = true, gameType: GameType = .dc) {
self.asSideMenu = asSideMenu
self.initGameType = gameType
super.init(frame: .zero)
diff --git a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift
index 39ca289c..e1f7bc23 100644
--- a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoDetailReusableView.swift
@@ -294,6 +294,8 @@ class GameInfoDetailReusableView: UICollectionReusableView {
languages = Constants.Strings.SaturnConsoleLanguage
} else if game.gameType == .ds {
languages = Constants.Strings.DSConsoleLanguage
+ } else if game.gameType == .dc {
+ languages = Constants.Strings.DCConsoleLanguage
}
}
for (index, language) in languages.enumerated() {
@@ -323,6 +325,8 @@ class GameInfoDetailReusableView: UICollectionReusableView {
languages = Constants.Strings.SaturnConsoleLanguage
} else if game.gameType == .ds {
languages = Constants.Strings.DSConsoleLanguage
+ } else if game.gameType == .dc {
+ languages = Constants.Strings.DCConsoleLanguage
}
if game.region < languages.count {
title = languages[game.region]
@@ -756,6 +760,41 @@ class GameInfoDetailReusableView: UICollectionReusableView {
return view
}()
+ private lazy var dcCoreContextMenuButton: ContextMenuButton = {
+ var actions: [UIMenuElement] = []
+ actions.append((UIAction(title: "JITLess Ver: Defalut") { [weak self] _ in
+ guard let self = self else { return }
+ self.dcCoreButton.titleLabel.text = "JITLess Ver: Defalut"
+ if let game {
+ Game.change { _ in
+ game.defaultCore = 0
+ }
+ }
+ }))
+ actions.append((UIAction(title: "JITLess Ver: WinCE") { [weak self] _ in
+ guard let self = self else { return }
+ self.dcCoreButton.titleLabel.text = "JITLess Ver: WinCE"
+ if let game {
+ Game.change { _ in
+ game.defaultCore = 1
+ }
+ }
+ }))
+ let view = ContextMenuButton(image: nil, menu: UIMenu(children: actions))
+ return view
+ }()
+
+ private lazy var dcCoreButton: SymbolButton = {
+ let ver = (game?.defaultCore ?? 0) == 0 ? "Defalut" : "WinCE"
+ let view = SymbolButton(symbol: .boltSlash, title: "JITLess Ver: \(ver)", horizontalContian: true)
+ view.titleLabel.numberOfLines = 0
+ view.addTapGesture { [weak self] gesture in
+ guard let self = self else { return }
+ self.dcCoreContextMenuButton.triggerTapGesture()
+ }
+ return view
+ }()
+
var didSegmentChange: ((_ index: Int)->Void)?
lazy var segmentView: BetterSegmentedControl = {
let titles = [R.string.localizable.readySegmentManualSave(), R.string.localizable.readySegmentAutoSave()]
@@ -819,6 +858,8 @@ class GameInfoDetailReusableView: UICollectionReusableView {
updateVBOrPMFunctionButton()
} else if game.gameType == .ps1 {
updatePS1FunctionButton()
+ } else if game.gameType == .dc {
+ updateDCFunctionButton()
}
}
}
@@ -1211,4 +1252,47 @@ class GameInfoDetailReusableView: UICollectionReusableView {
}
}
+ private func updateDCFunctionButton() {
+ cheatCodeButton.removeFromSuperview()
+
+ if let lastView = functionButtonContainerView.subviews.last {
+ //jit
+ functionButtonContainerView.addSubview(jitContextMenuButton)
+ functionButtonContainerView.addSubview(jitButton)
+ jitButton.snp.makeConstraints { make in
+ make.leading.equalTo(lastView.snp.trailing).offset(Constants.Size.ContentSpaceMin)
+ make.centerY.equalToSuperview()
+ make.size.equalTo(Constants.Size.IconSizeHuge)
+ }
+ jitContextMenuButton.snp.makeConstraints { make in
+ make.edges.equalTo(jitButton)
+ }
+
+ //jitless core ver
+ functionButtonContainerView.addSubview(dcCoreContextMenuButton)
+ functionButtonContainerView.addSubview(dcCoreButton)
+ dcCoreButton.snp.makeConstraints { make in
+ make.leading.equalTo(jitButton.snp.trailing).offset(Constants.Size.ContentSpaceMin)
+ make.centerY.equalToSuperview()
+ make.size.equalTo(Constants.Size.IconSizeHuge)
+ }
+ dcCoreContextMenuButton.snp.makeConstraints { make in
+ make.edges.equalTo(dcCoreButton)
+ }
+
+ //语言选择按钮
+ functionButtonContainerView.addSubview(languageContextMenuButton)
+ functionButtonContainerView.addSubview(languageButton)
+ languageButton.snp.makeConstraints { make in
+ make.leading.equalTo(dcCoreButton.snp.trailing).offset(Constants.Size.ContentSpaceMin)
+ make.centerY.equalToSuperview()
+ make.size.equalTo(Constants.Size.IconSizeHuge)
+ make.trailing.equalToSuperview()
+ }
+ languageContextMenuButton.snp.makeConstraints { make in
+ make.edges.equalTo(languageButton)
+ }
+ }
+ }
+
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoView.swift b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoView.swift
index 155b53cb..cdd4be57 100644
--- a/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/GameInfo/VIews/GameInfoView.swift
@@ -346,7 +346,7 @@ extension GameInfoView: UICollectionViewDataSource {
let supportCores = self.game.gameType.supportCores
let saveSateCore = state.getExtraInt(key: ExtraKey.saveStateCore.rawValue) ?? 0
if supportCores.count > 0,
- saveSateCore != self.game.defaultCore {
+ saveSateCore != self.game.defaultCore {
//由不同核心创建的state 需要提示
UIView.makeAlert(title: R.string.localizable.gameSaveUnCompatibleTitle(),
detail: R.string.localizable.saveStateCoreUnCompatible(supportCores[saveSateCore], supportCores[self.game.defaultCore]),
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
index ffbffb8c..65cfb66d 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
@@ -210,6 +210,8 @@ class GameCoverView: UIView {
image = style == .style2 ? R.image.pm_cover_v() : R.image.pm_cover_h()
} else if gameType == .ps1 {
image = style == .style2 ? R.image.ps1_cover_v() : R.image.ps1_cover_h()
+ } else if gameType == .dc {
+ image = style == .style2 ? R.image.dc_cover_v() : R.image.dc_cover_h()
}
if UIDevice.isPhone, !UIDevice.isLandscape, scalePlatform, Constants.Size.GamesPerRow != 2, let unwrapImage = image {
image = unwrapImage.scaled(toWidth: unwrapImage.size.width * (1/(Constants.Size.GamesPerRow-1)))
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
index a06f4c5a..6b3e76a4 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
@@ -599,6 +599,10 @@ class GameListView: BaseView {
case .shareRom:
ShareManager.shareFiles(games: games, shareFileType: .rom)
case .importSave:
+ if firstGame.gameType == .dc {
+
+ return
+ }
FilesImporter.shared.presentImportController(supportedTypes: UTType.gamesaveTypes, allowsMultipleSelection: false) { urls in
if let url = urls.first {
if firstGame.gameType == ._3ds || firstGame.gameType == .psp {
@@ -641,7 +645,7 @@ class GameListView: BaseView {
let dlcPath = gamePath.replacingOccurrences(of: "/00040000/", with: "/0004008c/")
try FileManager.safeRemoveItem(at: URL(fileURLWithPath: dlcPath))
SyncManager.deletePath(localPath: dlcPath)
- } else if game.fileExtension.lowercased() == "cue" || game.fileExtension == "m3u" {
+ } else if game.isMultiFileGame {
let romParentPath = game.romUrl.path.deletingLastPathComponent
try FileManager.safeRemoveItem(at: URL(fileURLWithPath: romParentPath))
SyncManager.deletePath(localPath: romParentPath)
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
index 33f0a675..5a77e0b7 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GamesCollectionReusableView.swift
@@ -164,6 +164,8 @@ class GamesCollectionReusableView: UICollectionReusableView {
image = R.image.pm_group_brand()
} else if gameType == .ps1 {
image = R.image.ps1_group_brand()
+ } else if gameType == .dc {
+ image = R.image.dc_group_brand()
}
Self.brandImageCaches[key] = image
return image
diff --git a/ManicEmu/ManicEmu/Sources/Business/Import/ViewControllers/MultiDiscBuilderViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Import/ViewControllers/MultiDiscBuilderViewController.swift
index 3ca158fe..402f7a1d 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Import/ViewControllers/MultiDiscBuilderViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Import/ViewControllers/MultiDiscBuilderViewController.swift
@@ -128,7 +128,7 @@ class MultiDiscBuilderViewController: BaseViewController {
}
let urls = urls.sorted(by: { $0.path < $1.path })
if isCue {
- let (_, errors, cueItems) = FilesImporter.handleCueFiles(urls: urls)
+ let (_, errors, cueItems) = FilesImporter.handleMultiFiles(urls: urls)
if errors.count > 0 {
UIView.makeAlert(detail: errors.reduce("", { $0 + $1.localizedDescription + "\n"}))
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
index 42d8ca95..e44873c8 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
@@ -112,7 +112,7 @@ class Game: Object, ObjectUpdatable {
//游戏文件路径
var romUrl: URL {
- if fileExtension.lowercased() == "m3u" || fileExtension.lowercased() == "cue" {
+ if isMultiFileGame {
return URL(fileURLWithPath: Constants.Path.Data.appendingPathComponent(fileName.deletingPathExtension).appendingPathComponent(fileName))
}
@@ -260,7 +260,10 @@ class Game: Object, ObjectUpdatable {
}
let fileManager = FileManager.default
for bios in requireBIOS {
- let biosInLib = Constants.Path.System.appendingPathComponent(bios.fileName)
+ var biosInLib = Constants.Path.System.appendingPathComponent(bios.fileName)
+ if gameType == .dc {
+ biosInLib = Constants.Path.Flycast.appendingPathComponent("dc/\(bios.fileName)")
+ }
let biosInDoc = Constants.Path.BIOS.appendingPathComponent(bios.fileName)
if fileManager.fileExists(atPath: biosInLib) {
continue
@@ -321,6 +324,16 @@ class Game: Object, ObjectUpdatable {
} else {
return Bundle.main.path(forResource: "vbam.libretro", ofType: "framework", inDirectory: "Frameworks")
}
+ } else if gameType == .dc {
+ if jit {
+ return Bundle.main.path(forResource: "flycast.libretro", ofType: "framework", inDirectory: "Frameworks")
+ } else {
+ if defaultCore == 0 {
+ return Bundle.main.path(forResource: "flycast-jitless.libretro", ofType: "framework", inDirectory: "Frameworks")
+ } else {
+ return Bundle.main.path(forResource: "flycast-jitless-wince.libretro", ofType: "framework", inDirectory: "Frameworks")
+ }
+ }
}
return nil
}
@@ -457,6 +470,11 @@ class Game: Object, ObjectUpdatable {
}
}
}
+
+ var isMultiFileGame: Bool {
+ return fileExtension.lowercased() == "m3u" || fileExtension.lowercased() == "cue" || fileExtension.lowercased() == "gdi"
+ }
+
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift
index 7dadb017..dfc8b67a 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/GameSetting.swift
@@ -463,6 +463,11 @@ struct GameSetting: SettingCellItem {
return false
}
return true
+ case .dc:
+ if type == .swapScreen || type == .consoleHome || type == .amiibo || type == .simBlowing || type == .palette || type == .cheatCode {
+ return false
+ }
+ return true
default:
return false
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
index 5af9ef1d..136b2115 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
@@ -425,7 +425,7 @@ class PlayViewController: GameViewController {
let achievementProgress = AchievementProgress(id: achievement._id, measuredProgress: measuredProgress, measuredPercent: achievement.measuredPercent)
self.manicGame.updateAchievementProgress(achievementProgress)
}
- //自动隐藏进度
+ //如果隐藏通知没有过来 则需自动隐藏进度
DispatchQueue.main.asyncAfter(delay: 4) { [weak self] in
self?.hideAchievementProgressIfNeed()
}
@@ -438,8 +438,7 @@ class PlayViewController: GameViewController {
self.progressAchievements.append(achievement)
}
} else {
- progressView.removeProgress(id: achievement._id)
- self.progressAchievements.removeAll(where: { $0._id == achievement._id })
+ self.hideAchievementProgressIfNeed()
}
}
} else {
@@ -460,6 +459,9 @@ class PlayViewController: GameViewController {
UIDevice.generateAchievementHaptic()
//删除缓存的解锁进度
self.manicGame.removeAchievementProgress(id: achievement._id)
+ //删除解锁进度
+ self.cheevosProgressView?.removeProgress(id: achievement._id)
+ self.progressAchievements.removeAll(where: { $0._id == achievement._id })
}
} else if let summary = notification.object as? CheevosSummary {
@@ -1163,7 +1165,7 @@ extension PlayViewController {
if let state = state ?? manicGame.gameSaveStates.last(where: { $0.type == .manualSaveState }),
let statePath = state.stateData?.filePath.path,
LibretroCore.sharedInstance().loadState(statePath) {
- if (state.getExtraInt(key: ExtraKey.saveStateCore.rawValue) ?? 0) != manicGame.defaultCore {
+ if manicGame.gameType != .dc, (state.getExtraInt(key: ExtraKey.saveStateCore.rawValue) ?? 0) != manicGame.defaultCore {
UIView.makeToast(message: R.string.localizable.latestSaveStateUnCompatible())
} else {
resumeEmulationAndHandleAudio()
@@ -1550,7 +1552,7 @@ extension PlayViewController {
dismiss(animated: true)
}
case .resolution:
- guard manicGame.gameType == ._3ds || manicGame.gameType == .psp || manicGame.gameType == .n64 || manicGame.gameType == .ps1 else { return true }
+ guard manicGame.gameType == ._3ds || manicGame.gameType == .psp || manicGame.gameType == .n64 || manicGame.gameType == .ps1 || manicGame.gameType == .dc else { return true }
Log.debug("设置分辨率")
if manicGame.resolution != item.resolution {
Game.change { realm in
@@ -1564,6 +1566,8 @@ extension PlayViewController {
updateN64Resolution(item.resolution, reload: true)
} else if manicGame.gameType == .ps1 {
LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.BeetlePSXHW.name, key: "beetle_psx_hw_internal_resolution", value: item.resolution.resolutionTitleForPS1, reload: true)
+ } else if manicGame.gameType == .dc {
+ updateDCResolution(item.resolution, reload: true)
}
}
let message: String
@@ -1655,7 +1659,7 @@ extension PlayViewController {
}
}
case .swapDisk:
- guard manicGame.gameType == .mcd || manicGame.gameType == .ss || manicGame.gameType == .ps1 else { return false }
+ guard manicGame.gameType == .mcd || manicGame.gameType == .ss || manicGame.gameType == .ps1 || manicGame.gameType == .dc else { return false }
if manicGame.supportSwapDisc {
LibretroCore.sharedInstance().setDiskIndex(UInt32(item.currentDiskIndex), delay: manicGame.gameType == .ps1 ? true : false)
UIView.makeToast(message: R.string.localizable.discInsert(Int(item.currentDiskIndex + 1)))
@@ -2023,6 +2027,12 @@ extension PlayViewController {
"beetle_psx_hw_renderer": isHardwareRenderer ? "hardware_vk" : "software",
],
reload: false)
+ } else if manicGame.gameType == .dc {
+ updateDCResolution(manicGame.resolution, reload: false)
+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Flycast.name,
+ configs: ["reicast_renderer": "Vulkan",
+ "reicast_language" : Constants.Strings.DCConsoleLanguage[manicGame.region]],
+ reload: false)
}
//配置静音模式
@@ -2045,7 +2055,17 @@ extension PlayViewController {
//Libretro配置
if manicGame.gameType.isLibretroType {
- LibretroCore.sharedInstance().updateLibretroConfig("fastforward_frameskip", value: manicGame.gameType == .ps1 ? "false" : "true")
+ var enableLibretroLog = "false"
+ var libretroLogLevel = "1"
+ #if DEBUG
+ enableLibretroLog = "true"
+ libretroLogLevel = "0"
+ #endif
+ LibretroCore.sharedInstance().updateLibretroConfigs([
+ "fastforward_frameskip": manicGame.gameType == .ps1 ? "false" : "true",
+ "log_verbosity": enableLibretroLog,
+ "libretro_log_level": libretroLogLevel
+ ])
if manicGame.isN64ParaLLEl {
LibretroCore.sharedInstance().setReloadDelay(1)
} else {
@@ -2082,6 +2102,13 @@ extension PlayViewController {
//配置Rumble
LibretroCore.sharedInstance().setEnableRumble(Settings.defalut.getExtraBool(key: ExtraKey.rumble.rawValue) ?? 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)
+ }
}
}
@@ -2621,6 +2648,15 @@ extension PlayViewController {
}
}
+ private func updateDCResolution(_ resolution: GameSetting.Resolution, reload: Bool) {
+ let options = ["640x480", "1280x960", "1920x1440", "2560x1920", "3200x2400", "3840x2880", "4480x3360", "5120x3840", "5760x4320", "6400x4800"]
+ var option = "640x480"
+ if resolution != .undefine {
+ option = options[resolution.rawValue - 1]
+ }
+ LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.Flycast.name, key: "reicast_internal_resolution", value: option, reload: reload)
+ }
+
private func updateAnalogMode(toastAllow: Bool, toggle: Bool) {
if manicGame.gameType == .ps1 {
var deviceType = Constants.Strings.PSXController
diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSCollectionViewCell.swift b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSCollectionViewCell.swift
index 9debf89a..54f1ac2b 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSCollectionViewCell.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSCollectionViewCell.swift
@@ -118,10 +118,15 @@ class BIOSCollectionViewCell: UICollectionViewCell {
biosItems = Constants.BIOS.DSBios
} else if gameType == .ps1 {
biosItems = Constants.BIOS.PS1Bios
+ } else if gameType == .dc {
+ biosItems = Constants.BIOS.DCBios
}
let fileManager = FileManager.default
for (index, bios) in biosItems.enumerated() {
- let biosInLib = Constants.Path.System.appendingPathComponent(bios.fileName)
+ var biosInLib = Constants.Path.System.appendingPathComponent(bios.fileName)
+ if gameType == .dc {
+ biosInLib = Constants.Path.Flycast.appendingPathComponent("dc/\(bios.fileName)")
+ }
let isBiosExists = fileManager.fileExists(atPath: biosInLib)
if isBiosExists {
biosItems[index].imported = true
@@ -199,7 +204,11 @@ class BIOSCollectionViewCell: UICollectionViewCell {
if matchs.count > 0 {
for match in matchs {
try? FileManager.safeCopyItem(at: match.url, to: URL(fileURLWithPath: Constants.Path.BIOS.appendingPathComponent(match.fileName)), shouldReplace: true)
- try? FileManager.safeCopyItem(at: match.url, to: URL(fileURLWithPath: Constants.Path.System.appendingPathComponent(match.fileName)), shouldReplace: true)
+ var matchFilePath = Constants.Path.System.appendingPathComponent(match.fileName)
+ if gameType == .dc {
+ matchFilePath = Constants.Path.Flycast.appendingPathComponent("dc/\(match.fileName)")
+ }
+ try? FileManager.safeCopyItem(at: match.url, to: URL(fileURLWithPath: matchFilePath), shouldReplace: true)
}
}
DispatchQueue.main.async {
@@ -231,6 +240,8 @@ class BIOSCollectionViewCell: UICollectionViewCell {
itemCount = Constants.BIOS.DSBios.count
} else if gameType == .ps1 {
itemCount = Constants.BIOS.PS1Bios.count
+ } else if gameType == .dc {
+ itemCount = Constants.BIOS.DCBios.count
}
return (Double(itemCount) * Constants.Size.ItemHeightMax) + (Double(itemCount + 1) * Constants.Size.ContentSpaceMid)
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSSelectionView.swift b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSSelectionView.swift
index adfee5bb..085b179d 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSSelectionView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/BIOSSelectionView.swift
@@ -14,7 +14,7 @@ import IceCream
class BIOSSelectionView: BaseView {
private enum SectionIndex: Int, CaseIterable {
- case desc, mcd, ss, ds, ps1
+ case desc, mcd, ss, ds, ps1, dc
var title: String {
switch self {
case .desc: ""
@@ -22,6 +22,7 @@ class BIOSSelectionView: BaseView {
case .ss: GameType.ss.localizedName
case .ds: GameType.ds.localizedName
case .ps1: GameType.ps1.localizedName
+ case .dc: GameType.dc.localizedName
}
}
@@ -32,6 +33,7 @@ class BIOSSelectionView: BaseView {
case .ss: return .ss
case .ds: return .ds
case .ps1: return .ps1
+ case .dc: return .dc
}
}
}
@@ -84,8 +86,10 @@ class BIOSSelectionView: BaseView {
self.datas = [.desc, .ds]
} else if let gameType, gameType == .ps1 {
self.datas = [.desc, .ps1]
+ } else if let gameType, gameType == .dc {
+ self.datas = [.desc, .dc]
} else {
- self.datas = [.desc, .ps1, .mcd, .ss, .ds]
+ self.datas = [.desc, .dc, .ps1, .mcd, .ss, .ds]
}
super.init(frame: .zero)
Log.debug("\(String(describing: Self.self)) init")
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/DC.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/DC.swift
new file mode 100644
index 00000000..26ef75d8
--- /dev/null
+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/DC.swift
@@ -0,0 +1,183 @@
+//
+// DC.swift
+// ManicEmu
+//
+// Created by Daiuno on 2025/9/4.
+// Copyright © 2025 Manic EMU. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
+import ManicEmuCore
+import AVFoundation
+
+extension GameType
+{
+ static let dc = GameType("public.aoshuang.game.dc")
+}
+
+@objc enum DCGameInput: Int, Input {
+ case a
+ case b
+ case x
+ case y
+ case l
+ case r
+ case start
+ case up
+ case down
+ case left
+ case right
+ case leftThumbstickUp
+ case leftThumbstickDown
+ case leftThumbstickLeft
+ case leftThumbstickRight
+
+ case flex
+ case menu
+
+ public var type: InputType {
+ return .game(.dc)
+ }
+
+ init?(stringValue: String) {
+ if stringValue == "a" { self = .a }
+ else if stringValue == "b" { self = .b }
+ else if stringValue == "x" { self = .x }
+ else if stringValue == "y" { self = .y }
+ else if stringValue == "l" { self = .l }
+ else if stringValue == "r" { self = .r }
+ else if stringValue == "start" { self = .start }
+ else if stringValue == "menu" { self = .menu }
+ else if stringValue == "up" { self = .up }
+ else if stringValue == "down" { self = .down }
+ else if stringValue == "left" { self = .left }
+ else if stringValue == "right" { self = .right }
+ else if stringValue == "leftThumbstickUp" { self = .leftThumbstickUp }
+ else if stringValue == "leftThumbstickDown" { self = .leftThumbstickDown }
+ else if stringValue == "leftThumbstickLeft" { self = .leftThumbstickLeft }
+ else if stringValue == "leftThumbstickRight" { self = .leftThumbstickRight }
+ else if stringValue == "flex" { self = .flex }
+ else { return nil }
+ }
+}
+
+struct DC: ManicEmuCoreProtocol {
+ public static let core = DC()
+
+ public var name: String { "DC" }
+ public var identifier: String { "com.aoshuang.DCCore" }
+
+ public var gameType: GameType { GameType.dc }
+ public var gameInputType: Input.Type { DCGameInput.self }
+ public var gameSaveExtension: String { "srm" }
+
+ public let audioFormat = AVAudioFormat(commonFormat: .pcmFormatInt16, sampleRate: 32040, channels: 2, interleaved: true)!
+ public let videoFormat = VideoFormat(format: .bitmap(.rgb565), dimensions: CGSize(width: 640, height: 480))
+
+ public var supportCheatFormats: Set<CheatFormat> {
+ let actionReplayFormat = CheatFormat(name: NSLocalizedString("Action Replay", comment: ""), format: "XXXXXXXX", type: .actionReplay)
+ return [actionReplayFormat]
+ }
+
+ public var emulatorConnector: EmulatorBase { DCEmulatorBridge.shared }
+
+ private init()
+ {
+ }
+}
+
+
+class DCEmulatorBridge : NSObject, EmulatorBase {
+ static let shared = DCEmulatorBridge()
+
+ var gameURL: URL?
+
+ private(set) var frameDuration: TimeInterval = (1.0 / 60.0)
+
+ var audioRenderer: (any ManicEmuCore.AudioRenderProtocol)?
+
+ var videoRenderer: (any ManicEmuCore.VideoRenderProtocol)?
+
+ var saveUpdateHandler: (() -> Void)?
+
+ private var thumbstickPosition: CGPoint = .zero
+
+ func start(withGameURL gameURL: URL) {}
+
+ func stop() {}
+
+ func pause() {}
+
+ func resume() {}
+
+ func runFrame(processVideo: Bool) {}
+
+ func activateInput(_ input: Int, value: Double, playerIndex: Int) {
+ guard playerIndex >= 0 else { return }
+
+ if input == DCGameInput.leftThumbstickUp || input == DCGameInput.leftThumbstickDown {
+ thumbstickPosition.y = input == DCGameInput.leftThumbstickUp ? value : -value
+ LibretroCore.sharedInstance().moveStick(true, x: thumbstickPosition.x, y: thumbstickPosition.y, playerIndex: UInt32(playerIndex))
+ } else if input == DCGameInput.leftThumbstickLeft || input == DCGameInput.leftThumbstickRight {
+ thumbstickPosition.x = input == DCGameInput.leftThumbstickRight ? value : -value
+ LibretroCore.sharedInstance().moveStick(true, x: thumbstickPosition.x, y: thumbstickPosition.y, playerIndex: UInt32(playerIndex))
+ } else {
+ if let gameInput = DCGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+#if DEBUG
+ Log.debug("\(String(describing: Self.self))点击了:\(gameInput)")
+#endif
+ LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))
+ }
+ }
+ }
+
+ func gameInputToCoreInput(gameInput: DCGameInput) -> LibretroButton? {
+ if gameInput == .a { return .B }
+ else if gameInput == .b { return .A }
+ else if gameInput == .x { return .Y }
+ else if gameInput == .y { return .X }
+ else if gameInput == .l { return .L2 }
+ else if gameInput == .r { return .R2 }
+ else if gameInput == .start { return .start }
+ else if gameInput == .up { return .up }
+ else if gameInput == .down { return .down }
+ else if gameInput == .left { return .left }
+ else if gameInput == .right { return .right }
+ return nil
+ }
+
+ func deactivateInput(_ input: Int, playerIndex: Int) {
+ if input == DCGameInput.leftThumbstickUp || input == DCGameInput.leftThumbstickDown {
+ thumbstickPosition.y = 0
+ LibretroCore.sharedInstance().moveStick(true, x: thumbstickPosition.x, y: thumbstickPosition.y, playerIndex: UInt32(playerIndex))
+ } else if input == DCGameInput.leftThumbstickLeft || input == DCGameInput.leftThumbstickRight {
+ thumbstickPosition.x = 0
+ LibretroCore.sharedInstance().moveStick(true, x: thumbstickPosition.x, y: thumbstickPosition.y, playerIndex: UInt32(playerIndex))
+ } else {
+ if let gameInput = DCGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+ LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))
+ }
+ }
+ }
+
+ func resetInputs() {}
+
+ func saveSaveState(to url: URL) {}
+
+ func loadSaveState(from url: URL) {}
+
+ func saveGameSave(to url: URL) {}
+
+ func loadGameSave(from url: URL) {}
+
+ func addCheatCode(_ cheatCode: String, type: String) -> Bool {
+ return false
+ }
+
+ func resetCheats() {}
+
+ func updateCheats() {}
+
+}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
index e7bf9b48..5859dd16 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
@@ -20,15 +20,15 @@ extension GameType {
guard multiPlatformFileExtensions.contains(ext) else { return [] }
switch ext {
case "chd":
- return [.ps1, .psp, .mcd, .ss]
+ return [.ps1, .psp, .mcd, .ss, .dc]
case "iso":
return [.psp, .mcd, .ss]
case "bin":
- return [.md, .gg, .ms, ._32x]
+ return [.md, .gg, .ms, ._32x, .dc]
case "cue":
- return [.ps1, .mcd, .ss]
+ return [.ps1, .mcd, .ss, .dc]
case "m3u":
- return [ ps1, .mcd, .ss]
+ return [ ps1, .mcd, .ss, .dc]
case "pbp":
return [.ps1, .psp]
case "ccd":
@@ -81,7 +81,9 @@ extension GameType {
self = .pm
} else if ["cue", "m3u", "pbp", "chd", "ccd", "ps1"].contains(ext) {
self = .ps1
- } else {
+ } else if ["cdi", "gdi", "chd", "cue", "bin", "m3u"].contains(ext) {
+ self = .dc
+ } else {
self = .notSupport
}
}
@@ -135,6 +137,8 @@ extension GameType {
self = .pm
} else if shortName.uppercased() == "PS1" {
self = .ps1
+ } else if shortName.uppercased() == "DC" {
+ self = .dc
} else {
return nil
}
@@ -169,6 +173,7 @@ extension GameType {
case .vb: return "Virtual Boy"
case .pm: return "Pokémon Mini"
case .ps1: return "PlayStation"
+ case .dc: return "Dreamcast"
default: return ""
}
}
@@ -195,6 +200,7 @@ extension GameType {
case .vb: return NSLocalizedString("VB", comment: "")
case .pm: return NSLocalizedString("PM", comment: "")
case .ps1: return NSLocalizedString("PS1", comment: "")
+ case .dc: return NSLocalizedString("DC", comment: "")
case .unknown: return R.string.localizable.unknownPlatform()
default: return ""
}
@@ -222,6 +228,7 @@ extension GameType {
case .vb: return 1995
case .pm: return 2001
case .ps1: return 1995
+ case .dc: return 1998
default: return 0
}
}
@@ -248,6 +255,7 @@ extension GameType {
case .vb: return VB.core
case .pm: return PM.core
case .ps1: return PS1.core
+ case .dc: return DC.core
default: return nil
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/LibretroCoreExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/LibretroCoreExtensions.swift
index a53a6bc0..07d47192 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/LibretroCoreExtensions.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/LibretroCoreExtensions.swift
@@ -9,7 +9,7 @@
extension LibretroCore {
enum Cores {
- case Nestopia, Snes9x, PicoDrive, Yabause, BeetleSaturn, Mupen64PlushNext, BeetleVB, PokeMini, BeetlePSXHW, bsnes, Gambatte, VBAM, mGBA
+ case Nestopia, Snes9x, PicoDrive, Yabause, BeetleSaturn, Mupen64PlushNext, BeetleVB, PokeMini, BeetlePSXHW, bsnes, Gambatte, VBAM, mGBA, Flycast
var name: String {
switch self {
@@ -39,6 +39,8 @@ extension LibretroCore {
"VBA-M"
case .mGBA:
"mGBA"
+ case .Flycast:
+ "Flycast"
}
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift
index 416000d7..1db8133f 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/CoreSelectionView.swift
@@ -109,7 +109,7 @@ class CoreSelectionView: BaseView {
make.top.equalTo(detailLabel.snp.bottom).offset(Constants.Size.ContentSpaceMin)
let count = Double(gameType.supportCores.count)
let estimatedHeight = count * Constants.Size.ItemHeightMid + ((count + 1) * Constants.Size.ContentSpaceMax)
- let maxHeight = Constants.Size.WindowHeight/3
+ let maxHeight = Constants.Size.WindowHeight/2
make.height.equalTo(min(estimatedHeight, maxHeight))
if !cancelEnable {
make.bottom.equalToSuperview().offset(-Constants.Size.ContentInsetBottom)
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/Database.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/Database.swift
index 9c5f357f..0fced377 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/Database.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/Database.swift
@@ -236,7 +236,7 @@ struct Database {
}
}
- if systemCoreVersionNumber < 161 {
+ if systemCoreVersionNumber < 170 {
//调整snes gba的默认核心
let games = realm.objects(Game.self).where({ $0.gameType == .snes || $0.gameType == .gba })
if games.count > 0 {
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
index 480a2f5e..8b2c0b3e 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
@@ -72,15 +72,15 @@ extension FilesImporter {
var urls = urls.filter({ !FileType.zip.extensions.contains($0.pathExtension) }) + unzipUrls
//先处理cue和m3u
- let (cueResultUrls, cueResultError, cueResultItems) = handleCueFiles(urls: urls)
- let (m3uResultUrls, m3uResultError, m3uResultM3uItems, m3uResultCueItems) = handleM3uFiles(urls: cueResultUrls, cueItems: cueResultItems)
+ let (multiFileResultUrls, multiFileResultError, multiFileResultItems) = handleMultiFiles(urls: urls)
+ let (m3uResultUrls, m3uResultError, m3uResultM3uItems, m3uResultMultiFileItems) = handleM3uFiles(urls: multiFileResultUrls, multiFileItems: multiFileResultItems)
urls = m3uResultUrls
let group = DispatchGroup()
var errors: [ImportError] = []
var gameErrors = [ImportError]()
gameErrors.append(contentsOf: m3uResultError)
- gameErrors.append(contentsOf: cueResultError)
+ gameErrors.append(contentsOf: multiFileResultError)
var skinErrors: [ImportError] = []
var gameSaveErrors: [ImportError] = []
var importGames: [String] = []
@@ -92,9 +92,9 @@ extension FilesImporter {
switch fileType {
case .game:
group.enter()
- let isCue = url.pathExtension.lowercased() == "cue"
- let isMultiFiles = isCue || (url.pathExtension.lowercased() == "m3u")
- let multiFileRoms = (isCue ? m3uResultCueItems : m3uResultM3uItems)
+ let isCueOrGdi = url.pathExtension.lowercased() == "cue" || (url.pathExtension.lowercased() == "gdi")
+ let isMultiFiles = isCueOrGdi || (url.pathExtension.lowercased() == "m3u")
+ let multiFileRoms = (isCueOrGdi ? m3uResultMultiFileItems : m3uResultM3uItems)
let items = multiFileRoms.first(where: { $0.url == url })?.files ?? []
importGame(url: url, items: isMultiFiles ? items : []) { gameName, error in
if let error = error {
@@ -437,7 +437,7 @@ extension FilesImporter {
} else {
do {
if items.count > 0 {
- //可能是m3u或者cue
+ //可能是m3u或者cue或者gdi
let romUrl = game.romUrl
let romParentPath = romUrl.path.deletingLastPathComponent
try FileManager.safeCopyItem(at: url, to: romUrl, shouldReplace: true)
@@ -481,7 +481,7 @@ extension FilesImporter {
if ciaTitleUrl == nil {
//cia格式的3DS不需要拷贝了 因为已经安装进游戏目录了
if items.count > 0 {
- //可能是m3u或者cue
+ //可能是m3u或者cue或者gdi
let romUrl = game.romUrl
let romParentPath = romUrl.path.deletingLastPathComponent
try FileManager.safeCopyItem(at: url, to: romUrl, shouldReplace: true)
@@ -882,13 +882,13 @@ extension FilesImporter {
}
}
- static func handleM3uFiles(urls: [URL], cueItems: [MultiFileRom]) -> (result: [URL], errors: [ImportError], m3uItems: [MultiFileRom], cueItems: [MultiFileRom]) {
+ static func handleM3uFiles(urls: [URL], multiFileItems: [MultiFileRom]) -> (result: [URL], errors: [ImportError], m3uItems: [MultiFileRom], multiFileItems: [MultiFileRom]) {
var resultUrls = [URL]()
var resultM3uItems = [MultiFileRom]()
var resultErrors = [ImportError]()
var excludeUrls = [URL]()
- var excludeCues = [MultiFileRom]()
+ var excludeMultiFiles = [MultiFileRom]()
for url in urls {
if url.pathExtension.lowercased() == "m3u" {
if let content = try? String(contentsOf: url) {
@@ -907,9 +907,9 @@ extension FilesImporter {
if let fileUrl = urls.first(where: { $0.lastPathComponent == fileName}) {
if fileUrl.pathExtension.lowercased() == "cue" {
//cue文件则从cueItems中进行判断
- if let cue = cueItems.first(where: { $0.url.lastPathComponent == fileName }) {
+ if let cue = multiFileItems.first(where: { $0.url.lastPathComponent == fileName }) {
//cue文件存在 则排除这个cue
- excludeCues.append(cue)
+ excludeMultiFiles.append(cue)
excludeUrls.append(cue.url)
m3uFiles.append(cue.url)
m3uFiles.append(contentsOf: cue.files)
@@ -937,7 +937,7 @@ extension FilesImporter {
excludeUrls.append(url)
for fileName in fileNames {
if fileName.pathExtension.lowercased() == "cue" {
- excludeCues.append(contentsOf: cueItems.filter({ $0.url.lastPathComponent == fileName }))
+ excludeMultiFiles.append(contentsOf: multiFileItems.filter({ $0.url.lastPathComponent == fileName }))
} else {
excludeUrls.append(contentsOf: urls.filter({ $0.lastPathComponent == fileName }))
}
@@ -960,8 +960,8 @@ extension FilesImporter {
//排除m3u的files
resultUrls.removeAll(where: { excludeUrls.contains([$0]) })
- let resultCueItems = cueItems.filter { originCue in
- if excludeCues.contains(where: { $0.url == originCue.url }) {
+ let resultCueItems = multiFileItems.filter { originCue in
+ if excludeMultiFiles.contains(where: { $0.url == originCue.url }) {
return false
}
return true
@@ -981,39 +981,57 @@ extension FilesImporter {
}
}
- static func handleCueFiles(urls: [URL]) -> (results: [URL], errors: [ImportError], cueItems: [MultiFileRom]) {
+ fileprivate static func extractGdiFilenames(from content: String) -> [String] {
+ var filenames: [String] = []
+
+ let lines = content.split(separator: "\n").map { $0.trimmingCharacters(in: .whitespaces) }
+
+ // 第一行是文件总数,跳过
+ for line in lines.dropFirst() {
+ let components = line.split(separator: " ")
+ if components.count >= 2 {
+ let filename = components[components.count - 2] // 倒数第二列才是文件名
+ filenames.append(String(filename))
+ }
+ }
+
+ return filenames
+ }
+
+ static func handleMultiFiles(urls: [URL]) -> (results: [URL], errors: [ImportError], cueItems: [MultiFileRom]) {
var results = [URL]()
var excludes = [URL]()
var errors = [ImportError]()
var cueItems = [MultiFileRom]()
for url in urls {
- if url.pathExtension.lowercased() == "cue" {
+ if url.pathExtension.lowercased() == "cue" || url.pathExtension.lowercased() == "gdi" {
if let content = try? String(contentsOf: url) {
- var isBadCue = false
+ let isCue = url.pathExtension.lowercased() == "cue"
+ var isBadFile = false
var missFileName = ""
- var cueFiles = [URL]()
- let fileNames = extractCueFilenames(from: content)
+ var multiFiles = [URL]()
+ let fileNames = isCue ? extractCueFilenames(from: content) : extractGdiFilenames(from: content)
guard fileNames.count > 0 else {
- errors.append(.badCue(fileName: url.lastPathComponent))
+ errors.append(.badMultiFile(fileName: url.lastPathComponent))
continue
}
for fileName in fileNames {
- //读取cue的每一个文件
+ //读取每一个文件
if !fileName.isEmpty {
//查询这个文件是否存在
if let fileUrl = urls.first(where: { $0.lastPathComponent == fileName}) {
//文件存在 则将这个文件排除,不再需要导入
excludes.append(fileUrl)
- cueFiles.append(fileUrl)
+ multiFiles.append(fileUrl)
} else {
- //cue中的文件不存在 说明这个cue不合法,文件有缺失 则不导入这个cue文件,并且将cue中的其他文件也一并排除
- isBadCue = true
+ //文件不存在 说明这个多文件格式不合法,文件有缺失 则不导入这个文件,并且将其他文件也一并排除
+ isBadFile = true
missFileName = fileName
break
}
}
}
- if isBadCue {
+ if isBadFile {
//排除错误文件
excludes.append(url)
for fileName in fileNames {
@@ -1023,18 +1041,18 @@ extension FilesImporter {
} else {
//cue文件合法
results.append(url)
- cueItems.append(MultiFileRom(url: url, files: cueFiles))
+ cueItems.append(MultiFileRom(url: url, files: multiFiles))
}
} else {
//无法读取cue文件
- errors.append(.badCue(fileName: url.lastPathComponent))
+ errors.append(.badMultiFile(fileName: url.lastPathComponent))
}
} else {
results.append(url)
}
}
- //排除cue的files
+ //排除files
results.removeAll(where: { excludes.contains([$0]) })
return (results, errors, cueItems)
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
index 5e94bce4..bbaf7ce5 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
@@ -111,6 +111,8 @@ class OnlineCoverManager {
boxArtUrl = host.appendingPathComponent("Nintendo - Pokemon Mini/Named_Boxarts/")
case .ps1:
boxArtUrl = host.appendingPathComponent("Sony - PlayStation/Named_Boxarts/")
+ case .dc:
+ boxArtUrl = host.appendingPathComponent("Sega - Dreamcast/Named_Boxarts/")
default:
boxArtUrl = nil
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift
index 6df98c08..7dcc9cb1 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/PlatformSelectionView.swift
@@ -105,7 +105,7 @@ class PlatformSelectionView: BaseView {
make.top.equalTo(detailLabel.snp.bottom).offset(Constants.Size.ContentSpaceMin)
let count = Double(GameType.gameTypes(multiPlatformFileExtension: fileExtension).count)
let estimatedHeight = count * Constants.Size.ItemHeightMid + ((count + 1) * Constants.Size.ContentSpaceMax)
- let maxHeight = Constants.Size.WindowHeight/3
+ let maxHeight = Constants.Size.WindowHeight/2
make.height.equalTo(min(estimatedHeight, maxHeight))
if !cancelEnable {
make.bottom.equalToSuperview().offset(-Constants.Size.ContentInsetBottom)
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
index c300e0f7..8731fdc0 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
@@ -12,6 +12,7 @@ import MelonDSDeltaCore
enum System: CaseIterable
{
+ case dc
case ps1
case pm
case vb
@@ -38,7 +39,7 @@ enum System: CaseIterable
}
static var allCores: [ManicEmuCoreProtocol] {
- return [NES.core, SNES.core, ThreeDS.core, GBC.core, GBA.core, MelonDS.core, PSP.core, MD.core, MCD.core, S2X.core, SG1000.core, GG.core, MS.core, SS.core, N64.core, GB.core, VB.core, PM.core, PS1.core]
+ return [NES.core, SNES.core, ThreeDS.core, GBC.core, GBA.core, MelonDS.core, PSP.core, MD.core, MCD.core, S2X.core, SG1000.core, GG.core, MS.core, SS.core, N64.core, GB.core, VB.core, PM.core, PS1.core, DC.core]
}
}
@@ -66,6 +67,7 @@ extension System {
case .vb: return .vb
case .pm: return .pm
case .ps1: return .ps1
+ case .dc: return .dc
}
}
}
diff --git a/ManicEmu/Podfile b/ManicEmu/Podfile
index 0b01ff8c..a8bbbac7 100644
--- a/ManicEmu/Podfile
+++ b/ManicEmu/Podfile
@@ -26,8 +26,8 @@ target 'ManicEmu' do
pod 'MarqueeLabel', :path => '../MarqueeLabel'
pod 'RealmSwift', '= 10.54.2'
-# pod 'UMCommon', '~> 7.5.2', :configurations => ['SideloadDebug']
-# pod 'UMAPM', '~> 2.0.3', :configurations => ['SideloadDebug']
+ pod 'UMCommon', '~> 7.5.2', :configurations => ['SideloadDebug']
+ pod 'UMAPM', '~> 2.0.3', :configurations => ['SideloadDebug']
pod 'Fireworks', :git => 'https://github.com/tomkowz/fireworks.git', :branch => 'master'
pod 'SnapKit', '~> 5.0'
pod 'SwifterSwift', '~> 7.0'
diff --git a/ManicEmu/Podfile.lock b/ManicEmu/Podfile.lock
index dbc90d93..caaea17b 100644
--- a/ManicEmu/Podfile.lock
+++ b/ManicEmu/Podfile.lock
@@ -182,6 +182,11 @@ PODS:
- SwipeCellKit (2.7.1)
- Tiercel (3.2.5)
- TKSwitcherCollection (1.4.3)
+ - UMAPM (2.0.4):
+ - UMCommon
+ - UMCommon (7.5.2):
+ - UMDevice
+ - UMDevice (3.4.0)
- VisualEffectView (5.0.0)
- ZIPFoundation (0.9.19)
@@ -228,6 +233,8 @@ DEPENDENCIES:
- SwipeCellKit (from `../SwipeCellKit`)
- Tiercel (~> 3.0)
- TKSwitcherCollection (from `../TKSwitcherCollection`)
+ - UMAPM (~> 2.0.3)
+ - UMCommon (~> 7.5.2)
- VisualEffectView (~> 5.0)
- ZIPFoundation (from `../ZIPFoundation`)
@@ -264,6 +271,9 @@ SPEC REPOS:
- SQLite.swift
- SwifterSwift
- Tiercel
+ - UMAPM
+ - UMCommon
+ - UMDevice
- VisualEffectView
EXTERNAL SOURCES:
@@ -372,9 +382,12 @@ SPEC CHECKSUMS:
SwipeCellKit: 3972254a826da74609926daf59b08d6c72e619ea
Tiercel: c0a73f876a72800333b15f4e7e48791f4ad21e90
TKSwitcherCollection: 6805f52958a8b661cd583a538345618a26ff9263
+ UMAPM: f038b65a3df4fe8e2df3245642d84cff7f5f63c8
+ UMCommon: 72513a01ebca2dead52f2112b4d7c6196dbbe412
+ UMDevice: dcdf7ec167387837559d149fbc7d793d984faf82
VisualEffectView: 173e1fabc2eb37af663547e14dc12efef7d2da8b
ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c
-PODFILE CHECKSUM: 997e6e751c84fc3918e48fd409c14073df9457ca
+PODFILE CHECKSUM: 03b6ff0026ba52f37ef859aed65b00498916c922
COCOAPODS: 1.16.2
diff --git a/ManicSupport/Resources/System.core b/ManicSupport/Resources/System.core
index dea87c51..817570c1 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:39bd8ecdb91dd1585f0cc8564e81cf2294dc6f53eb307a9c3bdd9639c7655d77
-size 57303628
+oid sha256:0bb4e2a34b826581e49c6b628c1c0fdb80c41968a97240aa36e2ef6ff0c5e32e
+size 63746443
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 68a39a1a..41d75c75 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -1,3 +1,346 @@
+## Flycast
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
+
+
+
## Citra
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991