MRF progress

This commit is contained in:
dexy 2022-01-27 03:35:50 +11:00
parent 8f6ac6aad6
commit adcb997808
2 changed files with 750 additions and 1132 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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
{ } { }
} }
} }