[Scummvm-cvs-logs] SF.net SVN: scummvm:[44123] scummvm/trunk/tools/create_kyradat/ create_kyradat.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Sep 17 01:02:35 CEST 2009


Revision: 44123
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44123&view=rev
Author:   lordhoto
Date:     2009-09-16 23:02:35 +0000 (Wed, 16 Sep 2009)

Log Message:
-----------
Make create_kyradat print out the filename, which is currently processed.

Modified Paths:
--------------
    scummvm/trunk/tools/create_kyradat/create_kyradat.cpp

Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-16 22:19:54 UTC (rev 44122)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-16 23:02:35 UTC (rev 44123)
@@ -1332,8 +1332,10 @@
 			continue;
 		}
 
+		printf("Processing file '%s'...\n", argv[i]);
+
 		if (!process(out, g, buffer, size))
-			fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+			fprintf(stderr, "ERROR: couldn't process file\n");
 
 		if (g->special == kFMTownsVersionE || g->special == k2TownsFile1E || g->special == k2TownsFile2E ||
 			g->special == k2CDFile1E || g->special == k2CDFile2E || g->special == k2CDDemoE) {
@@ -1341,14 +1343,14 @@
 			// The English and non language specific data has now been extracted.
 			// We switch to the second language and continue extraction.
 			if (!process(out, ++g, buffer, size))
-				fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+				fprintf(stderr, "ERROR: couldn't process file\n");
 		}
 
 		if (g->special == k2CDFile1F || g->special == k2CDFile2F || g->special == k2CDDemoF) {
 			// This is for executables which contain support for 3 languages.
 			// We switch to the third language and continue extraction.
 			if (!process(out, ++g, buffer, size))
-				fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+				fprintf(stderr, "ERROR: couldn't process file\n");
 		}
 
 		delete[] buffer;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list