public override void CreateFolderFile(string folder)
{
XDocument doc = new XDocument();
XElement root = new XElement("matDiffTex");
doc.Add(root);
root.Add(new XElement("unknown", this.Unknown));
root.Add(new XElement("textureMapIndex", this.TextureMapIndex));
root.Add(new XElement("unknown2", this.Unknown2));
string fileName = System.IO.Path.Combine(folder, "matDiffTex.xml");
using (FileStream stream = System.IO.File.Create(fileName))
{
doc.Save(stream);
}
}