diff --git a/UWUVCI AIO WPF/Classes/ToolCheck.cs b/UWUVCI AIO WPF/Classes/ToolCheck.cs index cbb0cbe..9081edb 100644 --- a/UWUVCI AIO WPF/Classes/ToolCheck.cs +++ b/UWUVCI AIO WPF/Classes/ToolCheck.cs @@ -42,7 +42,7 @@ namespace UWUVCI_AIO_WPF.Classes "BASE.zip", "tga2png.exe", "iconTex.tga", - "wii-vnc.exe" + "wii-vmc.exe" }; public static bool DoesToolsFolderExist() diff --git a/UWUVCI AIO WPF/Models/MainViewModel.cs b/UWUVCI AIO WPF/Models/MainViewModel.cs index a0d2da1..4b8c78b 100644 --- a/UWUVCI AIO WPF/Models/MainViewModel.cs +++ b/UWUVCI AIO WPF/Models/MainViewModel.cs @@ -1586,5 +1586,41 @@ namespace UWUVCI_AIO_WPF return true; } + public string getInternalName(string OpenGame) + { + string ret = ""; + using (var reader = new BinaryReader(File.OpenRead(OpenGame))) + { + reader.BaseStream.Position = 0x00; + char TempChar; + //WBFS Check + if (new FileInfo(OpenGame).Extension.Contains("wbfs")) //Performs actions if the header indicates a WBFS file + { + + reader.BaseStream.Position = 0x200; + + reader.BaseStream.Position = 0x218; + + + reader.BaseStream.Position = 0x220; + while ((int)(TempChar = reader.ReadChar()) != 0) ret = ret + TempChar; + + } + else + { + + + + reader.BaseStream.Position = 0x18; + + reader.BaseStream.Position = 0x20; + while ((int)(TempChar = reader.ReadChar()) != 0) ret = ret + TempChar; + + + + } + } + return ret; + } } } diff --git a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml index 34640ff..74bc80f 100644 --- a/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml +++ b/UWUVCI AIO WPF/UI/Frames/InjectFrames/Configurations/OtherConfigs - Kopieren - Kopieren.xaml @@ -15,7 +15,7 @@ - +