|
13 | 13 | class WiiLink_Patcher
|
14 | 14 | {
|
15 | 15 | //// Build Info ////
|
16 |
| - static readonly string version = "v2.0.0"; |
| 16 | + static readonly string version = "v2.0.1"; |
17 | 17 | static readonly string copyrightYear = DateTime.Now.Year.ToString();
|
18 |
| - static readonly string buildDate = "January 4st, 2024"; |
19 |
| - static readonly string buildTime = "3:00 PM"; |
| 18 | + static readonly string buildDate = "January 12th, 2024"; |
| 19 | + static readonly string buildTime = "7:14 PM"; |
20 | 20 | static string? sdcard = DetectSDCard;
|
21 | 21 | static readonly string wiiLinkPatcherUrl = "https://patcher.wiilink24.com";
|
22 | 22 | ////////////////////
|
@@ -648,6 +648,10 @@ static void PatchWC24Channel(string channelName, string channelTitle, int channe
|
648 | 648 | File.Move(Path.Join(titleFolder, $"tmd.{channelVersion}"), Path.Join(titleFolder, $"{titleID}.tmd"));
|
649 | 649 | File.Move(Path.Join(titleFolder, "cetk"), Path.Join(titleFolder, $"{titleID}.tik"));
|
650 | 650 |
|
| 651 | + // For Kirby TV Channel in particular, it needs to use a modified TMD file, so redownload it and rename it appropriately |
| 652 | + if (channelName == "ktv") |
| 653 | + DownloadFile($"{wiiLinkPatcherUrl}/{channelName.ToLower()}/{titleID}.tmd", Path.Join(titleFolder, $"{titleID}.tmd"), channelTitle); |
| 654 | + |
651 | 655 | // Apply the delta patches to the app file
|
652 | 656 | task = $"Applying delta patch for {channelTitle}";
|
653 | 657 | foreach (var (app, patch) in appFile.Zip(patchFile, (app, patch) => (app, patch)))
|
@@ -699,8 +703,6 @@ static void DownloadWC24Channel(string channelName, string channelTitle, int cha
|
699 | 703 | // Create unpack and unpack-patched folders
|
700 | 704 | Directory.CreateDirectory(titleFolder);
|
701 | 705 |
|
702 |
| - string fileURL = $"{wiiLinkPatcherUrl}/{channelName.ToLower()}/{titleID}"; |
703 |
| - |
704 | 706 | // Extract the necessary files for the channel
|
705 | 707 | task = $"Extracting stuff for {channelTitle}";
|
706 | 708 | DownloadNUS(titleID, titleFolder, channelVersion.ToString());
|
|
0 commit comments