Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NightEule5 opened this issue Oct 10, 2023 · 3 comments

Comments

@NightEule5
Copy link

NightEule5 commented Oct 10, 2023

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
Copy link
Author

Converting the save into a .gci with Dolphin worked

@suloku
Copy link
Owner

suloku commented Oct 11, 2023

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
Copy link
Author

Got it, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants