I have been wanting to read Howard Kaylan’s book Shell-Shocked (his autobiography) for some time now, but when it first came out it was only in paperback, and I’m trying not to buy dead-tree books unless I really know I’m going to want to keep them, or unless there will never be an ebook version, because my flat barely has room to move for books.
It’s now available on Kindle, but I don’t have a Kindle, I have a Kobo.
It is, however, available in (DRM’d) ePub form — in the Netherlands.
So in order to buy this book and read it, I have gone to bol.com/nl , gone through the registration and purchase process *in Dutch* (a language which I don’t speak — Google translate doesn’t work well with that site once you get to the purchase pages), and then gone through the process of stripping the DRM from it so it can be read on my GNU/Linux machine.
(It turns out that the book is also available as an epub in Australia, but that doesn’t show up until the second page of Google results, after quite a few illegal downloads).
I did that because I believe that writers should be paid for their work, and I am willing to go to quite some effort to pay for a legitimate, legal, copy of that work. But I can imagine a lot of people being put off by — or actually unable to cope with — that process, and just downloading an illegal copy, for free.
And here’s the thing — there have been times when *I* have done that, because it’s been impossible to find a book any other way. If someone who’s willing to go to the lengths I am to buy legally will sometimes end up going for the illegal option, is it any wonder at all if someone who cares less about the issue will?
It *should not* ever be easier to go for an illegal download than a legal one. I know that territorial deals are an important part of modern publishing, and that there are good reasons behind them, but still, it comes down to this:
If you don’t make your book (or album, or film, or whatever) available in every format, in every territory, and without DRM restrictions, you *will* lose sales. There *is* someone who would have bought your book/album/film who now won’t, not because they don’t want to, but because you won’t let them. Some of those people will ‘pirate’ your product, but it’s not the ‘piracy’ that’s the problem, it’s the fact that you’re preventing those people from giving you money.
Please note, before reading any further — the legality of anti-DRM tools varies from country to country. Do not do this if you live in one of those countries where it is illegal.
There are plenty of guides to stripping the DRM from ebooks in Windows or Apple computers, but few out there that tell you how to do it in GNU/Linux. This is doubly annoying, as there are no versions of the most popular ereading DRM tools for GNU/Linux, so even those who are OK with DRM in principle (and most GNU/Linux users aren’t) can’t read the DRM’d versions even if they want to.
I tried doing this two years ago, and hit a number of hideous problems, but things have become a little easier now, so it’s only annoyingly difficult. These steps should work for other Debianesque distributions, like Mint or Ubuntu, but Debian’s the only one I’ve tried it on.
First, the version of WiNE that ships with Debian has a bug which stops Python installing correctly. To get around this, first uninstall WiNE:
apt-get purge wine*
Now, go to the repository for the MEPIS distribution. Download the latest versions of WiNE (currently wine_1.4-1mcr8.5+1_i386.deb ) and WiNE-gecko (wine-gecko_1.4.0-1mcr85+2_all.deb ).
Then, as root, in the directory to which you have downloaded the files:
dpkg -i wine_1.4-1mcr8.5+1_i386.deb wine-gecko_1.4.0-1mcr85+2_all.deb
You have now installed a working version of WiNE.
Now, you need to install Python and Pycrypto in WiNE. Handily, these are packaged in this .rar file, which also contains the scripts you’re going to need.
Extract that file somewhere, then go to the directory you’ve extracted it to and, as your normal user, run:
wine msiexec /i python-2.6.2.msi
Follow the instructions in the window that pops up, and this should install python into your home directory, in ~/.wine/drive_c/Python26 . If it installs it somewhere else, change the rest of these instructions appropriately.
Next, as your normal user, still in the directory to which you’ve extracted everything, run:
Follow the instructions, and this should install pycrypto in your WiNE directory.
Now, you will want to remove the MEPIS version of WiNE and go back to the Debian version, because otherwise you won’t be able to update your system easily, so, as root, run:
apt-get purge wine*
apt-get install wine
You shouldn’t have to run anything else as root from this point on.
Now, get hold of a copy of Adobe Digital Editions. This can be downloaded from here (you have to use a direct download as otherwise Adobe’s website will detect your OS and stop you downloading it).
Follow the instructions and ADE will now be able to run under WiNE. Download a DRM’d book and open it — it should open automatically in ADE.
Copy the files aineptepub.pyw and ineptkey.pyw to the directory you just created.
wine python.exe C:\\inept\\ineptkey.pyw
A box should pop up saying “key successfully retrieved to adeptkey.der”.
wine python.exe C:\\inept\\aineptepub.pyw
A box will pop up, asking for an input directory and an output directory. For the input directory, choose “My Digital Editions” from your home directory, and choose anywhere sensible (like your desktop) as the output directory. Within seconds, you should have decrypted copies of all your DRM’d ebooks in the directory you’ve selected, called something like “Quantum_Computing_since_Democritus.jb.decrypted.epub” (assuming the book you decided to try this on is Scott Aaronson’s excellent new book on quantum computing) which can then be loaded in a program like calibre or copied to an ereader.
To decrypt books in future, all you’ll have to do is first open them in ADE and then run:
wine python.exe C:\\inept\\aineptepub.pyw
I suggest putting those two lines in a little shell script to save time.
I recently bought a cheap e-reader from Waterstone’s, and am very happy with it so far. I’ve been using it to read books from Project Gutenberg, papers from the Arxiv, ebooks from Baen, books by Charles Stross and so on.
One thing I will be doing very little of, unfortunately, is buying new books to read on it.
This is not because I don’t want to. I currently buy several new books a month, and one big advantage of using an ereader is that I don’t have to buy as many paper copies of books as before. My flat is fast filling up with large amounts of paper, and being able to fit several thousand books into something smaller than my hand is very convenient.
But the software my ereader uses, Adobe Digital Editions, doesn’t have a GNU/Linux version. This is slightly irritating, as all major ebook devices at the moment are based on GNU/Linux, so it would make sense for the software they use to run on GNU/Linux as well as Windows and Macs, but it’s not the end of the world – I probably wouldn’t want to run that software anyway, as I prefer Free Software (free as in speech, the Adobe software doesn’t cost anything financially). The PDF and ePub readers on my desktop PC aren’t the same software the ereader uses either, and that’s not a problem.
The problem is that the books you can buy from shops that sell in Adobe’s format (such as waterstones.com, whsmith.co.uk and barnes and noble, to take some of the bigger examples) are almost all DRM’d, and require Adobe’s software to be installed on the computer on which you buy it.
This means that if I want to buy a book from Waterstone’s or somewhere, I have three options:
1) Buy the bulky, expensive, paper copy which will take “2-3 weeks” to get to me assuming it’s not lost in the post
2) Install WINE on my desktop, install Adobe Digital Editions in WINE (not supported by Adobe), buy the ebook, then – because you can’t synch a copy of Adobe Digital Editions in WINE with one on an e-reader) run a load of dodgy Python scripts you can find on the internet to (illegally) break the DRM and convert it into a normal ePub file, so I can read it on my e-reader. This involves breaking the law at least once, possibly twice, just to read a book I’ve paid for.
3) Just buy a different book, from the few retailers who do want my money.
It’s not like it’s impossible to release books for e-reading without DRM. The ePub and PDF files I sell through Lulu (and, I’m pretty sure, the Kindle copies of my books too) are all DRM-free. The music industry have already learned this lesson – I can buy any album I want, pretty much, as DRM-free MP3s which will work fine with any computer or device. The result of this is I’ve bought hundreds – possibly thousands – of legal MP3 albums in the last few years (since I’ve had the money, a fast internet connection, and a decent-sized hard drive). Even closer to the publishers’ wallets, I’ve spent the best part of a thousand pounds in the last four years buying audio dramas – fiction – from Big Finish, who again sell their books DRM-free. In fact, between the public domain and enlightened publishers who understand that turning away customers is a bad idea, there are enough books available to keep me reading for years without ever having to decrypt a DRM’d file.
As far as I can see all DRM on ebooks is doing is making life difficult for some customers and turning others away, while any book one could possibly want is freely available on torrent sites. The publishing industry should learn from the music industry, rather than repeating its mistakes.
I dislike the Kindle, for a variety of reasons, but it’s hugely popular and Amazon sold more ebooks than physical books last year on it, so I’ve made my books available that way.
Please note, I do not have any Kindle software myself, so have no way of checking these files – they’re mechanically converted by Amazon from the same files the print copies of my book were created from, but I cannot vouch for their quality, as they are in a closed format I can’t read.
If anyone buys these and has a problem with them, email me at andrew @ thenationalpep . co . uk and I’ll gladly send you a free replacement as an open-format ePub.
These should be identical in every way to the print, PDF and ePub versions, except they have no ISBN (Lulu provides these free, Amazon doesn’t).
I’m still working with Lulu tech support about the ePub version of Sci-Ence! Justice Leak!, but that should be out shortly.
These have lending enabled and don’t have any DRM. I would ask, but not demand, that you tell people to buy their own copy rather than copy it for them, as I’m still very far from even having made minimum wage for the time taken to write them and it’s very cheap, but I’m not going to force you to with extra hoops to jump through.