mirror of
https://github.com/Brawl345/customizemii.git
synced 2024-11-15 04:45:09 +01:00
TransmitMii 1.2
This commit is contained in:
parent
7ccebe4302
commit
f48b9dd247
@ -49,5 +49,5 @@ using System.Runtime.InteropServices;
|
|||||||
// 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("1.1.5.0")]
|
[assembly: AssemblyVersion("1.2.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.1.5.0")]
|
[assembly: AssemblyFileVersion("1.2.0.0")]
|
||||||
|
@ -9,6 +9,15 @@ TransmitMii is hosted on the CustomizeMii project page: http://customizemii.goog
|
|||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
Version 1.2
|
||||||
|
- Improvement in startup speed (thanks shadow1643)
|
||||||
|
- Added ability to send ZIPs (to HBC)
|
||||||
|
ZIP files must conatin the *appfolder* containing
|
||||||
|
boot.dol
|
||||||
|
meta.xml (optional)
|
||||||
|
icon.png (optional)
|
||||||
|
and will be extracted to SD:/apps/*appfolder*
|
||||||
|
|
||||||
Version 1.15
|
Version 1.15
|
||||||
- Fixed transmitting to HBC -1.0.4 (HAXX)
|
- Fixed transmitting to HBC -1.0.4 (HAXX)
|
||||||
- Fixed transmitting to USB Loader GX
|
- Fixed transmitting to USB Loader GX
|
||||||
|
@ -27,7 +27,7 @@ namespace TransmitMii
|
|||||||
{
|
{
|
||||||
public partial class TransmitMii_Main : Form
|
public partial class TransmitMii_Main : Form
|
||||||
{
|
{
|
||||||
const string version = "1.15"; //Hint for myself: Never use a char in the Version (UpdateCheck)!
|
const string version = "1.2"; //Hint for myself: Never use a char in the Version (UpdateCheck)!
|
||||||
private bool IsRunning = false;
|
private bool IsRunning = false;
|
||||||
private string fileName;
|
private string fileName;
|
||||||
private string statusText;
|
private string statusText;
|
||||||
@ -61,9 +61,11 @@ namespace TransmitMii
|
|||||||
{
|
{
|
||||||
this.Text = this.Text.Replace("X", version);
|
this.Text = this.Text.Replace("X", version);
|
||||||
this.Icon = Properties.Resources.TransmitMii_Icon;
|
this.Icon = Properties.Resources.TransmitMii_Icon;
|
||||||
UpdateCheck();
|
|
||||||
ExtensionCheck();
|
ExtensionCheck();
|
||||||
|
|
||||||
|
MethodInvoker Update = new MethodInvoker(UpdateCheck);
|
||||||
|
Update.BeginInvoke(null, null);
|
||||||
|
|
||||||
UpdateStatus = new EventHandler(this.StatusUpdate);
|
UpdateStatus = new EventHandler(this.StatusUpdate);
|
||||||
EnableButtons = new EventHandler(this.ButtonEnable);
|
EnableButtons = new EventHandler(this.ButtonEnable);
|
||||||
|
|
||||||
@ -163,8 +165,8 @@ namespace TransmitMii
|
|||||||
private void btnBrowseFile_Click(object sender, EventArgs e)
|
private void btnBrowseFile_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
OpenFileDialog ofd = new OpenFileDialog();
|
OpenFileDialog ofd = new OpenFileDialog();
|
||||||
ofd.Filter = "DOL|*.dol|ELF|*.elf|WAD|*.wad|All|*.dol;*.elf;*.wad";
|
ofd.Filter = "DOL|*.dol|ELF|*.elf|WAD|*.wad|ZIP|*.zip|All|*.dol;*.elf;*.wad;*.zip";
|
||||||
ofd.FilterIndex = 4;
|
ofd.FilterIndex = 5;
|
||||||
|
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
|
@ -22,10 +22,6 @@ namespace TransmitMii
|
|||||||
{
|
{
|
||||||
partial class TransmitMii_Main
|
partial class TransmitMii_Main
|
||||||
{
|
{
|
||||||
const bool JODI_Compress = true;
|
|
||||||
const bool HAXX_Compress = false;
|
|
||||||
const bool USBX_Compress = false;
|
|
||||||
|
|
||||||
TcpClient theClient;
|
TcpClient theClient;
|
||||||
NetworkStream theStream;
|
NetworkStream theStream;
|
||||||
System.Diagnostics.Stopwatch stopper = new System.Diagnostics.Stopwatch();
|
System.Diagnostics.Stopwatch stopper = new System.Diagnostics.Stopwatch();
|
||||||
@ -64,6 +60,7 @@ namespace TransmitMii
|
|||||||
compress = false;
|
compress = false;
|
||||||
|
|
||||||
if ((int)(protocol) == 0) compress = false;
|
if ((int)(protocol) == 0) compress = false;
|
||||||
|
if (fileName.ToLower().EndsWith(".zip")) compress = false; //There won't be much to compress in Zips
|
||||||
|
|
||||||
theClient = new TcpClient();
|
theClient = new TcpClient();
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ namespace TransmitMii
|
|||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("zlib1.dll")]
|
[DllImport("zlib1.dll")]
|
||||||
public static extern ZLibError compress2(byte[] dest, ref int destLength, byte[] source, int sourceLength, int level);
|
private static extern ZLibError compress2(byte[] dest, ref int destLength, byte[] source, int sourceLength, int level);
|
||||||
|
|
||||||
public static byte[] Compress(byte[] inFile)
|
public static byte[] Compress(byte[] inFile)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user