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

Go Back   MobileRead Forums > E-Book Formats > Mobi

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Mobi Mobipocket Mobi is a widely-supported format; the Amazon Kindle format is based on it

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-17-2008, 06:25 PM   #1
pdurrant
Wizard
pdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavens
 
pdurrant's Avatar
 
Posts: 2,229
Karma: 13769
Join Date: Jul 2007
Location: Norfolk, England
Device: Sony PRS-505; Amazon Kindle 2 Intl.
Latest MobiDeDRM Patch

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.

Source code lines removed. Please don't post them here in the forums. -- Alex
pdurrant is offline   Reply With Quote
Old 12-17-2008, 08:03 PM   #2
nohmi2
Addict
nohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with othersnohmi2 plays well with others
 
nohmi2's Avatar
 
Posts: 307
Karma: 2802
Join Date: Jun 2008
Location: Queensland/Australia
Device: Kindle
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
Old 12-17-2008, 08: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, 09:30 PM   #4
daviddem
Enthusiast
daviddem doesn't litterdaviddem doesn't litterdaviddem doesn't litter
 
daviddem's Avatar
 
Posts: 49
Karma: 244
Join Date: Dec 2008
Location: Dubai
Device: Hanlin V3
Good job dude. Are you starting work on epub and lrf any time soon?
daviddem is offline   Reply With Quote
Old 12-18-2008, 03:27 AM   #5
pdurrant
Wizard
pdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavens
 
pdurrant's Avatar
 
Posts: 2,229
Karma: 13769
Join Date: Jul 2007
Location: Norfolk, England
Device: Sony PRS-505; Amazon Kindle 2 Intl.
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
Old 12-19-2008, 02:36 PM   #6
Justy
Evangelist
Justy plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with othersJusty plays well with others
 
Justy's Avatar
 
Posts: 428
Karma: 2871
Join Date: Dec 2007
Location: BC, Canada
Device: Cybook Gen3, BeBook, BeBook Mini, iPAQ 2490
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?
__________________
Currently Reading: Lili St. Crow Betrayals

My BeBook Affiliate Link, BeBook Reviews & Impressions, BeBook/Cybook Comparison
Justy is offline   Reply With Quote
Old 12-19-2008, 06:30 PM   #7
pdurrant
Wizard
pdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavens
 
pdurrant's Avatar
 
Posts: 2,229
Karma: 13769
Join Date: Jul 2007
Location: Norfolk, England
Device: Sony PRS-505; Amazon Kindle 2 Intl.
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, 09:43 PM   #8
FizzyWater
You kids get off my lawn!
FizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it isFizzyWater knows what time it is
 
FizzyWater's Avatar
 
Posts: 725
Karma: 2388
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Dell Axim/ PRS505 and 600/ no more CyBook or eBookwise
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 02:52 AM. Reason: to correct spelling error!
FizzyWater is offline   Reply With Quote
Old 12-20-2008, 12:43 AM   #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, 01:06 AM   #10
wallcraft
reader
wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'wallcraft knows the difference between 'who' and 'whom'
 
wallcraft's Avatar
 
Posts: 5,297
Karma: 10146
Join Date: Mar 2006
Location: Mississippi, USA
Device: iLiad, Kindle 1, EZ Reader Basic and Pocket Pro
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 online now   Reply With Quote
Old 12-22-2008, 01: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, 06:10 PM   #12
pdurrant
Wizard
pdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavenspdurrant is a rising star in the heavens
 
pdurrant's Avatar
 
Posts: 2,229
Karma: 13769
Join Date: Jul 2007
Location: Norfolk, England
Device: Sony PRS-505; Amazon Kindle 2 Intl.
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, 03:43 AM   #13
JSWolf
Mobile Reader Geek
JSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmosJSWolf has become one with the cosmos
 
JSWolf's Avatar
 
Posts: 17,387
Karma: 21146
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-505
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.
__________________
Jon



If you want to listen to really good music while you surf Mobileread, here.
JSWolf is offline   Reply With Quote
Old 12-24-2008, 02:03 PM   #14
pilotbob
Grand Wizard
pilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercisepilotbob juggles running chainsaws for a bit of light exercise
 
pilotbob's Avatar
 
Posts: 12,327
Karma: 38310
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Classic
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
__________________
It is desirable that we should have a supply of good books; we cannot have such a supply unless men of letters are liberally remunerated; and the least objectionable way of remunerating them is by means of copyright.
-- Thomas Macaulay, 1841
pilotbob is online now   Reply With Quote
Old 12-24-2008, 11:32 PM   #15
bbusybookworm
Tech Junkie
bbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with othersbbusybookworm plays well with others
 
bbusybookworm's Avatar
 
Posts: 959
Karma: 2592
Join Date: Aug 2007
Location: Notts, UK
Device: PSR500,Gen3,N800, iPhone3G & Pocket Pro
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
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobidedrm - How the heck do you use it?? reeder Mobi 40 10-20-2009 10:05 AM
Okay, seriously confused about MobiDeDrm wallflower75 Mobi 159 09-14-2009 05:08 PM
MobiDeDRM jabberwock_11 Mobi 13 12-17-2008 06:33 PM
How to use Mobidedrm larlissm Sony Portable Reader PRS-500/505 15 10-05-2008 06:15 PM


All times are GMT -4. The time now is 01:11 PM.


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