From 58b161472ed97d055e96b1c1dc412ca2560378d6 Mon Sep 17 00:00:00 2001 From: Venomalia Date: Fri, 1 Jul 2022 00:26:59 +0200 Subject: [PATCH] minor --- TextureExtraction tool/Data/TextureExtractor.cs | 2 +- TextureExtraction tool/Program.cs | 2 +- TextureExtraction tool/Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TextureExtraction tool/Data/TextureExtractor.cs b/TextureExtraction tool/Data/TextureExtractor.cs index 0725363c..86e57384 100644 --- a/TextureExtraction tool/Data/TextureExtractor.cs +++ b/TextureExtraction tool/Data/TextureExtractor.cs @@ -55,7 +55,7 @@ public class Result { public TimeSpan TotalTime { get; internal set; } - public double ExtractionRate => Math.Round((double)100 / (ExtractedSize + SkippedSize) * ExtractedSize, 2); + public double ExtractionRate => Math.Round((double)100 / (ExtractedSize + SkippedSize) * ExtractedSize); public int Extracted => Hash.Count(); diff --git a/TextureExtraction tool/Program.cs b/TextureExtraction tool/Program.cs index 37fe5da2..abe0858b 100644 --- a/TextureExtraction tool/Program.cs +++ b/TextureExtraction tool/Program.cs @@ -227,7 +227,7 @@ private static void PrintHelp() static void PrintHeader() { Console.WriteLine("".PadLeft(64, '-')); - Console.WriteLine($"{System.Diagnostics.Process.GetCurrentProcess().ProcessName} v{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()} {DateTime.Now.ToString()}"); + Console.WriteLine($"{System.Diagnostics.Process.GetCurrentProcess().ProcessName} v{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version} {DateTime.Now.ToString()}"); Console.WriteLine("Supported formats: arc, szs, szp, cpk, bdl, bmd, tpl, bti"); Console.WriteLine("".PadLeft(64, '-')); Console.WriteLine("INFO: currently no ROM images are supported, Please unpack them with dolphin into a folder."); diff --git a/TextureExtraction tool/Properties/AssemblyInfo.cs b/TextureExtraction tool/Properties/AssemblyInfo.cs index 39851d58..393072b8 100644 --- a/TextureExtraction tool/Properties/AssemblyInfo.cs +++ b/TextureExtraction tool/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.0.0")] -[assembly: AssemblyFileVersion("0.3.0.0")] +[assembly: AssemblyVersion("0.4.0.0")] +[assembly: AssemblyFileVersion("0.4.0.0")]