diff --git a/PapyrusCs/Properties/launchSettings.json b/PapyrusCs/Properties/launchSettings.json index be8db2e..14d93e0 100644 --- a/PapyrusCs/Properties/launchSettings.json +++ b/PapyrusCs/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "PapyrusCs": { "commandName": "Project", - "commandLineArgs": "-w \"C:\\papyruscs\\world_bedrock_23062019\\db\" -o c:\\papyrus\\speedtest2 --threads 8 --dim 0 -f png", + "commandLineArgs": "-w \"C:\\papyruscs\\world_bedrock_23062019\\db\" -o c:\\papyrus\\speedtest2 --threads 8 --dim 1 -f png", "workingDirectory": "c:\\temp" } } diff --git a/PapyrusCs/Strategies/Dataflow/DataFlowStrategy.cs b/PapyrusCs/Strategies/Dataflow/DataFlowStrategy.cs index 1ca3423..66514a9 100644 --- a/PapyrusCs/Strategies/Dataflow/DataFlowStrategy.cs +++ b/PapyrusCs/Strategies/Dataflow/DataFlowStrategy.cs @@ -456,12 +456,12 @@ public void Finish() if (Directory.Exists(pathToMapUpdate)) { var filesToCopy = Directory.EnumerateFiles(pathToMapUpdate, "*." + FileFormat, SearchOption.AllDirectories); + Console.WriteLine($"Copying {filesToCopy.Count()} to {pathToMap}"); foreach (var f in filesToCopy) { var newPath = f.Replace(pathToMapUpdate, pathToMap); FileInfo fi = new FileInfo(newPath); fi.Directory?.Create(); - Console.WriteLine("Copying {0} to {1}", f, newPath); File.Copy(f, newPath, true); } }