View Single Post
Old 04-14-2009, 12:46 PM   #15
thianliongpatpoh
Zealot
thianliongpatpoh doesn't litterthianliongpatpoh doesn't litterthianliongpatpoh doesn't litter
 
Posts: 101
Karma: 218
Join Date: Aug 2008
Device: iPad
Quote:
Originally Posted by =X= View Post
Required:
Dropbook/MakeBook (tools to make eReader books)
ereader2html.py

One time setup:
Install DropBook or MakeBook (obsolete java command line tool)
http://www.ereader.com/ereader/help/...k/download.htm


Make changes to erader2html:
(note line number are before ANY insert)
Insert after line 470 keep the same indent as line 470
os.makedirs(outdir + '\\book_img')

Insert after line 476 keep the same indent as line 476
file(os.path.join(outdir + '\\book_img', name), 'wb').write(contents)

Insert after line 479 keep the same indent as line 479
file(os.path.join(outdir, 'book.pml'),'wb').write(er.getText())


Now for the process:
Step 1: Run the ereader2html tool.
Step 2: Open DropBook. And drag and drop the book.pml file on the drop book application.
(this step will produce a file book.pdb in the same directory)
=X=
THANK YOU!
I've been trying to find a way to do an ereader2pdb (just strip the drm), and your additional coding to the current ereader2html.py does the jobe nicely. I've compared the original purchased-drm-laden pdb with the resulting pdb created by this ereader2ereader (or ereader2pml.py as you suggested), and it is an apple-to-apple copy (on display), albeit difference in filesize.
Again, thanks for the nice tool.

tlpp
thianliongpatpoh is offline   Reply With Quote