Notices


Reply
Thread Tools
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#41
Originally Posted by lunged View Post
Wow, I'm sorry, but I am completely lost. Using Mac OSX, can I just use Terminal? It has Python built in, right? So how do I do this? I know I can type "python" (sans quotes, of course) in terminal to run the python interpreter (I think thats what it is) but from here, I have no idea what to do. I have tried typing in the location of eReader2html.py, but that does nothing. Copying and pasting the whole code from eReader2html.py in there doesn't work either. I bet you are laughing now. I DID read some on Python.org, but what I read didn't help. Thanks a lot for helping a total noob.
I haven't done this (decrypting) in a long time, and I don't want to try re-learning it now. But maybe my old notes about doing this will do the trick for you if nobody else answers. If these notes don't help, I can't. But maybe this will suffice.

If this doesn't help, it also may be because you haven't told us specifically what you're trying to do. These are my notes for removing the DRM (for which I legitimately had the PID for the Mobi format) from a MobiPocket Reader file so I could read it in FBReader on my N800. Also, my example is for a Windows PC.

My notes:

Example of decrypting (removing DRM) from MOBIbook (MobiReader) with PID
Go to Python; select Run from File Menu
In Script File enter: C:\scripts\script3.py
In Arguments enter: AmericanGods.prc AmericanGodsY.prc VVBQTEW$DJ
I had Script and .prc file in same folder (don't know if that matters)
Or, from Command Line in DOS: C:\Python25>python mobidedrm.py AmericanGods.prc AmericanGodsY.prc VVBQTEW$DJ
python mobidedrm.py when.prc whenY.prc VVBQTEW$DJ

* AmericanGods is the book to decode
* VVBQTEW$DJ was my Personal Identifier for that book file

Don't know if that helps. Good luck!
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#42
Yes you can just use Terminal.

Save the ereader2html.py file somewhere on your system that you can navigate to using terminal. Perhaps in the folder that terminal opens at would be best for convenience.

Then type
Code:
python eReader2html.py --help
You should see something like:

Code:
eReader2Html v0.03. Copyright (c) 2008 The Dark Reverser
Converts eReader books to HTML
Usage:
  ereader2html infile.pdb outdir "your name" credit_card_number
Note:
  It's enough to enter the last 8 digits of the credit card number
So the first parameter is the pdb book (you must specify a path if is isn't in the same folder as ereader2html) the second is the output folder (a folder because an html book is made of several files), the third is the name you bought the book under, and the fourth is the credit card number you used to buy the book.

Code:
python ereader2html.py thebook.pdb thebook "Fred Bloggs" 12345678
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:04.