Skip to content

Commit

Permalink
No printing w/ filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenkai committed Feb 12, 2024
1 parent 6e11987 commit 05da428
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions GBFRDataTools/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,14 @@ public static void ExtractAll(ExtractAllVerbs verbs)
{
try
{
Console.WriteLine($"[{i + 1}/{archive.ArchiveFilesHashTable.Count}] Extracting: {f.Key}");
i++;

if (checkFilter && !f.Key.Contains(verbs.Filter))
{
i++;
continue;
}

Console.WriteLine($"[{i + 1}/{archive.ArchiveFilesHashTable.Count}] Extracting: {f.Key}");
i++;

if (!verbs.Overwrite && File.Exists(Path.Combine(dir, "data", f.Key)))
{
Expand Down

0 comments on commit 05da428

Please sign in to comment.