Skip to content

Commit

Permalink
Switch NUS URLs to Wii U CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Mar 23, 2022
1 parent 30dde55 commit 8a12a53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions libWiiSharp/NusClient.cs
Expand Up @@ -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;
Expand Down Expand Up @@ -59,7 +59,7 @@ protected virtual void Dispose(bool disposing)

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");
}

Expand Down

0 comments on commit 8a12a53

Please sign in to comment.