Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2009, 03:54 PM   #256
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by pilotbob View Post
This looks right. Is age.prc in the C:\Python26\Tools\scripts folder?

BOb
That should not matter. I have the program on a different drive then my C drive where Python 2.5.x is installed. And it works fine for me where I have it.

I'm running Windows XP Pro.
JSWolf is online now   Reply With Quote
Old 02-16-2009, 03:57 PM   #257
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by JSWolf View Post
That should not matter. I have the program on a different drive then my C drive where Python 2.5.x is installed. And it works fine for me where I have it.
It certainly matters where the ebook file is. If you don't specify a path it is going to look in the current directory. And since that was the current directory based on the prompt that is where the book needed to be. Of course, you can specify the path to the ebook file in the parameter.

BOb
pilotbob is offline   Reply With Quote
Old 02-16-2009, 04:42 PM   #258
jotache
Member
jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 494132
Join Date: Feb 2009
Location: UK
Device: none
When I kept running into all these problems I copied the books to the ..\scripts folder to make life a bit easier. I don't think that there was ever a problem with paths; I had to invoke the python exe program even though the .py scripts are clearly associated with it.

This is not something that I'm planning on doing very often, and now I know the workaround I can cope. I would agree that it is untidy and I'm not 100% happy with it but life's full of compromises and this is a really minor one.

Thank you again for all help.
jotache is offline   Reply With Quote
Old 02-27-2009, 11:50 PM   #259
cocoricks
Junior Member
cocoricks began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: kindle
What PID to Use?

Quote:
Originally Posted by igorsk View Post
To decrypt such files, do the following changes in mobidedrm.py:

Code:
-temp_key = PC1(keyvec1, pid, False)
+temp_key = keyvec1
-if verification == ver and cksum == temp_key_sum and (flags & 0x1F) == 1:
+if verification == ver and cksum == temp_key_sum:
It can probably be made nicer but I guess you could keep two copies of the script.
So, in a case like this where it is a content encryption type, what PID do I use? I made the changes to the script, but it still requires that I enter a PID (e.g. python mobilededrm.py original.prc new.prc PID). I'm missing what I should enter for the PID.

Last edited by cocoricks; 02-28-2009 at 12:14 AM.
cocoricks is offline   Reply With Quote
Old 02-28-2009, 06:07 AM   #260
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,964
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Any valid PID. It's not used except in verifying its checksum.

Quote:
Originally Posted by cocoricks View Post
So, in a case like this where it is a content encryption type, what PID do I use? I made the changes to the script, but it still requires that I enter a PID (e.g. python mobilededrm.py original.prc new.prc PID). I'm missing what I should enter for the PID.
pdurrant is offline   Reply With Quote
Old 02-28-2009, 06:12 PM   #261
spiegels
lifetime reader
spiegels began at the beginning.
 
Posts: 17
Karma: 45
Join Date: Feb 2009
Location: Hopkinton, MA
Device: kindle 2
I have had my Kindle for 24 hours and spent a good amount of time trying to use the Python kindlefix or mobidedrm scripts to remove DRM so I could use library books on my Kindle.

I have followed all of the script discussions, struggled understanding Python, continuously got syntax and ljust errors to the point where it waas pretty frustrating.

Just to try some other way to resolve this, I decided to use my XP based desktop, not my Vista based laptop. Of course, the kindlefix program worked immediately.

I am now able to read these library books on my kindle. The new issue is fixing some of the metadata that got corrupted in the conversion.
spiegels is offline   Reply With Quote
Old 02-28-2009, 06:17 PM   #262
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by spiegels View Post
Just to try some other way to resolve this, I decided to use my XP based desktop, not my Vista based laptop. Of course, the kindlefix program worked immediately.
Yea, I realize my Mac directions probably went too far. It seems not all Macs have the folders I was using. I could make that easier too.

[post modified to remove instructions on Amazon's request]

I got all fancy setting it up to put it in your path and such.

Oh well.

BOb

Last edited by zelda_pinwheel; 03-12-2009 at 09:27 AM. Reason: request for removal of instructions by Amazon
pilotbob is offline   Reply With Quote
Old 03-09-2009, 01:20 PM   #263
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Unhappy Please Help...

So I've been trying for a couple of hours now to get this script to work.
I'm using WinXP Professional.
The output I get in the cmd line is:

C:\Documents and Settings\Mryse\mp>python mobidedrm.py 9780316053952_9780316053
952.prc feedingyourdemons.prc XXXXXXXXXX
python: can't open file 'mobidedrm.py': [Errno 2] No such file or directory


I tried it without python at the start, but then I get no such cmd error.
I have Python 2.6.1 Installed.

what am i doing wrong?
Marysart is offline   Reply With Quote
Old 03-09-2009, 01:21 PM   #264
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by Marysart View Post

what am i doing wrong?
Apparently the py file is not in your current directory.

BOb
pilotbob is offline   Reply With Quote
Old 03-09-2009, 03:29 PM   #265
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Quote:
Originally Posted by pilotbob View Post
Apparently the py file is not in your current directory.

BOb
It is. That's why I don't get it. I renamed it mobidedrm.py and it is associated with python.
Marysart is offline   Reply With Quote
Old 03-09-2009, 04:40 PM   #266
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Did it in Linux

Nevermind! I did it! Thank you for responding.
Marysart is offline   Reply With Quote
Old 03-16-2009, 07:41 PM   #267
kevindorsey
Evangelist
kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.
 
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
I found something similar to this, yes.
kevindorsey is offline   Reply With Quote
Old 03-17-2009, 07:01 AM   #268
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Quote:
Originally Posted by kevindorsey View Post
I found something similar to this, yes.
Similar to what?
Marysart is offline   Reply With Quote
Old 03-21-2009, 09:12 AM   #269
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
When dealing with Windows, turn on the display of file extensions so you can see that your files are properly named. You could have something like filename.py.txt and you'd see filename.py and think it's fine. So having file extensions turned off for registered extensions is a really stupid default. It is your computer and you should be able to see what the files are named.
JSWolf is online now   Reply With Quote
Old 03-21-2009, 04:54 PM   #270
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Quote:
Originally Posted by JSWolf View Post
When dealing with Windows, turn on the display of file extensions so you can see that your files are properly named. You could have something like filename.py.txt and you'd see filename.py and think it's fine. So having file extensions turned off for registered extensions is a really stupid default. It is your computer and you should be able to see what the files are named.
Yep, i noticed that, but renaming it did not work...I'm just not good in Windows. I had a mac before this and am now using Ubuntu.
Windows frustrates the hell out of me.
Marysart is offline   Reply With Quote
Reply

Tags
conversion, drm, formatting, mobipocket


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Epub/Mobipocket creation tool: Jutoh Julian Smart ePub 78 03-28-2014 07:28 AM
eReader Decoder Tool wallcraft Workshop 177 09-27-2009 08:46 PM
Secure Mobipocket Decoder ebookfab Kindle Formats 3 12-09-2008 08:50 PM
Secure Mobipocket Decoder v0.3 Aenea Kindle Formats 74 07-10-2008 09:57 AM
Secure Mobipocket Decoder is no more... Aenea Kindle Formats 26 04-12-2008 09:53 AM


All times are GMT -4. The time now is 04:16 PM.


MobileRead.com is a privately owned, operated and funded community.