Homebrew NUSspli - Install content directly from the Nintendo Update Servers to your Wii U

shadowshow

New Member
Newbie
Joined
Nov 30, 2021
Messages
4
Trophies
0
Age
66
XP
16
Country
United States
Hmmmm interesting. Have u tried deleting all the files for it and replacing them completely?
If all the files for it are simply what's in the install directories on the GitHub readme, then yes. :) I've uninstalled/deleted the channel etc too, many times over. If there's any save data or similar stored elsewhere then I'm not aware of it. (excuse my ignorance if so)
 

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
@shadowshow @phrozenfeonix @lilalilaloum So to get this right: 1.38 is the last working version? Could some of you willing to do extended debugging work and, uhm, not too stupid with computer things, hop onto Discord (link at first post) and contact me there, please?

//EDIT: Also a question to you three: Haxchi or Mocha?

//EDIT²: Also please have a look at https://github.com/V10lator/NUSspli/issues/51#issuecomment-984348235 and report back if that works for you, please.

//EDIT³: Fixed with v1.42.
 
Last edited by V10lator,

Joseph2k

Member
Newcomer
Joined
Apr 7, 2012
Messages
11
Trophies
0
XP
189
Country
Mexico
@shadowshow @phrozenfeonix @lilalilaloum So to get this right: 1.38 is the last working version? Could some of you willing to do extended debugging work and, uhm, not too stupid with computer things, hop onto Discord (link at first post) and contact me there, please?

//EDIT: Also a question to you three: Haxchi or Mocha?


//EDIT³: Fixed with v1.42.
Its working again for me in 1.42, no black screen chbc entrypoint, thank you for the update.
 
  • Like
Reactions: Kopimist

phrozenfeonix

Well-Known Member
Newcomer
Joined
Oct 28, 2008
Messages
51
Trophies
0
XP
164
Country
United States
@shadowshow @phrozenfeonix @lilalilaloum So to get this right: 1.38 is the last working version? Could some of you willing to do extended debugging work and, uhm, not too stupid with computer things, hop onto Discord (link at first post) and contact me there, please?

//EDIT: Also a question to you three: Haxchi or Mocha?

//EDIT²: Also please have a look at https://github.com/V10lator/NUSspli/issues/51#issuecomment-984348235 and report back if that works for you, please.

//EDIT³: Fixed with v1.42.
Yep, Haxchi (NOT CBHC, just standard Haxchi and HBL 2.1) and 1.42 resolved the crash on start for me.
 
  • Like
Reactions: Kopimist

TonyNESgri

Well-Known Member
Newcomer
Joined
Sep 16, 2021
Messages
50
Trophies
0
Age
21
XP
143
Country
France
It seems they are available on the NUS, so NUSspli should be able to reinstall. No guarantees through so keep us informed in case you try it, please.


I tried using NUSspli, and finally managed to reinstall Friend List successfully 🥳

Everything works, I can even use custom network with it !
 

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
Just wanted to write kind of a little developer diary:

Since some versions libCURL by Nintendo has been replaced with upstream libCURL. In that process NintendoSSL (based on a pretty old version of OpenSSL) has been replaced by upstream OpenSSL.
These updates allowed SSL fun, like connecting to GitHub to receive the update .zip file. There was one problem through: OpenSSLs pseudo random number generator (RNG) can't surive for long in an embeded world like the Wii U: It expects another (at best hardware based) RNG from which it is able to reseed. So with the last versions we changed:
  • Completely replace OpenSSLs pseudo RNG with newlibs pseudo RNG so we never run out of entropy.
  • Collect entropy from various true-random sources (like: How long does it take to read the config file from the SD card? How long does it take to load textures? How much time passes between receiving the headers from the server? And so on and so forth).
  • Reseed newlibs pseudo RNG with this true-random values after each download.
This does not only fix some OpenSSL bugs (as again: OpenSSLs pseudo RNG can't surive for long in an embeded world like the Wii U) but might be the strongest cryptography ever available on the Wii U!
This crypto-beast in its full flavor* is avaliable since v1.53.


* More true-random sources might be added in the future. This is a never ending target.

//EDIT: On a side note we're slowly switching our servers to SSL-only, so if you're on a version below 1.45 (first real SSL version) update ASAP!
 
Last edited by V10lator,

nitz

New Member
Newbie
Joined
Oct 20, 2006
Messages
4
Trophies
0
XP
111
Country
United States
Hey, thanks V10lator for putting all this together and maintaining it for so long!

Gave 1.54 a shot last night, is the first time I've used NUSspli. I'm using the HBL version. On launch, it gave me repeated curl errors (returning 60), no matter how many times I pressed retry. I was able to "back" out of that and it dropped me at the main menu. From there I was able to browse to and download the files I wanted with seemingly no issues! After that, I went to try a second download (just breath of the wild, 00050000101C9400) to see if I could download faster than I could dump my disc, and was met with similar curl errors as the one I saw on launch. (Though the return code wasn't 60, I don't quite recall which it was.)

I'm not sure what I was missing but I do intend to give it another go this evening and can get the exact error codes should they show up again, as well as logs. I'll try v1.45 as well just to see if it produces different results.
 
  • Like
Reactions: Tur7L3

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
On launch, it gave me repeated curl errors (returning 60)
When we look that error up at https://curl.se/libcurl/c/libcurl-errors.html we see that error 60 is "The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK". This is most likely caused by the time/date on your Wii U being wrong, so check system settings.
Other than that I'll make sure to ad a good error message for error code 60 to the next NUSspli version.
can get the exact error codes should they show up again.
That would be great cause as shown we're able to translate these codes to more meaningfull error messages.
 

nitz

New Member
Newbie
Joined
Oct 20, 2006
Messages
4
Trophies
0
XP
111
Country
United States
That would be great cause as shown we're able to translate these codes to more meaningfull error messages.
Yeah I'm usually much better about such things, but I didn't take good enough note last night and wrote the post in the morning 😅 But oh! I didn't realize they were the curl errors directly, I should have assumed that. I guess that's what I get for posting before I had my coffee.

But! I'm home and poking it now! Still getting CURLE_PEER_FAILED_VERIFICATION on launch, and coming out of the options. No amount of retrying helps.

I went ahead and just re-downloaded the content I did yesterday because I knew that worked (0005000C101C9400). Once during the download it spit an 18 (CURLE_PARTIAL_FILE) mid-file; but picked back up on the first auto retry. I don't know where it thinks my internet went, but I'm more akin to blame the Wii U hardware or my router there.

Then, closer to the end, it threw up a 56 (CURLE_RECV_ERROR). Any attempt to retry (auto or manually) resulted the error 42 (CURLE_ABORTED_BY_CALLBACK). This was around 90% of the way complete.

Pressing B to cancel dropped me back at the main menu.

I took this moment to go check my system time. It was correct. On a whim, I set both the date and time to ridiculous values, saved the changes, then changed them back to correct ones.

That in fact *did* seem to take care of the CURLE_PEER_FAILED_VERIFICATIONs on launch! (I can't for the life of me explain why it worked, but I'll take it.)

Went back to the download that had errored out before and re-started it, and it resumed just wonderfully.

I've been downloading a few random things since then to try and recreate the CURLE_RECV_ERROR/CURLE_ABORTED_BY_CALLBACK, but haven't managed to yet.
 
Last edited by nitz,

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
I can't for the life of me explain why it worked, but I'll take it.
I'm also out of ideas here but glad it worked. No idea what happened for error 42 through. Will have a look if I see any obvious error in code (there is a callback which is able to cancel a download with error 42 but that should only happen when the filesize on disc is the same filesize the server reports and it should result in NUSspli just skipping the file, not in presenting you an error).

What data is actually being send to Nintendo?
libCURLs default HTTP client headers as well as a unique useragent. You should be able to grab these headers with Wireshark to confirm, else these are assumed from libCURLS documentation:
Code:
GET /ccs/download/whatever HTTP/1.1
Host: ccs.cdn.wup.shop.nintendo.net
User-Agent: NUSspli/1.54
Accept: "*/*"
Connection: keep-alive

//EDIT: @nitz I checked codes and there are other callbacks which could but shouldn't fail. Now we would need to know which callback fails for you and why. To get that could you run this on your PC and the DEBUG build of NUSspli on your Wii U? That way you should get a log hopefully revealing more infos.

//EDIT²: @nitz Please use one of these builds to grab the log:

//EDIT³: @nitz Forget the above, should be fixed with v1.55.
 
Last edited by V10lator,

nitz

New Member
Newbie
Joined
Oct 20, 2006
Messages
4
Trophies
0
XP
111
Country
United States
@V10lator: Your changes seem to be perfect! I just tried with a few random downloads and didn't experience the issue. (Tried first with your debug build there, then the release!)

Your tool is just so fantastic, and your responsiveness on here is amazing as well. Thanks for all you do!
 
  • Like
Reactions: Tur7L3 and Kopimist

Jamesyuan

New Member
Newbie
Joined
Dec 19, 2021
Messages
4
Trophies
0
Age
38
XP
16
Country
China
Hello everybody,I have updated my Nussipli to Ver 1.59,but when I download the games from the eshop,It will show a warnning message that" Eshop require Sig Patch" ,can anybody tells me what's going on? what should I do to fix this problem?
 

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
Hello everybody,I have updated my Nussipli to Ver 1.59,but when I download the games from the eshop,It will show a warnning message that" Eshop require Sig Patch" ,can anybody tells me what's going on? what should I do to fix this problem?
When this error comes from content purchased and downloaded through the eShop contact Nintentendo. Anyway, I guess you mean from the NUS through NUSspli? If so: You need a CFW: https://wiiu.hacks.guide/#/cfw-choice

//EDIT: Before you ask: No, you can't install Haxchi into a DS game fom NUSspli. The DS game has to be purchased and downloaded through the eShop. Use Mocha in case you don't want to purchase anything through the eShop.
 
Last edited by V10lator,

Rgorgory

Well-Known Member
Newcomer
Joined
Sep 23, 2017
Messages
62
Trophies
0
Age
38
XP
109
Country
Venezuela
Not complaining, Thanks for such a great work @V10lator I'm here just reporting a error on last release 1.59
Console: USA 32gb
CFW Haxchi
Download & Install to USB
After all files are downloaded, system gets stucked in Preparing.... I had to force the shutdown after few attempts.
I don't know if this is a known issue, In case it is, do you have any troubleshoot for it?
 

V10lator

Well-Known Member
OP
Member
Joined
Apr 21, 2019
Messages
510
Trophies
0
Age
34
XP
1,407
Country
Germany
@Rgorgory Sadly this is an unknown issue. We have bug tracking on Discord and GitHub so it would be great if you could open a new bug report (at one of the trackers, not needed on both). For best results please try to recreate this with the DEBUG build of NUSspli while having this running on your PC. That should create a detailed log which would be a great addition to the bug report. Also please re-attach the infos about your console there and add what version (HBL, Channel or Aroma) of NUSspli you're using.

Thanks in advance. :)
 

Rgorgory

Well-Known Member
Newcomer
Joined
Sep 23, 2017
Messages
62
Trophies
0
Age
38
XP
109
Country
Venezuela
@Rgorgory Sadly this is an unknown issue. We have bug tracking on discor and github so it would be great if you could open a new bug report (at one of the trackers, not needed on both). For best results please try to recreate this with the DEBUG build of NUSspli while having this running on your PC. That should create a detailed log which would be a great addition to the bug report. Also please re-attach the infos about your console there and add what version (HBL, Channel or Aroma) of NUSspli you're using.

Thanks in advance. :)
OK i did the Debug with two different scenarios, Haxchi & Mocha

1) Haxchi: SMB3 - Gets stuck in "Preparing..." after downloading the files (at the moment of debug it skipped the download files but also got stucked)
Note: The system was not frozen, the WiiU screensaver was still active, and when I turned off the gamepad i got "there is no controller connected" message. Still i had to force the console shutdown with power button

2) Webhack + Mocha: Kirby's Adventures - Didn't stuck, --- I got the error of Homebrew Launcher Channel might be outdated

Will place both reports in github

👉👉 Now i ask: is there a way to delete these downloads from failed installations? I noticed they are stored in USB:/install folder but i didn't find any option to delete these files
 
Last edited by Rgorgory,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Lol