diff --git a/Wabbajack.Lib/ACompiler.cs b/Wabbajack.Lib/ACompiler.cs index 08b34c62..02cf854b 100644 --- a/Wabbajack.Lib/ACompiler.cs +++ b/Wabbajack.Lib/ACompiler.cs @@ -22,7 +22,7 @@ namespace Wabbajack.Lib public bool ReadmeIsWebsite; public string WabbajackVersion; - protected string _vfsCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache_{ModListName?.StringSHA256Hex() ?? "_Unknown_"}.bin"); + protected string VFSCacheName => Path.Combine(Consts.LocalAppDataPath, $"vfs_compile_cache_{ModListName?.StringSHA256Hex() ?? "_Unknown_"}.bin"); /// /// A stream of tuples of ("Update Title", 0.25) which represent the name of the current task /// and the current progress. diff --git a/Wabbajack.Lib/MO2Compiler.cs b/Wabbajack.Lib/MO2Compiler.cs index 36c1ee25..567e23c3 100644 --- a/Wabbajack.Lib/MO2Compiler.cs +++ b/Wabbajack.Lib/MO2Compiler.cs @@ -94,8 +94,10 @@ namespace Wabbajack.Lib Info("Using Profiles: " + string.Join(", ", SelectedProfiles.OrderBy(p => p))); + Utils.Log($"VFS File Location: {VFSCacheName}"); + if (cancel.IsCancellationRequested) return false; - await VFS.IntegrateFromFile(_vfsCacheName); + await VFS.IntegrateFromFile(VFSCacheName); var roots = new List() { @@ -115,7 +117,7 @@ namespace Wabbajack.Lib if (cancel.IsCancellationRequested) return false; await VFS.AddRoots(roots); - await VFS.WriteToFile(_vfsCacheName); + await VFS.WriteToFile(VFSCacheName); if (Directory.Exists(lootPath)) { diff --git a/Wabbajack.Lib/VortexCompiler.cs b/Wabbajack.Lib/VortexCompiler.cs index 92ba4fd0..7bfb3ce1 100644 --- a/Wabbajack.Lib/VortexCompiler.cs +++ b/Wabbajack.Lib/VortexCompiler.cs @@ -94,8 +94,10 @@ namespace Wabbajack.Lib UpdateTracker.NextStep("Creating metas for archives"); await CreateMetaFiles(); + Utils.Log($"VFS File Location: {VFSCacheName}"); + if (cancel.IsCancellationRequested) return false; - await VFS.IntegrateFromFile(_vfsCacheName); + await VFS.IntegrateFromFile(VFSCacheName); var roots = new List {StagingFolder, GamePath, DownloadsFolder}; AddExternalFolder(ref roots); @@ -103,7 +105,7 @@ namespace Wabbajack.Lib if (cancel.IsCancellationRequested) return false; UpdateTracker.NextStep("Indexing folders"); await VFS.AddRoots(roots); - await VFS.WriteToFile(_vfsCacheName); + await VFS.WriteToFile(VFSCacheName); if (cancel.IsCancellationRequested) return false; UpdateTracker.NextStep("Cleaning output folder");