Instead of working at the WBFS level, maybe I should concentrate on WBFS files, since WBFS drives will probably be obsolete soon anyway. On a FAT32 drive, I could create a text file that contains whatever hashes are needed. This text file could exist without interfering with anything, since it would be ignored by anything that doesn't support it.
Hmm for that, the existing md5sum utility can be used saving you some effort, it can do both create and check the md5 sums, so you could just include it in the distribution and run it as an external tool.
http://www.pc-tools.net/win32/md5sums/
Also the format it creates can be used also on linux / macosx machines...
QUOTE(fig2k4 @ Dec 11 2009, 03:06 PM) Also, if I hash only the used Wii disc sectors, it would be possible to have an online database too. But it was suggested that the disc usage calculations in libWBFS are flawed, so that's why I calculated the hash for the WBFS sectors, instead of the Wii disc sectors.