diff --git a/.gitmodules b/.gitmodules
index ded44002..39456fd0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "OMI-Lib"]
path = Vendor/OMI-Lib
url = https://github.com/PhoenixARC/-OMI-Filetype-Library.git
+[submodule "Vendor/SharpMss32"]
+ path = Vendor/SharpMss32
+ url = https://github.com/NessieHax/SharpMss32.git
diff --git a/PCK-Studio/Classes/FileTypes/Binka.cs b/PCK-Studio/Classes/FileTypes/Binka.cs
index 67e731dc..26776e15 100644
--- a/PCK-Studio/Classes/FileTypes/Binka.cs
+++ b/PCK-Studio/Classes/FileTypes/Binka.cs
@@ -2,43 +2,22 @@
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
+using System.Web.Caching;
+using PckStudio.Classes.Misc;
+using SharpMSS;
namespace PckStudio.Classes
{
internal static class Binka
{
- private class LibHandle
- {
- [DllImport("kernel32.dll")]
- public static extern IntPtr LoadLibrary(string lpFileName);
-
- [DllImport("kernel32.dll")]
- public static extern int FreeLibrary(IntPtr library);
-
- private IntPtr libHandle;
-
- public IntPtr Handle => libHandle;
-
- public LibHandle(string libraryPath)
- {
- libHandle = LoadLibrary(libraryPath);
- }
-
- ~LibHandle()
- {
- FreeLibrary(libHandle);
- }
- }
-
- private static string dataCache = Program.AppDataCache;
-
- public static uint LastAILErrorCode = 0xffffffff;
+ private static FileCacher cacher = new FileCacher(Program.AppDataCache);
public static int FromWav(string inputFilepath, string outputFilepath, int compressionLevel)
{
- var process = Process.Start(new ProcessStartInfo
+ cacher.Cache(Properties.Resources.binka_encode, "binka_encode.exe");
+ var process = Process.Start(new ProcessStartInfo
{
- FileName = GetAndCacheResource("binka_encode.exe"),
+ FileName = cacher.GetCachedFilepath("binka_encode.exe"),
Arguments = $"\"{inputFilepath}\" \"{outputFilepath}\" -s -b{compressionLevel}",
UseShellExecute = true,
CreateNoWindow = true,
@@ -48,94 +27,45 @@ namespace PckStudio.Classes
return process.ExitCode;
}
- public static unsafe void ToWav(string inputFilename, string outputFilepath)
+ public static void ToWav(string inputFilepath, string outputFilepath)
{
- // handle should be closed when function gets out of scope
- LibHandle mss32LibHandle = new LibHandle(GetAndCacheResource("mss32.dll"));
-
- string ext = Path.GetExtension(inputFilename).ToLower();
- switch (ext)
+ if (!inputFilepath.EndsWith(".binka"))
{
- case ".binka":
- case ".wav":
- break;
- default:
- throw new NotSupportedException(nameof(ext)+":"+ext);
+ throw new Exception("Not a Bink Audio file.");
}
- string outputDirectory = Path.GetDirectoryName(outputFilepath);
- Directory.CreateDirectory(outputDirectory);
- string destinationFilepath = Path.Combine(outputDirectory, Path.GetFileName(inputFilename));
- byte[] inputFiledata = File.ReadAllBytes(inputFilename);
- Debug.WriteLine($"{nameof(inputFiledata)}: {inputFiledata.Length}");
+ cacher.Cache(Properties.Resources.mss32, "mss32.dll");
+ cacher.Cache(Properties.Resources.binkawin, "binkawin.asi");
- AILInternalCalls.SetRedistDirectory(".");
- AILInternalCalls.Startup(); // __fastcall
+ LibHandle mss32LibHandle = new LibHandle(cacher.GetCachedFilepath("mss32.dll"));
+
+ string destinationFilepath = Path.Combine(
+ Path.GetDirectoryName(outputFilepath),
+ Path.GetFileNameWithoutExtension(inputFilepath) + ".wav");
+
+ AILAPI.SetRedistDirectory(cacher.CacheDirectory.Replace('\\', '/'));
+
+ RIBAPI.LoadApplicationProviders("*.asi");
+
+ byte[] inputFiledata = File.ReadAllBytes(inputFilepath);
int resultBufferSize = 0;
IntPtr resultBuffer = new IntPtr();
- // crash happens in AIL_decompress_ASI
- LastAILErrorCode = (uint)AILInternalCalls.DecompressASI(inputFiledata, inputFiledata.Length, ".binka", resultBuffer, &resultBufferSize);
- Debug.WriteLine("AIL Error Code: " + LastAILErrorCode.ToString());
+ if (AILAPI.DecompressASI(inputFiledata, inputFiledata.Length, ".binka", ref resultBuffer, ref resultBufferSize, null) == 0)
+ {
+ Console.WriteLine(AILAPI.GetLastError());
+ return;
+ }
byte[] buffer = new byte[resultBufferSize];
Marshal.Copy(resultBuffer, buffer, 0, resultBufferSize);
- AILInternalCalls.MemFreeLock(resultBuffer);
- AILInternalCalls.Shutdown();
- File.WriteAllBytes(destinationFilepath, buffer);
- }
+
+ AILAPI.MemFreeLock(resultBuffer);
+ RIBAPI.FreeProviderLibrary(0); // free all loaded providers
+ AILAPI.Shutdown();
- // Move to a cache class ?
- private static string GetAndCacheResource(string resourceName)
- {
- _ = resourceName ?? throw new ArgumentNullException(nameof(resourceName));
- string destinationFilepath = Path.Combine(dataCache, resourceName);
- if (!File.Exists(destinationFilepath))
- {
- byte[] resourceData = ExtractResource(resourceName);
- using (FileStream fsDst = File.OpenWrite(destinationFilepath))
- {
- fsDst.Write(resourceData, 0, resourceData.Length);
- }
- }
- return destinationFilepath;
- }
+ File.WriteAllBytes(destinationFilepath, buffer);
- internal static byte[] ExtractResource(string resourceName)
- {
- byte[] resourceData = (byte[])Properties.Resources.ResourceManager.GetObject(Path.GetFileNameWithoutExtension(resourceName));
- return resourceData;
- }
-
- private class AILInternalCalls
- {
- public delegate int AIL_decomp_func();
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_decompress_ASI@24")]
- public unsafe static extern int DecompressASI(
- [MarshalAs(UnmanagedType.LPArray)] byte[] indata,
- int insize,
- [MarshalAs(UnmanagedType.LPStr)] string ext,
- IntPtr result,
- int *resultSize,
- [MarshalAs(UnmanagedType.FunctionPtr)] AIL_decomp_func func = null);
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_last_error@0")]
- [return: MarshalAs(UnmanagedType.LPStr)]
- public static extern string LastError();
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_set_redist_directory@4")]
- [return: MarshalAs(UnmanagedType.LPStr)]
- public static extern string SetRedistDirectory([MarshalAs(UnmanagedType.LPStr)] string redistDir);
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_mem_free_lock@4")]
- public static extern void MemFreeLock(IntPtr ptr);
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_startup@0")]
- public static extern int Startup();
-
- [DllImport("mss32.dll", EntryPoint = "_AIL_shutdown@0")]
- public static extern int Shutdown();
- }
- }
+ }
+ }
}
diff --git a/PCK-Studio/Classes/Misc/FileCacher.cs b/PCK-Studio/Classes/Misc/FileCacher.cs
new file mode 100644
index 00000000..e2fb623a
--- /dev/null
+++ b/PCK-Studio/Classes/Misc/FileCacher.cs
@@ -0,0 +1,51 @@
+using System;
+using System.IO;
+
+namespace PckStudio.Classes.Misc
+{
+ internal class FileCacher
+ {
+ private string _cacheDirectory;
+
+ public string CacheDirectory => _cacheDirectory;
+
+ public FileCacher(string cacheDirectory)
+ {
+ _cacheDirectory = cacheDirectory;
+ }
+
+ public bool HasFileCached(string filename)
+ {
+ string destinationFilepath = Path.Combine(_cacheDirectory, filename);
+ return File.Exists(destinationFilepath);
+ }
+
+ public string GetCachedFilepath(string filename)
+ {
+ if (HasFileCached(filename))
+ {
+ return Path.Combine(_cacheDirectory, filename);
+ }
+ return null;
+ }
+
+ ///
+ /// Caches data if the doesn't already exists in the
+ ///
+ /// Data to cache
+ /// Filename with extension
+ ///
+ public void Cache(byte[] data, string filename)
+ {
+ _ = filename ?? throw new ArgumentNullException("filename");
+ string destinationFilepath = Path.Combine(_cacheDirectory, filename);
+ if (!File.Exists(destinationFilepath))
+ {
+ using (FileStream fsDst = File.OpenWrite(destinationFilepath))
+ {
+ fsDst.Write(data, 0, data.Length);
+ }
+ }
+ }
+ }
+}
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
index bd643284..a9011a57 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
@@ -29,304 +29,312 @@ namespace PckStudio.Forms.Editor
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
- this.treeView1 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.changeCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.catImages = new System.Windows.Forms.ImageList(this.components);
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.creditsEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.bulkReplaceExistingTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.organizeTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.whatAreTheCategoriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.treeView2 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
- this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
- this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
- this.contextMenuStrip1.SuspendLayout();
- this.menuStrip.SuspendLayout();
- this.contextMenuStrip2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
- this.SuspendLayout();
- //
- // treeView1
- //
- resources.ApplyResources(this.treeView1, "treeView1");
- this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
- this.treeView1.ForeColor = System.Drawing.Color.White;
- this.treeView1.ImageList = this.catImages;
- this.treeView1.LabelEdit = true;
- this.treeView1.Name = "treeView1";
- this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
- this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
- //
- // contextMenuStrip1
- //
- this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
+ this.treeView1 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.changeCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.catImages = new System.Windows.Forms.ImageList(this.components);
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.creditsEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bulkReplaceExistingTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.organizeTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.whatAreTheCategoriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.treeView2 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
+ this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
+ this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
+ this.convertToWAVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.contextMenuStrip1.SuspendLayout();
+ this.menuStrip.SuspendLayout();
+ this.contextMenuStrip2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
+ this.SuspendLayout();
+ //
+ // treeView1
+ //
+ resources.ApplyResources(this.treeView1, "treeView1");
+ this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
+ this.treeView1.ForeColor = System.Drawing.Color.White;
+ this.treeView1.ImageList = this.catImages;
+ this.treeView1.LabelEdit = true;
+ this.treeView1.Name = "treeView1";
+ this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
+ this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
+ //
+ // contextMenuStrip1
+ //
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addCategoryStripMenuItem,
this.removeCategoryStripMenuItem,
this.changeCategoryToolStripMenuItem});
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
- //
- // addCategoryStripMenuItem
- //
- resources.ApplyResources(this.addCategoryStripMenuItem, "addCategoryStripMenuItem");
- this.addCategoryStripMenuItem.Name = "addCategoryStripMenuItem";
- this.addCategoryStripMenuItem.Click += new System.EventHandler(this.addCategoryStripMenuItem_Click);
- //
- // removeCategoryStripMenuItem
- //
- this.removeCategoryStripMenuItem.Name = "removeCategoryStripMenuItem";
- resources.ApplyResources(this.removeCategoryStripMenuItem, "removeCategoryStripMenuItem");
- this.removeCategoryStripMenuItem.Click += new System.EventHandler(this.removeCategoryStripMenuItem_Click);
- //
- // changeCategoryToolStripMenuItem
- //
- this.changeCategoryToolStripMenuItem.Name = "changeCategoryToolStripMenuItem";
- resources.ApplyResources(this.changeCategoryToolStripMenuItem, "changeCategoryToolStripMenuItem");
- this.changeCategoryToolStripMenuItem.Click += new System.EventHandler(this.setCategoryToolStripMenuItem_Click);
- //
- // catImages
- //
- this.catImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("catImages.ImageStream")));
- this.catImages.TransparentColor = System.Drawing.Color.Transparent;
- this.catImages.Images.SetKeyName(0, "0_overworld.png");
- this.catImages.Images.SetKeyName(1, "1_nether.png");
- this.catImages.Images.SetKeyName(2, "2_end.png");
- this.catImages.Images.SetKeyName(3, "4_creative.png");
- this.catImages.Images.SetKeyName(4, "3_menu.png");
- this.catImages.Images.SetKeyName(5, "5_mg01.png");
- this.catImages.Images.SetKeyName(6, "6_mg02.png");
- this.catImages.Images.SetKeyName(7, "7_mg03.png");
- this.catImages.Images.SetKeyName(8, "8_unused.png");
- //
- // menuStrip
- //
- resources.ApplyResources(this.menuStrip, "menuStrip");
- this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
+ resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
+ //
+ // addCategoryStripMenuItem
+ //
+ resources.ApplyResources(this.addCategoryStripMenuItem, "addCategoryStripMenuItem");
+ this.addCategoryStripMenuItem.Name = "addCategoryStripMenuItem";
+ this.addCategoryStripMenuItem.Click += new System.EventHandler(this.addCategoryStripMenuItem_Click);
+ //
+ // removeCategoryStripMenuItem
+ //
+ this.removeCategoryStripMenuItem.Name = "removeCategoryStripMenuItem";
+ resources.ApplyResources(this.removeCategoryStripMenuItem, "removeCategoryStripMenuItem");
+ this.removeCategoryStripMenuItem.Click += new System.EventHandler(this.removeCategoryStripMenuItem_Click);
+ //
+ // changeCategoryToolStripMenuItem
+ //
+ this.changeCategoryToolStripMenuItem.Name = "changeCategoryToolStripMenuItem";
+ resources.ApplyResources(this.changeCategoryToolStripMenuItem, "changeCategoryToolStripMenuItem");
+ this.changeCategoryToolStripMenuItem.Click += new System.EventHandler(this.setCategoryToolStripMenuItem_Click);
+ //
+ // catImages
+ //
+ this.catImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("catImages.ImageStream")));
+ this.catImages.TransparentColor = System.Drawing.Color.Transparent;
+ this.catImages.Images.SetKeyName(0, "0_overworld.png");
+ this.catImages.Images.SetKeyName(1, "1_nether.png");
+ this.catImages.Images.SetKeyName(2, "2_end.png");
+ this.catImages.Images.SetKeyName(3, "4_creative.png");
+ this.catImages.Images.SetKeyName(4, "3_menu.png");
+ this.catImages.Images.SetKeyName(5, "5_mg01.png");
+ this.catImages.Images.SetKeyName(6, "6_mg02.png");
+ this.catImages.Images.SetKeyName(7, "7_mg03.png");
+ this.catImages.Images.SetKeyName(8, "8_unused.png");
+ //
+ // menuStrip
+ //
+ resources.ApplyResources(this.menuStrip, "menuStrip");
+ this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.toolsToolStripMenuItem,
this.helpToolStripMenuItem});
- this.menuStrip.Name = "menuStrip";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuStrip.Name = "menuStrip";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripMenuItem1});
- this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
- //
- // saveToolStripMenuItem1
- //
- resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
- this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
- this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
- //
- // toolsToolStripMenuItem
- //
- this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
+ //
+ // saveToolStripMenuItem1
+ //
+ resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
+ this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
+ this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
+ //
+ // toolsToolStripMenuItem
+ //
+ this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.creditsEditorToolStripMenuItem,
this.deleteUnusedBINKAsToolStripMenuItem,
this.openDataFolderToolStripMenuItem,
this.bulkReplaceExistingTracksToolStripMenuItem,
this.organizeTracksToolStripMenuItem});
- this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
- resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
- //
- // creditsEditorToolStripMenuItem
- //
- this.creditsEditorToolStripMenuItem.Name = "creditsEditorToolStripMenuItem";
- resources.ApplyResources(this.creditsEditorToolStripMenuItem, "creditsEditorToolStripMenuItem");
- this.creditsEditorToolStripMenuItem.Click += new System.EventHandler(this.creditsEditorToolStripMenuItem_Click);
- //
- // deleteUnusedBINKAsToolStripMenuItem
- //
- this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
- resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
- this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
- //
- // openDataFolderToolStripMenuItem
- //
- this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
- resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
- this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
- //
- // bulkReplaceExistingTracksToolStripMenuItem
- //
- this.bulkReplaceExistingTracksToolStripMenuItem.Name = "bulkReplaceExistingTracksToolStripMenuItem";
- resources.ApplyResources(this.bulkReplaceExistingTracksToolStripMenuItem, "bulkReplaceExistingTracksToolStripMenuItem");
- this.bulkReplaceExistingTracksToolStripMenuItem.Click += new System.EventHandler(this.bulkReplaceExistingFilesToolStripMenuItem_Click);
- //
- // organizeTracksToolStripMenuItem
- //
- this.organizeTracksToolStripMenuItem.Name = "organizeTracksToolStripMenuItem";
- resources.ApplyResources(this.organizeTracksToolStripMenuItem, "organizeTracksToolStripMenuItem");
- this.organizeTracksToolStripMenuItem.Click += new System.EventHandler(this.organizeTracksToolStripMenuItem_Click);
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
+ //
+ // creditsEditorToolStripMenuItem
+ //
+ this.creditsEditorToolStripMenuItem.Name = "creditsEditorToolStripMenuItem";
+ resources.ApplyResources(this.creditsEditorToolStripMenuItem, "creditsEditorToolStripMenuItem");
+ this.creditsEditorToolStripMenuItem.Click += new System.EventHandler(this.creditsEditorToolStripMenuItem_Click);
+ //
+ // deleteUnusedBINKAsToolStripMenuItem
+ //
+ this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
+ resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
+ this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
+ //
+ // openDataFolderToolStripMenuItem
+ //
+ this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
+ this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
+ //
+ // bulkReplaceExistingTracksToolStripMenuItem
+ //
+ this.bulkReplaceExistingTracksToolStripMenuItem.Name = "bulkReplaceExistingTracksToolStripMenuItem";
+ resources.ApplyResources(this.bulkReplaceExistingTracksToolStripMenuItem, "bulkReplaceExistingTracksToolStripMenuItem");
+ this.bulkReplaceExistingTracksToolStripMenuItem.Click += new System.EventHandler(this.bulkReplaceExistingFilesToolStripMenuItem_Click);
+ //
+ // organizeTracksToolStripMenuItem
+ //
+ this.organizeTracksToolStripMenuItem.Name = "organizeTracksToolStripMenuItem";
+ resources.ApplyResources(this.organizeTracksToolStripMenuItem, "organizeTracksToolStripMenuItem");
+ this.organizeTracksToolStripMenuItem.Click += new System.EventHandler(this.organizeTracksToolStripMenuItem_Click);
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.howToAddSongsToolStripMenuItem,
this.whatAreTheCategoriesToolStripMenuItem,
this.howToEditCreditsToolStripMenuItem,
this.optimizeDataFolderToolStripMenuItem,
this.bINKACompressionToolStripMenuItem});
- this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
- //
- // howToAddSongsToolStripMenuItem
- //
- this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
- resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
- this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
- //
- // whatAreTheCategoriesToolStripMenuItem
- //
- this.whatAreTheCategoriesToolStripMenuItem.Name = "whatAreTheCategoriesToolStripMenuItem";
- resources.ApplyResources(this.whatAreTheCategoriesToolStripMenuItem, "whatAreTheCategoriesToolStripMenuItem");
- this.whatAreTheCategoriesToolStripMenuItem.Click += new System.EventHandler(this.whatAreTheCategoriesToolStripMenuItem_Click);
- //
- // howToEditCreditsToolStripMenuItem
- //
- this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
- resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
- this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
- //
- // optimizeDataFolderToolStripMenuItem
- //
- this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
- resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
- this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
- //
- // bINKACompressionToolStripMenuItem
- //
- this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
- resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
- this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
- //
- // treeView2
- //
- this.treeView2.AllowDrop = true;
- resources.ApplyResources(this.treeView2, "treeView2");
- this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
- this.treeView2.ForeColor = System.Drawing.Color.White;
- this.treeView2.Name = "treeView2";
- this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
- this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
- this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
- //
- // contextMenuStrip2
- //
- this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
+ //
+ // howToAddSongsToolStripMenuItem
+ //
+ this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
+ resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
+ this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
+ //
+ // whatAreTheCategoriesToolStripMenuItem
+ //
+ this.whatAreTheCategoriesToolStripMenuItem.Name = "whatAreTheCategoriesToolStripMenuItem";
+ resources.ApplyResources(this.whatAreTheCategoriesToolStripMenuItem, "whatAreTheCategoriesToolStripMenuItem");
+ this.whatAreTheCategoriesToolStripMenuItem.Click += new System.EventHandler(this.whatAreTheCategoriesToolStripMenuItem_Click);
+ //
+ // howToEditCreditsToolStripMenuItem
+ //
+ this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
+ resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
+ this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
+ //
+ // optimizeDataFolderToolStripMenuItem
+ //
+ this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
+ this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
+ //
+ // bINKACompressionToolStripMenuItem
+ //
+ this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
+ resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
+ this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
+ //
+ // treeView2
+ //
+ this.treeView2.AllowDrop = true;
+ resources.ApplyResources(this.treeView2, "treeView2");
+ this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
+ this.treeView2.ForeColor = System.Drawing.Color.White;
+ this.treeView2.Name = "treeView2";
+ this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
+ this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
+ this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
+ //
+ // contextMenuStrip2
+ //
+ this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addEntryMenuItem,
this.removeEntryMenuItem,
- this.verifyFileLocationToolStripMenuItem});
- this.contextMenuStrip2.Name = "contextMenuStrip1";
- resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
- //
- // addEntryMenuItem
- //
- resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
- this.addEntryMenuItem.Name = "addEntryMenuItem";
- this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
- //
- // removeEntryMenuItem
- //
- this.removeEntryMenuItem.Name = "removeEntryMenuItem";
- resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
- this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
- //
- // verifyFileLocationToolStripMenuItem
- //
- this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
- resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
- this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
- //
- // playOverworldInCreative
- //
- resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
- this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
- this.playOverworldInCreative.Name = "playOverworldInCreative";
- this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.playOverworldInCreative.UseCustomBackColor = true;
- this.playOverworldInCreative.UseCustomForeColor = true;
- this.playOverworldInCreative.UseSelectable = true;
- //
- // compressionUpDown
- //
- this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
- resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
- this.compressionUpDown.Maximum = new decimal(new int[] {
+ this.verifyFileLocationToolStripMenuItem,
+ this.convertToWAVToolStripMenuItem});
+ this.contextMenuStrip2.Name = "contextMenuStrip1";
+ resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
+ //
+ // addEntryMenuItem
+ //
+ resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
+ this.addEntryMenuItem.Name = "addEntryMenuItem";
+ this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
+ //
+ // removeEntryMenuItem
+ //
+ this.removeEntryMenuItem.Name = "removeEntryMenuItem";
+ resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
+ this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
+ //
+ // verifyFileLocationToolStripMenuItem
+ //
+ this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
+ resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
+ this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
+ //
+ // playOverworldInCreative
+ //
+ resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
+ this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
+ this.playOverworldInCreative.Name = "playOverworldInCreative";
+ this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.playOverworldInCreative.UseCustomBackColor = true;
+ this.playOverworldInCreative.UseCustomForeColor = true;
+ this.playOverworldInCreative.UseSelectable = true;
+ //
+ // compressionUpDown
+ //
+ this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
+ resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
+ this.compressionUpDown.Maximum = new decimal(new int[] {
9,
0,
0,
0});
- this.compressionUpDown.Minimum = new decimal(new int[] {
+ this.compressionUpDown.Minimum = new decimal(new int[] {
1,
0,
0,
0});
- this.compressionUpDown.Name = "compressionUpDown";
- this.compressionUpDown.Value = new decimal(new int[] {
+ this.compressionUpDown.Name = "compressionUpDown";
+ this.compressionUpDown.Value = new decimal(new int[] {
4,
0,
0,
0});
- //
- // metroLabel1
- //
- resources.ApplyResources(this.metroLabel1, "metroLabel1");
- this.metroLabel1.Name = "metroLabel1";
- this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // AudioEditor
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.metroLabel1);
- this.Controls.Add(this.compressionUpDown);
- this.Controls.Add(this.playOverworldInCreative);
- this.Controls.Add(this.treeView1);
- this.Controls.Add(this.treeView2);
- this.Controls.Add(this.menuStrip);
- this.Name = "AudioEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
- this.Shown += new System.EventHandler(this.AudioEditor_Shown);
- this.contextMenuStrip1.ResumeLayout(false);
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- this.contextMenuStrip2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ //
+ // metroLabel1
+ //
+ resources.ApplyResources(this.metroLabel1, "metroLabel1");
+ this.metroLabel1.Name = "metroLabel1";
+ this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // convertToWAVToolStripMenuItem
+ //
+ this.convertToWAVToolStripMenuItem.Name = "convertToWAVToolStripMenuItem";
+ resources.ApplyResources(this.convertToWAVToolStripMenuItem, "convertToWAVToolStripMenuItem");
+ this.convertToWAVToolStripMenuItem.Click += new System.EventHandler(this.convertToWAVToolStripMenuItem_Click);
+ //
+ // AudioEditor
+ //
+ resources.ApplyResources(this, "$this");
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.metroLabel1);
+ this.Controls.Add(this.compressionUpDown);
+ this.Controls.Add(this.playOverworldInCreative);
+ this.Controls.Add(this.treeView1);
+ this.Controls.Add(this.treeView2);
+ this.Controls.Add(this.menuStrip);
+ this.Name = "AudioEditor";
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
+ this.Shown += new System.EventHandler(this.AudioEditor_Shown);
+ this.contextMenuStrip1.ResumeLayout(false);
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ this.contextMenuStrip2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -361,5 +369,6 @@ namespace PckStudio.Forms.Editor
private System.Windows.Forms.ToolStripMenuItem bulkReplaceExistingTracksToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem changeCategoryToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem organizeTracksToolStripMenuItem;
- }
+ private System.Windows.Forms.ToolStripMenuItem convertToWAVToolStripMenuItem;
+ }
}
\ No newline at end of file
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.resx b/PCK-Studio/Forms/Editor/AudioEditor.resx
index ea023737..e032d6ce 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.resx
+++ b/PCK-Studio/Forms/Editor/AudioEditor.resx
@@ -125,32 +125,6 @@
127, 8
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
- DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
- jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
-
-
-
- 168, 22
-
-
- Add Category
-
-
- 168, 22
-
-
- Remove Category
-
-
- 168, 22
-
-
- Set Category
-
169, 70
@@ -172,7 +146,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADk
- MAAAAk1TRnQBSQFMAgEBCQEAAaABAAGgAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
+ MAAAAk1TRnQBSQFMAgEBCQEAAagBAAGoAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
AwABMAMAAQEBAAEgBgABMBIAAzgB/wM1Af8DNQH/AzMB/wMwAf8DLwH/Ay0B/wMtAf8DJAH/AzsB/wM4
Af8DNQH/Ay0B/wMnAf8DNgH/AzIB/8AAAzgB/wN/Af8DeQH/A3kB/wN5Af8DcQH/A3EB/wN5Af8DeQH/
A3EB/wNxAf8DcQH/A3kB/wN5Af8DfwH/AzIB/8AAAzIB/wN2Af8DsAH/A7AB/wOvAf8DrwH/A68B/wOo
@@ -410,12 +384,68 @@
5
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
+ DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
+ jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
+
+
+
+ 168, 22
+
+
+ Add Category
+
+
+ 168, 22
+
+
+ Remove Category
+
+
+ 168, 22
+
+
+ Set Category
+
19, 8
False
+
+ 20, 60
+
+
+ 410, 24
+
+
+ 11
+
+
+ menuStrip1
+
+
+ menuStrip
+
+
+ System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 7
+
+
+ 37, 20
+
+
+ File
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
@@ -432,11 +462,11 @@
Save
-
- 37, 20
+
+ 46, 20
-
- File
+
+ Tools
220, 22
@@ -468,11 +498,11 @@
Organize Tracks
-
- 46, 20
+
+ 44, 20
-
- Tools
+
+ Help
243, 22
@@ -504,36 +534,6 @@
BINKA Compression
-
- 44, 20
-
-
- Help
-
-
- 20, 60
-
-
- 410, 24
-
-
- 11
-
-
- menuStrip1
-
-
- menuStrip
-
-
- System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 7
-
Top, Bottom, Left, Right
@@ -549,25 +549,31 @@
- 173, 22
+ 180, 22
Add Entry
- 173, 22
+ 180, 22
Remove Entry
- 173, 22
+ 180, 22
Verify File Location
+
+ 180, 22
+
+
+ Convert To WAV
+
- 174, 70
+ 181, 114
contextMenuStrip2
@@ -821,6 +827,12 @@
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ convertToWAVToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
AudioEditor
diff --git a/PCK-Studio/PckStudio.csproj b/PCK-Studio/PckStudio.csproj
index 5d3cd260..cf4b9a7b 100644
--- a/PCK-Studio/PckStudio.csproj
+++ b/PCK-Studio/PckStudio.csproj
@@ -186,6 +186,7 @@
+
@@ -764,6 +765,10 @@
{693AEBC1-293D-4DF0-BCAE-26A1099FE7BB}
OMI Filetype Library
+
+ {e8d0b671-3ab1-48b6-a767-58df67bd5d11}
+ SharpMss32
+