diff --git a/Plugins/ChunkResExplorerPlugin/FrostyChunkResEditor.cs b/Plugins/ChunkResExplorerPlugin/FrostyChunkResEditor.cs
index 4ed57e609..1799b3991 100644
--- a/Plugins/ChunkResExplorerPlugin/FrostyChunkResEditor.cs
+++ b/Plugins/ChunkResExplorerPlugin/FrostyChunkResEditor.cs
@@ -109,6 +109,7 @@ public class FrostyChunkResEditor : FrostyBaseEditor
private const string PART_ResExportMenuItem = "PART_ResExportMenuItem";
private const string PART_ResImportMenuItem = "PART_ResImportMenuItem";
private const string PART_RevertMenuItem = "PART_RevertMenuItem";
+ private const string PART_LogIDMenuItem = "PART_LogIDMenuItem";
private const string PART_ChunkFilter = "PART_ChunkFilter";
private const string PART_ChunkModified = "PART_ChunkModified";
@@ -151,6 +152,9 @@ public override void OnApplyTemplate()
mi = GetTemplateChild(PART_RevertMenuItem) as MenuItem;
mi.Click += ResRevertMenuItem_Click;
+ mi = GetTemplateChild(PART_LogIDMenuItem) as MenuItem;
+ mi.Click += ResLogIDMenuItem_Click;
+
Loaded += FrostyChunkResEditor_Loaded;
chunksListBox.SelectionChanged += ChunksListBox_SelectionChanged;
chunkFilterTextBox.LostFocus += ChunkFilterTextBox_LostFocus;
@@ -343,6 +347,13 @@ private void ResExportMenuItem_Click(object sender, RoutedEventArgs e)
}
}
+ private void ResLogIDMenuItem_Click(object sender, RoutedEventArgs e)
+ {
+ ResAssetEntry selectedAsset = resExplorer.SelectedAsset as ResAssetEntry;
+
+ logger?.Log("Resource ID for {0}: {1}", selectedAsset.Filename, selectedAsset.ResRid.ToString("x").ToUpper());
+ }
+
public void ImportChunk()
{
ChunkAssetEntry selectedAsset = chunksListBox.SelectedItem as ChunkAssetEntry;
diff --git a/Plugins/ChunkResExplorerPlugin/Themes/Generic.xaml b/Plugins/ChunkResExplorerPlugin/Themes/Generic.xaml
index 56aef02c5..984bc8a4f 100644
--- a/Plugins/ChunkResExplorerPlugin/Themes/Generic.xaml
+++ b/Plugins/ChunkResExplorerPlugin/Themes/Generic.xaml
@@ -150,6 +150,11 @@
+