Quote:
Originally Posted by julia
i gave up as well.
have tried all the directions given on the forum.
it isn't working on my mac.
getting frustrated. and i just want to read the books on any device.
and i have looked up the visual guide as well.
i'm a reader not a programmingspecialist...
|
I haven't been following this thread closely, but I think these scripts should be easy to execute on the Mac, especially if you have Tiger or Leopard that come with Python included in the install. I have noticed that the example command lines in the later part of this thread do seem to be missing one thing - the word python at the beginning.
So keeping things simple: make a working directory wherever you like (off your home directory, on the desktop, whatever) and dump the python scripts and the Mobi books you wish to convert in there (if everything is in one place you will avoid any path errors, etc.).
Open a Terminal and go the the working directory you have created (e.g. if you make a directory called "ebook" on your desktop then):
Then type:
Code:
python mobidedrm.py infile.prc outfile.prc ABC123DE56
where:
infile.prc = source book (whatever name it has)
outfile.prc = destination book (whatever name you wish)
ABC123DE56 = device PID
If your PID happens to have a "$" symbol, then you need to type:
Code:
python mobidedrm.py infile.prc outfile.prc ABC123D\$56
Here the "\" is very important, because it prevents the "$" from being interpreted in its UNIX context, and rather just as a character - therefore the python script will take it in as part of the PID field. If you prefer you can also surround the PID in 'single' or "double" quotes without the "\" included:
Code:
python mobidedrm.py infile.prc outfile.prc 'ABC123D$56'
python mobidedrm.py infile.prc outfile.prc "ABC123D$56"
One of these should work. If you just want to make sure the script actually executes, try:
Code:
python mobidedrm.py
and you should receive this back:
Code:
MobiDeDrm v0.04. Copyright (c) 2008 The Dark Reverser
Removes protection from Mobipocket books
Usage:
mobidedrm infile.mobi outfile.mobi PID
- I'm guessing you are not typing the "python" at the start of the command line?
- Or perhaps your python script has not been updated to 0.04, in accordance with the instructions on this site?
- Or, unlikely, but python may not be installed on your Mac, although I think it's automatic unless you have a really old version or somehow it was intentionally not installed?
Basically, these scripts work on a Mac. Sometimes, for some reason, a book will not work with the latest script, but then using the older version (0.01 or 0.02) will do the trick.
On Windo$e, I'm guessing you won't need the "python" at the beginning, but I'm not sure about that. Try either of these:
Code:
mobidedrm infile.prc outfile.prc ABC123DE56
mobidedrm infile.prc outfile.prc "ABC123D$56" (use "quotes" around PID if it has $ in it)
Hope this helps!