Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlIf there is anyone who could please help me with the above error I would appreciate it.
I've now tried it on a 32-bit system as well, with the same results. Perhaps it's an issue with my ebook? |
#32
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
Code:
http://pastebin.com/RDERReyk |
#33
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
However, I am still getting the same error. Could you PM me or post the whole topaz tools files you are using? Thanks! |
#34
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlHelp! I accidentally obtained a Topaz e-book and, via Amazon Kindle for Mac, downloaded it. I also downloaded it to Kindle for the iPhone. I would like to convert it to an EPUB for iBooks on the iPhone. As I read through the posts in this thread, I find myself getting very confused. Exactly how do I do what I want to do?
I do know how to use the skindle app to unlock the downloaded file (using Parallels emulator software which lets me run Windows on my Mac). The result can be either a compressed .tpz file or an uncompressed one — but neither of those works with calibre! Does unlocking the original file with skindle get me any closer to the result I'm after? Some of the Python scripts mentioned here seem to assume one has a physical Kindle, for which one needs to specify the PID (whatever that is). How do I go about doing things if all I have are a Mac and an iPhone, with no PID? I get the feeling I have to convert the downloaded .tpz file to the SVG format. I have no idea what SVG means, though, or why I can't convert the .tpz file directly to an EPUB. I'd like to find out the answers to both those questions. I also think I understand that the SVG file then has to be converted to HTML, which can at last be input to calibre and converted to EPUB format. Am I right about that? Again, why not just convert the .tpz file directly to (if not EPUB) HTML? Any help anyone can give me will be much appreciated ... |
#35
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
http://stream-recorder.com/forum/sho...8&postcount=24 |
#36
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
Also, when I run TopazExtract_Kindle4PC.pyw, I get the following error: ImportError: cannot import name windll |
#37
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
Removing DRM protection from Kindle for PC ebooks using unswindle DeDRM AppleScript for Mac OS X 10.5, 10.6 |
#38
|
|||
|
|||
Script bugs?I finally found the tools to try to convert a topaz book to something more portable (maybe?). The book downloaded to my PC as .azw file along with a .mbp file, but it looked like a topaz book and Skindle identified it as a topaz book. I renamed it Book.tpz for simplicity and ran the following script:
python cmbtc_dump.py -d -o Book Book.tpz I got the following result: File "cmbtc_dump.py", line 774 except Exception as message: ^ SyntaxError: invalid syntax However this script seemed to work: python cmbtc_dump_nonk4pc.py -d -o Book -p abCdeFgh Book.tpz Following the instructions, I then ran: python gensvg.py Book Which in the end resulted in the following: page0055.dat Traceback (most recent call last): File "gensvg.py", line 405, in <module> sys.exit(main('')) File "gensvg.py", line 329, in main flat_xml = convert2xml.main(pargv) File "C:\EZSkindle\Topaz\lib\convert2xml.py", line 789, in main xmlpage = pp.process() File "C:\EZSkindle\Topaz\lib\convert2xml.py", line 703, in process tag = self.procToken(self.dict.lookup(v)) File "C:\EZSkindle\Topaz\lib\convert2xml.py", line 439, in procToken subtagres.append(self.procToken(self.dict.lookup(v al))) File "C:\EZSkindle\Topaz\lib\convert2xml.py", line 439, in procToken subtagres.append(self.procToken(self.dict.lookup(v al))) File "C:\EZSkindle\Topaz\lib\convert2xml.py", line 140, in lookup print "Error - %d outside of string table limits" % val TypeError: int argument required Of course everything after that failed. Although I am an engineer, I am not a programmer. I don't know if I got a buggy version of the tools or if there is something weird about this book, or if did something wrong. I have not tried another book, as this is the only one I have unless someone can point me a free download that is definitely a topaz book that these tools have successfully been used on. |
#39
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlQuote:
|
#40
|
|||
|
|||
Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for KindlNevermind, I was able to make it work. You have to run the files in this order (for a topaz prc) ...
1. TopazExtract_Kindle4PC 2. TopazFiles2SVG 3. TopazFiles2html The resulting book.html file was easily exported into Calibre with a metadata TOC intact. On a quick inspection, there may be only minor cleanups needed which I can do in Sigil. Edit: It wasn't as clean as I thought it would be. There are typical errors you get from OCR books, as this uses an OCR process to convert the books. Topaz is a crappy format, and even on K4PC the book's text doesn't look that great. One problem is that Amazon doesn't specify on its kindle books whether they are topaz format or not. So it's risky buying from them unless you ONLY want to read the book on a kindle device. In this case, for me, I could not find this title in an ebook version anyplace else. So it was worth it for me. But if I have a choice, I will always opt for a non-Amazon ebook first. Last edited by Chris9 : 10-05-2010 at 09:50 AM. |
Tags: amazon, amazon kindle, azw, azw1, convert, drm, kindle, prc, remove, remove drm, remove drm azw1, remove drm prc, topaz, topaz scripts, topazscripts, tpz |
Thread Tools | |
Display Modes | |
|
|