diff --git a/Il2CppInspector.Common/IL2CPP/Metadata.cs b/Il2CppInspector.Common/IL2CPP/Metadata.cs index e6720d3..7ec3816 100644 --- a/Il2CppInspector.Common/IL2CPP/Metadata.cs +++ b/Il2CppInspector.Common/IL2CPP/Metadata.cs @@ -70,6 +70,8 @@ namespace Il2CppInspector var pluginResult = PluginHooks.PreProcessMetadata(this); IsModified = pluginResult.IsStreamModified; + StatusUpdate("Processing metadata"); + // Read metadata header Header = ReadObject(0); diff --git a/Il2CppInspector.GUI/App.xaml.cs b/Il2CppInspector.GUI/App.xaml.cs index 47b1da6..4b5c20e 100644 --- a/Il2CppInspector.GUI/App.xaml.cs +++ b/Il2CppInspector.GUI/App.xaml.cs @@ -84,7 +84,7 @@ namespace Il2CppInspectorGUI + Environment.NewLine + Environment.NewLine + "The application will continue but may not behave as expected.", "Plugin error"); }; - PluginManager.StatusHandler += (s, e) => StatusUpdate(e.Plugin, "Plugin " + e.Plugin.Name + ": " + e.Text); + PluginManager.StatusHandler += (s, e) => StatusUpdate(e.Plugin, "[" + e.Plugin.Name + "]\n" + e.Text); } public void ResetLoadOptions() { @@ -124,8 +124,6 @@ namespace Il2CppInspectorGUI public Task LoadMetadataAsync(MemoryStream metadataStream) => Task.Run(() => { try { - OnStatusUpdate?.Invoke(this, "Processing metadata"); - metadata = Metadata.FromStream(metadataStream, StatusUpdate); return true; } diff --git a/Il2CppInspector.GUI/MainWindow.xaml b/Il2CppInspector.GUI/MainWindow.xaml index 5999b6f..5a89e65 100644 --- a/Il2CppInspector.GUI/MainWindow.xaml +++ b/Il2CppInspector.GUI/MainWindow.xaml @@ -470,7 +470,7 @@ - Getting things ready... + Getting things ready...