| 
			
			 | 
		#46 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 22 
				Karma: 20 
				Join Date: Dec 2008 
				Location: Mass, USA 
				
				
				Device: CyBook Gen3, iPhone, PRS-505 (Blue) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I use the AppleScript with no problems. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Mac OS 10.5.6 Python provided with the system. The error is saying it can't find the python program. The script executes the following command: python MobiDeDRMPath encryptedFilePath unlockedFilePath encryptionKey I believe this assumes that python can be found on the path. Is the path setup correctly? My python is located in /usr/bin Which points to the python provided by Leopard. Macintosh:~ rick$ echo $PATH /sw/bin:/sw/sbin:/Users/rick/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/X11R6/bin Macintosh:~ rick$ which python /usr/bin/python Macintosh:~ rick$ ls -la /usr/bin/python lrwxr-xr-x 1 root wheel 72 Nov 5 2007 /usr/bin/python -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python Macintosh:~ rick$ Hope this helps... Rick  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#47 | |
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,449 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I recommended ePUB because it is an open and documented,  based on XML and HTML, all wrapped as a zip file. It should be readable with standard tools indefinitely. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Microsoft .lit format is also pretty good - internally it's also HTML, and fairly standard HTML at that (more so than Mobipocket). But as with Mobipocket, it's wrapped in a proprietary way, with no documentation on the file format. (All public documentation on .mobi, .lit, etc,., is reverse engineered.) Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#48 | 
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,449 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'd guess you haven't copied the mobidedrm.py script into the resources folder of the Applescript package. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Paul  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#49 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,832 
				Karma: 11844413 
				Join Date: Jan 2007 
				Location: Tampa, FL USA 
				
				
				Device: Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 http://www.mobipocket.com/dev/articl...eFolder=prcgen BOb  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#50 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452 
				Karma: 7185064 
				Join Date: Oct 2007 
				Location: Linköpng, Sweden 
				
				
				Device: Kindle Voyage, Nexus 5, Kindle PW 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	Last edited by tompe; 03-02-2009 at 12:49 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#51 | 
| 
			
			
			
			 Nameless Being 
			
			
			
		
			
			
			 | 
	
	|
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#52 | |
| 
			
			
			
			 Nameless Being 
			
			
			
		
			
			
			 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#53 | |
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,449 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Documentation of the peculiarities of MObipocket's HTML, along with documentation of what standard HTML Mobipocket will accept and convert into Mobipocket's particular HTML variant. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	If you can find official documentation of the binary format and the various metadata stored in it, I'd be delighted. Something along the lines of the reverse-engineered info in the wiki: https://wiki.mobileread.com/wiki/MOBI Quote: 
	 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#54 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,832 
				Karma: 11844413 
				Join Date: Jan 2007 
				Location: Tampa, FL USA 
				
				
				Device: Kindle Touch 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#55 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Feb 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have a little Problem. Thanks for the Patch. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			when i try it i get this error: Code: 
	Traceback (most recent call last):
  File "input\booktitle.prc", line 1, in <module>
    BookTitle
NameError: name 'Book_Title' is not defined
******* Got it working ******** I had to use MobiHuff instead of DeDrm Last edited by Nedan; 03-22-2009 at 08:21 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#56 | |
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: May 2009 
				
				
				
				Device: bebook 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I know it's some time ago, but could you explain to me what you did to fix it? Or anyone else for that matter. I'm having exactly the same problem. Thanks! Sander Last edited by Sanderfox; 06-01-2009 at 09:08 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#57 | 
| 
			
			
			
			 reader 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977 
				Karma: 5183568 
				Join Date: Mar 2006 
				Location: Mississippi, USA 
				
				
				Device: Kindle 3, Kobo Glo HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			  There was an earlier decoding method that actually used MobiPocket's own Java code, which means that it decodes all MOBIs.  However, it may now be very hard to find - see Secure Mobipocket Decoder v0.3.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#58 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: May 2009 
				
				
				
				Device: bebook 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you for the tip. You were right, that script is now impossible to find anywhere. I also can't find any information on the TEXTREAD format. Is there anyone here that still has the old Secure Mobipocket Decoder files or has some information on the TEXTREAD format?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#59 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: May 2009 
				
				
				
				Device: bebook 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I got it! pdbshred did the trick  
		
	
		
		
		
		
		
		
		
		
		
		
	
	  It exports everything to html and bmp files. The only problem is that the bmp files aren't used correctly in the html file. It just says '<img src=BMP" for every image. Can that be changed?
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#60 | |
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() Posts: 488 
				Karma: 258 
				Join Date: Mar 2009 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Seriously thoughtful Problems with latest IE8 patch? | HarryT | Lounge | 11 | 12-12-2009 05:34 PM | 
| help with mobidedrm | bobcdy | Kindle Formats | 5 | 06-29-2009 04:00 PM | 
| MobiDeDRM | jabberwock_11 | Kindle Formats | 13 | 12-17-2008 06:33 PM | 
| How to use Mobidedrm | larlissm | Sony Reader | 15 | 10-05-2008 06:15 PM |