Skip to content

Commit

Permalink
Re-fixed Kirby TV to be region free
Browse files Browse the repository at this point in the history
  • Loading branch information
PablosCorner committed Apr 13, 2024
1 parent 0eb04f1 commit 60eef5a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WiiLink-Patcher-CLI/WiiLink_Patcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,13 @@ static void PatchWC24Channel(string channelName, string channelTitle, int channe
File.Move(Path.Join(titleFolder, $"tmd.{channelVersion}"), Path.Join(titleFolder, $"{titleID}.tmd"));
File.Move(Path.Join(titleFolder, "cetk"), Path.Join(titleFolder, $"{titleID}.tik"));

// Download the patched TMD file for Kirby TV Channel to make it region-free
if (channelName == "ktv")
{
string tmdURL = $"{wiiLinkPatcherUrl}/{channelName.ToLower()}/{titleID}.tmd";
DownloadFile(tmdURL, Path.Join(titleFolder, $"{titleID}.tmd"), $"{channelTitle} .tmd");
}

// Apply the delta patches to the app file
task = $"Applying delta patch for {channelTitle}";
foreach (var (app, patch) in appFile.Zip(patchFile, (app, patch) => (app, patch)))
Expand Down

0 comments on commit 60eef5a

Please sign in to comment.