mirror of
https://github.com/4sval/FModel.git
synced 2026-04-01 14:45:45 -05:00
Add support for new IoStore on-demand TOC format.
This commit is contained in:
parent
30b647aa81
commit
2b459a785b
|
|
@ -491,7 +491,7 @@ public class CUE4ParseViewModel : ViewModel
|
|||
var ioStoreOnDemandPath = Path.Combine(UserSettings.Default.GameDirectory, "..\\..\\..\\Cloud", inst[0].Value.SubstringAfterLast("/").SubstringBefore("\""));
|
||||
if (!File.Exists(ioStoreOnDemandPath)) return;
|
||||
|
||||
await Provider.RegisterVfsAsync(new IoChunkToc(ioStoreOnDemandPath));
|
||||
await Provider.RegisterVfsAsync(new IoChunkToc(ioStoreOnDemandPath, Provider.Versions));
|
||||
var onDemandCount = await Provider.MountAsync();
|
||||
FLogger.Append(ELog.Information, () =>
|
||||
FLogger.Text($"{onDemandCount} on-demand archive{(onDemandCount > 1 ? "s" : "")} streamed via epicgames.com", Constants.WHITE, true));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user