diff --git a/SabreTools.Helper/Tools/Stats.cs b/SabreTools.Helper/Tools/Stats.cs index 9212b115..53ec38c8 100644 --- a/SabreTools.Helper/Tools/Stats.cs +++ b/SabreTools.Helper/Tools/Stats.cs @@ -132,15 +132,23 @@ Please check the log folder if the stats scrolled offscreen"); } SortedDictionary> newroms = DatTools.BucketByGame(datdata.Roms, false, true, logger, false); - logger.User(@" Uncompressed size: " + Style.GetBytesReadable(datdata.TotalSize) + @" - Games found: " + (game == -1 ? newroms.Count : game) + @" - Roms found: " + datdata.RomCount + @" - Disks found: " + datdata.DiskCount + @" - Roms with CRC: " + datdata.CRCCount + @" - Roms with MD5: " + datdata.MD5Count + @" - Roms with SHA-1: " + datdata.SHA1Count + @" - Roms with Nodump status: " + datdata.NodumpCount + @" -"); + string line = " Uncompressed size: " + Style.GetBytesReadable(datdata.TotalSize); + logger.User(line.PadRight(79, ' ')); + line = " Games found: " + (game == -1 ? newroms.Count : game); + logger.User(line.PadRight(79, ' ')); + line = " Roms found: " + datdata.RomCount; + logger.User(line.PadRight(79, ' ')); + line = " Disks found: " + datdata.DiskCount; + logger.User(line.PadRight(79, ' ')); + line = " Roms with CRC: " + datdata.CRCCount; + logger.User(line.PadRight(79, ' ')); + line = " Roms with MD5: " + datdata.MD5Count; + logger.User(line.PadRight(79, ' ')); + line = " Roms with SHA-1: " + datdata.SHA1Count; + logger.User(line.PadRight(79, ' ')); + line = " Roms with Nodump status: " + datdata.NodumpCount; + logger.User(line.PadRight(79, ' ')); + logger.User(""); } } } diff --git a/SimpleSort/SimpleSort.cs b/SimpleSort/SimpleSort.cs index 3c97a0f1..605aa5ae 100644 --- a/SimpleSort/SimpleSort.cs +++ b/SimpleSort/SimpleSort.cs @@ -306,7 +306,7 @@ namespace SabreTools } // Then, loop through and check each of the inputs - _logger.User("Starting to loop through inputs\n"); + _logger.User("Processing files:\n"); for (int i = 0; i < files.Count; i++) { success &= RebuildToOutputHelper(files[i], i, files.Count); @@ -327,7 +327,8 @@ namespace SabreTools } // Now output the stats for the DAT (remaining) - _logger.User("\nStats of the remaining ROMs:"); + Console.SetCursorPosition(0, Console.CursorTop - 2); + _logger.User("Stats of the unmatched ROMs:".PadRight(79, ' ')); Stats.OutputStats(_datdata, _logger, true); return success; @@ -346,7 +347,7 @@ namespace SabreTools bool success = true; // Get the full path of the input for movement purposes - string statement = "\r" + (100 * index / total) + "% - Processing '" + input + "'"; + string statement = "\r" + (100 * index / total) + "% - " + input; _logger.LogExact(statement.PadRight(79, ' ')); // Get if the file should be scanned internally and externally