mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SimpleSort, Stats] Make the output even nicer looking
This commit is contained in:
@@ -132,15 +132,23 @@ Please check the log folder if the stats scrolled offscreen");
|
||||
}
|
||||
|
||||
SortedDictionary<string, List<Rom>> 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("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user