mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
fixed #165
This commit is contained in:
parent
af48c4393a
commit
7199bd3eba
|
|
@ -201,7 +201,7 @@ namespace FModel.Grabber.Paks
|
|||
var utoc = paks[i].Replace(".ucas", ".utoc");
|
||||
if (!Utils.Paks.IsFileReadLocked(new FileInfo(utoc)))
|
||||
{
|
||||
var utocStream = new MemoryStream(await File.ReadAllBytesAsync(utoc));
|
||||
var utocStream = File.OpenRead(utoc);
|
||||
var ucasStream = File.OpenRead(paks[i]);
|
||||
var ioStore = new FFileIoStoreReader(paks[i].SubstringAfterLast('\\'), paks[i].SubstringBeforeLast('\\'), utocStream, ucasStream);
|
||||
DebugHelper.WriteLine("{0} {1} {2} {3}", "[FModel]", "[IO Store]", "[Registering]", $"{ioStore.FileName} with GUID {ioStore.TocResource.Header.EncryptionKeyGuid.Hex}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user