mirror of
https://github.com/WiiDatabase/nusdownloader.git
synced 2024-12-25 10:01:50 +01:00
Switch NUS URLs to Wii U CDN
This commit is contained in:
parent
30dde55ace
commit
8a12a538ce
@ -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.
|
NUS Downloader is licensed under the GNU GPL v3.
|
||||||
|
|
||||||
## Changelog
|
## 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
|
* Based on NUS r122
|
||||||
* Checkbox to use the folder structure of NUSD v1.5
|
* Checkbox to use the folder structure of NUSD v1.5
|
||||||
* Fixed script creation on "Emulate Update"
|
* Fixed script creation on "Emulate Update"
|
||||||
|
@ -15,11 +15,11 @@ namespace libWiiSharp
|
|||||||
{
|
{
|
||||||
public class NusClient : IDisposable
|
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 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 WII_USER_AGENT = "wii libnup/1.0";
|
||||||
private const string DSI_USER_AGENT = "Opera/9.50 (Nintendo; Opera/154; U; Nintendo DS; en)";
|
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 WebClient wcNus = new WebClient();
|
||||||
private bool useLocalFiles;
|
private bool useLocalFiles;
|
||||||
private bool continueWithoutTicket;
|
private bool continueWithoutTicket;
|
||||||
@ -59,7 +59,7 @@ namespace libWiiSharp
|
|||||||
|
|
||||||
public void SetToWiiServer()
|
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");
|
this.wcNus.Headers.Add("User-Agent", "wii libnup/1.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user