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

Reply Post New Thread
 
Thread Tools Display Modes
  #21  
Old 06-09-2010, 08:45 PM
djpyle djpyle is offline
Junior Member
 
Join Date: Jun 2010
Location: Springfield, MO
Posts: 5
djpyle is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Never mind, I got it to work using the command line.

Now my next question: is it possible to generate svg pages where the page takes up the entire screen instead of having the back, forward, and zoom in/out options? If so, you could load the xhtml pages in eCub and generate an ePub that would work perfectly in iBooks. Even with the back/forward in/out aspects, it still works well on iBooks, but those things are just taking up unnecessary space in this particular instance.

I know enough to open gensvg.py in an editor, I just don't know what to take out and what to leave in. Anyone have any tips?
Reply With Quote
  #22  
Old 06-09-2010, 08:51 PM
djpyle djpyle is offline
Junior Member
 
Join Date: Jun 2010
Location: Springfield, MO
Posts: 5
djpyle is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by yankgirl013 View Post
Hi, I'm hoping someone can help me here. I'm trying to remove a DRM off a topaz file and I'm not getting anywhere. I'm using a Mac OS.
I've downloaded all the files listed, but I keep getting a 'Can not find dict0000.dat file' error.

Is there a way we can 'dumb' the directions down? I've removed them from azw and mobi using terminal and python scripts.

Thanks so much!!!

It really doesn't matter what I convert it to, I can just change it to epub using calibre
You need to run cmbtc_dump.py or cmbtc_dump_nonK4PC.py first. The former if you purchased the book for Kindle for PC, the latter if you purchased it for a Kindle or iDevice. That removes the DRM. Then you can convert it using the other scripts.
Reply With Quote
  #23  
Old 06-12-2010, 06:00 PM
jcklaus jcklaus is offline
Junior Member
 
Join Date: Apr 2010
Posts: 7
jcklaus is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by djpyle View Post
Never mind, I got it to work using the command line.

Now my next question: is it possible to generate svg pages where the page takes up the entire screen instead of having the back, forward, and zoom in/out options? If so, you could load the xhtml pages in eCub and generate an ePub that would work perfectly in iBooks. Even with the back/forward in/out aspects, it still works well on iBooks, but those things are just taking up unnecessary space in this particular instance.

I know enough to open gensvg.py in an editor, I just don't know what to take out and what to leave in. Anyone have any tips?
Could you run through how you used the command line to solve the error I was getting as well? I don't understand. Thanks.
Reply With Quote
  #24  
Old 06-12-2010, 06:27 PM
djpyle djpyle is offline
Junior Member
 
Join Date: Jun 2010
Location: Springfield, MO
Posts: 5
djpyle is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by jcklaus View Post
Could you run through how you used the command line to solve the error I was getting as well? I don't understand. Thanks.
  1. First instead of using the .pyw program, download the regular .py scripts discussed in the original post. I never could get the .pyw to work. You'll have to use Terminal to run the scripts. Once in Terminal, navigate to the folder containing your scripts and type:

    Code:
    python cmbtc_dump_nonK4PC.py -d -o TARGETDIR -p 12345678 YOURTOPAZBOOKNAMEHERE
    where 12345678 should be replaced by the first 8 characters of your PID. You can use something else for "TARGETDIR" if you want, but you don't have to. The only things you have to change are the PID number and the filename. Use the full file name, including the extension (eg Patient-Zero-A-Joe-Ledger-Novel.tpz).

    This will create a folder called TARGETDIR (or whatever you replaced that with) in the folder with your script.
  2. Then, still in Terminal, type:

    Code:
    python gensvg.py TARGETDIR
  3. This is where I stop because the .html the next step creates is very sloppy and doesn't retain italics, but if you want to create an .html, type:

    Code:
    python genhtml.py TARGETDIR
    This creates a "book.html" file in the TARGETDIR folder, which you can then convert to other formats as you see fit.

Hope that helps. Let me know if you have any problems. I'll try to help as best I can.
Reply With Quote
  #25  
Old 06-13-2010, 12:51 PM
jcklaus jcklaus is offline
Junior Member
 
Join Date: Apr 2010
Posts: 7
jcklaus is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by djpyle View Post
  1. First instead of using the .pyw program, download the regular .py scripts discussed in the original post. I never could get the .pyw to work. You'll have to use Terminal to run the scripts. Once in Terminal, navigate to the folder containing your scripts and type:

    Code:
    python cmbtc_dump_nonK4PC.py -d -o TARGETDIR -p 12345678 YOURTOPAZBOOKNAMEHERE
    where 12345678 should be replaced by the first 8 characters of your PID. You can use something else for "TARGETDIR" if you want, but you don't have to. The only things you have to change are the PID number and the filename. Use the full file name, including the extension (eg Patient-Zero-A-Joe-Ledger-Novel.tpz).

    This will create a folder called TARGETDIR (or whatever you replaced that with) in the folder with your script.
  2. Then, still in Terminal, type:

    Code:
    python gensvg.py TARGETDIR
  3. This is where I stop because the .html the next step creates is very sloppy and doesn't retain italics, but if you want to create an .html, type:

    Code:
    python genhtml.py TARGETDIR
    This creates a "book.html" file in the TARGETDIR folder, which you can then convert to other formats as you see fit.

Hope that helps. Let me know if you have any problems. I'll try to help as best I can.
THANK YOU! It worked! This had been driving me crazy and you completely spooked it for me.
Reply With Quote
  #26  
Old 06-13-2010, 12:53 PM
jcklaus jcklaus is offline
Junior Member
 
Join Date: Apr 2010
Posts: 7
jcklaus is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by yankgirl013 View Post
Hi, I'm hoping someone can help me here. I'm trying to remove a DRM off a topaz file and I'm not getting anywhere. I'm using a Mac OS.
I've downloaded all the files listed, but I keep getting a 'Can not find dict0000.dat file' error.

Is there a way we can 'dumb' the directions down? I've removed them from azw and mobi using terminal and python scripts.

Thanks so much!!!

It really doesn't matter what I convert it to, I can just change it to epub using calibre
Another user solved this for me. You need to do one additional conversion step in the Terminal using python to turn it into an html file. Type:

python genhtml.py TARGETDIR

Where TARGETDIR is the name of your folder. You'll get an html file called book.html which you can use in calibre
Reply With Quote
  #27  
Old 06-13-2010, 04:40 PM
djpyle djpyle is offline
Junior Member
 
Join Date: Jun 2010
Location: Springfield, MO
Posts: 5
djpyle is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Quote:
Originally Posted by jcklaus View Post
THANK YOU! It worked! This had been driving me crazy and you completely spooked it for me.
Glad I could help.
Reply With Quote
  #28  
Old 06-27-2010, 01:20 PM
jtchris jtchris is offline
Junior Member
 
Join Date: Jun 2010
Posts: 1
jtchris is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


I don't suppose somebody could PM me with the latest share where I could find the scripts, eh?
Reply With Quote
  #29  
Old 06-28-2010, 03:54 PM
maggerbee maggerbee is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
maggerbee is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


I think this may be it, I uploaded it for ya.

Code:
http://www.mediafire.com/file/4yhzqzjzjvm/tools.zip
Reply With Quote
  #30  
Old 06-30-2010, 09:12 PM
headala headala is offline
Junior Member
 
Join Date: Jun 2010
Posts: 5
headala is on a distinguished road
Default

Re: How to convert Topaz ebooks to HTML (Remove DRM from TPZ and AZW1 books for Kindl


Is anyone else getting an "Error - -249 outside of string table limits" with this? I get it with both the CLI and the GUI.

Last edited by headala : 06-30-2010 at 09:45 PM. Reason: copied exact error
Reply With Quote
Reply Post New Thread
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 06:05 AM.


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