View Full Version : MobiDeDRM not working any longer?


Striking Claw
11-16-2008, 06:45 PM
In the past I used MobiDeDRM on my Mobipocket eBooks to be able to use my books on all my electronic devices.
Up until a week ago this worked perfectly.
I bought some new eBooks on Fictionwise for my vacanction and used MobiDeDRM on them. Everything seamed to have worked as always, I can open those books without getting an error message and I can page 3 or 4 pages but suddenly when I try to page again my Cybook will kind of reboot and then is looked so I have to perform a reboot.
First I thought I had one currupt book but this happened with other newly bought books also.
Luckily I also had the original files with my and they work without a problem.

Has anyone encountered this problem too?

FizzyWater
11-16-2008, 07:06 PM
I believe I've read here that Cybook doesn't like images larger than...I think it was 600 x 800.

Are you also converting the book to an HTML file? You could look to see if one of the images is larger than that.

One of the Mobi files I bought a couple of weeks ago had an image in it (of the book's title page) greater than 900 x 1200!

Striking Claw
11-16-2008, 07:20 PM
I wasn't converting the format. The original is a Mobipocket book and I just tried to strip it of it's DRM. It's a novel and other than the cover there are no pictures in it and the cover was displayed just fine.

Striking Claw
11-16-2008, 08:05 PM
I just downloaded the ZIP-File 4DeDRMfiles.zip and used the Script "Python Script for MobiDeDRM.py 0.02.txt" after having renamed it to MobiDeDRM.py to again DRM a file which previously caused my problem and now I can access the decoded file with MOBIPOCKET which previously also caused the PC version to crash.
Maybe I used an old version of MobiDeDrm.

Does anybody know which version is the most current and where to get it?

TallMomof2
11-16-2008, 08:42 PM
If you go this post (http://www.mobileread.com/forums/showpost.php?p=222142&postcount=125) it explains how to convert the version 2 to version 4. I know nothing about Python but with a little trial and error I was able to produce a version 4 script that works with everything I've thrown at it.

FizzyWater
11-16-2008, 09:08 PM
If you go this post (http://www.mobileread.com/forums/showpost.php?p=222142&postcount=125) it explains how to convert the version 2 to version 4. I know nothing about Python but with a little trial and error I was able to produce a version 4 script that works with everything I've thrown at it.

Be sure to note those line numbers before you make any changes! Once you change the very first thing, the line counts don't match up any more. That was true when I did it. I did mention this elsewhere, though, so it's possible it's been corrected?

tcv
11-16-2008, 11:49 PM
It has not been corrected. :)

pilotbob
11-17-2008, 12:46 AM
It has not been corrected. :)

If you make the changes from the largest line number down then you won't have a problem... since the added lines after the issues won't change the previous line numbers.

Or you could PM for possible help on this. hint hint

BOb

HarryT
11-17-2008, 04:35 AM
I believe I've read here that Cybook doesn't like images larger than...I think it was 600 x 800.


That was a bug in the very first Gen3 firmware. Long since fixed!

nohmi2
11-17-2008, 07:29 AM
I wasn't converting the format. The original is a Mobipocket book and I just tried to strip it of it's DRM. It's a novel and other than the cover there are no pictures in it and the cover was displayed just fine.

I am having the same problem.
I am using the PID from my iPaq and it has worked perfectly until now, and I have MobiDeDRM4.

I did what any normal, sane person would do - I panicked!!
Sent Leep an e-mail and shall see what transpires.
Was it something we said?:D

Leep
11-17-2008, 10:37 AM
Use the Python WinEditor and make the following changes to your script where you see:

flags >>= 1
[Tab]while flags:
[Tab][Tab]if flags & 1:
[Tab][Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab][Tab]flags >>= 1
[Tab}return num

It should read:
flags >>= 1
#[Tab]while flags:
[Tab]if flags & 1:
[Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab]flags >>= 1
[Tab]return num


cheers

pdurrant
11-17-2008, 12:17 PM
These changes were my first attempt at a fix for the 0.02 script. They do allow the script to work on more files, but it isn't a complete solution.

Instead, you should apply (to the 0.02 script) my second set of changes, detailed here:

http://www.mobileread.com/forums/showpost.php?p=222142&postcount=125


Use the Python WinEditor and make the following changes to your script where you see:

flags >>= 1
[Tab]while flags:
[Tab][Tab]if flags & 1:
[Tab][Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab][Tab]flags >>= 1
[Tab}return num

It should read:
flags >>= 1
#[Tab]while flags:
[Tab]if flags & 1:
[Tab][Tab]num += getSizeOfTrailingDataEntry(ptr, size - num)
[Tab]flags >>= 1
[Tab]return num


cheers

nohmi2
11-17-2008, 05:48 PM
These changes were my first attempt at a fix for the 0.02 script. They do allow the script to work on more files, but it isn't a complete solution.

Instead, you should apply (to the 0.02 script) my second set of changes, detailed here:

http://www.mobileread.com/forums/showpost.php?p=222142&postcount=125

:chinscratch: Thanks to Leep and pdurrant, I have a very good idea what I will be attempting to do today.:D

After doing as I was told to; Go intoACTIVESTATE PYTHON.I managed to change it.

Striking Claw
11-19-2008, 08:10 PM
I applied the changes proposed by pdurrant to update to version 0.04 and then used the new version on all my books (>100). Then I opened all of them and pages several times. With this new version all my ebooks worked perfectly.