dolphin icon indicating copy to clipboard operation
dolphin copied to clipboard

Add SD card size option for converting folder -> file.

Open AdmiralCurtiss opened this issue 1 year ago • 7 comments

dolphin-sd-card-size

AdmiralCurtiss avatar Feb 26 '23 22:02 AdmiralCurtiss

Just curious, what is the advantage of specifying the card size?

iwubcode avatar Feb 26 '23 22:02 iwubcode

Well... so you have a specific card size. Someone on Discord recently wanted an empty 2 GB SD card image to move files into using the Wii Menu's standard SD Card copy functionality for channels/saves, and that wasn't actually possible without manually creating enough files in the SD sync folder for the autodetection to create a size close to that. (and even then, you wouldn't have an easy way to get rid of those 'temporary' files in the SD image)

AdmiralCurtiss avatar Feb 26 '23 22:02 AdmiralCurtiss

Just thinking this might be a bit confusing to users. Why wouldn't they want the biggest value if they have the space? What if they want to handle a size smaller than the min option..will they understand what 'auto' means? What happens if their data is larger than the size they select?

My question is, do we have a list of use cases where we'd need some specific value? Is the Wii Menu the only one? Maybe it'd be simpler to keep the automatic behavior and just enforce a minimum of 2GB so the Wii Menu would work? (or if there isn't enough disc space, then match exact but issue a panic alert telling them it won't work for the Wii Menu)

EDIT: or is it the Wii Menu that needs to be changed to support less than 2GB sizes? (that may cause emulation issues I guess?)

iwubcode avatar Feb 26 '23 22:02 iwubcode

Okay, I seem to have confused you. The Wii Menu accepts any kind of size (well, probably up to some limit that I'm not aware of). They just wanted a large SD card image so they could put lots of channels/saves/DLC on there and use the Wii Menu as you would on, well, a real Wii.

AdmiralCurtiss avatar Feb 26 '23 22:02 AdmiralCurtiss

AFAICT real Wii officially supports SD and SDHC cards only, so 32 GiB is the theoretical limit. I would not be surprised with the existence of homebrew apps/games that can handle bigger cards, though...

Edit: I would probably drop 64 MiB from the list of options, it can barely hold anything and is below our historical minimum virtual SD Card size, which is 128 MiB...

mbc07 avatar Feb 27 '23 09:02 mbc07

AFAICT real Wii officially supports SD and SDHC cards only, so 32 GiB is the theoretical limit.

You can make it bigger than 32 GiB no problem. It's just that if you buy an SD card that's bigger than 32 GiB, it's an SDXC card, meaning you have to reformat it from exFAT to FAT32 manually. Of course, Dolphin never uses exFAT, so for us this isn't a problem.

JosJuice avatar Feb 27 '23 17:02 JosJuice

Okay, I seem to have confused you. The Wii Menu accepts any kind of size (well, probably up to some limit that I'm not aware of). They just wanted a large SD card image so they could put lots of channels/saves/DLC on there and use the Wii Menu as you would on, well, a real Wii.

Yeah, apologies, I was very confused. I get it now :)

iwubcode avatar Feb 27 '23 18:02 iwubcode

As someone who struggled with this exact scenario (installing a mod update onto a SD Card that was too small because Dolphin's auto-size didn't leave enough room) I absolutely want this.

JMC47 avatar Jun 02 '23 18:06 JMC47

I mean, I wrote this but it still looks fine to me too looking at it months later. So sure.

AdmiralCurtiss avatar Jun 02 '23 18:06 AdmiralCurtiss