Manic EMU is an all-in-one retro game emulator for iOS. It packs powerful features while keeping a clean, sleek UI and delivering buttery-smooth gameplay.
Swift
Added online multiplayer support for PSP; fixed a crash issue with in-game menus on macOS; resolved crashes in some games when camera or microphone permissions are not granted; in full-screen mode, all buttons are now hidden by default—tap the screen to bring up the menu buttons.
Daiuno37d0933c7810
diff --git a/.gitignore b/.gitignoreindex 5fd7a115..cc229140 100644--- a/.gitignore+++ b/.gitignore@@ -9,11 +9,6 @@ xcuserdata/## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)*.xcscmblueprint*.xccheckout-Cores/jgenesis-Cores/libretro-desmume-Cores/libretro-melondsds-Cores/libretro-ppsspp-Cores/libretro-azahar## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)build/@@ -94,3 +89,10 @@ fastlane/test_outputiOSInjectionProject/+# Out of sync+Cores/jgenesis+Cores/libretro-desmume+Cores/libretro-melondsds+Cores/libretro-ppsspp+Cores/libretro-azahar+i18n/diff --git a/Cores/Libretro/camera/drivers/avfoundation.m b/Cores/Libretro/camera/drivers/avfoundation.mindex e10f48a9..8ab93a77 100644--- a/Cores/Libretro/camera/drivers/avfoundation.m+++ b/Cores/Libretro/camera/drivers/avfoundation.m@@ -735,34 +735,7 @@ static void *avfoundation_init(const char *device, uint64_t caps,avf->manager.width = width;avf->manager.height = height;- // Check if we're on the main thread- if ([NSThread isMainThread]) {- RARCH_LOG("[Camera]: Initializing on main thread\n");- // Direct initialization on main thread- [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted) {- AVAuthorizationStatus status = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];- if (status != AVAuthorizationStatusAuthorized) {- RARCH_ERR("[Camera]: Camera access not authorized (status: %d)\n", (int)status);- free(avf);- return;- }- }];- } else {- RARCH_LOG("[Camera]: Initializing on background thread\n");- // Use dispatch_sync to run authorization check on main thread- __block AVAuthorizationStatus status;- dispatch_sync(dispatch_get_main_queue(), ^{- status = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];- });-- if (status != AVAuthorizationStatusAuthorized) {- RARCH_ERR("[Camera]: Camera access not authorized (status: %d)\n", (int)status);- free(avf);- return NULL;- }- }-- // Allocate frame buffer+ // Allocate frame buffer first - always needed for black screen fallbackavf->manager.frameBuffer = (uint32_t*)calloc(width * height, sizeof(uint32_t));if (!avf->manager.frameBuffer) {RARCH_ERR("[Camera]: Failed to allocate frame buffer\n");@@ -770,18 +743,38 @@ static void *avfoundation_init(const char *device, uint64_t caps,return NULL;}- // Initialize capture session - setup can be done on any thread- __block bool setupSuccess = false;-- @autoreleasepool {- setupSuccess = [avf->manager setupCameraSession];- }-- if (!setupSuccess) {- RARCH_ERR("[Camera]: Failed to setup camera\n");- free(avf->manager.frameBuffer);- free(avf);- return NULL;+ // Check authorization status without blocking+ AVAuthorizationStatus status = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];++ if (status == AVAuthorizationStatusAuthorized) {+ // Already authorized, setup camera session+ RARCH_LOG("[Camera]: Camera access authorized, setting up session\n");++ __block bool setupSuccess = false;+ @autoreleasepool {+ setupSuccess = [avf->manager setupCameraSession];+ }++ if (!setupSuccess) {+ RARCH_WARN("[Camera]: Failed to setup camera, will return black frames\n");+ // Don't fail - continue with black frame fallback+ }+ } else if (status == AVAuthorizationStatusNotDetermined) {+ // Request permission asynchronously - don't block main thread+ RARCH_LOG("[Camera]: Requesting camera authorization asynchronously\n");+ [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted) {+ if (granted) {+ RARCH_LOG("[Camera]: Camera access granted, setting up session\n");+ @autoreleasepool {+ [avf->manager setupCameraSession];+ }+ } else {+ RARCH_WARN("[Camera]: Camera access denied, will return black frames\n");+ }+ }];+ } else {+ // Denied or Restricted - log warning but continue with black frames+ RARCH_WARN("[Camera]: Camera access not authorized (status: %d), will return black frames\n", (int)status);}// Don't start camera session here - wait for avfoundation_start() to be called@@ -800,16 +793,18 @@ static void avfoundation_free(void *data)RARCH_LOG("[Camera]: Freeing AVFoundation camera\n");- if (avf->manager.session) {- // Stop session on background queue- [avf->manager stopSession];- // Wait a bit for session to stop- usleep(50000); // 50ms- }+ if (avf->manager) {+ if (avf->manager.session) {+ // Stop session on background queue+ [avf->manager stopSession];+ // Wait a bit for session to stop+ usleep(50000); // 50ms+ }- if (avf->manager.frameBuffer) {- free(avf->manager.frameBuffer);- avf->manager.frameBuffer = NULL;+ if (avf->manager.frameBuffer) {+ free(avf->manager.frameBuffer);+ avf->manager.frameBuffer = NULL;+ }}free(avf);@@ -819,11 +814,18 @@ static void avfoundation_free(void *data)static bool avfoundation_start(void *data){avfoundation_t *avf = (avfoundation_t*)data;- if (!avf || !avf->manager.session) {+ if (!avf) {RARCH_ERR("[Camera]: Cannot start - invalid data\n");return false;}+ // If session is not available (permission denied), still return true+ // to allow the game to continue with black frames+ if (!avf->manager.session) {+ RARCH_WARN("[Camera]: No camera session available, will return black frames\n");+ return true;+ }+RARCH_LOG("[Camera]: Starting AVFoundation camera\n");// Start session synchronously on background queue@@ -834,13 +836,13 @@ static bool avfoundation_start(void *data)bool isRunning = avf->manager.session.isRunning;RARCH_LOG("[Camera]: Camera session running: %s\n", isRunning ? "YES" : "NO");- return isRunning;+ return true; // Always return true to allow game to continue}static void avfoundation_stop(void *data){avfoundation_t *avf = (avfoundation_t*)data;- if (!avf || !avf->manager.session)+ if (!avf || !avf->manager || !avf->manager.session)return;RARCH_LOG("[Camera]: Stopping AVFoundation camera\n");@@ -860,9 +862,12 @@ static bool avfoundation_poll(void *data,// Always provide the frame buffer - it will contain:// - Actual camera data if session is running- // - Black/empty frame if session hasn't started yet+ // - Black/empty frame if session hasn't started yet or permission denied// This avoids log spam and unnecessary allocations- frame_raw_cb(avf->manager.frameBuffer, avf->width, avf->height, avf->width * 4);+ if (avf->manager && avf->manager.frameBuffer) {+ frame_raw_cb(avf->manager.frameBuffer, avf->width, avf->height, avf->width * 4);+ }+return true;}diff --git a/Cores/Libretro/runloop.c b/Cores/Libretro/runloop.cindex 06b85084..6a597e46 100644--- a/Cores/Libretro/runloop.c+++ b/Cores/Libretro/runloop.c@@ -341,25 +341,43 @@ void shutdown_register_callback(ShutdownCallback callback) {//定义NDS的布局信息static const char *g_melonds_custom_layout = NULL;void set_melonds_custom_layout(const char *layout) {- g_melonds_custom_layout = strdup(layout);+ free((void *)g_melonds_custom_layout);+ g_melonds_custom_layout = layout ? strdup(layout) : layout;}//定义WFC NDS信息static const char *g_melonds_wfc_dns = NULL;void set_melonds_wfc_dns(const char *dns) {- g_melonds_wfc_dns = strdup(dns);+ free((void *)g_melonds_wfc_dns);+ g_melonds_wfc_dns = dns ? strdup(dns) : NULL;}//定义3DS的布局信息static const char *g_azahar_custom_layout = NULL;void set_azahar_custom_layout(const char *layout) {- g_azahar_custom_layout = strdup(layout);+ free((void *)g_azahar_custom_layout);+ g_azahar_custom_layout = layout ? strdup(layout) : NULL;}//定义DeSmuME的布局信息static const char *g_desmume_custom_layout = NULL;void set_desmume_custom_layout(const char *layout) {- g_desmume_custom_layout = strdup(layout);+ free((void *)g_desmume_custom_layout);+ g_desmume_custom_layout = layout ? strdup(layout) : NULL;+}++//定义PSP的自定义服务地址+static const char *g_psp_custom_server_address = NULL;+void set_psp_custom_server_address(const char *address) {+ free((void *)g_psp_custom_server_address);+ g_psp_custom_server_address = address ? strdup(address) : NULL;+}++//定义PSP的自定义服务端口+static const char *g_psp_custom_server_port = NULL;+void set_psp_custom_server_port(const char *port) {+ free((void *)g_psp_custom_server_port);+ g_psp_custom_server_port = port ? strdup(port) : NULL;}//定义Shutdown通知@@ -1483,6 +1501,16 @@ bool runloop_environment_cb(unsigned cmd, void *data)var->value = strdup(g_desmume_custom_layout);break;}++ if (g_psp_custom_server_address && string_is_equal(var->key, "ppsspp_change_pro_ad_hoc_server_address")) {+ var->value = strdup(g_psp_custom_server_address);+ break;+ }++ if (g_psp_custom_server_port && string_is_equal(var->key, "ppsspp_port_offset")) {+ var->value = strdup(g_psp_custom_server_port);+ break;+ }if (core_option_manager_get_idx(runloop_st->core_options,var->key, &opt_idx))diff --git a/Cores/Libretro/runloop.h b/Cores/Libretro/runloop.hindex c1fee616..487bee3a 100644--- a/Cores/Libretro/runloop.h+++ b/Cores/Libretro/runloop.h@@ -328,6 +328,12 @@ void set_azahar_custom_layout(const char *layout);//定义DeSmuME的布局信息void set_desmume_custom_layout(const char *layout);+//定义PSP的自定义服务地址+void set_psp_custom_server_address(const char *address);++//定义PSP的自定义服务端口+void set_psp_custom_server_port(const char *port);+//定义日志回调typedef void (*LogCallback)(enum retro_log_level level, const char *fmt, va_list args);void log_register_callback(LogCallback callback);diff --git a/Cores/Libretro/ui/drivers/LibretroCore.m b/Cores/Libretro/ui/drivers/LibretroCore.mindex 05fc3050..671bf68f 100644--- a/Cores/Libretro/ui/drivers/LibretroCore.m+++ b/Cores/Libretro/ui/drivers/LibretroCore.m@@ -628,6 +628,22 @@ static void libretroLogCallback(enum retro_log_level level, const char *fmt, va_}}+- (void)setPSPCustomServerAddress:(NSString *_Nullable)address {+ if (address) {+ set_psp_custom_server_address([address cStringUsingEncoding:NSUTF8StringEncoding]);+ } else {+ set_psp_custom_server_address(NULL);+ }+}++- (void)setPSPCustomServerPort:(NSString *_Nullable)port {+ if (port) {+ set_psp_custom_server_port([port cStringUsingEncoding:NSUTF8StringEncoding]);+ } else {+ set_psp_custom_server_port(NULL);+ }+}+- (void)setCoreOptionNeedsUpdate {// 通知核心配置已更新runloop_state_t *runloop_st = runloop_state_get_ptr();diff --git a/Cores/Libretro/ui/drivers/cocoa/LibretroCore.h b/Cores/Libretro/ui/drivers/cocoa/LibretroCore.hindex e656abdc..74444d14 100644--- a/Cores/Libretro/ui/drivers/cocoa/LibretroCore.h+++ b/Cores/Libretro/ui/drivers/cocoa/LibretroCore.h@@ -94,6 +94,8 @@ extern NSString * const RetroAchievementsNotification;- (void)startWFCStatusMonitor;- (void)setNDSCustomLayout:(NSString *_Nullable)layout;- (void)setNDSWFCDNS:(NSString *_Nullable)nds;+- (void)setPSPCustomServerAddress:(NSString *_Nullable)address;+- (void)setPSPCustomServerPort:(NSString *_Nullable)port;- (void)setCoreOptionNeedsUpdate;- (void)sendTouchEventX:(CGFloat)x y:(CGFloat)y;- (void)releaseTouchEvent;diff --git a/ManicEmu/Libretro/LibretroConfig.xcconfig b/ManicEmu/Libretro/LibretroConfig.xcconfigindex 4b0f7177..1c70eb69 100644--- a/ManicEmu/Libretro/LibretroConfig.xcconfig+++ b/ManicEmu/Libretro/LibretroConfig.xcconfig@@ -118,7 +118,7 @@ OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_ONLINE_UPDATEROTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLESOTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLES3OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DIOS-OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DPACKAGE_VERSION=\"1.8.2\"+OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DPACKAGE_VERSION=\"1.8.3\"OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DRARCH_MOBILEOTHER_CFLAGS[sdk=iphoneos*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE)diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxprojindex d3a826bd..1bd1e756 100644--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj@@ -590,7 +590,7 @@577005D42D3F2F8E00762E8F /* WebServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577005D32D3F2F8200762E8F /* WebServer.swift */; };577005D62D3F398100762E8F /* PasteImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577005D52D3F396C00762E8F /* PasteImporter.swift */; };577005DA2D3F404F00762E8F /* ImportError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577005D92D3F404D00762E8F /* ImportError.swift */; };- 577006092D3F980400762E8F /* LowestHaderReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577006082D3F980400762E8F /* LowestHaderReusableView.swift */; };+ 577006092D3F980400762E8F /* CollectionHaderReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577006082D3F980400762E8F /* CollectionHaderReusableView.swift */; };5770061B2D4089ED00762E8F /* CloudDriveConnetor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5770061A2D4089DD00762E8F /* CloudDriveConnetor.swift */; };5770064F2D40E45F00762E8F /* CloudDriveBrowserViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5770064E2D40E45F00762E8F /* CloudDriveBrowserViewController.swift */; };577006572D410D7F00762E8F /* BrowserItemCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577006562D410D7F00762E8F /* BrowserItemCollectionViewCell.swift */; };@@ -621,6 +621,18 @@5781F4EB2EEFE44F00916D8B /* NumbersExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5781F4E92EEFE44800916D8B /* NumbersExtensions.swift */; };5781F5462EF1384500916D8B /* MeloNXKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5781F5442EF1383F00916D8B /* MeloNXKit.swift */; };5781F5AE2EF45C8200916D8B /* JGenesisView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5781F5AB2EF45C6900916D8B /* JGenesisView.swift */; };+ 578F287E2F37805000D2D998 /* WFCSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F287C2F37804600D2D998 /* WFCSettingViewController.swift */; };+ 578F28832F3780BC00D2D998 /* WFCSettingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28812F3780B700D2D998 /* WFCSettingView.swift */; };+ 578F288E2F37838300D2D998 /* OnlinePlayCollectionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F288C2F37837B00D2D998 /* OnlinePlayCollectionCell.swift */; };+ 578F28922F37855A00D2D998 /* PSPNetworkingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28912F37855900D2D998 /* PSPNetworkingViewController.swift */; };+ 578F28972F37856B00D2D998 /* PSPNetworkingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28952F37856700D2D998 /* PSPNetworkingView.swift */; };+ 578F28A62F3786D100D2D998 /* PSPNetworkingSwitchCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28A42F3786B500D2D998 /* PSPNetworkingSwitchCell.swift */; };+ 578F28AD2F37871100D2D998 /* PSPNetworkingConfigCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28AB2F37870700D2D998 /* PSPNetworkingConfigCell.swift */; };+ 578F28B72F37881C00D2D998 /* PSPNetworkingConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28B52F37881400D2D998 /* PSPNetworkingConfig.swift */; };+ 578F28C12F39A9CD00D2D998 /* BonjourKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28C02F39A9CA00D2D998 /* BonjourKit.swift */; };+ 578F28D52F39E0A200D2D998 /* PSPNetworkingConfigLocalView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28D42F39E0A100D2D998 /* PSPNetworkingConfigLocalView.swift */; };+ 578F28DB2F39FBC200D2D998 /* PSPNetworkingConfigOnlineView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28DA2F39FBC100D2D998 /* PSPNetworkingConfigOnlineView.swift */; };+ 578F28EC2F3A056600D2D998 /* CollectionFooterReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 578F28E92F3A055F00D2D998 /* CollectionFooterReusableView.swift */; };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 */; };@@ -1622,7 +1634,7 @@577005D32D3F2F8200762E8F /* WebServer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebServer.swift; sourceTree = "<group>"; };577005D52D3F396C00762E8F /* PasteImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PasteImporter.swift; sourceTree = "<group>"; };577005D92D3F404D00762E8F /* ImportError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImportError.swift; sourceTree = "<group>"; };- 577006082D3F980400762E8F /* LowestHaderReusableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LowestHaderReusableView.swift; sourceTree = "<group>"; };+ 577006082D3F980400762E8F /* CollectionHaderReusableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollectionHaderReusableView.swift; sourceTree = "<group>"; };5770061A2D4089DD00762E8F /* CloudDriveConnetor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CloudDriveConnetor.swift; sourceTree = "<group>"; };5770064E2D40E45F00762E8F /* CloudDriveBrowserViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CloudDriveBrowserViewController.swift; sourceTree = "<group>"; };577006562D410D7F00762E8F /* BrowserItemCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BrowserItemCollectionViewCell.swift; sourceTree = "<group>"; };@@ -1724,6 +1736,18 @@5781F4E92EEFE44800916D8B /* NumbersExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NumbersExtensions.swift; sourceTree = "<group>"; };5781F5442EF1383F00916D8B /* MeloNXKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeloNXKit.swift; sourceTree = "<group>"; };5781F5AB2EF45C6900916D8B /* JGenesisView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JGenesisView.swift; sourceTree = "<group>"; };+ 578F287C2F37804600D2D998 /* WFCSettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WFCSettingViewController.swift; sourceTree = "<group>"; };+ 578F28812F3780B700D2D998 /* WFCSettingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WFCSettingView.swift; sourceTree = "<group>"; };+ 578F288C2F37837B00D2D998 /* OnlinePlayCollectionCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnlinePlayCollectionCell.swift; sourceTree = "<group>"; };+ 578F28912F37855900D2D998 /* PSPNetworkingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingViewController.swift; sourceTree = "<group>"; };+ 578F28952F37856700D2D998 /* PSPNetworkingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingView.swift; sourceTree = "<group>"; };+ 578F28A42F3786B500D2D998 /* PSPNetworkingSwitchCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingSwitchCell.swift; sourceTree = "<group>"; };+ 578F28AB2F37870700D2D998 /* PSPNetworkingConfigCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingConfigCell.swift; sourceTree = "<group>"; };+ 578F28B52F37881400D2D998 /* PSPNetworkingConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingConfig.swift; sourceTree = "<group>"; };+ 578F28C02F39A9CA00D2D998 /* BonjourKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BonjourKit.swift; sourceTree = "<group>"; };+ 578F28D42F39E0A100D2D998 /* PSPNetworkingConfigLocalView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingConfigLocalView.swift; sourceTree = "<group>"; };+ 578F28DA2F39FBC100D2D998 /* PSPNetworkingConfigOnlineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PSPNetworkingConfigOnlineView.swift; sourceTree = "<group>"; };+ 578F28E92F3A055F00D2D998 /* CollectionFooterReusableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollectionFooterReusableView.swift; sourceTree = "<group>"; };579076E22D8A98FC00ED90FB /* FunctionButtonContainerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FunctionButtonContainerView.swift; sourceTree = "<group>"; };579076EF2D8AAC2800ED90FB /* TransparentHoleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TransparentHoleView.swift; sourceTree = "<group>"; };57913AF42D5D89CC004D51AA /* TouchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TouchController.swift; sourceTree = "<group>"; };@@ -2240,7 +2264,6 @@children = (57EED02F2EC8D99D003971BD /* JITSettingViewController.swift */,57EED0252EC8D783003971BD /* iCloudSettingViewController.swift */,- 5754D8872E274A9D001EA5ED /* OnlinePlaySettingViewController.swift */,5706AFBC2DF7D8A40066122E /* BIOSSelectionViewController.swift */,57B5E3392ECDFDE800DE17E9 /* MAMEBiosViewController.swift */,570F592D2DC885E3007BFD92 /* ThemeViewController.swift */,@@ -3802,6 +3825,50 @@path = Models;sourceTree = "<group>";};+ 578F28712F377FBB00D2D998 /* OnlinePlay */ = {+ isa = PBXGroup;+ children = (+ 578F28B22F37880000D2D998 /* Models */,+ 578F28762F377FEC00D2D998 /* Views */,+ 578F28732F377FCD00D2D998 /* ViewControllers */,+ );+ path = OnlinePlay;+ sourceTree = "<group>";+ };+ 578F28732F377FCD00D2D998 /* ViewControllers */ = {+ isa = PBXGroup;+ children = (+ 5754D8872E274A9D001EA5ED /* OnlinePlaySettingViewController.swift */,+ 578F287C2F37804600D2D998 /* WFCSettingViewController.swift */,+ 578F28912F37855900D2D998 /* PSPNetworkingViewController.swift */,+ );+ path = ViewControllers;+ sourceTree = "<group>";+ };+ 578F28762F377FEC00D2D998 /* Views */ = {+ isa = PBXGroup;+ children = (+ 578F288C2F37837B00D2D998 /* OnlinePlayCollectionCell.swift */,+ 5754D88A2E274AB9001EA5ED /* OnlinePlaySettingView.swift */,+ 5754D88E2E274B1A001EA5ED /* DSOnlinePlaySettingCell.swift */,+ 578F28812F3780B700D2D998 /* WFCSettingView.swift */,+ 578F28A42F3786B500D2D998 /* PSPNetworkingSwitchCell.swift */,+ 578F28AB2F37870700D2D998 /* PSPNetworkingConfigCell.swift */,+ 578F28D42F39E0A100D2D998 /* PSPNetworkingConfigLocalView.swift */,+ 578F28DA2F39FBC100D2D998 /* PSPNetworkingConfigOnlineView.swift */,+ 578F28952F37856700D2D998 /* PSPNetworkingView.swift */,+ );+ path = Views;+ sourceTree = "<group>";+ };+ 578F28B22F37880000D2D998 /* Models */ = {+ isa = PBXGroup;+ children = (+ 578F28B52F37881400D2D998 /* PSPNetworkingConfig.swift */,+ );+ path = Models;+ sourceTree = "<group>";+ };57913AF62D5D8D70004D51AA /* Controllers */ = {isa = PBXGroup;children = (@@ -4248,8 +4315,6 @@children = (57EED0342EC8D9BB003971BD /* JITSettingView.swift */,57EED02A2EC8D7C1003971BD /* iCloudSettingView.swift */,- 5754D88E2E274B1A001EA5ED /* DSOnlinePlaySettingCell.swift */,- 5754D88A2E274AB9001EA5ED /* OnlinePlaySettingView.swift */,5706AFCE2DF7FC510066122E /* SettingDescriptionCollectionViewCell.swift */,57B5E3342ECDF75800DE17E9 /* MAMEBiosView.swift */,5706AFC52DF7DAA20066122E /* BIOSCollectionViewCell.swift */,@@ -4329,7 +4394,8 @@5760601B2D2393EB00A98B0C /* SymbolView.swift */,57DE10462D606C4700CDD82A /* SymbolButton.swift */,57CCB3FE2D69B3FE0036476B /* ContextMenuButton.swift */,- 577006082D3F980400762E8F /* LowestHaderReusableView.swift */,+ 577006082D3F980400762E8F /* CollectionHaderReusableView.swift */,+ 578F28E92F3A055F00D2D998 /* CollectionFooterReusableView.swift */,57DF840B2D61B3D500AA0AAB /* BlankSlateCollectionView.swift */,57B6ECEB2D79E19B002E619C /* BlankSlateTableView.swift */,57DE104D2D6088BE00CDD82A /* BlankPlaceholderView.swift */,@@ -4358,6 +4424,7 @@5720E7702E54103100EC0DA5 /* RetroAchievements */,57D7CF292EA5DB7B00F41540 /* TriggerPro */,570CF87D2EEB092B00696C1B /* Shaders */,+ 578F28712F377FBB00D2D998 /* OnlinePlay */,);path = Business;sourceTree = "<group>";@@ -4443,6 +4510,7 @@A5A69BA9256E56FF00D51C09 /* Others */ = {isa = PBXGroup;children = (+ 578F28C02F39A9CA00D2D998 /* BonjourKit.swift */,573CEE112F20D46B00EA24F1 /* LocalWebServer.swift */,5781F5442EF1383F00916D8B /* MeloNXKit.swift */,57B5E3222ECCCD0100DE17E9 /* MAMEKit.swift */,@@ -5263,6 +5331,7 @@57F1A9342D7D6D7D00D0CC93 /* ExternalSceneDelegate.swift in Sources */,5781F4652EED639F00916D8B /* ShadersListBlankSlateView.swift in Sources */,57DFBE8C2E71BC7A008C2161 /* CheevosPopupView.swift in Sources */,+ 578F28832F3780BC00D2D998 /* WFCSettingView.swift in Sources */,57AD35EA2D7DEB9D0092FD03 /* WebViewController.swift in Sources */,579076F02D8AAC2900ED90FB /* TransparentHoleView.swift in Sources */,577006832D438E2A00762E8F /* GamesViewController.swift in Sources */,@@ -5401,6 +5470,7 @@577005DA2D3F404F00762E8F /* ImportError.swift in Sources */,57F632AB2D6FEC0F007270E8 /* SMBServiceProvider.swift in Sources */,576F0E172D8820AB00D2A1BA /* MembershipInfoView.swift in Sources */,+ 578F28B72F37881C00D2D998 /* PSPNetworkingConfig.swift in Sources */,57DCE8562E0FC9BC0079E3AA /* CoreSelectionView.swift in Sources */,57E9632C2D6B06320022914C /* ImportFooterCollectionReusableView.swift in Sources */,57B6ECCB2D797CB8002E619C /* AddCheatCodeContentCell.swift in Sources */,@@ -5425,6 +5495,7 @@57DCE8042E0D9F300079E3AA /* Deprecated.swift in Sources */,57E8B1022E2366DC00F93E60 /* BIOSItem.swift in Sources */,5754D88F2E274B27001EA5ED /* DSOnlinePlaySettingCell.swift in Sources */,+ 578F28AD2F37871100D2D998 /* PSPNetworkingConfigCell.swift in Sources */,57D7CF5E2EA792E100F41540 /* AddTriggerButtonController.swift in Sources */,57DCE8052E0D9F300079E3AA /* RowCompatible.swift in Sources */,57DCE8062E0D9F300079E3AA /* OptionRow.swift in Sources */,@@ -5452,6 +5523,7 @@57F633002D718366007270E8 /* SettingItem.swift in Sources */,57B6ECC02D7969E2002E619C /* AddCheatCodeView.swift in Sources */,57CCB4172D69D1C30036476B /* HowToButton.swift in Sources */,+ 578F28DB2F39FBC200D2D998 /* PSPNetworkingConfigOnlineView.swift in Sources */,57605FFC2D20F28100A98B0C /* ImportViewController.swift in Sources */,57B6EC592D77DDFE002E619C /* GameSetting.swift in Sources */,570F59202DC7ACA8007BFD92 /* GameCoverView.swift in Sources */,@@ -5464,10 +5536,12 @@57478A712D52037F006F0D99 /* RandomGameCollectionReusableView.swift in Sources */,573CEE6D2F224FB300EA24F1 /* ShaderConfig.swift in Sources */,5720E8112E559EE600EC0DA5 /* RetroAchievementCountView.swift in Sources */,+ 578F28D52F39E0A200D2D998 /* PSPNetworkingConfigLocalView.swift in Sources */,577005B92D3E71BC00762E8F /* ImportService.swift in Sources */,570622EC2D7BD2FE004F09E7 /* ShaderManager.swift in Sources */,57D7CF622EA792FB00F41540 /* AddTriggerButtonView.swift in Sources */,57B5E3362ECDF75F00DE17E9 /* MAMEBiosView.swift in Sources */,+ 578F28EC2F3A056600D2D998 /* CollectionFooterReusableView.swift in Sources */,57B6EC652D77F832002E619C /* SettingItemCollectionViewCell.swift in Sources */,57F1A9252D7D36D200D0CC93 /* GameViewExtensions.swift in Sources */,570F59DC2DC9D52C007BFD92 /* ThemeManager.swift in Sources */,@@ -5479,6 +5553,7 @@5781F49E2EEE957200916D8B /* ShaderOrderCell.swift in Sources */,576F0E0C2D880DE600D2A1BA /* GradientImageView.swift in Sources */,571BB8072DA4357D00830134 /* ThreeDS.swift in Sources */,+ 578F288E2F37838300D2D998 /* OnlinePlayCollectionCell.swift in Sources */,576060222D24E07500A98B0C /* AnimatedGradientView.swift in Sources */,570F59132DC5BB1D007BFD92 /* CoverStyleCollectionViewCell.swift in Sources */,5771C20A2E6569BE0062EDE0 /* LeaderboardView.swift in Sources */,@@ -5489,7 +5564,7 @@57D7CF3F2EA7355900F41540 /* TriggerProListViewController.swift in Sources */,576F0E072D8806B500D2A1BA /* GameSavePurchaseGuideReusableView.swift in Sources */,B2C97B502A09F3DE00053A4C /* UIimageExtensions.swift in Sources */,- 577006092D3F980400762E8F /* LowestHaderReusableView.swift in Sources */,+ 577006092D3F980400762E8F /* CollectionHaderReusableView.swift in Sources */,570F592E2DC885EF007BFD92 /* ThemeViewController.swift in Sources */,57B5E3242ECCCD0800DE17E9 /* MAMEKit.swift in Sources */,573CEE912F23396400EA24F1 /* Jaguar.swift in Sources */,@@ -5497,6 +5572,7 @@5720E7652E540F7200EC0DA5 /* RetroAchievementsLoginView.swift in Sources */,5781F4EB2EEFE44F00916D8B /* NumbersExtensions.swift in Sources */,B2383F512A2733DF000563E6 /* UIFontExtensions.swift in Sources */,+ 578F287E2F37805000D2D998 /* WFCSettingViewController.swift in Sources */,57E0C1A72D56580F00962555 /* UITextFieldExtensions.swift in Sources */,5744C72B2E377C800088081A /* ControllableSideMenu.swift in Sources */,5720E7CA2E54470000EC0DA5 /* ArrayExtensions.swift in Sources */,@@ -5505,6 +5581,7 @@5706AFC62DF7DABD0066122E /* BIOSCollectionViewCell.swift in Sources */,57E9632E2D6B0B8A0022914C /* SparkleSeperatorView.swift in Sources */,576C46352E16DA1B0008D087 /* MultiDiscItemCollectionCell.swift in Sources */,+ 578F28A62F3786D100D2D998 /* PSPNetworkingSwitchCell.swift in Sources */,5706B05A2DFC0F7E0066122E /* SS.swift in Sources */,57CC35822DC069BB00DF7418 /* DownloadItemCollectionViewCell.swift in Sources */,5744C6FF2E368BB40088081A /* NoControllCollectionView.swift in Sources */,@@ -5516,6 +5593,7 @@A392D5B32E9796B900F920E7 /* ServiceIconView.swift in Sources */,5706AFCF2DF7FC730066122E /* SettingDescriptionCollectionViewCell.swift in Sources */,573CEE812F2338BC00EA24F1 /* A2600.swift in Sources */,+ 578F28922F37855A00D2D998 /* PSPNetworkingViewController.swift in Sources */,575FF91D2D350F210043B2F3 /* PlayViewController.swift in Sources */,5781F4842EEE586000916D8B /* ShaderInfoInputCell.swift in Sources */,5706B0452DFBF7DF0066122E /* MCD.swift in Sources */,@@ -5554,6 +5632,7 @@57D029192E6C9C5200BF1F9D /* CheevosProgressView.swift in Sources */,57047A0A2D85217C00C62FF6 /* PurchaseView.swift in Sources */,57EC6AB82D803810002920F0 /* PlayHistoryBlankSlateView.swift in Sources */,+ 578F28972F37856B00D2D998 /* PSPNetworkingView.swift in Sources */,5781F5AE2EF45C8200916D8B /* JGenesisView.swift in Sources */,B23E3DF22A0C9D9B0068EADA /* GradientView.swift in Sources */,57EC6AC82D8119D9002920F0 /* SyncManager.swift in Sources */,@@ -5562,6 +5641,7 @@A3A043BA2E9CF350006442C2 /* GameplayManualsView.swift in Sources */,A3A043C42E9D3956006442C2 /* GameplayManualsViewController.swift in Sources */,57526B7E2EADEED0003F91BD /* FDS.swift in Sources */,+ 578F28C12F39A9CD00D2D998 /* BonjourKit.swift in Sources */,579213532D95314800E88819 /* BaseNavigationController.swift in Sources */,57E0CC532D8EACC70027FB8C /* ResourcesKit.swift in Sources */,570CF88C2EEB0AE000696C1B /* ShadersListView.swift in Sources */,diff --git a/ManicEmu/ManicEmu/Resources/AddInfoPlist.swift b/ManicEmu/ManicEmu/Resources/AddInfoPlist.swiftnew file mode 100644index 00000000..0c10d5c8--- /dev/null+++ b/ManicEmu/ManicEmu/Resources/AddInfoPlist.swift@@ -0,0 +1,53 @@+#!/usr/bin/swift++import Foundation++// MARK: - 获取当前目录路径+let currentPath = FileManager.default.currentDirectoryPath++// MARK: - 获取输入的 JSON 文件路径+guard CommandLine.arguments.count >= 2 else {+ print("❌ 用法: swift AddLocalization.swift <json文件路径>")+ exit(1)+}++let jsonPath = CommandLine.arguments[1]++// MARK: - 加载并解析 JSON+guard let jsonData = FileManager.default.contents(atPath: jsonPath) else {+ print("❌ 无法读取 JSON 文件: \(jsonPath)")+ exit(1)+}++guard let jsonObject = try? JSONSerialization.jsonObject(with: jsonData, options: []),+ let dict = jsonObject as? [String: String] else {+ print("❌ JSON 格式错误,应为 [String: String]")+ exit(1)+}++// MARK: - 遍历字典并写入对应 Localizable.strings+for (lang, value) in dict {+ let localizationPath = "\(currentPath)/\(lang).lproj/InfoPlist.strings"+ let fileURL = URL(fileURLWithPath: localizationPath)++ // 构建要追加的字符串,带换行+ let newLine = "\n\(value)"++ do {+ // 如果文件不存在则创建+ if !FileManager.default.fileExists(atPath: localizationPath) {+ print("❌ 文件不存在:\(localizationPath)")+ }++ let fileHandle = try FileHandle(forWritingTo: fileURL)+ fileHandle.seekToEndOfFile()+ if let data = newLine.data(using: .utf8) {+ fileHandle.write(data)+ }+ fileHandle.closeFile()+ print("✅ 成功添加至 \(localizationPath)")+ } catch {+ print("⚠️ 写入 \(localizationPath) 失败: \(error.localizedDescription)")+ continue+ }+}\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfigindex 42baf944..bbd36f84 100644--- a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig+++ b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig@@ -11,5 +11,5 @@// https://help.apple.com/xcode/#/dev745c5c974APP_BUNDLE_IDENTIFIER = com.aoshuang.manicemu-APP_BUILD_VERSION = 7-APP_VERSION = 1.8.2+APP_BUILD_VERSION = 0+APP_VERSION = 1.8.3diff --git a/ManicEmu/ManicEmu/Resources/Info.plist b/ManicEmu/ManicEmu/Resources/Info.plistindex 7c4ef3ae..2c1f36f7 100644--- a/ManicEmu/ManicEmu/Resources/Info.plist+++ b/ManicEmu/ManicEmu/Resources/Info.plist@@ -2,6 +2,12 @@<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>+ <key>NSBonjourServices</key>+ <array>+ <string>_manicemu._tcp</string>+ </array>+ <key>NSLocalNetworkUsageDescription</key>+ <string>Manic EMU needs access to your local network to find and connect with other devices for online gaming.</string><key>CFBundleDevelopmentRegion</key><string>$(DEVELOPMENT_LANGUAGE)</string><key>CFBundleDisplayName</key>diff --git a/ManicEmu/ManicEmu/Resources/ar.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ar.lproj/InfoPlist.stringsindex 1fe77503..c2f63e5b 100644--- a/ManicEmu/ManicEmu/Resources/ar.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ar.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "السماح بالوصول سيُمكّنك من حفظ لقطات الشاشة في الألبوم أو اختيار صور منه كغلاف للعبة";"NSMicrophoneUsageDescription" = "يجب منح Manic EMU صلاحية استخدام الميكروفون، وإلا قد تتأثر بعض وظائف ألعاب DS!";"NSCameraUsageDescription" = "يجب منح Manic EMU صلاحية الوصول إلى الكاميرا لالتقاط صور كأغلفة للألعاب!";++"NSLocalNetworkUsageDescription" = "تحتاج Manic EMU إلى الوصول إلى شبكتك المحلية للعثور على الأجهزة الأخرى والتواصل معها من أجل الألعاب عبر الإنترنت.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.stringsindex 728e7e38..5409b925 100644--- a/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ar.lproj/Localizable.strings@@ -823,3 +823,22 @@"RemoveShaderForGlobal" = "إزالة الشادر العالمي";"FeaturedItems" = "العناصر المميزة";"ReUpload" = "إعادة التحميل";++"Service" = "الخدمات";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "شبكة PSP";+"Networking" = "الشبكة";+"NetworkingConfiguration" = "تكوين الشبكة";+"EnableNetworking" = "تمكين الشبكة";+"LANNetworking" = "الشبكة المحلية";+"WANNetworking" = "الشبكة عبر الإنترنت";+"SetAsHost" = "تعيين كخادم مضيف";+"IPAddress" = "عنوان IP";+"ServerAddress" = "عنوان الخادم";+"PortOffset" = "المنفذ";+"HostAddress" = "عنوان المضيف";+"ServiceFound" = "الخوادم المضيفة المتاحة";+"Connect" = "اتصال";+"Connected" = "متصل";+"LocalNetworkingDesc" = "يتطلب اللعب الجماعي المحلي جهازًا واحدًا على الأقل ليعمل كخادم مضيف. يبث المضيف خدمته على الشبكة المحلية، وستبحث الأجهزة الأخرى تلقائيًا عن المضيفين المتاحين. إذا لم يتم العثور على مضيف، يمكنك إدخال عنوان IP الخاص بالمضيف يدويًا. بمجرد الاتصال، يمكن بدء اللعب الجماعي.";+"OnlineNetworkingDesc" = "يتطلب اللعب الجماعي عبر الإنترنت إدخال عنوان خادم عبر الإنترنت صالح.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ca.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ca.lproj/InfoPlist.stringsindex 88f66345..04d3084b 100644--- a/ManicEmu/ManicEmu/Resources/ca.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ca.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Permet l'accés per guardar captures de pantalla del joc a l'àlbum i seleccionar imatges com a portades dels jocs";"NSMicrophoneUsageDescription" = "Cal que autoritzes l'accés al micròfon per a Manic EMU, o algunes funcions dels jocs DS podrien no funcionar correctament!";"NSCameraUsageDescription" = "Cal que autoritzes l'accés a la càmera per a Manic EMU per poder fer fotos com a portades dels jocs!";++"NSLocalNetworkUsageDescription" = "Manic EMU necessita accés a la xarxa local per trobar i connectar-se amb altres dispositius per als jocs en línia.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.stringsindex 4187fb8d..e3f517b3 100644--- a/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ca.lproj/Localizable.strings@@ -850,3 +850,22 @@ Si voleu millorar la vostra configuració, PlayCase és el complement perfecte p"RemoveShaderForGlobal" = "Eliminar Shader Global";"FeaturedItems" = "Articles Destacats";"ReUpload" = "Pujar de Nou";++"Service" = "Serveis";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Xarxa PSP";+"Networking" = "Xarxa";+"NetworkingConfiguration" = "Configuració de xarxa";+"EnableNetworking" = "Activar xarxa";+"LANNetworking" = "Xarxa local";+"WANNetworking" = "Xarxa en línia";+"SetAsHost" = "Establir com a amfitrió";+"IPAddress" = "Adreça IP";+"ServerAddress" = "Adreça del servidor";+"PortOffset" = "Port";+"HostAddress" = "Adreça de l'amfitrió";+"ServiceFound" = "Amfitrions disponibles";+"Connect" = "Connecta";+"Connected" = "Connectat";+"LocalNetworkingDesc" = "El multijugador local requereix almenys un dispositiu com a amfitrió. L'amfitrió transmet el seu servei a la xarxa local i els altres dispositius buscaran automàticament amfitrions disponibles. Si no se'n troba cap, pots introduir manualment l'adreça IP de l'amfitrió. Un cop connectats, es pot iniciar la partida multijugador.";+"OnlineNetworkingDesc" = "El multijugador en línia requereix introduir una adreça de servidor en línia vàlida.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/cs.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/cs.lproj/InfoPlist.stringsindex d8e46479..cd5528e3 100644--- a/ManicEmu/ManicEmu/Resources/cs.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/cs.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Povolení přístupu umožňuje ukládat screenshoty her do alba a vybírat obrázky z alba jako herní obaly.";"NSMicrophoneUsageDescription" = "Aby některé hry pro DS fungovaly správně, je třeba udělit aplikaci Manic EMU přístup k mikrofonu!";"NSCameraUsageDescription" = "Pro pořizování herních obalů je třeba povolit přístup k fotoaparátu pro Manic EMU!";++"NSLocalNetworkUsageDescription" = "Manic EMU potřebuje přístup k vaší místní síti, aby mohl vyhledávat a připojovat se k jiným zařízením pro online hraní.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.stringsindex 896ae3c7..3c348bd2 100644--- a/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/cs.lproj/Localizable.strings@@ -846,3 +846,22 @@ Pokud chcete vylepšit své nastavení, PlayCase je perfektním doplňkem tohoto"RemoveShaderForGlobal" = "Odstranit Globální Shader";"FeaturedItems" = "Doporučené Položky";"ReUpload" = "Znovu Nahrát";++"Service" = "Služby";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Síť PSP";+"Networking" = "Síť";+"NetworkingConfiguration" = "Konfigurace sítě";+"EnableNetworking" = "Povolit síť";+"LANNetworking" = "Místní síť";+"WANNetworking" = "Online síť";+"SetAsHost" = "Nastavit jako hostitele";+"IPAddress" = "IP adresa";+"ServerAddress" = "Adresa serveru";+"PortOffset" = "Port";+"HostAddress" = "Adresa hostitele";+"ServiceFound" = "Dostupní hostitelé";+"Connect" = "Připojit";+"Connected" = "Připojeno";+"LocalNetworkingDesc" = "Místní multiplayer vyžaduje alespoň jedno zařízení jako hostitele. Hostitel vysílá svou službu v místní síti a ostatní zařízení automaticky vyhledají dostupné hostitele. Pokud není hostitel nalezen, můžete ručně zadat jeho IP adresu. Po připojení lze zahájit hru pro více hráčů.";+"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadání platné adresy online serveru.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/da.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/da.lproj/InfoPlist.stringsindex 91dc396c..957f07e7 100644--- a/ManicEmu/ManicEmu/Resources/da.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/da.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Tillad adgang for at gemme spilskærmbilleder i fotoalbummet og vælge billeder som spilcover";"NSMicrophoneUsageDescription" = "Manic EMU skal have adgang til din mikrofon, ellers kan visse DS-spil have begrænset funktionalitet!";"NSCameraUsageDescription" = "Manic EMU skal have adgang til dit fotoalbum for at kunne tage spilcover-fotos!";++"NSLocalNetworkUsageDescription" = "Manic EMU skal have adgang til dit lokale netværk for at finde og oprette forbindelse til andre enheder til onlinespil.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.stringsindex b2efe4df..1f1e6367 100644--- a/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/da.lproj/Localizable.strings@@ -848,3 +848,22 @@ Hvis du vil forbedre dit setup, er PlayCase et perfekt match til dette skin.";"RemoveShaderForGlobal" = "Fjern Global Shader";"FeaturedItems" = "Fremhævede Emner";"ReUpload" = "Genupload";++"Service" = "Tjenester";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP-netværk";+"Networking" = "Netværk";+"NetworkingConfiguration" = "Netværkskonfiguration";+"EnableNetworking" = "Aktiver netværk";+"LANNetworking" = "Lokalt netværk";+"WANNetworking" = "Online netværk";+"SetAsHost" = "Angiv som vært";+"IPAddress" = "IP-adresse";+"ServerAddress" = "Serveradresse";+"PortOffset" = "Port";+"HostAddress" = "Værtadresse";+"ServiceFound" = "Tilgængelige værter";+"Connect" = "Forbind";+"Connected" = "Forbundet";+"LocalNetworkingDesc" = "Lokal multiplayer kræver mindst én enhed som vært. Værten udsender sin tjeneste på det lokale netværk, og andre enheder søger automatisk efter tilgængelige værter. Hvis der ikke findes nogen vært, kan du manuelt indtaste værten IP-adresse. Når forbindelsen er etableret, kan multiplayer-spillet begynde.";+"OnlineNetworkingDesc" = "Online multiplayer kræver indtastning af en gyldig online-serveradresse.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/de.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/de.lproj/InfoPlist.stringsindex f655a441..9448dbad 100644--- a/ManicEmu/ManicEmu/Resources/de.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/de.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Erlaubt den Zugriff, um Spielscreenshots in der Fotos-App zu speichern und Bilder als Cover auszuwählen";"NSMicrophoneUsageDescription" = "Manic EMU benötigt Mikrofonzugriff, sonst sind einige DS-Spielfunktionen eingeschränkt!";"NSCameraUsageDescription" = "Manic EMU benötigt Kamerazugriff für die Aufnahme von Spiel-Covers!";++"NSLocalNetworkUsageDescription" = "Manic EMU benötigt Zugriff auf Ihr lokales Netzwerk, um andere Geräte für Online-Spiele zu finden und eine Verbindung herzustellen.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.stringsindex 320ad405..a9bfadfd 100644--- a/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/de.lproj/Localizable.strings@@ -852,3 +852,22 @@ Wenn Sie Ihr Setup verbessern möchten, ist PlayCase die perfekte Ergänzung zu"RemoveShaderForGlobal" = "Globalen Shader entfernen";"FeaturedItems" = "Ausgewählte Artikel";"ReUpload" = "Erneut hochladen";++"Service" = "Dienste";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP-Netzwerk";+"Networking" = "Netzwerk";+"NetworkingConfiguration" = "Netzwerkkonfiguration";+"EnableNetworking" = "Netzwerk aktivieren";+"LANNetworking" = "Lokales Netzwerk";+"WANNetworking" = "Online-Netzwerk";+"SetAsHost" = "Als Host festlegen";+"IPAddress" = "IP-Adresse";+"ServerAddress" = "Serveradresse";+"PortOffset" = "Port";+"HostAddress" = "Host-Adresse";+"ServiceFound" = "Verfügbare Hosts";+"Connect" = "Verbinden";+"Connected" = "Verbunden";+"LocalNetworkingDesc" = "Lokaler Mehrspielermodus erfordert mindestens ein Gerät als Host. Der Host überträgt seinen Dienst im lokalen Netzwerk, andere Geräte suchen automatisch nach verfügbaren Hosts. Wird kein Host gefunden, kann die IP-Adresse des Hosts manuell eingegeben werden. Nach erfolgreicher Verbindung kann der Mehrspielermodus beginnen.";+"OnlineNetworkingDesc" = "Online-Mehrspielermodus erfordert die Eingabe einer gültigen Online-Serveradresse.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/el.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/el.lproj/InfoPlist.stringsindex ee93c6ee..de8d371f 100644--- a/ManicEmu/ManicEmu/Resources/el.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/el.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Η άδεια πρόσβασης επιτρέπει την αποθήκευση στιγμιοτύπων παιχνιδιών στο άλμπουμ και την επιλογή εικόνων από αυτό ως εξώφυλλα παιχνιδιών";"NSMicrophoneUsageDescription" = "Απαιτείται η εκχώρηση δικαιώματος χρήσης μικροφώνου στο Manic EMU, διαφορετικά ορισμένες λειτουργίες παιχνιδιών DS μπορεί να περιοριστούν!";"NSCameraUsageDescription" = "Απαιτείται η άδεια πρόσβασης στο άλμπουμ για τη λήψη φωτογραφιών εξωφύλλων παιχνιδιών!";++"NSLocalNetworkUsageDescription" = "Το Manic EMU χρειάζεται πρόσβαση στο τοπικό σας δίκτυο για να εντοπίζει και να συνδέεται με άλλες συσκευές για διαδικτυακά παιχνίδια.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.stringsindex 817052b4..8e4d1bef 100644--- a/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/el.lproj/Localizable.strings@@ -851,3 +851,22 @@"RemoveShaderForGlobal" = "Αφαίρεση Παγκόσμιου Shader";"FeaturedItems" = "Προτεινόμενα Αντικείμενα";"ReUpload" = "Επαναφόρτωση";++"Service" = "Υπηρεσίες";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Δίκτυο PSP";+"Networking" = "Δίκτυο";+"NetworkingConfiguration" = "Ρύθμιση Δικτύου";+"EnableNetworking" = "Ενεργοποίηση Δικτύου";+"LANNetworking" = "Τοπικό Δίκτυο";+"WANNetworking" = "Διαδικτυακό Δίκτυο";+"SetAsHost" = "Ορισμός ως Κεντρικός Υπολογιστής";+"IPAddress" = "Διεύθυνση IP";+"ServerAddress" = "Διεύθυνση Διακομιστή";+"PortOffset" = "Θύρα";+"HostAddress" = "Διεύθυνση Κεντρικού Υπολογιστή";+"ServiceFound" = "Διαθέσιμοι Κεντρικοί Υπολογιστές";+"Connect" = "Σύνδεση";+"Connected" = "Συνδέθηκε";+"LocalNetworkingDesc" = "Η τοπική συλλογική λειτουργία απαιτεί τουλάχιστον μία συσκευή ως κεντρικό υπολογιστή. Ο κεντρικός υπολογιστής εκπέμπει την υπηρεσία του στο τοπικό δίκτυο και άλλες συσκευές θα αναζητούν αυτόματα διαθέσιμους κεντρικούς υπολογιστές. Εάν δεν βρεθεί κανένας, μπορείτε να εισαγάγετε χειροκίνητα τη διεύθυνση IP του κεντρικού υπολογιστή. Μετά τη σύνδεση, μπορείτε να ξεκινήσετε τη συλλογική λειτουργία.";+"OnlineNetworkingDesc" = "Η διαδικτυακή συλλογική λειτουργία απαιτεί τη διεύθυνση ενός έγκυρου διαδικτυακού διακομιστή.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/en.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/en.lproj/InfoPlist.stringsindex 264bd04c..9d9f9193 100644--- a/ManicEmu/ManicEmu/Resources/en.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/en.lproj/InfoPlist.strings@@ -11,3 +11,4 @@"NSPhotoLibraryUsageDescription" = "Manic EMU requires photo library access to save screenshots and select images for game covers";"NSMicrophoneUsageDescription" = "Microphone access required for full Nintendo DS game functionality in Manic EMU";"NSCameraUsageDescription" = "Camera access required to capture photos for custom game covers in Manic EMU";+"NSLocalNetworkUsageDescription" = "Manic EMU needs access to your local network to find and connect with other devices for online gaming.";diff --git a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.stringsindex 8006a537..b1afa5c4 100644--- a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings@@ -865,3 +865,22 @@ Press the controller button to complete mapping...";"RemoveShaderForGlobal" = "Remove Global Shader";"FeaturedItems" = "Featured Items";"ReUpload" = "Re-upload";++"Service" = "Services";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP Networking";+"Networking" = "Networking";+"NetworkingConfiguration" = "Network Configuration";+"EnableNetworking" = "Enable Networking";+"LANNetworking" = "Local Network";+"WANNetworking" = "Online Network";+"SetAsHost" = "Set This Device as Host";+"IPAddress" = "IP Address";+"ServerAddress" = "Server Address";+"PortOffset" = "Port";+"HostAddress" = "Host Address";+"ServiceFound" = "Available Hosts";+"Connect" = "Connect";+"Connected" = "Connected";+"LocalNetworkingDesc" = "Local multiplayer requires at least one device to act as a host. The host broadcasts its service on the local network, and other devices will automatically search for available hosts. If no host is found, you can manually enter the host’s IP address. Once connected, multiplayer gameplay can begin.";+"OnlineNetworkingDesc" = "Online multiplayer requires entering a valid online server address.";diff --git a/ManicEmu/ManicEmu/Resources/es-419.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/es-419.lproj/InfoPlist.stringsindex 4a46e63a..8ef350b0 100644--- a/ManicEmu/ManicEmu/Resources/es-419.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/es-419.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Permite el acceso para guardar capturas de pantalla en el álbum y seleccionar imágenes como portadas de juegos";"NSMicrophoneUsageDescription" = "¡Necesitas otorgar permiso de micrófono a Manic EMU o algunas funciones de juegos DS podrían verse limitadas!";"NSCameraUsageDescription" = "¡Requieres otorgar permiso de cámara a Manic EMU para fotografiar portadas de juegos!";++"NSLocalNetworkUsageDescription" = "Manic EMU necesita acceso a su red local para encontrar y conectarse con otros dispositivos y jugar en línea.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.stringsindex af648851..5d2dd9e0 100644--- a/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/es-419.lproj/Localizable.strings@@ -850,3 +850,22 @@ Si quieres mejorar tu experiencia, PlayCase combina perfecto con esta funda.";"RemoveShaderForGlobal" = "Eliminar Shader Global";"FeaturedItems" = "Artículos Destacados";"ReUpload" = "Volver a Subir";++"Service" = "Servicios";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Red de PSP";+"Networking" = "Red";+"NetworkingConfiguration" = "Configuración de red";+"EnableNetworking" = "Activar red";+"LANNetworking" = "Red local";+"WANNetworking" = "Red en línea";+"SetAsHost" = "Configurar como servidor";+"IPAddress" = "Dirección IP";+"ServerAddress" = "Dirección del servidor";+"PortOffset" = "Puerto";+"HostAddress" = "Dirección del servidor";+"ServiceFound" = "Servidores disponibles";+"Connect" = "Conectar";+"Connected" = "Conectado";+"LocalNetworkingDesc" = "Para el multijugador local se necesita al menos un dispositivo como servidor. El servidor transmite su servicio en la red local, y otros dispositivos buscarán automáticamente servidores disponibles. Si no se encuentra un servidor, puedes ingresar manualmente su dirección IP. Tras conectarse, podrán comenzar a jugar.";+"OnlineNetworkingDesc" = "El multijugador en línea requiere ingresar una dirección de servidor en línea válida.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/es.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/es.lproj/InfoPlist.stringsindex 069270f7..69d29a7b 100644--- a/ManicEmu/ManicEmu/Resources/es.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/es.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Permite guardar capturas de pantalla en el álbum y seleccionar imágenes como portadas de juegos";"NSMicrophoneUsageDescription" = "Se requiere acceso al micrófono para garantizar el funcionamiento completo de algunos juegos de DS";"NSCameraUsageDescription" = "Se requiere acceso a la cámara para realizar fotografías de portadas de juegos";++"NSLocalNetworkUsageDescription" = "Manic EMU necesita acceder a su red local para buscar y conectarse con otros dispositivos para juegos en línea.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.stringsindex ebf894c3..33b09817 100644--- a/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/es.lproj/Localizable.strings@@ -825,3 +825,22 @@ Si quieres mejorar tu configuración, PlayCase es el complemento perfecto para e"RemoveShaderForGlobal" = "Eliminar Shader Global";"FeaturedItems" = "Artículos Destacados";"ReUpload" = "Volver a Subir";++"Service" = "Servicios";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Red de PSP";+"Networking" = "Red";+"NetworkingConfiguration" = "Configuración de red";+"EnableNetworking" = "Activar red";+"LANNetworking" = "Red local";+"WANNetworking" = "Red en línea";+"SetAsHost" = "Establecer como anfitrión";+"IPAddress" = "Dirección IP";+"ServerAddress" = "Dirección del servidor";+"PortOffset" = "Puerto";+"HostAddress" = "Dirección del anfitrión";+"ServiceFound" = "Anfitriones disponibles";+"Connect" = "Conectar";+"Connected" = "Conectado";+"LocalNetworkingDesc" = "El multijugador local requiere al menos un dispositivo como anfitrión. El anfitrión emite su servicio en la red local y los demás dispositivos buscarán automáticamente anfitriones disponibles. Si no se encuentra ninguno, puedes introducir manualmente la dirección IP del anfitrión. Una vez conectados, puede comenzar el juego multijugador.";+"OnlineNetworkingDesc" = "El multijugador en línea requiere introducir una dirección de servidor en línea válida.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fi.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/fi.lproj/InfoPlist.stringsindex 719aff6d..7570a48b 100644--- a/ManicEmu/ManicEmu/Resources/fi.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/fi.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Salli pääsy tallentaaksesi pelin kuvakaappauksia galleriaan ja valitaksesi kuvia pelin kansikuvaksi";"NSMicrophoneUsageDescription" = "Manic EMU tarvitsee mikrofonin käyttöoikeuden, muuten jotkin DS-pelit eivät toimi kunnolla!";"NSCameraUsageDescription" = "Manic EMU tarvitsee kameran käyttöoikeuden pelin kansikuvien ottamiseen!";++"NSLocalNetworkUsageDescription" = "Manic EMU tarvitsee pääsyn paikalliseen verkkoosi löytääkseen ja yhdistääkseen muihin laitteisiin verkkopelaamista varten.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.stringsindex 4ac76786..1d45448c 100644--- a/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fi.lproj/Localizable.strings@@ -851,3 +851,22 @@ Jos haluat parantaa kokoonpanoasi, PlayCase on täydellinen lisä tälle skinill"RemoveShaderForGlobal" = "Poista Globaali Shader";"FeaturedItems" = "Suositellut Tuotteet";"ReUpload" = "Lataa Uudelleen";++"Service" = "Palvelut";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP-verkko";+"Networking" = "Verkko";+"NetworkingConfiguration" = "Verkon asetukset";+"EnableNetworking" = "Ota verkko käyttöön";+"LANNetworking" = "Paikallinen verkko";+"WANNetworking" = "Verkkoverkko";+"SetAsHost" = "Aseta isäntälaitteeksi";+"IPAddress" = "IP-osoite";+"ServerAddress" = "Palvelimen osoite";+"PortOffset" = "Portti";+"HostAddress" = "Isännän osoite";+"ServiceFound" = "Käytettävissä olevat isännät";+"Connect" = "Yhdistä";+"Connected" = "Yhdistetty";+"LocalNetworkingDesc" = "Paikallinen moninpeli vaatii vähintään yhden laitteen isännäksi. Isäntä lähettää palvelunsa paikallisessa verkossa, ja muut laitteet etsivät automaattisesti käytettävissä olevia isäntiä. Jos isäntää ei löydy, voit syöttää sen IP-osoitteen manuaalisesti. Yhdistämisen jälkeen moninpeli voi alkaa.";+"OnlineNetworkingDesc" = "Verkkomoninpeli vaatii kelvollisen verkkopalvelimen osoitteen.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/InfoPlist.stringsindex 5cf3c164..d34fd667 100644--- a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/InfoPlist.strings@@ -11,3 +11,5 @@"NSPhotoLibraryUsageDescription" = "Autoriser l'accès permet d'enregistrer des captures d'écran de jeu dans l'album photo et de sélectionner des images comme couvertures de jeu";"NSMicrophoneUsageDescription" = "Vous devez autoriser Manic EMU à accéder au microphone, sinon certaines fonctionnalités des jeux DS pourraient être limitées !";"NSCameraUsageDescription" = "L'autorisation d'accès à l'album photo est requise pour Manic EMU afin de pouvoir photographier des couvertures de jeu !";++"NSLocalNetworkUsageDescription" = "Manic EMU nécessite l'accès à votre réseau local pour trouver et se connecter à d'autres appareils pour le jeu en ligne.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.stringsindex f429a0da..f5b79396 100644--- a/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fr-CA.lproj/Localizable.strings@@ -852,3 +852,22 @@ Si vous voulez améliorer votre installation, PlayCase est le complément parfai"RemoveShaderForGlobal" = "Supprimer le Shader Global";"FeaturedItems" = "Articles en Vedette";"ReUpload" = "Téléverser à Nouveau";++"Service" = "Services";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Réseau PSP";+"Networking" = "Réseau";+"NetworkingConfiguration" = "Configuration du réseau";+"EnableNetworking" = "Activer le réseau";+"LANNetworking" = "Réseau local";+"WANNetworking" = "Réseau en ligne";+"SetAsHost" = "Configurer comme hôte";+"IPAddress" = "Adresse IP";+"ServerAddress" = "Adresse du serveur";+"PortOffset" = "Port";+"HostAddress" = "Adresse de l'hôte";+"ServiceFound" = "Hôtes disponibles";+"Connect" = "Se connecter";+"Connected" = "Connecté";+"LocalNetworkingDesc" = "Le jeu multijoueur en local requiert au moins un appareil comme hôte. L'hôte diffuse son service sur le réseau local et les autres appareils recherchent automatiquement les hôtes disponibles. Si aucun hôte n'est trouvé, vous pouvez entrer manuellement son adresse IP. Une fois connectés, la partie multijoueur peut débuter.";+"OnlineNetworkingDesc" = "Le jeu multijoueur en ligne requiert une adresse de serveur en ligne valide.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/fr.lproj/InfoPlist.stringsindex e8cef1ce..183e6388 100644--- a/ManicEmu/ManicEmu/Resources/fr.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/fr.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "L'autorisation d'accès permet d'enregistrer des captures d'écran de jeu dans l'album photo et de sélectionner des images comme couvertures de jeu";"NSMicrophoneUsageDescription" = "Vous devez autoriser Manic EMU à accéder au microphone, sinon certaines fonctionnalités des jeux DS pourraient être limitées !";"NSCameraUsageDescription" = "L'autorisation d'accès à l'album photo est requise pour que Manic EMU puisse prendre des photos comme couvertures de jeu !";++"NSLocalNetworkUsageDescription" = "Manic EMU a besoin d'accéder à votre réseau local pour rechercher et se connecter à d'autres appareils afin de jouer en ligne.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.stringsindex 3706cbfe..11e3b871 100644--- a/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/fr.lproj/Localizable.strings@@ -852,3 +852,22 @@ Si vous souhaitez améliorer votre configuration, PlayCase est le complément id"RemoveShaderForGlobal" = "Supprimer le Shader Global";"FeaturedItems" = "Articles en Vedette";"ReUpload" = "Téléverser à Nouveau";++"Service" = "Services";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Réseau PSP";+"Networking" = "Réseau";+"NetworkingConfiguration" = "Configuration réseau";+"EnableNetworking" = "Activer le réseau";+"LANNetworking" = "Réseau local";+"WANNetworking" = "Réseau en ligne";+"SetAsHost" = "Définir comme hôte";+"IPAddress" = "Adresse IP";+"ServerAddress" = "Adresse du serveur";+"PortOffset" = "Port";+"HostAddress" = "Adresse de l'hôte";+"ServiceFound" = "Hôtes disponibles";+"Connect" = "Connexion";+"Connected" = "Connecté";+"LocalNetworkingDesc" = "Le multijoueur en local nécessite au moins un appareil faisant office d'hôte. L'hôte diffuse son service sur le réseau local, et les autres appareils rechercheront automatiquement les hôtes disponibles. Si aucun hôte n'est trouvé, vous pouvez saisir manuellement son adresse IP. Une fois connectés, la partie multijoueur peut commencer.";+"OnlineNetworkingDesc" = "Le multijoueur en ligne nécessite de saisir une adresse de serveur en ligne valide.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/he.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/he.lproj/InfoPlist.stringsindex e800b4fb..4d18b8f0 100644--- a/ManicEmu/ManicEmu/Resources/he.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/he.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "אפשר גישה לאלבום התמונות כדי לשמור צילומי מסך מהמשחק ולבחור תמונות מהאלבום ככיסוי למשחק";"NSMicrophoneUsageDescription" = "יש להעניק ל-Manic EMU הרשאה להשתמש במיקרופון, אחרת חלק ממשחקי ה-DS עלולים לתפקד בצורה מוגבלת!";"NSCameraUsageDescription" = "יש להעניק ל-Manic EMU הרשאה לגשת למצלמה כדי לצלם תמונות כיסוי למשחק!";++"NSLocalNetworkUsageDescription" = "Manic EMU זקוק לגישה לרשת המקומית שלך כדי למצוא ולהתחבר למכשירים אחרים למשחק מקוון.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.stringsindex 6f12b16b..f4429c57 100644--- a/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/he.lproj/Localizable.strings@@ -851,3 +851,22 @@ PlayCase מתמקדת במעטפות iPhone איכותיות, המיוצרות"RemoveShaderForGlobal" = "הסר Shader גלובלי";"FeaturedItems" = "פריטים מומלצים";"ReUpload" = "העלה מחדש";++"Service" = "שירותים";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "רשת PSP";+"Networking" = "רשת";+"NetworkingConfiguration" = "הגדרת רשת";+"EnableNetworking" = "הפעל רשת";+"LANNetworking" = "רשת מקומית";+"WANNetworking" = "רשת מקוונת";+"SetAsHost" = "הגדר כמארח";+"IPAddress" = "כתובת IP";+"ServerAddress" = "כתובת שרת";+"PortOffset" = "פורט";+"HostAddress" = "כתובת מארח";+"ServiceFound" = "מארחים זמינים";+"Connect" = "התחבר";+"Connected" = "מחובר";+"LocalNetworkingDesc" = "משחק מרובה משתתפים ברשת מקומית דורש לפחות מכשיר אחד שישמש כמארח. המארח משדר את השירות שלו ברשת המקומית, ומכשירים אחרים יחפשו אוטומטית מארחים זמינים. אם לא נמצא מארח, תוכל להזין ידנית את כתובת ה-IP שלו. לאחר ההתחברות, ניתן להתחיל לשחק.";+"OnlineNetworkingDesc" = "משחק מרובה משתתפים ברשת מקוונת דורש הזנת כתובת שרת מקוון תקפה.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hi.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/hi.lproj/InfoPlist.stringsindex 3ab5c52e..a7e62105 100644--- a/ManicEmu/ManicEmu/Resources/hi.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/hi.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "फोटो लाइब्रेरी तक पहुंच की अनुमति देने से गेम स्क्रीनशॉट्स को ऐल्बम में सेव करने और गेम कवर के रूप में ऐल्बम चित्र चुनने की सुविधा मिलेगी";"NSMicrophoneUsageDescription" = "Manic EMU को माइक्रोफोन एक्सेस की आवश्यकता है, अन्यथा कुछ DS गेम्स की कार्यक्षमता सीमित हो सकती है!";"NSCameraUsageDescription" = "गेम कवर फोटो लेने के लिए Manic EMU को कैमरा एक्सेस की आवश्यकता है!";++"NSLocalNetworkUsageDescription" = "Manic EMU को ऑनलाइन गेमिंग के लिए अन्य उपकरणों को ढूंढने और उनसे कनेक्ट करने के लिए आपके लोकल नेटवर्क तक पहुंच की आवश्यकता है।";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.stringsindex befc00f6..c4ea42c7 100644--- a/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hi.lproj/Localizable.strings@@ -852,3 +852,22 @@ PlayCase हाई-क्वालिटी iPhone केसों पर के"RemoveShaderForGlobal" = "वैश्विक शेडर हटाएं";"FeaturedItems" = "फ़ीचर्ड आइटम्स";"ReUpload" = "पुनः अपलोड करें";++"Service" = "सेवाएँ";+"NintendoWFC" = "निनटेंडो WFC";+"PSPNetworking" = "PSP नेटवर्किंग";+"Networking" = "नेटवर्क";+"NetworkingConfiguration" = "नेटवर्क कॉन्फ़िगरेशन";+"EnableNetworking" = "नेटवर्क सक्षम करें";+"LANNetworking" = "लोकल नेटवर्क";+"WANNetworking" = "ऑनलाइन नेटवर्क";+"SetAsHost" = "इस डिवाइस को होस्ट के रूप में सेट करें";+"IPAddress" = "आईपी पता";+"ServerAddress" = "सर्वर पता";+"PortOffset" = "पोर्ट";+"HostAddress" = "होस्ट पता";+"ServiceFound" = "उपलब्ध होस्ट";+"Connect" = "कनेक्ट करें";+"Connected" = "कनेक्टेड";+"LocalNetworkingDesc" = "लोकल मल्टीप्लेयर के लिए कम से कम एक डिवाइस को होस्ट के रूप में कार्य करना आवश्यक है। होस्ट लोकल नेटवर्क पर अपनी सेवा प्रसारित करता है, और अन्य डिवाइस स्वचालित रूप से उपलब्ध होस्ट खोजेंगे। यदि कोई होस्ट नहीं मिलता है, तो आप होस्ट का आईपी पता मैन्युअली दर्ज कर सकते हैं। एक बार कनेक्ट हो जाने पर, मल्टीप्लेयर गेमप्ले शुरू हो सकता है।";+"OnlineNetworkingDesc" = "ऑनलाइन मल्टीप्लेयर के लिए एक वैध ऑनलाइन सर्वर पता दर्ज करना आवश्यक है।";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hr.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/hr.lproj/InfoPlist.stringsindex 58e5ae35..eb8037b9 100644--- a/ManicEmu/ManicEmu/Resources/hr.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/hr.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Dozvola za pristup omogućuje spremanje snimki igre u fotoalbum i odabir slika iz albuma kao naslovnica igre";"NSMicrophoneUsageDescription" = "Manic EMU treba dopuštenje za pristup mikrofonu, inače neke DS igre možda neće raditi ispravno!";"NSCameraUsageDescription" = "Manic EMU treba dopuštenje za pristup kameri kako bi se mogle snimati naslovnice igara!";++"NSLocalNetworkUsageDescription" = "Manic EMU treba pristup vašoj lokalnoj mreži kako bi pronašao i povezao se s drugim uređajima za online igranje.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.stringsindex 16ab0f2a..92ccdda5 100644--- a/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hr.lproj/Localizable.strings@@ -848,3 +848,22 @@ Ako želite unaprijediti svoju postavu, PlayCase je savršen dodatak ovom skinu."RemoveShaderForGlobal" = "Ukloni Globalni Shader";"FeaturedItems" = "Istaknute Stavke";"ReUpload" = "Ponovno Učitaj";++"Service" = "Usluge";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP mreža";+"Networking" = "Mreža";+"NetworkingConfiguration" = "Konfiguracija mreže";+"EnableNetworking" = "Omogući mrežu";+"LANNetworking" = "Lokalna mreža";+"WANNetworking" = "Online mreža";+"SetAsHost" = "Postavi kao host";+"IPAddress" = "IP adresa";+"ServerAddress" = "Adresa poslužitelja";+"PortOffset" = "Port";+"HostAddress" = "Adresa hosta";+"ServiceFound" = "Dostupni hostovi";+"Connect" = "Poveži";+"Connected" = "Povezano";+"LocalNetworkingDesc" = "Lokalni multiplayer zahtijeva barem jedan uređaj kao host. Host emitira svoju uslugu na lokalnoj mreži, a drugi uređaji će automatski tražiti dostupne hostove. Ako se ne pronađe host, možete ručno unijeti IP adresu hosta. Nakon povezivanja, može započeti multiplayer igra.";+"OnlineNetworkingDesc" = "Online multiplayer zahtijeva unos valjane adrese online poslužitelja.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hu.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/hu.lproj/InfoPlist.stringsindex 6cd2ed40..6721f72e 100644--- a/ManicEmu/ManicEmu/Resources/hu.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/hu.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "A fényképtárhoz való hozzáférés engedélyezésével játékképeket menthet a galériába, és választhat képeket játékborítónak";"NSMicrophoneUsageDescription" = "A mikrofon használatának engedélyezése szükséges a Manic EMU számára, különben egyes DS játékok funkciói korlátozva lehetnek!";"NSCameraUsageDescription" = "A kamera használatának engedélyezése szükséges a Manic EMU számára, hogy játékborítókat készíthessen!";++"NSLocalNetworkUsageDescription" = "A Manic EMU hozzáférésre van szüksége a helyi hálózatához, hogy megtaláljon és csatlakozzon más eszközökhöz online játékhoz.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.stringsindex a1618b5d..a7bad6ff 100644--- a/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/hu.lproj/Localizable.strings@@ -850,3 +850,22 @@ Ha fejleszteni szeretnéd a beállításod, a PlayCase tökéletes kiegészítő"RemoveShaderForGlobal" = "Globális Shader Eltávolítása";"FeaturedItems" = "Kiemelt Tételek";"ReUpload" = "Újrafeltöltés";++"Service" = "Szolgáltatások";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP hálózat";+"Networking" = "Hálózat";+"NetworkingConfiguration" = "Hálózati beállítás";+"EnableNetworking" = "Hálózat bekapcsolása";+"LANNetworking" = "Helyi hálózat";+"WANNetworking" = "Online hálózat";+"SetAsHost" = "Beállítás kiszolgálónak";+"IPAddress" = "IP-cím";+"ServerAddress" = "Szerver címe";+"PortOffset" = "Port";+"HostAddress" = "Kiszolgáló címe";+"ServiceFound" = "Elérhető kiszolgálók";+"Connect" = "Csatlakozás";+"Connected" = "Csatlakoztatva";+"LocalNetworkingDesc" = "A helyi többjátékos módhoz legalább egy eszköznek kiszolgálóként kell működnie. A kiszolgáló hirdeti a szolgáltatását a helyi hálózaton, és a többi eszköz automatikusan keresni fogja az elérhető kiszolgálókat. Ha nem található kiszolgáló, manuálisan is megadhatja annak IP-címét. A csatlakozás után megkezdhető a többjátékos játék.";+"OnlineNetworkingDesc" = "Az online többjátékos módhoz érvényes online szervercím megadása szükséges.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/id.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/id.lproj/InfoPlist.stringsindex b4d0e01c..049fbb86 100644--- a/ManicEmu/ManicEmu/Resources/id.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/id.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Izinkan akses untuk menyimpan tangkapan layar ke album dan memilih foto dari album sebagai sampul permainan";"NSMicrophoneUsageDescription" = "Manic EMU memerlukan izin akses mikrofon, beberapa fitur game DS mungkin tidak berfungsi optimal!";"NSCameraUsageDescription" = "Izinkan akses kamera untuk Manic EMU agar dapat memotong sampul permainan!";++"NSLocalNetworkUsageDescription" = "Manic EMU memerlukan akses ke jaringan lokal Anda untuk menemukan dan terhubung dengan perangkat lain guna gaming online.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.stringsindex fcf6cc51..cb2b75d5 100644--- a/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/id.lproj/Localizable.strings@@ -843,3 +843,22 @@ Jika Anda ingin meningkatkan setup Anda, PlayCase adalah pasangan sempurna untuk"RemoveShaderForGlobal" = "Hapus Shader Global";"FeaturedItems" = "Item Unggulan";"ReUpload" = "Unggah Ulang";++"Service" = "Layanan";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Jaringan PSP";+"Networking" = "Jaringan";+"NetworkingConfiguration" = "Konfigurasi Jaringan";+"EnableNetworking" = "Aktifkan Jaringan";+"LANNetworking" = "Jaringan Lokal";+"WANNetworking" = "Jaringan Daring";+"SetAsHost" = "Atur Perangkat ini sebagai Host";+"IPAddress" = "Alamat IP";+"ServerAddress" = "Alamat Server";+"PortOffset" = "Port";+"HostAddress" = "Alamat Host";+"ServiceFound" = "Host Tersedia";+"Connect" = "Hubungkan";+"Connected" = "Terhubung";+"LocalNetworkingDesc" = "Multiplayer lokal membutuhkan setidaknya satu perangkat sebagai host. Host menyiarkan layanannya di jaringan lokal, dan perangkat lain akan secara otomatis mencari host yang tersedia. Jika tidak ada host yang ditemukan, Anda dapat memasukkan alamat IP host secara manual. Setelah terhubung, permainan multiplayer dapat dimulai.";+"OnlineNetworkingDesc" = "Multiplayer daring membutuhkan alamat server daring yang valid.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/it.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/it.lproj/InfoPlist.stringsindex bc5a1bb3..6313c743 100644--- a/ManicEmu/ManicEmu/Resources/it.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/it.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Consenti l'accesso per salvare screenshot nell'album e selezionare immagini come copertine di gioco";"NSMicrophoneUsageDescription" = "Autorizza Manic EMU ad accedere al microfono, altrimenti alcune funzioni dei giochi DS potrebbero essere limitate!";"NSCameraUsageDescription" = "Autorizza Manic EMU ad accedere alla fotocamera per scattare copertine di gioco!";++"NSLocalNetworkUsageDescription" = "Manic EMU richiede l'accesso alla rete locale per trovare e connettersi ad altri dispositivi per il gioco online.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.stringsindex 6fab1fd3..f3578988 100644--- a/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/it.lproj/Localizable.strings@@ -854,3 +854,22 @@ Se vuoi migliorare il tuo setup, PlayCase è l’abbinamento perfetto per questa"RemoveShaderForGlobal" = "Rimuovi Shader Globale";"FeaturedItems" = "Articoli in Evidenza";"ReUpload" = "Carica di Nuovo";++"Service" = "Servizi";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Rete PSP";+"Networking" = "Rete";+"NetworkingConfiguration" = "Configurazione rete";+"EnableNetworking" = "Abilita rete";+"LANNetworking" = "Rete locale";+"WANNetworking" = "Rete online";+"SetAsHost" = "Imposta come host";+"IPAddress" = "Indirizzo IP";+"ServerAddress" = "Indirizzo server";+"PortOffset" = "Porta";+"HostAddress" = "Indirizzo host";+"ServiceFound" = "Host disponibili";+"Connect" = "Connetti";+"Connected" = "Connesso";+"LocalNetworkingDesc" = "Il multigiocatore in locale richiede almeno un dispositivo come host. L'host trasmette il suo servizio nella rete locale e gli altri dispositivi cercheranno automaticamente host disponibili. Se non viene trovato alcun host, puoi inserire manualmente l'indirizzo IP dell'host. Una volta connessi, può iniziare la partita multigiocatore.";+"OnlineNetworkingDesc" = "Il multigiocatore online richiede l'inserimento di un indirizzo server online valido.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ja.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ja.lproj/InfoPlist.stringsindex d3eb75e9..bd07ce2f 100644--- a/ManicEmu/ManicEmu/Resources/ja.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ja.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "ゲームのスクリーンショットをフォトライブラリに保存";"NSMicrophoneUsageDescription" = "Manic EMUがマイクへのアクセスを必要としています。権限を許可しない場合、DSゲームの一部機能が制限される可能性があります";"NSCameraUsageDescription" = "Manic EMUがカメラへのアクセスを必要としています。ゲームカバー画像の撮影機能が利用可能になります";++"NSLocalNetworkUsageDescription" = "Manic EMUはオンラインゲームのために他のデバイスを検出し接続するため、ローカルネットワークへのアクセスを必要とします。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.stringsindex 7eb9238d..164d068f 100644--- a/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ja.lproj/Localizable.strings@@ -847,3 +847,22 @@ PlayCaseは、アクセサリーやスキンとの互換性を考慮して作ら"RemoveShaderForGlobal" = "グローバルシェーダーを削除";"FeaturedItems" = "おすすめアイテム";"ReUpload" = "再アップロード";++"Service" = "サービス";+"NintendoWFC" = "ニンテンドーWFC";+"PSPNetworking" = "PSPネットワーク";+"Networking" = "ネットワーク";+"NetworkingConfiguration" = "ネットワーク設定";+"EnableNetworking" = "ネットワークを有効にする";+"LANNetworking" = "ローカルネットワーク";+"WANNetworking" = "オンラインネットワーク";+"SetAsHost" = "この端末をホストに設定";+"IPAddress" = "IPアドレス";+"ServerAddress" = "サーバーアドレス";+"PortOffset" = "ポート";+"HostAddress" = "ホストアドレス";+"ServiceFound" = "利用可能なホスト";+"Connect" = "接続";+"Connected" = "接続済み";+"LocalNetworkingDesc" = "ローカル通信では、少なくとも1台のデバイスがホストとして動作する必要があります。ホストはローカルネットワーク上でサービスをブロードキャストし、他のデバイスは利用可能なホストを自動的に検索します。ホストが見つからない場合は、ホストのIPアドレスを手動で入力できます。接続が確立されると、マルチプレイヤーゲームを開始できます。";+"OnlineNetworkingDesc" = "オンライン通信では、有効なオンラインサーバーアドレスを入力する必要があります。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ko.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ko.lproj/InfoPlist.stringsindex 73042ef5..9b9c0517 100644--- a/ManicEmu/ManicEmu/Resources/ko.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ko.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "게임 스크린샷을 앨범에 저장하고 앨범 사진을 게임 커버로 선택할 수 있도록 접근 권한 허용이 필요합니다";"NSMicrophoneUsageDescription" = "Manic EMU에 마이크 권한을 허용해야 합니다. 그렇지 않으면 일부 DS 게임 기능이 제한될 수 있습니다!";"NSCameraUsageDescription" = "게임 커버 촬영을 위해 Manic EMU에 카메라 접근 권한이 필요합니다!";++"NSLocalNetworkUsageDescription" = "Manic EMU가 온라인 게임을 위해 다른 기기를 찾고 연결하려면 로컬 네트워크에 접근해야 합니다.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.stringsindex 1b48d391..ce2d9b2d 100644--- a/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ko.lproj/Localizable.strings@@ -854,3 +854,22 @@ PlayCase는 액세서리 및 스킨 호환성을 고려하여 제작된 고품"RemoveShaderForGlobal" = "전역 셰이더 제거";"FeaturedItems" = "추천 아이템";"ReUpload" = "다시 업로드";++"Service" = "서비스";+"NintendoWFC" = "닌텐도 WFC";+"PSPNetworking" = "PSP 네트워킹";+"Networking" = "네트워크";+"NetworkingConfiguration" = "네트워크 설정";+"EnableNetworking" = "네트워크 활성화";+"LANNetworking" = "로컬 네트워크";+"WANNetworking" = "온라인 네트워크";+"SetAsHost" = "이 기기를 호스트로 설정";+"IPAddress" = "IP 주소";+"ServerAddress" = "서버 주소";+"PortOffset" = "포트";+"HostAddress" = "호스트 주소";+"ServiceFound" = "사용 가능한 호스트";+"Connect" = "연결";+"Connected" = "연결됨";+"LocalNetworkingDesc" = "로컬 멀티플레이어를 사용하려면 최소 한 대의 기기가 호스트 역할을 해야 합니다. 호스트는 로컬 네트워크에서 서비스를 브로드캐스트하며, 다른 기기에서는 사용 가능한 호스트를 자동으로 검색합니다. 호스트를 찾지 못한 경우 호스트의 IP 주소를 수동으로 입력할 수 있습니다. 연결이 완료되면 멀티플레이어 게임을 시작할 수 있습니다.";+"OnlineNetworkingDesc" = "온라인 멀티플레이어를 사용하려면 유효한 온라인 서버 주소를 입력해야 합니다.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ms.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ms.lproj/InfoPlist.stringsindex 6418ed23..966f66e1 100644--- a/ManicEmu/ManicEmu/Resources/ms.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ms.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Benarkan akses untuk menyimpan tangkapan skrin permainan ke album dan memilih gambar dari album sebagai kulit permainan";"NSMicrophoneUsageDescription" = "Manic EMU memerlukan kebenaran menggunakan mikrofon, sebahagian fungsi permainan DS mungkin terhad tanpa ini!";"NSCameraUsageDescription" = "Benarkan akses kamera untuk Manic EMU bagi mengambil gambar kulit permainan!";++"NSLocalNetworkUsageDescription" = "Manic EMU memerlukan akses kepada rangkaian tempatan anda untuk mencari dan bersambung dengan peranti lain bagi permainan dalam talian.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.stringsindex 2ba91335..4a75284e 100644--- a/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ms.lproj/Localizable.strings@@ -824,3 +824,22 @@ Jika anda ingin meningkatkan persediaan anda, PlayCase adalah padanan sempurna u"RemoveShaderForGlobal" = "Buang Shader Global";"FeaturedItems" = "Item Terpilih";"ReUpload" = "Muat Naik Semula";++"Service" = "Perkhidmatan";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Rangkaian PSP";+"Networking" = "Rangkaian";+"NetworkingConfiguration" = "Konfigurasi Rangkaian";+"EnableNetworking" = "Dayakan Rangkaian";+"LANNetworking" = "Rangkaian Setempat";+"WANNetworking" = "Rangkaian Dalam Talian";+"SetAsHost" = "Tetapkan Peranti Ini sebagai Hos";+"IPAddress" = "Alamat IP";+"ServerAddress" = "Alamat Pelayan";+"PortOffset" = "Port";+"HostAddress" = "Alamat Hos";+"ServiceFound" = "Hos Tersedia";+"Connect" = "Sambung";+"Connected" = "Disambungkan";+"LocalNetworkingDesc" = "Permainan berbilang pemain setempat memerlukan sekurang-kurangnya satu peranti sebagai hos. Hos menyiarkan perkhidmatannya dalam rangkaian setempat, dan peranti lain akan mencari hos yang tersedia secara automatik. Jika tiada hos ditemui, anda boleh memasukkan alamat IP hos secara manual. Setelah disambung, permainan berbilang pemain boleh dimulakan.";+"OnlineNetworkingDesc" = "Permainan berbilang pemain dalam talian memerlukan alamat pelayan dalam talian yang sah.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nb.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/nb.lproj/InfoPlist.stringsindex 96bc850e..4eb41b1f 100644--- a/ManicEmu/ManicEmu/Resources/nb.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/nb.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Tillatelse til å lagre skjermbilder til fotoalbumet og velge bilder som spillcover";"NSMicrophoneUsageDescription" = "Manic EMU trenger tilgang til mikrofonen for at alle DS-spillfunksjoner skal fungere optimalt";"NSCameraUsageDescription" = "Tillat kamerafor å ta spillcover-bilder med Manic EMU";++"NSLocalNetworkUsageDescription" = "Manic EMU trenger tilgang til ditt lokale nettverk for å finne og koble til andre enheter for online spill.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.stringsindex 558663e5..39edb277 100644--- a/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/nb.lproj/Localizable.strings@@ -842,3 +842,22 @@ Hvis du vil forbedre oppsettet ditt, er PlayCase et perfekt tilbehør til dette"RemoveShaderForGlobal" = "Fjern Global Shader";"FeaturedItems" = "Utvalgte Gjenstander";"ReUpload" = "Last Opp På Nytt";++"Service" = "Tjenester";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP-nettverk";+"Networking" = "Nettverk";+"NetworkingConfiguration" = "Nettverkskonfigurasjon";+"EnableNetworking" = "Aktiver nettverk";+"LANNetworking" = "Lokalt nettverk";+"WANNetworking" = "Onlinenettverk";+"SetAsHost" = "Sett som vert";+"IPAddress" = "IP-adresse";+"ServerAddress" = "Serveradresse";+"PortOffset" = "Port";+"HostAddress" = "Vertadresse";+"ServiceFound" = "Tilgjengelige verter";+"Connect" = "Koble til";+"Connected" = "Tilkoblet";+"LocalNetworkingDesc" = "Lokalt flerspillermodus krever minst én enhet som vert. Verten kringkaster tjenesten på det lokale nettverket, og andre enheter søker automatisk etter tilgjengelige verter. Hvis ingen vert blir funnet, kan du angi vertens IP-adresse manuelt. Når tilkoblingen er etablert, kan flerspiller-spillet begynne.";+"OnlineNetworkingDesc" = "Online flerspillermodus krever at du angir en gyldig onlineserveradresse.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nl.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/nl.lproj/InfoPlist.stringsindex 880e4c88..634828dd 100644--- a/ManicEmu/ManicEmu/Resources/nl.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/nl.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Sta toegang toe om gamescreenshots op te slaan in je fotobibliotheek en afbeeldingen te selecteren als gamecover";"NSMicrophoneUsageDescription" = "Manic EMU heeft toegang tot je microfoon nodig, anders kunnen sommige DS-gamefuncties beperkt worden!";"NSCameraUsageDescription" = "Manic EMU heeft toegang tot je camera nodig om gamecovers te kunnen maken!";++"NSLocalNetworkUsageDescription" = "Manic EMU heeft toegang tot uw lokale netwerk nodig om andere apparaten te vinden en ermee te verbinden voor online gaming.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.stringsindex 555bcbcc..5899a964 100644--- a/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/nl.lproj/Localizable.strings@@ -851,3 +851,22 @@ Als je je setup naar een hoger niveau wilt tillen, is PlayCase de perfecte match"RemoveShaderForGlobal" = "Globale Shader Verwijderen";"FeaturedItems" = "Uitgelichte Items";"ReUpload" = "Opnieuw Uploaden";++"Service" = "Diensten";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP Netwerk";+"Networking" = "Netwerk";+"NetworkingConfiguration" = "Netwerkconfiguratie";+"EnableNetworking" = "Netwerk inschakelen";+"LANNetworking" = "Lokaal netwerk";+"WANNetworking" = "Onlinenetwerk";+"SetAsHost" = "Als host instellen";+"IPAddress" = "IP-adres";+"ServerAddress" = "Serveradres";+"PortOffset" = "Poort";+"HostAddress" = "Hostadres";+"ServiceFound" = "Beschikbare hosts";+"Connect" = "Verbinden";+"Connected" = "Verbonden";+"LocalNetworkingDesc" = "Lokale multiplayer vereist minimaal één apparaat als host. De host zendt zijn service uit op het lokale netwerk en andere apparaten zoeken automatisch naar beschikbare hosts. Als er geen host wordt gevonden, kun je handmatig het IP-adres van de host invoeren. Na het verbinden kan de multiplayersessie beginnen.";+"OnlineNetworkingDesc" = "Online multiplayer vereist het invoeren van een geldig online serveradres.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pl.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/pl.lproj/InfoPlist.stringsindex 5e1b92de..3d3b5336 100644--- a/ManicEmu/ManicEmu/Resources/pl.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/pl.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Udostępnienie dostępu pozwala zapisywać zrzuty ekranu z gry w galerii oraz wybierać zdjęcia z galerii jako okładki gier";"NSMicrophoneUsageDescription" = "Aby zapewnić pełną funkcjonalność niektórych gier DS, wymagane jest udzielenie dostępu do mikrofonu dla Manic EMU!";"NSCameraUsageDescription" = "Wymagane jest udzielenie dostępu do aparatu, aby móc fotografować okładki gier w Manic EMU!";++"NSLocalNetworkUsageDescription" = "Aby Manic EMU mógł wyszukiwać i łączyć się z innymi urządzeniami w grach online, wymaga dostępu do sieci lokalnej.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.stringsindex 2a39c64d..9c118668 100644--- a/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pl.lproj/Localizable.strings@@ -825,3 +825,22 @@ Jeśli chcesz ulepszyć swoją konfigurację, PlayCase jest idealnym uzupełnien"RemoveShaderForGlobal" = "Usuń Globalny Shader";"FeaturedItems" = "Wyróżnione Elementy";"ReUpload" = "Prześlij Ponownie";++"Service" = "Usługi";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Sieć PSP";+"Networking" = "Sieć";+"NetworkingConfiguration" = "Konfiguracja sieci";+"EnableNetworking" = "Włącz sieć";+"LANNetworking" = "Sieć lokalna";+"WANNetworking" = "Sieć online";+"SetAsHost" = "Ustaw jako host";+"IPAddress" = "Adres IP";+"ServerAddress" = "Adres serwera";+"PortOffset" = "Port";+"HostAddress" = "Adres hosta";+"ServiceFound" = "Dostępni hosty";+"Connect" = "Połącz";+"Connected" = "Połączono";+"LocalNetworkingDesc" = "Gra wieloosobowa w sieci lokalnej wymaga co najmniej jednego urządzenia jako hosta. Host emituje swoją usługę w sieci lokalnej, a inne urządzenia automatycznie wyszukują dostępnych hostów. Jeśli nie znaleziono hosta, można ręcznie wprowadzić jego adres IP. Po połączeniu można rozpocząć rozgrywkę wieloosobową.";+"OnlineNetworkingDesc" = "Gra wieloosobowa online wymaga podania prawidłowego adresu serwera online.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/InfoPlist.stringsindex 10469ebb..d4d7a83e 100644--- a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Permissão necessária para salvar capturas de tela no álbum e selecionar imagens como capas de jogos";"NSMicrophoneUsageDescription" = "É necessário conceder permissão de microfone ao Manic EMU, caso contrário alguns jogos de DS podem ter funcionalidades limitadas!";"NSCameraUsageDescription" = "Permissão necessária para fotografar capas personalizadas dos jogos!";++"NSLocalNetworkUsageDescription" = "O Manic EMU precisa acessar sua rede local para encontrar e conectar-se a outros dispositivos para jogos on-line.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.stringsindex 30d455d0..3804dbcd 100644--- a/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pt-BR.lproj/Localizable.strings@@ -851,3 +851,22 @@ Se você deseja aprimorar sua configuração, a PlayCase é o complemento perfei"RemoveShaderForGlobal" = "Remover Shader Global";"FeaturedItems" = "Itens em Destaque";"ReUpload" = "Fazer Upload Novamente";++"Service" = "Serviços";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Rede do PSP";+"Networking" = "Rede";+"NetworkingConfiguration" = "Configuração de rede";+"EnableNetworking" = "Ativar rede";+"LANNetworking" = "Rede local";+"WANNetworking" = "Rede online";+"SetAsHost" = "Definir como host";+"IPAddress" = "Endereço IP";+"ServerAddress" = "Endereço do servidor";+"PortOffset" = "Porta";+"HostAddress" = "Endereço do host";+"ServiceFound" = "Hosts disponíveis";+"Connect" = "Conectar";+"Connected" = "Conectado";+"LocalNetworkingDesc" = "O multijogador local requer pelo menos um dispositivo atuando como host. O host transmite seu serviço na rede local e outros dispositivos procurarão automaticamente por hosts disponíveis. Se nenhum host for encontrado, você pode inserir manualmente o endereço IP do host. Uma vez conectados, a partida multijogador pode começar.";+"OnlineNetworkingDesc" = "O multijogador online requer o endereço de um servidor online válido.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/InfoPlist.stringsindex 003cd0d8..180324a4 100644--- a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Permitir o acesso à biblioteca de fotos para guardar capturas de ecrã e selecionar imagens como capas de jogos";"NSMicrophoneUsageDescription" = "É necessário conceder permissão de microfone ao Manic EMU, caso contrário algumas funcionalidades de jogos DS poderão ficar limitadas!";"NSCameraUsageDescription" = "É necessário conceder permissão de câmara ao Manic EMU para capturar imagens como capas de jogos!";++"NSLocalNetworkUsageDescription" = "O Manic EMU precisa de acesso à sua rede local para encontrar e ligar-se a outros dispositivos para jogos online.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.stringsindex aa310b4d..08a02e65 100644--- a/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/pt-PT.lproj/Localizable.strings@@ -852,3 +852,22 @@ Se pretende melhorar a sua configuração, a PlayCase é o complemento perfeito"RemoveShaderForGlobal" = "Remover Shader Global";"FeaturedItems" = "Itens em Destaque";"ReUpload" = "Carregar Novamente";++"Service" = "Serviços";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Rede PSP";+"Networking" = "Rede";+"NetworkingConfiguration" = "Configuração de rede";+"EnableNetworking" = "Ativar rede";+"LANNetworking" = "Rede local";+"WANNetworking" = "Rede online";+"SetAsHost" = "Definir como anfitrião";+"IPAddress" = "Endereço IP";+"ServerAddress" = "Endereço do servidor";+"PortOffset" = "Porto";+"HostAddress" = "Endereço do anfitrião";+"ServiceFound" = "Anfitriões disponíveis";+"Connect" = "Ligar";+"Connected" = "Ligado";+"LocalNetworkingDesc" = "O multijogador local requer pelo menos um dispositivo como anfitrião. O anfitrião transmite o seu serviço na rede local e os outros dispositivos procurarão automaticamente por anfitriões disponíveis. Se não for encontrado nenhum anfitrião, pode introduzir manualmente o endereço IP do mesmo. Após a ligação, o jogo multijogador pode começar.";+"OnlineNetworkingDesc" = "O multijogador online requer a introdução de um endereço de servidor online válido.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ro.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ro.lproj/InfoPlist.stringsindex 2c447adc..d10792bd 100644--- a/ManicEmu/ManicEmu/Resources/ro.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ro.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSMicrophoneUsageDescription" = "Acordați permisiunea de utilizare a microfonului pentru Manic EMU, altfel unele funcții ale jocurilor DS pot fi limitate!";"NSCameraUsageDescription" = "Acordați permisiunea de acces la album pentru Manic EMU pentru a putea fotografia coperta jocului!";++"NSLocalNetworkUsageDescription" = "Manic EMU are nevoie de acces la rețeaua locală pentru a găsi și se conecta la alte dispozitive pentru jocuri online.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.stringsindex a063ab9f..b1a84d99 100644--- a/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ro.lproj/Localizable.strings@@ -850,3 +850,22 @@ Dacă vrei să îți îmbunătățești setup-ul, PlayCase este potrivirea perfe"RemoveShaderForGlobal" = "Elimină Shader Global";"FeaturedItems" = "Articole Recomandate";"ReUpload" = "Reîncărcare";++"Service" = "Servicii";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Rețea PSP";+"Networking" = "Rețea";+"NetworkingConfiguration" = "Configurare rețea";+"EnableNetworking" = "Activează rețeaua";+"LANNetworking" = "Rețea locală";+"WANNetworking" = "Rețea online";+"SetAsHost" = "Setează ca gazdă";+"IPAddress" = "Adresă IP";+"ServerAddress" = "Adresă server";+"PortOffset" = "Port";+"HostAddress" = "Adresă gazdă";+"ServiceFound" = "Găzduitori disponibile";+"Connect" = "Conectează";+"Connected" = "Conectat";+"LocalNetworkingDesc" = "Pentru jocul multiplayer local este necesar cel puțin un dispozitiv ca gazdă. Gazda difuzează serviciul în rețeaua locală, iar celelalte dispozitive vor căuta automat gazde disponibile. Dacă nu este găsită nicio gazdă, poți introduce manual adresa IP a acesteia. După conectare, poți începe jocul multiplayer.";+"OnlineNetworkingDesc" = "Pentru jocul multiplayer online este necesară introducerea unei adrese de server online valide.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ru.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/ru.lproj/InfoPlist.stringsindex 70b05308..5081a5c4 100644--- a/ManicEmu/ManicEmu/Resources/ru.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/ru.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Разрешение доступа позволяет сохранять скриншоты в фотоальбом и выбирать изображения для обложки игр";"NSMicrophoneUsageDescription" = "Для корректной работы некоторых игр для DS необходимо предоставить Manic EMU доступ к вашему микрофону!";"NSCameraUsageDescription" = "Требуется доступ к камере для съёмки обложки игр в Manic EMU!";++"NSLocalNetworkUsageDescription" = "Manic EMU требуется доступ к вашей локальной сети для поиска и подключения к другим устройствам для онлайн-игр.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.stringsindex 9f809f64..5c7ec1ad 100644--- a/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/ru.lproj/Localizable.strings@@ -846,3 +846,22 @@ PlayCase специализируется на высококачественн"RemoveShaderForGlobal" = "Удалить глобальный шейдер";"FeaturedItems" = "Рекомендуемые товары";"ReUpload" = "Повторная загрузка";++"Service" = "Службы";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Сеть PSP";+"Networking" = "Сеть";+"NetworkingConfiguration" = "Настройка сети";+"EnableNetworking" = "Включить сеть";+"LANNetworking" = "Локальная сеть";+"WANNetworking" = "Онлайн-сеть";+"SetAsHost" = "Назначить хостом";+"IPAddress" = "IP-адрес";+"ServerAddress" = "Адрес сервера";+"PortOffset" = "Порт";+"HostAddress" = "Адрес хоста";+"ServiceFound" = "Доступные хосты";+"Connect" = "Подключить";+"Connected" = "Подключено";+"LocalNetworkingDesc" = "Для локальной многопользовательской игры требуется хотя бы одно устройство в роли хоста. Хост рассылает свой сервис в локальной сети, а другие устройства автоматически ищут доступные хосты. Если хост не найден, вы можете вручную ввести его IP-адрес. После подключения можно начинать игру.";+"OnlineNetworkingDesc" = "Для онлайн-игры требуется ввести действительный адрес онлайн-сервера.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sk.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/sk.lproj/InfoPlist.stringsindex 6cc9b035..f013761a 100644--- a/ManicEmu/ManicEmu/Resources/sk.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/sk.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Povolenie prístupu umožňuje ukladať screenshoty hry do fotoalbumu a vyberať obrázky z albumu ako obaly hier";"NSMicrophoneUsageDescription" = "Manic EMU potrebuje oprávnenie na používanie mikrofónu, inak môžu byť niektoré funkcie hier pre DS obmedzené!";"NSCameraUsageDescription" = "Manic EMU potrebuje oprávnenie na prístup k fotoalbumu, aby ste mohli fotografovať obaly hier!";++"NSLocalNetworkUsageDescription" = "Manic EMU potrebuje prístup k vašej lokálnej sieti na vyhľadávanie a pripájanie sa k iným zariadeniam pre online hranie.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.stringsindex 6cfabfc1..addcd645 100644--- a/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/sk.lproj/Localizable.strings@@ -850,3 +850,22 @@ Ak chcete vylepšiť svoje nastavenie, PlayCase je perfektným doplnkom tohto sk"RemoveShaderForGlobal" = "Odstrániť Globálny Shader";"FeaturedItems" = "Odporúčané Položky";"ReUpload" = "Znova Nahrať";++"Service" = "Služby";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Sieť PSP";+"Networking" = "Sieť";+"NetworkingConfiguration" = "Konfigurácia siete";+"EnableNetworking" = "Povoliť sieť";+"LANNetworking" = "Lokálna sieť";+"WANNetworking" = "Online sieť";+"SetAsHost" = "Nastaviť ako hostiteľa";+"IPAddress" = "IP adresa";+"ServerAddress" = "Adresa servera";+"PortOffset" = "Port";+"HostAddress" = "Adresa hostiteľa";+"ServiceFound" = "Dostupní hostitelia";+"Connect" = "Pripojiť";+"Connected" = "Pripojené";+"LocalNetworkingDesc" = "Lokálny multiplayer vyžaduje aspoň jedno zariadenie ako hostiteľa. Hostiteľ vysiela svoju službu v lokálnej sieti a ostatné zariadenia automaticky vyhľadajú dostupných hostiteľov. Ak sa nenájde žiadny hostiteľ, môžete ručne zadať jeho IP adresu. Po pripojení sa môže začať hra pre viacerých hráčov.";+"OnlineNetworkingDesc" = "Online multiplayer vyžaduje zadanie platnej adresy online servera.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sv.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/sv.lproj/InfoPlist.stringsindex 66bf3d28..bada15c6 100644--- a/ManicEmu/ManicEmu/Resources/sv.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/sv.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Tillåt åtkomst för att spara skärmdumpar till fotobiblioteket och välja bilder som spelomslag";"NSMicrophoneUsageDescription" = "Manic EMU behöver åtkomst till din mikrofon för att vissa DS-spelsfunktioner ska fungera korrekt";"NSCameraUsageDescription" = "Manic EMU behöver åtkomst till kameran för att kunna fotografera spelomslag";++"NSLocalNetworkUsageDescription" = "Manic EMU behöver åtkomst till ditt lokala nätverk för att hitta och ansluta till andra enheter för onlinespel.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.stringsindex 4f830d41..9b60b460 100644--- a/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/sv.lproj/Localizable.strings@@ -844,3 +844,22 @@ Om du vill höja din upplevelse är PlayCase en perfekt match för detta skin.";"RemoveShaderForGlobal" = "Ta Bort Global Shader";"FeaturedItems" = "Utvalda Föremål";"ReUpload" = "Ladda Upp Igen";++"Service" = "Tjänster";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP-nätverk";+"Networking" = "Nätverk";+"NetworkingConfiguration" = "Nätverkskonfiguration";+"EnableNetworking" = "Aktivera nätverk";+"LANNetworking" = "Lokalt nätverk";+"WANNetworking" = "Onlinenätverk";+"SetAsHost" = "Ange som värd";+"IPAddress" = "IP-adress";+"ServerAddress" = "Serveradress";+"PortOffset" = "Port";+"HostAddress" = "Värdadress";+"ServiceFound" = "Tillgängliga värdar";+"Connect" = "Anslut";+"Connected" = "Ansluten";+"LocalNetworkingDesc" = "Lokalt flerspelarläge kräver minst en enhet som värd. Värden sänder sin tjänst i det lokala nätverket och andra enheter söker automatiskt efter tillgängliga värdar. Om ingen värd hittas kan du manuellt ange värdens IP-adress. När anslutningen är etablerad kan flerspelarläget börja.";+"OnlineNetworkingDesc" = "Onlinespel i flerspelarläge kräver att du anger en giltig onlineserveradress.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/th.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/th.lproj/InfoPlist.stringsindex 1cd76bcf..c1b89374 100644--- a/ManicEmu/ManicEmu/Resources/th.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/th.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "อนุญาตการเข้าถึงเพื่อบันทึกภาพหน้าจอเกมไปยังอัลบั้มและเลือกรูปภาพจากอัลบั้มเป็นหน้าปกเกม";"NSMicrophoneUsageDescription" = "จำเป็นต้องอนุญาตให้ Manic EMU เข้าถึงไมโครโฟน มิฉะนั้นฟังก์ชันบางส่วนของเกม DS อาจทำงานไม่สมบูรณ์!";"NSCameraUsageDescription" = "จำเป็นต้องอนุญาตให้ Manic EMU เข้าถึงกล้องเพื่อถ่ายภาพหน้าปกเกม!";++"NSLocalNetworkUsageDescription" = "Manic EMU ต้องการการเข้าถึงเครือข่ายท้องถิ่นของคุณเพื่อค้นหาและเชื่อมต่อกับอุปกรณ์อื่น ๆ สำหรับการเล่นเกมออนไลน์";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.stringsindex f8decccc..582d343a 100644--- a/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/th.lproj/Localizable.strings@@ -840,3 +840,22 @@ PlayCase มุ่งเน้นที่เคส iPhone คุณภาพส"RemoveShaderForGlobal" = "ลบชาเดอร์ทั่วโลก";"FeaturedItems" = "รายการแนะนำ";"ReUpload" = "อัปโหลดอีกครั้ง";++"Service" = "บริการ";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "เครือข่าย PSP";+"Networking" = "เครือข่าย";+"NetworkingConfiguration" = "การตั้งค่าเครือข่าย";+"EnableNetworking" = "เปิดใช้งานเครือข่าย";+"LANNetworking" = "เครือข่ายท้องถิ่น";+"WANNetworking" = "เครือข่ายออนไลน์";+"SetAsHost" = "ตั้งอุปกรณ์นี้เป็นโฮสต์";+"IPAddress" = "ที่อยู่ IP";+"ServerAddress" = "ที่อยู่เซิร์ฟเวอร์";+"PortOffset" = "พอร์ต";+"HostAddress" = "ที่อยู่โฮสต์";+"ServiceFound" = "โฮสต์ที่ใช้งานได้";+"Connect" = "เชื่อมต่อ";+"Connected" = "เชื่อมต่อแล้ว";+"LocalNetworkingDesc" = "การเล่นหลายคนในเครือข่ายท้องถิ่นต้องการอย่างน้อยหนึ่งอุปกรณ์เป็นโฮสต์ โฮสต์จะกระจายบริการในเครือข่ายท้องถิ่น และอุปกรณ์อื่น ๆ จะค้นหาโฮสต์ที่ใช้งานได้โดยอัตโนมัติ หากไม่พบโฮสต์ คุณสามารถป้อนที่อยู่ IP ของโฮสต์ได้ด้วยตนเอง เมื่อเชื่อมต่อแล้ว สามารถเริ่มเล่นเกมหลายคนได้";+"OnlineNetworkingDesc" = "การเล่นหลายคนออนไลน์จำเป็นต้องป้อนที่อยู่เซิร์ฟเวอร์ออนไลน์ที่ใช้งานได้";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/tr.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/tr.lproj/InfoPlist.stringsindex 7b555755..06a9d524 100644--- a/ManicEmu/ManicEmu/Resources/tr.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/tr.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Oyun ekran görüntülerini fotoğraf albümüne kaydetmek ve albümden oyun kapağı seçmek için fotoğraf albümü erişim izni gereklidir";"NSMicrophoneUsageDescription" = "Bazı DS oyunlarının özelliklerini kullanabilmek için mikrofon iznini Manic EMU'ya vermelisiniz!";"NSCameraUsageDescription" = "Oyun kapağı çekmek için kamera erişim iznini Manic EMU'ya vermelisiniz!";++"NSLocalNetworkUsageDescription" = "Manic EMU'nun çevrimiçi oyun için diğer cihazları bulup bağlanabilmesi için yerel ağınıza erişmesi gerekiyor.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.stringsindex 643dd7b9..674e9f0d 100644--- a/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/tr.lproj/Localizable.strings@@ -850,3 +850,22 @@ Kurulumunuzu bir üst seviyeye taşımak istiyorsanız, PlayCase bu kaplama içi"RemoveShaderForGlobal" = "Genel Shader'ı Kaldır";"FeaturedItems" = "Öne Çıkan Öğeler";"ReUpload" = "Yeniden Yükle";++"Service" = "Hizmetler";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "PSP Ağı";+"Networking" = "Ağ";+"NetworkingConfiguration" = "Ağ Yapılandırması";+"EnableNetworking" = "Ağı Etkinleştir";+"LANNetworking" = "Yerel Ağ";+"WANNetworking" = "Çevrimiçi Ağ";+"SetAsHost" = "Ana Bilgisayar Olarak Ayarla";+"IPAddress" = "IP Adresi";+"ServerAddress" = "Sunucu Adresi";+"PortOffset" = "Bağlantı Noktası";+"HostAddress" = "Ana Bilgisayar Adresi";+"ServiceFound" = "Kullanılabilir Ana Bilgisayarlar";+"Connect" = "Bağlan";+"Connected" = "Bağlandı";+"LocalNetworkingDesc" = "Yerel çok oyunculu oyun için en az bir cihazın ana bilgisayar olarak ayarlanması gerekir. Ana bilgisayar, hizmetini yerel ağda yayınlar ve diğer cihazlar otomatik olarak kullanılabilir ana bilgisayarları arar. Ana bilgisayar bulunamazsa, IP adresini elle girebilirsiniz. Bağlantı kurulduktan sonra çok oyunculu oyuna başlanabilir.";+"OnlineNetworkingDesc" = "Çevrimiçi çok oyunculu oyun için geçerli bir çevrimiçi sunucu adresi girmek gerekir.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/uk.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/uk.lproj/InfoPlist.stringsindex 71bc7a90..f444f1ab 100644--- a/ManicEmu/ManicEmu/Resources/uk.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/uk.lproj/InfoPlist.strings@@ -13,3 +13,5 @@"NSPhotoLibraryUsageDescription" = "Надання доступу до фото дозволить зберігати скріншоти гри в альбом та обирати зображення як обкладинку для гри";"NSMicrophoneUsageDescription" = "Надайте Manic EMU доступ до мікрофона, інакше деякі функції DS-ігор можуть бути обмежені!";"NSCameraUsageDescription" = "Надайте Manic EMU доступ до камери для зйомки обкладинок ігор!";++"NSLocalNetworkUsageDescription" = "Manic EMU потребує доступу до вашої локальної мережі для пошуку та підключення до інших пристроїв для онлайн-ігор.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.stringsindex db970ae6..cc881d38 100644--- a/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/uk.lproj/Localizable.strings@@ -850,3 +850,22 @@ PlayCase спеціалізується на високоякісних чохл"RemoveShaderForGlobal" = "Видалити глобальний шейдер";"FeaturedItems" = "Рекомендовані товари";"ReUpload" = "Повторне завантаження";++"Service" = "Служби";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Мережа PSP";+"Networking" = "Мережа";+"NetworkingConfiguration" = "Конфігурація мережі";+"EnableNetworking" = "Увімкнути мережу";+"LANNetworking" = "Локальна мережа";+"WANNetworking" = "Онлайн-мережа";+"SetAsHost" = "Встановити як хост";+"IPAddress" = "IP-адреса";+"ServerAddress" = "Адреса сервера";+"PortOffset" = "Порт";+"HostAddress" = "Адреса хоста";+"ServiceFound" = "Доступні хости";+"Connect" = "Підключити";+"Connected" = "Підключено";+"LocalNetworkingDesc" = "Для локальної багатокористувацької гри потрібен принаймні один пристрій як хост. Хост транслює свій сервіс у локальній мережі, а інші пристрої автоматично шукатимуть доступні хости. Якщо хост не знайдено, ви можете вручну ввести його IP-адресу. Після підключення можна розпочинати гру.";+"OnlineNetworkingDesc" = "Для онлайн-багатокористувацької гри потрібна дійсна адреса онлайн-сервера.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/vi.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/vi.lproj/InfoPlist.stringsindex 7e93c19e..b8d69dc8 100644--- a/ManicEmu/ManicEmu/Resources/vi.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/vi.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "Cho phép truy cập để lưu ảnh chụp màn hình trò chơi vào thư viện và chọn ảnh từ thư viện làm bìa trò chơi";"NSMicrophoneUsageDescription" = "Cần cấp quyền microphone cho Manic EMU để đảm bảo chức năng của một số trò chơi DS";"NSCameraUsageDescription" = "Cần cấp quyền truy cập camera để chụp ảnh làm bìa trò chơi";++"NSLocalNetworkUsageDescription" = "Manic EMU cần truy cập mạng cục bộ của bạn để tìm và kết nối với các thiết bị khác cho chơi game trực tuyến.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.stringsindex 19b68482..290eb516 100644--- a/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/vi.lproj/Localizable.strings@@ -844,3 +844,22 @@ Nếu bạn muốn nâng cấp thiết lập của mình, PlayCase là sự kế"RemoveShaderForGlobal" = "Xóa Shader Toàn Cục";"FeaturedItems" = "Mục Nổi Bật";"ReUpload" = "Tải Lên Lại";++"Service" = "Dịch vụ";+"NintendoWFC" = "Nintendo WFC";+"PSPNetworking" = "Mạng PSP";+"Networking" = "Mạng";+"NetworkingConfiguration" = "Cấu hình mạng";+"EnableNetworking" = "Bật mạng";+"LANNetworking" = "Mạng cục bộ";+"WANNetworking" = "Mạng trực tuyến";+"SetAsHost" = "Đặt thiết bị này làm máy chủ";+"IPAddress" = "Địa chỉ IP";+"ServerAddress" = "Địa chỉ máy chủ";+"PortOffset" = "Cổng";+"HostAddress" = "Địa chỉ máy chủ lưu trữ";+"ServiceFound" = "Máy chủ có sẵn";+"Connect" = "Kết nối";+"Connected" = "Đã kết nối";+"LocalNetworkingDesc" = "Chơi mạng cục bộ yêu cầu ít nhất một thiết bị đóng vai trò máy chủ. Máy chủ phát dịch vụ trong mạng cục bộ và các thiết bị khác sẽ tự động tìm kiếm máy chủ có sẵn. Nếu không tìm thấy máy chủ, bạn có thể nhập thủ công địa chỉ IP của máy chủ. Sau khi kết nối, có thể bắt đầu chơi game nhiều người.";+"OnlineNetworkingDesc" = "Chơi trực tuyến nhiều người yêu cầu nhập địa chỉ máy chủ trực tuyến hợp lệ.";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/InfoPlist.stringsindex 1e5c6ea9..c3de8db8 100644--- a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "允許存取權限可以將遊戲截圖儲存到相簿以及選擇相簿圖片作為遊戲封面";"NSMicrophoneUsageDescription" = "需要你將麥克風權限授權給 Manic EMU,否則部分DS遊戲可能功能受限!";"NSCameraUsageDescription" = "需要你相簿權限授權給 Manic EMU 才能進行遊戲封面拍攝!";++"NSLocalNetworkUsageDescription" = "Manic EMU 需要存取您的本地網絡,以便搜尋並連接其他裝置,進行線上遊戲。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.stringsindex 2379a5ee..c7f01bf4 100644--- a/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-HK.lproj/Localizable.strings@@ -856,3 +856,22 @@ PlayCase 專注於製造高品質 iPhone 手機殼,設計時已充分考慮配"RemoveShaderForGlobal" = "移除全局着色器";"FeaturedItems" = "精選周邊";"ReUpload" = "重新上傳";++"Service" = "服務";+"NintendoWFC" = "任天堂 WFC";+"PSPNetworking" = "PSP 網絡";+"Networking" = "網絡";+"NetworkingConfiguration" = "網絡設定";+"EnableNetworking" = "啟用網絡";+"LANNetworking" = "本地網絡";+"WANNetworking" = "線上網絡";+"SetAsHost" = "將此裝置設為主機";+"IPAddress" = "IP 地址";+"ServerAddress" = "伺服器地址";+"PortOffset" = "端口";+"HostAddress" = "主機地址";+"ServiceFound" = "可用主機";+"Connect" = "連接";+"Connected" = "已連接";+"LocalNetworkingDesc" = "本地網絡連線需要至少一部裝置作為主機。主機會在區域網絡內廣播服務,其他裝置將自動搜尋可用主機。如未能搜尋到主機,可手動輸入主機的 IP 地址。連線成功後即可開始對戰遊戲。";+"OnlineNetworkingDesc" = "線上連線需要填寫可用的線上伺服器地址。";diff --git a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/InfoPlist.stringsindex 97acf399..23c30853 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "允许访问权限可以将游戏截图保存到相册以及选择相册图片作为游戏封面";"NSMicrophoneUsageDescription" = "需要你将麦克风权限授权给 Manic EMU,否则部分DS游戏可能功能受限!";"NSCameraUsageDescription" = "需要你相册权限授权给 Manic EMU 才能进行游戏封面拍摄!";++"NSLocalNetworkUsageDescription" = "Manic EMU 需要访问您的本地网络,以便发现并连接其他设备,实现在线游戏功能。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.stringsindex 38117130..8d7f9954 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings@@ -859,3 +859,22 @@"RemoveShaderForGlobal" = "移除全局着色器";"FeaturedItems" = "精选周边";"ReUpload" = "重新上传";++"Service" = "服务";+"NintendoWFC" = "任天堂 WFC";+"PSPNetworking" = "PSP 网络";+"Networking" = "网络";+"NetworkingConfiguration" = "网络配置";+"EnableNetworking" = "启用网络";+"LANNetworking" = "本地网络";+"WANNetworking" = "互联网";+"SetAsHost" = "将本设备设为主机";+"IPAddress" = "IP 地址";+"ServerAddress" = "服务器地址";+"PortOffset" = "端口";+"HostAddress" = "主机地址";+"ServiceFound" = "可用主机";+"Connect" = "连接";+"Connected" = "已连接";+"LocalNetworkingDesc" = "本地网络联机需要至少一台设备作为主机。主机会在局域网内广播服务,其它设备将自动搜索可用主机。如未能搜索到主机,可手动输入主机的 IP 地址。连接成功后即可开始联机游戏。";+"OnlineNetworkingDesc" = "互联网联机需要填写可用的在线服务器地址。";diff --git a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/InfoPlist.strings b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/InfoPlist.stringsindex 281092d3..f3368165 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/InfoPlist.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/InfoPlist.strings@@ -12,3 +12,5 @@"NSPhotoLibraryUsageDescription" = "允許存取權限可將遊戲截圖儲存至相簿以及選取相簿圖片作為遊戲封面";"NSMicrophoneUsageDescription" = "需要將麥克風權限授予 Manic EMU,否則部分NDS遊戲功能可能受限!";"NSCameraUsageDescription" = "需要將相機權限授予 Manic EMU 才能進行遊戲封面拍攝!";++"NSLocalNetworkUsageDescription" = "Manic EMU 需要存取您的本地網路,以便探索並連接其他裝置,實現線上遊戲功能。";\ No newline at end of filediff --git a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.stringsindex 3a6e2a3a..6c14dfe2 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hant.lproj/Localizable.strings@@ -856,3 +856,22 @@ PlayCase 專注於高品質 iPhone 保護殼,設計時充分考慮了配件與"RemoveShaderForGlobal" = "移除全局著色器";"FeaturedItems" = "精選周邊";"ReUpload" = "重新上傳";++"Service" = "服務";+"NintendoWFC" = "任天堂 WFC";+"PSPNetworking" = "PSP 網路";+"Networking" = "網路";+"NetworkingConfiguration" = "網路設定";+"EnableNetworking" = "啟用網路";+"LANNetworking" = "區域網路";+"WANNetworking" = "網際網路";+"SetAsHost" = "將本設備設為主機";+"IPAddress" = "IP 位址";+"ServerAddress" = "伺服器位址";+"PortOffset" = "通訊埠";+"HostAddress" = "主機位址";+"ServiceFound" = "可用主機";+"Connect" = "連線";+"Connected" = "已連線";+"LocalNetworkingDesc" = "區域網路連線需要至少一台設備作為主機。主機會在區域網路內廣播服務,其他設備將自動搜尋可用主機。若未能搜尋到主機,可手動輸入主機的 IP 位址。連線成功後即可開始連線遊戲。";+"OnlineNetworkingDesc" = "網際網路連線需要填寫可用的線上伺服器位址。";diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ExtraKey.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ExtraKey.swiftindex 2d895359..32a7f378 100644--- a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ExtraKey.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ExtraKey.swift@@ -48,4 +48,5 @@ enum ExtraKey: String {case leftDifficultycase rightDifficultycase ignoreShaderConfig+ case pspConfig}diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Views/CollectionFooterReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Views/CollectionFooterReusableView.swiftnew file mode 100644index 00000000..9ecca8f1--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Views/CollectionFooterReusableView.swift@@ -0,0 +1,32 @@+//+// CollectionFooterReusableView.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/9.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class BackgroundColorDetailFooterReusableView: UICollectionReusableView {+ var titleLabel: UILabel = {+ let view = UILabel()+ view.numberOfLines = 0+ view.textColor = Constants.Color.LabelSecondary+ view.font = Constants.Font.caption(size: .l)+ return view+ }()++ override init(frame: CGRect) {+ super.init(frame: frame)+ addSubviews([titleLabel])++ titleLabel.snp.makeConstraints { make in+ make.top.bottom.equalToSuperview()+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMax)+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++}diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Views/LowestHaderReusableView.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Views/CollectionHaderReusableView.swiftsimilarity index 100%rename from ManicEmu/ManicEmu/Sources/Business/Common/Views/LowestHaderReusableView.swiftrename to ManicEmu/ManicEmu/Sources/Business/Common/Views/CollectionHaderReusableView.swiftdiff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Models/PSPNetworkingConfig.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Models/PSPNetworkingConfig.swiftnew file mode 100644index 00000000..62948b94--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Models/PSPNetworkingConfig.swift@@ -0,0 +1,57 @@+//+// PSPNetworkingConfig.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++import SmartCodable++struct PSPNetworkingConfig: SmartCodable, Equatable {+ enum ConfigType: Int, Decodable, Encodable {+ case local, online+ }++ var enable: Bool = false+ var type: ConfigType = .local+ var asHost: Bool = false+ var asHostPort: Int32 = 1000+ var connectedHost: String = "socom.cc"+ var connectedLocalIP: String? = nil+ var hostList: [String] = []++ static func getConfig() -> PSPNetworkingConfig {+ if let pspConfig = Settings.defalut.getExtraString(key: ExtraKey.pspConfig.rawValue),+ let config = PSPNetworkingConfig.deserialize(from: pspConfig) {+#if DEBUG+ Log.debug("获取PSP网络配置:\n\(config.toJSONString(prettyPrint: true) ?? "")")+#endif+ return config+ }+ Log.debug("获取默认PSP网络配置")+ return PSPNetworkingConfig()+ }++ static func updateConfig(_ config: PSPNetworkingConfig) {+ if let jsonString = config.toJSONString() {+#if DEBUG+ Log.debug("保存PSP网络配置:\n\(config.toJSONString(prettyPrint: true) ?? "")")+#endif+ Settings.defalut.updateExtra(key: ExtraKey.pspConfig.rawValue, value: jsonString)+ }+ }++ static func == (lhs: Self, rhs: Self) -> Bool {+ guard lhs.enable == rhs.enable,+ lhs.type == rhs.type,+ lhs.asHost == rhs.asHost,+ lhs.asHostPort == rhs.asHostPort,+ lhs.connectedHost == rhs.connectedHost,+ lhs.connectedLocalIP == rhs.connectedLocalIP,+ lhs.hostList == rhs.hostList else {+ return false+ }+ return true+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/ViewControllers/OnlinePlaySettingViewController.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/OnlinePlaySettingViewController.swiftsimilarity index 77%rename from ManicEmu/ManicEmu/Sources/Business/Settings/ViewControllers/OnlinePlaySettingViewController.swiftrename to ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/OnlinePlaySettingViewController.swiftindex e66f8801..dd1e20e6 100644--- a/ManicEmu/ManicEmu/Sources/Business/Settings/ViewControllers/OnlinePlaySettingViewController.swift+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/OnlinePlaySettingViewController.swift@@ -10,8 +10,8 @@import ManicEmuCoreclass OnlinePlaySettingViewController: BaseViewController {- private lazy var biosSelectionView: OnlinePlaySettingView = {- let view = OnlinePlaySettingView(gameType: self.gameType, showClose: self.showClose)+ private lazy var onlinePlayView: OnlinePlaySettingView = {+ let view = OnlinePlaySettingView(showClose: self.showClose)view.didTapClose = {[weak self] inself?.dismiss(animated: true)}@@ -34,8 +34,8 @@ class OnlinePlaySettingViewController: BaseViewController {override func viewDidLoad() {super.viewDidLoad()- view.addSubview(biosSelectionView)- biosSelectionView.snp.makeConstraints { make in+ view.addSubview(onlinePlayView)+ onlinePlayView.snp.makeConstraints { make inmake.edges.equalToSuperview()}}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/PSPNetworkingViewController.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/PSPNetworkingViewController.swiftnew file mode 100644index 00000000..0002d211--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/PSPNetworkingViewController.swift@@ -0,0 +1,26 @@+//+// PSPNetworkingViewController.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class PSPNetworkingViewController: BaseViewController {+ private lazy var pspNetworkingView: PSPNetworkingView = {+ let view = PSPNetworkingView()+ view.didTapClose = {[weak self] in+ self?.dismiss(animated: true)+ }+ return view+ }()++ override func viewDidLoad() {+ super.viewDidLoad()++ view.addSubview(pspNetworkingView)+ pspNetworkingView.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/WFCSettingViewController.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/WFCSettingViewController.swiftnew file mode 100644index 00000000..0b38d5cc--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/ViewControllers/WFCSettingViewController.swift@@ -0,0 +1,26 @@+//+// WFCSettingViewController.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class WFCSettingViewController: BaseViewController {+ private lazy var wfcSettingView: WFCSettingView = {+ let view = WFCSettingView()+ view.didTapClose = {[weak self] in+ self?.dismiss(animated: true)+ }+ return view+ }()++ override func viewDidLoad() {+ super.viewDidLoad()++ view.addSubview(wfcSettingView)+ wfcSettingView.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/DSOnlinePlaySettingCell.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/DSOnlinePlaySettingCell.swiftsimilarity index 100%rename from ManicEmu/ManicEmu/Sources/Business/Settings/Views/DSOnlinePlaySettingCell.swiftrename to ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/DSOnlinePlaySettingCell.swiftdiff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlayCollectionCell.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlayCollectionCell.swiftnew file mode 100644index 00000000..db8b8ec2--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlayCollectionCell.swift@@ -0,0 +1,59 @@+//+// OnlinePlayCollectionCell.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class OnlinePlayCollectionCell: UICollectionViewCell {+ var titleLabel: UILabel = {+ let view = UILabel()+ view.textColor = Constants.Color.LabelPrimary+ view.font = Constants.Font.body(size: .l)+ return view+ }()++ var chevronIconView: UIImageView = {+ let view = UIImageView()+ view.image = UIImage(symbol: .chevronRight, font: Constants.Font.caption(size: .l, weight: .bold), color: Constants.Color.BackgroundSecondary)+ if Locale.isRTLLanguage {+ view.transform = CGAffineTransform(scaleX: -1, y: 1)+ }+ return view+ }()++ override init(frame: CGRect) {+ super.init(frame: frame)+ enableInteractive = true+ delayInteractiveTouchEnd = true++ let containerView = UIView()+ contentView.addSubview(containerView)+ containerView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview()+ make.top.bottom.equalToSuperview()+ }+ containerView.layerCornerRadius = Constants.Size.CornerRadiusMid+ containerView.backgroundColor = Constants.Color.BackgroundPrimary++ containerView.addSubview(titleLabel)+ titleLabel.snp.makeConstraints { make in+ make.centerY.equalToSuperview()+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ }++ containerView.addSubview(chevronIconView)+ chevronIconView.snp.makeConstraints { make in+ make.centerY.equalTo(titleLabel)+ make.leading.greaterThanOrEqualTo(titleLabel.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMid)+ make.size.equalTo(CGSize(width: 10, height: 14))+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlaySettingView.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlaySettingView.swiftnew file mode 100644index 00000000..b75e67af--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/OnlinePlaySettingView.swift@@ -0,0 +1,191 @@+//+// OnlinePlaySettingView.swift+// ManicEmu+//+// Created by Daiuno on 2025/7/16.+// Copyright © 2025 Manic EMU. All rights reserved.+//+// SPDX-License-Identifier: AGPL-3.0-or-later++import UIKit+import ManicEmuCore++class OnlinePlaySettingView: BaseView {++ private enum SectionIndex: Int, CaseIterable {+ case desc, ds, psp+ var title: String {+ switch self {+ case .desc: ""+ case .ds: R.string.localizable.nintendoWFC()+ case .psp: R.string.localizable.pspNetworking()+ }+ }++ var gameType: GameType {+ switch self {+ case .desc: return .notSupport+ case .ds: return .ds+ case .psp: return .psp+ }+ }+ }++ private let datas: [SectionIndex]++ private var navigationBlurView: NavigationBlurView = {+ let view = NavigationBlurView()+ view.makeBlur()+ return view+ }()++ private lazy var collectionView: UICollectionView = {+ let view = UICollectionView(frame: .zero, collectionViewLayout: createLayout())+ view.backgroundColor = .clear+ view.contentInsetAdjustmentBehavior = .never+ view.register(cellWithClass: OnlinePlayCollectionCell.self)+ view.register(cellWithClass: SettingDescriptionCollectionViewCell.self)+ view.showsVerticalScrollIndicator = false+ view.dataSource = self+ view.delegate = self+ view.contentInset = UIEdgeInsets(top: Constants.Size.ItemHeightMid, left: 0, bottom: UIDevice.isPad ? (Constants.Size.ContentInsetBottom + Constants.Size.HomeTabBarSize.height + Constants.Size.ContentSpaceMax) : Constants.Size.ContentInsetBottom, right: 0)+ return view+ }()++ private lazy var closeButton: SymbolButton = {+ let view = SymbolButton(image: UIImage(symbol: .xmark, font: Constants.Font.body(weight: .bold)), enableGlass: true)+ view.enableRoundCorner = true+ view.addTapGesture { [weak self] gesture in+ guard let self = self else { return }+ self.didTapClose?()+ }+ return view+ }()++ ///点击关闭按钮回调+ var didTapClose: (()->Void)? = nil++ deinit {+ Log.debug("\(String(describing: Self.self)) deinit")+ }++ init(showClose: Bool = true) {+ self.datas = [.desc, .ds, .psp]+ super.init(frame: .zero)+ Log.debug("\(String(describing: Self.self)) init")+ backgroundColor = Constants.Color.Background++ addSubview(collectionView)+ collectionView.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }++ addSubview(navigationBlurView)+ navigationBlurView.snp.makeConstraints { make in+ make.top.equalToSuperview()+ make.leading.trailing.equalTo(self.safeAreaLayoutGuide)+ make.height.equalTo(Constants.Size.ItemHeightMid)+ }++ let icon = UIImageView(image: UIImage(symbol: .person2Wave2, font: Constants.Font.body(weight: .bold)))+ icon.contentMode = .scaleAspectFit+ navigationBlurView.addSubview(icon)+ icon.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMax)+ make.size.equalTo(Constants.Size.IconSizeMin)+ make.centerY.equalToSuperview()+ }+ let headerTitleLabel = UILabel()+ headerTitleLabel.text = R.string.localizable.onlinePlaySetting()+ headerTitleLabel.textColor = Constants.Color.LabelPrimary+ headerTitleLabel.font = Constants.Font.title(size: .s)+ navigationBlurView.addSubview(headerTitleLabel)+ headerTitleLabel.snp.makeConstraints { make in+ make.leading.equalTo(icon.snp.trailing).offset(Constants.Size.ContentSpaceUltraTiny)+ make.centerY.equalTo(icon)+ }++ if showClose {+ navigationBlurView.addSubview(closeButton)+ closeButton.snp.makeConstraints { make in+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMax)+ make.centerY.equalToSuperview()+ make.size.equalTo(Constants.Size.ItemHeightUltraTiny)+ }+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++ private func createLayout() -> UICollectionViewLayout {+ let layout = UICollectionViewCompositionalLayout { [weak self] sectionIndex, env in+ guard let self else { return nil }+ //item布局+ let item = NSCollectionLayoutItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),+ heightDimension: .fractionalHeight(1)))++ let sectionType = self.datas[sectionIndex]+ var itemHeight: CGFloat = 0+ switch sectionType {+ case .desc:+ itemHeight = 70+ default:+ itemHeight = Constants.Size.ItemHeightMid+ }++ //group布局+ let group = NSCollectionLayoutGroup.horizontal(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1), heightDimension: sectionType == .desc ? .estimated(itemHeight) : .absolute(itemHeight)), subitems: [item])+ group.contentInsets = NSDirectionalEdgeInsets(top: 0,+ leading: Constants.Size.ContentSpaceMid,+ bottom: 0,+ trailing: Constants.Size.ContentSpaceMid)++ //section布局+ let section = NSCollectionLayoutSection(group: group)+ section.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 0, bottom: Constants.Size.ContentSpaceMax, trailing: 0)++ return section+ }+ return layout+ }+}++extension OnlinePlaySettingView: UICollectionViewDataSource {+ func numberOfSections(in collectionView: UICollectionView) -> Int {+ return datas.count+ }++ func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {+ return 1+ }++ func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {+ let section = datas[indexPath.section]+ switch section {+ case .desc:+ let cell = collectionView.dequeueReusableCell(withClass: SettingDescriptionCollectionViewCell.self, for: indexPath)+ cell.descLabel.text = R.string.localizable.onlinePlaySettingDesc()+ return cell+ default:+ let cell = collectionView.dequeueReusableCell(withClass: OnlinePlayCollectionCell.self, for: indexPath)+ cell.titleLabel.text = section.title+ return cell+ }+ }+}++extension OnlinePlaySettingView: UICollectionViewDelegate {+ func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {+ let section = datas[indexPath.section]+ switch section {+ case .desc:+ break+ case .ds:+ topViewController()?.present(WFCSettingViewController(), animated: true)+ case .psp:+ topViewController()?.present(PSPNetworkingViewController(), animated: true)+ }+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigCell.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigCell.swiftnew file mode 100644index 00000000..c3fc9167--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigCell.swift@@ -0,0 +1,129 @@+//+// PSPNetworkingConfigCell.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++import BetterSegmentedControl++class PSPNetworkingConfigCell: UICollectionViewCell {+ private lazy var segmentView: BetterSegmentedControl = {+ let segments = LabelSegment.segments(withTitles: [R.string.localizable.lanNetworking(), R.string.localizable.wanNetworking()],+ normalFont: Constants.Font.body(),+ normalTextColor: Constants.Color.LabelSecondary,+ selectedTextColor: Constants.Color.LabelPrimary)+ let options: [BetterSegmentedControl.Option] = [+ .backgroundColor(Constants.Color.Background),+ .indicatorViewInset(5),+ .indicatorViewBackgroundColor(Constants.Color.BackgroundPrimary),+ .cornerRadius(16)+ ]+ let view = BetterSegmentedControl(frame: .zero,+ segments: segments,+ options: options)++ view.on(.valueChanged) { [weak self] sender, forEvent in+ guard let self, let index = (sender as? BetterSegmentedControl)?.index else { return }+ UIDevice.generateHaptic()+ self.didTypeChange?(index == 0 ? .local : .online)+ }+ return view+ }()++ private lazy var localNerworkingView: PSPNetworkingConfigLocalView = {+ let view = PSPNetworkingConfigLocalView()+ view.didAsHostChange = { [weak self] asHost in+ self?.didAsHostChange?(asHost)+ }+ view.didPortChange = { [weak self] port in+ self?.didPortChange?(port)+ }+ view.didConnectedIPChange = { [weak self] connectedIP in+ self?.didConnectedIPChange?(connectedIP)+ }+ view.isHidden = true+ return view+ }()++ private lazy var onlineNerworkingView: PSPNetworkingConfigOnlineView = {+ let view = PSPNetworkingConfigOnlineView()+ view.didConnectedHostChange = { [weak self] connectedHost in+ self?.didConnectedHostChange?(connectedHost)+ }+ view.isHidden = true+ return view+ }()++ var didTypeChange: ((PSPNetworkingConfig.ConfigType)->Void)? = nil+ var didAsHostChange: ((Bool)->Void)? = nil+ var didPortChange: ((Int32)->Void)? = nil+ var didConnectedHostChange: ((String?)->Void)? = nil+ var didConnectedIPChange: ((String?)->Void)? = nil++ override init(frame: CGRect) {+ super.init(frame: frame)++ let containerView = UIView()+ containerView.layerCornerRadius = Constants.Size.CornerRadiusMax+ containerView.backgroundColor = Constants.Color.BackgroundPrimary+ addSubview(containerView)+ containerView.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }++ containerView.addSubview(segmentView)+ segmentView.snp.makeConstraints { make in+ make.leading.top.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }++ containerView.addSubview(localNerworkingView)+ localNerworkingView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview()+ make.top.equalTo(segmentView.snp.bottom).offset(Constants.Size.ContentSpaceMax)+ make.bottom.equalToSuperview().inset(Constants.Size.ContentSpaceHuge)+ }++ containerView.addSubview(onlineNerworkingView)+ onlineNerworkingView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview()+ make.top.equalTo(segmentView.snp.bottom).offset(Constants.Size.ContentSpaceMax)+ make.bottom.equalToSuperview().inset(Constants.Size.ContentSpaceHuge)+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++ func setData(config: PSPNetworkingConfig) {+ segmentView.setIndex(config.type == .local ? 0 : 1)+ if config.type == .local {+ localNerworkingView.isHidden = false+ onlineNerworkingView.isHidden = true+ localNerworkingView.setData(config: config)+ } else {+ localNerworkingView.isHidden = true+ onlineNerworkingView.isHidden = false+ onlineNerworkingView.setData(config: config)+ }+ }++ static func CellHeight(config: PSPNetworkingConfig) -> Double {+ var configHeight: CGFloat = 0+ if config.type == .local {+ if config.asHost {+ configHeight = 146+ } else {+ let serviceItemCount = config.hostList.count+ let serviceListHeight = 50*CGFloat(serviceItemCount) + 20*(CGFloat(serviceItemCount)-1) + 10+ configHeight = 60 + 48 + 60 + 48 + (serviceListHeight > 0 ? serviceListHeight : 0)+ }+ } else {+ configHeight = 60+ }+ return 16 + 50 + 20 + configHeight + 24+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigLocalView.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigLocalView.swiftnew file mode 100644index 00000000..5b8de803--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigLocalView.swift@@ -0,0 +1,386 @@+//+// PSPNetworkingConfigLocalView.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/9.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class PSPNetworkingConfigLocalView: UIView {+ private var asHost: Bool = false++ private let setAsHostSelectImageView: UIImageView = {+ let view = UIImageView()+ view.contentMode = .scaleAspectFit+ view.layerCornerRadius = Constants.Size.IconSizeMin.height/2+ view.layer.shadowColor = Constants.Color.Shadow.cgColor+ view.layer.shadowOpacity = 0.5+ view.layer.shadowRadius = 2+ view.image = UIImage(symbol: .circle,+ size: Constants.Size.IconSizeMin.height,+ weight: .regular,+ color: Constants.Color.LabelTertiary)+ return view+ }()++ private let setAsHostTitleLabel: UILabel = {+ let titleLabel = UILabel()+ titleLabel.attributedText = NSAttributedString(string: R.string.localizable.setAsHost(), attributes: [.foregroundColor: Constants.Color.LabelPrimary, .font: Constants.Font.body(size: .l, weight: .semibold)])+ titleLabel.numberOfLines = 2+ return titleLabel+ }()++ private lazy var setAsHostView: UIView = {+ let view = UIView()+ view.layerCornerRadius = Constants.Size.CornerRadiusMid+ view.backgroundColor = Constants.Color.Background++ let iconView = UIImageView()+ iconView.contentMode = .center+ iconView.layerCornerRadius = 6+ iconView.image = UIImage(symbol: .person2Wave2Fill, font: Constants.Font.body(size: .s, weight: .medium), color: Constants.Color.LabelPrimary.forceStyle(.dark))+ iconView.backgroundColor = Constants.Color.Red+ view.addSubview(iconView)+ iconView.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ make.size.equalTo(Constants.Size.IconSizeMid)+ make.centerY.equalToSuperview()+ }++ view.addSubview(setAsHostTitleLabel)+ setAsHostTitleLabel.snp.makeConstraints { make in+ make.centerY.equalTo(iconView)+ make.leading.equalTo(iconView.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ }++ view.addSubview(setAsHostSelectImageView)+ setAsHostSelectImageView.snp.makeConstraints { make in+ make.leading.equalTo(setAsHostTitleLabel.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ make.centerY.equalToSuperview()+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMid)+ make.size.equalTo(Constants.Size.IconSizeMin)+ }++ let button = UIButton(type: .custom)+ view.addSubview(button)+ button.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }+ button.onTap { [weak self] in+ guard let self else { return }+ //点击设置为主机+ self.asHost = !self.asHost+ self.didAsHostChange?(self.asHost)+ }++ return view+ }()++ private lazy var ipAddressTitleTextField: UITextField = {+ let textField = UITextField()+ textField.textColor = Constants.Color.LabelSecondary+ textField.font = Constants.Font.caption(size: .l)+ textField.placeholder = "192.168.1.1"+ textField.clearButtonMode = .never+ textField.returnKeyType = .done+ textField.textAlignment = .right+ textField.onReturnKeyPress { [weak self, weak textField] in+ guard let self = self else { return }+ textField?.resignFirstResponder()+ }+ textField.onChange { [weak textField] text in++ }+ textField.didEndEditing { [weak self] in+ guard let self else { return }+ self.didConnectedIPChange?(self.ipAddressTitleTextField.text)+ }+ return textField+ }()++ private lazy var ipAddressInputView: UIView = {+ let view = UIView()+ view.layerCornerRadius = Constants.Size.CornerRadiusMid+ view.backgroundColor = Constants.Color.Background++ let iconView = UIImageView()+ iconView.contentMode = .center+ iconView.layerCornerRadius = 6+ iconView.image = UIImage(symbol: .globe, font: Constants.Font.body(size: .s, weight: .medium), color: Constants.Color.LabelPrimary.forceStyle(.dark))+ iconView.backgroundColor = Constants.Color.Red+ view.addSubview(iconView)+ iconView.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ make.size.equalTo(Constants.Size.IconSizeMid)+ make.centerY.equalToSuperview()+ }++ let titleLabel = UILabel()+ titleLabel.text = R.string.localizable.ipAddress()+ titleLabel.textColor = Constants.Color.LabelPrimary+ titleLabel.font = Constants.Font.body(size: .l, weight: .semibold)+ view.addSubview(titleLabel)+ titleLabel.snp.makeConstraints { make in+ make.centerY.equalTo(iconView)+ make.leading.equalTo(iconView.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ }++ view.addSubview(ipAddressTitleTextField)+ ipAddressTitleTextField.snp.makeConstraints { make in+ make.leading.equalTo(titleLabel.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ make.centerY.equalToSuperview()+ }++ var chevronIconView: UIImageView = {+ let view = UIImageView()+ view.image = UIImage(symbol: .chevronRight, font: Constants.Font.caption(size: .l, weight: .bold), color: Constants.Color.BackgroundSecondary)+ if Locale.isRTLLanguage {+ view.transform = CGAffineTransform(scaleX: -1, y: 1)+ }+ return view+ }()++ view.addSubview(chevronIconView)+ chevronIconView.snp.makeConstraints { make in+ make.centerY.equalToSuperview()+ make.leading.equalTo(ipAddressTitleTextField.snp.trailing).offset(Constants.Size.ContentSpaceUltraTiny)+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMid)+ make.size.equalTo(CGSize(width: 10, height: 14))+ }++ return view+ }()++ private lazy var portOffsetView: AddTriggerButtonStyleCell.SliderView = {+ let view = AddTriggerButtonStyleCell.SliderView(title: R.string.localizable.portOffset(), valueSufix: nil, minimumValue: 1000, maximumValue: 65000, numberOfDecimalPlaces: -1)+ view.didChangeEnd = { [weak self ] port in+ guard let self else { return }+ self.didPortChange?(Int32(port))+ }+ return view+ }()++ private let hostIPLabel: UILabel = {+ let label = UILabel()+ label.font = Constants.Font.body(size: .s)+ label.textColor = Constants.Color.LabelSecondary+ label.text = R.string.localizable.hostAddress()+ return label+ }()++ private let serviceFoundLabel: UILabel = {+ let label = UILabel()+ label.font = Constants.Font.body(size: .s)+ label.textColor = Constants.Color.LabelSecondary+ label.text = R.string.localizable.serviceFound()+ return label+ }()++ private let loadingView: UIActivityIndicatorView = {+ let view = UIActivityIndicatorView()+ view.color = Constants.Color.LabelSecondary+ view.startAnimating()+ return view+ }()++ private var serviceListView: UIView = {+ let view = UIView()+ return view+ }()++ var didAsHostChange: ((Bool)->Void)? = nil+ var didPortChange: ((Int32)->Void)? = nil+ var didConnectedIPChange: ((String?)->Void)? = nil++ override init(frame: CGRect) {+ super.init(frame: frame)++ addSubview(setAsHostView)+ setAsHostView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.top.equalToSuperview()+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }++ portOffsetView.isHidden = true+ addSubview(portOffsetView)+ portOffsetView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.top.equalTo(setAsHostView.snp.bottom).offset(-Constants.Size.ItemHeightMax)+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }++ addSubview(hostIPLabel)+ hostIPLabel.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceHuge)+ make.top.equalTo(portOffsetView.snp.bottom).offset(Constants.Size.ContentSpaceMax)+ }++ addSubview(ipAddressInputView)+ ipAddressInputView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.top.equalTo(hostIPLabel.snp.bottom).offset(Constants.Size.ContentSpaceMin)+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }++ addSubview(serviceFoundLabel)+ serviceFoundLabel.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceHuge)+ make.top.equalTo(ipAddressInputView.snp.bottom).offset(Constants.Size.ContentSpaceMax)+ }++ addSubview(loadingView)+ loadingView.snp.makeConstraints { make in+ make.size.equalTo(Constants.Size.IconSizeMin)+ make.leading.equalTo(serviceFoundLabel.snp.trailing).offset(Constants.Size.ContentSpaceTiny)+ make.centerY.equalTo(serviceFoundLabel)+ }++ addSubview(serviceListView)+ serviceListView.snp.makeConstraints { make in+ make.top.equalTo(serviceFoundLabel.snp.bottom).offset(Constants.Size.ContentSpaceMin)+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++ class ServiceItemView: UIView {+ var titleLabel: UILabel = {+ let title = UILabel()+ title.textColor = Constants.Color.LabelPrimary+ title.font = Constants.Font.body(size: .l)+ return title+ }()++ var button: UIButton = {+ let button = UIButton(type: .custom)+ button.titleLabel?.font = Constants.Font.body(size: .m, weight: .semibold)+ button.setTitle( R.string.localizable.connect(), for: .normal)+ button.setTitle( R.string.localizable.connected(), for: .selected)+ button.setTitleColor(Constants.Color.Red, for: .normal)+ button.setTitleColor(Constants.Color.Green, for: .selected)+ return button+ }()++ override init(frame: CGRect) {+ super.init(frame: frame)++ layerCornerRadius = Constants.Size.CornerRadiusMid+ backgroundColor = Constants.Color.Background++ addSubview(titleLabel)+ titleLabel.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ make.centerY.equalToSuperview()+ }++ addSubview(button)+ button.snp.makeConstraints { make in+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMid)+ make.centerY.equalToSuperview()+ }+ }++ @MainActor required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }+ }++ private func updateSelectImageView() {+ if asHost {+ setAsHostSelectImageView.image = UIImage(symbol: .checkmarkCircleFill,+ size: Constants.Size.IconSizeMin.height,+ weight: .bold,+ colors: [Constants.Color.LabelPrimary.forceStyle(.dark), Constants.Color.Main])+ } else {+ setAsHostSelectImageView.image = UIImage(symbol: .circle,+ size: Constants.Size.IconSizeMin.height,+ weight: .regular,+ color: Constants.Color.LabelTertiary)+ }++ }++ func setData(config: PSPNetworkingConfig) {+ guard config.type == .local else { return }+ asHost = config.asHost++ updateSelectImageView()++ if asHost {+ let matt = NSMutableAttributedString(string: R.string.localizable.setAsHost(), attributes: [.font: Constants.Font.body(size: .l), .foregroundColor: Constants.Color.LabelPrimary])+ if let ipAddress = BonjourKit.shared.currentIPAddress {+ matt.append(NSAttributedString(string: "\n\(ipAddress)", attributes: [.font: Constants.Font.body(size: .s), .foregroundColor: Constants.Color.LabelSecondary]))+ let style = NSMutableParagraphStyle()+ style.lineSpacing = Constants.Size.ContentSpaceUltraTiny/2+ style.alignment = .left+ setAsHostTitleLabel.attributedText = matt.applying(attributes: [.paragraphStyle: style])+ } else {+ setAsHostTitleLabel.attributedText = matt+ }++ portOffsetView.value = Float(config.asHostPort)+ portOffsetView.isHidden = false+ portOffsetView.snp.updateConstraints { make in+ make.top.equalTo(setAsHostView.snp.bottom).offset(Constants.Size.ContentSpaceMax)+ }++ hostIPLabel.isHidden = true+ ipAddressInputView.isHidden = true++ serviceFoundLabel.isHidden = true+ loadingView.isHidden = true+ serviceListView.isHidden = true++ } else {+ setAsHostTitleLabel.attributedText = NSMutableAttributedString(string: R.string.localizable.setAsHost(), attributes: [.font: Constants.Font.body(size: .l), .foregroundColor: Constants.Color.LabelPrimary])++ portOffsetView.isHidden = true+ portOffsetView.snp.updateConstraints { make in+ make.top.equalTo(setAsHostView.snp.bottom).offset(-Constants.Size.ItemHeightMax)+ }++ hostIPLabel.isHidden = false+ ipAddressInputView.isHidden = false+ ipAddressTitleTextField.text = config.connectedLocalIP++ serviceFoundLabel.isHidden = false+ loadingView.isHidden = false+ loadingView.startAnimating()+ serviceListView.isHidden = false++ serviceListView.subviews.forEach({ $0.removeFromSuperview() })+ for (index, service) in config.hostList.enumerated() {+ let itemView = ServiceItemView()+ itemView.titleLabel.text = service+ let isConnected = config.connectedLocalIP == service+ itemView.button.isSelected = isConnected+ itemView.button.onTap { [weak self, weak itemView] in+ guard let self, !isConnected else { return }+ self.serviceListView.subviews.forEach {+ ($0 as? ServiceItemView)?.button.isSelected = false+ }+ self.ipAddressTitleTextField.text = service+ itemView?.button.isSelected = true+ self.didConnectedIPChange?(service)+ }+ serviceListView.addSubview(itemView)+ itemView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview()+ if index == 0 {+ make.top.equalToSuperview()+ } else {+ make.top.equalTo(serviceListView.subviews[index-1].snp.bottom).offset(Constants.Size.ContentSpaceMax)+ }+ make.height.equalTo(Constants.Size.ItemHeightMid)+ if index == config.hostList.count - 1 {+ make.bottom.equalToSuperview()+ }+ }+ }+ }+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigOnlineView.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigOnlineView.swiftnew file mode 100644index 00000000..d919583e--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingConfigOnlineView.swift@@ -0,0 +1,128 @@+//+// PSPNetworkingConfigOnlineView.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/9.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class PSPNetworkingConfigOnlineView: UIView {+ private lazy var ipAddressTitleTextField: UITextField = {+ let textField = UITextField()+ textField.textColor = Constants.Color.LabelSecondary+ textField.font = Constants.Font.caption(size: .l)+ textField.placeholder = "socom.cc"+ textField.clearButtonMode = .never+ textField.returnKeyType = .done+ textField.textAlignment = .right+ textField.onReturnKeyPress { [weak self, weak textField] in+ guard let self = self else { return }+ textField?.resignFirstResponder()+ }+ textField.onChange { [weak textField] text in++ }+ textField.didEndEditing { [weak self] in+ guard let self else { return }+ self.didConnectedHostChange?(self.ipAddressTitleTextField.text)+ }+ return textField+ }()++ private lazy var ipAddressInputView: UIView = {+ let view = UIView()+ view.layerCornerRadius = Constants.Size.CornerRadiusMid+ view.backgroundColor = Constants.Color.Background++ let iconView = UIImageView()+ iconView.contentMode = .center+ iconView.layerCornerRadius = 6+ iconView.image = UIImage(symbol: .globe, font: Constants.Font.body(size: .s, weight: .medium), color: Constants.Color.LabelPrimary.forceStyle(.dark))+ iconView.backgroundColor = Constants.Color.Red+ view.addSubview(iconView)+ iconView.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ make.size.equalTo(Constants.Size.IconSizeMid)+ make.centerY.equalToSuperview()+ }++ let titleLabel = UILabel()+ titleLabel.text = R.string.localizable.serverAddress()+ titleLabel.textColor = Constants.Color.LabelPrimary+ titleLabel.font = Constants.Font.body(size: .l, weight: .semibold)+ view.addSubview(titleLabel)+ titleLabel.snp.makeConstraints { make in+ make.centerY.equalTo(iconView)+ make.leading.equalTo(iconView.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ }++ view.addSubview(ipAddressTitleTextField)+ ipAddressTitleTextField.snp.makeConstraints { make in+ make.leading.equalTo(titleLabel.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ make.centerY.equalToSuperview()+ }++ let chevronIconView: UIImageView = {+ let view = UIImageView()+ view.image = UIImage(symbol: .ellipsisCircle, font: Constants.Font.body(size: .l, weight: .semibold), color: Constants.Color.BackgroundSecondary)+ return view+ }()++ var moreContextMenuButton: ContextMenuButton = {+ var servers = ["socom.cc", "psp.gameplayer.club", "myneighborsushicat.com", R.string.localizable.custom()]+ var actions = [UIMenuElement]()+ for (index, server) in servers.enumerated() {+ actions.append((UIAction(title: server) { [weak self] _ in+ guard let self else { return }+ if index == 3 {+ self.ipAddressTitleTextField.becomeFirstResponder()+ } else {+ self.ipAddressTitleTextField.resignFirstResponder()+ self.ipAddressTitleTextField.text = server+ self.didConnectedHostChange?(server)+ }+ }))+ }+ let view = ContextMenuButton(image: nil, menu: UIMenu(children: actions))+ return view+ }()++ view.addSubview(chevronIconView)+ chevronIconView.snp.makeConstraints { make in+ make.centerY.equalToSuperview()+ make.leading.equalTo(ipAddressTitleTextField.snp.trailing).offset(Constants.Size.ContentSpaceTiny)+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMid)+ make.size.equalTo(CGSize(width: 24, height: 24))+ }++ view.addSubview(moreContextMenuButton)+ moreContextMenuButton.snp.makeConstraints { make in+ make.leading.equalTo(chevronIconView)+ make.top.bottom.trailing.equalToSuperview()+ }++ return view+ }()++ var didConnectedHostChange: ((String?)->Void)? = nil++ override init(frame: CGRect) {+ super.init(frame: frame)++ addSubview(ipAddressInputView)+ ipAddressInputView.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.top.equalToSuperview()+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }+ }++ func setData(config: PSPNetworkingConfig) {+ guard config.type == .online else { return }+ ipAddressTitleTextField.text = config.connectedHost+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingSwitchCell.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingSwitchCell.swiftnew file mode 100644index 00000000..e28c5671--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingSwitchCell.swift@@ -0,0 +1,74 @@+//+// PSPNetworkingSwitchCell.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++class PSPNetworkingSwitchCell: UICollectionViewCell {+ var enableSwitchButton: DisabledTapSwitch = {+ let view = DisabledTapSwitch()+ view.onTintColor = Constants.Color.Main+ view.tintColor = Constants.Color.BackgroundSecondary+ return view+ }()++ override init(frame: CGRect) {+ super.init(frame: frame)++ let enableContainer: UIView = {+ let view = UIView()+ view.backgroundColor = Constants.Color.BackgroundPrimary+ view.layerCornerRadius = Constants.Size.CornerRadiusMid+ return view+ }()++ addSubview(enableContainer)+ enableContainer.snp.makeConstraints { make in+ make.leading.trailing.equalToSuperview()+ make.centerY.equalToSuperview()+ make.height.equalTo(Constants.Size.ItemHeightMax)+ }++ let enableIconView = UIImageView()+ enableIconView.contentMode = .center+ enableIconView.layerCornerRadius = 6+ enableIconView.image = UIImage(symbol: .person2Wave2Fill, font: Constants.Font.body(size: .s, weight: .medium), color: Constants.Color.LabelPrimary.forceStyle(.dark))+ enableIconView.backgroundColor = Constants.Color.Red+ enableContainer.addSubview(enableIconView)+ enableIconView.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMid)+ make.size.equalTo(Constants.Size.IconSizeMid)+ make.centerY.equalToSuperview()+ }++ let enableTitleLabel = UILabel()+ enableTitleLabel.text = R.string.localizable.enableNetworking()+ enableTitleLabel.textColor = Constants.Color.LabelPrimary+ enableTitleLabel.font = Constants.Font.body(size: .l, weight: .semibold)+ enableContainer.addSubview(enableTitleLabel)+ enableTitleLabel.snp.makeConstraints { make in+ make.centerY.equalTo(enableIconView)+ make.leading.equalTo(enableIconView.snp.trailing).offset(Constants.Size.ContentSpaceMin)+ }++ enableContainer.addSubview(enableSwitchButton)+ enableSwitchButton.snp.makeConstraints { make in+ make.centerY.equalTo(enableIconView)+ make.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ if #available(iOS 26.0, *) {+ make.size.equalTo(CGSize(width: 63, height: 28))+ } else {+ make.size.equalTo(CGSize(width: 51, height: 31))+ }+ }+ if #available(iOS 26.0, *) {} else {+ enableSwitchButton.transform = CGAffineTransformMakeScale(0.9, 0.9)+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingView.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingView.swiftnew file mode 100644index 00000000..33f5b151--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/PSPNetworkingView.swift@@ -0,0 +1,254 @@+//+// PSPNetworkingView.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.+//++import UIKit+import ManicEmuCore+import IQKeyboardManagerSwift++class PSPNetworkingView: BaseView {++ private var pspConfig: PSPNetworkingConfig = .getConfig()++ private var navigationBlurView: NavigationBlurView = {+ let view = NavigationBlurView()+ view.makeBlur()+ return view+ }()++ private lazy var collectionView: UICollectionView = {+ let view = UICollectionView(frame: .zero, collectionViewLayout: createLayout())+ view.backgroundColor = .clear+ view.contentInsetAdjustmentBehavior = .never+ view.register(cellWithClass: PSPNetworkingSwitchCell.self)+ view.register(cellWithClass: PSPNetworkingConfigCell.self)+ view.register(supplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withClass: BackgroundColorHaderReusableView.self)+ view.register(supplementaryViewOfKind: UICollectionView.elementKindSectionFooter, withClass: BackgroundColorDetailFooterReusableView.self)+ view.showsVerticalScrollIndicator = false+ view.dataSource = self+ view.delegate = self+ view.contentInset = UIEdgeInsets(top: Constants.Size.ItemHeightMid, left: 0, bottom: UIDevice.isPad ? (Constants.Size.ContentInsetBottom + Constants.Size.HomeTabBarSize.height + Constants.Size.ContentSpaceMax) : Constants.Size.ContentInsetBottom, right: 0)+ return view+ }()++ private lazy var closeButton: SymbolButton = {+ let view = SymbolButton(image: UIImage(symbol: .xmark, font: Constants.Font.body(weight: .bold)), enableGlass: true)+ view.enableRoundCorner = true+ view.addTapGesture { [weak self] gesture in+ guard let self = self else { return }+ if PSPNetworkingConfig.getConfig() != self.pspConfig {+ PSPNetworkingConfig.updateConfig(self.pspConfig)+ }+ self.didTapClose?()+ }+ return view+ }()++ ///点击关闭按钮回调+ var didTapClose: (()->Void)? = nil++ deinit {+ Log.debug("\(String(describing: Self.self)) deinit")+ Task { @MainActor in+ IQKeyboardManager.shared.isEnabled = false+ }+ }++ init() {+ super.init(frame: .zero)+ Log.debug("\(String(describing: Self.self)) init")+ backgroundColor = Constants.Color.Background++ IQKeyboardManager.shared.isEnabled = true+ IQKeyboardManager.shared.keyboardDistance = Constants.Size.ContentSpaceHuge++ addSubview(collectionView)+ collectionView.snp.makeConstraints { make in+ make.edges.equalToSuperview()+ }++ addSubview(navigationBlurView)+ navigationBlurView.snp.makeConstraints { make in+ make.top.equalToSuperview()+ make.leading.trailing.equalTo(self.safeAreaLayoutGuide)+ make.height.equalTo(Constants.Size.ItemHeightMid)+ }++ let icon = UIImageView(image: UIImage(symbol: .person2Wave2, font: Constants.Font.body(weight: .bold)))+ icon.contentMode = .scaleAspectFit+ navigationBlurView.addSubview(icon)+ icon.snp.makeConstraints { make in+ make.leading.equalToSuperview().offset(Constants.Size.ContentSpaceMax)+ make.size.equalTo(Constants.Size.IconSizeMin)+ make.centerY.equalToSuperview()+ }+ let headerTitleLabel = UILabel()+ headerTitleLabel.text = R.string.localizable.pspNetworking()+ headerTitleLabel.textColor = Constants.Color.LabelPrimary+ headerTitleLabel.font = Constants.Font.title(size: .s)+ navigationBlurView.addSubview(headerTitleLabel)+ headerTitleLabel.snp.makeConstraints { make in+ make.leading.equalTo(icon.snp.trailing).offset(Constants.Size.ContentSpaceUltraTiny)+ make.centerY.equalTo(icon)+ }++ navigationBlurView.addSubview(closeButton)+ closeButton.snp.makeConstraints { make in+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMax)+ make.centerY.equalToSuperview()+ make.size.equalTo(Constants.Size.ItemHeightUltraTiny)+ }++ if pspConfig.enable, pspConfig.type == .local {+ updateBonjour()+ }+ }++ required init?(coder: NSCoder) {+ fatalError("init(coder:) has not been implemented")+ }++ private func createLayout() -> UICollectionViewLayout {+ let layout = UICollectionViewCompositionalLayout { [weak self] sectionIndex, env in+ guard let self else { return nil }+ //item布局+ let item = NSCollectionLayoutItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),+ heightDimension: .fractionalHeight(1)))+ let itemHeight: CGFloat+ if sectionIndex == 0 {+ itemHeight = Constants.Size.ItemHeightMax+ } else {+ itemHeight = PSPNetworkingConfigCell.CellHeight(config: self.pspConfig)+ }++ //group布局+ let group = NSCollectionLayoutGroup.horizontal(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1), heightDimension: .absolute(itemHeight)), subitems: [item])+ group.contentInsets = NSDirectionalEdgeInsets(top: 0,+ leading: Constants.Size.ContentSpaceMid,+ bottom: 0,+ trailing: Constants.Size.ContentSpaceMid)++ //section布局+ let section = NSCollectionLayoutSection(group: group)+ section.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 0, bottom: Constants.Size.ContentSpaceMin, trailing: 0)++ //header布局+ let headerItem = NSCollectionLayoutBoundarySupplementaryItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),+ heightDimension: .absolute(44)),+ elementKind: UICollectionView.elementKindSectionHeader,+ alignment: .top)+ headerItem.pinToVisibleBounds = true+ section.boundarySupplementaryItems = [headerItem]++ if sectionIndex != 0 {+ let footerItem = NSCollectionLayoutBoundarySupplementaryItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),+ heightDimension: .estimated(44)),+ elementKind: UICollectionView.elementKindSectionFooter,+ alignment: .bottom)+ section.boundarySupplementaryItems.append(footerItem)+ }++ return section+ }+ return layout+ }++ private func updateBonjour() {+ if pspConfig.enable, pspConfig.type == .local {+ if pspConfig.asHost {+ BonjourKit.shared.stopSearchService()+ BonjourKit.shared.publishService(port: pspConfig.asHostPort, delay: 1)+ BonjourKit.shared.didSearchServiceList = nil+ } else {+ BonjourKit.shared.stopService()+ BonjourKit.shared.startSearchService()+ BonjourKit.shared.didSearchServiceList = { [weak self] list in+ guard let self else { return }+ self.pspConfig.hostList = list+ self.collectionView.reloadData()+ }+ }+ } else {+ BonjourKit.shared.stopService()+ BonjourKit.shared.stopSearchService()+ BonjourKit.shared.didSearchServiceList = nil+ }+ }+}++extension PSPNetworkingView: UICollectionViewDataSource {+ func numberOfSections(in collectionView: UICollectionView) -> Int {+ return pspConfig.enable ? 2 : 1+ }++ func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {+ return 1+ }++ func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {+ if indexPath.section == 0 {+ let cell = collectionView.dequeueReusableCell(withClass: PSPNetworkingSwitchCell.self, for: indexPath)+ cell.enableSwitchButton.setOn(pspConfig.enable, animated: true)+ cell.enableSwitchButton.onChange { [weak self] value in+ guard let self else { return }+ self.pspConfig.enable = value+ DispatchQueue.main.asyncAfter(delay: 0.35) {+ self.updateBonjour()+ self.collectionView.reloadData()+ }+ }+ return cell+ } else {+ let cell = collectionView.dequeueReusableCell(withClass: PSPNetworkingConfigCell.self, for: indexPath)+ cell.didTypeChange = { [weak self] type in+ guard let self else { return }+ self.pspConfig.type = type+ self.collectionView.reloadData()+ self.updateBonjour()+ }+ cell.didAsHostChange = { [weak self] asHost in+ guard let self else { return }+ self.pspConfig.asHost = asHost+ self.collectionView.reloadData()+ self.updateBonjour()+ }+ cell.didConnectedHostChange = { [weak self] connectedHost in+ guard let self else { return }+ if let connectedHost, !connectedHost.isEmpty {+ self.pspConfig.connectedHost = connectedHost+ }+ }+ cell.didConnectedIPChange = { [weak self] connectedIP in+ guard let self else { return }+ self.pspConfig.connectedLocalIP = connectedIP+ }+ cell.didPortChange = { [weak self] port in+ guard let self else { return }+ self.pspConfig.asHostPort = port+ self.updateBonjour()+ }+ cell.setData(config: pspConfig)+ return cell+ }+ }++ func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {+ if kind == UICollectionView.elementKindSectionHeader {+ let header = collectionView.dequeueReusableSupplementaryView(ofKind: kind, withClass: BackgroundColorHaderReusableView.self, for: indexPath)+ header.titleLabel.text = indexPath.section == 0 ? R.string.localizable.networking() : R.string.localizable.networkingConfiguration()+ return header+ } else {+ let footer = collectionView.dequeueReusableSupplementaryView(ofKind: kind, withClass: BackgroundColorDetailFooterReusableView.self, for: indexPath)+ footer.titleLabel.text = pspConfig.type == .local ? R.string.localizable.localNetworkingDesc() : R.string.localizable.onlineNetworkingDesc()+ return footer+ }+ }+}++extension PSPNetworkingView: UICollectionViewDelegate {++}diff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/OnlinePlaySettingView.swift b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/WFCSettingView.swiftsimilarity index 68%rename from ManicEmu/ManicEmu/Sources/Business/Settings/Views/OnlinePlaySettingView.swiftrename to ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/WFCSettingView.swiftindex b225e09a..72e99077 100644--- a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/OnlinePlaySettingView.swift+++ b/ManicEmu/ManicEmu/Sources/Business/OnlinePlay/Views/WFCSettingView.swift@@ -1,16 +1,15 @@//-// OnlinePlaySettingView.swift+// WFCSettingView.swift// ManicEmu//-// Created by Daiuno on 2025/7/16.-// Copyright © 2025 Manic EMU. All rights reserved.+// Created by Daiuno on 2026/2/7.+// Copyright © 2026 Manic EMU. All rights reserved.//-// SPDX-License-Identifier: AGPL-3.0-or-laterimport UIKitimport ManicEmuCore-class OnlinePlaySettingView: BaseView {+class WFCSettingView: BaseView {class HaderReusableView: UICollectionReusableView {var titleLabel: UILabel = {@@ -50,24 +49,6 @@ class OnlinePlaySettingView: BaseView {}- private enum SectionIndex: Int, CaseIterable {- case desc, ds- var title: String {- switch self {- case .desc: ""- case .ds: "Nintendo WFC"- }- }-- var gameType: GameType {- switch self {- case .desc: return .notSupport- case .ds: return .ds- }- }- }-- private let datas: [SectionIndex]private lazy var wfcs: [WFC] = {return WFC.getList()}()@@ -83,7 +64,6 @@ class OnlinePlaySettingView: BaseView {view.backgroundColor = .clearview.contentInsetAdjustmentBehavior = .neverview.register(cellWithClass: DSOnlinePlaySettingCell.self)- view.register(cellWithClass: SettingDescriptionCollectionViewCell.self)view.register(supplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withClass: HaderReusableView.self)view.showsVerticalScrollIndicator = falseview.dataSource = self@@ -109,12 +89,7 @@ class OnlinePlaySettingView: BaseView {Log.debug("\(String(describing: Self.self)) deinit")}- init(gameType: GameType? = nil, showClose: Bool = true) {- if let gameType, gameType == .ds {- self.datas = [.desc, .ds]- } else {- self.datas = [.desc, .ds]- }+ init() {super.init(frame: .zero)Log.debug("\(String(describing: Self.self)) init")backgroundColor = Constants.Color.Background@@ -140,7 +115,7 @@ class OnlinePlaySettingView: BaseView {make.centerY.equalToSuperview()}let headerTitleLabel = UILabel()- headerTitleLabel.text = R.string.localizable.onlinePlaySetting()+ headerTitleLabel.text = R.string.localizable.nintendoWFC()headerTitleLabel.textColor = Constants.Color.LabelPrimaryheaderTitleLabel.font = Constants.Font.title(size: .s)navigationBlurView.addSubview(headerTitleLabel)@@ -149,13 +124,11 @@ class OnlinePlaySettingView: BaseView {make.centerY.equalTo(icon)}- if showClose {- navigationBlurView.addSubview(closeButton)- closeButton.snp.makeConstraints { make in- make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMax)- make.centerY.equalToSuperview()- make.size.equalTo(Constants.Size.ItemHeightUltraTiny)- }+ navigationBlurView.addSubview(closeButton)+ closeButton.snp.makeConstraints { make in+ make.trailing.equalToSuperview().offset(-Constants.Size.ContentSpaceMax)+ make.centerY.equalToSuperview()+ make.size.equalTo(Constants.Size.ItemHeightUltraTiny)}}@@ -171,17 +144,11 @@ class OnlinePlaySettingView: BaseView {heightDimension: .fractionalHeight(1)))- let sectionType = self.datas[sectionIndex]- var itemHeight: CGFloat = 0- switch sectionType {- case .desc:- itemHeight = 120- case .ds:- itemHeight = DSOnlinePlaySettingCell.CellHeight(wfcCount: self.wfcs.count)- }++ let itemHeight = DSOnlinePlaySettingCell.CellHeight(wfcCount: self.wfcs.count)//group布局- let group = NSCollectionLayoutGroup.horizontal(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1), heightDimension: sectionType == .desc ? .estimated(itemHeight) : .absolute(itemHeight)), subitems: [item])+ let group = NSCollectionLayoutGroup.horizontal(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1), heightDimension: .absolute(itemHeight)), subitems: [item])group.contentInsets = NSDirectionalEdgeInsets(top: 0,leading: Constants.Size.ContentSpaceMid,bottom: 0,@@ -191,15 +158,13 @@ class OnlinePlaySettingView: BaseView {let section = NSCollectionLayoutSection(group: group)section.contentInsets = NSDirectionalEdgeInsets(top: 0, leading: 0, bottom: Constants.Size.ContentSpaceMin, trailing: 0)- if sectionType != .desc {- //header布局- let headerItem = NSCollectionLayoutBoundarySupplementaryItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),- heightDimension: .absolute(44)),- elementKind: UICollectionView.elementKindSectionHeader,- alignment: .top)- headerItem.pinToVisibleBounds = true- section.boundarySupplementaryItems = [headerItem]- }+ //header布局+ let headerItem = NSCollectionLayoutBoundarySupplementaryItem(layoutSize: NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),+ heightDimension: .absolute(44)),+ elementKind: UICollectionView.elementKindSectionHeader,+ alignment: .top)+ headerItem.pinToVisibleBounds = true+ section.boundarySupplementaryItems = [headerItem]return section}@@ -207,37 +172,24 @@ class OnlinePlaySettingView: BaseView {}}-extension OnlinePlaySettingView: UICollectionViewDataSource {- func numberOfSections(in collectionView: UICollectionView) -> Int {- return datas.count- }-+extension WFCSettingView: UICollectionViewDataSource {func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {return 1}func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {- let section = datas[indexPath.section]- switch section {- case .desc:- let cell = collectionView.dequeueReusableCell(withClass: SettingDescriptionCollectionViewCell.self, for: indexPath)- cell.descLabel.text = R.string.localizable.onlinePlaySettingDesc()- return cell- case .ds:- let cell = collectionView.dequeueReusableCell(withClass: DSOnlinePlaySettingCell.self, for: indexPath)- cell.setData(wfcs: wfcs) { [weak self] index in- guard let self else { return }- self.wfcs = WFC.selectWFC(self.wfcs[index])- self.collectionView.reloadData()- }- return cell+ let cell = collectionView.dequeueReusableCell(withClass: DSOnlinePlaySettingCell.self, for: indexPath)+ cell.setData(wfcs: wfcs) { [weak self] index in+ guard let self else { return }+ self.wfcs = WFC.selectWFC(self.wfcs[index])+ self.collectionView.reloadData()}+ return cell}func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {let header = collectionView.dequeueReusableSupplementaryView(ofKind: kind, withClass: HaderReusableView.self, for: indexPath)- let section = datas[indexPath.section]- header.titleLabel.text = section.title+ header.titleLabel.text = R.string.localizable.service()header.button.addTapGesture { [weak self] gesture inguard let self else { return }UIView.makeLoading()@@ -252,6 +204,6 @@ extension OnlinePlaySettingView: UICollectionViewDataSource {}}-extension OnlinePlaySettingView: UICollectionViewDelegate {+extension WFCSettingView: UICollectionViewDelegate {}diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swiftindex af362dff..3b87e1ef 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift@@ -117,6 +117,10 @@ class PlayViewController: GameViewController {private var backgroundImageView: UIImageView? = nilprivate var background: FlexBackground? = nilprivate var backgroundType: FlexBackground.BackgroundType? = nil+ ///flex皮肤的menu和flex按钮+ private weak var flexMenuButton: UIView? = nil+ private weak var flexButton: UIView? = nil+deinit {Log.debug("\(String(describing: Self.self)) deinit")@@ -717,6 +721,11 @@ class PlayViewController: GameViewController {updateSkin()//更新TriggerProupdateTriggerPro()+ //全屏模式的时候点击屏幕临时展示menu和flex按钮+ view.addTapGesture(handler: { [weak self] _ in+ guard let self, self.isFullScreen else { return }+ self.showFlexButtonsTemporarily()+ })}override func viewWillAppear(_ animated: Bool) {@@ -2292,12 +2301,56 @@ extension PlayViewController {} else if backendType == 2 {backend = "opengl"}+ let networkingConfig = PSPNetworkingConfig.getConfig()+ var networkingConfigs = [String: String]()+ LibretroCore.sharedInstance().setPSPCustomServerAddress(nil)+ LibretroCore.sharedInstance().setPSPCustomServerPort(nil)+ if networkingConfig.enable, networkingConfig.type == .local, networkingConfig.asHost {+ //本地网络 作为主机+ networkingConfigs += ["ppsspp_enable_wlan": "enabled",+ "ppsspp_enable_builtin_pro_ad_hoc_server": "enabled",+ "ppsspp_change_pro_ad_hoc_server_address": "IP address"]+ if let ipAddress = BonjourKit.shared.currentIPAddress, let hostResult = (ipAddress+":\(networkingConfig.asHostPort)").parseIPv4() {+ for (index, ip) in hostResult.ips.enumerated() {+ networkingConfigs["ppsspp_pro_ad_hoc_server_address" + (index < 9 ? "0\(index+1)" : "\(index+1)")] = "\(ip)"+ }+ networkingConfigs["ppsspp_port_offset"] = "\(hostResult.port)"+ LibretroCore.sharedInstance().setPSPCustomServerPort("\(hostResult.port)")+ }+ LibretroCore.sharedInstance().setPSPCustomServerPort("\(networkingConfig.asHostPort)")+ } else if networkingConfig.enable, networkingConfig.type == .local, !networkingConfig.asHost, let ip = networkingConfig.connectedLocalIP {+ //本地网络 作为从机+ networkingConfigs += ["ppsspp_enable_wlan": "enabled",+ "ppsspp_enable_builtin_pro_ad_hoc_server": "disabled",+ "ppsspp_change_pro_ad_hoc_server_address": "IP address"]+ if let hostResult = ip.parseIPv4() {+ for (index, ip) in hostResult.ips.enumerated() {+ networkingConfigs["ppsspp_pro_ad_hoc_server_address" + (index < 9 ? "0\(index+1)" : "\(index+1)")] = "\(ip)"+ }+ networkingConfigs["ppsspp_port_offset"] = "\(hostResult.port)"+ LibretroCore.sharedInstance().setPSPCustomServerPort("\(hostResult.port)")+ } else {+ networkingConfigs["ppsspp_change_pro_ad_hoc_server_address"] = ip+ LibretroCore.sharedInstance().setPSPCustomServerAddress(ip)+ }+ } else if networkingConfig.enable, networkingConfig.type == .online {+ //互联网络+ networkingConfigs += ["ppsspp_enable_wlan": "enabled",+ "ppsspp_enable_builtin_pro_ad_hoc_server": "disabled",+ "ppsspp_change_pro_ad_hoc_server_address": networkingConfig.connectedHost]+ if !["socom.cc", "psp.gameplayer.club", "myneighborsushicat.com"].contains(where: { $0 == networkingConfig.connectedHost }) {+ LibretroCore.sharedInstance().setPSPCustomServerAddress(networkingConfig.connectedHost)+ }+ } else {+ //禁用网络+ networkingConfigs += ["ppsspp_enable_wlan": "disabled"]+ }LibretroCore.sharedInstance().updateConfig(LibretroCore.Cores.PPSSPP.name, configs: ["ppsspp_cheats": "enabled","ppsspp_language": languages[manicGame.region],"ppsspp_backend": backend,"ppsspp_texture_replacement": (manicGame.getExtraBool(key: ExtraKey.pspTexture.rawValue) ?? false) ? "enabled" : "disabled"- ], reload: false)+ ] + networkingConfigs, reload: false)updatePSPResolution(manicGame.resolution, reload: false)} else if manicGame.gameType == .nes || manicGame.gameType == .fds {updateNESPalette(manicGame.currentNesPalette, firstInit: true)@@ -3343,11 +3396,13 @@ extension PlayViewController {for dynamicEffectView in buttonsDynamicEffectView.itemViews {let item = dynamicEffectView.itemif item.kind == .button, let input = item.inputs.allInputs.first, (input.stringValue == "menu" || input.stringValue == "flex") {- //不隐藏- dynamicEffectView.alpha = 0.3- } else {- dynamicEffectView.isHidden = true+ if input.stringValue == "menu" {+ flexMenuButton = dynamicEffectView+ } else if input.stringValue == "flex" {+ flexButton = dynamicEffectView+ }}+ dynamicEffectView.isHidden = true}} else if String(describing: type(of: view)) == "TouchInputView" {//触摸视图不隐藏@@ -3374,6 +3429,32 @@ extension PlayViewController {}}+ private func showFlexButtonsTemporarily() {+ guard let flexMenuButton, let flexButton, isFullScreen else { return }+ if flexMenuButton.isHidden {+ flexMenuButton.alpha = 0+ flexMenuButton.isHidden = false++ }+ if flexButton.isHidden {+ flexButton.alpha = 0+ flexButton.isHidden = false+ }+ UIView.springAnimate(animations: {+ flexMenuButton.alpha = 1+ flexButton.alpha = 1+ })+ DispatchQueue.main.asyncAfter(delay: 5, execute: {+ UIView.springAnimate(animations: {+ flexMenuButton.alpha = 0+ flexButton.alpha = 0+ }, completion: { _ in+ flexMenuButton.isHidden = true+ flexButton.isHidden = true+ })+ })+ }+private func enableSwapScreen() -> Bool {if manicGame.gameType == .ds || manicGame.gameType == ._3ds {return truediff --git a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/SettingDescriptionCollectionViewCell.swift b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/SettingDescriptionCollectionViewCell.swiftindex e8587a8b..14fb5568 100644--- a/ManicEmu/ManicEmu/Sources/Business/Settings/Views/SettingDescriptionCollectionViewCell.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Settings/Views/SettingDescriptionCollectionViewCell.swift@@ -20,7 +20,8 @@ class SettingDescriptionCollectionViewCell: UICollectionViewCell {super.init(frame: frame)addSubview(descLabel)descLabel.snp.makeConstraints { make in- make.edges.equalToSuperview().inset(Constants.Size.ContentSpaceMid)+ make.top.bottom.equalToSuperview().inset(10)+ make.leading.trailing.equalToSuperview().inset(Constants.Size.ContentSpaceHuge)}}diff --git a/ManicEmu/ManicEmu/Sources/Business/TriggerPro/Views/AddTriggerButtonStyleCell.swift b/ManicEmu/ManicEmu/Sources/Business/TriggerPro/Views/AddTriggerButtonStyleCell.swiftindex ed7a8748..af8801f0 100644--- a/ManicEmu/ManicEmu/Sources/Business/TriggerPro/Views/AddTriggerButtonStyleCell.swift+++ b/ManicEmu/ManicEmu/Sources/Business/TriggerPro/Views/AddTriggerButtonStyleCell.swift@@ -194,15 +194,18 @@ class AddTriggerButtonStyleCell: UICollectionViewCell {}()var didValueChange: ((CGFloat)->Void)? = nil+ var didChangeEnd: ((CGFloat)->Void)? = nil+ private var numberOfDecimalPlaces: Intvar valueSufix: String?var value: Float = 0 {didSet {- detailLabel.text = "\(value)" + (valueSufix ?? "")+ detailLabel.text = (numberOfDecimalPlaces == -1 ? "\(Int(value))" : "\(value)") + (valueSufix ?? "")sliderView.value = value}}init(title: String, valueSufix: String?, minimumValue: Float, maximumValue: Float, numberOfDecimalPlaces: Int = 0) {+ self.numberOfDecimalPlaces = numberOfDecimalPlacesself.valueSufix = valueSufixsuper.init(frame: .zero)@@ -225,15 +228,27 @@ class AddTriggerButtonStyleCell: UICollectionViewCell {}titleLabel.text = title- detailLabel.text = "\(value)" + (valueSufix ?? "")+ detailLabel.text = (numberOfDecimalPlaces == -1 ? "\(Int(value))" : "\(value)") + (valueSufix ?? "")sliderView.minimumValue = minimumValuesliderView.maximumValue = maximumValue+ sliderView.on(.touchUpInside) { [weak self] sender, forEvent in+ guard let self = self else { return }+ let value = self.sliderView.value.rounded(numberOfDecimalPlaces: numberOfDecimalPlaces, rule: .toNearestOrEven)+ self.didChangeEnd?(CGFloat(value))+ }++ sliderView.on(.touchUpOutside) { [weak self] sender, forEvent in+ guard let self = self else { return }+ let value = self.sliderView.value.rounded(numberOfDecimalPlaces: numberOfDecimalPlaces, rule: .toNearestOrEven)+ self.didChangeEnd?(CGFloat(value))+ }+sliderView.on(.valueChanged) { [weak self] sender, forEvent inguard let self = self else { return }let value = self.sliderView.value.rounded(numberOfDecimalPlaces: numberOfDecimalPlaces, rule: .toNearestOrEven)self.didValueChange?(CGFloat(value))- self.detailLabel.text = "\(value)" + (self.valueSufix ?? "")+ self.detailLabel.text = (numberOfDecimalPlaces == -1 ? "\(Int(value))" : "\(value)") + (self.valueSufix ?? "")}}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/StringExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/StringExtensions.swiftindex bdc40a40..da477818 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/StringExtensions.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/StringExtensions.swift@@ -226,6 +226,23 @@ extension String {}try write(to: url, atomically: true, encoding: .utf8)}++ func parseIPv4() -> (ips: [Int], port: Int)? {+ let parts = self.split(separator: ":")+ guard parts.count == 2,+ let port = Int(parts[1]) else {+ return nil+ }++ let ipDigits: [Int] = parts[0]+ .split(separator: ".")+ .flatMap { segment -> [Int] in+ let padded = String(format: "%03d", Int(segment)!)+ return padded.map { Int(String($0))! }+ }++ return (ipDigits, port)+ }}// 扩展用于识别 emoji 的字符集diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIDeviceExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIDeviceExtensions.swiftindex 3d65bc28..f4132a2f 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIDeviceExtensions.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/UIDeviceExtensions.swift@@ -171,6 +171,8 @@ extension UIDevice {return false}+ static var isMac: Bool { ProcessInfo.processInfo.isiOSAppOnMac }+static var deviceInfo: String {return "Device:\(Device.version())\nVersion:\(UIDevice.current.systemVersion)"}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/BonjourKit.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/BonjourKit.swiftnew file mode 100644index 00000000..46e8abfc--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/BonjourKit.swift@@ -0,0 +1,348 @@+//+// BonjourKit.swift+// ManicEmu+//+// Created by Daiuno on 2026/2/9.+// Copyright © 2026 Manic EMU. All rights reserved.+//++import Foundation++/// 作为服务端发布一个服务,这个服务可以让客户端获取到当前设备的IP地址和端口+/// 作为客户端查找服务时,获取服务端的IP地址和端口+final class BonjourKit: NSObject {+ static let shared = BonjourKit()++ /// 服务类型+ private let serviceType = "_manicemu._tcp."+ private let serviceDomain = "local."++ /// 获取当前设备的IP地址(线程安全,懒加载缓存)+ var currentIPAddress: String? {+ return Self.fetchCurrentIPAddress()+ }++ // MARK: - 作为服务端发布服务+ private var publishedService: NetService?+ private var isPublishing = false++ /// 在局域网中发布服务+ /// - Parameter port: 服务端口+ func publishService(port: Int32, delay: Double = 0.0) {+ let port = port == 0 ? Int32.random(in: 1000...65000) : port+ // 确保在主线程操作+ guard Thread.isMainThread else {+ DispatchQueue.main.async { [weak self] in+ self?.publishService(port: port)+ }+ return+ }++ // 停止已有服务+ stopService()++ // 创建并发布新服务+ let service = NetService(+ domain: serviceDomain,+ type: serviceType,+ name: UIDevice.current.name,+ port: port+ )+ service.delegate = self+ DispatchQueue.main.asyncAfter(delay: delay) {+ service.publish()+ }++ publishedService = service+ isPublishing = true+ Log.debug("[BonjourKit] 开始发布服务")+ }++ /// 停止发布服务+ func stopService() {+ guard Thread.isMainThread else {+ DispatchQueue.main.async { [weak self] in+ self?.stopService()+ }+ return+ }++ publishedService?.stop()+ publishedService?.delegate = nil+ publishedService = nil+ isPublishing = false+ Log.debug("[BonjourKit] 停止发布服务")+ }++ // MARK: - 作为客户端搜索服务+ private var serviceBrowser: NetServiceBrowser?+ /// 使用服务唯一标识(domain + type + name)作为 key 存储服务对象+ private var discoveredServices: [String: NetService] = [:]+ /// 使用服务唯一标识作为 key 存储解析后的地址+ private var serviceAddresses: [String: [String]] = [:]++ /// 服务搜索结果 返回服务端IP列表 如["192.168.1.1:1234"]+ var didSearchServiceList: (([String]) -> Void)?++ /// 开始搜索服务,除非调用停止搜索服务,否则不设超时时间+ func startSearchService() {+ guard Thread.isMainThread else {+ DispatchQueue.main.async { [weak self] in+ self?.startSearchService()+ }+ return+ }++ // 停止已有搜索+ stopSearchService()++ // 清空之前的数据+ discoveredServices.removeAll()+ serviceAddresses.removeAll()++ // 创建并启动浏览器+ let browser = NetServiceBrowser()+ browser.delegate = self+ browser.searchForServices(ofType: serviceType, inDomain: serviceDomain)++ serviceBrowser = browser+ Log.debug("[BonjourKit] 开始搜索服务")+ }++ /// 停止搜索服务+ func stopSearchService() {+ guard Thread.isMainThread else {+ DispatchQueue.main.async { [weak self] in+ self?.stopSearchService()+ }+ return+ }++ serviceBrowser?.stop()+ serviceBrowser?.delegate = nil+ serviceBrowser = nil++ // 停止所有正在解析的服务+ for (_, service) in discoveredServices {+ service.stop()+ service.delegate = nil+ }+ discoveredServices.removeAll()+ serviceAddresses.removeAll()+ Log.debug("[BonjourKit] 停止搜索服务")+ }++ /// 生成服务的唯一标识+ private func serviceKey(for service: NetService) -> String {+ return "\(service.domain).\(service.type).\(service.name)"+ }++ // MARK: - Private Methods++ /// 获取当前设备的IP地址+ private static func fetchCurrentIPAddress() -> String? {+ var address: String?+ var ifaddr: UnsafeMutablePointer<ifaddrs>?++ guard getifaddrs(&ifaddr) == 0, let firstAddr = ifaddr else {+ return nil+ }++ defer {+ freeifaddrs(ifaddr)+ }++ var ptr = firstAddr+ while true {+ let interface = ptr.pointee+ let addrFamily = interface.ifa_addr.pointee.sa_family++ // 只处理 IPv4 地址+ if addrFamily == UInt8(AF_INET) {+ let name = String(cString: interface.ifa_name)+ // en0 是 WiFi,pdp_ip0 是蜂窝网络+ if name == "en0" || name == "pdp_ip0" {+ var hostname = [CChar](repeating: 0, count: Int(NI_MAXHOST))+ let result = getnameinfo(+ interface.ifa_addr,+ socklen_t(interface.ifa_addr.pointee.sa_len),+ &hostname,+ socklen_t(hostname.count),+ nil,+ 0,+ NI_NUMERICHOST+ )+ if result == 0 {+ address = String(cString: hostname)+ // 优先使用 WiFi 地址+ if name == "en0" {+ break+ }+ }+ }+ }++ guard let next = interface.ifa_next else {+ break+ }+ ptr = next+ }++ return address+ }++ /// 从 NetService 解析 IP 地址和端口+ private func extractAddresses(from service: NetService) -> [String] {+ guard let addresses = service.addresses else { return [] }++ var results: [String] = []+ let port = service.port++ for addressData in addresses {+ addressData.withUnsafeBytes { rawBufferPointer in+ guard let baseAddress = rawBufferPointer.baseAddress else { return }+ let sockaddrPtr = baseAddress.assumingMemoryBound(to: sockaddr.self)++ // 只处理 IPv4+ if sockaddrPtr.pointee.sa_family == sa_family_t(AF_INET) {+ let sockaddrInPtr = baseAddress.assumingMemoryBound(to: sockaddr_in.self)+ var addr = sockaddrInPtr.pointee.sin_addr+ var hostname = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))++ if inet_ntop(AF_INET, &addr, &hostname, socklen_t(INET_ADDRSTRLEN)) != nil {+ let ipString = String(cString: hostname)+ // 过滤掉本地回环地址+ if !ipString.hasPrefix("127.") {+ let fullAddress = "\(ipString):\(port)"+ results.append(fullAddress)+ }+ }+ }+ }+ }++ return results+ }++ /// 通知回调(去重后的地址列表)+ private func notifyServiceListUpdate() {+ // 收集所有服务的地址并去重+ var allAddresses: Set<String> = []+ for (_, addresses) in serviceAddresses {+ allAddresses.formUnion(addresses)+ }+ didSearchServiceList?(Array(allAddresses))+ }++ // MARK: - Deinit++ deinit {+ stopService()+ stopSearchService()+ }++ private override init() {+ super.init()+ }+}++// MARK: - NetServiceDelegate++extension BonjourKit: NetServiceDelegate {++ func netServiceDidPublish(_ sender: NetService) {+ Log.debug("[BonjourKit] 服务发布成功: \(sender.name) on port \(sender.port)")+ }++ func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {+ Log.debug("[BonjourKit] 服务发布失败: \(errorDict)")+ isPublishing = false+ }++ func netServiceDidResolveAddress(_ sender: NetService) {+ let key = serviceKey(for: sender)+ // 解析完成,提取地址并更新映射+ let addresses = extractAddresses(from: sender)+ serviceAddresses[key] = addresses++ // 立即通知回调+ notifyServiceListUpdate()++ Log.debug("[BonjourKit] 服务解析成功: \(sender.name), 地址: \(addresses)")+ }++ func netService(_ sender: NetService, didNotResolve errorDict: [String: NSNumber]) {+ Log.debug("[BonjourKit] 服务解析失败: \(sender.name), 错误: \(errorDict)")+ }++ func netService(_ sender: NetService, didUpdateTXTRecord data: Data) {+ // TXT 记录更新时重新解析服务+ let key = serviceKey(for: sender)+ Log.debug("[BonjourKit] 服务TXT记录更新: \(sender.name), 重新解析")++ // 重新解析以获取最新地址+ sender.resolve(withTimeout: 5.0)++ // 如果端口变化了,提取新地址+ let addresses = extractAddresses(from: sender)+ if !addresses.isEmpty {+ serviceAddresses[key] = addresses+ notifyServiceListUpdate()+ }+ }+}++// MARK: - NetServiceBrowserDelegate++extension BonjourKit: NetServiceBrowserDelegate {++ func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool) {+ let key = serviceKey(for: service)++ // 如果是同名服务重新上线,先清理旧的+ if let oldService = discoveredServices[key] {+ oldService.stop()+ oldService.delegate = nil+ }++ // 添加到发现列表+ discoveredServices[key] = service++ // 设置代理并开始解析+ service.delegate = self+ // 监听 TXT 记录变化+ service.startMonitoring()+ service.resolve(withTimeout: 5.0)++ Log.debug("[BonjourKit] 发现服务: \(service.name), 还有更多: \(moreComing)")+ }++ func netServiceBrowser(_ browser: NetServiceBrowser, didRemove service: NetService, moreComing: Bool) {+ let key = serviceKey(for: service)++ // 停止监听并从列表中移除+ if let existingService = discoveredServices[key] {+ existingService.stopMonitoring()+ existingService.stop()+ existingService.delegate = nil+ discoveredServices.removeValue(forKey: key)+ }++ // 移除对应的地址+ serviceAddresses.removeValue(forKey: key)++ // 通知更新+ notifyServiceListUpdate()++ Log.debug("[BonjourKit] 服务移除: \(service.name), 还有更多: \(moreComing)")+ }++ func netServiceBrowserDidStopSearch(_ browser: NetServiceBrowser) {+ Log.debug("[BonjourKit] 搜索已停止")+ }++ func netServiceBrowser(_ browser: NetServiceBrowser, didNotSearch errorDict: [String: NSNumber]) {+ Log.debug("[BonjourKit] 搜索失败: \(errorDict)")+ }+}+diff --git a/ProHUD/Sources/ProHUD/Sheet/SheetManager.swift b/ProHUD/Sources/ProHUD/Sheet/SheetManager.swiftindex ad0b5397..982cf633 100644--- a/ProHUD/Sources/ProHUD/Sheet/SheetManager.swift+++ b/ProHUD/Sources/ProHUD/Sheet/SheetManager.swift@@ -45,18 +45,66 @@ extension SheetTarget {guard let window = windows.first(where: { $0.sheet == self }) else {return}- navEvents[.onViewWillDisappear]?(self)- window.sheet.translateOut { [weak window, weak self] in- guard let self = self, let win = window else { return }- if windows.count > 1 {- windows.removeAll { $0 == win }- } else if windows.count == 1 {- windows.removeAll()- } else {- consolePrint("‼️代码漏洞:已经没有sheet了")++ if ProcessInfo.processInfo.isiOSAppOnMac {+ //Mac上会闪退 这里使用特殊方式来处理+ var windows = getContextWindows()+ guard let window = windows.first(where: { $0.sheet == self }) else {+ return+ }+ // 在 window 释放前,先保存 windowScene(因为 setContextWindows 需要它)+ let scene = window.windowScene+ navEvents[.onViewWillDisappear]?(self)+ window.sheet.translateOut { [weak self] in+ guard let self = self else { return }+ // 先获取回调,避免在 window 释放过程中访问+ let didDisappearCallback = self.navEvents[.onViewDidDisappear]++ // 在移除 window 之前,先断开 SheetTarget 对 window 的弱引用+ // 防止在 window deinit 过程中访问弱引用导致崩溃+ self.window = nil++ // 先隐藏 window 并移除 rootViewController+ window.isHidden = true+ window.rootViewController = nil++ // 从数组中移除 window+ if windows.count > 1 {+ windows.removeAll { $0 == window }+ } else if windows.count == 1 {+ windows.removeAll()+ } else {+ consolePrint("‼️代码漏洞:已经没有sheet了")+ }+ // 使用预先保存的 scene,避免访问可能正在释放的 window+ if let scene = scene {+ AppContext.sheetWindows[scene] = windows+ }++ // 调用回调+ didDisappearCallback?(self)++ // 延迟释放 window,让系统有时间完成内部清理+ // 这可以避免 Mac Catalyst 上 UIWindow 释放时的竞态条件+ DispatchQueue.main.async {+ // 这个闭包持有 window 的强引用,确保 window 在下一个 RunLoop 才释放+ _ = window+ }+ }+ } else {+ navEvents[.onViewWillDisappear]?(self)+ window.sheet.translateOut { [weak window, weak self] in+ guard let self = self, let win = window else { return }+ if windows.count > 1 {+ windows.removeAll { $0 == win }+ } else if windows.count == 1 {+ windows.removeAll()+ } else {+ consolePrint("‼️代码漏洞:已经没有sheet了")+ }+ self.setContextWindows(windows)+ win.sheet.navEvents[.onViewDidDisappear]?(win.sheet)}- self.setContextWindows(windows)- win.sheet.navEvents[.onViewDidDisappear]?(win.sheet)}}