From 4ecfe99201be43ec6f21704060c22d98c4743433 Mon Sep 17 00:00:00 2001 From: crueter Date: Mon, 1 Jun 2026 21:28:02 -0400 Subject: [PATCH] use zip name for atmosphere mods Signed-off-by: crueter --- src/qt_common/util/mod.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qt_common/util/mod.cpp b/src/qt_common/util/mod.cpp index 713e1123d3..c09b39cf82 100644 --- a/src/qt_common/util/mod.cpp +++ b/src/qt_common/util/mod.cpp @@ -33,7 +33,10 @@ QStringList GetModFolders(const QString& root, const QString& fallbackName) { std_path = paths[0]; QString default_name; - if (!paths.empty()) + + // If this is an atmosphere-packed mod, the default name will end up as the game's title ID. + // So in this case ignore it and use the zip name instead + if (!paths.empty() && std_path.string().find("atmosphere") == std::string::npos) default_name = QString::fromStdString(std_path.filename().string()); else if (!fallbackName.isEmpty()) default_name = fallbackName;