d0k3 / GodMode9

GodMode9 Explorer - A full access file browser for the Nintendo 3DS console :godmode:
GNU General Public License v3.0
2.12k stars 191 forks source link

[BUG] CXI Files fail to build #727

Closed kran27 closed 2 years ago

kran27 commented 3 years ago

So you want to report a bug? Hold on, there are ways you could make things easier for us:

Info about your system Include this info to make our work easier:

Help yourself Especially for any kind of boot issue ("GodMode9 doesn't boot"), but also in many other cases these steps make a lot of sense and we will ask you to do them anyways:

Have you actually read this? [x] I have read the information above

d0k3 commented 3 years ago

Does building a CIA work in these cases? I may already have an idea how to fix this

d0k3 commented 3 years ago

Okay, I tried to reproduce this, but with no success.

For the titles that don't work, can you dump the CXI via the title manager (find it in the HOME button menu)? Can you build a CIA for these titles? And can you find a small one not working, and maybe contact me on Discord, so we can work something out?

kran27 commented 3 years ago

the title manager doesn't have an option to dump .cxi files, (other than browsing to the folder), and building a CIA does work. the smallest one that doesnt work is the official Super Metroid VC.

d0k3 commented 3 years ago

I've got still no luck in reproducing this, so we'll try this in a different way. Here's a GM9 build with more verbose error messages: GodMode9.zip

Can you try with this one and tell me what error message you get? We may need a second round of testing after that, but this will lead us to the solution for sure.

kran27 commented 3 years ago

Hi, sorry for late response. This version gives the error "possible crypto error" on every game that suffers from this issue. Edit: this error is also thrown when cancelling an operation, it may be inaccurate.

d0k3 commented 2 years ago

Alright, sorry about the long radio silence. Can you tell me if it fails before the progress bar is shown or afterwards?

d0k3 commented 2 years ago

We'll make this simpler - just try this test build: GodMode9_test_09102021.zip

Do you get an additional prompt for titles that fail?

d0k3 commented 2 years ago

@kran27 - don't want to bug you, but did you get this solved in the meantime? Tried the test build? Any updates?

kran27 commented 2 years ago

totally missed your other message, just tried that build, no other message, still fails.

d0k3 commented 2 years ago

Alright, thanks for getting back. You don't get any prompt now, so this is not a crypto error. We can also exclude lot's of other problems, cause CIA building works in the places CXI doesn't.

There's only one source of error left, and that's file operations (open, read, seek). The most likely cause is some problem with your SD card. Can you try another SD (that would be the best option) or at least check the one you got thoroughly (complete surface scan with chkdsk, or h2testw).

d0k3 commented 2 years ago

Alright, we hadn't had any updates on this in a long time, so I'm assuming this was an SD card issue and is already fixed. @kran27 - feel free to get back if the issue still persists.