antangelo / xdvdfs

Original Xbox DVD Filesystem library and management tool
https://xiso.antangelo.com/
MIT License
77 stars 8 forks source link

xdvdfs-cli MD5 command doesn't work with Redump images #95

Closed astarivi closed 2 months ago

astarivi commented 2 months ago

Redump images do not seem to work with the MD5 CLI command, the following error is printed out when trying to calculate the MD5:

error: Not an XDVDFS volume

antangelo commented 2 months ago

It looks like cmd_md5 is not using crate::img::open_image to open the source, which accounts for the volume offsets. Probably an oversight from doing the original refactor.