Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NBTExplorer/Windows/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void OpenFile ()
using (OpenFileDialog ofd = new OpenFileDialog() {
RestoreDirectory = true,
Multiselect = true,
Filter = "All Files|*|NBT Files (*.dat, *.schematic)|*.dat;*.nbt;*.schematic|Region Files (*.mca, *.mcr)|*.mca;*.mcr",
Filter = "All Files|*|NBT Files (*.dat, *.schematic)|*.dat;*.nbt;*.schematic;*.schem|Region Files (*.mca, *.mcr)|*.mca;*.mcr",
FilterIndex = 0,
}) {
if (ofd.ShowDialog() == DialogResult.OK) {
Expand Down
2 changes: 1 addition & 1 deletion NBTModel/Data/Nodes/NbtFileDataNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class NbtFileDataNode : DataNode, IMetaTagContainer

private CompoundTagContainer _container;

private static Regex _namePattern = new Regex(@"\.(dat|nbt|schematic|dat_mcr|dat_old|bpt|rc)$");
private static Regex _namePattern = new Regex(@"\.(dat|nbt|schem(atic)?|dat_mcr|dat_old|bpt|rc)$");

private NbtFileDataNode (string path, CompressionType compressionType)
{
Expand Down