gcmm icon indicating copy to clipboard operation
gcmm copied to clipboard

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

Open NightEule5 opened this issue 1 year ago • 3 comments

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 avatar Oct 10 '23 22:10 NightEule5

Converting the save into a .gci with Dolphin worked

NightEule5 avatar Oct 11 '23 01:10 NightEule5

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

suloku avatar Oct 11 '23 05:10 suloku

Got it, thank you

NightEule5 avatar Oct 11 '23 06:10 NightEule5