View Single Post
Old 06-22-2008, 08:33 AM   #76
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 58,011
Karma: 217974227
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage, Yotaphone 2
It's possible to patch the 0.02 script to make it work with all the files that work with 0.01. Try the following changes:

Add two lines before line 63 (while True: )

if size <= 0:
return result


Comment out line 72 (while flags: ) and remove one indent tab from each of the following three lines
(if flags & 1:
num += getSizeOfTrailingDataEntry(ptr, size - num)
flags >>= 1)

And that should do it. It's worked on all my DRMed files - around 50 or so, some of which wouldn't work with 0.01 and some wouldn't work with 0.02.

Paul

Quote:
Originally Posted by IceHand View Post
There's a bug in v.0.02 of MobiDeDrm that will cause it to fail on some files. Try version 0.01.
pdurrant is offline   Reply With Quote