mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] More fixes and stuff
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user