Updated to 1.7.2 - Fixed a bug that would prevent you from changing a wad type

- Wad info now also displays the full, 16-character Title ID
This commit is contained in:
xx.person66@gmail.com 2013-02-16 06:55:46 +00:00
parent a4f73b4ea2
commit 827d778254
11 changed files with 38 additions and 50 deletions

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -321,5 +321,5 @@ namespace Sharpii
} }
public class Version public class Version
{ {
public static string version = "1.7.1"; public static string version = "1.7.2";
} }

View File

@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Sharpii")] [assembly: AssemblyProduct("Sharpii")]
[assembly: AssemblyCopyright("2011 person66")] [assembly: AssemblyCopyright("2013 person66")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6")] [assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.6")] [assembly: AssemblyFileVersion("1.7.2")]

View File

@ -1,5 +1,5 @@
/------------------------------------------------------------------------------> /------------------------------------------------------------------------------>
Sharpii 1.7.1 Sharpii 1.7.2
<----------------------------------------------------------------> <---------------------------------------------------------------->
An app by person66 An app by person66
libWiiSharp.dll by leathl (mod by scooby74029) libWiiSharp.dll by leathl (mod by scooby74029)
@ -145,6 +145,10 @@ See "LICENSE.txt" for more information.
/----CHANGELOG /----CHANGELOG
/------------------------------> /------------------------------>
1.7.2
- I am not dead! Yay!
- Fixed a bug that would prevent you from changing a wad type
- Wad info now also displays the full, 16-character Title ID
1.7.1 1.7.1
- Fixed a bug that prevented Sharpii from checking for SharpiiIP - Fixed a bug that prevented Sharpii from checking for SharpiiIP
in the system variables in the system variables
@ -157,7 +161,7 @@ See "LICENSE.txt" for more information.
- SendWad now supports AHBPROT (use '-ahb') - SendWad now supports AHBPROT (use '-ahb')
- IP can now be saved in an environmental variable (SharpiiIP) - IP can now be saved in an environmental variable (SharpiiIP)
for both SendWad and SendDol (manually or with '-saveip') for both SendWad and SendDol (manually or with '-saveip')
- Pointless aster eggs are fun! - Pointless easter eggs are fun!
- Code cleanup/bug fixes - Code cleanup/bug fixes
1.5 1.5
- Added the ability to send WADs to the HBC using SendWad - Added the ability to send WADs to the HBC using SendWad

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>
</StartArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<StartArguments>
</StartArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* This file is part of Sharpii. /* This file is part of Sharpii.
* Copyright (C) 2011 Person66 * Copyright (C) 2013 Person66
* *
* Sharpii is free software: you can redistribute it and/or modify * Sharpii is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -153,6 +153,7 @@ namespace Sharpii
Console.WriteLine(" Korean: {0}\n", wad.ChannelTitles[7]); Console.WriteLine(" Korean: {0}\n", wad.ChannelTitles[7]);
} }
Console.WriteLine("Title ID: {0}", wad.UpperTitleID); Console.WriteLine("Title ID: {0}", wad.UpperTitleID);
Console.WriteLine("Full Title ID: {0}", wad.TitleID.ToString("X16").Substring(0, 8) + "-" + wad.TitleID.ToString("X16").Substring(8));
Console.WriteLine("IOS: {0}", ((int)wad.StartupIOS).ToString()); Console.WriteLine("IOS: {0}", ((int)wad.StartupIOS).ToString());
Console.WriteLine("Region: {0}", wad.Region); Console.WriteLine("Region: {0}", wad.Region);
Console.WriteLine("Version: {0}", wad.TitleVersion); Console.WriteLine("Version: {0}", wad.TitleVersion);
@ -184,6 +185,7 @@ namespace Sharpii
txt.WriteLine(" Korean: {0}", wad.ChannelTitles[7]); txt.WriteLine(" Korean: {0}", wad.ChannelTitles[7]);
} }
txt.WriteLine("Title ID: {0}", wad.UpperTitleID); txt.WriteLine("Title ID: {0}", wad.UpperTitleID);
txt.WriteLine("Full Title ID: {0}", wad.TitleID.ToString("X16").Substring(0, 8) + "-" + wad.TitleID.ToString("X16").Substring(8));
txt.WriteLine("IOS: {0}", ((int)wad.StartupIOS).ToString()); txt.WriteLine("IOS: {0}", ((int)wad.StartupIOS).ToString());
txt.WriteLine("Region: {0}", wad.Region); txt.WriteLine("Region: {0}", wad.Region);
txt.WriteLine("Version: {0}", wad.TitleVersion); txt.WriteLine("Version: {0}", wad.TitleVersion);
@ -262,8 +264,8 @@ namespace Sharpii
Console.WriteLine("ERROR: No type set"); Console.WriteLine("ERROR: No type set");
return; return;
} }
lwrid = args[i + 1]; lwrid = args[i + 1].ToUpper();
if (args[i + 1].ToUpper() != "CHANNEL" && args[i + 1].ToUpper() != "DLC" && args[i + 1].ToUpper() != "GAMECHANNEL" && args[i + 1].ToUpper() != "HIDDENCHANNELS" && args[i + 1].ToUpper() != "SYSTEMCHANNELS" && args[i + 1].ToUpper() != "SYSTEMTITLES") if (lwrid != "CHANNEL" && lwrid != "DLC" && lwrid != "GAMECHANNEL" && lwrid != "HIDDENCHANNELS" && lwrid != "SYSTEMCHANNELS" && lwrid != "SYSTEMTITLES")
{ {
Console.WriteLine("ERROR: Unknown WAD type: {0}", args[i + 1]); Console.WriteLine("ERROR: Unknown WAD type: {0}", args[i + 1]);
return; return;
@ -467,10 +469,17 @@ namespace Sharpii
Console.WriteLine("FakeSigning WAD"); Console.WriteLine("FakeSigning WAD");
wad.FakeSign = fake; wad.FakeSign = fake;
if (id != "") if (id != "" || lwrid != "")
{ {
if (Quiet.quiet > 2) if (id != "")
Console.WriteLine("Changing channel ID to: {0}", id); {
if (Quiet.quiet > 2)
Console.WriteLine("Changing channel ID to: {0}", id);
}
else
{
id = wad.UpperTitleID;
}
if (lwrid != "") if (lwrid != "")
{ {
@ -484,15 +493,15 @@ namespace Sharpii
if (lwrid == "CHANNEL") if (lwrid == "CHANNEL")
wad.ChangeTitleID(LowerTitleID.Channel, id); wad.ChangeTitleID(LowerTitleID.Channel, id);
if (lwrid == "DLC") else if (lwrid == "DLC")
wad.ChangeTitleID(LowerTitleID.DLC, id); wad.ChangeTitleID(LowerTitleID.DLC, id);
if (lwrid == "GAMECHANNEL") else if (lwrid == "GAMECHANNEL")
wad.ChangeTitleID(LowerTitleID.GameChannel, id); wad.ChangeTitleID(LowerTitleID.GameChannel, id);
if (lwrid == "HIDDENCHANNELS") else if (lwrid == "HIDDENCHANNELS")
wad.ChangeTitleID(LowerTitleID.HiddenChannels, id); wad.ChangeTitleID(LowerTitleID.HiddenChannels, id);
if (lwrid == "SYSTEMCHANNELS") else if (lwrid == "SYSTEMCHANNELS")
wad.ChangeTitleID(LowerTitleID.SystemChannels, id); wad.ChangeTitleID(LowerTitleID.SystemChannels, id);
if (lwrid == "SYSTEMTITLES") else if (lwrid == "SYSTEMTITLES")
wad.ChangeTitleID(LowerTitleID.SystemTitles, id); wad.ChangeTitleID(LowerTitleID.SystemTitles, id);
} }
if (ios > -1) if (ios > -1)
@ -615,7 +624,7 @@ namespace Sharpii
Console.WriteLine(""); Console.WriteLine("");
Console.WriteLine(" Arguments for info:"); Console.WriteLine(" Arguments for info:");
Console.WriteLine(""); Console.WriteLine("");
Console.WriteLine(" -o output Output info to text file"); Console.WriteLine(" -o [output] Output info to text file");
Console.WriteLine(" -titles Display titles in all languages"); Console.WriteLine(" -titles Display titles in all languages");
Console.WriteLine(""); Console.WriteLine("");
Console.WriteLine(" Arguments for packing/editing:"); Console.WriteLine(" Arguments for packing/editing:");