1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Add compression extensions for batch operations

This commit is contained in:
KillzXGaming 2019-07-02 18:06:25 -04:00
parent b3dacf8dbd
commit aede3839dc
2 changed files with 21 additions and 0 deletions

Binary file not shown.

View File

@ -210,6 +210,27 @@ namespace Switch_Toolbox.Library
}
}
Filter += $"{"*.z"};";
Filter += $"{"*.cmp"};";
Filter += $"{"*.yaz0"};";
Filter += $"{"*.zstb"};";
Filter += $"{"*.lz4"};";
Filter += $"{"*.gz"};";
Filter += $"{"*.szs"};";
Filter += $"{"*.zs"};";
Filter += $"{"*.yaz0"};";
FilterEach.Add($"{"Compressed File"} ({"*.cmp"}) |{"*.cmp"}|");
FilterEach.Add($"{"Zlib Compressed"} ({"*.z"}) |{"*.z"}|");
FilterEach.Add($"{"Yaz0 Compressed"} ({"*.yaz0"}) |{"*.yaz0"}|");
FilterEach.Add($"{"Zstb Compressed"} ({"*.zstb"}) |{"*.zstb"}|");
FilterEach.Add($"{"Lz4 Compressed"} ({"*.lz4"}) |{"*.lz4"}|");
FilterEach.Add($"{"GZIP Compressed"} ({"*.gz"}) |{"*.gz"}|");
FilterEach.Add($"{"SZS ZSTD Compressed File"} ({"*.zs"}) |{"*.zs"}|");
FilterEach.Add($"{"SZS Yaz0 Compressed"} ({"*.szs"}) |{"*.szs"}|");
FilterEach.Add($"{"Yaz0 Compressed"} ({"*.yaz0"}) |{"*.yaz0"}|");
Filter += "|";
Filter += string.Join("", FilterEach.ToArray());
Filter += "All files(*.*)|*.*";