Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
Builds page: name the Switch 2 folder stages and the no-profile stop
v0lumehie776dd940084
diff --git a/frontend-qt/nspb_qt/build_failure.py b/frontend-qt/nspb_qt/build_failure.pyindex 4ec52200..becae1e5 100644--- a/frontend-qt/nspb_qt/build_failure.py+++ b/frontend-qt/nspb_qt/build_failure.py@@ -25,6 +25,7 @@ A32_PROGRAM = 'a32Program'KEYS = 'keys'SEVERAL_GAMES = 'severalGames'NO_TITLE_ID = 'noTitleID'+NO_PROFILE = 'noProfile'DISK_FULL = 'diskFull'CLOUD_FOLDER = 'cloudFolder'UNKNOWN = 'unknown'@@ -44,6 +45,7 @@ TABLE: list[tuple[str, str, str]] = [('keys.missing', KEYS, r'(?m)^\[RED\] no such file: '),('games.several', SEVERAL_GAMES, r'more than one game in the folder'),('games.noTitleID', NO_TITLE_ID, r'no NSP with a readable title ID in '),+ ('games.noProfile', NO_PROFILE, r'packs only a game with a profile'),('disk.low', DISK_FULL, r'less than [0-9]+ GB free on the volume of '),('disk.full', DISK_FULL, r'No space left on device'),('icloud.detritus', CLOUD_FOLDER, r'resource fork, Finder information, or similar detritus not allowed'),@@ -57,7 +59,7 @@ OVERRIDE_FLAGS = {}KINDS = [ROSETTA, TRANSLATOR, ZBIC, IOS_SDK, CLT_SELECTED, OTHER_METAL, SHADER_REGRESSION, DAMAGED_NSP, A32_PROGRAM,- KEYS, SEVERAL_GAMES, NO_TITLE_ID, DISK_FULL, CLOUD_FOLDER]+ KEYS, SEVERAL_GAMES, NO_TITLE_ID, NO_PROFILE, DISK_FULL, CLOUD_FOLDER]# The Swift app has four more rows that no log line sets (a drive that is gone, a signing team, a device transfer):# they belong to the Mac launcher's install on a device and to /Volumes, which this front end does not have.# cloudFolder is a row of the table, so it is here, but the check that stops a build before it starts is the Mac launcher's.diff --git a/frontend/Sources/NXCore/BuildFailureClassifier.swift b/frontend/Sources/NXCore/BuildFailureClassifier.swiftindex 9abea799..fe295653 100644--- a/frontend/Sources/NXCore/BuildFailureClassifier.swift+++ b/frontend/Sources/NXCore/BuildFailureClassifier.swift@@ -20,6 +20,7 @@ package enum BuildFailureClassifier {("keys.missing", .keys, "(?m)^\\[RED\\] no such file: "),("games.several", .severalGames, "more than one game in the folder"),("games.noTitleID", .noTitleID, "no NSP with a readable title ID in "),+ ("games.noProfile", .noProfile, "packs only a game with a profile"),("disk.low", .diskFull, "less than [0-9]+ GB free on the volume of "),("disk.full", .diskFull, "No space left on device"),("icloud.detritus", .cloudFolder, "resource fork, Finder information, or similar detritus not allowed"),diff --git a/frontend/Sources/NXCore/BuildFailureKind.swift b/frontend/Sources/NXCore/BuildFailureKind.swiftindex 2edcebae..9d7c9a2d 100644--- a/frontend/Sources/NXCore/BuildFailureKind.swift+++ b/frontend/Sources/NXCore/BuildFailureKind.swift@@ -8,6 +8,8 @@ package enum BuildFailureKind: String, CaseIterable {case rosetta, translator, zbic, iosSDK, cltSelected, otherMetal, shaderRegression, damagedNSP, a32Program/// The inputs: the keys file, the game folder, a drive that is gone.case keys, severalGames, noTitleID, driveMissing+ /// A game folder or NUP (a Switch 2 game, GameFolder.swift) of a game the engine has no profile for: the script packs one only with a profile.+ case noProfile/// The build's and the install's own steps.case diskFull, teamTaken, noSigningAccount, deviceTransfer/// The build folder is in iCloud Drive or another cloud folder (CloudFolder.swift): the launcher stops before the build, and thediff --git a/frontend/Sources/NXCore/BuildProgress.swift b/frontend/Sources/NXCore/BuildProgress.swiftindex b1a1a462..483ed825 100644--- a/frontend/Sources/NXCore/BuildProgress.swift+++ b/frontend/Sources/NXCore/BuildProgress.swift@@ -25,6 +25,9 @@ package struct Stage: Identifiable {.trimmingCharacters(in: CharacterSet(charactersIn: "_"))if let s = known(key) { return s }if name.hasPrefix("extract "), let f = known("stage.extract") { return String(format: f, String(name.dropFirst("extract ".count))) }+ // A game folder packs each version into an image ("pack v458752", pack_dump.py), a NUP unpacks it ("unpack v196608", pack_nup.py)+ if name.hasPrefix("pack "), let f = known("stage.pack") { return String(format: f, String(name.dropFirst("pack ".count))) }+ if name.hasPrefix("unpack "), let f = known("stage.unpack") { return String(format: f, String(name.dropFirst("unpack ".count))) }if name.hasSuffix(" shader capture"), let f = known("stage.capture") { return String(format: f, String(name.dropLast(" shader capture".count))) }return name}diff --git a/frontend/Tests/Fixtures/build_failures.json b/frontend/Tests/Fixtures/build_failures.jsonindex 49cb6107..d00e2f9d 100644--- a/frontend/Tests/Fixtures/build_failures.json+++ b/frontend/Tests/Fixtures/build_failures.json@@ -92,6 +92,13 @@"text": "[RED] no NSP with a readable title ID in /Users/x/Games/Zelda","folder": "/Users/x/Games/Zelda"},+ {+ "id": "games.noProfile",+ "kind": "noProfile",+ "source": "scripts/build_ipa_from_nsp.py",+ "fragment": "packs only a game with a profile",+ "text": "[RED] a dump folder packs only a game with a profile, and 0400000000010000 has none: the survey that makes a provisional profile reads NSPs"+ },{"id": "disk.low","kind": "diskFull",diff --git a/frontend/Tests/NX2AppleTests/ControlsTests.swift b/frontend/Tests/NX2AppleTests/ControlsTests.swiftindex 428d9657..cb461a86 100644--- a/frontend/Tests/NX2AppleTests/ControlsTests.swift+++ b/frontend/Tests/NX2AppleTests/ControlsTests.swift@@ -81,4 +81,16 @@ final class StageNameTests: IsolatedDefaultsTestCase {XCTAssertEqual(Stage.localizedName("a stage added later", zh), "a stage added later", "an unknown name stays as the script wrote it")XCTAssertEqual(Stage.localizedName("Mac app", { $0 }), "Mac app")}++ /// A Switch 2 game folder packs its versions (pack_dump.py), a NUP unpacks them (pack_nup.py): build_ipa_from_nsp.py's+ /// stages "pack v458752", "pack DLC" and "unpack v196608" were shown in English in every language (#445).+ func testTheGameFolderStagesAreShownInTheLaunchersLanguage() {+ let de = { (k: String) in L10n.string(k, Lang("de")) }, zh = { (k: String) in L10n.string(k, .zh) }+ XCTAssertEqual(Stage.localizedName("pack v458752", de), "v458752 packen")+ XCTAssertEqual(Stage.localizedName("pack DLC", zh), "打包 DLC", "the DLC stage is its own row, not pack of \"DLC\"")+ XCTAssertEqual(Stage.localizedName("unpack v196608", zh), "解包 v196608")+ for lang in Lang.all {+ for key in ["stage.pack", "stage.pack_dlc", "stage.unpack"] { XCTAssertNotEqual(L10n.string(key, lang), key, "\(key) in \(lang)") }+ }+ }}diff --git a/frontend/Tests/NX2AppleTests/GameFolderCaptureTests.swift b/frontend/Tests/NX2AppleTests/GameFolderCaptureTests.swiftindex 1b84a230..15c49b4e 100644--- a/frontend/Tests/NX2AppleTests/GameFolderCaptureTests.swift+++ b/frontend/Tests/NX2AppleTests/GameFolderCaptureTests.swift@@ -4,6 +4,7 @@ import XCTest@testable import NX2Apple@testable import NXCore@testable import NXModel+import NXLauncher/// The Builds page with a Switch 2 game folder chosen (LNPANDY/NX2Apple#512, #445). A synthetic folder and a stand-in engine: an/// NPDM with only the program ID, empty RomFS folders, a profile with only its name. No game data.@@ -74,5 +75,29 @@ final class GameFolderCaptureTests: IsolatedDefaultsTestCase {}try capture("build-game-folder-mac", target: BuildTarget.mac)try capture("build-game-folder-ios", target: BuildTarget.ios)+ // The stages of a game folder's build: "-raw" shows the pack stages as the script writes them (how they looked before this+ // change), the other in the player's language+ model.target = BuildTarget.mac+ for (name, localized) in [("build-game-folder-stages-raw", false), ("build-game-folder-stages", true)] {+ let names = ["pack v458752", "pack DLC", "shader split", "Mac shaders", "Mac host", "Mac app"]+ model.stages = names.enumerated().map { i, n in+ Stage(id: i + 1, name: localized || !n.hasPrefix("pack ") ? Stage.localizedName(n, model.t) : n, state: i < 2 ? .done : (i == 2 ? .running : .pending))+ }+ let host = NSHostingView(rootView: ZStack(alignment: .top) {+ LauncherPalette.background+ ProgressCard(build: model).environmentObject(stores.localizer).padding(24)+ }.frame(width: 760, height: 470))+ let window = OffscreenWindow(size: NSSize(width: 760, height: 470))+ window.appearance = NSAppearance(named: .darkAqua)+ window.contentView = host+ window.orderFront(nil)+ RunLoop.main.run(until: Date().addingTimeInterval(0.4))+ host.layoutSubtreeIfNeeded()+ let rep = try XCTUnwrap(host.bitmapImageRepForCachingDisplay(in: host.bounds))+ host.cacheDisplay(in: host.bounds, to: rep)+ try XCTUnwrap(rep.representation(using: .png, properties: [:])).write(to: output.appendingPathComponent(name + ".png"))+ window.orderOut(nil)+ }+ model.stages = []}}diff --git a/frontend/l10n/de.json b/frontend/l10n/de.jsonindex 10d7fff2..ca869894 100644--- a/frontend/l10n/de.json+++ b/frontend/l10n/de.json@@ -539,6 +539,8 @@"fail.keys.button": "Schlüsseldatei wählen","fail.keys.next": "Wähle deine prod.keys erneut. Liegt sie auf einem externen Laufwerk, verbinde zuerst das Laufwerk. Baue dann erneut.","fail.keys.what": "Die Schlüsseldatei wurde nicht gefunden oder lässt sich nicht lesen.",+ "fail.noProfile.next": "Switch 2-Spiele lassen sich nur bauen, wenn die Engine sie kennt. Aktualisiere die Engine oder warte, bis sie ein Profil für dieses Spiel hat.",+ "fail.noProfile.what": "Die Engine hat kein Profil für dieses Spiel, und ein Spielordner baut nur ein Spiel mit Profil.","fail.noSigningAccount.next": "Öffne in Xcode „Settings → Accounts“, melde dich mit deiner Apple-ID an und stelle sicher, dass das Team aufgeführt ist. Baue dann erneut. Eine kostenlose Apple-ID genügt, und Xcode erstellt das Zertifikat selbst.","fail.noSigningAccount.what": "Xcode hat kein Signierkonto für das gewählte Team.","fail.noTitleID.next": "Benenne die Datei so um, dass sie ihre Title-ID enthält, etwa Spielname [0100XXXXXXXXXXXX].nsp, und verwende die ID genau dieses Pakets, denn Basisspiel, Update und DLC haben jeweils eine eigene. Baue dann erneut.\nEs kann auch sein, dass der Ordner keine .nsp-, .xci-, .nsz- oder .xcz-Dateien enthält (geteilte oder archivierte Teile wie .00 oder .rar werden nicht gelesen) oder dass die Dateien noch in iCloud liegen und nicht geladen sind. Wähle „Ordner zeigen“, um nachzusehen.",@@ -1233,6 +1235,8 @@"stage.mac_app": "Mac-App","stage.mac_host": "Mac-Host","stage.mac_shaders": "Mac-Shader",+ "stage.pack": "%@ packen",+ "stage.pack_dlc": "DLC packen","stage.pipeline_archive": "Pipeline-Archiv","stage.pipeline_prebuild": "Pipelines vorab erstellen","stage.prepare_xcode": "Xcode vorbereiten",@@ -1243,6 +1247,7 @@"stage.survey_imports_vs_host_hooks": "Analyse: Importe und Host-Hooks","stage.survey_romfs_manifest": "Analyse: RomFS-Manifest","stage.ue_shader_decode": "UE-Shader dekodieren",+ "stage.unpack": "%@ entpacken","stage.vulkan_shaders": "Vulkan-Shader","stale.go": "Fortfahren","stale.message": "Die Engine hat ihre Shader-Kette gewechselt. Für ein neues Spiel müssen die Spiele, die schon in der gemeinsamen App sind, neu gebaut werden:\n\n%@\n\nMit „Fortfahren“ werden sie aus der gemeinsamen App entfernt und ihr lokaler Framework-Cache wird gelöscht, dann geht der Build weiter. „Build stoppen“ lässt alles, wie es ist.",diff --git a/frontend/l10n/en.json b/frontend/l10n/en.jsonindex 51b409b8..e078ef49 100644--- a/frontend/l10n/en.json+++ b/frontend/l10n/en.json@@ -537,6 +537,8 @@"fail.keys.button": "Choose keys file","fail.keys.next": "Choose your prod.keys again. If it is on an external drive, connect the drive first. Then build again.","fail.keys.what": "The keys file was not found or can't be read.",+ "fail.noProfile.next": "Switch 2 games build only when the engine knows them. Update the engine, or wait until the engine has a profile for this game.",+ "fail.noProfile.what": "The engine has no profile for this game, and a game folder builds only a game with one.","fail.noSigningAccount.next": "Open Xcode > Settings > Accounts, sign in with your Apple ID and make sure the team is listed, then build again. A free Apple ID is enough and Xcode creates the certificate itself.","fail.noSigningAccount.what": "Xcode has no signing account for the chosen team.","fail.noTitleID.next": "Rename the file to include its title ID, like Game Name [0100XXXXXXXXXXXX].nsp, using the ID of that exact package, since the base game, an update and DLC each have their own. Then build again.\nIt can also be that the folder has no .nsp, .xci, .nsz or .xcz files (split or archived parts such as .00 or .rar are not read), or that the files are still in iCloud and not downloaded. Choose Show folder to check.",@@ -1359,6 +1361,8 @@"stage.mac_app": "Mac app","stage.mac_host": "Mac host","stage.mac_shaders": "Mac shaders",+ "stage.pack": "pack %@",+ "stage.pack_dlc": "pack DLC","stage.pipeline_archive": "Pipeline archive","stage.pipeline_prebuild": "Pipeline prebuild","stage.prepare_xcode": "prepare Xcode",@@ -1369,6 +1373,7 @@"stage.survey_imports_vs_host_hooks": "survey: imports vs host hooks","stage.survey_romfs_manifest": "survey: RomFS manifest","stage.ue_shader_decode": "UE shader decode",+ "stage.unpack": "unpack %@","stage.vulkan_shaders": "Vulkan shaders","stale.go": "Continue","stale.message": "The engine changed its shader chain. Installing a new game needs the games already in the shared app to be built again:\n\n%@\n\nContinue removes them from the shared app and deletes their local framework cache, then the build goes on. Stop the build leaves everything as it is.",diff --git a/frontend/l10n/fr.json b/frontend/l10n/fr.jsonindex acd53962..2e69f71d 100644--- a/frontend/l10n/fr.json+++ b/frontend/l10n/fr.json@@ -538,6 +538,8 @@"fail.keys.button": "Choisir le fichier de clés","fail.keys.next": "Choisissez à nouveau votre prod.keys. S’il se trouve sur un disque externe, connectez d’abord le disque. Puis compilez à nouveau.","fail.keys.what": "Le fichier de clés est introuvable ou illisible.",+ "fail.noProfile.next": "Les jeux Switch 2 ne se compilent que si le moteur les connaît. Mettez le moteur à jour, ou attendez qu'il ait un profil pour ce jeu.",+ "fail.noProfile.what": "Le moteur n'a pas de profil pour ce jeu, et un dossier de jeu ne se compile que pour un jeu qui en a un.","fail.noSigningAccount.next": "Ouvrez Xcode > Settings > Accounts, connectez-vous avec votre identifiant Apple et vérifiez que l’équipe figure dans la liste, puis compilez à nouveau. Un identifiant Apple gratuit suffit et Xcode crée lui-même le certificat.","fail.noSigningAccount.what": "Xcode n’a pas de compte de signature pour l’équipe choisie.","fail.noTitleID.next": "Renommez le fichier pour y inclure son title ID, par exemple Nom du jeu [0100XXXXXXXXXXXX].nsp, avec l’ID de ce paquet précis, car le jeu de base, une mise à jour et un DLC ont chacun le leur. Puis compilez à nouveau.\nIl se peut aussi que le dossier ne contienne aucun fichier .nsp, .xci, .nsz ou .xcz (les parties découpées ou archivées comme .00 ou .rar ne sont pas lues), ou que les fichiers soient encore dans iCloud et non téléchargés. Choisissez Afficher le dossier pour vérifier.",@@ -1235,6 +1237,8 @@"stage.mac_app": "App Mac","stage.mac_host": "Hôte Mac","stage.mac_shaders": "Shaders Mac",+ "stage.pack": "Empaquetage de %@",+ "stage.pack_dlc": "Empaquetage des DLC","stage.pipeline_archive": "Archive de pipelines","stage.pipeline_prebuild": "Précompilation des pipelines","stage.prepare_xcode": "Préparation d’Xcode",@@ -1245,6 +1249,7 @@"stage.survey_imports_vs_host_hooks": "Analyse : imports et hooks de l’hôte","stage.survey_romfs_manifest": "Analyse : manifeste RomFS","stage.ue_shader_decode": "Décodage des shaders UE",+ "stage.unpack": "Décompression de %@","stage.vulkan_shaders": "Shaders Vulkan","stale.go": "Continuer","stale.message": "Le moteur a changé de chaîne de shaders. Installer un nouveau jeu demande de reconstruire les jeux déjà présents dans l’app partagée :\n\n%@\n\nContinuer les retire de l’app partagée et supprime leur cache local de frameworks, puis la construction se poursuit. Arrêter la construction ne touche à rien.",diff --git a/frontend/l10n/it.json b/frontend/l10n/it.jsonindex 1c5388d1..ff22112e 100644--- a/frontend/l10n/it.json+++ b/frontend/l10n/it.json@@ -538,6 +538,8 @@"fail.keys.button": "Scegli il file delle chiavi","fail.keys.next": "Scegli di nuovo il tuo prod.keys. Se si trova su un disco esterno, prima collega il disco. Poi compila di nuovo.","fail.keys.what": "Il file delle chiavi non è stato trovato o non si può leggere.",+ "fail.noProfile.next": "I giochi Switch 2 si compilano solo se il motore li conosce. Aggiorna il motore, o aspetta che abbia un profilo per questo gioco.",+ "fail.noProfile.what": "Il motore non ha un profilo per questo gioco, e una cartella del gioco si compila solo per un gioco che ne ha uno.","fail.noSigningAccount.next": "Apri Xcode > Settings > Accounts, accedi con il tuo Apple ID e verifica che il team compaia nell’elenco, poi compila di nuovo. Basta un Apple ID gratuito e Xcode crea il certificato da solo.","fail.noSigningAccount.what": "Xcode non ha un account di firma per il team scelto.","fail.noTitleID.next": "Rinomina il file in modo che includa il suo title ID, come Nome del gioco [0100XXXXXXXXXXXX].nsp, usando l’ID di quel pacchetto specifico, perché gioco base, aggiornamento e DLC hanno ciascuno il proprio. Poi compila di nuovo.\nPuò anche darsi che la cartella non contenga file .nsp, .xci, .nsz o .xcz (le parti divise o archiviate come .00 o .rar non vengono lette), o che i file siano ancora in iCloud e non scaricati. Scegli Mostra cartella per controllare.",@@ -1236,6 +1238,8 @@"stage.mac_app": "App per Mac","stage.mac_host": "host per Mac","stage.mac_shaders": "shader per Mac",+ "stage.pack": "pacchetto di %@",+ "stage.pack_dlc": "pacchetto DLC","stage.pipeline_archive": "Archivio pipeline","stage.pipeline_prebuild": "Precompilazione pipeline","stage.prepare_xcode": "preparazione di Xcode",@@ -1246,6 +1250,7 @@"stage.survey_imports_vs_host_hooks": "analisi: import e hook dell’host","stage.survey_romfs_manifest": "analisi: manifest RomFS","stage.ue_shader_decode": "decodifica shader UE",+ "stage.unpack": "estrazione di %@","stage.vulkan_shaders": "shader Vulkan","stale.go": "Continua","stale.message": "L’engine ha cambiato la sua catena di shader. Per installare un nuovo gioco bisogna ricompilare i giochi già presenti nell’app condivisa:\n\n%@\n\nContinua li rimuove dall’app condivisa ed elimina la loro cache locale dei framework, poi la build prosegue. Interrompi la build lascia tutto com’è.",diff --git a/frontend/l10n/sv.json b/frontend/l10n/sv.jsonindex 849d468f..931fe699 100644--- a/frontend/l10n/sv.json+++ b/frontend/l10n/sv.json@@ -393,6 +393,8 @@"fail.keys.button": "Välj nyckelfil","fail.keys.next": "Välj din prod.keys igen. Ligger den på en extern disk ansluter du disken först. Bygg sedan igen.","fail.keys.what": "Nyckelfilen hittades inte eller går inte att läsa.",+ "fail.noProfile.next": "Switch 2-spel går bara att bygga när motorn känner till dem. Uppdatera motorn eller vänta tills den har en profil för det här spelet.",+ "fail.noProfile.what": "Motorn har ingen profil för det här spelet, och en spelmapp bygger bara ett spel med profil.","fail.noSigningAccount.next": "Öppna Xcode > Inställningar > Konton, logga in med ditt Apple-ID och kontrollera att teamet finns i listan. Bygg sedan igen. Ett gratis Apple-ID räcker och Xcode skapar certifikatet själv.","fail.noSigningAccount.what": "Xcode har inget signeringskonto för det valda teamet.","fail.noTitleID.next": "Byt namn på filen så att den innehåller sitt titel-ID, till exempel Game Name [0100XXXXXXXXXXXX].nsp, med ID:t för just det paketet, eftersom basspelet, en uppdatering och DLC har varsitt. Bygg sedan igen.\nDet kan också vara att mappen saknar .nsp-, .xci-, .nsz- eller .xcz-filer (delade eller arkiverade delar som .00 eller .rar läses inte), eller att filerna ligger kvar i iCloud och inte är nedladdade. Välj Visa mapp för att kontrollera.",@@ -1073,6 +1075,8 @@"stage.mac_app": "Mac-app","stage.mac_host": "Mac-värd","stage.mac_shaders": "Mac-shaders",+ "stage.pack": "Packa %@",+ "stage.pack_dlc": "Packa DLC","stage.pipeline_archive": "Pipelinearkiv","stage.pipeline_prebuild": "Förbygg pipelines","stage.prepare_xcode": "Förbered Xcode",@@ -1083,6 +1087,7 @@"stage.survey_imports_vs_host_hooks": "Kartläggning: importer mot värdkrokar","stage.survey_romfs_manifest": "Kartläggning: RomFS-manifest","stage.ue_shader_decode": "Avkodning av UE-shaders",+ "stage.unpack": "Packa upp %@","stage.vulkan_shaders": "Vulkan-shaders","stale.go": "Fortsätt","stale.message": "Motorn har bytt shaderkedja. För att installera ett nytt spel måste spelen som redan finns i den gemensamma appen byggas igen:\n\n%@\n\nFortsätt tar bort dem från den gemensamma appen och raderar deras lokala ramverkscache, sedan går bygget vidare. Stoppa bygget lämnar allt som det är.",diff --git a/frontend/l10n/zh.json b/frontend/l10n/zh.jsonindex 0e92843c..b6deb1d3 100644--- a/frontend/l10n/zh.json+++ b/frontend/l10n/zh.json@@ -538,6 +538,8 @@"fail.keys.button": "选择密钥文件","fail.keys.next": "请重新选择你的 prod.keys。如果它在外接硬盘上,请先连接硬盘,然后再构建。","fail.keys.what": "找不到密钥文件,或者无法读取它。",+ "fail.noProfile.next": "Switch 2 游戏只有在引擎认识它时才能构建。请更新引擎,或等待引擎加入这个游戏的配置。",+ "fail.noProfile.what": "引擎没有这个游戏的配置,而游戏文件夹只能构建有配置的游戏。","fail.noSigningAccount.next": "请打开 Xcode > 设置 > 账户,登录你的 Apple ID,确认团队已列出,然后再构建。免费的 Apple ID 就够用,证书由 Xcode 自己创建。","fail.noSigningAccount.what": "Xcode 里没有所选团队的签名账户。","fail.noTitleID.next": "请把文件改名,加上它的标题 ID,例如 Game Name [0100XXXXXXXXXXXX].nsp,并使用这个安装包自己的 ID,因为本体、更新和 DLC 各有各的 ID。然后再构建。\n也可能是文件夹里没有 .nsp、.xci、.nsz 或 .xcz 文件(分卷或压缩包,例如 .00、.rar,不会被读取),或者文件还在 iCloud 里没有下载。点「显示文件夹」可以查看。",@@ -1360,6 +1362,8 @@"stage.mac_app": "Mac App","stage.mac_host": "Mac 主机程序","stage.mac_shaders": "Mac 着色器",+ "stage.pack": "打包 %@",+ "stage.pack_dlc": "打包 DLC","stage.pipeline_archive": "管线存档","stage.pipeline_prebuild": "管线预构建","stage.prepare_xcode": "准备 Xcode",@@ -1370,6 +1374,7 @@"stage.survey_imports_vs_host_hooks": "勘察:导入与主机钩子","stage.survey_romfs_manifest": "勘察:RomFS 清单","stage.ue_shader_decode": "UE 着色器解码",+ "stage.unpack": "解包 %@","stage.vulkan_shaders": "Vulkan 着色器","stale.go": "继续","stale.message": "引擎更换了着色器链。安装新游戏需要重新构建共用应用中已有的游戏:\n\n%@\n\n选择“继续”会把它们从共用应用中移除,并删除它们的本地框架缓存,然后继续构建。选择“停止构建”则不会改动任何内容。",