From 8a12a538cef7c9d4fb2f0d9bf8c43522877a056a Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Wed, 23 Mar 2022 17:16:51 +0100 Subject: [PATCH] Switch NUS URLs to Wii U CDN --- README.md | 6 +++++- libWiiSharp/NusClient.cs | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d7baa3c..d3df65b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,11 @@ This is v1.9 Mod of the NUS Downloader by [hamachi-mp](https://forum.wii-homebre NUS Downloader is licensed under the GNU GPL v3. ## Changelog -### v1.9 Mod +### v1.9 Mod NUS-Fix (by WiiDatabase.de) +* Switch to Wii U CDN for Wii titles since NUS is down +* Modified from the decompiled EXE + +### v1.9 Mod (by hamachi-mp) * Based on NUS r122 * Checkbox to use the folder structure of NUSD v1.5 * Fixed script creation on "Emulate Update" diff --git a/libWiiSharp/NusClient.cs b/libWiiSharp/NusClient.cs index 9897ff1..a805292 100644 --- a/libWiiSharp/NusClient.cs +++ b/libWiiSharp/NusClient.cs @@ -15,11 +15,11 @@ namespace libWiiSharp { public class NusClient : IDisposable { - private const string WII_NUS_URL = "http://nus.cdn.shop.wii.com/ccs/download/"; + private const string WII_NUS_URL = "http://ccs.cdn.wup.shop.nintendo.net/ccs/download/"; private const string DSI_NUS_URL = "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/"; private const string WII_USER_AGENT = "wii libnup/1.0"; private const string DSI_USER_AGENT = "Opera/9.50 (Nintendo; Opera/154; U; Nintendo DS; en)"; - private string nusUrl = "http://nus.cdn.shop.wii.com/ccs/download/"; + private string nusUrl = "http://ccs.cdn.wup.shop.nintendo.net/ccs/download/"; private WebClient wcNus = new WebClient(); private bool useLocalFiles; private bool continueWithoutTicket; @@ -59,7 +59,7 @@ namespace libWiiSharp public void SetToWiiServer() { - this.nusUrl = "http://nus.cdn.shop.wii.com/ccs/download/"; + this.nusUrl = "http://ccs.cdn.wup.shop.nintendo.net/ccs/download/"; this.wcNus.Headers.Add("User-Agent", "wii libnup/1.0"); }