Skip to content
New issue

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

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

Already on GitHub? # to your account

push error messages to stderr #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

israpps
Copy link

@israpps israpps commented Jan 4, 2025

No description provided.

@bucanero
Copy link
Owner

bucanero commented Jan 8, 2025

thanks, I'll test it out.

Btw, I remember you asked about using ps2vmc-tool with some smaller 4 Mb/2Mb VMCs, and I think this line might be the problem in your use case:

*flags = mcdi->cardflags & ((vmc_size % 0x800000 == 0) ? ~CF_USE_ECC : 0xFF);

I'm checking the file size (8 Mb) to set the ECC or non-ECC flag. As your file size is smaller, it could end up tagged as "no-ECC" when your image still has ECC, and then the rest of the code will have errors when trying to read the vmc.

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

Successfully merging this pull request may close these issues.

2 participants