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

Why not generating edc data for non data sectors of str? #12

Open
marco-calautti opened this issue Dec 28, 2020 · 1 comment
Open

Why not generating edc data for non data sectors of str? #12

marco-calautti opened this issue Dec 28, 2020 · 1 comment

Comments

@marco-calautti
Copy link
Contributor

At the following line, I was expecting a mode2form2 mode:

writer->WriteBytesXA( buff, 2336, cd::IsoWriter::EdcEccNone );

Don't know about other str generation tools, but the official one (mc32), leaves edc blank in mode 2 form 2 sectors. So, rebuilding a bin with the current version of mkpsxio will be recognized as a bin with errors (tested this on Megaman Legends).

@Lameguy64
Copy link
Owner

I don't exactly remember the reason why I chose not to generate EDC for M2F2 format sectors, either it could be because I wanted the output to match MC32's as you described or I forgot to enable it when I got EDC/ECC generation working. It wasn't much of a problem in most cases as the emulators and tools I use don't really check for the EDC/ECC codes and that CD burners typically generate the missing codes while burning.

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