[Scummvm-git-logs] scummvm master -> e58210765d1deae56ed11d1de15fb775b59142ee

antoniou79 noreply at scummvm.org
Sun Sep 14 15:31:43 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
e58210765d MTROPOLIS: List candidates for main segment files


Commit: e58210765d1deae56ed11d1de15fb775b59142ee
    https://github.com/scummvm/scummvm/commit/e58210765d1deae56ed11d1de15fb775b59142ee
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2025-09-14T18:31:30+03:00

Commit Message:
MTROPOLIS: List candidates for main segment files

Only when more than one main segment files is found

This can help clarify a situation when the engine fails to launch a game due to error "Found multiple main segment files"

Changed paths:
    engines/mtropolis/boot.cpp


diff --git a/engines/mtropolis/boot.cpp b/engines/mtropolis/boot.cpp
index 5979d4c8ec2..23a2c98db25 100644
--- a/engines/mtropolis/boot.cpp
+++ b/engines/mtropolis/boot.cpp
@@ -2696,8 +2696,12 @@ void findWindowsMainSegment(Common::Archive &fs, const BootScriptContext &bootSc
 	if (filteredFiles.size() == 0)
 		error("Couldn't find any main segment files");
 
-	if (filteredFiles.size() != 1)
+	if (filteredFiles.size() != 1) {
+		for (const Common::ArchiveMemberPtr &archiveMember : filteredFiles)
+			warning("Possible main segment file: '%s'", archiveMember->getPathInArchive().toString(fs.getPathSeparator()).c_str());
+
 		error("Found multiple main segment files");
+	}
 
 	resolvedPath = filteredFiles.front()->getPathInArchive();
 	resolvedIsV2 = !filteredFiles.front()->getFileName().hasSuffixIgnoreCase(".mpl");




More information about the Scummvm-git-logs mailing list