Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSI Exception when you have too many games #384

Open
ggtylerr opened this issue Apr 11, 2024 · 4 comments
Open

DSI Exception when you have too many games #384

ggtylerr opened this issue Apr 11, 2024 · 4 comments

Comments

@ggtylerr
Copy link

Describe the bug
If the wii games folder contains too many files (roughly 1000?) a DSI exception occurs when selecting it. This is, what I assume to be, due to the file list being loaded into memory, and there not being enough to accomadate for it.

To Reproduce
Steps to reproduce the behavior:

  1. Acquire a large amount of games somehow
  2. Select the folder in Settings -> Custom Paths -> Wii Games
  3. App hangs for a little bit, then exception occurs.

What version of WiiFlow Lite
v5.4.9

On Wii or Wii U vWii
Wii U

Screenshots
IMG_20240410_195248

Additional context
It's worth noting that this is not a problem unique to WiiFlow Lite - USBLoaderGX and even WiiXplorer have this same issue. It's able to load it up to a certain point, so it seems as though the Wii / vWii is simply too underpowered to handle it. That being said, you could definitely workaround this issue - maybe only load 500 files at a time.

@ggtylerr
Copy link
Author

Update: It might be a problem with my drive? I have no idea. My original wbfs folder has 900 games now and I seperated the other 347 into a different one - the Wii crashes when going into that. So I thought it was a corrupt file. But it isn't. When you put any of the files in there into its own folder, the Wii can't see any of the folder contents, and then up to a certain file count, it just gives up and throws an exception. My initial guess would be a corrupt sector, but it's viewable and perfectly usable on Windows. Plus, I had roms in that folder that are now unviewable. Even did a chkdsk and SMART check, and everything looks good. I have no clue, maybe it's how homebrew handles NTFS partitions? Is there a shared library for this that WiiFlow uses?

@eku
Copy link
Contributor

eku commented Apr 11, 2024

Would you mind testing with the current version 5.5.4-1? Save your SD:/wiiflow folder before, cause the settings and database files are migrated to a new format and going back leads to an error.

@ggtylerr
Copy link
Author

Still getting a DSI exception :/ Here's a better pic of the dump.
IMG_20240411_033242.jpg

@eku
Copy link
Contributor

eku commented Apr 21, 2024

I would guess an out of memory. But @Fledge68 can certainly analyse the dump better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants