From 4b761f07157e487f1578704f1d3ea4b100b62a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 24 Aug 2026 12:09:17 +0200 Subject: [PATCH 1/3] Offer to install PSP firmware updaters instead of running them Opening an official updater (a PSP/GAME/UPDATE EBOOT.PBP, identified by the MSTKUPDATE disc ID) from the main screen now brings up a confirmation dialog that unpacks the firmware into the NAND directory, where the emulated flash0/flash1 live. Running the updater itself doesn't work, so there was nothing useful to do with one before. Unpacks the file list for the model we claim to be (iPSPModel), on a worker thread, with a progress bar - for which PSARUnpackOptions gets an optional progress callback. AGENTS.md: translate UI strings last, in a separate commit The English string is what all ~47 languages get derived from, so rewording it after the sweep means redoing the sweep. Check the wording first. Co-Authored-By: Claude Opus 5 --- AGENTS.md | 5 + Core/Util/PSARUnpack.cpp | 7 ++ Core/Util/PSARUnpack.h | 4 + UI/CMakeLists.txt | 2 + UI/InstallUpdateScreen.cpp | 200 ++++++++++++++++++++++++++++++ UI/InstallUpdateScreen.h | 80 ++++++++++++ UI/MainScreen.cpp | 19 ++- UI/UI.vcxproj | 2 + UI/UI.vcxproj.filters | 6 + UWP/UI_UWP/UI_UWP.vcxproj | 2 + UWP/UI_UWP/UI_UWP.vcxproj.filters | 6 + android/jni/Android.mk | 1 + 12 files changed, 333 insertions(+), 1 deletion(-) create mode 100644 UI/InstallUpdateScreen.cpp create mode 100644 UI/InstallUpdateScreen.h diff --git a/AGENTS.md b/AGENTS.md index 98d13d5de4..4a761f7892 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -184,6 +184,11 @@ For string sanitation, we already have SanitizeString in StringUtils.cpp - add n ## Translated UI strings (assets/lang) +**When implementing new UI, translations come last, in their own commit after everything else is +done.** Write the English strings, get the feature built and working, commit that - then stop and ask +the user to check the English wording before translating anything. The English string is what all ~47 +languages get derived from, so rewording it afterwards means redoing the whole sweep. + One .ini file per language, keyed by section and key against `assets/lang/en_US.ini`. **Don't hand-edit the ~47 files**, and don't run the AI commands in `Tools/langtool` either - you can read the call site, which its fixed prompt can't. Do the translating yourself and let the tool do the file surgery. Run it diff --git a/Core/Util/PSARUnpack.cpp b/Core/Util/PSARUnpack.cpp index c0cf887409..ca3b27299d 100644 --- a/Core/Util/PSARUnpack.cpp +++ b/Core/Util/PSARUnpack.cpp @@ -489,6 +489,9 @@ public: PSARCompression entryCompression() const { return entryCompression_; } // Empty for a directory, or for an entry we couldn't decompress. const std::vector &entryData() const { return entryData_; } + // How far into the archive the next record starts, and where the records stop - i.e. progress. + u32 position() const { return pos_; } + size_t limit() const { return limit_; } private: // Decrypts one record into 'out'. Returns the decrypted size, or <= 0 on failure. @@ -726,6 +729,10 @@ bool UnpackPSAR(const u8 *psar, size_t psarSize, const Path &outputDir, const PS stats->entries++; stats->compressionCounts[(int)reader.entryCompression()]++; + if (options.progress && reader.limit() > 0) { + options.progress(std::min(1.0f, (float)reader.position() / (float)reader.limit())); + } + if (options.verbose) { INFO_LOG(Log::Loader, "PSAR entry '%s' (%s, %d bytes)", reader.entryName().c_str(), PSARCompressionToString(reader.entryCompression()), (int)reader.entryData().size()); diff --git a/Core/Util/PSARUnpack.h b/Core/Util/PSARUnpack.h index f604298170..620932c5d9 100644 --- a/Core/Util/PSARUnpack.h +++ b/Core/Util/PSARUnpack.h @@ -18,6 +18,7 @@ #pragma once #include +#include #include #include #include @@ -81,6 +82,9 @@ struct PSARUnpackOptions { bool listOnly = false; // Log a line per entry. Off by default - an updater holds well over a thousand of them. bool verbose = false; + // Called on the unpacking thread after every entry, with how far through the archive we are + // (0.0 to 1.0). Unpacking a full firmware takes a while, so a UI wants this. + std::function progress; }; struct PSARUnpackStats { diff --git a/UI/CMakeLists.txt b/UI/CMakeLists.txt index 6ad1a9ac52..660e29392d 100644 --- a/UI/CMakeLists.txt +++ b/UI/CMakeLists.txt @@ -99,6 +99,8 @@ list(APPEND UISource UploadScreen.cpp CwCheatScreen.h CwCheatScreen.cpp + InstallUpdateScreen.h + InstallUpdateScreen.cpp InstallZipScreen.h InstallZipScreen.cpp JitCompareScreen.h diff --git a/UI/InstallUpdateScreen.cpp b/UI/InstallUpdateScreen.cpp new file mode 100644 index 0000000000..46c20454cd --- /dev/null +++ b/UI/InstallUpdateScreen.cpp @@ -0,0 +1,200 @@ +// Copyright (c) 2026- PPSSPP Project. + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 2.0 or later versions. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License 2.0 for more details. + +// A copy of the GPL 2.0 should have been included with the program. +// If not, see http://www.gnu.org/licenses/ + +// Official git repository and contact information can be found at +// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. + +#include "Common/Data/Text/I18n.h" +#include "Common/Data/Text/Parsers.h" +#include "Common/File/DirListing.h" +#include "Common/File/FileUtil.h" +#include "Common/Log.h" +#include "Common/StringUtils.h" +#include "Common/Thread/Promise.h" +#include "Common/Thread/ThreadManager.h" +#include "Common/UI/UI.h" +#include "Common/UI/View.h" +#include "Common/UI/ViewGroup.h" + +#include "Core/Config.h" +#include "Core/ConfigValues.h" +#include "Core/Util/PathUtil.h" + +#include "UI/InstallUpdateScreen.h" +#include "UI/MiscViews.h" + +// An updater carries one file list per hardware revision, and anything the chosen model's list +// doesn't name isn't part of its firmware. Unpacking the model we claim to be keeps flash0 +// consistent with what the emulator reports to games. +static PSPModelGeneration EmulatedModelGeneration() { + return g_Config.iPSPModel == PSP_MODEL_FAT ? PSPModelGeneration::PSP_1000 : PSPModelGeneration::PSP_2000; +} + +InstallUpdateScreen::InstallUpdateScreen(const Path &path, std::string_view title) + : UISimpleBaseDialogScreen(Path(), SimpleDialogFlags::ContentsCanScroll), path_(path), title_(title) { + destination_ = GetSysDirectory(DIRECTORY_NAND); + + File::FileInfo fileInfo; + if (File::GetFileInfo(path_, &fileInfo)) { + fileSize_ = fileInfo.size; + } + // There's no practical way to merge two firmwares, so an install replaces whatever is there. + overwrites_ = File::Exists(destination_ / "flash0"); +} + +std::string_view InstallUpdateScreen::GetTitle() const { + auto iz = GetI18NCategory(I18NCat::INSTALLZIP); + return iz->T("PSP firmware update"); +} + +void InstallUpdateScreen::CreateDialogViews(UI::ViewGroup *parent) { + using namespace UI; + + auto di = GetI18NCategory(I18NCat::DIALOG); + auto iz = GetI18NCategory(I18NCat::INSTALLZIP); + auto st = GetI18NCategory(I18NCat::STORE); // Borrow "Size" from here, like GameScreen does. + + LinearLayout *container = parent->Add(new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(600, WRAP_CONTENT, 0.0f, UI::Gravity::G_HCENTER, Margins(10)))); + + container->Add(new TextView(iz->T("Install PSP firmware update?"), ALIGN_LEFT, false))->SetBig(true); + container->Add(new Spacer(8.0f)); + + if (!title_.empty()) { + // The updater's own title, which spells out the firmware version. + container->Add(new TextWithImage(ImageID("I_INFO"), title_)); + } + container->Add(new TextWithImage(ImageID("I_FILE"), GetFriendlyPath(path_))); + if (fileSize_ > 0) { + container->Add(new TextView(StringFromFormat("%s: %s", st->T_cstr("Size"), NiceSizeFormat(fileSize_).c_str()))); + } + + container->Add(new Spacer(12.0f)); + container->Add(new TextView(iz->T("Install into folder"))); + container->Add(new TextView(GetFriendlyPath(destination_)))->SetAlign(FLAG_WRAP_TEXT); + + if (overwrites_) { + container->Add(new NoticeView(NoticeLevel::WARN, di->T("Confirm Overwrite"), "")); + } + + container->Add(new Spacer(12.0f)); + + installChoice_ = container->Add(new Choice(iz->T("Install"), ImageID("I_FOLDER_UPLOAD"))); + installChoice_->OnClick.Add([this](UI::EventParams &e) { + StartInstall(); + }); + + progressBar_ = container->Add(new ProgressBar()); + progressBar_->SetVisibility(V_GONE); + + resultView_ = container->Add(new NoticeView(NoticeLevel::SUCCESS, "", "")); + resultView_->SetVisibility(V_GONE); + + // The screen can get recreated mid-install (a rotation, say), so pick the status back up. + RefreshStatus(); +} + +void InstallUpdateScreen::StartInstall() { + if (state_ && !state_->done) { + // Already running. A previous attempt that failed can be retried, though. + return; + } + + state_ = std::make_shared(); + reportedDone_ = false; + + PSARUnpackOptions options; + options.model = EmulatedModelGeneration(); + + INFO_LOG(Log::Loader, "Unpacking the updater %s into %s (model %s)", path_.c_str(), + destination_.c_str(), PSPModelGenerationToString(options.model)); + + g_threadManager.EnqueueTask(new IndependentTask(TaskType::IO_BLOCKING, TaskPriority::NORMAL, + [state = state_, path = path_, destination = destination_, options]() mutable { + options.progress = [state](float progress) { + state->progress = progress; + }; + state->success = UnpackUpdater(path, destination, options, &state->stats, &state->error); + if (state->success && state->stats.written == 0) { + // Nothing came out, so the archive had no file list for the model we asked for - + // old firmwares predate the later models. Not something to call a success. + state->success = false; + if (state->error.empty()) { + state->error = "The updater has no firmware for this PSP model"; + } + } + // Everything above is published by this store - see the atomic in InstallState. + state->done = true; + })); + + RefreshStatus(); +} + +void InstallUpdateScreen::RefreshStatus() { + using namespace UI; + + auto iz = GetI18NCategory(I18NCat::INSTALLZIP); + + const bool installing = state_ && !state_->done; + const bool succeeded = state_ && state_->done && state_->success; + + if (installChoice_) { + // There's no point installing the same firmware twice, but a failure can be retried. + installChoice_->SetEnabled(!installing && !succeeded); + } + if (progressBar_) { + progressBar_->SetVisibility(installing ? V_VISIBLE : V_GONE); + if (installing) { + progressBar_->SetProgress(state_->progress); + } + } + if (resultView_) { + if (!state_ || !state_->done) { + resultView_->SetVisibility(V_GONE); + } else if (state_->success) { + resultView_->SetLevelAndText(NoticeLevel::SUCCESS, iz->T("Installed!")); + resultView_->SetDetailsText(StringFromFormat("%s - %d files", state_->stats.firmwareVersion.c_str(), state_->stats.written)); + resultView_->SetVisibility(V_VISIBLE); + } else { + resultView_->SetLevelAndText(NoticeLevel::ERROR, iz->T("Installation failed")); + resultView_->SetDetailsText(state_->error); + resultView_->SetVisibility(V_VISIBLE); + } + } +} + +bool InstallUpdateScreen::key(const KeyInput &key) { + // Ignore key presses while installing, so the user can't escape out mid-write. + if (state_ && !state_->done) { + return false; + } + return UISimpleBaseDialogScreen::key(key); +} + +void InstallUpdateScreen::update() { + UISimpleBaseDialogScreen::update(); + + if (!state_) { + return; + } + if (state_->done && !reportedDone_) { + reportedDone_ = true; + if (state_->success) { + INFO_LOG(Log::Loader, "Installed firmware %s: %d files, %d failed", state_->stats.firmwareVersion.c_str(), + state_->stats.written, state_->stats.failed); + } else { + ERROR_LOG(Log::Loader, "Failed to install the updater: %s", state_->error.c_str()); + } + } + RefreshStatus(); +} diff --git a/UI/InstallUpdateScreen.h b/UI/InstallUpdateScreen.h new file mode 100644 index 0000000000..e4fe1c5b5a --- /dev/null +++ b/UI/InstallUpdateScreen.h @@ -0,0 +1,80 @@ +// Copyright (c) 2026- PPSSPP Project. + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 2.0 or later versions. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License 2.0 for more details. + +// A copy of the GPL 2.0 should have been included with the program. +// If not, see http://www.gnu.org/licenses/ + +// Official git repository and contact information can be found at +// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. + +#pragma once + +#include +#include +#include +#include + +#include "Common/File/Path.h" +#include "Common/UI/Notice.h" +#include "Common/UI/UIScreen.h" +#include "Common/UI/View.h" +#include "Common/UI/ViewGroup.h" + +#include "Core/Util/PSARUnpack.h" + +#include "UI/BaseScreens.h" +#include "UI/SimpleDialogScreen.h" + +// An official PSP firmware updater (a PSP/GAME/UPDATE/EBOOT.PBP, or the folder holding one). +// Running it isn't going to get anyone anywhere, but the firmware inside it is exactly what the +// emulated flash0/flash1 want, so offer to unpack it into the NAND directory instead. +class InstallUpdateScreen : public UISimpleBaseDialogScreen { +public: + // title is the updater's SFO title, which already carries the version ("PSP Update ver 6.61"). + InstallUpdateScreen(const Path &path, std::string_view title); + + void CreateDialogViews(UI::ViewGroup *parent) override; + void update() override; + bool key(const KeyInput &key) override; + + const char *tag() const override { return "InstallUpdate"; } + +protected: + std::string_view GetTitle() const override; + +private: + // The unpack runs on a worker thread, and the user can leave the screen while it's going, so + // the state it writes is shared with the task rather than owned by the screen. + struct InstallState { + std::atomic progress{}; + std::atomic done{}; + // Only valid to read once done is set. + bool success = false; + PSARUnpackStats stats; + std::string error; + }; + + void StartInstall(); + void RefreshStatus(); + + Path path_; + Path destination_; + std::string title_; + u64 fileSize_ = 0; + bool overwrites_ = false; + + std::shared_ptr state_; + bool reportedDone_ = false; + + UI::Choice *installChoice_ = nullptr; + UI::ProgressBar *progressBar_ = nullptr; + NoticeView *resultView_ = nullptr; +}; diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index a034919bd8..550d33c7df 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -49,6 +49,7 @@ #include "UI/RemoteISOScreen.h" #include "UI/DisplayLayoutScreen.h" #include "UI/SavedataScreen.h" +#include "UI/InstallUpdateScreen.h" #include "UI/InstallZipScreen.h" #include "UI/Background.h" #include "UI/GameBrowser.h" @@ -68,7 +69,9 @@ static void LaunchFile(ScreenManager *screenManager, Screen *currentScreen, cons screenManager->push(new InstallZipScreen(path)); } else { // Check if we already know that this game isn't playable. - auto info = g_gameInfoCache->GetInfo(nullptr, path, GameInfoFlags::FILE_TYPE); + // If coming from the main screen, the info will already be computed here since the icon is displayed etc. + // Otherwise, we probably technically should wait for it... + auto info = g_gameInfoCache->GetInfo(nullptr, path, GameInfoFlags::FILE_TYPE | GameInfoFlags::PARAM_SFO); switch (info->fileType) { case IdentifiedFileType::PSP_UMD_VIDEO_ISO: @@ -82,6 +85,20 @@ static void LaunchFile(ScreenManager *screenManager, Screen *currentScreen, cons screenManager->push(new SavedataPopupScreen(Path(), path, title)); return; } + case IdentifiedFileType::PSP_PBP: + case IdentifiedFileType::PSP_PBP_DIRECTORY: + { + // Check if it's an update file. If so, we'll offer to install it directly, + // instead of running it (which currently will not work). + if (info->id == "MSTKUPDATE") { + std::string title = info->GetTitle(); // includes the version. + // The unpacker wants the PBP itself, not the folder it happens to sit in. + const Path pbpPath = info->fileType == IdentifiedFileType::PSP_PBP ? path : path / "EBOOT.PBP"; + screenManager->push(new InstallUpdateScreen(pbpPath, title)); + return; + } + break; + } default: break; } diff --git a/UI/UI.vcxproj b/UI/UI.vcxproj index 5db23dac28..1c89ea0cd5 100644 --- a/UI/UI.vcxproj +++ b/UI/UI.vcxproj @@ -79,6 +79,7 @@ + @@ -136,6 +137,7 @@ + diff --git a/UI/UI.vcxproj.filters b/UI/UI.vcxproj.filters index 72f784c375..d48a5f6306 100644 --- a/UI/UI.vcxproj.filters +++ b/UI/UI.vcxproj.filters @@ -40,6 +40,9 @@ Screens + + Screens + Screens @@ -191,6 +194,9 @@ Screens + + Screens + Screens diff --git a/UWP/UI_UWP/UI_UWP.vcxproj b/UWP/UI_UWP/UI_UWP.vcxproj index 6d1e967e2b..32b48346fa 100644 --- a/UWP/UI_UWP/UI_UWP.vcxproj +++ b/UWP/UI_UWP/UI_UWP.vcxproj @@ -114,6 +114,7 @@ + @@ -172,6 +173,7 @@ + diff --git a/UWP/UI_UWP/UI_UWP.vcxproj.filters b/UWP/UI_UWP/UI_UWP.vcxproj.filters index 53b77646ca..4d0d433135 100644 --- a/UWP/UI_UWP/UI_UWP.vcxproj.filters +++ b/UWP/UI_UWP/UI_UWP.vcxproj.filters @@ -73,6 +73,9 @@ Screens + + Screens + Screens @@ -216,6 +219,9 @@ Screens + + Screens + Screens diff --git a/android/jni/Android.mk b/android/jni/Android.mk index 02f45dcd91..be75a70f5f 100644 --- a/android/jni/Android.mk +++ b/android/jni/Android.mk @@ -984,6 +984,7 @@ LOCAL_SRC_FILES := \ $(SRC)/UI/BaseScreens.cpp \ $(SRC)/UI/Background.cpp \ $(SRC)/UI/CwCheatScreen.cpp \ + $(SRC)/UI/InstallUpdateScreen.cpp \ $(SRC)/UI/InstallZipScreen.cpp \ $(SRC)/UI/JitCompareScreen.cpp \ $(SRC)/UI/OnScreenDisplay.cpp \ From cc1cdfcec4b80203ff8338f28502ca7036c62202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 24 Aug 2026 12:09:22 +0200 Subject: [PATCH 2/3] Translate the firmware updater install strings Co-Authored-By: Claude Opus 5 --- assets/lang/bg_BG.ini | 2 ++ assets/lang/ca_ES.ini | 2 ++ assets/lang/cz_CZ.ini | 2 ++ assets/lang/da_DK.ini | 2 ++ assets/lang/de_DE.ini | 2 ++ assets/lang/en_US.ini | 2 ++ assets/lang/es_ES.ini | 2 ++ assets/lang/es_LA.ini | 2 ++ assets/lang/fi_FI.ini | 2 ++ assets/lang/fr_FR.ini | 2 ++ assets/lang/gl_ES.ini | 2 ++ assets/lang/gr_EL.ini | 2 ++ assets/lang/hr_HR.ini | 2 ++ assets/lang/hu_HU.ini | 2 ++ assets/lang/id_ID.ini | 2 ++ assets/lang/it_IT.ini | 2 ++ assets/lang/ja_JP.ini | 2 ++ assets/lang/ko_KR.ini | 2 ++ assets/lang/ms_MY.ini | 2 ++ assets/lang/nl_NL.ini | 2 ++ assets/lang/nn_NO.ini | 2 ++ assets/lang/no_NO.ini | 2 ++ assets/lang/pl_PL.ini | 2 ++ assets/lang/pt_BR.ini | 2 ++ assets/lang/pt_PT.ini | 2 ++ assets/lang/ro_RO.ini | 2 ++ assets/lang/ru_RU.ini | 2 ++ assets/lang/sv_SE.ini | 2 ++ assets/lang/th_TH.ini | 2 ++ assets/lang/tr_TR.ini | 2 ++ assets/lang/uk_UA.ini | 2 ++ assets/lang/vi_VN.ini | 2 ++ assets/lang/zh_CN.ini | 2 ++ assets/lang/zh_TW.ini | 2 ++ 34 files changed, 68 insertions(+) diff --git a/assets/lang/bg_BG.ini b/assets/lang/bg_BG.ini index e21339da7b..75b64541e3 100644 --- a/assets/lang/bg_BG.ini +++ b/assets/lang/bg_BG.ini @@ -794,9 +794,11 @@ Install = Инсталирай Install game from ZIP file? = Инсталирай игра от ZIP архив? Install into folder = Инсталиране в папка Install plugin from ZIP file? = Инсталирайте плъгин от ZIP файл? # AI translated +Install PSP firmware update? = Инсталирай обновяването на фърмуера на PSP? # AI translated Install textures from ZIP file? = Инсталиране на текстури от ZIP файл? Installation failed = Инсталацията не бе успешна Installed! = Инсталирано! +PSP firmware update = Обновяване на фърмуера на PSP # AI translated Supported games: = Поддържани игри: # AI translated Texture pack doesn't support install = Текстурният пакет не поддържа инсталиране Zip archive corrupt = ZIP архивът е повреден diff --git a/assets/lang/ca_ES.ini b/assets/lang/ca_ES.ini index b34278a125..63d2232dad 100644 --- a/assets/lang/ca_ES.ini +++ b/assets/lang/ca_ES.ini @@ -794,9 +794,11 @@ Install = Install Install game from ZIP file? = Install game from ZIP file? Install into folder = Install into folder Install plugin from ZIP file? = Instal·la el complement des d'un fitxer ZIP? # AI translated +Install PSP firmware update? = Voleu instal·lar l'actualització de firmware de PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Installed! +PSP firmware update = Actualització de firmware de PSP # AI translated Supported games: = Jocs compatibles: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/cz_CZ.ini b/assets/lang/cz_CZ.ini index 173e345102..d765484a01 100644 --- a/assets/lang/cz_CZ.ini +++ b/assets/lang/cz_CZ.ini @@ -794,9 +794,11 @@ Install = Nainstalovat Install game from ZIP file? = Instalovat hru ze souboru ZIP? Install into folder = Install into folder Install plugin from ZIP file? = Nainstalovat plugin z ZIP souboru? # AI translated +Install PSP firmware update? = Instalovat aktualizaci firmwaru PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Instalováno! +PSP firmware update = Aktualizace firmwaru PSP # AI translated Supported games: = Podporované hry: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/da_DK.ini b/assets/lang/da_DK.ini index fd85d0d074..ea178e60f3 100644 --- a/assets/lang/da_DK.ini +++ b/assets/lang/da_DK.ini @@ -794,9 +794,11 @@ Install = Installer Install game from ZIP file? = Installer spil fra ZIP fil? Install into folder = Install into folder Install plugin from ZIP file? = Installer plugin fra ZIP-fil? # AI translated +Install PSP firmware update? = Installer PSP-firmwareopdatering? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Installeret! +PSP firmware update = PSP-firmwareopdatering # AI translated Supported games: = Understøttede spil: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/de_DE.ini b/assets/lang/de_DE.ini index 3ff44a3473..2199756313 100644 --- a/assets/lang/de_DE.ini +++ b/assets/lang/de_DE.ini @@ -793,9 +793,11 @@ Install = Installieren Install game from ZIP file? = Spiel aus ZIP-Datei installieren? Install into folder = In Ordner installieren Install plugin from ZIP file? = Plugin aus ZIP-Datei installieren? +Install PSP firmware update? = PSP-Firmware-Update installieren? # AI translated Install textures from ZIP file? = Texturen von ZIP-Datei installieren? Installation failed = Installation fehlgeschlagen Installed! = Installiert! +PSP firmware update = PSP-Firmware-Update # AI translated Supported games: = Unterstützte Spiele: Texture pack doesn't support install = Texturpaket unterstützt keine Installation Zip archive corrupt = ZIP-Archiv beschädigt diff --git a/assets/lang/en_US.ini b/assets/lang/en_US.ini index c1489a5521..1956eb9ecb 100644 --- a/assets/lang/en_US.ini +++ b/assets/lang/en_US.ini @@ -819,9 +819,11 @@ Install = Install Install game from ZIP file? = Install game from ZIP file? Install plugin from ZIP file? = Install plugin from ZIP file? Install into folder = Install into folder +Install PSP firmware update? = Install PSP firmware update? Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Installed! +PSP firmware update = PSP firmware update Supported games: = Supported games: Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/es_ES.ini b/assets/lang/es_ES.ini index f14531cd9a..5854c673a0 100644 --- a/assets/lang/es_ES.ini +++ b/assets/lang/es_ES.ini @@ -795,9 +795,11 @@ Install = Instalar Install game from ZIP file? = ¿Instalar juego desde archivo ZIP? Install into folder = Instalar en carpeta Install plugin from ZIP file? = ¿Instalar el plugin desde un archivo ZIP? # AI translated +Install PSP firmware update? = ¿Instalar la actualización de firmware de PSP? # AI translated Install textures from ZIP file? = ¿Instalar texturas desde archivo ZIP? Installation failed = Instalación fallida Installed! = ¡Instalado! +PSP firmware update = Actualización de firmware de PSP # AI translated Supported games: = Juegos compatibles: # AI translated Texture pack doesn't support install = El paquete de texturas no admite instalación Zip archive corrupt = Archivo ZIP dañado diff --git a/assets/lang/es_LA.ini b/assets/lang/es_LA.ini index f7115fb838..c725851ee6 100644 --- a/assets/lang/es_LA.ini +++ b/assets/lang/es_LA.ini @@ -794,9 +794,11 @@ Install = Instalar Install game from ZIP file? = ¿Instalar juego desde un archivo ZIP? Install into folder = Install into folder Install plugin from ZIP file? = ¿Instalar el complemento desde un archivo ZIP? # AI translated +Install PSP firmware update? = ¿Instalar la actualización de firmware de PSP? # AI translated Install textures from ZIP file? = ¿Instalar texturas desde un archivo ZIP? Installation failed = Instalación fallida Installed! = ¡Instalado! +PSP firmware update = Actualización de firmware de PSP # AI translated Supported games: = Juegos compatibles: # AI translated Texture pack doesn't support install = El paquete de texturas no es compatible con la instalación. Zip archive corrupt = El archivo ZIP está dañado. diff --git a/assets/lang/fi_FI.ini b/assets/lang/fi_FI.ini index d24c782969..9f1353f2d8 100644 --- a/assets/lang/fi_FI.ini +++ b/assets/lang/fi_FI.ini @@ -794,9 +794,11 @@ Install = Asenna Install game from ZIP file? = Asenna peli ZIP-tiedostosta? Install into folder = Install into folder Install plugin from ZIP file? = Asenna liitännäinen ZIP-tiedostosta? # AI translated +Install PSP firmware update? = Asenna PSP-laiteohjelmistopäivitys? # AI translated Install textures from ZIP file? = Asenna tekstuureja ZIP-tiedostosta? Installation failed = Installation failed Installed! = Asenettu! +PSP firmware update = PSP-laiteohjelmistopäivitys # AI translated Supported games: = Tuetut pelit: # AI translated Texture pack doesn't support install = Tekstuuripakkaus ei tue asennusta Zip archive corrupt = ZIP-arkisto on korruptoitunut diff --git a/assets/lang/fr_FR.ini b/assets/lang/fr_FR.ini index d4b740fb7e..9ee5332442 100644 --- a/assets/lang/fr_FR.ini +++ b/assets/lang/fr_FR.ini @@ -818,9 +818,11 @@ Install = Installer Install game from ZIP file? = Installer le jeu depuis le fichier ZIP ? Install into folder = Installer dans le dossier Install plugin from ZIP file? = Installer le plugin à partir d'un fichier ZIP ? +Install PSP firmware update? = Installer la mise à jour du firmware PSP ? # AI translated Install textures from ZIP file? = Installer les textures depuis le fichier ZIP ? Installation failed = L'installation a échoué Installed! = Installé ! +PSP firmware update = Mise à jour du firmware PSP # AI translated Supported games: = Jeux pris en charge : Texture pack doesn't support install = Le pack de textures ne peut pas être installé Zip archive corrupt = Archive ZIP corrompue diff --git a/assets/lang/gl_ES.ini b/assets/lang/gl_ES.ini index b122f92c3d..b179d0ecef 100644 --- a/assets/lang/gl_ES.ini +++ b/assets/lang/gl_ES.ini @@ -794,9 +794,11 @@ Install = Instalar Install game from ZIP file? = Instalar xogo dende un arquivo ZIP? Install into folder = Install into folder Install plugin from ZIP file? = Instala o complemento desde un arquivo ZIP? # AI translated +Install PSP firmware update? = Instalar a actualización de firmware de PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = ¡Instalado! +PSP firmware update = Actualización de firmware de PSP # AI translated Supported games: = Xogos compatibles: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/gr_EL.ini b/assets/lang/gr_EL.ini index 9e3c46677a..4ccca8d317 100644 --- a/assets/lang/gr_EL.ini +++ b/assets/lang/gr_EL.ini @@ -794,9 +794,11 @@ Install = Εγκατάσταση Install game from ZIP file? = Εγκατάσταση παιχνιδιού από το αρχείο ZIP? Install into folder = Install into folder Install plugin from ZIP file? = Εγκατάσταση πρόσθετου από ZIP αρχείο; # AI translated +Install PSP firmware update? = Εγκατάσταση ενημέρωσης υλικολογισμικού PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Εγκαταστάθηκε! +PSP firmware update = Ενημέρωση υλικολογισμικού PSP # AI translated Supported games: = Υποστηριζόμενα παιχνίδια: # AI translated Texture pack doesn't support install = Το πακέτο υφής δεν υποστηρίζει την εγκατάσταση Zip archive corrupt = Το αρχείο ZIP είναι κατεστραμμένο diff --git a/assets/lang/hr_HR.ini b/assets/lang/hr_HR.ini index 664895d231..bd9b4c8c56 100644 --- a/assets/lang/hr_HR.ini +++ b/assets/lang/hr_HR.ini @@ -794,9 +794,11 @@ Install = Instaliraj Install game from ZIP file? = Instaliraj igru iz ZIP datoteke? Install into folder = Install into folder Install plugin from ZIP file? = Instalirajte dodatak iz ZIP datoteke? # AI translated +Install PSP firmware update? = Instaliraj ažuriranje PSP firmvera? # AI translated Install textures from ZIP file? = Instaliraj teksture iz ZIP datoteke? Installation failed = Installation failed Installed! = Instalirano! +PSP firmware update = Ažuriranje PSP firmvera # AI translated Supported games: = Podržane igre: # AI translated Texture pack doesn't support install = Texture pack ne podržava instaliranje Zip archive corrupt = Koruptana ZIP arhiva diff --git a/assets/lang/hu_HU.ini b/assets/lang/hu_HU.ini index d2911f9625..985b3d9766 100644 --- a/assets/lang/hu_HU.ini +++ b/assets/lang/hu_HU.ini @@ -794,9 +794,11 @@ Install = Telepítés Install game from ZIP file? = Játék telepítése ZIP fájlból? Install into folder = Telepítés mappába Install plugin from ZIP file? = Plugin telepítése ZIP fájlból? # AI translated +Install PSP firmware update? = PSP firmware-frissítés telepítése? # AI translated Install textures from ZIP file? = Textúrák telepítése ZIP fájlból? Installation failed = Sikertelen telepítés Installed! = Telepítve! +PSP firmware update = PSP firmware-frissítés # AI translated Supported games: = Támogatott játékok: # AI translated Texture pack doesn't support install = A textúra csomag nem támogatja a telepítést Zip archive corrupt = A ZIP archívum sérült diff --git a/assets/lang/id_ID.ini b/assets/lang/id_ID.ini index a29eb87461..6c4a786b0c 100644 --- a/assets/lang/id_ID.ini +++ b/assets/lang/id_ID.ini @@ -794,9 +794,11 @@ Install = Pasang Install game from ZIP file? = Pasang game dari berkas ZIP? Install into folder = Pasang di folder Install plugin from ZIP file? = Pasang plugin dari file ZIP? # AI translated +Install PSP firmware update? = Pasang pembaruan firmware PSP? # AI translated Install textures from ZIP file? = Pasang tekstur dari file ZIP? Installation failed = Pemasangan gagal Installed! = Terpasang! +PSP firmware update = Pembaruan firmware PSP # AI translated Supported games: = Game yang didukung: # AI translated Texture pack doesn't support install = Paket tekstur tidak mendukung pemasangan Zip archive corrupt = Arzip ZIP rusak diff --git a/assets/lang/it_IT.ini b/assets/lang/it_IT.ini index 2a5ece0f23..abf1a51646 100644 --- a/assets/lang/it_IT.ini +++ b/assets/lang/it_IT.ini @@ -795,9 +795,11 @@ Install = Installa Install game from ZIP file? = Installare il gioco dal file ZIP? Install into folder = Installa nella cartella Install plugin from ZIP file? = Installa plugin da file ZIP? # AI translated +Install PSP firmware update? = Installare l'aggiornamento firmware PSP? # AI translated Install textures from ZIP file? = Installare le texture dal file ZIP? Installation failed = Installazione fallita Installed! = Installato! +PSP firmware update = Aggiornamento firmware PSP # AI translated Supported games: = Giochi supportati: # AI translated Texture pack doesn't support install = Il texture pack non supporta l'installazione Zip archive corrupt = Archivio ZIP corrotto diff --git a/assets/lang/ja_JP.ini b/assets/lang/ja_JP.ini index 18ef610c45..0a2c9afb1f 100644 --- a/assets/lang/ja_JP.ini +++ b/assets/lang/ja_JP.ini @@ -794,9 +794,11 @@ Install = インストールする Install game from ZIP file? = ZIPファイルからゲームをインストールしますか? Install into folder = フォルダにインストール Install plugin from ZIP file? = ZIPファイルからプラグインをインストールしますか? # AI translated +Install PSP firmware update? = PSPファームウェア更新をインストールしますか? # AI translated Install textures from ZIP file? = ZIPファイルからテクスチャをインストールしますか? Installation failed = インストール失敗 Installed! = インストールしました +PSP firmware update = PSPファームウェア更新 # AI translated Supported games: = サポートされているゲーム: # AI translated Texture pack doesn't support install = テクスチャパックがインストールをサポートしていません Zip archive corrupt = ZIPアーカイブが破損しています diff --git a/assets/lang/ko_KR.ini b/assets/lang/ko_KR.ini index b268749deb..50a6af1138 100644 --- a/assets/lang/ko_KR.ini +++ b/assets/lang/ko_KR.ini @@ -794,9 +794,11 @@ Install = 설치 Install game from ZIP file? = ZIP 파일에서 게임을 설치할까요? Install into folder = 폴더에 설치 Install plugin from ZIP file? = ZIP 파일에서 플러그인을 설치하시겠습니까? # AI translated +Install PSP firmware update? = PSP 펌웨어 업데이트를 설치할까요? # AI translated Install textures from ZIP file? = ZIP 파일에서 텍스처를 설치하겠습니까? Installation failed = 설치 실패 Installed! = 설치되었습니다! +PSP firmware update = PSP 펌웨어 업데이트 # AI translated Supported games: = 지원되는 게임: # AI translated Texture pack doesn't support install = 텍스처 팩은 설치를 지원하지 않습니다. Zip archive corrupt = ZIP 아카이브가 손상되었습니다. diff --git a/assets/lang/ms_MY.ini b/assets/lang/ms_MY.ini index da0c3bdb1a..8c4a29dc46 100644 --- a/assets/lang/ms_MY.ini +++ b/assets/lang/ms_MY.ini @@ -794,9 +794,11 @@ Install = Pasang Install game from ZIP file? = Pasang permainan dari fail ZIP? Install into folder = Pasang ke dalam folder Install plugin from ZIP file? = Pasang pemalam dari fail ZIP? +Install PSP firmware update? = Pasang kemas kini firmware PSP? # AI translated Install textures from ZIP file? = Pasang tekstur dari fail ZIP? Installation failed = Pemasangan gagal Installed! = Dipasang! +PSP firmware update = Kemas kini firmware PSP # AI translated Supported games: = Permainan yang disokong: Texture pack doesn't support install = Pek tekstur tidak menyokong pemasangan Zip archive corrupt = Arkib ZIP rosak diff --git a/assets/lang/nl_NL.ini b/assets/lang/nl_NL.ini index 3aebdcbdae..148f912b09 100644 --- a/assets/lang/nl_NL.ini +++ b/assets/lang/nl_NL.ini @@ -794,9 +794,11 @@ Install = Installeren Install game from ZIP file? = Game installeren vanuit het ZIP-bestand? Install into folder = Install into folder Install plugin from ZIP file? = Plugin installeren vanaf ZIP-bestand? # AI translated +Install PSP firmware update? = PSP-firmware-update installeren? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Installatie voltooid! +PSP firmware update = PSP-firmware-update # AI translated Supported games: = Ondersteunde spellen: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/nn_NO.ini b/assets/lang/nn_NO.ini index 16f5b727f0..bb482e5897 100644 --- a/assets/lang/nn_NO.ini +++ b/assets/lang/nn_NO.ini @@ -818,9 +818,11 @@ Install = Installer Install game from ZIP file? = Installere spel frå ZIP-fil? Install plugin from ZIP file? = Installere programtillegg frå ZIP-fil? Install into folder = Installer i mappe +Install PSP firmware update? = Installere PSP-fastvareoppdatering? # AI translated Install textures from ZIP file? = Installere teksturar frå ZIP-fil? Installation failed = Installasjonen mislukkast Installed! = Installert! +PSP firmware update = PSP-fastvareoppdatering # AI translated Supported games: = Støtta spel: Texture pack doesn't support install = Teksturpakken støttar ikkje installasjon Zip archive corrupt = ZIP-arkivet er skadd diff --git a/assets/lang/no_NO.ini b/assets/lang/no_NO.ini index 1bb4aee266..33b961133a 100644 --- a/assets/lang/no_NO.ini +++ b/assets/lang/no_NO.ini @@ -818,9 +818,11 @@ Install = Installer Install game from ZIP file? = Installere spill fra ZIP-fil? Install plugin from ZIP file? = Installer plugin fra ZIP-fil? # AI translated Install into folder = Installer i mappe +Install PSP firmware update? = Installere PSP-fastvareoppdatering? # AI translated Install textures from ZIP file? = Installere teksturer fra ZIP-fil? Installation failed = Installasjonen mislyktes Installed! = Installert! +PSP firmware update = PSP-fastvareoppdatering # AI translated Supported games: = Støttede spill: # AI translated Texture pack doesn't support install = Teksturpakken støtter ikke installasjon Zip archive corrupt = ZIP-arkivet er skadet diff --git a/assets/lang/pl_PL.ini b/assets/lang/pl_PL.ini index 7d78adccc1..0626be4121 100644 --- a/assets/lang/pl_PL.ini +++ b/assets/lang/pl_PL.ini @@ -798,9 +798,11 @@ Install = Zainstaluj Install game from ZIP file? = Zainstalować grę z pliku ZIP? Install into folder = Zainstaluj do folderu Install plugin from ZIP file? = Zainstaluj wtyczkę z pliku ZIP? # AI translated +Install PSP firmware update? = Zainstalować aktualizację firmware PSP? # AI translated Install textures from ZIP file? = Czy zainstalować teksturę z archiwum ZIP? Installation failed = Instalacja zakończona porażką Installed! = Zainstalowano! +PSP firmware update = Aktualizacja firmware PSP # AI translated Supported games: = Obsługiwane gry: # AI translated Texture pack doesn't support install = Paczka tekstur nie obsługuje instalacji Zip archive corrupt = Niepoprawne archiwum ZIP diff --git a/assets/lang/pt_BR.ini b/assets/lang/pt_BR.ini index bab90a7a4d..c13974fd19 100644 --- a/assets/lang/pt_BR.ini +++ b/assets/lang/pt_BR.ini @@ -818,9 +818,11 @@ Install = Instalar Install game from ZIP file? = Instalar o jogo do arquivo ZIP? Install plugin from ZIP file? = Instalar plugin do arquivo ZIP? Install into folder = Instalar na pasta +Install PSP firmware update? = Instalar a atualização de firmware do PSP? # AI translated Install textures from ZIP file? = Instalar as texturas do arquivo ZIP? Installation failed = A instalação falhou Installed! = Instalado! +PSP firmware update = Atualização de firmware do PSP # AI translated Supported games: = Jogos suportados: Texture pack doesn't support install = O pacote das texturas não suporta a instalação Zip archive corrupt = Arquivo ZIP corrompido diff --git a/assets/lang/pt_PT.ini b/assets/lang/pt_PT.ini index 884a99c969..0f93b69c76 100644 --- a/assets/lang/pt_PT.ini +++ b/assets/lang/pt_PT.ini @@ -819,9 +819,11 @@ Install = Instalar Install game from ZIP file? = Instalar o jogo do ficheiro .zip? Install into folder = Instalar para pasta Install plugin from ZIP file? = Instalar plugin a partir do ficheiro ZIP? # AI translated +Install PSP firmware update? = Instalar a atualização de firmware da PSP? # AI translated Install textures from ZIP file? = Instalar as texturas do ficheiro .zip? Installation failed = Erro ao instalar Installed! = Instalado! +PSP firmware update = Atualização de firmware da PSP # AI translated Supported games: = Jogos suportados: # AI translated Texture pack doesn't support install = O pacote de texturas não é compatível com a instalação. Zip archive corrupt = Ficheiro .zip corrompido. diff --git a/assets/lang/ro_RO.ini b/assets/lang/ro_RO.ini index d53e5c61ff..072ad9d573 100644 --- a/assets/lang/ro_RO.ini +++ b/assets/lang/ro_RO.ini @@ -795,9 +795,11 @@ Install = Instalează Install game from ZIP file? = Instalează joc din fișier ZIP? Install into folder = Install into folder Install plugin from ZIP file? = Instalare plugin din fișier ZIP? # AI translated +Install PSP firmware update? = Instalează actualizarea de firmware PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Instalat! +PSP firmware update = Actualizare firmware PSP # AI translated Supported games: = Jocuri suportate: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/ru_RU.ini b/assets/lang/ru_RU.ini index e74b1a47b5..f7509fb752 100644 --- a/assets/lang/ru_RU.ini +++ b/assets/lang/ru_RU.ini @@ -794,9 +794,11 @@ Install = Установить Install game from ZIP file? = Установить игру из файла ZIP? Install into folder = Установить в папку Install plugin from ZIP file? = Установить плагин из файла ZIP? +Install PSP firmware update? = Установить обновление прошивки PSP? # AI translated Install textures from ZIP file? = Установить текстуры из файла ZIP? Installation failed = Не удалось установить Installed! = Установлено! +PSP firmware update = Обновление прошивки PSP # AI translated Supported games: = Поддерживаемые игры: Texture pack doesn't support install = Набор текстур не поддерживает установку Zip archive corrupt = ZIP-архив повреждён diff --git a/assets/lang/sv_SE.ini b/assets/lang/sv_SE.ini index f12c84b1cb..b2c5861063 100644 --- a/assets/lang/sv_SE.ini +++ b/assets/lang/sv_SE.ini @@ -795,9 +795,11 @@ Install = Installera Install game from ZIP file? = Installera spel från ZIP-fil? Install into folder = Installera i mapp Install plugin from ZIP file? = Installera plugin från ZIP-fil? +Install PSP firmware update? = Installera PSP-firmwareuppdatering? # AI translated Install textures from ZIP file? = Installera texturer från ZIP-fil? Installation failed = Installation misslyckades Installed! = Installerad! +PSP firmware update = PSP-firmwareuppdatering # AI translated Supported games: = Stödda spel: Texture pack doesn't support install = Texturpaketet stöder ej installation Zip archive corrupt = ZIP-filen är korrupt diff --git a/assets/lang/th_TH.ini b/assets/lang/th_TH.ini index 76ad0c0d95..561f4de480 100644 --- a/assets/lang/th_TH.ini +++ b/assets/lang/th_TH.ini @@ -811,9 +811,11 @@ Install = ติดตั้ง Install game from ZIP file? = ต้องการติดตั้งเกมจากไฟล์ ZIP เลยหรือไม่? Install into folder = ติดตั้งไปยังโฟลเดอร์ Install plugin from ZIP file? = ต้องการติดตั้งปลั๊กอินจากไฟล์ ZIP เลยหรือไม่? +Install PSP firmware update? = ต้องการติดตั้งอัปเดตเฟิร์มแวร์ PSP หรือไม่? # AI translated Install textures from ZIP file? = ต้องการติดตั้งเท็คเจอร์จากไฟล์ ZIP เลยหรือไม่? Installation failed = การติดตั้งล้มเหลว Installed! = ติดตั้งเสร็จสิ้น! +PSP firmware update = อัปเดตเฟิร์มแวร์ PSP # AI translated Supported games: = เกมที่รองรับ: Texture pack doesn't support install = เท็คเจอร์แพ็คนี้ไม่รองรับการติดตั้ง Zip archive corrupt = ไฟล์ ZIP ไม่สมบูรณ์ (เสียจ้า) diff --git a/assets/lang/tr_TR.ini b/assets/lang/tr_TR.ini index 881de3d052..6cb7f0d098 100644 --- a/assets/lang/tr_TR.ini +++ b/assets/lang/tr_TR.ini @@ -796,9 +796,11 @@ Install = Kur Install game from ZIP file? = ZIP dosyasından oyun kurulsun mu? Install into folder = Klasöre kur Install plugin from ZIP file? = ZIP dosyasından eklenti yükle? # AI translated +Install PSP firmware update? = PSP yazılım güncellemesi kurulsun mu? # AI translated Install textures from ZIP file? = ZIP dosyasından dokular kurulsun mu? Installation failed = Kurulum başarısız Installed! = Kuruldu! +PSP firmware update = PSP yazılım güncellemesi # AI translated Supported games: = Desteklenen oyunlar: # AI translated Texture pack doesn't support install = Doku paketi kurulumu desteklemiyor Zip archive corrupt = ZIP arşivi bozuk diff --git a/assets/lang/uk_UA.ini b/assets/lang/uk_UA.ini index 34781f8637..54097e5f2e 100644 --- a/assets/lang/uk_UA.ini +++ b/assets/lang/uk_UA.ini @@ -794,9 +794,11 @@ Install = Встановити Install game from ZIP file? = Встановити гру з ZIP-файлу? Install into folder = Встановити в папку Install plugin from ZIP file? = Встановити плагін з ZIP-файлу? # AI translated +Install PSP firmware update? = Встановити оновлення прошивки PSP? # AI translated Install textures from ZIP file? = Встановити текстури з ZIP-файлу? Installation failed = Помилка встановлення Installed! = Встановлено! +PSP firmware update = Оновлення прошивки PSP # AI translated Supported games: = Підтримувані ігри: # AI translated Texture pack doesn't support install = Пакет текстур не підтримує встановлення Zip archive corrupt = ZIP-архів пошкоджено diff --git a/assets/lang/vi_VN.ini b/assets/lang/vi_VN.ini index ba392ae912..9b6699d2bb 100644 --- a/assets/lang/vi_VN.ini +++ b/assets/lang/vi_VN.ini @@ -794,9 +794,11 @@ Install = Cài đặt Install game from ZIP file? = Cài đặt trò chơi từ file ZIP? Install into folder = Install into folder Install plugin from ZIP file? = Cài đặt plugin từ tệp ZIP? # AI translated +Install PSP firmware update? = Cài đặt bản cập nhật firmware PSP? # AI translated Install textures from ZIP file? = Install textures from ZIP file? Installation failed = Installation failed Installed! = Đã cài xong! +PSP firmware update = Bản cập nhật firmware PSP # AI translated Supported games: = Trò chơi được hỗ trợ: # AI translated Texture pack doesn't support install = Texture pack doesn't support install Zip archive corrupt = ZIP archive corrupt diff --git a/assets/lang/zh_CN.ini b/assets/lang/zh_CN.ini index 4f066d0e60..cff7729899 100644 --- a/assets/lang/zh_CN.ini +++ b/assets/lang/zh_CN.ini @@ -794,9 +794,11 @@ Install = 安装 Install game from ZIP file? = 从ZIP文件安装游戏? Install into folder = 在文件夹中安装 Install plugin from ZIP file? = 从ZIP文件安装插件? +Install PSP firmware update? = 安装PSP固件更新? # AI translated Install textures from ZIP file? = 从ZIP文件安装纹理包? Installation failed = 安装失败! Installed! = 安装完成! +PSP firmware update = PSP固件更新 # AI translated Supported games: = 支持的游戏: Texture pack doesn't support install = 这个纹理包不支持安装使用 Zip archive corrupt = ZIP文档损坏 diff --git a/assets/lang/zh_TW.ini b/assets/lang/zh_TW.ini index e97e8c9e71..cbae1e1345 100644 --- a/assets/lang/zh_TW.ini +++ b/assets/lang/zh_TW.ini @@ -794,9 +794,11 @@ Install = 安裝 Install game from ZIP file? = 從 ZIP 檔案安裝遊戲? Install into folder = 在資料夾中安裝 Install plugin from ZIP file? = 從ZIP檔案安裝插件? # AI translated +Install PSP firmware update? = 安裝 PSP 韌體更新? # AI translated Install textures from ZIP file? = 從 ZIP 檔案安裝紋理? Installation failed = 安裝失敗 Installed! = 已安裝! +PSP firmware update = PSP 韌體更新 # AI translated Supported games: = 支援的遊戲: # AI translated Texture pack doesn't support install = 紋理套件不支援安裝 Zip archive corrupt = ZIP 封存損毀 From 65592effc58d8886a334144dd39220166432ff7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 24 Aug 2026 17:21:17 +0200 Subject: [PATCH 3/3] Block until game info is ready in LaunchFile When launching a file from outside the main screen (file association, shortcut, drag-and-drop), the info hasn't been computed yet, so the file type and ID checks that decide what to do with the file were reading empty data. Add GameInfo::WaitUntilReady() - a condition variable signalled from MarkReadyNoLock(), which every exit path of the work item goes through - and use it there. Also demote a noisy PRX decryption log line to DEBUG. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01EMLTdwyyzU6Mze3w8VC2JL --- Core/ELF/PrxDecrypter.cpp | 5 ++--- UI/GameInfoCache.h | 18 ++++++++++++++++++ UI/MainScreen.cpp | 7 +++++-- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/Core/ELF/PrxDecrypter.cpp b/Core/ELF/PrxDecrypter.cpp index dfb90034ac..2ae7b4633f 100644 --- a/Core/ELF/PrxDecrypter.cpp +++ b/Core/ELF/PrxDecrypter.cpp @@ -769,9 +769,8 @@ struct PRXType9 }; static_assert(sizeof(PRXType9) == 0x150, "inconsistent size of PRX Type 9"); -static int pspDecryptType0(KirkState *kirk, const u8 *inbuf, u8 *outbuf, u32 size) -{ - INFO_LOG(Log::Loader, "Decrypting tag %02X", (u32)*(u32_le *)&inbuf[0xD0]); +static int pspDecryptType0(KirkState *kirk, const u8 *inbuf, u8 *outbuf, u32 size) { + DEBUG_LOG(Log::Loader, "Decrypting tag %02X", (u32)*(u32_le *)&inbuf[0xD0]); const auto decryptSize = *(s32_le*)&inbuf[0xB0]; const auto pti = GetTagInfo((u32)*(u32_le *)&inbuf[0xD0]); diff --git a/UI/GameInfoCache.h b/UI/GameInfoCache.h index 51d9f7bf49..dae51138c8 100644 --- a/UI/GameInfoCache.h +++ b/UI/GameInfoCache.h @@ -22,6 +22,7 @@ #include #include #include +#include #include "Common/Thread/Event.h" #include "Core/ELF/ParamSFO.h" @@ -123,9 +124,23 @@ public: return ((int)hasFlags & (int)flags) == (int)flags; } + // Blocks the calling thread until the specified flags have been loaded. Note that you must + // have requested them through GetInfo first, otherwise nobody will ever compute them and + // this will simply hang. + // Only use this where there's really no way to wait asynchronously by polling Ready() every + // frame - loading can take a while, especially from slow or remote storage. + void WaitUntilReady(GameInfoFlags flags) { + std::unique_lock guard(lock); + readyCond.wait(guard, [this, flags]() { + // Avoid the operator, we want to check all the bits. + return ((int)hasFlags & (int)flags) == (int)flags; + }); + } + void MarkReadyNoLock(GameInfoFlags flags) { hasFlags |= flags; pendingFlags &= ~flags; + readyCond.notify_all(); } GameInfoTex *GetPIC1() { @@ -140,6 +155,9 @@ public: // to it. std::mutex lock; + // Signalled whenever flags are marked as ready, see WaitUntilReady. Goes with the lock above. + std::condition_variable readyCond; + // Controls access to the fileLoader pointer. std::mutex loaderLock; diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 550d33c7df..232c10cef4 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -70,8 +70,11 @@ static void LaunchFile(ScreenManager *screenManager, Screen *currentScreen, cons } else { // Check if we already know that this game isn't playable. // If coming from the main screen, the info will already be computed here since the icon is displayed etc. - // Otherwise, we probably technically should wait for it... - auto info = g_gameInfoCache->GetInfo(nullptr, path, GameInfoFlags::FILE_TYPE | GameInfoFlags::PARAM_SFO); + // Otherwise (launching from a file association, a shortcut, drag-and-drop...) we have to block until + // it's available - we can't decide what to do below without it. + const GameInfoFlags neededFlags = GameInfoFlags::FILE_TYPE | GameInfoFlags::PARAM_SFO; + std::shared_ptr info = g_gameInfoCache->GetInfo(nullptr, path, neededFlags); + info->WaitUntilReady(neededFlags); switch (info->fileType) { case IdentifiedFileType::PSP_UMD_VIDEO_ISO: