Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-15-2010, 03:19 PM
Stream Recorder
 
Posts: n/a
Default

Download DRM Tools Archive


DRM Tools Archive contains all the scripts (except ineptpdf.py) and applications mentioned in the Dark Reverser’s blog & Aprentice Alf's blog.

DRM Tools are open source? How can I be sure it’s safe and not a trojan horse?
All the DRM removal tools here are scripts of one kind or another: Python, Applescript or Windows Batch files. So they are inherently open source, and open to inspection by everyone who downloads them.

The one piece of compiled code is the progress bar for the DeDRM AppleScript, and the source for that is included in the DeDRM AppleScript package.

The download links just give me .php files, not .7z, .zip, .rar files. What’s wrong?
You’re using some kind of “fast download” plugin with your browser. Turn it off and the downloads will work properly.

I have an old encrypted PDF file that won’t open in Adobe Digital Editions, how can I remove the DRM?
If your PDF ebooks cannot be read in Adobe Digital Editions, the tools here cannot help. They are probably encrypted using the Content Server 3 (or earlier) methods which Adobe no longer support, not even to allow conversion to Content Server 4 (AKA Adobe Digital Editions).

See _http://www.adobe.com/products/contentserver/migrate.html for more details.

Adobe only allowed a nine month window (March-December 2009) for migration to Adobe Digital Editions after the Content Server 3 servers were discontinued.

You might be able to find tools to remove the DRM from other sites, but there are several different old encryption schemes for PDF files, and Aprenitce Alf is not unfamiliar with them. Tetrachroma’s blog might be a good starting point for Windows users, as he’s done a lot of work on some PDF DRM scheme called “File Open”.

What ebooks do DRM Tools scripts work on?
There are six main ebook formats.
  1. PDF
  2. EPUB
  3. eReader
  4. Mobipocket
  5. Topaz
  6. LIT

There are seven main DRM schemes currently in use.
  • Adobe Adept
  • Barnes & Noble
  • Amazon Mobipocket
  • Amazon Topaz
  • Microsoft
  • eReader
  • Apple Fairplay

The scripts linked from here remove DRM from PDF, EPUB, eReader, Mobipocket and Topaz format ebooks using Adobe Adept, Barnes & Noble, Amazon and eReader DRM schemes.

Microsoft LIT format ebooks using Microsoft’s DRM scheme can have the DRM removed using ConvertLit.

There’s currently no way to remeove DRM from ebooks using Apple’s Fairplay DRM scheme, used on most ebooks bought at Apple’s iBooks ebook store.

Who wrote DRM Tools scripts?
The authors tend to identify themselves only by pseudonyms:
  • The Adobe Adept and Barnes & Noble scripts were created by I Love Cabbages
  • The Amazon Mobipocket and eReader scripts were created by The Dark Reverser
  • The Amazon Topaz DRM script was created by CMBDTC
  • The Amazon Topaz format conversion was created by some_updates
  • The DeDRM AppleScript was created by Apprentice Alf
  • The Calibre plugins were created by DiapDealer
  • The Microsoft code was by drs

Where are my ebooks located?
Your ebooks are stored on your computer or on your ebook reader. You need to find them to be able to remove the DRM. If they are on your reader, you should be able to locate them easily. On your computer it’s not so obvious. Here are the default locations.

Macintosh
  1. Navigating from your home folder,
  2. Kindle books are in either Library/Application Support/Kindle/My
  3. Kindle Content or Documents/My Kindle Content, depending on your version of Kindle for Mac.
  4. Adobe Digital Editions ebooks are in Documents/Digital Editions

Windows
  1. Navigating from your My Documents folder
  2. Kindle books are in My Kindle Content
  3. Adobe Digital Editions ebooks are in My Digital Editions
  4. Mobipocket Reader ebooks are in My eBooks

I just upgraded Kindle for Mac and now the tools don’t work
You now have more than one kindle-info file, because uAmazon have moved the location of the file. The easiest thing is to delete both and let it get created again.

Go to (Home Folder)/Library/Application Support/ and delete the “Kindle” folder and the “Amazon” folder. Now start Kindle for Macintosh. You’ll need to register it to your account again, and possibly download your books again, but after that the scripts will work again.

Topaz: I used the tools on a Kindle file, and got back three files instead of one. Which one’s the de-drmed ebook?
The Topaz file format contains two versions of the book plus a composite xml description of the book.

The _SVG file is a zip archive of the scalable vector graphics (svg) image of each page of the book. Each image is comprised of a list of glyphs and positions. It is pretty much an exact copy of the original book, but made of up of images, not text.

The second version is the text version, unchecked by human eye. It contains the usual kinds of errors you’d expect in OCRed text. This is the version used to create the HTML “_nodrm” zip archive. Neither DeDRM nor Calibre are causing the errors – the errors are in the OCR stored in the original ebook.

The third file contains the XML files which truly are the Topaz internal format.

If you want to understand this format better, unzip this file and open any of the xml files with a text editor.

You can import the HTML version (_nodrm.zip) into Calibre to convert it to epub, mobi, etc as it is easily reflowable and convertible but it may need spellchecking and hand editing to clean it up the OCR errors. You can also import the set of SVG images into Calibre or other PDF creation software and convert them to an image-only based PDF.

Double-clicking on any of the .pyw tools, I get the message “there is no default application specified to open the document”. I have Mac OS X 10.5
There is a bug in the Python Launcher set up on Mac OSX 10.5.X that wasn’t fixed until 10.6.X. So you have two options one very easy and one is just a bit harder but will allow python scripts to work well for the future
  1. Easy: simply use the DeDRM AppleScript which is a drag and drop application that works on both 10.5 and 10.6. Once it is unzipped, simply drag and drop your epub and it will remove the drm for you.
  2. A Bit Harder: Fix the error with the Python Launcher in Mac OS X 10.5 by following these steps:
    1. In Finder navigate to /System/Library/Framework/Python.framework/Versions/2.5/Resources/
      and then double-click to run the “Python Launcher.app”.
    2. When it comes up UNCHECK the box for “Run in a Terminal window” for each of the possible pulldown values “Python Script”, and “Python GUI Script” and “Python Bytecode Document”.
    3. Then quit out of the Python Launcher.app.
    4. Then go to wherever you have a python file with a .pyw extension and single-click on it. Then do a Finder->GetInfo and in the GetInfo window that appears, make sure you have it set to “Open with” the “Python Launcher.app” and then use the Change All… button to make sure this will work for all Python .pyw scripts.

I’ve bought Mobipocket ebooks from an on-line retailer without having to enter the PID of my copy of Mobipocket Reader, and I can read them in Mobipocket Reader. But when I try to convert them to another format, calibre says that they have DRM, but the tools say they don’t contain a PIDs, and I should open them in Mobipocket Reader. What’s going wrong?
The books are downloaded without a PID, but still encrypted. Opening them in Mobipocket Reader causes Mobipocket Reader to create a copy of the ebook that contains with the Mobipocket Reader’s PID. This copy is stored in the My eBooks folder in your My Documents folder. It’s this copy that you must use with the DRM removal tools.

Since the original versions of the script and programs were released, various people have helped to maintain and improve them, mainly some_updates, DiapDealer and Apprentice Alf.

Download DRM Tools Archive
Code:
https://github.com/apprenticeharper/DeDRM_tools/releases
DRM Tools Archive web-page
Code:
https://apprenticealf.wordpress.com/2012/09/10/drm-removal-tools-for-ebooks/
Reply With Quote
 
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:26 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons