diff --git a/FModel/FModel.csproj b/FModel/FModel.csproj
index 38aa6f91..be042452 100644
--- a/FModel/FModel.csproj
+++ b/FModel/FModel.csproj
@@ -152,7 +152,7 @@
-
+
diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs
index 18ebeb30..23c1c7a3 100644
--- a/FModel/ViewModels/CUE4ParseViewModel.cs
+++ b/FModel/ViewModels/CUE4ParseViewModel.cs
@@ -216,26 +216,26 @@ await _threadWorkerView.Begin(cancellationToken =>
ChunkCacheDirectory = cacheDir,
ManifestCacheDirectory = cacheDir,
ChunkBaseUrl = "http://epicgames-download1.akamaized.net/Builds/Fortnite/CloudDir/",
- Zlibng = ZlibHelper.Instance
+ Zlibng = ZlibHelper.Instance,
+ CacheChunksAsIs = false
};
var startTs = Stopwatch.GetTimestamp();
var (manifest, _) = manifestInfo.DownloadAndParseAsync(manifestOptions,
cancellationToken: cancellationToken).GetAwaiter().GetResult();
var parseTime = Stopwatch.GetElapsedTime(startTs);
- const bool cacheChunksAsIs = false;
foreach (var fileManifest in manifest.FileManifestList)
{
if (fileManifest.FileName.Equals("Cloud/IoStoreOnDemand.ini", StringComparison.OrdinalIgnoreCase))
{
- IoStoreOnDemand.Read(new StreamReader(fileManifest.GetStream(cacheChunksAsIs)));
+ IoStoreOnDemand.Read(new StreamReader(fileManifest.GetStream()));
continue;
}
if (!_fnLive.IsMatch(fileManifest.FileName)) continue;
- p.RegisterVfs(fileManifest.FileName, [fileManifest.GetStream(cacheChunksAsIs)]
- , it => new FStreamArchive(it, manifest.FileManifestList.First(x => x.FileName.Equals(it)).GetStream(cacheChunksAsIs), p.Versions));
+ p.RegisterVfs(fileManifest.FileName, [fileManifest.GetStream()]
+ , it => new FStreamArchive(it, manifest.FileManifestList.First(x => x.FileName.Equals(it)).GetStream(), p.Versions));
}
FLogger.Append(ELog.Information, () =>