Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2008, 05:25 PM   #1
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: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Latest MobiDeDRM Patch

[edited January 2010]

Anyone wanting to remove DRM from ebooks should use google to find Apprentice Alf's blog.




Source code lines removed. Please don't post them here in the forums. -- Alex

Last edited by pdurrant; 01-04-2011 at 04:53 PM. Reason: This post is linked from a site that appears high in google searches
pdurrant is offline   Reply With Quote
Old 12-17-2008, 07:03 PM   #2
nohmi2
Pensively observing.
nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.nohmi2 ought to be getting tired of karma fortunes by now.
 
nohmi2's Avatar
 
Posts: 1,758
Karma: 12675456
Join Date: Jun 2008
Device: Varied.
Unhappy

Quote:
Originally Posted by pdurrant View Post
Thanks to a sample of a Mobipocket ebook for which MobiDeDRM 0.04 didn't work properly, I've made a slight adjustment to the code. The new code should work with all the ebooks that 0.04 worked with, and a few more.

For Mac users I have two useful AppleScripts. The first will take MobiDeDRM 0.02 and patch it to MobiDeDRM 0.05. The second, when MobiDeDRM.py is added to the package, will give drag & drop unlocking of Mobipocket files.

For Windows and Linux, I have a diff files created with the standard POSIX diff on Mac OS X 10.5.6, and when used with the standard patch tool on MobiDeDRM 0.02 should produce version 0.05.

For those who were happy with the line-by-line instructions, I have new ones here. I've reversed the order (last line patched first) to make the line numbers constant while patching.
I have gone into Active Python, and I am afraid that I am still flummoxed about how to even start correcting MobiDeDRM4.py.
Smart, I'm not...willing to try, I am.
Please help(don't even know about the line numbers).
nohmi2 is offline   Reply With Quote
Advert
Old 12-17-2008, 07:32 PM   #3
devinoneill1
Junior Member
devinoneill1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2008
Device: none
Pdurrant
I've been having some difficulty with your mobidedrm002to005 script, I pm'd you about it
but maybe there's an applescript pro who can walk my dumb @$$ though it in the mean time.
devinoneill1 is offline   Reply With Quote
Old 12-17-2008, 08:30 PM   #4
daviddem
Connoisseur
daviddem doesn't litterdaviddem doesn't litterdaviddem doesn't litter
 
daviddem's Avatar
 
Posts: 63
Karma: 244
Join Date: Dec 2008
Location: Dubai
Device: Sony PRS-T1
Good job dude. Are you starting work on epub and lrf any time soon?
daviddem is offline   Reply With Quote
Old 12-18-2008, 02:27 AM   #5
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: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
I didn't do any of the hard work in the Mobipocket decoder code, just fixed a few minor bugs.

Paul

Quote:
Originally Posted by daviddem View Post
Good job dude. Are you starting work on epub and lrf any time soon?
pdurrant is offline   Reply With Quote
Advert
Old 12-19-2008, 01:36 PM   #6
Justy
Fanatic
Justy has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud ofJusty has much to be proud of
 
Justy's Avatar
 
Posts: 547
Karma: 27509
Join Date: Dec 2007
Location: Greater Vancouver Area, BC, Canada
Device: Nexus 7, Sony Xperia z3 tablet, Kobo Glo, Boyue T63
This sounds like a great patch. Is it possible to post the lines of code in a different thread, perhaps the "Mobipocket Decoder Tool" thread where the Admins seem to have accepted code in the past? Or in a Wiki so that we can see them again?
Justy is offline   Reply With Quote
Old 12-19-2008, 05:30 PM   #7
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: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
I'm reluctant to repost anything that has been removed from Mobileread. The administrators have to make a judgement as to what's permissible.

It is much better to have the Mobileread forums without the Mobipocket Unlocker code, than to have no Mobileread forums at all.

Paul

without
Quote:
Originally Posted by Justy View Post
This sounds like a great patch. Is it possible to post the lines of code in a different thread, perhaps the "Mobipocket Decoder Tool" thread where the Admins seem to have accepted code in the past? Or in a Wiki so that we can see them again?
pdurrant is offline   Reply With Quote
Old 12-19-2008, 08:43 PM   #8
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
I didn't see your original post, but I thought the update from 003 to 004 was posted with as little code as possible, for example:

[line 25] replace "a@18" with "a@@18"

But maybe you already were cryptic?

Last edited by FizzyWater; 12-20-2008 at 01:52 AM. Reason: to correct spelling error!
FizzyWater is offline   Reply With Quote
Old 12-19-2008, 11:43 PM   #9
devinoneill1
Junior Member
devinoneill1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2008
Device: none
I'm really dying here guys. I have no idea what I'm doing with this applescript for mobidedrm002to05. Is there anyway somebody can walk me through running it?
I'm sure its all my slow headedness, but when I try to put the code in applescript editor I get error messages stating unexpected characters, end of line expected something or other.
Any Suggestions?
Thanks,
Devin
devinoneill1 is offline   Reply With Quote
Old 12-20-2008, 12:06 AM   #10
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by devinoneill1 View Post
I'm really dying here guys.
The best place to start to look for copies of MobiDeDRM python scripts is in the responses to DarkReverser's Weblog. Since 0.05 is new, start with the most recent responses.
wallcraft is offline   Reply With Quote
Old 12-22-2008, 12:26 PM   #11
Striking Claw
Enthusiast
Striking Claw doesn't litterStriking Claw doesn't litter
 
Posts: 35
Karma: 102
Join Date: Dec 2007
Location: Basel, Switzerland
Device: Cybook Gen3, ILiad, HP hx4700
Quote:
Originally Posted by wallcraft View Post
The best place to start to look for copies of MobiDeDRM python scripts is in the responses to DarkReverser's Weblog. Since 0.05 is new, start with the most recent responses.
I tried the version mentioned in the blog and got the following error message:
File "MobiDeDrm05.py", line 100
assert off + in_off + len(new) <= endoff
^

I have the version 0.04 which works.
Does someone know where to find a listing of the differences between 0.04 and 0.05?
Striking Claw is offline   Reply With Quote
Old 12-22-2008, 05:10 PM   #12
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: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
There is only one line that changed between 0.04 and 0.05, barring comments and help info.

You should be able to find the information on the internet somewhere.

Paul

Quote:
Originally Posted by Striking Claw View Post
I tried the version mentioned in the blog and got the following error message:
File "MobiDeDrm05.py", line 100
assert off + in_off + len(new) <= endoff
^

I have the version 0.04 which works.
Does someone know where to find a listing of the differences between 0.04 and 0.05?
pdurrant is offline   Reply With Quote
Old 12-24-2008, 02:43 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I'm wondering why the code snippt to allow 0.02 to be updated to 0.04 was allowed on MR while the code snippit to go from 0.02 to 0.05 is not allowed.
JSWolf is offline   Reply With Quote
Old 12-24-2008, 01:03 PM   #14
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by JSWolf View Post
I'm wondering why the code snippt to allow 0.02 to be updated to 0.04 was allowed on MR while the code snippit to go from 0.02 to 0.05 is not allowed.
Probably because one was buried in a semi-related "help" thread so not as visible?

BOb
pilotbob is offline   Reply With Quote
Old 12-24-2008, 10:32 PM   #15
bbusybookworm
Tech Junkie
bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'bbusybookworm knows the difference between 'who' and 'whom'
 
bbusybookworm's Avatar
 
Posts: 1,027
Karma: 10080
Join Date: Aug 2007
Location: Earth
Device: iPad, MotoXStyle, OnePlusOne
Quote:
Originally Posted by pilotbob View Post
Probably because one was buried in a semi-related "help" thread so not as visible?

BOb
And also probably as it did not include scripts to do it automaticley as the original post did.

The one to change 0.2 to 0.4 required you to go find the script, and then apply the changes your self, i.e. no code was directly provided.

so a post just mention ing the additional step might be permissible, but providing a tool to do it for you might not be.

Its a bit of a blurry line, but ....
bbusybookworm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful Problems with latest IE8 patch? HarryT Lounge 11 12-12-2009 04:34 PM
help with mobidedrm bobcdy Kindle Formats 5 06-29-2009 03:00 PM
MobiDeDRM jabberwock_11 Kindle Formats 13 12-17-2008 05:33 PM
How to use Mobidedrm larlissm Sony Reader 15 10-05-2008 05:15 PM


All times are GMT -4. The time now is 11:06 AM.


MobileRead.com is a privately owned, operated and funded community.