mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-25 16:32:55 +08:00
MRF progress
This commit is contained in:
parent
8f6ac6aad6
commit
adcb997808
File diff suppressed because it is too large
Load Diff
@ -4432,6 +4432,21 @@ namespace CodeWalker.GameFiles
|
|||||||
UpdateStatus(string.Format(entry.Path));
|
UpdateStatus(string.Format(entry.Path));
|
||||||
MrfFile mrffile = RpfMan.GetFile<MrfFile>(entry);
|
MrfFile mrffile = RpfMan.GetFile<MrfFile>(entry);
|
||||||
if (mrffile != null)
|
if (mrffile != null)
|
||||||
|
{
|
||||||
|
var odata = entry.File.ExtractFile(entry as RpfFileEntry);
|
||||||
|
var ndata = mrffile.Save();
|
||||||
|
if (ndata.Length == odata.Length)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < ndata.Length; i++)
|
||||||
|
{
|
||||||
|
if (ndata[i] != odata[i])
|
||||||
|
{ break; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
else
|
||||||
{ }
|
{ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user