1
0
mirror of synced 2025-01-31 12:23:52 +01:00

Fix bffnt not batch extracting for bntx

This commit is contained in:
KillzXGaming 2019-07-02 21:16:54 -04:00
parent 5d6048f019
commit ab5e4d7562
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -120,7 +120,7 @@ namespace FirstPlugin
{ {
foreach (string file in ofd.FileNames) foreach (string file in ofd.FileNames)
{ {
var FileFormat = STFileLoader.OpenFileFormat(file, new Type[] { typeof(BNTX), typeof(BFRES), typeof(PTCL), typeof(SARC) }); var FileFormat = STFileLoader.OpenFileFormat(file, new Type[] { typeof(BNTX), typeof(BFFNT), typeof(BFRES), typeof(PTCL), typeof(SARC) });
if (FileFormat == null) if (FileFormat == null)
continue; continue;
@ -150,7 +150,7 @@ namespace FirstPlugin
foreach (var file in ((SARC)FileFormat).Files) foreach (var file in ((SARC)FileFormat).Files)
{ {
var archiveFile = STFileLoader.OpenFileFormat(file.FileName, new Type[] { typeof(BNTX), typeof(BFRES), typeof(PTCL), typeof(SARC) }, file.FileData); var archiveFile = STFileLoader.OpenFileFormat(file.FileName, new Type[] { typeof(BNTX), typeof(BFFNT), typeof(BFRES), typeof(PTCL), typeof(SARC) }, file.FileData);
if (archiveFile == null) if (archiveFile == null)
continue; continue;