suloku / gcmm

A gamecube/wii memory card manager
GNU General Public License v3.0
251 stars 24 forks source link

"Writing failed for unknown reasons at block 148" with after-market memcard #56

Open NightEule5 opened 11 months ago

NightEule5 commented 11 months ago

I bought a generic multiple-save memory card (here), and I can't seem to transfer a Nintendont save from my SD card.

First, the save was a different size (the memory card is 2043 blocks, Nintendont produced a 251 block save), so I padded it with GCpadder. When I try to transfer it, I get a "Writing failed for unknown reasons at block 148" error. I did get it to load once after retrying a few times, but the game showed an empty save. The padded raw file loads fine in dolphin.

I'm on version 1.5.2.

NightEule5 commented 11 months ago

Converting the save into a .gci with Dolphin worked

suloku commented 11 months ago

It's been a while, but if I correctly recall gcmm will check every written block after writing, if there's any different (i.e. due to a faulty sector on the memory card) this can happen.

The debug version should keep writing the image regardless, but the written data will be faulty.

Raw memcard writting isn't really advised, this was useful before f-zero and pso save protection was implemented, but not anymore.

GCI file writting, if I correctly recall, handles faulty sectors on its own, although this can potentially reduce the number of vlocks your memory card has over time (the same as any other storage media).

Thus restoring gci files is the recommendes way, and dolphin's memory card manager can handle any reading/comversion needed.

Ps: this has been written by recalling things I investigated over 10 years ago, so don't 100% trust me on the technical details

NightEule5 commented 11 months ago

Got it, thank you