http://bugs.winehq.org/show_bug.cgi?id=29426 --- Comment #5 from Alex <cerebro.alexiel(a)gmail.com> 2011-12-24 04:38:39 CST --- (In reply to comment #1)
Could you point to spec describing which blocks the volume serial number is located?
I'm the author of the patch "kernel32: Add UDF support" (http://source.winehq.org/git/wine.git/commitdiff/73f4e23938142225efdc233f9db...) I read the spec and the volume serial is not part of it. In fact, Windows uses its own algorithm depending on the filesystem of the volume. See http://social.msdn.microsoft.com/Forums/en-US/windowsopticalplatform/thread/... Quoting the author : "This serial number is NOT part of the file system on the disc and is NOT located on the source disc AT ALL. It is entirely generated by Windows." See also the code used by wine : http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/volume.c#l569 To find which sector was used by Microsoft : - I made an ISO of my Sims3 DVD (a retailer/genuine one) - I got the serial of it from a (VirtualBox'ed and genuine) XP by mounting the ISO file - I simply wrote a for loop and found it was the 257th sector with bytes reversed Note that it was the only UDF DVD I had (and still have). If you found that this sector depends on the UDF revision, the code must be changed. Either you feel ready to write a patch (I can review it if you want) or not and in this case, I can write it for you. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.