Convert cache_y.dat files to XML

This commit is contained in:
dexyfex
2017-12-14 21:49:41 +11:00
Unverified
parent fc99fc1f15
commit 14e1ce6ffd
5 changed files with 296 additions and 21 deletions
+8 -1
View File
@@ -223,7 +223,14 @@ namespace CodeWalker.Forms
RawPropertyGrid.SelectedObject = cut;
modified = false;
}
public void LoadMeta(CacheDatFile cachedat)
{
var fn = ((cachedat?.FileEntry?.Name) ?? "") + ".xml";
Xml = cachedat.GetXml();
FileName = fn;
RawPropertyGrid.SelectedObject = cachedat;
modified = false;
}