Emulator Issues #11360
closedGameCube Memory Card Manager deletes incorrect memory files when bulk-deleting.
0%
Description
What's the problem? Describe what went wrong.
When I open a my .raw GameCube memory card file in the GameCube Memory Card Manager, then select two or more saves and click to Delete them, it instead deletes every other file starting from the first I selected. For example, in the included screenshot I chose to delete Mario Party 4, 7, 5, and 6 - it instead deleted Mario Party 4, Mario Party 5, Zelda Twilight Princess, and Night of 100 Frights.
If I select files near the end of the card, where this behavior would make it try to delete files past the end of the list, it instead gives a "Failed to remove file" dialogue (One dialog for each imaginary save it tries to delete - I get 18 "Failed to remove file" dialogues if I try to delete all of my 36 saves, and afterwards have 18 remaining).
I also sometimes get a "Directory checksum and directory backup checksum failed" error when I try to open the .raw file again after having deleted saves from it in this fashion. This does not happen every time, and I'm not really sure what triggers it. I only noticed this when I started using the Bisect tool, so it's possible it doesn't even happen in the current version.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Present as of 5.0-8578
Is the issue present in the latest stable version?
No. Issue is Qt specific.
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
The issue first appeared in 5.0-6257, where the GameCube Memory Card Manager was implemented in Qt. Note that the issue was never present in the Wx version because it didn't support selecting multiple files at once (From what I can tell, at least).
What are your PC specifications? (CPU, GPU, Operating System, more)
i5-7600K, 1060 6 GB, Windows 10
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
Attached the .raw file I've been using.
Files