예제 #1
0
 public DbxFile(BinaryReader fCas, CatEntry cat, CasCat ct)
 {
     this.catHandle = ct;
     this.catEntry  = cat;
     this.InitializeMetaData(fCas);
     this.binaryReader = fCas;
 }
예제 #2
0
 public DbxFile(BinaryReader fCas, CatEntry cat, CasCat ct)
 {
     this.catHandle = ct;
     this.catEntry = cat;
     this.InitializeMetaData(fCas);
     this.binaryReader = fCas;
 }
예제 #3
0
 private void openCat()
 {
     this.treeView1.Nodes.Clear();
     this.propertyGrid1.SelectedObject = null;
     this.treeView1.BeginUpdate();
     this.cat = new CasCat(this.catPath, this);
     this.treeView1.Sort();
     this.treeView1.EndUpdate();
     this.Text = this.cat.modName + " - BF3 Gameplay File Tweaker";
 }
예제 #4
0
 public static void createVanillaCat(string path)
 {
     try
     {
         CasCat.createVanillaCatFromBackup(path);
     }
     catch
     {
         CasCat.createVanillaCatFromCas(path);
     }
 }
예제 #5
0
 private void restoreUpdatedCatToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CasCat.createVanillaCat(Settings.Default.PatchedCasDirectory);
 }
예제 #6
0
 private void openCat()
 {
     this.treeView1.Nodes.Clear();
     this.propertyGrid1.SelectedObject = null;
     this.treeView1.BeginUpdate();
     this.cat = new CasCat(this.catPath, this);
     this.treeView1.Sort();
     this.treeView1.EndUpdate();
     this.Text = this.cat.modName + " - BF3 Gameplay File Tweaker";
 }