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

Invalid sectors generated when a license file isn't provided #24

Closed
spicyjpeg opened this issue Feb 6, 2022 · 1 comment
Closed

Invalid sectors generated when a license file isn't provided #24

spicyjpeg opened this issue Feb 6, 2022 · 1 comment

Comments

@spicyjpeg
Copy link
Collaborator

When using mkpsxiso 2.00 to pack an image without specifying a license file in the XML, the first 37632 (2352x16) bytes of the generated image are zerofilled. This is not the correct behavior as only the payload section of these 16 sectors shall be zerofilled in an image without license data; the 16-byte sector header, as well as the CRC and ECC data at the end of each sector, must still be valid.

Most emulators and tools will reject the image (DuckStation) or fail to detect its format (jPSXdec) if the first sectors are not encoded correctly, even if the cuesheet lists the first track as MODE2/2352.

@Lameguy64
Copy link
Owner

Fixed in v2.01.

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