[DatFile] Consolodate bucketing code; parallelize

This commit is contained in:
Matt Nadareski
2017-03-01 19:48:40 -08:00
parent 7fbdf87a42
commit aee20bfccf
7 changed files with 120 additions and 557 deletions

View File

@@ -322,7 +322,7 @@ namespace SabreTools.Helper.Dats
basepath = (basepath.EndsWith(Path.DirectorySeparatorChar.ToString()) ? basepath : basepath + Path.DirectorySeparatorChar);
// First, organize by games so that we can do the right thing
BucketByGame(false, true, logger, output: false, lower: false);
BucketBy(SortedBy.Game, false /* mergeroms */, logger, output: false, lower: false, norename: true);
// Create a temporary DAT to add things to
DatFile tempDat = new DatFile(this);