1
0
mirror of synced 2025-02-20 20:51:35 +01:00

A few more adjustments for batching

This commit is contained in:
KillzXGaming 2019-06-28 21:20:02 -04:00
parent a18463db24
commit 6fbc1f81cf
4 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -169,6 +169,9 @@ namespace FirstPlugin
public void Unload()
{
foreach (var file in Files)
file.FileData = null;
Nodes.Clear();
}

View File

@ -144,7 +144,7 @@ namespace FirstPlugin
SearchBinary(archiveFile, Folder, Extension);
}
}
/* if (FileFormat is BNTX)
if (FileFormat is BNTX)
{
foreach (var texture in ((BNTX)FileFormat).Textures.Values)
texture.Export(Path.Combine(Folder, $"{FileFormat.FileName}_{texture.Text}{Extension}"));
@ -170,7 +170,7 @@ namespace FirstPlugin
bntx.Unload();
}
}*/
}
FileFormat.Unload();
GC.Collect();