diff --git a/ANX.Framework.sln b/ANX.Framework.sln
index cc889159..4222bc4b 100644
--- a/ANX.Framework.sln
+++ b/ANX.Framework.sln
@@ -177,11 +177,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContentBuilder", "Tools\Con
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnxSampleBrowser", "Tools\AnxSampleBrowser\AnxSampleBrowser.csproj", "{938D5F88-B888-4B04-BEEE-EE701FBA51EF}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XNBInspector", "Tools\XNBInspector\XNBInspector.csproj", "{14B39F89-C9B0-407E-877A-B515C985E96E}"
+EndProject
Global
- GlobalSection(SubversionScc) = preSolution
- Svn-Managed = True
- Manager = AnkhSVN - Subversion Support for Visual Studio
- EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
@@ -669,6 +667,16 @@ Global
{938D5F88-B888-4B04-BEEE-EE701FBA51EF}.Release|Mixed Platforms.Build.0 = Release|x86
{938D5F88-B888-4B04-BEEE-EE701FBA51EF}.Release|x86.ActiveCfg = Release|x86
{938D5F88-B888-4B04-BEEE-EE701FBA51EF}.Release|x86.Build.0 = Release|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Debug|x86.ActiveCfg = Debug|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Debug|x86.Build.0 = Debug|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Release|Any CPU.ActiveCfg = Release|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Release|Mixed Platforms.Build.0 = Release|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Release|x86.ActiveCfg = Release|x86
+ {14B39F89-C9B0-407E-877A-B515C985E96E}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -682,6 +690,7 @@ Global
{47B802CC-069D-431E-BF15-E574EDD3BA5D} = {B24A8593-562A-4A25-BB08-46C163F10F3F}
{10F7894D-E8B5-4DCA-BB08-5C99FA792388} = {B24A8593-562A-4A25-BB08-46C163F10F3F}
{938D5F88-B888-4B04-BEEE-EE701FBA51EF} = {B24A8593-562A-4A25-BB08-46C163F10F3F}
+ {14B39F89-C9B0-407E-877A-B515C985E96E} = {B24A8593-562A-4A25-BB08-46C163F10F3F}
{5BE49183-2F6F-4527-AC90-D816911FCF90} = {D421509A-9AE3-4D7E-881B-EAFED598B028}
{EB8258E0-6741-4DB9-B756-1EBDF67B1ED6} = {D421509A-9AE3-4D7E-881B-EAFED598B028}
{B30DE9C2-0926-46B6-8351-9AF276C472D5} = {D421509A-9AE3-4D7E-881B-EAFED598B028}
@@ -722,4 +731,8 @@ Global
{2B6D0EFF-7874-495F-9226-873ED9649C60} = {1436F7C9-29D3-4FEF-8914-10B45F13D142}
{2CF3FE4D-586E-4B07-8BF0-1E84B670F0AD} = {1436F7C9-29D3-4FEF-8914-10B45F13D142}
EndGlobalSection
+ GlobalSection(SubversionScc) = preSolution
+ Svn-Managed = True
+ Manager = AnkhSVN - Subversion Support for Visual Studio
+ EndGlobalSection
EndGlobal
diff --git a/ANX.Framework/Properties/AssemblyInfo.cs b/ANX.Framework/Properties/AssemblyInfo.cs
index 77b9c356..b7b0bc1b 100644
--- a/ANX.Framework/Properties/AssemblyInfo.cs
+++ b/ANX.Framework/Properties/AssemblyInfo.cs
@@ -46,4 +46,5 @@ using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("ANX.PlatformSystem.Windows")]
[assembly: InternalsVisibleTo("ANX.PlatformSystem.Linux")]
[assembly: InternalsVisibleTo("ANX.PlatformSystem.Metro")]
-[assembly: InternalsVisibleTo("ANX.PlatformSystem.PsVita")]
\ No newline at end of file
+[assembly: InternalsVisibleTo("ANX.PlatformSystem.PsVita")]
+[assembly: InternalsVisibleTo("ANX.Tools.XNBInspector")]
\ No newline at end of file
diff --git a/Tools/XNBInspector/InspectForm.Designer.cs b/Tools/XNBInspector/InspectForm.Designer.cs
new file mode 100644
index 00000000..2b339f78
--- /dev/null
+++ b/Tools/XNBInspector/InspectForm.Designer.cs
@@ -0,0 +1,134 @@
+namespace ANX.Tools.XNBInspector
+{
+ partial class InspectForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.menuStrip1 = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
+ this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+ this.menuStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // statusStrip1
+ //
+ this.statusStrip1.Location = new System.Drawing.Point(0, 340);
+ this.statusStrip1.Name = "statusStrip1";
+ this.statusStrip1.Size = new System.Drawing.Size(784, 22);
+ this.statusStrip1.TabIndex = 0;
+ this.statusStrip1.Text = "statusStrip1";
+ //
+ // menuStrip1
+ //
+ this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem});
+ this.menuStrip1.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip1.Name = "menuStrip1";
+ this.menuStrip1.Size = new System.Drawing.Size(784, 24);
+ this.menuStrip1.TabIndex = 1;
+ this.menuStrip1.Text = "menuStrip1";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.openToolStripMenuItem,
+ this.exitToolStripMenuItem});
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fileToolStripMenuItem.Text = "File";
+ //
+ // openToolStripMenuItem
+ //
+ this.openToolStripMenuItem.Name = "openToolStripMenuItem";
+ this.openToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
+ this.openToolStripMenuItem.Text = "Open";
+ this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
+ //
+ // exitToolStripMenuItem
+ //
+ this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
+ this.exitToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
+ this.exitToolStripMenuItem.Text = "Exit";
+ this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
+ //
+ // openFileDialog
+ //
+ this.openFileDialog.DefaultExt = "xnb";
+ this.openFileDialog.Filter = "XNB files |*.xnb";
+ this.openFileDialog.Title = "Choose XNB File";
+ //
+ // richTextBox1
+ //
+ this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.richTextBox1.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.richTextBox1.Location = new System.Drawing.Point(0, 24);
+ this.richTextBox1.Name = "richTextBox1";
+ this.richTextBox1.ReadOnly = true;
+ this.richTextBox1.Size = new System.Drawing.Size(784, 316);
+ this.richTextBox1.TabIndex = 2;
+ this.richTextBox1.Text = "";
+ this.richTextBox1.WordWrap = false;
+ //
+ // InspectForm
+ //
+ this.AllowDrop = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScroll = true;
+ this.ClientSize = new System.Drawing.Size(784, 362);
+ this.Controls.Add(this.richTextBox1);
+ this.Controls.Add(this.statusStrip1);
+ this.Controls.Add(this.menuStrip1);
+ this.MainMenuStrip = this.menuStrip1;
+ this.Name = "InspectForm";
+ this.Text = "XNB Inspector";
+ this.DragDrop += new System.Windows.Forms.DragEventHandler(this.dropArea_DragDrop);
+ this.DragEnter += new System.Windows.Forms.DragEventHandler(this.dropArea_DragEnter);
+ this.menuStrip1.ResumeLayout(false);
+ this.menuStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.StatusStrip statusStrip1;
+ private System.Windows.Forms.MenuStrip menuStrip1;
+ private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
+ private System.Windows.Forms.OpenFileDialog openFileDialog;
+ private System.Windows.Forms.RichTextBox richTextBox1;
+ }
+}
+
diff --git a/Tools/XNBInspector/InspectForm.cs b/Tools/XNBInspector/InspectForm.cs
new file mode 100644
index 00000000..92bfafbc
--- /dev/null
+++ b/Tools/XNBInspector/InspectForm.cs
@@ -0,0 +1,74 @@
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace ANX.Tools.XNBInspector
+{
+ public partial class InspectForm : Form
+ {
+ StringBuilder result = new StringBuilder();
+
+ public InspectForm()
+ {
+ InitializeComponent();
+ }
+
+ private void openToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ InspectFile(openFileDialog.FileName);
+ }
+ }
+
+ private void InspectFile(string filePath)
+ {
+ result.Clear();
+
+ using (Stream input = File.OpenRead(filePath))
+ {
+ richTextBox1.Text = InspectReader.TryInspectXNB(input);
+ }
+ }
+
+ private void exitToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void dropArea_DragEnter(object sender, DragEventArgs e)
+ {
+ if (e.Data.GetDataPresent(DataFormats.FileDrop))
+ {
+ e.Effect = DragDropEffects.Copy;
+ }
+ else
+ {
+ e.Effect = DragDropEffects.None;
+ }
+ }
+
+ private void dropArea_DragDrop(object sender, DragEventArgs e)
+ {
+ if (e.Data.GetDataPresent(DataFormats.FileDrop))
+ {
+ string[] filePaths = (string[])(e.Data.GetData(DataFormats.FileDrop));
+ foreach (string fileLoc in filePaths)
+ {
+ if (System.IO.File.Exists(fileLoc))
+ {
+ InspectFile(fileLoc);
+ return;
+ }
+ }
+ }
+ }
+
+ }
+}
diff --git a/Tools/XNBInspector/InspectForm.resx b/Tools/XNBInspector/InspectForm.resx
new file mode 100644
index 00000000..9722ffb9
--- /dev/null
+++ b/Tools/XNBInspector/InspectForm.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 133, 17
+
+
+ 248, 17
+
+
\ No newline at end of file
diff --git a/Tools/XNBInspector/InspectReader.cs b/Tools/XNBInspector/InspectReader.cs
new file mode 100644
index 00000000..0f494ca2
--- /dev/null
+++ b/Tools/XNBInspector/InspectReader.cs
@@ -0,0 +1,177 @@
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ANX.Tools.XNBInspector
+{
+ public class InspectReader : BinaryReader
+ {
+ private InspectReader(Stream input)
+ : base(input)
+ {
+ }
+
+ public static string TryInspectXNB(Stream input)
+ {
+ StringBuilder result = new StringBuilder();
+ try
+ {
+ InspectXNB(input, result);
+ }
+ catch (Exception e)
+ {
+ result.AppendLine();
+ result.AppendLine(e.Message);
+ result.AppendLine(e.StackTrace);
+ }
+ return result.ToString();
+ }
+
+ public static void InspectXNB(Stream input, StringBuilder result)
+ {
+ // read the XNB file information
+ //
+ // | Type | Description | example/value
+ // |--------|----------------------|--------------------------------
+ // | Byte | Format identifier | X (88)
+ // |--------|----------------------|--------------------------------
+ // | Byte | Format identifier | N (78)
+ // |--------|----------------------|--------------------------------
+ // | Byte | Format identifier | B (66)
+ // |--------|----------------------|--------------------------------
+ // | Byte | Target platform | w = Microsoft Windows
+ // | | | m = Windows Phone 7
+ // | | | x = Xbox 360
+ // |--------|----------------------|--------------------------------
+ // | Byte | XNB format version | 5 = XNA Game Studio 4.0
+ // |--------|----------------------|--------------------------------
+ // | Byte | Flag bits | Bit 0x01 = content is for HiDef profile (otherwise Reach)
+ // | | | Bit 0x80 = asset data is compressed
+ // |--------|----------------------|--------------------------------
+ // | UInt32 | Compressed file size | Total size of the (optionally compressed)
+ // | | | .xnb file as stored on disk (including this header block)
+
+ InspectReader reader = new InspectReader(input);
+
+ byte magicX = reader.ReadByte(); // X
+ byte magicN = reader.ReadByte(); // N
+ byte magicB = reader.ReadByte(); // B
+
+ result.AppendFormat("Format identifier: {0}\n", (char)magicX);
+ result.AppendFormat("Format identifier: {0}\n", (char)magicN);
+ result.AppendFormat("Format identifier: {0}\n", (char)magicB);
+
+ byte targetPlattform = reader.ReadByte();
+ // w = Microsoft Windows
+ // m = Windows Phone 7
+ // x = Xbox 360
+ result.AppendFormat("Target platform : {0} ", (char)targetPlattform);
+ switch ((char)targetPlattform)
+ {
+ case 'w':
+ result.Append("(Microsoft Windows)");
+ break;
+ case 'm':
+ result.Append("(Windows Phone 7)");
+ break;
+ case 'x':
+ result.Append("(Xbox 360)");
+ break;
+ default:
+ result.Append("(Unknown)");
+ break;
+ }
+ result.AppendLine();
+
+ byte formatVersion = reader.ReadByte();
+ // 5 = XNA Game Studio 4.0
+ result.AppendFormat("Format version : {0} ", formatVersion);
+ switch (formatVersion)
+ {
+ case 5:
+ result.Append("(XNA Game Studio 4.0)");
+ break;
+ default:
+ result.Append("(Unknown)");
+ break;
+ }
+ result.AppendLine();
+
+ byte flags = reader.ReadByte();
+ result.AppendFormat("Flags : 0x{0:X4}\n", flags);
+ if ((flags & 0x01) == 0x01)
+ {
+ // HiDef Profile
+ result.AppendLine(" - HiDef Profile");
+ }
+ else
+ {
+ // Reach Profile
+ result.AppendLine(" - Reach Profile");
+ }
+
+ bool isCompressed = (flags & 0x80) != 0;
+ result.AppendFormat(" - Compressed {0}", isCompressed);
+ result.AppendLine();
+
+ int sizeOnDisk = reader.ReadInt32();
+ result.AppendFormat("Size on disk : {0,10} ({1,10} bytes)", ToHumanSize(sizeOnDisk), sizeOnDisk);
+ result.AppendLine();
+
+ long position = reader.BaseStream.Position;
+ int sizeOfdata = reader.ReadInt32();
+ reader.BaseStream.Seek(position, SeekOrigin.Begin);
+
+ result.AppendFormat("Uncompressed : {0,10} ({1,10} bytes)", ToHumanSize(sizeOfdata), sizeOfdata);
+ result.AppendLine();
+
+ if (isCompressed)
+ {
+ input = ANX.Framework.Content.Decompressor.DecompressStream(reader, input, sizeOnDisk);
+ reader = new InspectReader(input);
+ }
+
+ int numTypes = reader.Read7BitEncodedInt();
+ result.AppendFormat("Type readers : {0}", numTypes);
+ result.AppendLine();
+
+ for (int i = 0; i < numTypes; i++)
+ {
+ string readerTypeName = reader.ReadString();
+ int readerVersionNumber = reader.ReadInt32();
+ result.AppendFormat(" - Version: {1} Type: {2}", i, readerVersionNumber, readerTypeName);
+ result.AppendLine();
+ }
+
+ int numSharedResources = reader.Read7BitEncodedInt();
+ result.AppendFormat("Shared resources : {0}", numSharedResources);
+ result.AppendLine();
+ }
+
+ private static string ToHumanSize(long bytes)
+ {
+ double s = bytes;
+ string[] format = new string[]
+ {
+ "{0:0.00} bytes",
+ "{0:0.00} KB",
+ "{0:0.00} MB",
+ "{0:0.00} GB",
+ "{0:0.00} TB",
+ "{0:0.00} PB",
+ "{0:0.00} EB"
+ };
+
+ int i = 0;
+
+ while (i < format.Length && s >= 1024)
+ {
+ s = (long)(100 * s / 1024.0) / 100.0;
+ i++;
+ }
+ return string.Format(format[i], s);
+ }
+ }
+}
diff --git a/Tools/XNBInspector/Program.cs b/Tools/XNBInspector/Program.cs
new file mode 100644
index 00000000..757378ce
--- /dev/null
+++ b/Tools/XNBInspector/Program.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace ANX.Tools.XNBInspector
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new InspectForm());
+ }
+ }
+}
diff --git a/Tools/XNBInspector/Properties/AssemblyInfo.cs b/Tools/XNBInspector/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000..db9698cb
--- /dev/null
+++ b/Tools/XNBInspector/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("XNBInspector")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("XNBInspector")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("3f2de2af-7033-4117-aa64-69623b374b73")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Tools/XNBInspector/Properties/Resources.Designer.cs b/Tools/XNBInspector/Properties/Resources.Designer.cs
new file mode 100644
index 00000000..1eb51e98
--- /dev/null
+++ b/Tools/XNBInspector/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.269
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ANX.Tools.XNBInspector.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ANX.Tools.XNBInspector.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Tools/XNBInspector/Properties/Resources.resx b/Tools/XNBInspector/Properties/Resources.resx
new file mode 100644
index 00000000..ffecec85
--- /dev/null
+++ b/Tools/XNBInspector/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Tools/XNBInspector/Properties/Settings.Designer.cs b/Tools/XNBInspector/Properties/Settings.Designer.cs
new file mode 100644
index 00000000..e20e28d9
--- /dev/null
+++ b/Tools/XNBInspector/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.269
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace ANX.Tools.XNBInspector.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/Tools/XNBInspector/Properties/Settings.settings b/Tools/XNBInspector/Properties/Settings.settings
new file mode 100644
index 00000000..abf36c5d
--- /dev/null
+++ b/Tools/XNBInspector/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Tools/XNBInspector/XNBInspector.csproj b/Tools/XNBInspector/XNBInspector.csproj
new file mode 100644
index 00000000..9d93ae98
--- /dev/null
+++ b/Tools/XNBInspector/XNBInspector.csproj
@@ -0,0 +1,95 @@
+
+
+
+ Debug
+ x86
+ 8.0.30703
+ 2.0
+ {14B39F89-C9B0-407E-877A-B515C985E96E}
+ WinExe
+ Properties
+ ANX.Tools.XNBInspector
+ ANX.Tools.XNBInspector
+ v4.0
+ Client
+ 512
+
+
+ x86
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ x86
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ InspectForm.cs
+
+
+
+
+
+ InspectForm.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+ True
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ {6899F0C9-70B9-4EB0-9DD3-E598D4BE3E35}
+ ANX.Framework
+
+
+
+
+
\ No newline at end of file