[DatFile] More fixes and stuff

This commit is contained in:
Matt Nadareski
2017-06-12 17:28:20 -07:00
parent 9ae8cdf883
commit 529ae9cbfc

View File

@@ -197,12 +197,14 @@ namespace SabreTools.Library.Dats
Globals.ParallelOptions, Globals.ParallelOptions,
path => path =>
{ {
Globals.Logger.User("Comparing '" + path + "' to base DAT");
// First we parse in the DAT internally // First we parse in the DAT internally
DatFile intDat = new DatFile(); DatFile intDat = new DatFile();
intDat.Parse(path.Split('¬')[0], 1, 1, keep: true, clean: clean, remUnicode: remUnicode, descAsName: descAsName); intDat.Parse(path.Split('¬')[0], 1, 1, keep: true, clean: clean, remUnicode: remUnicode, descAsName: descAsName);
// For comparison's sake, we want to use CRC as the base ordering // For comparison's sake, we want to use CRC as the base ordering
BucketBy(SortedBy.CRC, true); intDat.BucketBy(SortedBy.CRC, true);
// Then we do a hashwise comparison against the base DAT // Then we do a hashwise comparison against the base DAT
List<string> keys = intDat.Keys.ToList(); List<string> keys = intDat.Keys.ToList();