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

Add Neo Geo Pocket Support.

Daiuno9c0473157a23
diff --git a/Cores/mednafen.ngp.libretro.framework/Info.plist b/Cores/mednafen.ngp.libretro.framework/Info.plist
new file mode 100644
index 00000000..fbe9d351
--- /dev/null
+++ b/Cores/mednafen.ngp.libretro.framework/Info.plist
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64398fe47aa0dd301a8c9b8384d1f6084ade143a1df63b8630645e3fdbe82efa
+size 733
diff --git a/Cores/mednafen.ngp.libretro.framework/_CodeSignature/CodeResources b/Cores/mednafen.ngp.libretro.framework/_CodeSignature/CodeResources
new file mode 100644
index 00000000..8ba8bbb6
--- /dev/null
+++ b/Cores/mednafen.ngp.libretro.framework/_CodeSignature/CodeResources
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:afa016d2bd3521e4a59ea73aa69d2dbb7b2f5a5ac0e36c4d8380718796821ca7
+size 1798
diff --git a/Cores/mednafen.ngp.libretro.framework/mednafen.ngp.libretro b/Cores/mednafen.ngp.libretro.framework/mednafen.ngp.libretro
new file mode 100755
index 00000000..f607e07c
--- /dev/null
+++ b/Cores/mednafen.ngp.libretro.framework/mednafen.ngp.libretro
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1eb52a1d1166b893bc94489d5e1d51d3190ec3e6f47fc169231d0a9620b42290
+size 321712
diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
index f31c3897..1d9b47cb 100644
--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
@@ -1055,6 +1055,10 @@
AA122ED56C3140C1864D4EC8 /* mednafen.pce.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9408D7BF872544CFABE4D652 /* mednafen.pce.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1CAAD3DB49C34DAD998DD033 /* PCE.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0E402E22DFA4C9D96FFBC89 /* PCE.swift */; };
D94752D7D273464B9E4B625C /* PCE.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0E402E22DFA4C9D96FFBC89 /* PCE.swift */; };
+ 0750DCA306CA4EB7A036C987 /* mednafen.ngp.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4C56A0D131A148448EA9816B /* mednafen.ngp.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 5F74DFC689D94836B20159EB /* mednafen.ngp.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4C56A0D131A148448EA9816B /* mednafen.ngp.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ A672B510CD9141B18392D564 /* NGP.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78D4867970474EB9B27D4D8D /* NGP.swift */; };
+ 1186ADAD578A4FAC9E5337EA /* NGP.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78D4867970474EB9B27D4D8D /* NGP.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -1092,6 +1096,7 @@
dstSubfolderSpec = 10;
files = (
+ 0750DCA306CA4EB7A036C987 /* mednafen.ngp.libretro.framework in Embed Frameworks */,
FFD8F5F4CE02425E8BA80296 /* mednafen.pce.libretro.framework in Embed Frameworks */,
2A84A76AE2A94C3EB048E0D1 /* dolphin.libretro.framework in Embed Frameworks */,
DE2953C2BE0E42C8A8F0EEAB /* eka2l1.libretro.framework in Embed Frameworks */,
@@ -1144,6 +1149,7 @@
dstSubfolderSpec = 10;
files = (
+ 5F74DFC689D94836B20159EB /* mednafen.ngp.libretro.framework in Embed Frameworks */,
AA122ED56C3140C1864D4EC8 /* mednafen.pce.libretro.framework in Embed Frameworks */,
23CE581FDA6A4771B987DE69 /* dolphin.libretro.framework in Embed Frameworks */,
349598F48E5541F89B1CBE80 /* eka2l1.libretro.framework in Embed Frameworks */,
@@ -6007,6 +6013,8 @@
F0C500000000000000000108 /* FocusSystem+UIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FocusSystem+UIViewController.swift"; sourceTree = "<group>"; };
9408D7BF872544CFABE4D652 /* mednafen.pce.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = mednafen.pce.libretro.framework; path = ../Cores/mednafen.pce.libretro.framework; sourceTree = SOURCE_ROOT; };
A0E402E22DFA4C9D96FFBC89 /* PCE.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PCE.swift; sourceTree = "<group>"; };
+ 4C56A0D131A148448EA9816B /* mednafen.ngp.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = mednafen.ngp.libretro.framework; path = ../Cores/mednafen.ngp.libretro.framework; sourceTree = SOURCE_ROOT; };
+ 78D4867970474EB9B27D4D8D /* NGP.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NGP.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -11811,6 +11819,7 @@
isa = PBXGroup;
children = (
+ 4C56A0D131A148448EA9816B /* mednafen.ngp.libretro.framework */,
9408D7BF872544CFABE4D652 /* mednafen.pce.libretro.framework */,
9770068F58CC4F29B21DE396 /* dolphin.libretro.framework */,
25F38CF54CA347238295BE77 /* eka2l1.libretro.framework */,
@@ -11985,6 +11994,7 @@
isa = PBXGroup;
children = (
+ 78D4867970474EB9B27D4D8D /* NGP.swift */,
A0E402E22DFA4C9D96FFBC89 /* PCE.swift */,
0A2DDA01B1DB4E15B8F0C5C6 /* Wii.swift */,
691349DFB9FB4307A3151455 /* NGC.swift */,
@@ -12798,6 +12808,7 @@
buildActionMask = 2147483647;
files = (
+ A672B510CD9141B18392D564 /* NGP.swift in Sources */,
1CAAD3DB49C34DAD998DD033 /* PCE.swift in Sources */,
0E964747C5B24B348A8665E0 /* Wii.swift in Sources */,
3008E79240634E729DB35FEB /* NGC.swift in Sources */,
@@ -13205,6 +13216,7 @@
buildActionMask = 2147483647;
files = (
+ 1186ADAD578A4FAC9E5337EA /* NGP.swift in Sources */,
D94752D7D273464B9E4B625C /* PCE.swift in Sources */,
023B2A9DBF6F473782A64EC6 /* Wii.swift in Sources */,
A65D0A457B5749D3B4E590B2 /* NGC.swift in Sources */,
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/Contents.json
new file mode 100644
index 00000000..867c501f
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..00db94a8
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..4ee0cf86
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..00196f94
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..437d9a30
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_color_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/Contents.json
new file mode 100644
index 00000000..7c313c38
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..027b8b33
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..e7f08ec8
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..3d9dc450
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected]
new file mode 100644
index 00000000..901819c4
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Brand/ngp_group_brand.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/Contents.json
new file mode 100644
index 00000000..8f65522a
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..297fe9ad
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..9647301a
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..8c1b7235
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..4b05f6ee
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/Contents.json
new file mode 100644
index 00000000..8536bbb3
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..13ddad78
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..7878cd27
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..b8743e40
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..2a65bc95
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_color_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/Contents.json
new file mode 100644
index 00000000..ee44c817
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..a754f72b
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..3649eec8
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..5a180151
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected]
new file mode 100644
index 00000000..bf7a3ea1
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_h.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/Contents.json
new file mode 100644
index 00000000..bf686950
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..8d29db0f
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..e1270a48
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..3574427a
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected]
new file mode 100644
index 00000000..d923d326
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Cover/ngp_cover_v.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/Contents.json
new file mode 100644
index 00000000..d6ec0ad0
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.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/Manufacturer/snk_highlight.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/[email protected]
new file mode 100644
index 00000000..e7ae63e9
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/[email protected]
new file mode 100644
index 00000000..08da7270
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_highlight.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/Contents.json b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/Contents.json
new file mode 100644
index 00000000..6a2d51c2
--- /dev/null
+++ b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/Contents.json
@@ -0,0 +1,54 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "[email protected]",
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected]
new file mode 100644
index 00000000..3f42b84d
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected]
new file mode 100644
index 00000000..cd75b967
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected]
new file mode 100644
index 00000000..ae9ac63e
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected]
new file mode 100644
index 00000000..05205f8e
Binary files /dev/null and b/ManicEmu/ManicEmu/Resources/Assets.xcassets/Manufacturer/snk_normal.imageset/[email protected] differ
diff --git a/ManicEmu/ManicEmu/Resources/Info.plist b/ManicEmu/ManicEmu/Resources/Info.plist
index 794a0680..8ff1f8d7 100644
--- a/ManicEmu/ManicEmu/Resources/Info.plist
+++ b/ManicEmu/ManicEmu/Resources/Info.plist
@@ -423,6 +423,18 @@
<string>public.aoshuang.game.pce</string>
</array>
</dict>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>NGP Game</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>public.aoshuang.game.ngp</string>
+ </array>
+ </dict>
<dict>
<key>CFBundleTypeName</key>
<string>Manic EMU Controller Skin</string>
@@ -1486,6 +1498,30 @@
</array>
</dict>
</dict>
+ <dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.data</string>
+ </array>
+ <key>UTTypeDescription</key>
+ <string>NGP Game</string>
+ <key>UTTypeIconFiles</key>
+ <array>
+ <string>file_icon.png</string>
+ </array>
+ <key>UTTypeIdentifier</key>
+ <string>public.aoshuang.game.ngp</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>ngp</string>
+ <string>ngc</string>
+ <string>ngpc</string>
+ <string>npc</string>
+ </array>
+ </dict>
+ </dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
diff --git a/ManicEmu/ManicEmu/Sources/Base/Constants.swift b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
index b72ea314..120d5bf6 100644
--- a/ManicEmu/ManicEmu/Sources/Base/Constants.swift
+++ b/ManicEmu/ManicEmu/Sources/Base/Constants.swift
@@ -75,6 +75,7 @@ extension _R {
case .chm: return 0.7908
case .xbox: return 0.714
case .ngc, .wii: return 0.706
+ case .ngp, .ngpc: return 0.8594
default: return 1.0
}
case .style2:
@@ -491,6 +492,7 @@ extension _R {
static let VirtualJaguar = Document.appendingPathComponent(EmulationCore.VirtualJaguar.name)
static let Holani = Document.appendingPathComponent(EmulationCore.Holani.name)
static let BeetlePCE = Document.appendingPathComponent(EmulationCore.BeetlePCE.name)
+ static let BeetleNeoPop = Document.appendingPathComponent(EmulationCore.BeetleNeoPop.name)
static let LibretroSavePath = Document
static let GamesDB = Resource.appendingPathComponent("Games.db")
static let MAMEDB = Resource.appendingPathComponent("MAME.db")
diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Models/Manufacturer.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Models/Manufacturer.swift
index 346e62e3..e6cc79b3 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Common/Models/Manufacturer.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Models/Manufacturer.swift
@@ -9,13 +9,13 @@
enum Manufacturer: Int, CaseIterable {
- case nintendo, sony, sega, arcade, atari, sun, microsoft, modRetro, nokia, nec
+ case nintendo, sony, sega, arcade, atari, sun, microsoft, modRetro, nokia, nec, snk
static var allCases: [Manufacturer] {
if Locale.prefersUS {
- [.nintendo, .sony, .sega, .atari, .arcade, .sun, .microsoft, .modRetro, .nokia, .nec]
+ [.nintendo, .sony, .sega, .atari, .arcade, .sun, .microsoft, .modRetro, .nokia, .nec, .snk]
} else {
- [.nintendo, .sony, .sega, .arcade, .atari, .sun, .microsoft, .modRetro, .nokia, .nec]
+ [.nintendo, .sony, .sega, .arcade, .atari, .sun, .microsoft, .modRetro, .nokia, .nec, .snk]
}
}
@@ -49,6 +49,8 @@ enum Manufacturer: Int, CaseIterable {
"Nokia"
case .nec:
"NEC"
+ case .snk:
+ "SNK"
}
}
@@ -81,6 +83,8 @@ enum Manufacturer: Int, CaseIterable {
R.image.nokia_normal()!
case .nec:
R.image.nec_normal()!
+ case .snk:
+ R.image.snk_normal()!
}
}
@@ -106,6 +110,8 @@ enum Manufacturer: Int, CaseIterable {
R.image.nokia_highlight()!
case .nec:
R.image.nec_highlight()!
+ case .snk:
+ R.image.snk_highlight()!
}
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
index d2e9f5d8..b788e9cf 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/ViewControllers/GamesViewController.swift
@@ -307,7 +307,6 @@ class GamesViewController: BaseViewController {
make.leading.bottom.trailing.equalToSuperview()
}
- gamesSeperatorView.isHidden = gamesToolViewIsHidden
if gamesSeperatorView.superview == nil {
view.addSubview(gamesSeperatorView)
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
index f5e85b16..f2c85de7 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameCoverView.swift
@@ -315,6 +315,12 @@ class GameCoverView: BaseView {
} else if gameTypeCategory == 3 {
image = style == .style2 ? R.image.supergrafx_cover_v() : R.image.supergrafx_cover_h()
}
+ } else if gameType == .ngp {
+ if gameTypeCategory == 0 {
+ image = style == .style2 ? R.image.ngp_cover_v() : R.image.ngp_cover_h()
+ } else if gameTypeCategory == 1 {
+ image = style == .style2 ? R.image.ngp_color_cover_v() : R.image.ngp_color_cover_h()
+ }
}
if UIDevice.isPhone, !UIDevice.isLandscape, scalePlatform, R.Style.GamesPerRow != 2, let unwrapImage = image {
image = unwrapImage.scaled(toWidth: unwrapImage.size.width * (1/(R.Style.GamesPerRow-1)))
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListLandscapeView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListLandscapeView.swift
index 1a92421c..d163ec3f 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListLandscapeView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListLandscapeView.swift
@@ -420,6 +420,8 @@ class GameListLandscapeView: BaseView {
platform = GameType.dos.localizedShortName
} else if gameType == .turbografx_16 || gameType == .turbografx_cd || gameType == .supergrafx {
platform = GameType.pce.localizedShortName
+ } else if gameType == .ngpc {
+ platform = GameType.ngp.localizedShortName
}
return Settings.defalut.getPlatformVisible(platform: platform)
}
@@ -433,6 +435,8 @@ class GameListLandscapeView: BaseView {
return manufacturer.gameTypes.contains(.dos)
case .turbografx_16, .turbografx_cd, .supergrafx:
return manufacturer.gameTypes.contains(.pce)
+ case .ngpc:
+ return manufacturer.gameTypes.contains(.ngp)
default:
return manufacturer.gameTypes.contains(gameType)
}
@@ -448,6 +452,7 @@ class GameListLandscapeView: BaseView {
order.insert(.turbografx_16, at: order.firstIndex(of: .pce)!)
order.insert(.turbografx_cd, at: order.firstIndex(of: .turbografx_16)!)
order.insert(.supergrafx, at: order.firstIndex(of: .turbografx_cd)!)
+ order.insert(.ngpc, at: order.firstIndex(of: .ngp)!)
return order
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
index a67f85d1..332ba436 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Views/GameListView.swift
@@ -325,6 +325,9 @@ class GameListView: BaseView {
self.reloadIndexView()
if !self.isGamesExist {
UIView.springAnimate { self.bottomToolView.alpha = 0 }
+ if self.isSelectionMode {
+ self.selectionMode = .normalMode
+ }
}
}
@@ -455,6 +458,22 @@ class GameListView: BaseView {
normalDatas[.supergrafx] = supergrafxGames.count > 0 ? supergrafxGames : nil
}
+ //NGP games can switch categories
+ if let ngpGames = normalDatas[.ngp], ngpGames.count > 0 {
+ var newNgpGames = [Game]()
+ var ngpcGames = [Game]()
+ for ngp in ngpGames {
+ let ngpGameType = ngp.getExtraInt(key: ExtraKey.gameTypeCategory.rawValue) ?? 0
+ if ngpGameType == 0 {
+ newNgpGames.append(ngp)
+ } else if ngpGameType == 1 {
+ ngpcGames.append(ngp)
+ }
+ }
+ normalDatas[.ngp] = newNgpGames.count > 0 ? newNgpGames : nil
+ normalDatas[.ngpc] = ngpcGames.count > 0 ? ngpcGames : nil
+ }
+
//hide platform
let allGameTypes = normalDatas.keys
for gameType in allGameTypes {
@@ -466,6 +485,8 @@ class GameListView: BaseView {
platform = GameType.dos.localizedShortName
} else if gameType == .turbografx_16 || gameType == .turbografx_cd || gameType == .supergrafx {
platform = GameType.pce.localizedShortName
+ } else if gameType == .ngpc {
+ platform = GameType.ngp.localizedShortName
}
visible = Settings.defalut.getPlatformVisible(platform: platform)
if !visible {
@@ -736,6 +757,11 @@ class GameListView: BaseView {
return true
}
+ if gameType == .ngpc,
+ games.where({ $0.gameType == .ngp }).filter({ ($0.getExtraInt(key: ExtraKey.gameTypeCategory.rawValue) ?? 0) == 1 }).count > 0 {
+ return true
+ }
+
if games.count(where: { $0.gameType == gameType }) > 0 {
return true
}
@@ -782,6 +808,7 @@ extension GameListView: UICollectionViewDataSource {
predefinedOrder.insert(.turbografx_16, at: predefinedOrder.firstIndex(of: .pce)!)
predefinedOrder.insert(.turbografx_cd, at: predefinedOrder.firstIndex(of: .turbografx_16)!)
predefinedOrder.insert(.supergrafx, at: predefinedOrder.firstIndex(of: .turbografx_cd)!)
+ predefinedOrder.insert(.ngpc, at: predefinedOrder.firstIndex(of: .ngp)!)
let sortedKeys: [GameType] = predefinedOrder.filter { (isSearchMode ? searchDatas : normalDatas).keys.contains($0) }
return sortedKeys
}
@@ -804,8 +831,8 @@ extension GameListView: UICollectionViewDataSource {
}
private func getIndexPath(for game: Game) -> IndexPath? {
- if let results = (isSearchMode ? searchDatas : normalDatas)[game.gameType] {
- if let section = sortDatasKeys().firstIndex(of: game.gameType), let row = results.firstIndex(of: game) {
+ if let results = (isSearchMode ? searchDatas : normalDatas)[game.effectiveGameType] {
+ if let section = sortDatasKeys().firstIndex(of: game.effectiveGameType), let row = results.firstIndex(of: game) {
return IndexPath(row: row, section: section)
}
}
@@ -870,6 +897,10 @@ extension GameListView: UICollectionViewDataSource {
} else if gameTypeCategory == 3 {
coverGameType = .supergrafx
}
+ } else if game.gameType == .ngp {
+ if gameTypeCategory == 1 {
+ coverGameType = .ngpc
+ }
}
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
index 3c369ec2..7270c9e1 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift
@@ -237,6 +237,8 @@ class Game: Object, ObjectUpdatable {
return URL(fileURLWithPath: R.Path.Holani.appendingPathComponent("\(name).srm"))
} else if gameType == .pce {
return URL(fileURLWithPath: R.Path.BeetlePCE.appendingPathComponent("\(name).srm"))
+ } else if gameType == .ngp {
+ return URL(fileURLWithPath: R.Path.BeetleNeoPop.appendingPathComponent("\(name).flash"))
} else if gameType == .j2me {
return URL(fileURLWithPath: R.Path.Data.appendingPathComponent("\(name).\(defaultCore == 0 ? EmulationCore.J2meJS.name : EmulationCore.freej2me.name).\(gameType.manicEmuCore?.gameSaveFileExtension ?? "")"))
} else if gameType == .dos {
@@ -466,6 +468,8 @@ class Game: Object, ObjectUpdatable {
return .Holani
} else if gameType == .pce {
return .BeetlePCE
+ } else if gameType == .ngp {
+ return .BeetleNeoPop
} else if gameType == .dos {
return .DOSBoxPure
} else if gameType == .symbian {
@@ -573,6 +577,8 @@ class Game: Object, ObjectUpdatable {
return Bundle.main.path(forResource: "holani.libretro", ofType: "framework", inDirectory: "Frameworks")
} else if gameType == .pce {
return Bundle.main.path(forResource: "mednafen.pce.libretro", ofType: "framework", inDirectory: "Frameworks")
+ } else if gameType == .ngp {
+ return Bundle.main.path(forResource: "mednafen.ngp.libretro", ofType: "framework", inDirectory: "Frameworks")
} else if gameType == .dos {
return Bundle.main.path(forResource: "dosbox.pure.libretro", ofType: "framework", inDirectory: "Frameworks")
} else if gameType == .symbian {
@@ -1016,7 +1022,7 @@ class Game: Object, ObjectUpdatable {
}
var supportChangeCategory: Bool {
- if gameType == .gb || gameType == .dos || gameType == .pce {
+ if gameType == .gb || gameType == .dos || gameType == .pce || gameType == .ngp {
return true
}
return false
@@ -1029,15 +1035,17 @@ class Game: Object, ObjectUpdatable {
return [.dos, .win95, .win98]
} else if gameType == .pce {
return [.pce, .turbografx_16, .turbografx_cd, .supergrafx]
+ } else if gameType == .ngp {
+ return [.ngp, .ngpc]
}
return []
}
func updateCategory(gameType: GameType) {
guard supportChangeCategory else { return }
- if gameType == .gb || gameType == .dos || gameType == .pce {
+ if gameType == .gb || gameType == .dos || gameType == .pce || gameType == .ngp {
updateExtra(key: ExtraKey.gameTypeCategory.rawValue, value: 0)
- } else if gameType == .chm || gameType == .win95 || gameType == .turbografx_16 {
+ } else if gameType == .chm || gameType == .win95 || gameType == .turbografx_16 || gameType == .ngpc {
updateExtra(key: ExtraKey.gameTypeCategory.rawValue, value: 1)
} else if gameType == .win98 || gameType == .turbografx_cd {
updateExtra(key: ExtraKey.gameTypeCategory.rawValue, value: 2)
@@ -1067,7 +1075,7 @@ class Game: Object, ObjectUpdatable {
return nil
}
- ///GB/DOS/PCE support category switching onto virtual GameTypes
+ ///GB/DOS/PCE/NGP support category switching onto virtual GameTypes
var effectiveGameType: GameType {
virtualGameType ?? gameType
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
index 4b3b4492..e7612e29 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift
@@ -732,6 +732,8 @@ class PlayViewController: GameViewController {
(manicGame.gameType == .symbian && UIDevice.isPhone) ||
manicGame.gameType == .pce {
make.height.equalTo(R.Size.ItemHeightMicro)
+ } else if manicGame.gameType == .ngp {
+ make.height.equalTo(R.Size.ItemHeightTiny)
} else {
make.height.equalTo(R.Size.ItemHeightMedium)
}
@@ -2204,8 +2206,7 @@ extension PlayViewController {
LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: R.Path.PrBoom.libretroPath)
} else if manicGame.gameType == .dos {
LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: R.Path.DOSBoxPure.libretroPath)
- }
- else {
+ } else {
LibretroCore.sharedInstance().updateLibretroConfig("savefile_directory", value: R.Path.LibretroSavePath.libretroPath)
}
diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Models/Settings.swift b/ManicEmu/ManicEmu/Sources/Business/Settings/Models/Settings.swift
index cd87bbbf..96c56c67 100644
--- a/ManicEmu/ManicEmu/Sources/Business/Settings/Models/Settings.swift
+++ b/ManicEmu/ManicEmu/Sources/Business/Settings/Models/Settings.swift
@@ -143,6 +143,8 @@ class Settings: Object, ObjectUpdatable {
GameType.turbografx_cd.localizedShortName == platform ||
GameType.supergrafx.localizedShortName == platform {
realPlatform = GameType.pce.localizedName
+ } else if GameType.ngpc.localizedShortName == platform {
+ realPlatform = GameType.ngp.localizedName
}
return getExtraBool(key: realPlatform + "Visible") ?? true
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/NGP.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/NGP.swift
new file mode 100644
index 00000000..f4fc75ac
--- /dev/null
+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/NGP.swift
@@ -0,0 +1,127 @@
+//
+// NGP.swift
+// ManicEmu
+//
+// Created by Daiuno on 2026/8/21.
+// Copyright © 2026 Manic EMU. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
+
+import AVFoundation
+
+extension GameType {
+ static let ngp = GameType("public.aoshuang.game.ngp")
+ static let ngpc = GameType("public.aoshuang.game.ngpc")
+}
+
+@objc enum NGPGameInput: Int, Input, CaseIterable {
+ case a
+ case b
+ case x
+ case y
+ case start
+ case select
+ case up
+ case down
+ case left
+ case right
+ case l1
+ case r1
+ case l2
+ case r2
+ case l3
+ case r3
+
+ case flex
+ case menu
+
+ var type: InputType {
+ return .game(.ngp)
+ }
+
+ 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 == "start" { self = .start}
+ else if stringValue == "select" { self = .select}
+ 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 == "l1" { self = .l1}
+ else if stringValue == "r1" { self = .r1}
+ else if stringValue == "l2" { self = .l2}
+ else if stringValue == "r2" { self = .r2}
+ else if stringValue == "l3" { self = .l3}
+ else if stringValue == "r3" { self = .r3}
+ else { return nil }
+ }
+}
+
+struct NGP: DeltaCoreProtocol {
+ static let core = NGP()
+
+ var name: String { "NGP" }
+ var identifier: String { "com.aoshuang.NGPCore" }
+
+ var gameType: GameType { GameType.ngp }
+ var gameInputType: Input.Type { NGPGameInput.self }
+ var allInputs: [Input] { NGPGameInput.allCases }
+ var gameSaveFileExtension: String { "flash" }
+
+ let videoFormat = VideoFormat(format: .bitmap(.rgb565), dimensions: CGSize(width: 160, height: 152))
+
+ var supportedCheatFormats: Set<CheatFormat> {
+ return []
+ }
+
+ var emulatorBridge: EmulatorBridging { NGPEmulatorBridge.shared }
+
+ private init() {}
+}
+
+
+class NGPEmulatorBridge : EmulatorBridgeBase {
+ static let shared = NGPEmulatorBridge()
+
+ override func activateInput(_ input: Int, value: Double, playerIndex: Int) {
+ guard playerIndex >= 0 else { return }
+ if let gameInput = NGPGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+#if DEBUG
+Log.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")
+#endif
+ LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))
+ }
+ }
+
+ func gameInputToCoreInput(gameInput: NGPGameInput) -> LibretroButton? {
+ if gameInput == .a { return .A }
+ else if gameInput == .b { return .B }
+ else if gameInput == .x { return .X }
+ else if gameInput == .y { return .Y }
+ else if gameInput == .start { return .start }
+ else if gameInput == .select { return .select }
+ else if gameInput == .up { return .up }
+ else if gameInput == .down { return .down }
+ else if gameInput == .left { return .left }
+ else if gameInput == .right { return .right }
+ else if gameInput == .l1 { return .L1 }
+ else if gameInput == .r1 { return .R1 }
+ else if gameInput == .l2 { return .L2 }
+ else if gameInput == .r2 { return .R2 }
+ else if gameInput == .l3 { return .L3 }
+ else if gameInput == .r3 { return .R3 }
+ return nil
+ }
+
+ override func deactivateInput(_ input: Int, playerIndex: Int) {
+ if let gameInput = NGPGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+ LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))
+ }
+ }
+}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/PCE.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/PCE.swift
index 6eca6f09..7b6a2073 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/PCE.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/PCE.swift
@@ -34,15 +34,7 @@ extension GameType {
case r2
case l3
case r3
- case leftThumbstickUp
- case leftThumbstickDown
- case leftThumbstickLeft
- case leftThumbstickRight
- case rightThumbstickUp
- case rightThumbstickDown
- case rightThumbstickLeft
- case rightThumbstickRight
-
+
case flex
case menu
@@ -67,14 +59,6 @@ extension GameType {
else if stringValue == "r2" { self = .r2}
else if stringValue == "l3" { self = .l3}
else if stringValue == "r3" { self = .r3}
- 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 == "rightThumbstickUp" { self = .rightThumbstickUp}
- else if stringValue == "rightThumbstickDown" { self = .rightThumbstickDown}
- else if stringValue == "rightThumbstickLeft" { self = .rightThumbstickLeft}
- else if stringValue == "rightThumbstickRight" { self = .rightThumbstickRight}
else { return nil }
}
}
@@ -105,33 +89,14 @@ struct PCE: DeltaCoreProtocol {
class PCEEmulatorBridge : EmulatorBridgeBase {
static let shared = PCEEmulatorBridge()
- private var leftThumbstickPosition: CGPoint = .zero
- private var rightThumbstickPosition: CGPoint = .zero
-
- private var thumbstickPosition: CGPoint = .zero
-
override func activateInput(_ input: Int, value: Double, playerIndex: Int) {
guard playerIndex >= 0 else { return }
- if input == PCEGameInput.leftThumbstickUp || input == PCEGameInput.leftThumbstickDown {
- leftThumbstickPosition.y = input == PCEGameInput.leftThumbstickUp ? value : -value
- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.leftThumbstickLeft || input == PCEGameInput.leftThumbstickRight {
- leftThumbstickPosition.x = input == PCEGameInput.leftThumbstickRight ? value : -value
- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.rightThumbstickUp || input == PCEGameInput.rightThumbstickDown {
- rightThumbstickPosition.y = input == PCEGameInput.rightThumbstickUp ? value : -value
- LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.rightThumbstickLeft || input == PCEGameInput.rightThumbstickRight {
- rightThumbstickPosition.x = input == PCEGameInput.rightThumbstickRight ? value : -value
- LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else {
- if let gameInput = PCEGameInput(rawValue: input),
- let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+ if let gameInput = PCEGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
#if DEBUG
Log.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")
#endif
- LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))
- }
+ LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))
}
}
@@ -156,23 +121,9 @@ Log.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")
}
override func deactivateInput(_ input: Int, playerIndex: Int) {
- if input == PCEGameInput.leftThumbstickUp || input == PCEGameInput.leftThumbstickDown {
- leftThumbstickPosition.y = 0
- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.leftThumbstickLeft || input == PCEGameInput.leftThumbstickRight {
- leftThumbstickPosition.x = 0
- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.rightThumbstickUp || input == PCEGameInput.rightThumbstickDown {
- rightThumbstickPosition.y = 0
- LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else if input == PCEGameInput.rightThumbstickLeft || input == PCEGameInput.rightThumbstickRight {
- rightThumbstickPosition.x = 0
- LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))
- } else {
- if let gameInput = PCEGameInput(rawValue: input),
- let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
- LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))
- }
+ if let gameInput = PCEGameInput(rawValue: input),
+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {
+ LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))
}
}
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
index 570a2812..d8c38b30 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift
@@ -120,6 +120,8 @@ extension GameType {
self = .wii
} else if ["pce", "sgx", "toc"].contains(ext) {
self = .pce
+ } else if ["ngp", "ngc", "ngpc", "npc"].contains(ext) {
+ self = .ngp
} else {
self = .notSupport
}
@@ -210,6 +212,8 @@ extension GameType {
self = .wii
} else if shortName.uppercased() == "PCE" {
self = .pce
+ } else if shortName.uppercased() == "NGP" {
+ self = .ngp
} else {
return nil
}
@@ -261,6 +265,8 @@ extension GameType {
case .turbografx_16: return "TurboGrafx-16"
case .turbografx_cd: return "TurboGrafx-CD"
case .supergrafx: return "SuperGrafx"
+ case .ngp: return "Neo Geo Pocket"
+ case .ngpc: return "Neo Geo Pocket Color"
default: return ""
}
}
@@ -311,6 +317,8 @@ extension GameType {
case .turbografx_16: return NSLocalizedString("TG-16", comment: "")
case .turbografx_cd: return NSLocalizedString("TG-CD", comment: "")
case .supergrafx: return NSLocalizedString("SGX", comment: "")
+ case .ngp: return NSLocalizedString("NGP", comment: "")
+ case .ngpc: return NSLocalizedString("NGPC", comment: "")
case .unknown: return R.string.localizable.unknownPlatform()
default: return ""
}
@@ -362,6 +370,8 @@ extension GameType {
case .turbografx_16: return 1989
case .turbografx_cd: return 1989
case .supergrafx: return 1989
+ case .ngp: return 1998
+ case .ngpc: return 1999
default: return 0
}
}
@@ -403,6 +413,7 @@ extension GameType {
case .ngc: return NGC.core
case .wii: return Wii.core
case .pce: return PCE.core
+ case .ngp: return NGP.core
default: return nil
}
}
@@ -601,6 +612,8 @@ extension GameType {
return .nokia
case .pce, .turbografx_16, .turbografx_cd, .supergrafx:
return .nec
+ case .ngp, .ngpc:
+ return .snk
default:
return .nintendo
}
@@ -734,6 +747,10 @@ extension GameType {
image = R.image.turbografx_cd_group_brand()
} else if self == .supergrafx {
image = R.image.supergrafx_group_brand()
+ } else if self == .ngp {
+ image = R.image.ngp_group_brand()
+ } else if self == .ngpc {
+ image = R.image.ngp_color_group_brand()
}
Self.brandImageCaches[key] = image
return image
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift
index c4ff9b16..dd3532e2 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift
@@ -45,7 +45,8 @@ enum EmulationCore: CaseIterable {
PCSXReArmed,
EKA2L1,
Dolphin,
- BeetlePCE
+ BeetlePCE,
+ BeetleNeoPop
var name: String {
switch self {
@@ -125,6 +126,8 @@ enum EmulationCore: CaseIterable {
"dolphin-emu"
case .BeetlePCE:
"Beetle PCE"
+ case .BeetleNeoPop:
+ "Beetle NeoPop"
}
}
@@ -198,6 +201,8 @@ enum EmulationCore: CaseIterable {
return [.ngc, .wii]
case .BeetlePCE:
return [.pce]
+ case .BeetleNeoPop:
+ return [.ngp]
}
}
@@ -247,7 +252,8 @@ enum EmulationCore: CaseIterable {
.DeSmuME,
.Holani,
.VirtualJaguar,
- .BeetlePCE:
+ .BeetlePCE,
+ .BeetleNeoPop:
return true
default:
return false
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
index b8c3244c..2bf30891 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/FilesImporter.swift
@@ -669,6 +669,10 @@ extension FilesImporter {
}
}
+ if game.gameType == .ngp {
+ game.extras = [ExtraKey.gameTypeCategory.rawValue: 1].jsonData()
+ }
+
do {
//Copy the ROMs
if ciaTitleUrl == nil {
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
index af463caf..a7eaadb3 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/OnlineCoverManager.swift
@@ -151,6 +151,10 @@ class OnlineCoverManager {
boxArtUrl = host.appendingPathComponent("NEC - PC Engine CD - TurboGrafx-CD/Named_Boxarts")
case .supergrafx:
boxArtUrl = host.appendingPathComponent("NEC - PC Engine SuperGrafx/Named_Boxarts")
+ case .ngp:
+ boxArtUrl = host.appendingPathComponent("SNK - Neo Geo Pocket/Named_Boxarts")
+ case .ngpc:
+ boxArtUrl = host.appendingPathComponent("SNK - Neo Geo Pocket Color/Named_Boxarts")
default:
boxArtUrl = nil
}
diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
index 91a8fbff..6ceee888 100644
--- a/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/System.swift
@@ -11,6 +11,7 @@
enum System: CaseIterable
{
+ case ngp
case pce
case ngc
case wii
@@ -88,7 +89,8 @@ enum System: CaseIterable
Symbian.core,
NGC.core,
Wii.core,
- PCE.core]
+ PCE.core,
+ NGP.core]
}
///Returns all supported game types.
@@ -154,6 +156,7 @@ extension System {
case .ngc: return .ngc
case .wii: return .wii
case .pce: return .pce
+ case .ngp: return .ngp
}
}
}
diff --git a/System.core/NGP.keymapping b/System.core/NGP.keymapping
new file mode 100644
index 00000000..5b1087b9
--- /dev/null
+++ b/System.core/NGP.keymapping
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>gameControllerInputType</key>
+ <string>standard</string>
+ <key>inputMappings</key>
+ <dict>
+ <key>a</key>
+ <dict>
+ <key>identifier</key>
+ <string>a</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>b</key>
+ <dict>
+ <key>identifier</key>
+ <string>b</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>x</key>
+ <dict>
+ <key>identifier</key>
+ <string>x</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>y</key>
+ <dict>
+ <key>identifier</key>
+ <string>y</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>up</key>
+ <dict>
+ <key>identifier</key>
+ <string>up</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>down</key>
+ <dict>
+ <key>identifier</key>
+ <string>down</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>left</key>
+ <dict>
+ <key>identifier</key>
+ <string>left</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>right</key>
+ <dict>
+ <key>identifier</key>
+ <string>right</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>leftThumbstickUp</key>
+ <dict>
+ <key>identifier</key>
+ <string>up</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>leftThumbstickDown</key>
+ <dict>
+ <key>identifier</key>
+ <string>down</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>leftThumbstickLeft</key>
+ <dict>
+ <key>identifier</key>
+ <string>left</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>leftThumbstickRight</key>
+ <dict>
+ <key>identifier</key>
+ <string>right</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>rightThumbstickUp</key>
+ <dict>
+ <key>identifier</key>
+ <string>up</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>rightThumbstickDown</key>
+ <dict>
+ <key>identifier</key>
+ <string>down</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>rightThumbstickLeft</key>
+ <dict>
+ <key>identifier</key>
+ <string>left</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>rightThumbstickRight</key>
+ <dict>
+ <key>identifier</key>
+ <string>right</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>select</key>
+ <dict>
+ <key>identifier</key>
+ <string>select</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>start</key>
+ <dict>
+ <key>identifier</key>
+ <string>start</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>l1</key>
+ <dict>
+ <key>identifier</key>
+ <string>l1</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>r1</key>
+ <dict>
+ <key>identifier</key>
+ <string>r1</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>l2</key>
+ <dict>
+ <key>identifier</key>
+ <string>l2</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>r2</key>
+ <dict>
+ <key>identifier</key>
+ <string>r2</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>l3</key>
+ <dict>
+ <key>identifier</key>
+ <string>l3</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ <key>r3</key>
+ <dict>
+ <key>identifier</key>
+ <string>r3</string>
+ <key>type</key>
+ <string>public.aoshuang.game.ngp</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>Default NGP</string>
+</dict>
+</plist>
diff --git a/System.core/NGP.manicskin b/System.core/NGP.manicskin
new file mode 100644
index 00000000..5a871b92
--- /dev/null
+++ b/System.core/NGP.manicskin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d1b800f2290c15285c63e59923565428461d29d1345bb49e135561db1eac68d
+size 1526802
diff --git a/System.core/NGP_FLEX.manicskin b/System.core/NGP_FLEX.manicskin
new file mode 100644
index 00000000..9376aeaf
--- /dev/null
+++ b/System.core/NGP_FLEX.manicskin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6df9c79975b49a9e655e743e743890673a41f4a23f0fc7bf5fa7e4dc2904272f
+size 111458
diff --git a/System.core/PCE.keymapping b/System.core/PCE.keymapping
index afe787d0..fca68a71 100644
--- a/System.core/PCE.keymapping
+++ b/System.core/PCE.keymapping
@@ -65,56 +65,56 @@
<key>leftThumbstickUp</key>
<dict>
<key>identifier</key>
- <string>leftThumbstickUp</string>
+ <string>up</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>leftThumbstickDown</key>
<dict>
<key>identifier</key>
- <string>leftThumbstickDown</string>
+ <string>down</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>leftThumbstickLeft</key>
<dict>
<key>identifier</key>
- <string>leftThumbstickLeft</string>
+ <string>left</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>leftThumbstickRight</key>
<dict>
<key>identifier</key>
- <string>leftThumbstickRight</string>
+ <string>right</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>rightThumbstickUp</key>
<dict>
<key>identifier</key>
- <string>rightThumbstickUp</string>
+ <string>up</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>rightThumbstickDown</key>
<dict>
<key>identifier</key>
- <string>rightThumbstickDown</string>
+ <string>down</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>rightThumbstickLeft</key>
<dict>
<key>identifier</key>
- <string>rightThumbstickLeft</string>
+ <string>left</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>
<key>rightThumbstickRight</key>
<dict>
<key>identifier</key>
- <string>rightThumbstickRight</string>
+ <string>right</string>
<key>type</key>
<string>public.aoshuang.game.pce</string>
</dict>