Project

General

Profile

Actions

Emulator Issues #11360

closed

GameCube Memory Card Manager deletes incorrect memory files when bulk-deleting.

Added by Anonymous over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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

SaveFiles.png (98.9 KB) SaveFiles.png Referenced screenshot Anonymous, 08/24/2018 09:18 AM
MemoryCardA.USA.7z (273 KB) MemoryCardA.USA.7z Anonymous, 08/24/2018 09:26 AM
Actions #1

Updated by Techjar over 5 years ago

Do you get similar "wrong/imaginary file" behavior with copy, export, etc?

Actions #2

Updated by Anonymous over 5 years ago

It seems to work properly with export. I can't test Copy because I can't load a memory card in Slot B at all - its "Browse..." button never becomes active. Not sure if that's another issue or if I just don't know how to use it.

Actions #3

Updated by Techjar over 5 years ago

Yeah, I've mentioned multiple times that the button is not intuitive. You click the "<" button and it changes the slot and turns into a ">" button.

Actions #4

Updated by Anonymous over 5 years ago

That did it - 'Copy to B' also works as expected. Seems like 'Delete' is the only thing affected. 'Export All...' also has no issues.

The issue I described affects both Slot A and Slot B, for the record.

Actions #6

Updated by JMC4789 over 5 years ago

  • Status changed from New to Fixed
Actions

Also available in: Atom PDF