From c6c40b6e72802ab47f03819143860f4a5a5b99e2 Mon Sep 17 00:00:00 2001 From: leathl Date: Thu, 25 Feb 2010 00:08:01 +0000 Subject: [PATCH] CustomizeMii 2.31 (Hotfix) git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@33 eddbe33b-e435-4246-ac25-f5eb65f9a13c --- .../CustomizeMii_BackgroundWorkers.cs | 22 +++++++++---------- CustomizeMii/CustomizeMii_Main.cs | 7 +++++- CustomizeMii/Properties/AssemblyInfo.cs | 4 ++-- CustomizeMii/Readme.txt | 3 +++ 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/CustomizeMii/CustomizeMii_BackgroundWorkers.cs b/CustomizeMii/CustomizeMii_BackgroundWorkers.cs index 87430c3..e7da385 100644 --- a/CustomizeMii/CustomizeMii_BackgroundWorkers.cs +++ b/CustomizeMii/CustomizeMii_BackgroundWorkers.cs @@ -800,8 +800,8 @@ namespace CustomizeMii void bwCreateWad_DoWork(object sender, DoWorkEventArgs e) { - try - { + //try + //{ BackgroundWorker bwCreateWad = sender as BackgroundWorker; WadCreationInfo wadInfo = (WadCreationInfo)e.Argument; EventHandler DisableControls = new EventHandler(this.DisableControls); @@ -1014,15 +1014,15 @@ namespace CustomizeMii wadCreationInfo = wadInfo; wadCreationInfo.success = true; - } - catch (Exception ex) - { - sendWadReady = -1; - CreationTimer.Stop(); - EventHandler EnableControls = new EventHandler(this.EnableControls); - this.Invoke(EnableControls); - ErrorBox(ex.Message); - } + //} + //catch (Exception ex) + //{ + // sendWadReady = -1; + // CreationTimer.Stop(); + // EventHandler EnableControls = new EventHandler(this.EnableControls); + // this.Invoke(EnableControls); + // ErrorBox(ex.Message); + //} } } } diff --git a/CustomizeMii/CustomizeMii_Main.cs b/CustomizeMii/CustomizeMii_Main.cs index f648b3d..ab65499 100644 --- a/CustomizeMii/CustomizeMii_Main.cs +++ b/CustomizeMii/CustomizeMii_Main.cs @@ -33,7 +33,7 @@ namespace CustomizeMii public partial class CustomizeMii_Main : Form { #region Constants - const string version = "2.3"; //Hint for myself: Never use a char in the Version (UpdateCheck)! + const string version = "2.31"; //Hint for myself: Never use a char in the Version (UpdateCheck)! const int SoundMaxLength = 30; //In seconds const int SoundWarningLength = 20; //In seconds const int BnsWarningLength = 45; //In seconds @@ -1288,11 +1288,16 @@ namespace CustomizeMii { WadCreationInfo wadInfo = new WadCreationInfo(); wadInfo.outFile = TempPath + "SendToWii.wad"; + wadInfo.titles = new string[] { tbJapanese.Text, tbEnglish.Text, tbGerman.Text, tbFrench.Text, tbSpanish.Text, tbItalian.Text, tbDutch.Text, tbKorean.Text }; + wadInfo.allLangTitle = tbAllLanguages.Text; wadInfo.nandLoader = (WadCreationInfo.NandLoader)cmbNandLoader.SelectedIndex; wadInfo.sendToWii = true; wadInfo.transmitProtocol = (TransmitProtocol)cmt.Protocol; wadInfo.transmitIp = cmt.IPAddress; wadInfo.transmitIos = int.Parse(cmt.IOS); + wadInfo.titleId = tbTitleID.Text; + wadInfo.sound = tbSound.Text; + wadInfo.dol = tbDol.Text; BackgroundWorker bwCreateWad = new BackgroundWorker(); bwCreateWad.DoWork += new DoWorkEventHandler(bwCreateWad_DoWork); diff --git a/CustomizeMii/Properties/AssemblyInfo.cs b/CustomizeMii/Properties/AssemblyInfo.cs index e66282e..7e06016 100644 --- a/CustomizeMii/Properties/AssemblyInfo.cs +++ b/CustomizeMii/Properties/AssemblyInfo.cs @@ -50,6 +50,6 @@ using System.Resources; // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.0.0")] -[assembly: AssemblyFileVersion("2.3.0.0")] +[assembly: AssemblyVersion("2.3.1.0")] +[assembly: AssemblyFileVersion("2.3.1.0")] [assembly: NeutralResourcesLanguageAttribute("en")] diff --git a/CustomizeMii/Readme.txt b/CustomizeMii/Readme.txt index c6f98a1..c7bc232 100644 --- a/CustomizeMii/Readme.txt +++ b/CustomizeMii/Readme.txt @@ -9,6 +9,9 @@ Thanks to icefire / Xuzz for the basic idea of this Application! ----------------------------------------------------------------------------------------- Changelog: +Version 2.31 + - Fixed sending to Wii + Version 2.3 - Fixed bug when extracting icon images - Added ability to change the startup IOS (IOS used to launch the title)