CustomizeMii 2.31 (Hotfix)

git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@33 eddbe33b-e435-4246-ac25-f5eb65f9a13c
This commit is contained in:
leathl 2010-02-25 00:08:01 +00:00
parent 7b345b76e1
commit c6c40b6e72
4 changed files with 22 additions and 14 deletions

View File

@ -800,8 +800,8 @@ namespace CustomizeMii
void bwCreateWad_DoWork(object sender, DoWorkEventArgs e) void bwCreateWad_DoWork(object sender, DoWorkEventArgs e)
{ {
try //try
{ //{
BackgroundWorker bwCreateWad = sender as BackgroundWorker; BackgroundWorker bwCreateWad = sender as BackgroundWorker;
WadCreationInfo wadInfo = (WadCreationInfo)e.Argument; WadCreationInfo wadInfo = (WadCreationInfo)e.Argument;
EventHandler DisableControls = new EventHandler(this.DisableControls); EventHandler DisableControls = new EventHandler(this.DisableControls);
@ -1014,15 +1014,15 @@ namespace CustomizeMii
wadCreationInfo = wadInfo; wadCreationInfo = wadInfo;
wadCreationInfo.success = true; wadCreationInfo.success = true;
} //}
catch (Exception ex) //catch (Exception ex)
{ //{
sendWadReady = -1; // sendWadReady = -1;
CreationTimer.Stop(); // CreationTimer.Stop();
EventHandler EnableControls = new EventHandler(this.EnableControls); // EventHandler EnableControls = new EventHandler(this.EnableControls);
this.Invoke(EnableControls); // this.Invoke(EnableControls);
ErrorBox(ex.Message); // ErrorBox(ex.Message);
} //}
} }
} }
} }

View File

@ -33,7 +33,7 @@ namespace CustomizeMii
public partial class CustomizeMii_Main : Form public partial class CustomizeMii_Main : Form
{ {
#region Constants #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 SoundMaxLength = 30; //In seconds
const int SoundWarningLength = 20; //In seconds const int SoundWarningLength = 20; //In seconds
const int BnsWarningLength = 45; //In seconds const int BnsWarningLength = 45; //In seconds
@ -1288,11 +1288,16 @@ namespace CustomizeMii
{ {
WadCreationInfo wadInfo = new WadCreationInfo(); WadCreationInfo wadInfo = new WadCreationInfo();
wadInfo.outFile = TempPath + "SendToWii.wad"; 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.nandLoader = (WadCreationInfo.NandLoader)cmbNandLoader.SelectedIndex;
wadInfo.sendToWii = true; wadInfo.sendToWii = true;
wadInfo.transmitProtocol = (TransmitProtocol)cmt.Protocol; wadInfo.transmitProtocol = (TransmitProtocol)cmt.Protocol;
wadInfo.transmitIp = cmt.IPAddress; wadInfo.transmitIp = cmt.IPAddress;
wadInfo.transmitIos = int.Parse(cmt.IOS); wadInfo.transmitIos = int.Parse(cmt.IOS);
wadInfo.titleId = tbTitleID.Text;
wadInfo.sound = tbSound.Text;
wadInfo.dol = tbDol.Text;
BackgroundWorker bwCreateWad = new BackgroundWorker(); BackgroundWorker bwCreateWad = new BackgroundWorker();
bwCreateWad.DoWork += new DoWorkEventHandler(bwCreateWad_DoWork); bwCreateWad.DoWork += new DoWorkEventHandler(bwCreateWad_DoWork);

View File

@ -50,6 +50,6 @@ using System.Resources;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben: // übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.3.0.0")] [assembly: AssemblyVersion("2.3.1.0")]
[assembly: AssemblyFileVersion("2.3.0.0")] [assembly: AssemblyFileVersion("2.3.1.0")]
[assembly: NeutralResourcesLanguageAttribute("en")] [assembly: NeutralResourcesLanguageAttribute("en")]

View File

@ -9,6 +9,9 @@ Thanks to icefire / Xuzz for the basic idea of this Application!
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
Changelog: Changelog:
Version 2.31
- Fixed sending to Wii
Version 2.3 Version 2.3
- Fixed bug when extracting icon images - Fixed bug when extracting icon images
- Added ability to change the startup IOS (IOS used to launch the title) - Added ability to change the startup IOS (IOS used to launch the title)