05-20-2011, 11:42 AM | #1 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Is there any way to "unpack" a pdb file?
I'm sure I could use Calibre to convert a drm-free pdb file to epub or something else for editing but I've found that I have much better results unpacking mobi's and other ebook formats, performing my editing, then using Calibre to convert to my desired final format.
I have an unpack script for mobi that I can use to gain access to the files without the modifications conversion would perform. Is there something similar for ereader (pdb) ebooks or are pdb files more than just a "wrapper"? Thanks. |
05-20-2011, 12:51 PM | #2 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Try my ereader2html.zip attached to this post. It will extract non-drm'ed ereader files to html, then you can go from there. If this doesn't work, then I could perhaps change/fix that utility to "make it work" if you send me the .pdb file.... |
|
Advert | |
|
05-20-2011, 03:44 PM | #3 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Thanks for the reply.
I tried the Windows executable version of your tool but didn't have much luck. It did pull out the html but there were a lot of garbage characters anywhere "smart" punctuation should be. Like it or not, it may just be easier for me to convert it with Calibre and then fix I don't like about the conversion. Honestly, Calibre is an awesome tool. I just don't care some of the things it does in the process of converting. Thanks again. - Byron |
05-20-2011, 03:47 PM | #4 |
Wizard
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
If you can find the erader2pml tool, it works much better than the HTML one. Someone sent it to me so I don't know where you can get it other than that, but it saved my PDB books from being a total loss and now I have plain old mobi from them.
|
05-21-2011, 11:13 AM | #5 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
eReader PDB's use PML internally. You will need a tool like what ficbot described to extract the actual contents. The "ereader2html" script actually converts the PML into HTML. This doesn't sound like what you want.
Do realize that there are two different types of eReader PDB files. An older and a newer one type. They are structured slightly differently. Basically anything created with makebook is using the older format and anything created with dropbook is using the newer. Also, with the newer files some parts of the document actually compiled and otherwise not explicitly referenced in the text. I can't speak for ficbot's tool but calibre does handle these extra parts. However, PML does not map 1 to 1 to anything (EPUB, HTML, MOBI...) so some liberty is taken to make it look correct. Have you tried using the HTMLZ output when converting? That should give you the least amount of "special processing" and give you plain HTML to work on correcting. |
Advert | |
|
05-21-2011, 01:11 PM | #6 |
Guru
Posts: 882
Karma: 5565888
Join Date: Jun 2009
Location: Townsend, WI
Device: Palm TX, PRS-505 (BLUE)
|
I'm just tagging along on this thread. Good stuff here. If anything happens to my TX, I have no way to read all the pbd books. Is calibre easy to use?
|
05-21-2011, 01:55 PM | #7 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
05-21-2011, 04:26 PM | #8 |
Guru
Posts: 882
Karma: 5565888
Join Date: Jun 2009
Location: Townsend, WI
Device: Palm TX, PRS-505 (BLUE)
|
Thanks. I never had a use for it before. Probably time to download it and check it out.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Failed to open the file!" - Fictionwise non-DRM ePubs on Libre | Nakor | Ectaco jetBook | 6 | 03-04-2010 06:37 PM |
File names with "(" and ")" can cause screen freezes | greenapple | Ectaco jetBook | 5 | 02-04-2010 08:25 PM |
"Best" pdb reader to check on assembled books | Dr. Drib | Workshop | 13 | 05-05-2008 03:54 PM |
.PDB Encrytpion tool/"F-Format Wrapper Package"/Published Data | arvinder | Workshop | 0 | 08-20-2007 04:17 AM |
Help! the "Make Sony Reader File" under "Options" is different | Dr. Drib | Sony Reader | 6 | 04-23-2007 02:56 AM |