public void Write(BBDLWriter w) { w.Write(size); w.Write(checksum); w.Seek(0x8, SeekOrigin.Current); }
public void Write(BBDLWriter w) { w.Write(index); w.Write(offset); w.Write(ver_file_size); w.Write(ver_file_count); w.Write(path.PadRight(0x20, '\0').ToCharArray()); }
public void Write(BBDLWriter w) { w.Write(size); w.Write(checksum); w.Seek(0x8, SeekOrigin.Current); w.Write(path.PadRight(0x80, '\0').ToCharArray()); }
public void Write(BBDLWriter w) { header.Write(w); catalog.Write(w); foreach (var v in versions) { v.Write(w); } foreach (var fl in file_listings) { fl.Write(w); } }
public void Write(BBDLWriter w) { w.Write(type.ToCharArray()); w.Write(unk0); w.Seek(0x04, SeekOrigin.Current); w.Write(version_count); w.Write(unk1); w.Write(rounded_size); w.Write(total_file_count); w.Write(total_file_size); w.Write(unk2); w.Write(checksum); w.Seek(0x08, SeekOrigin.Current); }
public static void WriteBBDL(string path, BBDLFile bbdl) { using (var stream = new FileStream(path, FileMode.Create, FileAccess.Write, FileShare.None)) using (var writer = new BBDLWriter(stream)) bbdl.Write(writer); }