Project

General

Profile

Actions

Emulator Issues #205

closed

Memory Card manager causes corruption

Added by federelli over 16 years ago.

Status:
Fixed
Priority:
Low
Assignee:
% Done:

0%

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

Description

What steps will reproduce the problem?

  1. Open game A, create a savefile
  2. Open game B, create a savefile
  3. Open Memory Card Manager, delete savefile from game B.
  4. Open game B, memory card corrupted appears.

What is the expected output? What do you see instead?
The delete function of the Memory Card Manager should properly delete the
selected savegame and not corrupt others

What version of the product are you using? On what operating system?
701 32bits, Windows XP SP3

Please provide any additional information below.
Most likely the recent changes done to the directory entries, the ones made
so that multi-disc games work, where not similarly applied to the delete
function of the Memory Card Manager, and if they were, then there's a bug.

Actions #1

Updated by Anonymous over 16 years ago

  • Status changed from Duplicate to Accepted
  • Relates to usability set to Yes
  • Operating system N/A added

Currently the memcard manager mangles the cards when copying or deleting saves, it's
known, but not fixed, so I guess it's a good idea to have an issue open for it.

Actions #2

Updated by XTra.KrazzY over 16 years ago

how's r1098 for it?

Actions #3

Updated by lpfaint99 over 16 years ago

TODO: for gcmemcard class, we need to check for an invalid bat.map, and invalid dir
entries, memcard manager will crash if a save says first block is 242 number of
blocks is 19 and its a memcard 251

Actions #4

Updated by lpfaint99 over 16 years ago

  • Status changed from Accepted to Fixed

Setting status to fixed, if anyone still experiences this issue it can be reopened

Actions #5

Updated by marcus about 16 years ago

  • Status changed from Fixed to Accepted

Yep, just corruted my card when I deleted a file....GRRRRRRRRR.....

Actions #6

Updated by lpfaint99 about 16 years ago

how old is the card? upload it please :)
hasnt been changed in a long time.....

Actions #7

Updated by lpfaint99 about 16 years ago

I cannot reproduce, I know its not perfect, but I have a feeling there is something
funky about your card, but please upload it still so I can analyze it

Actions #9

Updated by lpfaint99 about 16 years ago

also did you make a backup of the original?

Actions #10

Updated by marcus about 16 years ago

no, I ingored the warnings like a complete idiot...
But I was able to get most of my data back by just copying it to another
memcard...so no harm really.

Actions #11

Updated by marcus about 16 years ago

This is what I did specifically:

I imported this gcs:
http://db.gamefaqs.com/console/gamecube/save/sonic_adventure_2_battl.gcs
and hit fix checksum.
Then it said it was corrupt.
So I deleted the file, hit fix checksum, and
It still said it was corrupt.

Technically, it's a problem with the .gcs import then...as that is not a very common
file type for save data, it has not been noticed until now.

Actions #12

Updated by lpfaint99 about 16 years ago

you never need fix checksums unless you change the data using a hex editor
not that it hurts anything.
still looking at your memcard, which position was the save that you removed?

Actions #13

Updated by lpfaint99 about 16 years ago

  • Priority changed from Normal to Low

I have a good guess where the issue lies, but hard to debug without the original :(
u32 GCMemcard::DEntry_GetSaveData probably failed for animal crossings and caused
everything to stop.

Actions #14

Updated by lpfaint99 about 16 years ago

also I can import that gcs without any problems with my memcard

Actions #15

Updated by marcus about 16 years ago

  • Status changed from Accepted to Fixed

ok...I guess it was just my problem then.

Moral of Story: Follow instructions and make backups.

Actions #16

Updated by marcus about 16 years ago

  • Status changed from Fixed to Accepted

well actually not fixed...

Actions #17

Updated by lpfaint99 about 16 years ago

I think its a bug that I have seen before, but it may just have been something
damaged in your memcard. I'll try to reproduce but it may take some time

Actions #18

Updated by marcus about 16 years ago

ok. thanks :)

Actions #19

Updated by knuckles500 almost 16 years ago

Is this fixed? I rarely use the thing, but I know it's still marked as a "WIP". I
haven't seen it corrupt Memory Cards though, but it does crash for some reason when
you import/export saves sometimes.

Actions #20

Updated by XTra.KrazzY almost 16 years ago

  • Status changed from Accepted to Fixed

Fixed until anyone says otherwise.

Actions #21

Updated by d34tH.tH3.k1D over 15 years ago

Well, it's still not fixed, at least for me. I just copied a savegame from ffcc to be
able to play it and it corrupted my entire memcard (and of course I didn't make a
backup cause I'm stupid) I'm trying copying all the gci to a new memcard but still says
my memcard is corrupted.

Actions #22

Updated by d34tH.tH3.k1D over 15 years ago

Whew, I've managed to get it all back by formatting the card ingame and then importing
the gci but still the manager is not 100% safe, please take a look at it.
Thanks

Actions #23

Updated by lpfaint99 over 15 years ago

the only cards I have found it to corrupt are already corrupted in some manner, but
without the backup of your original it will be hard to determine.

Actions #24

Updated by d34tH.tH3.k1D over 15 years ago

Unfortunately, I've deleted the original and there was a wayaround so it's no big
deal. Next time I'll make sure to make a backup before using the manager.
Thanks!

Actions

Also available in: Atom PDF