antangelo / xdvdfs

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

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

Closed astarivi closed 1 month ago

astarivi commented 1 month 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 1 month 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.