V10lator / NUSspli

NUS simple packet loader/installer
GNU General Public License v3.0
492 stars 18 forks source link

When installing certain games it says that "data may be corrupt" #80

Closed LordPikmar closed 2 years ago

LordPikmar commented 2 years ago

When installing certain games, the main 3 I have found a problem with, being Dr. Luigi, Pikmin, and Affordable Space Adventures, do not install for me. They get 50% or more through and then I get a red screen that recommends I make sure to check if I have 01_sigpatches.rpx (I do) or that the files may be corrupt. I also have ample memory (an entire 30 gigabytes left on my usb) 20220218_164856

V10lator commented 2 years ago

Are you trying to download to USB, SD or MLC? Also could you tell the exact title IDs failing cause we seem to be unable to recreate this.

Also make sure you're using the latest NUSspli version (1.79 at the time of writing).

V10lator commented 2 years ago

Also delete already downloaded files from the install folder and retest with v1.80.

MilkIsCruel commented 2 years ago

Hi @V10lator, thank you for your incredibly useful program. I'm seconding @LordPikmar's issue on Nusspli 1.80.

I've successfully installed about 10 games yesterday (prior to the 1.80 update), but now every title I download via Nusspli fails ~20% into the installation process. Neither download location (SD or USB) nor installation target (NAND or USB) seem to affect success rate. Smaller titles that are around 50MB-500MB (e.g. "00050000101e6e00", EU region Picross 3D; "0005000010146100", EU region NES Remix) still install perfectly fine to both USB and NAND. Larger titles that are >1GB all consistently fail (e.g. title "0005000010145d00", EU region Super Mario 3D World). Yesterday I was still able to install even 10GB titles.

All storage devices have plenty of space availble (100GB free on SD card, 16GB on NAND, and 2TB on USB HDD).

Since this sometimes causes issues I should mention that I did use a Mac to set up my SD card. I have however cleared my SD card of all hidden files that may have been created by Mac OS, using the same process that consistently solves any issues caused by them on other devices – so I don't think this is a Mac issue. It would still be interesting if OP is also running Mac OS.

Redownloading sigpatches has not resolved the issue on title "000500001012be00" (EU region Pikmin 3 - downloaded to SD, fails installing to NAND and USB).

Edit: Downgrading to 1.79 did not resolve the issue.

V10lator commented 2 years ago

@MilkIsCruel This is surely no Mac issue but please don't overlook my writing:

delete already downloaded files

NUSspli is designed to keep downloaded files whenever possible to save traffic so when the files on disc are corrupted already up- / downgrading can't help...

//EDIT: So the most important question right now is: Do downloads done with v1.80 only - no prior versions involved - still fail to install?

MilkIsCruel commented 2 years ago

@V10lator Deleting the Install folder has resolved the issue. Multiple games now installed successfully. I can't speak on your question about 1.80 yet, because I'm still on 1.79, but I will update tomorrow and will report back should I run into any further problems.

Thank you very much for the help.

MilkIsCruel commented 2 years ago

@V10lator Updated to 1.80 and the very first game I've tried has already failed installing again (0005000010180700, EU Captain Toad).

To shed some light on your question on whether this may be caused by prior 1.79 install files I will delete the install folder and redownload the title.

Edit: Even after deleting the Install folder, installation of the aforementioned title fails on 1.80.

V10lator commented 2 years ago

@MilkIsCruel Thanks for that. Should be fixed with 1.81 now (don't forget to delete already downloaded/corrupted files).

MilkIsCruel commented 2 years ago

Did a fresh install and these corruptions still happen on 1.81 sadly.

V10lator commented 2 years ago

Now that shouldn't be. I know this is a big question but could you test what's the last working version?

V10lator commented 2 years ago

Also does downloading to SD instead of USB make any difference?

V10lator commented 2 years ago

Please try https://public.nbg01.v10lator.de/NUSspli/NUSspli-1.82-BETA1-HBL-DEBUG.zip (don't forget to delete corrupted downloads before). In case you get an error message while downloading tell me the error number, please.

benjipop commented 2 years ago

By the way, downloading to sd or usb and then installing made no difference

cstro216 commented 2 years ago

By the way, downloading to sd or usb and then installing made no difference

i also have been having this problem on version 1.8.4 i have the 01_sigpatches.rpx file. ive also tried reformatting my sd card with no results.

V10lator commented 2 years ago

Is this still an issue with v1.85?

benjipop commented 2 years ago

Let me try tonight.

El lun., 4 abr. 2022 6:15, V10lator @.***> escribió:

Is this still an issue with v1.85?

— Reply to this email directly, view it on GitHub https://github.com/V10lator/NUSspli/issues/80#issuecomment-1087092430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYM64UMHY53QVG2OUUOBWN3VDJUENANCNFSM5OZWXN5Q . You are receiving this because you commented.Message ID: @.***>

V10lator commented 2 years ago

Should be fixed with v1.87 - feel free to reopen in case it's still an issue.

benjipop commented 2 years ago

It worked for Bayo2 and ZBOTW with 1.87!!

V10lator commented 2 years ago

Please comment only in case you're able to reproduce this with both, downloads to USB and SD, else this might be a storage issue.

V10lator commented 2 years ago

Is this still an issue with v1.93?

mezcalfighter commented 2 years ago

Will try today with two titles

mezcalfighter commented 2 years ago

Successful download Title: Smash bros wii u Config: SD 64GB USB (SD + adapter): 256GB

Going to try with a new title and update in 3 hours. Please don't close issue just yet

tjukkie commented 2 years ago

@CristianOrtega97 Did it work? I tried 5.6 GB game which was flawless. Need to test with bigger game which is not installed already ;)

mezcalfighter commented 2 years ago

Tried with 4 different ones and it worked

ghost commented 2 years ago

@CristianOrtega97 Did it work? I tried 5.6 GB game which was flawless. Need to test with bigger game which is not installed already ;)

Can verify that Watch_Dogs works which is a fairly large download (being 15 - 16 gigs around that area) Issue seems to be resolved for the time being.

KendrickLamar2003 commented 2 years ago

Disney Infinity 3.0 (10-11 gigs) and Game and Wario (3 gigs) does not work. Tried downloading it to all available locations, does not work when installing it to MLC or USB. It always says files could be corrupt.

KendrickLamar2003 commented 2 years ago

Also, when installing with WUP Installer GX2, it says sigpatches are required for eShop/DLC for Disney Infinity. For Game and Wario, it says that my SD card needs to be reformatted to 32KB (even though I formatted it using diskutil in terminal on macOS)

ghost commented 2 years ago

Also, when installing with WUP Installer GX2, it says sigpatches are required for eShop/DLC for Disney Infinity. For Game and Wario, it says that my SD card needs to be reformatted to 32KB (even though I formatted it using diskutil in terminal on macOS)

I've had this problem before even using SD Cards 32-gigs and under, as far as I can tell (in my case at least) it's not a problem with the SD Cards but something else interfering. I havent had the time recently to fully explore the root of the issue, but like I said in my case at least I"m quite certain the SD Card is not the issue as I've tried with over 8 SD Cards with different files each downloaded from different places of varying sizes all with the same result being your

SD card needs to be reformatted to 32KB

error

However upon trying to think of possibilities it's seems to be quite likely that there's a specific file / folder with contents, with files that dont read quite happily with WUP Installer when going over the offending Block. I have tried something before that worked temporarily which was getting a completely fresh Homebrew install on a new SD card and the only app I installed was WUP Installer, which after doing so the installs from SD worked perfectly, upon re-adding my old files though it started failing again which leads me to believe what I have either has a corrupted file somewhere or WUP Installer just doesnt take too kindly to it.

KendrickLamar2003 commented 2 years ago

Hmm. So the problem here is WUP Installer doesn't like a file on my SD card? The card is also 64 gigs

alokation2020 commented 2 years ago

Um, its don't help me its always doing the problem...

ghost commented 2 years ago

Um, its don't help me its always doing the problem...

It's possible that this is just a storage issue for you, what I recommend doing is trying both the HBL and Channel versions to see if it makes a remote difference (doing this at one point helped me when I didnt realize my SD Card was corrupted so it interfered with the HBL version [I think, could be wrong though]) Secondly try seeing if installing to USB makes a difference as opposed to downloading files to SD because if your SD Card is the offender here then that may be why it's failing to install.

As V10lator has also stated before always make sure to delete any existing files in the /install directory as if any of those are corrupted it may interfere with the installation of other titles. See my post above for another possible fix, try a fresh install of Homebrew on a new SD Card with just the bare minimum for what you need (WUP Installer, NUSspli, etc) If it then proceeds to work that either means your SD Card was corrupted, needs replacing / reformatting or there is a file that screws with one of the blocks on your SD Card.

As V10lator mentioned this seems to be an issue with storage, not NUSspli itself, please try to verify and rectify the error before assuming NUSspli is to blame.

V10lator commented 2 years ago

This is random heap corruption. We (and a ton of other, independent devs who want to stay anonym) work our asses off to fix it.

Please give us time as this is more than a bit stressing. So far we identified bugs in multiple libraries we're using as well as a few in our codes. Hell, even WUT itself is bugged. So again: Please give us more time. With a bit of luck we just identified the last bug but I can't see any more line of code for today... Also even if we fixed anything we need to wait for library updates before we can release the fixes.

BTW: The reason that this heap corruption corrupts downloads most of the time is that we use an I/O queue occuping more than half of the Wii Us RAM. So corrupting the content of the queue (and as such the download) is more than likely.

KendrickLamar2003 commented 2 years ago

On Fri, 27 May 2022 at 11:02 PM V10lator @.***> wrote:

This is random heap corruption. We (and a ton of other, independent devs who want to stay anonym) work our asses off to fix it.

Please give us time as this is more than a bit stressing. So far we identified bugs in multiple libraries we're using as well as a few in our codes. Hell, even WUT itself is bugged. So again: Please give us more time. With a bit of luck we just identified the last bug but I can't see any more line of code for today... Also even if we fixed anything we need to wait for library updatesbefore we can release the fixes.

BTW: The reason that this heap corruption corrupts downloads most of the time is that we use an I/O queue occuping more than half of the Wii Us RAM. So corrupting the content of the queue (and as such the download) is more than likely.

— Reply to this email directly, view it on GitHub https://github.com/V10lator/NUSspli/issues/80#issuecomment-1139992239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYJTDXUZPFORSBBFLJ2UO3VMES6ZANCNFSM5OZWXN5Q . You are receiving this because you commented.

Take your time. We will wait.

ghost commented 2 years ago

@V10lator Glad to hear the root of it has been identified, but like @DJZSwag said, take your time, we dont want you to stress out too much :sweat_smile:

alok6623 commented 2 years ago

Um, its don't help me its always doing the problem...

It's possible that this is just a storage issue for you, what I recommend doing is trying both the HBL and Channel versions to see if it makes a remote difference (doing this at one point helped me when I didnt realize my SD Card was corrupted so it interfered with the HBL version [I think, could be wrong though]) Secondly try seeing if installing to USB makes a difference as opposed to downloading files to SD because if your SD Card is the offender here then that may be why it's failing to install.

As V10lator has also stated before always make sure to delete any existing files in the /install directory as if any of those are corrupted it may interfere with the installation of other titles. See my post above for another possible fix, try a fresh install of Homebrew on a new SD Card with just the bare minimum for what you need (WUP Installer, NUSspli, etc) If it then proceeds to work that either means your SD Card was corrupted, needs replacing / reformatting or there is a file that screws with one of the blocks on your SD Card.

As V10lator mentioned this seems to be an issue with storage, not NUSspli itself, please try to verify and rectify the error before assuming NUSspli is to blame.

Ok i will test, i have install the channel version 👍 (the homebrew version dont work still have a error)

alok6623 commented 2 years ago

I dont think its my storage because i have change my sd card, and reinstalled everything, for my usb its working i have test all of my games

V10lator commented 2 years ago

Again: This is random heap corruption. We do our best to fix this but we need more time.

V10lator commented 2 years ago

Should have been fixed with v1.96 by @Xpl0itU .